/* eSterling Audits. The eSterling website's look: ink hero with the faint dot grid, light sand page,
 * white cards, Inter with Barlow labels, accent blue and lime highlights, pill buttons. */
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('/fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('/fonts/barlow-500.woff2') format('woff2'); }

:root {
  --ink: #05060c; --ink-2: #0f1117; --ink-3: #12141b; --paper: #f6f5f2; --card: #fff; --line: #e4e3de;
  --accent: #1a56ff; --lime: #c6f24d; --body: #141414; --muted: #6f7076; --muted-2: #8a8b90;
  --on-dark: #fff; --on-dark-body: rgba(255,255,255,.72); --on-dark-muted: rgba(255,255,255,.5); --on-dark-line: rgba(255,255,255,.12);
  --error: #c2261b; --error-bg: #fdf0ee; --ok: #1f9d55;
  --radius: 18px; --shadow: 0 1px 2px rgba(5,6,12,.05), 0 14px 34px -16px rgba(5,6,12,.25);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--body); background: var(--paper);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, sans-serif; font-feature-settings: "cv11" 1; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3 { letter-spacing: -.02em; margin: 0; line-height: 1.15; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
main { flex: 1; }

/* Top bar */
.topbar { background: var(--ink); border-bottom: 1px solid var(--on-dark-line); position: sticky; top: 0; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; }
.logo img { height: 24px; width: auto; }
.logo small { font-weight: 500; color: var(--on-dark-muted); font-size: 15px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.18); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--on-dark-line);
  background: rgba(255,255,255,.04); color: var(--on-dark-body); font: 600 13.5px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; }
.nav a:hover, .nav button:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.nav a.on { background: #fff; color: var(--ink); border-color: #fff; }
.queue-pill { display: none; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 600 13px/1 Inter, sans-serif; }
.queue-pill.show { display: inline-flex; }
.queue-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.4s ease-in-out infinite; }

/* Hero: ink with the website's dot grid */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark-body); padding: clamp(36px, 6vw, 64px) 0 clamp(40px, 6vw, 72px); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.5px, transparent 1.5px); background-size: 32px 32px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 55%, transparent 100%); }
.hero::after { content: ''; position: absolute; z-index: -2; inset: auto -10% -60% -10%; height: 120%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 100%, rgba(26,86,255,.35), rgba(26,86,255,0) 70%); }
.eyebrow { font: 500 12.5px/1.4 Barlow, Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198,242,77,.18); }
.hero h1 { color: var(--on-dark); font-size: clamp(32px, 5.6vw, 58px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p.lead { max-width: 640px; margin: 16px 0 0; font-size: clamp(16px, 1.6vw, 18px); color: var(--on-dark-body); }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.trust img { height: 22px; width: auto; opacity: .9; }
.trust .reviews { height: 40px; opacity: 1; }

/* Cards and forms */
.cards { margin-top: -28px; position: relative; z-index: 1; padding-bottom: 48px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.card + .card { margin-top: 18px; }
.card h2 { font-size: 21px; font-weight: 650; }
.card .sub { color: var(--muted); margin: 4px 0 0; font-size: 15px; }
.grid { display: grid; gap: 16px 18px; grid-template-columns: 1fr 1fr; margin-top: 20px; }
.grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
label { display: block; font: 500 12.5px/1.4 Barlow, Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
label .opt { text-transform: none; letter-spacing: 0; font-family: Inter, sans-serif; color: var(--muted-2); font-size: 12.5px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url] {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--body);
  font: 400 17px/1 Inter, sans-serif; transition: border-color .2s, box-shadow .2s; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(26,86,255,.12); }
.field-error { color: var(--error); font-size: 14px; margin-top: 6px; }
.hint { color: var(--muted-2); font-size: 13.5px; margin-top: 6px; }

/* Theme chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 52px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: text; }
.chips:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(26,86,255,.12); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; }
.chip button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.chips input { flex: 1; min-width: 160px; height: 36px; border: 0; padding: 0 6px; font: 400 17px/1 Inter, sans-serif; background: transparent; }
.chips input:focus { outline: none; box-shadow: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--accent); color: #fff; font: 600 16.5px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .4s cubic-bezier(.2,.7,.2,1), background .2s; }
.btn:hover { background: #0f45e6; transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--body); border: 1px solid var(--line); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14.5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.notice { border-radius: 12px; padding: 12px 16px; font-size: 15px; margin-top: 16px; }
.notice.error { background: var(--error-bg); color: var(--error); }
.notice.ok { background: #eef8e6; color: #2f5d0e; }
.notice.wait { background: #fff8e1; color: #6b5200; }

/* Login */
.login { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 16px; }
.login .card { width: 100%; max-width: 420px; }
.login h1 { color: var(--on-dark); font-size: clamp(30px, 5vw, 44px); font-weight: 600; letter-spacing: -.04em; text-align: center; margin-bottom: 22px; }
.login .card label { margin-top: 14px; }
.login .card label.first { margin-top: 0; }
.login-box { width: 100%; max-width: 420px; }
.login .btn { width: 100%; margin-top: 22px; }
body.dark-page { background: var(--ink); }
body.dark-page .login { position: relative; isolation: isolate; }
body.dark-page .login::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.5px, transparent 1.5px); background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 50%, transparent 100%); }

