/* FollowTrack web — AI X HUB design: #050607 / #22e5f0, mint sticker cards with thick outlines and hard offset shadows */
:root {
  --bg: #050607; --ink: #050607; --text: #f4f7f8; --muted: #9ba8ac; --line: rgba(255,255,255,.1);
  --accent: #22e5f0; --accent-hover: #81f5fb; --accent-ink: #001011; --accent-deep: #0b8a93;
  --mint: #eaf9fa; --mint-2: #c7f2f5; --panel: #0b1012; --panel-2: #121719;
  --up: #22e5f0; --down: #ff5c5c; --warn: #f5a524;
  --radius: 22px; --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark; font: 16px/1.55 "Manrope", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(#ffffff0d 1.2px, transparent 1.2px); background-size: 28px 28px; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 50; padding: 12px 16px; background: var(--accent); color: var(--ink); border-radius: 12px; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.error { color: var(--down); }

/* top bar */
.top { position: sticky; top: 0; z-index: 30; background: rgba(5,6,7,.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { height: 68px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.05em; color: var(--text); text-decoration: none; flex: none; }
.brand img { border-radius: 9px; }
.top .search { flex: 1; min-width: 0; max-width: 520px; margin: 0 auto; }
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); }
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.icon-btn svg { width: 19px; height: 19px; }

/* search */
.search { display: flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 50px; padding: 4px 4px 4px 16px; }
.search:focus-within { border-color: var(--accent); }
.search .at { color: var(--muted); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 8px 0; }
.search .icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.search .icon svg { width: 17px; height: 17px; stroke-width: 2.6; }
.search.big { margin-top: 28px; max-width: 560px; padding: 6px 6px 6px 22px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.search.big .at { color: #3f5359; font-size: 20px; }
.search.big input { color: var(--ink); font-size: 19px; }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 22px; border-radius: 50px;
  background: var(--accent); color: var(--accent-ink); font-weight: 780; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 2.5px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .2s; }
.pill:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.pill:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.pill:disabled { opacity: .55; cursor: default; }
.pill.small { min-height: 42px; padding: 8px 18px; border-color: transparent; box-shadow: none; }
.pill.small.pro { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.pill.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.pill.ghost:hover:not(:disabled) { background: var(--panel-2); border-color: var(--muted); box-shadow: none; }
.pill.dark { background: var(--ink); color: var(--accent); }
.pill.light { background: #fff; }
.pill svg { width: 17px; height: 17px; stroke-width: 2.4; }
.pill.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* landing */
.hero { color: var(--ink); background: var(--mint);
  background-image: linear-gradient(#05060712 1px, transparent 1px), linear-gradient(90deg, #05060712 1px, transparent 1px); background-size: 48px 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 0 80px; }
.hero .mono { color: #3f5359; margin-bottom: 16px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.hero h1 .accent { color: var(--accent-deep); }
.hero .lead { margin-top: 20px; max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: #24343a; }
.hero .hint { margin-top: 18px; font-size: 14px; color: #3f5359; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 6px 13px; border-radius: 30px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.stage { position: relative; min-height: 540px; }
.stage .art { position: absolute; inset: 40px -120px auto -40px; width: calc(100% + 160px); max-width: none; border: 3px solid var(--ink); border-radius: 26px; box-shadow: 12px 12px 0 var(--ink); }
.frame { border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--ink); box-shadow: 12px 12px 0 var(--ink); }
.stage .frame { position: absolute; right: 8px; top: 0; width: min(330px, 70%); transform: rotate(2deg); }
.sticker { position: absolute; padding: 9px 16px; border-radius: 16px; border: 2.5px solid var(--ink); box-shadow: 0 5px 0 var(--ink); background: var(--accent); color: var(--ink); font-weight: 800; font-size: 22px; }
.stage .sticker { left: 0; bottom: 70px; transform: rotate(-5deg); }
.band { background: var(--accent); color: var(--accent-ink); border-block: 3px solid var(--ink); }
.band ul { list-style: none; margin: 0 auto; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-weight: 800; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -.03em; }
.band li { display: inline-flex; align-items: center; gap: 10px; }
.band li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.section { padding: 88px 0; }
.section h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 800; letter-spacing: -.05em; line-height: 1.06; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; margin-bottom: 40px; }
.intro p { color: var(--muted); font-size: 18px; max-width: 480px; justify-self: end; }
.intro .mono { display: block; margin-bottom: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; border-radius: 26px; border: 3px solid var(--ink); box-shadow: 0 10px 0 #000; color: var(--ink); min-height: 270px; display: flex; flex-direction: column; gap: 14px; }
.step:nth-child(1) { background: #f2fdfd; } .step:nth-child(2) { background: var(--accent); } .step:nth-child(3) { background: var(--mint-2); }
.step .num { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font: 700 15px var(--mono); }
.step h3 { margin-top: auto; font-size: clamp(30px, 3vw, 40px); font-weight: 800; font-style: italic; letter-spacing: -.05em; line-height: 1; text-transform: uppercase; }
.step p { font-size: 15.5px; color: #1d2c31; }
.faq { display: grid; gap: 12px; max-width: 860px; }
details { background: var(--panel-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 750; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 22px var(--mono); color: var(--accent); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 12px; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-intro { position: sticky; top: 100px; }
.faq-intro .mono { display: block; margin-bottom: 12px; }
.faq-intro p { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 380px; }
.faq-grid .faq { max-width: none; }
details[open] { border-color: rgba(34,229,240,.35); background: rgba(34,229,240,.04); }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; }
/* pricing: who it's for x billing, then plan cards (landing and modal) */
.picker-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 26px; border: 1px solid rgba(34,229,240,.35);
  background: radial-gradient(120% 120% at 100% 100%, rgba(34,229,240,.14), transparent 55%), var(--panel); }
.tier .badge { align-self: flex-start; }
.tier-sub { font-weight: 650; margin-top: 8px; }
.tier .feats { grid-template-columns: 1fr; margin: 14px 0 22px; }
.tier .pill { margin-top: auto; width: 100%; min-height: 52px; }
.tier.hot { border: 2px solid var(--accent); box-shadow: 0 0 0 6px rgba(34,229,240,.08), 0 30px 80px -30px rgba(34,229,240,.45); }
.tier.hot::before { content: attr(data-ribbon); position: absolute; top: -15px; right: 24px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); border: 2.5px solid var(--ink); font: 800 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.plan-free { background: var(--mint); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 10px 0 #000; }
.plan-free .badge.dark, .badge.dark { background: var(--ink); color: var(--accent); }
.plan-free .price-row b { color: var(--ink); }
.plan-free .tier-sub { color: #3f5359; }
.plan-free .feats li { color: #1d2c31; }
.plan-free .feats svg { color: var(--ink); }
.pack-how ol { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 14px; font-weight: 600; line-height: 1.45; }
.picker > .fine { margin-top: 14px; }
.up-title { padding-right: 44px; margin-bottom: 18px; }
.pack-keys { display: grid; gap: 10px; margin-top: 10px; }
.pack-key small { display: block; margin-top: 4px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.toggle button { padding: 8px 16px; border-radius: 999px; font-weight: 750; font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.toggle button.on { background: var(--accent); color: var(--accent-ink); }
.toggle .save { padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price-row b { font: 700 54px var(--mono); letter-spacing: -.05em; line-height: 1; }
.feats { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.feats li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.feats svg { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.8; flex: none; margin-top: 2px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 12px; }
.field { display: flex; gap: 8px; margin-top: 10px; }
.field input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); letter-spacing: .04em; }
.field input:focus { outline: 0; border-color: var(--accent); }
.section-t { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 22px 0 8px; }
.keyrow { display: flex; gap: 8px; align-items: center; }
.keybox { flex: 1; font: 700 16px var(--mono); letter-spacing: .06em; padding: 13px; text-align: center; background: var(--bg); border: 1.5px dashed var(--accent); border-radius: 12px; user-select: all; }
.waiting { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); margin-top: 14px; font-size: 14.5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s infinite; flex: none; }
@keyframes pulse { 50% { opacity: .25; } }

/* landing: live demo, who, showcase, why, cta */
.stage .demo { position: absolute; right: 0; top: 10px; width: min(370px, 78%); background: var(--ink); color: var(--text); border: 3px solid var(--ink);
  border-radius: 26px; padding: 18px 18px 8px; box-shadow: 12px 12px 0 var(--ink), 0 0 0 1px rgba(34,229,240,.3) inset; transform: rotate(1.5deg); }
.demo header { display: flex; justify-content: space-between; align-items: center; }
.demo .mono { margin: 0; color: var(--muted); font-size: 11px; }
.demo-net { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; }
.demo-net b { font: 800 56px "Manrope", sans-serif; letter-spacing: -.05em; color: var(--accent); line-height: 1; transition: color .3s; }
.demo-net b.neg { color: var(--down); }
.demo-net span { color: var(--muted); font-size: 14px; }
.live { display: inline-flex; align-items: center; gap: 7px; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.who-card { border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--mint); color: var(--ink); box-shadow: 0 8px 0 #000; }
.who-card:nth-child(2) { background: var(--accent); } .who-card:nth-child(3) { background: #f2fdfd; } .who-card:nth-child(4) { background: var(--mint-2); }
.who-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--ink); background: #dff6f7; }
.who-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin: 16px 18px 6px; }
.who-card p { font-size: 15px; color: #1d2c31; margin: 0 18px 20px; }
.showcase { padding: 88px 0; background: linear-gradient(180deg, transparent, rgba(34,229,240,.05) 30%, transparent); }
.showcase h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 800; letter-spacing: -.05em; line-height: 1.06; }
.show-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; margin-top: 44px; }
.show-row.flip > :first-child { order: 2; }
.show-row h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.04em; margin-bottom: 10px; }
.show-row p { color: var(--muted); font-size: 17px; }
.shot { border-radius: 20px; overflow: hidden; border: 1px solid rgba(34,229,240,.35); box-shadow: 0 30px 80px -20px rgba(34,229,240,.25); background: var(--panel); }
.why-wrap { overflow-x: auto; position: relative; }
.why { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.why th, .why td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.why tbody th { text-align: left; font-weight: 650; }
.why thead th { font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.why .us { background: rgba(34,229,240,.08); }
.why thead .us { color: var(--accent); border-radius: 14px 14px 0 0; }
.why td::before { font: 700 16px var(--mono); }
.why td.yes::before { content: "✓"; color: var(--accent); } .why td.no::before { content: "—"; color: #55636a; } .why td.part::before { content: "≈"; color: var(--warn); }
.plans-cmp { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 32px; align-items: center; margin-top: 36px; }
.plans-cmp > * { min-width: 0; }
.pc-art { border-radius: 22px; border: 1px solid rgba(34,229,240,.3); }
.why.pc td { font-size: 14.5px; }
.cta { background: var(--accent); color: var(--ink); border-top: 3px solid var(--ink); padding: 72px 0; text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; max-width: 820px; margin: 0 auto; }
.cta .search.big { margin: 28px auto 0; }

/* cabinet: a separate dark app */
body.in-app { background-image: none; }
body.in-app .top, body.in-app > footer { display: none; }
.cab { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100dvh; }
.side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 16px; padding: 20px 14px; border-right: 1px solid var(--line); background: #070a0b; }
.side .brand { padding: 0 8px; font-size: 19px; }
.acc-switch { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-align: left; }
.acc-switch img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--panel-2); }
.acc-switch .who { flex: 1; min-width: 0; display: grid; }
.acc-switch b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-switch small { color: var(--muted); font-size: 12.5px; }
.acc-switch svg { width: 18px; height: 18px; color: var(--muted); }
.acc-menu { position: absolute; z-index: 40; left: 14px; right: 14px; top: 120px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 20px 40px #000a; }
.acc-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.acc-menu a:hover, .acc-menu a.on { background: rgba(34,229,240,.1); color: var(--accent); }
.acc-menu a.add { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--muted); text-decoration: none; font-weight: 650; font-size: 15px; }
.side-nav a svg { width: 19px; height: 19px; flex: none; }
.side-nav a:hover { color: var(--text); background: var(--panel); }
.side-nav a.on { color: var(--ink); background: var(--accent); }
.side-links { margin-top: auto; display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.side-links a:hover { color: var(--text); background: var(--panel); }
.side-links svg { width: 16px; height: 16px; flex: none; }
.side-free, .side-pro { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: radial-gradient(120% 120% at 100% 100%, rgba(34,229,240,.18), transparent 60%), var(--panel); border: 1px solid rgba(34,229,240,.25); }
.side-free small, .side-pro small { color: var(--muted); font-size: 12.5px; }
.side-pro .badge { justify-self: start; }
.cab-main { padding: 18px 28px 48px; min-width: 0; }
.cab-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cab-top .search { flex: 1; max-width: 440px; min-width: 0; }
.cab-actions { display: flex; gap: 8px; margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font-weight: 700; font-size: 14.5px; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover:not(:disabled) { border-color: var(--muted); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn.ghost { background: transparent; }
.btn svg { width: 17px; height: 17px; stroke-width: 2.3; }
.btn.spin svg { animation: spin 1s linear infinite; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; min-width: 0; }
.loading { display: block; font-weight: 650; }
.magic-loading { display: flex; align-items: center; gap: 24px; width: 100%; min-width: 0; min-height: 144px; padding: 24px; border: 1px solid #22e5f035; border-radius: 18px; background: radial-gradient(ellipse at 10% 50%, #22e5f010, transparent 65%), var(--panel); }
.magic-loading__visual { position: relative; display: block; flex: 0 0 72px; width: 72px; height: 72px; isolation: isolate; }
.magic-loading__core { position: absolute; inset: 18px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 12px; background: var(--accent); color: var(--ink); font-size: 29px; line-height: 1; box-shadow: 2px 3px 0 var(--mint); transform: rotate(-9deg); animation: magic-twinkle 2.8s ease-in-out infinite; }
.magic-loading__orbit { position: absolute; inset: 0; border: 1px dashed #22e5f075; border-radius: 50%; animation: magic-orbit 12s linear infinite; }
.magic-loading__satellite { position: absolute; inset: 0; border-radius: 50%; animation: magic-orbit 3.6s linear infinite; }
.magic-loading__satellite::before { content: ""; position: absolute; top: -2px; left: 30px; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 4px; background: var(--mint); box-shadow: 0 0 0 1px #22e5f050; }
.magic-loading__satellite--two { animation-duration: 5.2s; animation-direction: reverse; }
.magic-loading__satellite--two::before { top: 61px; width: 9px; height: 9px; background: var(--accent); }
.magic-loading__copy { display: grid; gap: 8px; min-width: 0; }
.magic-loading__title { color: var(--text); font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.magic-loading__detail { max-width: 60ch; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
.magic-loading--compact { min-height: 52px; gap: 14px; padding: 8px 0; border: 0; background: none; }
.magic-loading--compact .magic-loading__visual { flex-basis: 38px; width: 38px; height: 38px; }
.magic-loading--compact .magic-loading__core { inset: 9px; border-width: 1px; border-radius: 6px; font-size: 17px; box-shadow: 1px 1px 0 var(--mint); }
.magic-loading--compact .magic-loading__satellite::before { left: 15px; width: 7px; height: 7px; border-width: 1px; }
.magic-loading--compact .magic-loading__satellite--two::before { top: 32px; }
.magic-loading--compact .magic-loading__title { font-size: 13px; }
.magic-loading--compact .magic-loading__detail { display: none; }
.metadata-status .magic-loading--compact { padding: 0; }
@keyframes magic-orbit { to { transform: rotate(360deg); } }
@keyframes magic-twinkle { 50% { transform: rotate(9deg) scale(1.07); } }
@media (max-width: 520px) { .magic-loading { gap: 18px; padding: 18px; } .magic-loading:not(.magic-loading--compact) .magic-loading__visual { flex-basis: 58px; width: 58px; height: 58px; } .magic-loading:not(.magic-loading--compact) .magic-loading__core { inset: 13px; } .magic-loading:not(.magic-loading--compact) .magic-loading__satellite::before { left: 23px; } .magic-loading:not(.magic-loading--compact) .magic-loading__satellite--two::before { top: 48px; } .magic-loading--compact { padding: 8px 0; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .magic-loading *, .magic-loading *::before { animation: none !important; } }
.error-card { border-color: rgba(255,92,92,.4); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.prof { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.prof-cover { height: 120px; background: linear-gradient(120deg, #0b3a3e, #071113 60%), var(--panel-2); background-size: cover; background-position: center; }
.prof-cover.has { height: 150px; }
.prof-cover.has::after { content: ""; display: block; height: 100%; background: linear-gradient(180deg, transparent 40%, rgba(11,16,18,.9)); }
.prof-row { display: flex; gap: 20px; padding: 0 22px; margin-top: -46px; position: relative; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--panel-2); border: 4px solid var(--panel); box-shadow: 0 0 0 2px var(--accent); flex: none; }
.pmeta { min-width: 0; padding-top: 52px; flex: 1; }
.pmeta h1 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.verified { width: 24px; height: 24px; fill: var(--accent); stroke: none; flex: none; }
.verified .tick { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.pmeta > a { color: var(--muted); text-decoration: none; font-weight: 600; }
.pmeta > a:hover { color: var(--accent); }
.bio { margin-top: 8px; max-width: 720px; color: #d3dcdf; }
.bio:empty { display: none; }
.chips-meta { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-meta li { display: inline-flex; gap: 8px; align-items: baseline; padding: 6px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13.5px; }
.chips-meta li span { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips-meta li.warn { border-color: rgba(245,165,36,.45); color: var(--warn); }
.prof .note { padding: 12px 22px 18px; }
.note { color: var(--muted); font-size: 13.5px; }
.banner { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 18px; border-radius: 18px; background: rgba(255,92,92,.08); border: 1px solid rgba(255,92,92,.32); }
.banner.warn { background: rgba(245,165,36,.08); border-color: rgba(245,165,36,.35); }
.banner.info { background: rgba(34,229,240,.06); border-color: rgba(34,229,240,.3); }
@media (max-width: 640px) { .banner { flex-wrap: wrap; } .banner .txt { flex-basis: 100%; } }
.banner .big { font: 700 28px var(--mono); color: var(--down); letter-spacing: -.04em; }
.banner .txt { flex: 1; font-size: 14.5px; }
.banner .txt b { display: block; font-size: 16px; }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.kpi { padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.kpi .k-label { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font: 700 clamp(20px, 2vw, 26px) var(--mono); letter-spacing: -.04em; }
.kpi small { color: var(--muted); font-size: 12.5px; }
.kpi.up b { color: var(--up); } .kpi.down b { color: var(--down); }
.cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; }
.phead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.phead h2 { font-size: 18px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.count { font: 700 12.5px var(--mono); padding: 2px 9px; border-radius: 999px; background: rgba(34,229,240,.12); color: var(--accent); }
.seg { display: flex; gap: 2px; background: var(--panel-2); border-radius: 10px; padding: 3px; }
.seg button { padding: 5px 11px; border-radius: 8px; font-size: 13px; color: var(--muted); font-weight: 650; }
.seg button.on { background: var(--line); color: var(--text); }
.seg button.locked::after { content: " PRO"; font: 700 9px var(--mono); color: var(--accent); vertical-align: 2px; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: 230px; display: block; overflow: visible; color: var(--accent); }
.chart.flow { height: 170px; } .chart.tall { height: 240px; }
.chart .grid { stroke: rgba(255,255,255,.06); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart .s-alt .line { stroke: #f5a524; }
.chart .axis { fill: var(--muted); stroke: none; font: 500 11px var(--mono); }
.chart .cross { stroke: rgba(255,255,255,.25); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.chart .dot { fill: var(--accent); stroke: var(--panel); stroke-width: 2; } .chart .dot.s-alt { fill: #f5a524; }
.chart .bar.up { fill: var(--accent); } .chart .bar.down { fill: var(--down); }
.tip { position: absolute; top: -6px; padding: 5px 9px; border-radius: 8px; background: #1f272b; border: 1px solid var(--line); font: 600 12px var(--mono); white-space: nowrap; pointer-events: none; }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; }
.totals div { background: var(--panel-2); border-radius: 12px; padding: 10px 12px; }
.totals dt { font-size: 12.5px; color: var(--muted); } .totals dd { margin: 0; font: 700 19px var(--mono); }
.pos { color: var(--up); } .neg { color: var(--down); }
/* the profile header and KPIs belong to the overview; other views get the space */
#dash:not([data-view="overview"]) :is(.prof, #kpis, #pulseBanner) { display: none; }
#dash:not([data-view="overview"]) .view { margin-top: 4px; }
.chart .area { stroke: none; }
/* the tape: who came and who left, newest first */
.tape { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 470px; overflow-y: auto; }
.tape .day { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 4px 4px; }
.tape .ev { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.tape .ev.enter { transform: translateY(-14px); opacity: 0; }
.tape .mark { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 800 15px var(--mono); flex: none; }
.tape .in .mark { background: rgba(34,229,240,.15); color: var(--accent); } .tape .out .mark { background: rgba(255,92,92,.15); color: var(--down); }
.tape img, .tape .ph { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--panel-2); flex: none; display: grid; place-items: center; font-weight: 800; color: var(--ink); }
.tape .who { flex: 1; min-width: 0; }
.tape .n { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tape .h { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tape .tag { font: 600 12px var(--mono); color: var(--muted); }
.tape .blur .who, .tape .blur .ph { filter: blur(5px); }
.tape .unlock-row { padding: 10px 4px; } .tape .unlock-row .btn { width: 100%; }
.tape .empty { padding: 26px 8px; }
.demo-tape { max-height: none; min-height: 240px; overflow: hidden; }
/* lists */
.lists-head { align-items: flex-start; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { display: inline-flex; gap: 8px; align-items: center; padding: 8px 13px; border-radius: 11px; border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 14px; }
.tabs button.on { color: var(--text); border-color: var(--accent); background: rgba(34,229,240,.08); }
.tabs button[data-list="unfollowers"] .count { background: rgba(255,92,92,.14); color: var(--down); }
.sort { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; }
.sort select, .cab select { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; color: var(--text); }
.list-sub { font-size: 14px; margin: -4px 0 8px; }
.list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
.row a, .row > .inner { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; color: inherit; text-decoration: none; }
.row a:hover { background: var(--panel-2); }
.row img, .row .ph { width: 42px; height: 42px; border-radius: 50%; background: var(--panel-2); object-fit: cover; flex: none; }
.row .who { flex: 1; min-width: 0; }
.row .n { font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .h { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .m { color: #b9c5c8; font: 500 12px var(--mono); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .tag { font: 500 12.5px var(--mono); color: var(--muted); white-space: nowrap; }
.vmark { width: 16px; height: 16px; flex: none; color: var(--ink); background: var(--accent); border-radius: 50%; stroke-width: 3.2; padding: 2px; }
.flag { font: 700 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(245,165,36,.45); border-radius: 6px; padding: 1px 5px; }
.row.blur .who, .row.blur .ph, .row.blur img { filter: blur(6px); }
.locked { position: relative; margin-top: 4px; }
.locked .unlock { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 10px;
  background: linear-gradient(180deg, transparent, rgba(11,16,18,.85) 35%); border-radius: 14px; }
.locked .unlock p { font-size: 14px; font-weight: 650; }
.empty { color: var(--muted); padding: 22px 6px; text-align: center; font-size: 14.5px; }
.empty .btn { margin-top: 12px; }
.more { width: 100%; margin-top: 10px; }
/* charts view */
.heat { display: grid; grid-template-columns: 44px repeat(6, minmax(0, 1fr)); gap: 5px; align-items: center; }
.heat .h, .heat .d { font: 500 11px var(--mono); color: var(--muted); text-align: center; }
.heat .d { text-align: left; text-transform: capitalize; }
.heat .cell { aspect-ratio: 1.6; border-radius: 8px; display: grid; place-items: center; font: 600 11px var(--mono); color: rgba(255,255,255,.85);
  background: color-mix(in srgb, var(--down) calc(var(--a) * 100%), var(--panel-2)); }
.small { font-size: 12.5px; margin-top: 10px; }
.quality { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; }
.donut { width: 180px; height: 180px; }
.donut .ring-bg { stroke: var(--panel-2); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.legend li span { flex: 1; } .legend li b { font: 700 14px var(--mono); }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.q-regular { stroke: #3f5359; background: #3f5359; } .q-big { stroke: var(--accent); background: var(--accent); }
.q-verified { stroke: #c7f2f5; background: #c7f2f5; } .q-new { stroke: #a78bfa; background: #a78bfa; }
.q-silent { stroke: #f5a524; background: #f5a524; } .q-automated { stroke: var(--down); background: var(--down); }
/* compare */
/* accounts */
.acc-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 110px 80px 150px auto; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.acc-row.cur { background: rgba(34,229,240,.05); border-radius: 12px; }
.acc-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.acc-row a { display: grid; color: var(--text); text-decoration: none; min-width: 0; }
.acc-row a small { color: var(--muted); }
.acc-row .num { font: 700 15px var(--mono); }
.spark { width: 110px; height: 28px; color: var(--accent); }
.spark .line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
/* ad slot */
.ad .ad-label { display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ad .ad-label a { color: var(--muted); }
.ad-art { display: block; width: 100%; margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.ad-media { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; display: block; }
.ad .ad-body { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.ad .ad-t { font-weight: 750; } .ad .ad-d { color: var(--muted); font-size: 14px; }
.ad-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.ad-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); } .ad-dots i.on { background: var(--accent); }
/* share */
.share-canvas { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); margin: 14px 0; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.66); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal-card { position: relative; width: min(760px, 100%); background: var(--panel); border: 1px solid rgba(34,229,240,.4); border-radius: 28px; padding: 30px; max-height: calc(100dvh - 32px); overflow-y: auto; animation: up .18s ease-out; }
@keyframes up { from { transform: translateY(14px); opacity: 0; } }
.modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; font-size: 22px; color: var(--muted); border: 1px solid var(--line); }
.modal h2 { font-size: 26px; letter-spacing: -.03em; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 70; padding: 12px 18px; border-radius: 14px; background: #1f272b; border: 1px solid var(--line); box-shadow: 0 10px 30px #0008; max-width: calc(100% - 32px); }
.toast.err { background: #3a1d22; }

footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr); gap: 32px; }
.foot-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.foot-brand p { max-width: 34ch; line-height: 1.5; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols h2 { font-size: 13px; font-weight: 700; color: #6f7c80; margin: 0 0 4px; }
footer a { color: #d7e0e2; text-decoration: none; } footer a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; }
.lang select { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }

/* legal pages */
.doc { width: min(780px, 100% - 32px); margin: 0 auto; padding: 48px 0 72px; }
.doc h1 { font-size: 40px; letter-spacing: -.04em; margin: 20px 0 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -.02em; }
.doc p, .doc li { color: #d7e0e2; line-height: 1.65; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0; display: block; overflow-x: auto; }
.doc td, .doc th { text-align: left; vertical-align: top; padding: 9px; border-bottom: 1px solid var(--line); }

/* who came / who left: two cards with the person's numbers and labels */
.moves .tape { max-height: 560px; }
.moves .count { font: 700 13px var(--mono); color: var(--muted); }
.moves .count:empty { display: none; }
.moves.in h2::before, .moves.out h2::before { content: "+"; font: 800 15px var(--mono); color: var(--up); margin-right: 8px; }
.moves.out h2::before { content: "−"; color: var(--down); }
.tape .ev > a { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; text-decoration: none; padding: 2px; border-radius: 10px; }
.tape .ev > a:hover { background: var(--panel-2); }
.tape .n { display: flex; align-items: center; gap: 6px; } .tape .n .nm { overflow: hidden; text-overflow: ellipsis; }
.flag { flex: none; }
.flag.b-big, .flag.b-new { color: var(--accent); border-color: rgba(34,229,240,.4); }
/* PRO teaser */
.pro-lock { display: grid; justify-items: start; gap: 10px; padding: 8px 0; }
.pro-lock p { color: #d7e0e2; max-width: 52ch; }
.lockchip button { display: inline-flex; gap: 6px; align-items: baseline; padding: 0; color: inherit; }
.lockchip b { color: var(--accent); }
.tabs .locked .count { color: var(--accent); font-size: 10px; }
/* posts: date and followers won / lost on the left, text, views bar against the best post, numbers with icons */
.kpis.span-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; }
.post + .post { border-top: 1px solid var(--line); }
.post a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 16px 10px; border-radius: 14px; color: inherit; text-decoration: none; }
.post a:hover { background: var(--panel-2); }
.post.best a { background: linear-gradient(90deg, rgba(34,229,240,.08), transparent 70%); box-shadow: inset 3px 0 0 var(--accent); }
.p-side { display: grid; align-content: start; gap: 8px; }
.p-date { font: 700 12px var(--mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.p-main { display: grid; gap: 10px; min-width: 0; justify-items: start; }
.p-top { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.p-text { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; color: #e3eaec; }
.p-bar { width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.p-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.post:not(.best) .p-bar i { background: rgba(34,229,240,.55); }
.p-nums { display: flex; gap: 18px; flex-wrap: wrap; font: 500 13px var(--mono); color: var(--muted); }
.p-n { display: inline-flex; align-items: center; gap: 6px; }
.p-n svg { width: 15px; height: 15px; stroke-width: 1.8; }
.p-nums b { color: var(--text); font-weight: 700; }
.impact { display: grid; gap: 2px; font: 700 13px var(--mono); }
.tool-out { display: grid; gap: 6px; margin-top: 12px; font-weight: 650; }
.tool-out .btn { justify-self: start; }
/* X Circle */
.circle-card .circle-out { display: grid; gap: 12px; }
.circle-card .field { flex-wrap: wrap; gap: 10px; }
.circle-card .field input { flex: 1 1 180px; min-width: 0; }
.circle-card .field button { flex: 1 1 220px; white-space: normal; }
@media (max-width: 640px) { .cab-actions { flex-wrap: wrap; } .access-notice { width: 100%; box-sizing: border-box; } }
.circle-card .share-canvas { margin: 6px 0 0; max-width: 980px; }
.circle-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; }
.circle-list li { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: start; gap: 12px; min-width: 0; font-size: 14px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.circle-list li > img, .circle-avatar-placeholder { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg); }
.circle-avatar-placeholder { display: grid; place-items: center; color: var(--accent); font-weight: 800; }
.circle-person { display: grid; gap: 6px; min-width: 0; }
.circle-person > a { white-space: nowrap; }
.circle-evidence { grid-column: 1 / -1; margin-top: 4px; }
.circle-evidence summary { cursor: pointer; color: var(--accent); padding: 8px 0; }
.circle-evidence > a { display: block; padding: 8px 0; font-size: 12px; }
.circle-progress { margin-top: 14px; }
.circle-list i { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.circle-list a { color: var(--text); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.circle-list a:hover { color: var(--accent); }
/* 3-day trial in the upgrade window */
.trial { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 14px 0 6px; padding: 16px 18px; border-radius: 18px;
  background: rgba(34,229,240,.07); border: 1px dashed rgba(34,229,240,.5); }
.trial > div { flex: 1 1 260px; display: grid; gap: 4px; }
.chips-meta li.hint { cursor: help; text-decoration: underline dotted rgba(255,255,255,.3); text-underline-offset: 4px; }
.empty.capped p { max-width: 60ch; margin: 0 auto; }
/* public report */
.report { padding: 48px 0 80px; display: grid; gap: 18px; }
.report h1 { font-size: clamp(32px, 6vw, 56px); letter-spacing: -.03em; }
.report .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.report .pill { justify-self: start; }
.report .tape { max-height: none; }

@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .span-8, .span-4 { grid-column: span 12; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .tape { max-height: 360px; }
}
@media (max-width: 980px) {
  .hero-grid, .intro, .show-row { grid-template-columns: minmax(0, 1fr); } .intro p { justify-self: start; }
  .show-row.flip > :first-child { order: 0; }
  .stage { min-height: 520px; } .stage .art { inset: 70px -10px auto -10px; width: calc(100% + 20px); }
  .steps { grid-template-columns: 1fr; } .step { min-height: 0; } .step h3 { margin-top: 16px; }
  .feats { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-intro { position: static; }
  .plans-cmp, .foot { grid-template-columns: minmax(0, 1fr); } .pc-art { max-width: 320px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .side-links { display: none; } /* phones: the same links are in "Key & plan" */
  /* cabinet: the side menu becomes a top bar with a scrollable nav */
  .cab { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 0; z-index: 30; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand span { display: none; }
  .acc-switch { width: auto; flex: 1; min-width: 0; }
  .acc-menu { top: 60px; }
  .side-nav { order: 3; flex-basis: 100%; display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .side-nav a { flex: none; padding: 8px 12px; font-size: 14px; }
  .side-foot { display: none; }
  .cab-main { padding: 14px 16px 40px; }
  .span-6 { grid-column: span 12; }
  .list { grid-template-columns: minmax(0, 1fr); }
  .acc-row { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; }
  .acc-row .spark, .acc-row .muted { display: none; }
}
@media (max-width: 640px) {
  .kpis.span-12, .report .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post a { grid-template-columns: minmax(0, 1fr); gap: 8px; } .p-side, .impact { display: flex; gap: 10px; align-items: baseline; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top .wrap { gap: 8px; } .top .brand { font-size: 0; gap: 0; } .top .brand img { width: 30px; height: 30px; }
  .stage { min-height: 460px; } .stage .demo { width: 92%; right: 4%; }
  .modal-card { padding: 22px; } .price-row b { font-size: 44px; }
  .section, .showcase { padding: 64px 0; }
  .who-grid { grid-template-columns: 1fr; }
  .cab-top { flex-wrap: wrap; } .cab-top .search { flex-basis: 100%; max-width: none; }
  .cab-actions { margin-left: 0; width: 100%; } .cab-actions .btn { flex: 1; padding: 9px 10px; }
  .cab-actions .btn span { display: none; } #refreshBtn span { display: inline; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prof-row { flex-direction: column; gap: 8px; margin-top: -40px; } .pmeta { padding-top: 0; } .avatar { width: 80px; height: 80px; }
  .quality { grid-template-columns: 1fr; justify-items: center; }
  .totals { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pill, .modal-card { transition: none; animation: none; } }
/* Prepaid wallet: keep the amount label readable beside the funding button. */
.wallet-card > p { margin-block: 12px; }
.wallet-card .field { align-items: end; flex-wrap: wrap; }
.wallet-card .field label { display: flex; flex: 1 1 220px; flex-direction: column; gap: 8px; }
.wallet-card .field input { width: 100%; box-sizing: border-box; }
.wallet-card .field .pill { align-self: end; }
/* Service workspace: quieter surfaces, clear balance and a single funding flow. */
body { background: #070b0d; background-image: none; }
.hero { color: var(--text); background: radial-gradient(ellipse at 82% 35%, #12434a 0, transparent 48%), #080e11; background-size: auto; border-bottom: 1px solid var(--line); }
.hero-grid { padding: 88px 0; }
.hero .mono { color: var(--accent); }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { color: #b9c8cd; line-height: 1.65; }
.hero .hint { color: #8da5ad; font-size: 13px; max-width: 58ch; }
.hero .search.big { border: 1px solid #365257; box-shadow: none; background: #101c20; padding: 6px 6px 6px 20px; border-radius: 16px; }
.hero .search.big input { color: var(--text); font-size: 17px; }
.hero .search.big .at { color: var(--accent); }
.hero .search.big .pill { border: 0; box-shadow: none; border-radius: 11px; }
.hero .chips a { border: 1px solid #29434b; background: #122126; color: #c9e2e8; font-size: 12px; }
.stage { min-height: 460px; }
.stage .art { inset: 75px -70px auto -25px; width: calc(100% + 90px); border: 1px solid #33565e; border-radius: 22px; box-shadow: 0 30px 100px #0008; opacity: .8; }
.stage .demo { right: -12px; top: 0; border: 1px solid #35565d; border-radius: 20px; background: #0b171c; box-shadow: 0 24px 65px #0008; transform: rotate(1deg); }
.band { background: #101c20; color: #cadce0; border: 0; border-bottom: 1px solid var(--line); }
.band ul { padding: 19px 0; font-weight: 650; font-size: 14px; letter-spacing: 0; }
.band li::before { width: 6px; height: 6px; background: var(--accent); }
.section h2, .showcase h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.045em; line-height: 1.12; }
.who-card { border-radius: 18px; box-shadow: none; border: 1px solid var(--line); background: #10181b; color: var(--text); }
.who-card h3 { color: var(--text); font-size: 20px; }
.who-card p { color: #a8bbc1; }
.who-card img { border-bottom: 1px solid var(--line); }
.shot { position: relative; box-shadow: 0 20px 60px #0005; border-color: #2b4248; }
.shot-demo { position: absolute; top: 12px; right: 12px; z-index: 1; background: #091317e8; border: 1px solid #40616a; color: #d3e7eb; padding: 4px 10px; border-radius: 6px; font: 500 11px var(--mono); }
.step { border: 1px solid #2a4249; box-shadow: none; border-radius: 20px; }
.step:nth-child(n) { background: #101b20; color: var(--text); }
.step .num { border: 1px solid #315b65; background: #152d34; color: var(--accent); }
.step p { color: #a8bbc1; }
.step h3 { font-style: normal; text-transform: none; font-size: 28px; }
.cta { border-block: 1px solid #31555b; background: #142b30; color: var(--text); }
.cta .search.big { box-shadow: none; border-width: 1px; }
.in-app { background: #0a1013; }
.side { background: #080e11; border-color: #203037; padding-top: 28px; }
.side-nav { gap: 5px; }
.side-nav a { font-size: 13px; padding: 12px; }
.side-nav a.on { background: #14343c; color: var(--accent); box-shadow: inset 2px 0 var(--accent); }
.side-pro { background: #10232a; border-color: #24454e; }
.side-pro > b { font-size: 24px; letter-spacing: -.04em; }
.side-pro > small { font-size: 11px; }
.side-pro > .btn { margin-top: 5px; justify-content: center; }
.cab-main { padding: 24px 32px 48px; }
.cab-top { padding-bottom: 22px; border-bottom: 1px solid #1d2c32; margin-bottom: 28px; }
.cab-top .search { border-radius: 10px; background: #101b20; }
.cab-top .search .icon { border-radius: 7px; background: transparent; color: var(--accent); }
.cab-wallet { border: 1px solid #2e505a; color: #bdf6f7; background: #112a32; border-radius: 10px; padding: 9px 15px; font: 700 13px var(--mono); white-space: nowrap; }
.cab-wallet::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.cab-actions { align-items: center; }
.scan-history-note { font-size: 12px; color: #8ca2aa; padding: 0 22px 18px; max-width: 100ch; }
.wallet-page.panel { border: 0; background: transparent; box-shadow: none; padding: 0; }
.wallet-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.wallet-heading .mono { font-size: 11px; letter-spacing: .16em; color: #7a9aa5; margin-bottom: 8px; }
.wallet-heading h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.2; }
.wallet-heading .muted { font-size: 14px; margin-top: 10px; }
.wallet-badge { white-space: nowrap; margin-top: 9px; border: 1px solid #2a505b; color: #9ed9e1; border-radius: 7px; padding: 6px 10px; font-size: 11px; font-weight: 700; }
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-bottom: 28px; }
.wallet-overview { display: grid; gap: 18px; min-width: 0; }
.wallet-balance-card { position: relative; padding: 32px; border: 1px solid #2d5963; border-radius: 20px; min-height: 265px; overflow: hidden; background: linear-gradient(115deg,#12343f,#0f252d); isolation: isolate; }
.wallet-balance-card::after { content: ''; width: 240px; height: 240px; border: 1px solid #32616b; border-radius: 50%; position: absolute; right: -135px; top: -50px; box-shadow: 0 0 0 34px #32616b24, 0 0 0 68px #32616b15; z-index: -1; }
.wallet-balance-card .mono { font: 650 13px 'Manrope', sans-serif; letter-spacing: 0; text-transform: none; color: #aed0da; }
.wallet-balance-card > strong { display: block; margin: 22px 0 0; font-size: clamp(33px,3.9vw,56px); line-height: 1.1; letter-spacing: -.055em; font-weight: 700; overflow-wrap: anywhere; }
.wallet-currency { display: block; margin-top: 8px; font: 500 11px var(--mono); letter-spacing: .13em; color: #90b2bd; }
.wallet-balance-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #36616b70; color: #a0bec8; font-size: 11px; }
.wallet-status { display: inline-flex; align-items: center; gap: 7px; color: #c7eeed; }
.wallet-status::before { content: ''; width: 5px; height: 5px; background: #69ead3; border-radius: 50%; }
.wallet-note { display: flex; gap: 12px; color: #8da6b1; font-size: 12px; line-height: 1.65; padding: 0 4px; }
.wallet-note svg { flex: none; width: 19px; height: 22px; color: #7195a4; }
.wallet-card { padding: 26px; background: #111d23; border: 1px solid #293c45; border-radius: 20px; }
.wallet-section-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #32505b; border-radius: 8px; color: var(--accent); font-size: 23px; line-height: 1; margin-bottom: 17px; background: #142d36; }
.wallet-card h3 { font-size: 21px; letter-spacing: -.035em; }
.wallet-card > p.muted { font-size: 13px; color: #91aab5; margin: 8px 0 20px; line-height: 1.6; }
.wallet-card > .fine { margin: 14px 0 0; font-size: 11px; color: #859fa9; }
.wallet-funding { display: grid; gap: 17px; }
.wallet-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wallet-presets button { min-height: 42px; border: 1px solid #314650; border-radius: 9px; font: 500 13px var(--mono); background: #0f191f; color: #adbfca; }
.wallet-presets button.on { border-color: #4dbcc9; color: #bcf6fa; background: #173942; }
.wallet-presets button:hover { border-color: #4c7d8b; }
.wallet-amount-label { display: grid; gap: 8px; font-size: 11px; color: #91aab5; }
.wallet-input { display: flex; align-items: center; gap: 10px; border: 1px solid #344a55; border-radius: 10px; background: #0b151a; padding: 12px 14px; }
.wallet-input:focus-within { border-color: var(--accent); }
.wallet-input > span { color: #7999a6; font: 500 11px var(--mono); }
.wallet-input > span:first-child { font-size: 16px; color: #b5c9d1; }
.wallet-input input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: 0; font: 500 18px var(--mono); padding: 0; }
.wallet-funding > .pill { border: 1px solid #6ce9ef; border-radius: 10px; box-shadow: none; min-height: 47px; font-size: 13px; background: #6be6eb; }
.wallet-funding > .pill:hover { transform: none; box-shadow: none; }
.wallet-activity { border: 1px solid #293b44; border-radius: 20px; background: #101a20; overflow: hidden; margin-bottom: 24px; }
.wallet-activity > .phead { padding: 25px 26px 22px; margin: 0; }
.wallet-activity h3 { font-size: 17px; letter-spacing: -.02em; }
.wallet-activity .fine { margin-top: 6px; font-size: 11px; }
.wallet-activity .btn { font-size: 11px; padding: 7px 11px; border-radius: 7px; }
.wallet-totals { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid #263740; background: #0e181d; padding: 18px 26px; gap: 20px; }
.wallet-totals > div { display: grid; gap: 6px; }
.wallet-totals small { color: #829eab; font-size: 10px; }
.wallet-totals b { font: 500 17px var(--mono); letter-spacing: -.05em; overflow-wrap: anywhere; }
.wallet-activity-rows { padding: 0 26px; }
.wallet-transaction { display: flex; align-items: center; gap: 13px; padding: 19px 0; border-bottom: 1px solid #25343b; }
.wallet-transaction:last-child { border: 0; }
.transaction-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: none; color: #93b1c0; background: #1b2a33; border: 1px solid #30434e; border-radius: 10px; font-size: 17px; }
.topup .transaction-icon { color: #76d8bd; background: #142f2c; border-color: #285148; } .topup.cancelled .transaction-icon { color: #93b1c0; background: #1b2a33; border-color: #30434e; }
.transaction-description { flex: 1; min-width: 0; display: grid; gap: 4px; }
.transaction-description b { font-size: 12px; font-weight: 650; }
.transaction-description small { font-size: 10px; color: #7995a4; overflow-wrap: anywhere; }
.transaction-status { font-size: 9px; color: #92a8b5; background: #1a2b33; border: 1px solid #2a404b; border-radius: 5px; padding: 3px 7px; }
.transaction-amount { font: 500 12px var(--mono); margin-left: 10px; text-align: right; }
.topup .transaction-amount { color: #80dcc5; }
.wallet-empty { padding: 38px 15px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.wallet-empty > span { font-size: 26px; color: #60808e; margin-bottom: 8px; }
.wallet-empty > b { font-size: 13px; }
.wallet-empty > p { font-size: 11px; color: #8da6b1; }
.wallet-recovery { background: #0e191e; border: 1px solid #2b3e47; border-radius: 14px; padding: 20px 24px; }
.wallet-recovery summary { font-size: 13px; color: #b9ccd5; }
.wallet-recovery summary::after { font-size: 16px; color: #6d98a8; }
.wallet-recovery .keyrow { margin-block: 16px; }
.wallet-recovery .keybox { font-size: 12px; }
.wallet-recovery .field { margin-top: 18px; }
.wallet-recovery .field .pill { border-radius: 9px; box-shadow: none; }
.wallet-help { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 24px; font-size: 11px; color: #7796a4; }
.wallet-help a { color: #a5c1cd; }
.modal-card:has(.wallet-heading) { width: min(1000px, 100%); padding: 36px; background: #0b1419; }
.modal-card:has(.wallet-heading) .wallet-heading { padding-right: 40px; }
.modal-card:has(.wallet-heading) .wallet-grid { gap: 20px; }
#dash[data-view="plan"] :is(#planBanner,#localNotice,#pulseBanner,#refreshBtn,#csvBtn,#shareBtn) { display: none; }
#dash[data-view="plan"] #planBanner:has([data-access-notice]) { display: block; }
@media (min-width: 1500px) { .wallet-page { max-width: 1160px; margin: 0 auto; } }
@media (max-width: 1100px) { .wallet-grid { grid-template-columns: 1fr; } .wallet-balance-card { min-height: 230px; } .wallet-balance-card > strong { font-size: 48px; } .wallet-heading { flex-wrap: wrap; gap: 8px; } }
@media (max-width: 980px) { .side { padding: 12px; } .cab-main { padding: 20px 20px 40px; } .hero-grid { gap: 30px; padding: 56px 0; } .stage { min-height: 450px; } .stage .art { inset: 60px 0 auto 0; width: 100%; } .stage .demo { right: 20px; } .wallet-grid { grid-template-columns: 1fr 1fr; } .wallet-heading { flex-wrap: nowrap; } }
@media (max-width: 760px) { .wallet-grid { grid-template-columns: 1fr; } .wallet-heading { flex-wrap: wrap; } .wallet-badge { margin-top: 0; } .wallet-balance-card { padding: 26px; } .wallet-activity > .phead { padding: 22px 20px; } .wallet-totals { padding: 18px 20px; gap: 12px; } .wallet-totals b { font-size: 14px; } .wallet-activity-rows { padding: 0 20px; }  .modal-card:has(.wallet-heading) { padding: 24px 20px; } }
@media (max-width: 640px) { .hero h1 { font-size: 47px; } .hero .search.big input { font-size: 15px; } .hero .search.big .pill { padding: 10px 14px; font-size: 13px; } .hero .lead { font-size: 16px; } .stage { min-height: 360px; } .stage .art { top: 110px; } .stage .demo { right: 3%; width: 94%; } .band ul { gap: 12px; justify-content: center; font-size: 12px; } .cab-main { padding: 18px 14px 36px; } .cab-top { margin-bottom: 24px; padding-bottom: 18px; gap: 12px; } .cab-actions { gap: 8px; } .cab-wallet { margin-right: auto; } .wallet-heading { margin-bottom: 22px; } .wallet-heading .muted { font-size: 12px; } .wallet-card { padding: 22px; } .wallet-balance-card > strong { font-size: 45px; } .wallet-transaction { gap: 9px; } .transaction-description b { font-size: 11px; } .transaction-description small { font-size: 9px; } .transaction-amount { font-size: 10px; margin-left: 0; } .wallet-recovery { padding: 18px; } .wallet-recovery .field { flex-wrap: wrap; } .wallet-recovery .field input { flex-basis: 100%; } .wallet-recovery .field button { width: 100%; } .wallet-help { font-size: 10px; } .modal-card:has(.wallet-heading) .wallet-heading { padding-right: 34px; } }

/* Cabinet controls share a touch target and spacing rhythm across every panel. */
.cab-main{width:100%;max-width:1680px;margin-inline:auto;box-sizing:border-box}
.cab-top{min-height:64px;flex-wrap:wrap;align-items:center}
.cab-actions{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}
.cab-actions>:is(button,.btn),.cab-top .search,.cab-top .search input{min-height:44px;box-sizing:border-box}
.cab-actions>:is(button,.btn){display:inline-flex;align-items:center;justify-content:center}
.cab-wallet{font-size:13px;line-height:1.2}
.tabs{gap:8px}.tabs button{min-height:44px;line-height:1.2;white-space:normal;text-align:center}
.seg button{min-width:46px;min-height:40px}
.circle-card .fine{color:#b8ccd2;font-size:14px;line-height:1.55;max-width:85ch}
.row .n,.tape .n{white-space:normal;overflow-wrap:anywhere}
.row .h,.row .m,.tape .h{white-space:normal;overflow-wrap:anywhere}
.wallet-card>p.muted,.wallet-card>.fine,.wallet-amount-label,.wallet-help,.wallet-note{font-size:14px;line-height:1.5}
.wallet-presets button,.wallet-funding .btn{min-height:44px}
@media(max-width:900px){.cab-top .search{flex:1 1 100%;max-width:none}.cab-actions{margin-left:0;width:100%}.cab-actions>:is(button,.btn){flex:1 1 auto}}
@media(max-width:640px){.cab-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cab-actions>:is(button,.btn){width:100%;padding-inline:8px}.cab-actions .btn span{display:inline}.cab-wallet{grid-column:span 2}.wallet-grid{grid-template-columns:1fr;gap:16px}.wallet-balance-card{min-height:210px;padding:24px}.wallet-balance-card>strong{font-size:clamp(32px,9vw,45px)}.wallet-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-card{padding:20px}.circle-card .field input,.circle-card .field button{flex-basis:100%}}
.who-card:nth-child(n) { background: #10181b; color: var(--text); }

/* Unpaid and cancelled invoices are history, never a credited balance. */
.topup.pending .transaction-amount,.topup.cancelled .transaction-amount,.topup.refunded .transaction-amount { color: var(--muted); }
.wallet-transaction.cancelled .transaction-status { opacity: .8; }
.waiting [data-payment-clock] { font-variant-numeric: tabular-nums; margin: 8px 0 16px; }

/* Keep payment outcomes visible alongside narrow-screen invoice details. */
@media (max-width: 760px) {
  .wallet-transaction { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "icon description amount" ". status status"; gap: 8px 9px; }
  .wallet-transaction .transaction-icon { grid-area: icon; width: 32px; height: 32px; }
  .wallet-transaction .transaction-description { grid-area: description; }
  .wallet-transaction .transaction-amount { grid-area: amount; align-self: start; margin-left: 0; }
  .wallet-transaction .transaction-status { grid-area: status; display: inline-block; justify-self: start; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}
