/* The shared client's sign-in sheet and toasts (/lib/maker.js), for a page that does not load /lib/commerce.css
   (the feed's night theme). Everything is scoped to the sheet, so the page's own tokens stay as they are. */
.scrim { position: fixed; inset: 0; background: rgba(5,4,16,.55); z-index: 90; }
.sheet-dialog { --paper: #f1ece4; --ink: #141414; --muted: #5e5a55; --line: rgba(20,20,20,.12); --orange: #ff6a2b;
  position: fixed; z-index: 91; left: 50%; bottom: 0; transform: translateX(-50%); width: min(520px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--paper); color: var(--ink); border-radius: 28px 28px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  font-family: "Figtree", system-ui, sans-serif; line-height: 1.45; text-align: left; box-shadow: 0 -20px 60px rgba(0,0,0,.35); }
@media (min-width: 700px) { .sheet-dialog { top: 50%; bottom: auto; transform: translate(-50%, -50%); border-radius: 28px; } }
.sheet-dialog * { box-sizing: border-box; }
.sheet-dialog h2 { font-family: "Outfit", system-ui, sans-serif; font-size: 26px; font-weight: 800; margin: 0; padding-right: 48px; letter-spacing: -.02em; }
.sheet-dialog p { margin: 0; }
.sheet-dialog .grab { width: 44px; height: 5px; border-radius: 9px; background: rgba(20,20,20,.18); margin: -8px auto 12px; }
.sheet-dialog .close { position: absolute; top: 12px; right: 12px; }
.sheet-dialog .stack > * + * { margin-top: 14px; }
.sheet-dialog .muted { color: var(--muted); } .sheet-dialog .tiny { font-size: 12.5px; } .sheet-dialog .small { font-size: 14px; }
.sheet-dialog .link { color: inherit; text-decoration: underline; }
.sheet-dialog .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: inherit; font-weight: 800; cursor: pointer; }
.sheet-dialog .btn:hover { background: var(--orange); }
.sheet-dialog .btn.ghost { background: transparent; color: var(--ink); } .sheet-dialog .btn.ghost:hover { background: rgba(20,20,20,.06); }
.sheet-dialog .btn.full { width: 100%; } .sheet-dialog .btn.big { min-height: 56px; }
.sheet-dialog .btn.icon { width: 44px; padding: 0; } .sheet-dialog .btn.small { min-height: 44px; }
.sheet-dialog .btn svg { width: 20px; height: 20px; }
.sheet-dialog .btn[disabled] { opacity: .45; }
.sheet-dialog .field { display: grid; gap: 6px; }
.sheet-dialog .field label { font-size: 14px; font-weight: 700; }
.sheet-dialog .hint { font-size: 13px; color: var(--muted); }
.sheet-dialog .input { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.sheet-dialog .seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; }
.sheet-dialog .seg button { border: 0; background: transparent; min-height: 44px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.sheet-dialog .seg button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.sheet-dialog .spinner, .toast .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: sh-spin .7s linear infinite; }
@keyframes sh-spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 99; background: #141414; color: #f1ece4; padding: 12px 18px; border-radius: 999px; font: 700 14.5px/1.3 "Figtree", system-ui, sans-serif; max-width: calc(100% - 32px); text-align: center; }