/* Audit page */
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fact { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--on-dark-line); background: rgba(255,255,255,.05); color: var(--on-dark-body); font-size: 14px; font-weight: 500; }
.hero.short { padding-bottom: 56px; }
.progress { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.progress li { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-weight: 500; }
.progress li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); }
.progress li.now { color: var(--body); }
.progress li.now::before { border-color: var(--accent); border-right-color: transparent; animation: spin .9s linear infinite; }
.progress li.done { color: var(--body); }
.progress li.done::before { content: '✓'; border: 0; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.step-text { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; min-height: 1.6em; }
/* The audit, drawn (audits/_report), in SE Ranking's style: white panels with hairline borders, big blue figures,
 * tables with grey header rows. Colours checked with the dataviz validator: the site in the brand blue, competitors in
 * grey (emphasis); ranking bands an ordinal blue ramp; positions use the status colours with an icon and text. */
:root { --r1: #0b2f9e; --r2: #1a56ff; --r3: #8aa6ff; --them: #a9a8a2; --track: #eef0f4;
  --panel-line: #e3e6ec; --head-bg: #f5f7fa; --se-text: #1f2532; --se-muted: #6b7280;
  --good: #0ca30c; --good-text: #006300; --warn: #fab219; --warn-text: #7a5200; --poor: #d03b3b; --poor-text: #a3221f; }
.report { color: var(--se-text); }
.panel { background: #fff; border: 1px solid var(--panel-line); border-radius: 10px; box-shadow: 0 1px 2px rgba(16,24,40,.04); overflow: hidden; }
.wrap.wide { max-width: 1280px; }
/* Tiles: two columns, each section its own panel; overview, summary and the plan run full width */
.report { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; grid-auto-flow: row dense; align-items: stretch; }
.report > .full { grid-column: 1 / -1; }
.report > .panel { min-width: 0; }
@media (max-width: 900px) { .report { grid-template-columns: 1fr; } }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.head-note { font-size: 13px; color: var(--se-muted); white-space: nowrap; }
.stack > div + div { margin-top: 22px; }
#progress-card:not([hidden]) + .report { margin-top: 16px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--panel-line); }
.panel-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--se-text); }
.panel-body { padding: 16px 20px 18px; }
.panel-body:empty { display: none; }
.panel h3 { font-size: 13.5px; font-weight: 600; color: var(--se-muted); margin: 4px 0 12px; letter-spacing: 0; }
.panel-body h3 + .line-chart { margin-top: 0; }
.insight { margin: 0 0 4px; font-size: 15.5px; line-height: 1.55; color: var(--se-text); max-width: 820px; }
.insight + h3, .insight + .split, .insight + .stack { margin-top: 18px; }
.insight.pending, .empty { color: var(--muted-2); }
.insight.pending::after { content: ''; display: inline-block; width: 8px; height: 1em; margin-left: 4px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }

/* Overview: four columns of headline figures, like SE Ranking's domain overview */
.overview { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 0; }
.ov-col { padding: 0 20px; border-left: 1px solid var(--panel-line); display: flex; flex-direction: column; }
.ov-col:first-child { border-left: 0; }
.ov-item + .ov-item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--panel-line); }
.ov-label { font-size: 15px; font-weight: 600; color: var(--se-text); }
.ov-big { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--accent); margin-top: 8px; }
.ov-big.ink { color: var(--se-text); }
.ov-big small { font-size: 14px; font-weight: 500; color: var(--se-muted); margin-left: 2px; }
.ov-unit { font-size: 14px; color: var(--se-muted); }
.ov-rows { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: auto 0 0; padding-top: 16px; font-size: 14px; }
.ov-rows dt { color: var(--se-muted); }
.ov-rows dd { margin: 0; color: var(--accent); font-weight: 500; text-align: right; }
@media (max-width: 860px) {
  .overview { grid-template-columns: 1fr 1fr; padding: 0; }
  .ov-col { padding: 16px 18px; border-top: 1px solid var(--panel-line); }
  .ov-col:nth-child(-n+2) { border-top: 0; }
  .ov-col:nth-child(odd) { border-left: 0; }
}
@media (max-width: 420px) { .overview { grid-template-columns: 1fr; } .ov-col { border-left: 0 !important; } .ov-col:nth-child(2) { border-top: 1px solid var(--panel-line); } }

