/* SmartmarketAI design system v4: bright, airy, data-first. Electric blue + mint on cool white, navy ink. */
:root {
  --bg: #f4f7fd; --surface: #ffffff; --surface-2: #f7f9ff;
  --ink: #0b1b3a; --ink-2: #3b4a66; --muted: #66748f; --line: #e2e8f4; --line-2: #cdd7ea;
  --brand: #1f6bff; --brand-hover: #1357de; --brand-soft: #e8f0ff; --brand-ink: #0f47b8;
  --blue: var(--brand); --blue-soft: var(--brand-soft);
  --mint: #0fbf8a; --mint-soft: #dff7ee;
  --navy: #0a1730; --navy-2: #12254a;
  --good: #0a8f64; --good-soft: #def6ec;
  --warn: #a35f00; --warn-soft: #fff3d3;
  --bad: #d3303f; --bad-soft: #fde6e8;
  --c1: #1f6bff; --c2: #0fbf8a; --c3: #ffb020; --c4: #7a5cff; --c5: #9aa7c0;
  --soft: #f0f4fc; --track: #e7edf8; --hover: #f4f7fd; --ring: #e8edf4;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .05), 0 2px 8px rgba(11, 27, 58, .04);
  --shadow-lg: 0 18px 48px rgba(16, 44, 104, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: 24px; } h3 { font-size: 17px; } h4 { font-size: 15px; }
p { margin: 0; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid #9bbcff; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .ink2 { color: var(--ink-2); }
.small { font-size: 13.5px; } .tiny { font-size: 12.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 12px; } .row.wrap { flex-wrap: wrap; } .between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; } .stack-lg > * + * { margin-top: 24px; }
.grow { flex: 1; min-width: 0; } .right { margin-left: auto; } .num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14.5px var(--font); padding: 10px 17px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; transition: background .12s, border-color .12s, box-shadow .12s, transform .12s; line-height: 1.2; white-space: nowrap; }
.btn:hover { background: var(--surface-2); border-color: #9fb1d4; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(31, 107, 255, .28); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.mint { background: var(--mint); border-color: var(--mint); color: #05382a; } .btn.mint:hover { background: #0aae7c; border-color: #0aae7c; }
.btn.blue { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.blue:hover { background: var(--brand-hover); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); } .btn.ghost:hover { background: var(--soft); }
.btn.danger { color: var(--bad); border-color: #f2b5ba; } .btn.danger:hover { background: var(--bad-soft); }
.btn.lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn:disabled, .btn[aria-disabled=true] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.google { background: var(--surface); gap: 10px; } .btn.google svg { width: 18px; height: 18px; }
.link { background: none; border: 0; padding: 0; color: var(--brand); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* forms */
.field { display: block; } .field > span { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink); }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; }
input:not([type]), input[type=text], input[type=url], input[type=email], input[type=password], input[type=search], select, textarea { width: 100%; font: 400 15.5px var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px #d6e4ff; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.mono, code, pre { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 13px; line-height: 1.55; background: var(--navy); color: #dbe6ff; padding: 14px 16px; border-radius: var(--radius-sm); max-height: 340px; overflow: auto; }
code { background: var(--soft); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; } .check input { margin-top: 3px; }

/* cards & layout */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card.flat { box-shadow: none; } .card.tight { padding: 16px; }
.card > h3 + p, .card-head p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.card-head { flex-wrap: wrap; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3, .g-side { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g4 { grid-template-columns: 1fr; } .card { padding: 18px; } }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.badge.good { background: var(--good-soft); color: var(--good); } .badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); } .badge.blue { background: var(--brand-soft); color: var(--brand-ink); } .badge.brand { background: var(--brand-soft); color: var(--brand-ink); } .badge.mint { background: var(--mint-soft); color: #067457; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--c5); flex: none; }
.dot.good { background: var(--good); } .dot.warn { background: #e09a00; } .dot.bad { background: var(--bad); }

/* alerts */
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert.info { background: var(--brand-soft); border-color: #c3d7ff; color: #12326f; } .alert.warn { background: var(--warn-soft); border-color: #efd88b; color: #5c3a00; }
.alert.bad { background: var(--bad-soft); border-color: #f2b5ba; color: #7d1a22; } .alert.good { background: var(--good-soft); border-color: #a6dcc5; color: #0a5a3e; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 -2px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.c, th.c { text-align: center; }
tbody tr:hover { background: var(--soft); }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: 600 14.5px var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: var(--ink); } .tab[aria-selected=true] { color: var(--brand); border-bottom-color: var(--brand); }

/* progress */
.bar { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; } .bar > i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.bar.good > i { background: var(--good); } .bar.warn > i { background: #e0a100; } .bar.bad > i { background: var(--bad); }
.steps { list-style: none; margin: 0; padding: 0; } .steps li { display: flex; gap: 12px; align-items: center; padding: 9px 0; color: var(--muted); font-size: 15px; }
.steps li .dot { width: 12px; height: 12px; } .steps li.active { color: var(--ink); font-weight: 600; } .steps li.active .dot { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); animation: pulse 1.4s ease-in-out infinite; } .steps li.done .dot { background: var(--mint); } .steps li.done { color: var(--ink-2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* KPI */
.kpi { display: flex; flex-direction: column; gap: 4px; } .kpi .label { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .value { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 13px; font-weight: 600; } .delta.up { color: var(--good); } .delta.down { color: var(--bad); } .delta.flat { color: var(--muted); }

/* toast */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: 14px; }
.toast.bad { background: #8a1c26; }

/* charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--font); fill: var(--muted); font-size: 12px; }
.chart .grid-line { stroke: var(--track); stroke-width: 1; }
.chart-tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; white-space: nowrap; transform: translate(-50%, -110%); z-index: 5; box-shadow: var(--shadow-lg); }
.chart-box { position: relative; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); } .legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* details */
details.item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
details.item + details.item { margin-top: 8px; }
details.item > summary { list-style: none; cursor: pointer; padding: 13px 16px; display: flex; gap: 12px; align-items: center; }
details.item > summary::-webkit-details-marker { display: none; }
details.item > summary::after { content: '+'; margin-left: auto; color: var(--muted); font-size: 20px; line-height: 1; }
details.item[open] > summary::after { content: '–'; }
details.item .body { padding: 0 16px 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.evidence { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13.5px; } .evidence li { padding: 3px 0; color: var(--ink-2); font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-word; }

/* ---------- app shell: light sidebar ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); color: var(--ink-2); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #1f6bff 10%, #0fbf8a 120%); display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 4px 10px rgba(31, 107, 255, .3); }
.side .brand { color: var(--ink); padding: 4px 8px 14px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 14.5px; }
.nav a svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.nav a:hover { background: var(--soft); color: var(--ink); } .nav a[aria-current=page] { background: var(--brand-soft); color: var(--brand-ink); } .nav a[aria-current=page] svg { opacity: 1; color: var(--brand); }
.nav .count { margin-left: auto; font-size: 12px; background: var(--soft); color: var(--ink-2); padding: 1px 7px; border-radius: 999px; }
.nav .lock { margin-left: auto; font-size: 12px; background: var(--mint-soft); color: #067457; padding: 1px 7px; border-radius: 999px; font-weight: 700; }
.nav h6 { margin: 16px 12px 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8392ad; font-weight: 700; }
.side .foot { margin-top: auto; padding: 12px 8px 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.side select { background: var(--soft); color: var(--ink); border-color: var(--line-2); }
.main { padding: 26px clamp(16px, 3vw, 40px) 60px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h2 { font-size: 26px; } .page-head p { color: var(--muted); margin-top: 4px; }
.topbar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side, .main { min-width: 0; max-width: 100vw; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 12px; gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand { padding: 0 8px 0 4px; } .nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; flex: 1 1 100%; order: 3; padding-bottom: 4px; } .nav a { white-space: nowrap; padding: 8px 10px; } .nav h6, .side .foot { display: none; }
  .side .sitepick { flex: 1; }
}

/* ---------- marketing: header + mega menu ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 14px; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: 28px; flex: 1; }
.menu > .mi { position: relative; }
.menu .mb { background: none; border: 0; font: 600 14.5px var(--font); color: var(--ink-2); padding: 9px 12px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.menu .mb:hover, .menu .mb[aria-expanded=true] { background: var(--soft); color: var(--ink); }
.menu .mb svg { width: 12px; height: 12px; transition: transform .15s; } .menu .mb[aria-expanded=true] svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 8px 28px; z-index: 50; }
.mega.product { grid-template-columns: repeat(4, minmax(176px, 1fr)); width: min(960px, calc(100vw - 32px)); }
.mega.solutions { grid-template-columns: repeat(4, minmax(150px, 1fr)); width: min(860px, calc(100vw - 32px)); }
.mega h6 { margin: 0 0 8px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); font-weight: 800; }
.mega a.it { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.3; }
.mega a.it small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.mega a.it:hover { background: var(--brand-soft); }
.mega .foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.head-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; }
@media (max-width: 1020px) {
  .menu { position: fixed; inset: 58px 0 0 0; background: var(--surface); flex-direction: column; align-items: stretch; margin: 0; padding: 14px 16px 28px; overflow-y: auto; gap: 2px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .15s; }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu .mb { width: 100%; justify-content: space-between; font-size: 16px; padding: 13px 12px; }
  .mega { position: static; width: auto !important; box-shadow: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 8px 4px 14px; grid-template-columns: 1fr !important; }
  .burger { display: inline-flex; }
  .head-cta .hide-sm { display: none; }
}

/* ---------- marketing: hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 92px) 0 clamp(30px, 5vw, 60px); background: radial-gradient(900px 420px at 15% -60px, #dbe8ff 0%, transparent 70%), radial-gradient(700px 360px at 95% 10%, #d5f6ea 0%, transparent 70%), linear-gradient(#fbfdff, #f4f7fd); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #1f6bff, #0fbf8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); max-width: 34em; margin-top: 18px; }
.urlbox { display: flex; gap: 8px; max-width: 600px; margin-top: 28px; background: var(--surface); padding: 7px; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); }
.urlbox input { border: 0; box-shadow: none !important; font-size: 17px; padding: 12px 14px; background: transparent; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: 2; } }
@media (max-width: 560px) { .urlbox { flex-direction: column; } }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--muted); font-size: 13px; } .trust-row span::before { content: '✓'; color: var(--mint); font-weight: 900; margin-right: 6px; }
.engines { padding: 26px 0 8px; }
.engines .lbl { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.engine-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.engine { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); font-size: 15px; }
.engine i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* mock windows used as product visuals */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock .bar-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock .bar-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--track); display: inline-block; } .mock .bar-top span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.mock .body { padding: 18px; }
.mock .sample { position: absolute; }
.tag-sample { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 2px 9px; }
.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 13px; }
.hero-visual { position: relative; padding: 0 0 24px; }

/* feature rows */
.section { padding: clamp(40px, 6vw, 84px) 0; } .section h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; }
.section .eyebrow { color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(26px, 4vw, 56px) 0; }
.frow.flip .ftext { order: 2; }
.frow h2 { font-size: clamp(26px, 3.2vw, 38px); } .frow .ftext p.lead { font-size: 17.5px; color: var(--ink-2); margin-top: 14px; }
.frow ul.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; } .frow ul.ticks li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); } .frow ul.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23067457' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.fvisual { position: relative; background: linear-gradient(145deg, #e9f0ff, #e2f8f0); border-radius: 26px; padding: clamp(18px, 3vw, 34px); }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; } .frow.flip .ftext { order: 0; } }
.band { background: var(--navy); color: #dbe6ff; border-radius: 28px; padding: clamp(28px, 5vw, 60px); position: relative; overflow: hidden; }
.band h2 { color: #fff; } .band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 107, 255, .55), transparent 70%); }
.stat { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; }

/* feature grid (product overview cards) */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } @media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } }
.feature { padding: 22px; scroll-margin-top: 90px; transition: transform .15s, box-shadow .15s; } .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; } .feature .ico svg { width: 22px; height: 22px; } .feature .ico.m { background: var(--mint-soft); color: #067457; }
.feature h3 { margin-bottom: 6px; } .feature p { color: var(--ink-2); font-size: 15px; }

/* how it works: connected timeline */
.hiw { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.hiw::before { content: ''; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 3px; background: repeating-linear-gradient(90deg, #b9ccf3 0 10px, transparent 10px 18px); z-index: 0; }
.hstep { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hnum { width: 68px; height: 68px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(31, 107, 255, .22); color: var(--brand); } .hnum svg { width: 28px; height: 28px; }
.hstep:nth-child(even) .hnum { border-color: var(--mint); color: #067457; box-shadow: 0 8px 20px rgba(15, 191, 138, .25); }
.hcard { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 18px; width: 100%; flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.hcard .n { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }
.hcard h3 { font-size: 18px; } .hcard p { color: var(--ink-2); font-size: 14.5px; }
.hviz { margin-top: auto; width: 100%; background: var(--soft); border-radius: 12px; padding: 12px; min-height: 84px; display: grid; place-items: center; }
@media (max-width: 960px) { .hiw { grid-template-columns: 1fr 1fr; } .hiw::before { display: none; } }
@media (max-width: 560px) { .hiw { grid-template-columns: 1fr; } }

/* compare table */
.cmpbox { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.cmp { min-width: 720px; } .cmp th { background: var(--soft); padding: 16px 14px; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.cmp th.us { background: var(--brand); color: #fff; font-size: 15px; } .cmp td { padding: 14px; } .cmp td:first-child { font-weight: 600; color: var(--ink); }
.cmp td.us { background: var(--soft); }
.cmp .yes { color: var(--good); font-size: 19px; font-weight: 900; } .cmp .no { color: #e0283a; font-size: 19px; font-weight: 900; } .cmp .part { color: #a35f00; font-size: 13px; font-weight: 700; }
.cmp .group td { background: var(--soft); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 9px 14px; }

/* pricing */
.price { padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; } .price.pop { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price .amt { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; } .price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; } .price li::before { content: '✓'; color: var(--mint); font-weight: 900; margin-right: 9px; }
.price li.off { color: var(--muted); } .price li.off::before { content: '✕'; color: #e0283a; }
.plans4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } @media (max-width: 1060px) { .plans4 { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .plans4 { grid-template-columns: 1fr; } }

.cta-band { background: linear-gradient(120deg, #1f6bff, #0a8fe0 55%, #0fbf8a); color: #fff; border-radius: 28px; padding: clamp(30px, 5vw, 64px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); } .cta-band p { color: #e4f0ff; margin-top: 10px; } .cta-band .btn { margin-top: 22px; background: var(--surface); color: var(--brand-ink); border-color: #fff; }
.footer { background: var(--navy); color: #9fb1d4; padding: 52px 0 36px; font-size: 14px; margin-top: 40px; }
.footer h6 { margin: 0 0 12px; color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; } .footer a { color: #9fb1d4; text-decoration: none; display: block; padding: 4px 0; } .footer a:hover { color: #fff; }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; } @media (max-width: 800px) { .fcols { grid-template-columns: 1fr 1fr; } }
.footer .fine { border-top: 1px solid #1d3361; margin-top: 30px; padding-top: 18px; font-size: 12.5px; color: #7d90b6; }

.auth-card { max-width: 420px; margin: 0 auto; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; } .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* locked content / paywall */
.locked { position: relative; } .locked .veil { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }
.paywall { background: linear-gradient(135deg, #0a1730, #12306b); color: #dbe6ff; border-radius: var(--radius); padding: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border: 0; }
.paywall h3 { color: #fff; font-size: 19px; } .paywall p { color: #b9c9ea; font-size: 14.5px; margin-top: 4px; max-width: 46em; }
.paywall .btn { white-space: normal; } .paywall .btn.ghost { color: #dbe6ff; border-color: #35508d; } .paywall .btn.ghost:hover { background: #1b3a78; }
.lockrow { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--soft); color: var(--muted); font-size: 14px; }
.lockrow b { color: var(--ink); }
.print-only { display: none; }
@media print { .side, .no-print, .toasts, .tabs, .site-head { display: none !important; } .shell { display: block; } body { background: var(--surface); } .card { box-shadow: none; break-inside: avoid; } .print-only { display: block; } }

.btn[aria-pressed=true] { background: var(--navy); color: #fff; border-color: var(--navy); }
body.pc .side, body.pc .page-head, body.pc .main > #inner > :not(.grid), body.pc .grid > :not(.stack-lg) { display: none !important; }
body.pc .stack-lg > :not(#qrcard) { display: none !important; }
body.pc #qrcard h3, body.pc #qrcard > p, body.pc #qrcard button { display: none !important; }
body.pc #qrcard { border: 0; box-shadow: none; text-align: center; } body.pc #qrcard img { width: 260px; height: 260px; }

/* marketing polish */
.float svg, .mock .row > svg, .mock .small svg, .mock .row svg { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.hero { padding-top: clamp(28px, 4vw, 56px); }
.hero-visual .float { white-space: nowrap; }
.mock [role=listitem] { grid-template-columns: minmax(70px, 110px) minmax(40px, 1fr) 44px !important; gap: 10px !important; }
.hero-visual .float.f2 { right: -8px; top: -14px; }

@media (max-width: 900px) { .frow { grid-template-columns: minmax(0, 1fr); } .frow > * { min-width: 0; } .fvisual .table-wrap { overflow-x: auto; } }
p > svg, .small > svg, li > svg, .lockrow svg { width: 1.1em; height: 1.1em; vertical-align: -0.2em; flex: none; }
.lockrow svg { width: 16px; height: 16px; }

/* brand marks */
.bi { display: inline-flex; vertical-align: -0.17em; margin-right: .32em; width: 1.05em; height: 1.05em; flex: none; }
.bi svg { width: 100%; height: 100%; display: block; }
.btn .bi, .badge .bi, .engine .bi { margin-right: .4em; }
.engine .bi { width: 1.25em; height: 1.25em; vertical-align: -0.3em; }

/* v5: three plans, managed service, contact */
.plans3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1020px; margin: 0 auto; } @media (max-width: 860px) { .plans3 { grid-template-columns: 1fr; max-width: 460px; } }
.managed { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #f0f6ff, #e9fbf4); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); } .managed h2 { margin: 6px 0 8px; } .managed p { color: var(--ink2); font-size: 18px; }
.nets { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; } .net { display: grid; gap: 8px; align-content: start; text-align: left; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font: inherit; color: inherit; } .net.off { opacity: .6; } .net.sel { cursor: pointer; } .net.sel.on { border-color: var(--brand); background: var(--soft); box-shadow: 0 0 0 3px rgba(31,107,255,.12); } .net-top { display: flex; align-items: center; gap: 8px; } .net-top .tick { margin-left: auto; color: var(--brand); font-weight: 900; } .linkish { color: var(--muted); text-decoration: underline; cursor: pointer; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; } @media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* legal pages */
.legal { padding: 48px 16px 80px; } .legal-head h1 { font-size: clamp(32px, 4vw, 46px); margin: 6px 0 8px; } .legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; margin-top: 34px; align-items: start; }
.legal-toc { position: sticky; top: 90px; display: grid; gap: 2px; font-size: 14px; max-height: calc(100vh - 120px); overflow: auto; } .legal-toc a { color: var(--ink2); padding: 6px 10px; border-radius: 8px; text-decoration: none; } .legal-toc a:hover { background: var(--soft); color: var(--brand-ink); }
.legal-body { max-width: 46em; color: var(--ink2); line-height: 1.7; } .legal-body section { margin-bottom: 34px; scroll-margin-top: 90px; } .legal-body h2 { font-size: 24px; color: var(--ink); margin-bottom: 10px; } .legal-body h3 { font-size: 16px; color: var(--ink); margin: 18px 0 6px; } .legal-body p { margin: 0 0 12px; } .legal-body ul { margin: 0 0 12px; padding-left: 22px; } .legal-body li { margin-bottom: 6px; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { display: none; } }

.brand .wm { letter-spacing: -0.03em; } .brand .ai { color: #0fa573; font-weight: 800; }

/* ===== v6: modern landing, consistent icons, motion ===== */
.site-head { backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); background: rgba(255, 255, 255, .82); }
.btn.primary { background: linear-gradient(180deg, #3280ff, #1f63f0); box-shadow: 0 6px 16px rgba(31, 99, 240, .28); border-color: transparent; transition: transform .15s, box-shadow .15s; } .btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31, 99, 240, .34); }
.eyebrow, .section .eyebrow, .ftext .eyebrow { display: inline-flex; align-items: center; padding: 5px 13px; margin-bottom: 14px; background: var(--brand-soft); color: var(--brand-ink); border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.managed .eyebrow, .hcard .n { text-transform: none; letter-spacing: 0; }
.center-head { text-align: center; max-width: 46em; margin: 0 auto 38px; } .center-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.03em; } .center-head p { margin-top: 12px; font-size: 17.5px; }
.section.tight { padding: 8px 0 clamp(24px, 4vw, 44px); }

/* hero motion */
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; z-index: 0; }
.hero::before { width: 380px; height: 380px; left: -90px; top: 40px; background: #bcd4ff; animation: drift 16s ease-in-out infinite alternate; }
.hero::after { width: 340px; height: 340px; right: -60px; top: 120px; background: #bdf0dd; animation: drift 19s ease-in-out infinite alternate-reverse; }
.hero .wrap { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }
.hero-visual .float { animation: bob 5.5s ease-in-out infinite; } .hero-visual .float.f2 { animation-delay: -2.7s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.hero h1 em { background: linear-gradient(90deg, #1f6bff, #0fbf8a 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* brand strip */
.engines { padding: 30px 0 6px; overflow: hidden; } .engines .lbl { text-transform: none; letter-spacing: 0; font-size: 14px; }
.marquee { overflow: hidden; margin-top: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: marq 48s linear infinite; } .marquee.rev .track { animation-direction: reverse; animation-duration: 60s; } .marquee:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-33.3333%); } }
.engine { height: 46px; padding: 0 20px; white-space: nowrap; box-shadow: 0 2px 8px rgba(11, 27, 58, .05); } .engine .bi, .engine .bi.wide { height: 22px; width: 22px; margin: 0 10px 0 0; vertical-align: 0; align-items: center; } .engine .bi.wide { width: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); } .chip .bi { width: 18px; height: 18px; margin-right: 8px; vertical-align: 0; align-items: center; } .chip .bi.wide { width: 32px; }
.bi { align-items: center; } .bi.wide { width: 2.1em; }
.badge .bi { width: 1em; height: 1em; vertical-align: -0.14em; } .badge .bi.wide { width: 1.8em; }

/* stats */
.statbar { margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); } .sb-stat { padding: 26px 18px; text-align: center; } .sb-stat + .sb-stat { border-left: 1px solid var(--line); }
.sb-n { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: var(--brand); line-height: 1; } .sb-l { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 700px) { .statbar { grid-template-columns: 1fr 1fr; } .sb-stat:nth-child(3) { border-left: 0; } .sb-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* how it works: you / we */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } @media (max-width: 1020px) { .steps4 { grid-template-columns: 1fr 1fr; } } @media (max-width: 580px) { .steps4 { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 20px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.snum { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.sico { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #e8f0ff, #dff7ee); color: var(--brand); display: grid; place-items: center; } .sico svg { width: 26px; height: 26px; }
.step h3 { font-size: 19px; }
.sline { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-2); } .sline b { display: inline-grid; place-items: center; height: 24px; border-radius: 999px; font-size: 12.5px; } .sline.you b { background: var(--brand-soft); color: var(--brand-ink); } .sline.we b { background: var(--mint-soft); color: #067457; }
.step .hviz { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); min-height: 56px; display: flex; align-items: center; }
.gets { margin-top: 26px; background: linear-gradient(145deg, #f0f6ff, #eafaf3); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 32px); } .gets h3 { text-align: center; font-size: 22px; margin-bottom: 20px; }
.gets-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } @media (max-width: 860px) { .gets-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .gets-grid { grid-template-columns: 1fr; } }
.get { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line); } .get b { display: block; font-size: 15.5px; } .get span { color: var(--muted); font-size: 13.5px; }

/* tools */
.tico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); } .tico svg { width: 22px; height: 22px; } .tico.mint { background: var(--mint-soft); color: #067457; }
.tgroup { margin-bottom: 30px; } .tg-title { font-size: 19px; margin: 0 0 14px; padding-left: 14px; border-left: 4px solid var(--brand); line-height: 1.2; } .tg-title.mint { border-color: var(--mint); }
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } @media (max-width: 960px) { .tgrid { grid-template-columns: 1fr 1fr; } } @media (max-width: 580px) { .tgrid { grid-template-columns: 1fr; } }
.tool { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; scroll-margin-top: 96px; box-shadow: var(--shadow); transition: transform .18s, border-color .18s, box-shadow .18s; } .tool:hover, .tool:target { transform: translateY(-3px); border-color: #a9c3ff; box-shadow: var(--shadow-lg); } .tool:target { outline: 3px solid #9bbcff; }
.tool h4 { font-size: 16px; margin-bottom: 2px; } .tool p { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.value-line { margin-top: 36px; background: linear-gradient(135deg, #0a1730, #12306a); color: #fff; border-radius: 26px; padding: clamp(22px, 4vw, 40px); text-align: center; box-shadow: var(--shadow-lg); }
.vl-tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; } .vl-tools span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; } .vl-tools i { font-style: normal; color: #7fa6ff; font-weight: 800; }
.vl-eq { margin-top: 22px; display: grid; gap: 10px; justify-items: center; } .vl-eq b { font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; } .vl-eq span { color: #c4d3f1; max-width: 40em; }

/* showcase rows */
.frow { padding: clamp(20px, 3vw, 40px) 0; } .frow h2 { margin-top: 0; }
.fvisual { border-radius: 28px; background: linear-gradient(145deg, #e6eeff, #def6ec); }
.auto-row { padding: 10px 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; gap: 10px; }

/* pricing */
.plans3 { align-items: stretch; } .price { border-radius: 24px; } .price .badge { align-self: flex-start; } .price .pblurb { min-height: 2.8em; } .price .btn { margin-top: auto; justify-content: center; } .price ul { flex: 1; align-content: start; }
.price.pop { transform: translateY(-6px); } @media (max-width: 860px) { .price.pop { transform: none; } }

/* faq: centred */
.faq { max-width: 52em; margin: 0 auto; } details.item { border-radius: 16px; transition: border-color .15s, box-shadow .15s; } details.item:hover { border-color: #a9c3ff; } details.item[open] { box-shadow: var(--shadow); border-color: #a9c3ff; } details.item > summary { padding: 16px 20px; } details.item .body { padding: 14px 20px 18px; }
.managed { border-radius: 28px; }

/* scroll reveal (only when JS animation is on) */
.js-anim .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); } .js-anim .reveal.in { opacity: 1; transform: none; }
.js-anim .price.pop.reveal.in { transform: translateY(-6px); } @media (max-width: 860px) { .js-anim .price.pop.reveal.in { transform: none; } }
.js-anim .reveal .tool { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1), border-color .18s, box-shadow .18s; } .js-anim .reveal.in .tool { opacity: 1; transform: none; }
.js-anim .reveal.in .tool:nth-child(2) { transition-delay: .05s; } .js-anim .reveal.in .tool:nth-child(3) { transition-delay: .1s; } .js-anim .reveal.in .tool:nth-child(4) { transition-delay: .15s; } .js-anim .reveal.in .tool:nth-child(5) { transition-delay: .2s; } .js-anim .reveal.in .tool:nth-child(6) { transition-delay: .25s; }
.js-anim .reveal .bar > i { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .3s; } .js-anim .reveal.in .bar > i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after, .hero-visual .float, .marquee .track { animation: none !important; } .js-anim .reveal, .js-anim .reveal .tool, .js-anim .reveal .bar > i { opacity: 1 !important; transform: none !important; transition: none !important; } .marquee { overflow-x: auto; } }

.mega h6 { text-transform: none; letter-spacing: 0; font-size: 14px; } .mega.product { grid-template-columns: repeat(4, minmax(190px, 1fr)); width: min(1100px, calc(100vw - 32px)); } .mega.product a.it small { line-height: 1.35; }
.ask { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 14.5px; } .post p { line-height: 1.55; }
.hero-visual .mock { max-width: 460px; margin: 0 auto; }
.row.wrap { max-width: none; margin: 0; padding: 0; }
.footer .brand { display: inline-flex; } .footer .brand .wm { color: #fff; }
.mock [role=listitem] { grid-template-columns: minmax(96px, 128px) minmax(30px, 1fr) 44px !important; }
.mega.product { left: 0; width: min(1020px, calc(100vw - 340px)); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 22px; }
@media (max-width: 1020px) { .mega.product { width: auto; } }
@media (max-width: 700px) { .hero-visual .float { display: none; } }

/* v9: start-plan and confirmation screens */
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--brand-soft); border-top-color: var(--brand); margin: 0 auto; animation: spin9 .8s linear infinite; } @keyframes spin9 { to { transform: rotate(360deg); } }
.plan-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } @media (max-width: 560px) { .plan-opts { grid-template-columns: 1fr; } }
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); justify-self: start; } .bill-toggle button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-2, #4a5678); } .bill-toggle button.on { background: var(--brand); color: #fff; } .bill-toggle small { font-size: 12px; font-weight: 700; color: var(--good); padding: 0 10px 0 6px; }
.plan-opt { position: relative; display: grid; gap: 6px; border: 2px solid var(--line-2); border-radius: 16px; padding: 14px; cursor: pointer; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.plan-opt:hover { border-color: #9fb1d4; } .plan-opt.on { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 107, 255, .12); background: var(--soft); }
.plan-opt input { position: absolute; opacity: 0; } .plan-opt:has(input:focus-visible) { outline: 3px solid #9bbcff; outline-offset: 2px; }
.po-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .po-price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; } .po-price small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* v9: report summary */
.sum-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; background: linear-gradient(135deg, #f3f8ff, #eefbf6); }
.sum-gauge { text-align: center; } .sum-grade { font-weight: 800; font-size: 18px; margin-top: 4px; }
.sum-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sum-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 2px; } .sum-stat b { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; } .sum-stat b small { font-size: 14px; font-weight: 600; color: var(--muted); }
.insight { display: grid; gap: 8px; align-content: start; }
.weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .week { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; align-content: start; background: var(--surface-2); } .week ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.does { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; } .do { display: flex; gap: 12px; align-items: center; } .do b { display: block; } .do span { display: block; }
@media (max-width: 900px) { .sum-hero { grid-template-columns: 1fr; } .sum-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .does { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .weeks { grid-template-columns: 1fr; } }
.sugg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } @media (max-width: 640px) { .sugg { grid-template-columns: 1fr; } }
.sug-btn { text-align: left; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--surface-2); cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, transform .15s; } .sug-btn:hover { border-color: var(--brand); transform: translateY(-2px); } .sug-btn .badge { justify-self: start; }

/* v10: logo AI on dark backgrounds */
.site-foot .brand .ai, footer .brand .ai { color: #2ad49a; }

/* v11: top bar on the crawl screen, same logo position as the website header */
.app-top { background: var(--surface); border-bottom: 1px solid #eef2f9; } .app-top-in { max-width: 1160px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; min-height: 50px; }

/* AI tools (MCP) view */
.codebox { margin: 0; padding: 12px 14px; background: #0b1b3a; color: #dbe7ff; border-radius: 10px; font: 500 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; cursor: copy; white-space: pre; }
.mcp-steps details { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--surface); }
.mcp-steps summary { cursor: pointer; font-size: 15px; } .mcp-steps ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.ask-chip { text-align: left; font: 500 14px var(--font); color: var(--ink); background: var(--brand-soft, #eef3ff); border: 1px solid #d6e4ff; border-radius: 10px; padding: 10px 14px; cursor: copy; }

/* cookie prompt: small, bottom corner, never blocks the page */
.cc { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 330px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(11, 27, 58, .16); padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.cc p { margin: 0 0 10px; } .cc a { color: var(--brand); } .cc-btns { display: flex; gap: 8px; flex-wrap: wrap; } .cc-btns .btn { flex: 1 1 auto; }
.cc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; } .cc-row small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; } .cc-row input { width: 18px; height: 18px; flex: none; accent-color: var(--brand); } .cc-row + .cc-btns, .cc-row:last-of-type { margin-bottom: 10px; }
@media (max-width: 520px) { .cc { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
@media print { .cc { display: none; } }

.footer .linkbtn { background: none; border: 0; font: inherit; color: #9fb1d4; padding: 4px 0; cursor: pointer; text-align: left; } .footer .linkbtn:hover { color: #fff; }

.bill-toggle button { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; min-width: 88px; } .bill-toggle button small { display: block; font-size: 12px; font-weight: 700; padding: 0; color: var(--good); } .bill-toggle button.on small { color: #d8fff0; }

/* v20 logo: gray gradient dolphin (CSS mask, one element, no SVG id clashes) */
.logo { --la: #c2c2c2; --lb: #4a4a4a; display: inline-block; flex: none; height: 34px; aspect-ratio: 474 / 522; background: linear-gradient(180deg, var(--la), var(--lb)); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%22276%20226%20474%20522%22%3E%3Cpath%20d=%22M364%20644%20367%20648%20402%20675%20438%20709%20453%20721%20480%20737%20502%20743%20523%20743%20534%20741%20548%20736%20566%20726%20592%20705%20634%20666%20661%20646%20661%20644%20655%20645%20635%20652%20623%20658%20589%20680%20554%20707%20535%20717%20524%20720%20507%20721%20491%20717%20475%20709%20431%20676%20401%20657%20386%20650ZM574%20232%20561%20232%20539%20242%20518%20257%20497%20279%20483%20299%20470%20324%20459%20354%20453%20377%20451%20379%20415%20392%20399%20400%20377%20414%20356%20431%20340%20447%20316%20478%20305%20497%20294%20522%20284%20556%20280%20583%20281%20627%20286%20653%20296%20682%20298%20682%20301%20670%20307%20656%20316%20642%20332%20628%20342%20623%20351%20621%20364%20621%20385%20627%20397%20633%20424%20652%20436%20658%20450%20662%20468%20662%20495%20653%20508%20651%20531%20653%20545%20659%20557%20662%20580%20661%20600%20653%20629%20633%20645%20625%20661%20621%20675%20621%20692%20627%20710%20643%20722%20664%20727%20681%20730%20681%20741%20645%20745%20618%20744%20574%20741%20556%20732%20524%20717%20491%20706%20473%20688%20450%20665%20427%20647%20413%20619%20396%20594%20385%20577%20380%20572%20376%20564%20358%20559%20338%20557%20325%20557%20301%20562%20274%20576%20239ZM433%20604%20441%20596%20455%20586%20473%20578%20501%20572%20523%20572%20542%20575%20560%20581%20581%20593%20591%20602%20593%20606%20590%20607%20582%20603%20555%20595%20524%20591%20488%20592%20458%20598%20443%20603%20436%20607%20434%20607ZM642%20564%20651%20555%20657%20552%20666%20551%20677%20555%20684%20562%20689%20573%20688%20589%20684%20591%20673%20587%20651%20587%20641%20590%20638%20586%20638%20573ZM338%20569%20341%20563%20349%20555%20360%20551%20372%20553%20380%20559%20386%20568%20388%20574%20388%20586%20386%20589%20369%20586%20360%20586%20340%20591%20337%20586Z%22%20fill-rule=%22evenodd%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%22276%20226%20474%20522%22%3E%3Cpath%20d=%22M364%20644%20367%20648%20402%20675%20438%20709%20453%20721%20480%20737%20502%20743%20523%20743%20534%20741%20548%20736%20566%20726%20592%20705%20634%20666%20661%20646%20661%20644%20655%20645%20635%20652%20623%20658%20589%20680%20554%20707%20535%20717%20524%20720%20507%20721%20491%20717%20475%20709%20431%20676%20401%20657%20386%20650ZM574%20232%20561%20232%20539%20242%20518%20257%20497%20279%20483%20299%20470%20324%20459%20354%20453%20377%20451%20379%20415%20392%20399%20400%20377%20414%20356%20431%20340%20447%20316%20478%20305%20497%20294%20522%20284%20556%20280%20583%20281%20627%20286%20653%20296%20682%20298%20682%20301%20670%20307%20656%20316%20642%20332%20628%20342%20623%20351%20621%20364%20621%20385%20627%20397%20633%20424%20652%20436%20658%20450%20662%20468%20662%20495%20653%20508%20651%20531%20653%20545%20659%20557%20662%20580%20661%20600%20653%20629%20633%20645%20625%20661%20621%20675%20621%20692%20627%20710%20643%20722%20664%20727%20681%20730%20681%20741%20645%20745%20618%20744%20574%20741%20556%20732%20524%20717%20491%20706%20473%20688%20450%20665%20427%20647%20413%20619%20396%20594%20385%20577%20380%20572%20376%20564%20358%20559%20338%20557%20325%20557%20301%20562%20274%20576%20239ZM433%20604%20441%20596%20455%20586%20473%20578%20501%20572%20523%20572%20542%20575%20560%20581%20581%20593%20591%20602%20593%20606%20590%20607%20582%20603%20555%20595%20524%20591%20488%20592%20458%20598%20443%20603%20436%20607%20434%20607ZM642%20564%20651%20555%20657%20552%20666%20551%20677%20555%20684%20562%20689%20573%20688%20589%20684%20591%20673%20587%20651%20587%20641%20590%20638%20586%20638%20573ZM338%20569%20341%20563%20349%20555%20360%20551%20372%20553%20380%20559%20386%20568%20388%20574%20388%20586%20386%20589%20369%20586%20360%20586%20340%20591%20337%20586Z%22%20fill-rule=%22evenodd%22/%3E%3C/svg%3E") center / contain no-repeat; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.brand { gap: 10px; font-size: 20px; } .side .brand .logo { height: 30px; }
.footer .logo, .site-foot .logo, .final .logo, .pd-cover-top .logo { --la: #e2e2e2; --lb: #7d7d7d; }

/* v13.4 polish: inline "(required)" hint, calmer sign-up card */
.field > span small { display: inline; margin: 0 0 0 4px; }
.auth-card { padding: 32px 30px !important; gap: 18px; } .auth-card form.stack > .btn { margin-top: 4px; } .auth-card > .small.row { padding-top: 2px; }

/* v21 dashboard: sentiment, agent analytics, Looker Studio */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: 0; margin-right: 3px; }
.cloud { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: baseline; } .theme { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 700; line-height: 1.3; background: var(--soft); color: var(--ink-2); }
.theme b { font-size: 12px; opacity: .65; } .theme.positive { background: var(--good-soft); color: var(--good); } .theme.negative { background: var(--bad-soft); color: var(--bad); } .theme.mixed { background: var(--warn-soft); color: var(--warn); }
.quote { border-left: 4px solid var(--line-2); padding: 6px 0 6px 14px; font-size: 14.5px; color: var(--ink-2); } .quote.positive { border-color: var(--good); } .quote.negative { border-color: var(--bad); } .quote.mixed { border-color: #ffb020; } .quote small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; }
.heat { display: grid; gap: 4px; } .heat-r { display: grid; grid-template-columns: 130px repeat(var(--cols), minmax(0, 1fr)); gap: 4px; align-items: center; } .heat-l { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heat-c { height: 22px; border-radius: 5px; } .heat-h span { text-align: center; } .heat-h span:first-child { text-align: left; }
.feature-hero { background: linear-gradient(135deg, #0b1b3a, #12254a); color: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; } .feature-hero h3 { color: #fff; } .feature-hero p { color: #b9c8e6; margin-top: 4px; font-size: 14.5px; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; } .steps3 > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 52px; position: relative; font-size: 14px; } .steps3 > div::before { counter-increment: s; content: counter(s); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } .heat-r { grid-template-columns: 90px repeat(var(--cols), minmax(0, 1fr)); } }
.tbl-mini { width: 100%; border-collapse: collapse; font-size: 13.5px; } .tbl-mini th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); } .tbl-mini td { padding: 7px 8px; border-bottom: 1px solid var(--line); } .tbl-mini td.num, .tbl-mini th.num { text-align: right; font-variant-numeric: tabular-nums; }
.access { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; } .access > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; }
.tabs-mini { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; } .tabs-mini button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 5px 13px; font: 600 13px var(--font); cursor: pointer; color: var(--ink-2); } .tabs-mini button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } @media (max-width: 860px) { .minis { grid-template-columns: 1fr; } }
.lk-frame { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--soft); } .lk-bar { display: flex; align-items: center; gap: 6px; background: var(--surface); padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); font-weight: 600; } .lk-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--track); } .lk-bar span { margin-left: 8px; } .lk-body { padding: 16px; }
.feature-hero > svg { width: 44px; height: 44px; flex: none; color: #2ad49a; padding: 9px; background: rgba(255,255,255,.08); border-radius: 12px; box-sizing: content-box; }

/* ---------- v22 dark mode (dashboard only: the theme attribute is set by app.js, never on the marketing pages) ---------- */
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #0a1121; --surface: #111b30; --surface-2: #15213b; --soft: #182744; --track: #243456; --hover: #16233f; --ring: #243456;
  --ink: #e9eefc; --ink-2: #bcc8e2; --muted: #8c9bba; --line: #1f2d4b; --line-2: #2c3d62;
  --brand: #4a8bff; --brand-hover: #6aa0ff; --brand-soft: #15294f; --brand-ink: #a9c6ff;
  --mint: #19cf9a; --mint-soft: #0f3a30;
  --good: #34d39c; --good-soft: #0f3a30; --warn: #f2b84b; --warn-soft: #3a2e0f; --bad: #ff6b78; --bad-soft: #3d1a22;
  --c1: #4a8bff; --c2: #19cf9a; --c3: #ffbf47; --c4: #9c85ff; --c5: #7a89a8;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25); --shadow-lg: 0 18px 48px rgba(0, 0, 0, .5);
}
:root[data-theme=dark] .alert.info { border-color: #25427a; color: #bcd3ff; } :root[data-theme=dark] .alert.warn { border-color: #5c4a1c; color: #f6d994; }
:root[data-theme=dark] .alert.bad { border-color: #6a2a35; color: #ffb5bd; } :root[data-theme=dark] .alert.good { border-color: #1f5a47; color: #9be7c8; }
:root[data-theme=dark] .btn { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); } :root[data-theme=dark] .btn:hover { background: var(--soft); border-color: #4a5f8e; }
:root[data-theme=dark] .btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; } :root[data-theme=dark] .btn.ghost { background: transparent; border-color: transparent; }
:root[data-theme=dark] input:not([type]), :root[data-theme=dark] input[type=text], :root[data-theme=dark] input[type=url], :root[data-theme=dark] input[type=email], :root[data-theme=dark] input[type=password], :root[data-theme=dark] input[type=search], :root[data-theme=dark] select, :root[data-theme=dark] textarea { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); }
:root[data-theme=dark] code { background: var(--soft); color: var(--ink); } :root[data-theme=dark] pre { background: #060c19; border: 1px solid var(--line); }
:root[data-theme=dark] .badge { background: var(--soft); color: var(--ink-2); } :root[data-theme=dark] .badge.good { background: var(--good-soft); color: var(--good); } :root[data-theme=dark] .badge.warn { background: var(--warn-soft); color: var(--warn); } :root[data-theme=dark] .badge.bad { background: var(--bad-soft); color: var(--bad); } :root[data-theme=dark] .badge.blue, :root[data-theme=dark] .badge.brand { background: var(--brand-soft); color: var(--brand-ink); }
:root[data-theme=dark] .logo { --la: #e2e2e2; --lb: #8a8a8a; }
:root[data-theme=dark] .side .foot { color: var(--muted); }
:root[data-theme=dark] .chart-tip { background: #e9eefc; color: #0b1b3a; }
:root[data-theme=dark] .toast { background: #e9eefc; color: #0b1b3a; }

/* ---------- v22 dashboard: grouped sidebar, top bar, KPI cards, new data components ---------- */
.shell { grid-template-columns: 272px minmax(0, 1fr); }
.side { gap: 4px; padding: 16px 12px; }
.side .brand { padding: 4px 8px 12px; }
.nav { gap: 1px; }
.nav > a, .ngi a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 14.5px; }
.ng { margin-top: 2px; }
.ngh { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: 650 14.5px var(--font); cursor: pointer; text-align: left; }
.ngh svg { width: 18px; height: 18px; flex: none; opacity: .8; } .ngh .chev { width: 14px; height: 14px; margin-left: auto; transition: transform .2s; opacity: .55; }
.ngh:hover { background: var(--hover); color: var(--ink); } .ng.open > .ngh .chev { transform: rotate(180deg); } .ng.has-active > .ngh { color: var(--brand-ink); }
.ngi { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; } .ng.open > .ngi { grid-template-rows: 1fr; }
.ngi > div { overflow: hidden; margin-left: 21px; padding-left: 8px; border-left: 1.5px solid var(--line); }
.ngi a { padding: 7px 10px; font-size: 14px; margin: 1px 0; white-space: nowrap; } .ngi a svg { width: 16px; height: 16px; }
.ngi a:hover, .nav > a:hover { background: var(--hover); color: var(--ink); }
.ngi a[aria-current=page], .nav > a[aria-current=page] { background: var(--brand-soft); color: var(--brand-ink); } .ngi a[aria-current=page] svg, .nav > a[aria-current=page] svg { color: var(--brand); opacity: 1; }
.nav .count { margin-left: auto; font-size: 12px; background: var(--soft); color: var(--ink-2); padding: 1px 7px; border-radius: 999px; } .nav .new { margin-left: auto; font-size: 12px; letter-spacing: .04em; background: var(--mint-soft); color: var(--good); padding: 1px 6px; border-radius: 999px; font-weight: 800; text-transform: uppercase; }
.side .foot { color: var(--muted); } .side .foot b { color: var(--ink); }
@media (max-width: 900px) { .ngi { display: none; } .ng.open > .ngi { display: grid; } .nav { flex-direction: row; flex-wrap: wrap; } .ng { flex: 1 1 100%; } }

.dbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: -26px calc(-1 * clamp(16px, 3vw, 40px)) 22px; padding: 12px clamp(16px, 3vw, 40px); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.brandsel { display: flex; align-items: center; gap: 8px; } .brandsel > span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brandsel select { width: auto; min-width: 190px; max-width: 280px; padding: 8px 12px; font-weight: 650; }
.mpick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.mpick > span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.mchip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 600 13px var(--font); cursor: pointer; transition: all .15s; }
.mchip svg { width: 15px; height: 15px; } .mchip[aria-pressed=true] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); } .mchip[aria-pressed=false] { opacity: .65; } .mchip:hover { opacity: 1; }
.mchip.all { padding: 6px 11px; } .mpick .note { font-size: 12px; color: var(--muted); }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; } .iconbtn:hover { background: var(--hover); color: var(--ink); } .iconbtn svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .dbar { position: static; margin: -26px calc(-1 * clamp(16px, 3vw, 40px)) 18px; } .mpick { margin-left: 0; } }

.page-head h2 { font-size: 28px; letter-spacing: -.03em; } .page-head p { max-width: 62ch; }
.eyebrow2 { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; display: block; }

/* pulse band: the one-sentence answer at the top of a page */
.pulse { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 22px 26px; border-radius: 18px; color: #fff; background: radial-gradient(520px 220px at 90% -20%, rgba(25, 207, 154, .35), transparent 70%), linear-gradient(120deg, #0f2a66 0%, #1f4fd1 55%, #2b6bff 100%); box-shadow: 0 16px 40px rgba(31, 79, 209, .28); margin-bottom: 18px; }
:root[data-theme=dark] .pulse { background: radial-gradient(520px 220px at 90% -20%, rgba(25, 207, 154, .25), transparent 70%), linear-gradient(120deg, #0c1d47 0%, #173a9a 60%, #1f55d6 100%); }
.pulse h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; color: #fff; } .pulse p { color: rgba(255, 255, 255, .82); margin-top: 6px; font-size: 14.5px; max-width: 62ch; }
.pulse .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .pulse .pc { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; }
.pulse .pc.good::before, .pulse .pc.bad::before, .pulse .pc.flat::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5ff0bd; } .pulse .pc.bad::before { background: #ff8c97; } .pulse .pc.flat::before { background: #cbd5ee; }
.pulse .pring { width: 118px; } .pulse .pring text { fill: #fff !important; } .pulse .pring circle:first-of-type { stroke: rgba(255, 255, 255, .22); } .pulse .pring-cap { text-align: center; font-weight: 700; font-size: 13px; margin-top: 2px; color: rgba(255, 255, 255, .9); }
@media (max-width: 700px) { .pulse { grid-template-columns: 1fr; } .pulse .pring-wrap { justify-self: start; } }

/* KPI cards with an icon chip, a delta chip and a sparkline */
.kc { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.kc:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kc-top { display: flex; align-items: center; gap: 10px; } .kc-top .lab { font-size: 13px; font-weight: 650; color: var(--muted); }
.ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; flex: none; } .ico svg { width: 18px; height: 18px; }
.ico.blue { background: var(--brand-soft); color: var(--brand); } .ico.mint { background: var(--mint-soft); color: var(--good); } .ico.amber { background: var(--warn-soft); color: #d08a00; } .ico.violet { background: #ece8ff; color: #6a4df0; } .ico.rose { background: var(--bad-soft); color: var(--bad); }
:root[data-theme=dark] .ico.violet { background: #272050; color: #b2a2ff; }
.kc-val { font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; } .kc-val small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.kc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .kc-sub { font-size: 12.5px; color: var(--muted); }
.kc-spark { position: absolute; right: 14px; top: 44px; opacity: .9; }
.dchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; } .dchip.up { background: var(--good-soft); color: var(--good); } .dchip.down { background: var(--bad-soft); color: var(--bad); } .dchip.flat { background: var(--soft); color: var(--muted); }
.card h3 { font-size: 17px; } .card-head h3 { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--soft); gap: 2px; flex-wrap: wrap; } .seg button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: 650 13px var(--font); color: var(--muted); cursor: pointer; } .seg button[aria-pressed=true] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.g-wide { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } @media (max-width: 960px) { .g-wide { grid-template-columns: 1fr; } }
.g-third { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } @media (max-width: 960px) { .g-third { grid-template-columns: 1fr; } }
.chart .dotc { transition: r .15s; } .chart .pt:hover .dotc, .chart .pt:focus .dotc { r: 6.5; } .ring-v { transition: stroke-dasharray .8s cubic-bezier(.4, 0, .2, 1); }

/* report card */
.rc { display: grid; gap: 10px; } .rc-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 12px; align-items: center; }
.grade { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 15px; color: #fff; }
.rc-name { font-weight: 650; font-size: 14.5px; } .rc-sub { font-size: 12.5px; color: var(--muted); } .rc-val { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.rc-bar { height: 6px; border-radius: 999px; background: var(--track); margin-top: 5px; overflow: hidden; } .rc-bar i { display: block; height: 100%; border-radius: 999px; }

/* model scoreboard */
.mscores { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ms { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface-2); display: grid; gap: 8px; justify-items: center; text-align: center; }
.ms .nm { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; } .ms .nm svg { width: 17px; height: 17px; }
.ms .st { display: flex; gap: 12px; font-size: 12px; color: var(--muted); } .ms .st b { color: var(--ink); display: block; font-size: 14px; }

/* leaderboard */
.lb { display: grid; gap: 4px; } .lb-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) minmax(70px, 1.1fr) 46px; gap: 12px; align-items: center; padding: 8px 6px; border-radius: 10px; } .lb-row.you { background: var(--brand-soft); }
.lb-rank { font-weight: 800; color: var(--muted); font-size: 13px; text-align: center; } .lb-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14.5px; } .lb-n small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.lb-v { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }

/* question by model grid */
.hm { display: grid; gap: 6px; } .hm-r { display: grid; grid-template-columns: minmax(150px, 2.6fr) repeat(var(--cols), minmax(52px, 1fr)); gap: 6px; align-items: center; } .hm-h { position: sticky; top: 0; }
.hm-h span { text-align: center; } .hm-q { font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .hm-q .tag { font-style: normal; font-size: 12px; font-weight: 800; background: var(--brand-soft); color: var(--brand-ink); padding: 1px 6px; border-radius: 6px; margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; }
.hm-c { display: grid; place-items: center; height: 34px; border-radius: 9px; font-size: 12.5px; font-weight: 750; font-variant-numeric: tabular-nums; } .hm-c.hi { background: #0fbf8a; color: #fff; } .hm-c.mid { background: #8fe0c2; color: #05382a; } .hm-c.lo { background: #ffe2a3; color: #5c3a00; } .hm-c.zero { background: #ffc9ce; color: #7d1a22; } .hm-c.none { background: var(--soft); color: var(--muted); }
:root[data-theme=dark] .hm-c.hi { background: #0f9c73; } :root[data-theme=dark] .hm-c.mid { background: #1d6b57; color: #d5fbee; } :root[data-theme=dark] .hm-c.lo { background: #6b5316; color: #ffe8b0; } :root[data-theme=dark] .hm-c.zero { background: #6a2530; color: #ffd0d5; }
@media (max-width: 640px) { .hm-r { grid-template-columns: minmax(110px, 2fr) repeat(var(--cols), minmax(42px, 1fr)); } }

/* timeline */
.tl { display: grid; gap: 0; position: relative; } .tl::before { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-i { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 8px 0; position: relative; } .tl-d { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; z-index: 1; border: 3px solid var(--surface); } .tl-d svg { width: 15px; height: 15px; }
.tl-t { font-weight: 650; font-size: 14.5px; } .tl-s { font-size: 13px; color: var(--muted); } .tl-w { font-size: 12px; color: var(--muted); white-space: nowrap; }

.insight-list { display: grid; gap: 10px; } .ins { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); } .ins b { font-size: 14.5px; } .ins p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.sevbar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; } .sevbar i { display: block; height: 100%; }
.pill-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.model-note { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat-strip > div { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); } .stat-strip b { display: block; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .stat-strip span { font-size: 12.5px; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .filters input[type=search], .filters input[type=text] { max-width: 260px; padding: 8px 12px; }
th.sortable { cursor: pointer; user-select: none; } th.sortable:hover { color: var(--ink); } th[aria-sort=ascending]::after { content: ' ↑'; } th[aria-sort=descending]::after { content: ' ↓'; }
table.bm td.lead-cell { background: var(--good-soft); } table.bm tr.you-row td { background: var(--brand-soft); } table.bm tr.you-row td.lead-cell { background: var(--good-soft); }

/* v22 polish for older components so every view matches the new look */
.card { border-radius: 16px; }
.card.kpi { position: relative; overflow: hidden; padding: 18px 20px; } .card.kpi::before { content: none; }
.card.kpi .label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; } .card.kpi .value { font-size: 32px; }
.bar { height: 10px; } .bar > i { background: linear-gradient(90deg, var(--c1), color-mix(in srgb, var(--c1) 70%, var(--c2))); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06); }
.bar > i[style*="var(--good)"], .bar > i[style*="#0a8f64"] { background: linear-gradient(90deg, var(--good), #3fd3a0); }
table tbody tr { transition: background .12s; } table tbody tr:hover { background: var(--hover); }
th { font-size: 12px; letter-spacing: .06em; }
.tabs { gap: 2px; }
details.item { border-radius: 14px; } .page-head { margin-bottom: 20px; }
.model-note svg { width: 16px; height: 16px; flex: none; color: var(--brand); } .model-note span { line-height: 1.45; }
.model-note { background: var(--brand-soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; color: var(--ink-2); }

/* ---------- v23 soft grey boxes instead of black ones ---------- */
.shell pre, .shell .codebox { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
:root[data-theme=dark] .shell pre { background: var(--soft); border: 1px solid var(--line); }
.feature-hero { background: linear-gradient(135deg, var(--soft), var(--surface-2, var(--soft))); color: var(--ink); border: 1px solid var(--line); }
.feature-hero h3 { color: var(--ink); } .feature-hero p { color: var(--muted); }
.feature-hero > svg { color: #0f9d74; background: var(--surface); border: 1px solid var(--line); }
.paywall { background: linear-gradient(135deg, var(--soft), var(--surface-2, var(--soft))); color: var(--ink-2); border: 1px solid var(--line); }
.paywall h3 { color: var(--ink); } .paywall p { color: var(--muted); }
.paywall .btn.ghost { color: var(--ink-2); border-color: var(--line-2); } .paywall .btn.ghost:hover { background: var(--hover); }

/* Team workspace */
.tm-list { margin-top: 10px; display: flex; flex-direction: column; }
.tm-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.tm-row:first-child { border-top: 0; }
.tm-row select { width: 130px; }
.tm-sites { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tm-sites legend { padding: 0 6px; color: var(--muted); }

/* Phones and small tablets: the grouped sidebar becomes a compact menu above the page (must come after the v22 rules) */
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; max-height: none; overflow: visible; flex-direction: column; align-items: stretch; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .nav { display: none; flex-direction: column; flex-wrap: nowrap; overflow: auto; max-height: 60vh; order: 0; flex: none; margin-top: 8px; }
  .side.open .nav { display: flex; }
  .side-top { display: flex; align-items: center; justify-content: space-between; }
  .navtoggle { display: inline-flex; font: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
  .side .foot { display: none; }
  .main { min-width: 0; padding-left: 16px; padding-right: 16px; }
  .dbar { flex-wrap: wrap; }
}

.navtoggle { display: none; }
@media (max-width: 900px) { .navtoggle { display: inline-flex; } }

/* Suggested questions */
.qideas { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.qi { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.qi.is-on { background: var(--soft); }
.qi .badge { margin-right: 6px; }

/* Long text inside summary cards wraps instead of spilling out */
.kc { min-width: 0; }
.kc-val { min-width: 0; overflow-wrap: normal; }
.kc-val .t { display: block; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.kc-sub { overflow-wrap: anywhere; line-height: 1.35; }

/* v25: alerts list */
.alist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.alist li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.alist li:first-child { border-top: 0; }
.alist .grow { min-width: 0; flex: 1; overflow-wrap: normal; }
.alist .badge { flex: none; }
@media (max-width: 560px) { .alist li { flex-wrap: wrap; } .alist .btn { margin-left: auto; } }

/* v25: trademark symbol. Top right of the SmartmarketAI wordmark (only the real wordmark has the .ai span, so client-branded names never get it). */
.brand .wm .ai::after { content: "\2122"; display: inline-block; margin-left: 1px; font-size: .72em; font-weight: 700; letter-spacing: 0; line-height: 1; vertical-align: top; position: relative; top: .12em; color: var(--ink-2, #475569); -webkit-text-fill-color: currentColor; background: none; }
.footer .brand .wm .ai::after, .site-foot .brand .wm .ai::after, footer .brand .wm .ai::after, .final .brand .wm .ai::after, .pd-cover-top .brand .wm .ai::after { color: #fff; }
:root[data-theme=dark] .brand .wm .ai::after { color: var(--ink-2, #cbd5e1); }
/* the dolphin on its own: same mark with the symbol at its top right */
.logo-tm { position: relative; display: inline-flex; flex: none; padding-right: .95em; }
.logo-tm::after { content: "\2122"; position: absolute; top: -.1em; right: 0; font: 700 14px/1 var(--font, system-ui, sans-serif); color: var(--ink-2, #475569); }
.footer .logo-tm::after, .site-foot .logo-tm::after, .mcpa-hub .logo-tm::after { color: #fff; }

/* v25: swimming dolphin on the check-in-progress card. Same size as the header logo; only the dorsal fin moves. */
.swim { width: calc(34px * 474 / 522 + 9px); height: 34px; padding-right: 0; flex: none; animation: swim-bob 3.2s ease-in-out infinite; }
.swim .logo { position: absolute; left: 0; top: 0; height: 34px; }
.swim .logo:not(.fin) { clip-path: polygon(0 0, 30% 0, 30% 30%, 70% 30%, 70% 0, 100% 0, 100% 100%, 0 100%); }
.swim .fin { clip-path: inset(0 30% 66% 30%); transform-origin: 50% 31%; animation: swim-fin 1.9s ease-in-out infinite; }
@keyframes swim-fin { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(9deg); } 60% { transform: rotate(-4deg); } }
@keyframes swim-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .swim, .swim .fin { animation: none; } }

/* v25: admin console and help link */
.adot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--line-2, #cbd5e1); } .adot.ok { background: var(--good, #0fa573); } .adot.bad { background: var(--bad, #e5484d); } .adot.na { background: var(--line-2, #cbd5e1); }
.helplink { font-size: 13px; color: var(--muted); text-decoration: none; } .helplink:hover { color: var(--ink); text-decoration: underline; }
.alist .badge { min-width: 78px; justify-content: center; text-align: center; }

/* Admin area: filter rows and small helpers (same look as the dashboard) */
#ax-main .row.wrap > input, #ax-main .row.wrap > select { width: auto; min-width: 170px; flex: 0 1 260px; }
#ax-main h3 small { white-space: nowrap; }
#ax-main .alert.info b + ul { margin: 6px 0 6px 18px; }
.tabs .tab { display: inline-block; }

.mchip.static { text-decoration: none; cursor: pointer; opacity: 1; border-style: dashed; } .mchip.static:hover { border-color: var(--brand); }
.mpick { row-gap: 6px; }

/* v28: setup checklist and weekly actions */
.gd-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; } .gd-tick.on { background: var(--good); border-color: var(--good); } .gd-tick svg { width: 13px; height: 13px; }
.gd-week { list-style: none; margin: 0; padding: 0; display: grid; } .gd-week li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); } .gd-week li:first-child { border-top: 0; } .gd-week .grow { min-width: 0; flex: 1; overflow-wrap: normal; } .gd-week .badge { min-width: 78px; justify-content: center; }
.guide .bar { height: 8px; }

.cdlg { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--surface); color: var(--ink); max-width: 92vw; } .cdlg::backdrop { background: rgba(11, 27, 58, .45); }
.um-row .num { font-variant-numeric: tabular-nums; }
.demo-chip { display:inline-flex; align-items:center; padding:5px 11px; border-radius:999px; font-size:12px; font-weight:650; background:var(--amber-soft,#fff4dc); color:#8a5a00; border:1px solid #f1d38a; white-space:nowrap }

/* v29 chart kit */
.cc-card { padding: 16px 18px; } .cc-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 10px; } .cc-head h3 { font-size: 15.5px; } .cc-head p { margin-top: 2px; }
.cc-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .cc-tools .seg button { padding: 4px 10px; font-size: 12.5px; } .seg button[aria-pressed=true] { background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.cc-mini { width: 30px; height: 30px; padding: 0; } .cc-mini svg { width: 15px; height: 15px; } .cc-mini[aria-pressed=true] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.cc-sel { font: 500 12.5px var(--font); padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.cc-leg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .cc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: 500 12.5px var(--font); color: var(--ink-2); cursor: pointer; } .cc-chip i { width: 9px; height: 9px; border-radius: 3px; } .cc-chip.off { opacity: .45; text-decoration: line-through; }
.cc-svgw { position: relative; } .cc-svgw svg { width: 100%; height: auto; display: block; } .cc-svgw text { font: 13px var(--font); fill: var(--muted); } .cc-svgw .grid-line { stroke: var(--line); stroke-width: 1; }
.cc-tip { position: absolute; top: 4px; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px; white-space: pre; pointer-events: none; z-index: 5; box-shadow: var(--shadow-lg); }
.cc-table { max-height: 300px; overflow: auto; } .cc-table table { width: 100%; font-size: 13px; border-collapse: collapse; } .cc-table th, .cc-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; } .cc-table td.num { text-align: right; }
.cc-map { position: relative; } .cc-map svg { width: 100%; height: auto; display: block; max-height: 520px; } .mp-sphere { fill: var(--surface-2); stroke: var(--line); } .mp-land path { stroke: var(--surface); stroke-width: .5; transition: fill .3s; } .mp-c:hover { stroke: var(--ink); stroke-width: 1; cursor: pointer; } .mp-d circle { transition: r .2s; cursor: pointer; } .mp-tip { transform: translate(-50%, -100%); white-space: normal; text-align: left; } .mp-tip .muted { color: #b9c6e8; }
.cc-scale { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; } .cc-scale i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgb(229, 88, 79), rgb(245, 176, 32), rgb(15, 191, 138)); }
.ec-body { display: grid; gap: 14px; margin-top: 6px; } .ec-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); } .ec-row:last-child { border: 0; padding: 0; }
.ec-l { display: flex; flex-direction: column; gap: 2px; } .ec-l b { font-size: 14px; } .ec-l small { color: var(--muted); font-size: 12px; } .ec-l .bi { margin-bottom: 2px; }
.ec-bars { display: grid; gap: 4px; } .ec-b { display: grid; grid-template-columns: 110px 1fr 46px; gap: 8px; align-items: center; font-size: 12.5px; } .ec-b.you { font-weight: 650; } .ec-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); } .ec-t { height: 10px; background: var(--track); border-radius: 5px; overflow: hidden; } .ec-t i { display: block; height: 100%; border-radius: 5px; transition: width .6s; } .ec-v { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .ec-row { grid-template-columns: 1fr; gap: 8px; } .ec-b { grid-template-columns: 84px 1fr 40px; } }
.kpi2 { padding: 14px 16px; display: grid; gap: 2px; } .kpi2 b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .kpi2 b small { font-size: 14px; color: var(--muted); font-weight: 500; }
.hb { display: grid; grid-template-columns: 130px 1fr 36px; gap: 10px; align-items: center; font-size: 13.5px; margin-bottom: 6px; } .hb i { height: 8px; border-radius: 4px; background: var(--c1); display: block; } .hb b { text-align: right; }
.li-risk { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; } .sev { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--ink-2); flex: none; } .sev.high, .sev.critical { background: var(--bad-soft); color: var(--bad); } .sev.medium { background: var(--warn-soft); color: var(--warn); }
.badge.good { background: var(--good-soft); color: var(--good); } .badge.bad { background: var(--bad-soft); color: var(--bad); } .badge.flat { background: var(--soft); color: var(--ink-2); }
tr.you td { background: var(--brand-soft); }
/* v29 overview story */
.pulse .story { grid-column: 1 / -1; margin-top: 4px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.st-lab { font: 700 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: #9fe8cf; margin-bottom: 10px; }
.st-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-week a { display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; height: 100%; transition: background .15s, transform .15s; }
.st-week a:hover { background: rgba(255, 255, 255, .18); }
.st-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #5ff0bd; color: #08284a; font: 800 13px var(--font); display: grid; place-items: center; }
.st-t b { display: block; font-size: 14px; line-height: 1.3; } .st-t small { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.4; }
.st-alerts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.st-alerts a { color: inherit; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; } .st-alerts a:hover { text-decoration: underline; }
.st-alerts i { width: 8px; height: 8px; border-radius: 50%; background: #ffcf6b; } .st-alerts small { opacity: .7; }
@media (max-width: 860px) { .st-week { grid-template-columns: 1fr; } }
.cc-tools .cc-sel { width: auto; }
.ec-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.ec-row { grid-template-columns: 96px 1fr; gap: 10px; padding-bottom: 12px; } .ec-row:nth-last-child(2):nth-child(odd) { border: 0; padding: 0; }
.ec-b { grid-template-columns: 92px 1fr 42px; }
@media (max-width: 1100px) { .ec-body { grid-template-columns: 1fr; } }
/* v29 density: tighter type and spacing on every dashboard page */
.main { padding-top: 20px; }
.page-head { margin-bottom: 16px; } .page-head h2 { font-size: 24px; } .page-head p { font-size: 14px; margin-top: 2px; }
.card { padding: 18px; } h3 { font-size: 15.5px; } .card .muted.small, .card-head p { font-size: 13px; }
.grid { gap: 14px; } .kc { padding: 14px 16px; gap: 6px; } .kc-val { font-size: 28px; } .kc-sub { font-size: 12px; }
.pulse { padding: 18px 22px; } .pulse h3 { font-size: 20px; }
table.plain th, table.plain td { padding-top: 8px; padding-bottom: 8px; } table.plain { font-size: 13.5px; }
.kpi2 { padding: 14px 16px; }
/* v30 impact */
.imp-w { display: grid; gap: 12px; padding: 16px 18px; }
.imp-fx { display: flex; flex-wrap: wrap; gap: 6px; } .imp-fx .chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--soft, #f1f4fa); color: var(--ink-2); }
.imp-m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } @media (max-width: 760px) { .imp-m { grid-template-columns: 1fr; } }
.imp-n { font-size: 20px; letter-spacing: -.02em; margin: 3px 0 6px; font-variant-numeric: tabular-nums; } .imp-n s { color: var(--muted); text-decoration: none; font-weight: 500; } .imp-n b { font-weight: 700; }
.imp-d { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #eef2fb; color: var(--muted); vertical-align: middle; margin-left: 4px; } .imp-d i { font-style: normal; } .imp-d.up { background: #e6f8ef; color: #0b7a4b; } .imp-d.dn { background: #ffe9ec; color: #b4233a; } .imp-d b { font-size: 12px; }
.imp-bar { position: relative; height: 6px; border-radius: 99px; background: #eef2fb; overflow: hidden; } .imp-bar i { position: absolute; inset: 0 auto 0 0; background: #c9d4ea; border-radius: 99px; } .imp-bar em { position: absolute; inset: 0 auto 0 0; background: var(--brand); border-radius: 99px; mix-blend-mode: multiply; opacity: .85; }
/* v30 answer history */
.hs-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; padding: 12px 14px; } .hs-bar input { flex: 1 1 280px; border-radius: 999px; } .hs-bar select { width: auto; }
.hs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: start; } @media (max-width: 960px) { .hs-grid { grid-template-columns: 1fr; } }
.hs-list, .hs-feed { max-height: 640px; overflow: auto; margin: 8px -6px 0; padding: 0 6px; }
.hs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--hair, #e9eef7); padding: 11px 6px; cursor: pointer; font: inherit; color: inherit; border-radius: 0; } .hs-row:first-child { border-top: 0; } .hs-row:hover { background: var(--soft, #f6f8fd); } .hs-row.on { background: #eaf1ff; }
.hs-q { font-size: 13.5px; line-height: 1.35; } .hs-r { text-align: right; min-width: 52px; font-variant-numeric: tabular-nums; } .hs-r b { font-size: 15px; } .hs-r i { display: block; font-style: normal; font-size: 12px; } .hs-r i.up { color: #0b7a4b; } .hs-r i.dn { color: #b4233a; }
.hs-a { padding: 12px 4px; border-top: 1px solid var(--hair, #e9eef7); } .hs-a:first-child { border-top: 0; } .hs-a p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); } mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 2px; }
.hs-m { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12px; color: var(--muted); } .hs-m b { color: var(--ink); font-size: 13px; } .hs-m em { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #eef2fb; } .hs-m em.y { background: #e6f8ef; color: #0b7a4b; } .hs-m em.n { background: #fff4dc; color: #8a5a00; }
.hs-pr { font-size: 12px; color: var(--muted); margin-top: 3px; font-style: italic; }
.wh-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--hair, #e9eef7); } .wh-row:first-child { border-top: 0; } .wh-main { min-width: 0; flex: 1 1 320px; } .wh-url { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.wh-add { display: grid; gap: 10px; margin-top: 12px; } .wh-add code, .wh-main code { font-size: 12px; background: var(--soft, #f1f4fa); padding: 1px 6px; border-radius: 6px; }
.ptier { padding: 8px 14px 52px; } .ptier-bar { position: relative; height: 8px; border-radius: 99px; background: #eef2fb; margin-top: 18px; } .ptier-bar > i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--brand); transition: width .5s; }
.ptier-bar span { position: absolute; top: -5px; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #c9d4ea; text-align: center; } .ptier-bar span.on { border-color: var(--brand); background: var(--brand); }
.ptier-bar span b { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-size: 13px; white-space: nowrap; } .ptier-bar span em { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); font-style: normal; white-space: nowrap; }

/* v31: collapsible dashboard menu (wide screens only) */
.sidecol { display: none; }
.sideopen { display: none; }
@media (min-width: 901px) {
  .side-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
  .sidecol { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; flex: none; }
  .sidecol svg { width: 16px; height: 16px; transform: rotate(90deg); fill: none; stroke: currentColor; stroke-width: 2; }
  .sidecol:hover { background: var(--hover); color: var(--ink); }
  .shell.collapsed { grid-template-columns: 76px minmax(0, 1fr); }
  .shell.collapsed .main { max-width: none; }
  .shell.collapsed .sideopen { display: none !important; }
}

/* v31: calm dashboard polish */
.sovbar { display: flex; gap: 2px; height: 6px; border-radius: 99px; overflow: hidden; margin: 2px 0 0; }
.sovbar i { display: block; min-width: 3px; }
.shell th { font-size: 12px; letter-spacing: .05em; font-weight: 600; padding: 7px 12px; }
.shell td { padding: 9px 12px; }
.shell table.plain th, .shell table.plain td, .shell .tbl-mini th, .shell .tbl-mini td { padding-top: 6px; padding-bottom: 6px; }
.shell table tbody tr:hover { background: var(--hover); }
/* row actions: quiet until the row is hovered or focused, always visible on touch */
.row-act { opacity: .0; transition: opacity .12s; }
tr:hover .row-act, tr:focus-within .row-act, .row-act:focus-visible, li:hover > .row-act, li:focus-within > .row-act, .card:focus-within .row-act { opacity: 1; }
@media (hover: none) { .row-act { opacity: 1; } }
.iconbtn[aria-pressed=true] { background: var(--brand-soft); color: var(--brand-ink); }
.tm-row:hover .row-act, .tm-row:focus-within .row-act { opacity: 1; }

/* v31: why you lost */
.lost-c { display: grid; gap: 10px; padding: 16px 18px; }
.lost-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .lost-g { grid-template-columns: 1fr; } }
.lost-g > div { display: grid; gap: 3px; align-content: start; }
.lost-r { margin: 2px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.lost-d { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.lost-d textarea { width: 100%; font-size: 12.5px; }
.imp-q { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.imp-qr { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.dtools { display: inline-flex; gap: 8px; align-items: center; margin-left: auto; } .dbar .mpick { margin-left: 0; flex: 1 1 100%; }

/* v31: reports, everything in one place */
.cmb-up { color: var(--good); } .cmb-dn { color: var(--bad); }
.cmb-sum { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.src-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.src-c { display: grid; gap: 6px; align-content: start; padding: 12px 14px; }
.src-c .st { font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 99px; justify-self: start; }
.st.connected { background: var(--good-soft); color: var(--good); } .st.setup { background: var(--warn-soft, #fff4d6); color: #8a5a00; } .st.enterprise { background: var(--brand-soft); color: var(--brand-ink); } .st.soon { background: var(--soft); color: var(--muted); }

/* v36: Mystery shopper steps, rival bars */
.ms-steps { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 10px; }
.ms-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.ms-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #eef1f8; color: #5b6785; }
.ms-yes .ms-dot { background: #d9f9d4; color: #1c7a12; } .ms-no .ms-dot { background: #fde0e0; color: #b42318; }
.ms-bars { display: grid; gap: 6px; margin-top: 8px; } .ms-bars > div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 8px; }
.ms-bars i { display: block; height: 10px; border-radius: 99px; background: #f08a8a; } .ms-bars i.you { background: #6bd35f; }

/* ---------- v35j: Basic / Full dashboard views, category tints, sub menus ---------- */
.side { --g-ai: #7c5cff; --g-rank: #1f6bff; --g-audit: #0ea5a4; --g-act: #16a34a; --g-creator: #e0457b; --g-rep: #64748b; --g-ent: #4f46e5; --g-more: #94a3b8; }
.ng[data-g=ai], .bg[data-g=b-found] { --g: var(--g-ai); } .ng[data-g=rank] { --g: var(--g-rank); } .ng[data-g=audit], .bg[data-g=b-fix] { --g: var(--g-audit); }
.ng[data-g=act], .bg[data-g=b-grow] { --g: var(--g-act); } .ng[data-g=creator] { --g: var(--g-creator); } .ng[data-g=rep], .bg[data-g=b-rep] { --g: var(--g-rep); } .ng[data-g=ent] { --g: var(--g-ent); } .bg[data-g=b-more] { --g: var(--g-more); }
.nav .ng, .nav .bg { --g: var(--brand); --tint: color-mix(in srgb, var(--g) 7%, var(--surface)); --tint2: color-mix(in srgb, var(--g) 13%, var(--surface)); }
/* switch */
.vsw { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 2px 4px 12px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 7%, var(--soft)); border: 1px solid var(--line); box-shadow: inset 0 1px 2px rgba(15,35,80,.06); }
.vsw button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; padding: 7px 8px; border-radius: 999px; font: 650 13px var(--font); color: var(--muted); cursor: pointer; transition: color .25s; }
.vsw button svg { width: 15px; height: 15px; } .vsw button[aria-pressed=true] { color: var(--brand-ink); }
.vthumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(15,35,80,.12), 0 4px 10px rgba(31,107,255,.12); transition: transform .32s cubic-bezier(.3,.8,.3,1); }
.vsw[data-m=full] .vthumb { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) { .vthumb { transition: none; } }
/* full view: tinted groups */
.ng .gi { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; background: color-mix(in srgb, var(--g) 11%, var(--surface)); color: color-mix(in srgb, var(--g) 80%, var(--ink)); } .ng .gi svg { width: 15px; height: 15px; opacity: 1; }
.ng.open { background: linear-gradient(180deg, var(--tint), transparent 70%); border-radius: 12px; } .ng.open > .ngh { color: var(--ink); }
.ng > .ngi > div { border-left-color: color-mix(in srgb, var(--g) 28%, var(--line)); }
.ngi a { transition: background .15s, color .15s; } .ngi a svg { color: color-mix(in srgb, var(--g) 70%, var(--muted)); }
.ngi a:hover { background: var(--tint2); }
.ngi a[aria-current=page] { background: var(--tint2); color: color-mix(in srgb, var(--g) 70%, var(--ink)); font-weight: 650; box-shadow: inset 2px 0 0 var(--g); } .ngi a[aria-current=page] svg { color: var(--g); }
.nav h6.sub { margin: 10px 4px 2px; padding: 0 6px; display: flex; align-items: center; gap: 6px; font: 700 12px var(--font); letter-spacing: .09em; text-transform: uppercase; color: color-mix(in srgb, var(--g) 55%, var(--muted)); }
.nav h6.sub::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--g) 18%, var(--line)); }
.ngi > div > h6.sub:first-child { margin-top: 4px; }
/* basic view: always-open coloured sections */
.nav-basic { display: flex; flex-direction: column; gap: 8px; }
.nav-basic > a, .bg a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font: 600 14.5px var(--font); }
.nav-basic > a svg, .bg a svg { width: 18px; height: 18px; flex: none; }
.bg { padding: 8px 8px 6px; border-radius: 16px; background: var(--tint); border: 1px solid color-mix(in srgb, var(--g) 14%, var(--line)); }
.bg h6 { display: flex; align-items: center; gap: 8px; margin: 2px 6px 6px; font: 700 12px var(--font); letter-spacing: .09em; text-transform: uppercase; color: color-mix(in srgb, var(--g) 65%, var(--ink-2)); }
.bg h6 i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g) 18%, transparent); }
.bg a svg { color: var(--g); } .bg a:hover { background: var(--tint2); color: var(--ink); }
.bg a[aria-current=page], .nav-basic > a[aria-current=page] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(15,35,80,.08), inset 3px 0 0 var(--g, var(--brand)); }
.nav-basic > a[aria-current=page] svg { color: var(--brand); }
.basic-hint { margin: 4px 8px 0; font-size: 12.5px; color: var(--muted); } .linklike { border: 0; background: none; padding: 0; font: inherit; font-weight: 650; color: var(--brand-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .vsw { margin-bottom: 8px; } .nav-basic { gap: 6px; } }

/* ===== v35k: sidebar bottom links ===== */
.side .foot .sl { display: grid; gap: 6px; margin-top: 10px; }
.side .foot .sl a, .side .foot .sl .sl-out { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink-2); font: 500 12.5px var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.side .foot .sl a svg, .side .foot .sl .sl-out svg { width: 15px; height: 15px; flex: none; color: var(--brand); opacity: .9; }
.side .foot .sl a:hover { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); text-decoration: none; }
.side .foot .sl .helplink { font-weight: 600; color: var(--ink); }
.side .foot .sl2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .side .foot .sl2 a { padding: 8px; justify-content: center; gap: 6px; white-space: nowrap; }
.side .foot .sl .sl-out { width: 100%; background: transparent; border-color: transparent; color: var(--muted); justify-content: center; }
.side .foot .sl .sl-out svg { color: var(--muted); }
.side .foot .sl .sl-out:hover { background: rgba(220, 60, 60, .08); color: #c0392b; } .side .foot .sl .sl-out:hover svg { color: #c0392b; }

/* v35t: collapsed menu is an icon rail. Groups open a small panel beside the rail. */
@media (min-width: 901px) {
  .shell.collapsed .side { padding: 12px 8px; align-items: center; }
  .shell.collapsed .side-top { flex-direction: column; gap: 10px; justify-content: center; }
  .shell.collapsed .side .brand { padding: 2px 0 0; } .shell.collapsed .side .brand .wm { display: none; }
  .shell.collapsed .sidecol svg { transform: rotate(-90deg); }
  .shell.collapsed .vsw, .shell.collapsed .basic-hint, .shell.collapsed .nav h6, .shell.collapsed .side .foot b, .shell.collapsed .side .foot .tiny, .shell.collapsed .sl span, .shell.collapsed .nav > a > span, .shell.collapsed .nav-basic a > span:not(.count) { display: none; }
  .shell.collapsed .nav, .shell.collapsed .nav-basic { width: 100%; align-items: center; }
  .shell.collapsed .nav > a, .shell.collapsed .nav-basic a, .shell.collapsed .ngh { justify-content: center; padding: 10px; gap: 0; position: relative; width: 44px; margin: 1px auto; }
  .shell.collapsed .nav a svg, .shell.collapsed .ngh svg { width: 20px; height: 20px; opacity: .9; }
  .shell.collapsed .ngh { font-size: 0; } .shell.collapsed .ngh .chev { display: none; }
  .shell.collapsed .nav .count { position: absolute; top: 2px; right: 0; padding: 0 5px; font-size: 12px; }
  .shell.collapsed .ngi { display: none; grid-template-rows: none; }
  .shell.collapsed .ng.fly > .ngi { display: block; position: fixed; left: 82px; top: var(--fy, 60px); z-index: 90; min-width: 250px; max-height: calc(100vh - 20px); overflow: auto; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(11, 27, 58, .45); }
  .shell.collapsed .ng.fly > .ngi::before { content: attr(data-label); display: block; padding: 6px 10px 8px; font: 700 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .shell.collapsed .ng.fly > .ngi > div { margin: 0; padding: 0; border: 0; overflow: visible; }
  .shell.collapsed .ng.fly > .ngi a { width: auto; justify-content: flex-start; gap: 11px; margin: 1px 0; padding: 7px 10px; }
  .shell.collapsed .ng.fly > .ngi a span { display: inline; }
  .shell.collapsed .ng.fly > .ngh, .shell.collapsed .ng.has-active > .ngh { background: var(--brand-soft); color: var(--brand-ink); }
  .shell.collapsed .side .foot { padding: 10px 0 0; border-top: 1px solid var(--line); width: 100%; }
  .shell.collapsed .sl, .shell.collapsed .sl2 { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .shell.collapsed .sl a, .shell.collapsed .sl-out { width: 40px; height: 36px; display: grid; place-items: center; padding: 0; } .shell.collapsed .sl svg { width: 19px; height: 19px; }
}

/* v35t: the SmartmarketAI badge, a blue square with the dolphin and a small TM */
.btile { position: relative; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #5b94ff, #1f4fd8); box-shadow: 0 6px 14px -6px rgba(31, 79, 216, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btile .logo { --la: #ffffff; --lb: #cfe0ff; height: 62%; }
.btile sup { position: absolute; top: 2px; right: 3px; font: 700 6.5px/1 var(--font, system-ui, sans-serif); color: rgba(255, 255, 255, .85); letter-spacing: 0; }
.btile.lg { width: 56px; height: 56px; border-radius: 16px; } .btile.lg sup { font-size: 12px; top: 4px; right: 5px; }

.vis > .btile.vt { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 7px; z-index: 5; opacity: .92; } .vis > .btile.vt sup { font-size: 4.5px; top: 1px; right: 2px; }
.mcpa-hub .core .btile { margin-bottom: 2px; }
.btile .logo { height: 20px; } .btile.lg .logo { height: 34px; } .vis > .btile.vt .logo { height: 13px; }

/* v35t: simple badges swap the logo for a quiet dot of the same size, so the layout never shifts */

.side .brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 19px; padding: 4px 4px 12px; }
.side .brand .btile { width: 34px; height: 34px; border-radius: 10px; } .side .brand .btile .logo { height: 22px; } .side .brand .btile sup { display: none; }
.shell.collapsed .side .brand .btile sup { display: block; }

/* v35t: Connect your website once. Fixed grid and fixed areas, so choosing a platform never moves the button. */
.connect .pplat { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 4px 0 16px; }
.pchip { display: inline-flex; align-items: center; justify-content: flex-start; gap: 9px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: 600 14px/1 inherit; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .15s, background .15s; }
.pchip:hover { border-color: var(--brand); } .pchip[aria-pressed=true] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); box-shadow: inset 0 0 0 1px var(--brand); }
.pchip .bi { margin: 0; width: 18px; height: 18px; } .pchip .bi.wide { width: 32px; }
.connect .pbody { min-height: 15.5em; } .connect .pbody h4 { margin: 0 0 10px; font-size: 15px; }
.connect .pform { margin-top: 12px; align-items: end; } .connect .pact { grid-column: 1 / -1; min-height: 44px; display: flex; align-items: center; gap: 12px; }
.connect .pact .btn { min-width: 190px; }

/* ---------- v35t: plain view. White and grey, thin lines, one accent colour. Works in light and dark. ---------- */
html[data-style=plain] { --bg: #fafafa; --surface: #ffffff; --surface-2: #f7f7f7; --ink: #1c1c1e; --ink-2: #48484a; --muted: #77777c; --line: #e9e9ec; --line-2: #d9d9de; --brand-soft: #f0f0f3; --brand-ink: #1c1c1e; --soft: #f4f4f6; --hover: #f5f5f7; --shadow: none; --radius: 10px; --good-soft: #eef7f2; --warn-soft: #faf5e8; --bad-soft: #fbeeee; --mint-soft: #eef7f2; }
html[data-style=plain][data-theme=dark] { --bg: #111113; --surface: #19191c; --surface-2: #1f1f23; --ink: #ececee; --ink-2: #c4c4c8; --muted: #8e8e93; --line: #2a2a2e; --line-2: #38383d; --brand-soft: #26262b; --brand-ink: #ececee; --soft: #202024; --hover: #202024; --good-soft: #17251f; --warn-soft: #272115; --bad-soft: #2a1a1c; --mint-soft: #17251f; }
html[data-style=plain] .card, html[data-style=plain] .paywall { box-shadow: none; border-color: var(--line); }
html[data-style=plain] .card.kpi::before { display: none; }
html[data-style=plain] .pulse, html[data-style=plain][data-theme=dark] .pulse { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
html[data-style=plain] .pulse h3 { color: var(--ink); } html[data-style=plain] .pulse p { color: var(--muted); }
html[data-style=plain] .pulse .pc { background: var(--soft); color: var(--ink-2); border-color: var(--line); } html[data-style=plain] .pulse .pc::before { background: var(--muted) !important; }
html[data-style=plain] .nav .ng, html[data-style=plain] .nav .bg { --g: var(--ink-2); --tint: transparent; --tint2: var(--hover); }
html[data-style=plain] .ng.open { background: none; } html[data-style=plain] .bg { background: none; border-color: var(--line); }
html[data-style=plain] .ngi a[aria-current=page], html[data-style=plain] .nav > a[aria-current=page] { background: var(--soft); color: var(--ink); box-shadow: none; font-weight: 650; } html[data-style=plain] .ngi a[aria-current=page] svg { color: var(--ink); }
html[data-style=plain] .ng.has-active > .ngh { color: var(--ink); } html[data-style=plain] .ngh svg, html[data-style=plain] .nav svg { color: var(--muted); opacity: 1; }
html[data-style=plain] .btn.primary { background: var(--ink); border-color: var(--ink); color: var(--surface); box-shadow: none; } html[data-style=plain] .btn.primary:hover { background: var(--ink-2); border-color: var(--ink-2); transform: none; }
html[data-style=plain][data-theme=dark] .btn.primary { background: #ececee; border-color: #ececee; color: #111; }
html[data-style=plain] .badge.blue, html[data-style=plain] .badge.brand, html[data-style=plain] .demo-chip { background: var(--soft); color: var(--ink-2); border-color: var(--line); }
html[data-style=plain] .tabs .tab[aria-selected=true] { color: var(--ink); border-color: var(--ink); }
html[data-style=plain] .mchip[aria-pressed=true], html[data-style=plain] .seg button[aria-pressed=true], html[data-style=plain] .pchip[aria-pressed=true] { background: var(--soft); border-color: var(--ink); color: var(--ink); box-shadow: none; }
html[data-style=plain] .iconbtn[aria-pressed=true] { background: var(--soft); border-color: var(--ink); }
html[data-style=plain] a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; } html[data-style=plain] .nav a, html[data-style=plain] .btn, html[data-style=plain] a.btn { text-decoration: none; }
html[data-style=plain] .btile { background: var(--ink); box-shadow: none; } html[data-style=plain][data-theme=dark] .btile { background: #2e2e33; }
html[data-style=plain] .pulse .eyebrow2 { color: var(--muted) !important; } html[data-style=plain] .st-lab { color: var(--muted); }
html[data-style=plain] .st-n { background: var(--soft) !important; color: var(--ink) !important; box-shadow: none !important; }
html[data-style=plain] .vsw { background: var(--soft); border-color: var(--line); box-shadow: none; } html[data-style=plain] .vsw .vthumb { background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); } html[data-style=plain] .vsw button[aria-pressed=true] { color: var(--ink); }
html[data-style=plain] .ngh svg, html[data-style=plain] .ngi a svg { background: none !important; }
html[data-style=plain] .side .ng > .ngh > .ic, html[data-style=plain] .ngic { background: var(--soft) !important; color: var(--ink-2) !important; }
html[data-style=plain] .ico, html[data-style=plain] .ico[class] { background: var(--soft) !important; color: var(--ink-2) !important; }
/* v35t: stability. The page never changes width when a scrollbar appears, and the top bar keeps its height. */
html { scrollbar-gutter: stable; } .dbar { min-height: 52px; } .dtools .iconbtn { flex: none; width: 40px; height: 40px; }
/* v35t: nothing in the dashboard may be wider than its column (phones, narrow windows) */
.main, #vbody, #inner { min-width: 0; max-width: 100%; } .grid > *, .stack > *, .stack-lg > *, .g-side > * { min-width: 0; } .card { min-width: 0; }
.table-wrap { overflow-x: auto; max-width: 100%; } .card > table.plain, #inner > table.plain { display: block; overflow-x: auto; max-width: 100%; } pre, .codebox { max-width: 100%; overflow-x: auto; }
@media (max-width: 760px) { .grid.g2, .grid.g3, .grid.g4, .grid.g-side { grid-template-columns: minmax(0, 1fr); } }
.hm { overflow-x: auto; max-width: 100%; } .hm-r { min-width: calc(150px + var(--cols) * 58px); } .hm-r > .hm-q { min-width: 0; }

/* v35t: admin console. Folder-style tabs that join the panel below. */
.axtabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 0; padding: 0 6px; position: relative; z-index: 1; }
.axtab { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--soft); color: var(--muted); font: 600 14px var(--font); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; margin-bottom: -1px; }
.axtab:hover { background: var(--hover); color: var(--ink); }
.axtab[aria-selected=true] { background: var(--surface); color: var(--ink); height: 46px; margin-top: -4px; box-shadow: inset 0 3px 0 var(--brand); border-color: var(--line-2); }
.axpanel { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px 22px 26px; min-height: 360px; }
.axpanel > .card { box-shadow: none; }
html[data-style=plain] .axtab[aria-selected=true] { box-shadow: inset 0 3px 0 var(--ink); }
@media (max-width: 700px) { .axtab { padding: 0 12px; height: 38px; } .axtab[aria-selected=true] { height: 42px; } .axpanel { padding: 14px; } }
.axtabs { gap: 3px; padding: 0 4px; } .axtab { padding: 0 13px; font-size: 13.5px; }
.axtab { padding: 0 11px; font-size: 13px; }
.axtabs { gap: 2px; padding: 0 2px; } .axtab { padding: 0 9px; letter-spacing: -.005em; }

/* v35t: sidebar brand stays put when the menu scrolls, and the dolphin sits exactly in the middle of its tile */
.side-top { position: sticky; top: -16px; z-index: 5; background: var(--surface); padding-top: 16px; margin-top: -16px; }
.btile { display: block; overflow: visible; }
.btile > .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -48%); margin: 0; display: block; }
.side .brand .btile sup, .shell.collapsed .side .brand .btile sup { display: block; top: -6px; right: -10px; color: var(--muted); font-size: 7px; }
html[data-style=plain] .side .brand .btile sup { color: var(--muted); }
.side .brand .btile sup { display: none; } .shell.collapsed .side .brand .btile sup { display: block; }

/* ===== Workspace view (Settings > style button): compact, flat, one-level menu. Layout only; chart colours are never touched. ===== */
html[data-style=plain] .dbar { padding: 6px 14px; gap: 8px; min-height: 0; border-bottom: 1px solid var(--line); box-shadow: none; background: var(--surface); flex-wrap: nowrap; }
html[data-style=plain] .dbar .mpick { flex: 0 1 auto; margin-left: auto; }
html[data-style=plain] .dbar .brandsel, html[data-style=plain] .dbar select { height: 30px; font-size: 13px; }
html[data-style=plain] .dbar .iconbtn { width: 30px; height: 30px; }
html[data-style=plain] .dbar .mchip { padding: 3px 9px; font-size: 12px; }
html[data-style=plain] .side { width: auto; padding: 12px 10px; }
html[data-style=plain] .nav { display: flex; flex-direction: column; gap: 1px; }
html[data-style=plain] .nav .wl { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
html[data-style=plain] .nav .wl svg { width: 16px; height: 16px; flex: none; }
html[data-style=plain] .nav .wl:hover { background: var(--hover); }
html[data-style=plain] .nav .wl[aria-current=page] { background: var(--soft); color: var(--ink); font-weight: 650; }
html[data-style=plain] .main { padding-top: 14px; max-width: 1360px; }
html[data-style=plain] .page-head { margin-bottom: 10px; } html[data-style=plain] .page-head h2 { font-size: 19px; letter-spacing: -.01em; } html[data-style=plain] .page-head p { font-size: 13px; }
html[data-style=plain] .card { padding: 14px 16px; border-radius: 8px; box-shadow: none; } html[data-style=plain] .card h3 { font-size: 13.5px; } html[data-style=plain] .card h4 { font-size: 12.5px; }
html[data-style=plain] .grid { gap: 12px; }
.wtabs { display: none; }
html[data-style=plain] .wtabs { display: flex; align-items: center; gap: 2px; margin: -4px 0 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
html[data-style=plain] .wtabs .wt-g { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 10px; white-space: nowrap; }
html[data-style=plain] .wtabs a { padding: 8px 11px; font-size: 13px; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
html[data-style=plain] .wtabs a:hover { color: var(--ink); }
html[data-style=plain] .wtabs a[aria-current=page] { color: var(--ink); border-color: var(--ink); font-weight: 650; }
html[data-style=plain] .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
html[data-style=plain] .kpis .kc { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 10px 14px; background: none; }
html[data-style=plain] .kpis .kc:last-child { border-right: 0; }
html[data-style=plain] .kc .kc-v, html[data-style=plain] .kc .v { font-size: 22px; }
html[data-style=plain] .wchg { width: 100%; border-collapse: collapse; font-size: 13px; }
html[data-style=plain] .wchg th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--line); }
html[data-style=plain] .wchg td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
html[data-style=plain] .wchg tr:last-child td { border-bottom: 0; }
html[data-style=plain] .wchg .up { color: var(--good, #1a7f4b); } html[data-style=plain] .wchg .dn { color: var(--bad, #c0392b); }
.auth-card form .btn.primary { width: 100%; justify-content: center; }
.auth-card > .small.row { flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; }
html[data-style=plain] .grid.g4:has(> .kc) { gap: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; margin-top: 12px !important; }
html[data-style=plain] .grid.g4 > .kc { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 10px 14px; gap: 3px; background: none; }
html[data-style=plain] .kc .ico { display: none; } html[data-style=plain] .kc-top .lab { font-size: 12px; }
html[data-style=plain] .kc-val { font-size: 22px; } html[data-style=plain] .kc-spark { top: 10px; right: 10px; transform: scale(.7); transform-origin: top right; }
html[data-style=plain] .wchange { margin-bottom: 4px; }
html[data-style=plain] .dbar .brandsel, html[data-style=plain] .dbar select { height: auto; min-height: 30px; padding-top: 4px; padding-bottom: 4px; line-height: 1.3; }
html[data-style=plain] .dbar { flex-wrap: wrap; row-gap: 4px; }
html[data-style=plain] .dbar .mpick { flex: 1 1 auto; justify-content: flex-end; }
html[data-style=plain] .dbar .mchip { padding: 2px 8px; font-size: 12px; line-height: 1.5; }
.auth-card form .btn.primary { margin-top: 6px; }

/* ===== Workspace view, colour + depth layer. Interface colours only; chart variables --c1..--c5 are never set here. ===== */
html[data-style=plain] { --wsA: #e8eeff; --wsB: #f3effd; --wsC: #eaf6f3; --depth: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(20,30,70,.06), 0 6px 16px -8px rgba(30,50,120,.18); --depth-hi: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 4px rgba(20,30,70,.08), 0 12px 24px -10px rgba(30,50,120,.26); }
html[data-style=plain][data-theme=dark] { --wsA: #121a33; --wsB: #1a1530; --wsC: #0f1f26; --depth: 0 1px 0 rgba(255,255,255,.05) inset, 0 1px 2px rgba(0,0,0,.4), 0 8px 18px -8px rgba(0,0,0,.55); --depth-hi: 0 1px 0 rgba(255,255,255,.07) inset, 0 2px 4px rgba(0,0,0,.45), 0 14px 26px -10px rgba(0,0,0,.6); }
html[data-style=plain] body, html[data-style=plain] .main { background: transparent; }
html[data-style=plain] .shell { background: radial-gradient(1100px 520px at 12% -8%, var(--wsA), transparent 70%), radial-gradient(900px 480px at 100% 0%, var(--wsB), transparent 70%), radial-gradient(800px 500px at 60% 100%, var(--wsC), transparent 70%), var(--bg); }
html[data-style=plain] .dbar { background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: 0 1px 0 var(--line), 0 6px 14px -10px rgba(30,50,120,.25); }
html[data-style=plain] .side { background: color-mix(in srgb, var(--surface) 86%, transparent); border-right-color: var(--line); }
html[data-style=plain] .card, html[data-style=plain] .paywall { background: var(--surface); box-shadow: var(--depth); border-color: color-mix(in srgb, var(--line) 80%, var(--brand) 20%); transition: box-shadow .18s, transform .18s; }
html[data-style=plain] a.card:hover, html[data-style=plain] .kc:hover { box-shadow: var(--depth-hi); }
html[data-style=plain] .card.kpi::before { content: none; }
html[data-style=plain] .grid.g4:has(> .kc) { box-shadow: var(--depth); border-color: color-mix(in srgb, var(--line) 80%, var(--brand) 20%); }
html[data-style=plain] .grid.g4 > .kc { box-shadow: none; transform: none; }
html[data-style=plain] .grid.g4 > .kc:hover { background: var(--hover); box-shadow: none; transform: none; }
html[data-style=plain] .kc .ico { display: grid; width: 22px; height: 22px; border-radius: 6px; place-items: center; } html[data-style=plain] .kc .ico svg { width: 13px; height: 13px; }
html[data-style=plain] .kc .ico { background: var(--brand-soft) !important; color: var(--brand) !important; }
html[data-style=plain] .nav .wl[aria-current=page] { background: linear-gradient(180deg, var(--surface), var(--brand-soft)); color: var(--brand); box-shadow: var(--depth); }
html[data-style=plain] .nav .wl[aria-current=page] svg { color: var(--brand); }
html[data-style=plain] .wtabs { row-gap: 2px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); border-radius: 10px; padding: 3px 6px; box-shadow: var(--depth); margin-top: 0; }
html[data-style=plain] .wtabs a { border-bottom: 0; margin: 0; border-radius: 7px; padding: 6px 11px; }
html[data-style=plain] .wtabs a[aria-current=page] { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 4px 10px -4px var(--brand); }
html[data-style=plain] .btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff), var(--brand)); border-color: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 6px 14px -6px var(--brand); }
html[data-style=plain] .btn.primary:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 80%, #fff), var(--brand)); }
html[data-style=plain][data-theme=dark] .btn.primary { color: #fff; border-color: var(--brand); }
html[data-style=plain] .btn:not(.primary) { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(20,30,70,.08); }
html[data-style=plain][data-theme=dark] .btn:not(.primary) { box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 1px 2px rgba(0,0,0,.4); }
html[data-style=plain] .btile { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 85%, #fff), var(--brand)); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 6px 12px -5px var(--brand); }
html[data-style=plain] .wchg tbody tr:hover td { background: var(--hover); }
html[data-style=plain] .tabs .tab[aria-selected=true], html[data-style=plain] .axtab[aria-selected=true] { color: var(--brand); border-color: var(--brand); }
html[data-style=plain] .mchip[aria-pressed=true], html[data-style=plain] .seg button[aria-pressed=true], html[data-style=plain] .pchip[aria-pressed=true], html[data-style=plain] .iconbtn[aria-pressed=true] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: var(--depth); }

/* collapsed rail: hover flyout listing the pages inside each area */
html[data-style=plain] .wsi { position: relative; display: block; }
html[data-style=plain] .wsfly { display: none; }
html[data-style=plain] .shell.collapsed .wsi.has-sub.fly > .wsfly { display: block; position: fixed; left: 70px; top: var(--fy, 60px); z-index: 95; min-width: 220px; padding: 8px 8px 8px 14px; background: transparent; }
html[data-style=plain] .shell.collapsed .wsi.has-sub:hover > .wsfly::before, html[data-style=plain] .shell.collapsed .wsi.has-sub:focus-within > .wsfly::before { content: ""; position: absolute; left: 14px; right: 0; top: 0; bottom: 0; z-index: -1; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--depth-hi); }
html[data-style=plain] .wsfly b { display: block; padding: 4px 10px 6px; font: 700 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[data-style=plain] .wsfly .wf { display: block; padding: 7px 10px; margin: 1px 0; border-radius: 7px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
html[data-style=plain] .wsfly .wf:hover { background: var(--hover); color: var(--ink); }
html[data-style=plain] .wsfly .wf[aria-current=page] { background: var(--brand-soft); color: var(--brand); font-weight: 650; }

/* ===== Workspace view: match the home page (blue and green faded-edge panels, raised tabs and menu) ===== */
html[data-style=plain] { --wsA: #dbe8ff; --wsB: #eef3ff; --wsC: #d8ffc5; --edgeB: #cfe0ff; --edgeG: #cdeebd; --wsnavy: #0b2a6b; --deepG: #0a3320; --g: #0fbf8a; }
html[data-style=plain][data-theme=dark] { --wsA: #14234a; --wsB: #121a33; --wsC: #10301f; --edgeB: #27406f; --edgeG: #1f4a35; --wsnavy: #dbe6ff; --deepG: #c9f3dc; }
html[data-style=plain] .shell { background: radial-gradient(900px 520px at 8% -6%, var(--wsA), transparent 70%), radial-gradient(800px 520px at 100% 108%, var(--wsC), transparent 70%), var(--bg); }
html[data-style=plain] .card, html[data-style=plain] .paywall { border: 1px solid var(--edgeB); background: linear-gradient(135deg, color-mix(in srgb, var(--wsA) 55%, var(--surface)) 0%, var(--surface) 26%, var(--surface) 74%, color-mix(in srgb, var(--wsB) 30%, var(--surface)) 100%); box-shadow: var(--depth), inset 0 0 38px -22px var(--edgeB); }
html[data-style=plain] .grid > .card:nth-child(even), html[data-style=plain] .grid > a.card:nth-child(even) { border-color: var(--edgeG); background: linear-gradient(135deg, color-mix(in srgb, var(--wsC) 38%, var(--surface)) 0%, var(--surface) 26%, var(--surface) 74%, color-mix(in srgb, var(--wsC) 18%, var(--surface)) 100%); box-shadow: var(--depth), inset 0 0 38px -22px var(--edgeG); }
html[data-style=plain] .card h3, html[data-style=plain] .page-head h2 { color: var(--wsnavy); }
html[data-style=plain] .grid.g4:has(> .kc) { background: linear-gradient(90deg, color-mix(in srgb, var(--wsA) 45%, var(--surface)), var(--surface) 40%, var(--surface) 60%, color-mix(in srgb, var(--wsC) 30%, var(--surface))); border-color: var(--edgeB); }
html[data-style=plain] .grid.g4 > .kc { background: none; }
/* menu: raised items */
html[data-style=plain] .nav .wl { border: 1px solid transparent; transition: background .15s, box-shadow .15s; }
html[data-style=plain] .nav .wl:hover { background: linear-gradient(180deg, var(--surface), var(--hover)); border-color: var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 3px 8px -4px rgba(30,50,120,.3); }
html[data-style=plain] .nav .wl[aria-current=page] { border-color: var(--edgeB); background: linear-gradient(135deg, color-mix(in srgb, var(--wsA) 80%, var(--surface)), var(--surface) 60%, color-mix(in srgb, var(--wsC) 55%, var(--surface))); color: var(--wsnavy); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 10px -5px rgba(30,70,160,.4), inset 0 0 18px -10px var(--edgeB); }
html[data-style=plain] .nav .wl[aria-current=page] svg { color: var(--brand); }
html[data-style=plain] .side { background: linear-gradient(180deg, color-mix(in srgb, var(--wsA) 40%, var(--surface)), var(--surface) 30%, var(--surface) 70%, color-mix(in srgb, var(--wsC) 30%, var(--surface))); }
/* tabs: raised pills, active one is the home-page blue with a green glow edge */
html[data-style=plain] .wtabs { background: linear-gradient(135deg, color-mix(in srgb, var(--wsA) 55%, var(--surface)), var(--surface) 30%, var(--surface) 70%, color-mix(in srgb, var(--wsC) 40%, var(--surface))); border-color: var(--edgeB); padding: 5px 7px; gap: 4px; }
html[data-style=plain] .wtabs a { border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
html[data-style=plain] .wtabs a:hover { background: var(--surface); border-color: var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 3px 8px -4px rgba(30,50,120,.3); }
html[data-style=plain] .wtabs a[aria-current=page] { background: linear-gradient(180deg, #4d8dff, #1f5ff0); border-color: #1f5ff0; color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,40,.18) inset, 0 6px 12px -5px #1f5ff0, 0 0 0 3px color-mix(in srgb, var(--g) 22%, transparent); transform: none; }
html[data-style=plain] .btn.primary { background: linear-gradient(180deg, #4d8dff, #1f5ff0); border-color: #1f5ff0; }
html[data-style=plain] .btile { background: linear-gradient(160deg, #4d8dff, #1f5ff0); }
html[data-style=plain] .dbar { background: linear-gradient(90deg, color-mix(in srgb, var(--wsA) 50%, var(--surface)), var(--surface) 45%, color-mix(in srgb, var(--wsC) 35%, var(--surface))); }
@media (prefers-reduced-motion: reduce) { html[data-style=plain] .nav .wl, html[data-style=plain] .wtabs a, html[data-style=plain] .card { transition: none; } }
html[data-style=plain] .side-top { background: color-mix(in srgb, var(--wsA) 40%, var(--surface)); }
html[data-style=plain] .shell.collapsed .side { width: auto; padding: 12px 8px; }
html[data-style=plain] .shell.collapsed .nav .wl span { display: none; }
html[data-style=plain] .shell.collapsed .nav .wl { justify-content: center; padding: 9px 0; width: 44px; margin: 0 auto; }
html[data-style=plain] .shell.collapsed .nav { align-items: stretch; }
.shell.collapsed .side .btile { flex: none; width: 34px; min-width: 34px; } html[data-style=plain] .shell.collapsed .side { width: 100%; }
html[data-style=plain][data-theme=dark] .btn.primary { background: linear-gradient(180deg, #4d8dff, #1f5ff0); border-color: #1f5ff0; color: #fff; }

/* ===== v35t round 4: Gmail/Chrome feel. White panels, blue wash on menu and top bar, light-green selected item, browser-style tabs ===== */
html[data-style=plain] { --selA: #f4fbf5; --selB: #e2f4e6; --selEdge: #c9e6d0; --selInk: #0a3320; }
html[data-style=plain][data-theme=dark] { --selA: #1c3a2a; --selB: #17301f; --selEdge: #2a5a40; --selInk: #c9f3dc; }
/* page: blue wash only, no green */
html[data-style=plain] .shell { background: radial-gradient(900px 520px at 8% -6%, var(--wsA), transparent 70%), radial-gradient(800px 520px at 100% 0%, var(--wsB), transparent 70%), var(--bg); }
/* data boxes: white, thin outline, slight shadow, no tint */
html[data-style=plain] .card, html[data-style=plain] .paywall, html[data-style=plain] .grid > .card:nth-child(even), html[data-style=plain] .grid > a.card:nth-child(even) { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--depth); }
html[data-style=plain] .grid.g4:has(> .kc) { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--depth); }
html[data-style=plain] .card h3, html[data-style=plain] .page-head h2 { color: var(--ink); }
/* left menu and top bar: the same washed-out blue */
html[data-style=plain] .side { background: color-mix(in srgb, var(--wsA) 42%, var(--surface)); }
html[data-style=plain] .side-top { background: color-mix(in srgb, var(--wsA) 42%, var(--surface)); }
html[data-style=plain] .dbar { background: color-mix(in srgb, var(--wsA) 42%, var(--surface)); }
/* selected menu item: very light green, tiny 3D */
html[data-style=plain] .nav .wl[aria-current=page] { background: linear-gradient(180deg, var(--selA), var(--selB)); border-color: var(--selEdge); color: var(--selInk); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 4px -2px rgba(20,110,60,.3); }
html[data-style=plain] .nav .wl[aria-current=page] svg { color: var(--selInk); }
html[data-style=plain] .wsfly .wf[aria-current=page] { background: linear-gradient(180deg, var(--selA), var(--selB)); color: var(--selInk); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 3px -1px rgba(20,110,60,.3); }
html[data-style=plain] .btile { background: linear-gradient(160deg, #4d8dff, #1f5ff0); }
/* browser-style tabs */
html[data-style=plain] .wtabs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0; padding: 0 4px; margin: -6px 0 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; box-shadow: none; overflow: visible; }
html[data-style=plain] .wtabs .wt-g { align-self: center; padding: 0 12px 6px 4px; margin: 0; }
html[data-style=plain] .wtabs a { position: relative; padding: 9px 16px 8px; margin: 0 0 -1px; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; color: var(--muted); font-size: 13px; font-weight: 550; box-shadow: none; transform: none; background: transparent; transition: background .12s, color .12s; }
html[data-style=plain] .wtabs a:not([aria-current=page])::after { content: ""; position: absolute; right: -1px; top: 28%; bottom: 28%; width: 1px; background: var(--line-2); }
html[data-style=plain] .wtabs a:hover:not([aria-current=page]) { background: color-mix(in srgb, var(--wsA) 70%, transparent); color: var(--ink); box-shadow: none; transform: none; border-color: transparent; }
html[data-style=plain] .wtabs a:hover:not([aria-current=page])::after, html[data-style=plain] .wtabs a:has(+ a:hover)::after, html[data-style=plain] .wtabs a:has(+ a[aria-current=page])::after, html[data-style=plain] .wtabs a[aria-current=page] + a::before { opacity: 0; }
html[data-style=plain] .wtabs a[aria-current=page] { background: var(--surface); color: var(--ink); font-weight: 650; border-color: var(--line-2); border-bottom: 1px solid var(--surface); box-shadow: 0 -3px 8px -5px rgba(30,50,120,.35); z-index: 2; margin-left: 8px; margin-right: 8px; }
html[data-style=plain] .wtabs a[aria-current=page]::before, html[data-style=plain] .wtabs a[aria-current=page]::after { content: ""; position: absolute; bottom: -1px; width: 9px; height: 9px; background: none; opacity: 1; top: auto; }
html[data-style=plain] .wtabs a[aria-current=page]::before { left: -10px; background: radial-gradient(circle at 0 0, transparent 8.5px, var(--line-2) 8.5px, var(--line-2) 9.5px, var(--surface) 9.5px); }
html[data-style=plain] .wtabs a[aria-current=page]::after { right: -10px; left: auto; width: 9px; background: radial-gradient(circle at 100% 0, transparent 8.5px, var(--line-2) 8.5px, var(--line-2) 9.5px, var(--surface) 9.5px); }
html[data-style=plain] .wtabs a[aria-current=page] svg { display: none; }
/* menu items: a touch tighter between icon and label */
html[data-style=plain] .nav .wl { gap: 8px; }
/* never show the small stand-in dot when badges are simple; the name just sits flush */
/* icon-to-name gap, everywhere */
.bi { margin-right: .2em; } .btn .bi, .badge .bi, .engine .bi { margin-right: .22em; } .engine .bi, .engine .bi.wide { margin: 0 6px 0 0; } .mchip { gap: 5px; } .pchip { gap: 7px; }
/* menu panels always above page content */
@media (min-width: 901px) { .side { z-index: 80; } .dbar { z-index: 30; } }
html[data-style=plain] .wsfly, .shell.collapsed .ng.fly > .ngi { max-height: calc(100vh - 16px); overflow-y: auto; overscroll-behavior: contain; }
html[data-style=plain] .shell.collapsed .wsi.has-sub.fly > .wsfly { left: 66px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--depth-hi); }
html[data-style=plain] .shell.collapsed .wsi.has-sub:hover > .wsfly::before, html[data-style=plain] .shell.collapsed .wsi.has-sub:focus-within > .wsfly::before { display: none; }
html[data-style=plain] .shell.collapsed .wsfly { max-height: calc(100vh - var(--fy, 8px) - 8px); }

/* ===== v35t round 5: one top bar for every view. Same size, same place. ===== */
.main, html[data-style=plain] .main { padding-top: 20px; max-width: 1360px; }
.dbar, html[data-style=plain] .dbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 0; margin: -20px calc(-1 * clamp(16px, 3vw, 40px)) 18px; padding: 8px clamp(16px, 3vw, 40px); }
.dbar .dtools, html[data-style=plain] .dbar .dtools { order: 2; margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.dbar .dtools .iconbtn, html[data-style=plain] .dbar .iconbtn { width: 30px; height: 30px; flex: none; border-radius: 8px; padding: 0; }
.dbar .dtools .iconbtn svg { width: 16px; height: 16px; }
.dbar .brandsel, html[data-style=plain] .dbar .brandsel { order: 0; display: inline-flex; align-items: center; gap: 8px; }
.dbar .brandsel select, html[data-style=plain] .dbar select { height: 30px; min-height: 30px; padding: 0 28px 0 10px; font-size: 13px; line-height: 1; }
.dbar .demo-chip { order: 1; }
.dbar .mpick, html[data-style=plain] .dbar .mpick { order: 3; flex: 1 1 100%; margin: 0; justify-content: flex-start; gap: 5px; }
.dbar .mchip, html[data-style=plain] .dbar .mchip { padding: 2px 9px; font-size: 12px; line-height: 1.5; height: 24px; }
.dbar .mchip svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .dbar, html[data-style=plain] .dbar { margin-top: -20px; } }
html[data-style=plain] .dbar .brandsel, .dbar .brandsel { height: 30px; min-height: 0; padding: 0; line-height: 1; } html[data-style=plain] .dbar .brandsel select { padding: 0 28px 0 10px; height: 30px; }
/* equal heights: a card inside a grid cell (or its mount div) always fills the cell */
.grid { align-items: stretch; }
.grid > div:has(> .card:only-child), .grid > section:has(> .card:only-child) { display: flex; flex-direction: column; }
.grid > div:has(> .card:only-child) > .card, .grid > section:has(> .card:only-child) > .card { flex: 1 1 auto; }
.grid > .card { height: auto; }

/* connect card: fixed 4-column grid of small chips so nothing moves or grows */
.connect .pplat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 2px 0 12px; }
.connect .pchip { height: 34px; padding: 0 10px; font-size: 13px; gap: 6px; min-width: 0; justify-content: flex-start; }
.connect .pchip .bi { width: 16px; height: 16px; flex: none; } .connect .pchip .bi.wide { width: 28px; }
.connect .pbody { min-height: 9em; }
@media (max-width: 700px) { .connect .pplat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* alert channels */
.ch-row { padding: 12px 0; border-top: 1px solid var(--line); } .ch-row:first-of-type { border-top: 0; }
.ch-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ch-f { display: flex; flex-wrap: wrap; gap: 8px; } .ch-f input { flex: 1 1 260px; min-width: 0; }
.ch-help { margin-top: 6px; } .ch-help summary { cursor: pointer; color: var(--brand-ink); }
.ch-emails { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; } .ch-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; background: var(--surface); } .ch-chip button { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; color: var(--muted); padding: 0 6px; }

/* Dark brand marks (GitHub, Squarespace, X, Notion...) turn light in dark mode so they stay visible */
:root[data-theme=dark] .bi path[fill="#3E4348" i], :root[data-theme=dark] .bi path[fill="#111111" i], :root[data-theme=dark] .bi path[fill="#000000" i], :root[data-theme=dark] .bi path[fill="#111827" i], :root[data-theme=dark] .bi path[fill="#121118" i], :root[data-theme=dark] .bi path[fill="#15171A" i], :root[data-theme=dark] .bi path[fill="#0b1b3a" i],
:root[data-theme=dark] svg.bi-svg path[fill="#3E4348" i], :root[data-theme=dark] svg.bi-svg path[fill="#111111" i], :root[data-theme=dark] svg.bi-svg path[fill="#000000" i], :root[data-theme=dark] svg.bi-svg path[fill="#111827" i], :root[data-theme=dark] svg.bi-svg path[fill="#121118" i], :root[data-theme=dark] svg.bi-svg path[fill="#15171A" i], :root[data-theme=dark] svg.bi-svg path[fill="#0b1b3a" i] { fill: #f1f4fb; }

/* ---- text-visibility fixes (every look, light and dark) ---- */
:root { --amber: #b07400; } :root[data-theme=dark] { --amber: #f2b84b; }
.you-col { background: var(--soft, #f4f8ff); }
mark { color: #1c2333; } :root[data-theme=dark] mark { background: #6b5a12; color: #fff6d6; }
:root[data-theme=dark] .st.setup { color: #f2b84b; background: #3a2e0f; }
:root[data-theme=dark] .tabs-mini button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
html[data-style=plain] .st-week a { background: var(--soft); border-color: var(--line); color: var(--ink); }
html[data-style=plain] .st-week a:hover { background: var(--hover, var(--soft)); }
html[data-style=plain] .st-t small, html[data-style=plain] .st-alerts, html[data-style=plain] .st-alerts a { color: var(--ink-2); }

/* ---- Backlinks ---- */
.bl-top { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; margin-bottom: 14px; align-items: stretch; }
.bl-fs { display: grid; gap: 10px; } .bl-f small { display: block; margin-top: 2px; line-height: 1.35; font-size: 12px; }
.bl-bar { height: 6px; border-radius: 99px; background: var(--track); overflow: hidden; margin-top: 4px; } .bl-bar i { display: block; height: 100%; border-radius: 99px; }
.bl-act { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); } .bl-act:first-of-type { border-top: 0; padding-top: 2px; } .bl-act .badge { flex: none; margin-top: 2px; } .bl-act b { font-size: 14px; line-height: 1.3; display: block; }
.bl-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } .bl-kpis .kpi .value { font-size: 24px; }
.bl-mix { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--track); margin: 8px 0; } .bl-mix i { display: block; height: 100%; }
.bl-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-2); } .bl-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.bl-l { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); } .bl-l:first-of-type { border-top: 0; }
.bl-st { height: 30px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 0 8px; font: 600 13px var(--font); }
.bl-promise { list-style: none; margin: 16px auto 0; padding: 0; display: inline-grid; gap: 6px; text-align: left; color: var(--ink-2); font-size: 14px; } .bl-promise li::before { content: '✓'; color: var(--good); font-weight: 800; margin-right: 8px; }
.chips .bl-f2[aria-pressed=true] { border-color: var(--brand); color: var(--brand); background: var(--brand-soft, var(--soft)); }
@media (max-width: 1100px) { .bl-top { grid-template-columns: 1fr 1fr; } .bl-top > :last-child { grid-column: 1 / -1; } .bl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bl-top { grid-template-columns: 1fr; } .bl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:root[data-theme=dark] .hs-r i.up { color: var(--good); } :root[data-theme=dark] .hs-r i.dn { color: var(--bad); }
:root[data-theme=dark] .imp-d { background: var(--soft); color: var(--muted); } :root[data-theme=dark] .imp-d.up { background: var(--good-soft); color: var(--good); } :root[data-theme=dark] .imp-d.down, :root[data-theme=dark] .imp-d.dn { background: var(--bad-soft); color: var(--bad); }
:root[data-theme=dark] .grade { color: #0a1121; }

/* ===== Shop analytics ===== */
.sh-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } .sh-kpis .kpi .value { font-size: 24px; }
@media (max-width: 1100px) { .sh-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 640px) { .sh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sh-promise { margin-top: 8px; }
.sh-value .sh-vp { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.sh-quad { width: 100%; height: auto; display: block; margin-top: 8px; } .sh-ax { font-size: 12px; fill: var(--muted); } .sh-axl { font-size: 12px; fill: var(--ink-2); font-weight: 600; } .sh-ql { font-size: 12px; font-weight: 700; opacity: .9; }
.sh-dot { cursor: pointer; transition: r .12s; } .sh-dot:hover, .sh-dot:focus { r: 9; outline: none; stroke: var(--ink); }
.sh-t td, .sh-t th { vertical-align: middle; } .sh-r { cursor: pointer; } .sh-r:hover td { background: var(--hover, var(--soft)); } .sh-r.on td { background: var(--brand-soft); }
.sh-nm { max-width: 340px; } .sh-nm b { display: block; overflow-wrap: normal; }
.sh-star { background: none; border: 0; cursor: pointer; font-size: 18px; line-height: 1; color: var(--amber); padding: 2px 4px; border-radius: 6px; } .sh-star:hover { background: var(--hover, var(--soft)); }
.sh-open { margin-bottom: 14px; border-color: var(--brand); } .sh-img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; background: var(--soft); }
.sh-h { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sh-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; } .sh-list li::marker { color: var(--muted); }
.sh-say { border-top: 1px solid var(--line); padding: 8px 0; } .sh-say:first-of-type { border-top: 0; }
.sh-draft { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; } .sh-draft textarea, .sh-imp textarea { width: 100%; }
.sh-at { padding: 10px 0; border-top: 1px solid var(--line); } .sh-at:first-of-type { border-top: 0; } .sh-at2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; } .sh-at2 .bl-bar { margin: 3px 0; }
.sh-ans { margin-bottom: 10px; padding: 12px 14px; }
.sh-mv:hover { color: var(--brand); }
@media (max-width: 640px) { .sh-at2 { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Shop import: fixed-size platform tiles, so choosing one never moves anything */
.sh-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sh-plat { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left; transition: border-color .15s, background .15s, box-shadow .15s; }
.sh-plat:hover { border-color: var(--line-2); background: var(--hover, var(--soft)); }
.sh-plat[aria-pressed=true] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand) inset; }
.sh-pi { flex: none; width: 24px; height: 24px; display: grid; place-items: center; } .sh-pi .bi { margin: 0; width: 22px; height: 22px; } .sh-pi .bi svg { width: 22px; height: 22px; } .sh-pi svg { width: 20px; height: 20px; }
.sh-pn { min-width: 0; line-height: 1.15; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: normal; }
.sh-impbody { margin-top: 16px; min-height: 250px; } .sh-how { margin: 8px 0 12px; } .sh-steps { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
@media (max-width: 900px) { .sh-plats { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 420px) { .sh-plats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-impbody { min-height: 0; } }
.sh-first { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .sh-first { grid-template-columns: minmax(0, 1fr); } }
.sh-pi:has(.bi.wide) { width: 30px; } .sh-pi .bi.wide, .sh-pi .bi.wide svg { width: 30px; }

/* Chart palette button: one small button, same size as "show as table" */
.cc-palw { position: relative; display: inline-flex; }
.cc-palm { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 190px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-lg, 0 12px 32px rgba(15,23,42,.16)); display: grid; gap: 2px; }
.cc-palm[hidden] { display: none; }
.cc-palm button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 13px var(--font); text-align: left; cursor: pointer; }
.cc-palm button:hover, .cc-palm button:focus-visible { background: var(--hover, var(--soft)); }
.cc-palm button[aria-checked=true] { background: var(--brand-soft); font-weight: 650; }
.cc-sw { display: inline-flex; flex: none; } .cc-sw i { width: 12px; height: 18px; display: block; } .cc-sw i:first-child { border-radius: 4px 0 0 4px; } .cc-sw i:last-child { border-radius: 0 4px 4px 0; }

/* Tabs in Shop analytics and Backlinks: easier to see, same dashboard look */
.tabs-v { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; gap: 2px; }
.tabs-v .tab { color: var(--ink-2); border-bottom: 0; border-radius: 9px; margin-bottom: 0; padding: 8px 14px; }
.tabs-v .tab:hover { background: var(--soft, var(--surface-2)); color: var(--ink); }
.tabs-v .tab[aria-selected=true] { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
html[data-style=plain] .tabs-v .tab[aria-selected=true] { border-bottom: 0; }

/* ---- Campaigns (v35za). Dashboard tokens only; no new tab or card style. ---- */
.nw { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-left: 8px; padding: 1px 6px; border-radius: 999px; background: var(--mint); color: #05382a; }
.badge.violet { background: color-mix(in srgb, var(--c4) 16%, var(--surface)); color: var(--c4); }
.cp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px 28px; padding: 26px; margin-bottom: 14px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--surface) 0%, var(--brand-soft) 140%); }
.cp-hl h2 { font-size: 18px; font-weight: 650; letter-spacing: -.005em; line-height: 1.35; margin: 8px 0 10px; }
.cp-eye { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-ink); } .cp-eye svg { width: 16px; height: 16px; }
.cp-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 14px; }
.cp-nums div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } .cp-nums b { display: block; font-size: 28px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--brand); } .cp-nums span { font-size: 12px; color: var(--muted); }
.cp-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: var(--ink-2); } .cp-trust span { display: inline-flex; align-items: center; gap: 6px; } .cp-trust svg { width: 14px; height: 14px; color: var(--good); }
.cp-flow { grid-column: 1 / -1; order: 3; } .cp-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.5fr auto 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; }
.cp-flow ol > li:not(.ar) { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 4px; align-content: start; opacity: 0; transform: translateY(8px); animation: cp-in .6s ease forwards; } .cp-flow ol > li small { color: var(--muted); font-size: 12px; }
.cp-flow ol > .s1 { animation-delay: .1s !important; } .cp-flow ol > .s2 { animation-delay: .5s !important; } .cp-flow ol > .s3 { animation-delay: .9s !important; } .cp-flow ol > .s4 { animation-delay: 1.3s !important; }
.cp-flow ol > li.ar { align-self: center; width: 22px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--brand)); position: relative; } .cp-flow ol > li.ar::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--brand); }
.cp-flow ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; } .cp-flow ul li { opacity: 1; transform: none; animation: none; border: 0; padding: 2px 8px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; } .cp-flow ul li.on { background: var(--good-soft); color: var(--good); } .cp-flow ul li { display: inline-flex; flex-direction: row; } .cp-flow ul svg { width: 11px; height: 11px; stroke-width: 3; }
.cp-bars { display: grid; gap: 4px; margin-top: 4px; } .cp-bars i { display: block; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--mint)); width: 0; animation: cp-w 1s .7s ease forwards; }
.cp-mini { display: flex; gap: 6px; margin-top: 4px; } .cp-mini span { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; } .cp-mini svg { width: 15px; height: 15px; }
@keyframes cp-in { to { opacity: 1; transform: none; } } @keyframes cp-w { to { width: var(--w); } }
.cp-prev { position: relative; } .cp-pt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; } .cp-dots { display: flex; gap: 6px; } .cp-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line-2); cursor: pointer; padding: 0; } .cp-dot.on { background: var(--brand); width: 22px; border-radius: 6px; transition: width .3s; }
.cp-slides { display: grid; } .cp-slide { grid-area: 1 / 1; display: grid; gap: 8px; align-content: start; opacity: 0; transform: translateX(14px); pointer-events: none; transition: opacity .45s, transform .45s; } .cp-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.cp-st { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; } .cp-st span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-gad { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-align: left; } .cp-gad .cp-sp { font-size: 12px; font-weight: 700; color: var(--ink); margin-right: 6px; } .cp-gad .cp-url { display: inline; font-size: 12.5px; color: var(--ink-2); } .cp-gad .cp-ht { font-size: 17px; font-weight: 600; color: var(--brand); line-height: 1.3; margin: 3px 0; } .cp-gad p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.cp-soc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; } .cp-sbar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; } .cp-sbar i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--mint)); } .cp-sbar small { color: var(--muted); } .cp-soc p { font-size: 13.5px; line-height: 1.45; } .cp-sfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; background: var(--soft); border-radius: 8px; } .cp-sfoot small { display: block; color: var(--muted); font-size: 12px; } .cp-sfoot span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-2); white-space: nowrap; }
.cp-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cp-gaps { display: grid; gap: 8px; } .cp-gap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; } .cp-gap:hover { border-color: var(--line-2); } .cp-gap.open { border-color: var(--brand); box-shadow: var(--shadow); }
.cp-gh { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 30px 34px minmax(0, 1fr) auto 110px 20px; gap: 12px; align-items: center; padding: 12px 14px; } .cp-gh:focus-visible { outline: 3px solid #9bbcff; outline-offset: -3px; }
.cp-rk { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; } .cp-gi { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--brand); display: grid; place-items: center; } .cp-gi svg { width: 18px; height: 18px; }
.cp-gt { display: grid; min-width: 0; } .cp-gt b { font-size: 15px; } .cp-gt small { color: var(--muted); font-size: 12.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cp-gm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .cp-gv { display: flex; align-items: center; gap: 8px; } .cp-gv b { font-variant-numeric: tabular-nums; min-width: 24px; text-align: right; } .cp-meter { flex: 1; height: 7px; border-radius: 5px; background: var(--track); overflow: hidden; } .cp-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--mint)); border-radius: 5px; }
.cp-ch svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; } .cp-gap.open .cp-ch svg { transform: rotate(180deg); }
.cp-pack { padding: 4px 16px 18px; border-top: 1px solid var(--line); background: var(--surface-2); animation: cp-in .35s ease both; }
.cp-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding-top: 14px; align-items: start; } .cp-why p { margin: 2px 0 6px; } .cp-ev { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); } .cp-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 560px; }
.cp-pack h4 { margin: 0 0 8px; } .cp-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .cp-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--soft); font-size: 13.5px; } .cp-line small { font-size: 12px; } .cp-line small.cp-ok { color: var(--good); } .cp-line small.cp-warn { color: var(--warn); } .cp-line > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.cp-copy { padding: 3px 7px !important; min-width: 0; } .cp-copy svg { width: 14px; height: 14px; }
.cp-tags { display: flex; flex-wrap: wrap; gap: 5px; } .cp-tags span { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.cp-chk { margin: 0; padding-left: 18px; font-size: 13.5px; display: grid; gap: 5px; } .cp-dl { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 10px; font-size: 13.5px; } .cp-dl dt { color: var(--muted); } .cp-dl dd { margin: 0; overflow-wrap: anywhere; }
.cp-post { padding: 10px 0; border-top: 1px solid var(--line); } .cp-post:first-of-type { border-top: 0; padding-top: 0; } .cp-post p { font-size: 13.5px; line-height: 1.5; margin-top: 4px; color: var(--ink-2); }
.cp-split { display: grid; gap: 8px; margin: 10px 0 14px; } .cp-sr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(60px, 1fr) 58px 64px; gap: 10px; align-items: center; font-size: 13.5px; } .cp-sr > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cp-sr b { text-align: right; } .cp-sbar2 { height: 8px; border-radius: 5px; background: var(--track); overflow: hidden; } .cp-sbar2 i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--mint)); transition: width .3s; }
.cp-tot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .cp-tot div { background: var(--soft); border-radius: 10px; padding: 10px; } .cp-tot b { display: block; font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .cp-tot span { font-size: 12px; color: var(--muted); }
.cp-cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .cp-wk { padding: 12px; display: grid; gap: 7px; align-content: start; } .cp-wh { display: flex; justify-content: space-between; align-items: baseline; } .cp-hook { font-size: 12px; padding: 3px 8px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); display: flex; gap: 5px; align-items: center; } .cp-hook svg { width: 12px; height: 12px; } .cp-hook small { opacity: .8; margin-left: auto; } .cp-task { display: grid; gap: 3px; font-size: 12.5px; line-height: 1.35; }
.cp-proof { display: flex; align-items: baseline; gap: 10px; } .cp-proof b { font-size: 40px; letter-spacing: -.03em; color: var(--brand); } .cp-riv { padding: 10px 0; border-top: 1px solid var(--line); } .cp-riv:first-of-type { border-top: 0; }
.cp-files { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; } .cp-files .card { display: grid; gap: 6px; align-content: start; } .cp-fi { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; } .cp-fi svg { width: 18px; height: 18px; } .cp-files .btn { justify-self: start; }
@media (max-width: 1100px) { .cp-hero { grid-template-columns: 1fr; } .cp-flow ol { grid-template-columns: 1fr 1fr; } .cp-flow ol > li.ar { display: none; } .cp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-cal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cp-gh { grid-template-columns: 28px minmax(0, 1fr) 20px; } .cp-gi, .cp-gm, .cp-gv { display: none; } .cp-gt small { -webkit-line-clamp: 3; } .cp-bar { grid-template-columns: 1fr; } .cp-acts { justify-content: flex-start; } .cp-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-cal { grid-template-columns: 1fr 1fr; } .cp-tot { grid-template-columns: 1fr 1fr; } .cp-sr { grid-template-columns: 1fr 52px; } .cp-sr .cp-sbar2, .cp-sr small { display: none; } .cp-hero { padding: 18px; } .cp-line { grid-template-columns: minmax(0, 1fr) auto; } .cp-line small { display: none; } }
@media (max-width: 480px) { .cp-cal { grid-template-columns: 1fr; } .cp-kpis { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .cp-flow li:not(.ar), .cp-bars i, .cp-pack, .cp-slide { animation: none !important; transition: none !important; } .cp-flow ol > li:not(.ar) { opacity: 1; transform: none; } .cp-bars i { width: var(--w); } }

.cp-pack .field input[type=number], #cp-body .field input[type=number], .cp-acts input { width: 100%; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; } .cp-acts input { width: 170px; }
#cp-body .field input[type=range] { width: 100%; accent-color: var(--brand); } #cp-body .field > span { display: block; margin-bottom: 6px; font-size: 13.5px; } #cp-body .field + .field { margin-top: 12px; }

.cp-ov { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; color: inherit; background: linear-gradient(100deg, var(--surface) 0%, var(--brand-soft) 160%); transition: border-color .2s, transform .2s; } .cp-ov:hover { border-color: var(--brand); transform: translateY(-1px); } .cp-ovi { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; } .cp-ovi svg { width: 20px; height: 20px; } @media (max-width: 640px) { .cp-ov { flex-wrap: wrap; } }

/* ===== Layout menu (Default, Browser, Minimal) ===== */
.vmw { position: relative; display: inline-flex; }
.vmenu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 90; min-width: 168px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 12px 28px -10px rgba(20, 30, 60, .3); }
.vmenu[hidden] { display: none; }
.vmenu b { display: block; padding: 4px 8px 6px; font: 700 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vmenu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font: 500 13.5px var(--font); cursor: pointer; text-align: left; }
.vmenu button:hover { background: var(--hover); color: var(--ink); }
.vmenu button i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; }
.vmenu button[aria-checked=true] { color: var(--ink); font-weight: 650; } .vmenu button[aria-checked=true] i { border-color: var(--brand); } .vmenu button[aria-checked=true] i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ===== Minimal view: the Browser look and text sizes, a dropdown menu, soft grey surfaces ===== */
html[data-view=minimal] { --bg: #f1f2f4; --menu: #e6e8eb; --line: #dfe1e5; --line-2: #d3d6db; --hover: rgba(20, 24, 32, .06); --wsA: #e6e8eb; --wsB: #eceef0; --wsC: #eceef0; --edgeB: #dfe1e5; --edgeG: #dfe1e5; --selA: #ffffff; --selB: #f7f8f9; --selEdge: #d3d6db; --selInk: var(--ink); --depth: 0 1px 2px rgba(20, 24, 32, .05); --depth-hi: 0 2px 8px rgba(20, 24, 32, .08); }
html[data-view=minimal][data-theme=dark] { --bg: #141517; --menu: #1b1c1f; --line: #2a2b2f; --line-2: #35373c; --hover: rgba(255, 255, 255, .06); --wsA: #1b1c1f; --wsB: #1a1b1e; --wsC: #1a1b1e; --edgeB: #2a2b2f; --edgeG: #2a2b2f; --selA: #232428; --selB: #1f2023; --selEdge: #3a3c41; --depth: 0 1px 2px rgba(0, 0, 0, .4); --depth-hi: 0 2px 8px rgba(0, 0, 0, .5); }
html[data-view=minimal] body, html[data-view=minimal] .main { background: transparent; }
html[data-view=minimal] .shell { background: var(--bg); }
html[data-view=minimal] .side, html[data-view=minimal] .side-top { background: var(--menu); }
html[data-view=minimal] .side { border-right: 1px solid var(--line-2); padding: 12px 10px; }
html[data-view=minimal] .dbar { background: var(--bg); box-shadow: 0 1px 0 var(--line-2); }
html[data-view=minimal] .card, html[data-view=minimal] .paywall, html[data-view=minimal] .grid > .card:nth-child(even), html[data-view=minimal] .grid > a.card:nth-child(even) { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--depth); }
html[data-view=minimal] .grid.g4:has(> .kc) { background: var(--surface); border-color: var(--line); }
html[data-view=minimal] .page-head h2, html[data-view=minimal] .card h3 { color: var(--ink); }
html[data-view=minimal] .btn.primary, html[data-view=minimal][data-theme=dark] .btn.primary { background: var(--brand); border-color: var(--brand); box-shadow: none; color: #fff; }
html[data-view=minimal] .btile { background: var(--brand); box-shadow: none; }
html[data-view=minimal] .vsw { background: var(--surface); border-color: var(--line-2); }
/* dropdown menu, sized like the Browser menu */
html[data-view=minimal] .nav { display: flex; flex-direction: column; gap: 1px; }
html[data-view=minimal] .nav > a, html[data-view=minimal] .ngh { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 6px; font: 500 13.5px var(--font); color: var(--ink-2); border: 1px solid transparent; }
html[data-view=minimal] .ngh { font-weight: 600; }
html[data-view=minimal] .nav > a svg, html[data-view=minimal] .ngh svg:not(.chev) { width: 16px; height: 16px; flex: none; opacity: 1; color: var(--muted); background: none; }
html[data-view=minimal] .ngh .chev { width: 13px; height: 13px; opacity: .5; }
html[data-view=minimal] .ngh:hover, html[data-view=minimal] .nav > a:hover, html[data-view=minimal] .ngi a:hover { background: var(--hover); color: var(--ink); }
html[data-view=minimal] .ng.has-active > .ngh { color: var(--ink); }
html[data-view=minimal] .ng, html[data-view=minimal] .ng.open { background: none; border: 0; }
html[data-view=minimal] .ngi > div { margin-left: 17px; padding-left: 7px; border-left: 1px solid var(--line-2); }
html[data-view=minimal] .ngi a { display: block; padding: 5px 10px; margin: 1px 0; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); box-shadow: none; border: 1px solid transparent; }
html[data-view=minimal] .ngi a svg { display: none; }
html[data-view=minimal] .ngi h6.sub { margin: 8px 10px 2px; font: 700 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[data-view=minimal] .ngi a[aria-current=page], html[data-view=minimal] .nav > a[aria-current=page] { background: linear-gradient(180deg, var(--selA), var(--selB)); border-color: var(--selEdge); color: var(--ink); font-weight: 650; box-shadow: var(--depth); }
html[data-view=minimal] .nav > a[aria-current=page] svg { color: var(--brand); }
html[data-view=minimal] .shell.collapsed .ng.fly > .ngi { background: var(--surface); border: 1px solid var(--line-2); }
html[data-view=minimal] .shell.collapsed .ng.fly > .ngi > div { margin-left: 0; padding-left: 0; border-left: 0; }
html[data-view=minimal] .shell.collapsed .nav > a, html[data-view=minimal] .shell.collapsed .ngh { padding: 9px 0; width: 44px; justify-content: center; }
html[data-view=minimal] .ngh .gi, html[data-view=minimal] .ngh .gi svg { background: none !important; box-shadow: none !important; width: 16px; height: 16px; }
html[data-view=minimal] .ngh .gi { display: grid; place-items: center; }

/* ---- Page heatmaps. Dashboard tokens only. ---- */
.ht-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 28px; align-items: center; padding: 22px 24px; margin-bottom: 14px; }
.ht-hl h2 { margin: 6px 0 6px; font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: 0; } .ht-hl h2 b { color: var(--brand); }
.ht-hl p { margin: 0; } .ht-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ht-kpis > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); } .ht-kpis b { display: block; font-size: 18px; letter-spacing: -.01em; } .ht-kpis span { font-size: 12px; color: var(--muted); }
.ht-main > * { min-width: 0; } .ht-main { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: start; }
.ht-pages { padding: 12px; position: sticky; top: 70px; } .ht-pages h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ht-plist { display: grid; gap: 6px; } .ht-p { display: grid; gap: 2px; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.ht-p b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ht-p span { font-size: 12px; color: var(--muted); } .ht-p i { display: block; height: 4px; border-radius: 4px; background: var(--soft); margin-top: 4px; overflow: hidden; } .ht-p i u { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.ht-p:hover { border-color: var(--line-2); background: var(--hover); } .ht-p[aria-pressed=true] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.ht-filters { display: flex; flex-wrap: wrap; gap: 8px 12px; } .ht-filters .seg button { font-size: 12.5px; }
.ht-card { padding: 16px 18px; } .ht-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .ht-ch h4 { margin: 0; }
.ht-scroll { max-height: min(72vh, 760px); overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); padding: 12px; }
.ht-frame { position: relative; width: 100%; max-width: 920px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; } .ht-frame.ht-m { max-width: 380px; }
.ht-frame.ht-demo { max-width: 100%; aspect-ratio: 1 / 1.35; } .ht-canvas, .ht-demo canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; } .ht-demo canvas { position: absolute; }
.ht-b { position: absolute; box-sizing: border-box; border: 1px dashed var(--line-2); border-radius: 3px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.2; }
.ht-b span { display: block; padding: 3px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.ht-header, .ht-nav, .ht-footer { background: var(--soft); border-style: solid; } .ht-img { background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 6px, var(--surface) 6px, var(--surface) 12px); border-style: solid; }
.ht-h1, .ht-h2, .ht-h3 { border: 0; background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink-2); border-radius: 4px; } .ht-button { border: 0; background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--ink-2); border-radius: 99px; }
.ht-bands { position: absolute; inset: 0; } .ht-band { position: absolute; left: 0; right: 0; height: 10%; border-bottom: 1px dashed rgba(255,255,255,.5); } .ht-band span { position: absolute; right: 8px; top: 6px; font-size: 12px; font-weight: 650; background: var(--surface); color: var(--ink); padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-2); }
.ht-leg { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); } .ht-leg i { width: 160px; height: 8px; border-radius: 8px; border: 1px solid var(--line); }
.ht-sw { width: 54px !important; height: 10px; border-radius: 6px; display: inline-block; border: 1px solid var(--line); }
.ht-ins { display: grid; gap: 8px; margin-bottom: 12px; } .ht-in { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); } .ht-in i { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--muted); }
.ht-in.warn i { background: #e0a100; } .ht-in.bad i { background: #d64545; } .ht-in.good i { background: #16a34a; } .ht-in b { font-size: 14px; } .ht-in p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.ht-wait { margin-bottom: 10px; }
.ht-els { display: grid; gap: 8px; } .ht-el { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 90px; gap: 10px; align-items: center; } .ht-eh { min-width: 0; } .ht-eh b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ht-eh code { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: none; padding: 0; }
.ht-eb { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; } .ht-eb i { display: block; height: 100%; background: var(--brand); border-radius: 8px; } .ht-el > span { font-size: 12.5px; color: var(--muted); text-align: right; white-space: nowrap; }
.ht-cmps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; } .ht-cmp { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--surface); } .ht-cmp h5 { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.ht-cmp.ai { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); } .ht-cn b { display: block; font-size: 20px; } .ht-cn span { font-size: 12px; color: var(--muted); }
.ht-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .ht-two h5 { margin: 0 0 8px; font-size: 13px; }
.ht-curve { width: 100%; height: auto; } .ht-grid line { stroke: var(--line); stroke-width: 1; } .ht-curve polyline { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; } .ht-curve .c-ai { stroke: var(--brand); } .ht-curve .c-ot { stroke: var(--muted); stroke-dasharray: 5 4; }
.ht-ckey { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 6px; } .ht-ckey span::before { content: ""; display: inline-block; width: 16px; height: 0; border-top: 2.4px solid var(--brand); vertical-align: middle; margin-right: 6px; } .ht-ckey .c-ot::before { border-top-color: var(--muted); border-top-style: dashed; }
.ht-engs { display: grid; gap: 8px; } .ht-eg { display: grid; grid-template-columns: 96px 1fr 40px; gap: 8px; align-items: center; font-size: 13px; } .ht-eg i { height: 8px; background: var(--soft); border-radius: 8px; overflow: hidden; } .ht-eg u { display: block; height: 100%; background: var(--brand); } .ht-eg b { text-align: right; }
.ht-fixes { display: grid; gap: 8px; margin-top: 10px; } .ht-fx { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 1fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); } .ht-fx small { display: block; color: var(--muted); }
.ht-fd span { display: block; font-size: 12px; color: var(--muted); } .ht-fd b { font-size: 14px; } .ht-fd em { font-style: normal; font-size: 12px; margin-left: 6px; color: var(--muted); } .ht-fd em.up { color: #16a34a; } .ht-fd em.dn { color: #d64545; }
.ht-code { display: flex; gap: 8px; align-items: center; margin: 6px 0 14px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--soft); } .ht-code code { flex: 1; font-size: 12.5px; overflow-x: auto; white-space: nowrap; background: none; padding: 0; }
.ht-tl { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; } .ht-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; background: var(--surface); color: var(--ink); } .ht-chip button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; } .ht-chip.sg { cursor: pointer; color: var(--brand); border-style: dashed; font: inherit; font-size: 13px; }
.ht-add { display: flex; gap: 8px; margin-top: 8px; } .ht-add input { flex: 1; max-width: 280px; }
.ht-priv { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); } .ht-priv b { font-size: 13px; } .ht-priv p { margin: 4px 0 0; }
.ht-start, .ht-lock { padding: 24px; } .ht-steps { margin: 12px 0; padding-left: 20px; display: grid; gap: 8px; } .ht-steps code { background: var(--soft); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.ht-lock { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; } .ht-lock h3 { font-size: 22px; margin: 6px 0 6px; } .ht-pts { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; } .ht-pts li { display: flex; gap: 8px; align-items: center; } .ht-pts svg { width: 16px; height: 16px; color: var(--brand); }
.ht-lock-v .ht-frame { max-width: 340px; margin-left: auto; opacity: .95; }
@media (max-width: 1100px) { .ht-hero, .ht-lock { grid-template-columns: 1fr; } .ht-main { grid-template-columns: 1fr; } .ht-pages { position: static; } .ht-plist { display: flex; overflow-x: auto; padding-bottom: 4px; } .ht-p { flex: 0 0 168px; } .ht-lock-v .ht-frame { margin: 0 auto; } }
@media (max-width: 640px) { .ht-kpis { grid-template-columns: 1fr 1fr; } .ht-cmps, .ht-two { grid-template-columns: 1fr; } .ht-el { grid-template-columns: 1fr 70px; } .ht-el .ht-eb { grid-column: 1 / -1; order: 3; } .ht-fx { grid-template-columns: 1fr; } .ht-card { padding: 14px; } }
.ht-ax text { font-size: 12px; fill: var(--muted); }

/* heatmap: sample page blocks, hotspot markers, two-column layout, clearer buttons in the plain views */
.ht-tile { background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; } .ht-text { border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); border-radius: 3px; } .ht-a { border: 0; text-decoration: underline; color: var(--brand); }
.ht-nav { color: var(--ink-2); font-weight: 600; } .ht-section { background: color-mix(in srgb, var(--brand) 7%, var(--surface)); border-style: solid; }
.ht-button { display: flex; align-items: center; justify-content: center; } .ht-button span { padding: 0 6px; color: var(--ink); }
.ht-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(200px, 1fr); gap: 18px; align-items: start; }
.ht-mk { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--surface); border: 2px solid var(--surface); font: 700 12px/18px var(--font); text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); pointer-events: auto; z-index: 2; }
.ht-mk.s { position: static; transform: none; flex: none; } .ht-top h5 { margin: 0 0 8px; font-size: 13px; } .ht-top ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .ht-top li { display: flex; gap: 10px; align-items: flex-start; } .ht-top li b { display: block; font-size: 13.5px; } .ht-top li small { color: var(--muted); font-size: 12.5px; }
.ht-filters .seg button, .ht-ch .cc-mini { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); } .ht-filters .seg { background: transparent; padding: 0; gap: 6px; }
.ht-filters .seg button:hover { background: var(--hover); border-color: var(--ink-2); } .ht-filters .seg button[aria-pressed=true], html[data-style=plain] .ht-filters .seg button[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; }
@media (max-width: 900px) { .ht-cols { grid-template-columns: 1fr; } }
/* keep numbers in the compact views in step with the rest of the text */
html[data-style=plain] .kpi .value, html[data-style=plain] .card.kpi .value { font-size: 26px; } html[data-style=plain] .cp-nums b { font-size: 22px; } html[data-style=plain] .cp-hl h2, html[data-style=plain] .ht-hl h2 { font-size: 16px; }
html[data-style=plain] .kc-val { font-size: 22px; }

