@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-400.woff2") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/figtree-500.woff2") format("woff2");
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-600.woff2") format("woff2");
}
@font-face {
  font-family: Syne;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/syne-500.woff2") format("woff2");
}
@font-face {
  font-family: Syne;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/syne-600.woff2") format("woff2");
}
@font-face {
  font-family: Syne;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/syne-700.woff2") format("woff2");
}

:root {
  --bg: #07070b;
  --bg-elevated: #111118;
  --bg-subtle: #18181f;
  --fg: #ececf1;
  --fg-muted: #8b8b96;
  --fg-subtle: #63636e;
  --accent: #5eead4;
  --accent-fg: #06201b;
  --border: rgba(236, 236, 241, 0.1);
  --border-strong: rgba(236, 236, 241, 0.18);
  --ok: #7dce82;
  --warn: #e3b341;
  --danger: #f07167;
  --font-display: Syne, ui-sans-serif, system-ui, sans-serif;
  --font-body: Figtree, ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --wrap: 1120px;
  --header-h: 72px;
  --ticker-h: 36px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --motion-fast: 250ms;
  --motion-quick: 150ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; display: block; }
svg.mark,
.brand svg,
img.mark {
  width: 28px;
  height: 28px;
  max-width: 28px;
  flex: 0 0 28px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

button, [role="button"], input[type="submit"], .btn { cursor: pointer; }
button:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--fg);
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--fg-muted); }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

/* Ticker */
.ticker {
  height: var(--ticker-h);
  overflow: hidden;
  background: #0c0c12;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.04em;
  position: relative;
  line-height: var(--ticker-h);
}
.ticker-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  animation: ticker 36s linear infinite;
  height: var(--ticker-h);
  align-items: center;
  white-space: nowrap;
}
.ticker-track span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding-inline: 22px;
  white-space: nowrap;
}
.ticker .sym { color: var(--fg); font-weight: 600; }
.ticker .up { color: var(--ok); }
.ticker .dn { color: var(--danger); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 7, 11, 0.92);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(var(--wrap), calc(100% - 32px));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; color: var(--fg); }
.brand span.word { white-space: nowrap; }

.nav-toggle {
  display: none;
}
.nav-burger {
  display: none;
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg);
  align-items: center;
  justify-content: center;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  content: "";
}
.nav-burger span::before { top: -5px; position: absolute; }
.nav-burger span::after { top: 5px; position: absolute; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.site-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--fg);
  background: var(--bg-subtle);
  text-decoration: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  flex-shrink: 0;
}
.site-nav { min-width: 0; }
.lang {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 36px;
  padding: 0 10px;
  font: inherit;
  font-size: 0.82rem;
}
.lang:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: transform var(--motion-quick) var(--ease), background var(--motion-quick) var(--ease), border-color var(--motion-quick) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover { background: #7ff3e0; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-subtle); }
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(240, 113, 103, 0.4);
}
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.82rem; }

