/* The free tools (Website Check, Google Ads Check): the check form and the report. Loaded after agency.css, which carries
   the Design Spec v3 tokens; everything here asks for token names. Statuses use the spec's six tones (section 2): good is
   --ok, worth fixing is --attn, fix first is --bad, a note is --off. Light only. */

.tool-hero .hero-body { margin-bottom: 28px; }
.check-form { display: flex; gap: 10px; max-width: 640px; flex-wrap: wrap; }
.check-form input[type="text"], .check-form input[type="url"] {
  flex: 1 1 300px; min-width: 0; font: inherit; font-size: 17px; min-height: 52px; padding: 0 16px; border: 1px solid var(--field-line);
  border-radius: var(--r-sm); background: var(--field); color: var(--text); box-shadow: var(--field-shadow); transition: border-color var(--d2), box-shadow var(--d2);
}
.check-form input[type="text"]:hover, .check-form input[type="url"]:hover { border-color: var(--text-2); }
.check-form input:focus { outline: none; border-color: var(--brand); box-shadow: var(--field-shadow), 0 0 0 4px var(--brand-ring); }
.check-form input::placeholder { color: var(--muted); }
.check-form button { font: inherit; font-size: 15px; font-weight: 800; min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid transparent; color: var(--brand-ink); cursor: pointer;
  background: linear-gradient(180deg, var(--brand-top), var(--brand)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(20, 25, 31, .18), 0 8px 18px -10px var(--brand-glow);
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2) var(--ease-out), background var(--d2); }
.check-form button:hover { background: linear-gradient(180deg, var(--brand), var(--brand-hover)); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 4px rgba(20, 25, 31, .2), 0 14px 26px -12px var(--brand-glow); }
.check-form button:active { transform: scale(.97); transition-duration: var(--d1); }
.check-form button:disabled { opacity: .45; cursor: default; transform: none; }
.wc-kind { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 640px; }
.wc-kind legend { float: left; padding: 0; margin: 0 6px 0 0; font-size: 14px; color: var(--text-2); }
.wc-kind legend span { color: var(--muted); }
.wc-kind label { position: relative; cursor: pointer; }
.wc-kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wc-kind label span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text-2); transition: border-color var(--d1), color var(--d1), background var(--d1); }
.wc-kind label:hover span { border-color: var(--text-2); }
.wc-kind input:checked + span { border-color: var(--brand); color: var(--brand-text); background: var(--brand-wash); }
.wc-kind input:focus-visible + span { box-shadow: 0 0 0 4px var(--brand-ring); }
.adsr .pf-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: calc(var(--s10) * -1 + 16px) 0 var(--s10); font-size: 14px; color: var(--ink-muted); }
.adsr .pf-kind b { color: var(--ink-text); font-weight: 700; }
.adsr .pf-kind button { font: inherit; font-size: 13px; font-weight: 700; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--ink-line); background: transparent; color: var(--ink-text); cursor: pointer; }
.adsr .pf-kind button:hover { border-color: var(--brand-on-ink); color: var(--brand-on-ink); }
.check-ts { flex-basis: 100%; }
.check-ts:empty { display: none; }
.check-status { min-height: 22px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.check-status.err { color: var(--bad); font-weight: 600; }
.preview-flag { display: inline-flex; gap: 6px; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-wash); border-radius: var(--r-pill); padding: 6px 10px; margin-bottom: 16px; }
.preview-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.fresh-opt { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.fresh-opt input { accent-color: var(--brand); }

/* Progress while a check runs */
.progress { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; max-width: 640px; }
.progress[hidden], .fresh-opt[hidden], .preview-flag[hidden] { display: none; }
.progress li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.progress li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.progress li.on { color: var(--text); }
.progress li.on::before { border-color: var(--brand); border-top-color: transparent; animation: spin 900ms linear infinite; }
.progress li.done::before { background: var(--ok-dot); border-color: var(--ok-dot); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .progress li.on::before { animation: none; } }

/* Report */
.report { padding: 72px 0 96px; background: var(--bg); border-top: 1px solid var(--line); }
.report[hidden] { display: none; }
.rep-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 32px; }
.rep-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; margin: 0 0 8px; overflow-wrap: anywhere; }
.rep-meta { color: var(--muted); font-size: 14px; margin: 0; }
.rep-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.rep-acts button, .rep-acts a { display: inline-flex; align-items: center; font: inherit; font-size: 13.5px; font-weight: 800; min-height: var(--control-h-sm); padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; box-shadow: var(--e1);
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2) var(--ease-out), border-color var(--d2); }
.rep-acts button:hover, .rep-acts a:hover { border-color: var(--text-2); box-shadow: var(--e2); transform: translateY(-1px); }
.rep-acts button:active, .rep-acts a:active { transform: scale(.97); }