/* support centre */
.sp-find, .sp-new, .sp-thread { padding: 16px 18px; margin-bottom: 14px; } .sp-find .field input { max-width: 640px; }
.sp-sug { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-width: 720px; } .sp-sug a { display: block; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; } .sp-sug a:hover { border-color: var(--brand); background: var(--hover); } .sp-sug b { display: block; font-size: 14px; } .sp-sug span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sp-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .sp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; } @media (max-width: 700px) { .sp-two { grid-template-columns: 1fr; } }
.sp-list { display: grid; gap: 8px; margin-top: 10px; } .sp-t { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; } .sp-t > div { flex: 1; min-width: 0; } .sp-t b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sp-t small { color: var(--muted); font-size: 12.5px; } .sp-t:hover { border-color: var(--brand); }
.sp-msgs { display: grid; gap: 10px; } .sp-m { max-width: 640px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); } .sp-m.user { margin-left: auto; background: var(--brand-soft); border-color: transparent; } .sp-m.ai { border-style: dashed; }
.sp-mh { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; } .sp-mh b { color: var(--ink); } .sp-mt { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.sp-ai { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--soft); }

/* ---- Dashboard extras: command bar, changes strip, My pages, undo toast ---- */
.toast.undo { display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden; padding-bottom: 15px; }
.toast .undo-btn { margin-left: auto; border: 1px solid rgba(255,255,255,.55); background: transparent; color: inherit; font: inherit; font-weight: 700; padding: 3px 12px; border-radius: 8px; cursor: pointer; }
.toast .undo-btn:hover { background: rgba(255,255,255,.16); }
.toast .undo-btn:disabled { opacity: .5; cursor: default; }
.toast .undo-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .5; transform-origin: left; animation: undobar linear forwards; }
@keyframes undobar { to { transform: scaleX(0); } }
:root[data-theme=dark] .toast .undo-btn { border-color: rgba(11,27,58,.5); } :root[data-theme=dark] .toast .undo-btn:hover { background: rgba(11,27,58,.1); }
@media (prefers-reduced-motion: reduce) { .toast .undo-bar { animation: none; } }

