.sheet{--radius-sheet:16px;inset:auto 0 var(--sheet-viewport-bottom,0px);width:100%;max-width:none;max-height:min(85dvh, calc(var(--sheet-viewport-height,100dvh) - 12px));border:1px solid var(--border);border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;color:var(--text);background:var(--surface-raised);box-shadow:var(--shadow-md);opacity:0;transition:opacity .22s ease-out, transform .22s ease-out, display .22s allow-discrete, overlay .22s allow-discrete;margin:0;padding:0;position:fixed;overflow:hidden;transform:translateY(16px)}.sheet[open]{opacity:1;transform:translateY(var(--sheet-drag-y,0px));flex-direction:column;display:flex}.sheet[data-sheet-dragging]{transition:none}.sheet::backdrop{background:var(--scrim);opacity:0;transition:opacity .22s ease-out, display .22s allow-discrete, overlay .22s allow-discrete}.sheet[open]::backdrop{opacity:1}@starting-style{.sheet[open]{opacity:0;transform:translateY(16px)}.sheet[open]::backdrop{opacity:0}}.sheet-grab{box-sizing:border-box;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;flex:none;place-items:start center;width:64px;height:24px;margin:0 auto;padding-top:8px;display:grid}.sheet-grab:before{content:"";border-radius:var(--radius-xs);background:var(--border-strong);width:36px;height:4px}.sheet[data-sheet-dragging] .sheet-grab{cursor:grabbing}.sheet-header{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:12px;padding:8px 20px;display:flex}dialog.sheet .sheet-header h2{min-width:0;color:var(--text);font:700 20px/28px var(--font-ui);flex:1;margin:0}dialog.sheet .sheet-header h2:focus{outline:none}.sheet .sheet-close,.sheet .sheet-back{border-radius:var(--radius-md);min-height:44px;color:var(--text-soft);cursor:pointer;font:500 13px/20px var(--font-ui);background:0 0;border:0;padding:0 8px}@media (hover:hover){.sheet .sheet-close:hover:not(:disabled),.sheet .sheet-back:hover:not(:disabled){color:var(--text);background:var(--surface-subtle)}}.sheet .sheet-close:active:not(:disabled),.sheet .sheet-back:active:not(:disabled){background:var(--surface-pressed)}.sheet-body{overscroll-behavior:contain;min-height:0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));overflow-y:auto}dialog.sheet :is(button,a,textarea,input,select,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:2px}.sheet .confirm-sheet-copy{gap:20px;display:grid}.sheet .confirm-sheet-copy>p{color:var(--text-soft);font:400 14px/22px var(--font-ui);overflow-wrap:anywhere;text-align:left;margin:0}.sheet .confirm-sheet-actions{flex-wrap:wrap;gap:8px;display:flex}.sheet .confirm-sheet-actions>.button{border:1px solid var(--border-strong);border-radius:var(--radius-md);min-height:40px;font:600 14px/22px var(--font-ui);cursor:pointer;padding:8px 16px}.sheet .confirm-sheet-actions>.button-brand{color:var(--text-on-brand);background:var(--studio-action,var(--brand));border-color:var(--studio-action,var(--brand))}@media (hover:hover){.sheet .confirm-sheet-actions>.button-brand:hover:not(:disabled){background:var(--studio-action-strong,var(--brand-hover));border-color:var(--studio-action-strong,var(--brand-hover))}}.sheet .confirm-sheet-actions>.button-brand:active:not(:disabled){background:var(--studio-action-strong,var(--brand-hover))}.sheet .confirm-sheet-actions>.button-danger{color:var(--danger);background:var(--danger-soft);border-color:color-mix(in srgb, var(--danger) 32%, var(--border))}.sheet .confirm-sheet-actions>.button-neutral{color:var(--text);background:var(--surface)}@media (hover:hover){.sheet .confirm-sheet-actions>.button-neutral:hover:not(:disabled){background:var(--surface-subtle)}}.sheet .confirm-sheet-actions>.button-neutral:active:not(:disabled){background:var(--surface-pressed)}.sheet .confirm-sheet-actions>.button:disabled{opacity:.5;cursor:not-allowed}dialog.sheet .sheet-close:focus-visible,dialog.sheet .sheet-back:focus-visible,dialog.sheet .confirm-sheet-actions>.button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}@media (min-width:701px){.sheet{inset:var(--sheet-viewport-top,0px) 0 var(--sheet-viewport-bottom,0px);width:calc(100% - 48px);max-width:480px;height:fit-content;max-height:min(85dvh, 800px, calc(var(--sheet-viewport-height,100dvh) - 24px));border-radius:var(--radius-sheet);margin:auto}.sheet-grab{display:none}.sheet-header{z-index:1;padding-top:12px;padding-bottom:12px;position:relative}.sheet-body{padding-bottom:24px}}@media (prefers-reduced-motion:reduce){.sheet,.sheet::backdrop{transition:none;transform:none}@starting-style{.sheet[open]{opacity:1;transform:none}.sheet[open]::backdrop{opacity:1}}}.sheet .sheet-close{place-items:center;width:44px;padding:0;display:grid}.sheet .sheet-close svg{width:24px;height:24px}.sheet .sheet-dismiss{min-height:44px;color:var(--text-muted);font:500 14px/20px var(--font-ui);cursor:pointer;background:0 0;border:0;flex:none;padding:0 8px}:is(html:has(dialog.sheet[open]),body:has(dialog.sheet[open])){overflow:hidden}body:has(dialog.sheet[open]) .app-shell .page-content{overflow-y:hidden}.sheet .confirm-sheet-modal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px;display:flex}