/* the surface recipe (spec 1d) on every card in a report */
.tile, .find, .fixes, .option, .rep-cta, .pick-list button, .ng-card, .hm-card {
  border: 1px solid transparent;
  background: radial-gradient(280px circle at var(--mx, 25%) var(--my, -12%), var(--card-glint), transparent 65%) padding-box, var(--card-fill) padding-box, var(--card-rim) border-box;
  box-shadow: var(--e1);
}
/* stat tiles (spec B4 .stats): label, number, note, lined up across the row */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 48px; }
.tile { border-radius: var(--r-md); padding: 18px 20px; }
.tile small { display: block; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile b { display: block; font-size: clamp(28px, 2.4vw, 36px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.tile span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.tile.good b { color: var(--ok); } .tile.warn b { color: var(--attn); } .tile.bad b { color: var(--bad); }
/* Website Check area scores (v2 step 4): ink numbers and a brand bar, no verdict colours */
.areas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.areas .ar { display: block; width: 100%; text-align: left; font: inherit; color: var(--text); cursor: pointer; padding: 16px 16px 14px; }
.areas .ar:hover { box-shadow: var(--e2); }
.areas .ar small { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-height: 2.6em; }
.areas .ar b { display: block; font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.areas .ar i { display: block; height: 4px; border-radius: 2px; background: var(--line-soft); margin-top: 12px; overflow: hidden; font-style: normal; }
.areas .ar i::before { content: ""; display: block; height: 100%; width: var(--v, 0%); background: var(--brand); border-radius: 2px; }
.areas .ar span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.areas-note { margin-top: 14px; }
/* Before and after (v3 item 1): ink only, the change shown as a signed number */
.areas .ar b .ar-d { font: 600 13px/1 var(--mono); letter-spacing: 0; color: var(--brand-text); font-style: normal; margin-left: 8px; vertical-align: 6px; }
.rep-compare { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--brand-wash); border: 1px solid var(--brand-line); }
.rep-compare .cmp-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.rep-compare .cmp-k { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.rep-compare .cmp-h b { font-size: 16px; font-weight: 800; }
.rep-compare details { margin-top: 8px; }
.rep-compare .cmp-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.rep-compare .cmp-list li { display: flex; gap: 10px; align-items: baseline; }
.rep-compare .cmp-list i { font-style: normal; font-weight: 800; width: 14px; flex: none; color: var(--brand-text); }
.rep-compare .cmp-list li.new i { color: var(--text); }
.rep-compare .cmp-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.area-rest { display: grid; gap: 10px; margin-top: 28px; }
.area-rest > details { border-top: 1px solid var(--line); padding-top: 10px; }
.area-rest > details > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 16px; padding: 6px 0; }
.area-rest > details > summary::-webkit-details-marker { display: none; }
.area-rest > details > summary::after { content: "+"; margin-left: auto; color: var(--brand-text); font-weight: 600; }
.area-rest > details[open] > summary::after { content: "\2212"; }
.area-rest > details > summary span { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.area-rest .finds { margin-top: 10px; }
.area-rest-k { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.rep-sec { margin-bottom: 56px; }
.rep-sec > h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 6px; }
.rep-sec > p { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.finds { display: grid; gap: 12px; }
.find { border-radius: var(--r-nest); padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
.find .mk { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-weight: 800; margin-top: 1px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.find.weak .mk { background: var(--bad-wash); color: var(--bad); }
.find.weak.medium .mk { background: var(--attn-wash); color: var(--attn); }
.find.weak.low .mk { background: var(--off-wash); color: var(--off); }
.find.strong .mk { background: var(--ok-wash); color: var(--ok); }
.find.note .mk { background: var(--off-wash); color: var(--off); }
/* a finding marked "note" also matches the site's .note callout (agency.css): keep it a finding card (fixed 16 Nov 2026,
   the callout's bar was showing as a wide brown block above "Worth knowing" items) */
.find.note { grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin-top: 0; padding: 18px 20px; border-radius: var(--r-nest); }
.find.note::before { content: none; }
.find .fb { min-width: 0; }
.find h4 { font-size: 16px; font-weight: 800; letter-spacing: -0.015em; margin: 0; line-height: 1.35; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* tags (spec section 2): mono, a dot and words in a tone */
.find .pr { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--r-pill); background: var(--off-wash); color: var(--off); }
.find .pr::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--off-dot); flex: none; }
.find .pr.high { background: var(--bad-wash); color: var(--bad); } .find .pr.high::before { background: var(--bad-dot); }
.find .pr.medium { background: var(--attn-wash); color: var(--attn); } .find .pr.medium::before { background: var(--attn-dot); }
.find .grp { font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.find p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.find p.why { color: var(--muted); }
.find p.start b { font-weight: 800; }
.find a.go { font-size: 14px; font-weight: 800; color: var(--brand-text); text-decoration: none; margin-top: 6px; display: inline-block; }
.find a.go:hover { text-decoration: underline; text-underline-offset: 3px; }
.finds.compact .find p.why, .finds.compact .find p.start { display: none; }

/* a choice is a centred card (Lewis's rule and spec B4 .choice) */
.rep-cta { border-radius: var(--r-md); padding: 36px 32px; text-align: center; }
.rep-cta h3 { font: 700 22px/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 10px; } /* the card title of Figma "V5 Report closing" and V5 Done card: 22 Bold, 19 on phones (2 Dec 2026) */
.rep-cta p { color: var(--text-2); margin: 0 auto 22px; max-width: 560px; line-height: 1.6; font-size: 17px; }
.rep-cta .btn-row { justify-content: center; }
.rep-more { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
/* The link after the question in ink with a brand arrow, as Figma's "Prefer LinkedIn? Message me there →" (Lewis, 1 Dec 2026:
   no links inside sentences) */
.rep-more a { color: var(--text); font-weight: 600; text-decoration: none; }
.rep-more a span { color: var(--brand); }

.checks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; list-style: none; padding: 0; margin: 0; }
.checks-list li { padding-left: 26px; position: relative; line-height: 1.55; }
.checks-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.checks-list b { display: block; font-weight: 800; letter-spacing: -0.01em; }
.checks-list span { color: var(--muted); font-size: 15px; }

/* Priced fixes (Google Ads Check) */
.fixes { border-radius: var(--r-md); overflow: hidden; }
.fix-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.fix-row:last-child { border-bottom: 0; }
.fix-acts { margin: 0 0 12px; }
.fix-row input { width: 20px; height: 20px; accent-color: var(--brand); }
.fix-row .t { font-weight: 700; font-size: 15px; }
.fix-row .s { font-size: 13px; color: var(--muted); }
.fix-row .h { font-size: 13px; color: var(--muted); white-space: nowrap; }
.fix-row .p { font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fix-start { background: var(--brand-wash); }
.fix-start .fix-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); justify-self: center; }
.fix-ai { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); vertical-align: 1px; white-space: nowrap; }
.fix-ai::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.options.one { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
.option { border-radius: var(--r-md); padding: 26px 24px; text-align: center; }
.option.best { background: radial-gradient(280px circle at var(--mx, 25%) var(--my, -12%), var(--card-glint), transparent 65%) padding-box, var(--card-fill) padding-box, linear-gradient(var(--brand), var(--brand)) border-box; box-shadow: var(--e2); }
.option h4 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.option .big { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0; font-variant-numeric: tabular-nums; }
.option p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.option .tag { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-wash); border-radius: var(--r-pill); padding: 5px 9px; margin-bottom: 8px; }
.option .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.option button { font: inherit; font-weight: 800; font-size: 15px; min-height: var(--control-h); padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; color: var(--brand-ink); cursor: pointer;
  background: linear-gradient(180deg, var(--brand-top), var(--brand)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -10px var(--brand-glow); }
.option button:disabled { opacity: .45; cursor: default; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checks-list { grid-template-columns: minmax(0, 1fr); }
  .options { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .report { padding: 48px 0 72px; }
  .check-form button { flex: 1 1 100%; }
  .tile b { font-size: 28px; }
  .find, .find.note { padding: 16px; gap: 4px 12px; }
  .rep-cta { padding: 28px 20px; }
  .fix-row { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .fix-row .h { grid-column: 2; grid-row: 2; }
}

/* Google Ads Check: the connection steps */
.steps-card { max-width: 640px; }
.steps-card[hidden], .checkout-preview[hidden] { display: none; }
.steps-card + .steps-card { margin-top: 18px; }
.steps-card.soon { border: 1px dashed var(--line-2); border-radius: var(--r-nest); padding: 18px 20px; background: color-mix(in oklab, var(--surface) 60%, transparent); }
.steps-card.soon button:disabled { opacity: .45; cursor: default; }
.step-h { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px; }
.invite-steps { margin: 0 0 22px; padding-left: 22px; line-height: 1.7; font-size: 16px; }
.invite-steps a { color: var(--brand-text); font-weight: 700; }
.invite-steps .mgr { font-family: var(--mono); font-size: .92em; font-variant-numeric: tabular-nums; background: var(--brand-wash); padding: 1px 6px; border-radius: 6px; }
.steps-card .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.steps-card button.btn-filled, .steps-card button.btn-outline { font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.find .cost { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.find .cost b { color: var(--text); font-variant-numeric: tabular-nums; }
.checkout-preview { margin-top: 20px; border: 1px dashed var(--brand-line); border-radius: var(--r-nest); padding: 20px; background: var(--surface-2); font-size: 14px; line-height: 1.6; }
.checkout-preview h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.checkout-preview ol { margin: 8px 0 0; padding-left: 20px; }
@media print {
  .site-header, .nav-drawer, .tool-hero, #what, .sec-cream, .contact-sec, .site-footer, .rep-acts, .options button, .rep-cta .btn-row, .rep-more, .checkout-preview { display: none !important; }
  .report { padding: 0; background: var(--surface); border: 0; }
  .find, .tile, .fixes, .option { break-inside: avoid; box-shadow: none; }
}

/* Google Ads Check: "Sign in with Google" (Google's own button style: white, grey outline, the G mark) and the account
   picker. The --gsi-* values are Google's own button colours, which its branding rules fix, so they are set here and
   not taken from the brand. */
.signin-card { margin-bottom: 18px; }
.gsi-btn { --gsi-text: #1F1F1F; --gsi-edge: #747775; --gsi-hover: #F8F9FA; --gsi-fill: #fff;
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 12px; background: var(--gsi-fill); color: var(--gsi-text); border: 1px solid var(--gsi-edge); border-radius: 4px; font: 500 15px/1 Roboto, "Helvetica Neue", Arial, sans-serif; text-decoration: none; letter-spacing: .1px; }
.gsi-btn:hover { background: var(--gsi-hover); box-shadow: 0 1px 2px rgba(60, 64, 67, .3); }
.gsi-btn svg { width: 20px; height: 20px; flex: none; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 22px 0 14px; max-width: 640px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pick-list { display: grid; gap: 10px; margin-bottom: 16px; }
.pick-list button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; padding: 14px 16px; border-radius: var(--r-nest); cursor: pointer; color: var(--text);
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2) var(--ease-out); }
.pick-list button:hover { transform: translateY(-1px); box-shadow: var(--e2); }
.pick-list button:disabled { opacity: .45; cursor: default; transform: none; }
.pick-list b { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.pick-list small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.pick-list .go { color: var(--brand-text); font-weight: 800; white-space: nowrap; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-text); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Google Ads Check report: words in your searches (n-grams) and when conversions come in (day by hour), 18 Nov 2026 */
.ng-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s4); }
.ng-tabs.sub { margin-top: calc(-1 * var(--s2)); }
.ng-tabs button { font-family: inherit; font-weight: 700; font-size: 13.5px; line-height: 1; padding: 9px 15px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.ng-tabs.sub button { font-size: 12.5px; padding: 7px 12px; }
.ng-tabs button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.ng-card, .hm-card { border-radius: var(--r-md); overflow: hidden; }
.ng-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ng-table th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ng-table td { padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.ng-table tr:last-child td { border-bottom: 0; }
.ng-table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Website Check: the pages the site scan read (rules v7) */
.pg-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.pg-table th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pg-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.pg-table tr:last-child td { border-bottom: 0; }
.pg-table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-table .pg-path { font: 500 13px/1.4 var(--mono); color: var(--text); word-break: break-all; }
.pg-table .pg-t { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pg-table .pg-no { color: var(--bad); font-weight: 600; }
.ng-table td:first-child { font-weight: 700; overflow-wrap: anywhere; }
.ng-table .empty { color: var(--muted); text-align: center; padding: 22px 18px; font-weight: 400; }
.hm-card { padding: 20px 22px; }
.hm { display: grid; grid-template-columns: 40px repeat(var(--cols, 24), minmax(0, 1fr)); gap: 3px; }
.hm span { font: 500 10.5px/1 var(--mono); color: var(--muted); display: flex; align-items: center; }
.hm .hh { justify-content: center; padding-bottom: 4px; }
.hm i { display: block; height: 26px; border-radius: 4px; background: var(--line-soft); }
.hm-key { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: var(--s4); font-size: 12.5px; color: var(--muted); }
.hm-key b { display: block; width: 120px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--line-soft), var(--brand)); }
.ng-note, .rep-sec > p.ng-note { font-size: 13px; color: var(--muted); margin: var(--s6) 0 0; }
@media (max-width: 560px) {
  .ng-table th, .ng-table td { padding: 11px 14px; }
  .ng-table .wide { display: none; }
  .hm-card { padding: 16px; }
  .hm { grid-template-columns: 34px repeat(var(--cols, 6), minmax(0, 1fr)); }
  .hm i { height: 30px; }
}

/* Google Ads Check report, v3 layout (Lewis, 18 Nov 2026: "very flat, no spacing, a whole bunch of words"). Each part
   is its own section on its own background (paper, white, ink) with the tight section padding; the account reading is
   the one ink panel; explanations sit behind a disclosure. Scoped to .adsr so the Website Check report is unchanged. */
.report.adsr { padding: 0; border-top: 0; background: none; }
.adsr .rp { padding: var(--sec-tight) 0; }
.adsr .rp-paper { background: var(--bg); }
.adsr .rp-white { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.adsr .rp-ink { background: var(--ink-panel); color: var(--ink-text); position: relative; overflow: hidden; }
.adsr .rp[hidden] { display: none; }
.adsr .rp-top { scroll-margin-top: 72px; padding-top: var(--s12); }
.adsr .tiles { margin-bottom: 0; }
.adsr .rp-h { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s6); }
.adsr .rp-h h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.035em; margin: 0; }
.adsr .rp-count { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); background: var(--line-soft); padding: 6px 10px; border-radius: var(--r-pill); }
.adsr .rp-lede, .adsr .rp > .page-w > p.rp-lede { color: var(--text-2); font-size: 16px; line-height: 1.55; max-width: 720px; margin: calc(-1 * var(--s2)) 0 var(--s6); }
.adsr .rp-more-info { margin-top: var(--s6); font-size: 14px; color: var(--muted); }
.adsr .rp-more-info summary { cursor: pointer; font-weight: 700; color: var(--brand-text); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.adsr .rp-more-info summary::-webkit-details-marker { display: none; }
.adsr .rp-more-info summary::after { content: "+"; font-weight: 800; }
.adsr .rp-more-info[open] summary::after { content: "\2212"; }
.adsr .rp-more-info p { margin: var(--s3) 0 0; max-width: 720px; line-height: 1.6; }

/* the account reading, on ink */
.adsr .pf-eyebrow { color: var(--brand-on-ink); }
.adsr .pf-h { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; margin: 0 0 var(--s10); max-width: 900px; color: #fff; }
.adsr .pf-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--r-md); overflow: hidden; margin: 0 0 var(--s10); }
.adsr .pf-facts > div { background: var(--ink); padding: 18px 20px; }
.adsr .pf-facts dt { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.adsr .pf-facts dd { margin: 0; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.35; }
.adsr .pf-facts dd small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-muted); margin-top: 4px; }
.adsr .pf-split { margin: 0 0 var(--s10); }
.adsr .pf-bar { display: flex; height: 14px; border-radius: var(--r-pill); overflow: hidden; gap: 2px; background: var(--ink-line); }
.adsr .pf-bar i { display: block; min-width: 4px; }
.adsr .pf-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--s3); font-size: 13px; color: var(--ink-text); }
.adsr .pf-legend span { display: inline-flex; align-items: center; gap: 7px; }
.adsr .pf-legend b { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.adsr .pf-legend em { font-style: normal; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.adsr .pf-th { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--s4); }
.adsr .pf-groups { display: grid; gap: var(--s4); }
.adsr .pf-group { border: 1px solid var(--ink-rim); border-radius: var(--r-md); padding: 18px 22px 8px; background: color-mix(in oklab, #fff 5%, var(--ink)); box-shadow: var(--e1); }
.adsr .pf-gh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 12px; }
.adsr .pf-gh b { color: #fff; font-size: 16px; }
.adsr .pf-gh span { font: 500 11.5px/1 var(--mono); color: var(--ink-muted); }
.adsr .pf-gh em { margin-left: auto; font: 500 12.5px/1 var(--mono); font-style: normal; color: var(--brand-on-ink); font-variant-numeric: tabular-nums; }
.adsr .pf-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 44px 72px 92px; align-items: center; gap: 6px 16px; padding: 12px 0; border-top: 1px solid var(--ink-line); }
.adsr .pf-row > .pf-ci, .adsr .pf-row > .pf-fold { grid-column: 1 / -1; }
.adsr .pf-cn { font-size: 14px; font-weight: 700; color: var(--ink-text); overflow-wrap: anywhere; }
.adsr .pf-ci { font: 500 11.5px/1.4 var(--mono); color: var(--ink-muted); }
.adsr .pf-cbar { height: 6px; border-radius: var(--r-pill); background: var(--ink-line); overflow: hidden; }
.adsr .pf-cbar i { display: block; height: 100%; border-radius: inherit; background: var(--brand-on-ink); }
.adsr .pf-n { font: 500 12px/1.4 var(--mono); color: var(--ink-text); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adsr .pf-fold > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand-on-ink); padding: 4px 0; }
.adsr .pf-fold > summary::-webkit-details-marker { display: none; }
.adsr .pf-fold > summary::after { content: "+"; font-weight: 800; }
.adsr .pf-fold[open] > summary::after { content: "\2212"; }
.adsr .pf-group > .pf-fold { border-top: 1px solid var(--ink-line); padding: 10px 0; }
.adsr .pf-sub > summary { font: 500 12px/1.4 var(--mono); }
.adsr .pf-more { margin-top: var(--s2); }
.adsr .pf-more > summary { padding: 12px 0; }
.adsr .pf-more[open] { display: grid; gap: var(--s4); }
.adsr .pf-ag-list { list-style: none; margin: 8px 0 0; padding: 4px 0 0 var(--s4); border-left: 1px dashed color-mix(in oklab, var(--brand-on-ink) 45%, var(--ink)); display: grid; gap: 8px; }
.adsr .pf-ag-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 128px; align-items: center; gap: 12px; }
.adsr .pf-agn { font-size: 13px; font-weight: 600; color: var(--ink-text); overflow-wrap: anywhere; }
.adsr .pf-st { flex: none; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: var(--r-pill); color: var(--ink-text); background: color-mix(in oklab, #fff 10%, var(--ink)); }
.adsr .pf-st.excellent, .adsr .pf-st.good { color: var(--ok-on-ink); background: color-mix(in oklab, var(--ok-on-ink) 16%, var(--ink)); }
.adsr .pf-st.average { color: var(--brand-on-ink); background: color-mix(in oklab, var(--brand-on-ink) 16%, var(--ink)); }
.adsr .pf-st.poor { color: #fff; background: color-mix(in oklab, var(--bad) 55%, var(--ink)); }

/* findings: title, tone and price; the rest behind "Why and where to start" */
.adsr .finds { gap: var(--s3); }
.adsr .find { grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; padding: 18px 20px; }
.adsr .find .fb { grid-column: 2; }
.adsr .find .px { grid-column: 3; text-align: right; white-space: nowrap; }
.adsr .find .px b { display: block; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.adsr .find .px small { font-size: 12px; color: var(--muted); }
.adsr .find details { margin-top: 8px; }
.adsr .find summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--brand-text); list-style: none; display: inline-flex; gap: 6px; }
.adsr .find summary::-webkit-details-marker { display: none; }
.adsr .find summary::after { content: "+"; font-weight: 800; }
.adsr .find details[open] summary::after { content: "\2212"; }
.adsr .find details p { margin-top: 8px; }
.adsr .oks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.adsr .oks li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-nest); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--e1); font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.adsr .oks li::before { content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; background: var(--ok-wash); color: var(--ok); }
.adsr .rep-cta { margin: 0; }
@media (max-width: 960px) {
  .adsr .rp { padding: 72px 0; }
  .adsr .pf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adsr .oks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .adsr .rp-top { padding-top: var(--s10); }
  .adsr .pf-facts { grid-template-columns: minmax(0, 1fr); }
  .adsr .pf-group { padding: var(--s4) var(--s4) var(--s1); }
  .adsr .pf-row { grid-template-columns: minmax(0, 1fr) auto auto auto; gap: var(--s2) var(--s3); }
  .adsr .pf-row > .pf-cn { grid-column: 1 / -1; }
  .adsr .pf-ag-list li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s3); }
  .adsr .pf-ag-list li .pf-n { grid-column: 1 / -1; text-align: left; color: var(--ink-muted); }
  .adsr .oks { grid-template-columns: minmax(0, 1fr); }
  .adsr .find { grid-template-columns: auto minmax(0, 1fr); }
  .adsr .find .px { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .adsr .find .px b { display: inline; }
}
@media print {
  .adsr .rp { padding: 24px 0; }
  .adsr .rp-ink { background: var(--surface); color: var(--text); }
  .adsr .find details { display: block; }
}

/* Report order and tone (Lewis, 18 Nov 2026): the scene (words, when), then what's working, then what to fix, each
   easy to tell apart; fix cards show what could be at stake, never a price; "Start here" on a raised panel. */
.adsr .rp-tone .rp-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 16px; align-self: center; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), var(--e1); }
.adsr .rp-tone.good .rp-ico { background: var(--ok-wash); color: var(--ok); }
.adsr .rp-tone.fix .rp-ico { background: var(--attn-wash); color: var(--attn); }
.adsr .rp-tone.good h3 { color: var(--ok); }
.adsr #sec-strong { box-shadow: inset 0 4px 0 var(--ok-dot); }
.adsr #sec-weak { box-shadow: inset 0 4px 0 var(--attn-dot); }
.adsr .oks li { border-color: var(--ok-line); }
.adsr .find { grid-template-columns: auto minmax(0, 1fr) minmax(0, 180px); gap: 6px 16px; }
.adsr .find .start-box { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-nest); background: var(--brand-wash); border: 1px solid var(--brand-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), var(--e2); transform: translateY(-1px); }
.adsr .find .start-box .sb-k { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 4px; }
.adsr .find .start-box p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--text); }
.adsr .find .start-box .sb-sub { margin: 12px 0 6px; }
.adsr .find .sb-list { margin: 0; padding: 0 0 0 20px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.adsr .find .sb-list li::marker { color: var(--brand-text); font: 500 12px var(--mono); }
.adsr .find .sb-list .sb-n { display: block; font-size: 13px; color: var(--muted); }
.adsr .find details { margin-top: 10px; }
.adsr .find .px { grid-column: 3; text-align: right; white-space: normal; }
.adsr .find .px .px-k { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.adsr .find .px b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--bad); margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.adsr .find .px small:last-child { display: block; font-size: 12px; line-height: 1.35; color: var(--muted); }
@media (max-width: 560px) {
  .adsr .find { grid-template-columns: auto minmax(0, 1fr); }
  .adsr .find .px { grid-column: 2; grid-row: 2; text-align: left; display: block; }
  .adsr .find .px b { display: block; }
}

/* "Ask me" in place of the priced fixes (Lewis, 18 Nov 2026: no hard selling). A centred card: text, then the button. */
.adsr .ask-card { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 32px; border-radius: var(--r-md); border: 1px solid transparent;
  background: radial-gradient(280px circle at 25% -12%, var(--card-glint), transparent 65%) padding-box, var(--card-fill) padding-box, var(--card-rim) border-box; box-shadow: var(--e1); }
.adsr .ask-card h3 { font: 700 22px/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 var(--s2); }
.adsr .ask-card p { color: var(--text-2); margin: 0 0 var(--s6); font-size: 17px; }
@media (max-width: 560px) { .adsr .ask-card { padding: 28px 20px; } .adsr .ask-card h3 { font-size: 19px; } .adsr .ask-card p { font-size: 16px; } .adsr .ask-card .btn-filled { width: 100%; justify-content: center; } }

/* Structure diagram, one level down (Lewis, 18 Nov 2026): a Performance Max campaign's asset groups, joined to it by a
   dashed line, each with its ad strength and share of the campaign's spend. */

/* Search Desk card (Lewis, 18 Nov 2026): its own blue button, and its icon always above the words, lined up with
   them: left on a computer where the words sit left, centred on a phone where they centre. */
.btn-sd { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-h); padding: 0 24px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 800; text-decoration: none; letter-spacing: -0.005em; cursor: pointer; color: #fff; border: 1px solid transparent;
  background: linear-gradient(180deg, color-mix(in oklab, #fff 12%, var(--brand-sd)), var(--brand-sd));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(20, 25, 31, .18), 0 8px 18px -10px color-mix(in oklab, var(--brand-sd) 70%, transparent);
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2) var(--ease-out), background var(--d2); }
.btn-sd:hover { background: linear-gradient(180deg, var(--brand-sd), var(--brand-sd-hover)); transform: translateY(-1px); }
.btn-sd:active { transform: translateY(0) scale(.97); transition-duration: var(--d1); }
.sd-cta, .adsr .rep-cta.sd-cta { text-align: left; width: 100%; max-width: 760px; margin: 0 auto; }
.sd-cta .sd-mark { width: 56px; height: 56px; border-radius: 14px; display: block; box-shadow: var(--e1); margin: 0 0 var(--s4); }
.sd-cta p { margin-left: 0; }
.sd-cta .btn-row { justify-content: flex-start; }
@media (max-width: 560px) {
  .sd-cta, .adsr .rep-cta.sd-cta { text-align: center; }
  .sd-cta .sd-mark { margin: 0 auto var(--s4); }
  .sd-cta p { margin-left: auto; }
  .sd-cta .btn-row { justify-content: center; }
  .rep-cta h3 { font-size: 19px; }
  .rep-cta p { font-size: 16px; }
}
/* "Not sure yet?": a plain sentence, then its action as a button (Lewis, 1 Dec 2026: no links inside sentences; the
   "Not sure yet" row under the price list in the Figma report frames since 2 Dec 2026, "Ask me a question" as V5 Button
   White; 15px, 16px on phones, as on the type scale) */
.adsr .fix-ask { text-align: center; color: var(--text-2); margin: var(--s10) 0 0; font-size: 15px; }
@media (max-width: 560px) { .adsr .fix-ask { font-size: 16px; } }
.adsr .fix-ask p { margin: 0 0 var(--s4); }

/* ===== Website Check report, v3 (Lewis, 18 Nov 2026: the same treatment as the Google Ads report) =====
   Shares the .adsr sections, tiles, ink panel, finds and ticks; .webr adds the Google preview, the phone's first screen,
   the visitor's path, the speed gauges and the notes. */
.webr .ask-card .btn-row { justify-content: center; }
.webr .rep-more { text-align: center; margin: var(--s6) 0 0; color: var(--muted); font-size: 14px; }
.webr .wr-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); margin: 0 0 var(--s10); }
.webr .wr-view { margin: 0; display: grid; gap: var(--s3); align-content: start; }
.webr .wr-view figcaption, .webr .wr-path-k { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
/* how you look in Google: a white results card on the ink */
.webr .wr-serp { background: var(--surface); color: var(--text); border-radius: var(--r-md); padding: var(--s5) var(--s6); box-shadow: var(--e2); min-height: 168px; }
.webr .sr-top { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.webr .sr-fav { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--line-soft); color: var(--text-2); }
.webr .sr-who { display: grid; min-width: 0; }
.webr .sr-who b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.webr .sr-who small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.webr .sr-title { margin: 0 0 var(--s1); font-size: 19px; line-height: 1.3; color: var(--brand-sd); overflow-wrap: anywhere; }
.webr .sr-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); overflow-wrap: anywhere; }
.webr .sr-title.none, .webr .sr-desc.none { color: var(--muted); font-style: italic; }
/* the phone's first screen */
.webr .wr-phone { justify-self: center; width: 100%; max-width: 280px; border-radius: 34px; padding: 10px; background: color-mix(in oklab, #fff 9%, var(--ink)); border: 1px solid var(--ink-rim); box-shadow: var(--e2); }
.webr .wr-screen { background: var(--surface); color: var(--text); border-radius: 26px; padding: var(--s4) var(--s4) var(--s6); min-height: 260px; display: grid; align-content: start; gap: var(--s3); overflow: hidden; }
.webr .ph-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding-bottom: var(--s3); border-bottom: 1px solid var(--line-soft); }
.webr .ph-bar b { font-size: 12.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.webr .ph-menu { flex: none; width: 16px; height: 10px; border-top: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); position: relative; }
.webr .ph-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid var(--text-2); }
.webr .ph-h1 { margin: var(--s2) 0 0; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.webr .ph-h1.none, .webr .ph-cta.none { color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: 0; border: 1.5px dashed var(--line-2); border-radius: var(--r-nest); padding: var(--s2) var(--s3); background: none; box-shadow: none; }
.webr .ph-place { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.webr .ph-cta { justify-self: start; max-width: 100%; padding: 9px 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 800; color: var(--brand-ink); background: linear-gradient(180deg, var(--brand-top), var(--brand)); box-shadow: 0 6px 14px -8px var(--brand-glow); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.webr .ph-lines { display: grid; gap: 7px; margin-top: var(--s2); }
.webr .ph-lines i { display: block; height: 7px; border-radius: 4px; background: var(--line-soft); }
.webr .ph-lines i:nth-child(2) { width: 86%; } .webr .ph-lines i:nth-child(3) { width: 64%; }
/* ticks under each view */
.webr .wr-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.webr .wr-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-text); padding: 5px 10px 5px 6px; border-radius: var(--r-pill); background: color-mix(in oklab, #fff 7%, var(--ink)); border: 1px solid var(--ink-line); }
.webr .wr-chips i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; }
.webr .wr-chips .ok i { color: var(--ok-on-ink); background: color-mix(in oklab, var(--ok-on-ink) 18%, var(--ink)); }
.webr .wr-chips .no i { color: #fff; background: color-mix(in oklab, var(--bad) 60%, var(--ink)); }
.webr .wr-chips .na i { color: var(--ink-muted); background: var(--ink-line); }
/* a visitor's path */
.webr .wr-path { display: grid; gap: var(--s4); }
.webr .wr-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); }
.webr .wj { position: relative; display: grid; align-content: start; gap: 6px; padding: var(--s4); border-radius: var(--r-md); border: 1px solid var(--ink-rim); background: color-mix(in oklab, #fff 5%, var(--ink)); box-shadow: var(--e1); border-top: 3px solid var(--ink-line); }
.webr .wj.good { border-top-color: var(--ok-on-ink); } .webr .wj.warn { border-top-color: var(--brand-on-ink); } .webr .wj.bad { border-top-color: color-mix(in oklab, var(--bad) 75%, #fff); }
.webr .wj-n { font: 500 11px/1 var(--mono); color: var(--ink-muted); }
.webr .wj b { color: #fff; font-size: 16px; }
.webr .wj small { color: var(--ink-muted); font-size: 12.5px; line-height: 1.4; }
.webr .wj-segs { display: flex; gap: 3px; margin-top: var(--s1); }
.webr .wj-segs i { flex: 1; height: 6px; border-radius: 3px; background: var(--ink-line); }
.webr .wj-segs i.ok { background: var(--ok-on-ink); } .webr .wj-segs i.medium, .webr .wj-segs i.low { background: var(--brand-on-ink); } .webr .wj-segs i.high { background: color-mix(in oklab, var(--bad) 75%, #fff); }
.webr .wj-score { font: 500 11.5px/1.3 var(--mono); color: var(--ink-text); }
.webr .wj-next { font-size: 12.5px; line-height: 1.4; color: var(--ink-text); }
/* speed gauges */
.webr .wr-gauges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.webr .wr-gauge { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s6); align-items: center; padding: var(--s6); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--e1); }
.webr .g-dial { position: relative; width: 120px; height: 120px; }
.webr .g-dial svg { width: 120px; height: 120px; display: block; }
.webr .g-dial b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 32px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.webr .g-bg { stroke: var(--line-soft); }
.webr .g-fg { stroke: var(--muted); }
.webr .wr-gauge.good .g-fg { stroke: var(--ok); } .webr .wr-gauge.warn .g-fg { stroke: var(--attn); } .webr .wr-gauge.bad .g-fg { stroke: var(--bad); }
.webr .wr-gauge.good .g-dial b { color: var(--ok); } .webr .wr-gauge.warn .g-dial b { color: var(--attn); } .webr .wr-gauge.bad .g-dial b { color: var(--bad); }
.webr .g-txt h4 { margin: 0; font-size: 17px; font-weight: 800; }
.webr .g-verdict { margin: var(--s1) 0 var(--s3); color: var(--text-2); font-size: 14px; }
.webr .g-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.webr .wr-field { margin-top: var(--s6); display: grid; gap: var(--s3); }
.webr .wf-k { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.webr .wf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.webr .wf { padding: var(--s4); border-radius: var(--r-nest); background: var(--surface); border: 1px solid var(--line-soft); border-left: 3px solid var(--line-2); display: grid; gap: 2px; }
.webr .wf.ok { border-left-color: var(--ok); } .webr .wf.no { border-left-color: var(--bad); }
.webr .wf small { font-size: 12.5px; color: var(--muted); } .webr .wf b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.webr .wf span { font-size: 12.5px; font-weight: 700; } .webr .wf.ok span { color: var(--ok); } .webr .wf.no span { color: var(--bad); }
/* notes */
.webr .wr-notes { display: grid; gap: var(--s3); max-width: 760px; }
.webr .wr-note { padding: var(--s4) var(--s5); border-radius: var(--r-nest); background: var(--surface); border: 1px solid var(--line-soft); }
.webr .wr-note summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: var(--s3); }
.webr .wr-note summary::-webkit-details-marker { display: none; }
.webr .wr-note summary::after { content: "+"; color: var(--brand-text); font-weight: 800; }
.webr .wr-note[open] summary::after { content: "\2212"; }
.webr .wr-note p { margin: var(--s2) 0 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.webr .wr-note p.why { color: var(--muted); }
@media (max-width: 960px) {
  .webr .wr-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .webr .wr-gauges { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .webr .wr-views { grid-template-columns: minmax(0, 1fr); gap: var(--s10); }
}
@media (max-width: 560px) {
  .webr .wr-journey { grid-template-columns: minmax(0, 1fr); }
  .webr .wr-gauge { grid-template-columns: 96px minmax(0, 1fr); gap: var(--s4); padding: var(--s4); }
  .webr .g-dial, .webr .g-dial svg { width: 96px; height: 96px; }
  .webr .g-dial b { font-size: 26px; }
  .webr .wf-row { grid-template-columns: minmax(0, 1fr); }
  .webr .wr-serp { padding: var(--s4); }
}

/* Website Check, v3 depth and motion (Lewis, 18 Nov 2026: "give it the V3 treatment").
   Hero: a drawn example report beside the form (spec 1 "show the product"); on tablets and phones it sits above the
   headline (agency.css hero-grid rule), kept short. Report: blocks rise in turn, numbers count up, the speed rings draw
   and the path bars grow, only under .motion-ready, so reduced motion and ?motion=off show everything in place. */
.wc-hero-vis { margin: 0; padding: var(--s5); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--e2); display: grid; gap: var(--s4); }
.wc-ex { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wc-ex-top { display: flex; align-items: center; gap: var(--s3); }
.wc-ex-dial { flex: none; width: 52px; height: 52px; }
.wc-ex-dial circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.wc-ex-dial .g-bg { stroke: var(--line-soft); } .wc-ex-dial .g-fg { stroke: var(--ok); }
.wc-ex-top b { display: block; font-size: 15px; font-weight: 800; }
.wc-ex-top small { font-size: 12.5px; color: var(--muted); }
.wc-ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.wc-ex-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; padding: 9px 12px; border-radius: var(--r-sm); background: var(--bg); }
.wc-ex-list li::before { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.wc-ex-list .ok::before { content: "\2713"; background: var(--ok-wash); color: var(--ok); }
.wc-ex-list .no::before { content: "!"; background: var(--attn-wash); color: var(--attn); }
@media (max-width: 960px) {
  .wc-hero-vis { max-width: 420px; gap: var(--s3); padding: var(--s4); }
  .wc-ex-list li:nth-child(n+3) { display: none; } /* short on phones, so the headline still shows in the first screen */
}
.motion-ready .webr .g-fg { transition: stroke-dashoffset var(--d5) var(--ease-out); }
.motion-ready .webr .wj-segs i { transform-origin: left; transition: transform var(--d4) var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 120ms); }
.motion-ready .webr .rv:not(.in) .wj-segs i { transform: scaleX(0); }
.motion-ready .webr .oks li.rv { transition-duration: var(--d3); }
@media (max-width: 560px) {
  .wc-hero-vis { padding: var(--s3) var(--s4); gap: var(--s2); }
  .wc-ex-list { display: none; } /* on a phone the example is just its dial row, so the address box stays in the first screen */
}

/* Google Ads Check, 21 Nov 2026: the optional target under the customer ID, "In short" with the ranked list, the
   trend (funnel tiles, 13-month chart, devices and networks, change history) and the note on why there is no AI.
   Brand tints only, never a red, amber or green verdict. */
.target-opt { margin-top: 14px; max-width: 640px; }
.target-opt > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-text); }
.target-opt > summary::-webkit-details-marker { display: none; }
.target-opt > summary::after { content: "+"; font-weight: 800; }
.target-opt[open] > summary::after { content: "\2212"; }
.target-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.target-row input, .target-row select { font: inherit; font-size: 15px; min-height: 46px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: var(--r-sm); background: var(--field); color: var(--text); box-shadow: var(--field-shadow); min-width: 0; }
.target-row input:focus, .target-row select:focus { outline: none; border-color: var(--brand); box-shadow: var(--field-shadow), 0 0 0 4px var(--brand-ring); }
.target-row .sel { position: relative; flex: 1 1 280px; display: flex; }
.target-row .sel select { appearance: none; -webkit-appearance: none; width: 100%; padding-right: 48px; cursor: pointer; }
.target-row .sel::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.target-row #t-value { flex: 0 1 150px; }
.target-row #t-brand { flex: 1 1 100%; }
.target-opt .hero-note { margin-top: 10px; }

.adsr .sum-lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; max-width: 820px; margin: 0 0 var(--s4); color: var(--text); }
.adsr .sum-lede span + span::before { content: " "; }
.adsr .sum-meta { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s10); }
.adsr .plan-h { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 4px; }
.adsr .plan-sub { font-size: 14px; color: var(--muted); margin: 0 0 var(--s4); }
.adsr .plan { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.adsr .plan a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px 18px; border-radius: var(--r-nest); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--e1); color: var(--text); text-decoration: none; transition: box-shadow var(--d2), transform var(--d2); }
.adsr .plan a:hover { box-shadow: var(--e2); transform: translateY(-1px); }
.adsr .plan .n { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 500 13px/1 var(--mono); color: var(--brand-text); background: var(--brand-wash); }
.adsr .plan .t { font-size: 15px; font-weight: 700; line-height: 1.35; }
.adsr .plan .tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.adsr .plan .tg { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); background: var(--line-soft); padding: 5px 8px; border-radius: var(--r-pill); }
.adsr .plan .tg.imp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.adsr .plan .tg.imp.medium::before { background: color-mix(in oklab, var(--brand) 55%, var(--surface)); }
.adsr .plan .tg.imp.low::before { background: color-mix(in oklab, var(--brand) 25%, var(--surface)); }
.adsr .plan .m { grid-column: 3; grid-row: 1 / span 2; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adsr .plan .m small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.adsr .plan-more { margin-top: var(--s2); }
.adsr .plan-more > summary { cursor: pointer; list-style: none; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-text); padding: 8px 0; }
.adsr .plan-more > summary::-webkit-details-marker { display: none; }
.adsr .plan-more > summary::after { content: "+"; font-weight: 800; }
.adsr .plan-more[open] > summary::after { content: "\2212"; }
.adsr .plan-more .plan { margin-top: var(--s2); }
.adsr .find { scroll-margin-top: 96px; }

.adsr .funnel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 var(--s10); }
.adsr .funnel .tile { position: relative; }
.adsr .funnel .tile.lever { box-shadow: 0 0 0 2px var(--brand), var(--e1); }
.adsr .funnel .tile em { display: inline-block; margin-top: 10px; font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-wash); padding: 4px 7px; border-radius: var(--r-pill); }
.adsr .chart-card { padding: 18px 20px 14px; border-radius: var(--r-md); }
.adsr .chart { width: 100%; }
.adsr .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.adsr .chart-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.adsr .chart-key span { display: inline-flex; align-items: center; gap: 7px; }
.adsr .chart-key b { width: 12px; height: 10px; border-radius: 3px; background: color-mix(in oklab, var(--brand) 45%, var(--surface)); display: inline-block; }
.adsr .chart-key i { width: 14px; height: 0; border-top: 2px solid var(--text); display: inline-block; }
.adsr .chg p { color: var(--text-2); }
.adsr .seg-wrap { overflow-x: auto; margin-top: var(--s3); }
.adsr .seg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adsr .seg-table th { font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.adsr .seg-table td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); color: var(--text); font-variant-numeric: tabular-nums; }
.adsr .seg-table .r { text-align: right; }
.adsr .seg-table tr.sub td { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 16px; }

