@media print{.portal-detail-b>.portal-detail-scroll{display:contents}}@media screen{.portal-detail-b[data-portal-detail=B]{--portal-rule: hsl(var(--border));--portal-wash: hsl(var(--primary) / .055);--portal-detail-font: 1rem;--portal-detail-caption: .875rem;display:block;width:calc(100vw - 2rem);max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:hidden;overscroll-behavior:contain;padding:0;border-radius:.875rem;background:hsl(var(--background));color:hsl(var(--foreground));text-align:start;font-size:var(--portal-detail-font);line-height:1.6;overflow-wrap:anywhere}.portal-detail-scroll{max-height:inherit;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:1.25rem}.portal-detail-scroll>[data-portal-dialog-header]{position:sticky;top:-1.25rem;z-index:2;margin:-1.25rem -1.25rem 1.25rem;padding:1.25rem;padding-inline-end:3.5rem;border-bottom:1px solid var(--portal-rule);background:hsl(var(--background));text-align:start}.portal-detail-b [data-portal-dialog-header] h2{font-size:1.25rem;line-height:1.5;font-weight:700;color:hsl(var(--foreground))}.portal-detail-b[dir=rtl] .flex-row-reverse{flex-direction:row}.portal-detail-b [data-portal-dialog-header] .flex{min-width:0;flex-wrap:wrap}.portal-detail-b:not(.portal-confirmation-b)>button:last-child{position:absolute;z-index:3;width:44px;height:44px;inset-block-start:.5rem;inset-inline-end:.5rem;margin:0;background:hsl(var(--background))}.portal-detail-b:not(.portal-confirmation-b)[dir=rtl]>button:last-child{right:auto;left:.5rem}.portal-detail-b:not(.portal-confirmation-b)[dir=ltr]>button:last-child{left:auto;right:.5rem}.portal-detail-scroll>[data-portal-dialog-footer]{position:sticky;bottom:-1.25rem;z-index:2;margin:1.25rem -1.25rem -1.25rem;padding:1rem 1.25rem;border-top:1px solid var(--portal-rule);background:hsl(var(--background));gap:.75rem}.portal-detail-b [data-card]{min-width:0;border-radius:.625rem;box-shadow:none}.portal-detail-b [data-card]>div:first-child{background:var(--portal-wash);border-radius:.625rem .625rem 0 0}.portal-detail-b [data-card] h3{font-size:1rem;line-height:1.6;font-weight:600}.portal-detail-b :is(p,dd,a,label,td,th){overflow-wrap:anywhere}.portal-detail-b :is(input,select,textarea){min-width:0;font-size:var(--portal-detail-font)}.portal-detail-b .text-sm{font-size:var(--portal-detail-font)}.portal-detail-b .text-xs{font-size:var(--portal-detail-caption)}html[data-text-size=larger] .portal-detail-b{--portal-detail-font: 1.125rem;--portal-detail-caption: 1rem}html[data-text-size=larger] .portal-detail-b [data-portal-dialog-header] h2{font-size:1.4rem}.portal-detail-b :is(button,[role=button],[role=combobox]){min-height:44px}.portal-detail-b button{height:auto;white-space:normal}.portal-detail-b textarea{min-height:6rem}.portal-detail-b :is(button,a,input,textarea,select):focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.portal-detail-b [data-portal-detail-actions]{display:flex;flex-wrap:wrap;gap:.75rem}.portal-detail-b [data-portal-detail-grid]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.portal-detail-b [data-portal-detail-grid]>*{min-width:0}.portal-detail-b [data-portal-detail-table]{max-width:100%;overflow-x:auto}.portal-detail-b [data-portal-detail-table] table{min-width:30rem}.portal-detail-b [data-portal-detail-document]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem}.portal-detail-b [data-portal-detail-document]>*{min-width:0}.portal-detail-b [data-portal-detail-document] button{min-width:4rem;flex-shrink:0}.portal-detail-b [data-portal-detail-statuses]{display:flex;flex-wrap:wrap;gap:.5rem}.portal-detail-b [data-portal-detail-statuses]>*{flex-shrink:0;max-width:100%;overflow-wrap:normal}.portal-detail-b .truncate{white-space:normal}.portal-detail-b.portal-confirmation-b{padding:1.25rem;overflow-y:auto}.portal-confirmation-b>div:first-child{text-align:start;padding-inline-end:0}.portal-confirmation-b>div:last-child{gap:.75rem}@media(max-width:639px){.portal-detail-b [data-portal-detail-grid]{grid-template-columns:minmax(0,1fr)}.portal-detail-b[dir] [data-portal-dialog-footer]{flex-direction:column;align-items:stretch;margin-inline:0}.portal-detail-b [data-portal-dialog-footer]>*{margin-inline:0;width:100%}.portal-detail-b [data-portal-detail-actions]>button{flex:1 1 10rem}.portal-detail-b [data-portal-detail-document]{grid-template-columns:minmax(0,1fr)}.portal-detail-b [data-portal-detail-document] button{width:100%}}@media(max-width:359px){.portal-detail-b [data-portal-detail-summary]{grid-template-columns:minmax(0,1fr)}}}
