@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/static/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/static/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --font: "Manrope", "Segoe UI", sans-serif;
  --bg: #07111f;
  --bg-deep: #040a13;
  --surface: #0d1a2b;
  --surface-2: #122238;
  --surface-3: #172b43;
  --text: #f7f8fb;
  --muted: #9baabe;
  --subtle: #718198;
  --line: rgba(167, 186, 211, .16);
  --line-strong: rgba(167, 186, 211, .28);
  --sun: #ffb65c;
  --sun-soft: #ffd17b;
  --sunset: #ff704d;
  --redwood: #e94a61;
  --pacific: #54dccd;
  --pacific-deep: #1699a8;
  --good: #5bd5a6;
  --danger: #ff7185;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .28);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, .18);
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); }
body { min-height: 100vh; margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--font); font-size: 15px; font-variant-numeric: tabular-nums; line-height: 1.6; }
body::before, body::after { position: fixed; z-index: -2; content: ""; pointer-events: none; }
body::before { inset: 0; background: radial-gradient(circle at 88% 8%, rgba(255,112,77,.14), transparent 28rem), radial-gradient(circle at 8% 48%, rgba(84,220,205,.08), transparent 30rem), linear-gradient(180deg, #07111f, #081321 62%, #050b14); }
body::after { top: 16vh; right: -170px; width: 460px; height: 460px; border: 1px solid rgba(255,182,92,.12); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,182,92,.025), 0 0 0 96px rgba(255,112,77,.018); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--pacific); text-decoration: none; }
a, button, input, textarea, select, summary { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sun); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { text-wrap: balance; }
h1 { margin-bottom: .65rem; color: #fff; font-size: clamp(2.35rem, 5vw, 4.75rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.02; }
h1 em { color: var(--sunset); font-style: normal; }
h2 { margin-bottom: .8rem; color: #fff; font-size: 1.25rem; font-weight: 750; letter-spacing: -.025em; line-height: 1.25; }
h3 { margin-bottom: .35rem; color: #fff; font-size: 1rem; font-weight: 750; }
small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
code { padding: .14rem .42rem; border: 1px solid var(--line); border-radius: 7px; color: var(--sun-soft); background: rgba(3,8,17,.62); font-family: var(--font); font-size: .86em; }
.muted, .lead { color: var(--muted); }
.lead { max-width: 720px; margin-bottom: 0; font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.75; }

/* Header and brand */
.topbar { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(7,17,31,.84); box-shadow: 0 8px 32px rgba(0,0,0,.16); backdrop-filter: blur(18px) saturate(1.25); }
.topbar-inner { display: flex; width: min(1380px, calc(100% - 40px)); min-height: 78px; align-items: center; gap: 1.4rem; margin: auto; }
.brand { display: flex; min-width: 222px; align-items: center; gap: .8rem; margin-right: auto; color: #fff; }
.brand-logo { width: 52px; height: 52px; flex: 0 0 auto; filter: drop-shadow(0 8px 18px rgba(255,112,77,.17)); transition: transform .3s ease; }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.04); }
.brand-copy { line-height: .92; }
.brand-copy strong { display: block; font-size: 1.18rem; font-weight: 800; letter-spacing: -.045em; }
.brand-copy small { margin-top: 6px; color: var(--sun); font-size: .64rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: .28rem; }
.desktop-nav a { display: flex; min-height: 42px; align-items: center; gap: .48rem; padding: 0 .78rem; border: 1px solid transparent; border-radius: 11px; color: #b6c1d1; font-size: .76rem; font-weight: 700; transition: .2s ease; }
.desktop-nav a span { color: var(--subtle); font-size: 1rem; }
.desktop-nav a:hover, .desktop-nav a.active { border-color: var(--line); color: #fff; background: rgba(255,255,255,.055); }
.desktop-nav a.active span { color: var(--pacific); }
.desktop-nav a.nav-billing { margin-left: .35rem; border-color: rgba(255,182,92,.24); color: #ffd393; background: rgba(255,182,92,.07); }
.logout-form { margin: 0 0 0 auto; }
.icon-button { display: grid; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px; place-items: center; color: var(--muted); background: rgba(255,255,255,.025); cursor: pointer; font-size: 1rem; transition: .2s; }
.icon-button:hover { border-color: var(--line-strong); color: #fff; background: rgba(255,255,255,.06); }
.nav-toggle { display: none; }

/* Mobile navigation lives outside the sticky header to avoid fixed-position clipping. */
.mobile-nav-layer { position: fixed; z-index: 100; inset: 0; }
.nav-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(2,7,14,.72); cursor: default; backdrop-filter: blur(5px); }
.mobile-nav-drawer { position: absolute; top: 0; right: 0; display: flex; width: min(88vw, 390px); height: 100dvh; overflow-y: auto; padding: 20px; border-left: 1px solid var(--line); flex-direction: column; background: linear-gradient(160deg, #12243a, #081322 66%); box-shadow: -24px 0 80px rgba(0,0,0,.42); transform: translateX(102%); transition: transform .28s cubic-bezier(.22,.8,.25,1); }
.mobile-nav-layer.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.nav-close { display: grid; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px; place-items: center; color: #fff; background: rgba(255,255,255,.04); cursor: pointer; font-size: 1.45rem; }
.mobile-nav { display: grid; gap: 9px; }
.mobile-nav a { display: grid; min-height: 68px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; color: #fff; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; background: rgba(255,255,255,.025); }
.mobile-nav a > span { display: grid; width: 34px; height: 34px; border-radius: 10px; place-items: center; color: var(--pacific); grid-row: 1 / 3; background: rgba(84,220,205,.08); font-size: 1.05rem; }
.mobile-nav a b { font-size: .9rem; }
.mobile-nav a small { font-size: .68rem; }
.mobile-nav a.active { border-color: rgba(255,182,92,.4); background: linear-gradient(100deg, rgba(255,182,92,.12), rgba(255,112,77,.06)); }
.mobile-nav a.active > span { color: var(--sun); background: rgba(255,182,92,.1); }
.mobile-nav-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.mobile-nav-foot strong, .mobile-nav-foot small { display: block; }

/* Layout and common components */
.container { width: min(1320px, calc(100% - 40px)); min-height: calc(100vh - 270px); margin: auto; padding: 48px 0 78px; }
.page-head, .dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-bottom: 34px; }
.page-head h1 { font-size: clamp(2.25rem, 4.4vw, 4rem); }
.california-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.eyebrow, .panel-kicker { display: block; margin-bottom: .72rem; color: var(--pacific); font-size: .67rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 7px; height: 7px; margin-right: .45rem; border-radius: 50%; background: var(--sunset); box-shadow: 0 0 16px rgba(255,112,77,.65); }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.align-start { align-items: start; }
.panel, .hero-card, .price-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(19,35,56,.96), rgba(9,20,35,.97)); box-shadow: var(--shadow-soft); }
.panel { transition: border-color .25s, transform .25s, box-shadow .25s; }
.panel:hover { border-color: rgba(84,220,205,.27); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 17px; }
.panel-head h2, .panel-head .panel-kicker { margin-bottom: 0; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: .48rem; padding: .65rem 1.05rem; border: 1px solid var(--line-strong); border-radius: 11px; color: #fff; background: rgba(255,255,255,.045); cursor: pointer; font-size: .76rem; font-weight: 800; transition: transform .18s, border-color .18s, background .18s, box-shadow .18s; }
.button:hover { border-color: rgba(84,220,205,.48); background: rgba(84,220,205,.09); box-shadow: 0 12px 26px rgba(0,0,0,.2); transform: translateY(-2px); }
.button.primary { border-color: transparent; color: #170e08; background: linear-gradient(120deg, var(--sun-soft), var(--sunset)); box-shadow: 0 12px 30px rgba(255,112,77,.19); }
.button.primary:hover { background: linear-gradient(120deg, #ffdc91, #ff805d); box-shadow: 0 16px 38px rgba(255,112,77,.28); }
.button.small { min-height: 35px; padding: .42rem .72rem; font-size: .69rem; }
.button.wide { width: 100%; }
.button:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; }
.danger-button { color: #ff9aaa; border-color: rgba(255,113,133,.34); }
.notice { margin-bottom: 18px; padding: 13px 16px; border: 1px solid rgba(84,220,205,.28); border-radius: 12px; color: #dffdfa; background: rgba(84,220,205,.07); }
.notice.success { border-color: rgba(91,213,166,.32); color: #d6ffed; background: rgba(91,213,166,.075); }
.notice.error, .task-error { border-color: rgba(255,113,133,.36); color: #ffdce3; background: rgba(255,113,133,.075); }
.notice.emergency { border-color: rgba(255,113,133,.52); }
.counter, .badge { display: inline-flex; align-items: center; padding: .28rem .58rem; border: 1px solid var(--line); border-radius: 99px; color: #c4cede; background: rgba(255,255,255,.035); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.badge.active, .badge.completed, .badge.proxy-ok { color: var(--good); }
.badge.blocked, .badge.failed, .badge.banned, .badge.dead { color: var(--danger); }
.badge.cooldown, .badge.queued, .badge.waiting { color: var(--sun); }
.badge.proxy-direct { color: var(--pacific); }

label { display: block; margin-bottom: 15px; color: #d7deea; font-size: .78rem; font-weight: 700; }
input, textarea, select { width: 100%; margin-top: 7px; padding: .78rem .86rem; border: 1px solid var(--line-strong); border-radius: 11px; color: #fff; background: rgba(3,10,19,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); transition: border-color .18s, box-shadow .18s; }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5f7088; }
input:focus, textarea:focus, select:focus { border-color: var(--pacific); outline: none; box-shadow: 0 0 0 3px rgba(84,220,205,.11); }
select option { color: #fff; background: var(--surface); }
fieldset { margin: 0 0 18px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
legend { padding: 0 7px; color: #d9e1ec; font-size: .78rem; font-weight: 800; }
.actions { display: flex; justify-content: flex-end; gap: 10px; }
.form-hint { margin-top: 9px; }

/* Login and motion */
.hero { display: grid; min-height: 68vh; align-items: center; grid-template-columns: minmax(0,1.25fr) minmax(340px,.72fr); gap: clamp(42px,8vw,120px); }
.hero-copy { position: relative; }
.hero-copy::before { position: absolute; z-index: -1; top: -120px; left: -170px; width: 400px; height: 400px; border-radius: 50%; content: ""; background: radial-gradient(circle,rgba(255,112,77,.11),transparent 68%); }
.hero-copy .lead { margin: 24px 0 28px; }
.login-hint { max-width: 540px; margin: 13px 0 0; color: var(--muted); font-size: .84rem; }
.typewriter-line, .dashboard-typewriter { display: inline-flex; min-height: 1.05em; align-items: center; color: var(--sunset); }
.typewriter-line i, .dashboard-typewriter i { width: 3px; height: .82em; margin-left: 7px; border-radius: 2px; background: var(--sun-soft); animation: caret-blink .8s steps(1) infinite; }
.dashboard-typewriter { color: var(--pacific); font-size: .48em; letter-spacing: -.035em; }
@keyframes caret-blink { 50% { opacity: 0; } }
.login-card { overflow: hidden; padding: 30px; border-color: rgba(255,182,92,.24); }
.login-card::after { position: absolute; z-index: 0; top: -90px; right: -90px; width: 210px; height: 210px; border: 34px solid rgba(255,182,92,.04); border-radius: 50%; content: ""; }
.login-card > * { position: relative; z-index: 1; }
.california-card-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.california-card-mark img { filter: drop-shadow(0 9px 20px rgba(255,112,77,.18)); }
.california-card-mark small, .california-card-mark strong { display: block; }
.california-card-mark small { color: var(--muted); }
.california-card-mark strong { color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; }
.feature-list { margin: 0 0 22px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: .48rem 0 .48rem 1.65rem; color: #c9d2df; }
.feature-list li::before { position: absolute; left: 0; color: var(--good); content: "✓"; font-weight: 800; }
.price-card .feature-list li { padding-left: 2rem; }
.price-card .feature-list li::before { display: grid; top: .48rem; width: 1.2rem; height: 1.2rem; border: 1px solid rgba(91,213,166,.35); border-radius: 50%; place-items: center; content: "◆"; background: rgba(91,213,166,.1); font-size: .48rem; }
.price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: 0; }
.price strong { color: #fff; font-size: 2rem; font-weight: 800; letter-spacing: -.055em; }
.us-detail { display: flex; align-items: center; gap: 10px; margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .05em; }

/* Dashboard */
.hero-clock { display: flex; min-width: 260px; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,29,47,.82); box-shadow: var(--shadow-soft); }
.hero-clock strong { display: block; font-size: .76rem; }
.pulse-dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 5px rgba(91,213,166,.12); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(91,213,166,0); } }
.stats, .california-stats { display: grid; margin-bottom: 28px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.stat { display: flex; min-height: 122px; align-items: center; gap: 16px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg,#13243a,#0b1728); box-shadow: var(--shadow-soft); }
.stat-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 13px; place-items: center; color: var(--pacific); background: rgba(255,255,255,.025); font-size: 1.2rem; }
.stat.coral .stat-icon { color: var(--sunset); }.stat.gold .stat-icon { color: var(--sun); }.stat.navy .stat-icon { color: #9cb6dc; }
.stat span { display: block; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.stat strong { display: block; margin: .05rem 0; color: #fff; font-size: 2rem; font-weight: 800; letter-spacing: -.055em; }
.dashboard-grid { display: grid; align-items: start; grid-template-columns: minmax(0,1.85fr) minmax(290px,.75fr); gap: 24px; }
.dashboard-side { display: grid; gap: 24px; }
.task-monitor { padding: 0; overflow: hidden; }
.task-monitor > .panel-head { padding: 23px 24px 8px; }
.live-label { display: flex; align-items: center; gap: .45rem; color: var(--good); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.live-label i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.task-row { position: relative; display: grid; grid-template-columns: 5px 1fr auto; gap: 17px; padding: 20px 22px 20px 0; border-top: 1px solid var(--line); }
.status-rail { border-radius: 0 5px 5px 0; background: var(--subtle); }
.status-rail.running, .status-rail.completed { background: var(--good); }.status-rail.queued, .status-rail.waiting, .status-rail.cooldown { background: var(--sun); }.status-rail.failed, .status-rail.banned, .status-rail.dead, .status-rail.stopped { background: var(--danger); }
.task-title { display: flex; align-items: center; gap: .7rem; margin-bottom: 9px; }
.task-route { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .78rem; }
.task-route b { color: var(--sun); }
.task-time { margin-top: 8px; color: var(--subtle); font-size: .68rem; }
.task-actions { display: flex; align-items: center; gap: 7px; }
.task-error, .task-info { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 11px; border: 1px solid rgba(255,113,133,.25); border-radius: 10px; font-size: .74rem; }.task-info { border-color: rgba(255,182,92,.28); color: #ffe2ae; background: rgba(255,182,92,.07); }
.road-empty, .empty { padding: 42px 20px; color: var(--muted); text-align: center; }
.empty > span, .road-empty > span { color: var(--sunset); font-size: 2rem; }
.getting-started { margin-bottom: 26px; }
.onboarding-steps { display: grid; margin: 0 0 18px; grid-template-columns: repeat(4,1fr); gap: 11px; }
.onboarding-step { display: flex; min-height: 80px; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: rgba(255,255,255,.02); }
.onboarding-step b { display: grid; width: 32px; height: 32px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; place-items: center; color: var(--muted); }
.onboarding-step strong { display: block; font-size: .75rem; }
.onboarding-step.current { border-color: rgba(84,220,205,.35); }.onboarding-step.current b { color: var(--pacific); }.onboarding-step.done b { border-color: var(--good); color: #08140f; background: var(--good); }
.quick-task label, .schedule-fields label { margin-bottom: 0; }
.schedule-fields { padding: 14px; }.compact-fields { gap: 10px; }.mini-allowlist { min-width: 0; }
.compliance-note { margin: 18px 0; padding: 16px; border-color: rgba(255,182,92,.34); background: linear-gradient(135deg,rgba(255,182,92,.09),rgba(84,220,205,.045)); }
.compliance-note > strong { display: block; margin-bottom: 8px; color: #fff1d3; font-size: .86rem; }
.compliance-note > p { margin: 0; color: #cbd5e2; font-size: .76rem; line-height: 1.6; }
.compliance-note .compliance-consent { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.1); color: #e6edf5; }
.compliance-consent a { color: var(--pacific); text-decoration: underline; text-underline-offset: 2px; }
.compliance-consent a:hover { color: #aaf8ef; }

.trial-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: -6px 0 26px; padding: 17px 20px; border: 1px solid rgba(255,182,92,.25); border-radius: 15px; background: linear-gradient(105deg,rgba(255,182,92,.09),rgba(255,112,77,.055)); }
.trial-banner > div { display: flex; align-items: center; gap: 14px; }.trial-banner strong { display: block; }
.trial-gift { display: grid; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 14px; place-items: center; color: #1b1008; background: linear-gradient(135deg,var(--sun-soft),var(--sunset)); font-size: 1.35rem; font-weight: 800; }
.promo-card { display: grid; align-items: center; gap: 17px; margin-bottom: 27px; padding: 23px; border: 1px solid rgba(255,112,77,.2); border-radius: 18px; grid-template-columns: minmax(0,1fr) auto; background: radial-gradient(circle at 0 0,rgba(255,182,92,.09),transparent 22rem),linear-gradient(145deg,#132238,#0a1728); box-shadow: var(--shadow-soft); }
.promo-copy { display: flex; align-items: center; gap: 15px; }.promo-copy h2, .promo-copy p, .promo-copy .panel-kicker { margin-bottom: .25rem; }.promo-copy p { color: var(--muted); }
.promo-flame { display: grid; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 15px; place-items: center; background: rgba(255,182,92,.08); font-size: 1.5rem; }
.promo-stats { display: flex; gap: 9px; }.promo-stats div { min-width: 84px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 11px; text-align: center; background: rgba(255,255,255,.025); }.promo-stats strong { display: block; color: var(--sun); font-size: 1.3rem; font-weight: 800; }
.referral-copy { display: flex; grid-column: 1/-1; gap: 8px; }.referral-copy input { min-width: 0; flex: 1; margin: 0; }

/* Accounts, groups and templates */
.sun-seal, .route-sign, .postcard-mark { display: grid; width: 92px; height: 92px; flex: 0 0 auto; border: 1px solid rgba(255,182,92,.35); border-radius: 50%; place-items: center; color: #170e08; background: linear-gradient(140deg,var(--sun-soft),var(--sunset)); box-shadow: 0 16px 36px rgba(255,112,77,.15); transform: rotate(4deg); }
.sun-seal span, .route-sign strong, .postcard-mark strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; }.sun-seal small, .route-sign small, .route-sign span, .postcard-mark small { color: #391b0f; font-size: .55rem; font-weight: 800; letter-spacing: .1em; }
.account-layout { grid-template-columns: minmax(320px,.82fr) minmax(0,1.55fr); }
.account-onboarding, .account-stack { display: grid; gap: 22px; }
.qr-panel { overflow: hidden; border-color: rgba(255,182,92,.25); }
.qr-panel::after { position: absolute; top: -90px; right: -90px; width: 190px; height: 190px; border: 30px solid rgba(255,182,92,.035); border-radius: 50%; content: ""; }
.qr-live { position: relative; z-index: 1; text-align: center; }
.qr-frame { display: inline-grid; margin: 5px auto 20px; padding: 12px; border: 1px solid rgba(84,220,205,.55); border-radius: 16px; place-items: center; background: #fff; box-shadow: 0 0 0 5px rgba(84,220,205,.07),0 20px 45px rgba(0,0,0,.3); }
.qr-frame img { display: block; width: min(260px,100%); height: auto; }
.qr-status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; color: #dce5f0; font-size: .76rem; font-weight: 700; }
.qr-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px var(--sun); animation: pulse-dot 1.35s infinite; }.qr-status[data-state="success"] i { background: var(--good); }.qr-status[data-state="error"] i { background: var(--danger); animation: none; }
@keyframes pulse-dot { 50% { opacity: .45; transform: scale(.75); } }
.qr-steps { margin: 0 0 16px; padding-left: 1.4rem; color: var(--muted); text-align: left; }.qr-steps li { padding: .24rem 0; }
.qr-password-step { text-align: left; }.qr-password-step .qr-status { justify-content: flex-start; }
.upload-panel { padding: 0; overflow: hidden; }.upload-panel > summary, .proxy-settings > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 20px; cursor: pointer; list-style: none; }.upload-panel > summary::-webkit-details-marker, .proxy-settings > summary::-webkit-details-marker { display: none; }.upload-panel > summary strong, .upload-panel > summary small, .proxy-settings > summary strong, .proxy-settings > summary small { display: block; }.upload-panel > summary b, .proxy-settings > summary b { color: var(--pacific); font-size: 1.2rem; }.upload-panel[open] > summary, .proxy-settings[open] > summary { border-bottom: 1px solid var(--line); }.upload-panel > form { padding: 21px; }
.file-drop { display: grid; min-height: 160px; margin-bottom: 16px; padding: 20px; border: 1px dashed rgba(84,220,205,.36); border-radius: 13px; place-items: center; text-align: center; background: rgba(84,220,205,.025); cursor: pointer; }.file-drop input { position: absolute; opacity: 0; pointer-events: none; }.file-drop-icon { color: var(--pacific); font-size: 1.8rem; }.file-drop.dragging { border-color: var(--pacific); background: rgba(84,220,205,.08); }
.account-card { scroll-margin-top: 100px; }.account-card .panel-head { align-items: flex-start; }.account-identity { display: flex; align-items: center; gap: 13px; }.avatar-monogram, .result-avatar { display: grid; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 13px; place-items: center; color: #17100b; background: linear-gradient(135deg,var(--sun-soft),var(--sunset)); font-weight: 800; }.account-avatar { width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 14px; object-fit: cover; }.account-identity h2, .account-identity h3 { margin: 0; }.account-identity small { margin-top: 3px; }
.proxy-settings { margin-top: 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(3,10,19,.25); }.proxy-settings > form { padding: 17px; }.proxy-settings > form + form { padding-top: 0; }
.proxy-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(90px,.5fr); gap: 11px; }.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }.account-actions form { margin: 0; }

.connect-first { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding: 18px 21px; border: 1px solid rgba(84,220,205,.24); border-radius: 15px; background: rgba(84,220,205,.055); }.connect-first > div { display: flex; align-items: center; gap: 13px; }.connect-first > div > span { display: grid; width: 42px; height: 42px; border-radius: 13px; place-items: center; color: #071411; background: var(--pacific); font-weight: 800; }.connect-first strong, .connect-first small { display: block; }
.target-tools { display: grid; margin-bottom: 24px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.target-tools.three-tools { grid-template-columns: repeat(3,minmax(0,1fr)); }.target-tool { overflow: hidden; }.target-tool .tool-icon { position: absolute; top: 19px; right: 21px; display: grid; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; place-items: center; color: var(--sun); background: rgba(255,182,92,.055); }.target-tool .muted { min-height: 48px; padding-right: 38px; }.dialogs-tool { border-color: rgba(255,182,92,.22); }.search-tool { border-color: rgba(84,220,205,.2); }
.search-results { margin-bottom: 24px; scroll-margin-top: 95px; }.result-list article { display: grid; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); grid-template-columns: auto minmax(0,1fr) auto; gap: 13px; }.result-list article:last-child { border-bottom: 0; }.result-list strong, .result-list small { display: block; }.result-list form { margin: 0; }.result-avatar { color: var(--pacific); background: rgba(84,220,205,.08); }.add-all-form { display: flex; justify-content: flex-end; margin-top: 18px; }
.allowlist-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }.allow-card { display: grid; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 13px; grid-template-columns: auto 1fr auto; gap: 14px; background: rgba(255,255,255,.022); }.allow-card.denied { opacity: .62; filter: grayscale(.35); }.allow-icon { display: grid; width: 44px; height: 44px; border: 1px solid rgba(84,220,205,.34); border-radius: 13px; place-items: center; color: var(--pacific); }.allow-copy h3 { margin: 5px 0 1px; }.toggle-control { position: relative; width: 48px; height: 26px; padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; background: #334157; cursor: pointer; }.toggle-control span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d7deea; transition: .2s; }.toggle-control.on { background: var(--pacific-deep); }.toggle-control.on span { left: 25px; background: #fff; }

.template-layout { grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr); }.template-editor { position: sticky; top: 102px; }.syntax-help { display: flex; align-items: center; gap: 11px; margin: -5px 0 17px; }.syntax-help > span { padding: 6px 9px; border-radius: 8px; color: var(--sun-soft); background: rgba(255,182,92,.08); font-size: .72rem; font-weight: 800; }.preview-card { margin-bottom: 24px; border-color: rgba(255,182,92,.22); }.message-preview { min-height: 130px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; white-space: pre-wrap; background: rgba(3,10,19,.5); }.template-list article { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 16px 0; border-top: 1px solid var(--line); }.template-list p { display: -webkit-box; overflow: hidden; margin-bottom: 7px; color: var(--muted); white-space: pre-wrap; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.synonym-button { margin-bottom: 8px; border-color: rgba(255,182,92,.3); color: var(--sun-soft); }.template-editor .button.primary { margin-top: 14px; }.preview-status { margin-top: 11px; }.source-tag { display: inline-flex; padding: .1rem .4rem; border: 1px solid rgba(255,182,92,.28); border-radius: 99px; color: var(--sun); background: rgba(255,182,92,.06); font-size: .6rem; font-weight: 800; }
.message-media-preview { overflow: hidden; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #030a13; }.message-media-preview img { display: block; width: 100%; max-height: 340px; object-fit: cover; }.message-media-preview:not([hidden]) + .message-preview { border-radius: 0 0 12px 12px; }.message-preview[data-style="bold"] { font-weight: 800; }.message-preview[data-style="italic"] { font-style: italic; }.message-preview[data-style="underline"] { text-decoration: underline; }.message-preview[data-style="strike"] { text-decoration: line-through; }.message-preview[data-style="code"] { font-family: Consolas, monospace; }.message-preview[data-style="spoiler"] { color: transparent; text-shadow: 0 0 8px var(--muted); }.emoji-workshop { margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }.emoji-workshop summary { cursor: pointer; color: var(--sun-soft); font-weight: 750; }.emoji-workshop[open] summary { margin-bottom: 12px; }.emoji-picker { display: flex; max-height: 180px; overflow-y: auto; flex-wrap: wrap; gap: 7px; margin-top: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(3,10,19,.5); }.emoji-picker button { display: grid; width: 42px; height: 42px; cursor: pointer; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface-2); place-items: center; font-size: 1.35rem; }.emoji-picker button:hover { border-color: var(--sun); transform: translateY(-1px); }.template-thumb { width: 76px; height: 54px; margin-bottom: 8px; border-radius: 8px; object-fit: cover; }
.item-list { margin: 0; padding: 0; list-style: none; }.item-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 11px 0; border-bottom: 1px solid var(--line); }.item-list li:last-child { border-bottom: 0; }.item-list.compact li { padding: 8px 0; }.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--subtle); }.dot.ok { background: var(--good); box-shadow: 0 0 0 4px rgba(91,213,166,.1); }.dot.off { background: var(--danger); }

/* Billing, forms and tables */
.pricing { display: grid; max-width: 900px; margin-bottom: 28px; grid-template-columns: repeat(2,1fr); gap: 22px; }.price-card { overflow: hidden; }.price-card.featured { border-color: rgba(255,182,92,.48); box-shadow: 0 22px 65px rgba(255,112,77,.09); }.ribbon { display: inline-block; margin-bottom: 14px; padding: .28rem .65rem; border-radius: 99px; color: #241208; background: var(--sun); font-size: .65rem; font-weight: 800; }.price del { margin-right: 9px; color: var(--subtle); font-size: 1rem; }.billing-trial { max-width: 900px; margin-top: 0; }.form-panel { max-width: 920px; }.check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.check-card { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }.check-card input { width: auto; margin: 0; }.switch-row { display: flex; align-items: center; gap: 10px; }.switch-row input { width: auto; margin: 0; }
.referral-balance { min-width: 245px; padding: 20px; border: 1px solid rgba(255,182,92,.3); border-radius: var(--radius); background: linear-gradient(135deg,rgba(255,182,92,.12),rgba(255,112,77,.05)); }.referral-balance strong { display: block; color: var(--sun-soft); font-size: 2rem; }.referral-balance span { color: var(--muted); font-size: .72rem; }.referral-share { display: grid; align-items: end; margin-bottom: 22px; grid-template-columns: 1fr minmax(320px,.8fr); gap: 24px; }.referral-levels { display: grid; margin-bottom: 24px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }.referral-levels article > span { display: grid; width: 44px; height: 44px; margin-bottom: 16px; border: 1px solid var(--line-strong); border-radius: 13px; place-items: center; color: var(--pacific); font-weight: 800; }.referral-levels article p { min-height: 72px; color: var(--muted); }.referral-levels article.reached { border-color: rgba(91,213,166,.42); }.referral-levels article.reached > span { color: #07111f; background: var(--good); }.referral-levels article.recurring > span { color: #17100b; background: var(--sun); }.bonus-plus { color: var(--good); }.bonus-minus { color: var(--sun); }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th,td { padding: 13px 11px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }th { color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }tr:last-child td { border-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(3,9,17,.72); }
.footer-inner { display: grid; width: min(1320px,calc(100% - 40px)); min-height: 145px; align-items: center; margin: auto; padding: 28px 0; grid-template-columns: 1fr auto 1fr; gap: 30px; }
.footer-brand, .footer-note { display: flex; align-items: center; gap: 12px; }.footer-brand img { width: 46px; height: 46px; }.footer-brand strong { display: block; font-size: .88rem; }.footer-brand small { font-size: .65rem; }.footer-route { display: flex; align-items: center; gap: 10px; color: var(--subtle); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.footer-route i { width: 42px; height: 1px; background: linear-gradient(90deg,var(--sunset),var(--pacific)); }.footer-route b { display: grid; width: 34px; height: 34px; border: 1px solid rgba(255,182,92,.3); border-radius: 50%; place-items: center; color: var(--sun); font-size: .65rem; }.footer-note { justify-self: end; }.footer-note p { max-width: 360px; margin: 0; color: var(--muted); font-size: .68rem; }.footer-note p small { margin-top: 4px; font-size: .6rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }.footer-links a { color: #c5cfdd; font-weight: 700; }.footer-links a:hover { color: var(--pacific); }
.footer-brand { color: inherit; }.footer-note > p > a { font-weight: 700; }

/* Public documents and support */
.legal-head { max-width: 920px; margin-bottom: 32px; }.legal-document { display: grid; max-width: 980px; gap: 16px; }.legal-document > .legal-head { margin-bottom: 10px; }.legal-document .panel { padding: 24px 27px; }.legal-document .panel p, .legal-document .panel li { color: #b8c4d3; }.legal-document .panel p:last-child { margin-bottom: 0; }.legal-document ul { margin: 0; padding-left: 1.25rem; }.legal-document li { padding: .25rem 0; }.legal-layout { display: grid; align-items: start; grid-template-columns: 1.2fr .8fr; gap: 22px; }.support-card { display: flex; align-items: center; gap: 22px; border-color: rgba(84,220,205,.25); }.support-card img { flex: 0 0 auto; }.support-checklist .feature-list { margin-bottom: 0; }
.telegram-consent-note { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; border-color: rgba(84,220,205,.3); background: linear-gradient(135deg,rgba(84,220,205,.07),rgba(255,182,92,.035)); }.telegram-consent-note h2 { margin-bottom: .35rem; }.telegram-consent-note p { margin-bottom: .4rem; color: #c2cedc; }.security-note-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; place-items: center; color: #07111f; background: var(--pacific); }.consent-check { display: grid; align-items: start; margin: 14px 0; grid-template-columns: 20px 1fr; gap: 9px; color: #c1ccda; font-size: .78rem; font-weight: 500; line-height: 1.5; }.consent-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--pacific); }.billing-legal { max-width: 760px; margin: 18px auto 24px; color: var(--muted); font-size: .75rem; text-align: center; }
.payment-redirect-card { max-width: 760px; margin: 7vh auto; padding: clamp(28px,6vw,58px); text-align: center; }.payment-redirect-card h1 { font-size: clamp(2.1rem,6vw,3.8rem); }.payment-redirect-card .lead { margin: 0 auto 24px; }.payment-redirect-card form { margin-bottom: 18px; }

/* Subtle reveal effect, never hiding content without JavaScript. */
.js-ready [data-reveal] { opacity: 0; transform: translateY(14px); }.js-ready [data-reveal].revealed { opacity: 1; transform: none; transition: opacity .55s ease,transform .55s ease; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .logout-form { margin-left: 0; }
  .nav-toggle { display: inline-flex; min-height: 42px; align-items: center; gap: 4px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: #fff; background: rgba(255,255,255,.035); cursor: pointer; }
  .nav-toggle span { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--pacific); }
  .nav-toggle b { margin-left: 6px; font-size: .73rem; }
  .dashboard-grid { grid-template-columns: 1fr; }.dashboard-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-layout, .template-layout { grid-template-columns: 1fr; }.template-editor { position: static; }
  .referral-levels { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .target-tools.three-tools { grid-template-columns: 1fr 1fr; }.dialogs-tool { grid-column: 1/-1; }
}

/* Private-message auto replies */
.auto-reply-stack { display: grid; gap: 24px; margin-bottom: 28px; }
.auto-reply-card { scroll-margin-top: 96px; }
.auto-master { margin: 20px 0; padding: 16px; border: 1px solid rgba(84,220,205,.25); border-radius: 14px; background: rgba(84,220,205,.045); }
.auto-mode-grid { display: grid; margin: 20px 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.auto-mode { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(4,10,19,.38); }
.auto-mode textarea { min-height: 155px; }
.auto-media { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.auto-media img { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 12px; object-fit: cover; }
.auto-media label { margin: 0; color: var(--muted); font-size: .78rem; }
.auto-options { display: grid; align-items: end; margin: 18px 0; grid-template-columns: minmax(220px,.55fr) 1fr; gap: 16px; }
.ai-settings, .auto-emoji { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,34,56,.42); }
.ai-settings summary, .auto-emoji summary { cursor: pointer; }
.ai-settings > :not(summary), .auto-emoji > :not(summary) { margin-top: 14px; }
.badge.running, .badge.replied { color: var(--good); }.badge.error, .badge.failed { color: var(--danger); }.badge.cooldown { color: var(--sun); }
.auto-event-log { padding: 0; overflow: hidden; }
.auto-event-log > .panel-head { padding: 22px 24px 10px; }
.auto-event-list article { display: grid; align-items: center; grid-template-columns: 5px 1fr auto; gap: 15px; padding: 15px 20px 15px 0; border-top: 1px solid var(--line); }
.auto-event-list .status-rail { align-self: stretch; min-height: 48px; }
.event-error { color: var(--danger); }

@media (max-width: 780px) {
  body.nav-open { overflow: hidden; touch-action: none; }
  .topbar-inner { width: calc(100% - 24px); min-height: 68px; gap: 8px; }
  .brand { min-width: 0; }.brand-logo { width: 44px; height: 44px; }.brand-copy strong { font-size: 1rem; }.brand-copy small { margin-top: 5px; font-size: .55rem; }
  .logout-form { display: none; }.nav-toggle b { display: none; }.nav-toggle { padding: 0 10px; }
  .container { width: calc(100% - 24px); padding: 32px 0 56px; }
  .page-head, .dashboard-hero { align-items: flex-start; flex-direction: column; gap: 1.25rem; margin-bottom: 25px; }.page-head h1 { font-size: 2.35rem; }.hero-clock { width: 100%; min-width: 0; }
  .sun-seal, .route-sign, .postcard-mark { display: none; }
  .hero { min-height: auto; padding: 25px 0; grid-template-columns: 1fr; gap: 40px; }.hero h1 { font-size: clamp(2.55rem,11vw,3.5rem); }.hero-copy .lead { margin: 20px 0 24px; }
  .grid.two, .pricing, .dashboard-side, .allowlist-grid, .check-grid, .auto-mode-grid { grid-template-columns: 1fr; }
  .referral-share { grid-template-columns: 1fr; }.referral-balance { width: 100%; }.referral-details { grid-template-columns: 1fr; }
  .stats, .california-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.stat { min-height: 118px; align-items: flex-start; padding: 15px; flex-direction: column; gap: 8px; }.stat-icon { width: 34px; height: 34px; }.stat strong { font-size: 1.65rem; }
  .onboarding-steps { grid-template-columns: 1fr 1fr; }.promo-card { padding: 18px; grid-template-columns: 1fr; }.promo-stats { width: 100%; }.promo-stats div { flex: 1; }.referral-copy { flex-direction: column; }
  .trial-banner, .connect-first { align-items: stretch; flex-direction: column; }.trial-banner .button, .connect-first .button { width: 100%; }
  .target-tools, .target-tools.three-tools { grid-template-columns: 1fr; }.dialogs-tool { grid-column: auto; }.target-tool .muted { min-height: 0; }
  .result-list article { grid-template-columns: auto minmax(0,1fr); }.result-list form, .result-list .badge { grid-column: 1/-1; }.result-list .button { width: 100%; }
  .task-row { grid-template-columns: 5px 1fr; }.task-actions { grid-column: 2; }.proxy-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }.footer-route { display: none; }.footer-note { justify-self: start; }.site-footer { padding-bottom: env(safe-area-inset-bottom); }
  .legal-layout { grid-template-columns: 1fr; }.support-card { align-items: flex-start; flex-direction: column; }
  .auto-options { grid-template-columns: 1fr; }.auto-event-list article { grid-template-columns: 5px 1fr; }.auto-event-list .badge { grid-column: 2; justify-self: start; }
}

@media (max-width: 500px) {
  h1 { font-size: 2.25rem; }.panel, .hero-card, .price-card { padding: 18px; border-radius: 14px; }
  .referral-levels { grid-template-columns: 1fr; }.referral-levels article p { min-height: 0; }
  .mobile-nav-drawer { width: min(92vw,390px); padding: 16px; }
  .onboarding-steps, .proxy-grid { grid-template-columns: 1fr; }.task-route { align-items: flex-start; flex-direction: column; }.task-route b { display: none; }.task-actions { flex-wrap: wrap; }
  .card-actions { align-items: stretch; flex-direction: column; }.account-identity { min-width: 100%; }.account-card .panel-head { flex-wrap: wrap; }.account-actions { align-items: stretch; flex-direction: column; }.account-actions form, .account-actions .button { width: 100%; }
  .qr-frame { padding: 8px; }.qr-frame img { width: min(230px,72vw); }.footer-inner { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .typewriter-line i, .dashboard-typewriter i { display: none; }.js-ready [data-reveal] { opacity: 1; transform: none; }
}