main { flex: 1; }

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 56px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  background: radial-gradient(ellipse at 20% 0%, rgba(94, 234, 212, 0.08), transparent 50%);
  pointer-events: none;
}
.kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { max-width: 16ch; margin-bottom: 16px; }
.lead {
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 56px 0 0;
}
.stat {
  background: var(--bg-elevated);
  padding: 22px 20px;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.stat span {
  display: block;
  margin-top: 4px;
  color: var(--fg-subtle);
  font-size: 0.8rem;
}

.section { padding: 72px 0; }
.section-head { margin-bottom: 28px; max-width: 46ch; }
.section-head p { margin: 0; }

.grid-4, .grid-3, .grid-2 {
  display: grid;
  gap: 16px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; }
.step-n {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.plan .roi {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.plan .meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-top: auto;
}
.plan .meta b { color: var(--fg); font-weight: 500; }

.asset-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.asset-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 10px;
}

.cta-band {
  margin: 24px 0 80px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  color: var(--fg-subtle);
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { color: var(--fg-muted); }
.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-family: var(--font-body);
  font-weight: 600;
}
.foot-copy { margin-top: 28px; color: var(--fg-subtle); font-size: 0.8rem; }

/* Auth / forms */
.auth-shell {
  max-width: 440px;
  margin: 48px auto 80px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-muted);
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="date"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font: inherit;
}
textarea { min-height: 120px; padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.flash {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.flash-ok { background: rgba(125, 206, 130, 0.1); color: var(--ok); }
.flash-err { background: rgba(240, 113, 103, 0.1); color: var(--danger); }
.flash-info { background: var(--bg-subtle); color: var(--fg-muted); }

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.badge-ok { color: var(--ok); border-color: rgba(125, 206, 130, 0.35); }
.badge-warn { color: var(--warn); border-color: rgba(227, 179, 65, 0.35); }
.badge-danger { color: var(--danger); border-color: rgba(240, 113, 103, 0.35); }
.badge-accent { color: var(--accent-fg); background: var(--accent); border-color: transparent; }

/* Account layout */
.account {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px 0 72px;
  align-items: start;
}
.side {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
}
.side a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.side a:hover { background: var(--bg-subtle); color: var(--fg); text-decoration: none; }
.side a.is-active { background: var(--bg-subtle); color: var(--fg); }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.page-head h1 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin: 0; }
.page-head p { margin: 6px 0 0; }

.portfolio {
  background:
    linear-gradient(180deg, rgba(94, 234, 212, 0.06), transparent 42%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 18px;
}
.portfolio .big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.portfolio .usd { color: var(--fg-muted); margin-top: 4px; }
.split {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.split div {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.split small { color: var(--fg-subtle); font-size: 0.75rem; display: block; margin-bottom: 4px; }
.split b { font-variant-numeric: tabular-nums; font-weight: 600; }

.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

.loan-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 234, 212, 0.25);
  background: rgba(94, 234, 212, 0.06);
  margin-bottom: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th, td {
  text-align: start;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--fg-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
td { font-variant-numeric: tabular-nums; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.qr {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}
.qr img { width: 100%; height: 100%; }
.addr {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  word-break: break-all;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.countdown {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.curve {
  width: 100%;
  height: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--fg);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; }

.legal { max-width: 68ch; padding: 48px 0 80px; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { margin-top: 28px; font-size: 1.2rem; }

.empty {
  color: var(--fg-subtle);
  padding: 28px;
  text-align: center;
}

@media (max-width: 900px) {
  .stats, .grid-4, .grid-3, .split, .site-footer .wrap, .account {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band, .loan-banner { flex-direction: column; align-items: flex-start; }
  .account { grid-template-columns: 1fr; }
  .side {
    position: static;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 8px;
  }
  .side a { white-space: nowrap; }
}

@media (max-width: 720px) {
  .nav-burger { display: inline-flex; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; }
  .header-tools .btn,
  .header-tools .lang { display: none; }
  .nav-toggle:checked ~ .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 8px;
    gap: 4px;
    z-index: 30;
  }
  .nav-toggle:checked ~ .header-tools {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: calc(100% + 220px);
    inset-inline: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    gap: 8px;
    z-index: 30;
  }
  .nav-toggle:checked ~ .header-tools .btn,
  .nav-toggle:checked ~ .header-tools .lang { display: inline-flex; }
  .site-header { position: sticky; }
  .site-header .wrap { position: relative; width: 100%; }
  h1 { font-size: 2rem; }
  .stats, .grid-4, .grid-3, .grid-2, .split, .site-footer .wrap {
    grid-template-columns: 1fr;
  }
  .wrap { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

[dir="rtl"] .hero h1 { max-width: none; }
[dir="rtl"] th, [dir="rtl"] td { text-align: start; }

/* Loader */
#nt-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 7, 11, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--fg-muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
#nt-loader[hidden] { display: none !important; }
#nt-loader p {
  margin: 0;
  font-family: var(--font-body);
}
.nt-spin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  animation: ntspin 0.9s linear infinite;
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.12);
}
@keyframes ntspin { to { transform: rotate(360deg); } }

.staff-pill {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.top-bal {
  font-size: 0.85rem;
  color: var(--fg-muted);
  white-space: nowrap;
}
.top-bal b { color: var(--fg); font-variant-numeric: tabular-nums; margin-inline-start: 6px; }
.dot {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  margin-inline-start: 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.7rem;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.ico { flex: 0 0 16px; opacity: 0.85; }
.side-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding: 8px 12px 10px;
  margin: 0;
}
.side a { gap: 10px; }

.theme-desk {
  --accent: #5eead4;
  --accent-fg: #06201b;
}
.theme-desk .site-header.is-app { border-bottom-color: rgba(94,234,212,0.12); }
.theme-desk .side-desk {
  background: #0c1212;
  border-color: rgba(94, 234, 212, 0.16);
}
.theme-desk .side-desk a.is-active {
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
}

.theme-staff {
  --bg: #07090e;
  --bg-elevated: #10151c;
  --bg-subtle: #161c24;
  --accent: #7eb6ff;
  --accent-fg: #06101c;
  --border: rgba(126, 182, 255, 0.12);
  --border-strong: rgba(126, 182, 255, 0.22);
}
.theme-staff .site-header {
  background: rgba(7, 9, 14, 0.94);
  border-bottom-color: rgba(126, 182, 255, 0.16);
}
.theme-staff .side-staff {
  background: #0b1016;
  border-color: rgba(126, 182, 255, 0.18);
}
.theme-staff .side-staff a.is-active {
  background: rgba(126, 182, 255, 0.12);
  color: var(--accent);
}
.theme-staff .staff-pill {
  background: var(--accent);
  color: var(--accent-fg);
}
.theme-staff .nt-spin { border-top-color: var(--accent); }

.app-foot {
  border-top: 1px solid var(--border);
  padding: 16px 0 28px;
  color: var(--fg-subtle);
  font-size: 0.78rem;
}

.progress {
  height: 6px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.progress > i {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0;
}

.ticket {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.confirm-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.9rem;
}
.confirm-box dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 12px; }
.confirm-box dt { color: var(--fg-subtle); font-size: 0.75rem; }
.confirm-box dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }

.kyc-hint { color: var(--fg-muted); font-size: 0.88rem; margin: 0; }
.kyc-back.is-off { display: none; }

.queue-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.queue-row:last-child { border-bottom: 0; }

.dossier-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.action-stack { display: flex; flex-direction: column; gap: 10px; }
.danger-zone {
  border: 1px solid rgba(240, 113, 103, 0.35);
  background: rgba(240, 113, 103, 0.06);
}

.msg-list { display: flex; flex-direction: column; gap: 10px; }
.msg-card h3 { margin-bottom: 4px; }
.msg-card time { color: var(--fg-subtle); font-size: 0.75rem; }

.kyc-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.kyc-shot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--fg-muted);
  min-height: 140px;
}
.kyc-shot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #0a0a10;
}
.kyc-shot span {
  padding: 0 10px 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kyc-shot.is-empty,
.kyc-shot.is-pdf {
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.kyc-shot:hover { text-decoration: none; border-color: var(--accent); }

.trade-quote {
  font-variant-numeric: tabular-nums;
  color: var(--accent) !important;
}

@media (max-width: 900px) {
  .ticket, .dossier-grid, .kyc-docs { grid-template-columns: 1fr; }
}

.otp-input {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  letter-spacing: 0.42em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.confirm-mail {
  font-family: var(--font-mono);
  color: var(--fg);
  font-size: 0.95rem;
  margin: 0 0 18px;
}
