/* Generated by tools/extract_dialog_css.py from vs-v8.css: dialogs, account, search palette, currency. */
:root {
  --accent: #ff4b24;
  --accent-warm: #ff8a4c;
  --bg-raised: #12141b;
  --dim: rgba(246, 243, 238, .42);
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --muted: rgba(246, 243, 238, .64);
  --ok: #4bd68b;
  --pill: 999px;
  --surface: rgba(255, 255, 255, .05);
  --surface-strong: rgba(255, 255, 255, .09);
  --text: #f6f3ee;
}
dialog { color: var(--text); }
dialog::backdrop { background: rgba(4, 5, 8, .7); backdrop-filter: blur(6px); }
.notice-dialog, .account-dialog { width: min(480px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--bg-raised); box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.notice-dialog h2, .account-dialog h2 { margin: 10px 0 12px; font: 800 28px/1.05 var(--display); letter-spacing: -.02em; }
.notice-dialog p:not(.eyebrow) { color: var(--muted); }
.notice-dialog .btn { margin-top: 24px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-strong); font-size: 20px; line-height: 1; }
.dialog-close:hover { background: rgba(255, 255, 255, .16); }
.account-kicker { color: var(--accent-warm); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.account-copy, .account-footnote { color: var(--muted); font-size: 14.5px; }
.account-footnote { margin-top: 16px; font-size: 13px; color: var(--dim); }
.account-status { margin-top: 14px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.account-status.is-error { background: rgba(255, 75, 36, .12); color: #ffb39c; }
.account-status.is-success { background: rgba(75, 214, 139, .12); color: var(--ok); }
.account-providers { display: grid; gap: 10px; margin-top: 20px; }
.account-provider { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.account-provider.is-action:hover { border-color: var(--line-strong); background: var(--surface-strong); }
.account-provider.is-unavailable { opacity: .55; }
.account-provider strong { display: block; font-size: 15px; }
.account-provider small { color: var(--muted); font-size: 12.5px; }
.account-provider b { color: var(--muted); font-size: 13px; }
.account-provider.is-connected b { color: var(--ok); }
.account-identity { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.account-identity h2 { margin: 0; }
.account-identity p { color: var(--muted); }
.account-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--accent); font-size: 22px; font-weight: 800; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-logout { display: flex; justify-content: space-between; width: 100%; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: none; color: var(--muted); font-weight: 600; }
.account-logout:hover { color: var(--text); border-color: var(--line-strong); }
.palette { width: min(640px, calc(100% - 32px)); max-height: min(560px, calc(100vh - 80px)); margin-top: 10vh; padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg-raised); box-shadow: 0 40px 90px rgba(0, 0, 0, .65); overflow: hidden; }
.palette[open] { display: flex; flex-direction: column; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette-input svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.palette-input input { flex: 1; height: 60px; border: 0; background: none; outline: none; font-size: 17px; }
.palette-input input::placeholder { color: var(--dim); }
.palette-input kbd { padding: 5px 8px; border-radius: 6px; background: var(--surface-strong); color: var(--muted); }
.palette-results { flex: 1; overflow-y: auto; padding: 8px; }
.palette-group { padding: 12px 12px 6px; color: var(--dim); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.palette-item { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 12px; }
.palette-item.is-active { background: var(--surface-strong); }
.palette-thumb { width: 52px; height: 34px; border-radius: 6px; overflow: hidden; background: var(--surface); display: grid; place-items: center; color: var(--muted); }
.palette-thumb img { width: 100%; height: 100%; object-fit: cover; }
.palette-item strong { display: block; font-size: 14.5px; }
.palette-item small { display: block; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item > span:last-child { color: var(--muted); font-size: 13px; font-weight: 700; }
.palette-empty { padding: 30px; color: var(--muted); text-align: center; }
.palette-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.palette-foot kbd { padding: 3px 6px; margin-right: 4px; border-radius: 5px; background: var(--surface-strong); color: var(--muted); }
.currency-select { flex: none; height: 40px; padding: 0 28px 0 13px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23f7f2e8' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center / 10px 6px; color: var(--text); font: 700 13px var(--body, inherit); appearance: none; cursor: pointer; transition: border-color .2s; }
.currency-select:hover { border-color: var(--line-strong); }
.currency-select option { background: #15121a; color: #f7f2e8; }
@media (max-width: 640px) {
  .currency-select { padding: 0 24px 0 10px; background-position: right 8px center; }
}
