.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}.msg-selection-source{min-width:0;position:relative}.msg-selection-source>.msg-selection{z-index:5;border:1px solid var(--line2);background:var(--layer-float);width:max-content;min-height:34px;color:var(--fg);box-shadow:var(--lift);white-space:nowrap;cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;line-height:20px;display:inline-flex;position:absolute}.msg-selection-source>.msg-selection:hover{background:var(--tint)}.msg-selection-source>.msg-selection:focus-visible{outline:2px solid var(--fg2);outline-offset:2px}.quote-action{z-index:120;background:var(--layer-float);max-width:min(320px,100vw - 16px);color:var(--fg);box-shadow:var(--lift);opacity:1;transition:opacity var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out), display var(--motion-fast) allow-discrete;border-radius:10px;flex-direction:column;padding:4px;display:flex;position:absolute;transform:translateY(0)}.quote-action[data-fixed=true]{position:fixed}.quote-action[hidden]{opacity:0;display:none;transform:translateY(3px)}.quote-action button{min-height:28px;color:inherit;white-space:nowrap;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 9px;font-size:13px;line-height:20px;display:inline-flex}.quote-action button svg{color:var(--fg2)}.quote-action button:hover{background:var(--tint2)}.quote-action [role=alert]{padding:0 10px 8px;font-size:12px;line-height:18px}@starting-style{.quote-action:not([hidden]){opacity:0;transform:translateY(3px)}}@media (prefers-reduced-motion:reduce){.quote-action{transform:none}}.quote-action-row{align-items:center;gap:2px;display:flex}