.adsr .noai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s10); align-items: start; }
.adsr .noai .rp-lede { margin: 0; }
.adsr .noai ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.adsr .noai li { padding: 14px 16px; border-radius: var(--r-nest); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--e1); font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.adsr .noai li b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 900px) {
  .adsr .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adsr .noai { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
}
@media (max-width: 560px) {
  .adsr .plan a { grid-template-columns: 30px minmax(0, 1fr); padding: 12px 14px; }
  .adsr .plan .m { grid-column: 2; grid-row: auto; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .adsr .plan .m small { display: inline; }
  .adsr .funnel { gap: 10px; }
  .adsr .funnel .tile { padding: 14px 14px; }
}
@media print {
  .adsr .plan a { box-shadow: none; }
  .adsr .plan-more > .plan { display: grid; }
}
/* Website Check area scores on phones: two columns (after the 900px rule, so it wins) */
@media (max-width: 560px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .areas .ar { padding: 14px 14px 12px; } }

/* Accounts (Accounts Plan step 1, 22 Nov 2026): a centred sign-in card, then the saved checks */
.acct { padding: 72px 0 96px; }
.acct-card { max-width: 520px; margin: 0 auto; text-align: center; border-radius: var(--r-lg, 20px); padding: 40px 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e2); }
.acct-card .eyebrow { display: block; }
.acct-h { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin: 10px 0 12px; }
.acct-lede { color: var(--text-2); font-size: 16px; line-height: 1.55; margin: 0 auto 28px; max-width: 380px; }
.acct-google { display: grid; justify-items: center; gap: 18px; margin-bottom: 18px; }
.acct-or { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.acct-form { margin: 0 auto; justify-content: center; }
.acct-form input[type="email"] { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 16px; min-height: 52px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); box-shadow: var(--field-shadow); }
.acct-form input[type="email"]:focus { outline: none; border-color: var(--brand); box-shadow: var(--field-shadow), 0 0 0 4px var(--brand-ring); }
.acct-form button { flex: 1 1 auto; }
.acct-card .check-status { margin-top: 14px; min-height: 1.4em; }
.acct-more { margin-top: 18px; }
.acct-more summary { cursor: pointer; list-style: none; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-text); }
.acct-more summary::-webkit-details-marker { display: none; }
.acct-more summary::after { content: "+"; }
.acct-more[open] summary::after { content: "\2212"; }
.acct-more p { text-align: left; font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 10px 0 0; }
.acct-actions { display: flex; justify-content: center; margin-top: 8px; }
.acct-home { max-width: 960px; margin: 0 auto; }
.acct-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.acct-who { color: var(--muted); margin: 0; font-size: 14px; }
.acct-empty { text-align: center; padding: 40px 24px; border-radius: var(--r-md); border: 1px dashed var(--line-2); color: var(--text-2); }
.acct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.acct-h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 14px; }
/* Dashboard (Accounts Plan step 2): one card per site, latest scores with the change, a small line per area */
.dash-site { border-radius: var(--r-md); padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 20px; }
.dash-name { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.025em; color: var(--text); text-decoration: none; word-break: break-all; }
.dash-name:hover { color: var(--brand-text); }
.dash-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.dash-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.dash-acts .btn-filled, .dash-acts .btn-outline { min-height: 40px; padding: 0 18px; font-size: 14px; }
.dash-areas { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.dash-areas small { display: block; font: 500 10px/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-height: 2.5em; }
.dash-areas b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-areas b em { font: 600 12px/1 var(--mono); font-style: normal; letter-spacing: 0; color: var(--brand-text); margin-left: 6px; vertical-align: 4px; }
.dash-areas svg { display: block; width: 100%; max-width: 120px; height: 34px; margin-top: 6px; overflow: visible; }
.dash-areas .sp-base { stroke: var(--line); stroke-width: 1; }
.dash-areas .sp-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dash-areas .sp-dot { fill: var(--surface); stroke: var(--brand); stroke-width: 2; }
.dash-areas .sp-dot.last { fill: var(--brand); }
.dash-hint { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.dash-more { margin-top: 16px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.dash-more summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--brand-text); display: inline-flex; gap: 6px; }
.dash-more summary::-webkit-details-marker { display: none; }
.dash-more summary::after { content: "+"; }
.dash-more[open] summary::after { content: "\2212"; }
.dash-more ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.dash-more li { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.dash-more a { color: var(--text); font-weight: 700; }
.dash-more span { color: var(--muted); }
@media (max-width: 760px) {
  .acct { padding: 40px 0 64px; }
  .acct-card { padding: 32px 20px; }
  .dash-site { padding: 18px 18px; }
  .dash-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
  .dash-acts { width: 100%; }
  .dash-acts a { flex: 1 1 auto; justify-content: center; }
}

/* Accounts on the report (22 Nov 2026, Lewis: "these are solid CTAs, should be prominent and at the end of the report") */
.rep-acts .rep-primary { background: linear-gradient(180deg, var(--brand-top), var(--brand)); color: var(--brand-ink); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(20, 25, 31, .18); }
.rep-acts .rep-primary:hover { background: linear-gradient(180deg, var(--brand), var(--brand-hover)); border-color: transparent; }
.rep-acts .rep-primary.done { background: var(--brand-wash); color: var(--brand-text); border-color: var(--brand-line); box-shadow: none; }
.acct-bar { font-size: 14px; color: var(--text-2); margin: 10px 0 0; }
.acct-bar b { color: var(--text); }
.acct-bar a { color: var(--brand-text); font-weight: 700; text-decoration: none; margin-left: 6px; }
.acct-bar a:hover { text-decoration: underline; }


/* ── v5 layer (26 Nov 2026): the Google Ads Check, Website Check and account templates on v5 ──
   Scoped to .v5 so supplier-check (still v3, loads this sheet with agency.css) is unchanged. Every id, step and report
   class stays as it was; these rules give them the v5 look: the tool panel (Figma "V5 Tool panel"), pill fields and
   buttons, cards at radius 20 and panels at 32, Manrope throughout. */
.v5 .page-w { max-width: var(--maxw, 1240px); margin: 0 auto; padding: 0 var(--gutter, 24px); }
.v5 .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the tool panel: the steps on the left, "What you get" (or the Website Check's drawn example) on the right */
.v5 .vtool { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin: 40px 0 0; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--e1); }
.v5 .vtool-main { min-width: 0; }
.v5 .vtool-get { align-self: start; padding: 24px; background: var(--brand-wash); border-radius: 20px; }
.v5 .vtool-get .v-body { margin-top: 8px; }
.v5 .vtool-ex { padding: 0; background: none; }
.v5 #what .vf + .vfold { margin-top: 8px; }
.v5 .vtool-ex .wc-hero-vis { margin: 0; border-radius: 20px; }
.v5 .wc-ex { font-size: 12px; }
.v5 .acct-or { font-size: 13px; }
.v5 .acct-google[hidden], .v5 .vtool [hidden] { display: none; }
/* the field labels show on v5 (the mock-up's "Google Ads customer ID"); the markup keeps its off-screen inline style */
.v5 #id-form > label, .v5 .acct-form > label { position: static !important; flex: 1 0 100%; margin: 0 0 -4px; font: 600 15px/1.4 var(--body); color: var(--text); text-align: left; }
.v5 .vtool-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.v5 .vtool-choice[hidden] { display: none; }
.v5 .vchip { appearance: none; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 600 15px/1 var(--body); padding: 12px 20px; border-radius: 999px; cursor: pointer; transition: border-color var(--d2), background var(--d2); }
.v5 .vchip:hover { border-color: var(--brand); }
.v5 .vchip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.v5 .vtool[data-choice="id"] #step-google, .v5 .vtool[data-choice="google"] #step-id { display: none; }
.v5 .vtool[data-choice] .or-line { display: none; }
.v5 .vtool .steps-card { max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.v5 .vtool .steps-card + .steps-card:not([hidden]) { margin-top: 24px; }
.v5 .step-h { margin: 0 0 16px; font: 700 22px/1.25 var(--display); letter-spacing: -.01em; color: var(--text); }
.v5 .tool-hero .v-lede { margin-top: 20px; max-width: 60ch; }
.v5 .tool-hero .preview-flag { margin: 0 0 20px; }

/* fields and buttons: the v5 field (56 high, pill) and the pill buttons */
.v5 .check-form { display: flex; flex-wrap: wrap; gap: 12px; max-width: none; }
.v5 .check-form input[type="text"], .v5 .check-form input[type="url"], .v5 .check-form input[type="email"], .v5 .target-row input, .v5 .target-row select {
  box-sizing: border-box; flex: 1 1 260px; min-width: 0; height: 56px; min-height: 56px; padding: 0 20px; font: 400 17px/1.3 var(--body); color: var(--text); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 999px; box-shadow: none; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.v5 .check-form input:focus, .v5 .target-row input:focus, .v5 .target-row select:focus { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.v5 .check-form button, .v5 .btn-filled { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; font: 600 17px/1 var(--body); color: var(--brand-ink); background: var(--brand); border: 1px solid var(--brand); border-radius: 999px; text-decoration: none; cursor: pointer; box-shadow: none; transition: background var(--d2); }
.v5 .check-form button:hover, .v5 .btn-filled:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.v5 .check-form button:disabled, .v5 .btn-filled:disabled { opacity: .6; cursor: default; }
.v5 .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; font: 600 17px/1 var(--body); color: var(--brand); background: var(--brand-wash); border: 1px solid transparent; border-radius: 999px; text-decoration: none; cursor: pointer; box-shadow: none; }
.v5 .btn-outline:hover { background: color-mix(in oklab, var(--brand-wash), var(--brand) 8%); }
.v5 .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.v5 .linkish { padding: 0; font: inherit; font-weight: 600; color: var(--text); background: none; border: 0; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.v5 .linkish:hover { text-decoration-color: var(--brand); }
.v5 .hero-note { margin: 12px 0 0; font: 400 14px/1.5 var(--body); color: var(--text-2); }
.v5 .check-status { font: 500 15px/1.45 var(--body); }
.v5 .progress li { font: 400 15px/1.5 var(--body); }
.v5 .or-line { font: 500 14px/1.4 var(--body); }
.v5 .invite-steps li { font: 400 17px/1.55 var(--body); color: var(--text-2); }
.v5 .pick-list button { border-radius: 20px; }
.v5 .wc-kind { margin-top: 20px; }
.v5 .wc-kind legend { font: 500 14px/2.6 var(--body); }
.v5 .wc-kind label span { min-height: 40px; padding: 0 16px; font: 600 14px/1 var(--body); }

/* the "Add a target" fold: a v5 fold, and the select's chevron 20px in from the edge */
.v5 .target-opt { max-width: none; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v5 .target-opt > summary { display: flex; justify-content: space-between; width: 100%; padding: 18px 0; font: 600 17px/1.4 var(--body); color: var(--text); }
.v5 .target-opt > summary::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); }
.v5 .target-opt[open] > summary::after { content: ""; transform: rotate(-135deg); }
.v5 .target-opt .target-row { margin: 0 0 12px; gap: 12px; }
.v5 .target-opt .hero-note { margin-bottom: 18px; }
.v5 .target-row .sel select { padding-right: 52px; }
.v5 .target-row .sel::after { right: 22px; }

/* the account page (data-page="form"): one card, the state's heading as the page heading */
.v5 .vacct .acct-card { max-width: 560px; padding: 40px; border-radius: 32px; box-shadow: var(--e1); }
.v5 .acct-h { margin: 0; font: 800 clamp(28px, 3.4vw, 40px)/1.08 var(--display); letter-spacing: -.02em; color: var(--text); }
.v5 .acct-lede { margin: 16px 0 24px; font: 400 17px/1.55 var(--body); color: var(--text-2); }
.v5 .acct-form { justify-content: center; }
.v5 .acct-home { max-width: 760px; margin: 0 auto; }

/* the report on v5: no mono and no uppercase labels (CLAUDE.md "Type": on v5 pages labels and tags are Manrope); the report
   keeps its own layout, which tool-google-ads-check.js and tool-website-check.js write into */
.v5 :is(.acct-or, .adsr .find .px .px-k, .adsr .find .start-box .sb-k, .adsr .funnel .tile em, .adsr .pf-ci, .adsr .pf-facts dt, .adsr .pf-gh em, .adsr .pf-gh span, .adsr .pf-n, .adsr .pf-st, .adsr .pf-sub > summary, .adsr .pf-th, .adsr .plan .n, .adsr .plan .tg, .adsr .rp-count, .adsr .seg-table th, .adsr .seg-table tr.sub td, .adsr .sum-meta, .area-rest > details > summary span, .area-rest-k, .areas .ar small, .dash-areas b em, .dash-areas small, .find .grp, .fix-ai, .hm span, .invite-steps .mgr, .ng-table th, .option .tag, .pg-table .pg-path, .pg-table th, .preview-flag, .rep-compare .cmp-k, .tile small, .wc-ex, .webr .ph-place, .webr .wf-k, .webr .wj-n, .webr .wj-score, .webr .wr-path-k, .webr .wr-view figcaption, .find .pr, .areas .ar b .ar-d) {
  font-family: var(--body); text-transform: none; letter-spacing: 0; }
.v5 .report .tag, .v5 .report [class*="tag"] { font-family: var(--body); text-transform: none; letter-spacing: 0; }

@media (max-width: 960px) {
  .v5 .vtool { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; }
}
@media (max-width: 760px) {
  .v5 .vtool { margin-top: 32px; padding: 24px 20px; border-radius: 28px; }
  .v5 .check-form button, .v5 .btn-filled, .v5 .btn-outline { width: 100%; font-size: 16px; }
  .v5 .check-form input[type="text"], .v5 .check-form input[type="url"], .v5 .check-form input[type="email"], .v5 .target-row input, .v5 .target-row select { font-size: 16px; }
  .v5 .step-h { font-size: 19px; }
  .v5 #id-form > label, .v5 .acct-form > label { font-size: 14px; }
  .v5 .vacct .acct-card { padding: 28px 20px; border-radius: 28px; }
  .v5 .invite-steps li { font-size: 16px; }
}
@media print {
  .v5 .vhd, .v5 .vgf, .v5 .tool-hero, .v5 main > section:not(.report) { display: none !important; }
}

/* Back to the top (1 Dec 2026, Figma "V5 Back to top"): a round button on the White button's tokens, fixed bottom right
   (16 in on phones, 24 from 768 up), shown by to-top.js once the visitor has scrolled one and a half screens. */
.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--brand); box-shadow: var(--e2); cursor: pointer; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity var(--d2) var(--ease-out), transform var(--d2) var(--ease-out), visibility 0s linear var(--d2), border-color var(--d1) ease; }
.to-top[hidden] { display: none; }
.to-top.on { visibility: visible; opacity: 1; transform: none; transition: opacity var(--d2) var(--ease-out), transform var(--d2) var(--ease-out), visibility 0s, border-color var(--d1) ease; }
.to-top:hover { border-color: var(--brand); }
.to-top:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 3px; }
.to-top svg { display: block; }
@media (min-width: 768px) { .to-top { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.on { transition: none; transform: none; } }
@media print { .to-top { display: none !important; } }