/* At a glance */
.summary .headline { margin: 0; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; color: var(--se-text); text-wrap: balance; }
.scores { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.score { border: 1px solid var(--panel-line); border-radius: 8px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; }
.score .ico { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: var(--muted-2); }
.score.strong .ico { background: var(--good); }
.score.fair .ico { background: var(--warn); color: #0b0b0b; }
.score.weak .ico { background: var(--poor); }
.score .name { font-weight: 600; color: var(--se-text); font-size: 14.5px; }
.score .rating { font-size: 13px; font-weight: 600; color: var(--se-muted); }
.score.strong .rating { color: var(--good-text); }
.score.fair .rating { color: var(--warn-text); }
.score.weak .rating { color: var(--poor-text); }
.score small { grid-column: 1 / -1; color: var(--se-muted); font-size: 13px; line-height: 1.4; margin-top: 6px; }

/* Segmented bar (one whole in parts) and its legend */
.seg { display: flex; gap: 2px; height: 28px; }
.seg .part { border-radius: 4px; display: flex; align-items: center; padding-left: 8px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; min-width: 4px; }
.seg .r1 { background: var(--r1); } .seg .r2, .seg .b1 { background: var(--r2); } .seg .r3, .seg .b2 { background: var(--r3); color: #0b0b0b; }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--se-muted); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend b { color: var(--se-text); font-weight: 600; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw.r1 { background: var(--r1); } .sw.r2, .sw.b1 { background: var(--r2); } .sw.r3, .sw.b2 { background: var(--r3); }

/* Tables: grey header row, hairline rows, blue figures (SE Ranking) */
.tbl { display: grid; grid-template-columns: minmax(130px, 40%) 1fr auto auto; font-size: 14px; }
.tbl .tr { display: contents; }
.tbl .tr > span { padding: 10px 14px; border-top: 1px solid var(--panel-line); display: flex; align-items: center; min-width: 0; }
.tbl .tr > span:first-child { padding-left: 20px; }
.tbl .tr > span:last-child { padding-right: 20px; }
.tbl .th > span { background: var(--head-bg); font-size: 13px; font-weight: 500; color: var(--se-muted); padding-top: 9px; padding-bottom: 9px; }
.tbl .sub > span { background: #fafbfc; font-size: 12.5px; font-weight: 600; color: var(--se-muted); padding-top: 7px; padding-bottom: 7px; }
.tbl .num { justify-content: flex-end; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .blue { color: var(--accent); }
.tbl .muted { color: var(--se-muted); }
.tbl .kw { color: var(--se-text); overflow-wrap: break-word; line-height: 1.35; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl .related .kw { color: var(--se-muted); }
.tbl .tr:not(.th):not(.sub):hover > span { background: #f8faff; }
.tbl .track .bar { height: 10px; border-radius: 0 3px 3px 0; background: var(--r2); }
.tbl .related .bar { background: var(--r3); }
.tbl .bar.them { background: var(--them); }
.tbl .track { padding-left: 4px; }
.pos { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pos i { font-style: normal; width: 17px; height: 17px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; color: #fff; }
.pos.good { color: var(--good-text); } .pos.good i { background: var(--good); }
.pos.warn { color: var(--warn-text); } .pos.warn i { background: var(--warn); color: #0b0b0b; }
.pos.poor { color: var(--poor-text); } .pos.poor i { background: var(--poor); }

/* Competitor table: figure with a thin bar under it in each cell */
.tbl.rivals { grid-template-columns: minmax(130px, 1.5fr) repeat(4, minmax(64px, 1fr)); }
.tbl.rivals .cell { flex-direction: column; align-items: stretch; gap: 5px; }
.tbl.rivals .cell b { font-weight: 600; color: var(--se-text); }
.tbl.rivals .mini { display: flex; justify-content: flex-start; height: 4px; background: var(--track); border-radius: 2px; }
.tbl.rivals .mini .bar { height: 4px; border-radius: 2px; background: var(--them); }
.tbl.rivals .me .mini .bar { background: var(--r2); }
.tbl.rivals .me > span { background: #f3f6ff; }
.tbl.rivals .me .kw { font-weight: 600; }

/* 12-month line, SE Ranking's traffic chart */
.line-chart { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 160px auto; gap: 6px 10px; }
.line-chart .y-axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: var(--se-muted); text-align: right; font-variant-numeric: tabular-nums; margin: -7px 0; }
.line-chart .plot { position: relative; }
.line-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.line-chart .grid { stroke: #e9ecf1; stroke-width: 1; }
.line-chart .area { fill: rgba(26,86,255,.10); }
.line-chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.line-chart .hover { position: absolute; inset: 0; display: flex; }
.line-chart .hover span { flex: 1; }
.line-chart .hover span:hover { background: rgba(26,86,255,.06); }
.line-chart .x-axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 12px; color: var(--se-muted); }
.line-chart .x-axis span { flex: 1; text-align: center; white-space: nowrap; }
.line-chart .x-axis span:first-child { text-align: left; } .line-chart .x-axis span:last-child { text-align: right; }

/* Plan: actions with impact and effort */
.tbl.plan { grid-template-columns: 56px 1fr auto auto; }
.tbl.plan .n { justify-content: center; }
.tbl.plan .tr:not(.th) .n::before { content: none; }
.tbl.plan .tr:not(.th) .n { font-weight: 700; color: var(--accent); }
.tbl.plan .what { flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }
.plan .what b { color: var(--se-text); font-size: 15px; font-weight: 600; }
.plan .what span { color: var(--se-muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.pips { gap: 4px; }
.pip-name { display: none; }
.pips i { width: 14px; height: 8px; border-radius: 2px; background: var(--track); }
.pips i.on { background: var(--r2); }
.pips.effort i.on { background: var(--them); }
@media (max-width: 640px) {
  .tbl { grid-template-columns: 1fr auto auto; }
  .tbl .bc { display: none !important; }
  .tbl .tr > span { padding-left: 10px; padding-right: 10px; }
  .tbl .tr > span:first-child { padding-left: 16px; }
  .tbl .tr > span:last-child { padding-right: 16px; }
  .tbl.rivals { min-width: 580px; }
  .tbl.plan { grid-template-columns: 40px 1fr auto; }
  .tbl.plan .pips:not(.effort) { grid-column: 3; }
  .tbl.plan .pips.effort, .tbl.plan .th > span:last-child { display: none; }
}

.next { background: var(--ink); color: var(--on-dark-body); border: 0; padding: 22px 24px; }
.next h2 { color: #fff; font-size: 20px; }
.next p { margin: 8px 0 0; max-width: 640px; }
.next .contact { color: var(--lime); font-weight: 600; }

/* Bar widths: whole percentages, set by class (no inline styles under the CSP) */
.w0{width:0%} .w1{width:1%} .w2{width:2%} .w3{width:3%} .w4{width:4%} .w5{width:5%} .w6{width:6%} .w7{width:7%} .w8{width:8%} .w9{width:9%} .w10{width:10%} .w11{width:11%} .w12{width:12%} .w13{width:13%} .w14{width:14%} .w15{width:15%} .w16{width:16%} .w17{width:17%} .w18{width:18%} .w19{width:19%} .w20{width:20%} .w21{width:21%} .w22{width:22%} .w23{width:23%} .w24{width:24%} .w25{width:25%} .w26{width:26%} .w27{width:27%} .w28{width:28%} .w29{width:29%} .w30{width:30%} .w31{width:31%} .w32{width:32%} .w33{width:33%} .w34{width:34%} .w35{width:35%} .w36{width:36%} .w37{width:37%} .w38{width:38%} .w39{width:39%} .w40{width:40%} .w41{width:41%} .w42{width:42%} .w43{width:43%} .w44{width:44%} .w45{width:45%} .w46{width:46%} .w47{width:47%} .w48{width:48%} .w49{width:49%} .w50{width:50%} .w51{width:51%} .w52{width:52%} .w53{width:53%} .w54{width:54%} .w55{width:55%} .w56{width:56%} .w57{width:57%} .w58{width:58%} .w59{width:59%} .w60{width:60%} .w61{width:61%} .w62{width:62%} .w63{width:63%} .w64{width:64%} .w65{width:65%} .w66{width:66%} .w67{width:67%} .w68{width:68%} .w69{width:69%} .w70{width:70%} .w71{width:71%} .w72{width:72%} .w73{width:73%} .w74{width:74%} .w75{width:75%} .w76{width:76%} .w77{width:77%} .w78{width:78%} .w79{width:79%} .w80{width:80%} .w81{width:81%} .w82{width:82%} .w83{width:83%} .w84{width:84%} .w85{width:85%} .w86{width:86%} .w87{width:87%} .w88{width:88%} .w89{width:89%} .w90{width:90%} .w91{width:91%} .w92{width:92%} .w93{width:93%} .w94{width:94%} .w95{width:95%} .w96{width:96%} .w97{width:97%} .w98{width:98%} .w99{width:99%} .w100{width:100%}

/* List */
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; font: 500 12px/1.4 Barlow, Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); }
table.list td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #eef0f5; color: var(--muted); }
.tag.done { background: #eef8e6; color: #2f5d0e; }
.tag.failed { background: var(--error-bg); color: var(--error); }
.tag.busy { background: #e8eeff; color: var(--accent); }
.list-wrap { overflow-x: auto; }

.footer { background: var(--ink); color: var(--on-dark-muted); font-size: 13.5px; padding: 22px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }

@media (max-width: 560px) {
  .logo small { display: none; }
  .nav { gap: 4px; }
  .nav a, .nav button { height: 32px; padding: 0 11px; font-size: 13px; }
  .queue-pill { position: fixed; left: 16px; right: 16px; bottom: 16px; justify-content: center; height: 40px; z-index: 30; box-shadow: var(--shadow); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .35; } }

@media print {
  .topbar, .footer, .actions, .no-print { display: none !important; }
  body { background: #fff; }
  .hero { background: #fff; color: #333; padding: 0 0 16px; }
  .hero::before, .hero::after { display: none; }
  .hero h1 { color: var(--ink); }
  .eyebrow, .fact { color: var(--muted); }
  .fact { border-color: var(--line); }
  .cards { margin-top: 0; }
  .card { box-shadow: none; padding: 0; break-inside: avoid; }
  .panel { break-inside: avoid; box-shadow: none; }
  .report { gap: 14px; }
  .next { background: #fff; color: var(--body); }
  .next h2 { color: var(--ink); }
  .next .contact { color: var(--accent); }
  .seg .part, .tbl .bar, .tbl .th > span, .mini, .sw, .pips i, .score .ico, .pos i, .line-chart .area, .next { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Retainer options: two cards side by side */
.retainers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding: 20px; }
.retainer { border: 1px solid var(--panel-line); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.retainer.local { border-top: 4px solid var(--accent); }
.retainer.wider { border-top: 4px solid var(--se-text); }
.retainer .tag { align-self: flex-start; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.retainer.wider .tag { color: var(--se-text); }
.retainer h3 { margin: 0; font-size: 18px; color: var(--se-text); }
.retainer p { margin: 0; color: var(--se-muted); font-size: 14px; line-height: 1.5; }
.retainer ul { margin: 4px 0; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--se-text); }
.retainer .outcome { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--panel-line); color: var(--se-text); font-weight: 500; }