.cmdk { position: fixed; inset: 0; z-index: 120; display: grid; place-items: start center; padding: 12vh 16px 16px; }
.cmdk-bg { position: absolute; inset: 0; background: rgba(8, 16, 36, .5); backdrop-filter: blur(2px); }
.cmdk-box { position: relative; width: min(640px, 100%); max-height: min(560px, 76vh); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cmdk-in { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk-in svg { width: 20px; height: 20px; flex: none; }
.cmdk-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 16px/1 var(--font); padding: 18px 0; box-shadow: none; }
.cmdk kbd { font: 600 12px/1 var(--font); padding: 3px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--soft); color: var(--ink-2); margin: 0 2px; }
.cmdk-list { overflow-y: auto; padding: 6px 8px 10px; }
.cmdk-h { font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.cmdk-it { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.cmdk-it svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.cmdk-it[aria-selected=true] { background: var(--brand-soft); color: var(--brand-ink); } .cmdk-it[aria-selected=true] svg { color: currentColor; }
.cmdk-l { font-weight: 600; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmdk-s { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.cmdk-empty { padding: 28px 10px; text-align: center; color: var(--muted); }
.cmdk-foot { display: flex; gap: 16px; flex-wrap: wrap; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); background: var(--surface-2); }
html.cmdk-open { overflow: hidden; }
@media (max-width: 600px) { .cmdk { padding-top: 6vh; } .cmdk-foot { display: none; } .cmdk-s { display: none; } }

.chg-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -6px 0 18px; padding: 10px 14px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 12px; font-size: 14px; }
.chg-k { font-weight: 700; color: var(--ink); } .chg-list { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--muted); }
.chg-list i { font-style: normal; }
.chg { font-weight: 600; text-decoration: none; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.chg.up { background: var(--good-soft); color: var(--good); } .chg.dn { background: var(--warn-soft); color: var(--warn); }
.chg:hover { text-decoration: underline; }
.chg-x { margin-left: auto; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 600 13px/1 var(--font); padding: 7px 12px; border-radius: 8px; cursor: pointer; } .chg-x:hover { background: var(--soft); }
html[data-style=plain] .chg-strip { border-radius: 8px; }

.ng.mypages .gi svg { color: var(--c3); }
.ng.mypages .gi svg { fill: currentColor; fill-opacity: .25; }
.mp-row { position: relative; display: flex; align-items: center; border-radius: 10px; }
.mp-row > a { flex: 1; min-width: 0; }
.mp-row.drag { opacity: .4; }
.mp-ctl { display: none; gap: 2px; padding-right: 6px; }
.mp-row:hover .mp-ctl, .mp-row:focus-within .mp-ctl { display: inline-flex; }
.mp-ctl button { border: 0; background: var(--soft); color: var(--ink-2); width: 22px; height: 22px; border-radius: 6px; font-size: 12px; line-height: 1; cursor: pointer; padding: 0; } .mp-ctl button:hover:not(:disabled) { background: var(--brand-soft); color: var(--brand-ink); } .mp-ctl button:disabled { opacity: .3; cursor: default; }
.nav a:has(.rowstar) { position: relative; } .rowstar { position: absolute; right: 8px; top: 50%; margin-top: -11px; opacity: 0; pointer-events: none; display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; color: var(--muted); flex: none; }
.rowstar svg { width: 14px; height: 14px; }
.nav a:hover .rowstar, .nav a:focus-within .rowstar, .rowstar:focus-visible { opacity: 1; pointer-events: auto; }
.rowstar[aria-pressed=true] { opacity: 1; pointer-events: auto; color: var(--c3); } .rowstar[aria-pressed=true] svg { fill: currentColor; }
.rowstar:hover { background: var(--soft); color: var(--ink); }
.collapsed .rowstar, .collapsed .mp-ctl { display: none !important; }
#pin-btn[aria-pressed=true] svg { fill: var(--c3); color: var(--c3); }
#pin-btn[hidden] { display: none; }
@media (max-width: 700px) { .chg-x { margin-left: 0; } }

/* ---- Heatmap: a stand-in web page under the heat ---- */
.ht-frame:not(.ht-demo) { background: #fff; container-type: inline-size; color: #111827; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; user-select: none; }
.wp { position: absolute; box-sizing: border-box; overflow: hidden; }
.wp-header { background: #fff; border-bottom: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(17, 24, 39, .06); }
.wp-nav { display: flex; align-items: center; gap: 2.2em; color: #374151; font-weight: 600; white-space: nowrap; }
.wp-img { background: linear-gradient(180deg, #bfe3ff 0%, #e8f5ff 55%, #cfe9c6 55%, #a9d39a 100%); }
.wp-img i { position: absolute; left: 12%; top: 14%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #ffe58a; box-shadow: 0 0 0 .8cqw rgba(255, 229, 138, .35); }
.wp-img u { position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; background: radial-gradient(60% 100% at 30% 100%, #7fbf72 60%, transparent 61%), radial-gradient(55% 90% at 78% 100%, #5fa763 60%, transparent 61%); }
.wp-h1 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #0f172a; display: flex; align-items: center; }
.wp-h2 { font-weight: 700; line-height: 1.15; color: #1f2937; display: flex; align-items: center; letter-spacing: -.01em; }
.wp-btn { background: #2563eb; color: #fff; border-radius: .7cqw; display: grid; place-items: center; font-weight: 700; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.wp-a { color: #2563eb; text-decoration: underline; font-weight: 600; display: flex; align-items: center; white-space: nowrap; }
.wp-text { color: #4b5563; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; }
.wp-tile { background: #fff; border: 1px solid #e5e7eb; border-radius: .9cqw; box-shadow: 0 2px 8px rgba(17, 24, 39, .07); padding: 0; }
.wp-tile i { display: block; height: 52%; background: linear-gradient(135deg, #dbeafe, #c7e6d3); }
.wp-tile b { display: block; height: 7%; margin: 6% 8% 0; background: #cfd6e0; border-radius: 99px; } .wp-tile b.s { width: 48%; background: #e3e8ef; }
.wp-footer { background: #111827; color: #cbd5e1; display: flex; align-items: center; gap: 4cqw; padding: 0 4cqw; white-space: nowrap; }
.wp-footer span:first-child { font-weight: 700; color: #fff; }
.wp-section { background: #f8fafc; border: 1px solid #eef2f6; border-radius: .8cqw; }
.wp-note { position: absolute; right: 8px; bottom: 6px; z-index: 1; font: 600 12px/1 var(--font); color: #64748b; background: rgba(255, 255, 255, .85); padding: 4px 7px; border-radius: 6px; border: 1px solid #e2e8f0; }

/* ---- Extras round 2: modal, goal ring, Explain, chart notes, share, weekly email ---- */
.xm { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; }
.xm-bg { position: absolute; inset: 0; background: rgba(8, 16, 36, .5); }
.xm-box { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); } .xm-box.wide { width: min(920px, 100%); }
.xm-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 6px; } .xm-h h3 { font-size: 18px; margin: 0; }
.xm-x { border: 0; background: var(--soft); color: var(--ink-2); width: 32px; height: 32px; border-radius: 9px; font-size: 20px; line-height: 1; cursor: pointer; }
.xm-b { padding: 8px 20px 20px; } .xm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xm-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; } .xm-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; } .xm-list li > div { flex: 1; min-width: 0; } .xm-list small { display: block; color: var(--muted); font-size: 12px; } .xm-list a { text-decoration: none; color: var(--ink); }
.xm-link { display: flex; gap: 8px; flex-wrap: wrap; } .xm-link input { flex: 1; min-width: 200px; }
.xm-mail { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .xm-mail input { flex: 1; min-width: 160px; }
@media (max-width: 600px) { .xm-two { grid-template-columns: 1fr; } }

.iconbtn.goal { position: relative; } .iconbtn.goal .gr { width: 30px; height: 30px; position: absolute; } .gr-t { fill: none; stroke: var(--line-2); stroke-width: 3; } .gr-v { fill: none; stroke: var(--good); stroke-width: 3.4; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.gr-n { position: relative; font: 700 12px/1 var(--font); color: var(--ink-2); } .iconbtn.goal.on .gr-n { color: var(--good); }

.xp-btn { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; vertical-align: middle; border: 1px solid var(--line-2); background: var(--surface); color: var(--brand-ink); font: 600 12px/1 var(--font); letter-spacing: 0; text-transform: none; padding: 5px 9px; border-radius: 99px; cursor: pointer; }
.xp-btn svg { width: 13px; height: 13px; } .xp-btn:hover, .xp-btn[aria-expanded=true] { background: var(--brand-soft); border-color: var(--brand); }
.xp-btn.abs { position: absolute; top: 10px; right: 12px; margin: 0; z-index: 2; }
.xp-out { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--ink); font-size: 14px; line-height: 1.5; } .xp-out p { margin: 0 0 6px; } .xp-out .tiny { margin: 6px 0 0; } .xp-wait { color: var(--muted); }
:root[data-theme=dark] .xp-out { background: var(--soft); }

.chart-box.nt-ok .pt { cursor: pointer; } .chart-box.nt-ok svg.chart { cursor: copy; }
.nt-hint { display: block; text-align: right; margin: 2px 4px 0; height: 14px; line-height: 14px; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity .15s; pointer-events: none; } .chart-box:hover .nt-hint { opacity: 1; }
.nt-mk { position: absolute; bottom: 24px; transform: translateX(-50%); width: 22px; height: 22px; padding: 0; border: 1px solid var(--c3); background: var(--warn-soft); color: var(--warn); border-radius: 50% 50% 50% 4px; display: grid; place-items: center; cursor: pointer; z-index: 3; } .nt-mk svg { width: 12px; height: 12px; } .nt-mk:hover { background: var(--c3); color: #fff; }
.nt-pop { position: absolute; top: 8%; transform: translateX(-50%); z-index: 8; width: min(280px, 90%); padding: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-lg); display: grid; gap: 8px; font-size: 13.5px; }
.nt-pop textarea { width: 100%; resize: vertical; } .nt-old { margin: 0; padding: 6px 8px; background: var(--soft); border-radius: 8px; }

.dg { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; } .dg-opts h4 { margin: 14px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .dg-opts .check { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: 14px; }
.dg-mail { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; color: #1f2937; min-width: 0; }
.dg-hd { padding: 12px 16px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; font-size: 13px; display: grid; gap: 4px; } .dg-hd span { display: inline-block; width: 60px; color: #6b7280; }
#dg-body { background: #fff !important; border: 0 !important; border-radius: 0; margin: 0; padding: 16px 18px; white-space: pre-wrap; font: 14px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; max-height: 52vh; overflow: auto; color: #1f2937; }
@media (max-width: 760px) { .dg { grid-template-columns: 1fr; } }

.xm input:not([type=checkbox]), .xm select, .xm textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.xm .field { display: grid; gap: 6px; } .xm .field > span { font-weight: 600; font-size: 13.5px; } .xm .xm-mail input, .xm .xm-link input { width: auto; }

/* ---- Extras round 3: tours, shortcuts, saved views, small wins, compare ---- */
.tour { position: fixed; z-index: 105; width: min(340px, calc(100vw - 24px)); padding: 16px 18px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.5; }
.tour::before { content: ""; position: absolute; left: var(--ax, 30px); width: 12px; height: 12px; background: var(--surface); border: 1px solid var(--line-2); transform: rotate(45deg); display: none; }
.tour[data-arrow=up]::before { display: block; top: -7px; border-right: 0; border-bottom: 0; } .tour[data-arrow=down]::before { display: block; bottom: -7px; border-left: 0; border-top: 0; }
.tour-n { font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; } .tour h4 { margin: 0 0 6px; font-size: 16px; }
.tour p { margin: 0 0 8px; } .tour ul { margin: 0 0 8px; padding-left: 18px; } .tour li { margin: 3px 0; } .tour-note { color: var(--ink-2); background: var(--soft); padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.tour-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; } .tour-off { font-size: 12.5px; color: var(--muted); }
.tour-hl { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 4px; border-radius: 10px; transition: outline-color .2s; }

.kb-chip { position: fixed; left: 16px; bottom: 16px; z-index: 90; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow-lg); } :root[data-theme=dark] .kb-chip { background: #e9eefc; color: #0b1b3a; }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .kb h4 { margin: 4px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .kb ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .kb li { display: flex; gap: 12px; align-items: center; font-size: 14px; } .kb li > span { min-width: 96px; white-space: nowrap; }
.xm kbd { font: 600 12px/1 var(--font); padding: 3px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--soft); color: var(--ink-2); }
@media (max-width: 640px) { .kb { grid-template-columns: 1fr; } }

.vw-pop { position: fixed; z-index: 100; width: min(340px, calc(100vw - 16px)); max-height: 70vh; overflow: auto; padding: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); display: grid; gap: 8px; }
.vw-pop h4 { margin: 0; font-size: 15px; } .vw-pop h5 { margin: 8px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .vw-pop ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.vw-save { display: flex; gap: 8px; } .vw-save input { flex: 1; min-width: 0; }
.vw-pop li { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; } .vw-go { flex: 1; min-width: 0; text-align: left; border: 0; background: none; color: inherit; font: inherit; padding: 8px 10px; cursor: pointer; border-radius: 10px; display: grid; } .vw-go:hover { background: var(--hover); } .vw-go small { color: var(--muted); font-size: 12px; }
.vw-x { border: 0; background: none; color: var(--muted); width: 30px; height: 30px; font-size: 18px; cursor: pointer; border-radius: 8px; } .vw-x:hover { background: var(--bad-soft); color: var(--bad); }

.cel { position: fixed; left: 50%; bottom: 28px; z-index: 115; display: flex; align-items: center; gap: 14px; max-width: min(440px, calc(100vw - 24px)); padding: 12px 20px 12px 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); transform: translateX(-50%); animation: celin .35s cubic-bezier(.2, .8, .3, 1) both; }
.cel.out { animation: celout .45s ease forwards; } .cel svg { width: 44px; height: 44px; flex: none; } .cel b { display: block; font-size: 15px; } .cel span { display: block; font-size: 13px; color: var(--muted); }
.cel-r { fill: var(--good-soft); stroke: var(--good); stroke-width: 2; stroke-dasharray: 120; stroke-dashoffset: 120; animation: celdraw .6s .1s ease forwards; } .cel-c { fill: none; stroke: var(--good); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: celdraw .4s .5s ease forwards; }
@keyframes celin { from { opacity: 0; transform: translate(-50%, 14px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } } @keyframes celout { to { opacity: 0; transform: translate(-50%, 8px); } } @keyframes celdraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .cel, .cel.out { animation: none; } .cel.out { opacity: 0; } .cel-r, .cel-c { animation: none; stroke-dashoffset: 0; } }

.cmp-bar { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; color: var(--muted); } .cmp-bar select { font: 600 12px var(--font); padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink); width: auto; }
.cmp-l { fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-dasharray: 6 5; stroke-linecap: round; stroke-linejoin: round; opacity: .85; } .cmp-t { font: 600 12px var(--font); fill: var(--ink-2); }

.chart-box.nt-ok .nt-mk { bottom: 40px; }

/* My pages in the flat menu: each row has its own up / down / remove buttons */
.wsfly .wf-row { display: flex; align-items: center; gap: 4px; border-radius: 7px; } .wsfly .wf-row .wf { flex: 1; min-width: 0; }
.wsfly .wf-row .mp-ctl { display: inline-flex; gap: 1px; opacity: .55; } .wsfly .wf-row:hover .mp-ctl, .wsfly .wf-row:focus-within .mp-ctl { opacity: 1; }
.wsfly .wf-row .mp-ctl button { border: 0; background: none; color: var(--muted); font: 600 12px var(--font); width: 22px; height: 24px; border-radius: 5px; cursor: pointer; padding: 0; }
.wsfly .wf-row .mp-ctl button:hover:not(:disabled) { background: var(--hover); color: var(--ink); } .wsfly .wf-row .mp-ctl button[data-mp=rm]:hover { color: var(--bad, #c0392b); } .wsfly .wf-row .mp-ctl button:disabled { opacity: .3; cursor: default; }

/* Dashboard region: no small glyph tiles (the menu keeps its icons) */
#vbody .ico:not(.tl-d), #vbody .cp-gi, #vbody .cp-mini { display: none !important; }
#vbody .tl-i .tl-d { width: 10px; height: 10px; min-width: 10px; border-radius: 50%; background: var(--brand) !important; box-shadow: 0 0 0 3px var(--brand-soft); } #vbody .tl-i .tl-d svg { display: none; }
#vbody .ins { grid-template-columns: minmax(0, 1fr); } #vbody .tl-i .tl-d { justify-self: center; margin-top: 5px; }
@media (min-width: 761px) { #vbody .cp-gh { grid-template-columns: 30px minmax(0, 1fr) auto 110px 20px; } }

/* Dashboard type scale: row titles and labels are 14px / semibold, never large and heavy (numbers and page titles keep their own sizes) */
:where(#vbody) :is(b, strong) { font-size: 14px; font-weight: 600; }
#vbody .rc-name, #vbody .tl-t, #vbody .lb-n { font-size: 14px; font-weight: 600; }
:where(#vbody) :is(h3, h4) { font-weight: 650; }
html:not([data-style=plain]) #vbody h3, html:not([data-style=plain]) #vbody h4 { font-size: 15px; }
#vbody .ins b { font-size: 14px; }
/* My pages in the expanded flat menu: the list opens beside it on hover or focus */
html[data-style=plain] .shell:not(.collapsed) .wsi.mp-ws:hover > .wsfly, html[data-style=plain] .shell:not(.collapsed) .wsi.mp-ws:focus-within > .wsfly { display: block; position: fixed; left: 262px; top: var(--fy, 60px); z-index: 95; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--depth-hi); }
html[data-style=plain] .shell:not(.collapsed) .wsi.mp-ws > .wsfly::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 12px; }

.cc-svgw .nt-mk { bottom: 30px; } .cc-card.nt-ok svg.chart { cursor: copy; } .cc-card .nt-hint { margin-top: 4px; }
/* guide line that follows the mouse over time charts */
.xhair { position: absolute; width: 0; border-left: 1px dashed var(--muted); opacity: .7; pointer-events: none; z-index: 2; }
.xhair[hidden] { display: none; }
/* My pages controls overlay the row, so hovering never changes the row's width or height */
.mp-row .mp-ctl { display: inline-flex; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); padding: 0 0 0 4px; opacity: 0; pointer-events: none; background: var(--hover); border-radius: 7px; }
.mp-row:hover .mp-ctl, .mp-row:focus-within .mp-ctl { opacity: 1; pointer-events: auto; }
/* Browser view, collapsed rail: click an item and its flyout opens (same as Default and Minimal) */
html[data-style=plain] .shell.collapsed .wsi.has-sub.fly > .wsfly { display: block; }
html[data-style=plain] .shell.collapsed .wsi.has-sub.fly > .wl { background: var(--hover); }
/* TapFix (dashboard) */
.tfd-hero { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, var(--card)), var(--card)); } .tfd-hero h3 { font-size: 22px; letter-spacing: -.02em; margin: 2px 0 4px; } .tfd-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); } .tfd-go { display: flex; gap: 10px; flex-wrap: wrap; }
.tfd-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; } .tfd-row h3 { margin: 0; font-size: 16px; }
.tfd-sw { position: relative; width: 48px; height: 28px; flex: none; } .tfd-sw input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; } .tfd-sw span { position: absolute; inset: 0; border-radius: 99px; background: var(--line, #d5dcec); transition: .2s; } .tfd-sw span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: .2s; } .tfd-sw input:checked + span { background: var(--good, #0fbf8a); } .tfd-sw input:checked + span::after { transform: translateX(20px); } .tfd-sw input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.tfd-h { margin: 24px 0 10px; font-size: 18px; } .tfd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.tfd-mt { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .tfd-m h3 { font-size: 15.5px; margin: 0 0 4px; line-height: 1.25; }
.tfd-pill { flex: none; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--hover, #eef2fb); color: var(--muted); } .tfd-pill.complete { background: color-mix(in srgb, var(--good, #0fbf8a) 18%, transparent); color: var(--good, #0a8a64); } .tfd-pill.going { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }
.tfd-bar { height: 8px; border-radius: 99px; background: var(--hover, #eef2fb); overflow: hidden; margin-top: 8px; } .tfd-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--good, #0fbf8a)); transition: width .6s; }
.tfd-steps, .tfd-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; } .tfd-steps li { display: flex; align-items: center; gap: 8px; } .tfd-steps small { margin-left: auto; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfd-tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line, #cfd7ea); font-size: 12px; color: #fff; flex: none; } .tfd-steps li.done .tfd-tick { background: var(--good, #0fbf8a); border-color: var(--good, #0fbf8a); }
.tfd-fin { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--good, #0fbf8a) 12%, transparent); font-size: 13px; } .tfd-fin.flat { background: var(--hover, #eef2fb); } .tfd-fin.down { background: color-mix(in srgb, var(--bad, #ef5a5a) 12%, transparent); }
.tfd-jobs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.legal-grid > * { min-width: 0; } .legal-body { overflow-wrap: anywhere; }

/* ---- Agent-Ready (view-agent.js) ---- */
.ar-top { grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: stretch; margin-bottom: 4px; } .ar-top > * { min-width: 0; }
.ar-head { font-size: 17px; margin: 6px 0 10px; line-height: 1.35; } .ar-head b { font-size: 26px; font-variant-numeric: tabular-nums; }
.ar-split { display: flex; height: 16px; border-radius: 99px; overflow: hidden; background: var(--track, #e8ecf5); } .ar-split i { display: block; height: 100%; min-width: 2px; }
.ar-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; } .ar-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ar-radar { width: 100%; max-width: 270px; display: block; margin: 0 auto 6px; } .ar-rl { font-size: 12px; fill: var(--ink-2, var(--ink)); font-weight: 600; }
.ar-pl { display: grid; gap: 8px; } .ar-p b { font-size: 13px; } .ar-p span { font-size: 13px; }
.ar-dots { display: inline-flex; gap: 3px; align-items: center; } .ar-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.ar-eyewrap { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr); gap: 14px; align-items: start; } .ar-eyewrap > * { min-width: 0; }
.ar-left { padding: 12px; } .ar-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .ar-chips .chip { height: 30px; padding: 0 11px; font-size: 13px; } .ar-chips .chip[aria-pressed=true] { border-color: var(--brand); color: var(--brand); }
.ar-rows { display: grid; gap: 2px; max-height: 640px; overflow: auto; }
.ar-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; cursor: pointer; color: inherit; font: inherit; } .ar-row:hover { background: var(--hover, #eef2fb); } .ar-row.on { border-color: var(--brand); background: var(--hover, #eef2fb); }
.ar-rt { display: grid; gap: 1px; min-width: 0; } .ar-rt b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ar-rt .tiny { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-rm { display: grid; justify-items: end; gap: 3px; flex: none; }
.ar-right { position: sticky; top: 12px; } .ar-empty { text-align: center; padding: 36px 18px; }
.ar-eye { display: grid; grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.5fr); gap: 14px; } .ar-eye > * { min-width: 0; }
.ar-h { margin: 0 0 8px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ar-shopper { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 6px; justify-items: start; background: var(--surface); } .ar-img { width: 100%; aspect-ratio: 4/3; border-radius: 10px; background: var(--soft, #f1f4fa); display: grid; place-items: center; color: var(--muted); } .ar-img svg { width: 34px; height: 34px; } .ar-price { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ar-fields { width: 100%; border-collapse: collapse; font-size: 13.5px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft, #f6f8fc); border-radius: 12px; overflow: hidden; } .ar-fields th, .ar-fields td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .ar-fields th { color: var(--muted); font-weight: 600; width: 38%; font-family: inherit; }
.ar-miss, .ar-bad { color: var(--bad); font-weight: 700; } .ar-warn { color: var(--amber); font-weight: 700; } .ar-dead { padding: 14px; border-radius: 12px; border: 1px dashed var(--bad); }
.ar-journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; } .ar-journey li { display: flex; gap: 12px; padding: 6px 0; position: relative; } .ar-journey li:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 24px; bottom: -6px; width: 2px; background: var(--line); } .ar-jd { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 3px; box-shadow: 0 0 0 3px var(--surface); }
.ar-code { width: 100%; box-sizing: border-box; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft, #f6f8fc); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px; resize: vertical; }
.ar-todo { margin: 0; padding-left: 18px; font-size: 13px; } .ar-todo li { margin: 2px 0; }
.ar-pgrid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.switch-row { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; } .switch-row input { width: 18px; height: 18px; }
.ar-how summary { cursor: pointer; }
@media (max-width: 1100px) { .ar-top { grid-template-columns: 1fr 1fr; } .ar-top > :last-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .ar-eyewrap { grid-template-columns: 1fr; } .ar-right { position: static; } .ar-eye { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ar-top { grid-template-columns: 1fr; } }

/* Small capital-letter kickers above headings were removed from the marketing pages (round 49) */
.fr-k, .eyebrow, .hc-eyebrow, .fs-kick, .fh-tag { display: none !important; }

/* Phone width: the toolbar (edition switch + four icon buttons) was 430px wide and pushed the whole dashboard 48px sideways. Let it wrap. */
@media (max-width: 600px) { .dbar .dtools, html[data-style=plain] .dbar .dtools { flex-wrap: wrap; max-width: 100%; justify-content: flex-end; row-gap: 6px; } }
@media (max-width: 600px) { .page-head > .row, .page-head > div { max-width: 100%; min-width: 0; } .page-head > .row { flex-wrap: wrap; } }
.fbeta{margin-top:10px;text-align:center;font-size:12px;letter-spacing:.02em;color:rgba(255,255,255,.55)}
.fbeta::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#f5a524;margin-right:6px;vertical-align:middle}

/* tools that are not in the customer's plan: visible, with a lock */
.nav a.locked, .wsfly a.locked, .wtabs a.locked { opacity: .62; }
.lockm { margin-left: auto; display: inline-flex; align-items: center; color: var(--muted); }
.lockm svg { width: 14px; height: 14px; opacity: .9; }
.wtabs .lockm { margin-left: 6px; }
.credit-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card, #fff); border-radius: 99px; padding: 5px 12px 5px 10px; font-size: 13px; font-weight: 650; color: var(--ink); cursor: pointer; white-space: nowrap; }
.credit-chip:hover { background: var(--soft); } .credit-chip .cc-bar { width: 44px; height: 6px; border-radius: 99px; background: #e6ebf5; overflow: hidden; display: inline-block; } .credit-chip .cc-bar i { display: block; height: 100%; }
.credit-chip[data-state=low] { border-color: #f5a524; } .credit-chip[data-state=critical], .credit-chip[data-state=empty] { border-color: #e5384f; color: #b3263a; }
.credit-chip .cc-top { border: 0; background: var(--brand); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 700; cursor: pointer; margin-left: 2px; }
.credit-chip { cursor: default; padding: 4px 6px 4px 10px; }
.credit-chip:hover { background: var(--card, #fff); }
.credit-chip[data-state=critical] .cc-top, .credit-chip[data-state=empty] .cc-top { background: #e5384f; }
.credit-meter { margin: 10px 0 8px; }

/* v37z88r 5 + 6. Add a brand and Write my website: brand green, colour only */
#of > .btn.primary:not(#z), #w-go.btn.primary:not(#z) { background: #15803d !important; color: #fff !important; border-color: #166534 !important; }
#of > .btn.primary:not(#z):hover, #w-go.btn.primary:not(#z):hover { background: #166534 !important; }
