.sheet-scrim{background:var(--scrim)}.sheet-scrim-panel{z-index:20;position:absolute;inset:0}.sheet-scrim-drawer{z-index:40;position:fixed;inset:0}.sheet{background:var(--bg);box-shadow:var(--lift);color:var(--fg);border-radius:12px;flex-direction:column;min-width:0;min-height:0;display:flex}.sheet:focus{outline:none}.sheet-panel{z-index:21;width:min(560px,100% - 32px);animation:.18s ease-out sheet-in;position:absolute;top:16px;bottom:16px;right:16px}.sheet-drawer{z-index:41;height:85dvh;max-height:calc(100dvh - env(safe-area-inset-top) - 16px);padding-bottom:env(safe-area-inset-bottom);border-radius:12px 12px 0 0;animation:.22s ease-out sheet-up;position:fixed;bottom:0;left:0;right:0}.sheet-handle{background:var(--line2);border-radius:4px;width:32px;height:4px;margin:8px auto 0}.sheet-head{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex}.sheet-head-actions{flex:none;align-items:center;gap:4px;display:flex}.sheet-lead{flex:none;display:inline-flex}.sheet-lead+.sheet-title{flex:1}.sheet-title{overflow-wrap:anywhere;min-width:0;margin:0;font-size:15px;font-weight:600;line-height:24px}.sheet-close{width:28px;height:28px;color:var(--fg2);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.sheet-close:hover{background:var(--tint)}.sheet-close:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.sheet-body{overscroll-behavior:contain;overflow-wrap:anywhere;flex:1;min-height:0;padding:16px;overflow:auto}.sheet-drawer .sheet-body{flex-direction:column;padding:0;display:flex}.sheet-drawer .sheet-head .icon-button{width:40px;height:40px}.sheet-note{color:var(--fg2);margin:0;font-size:12px;line-height:18px}.sheet-note.is-error{color:var(--err)}@keyframes sheet-in{0%{opacity:0;transform:translate(8px)}}@keyframes sheet-up{0%{opacity:0;transform:translateY(24px)}}@media (prefers-reduced-motion:reduce){.sheet-panel,.sheet-drawer{animation:none}}.sheet-panel.sheet-fit{max-height:calc(100% - 152px);inset:136px auto auto clamp(16px,50% - 388px,224px)}.sheet-drawer.sheet-fit{height:auto}
