/* ============================================================
   Uptimia — Check a Website From Another Country (free tool)
   Ported from docs/website-from-country-mockup.html. EVERY
   selector is scoped under .wfc so nothing collides with the
   global .hero / .card / .pill / .btn-cta rules in homepage-v30.css.
   The design tokens live in homepage-v30.css :root — we do NOT
   redefine :root here; we only add the handful of tokens the
   mockup used that v30 does not ship (cta / amber / bad-bright).
   Sibling reference: public/assets/css/dns-checker.css.
   ============================================================ */

/* scoped reset — matches the mockup's global reset, but confined to .wfc
   (our markup lives OUTSIDE .hp-content, whose reset would otherwise cover it,
   so UA default margins on h1/h2/p/ul must be zeroed here). */
.wfc,
.wfc *,
.wfc *::before,
.wfc *::after{box-sizing:border-box;margin:0;padding:0}

.wfc{
  font-family:var(--sans);
  color:var(--ink);
  font-size:15px;line-height:1.55;font-weight:450;
  background:var(--bg-2);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  font-feature-settings:'cv11','ss01','ss03','tnum';
}
.wfc a{color:inherit;text-decoration:none}
.wfc button{font:inherit;cursor:pointer;background:none;border:0;color:inherit}
.wfc input,.wfc select{font:inherit;color:inherit}
.wfc svg{display:block}

.wfc .wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.wfc .mono{font-family:var(--mono)}
.wfc .micro{font-size:11.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--soft)}

@keyframes wfc-land{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}

/* view switching */
.wfc .view{display:none}
.wfc .view.on{display:block}

/* shared button (mockup defines .btn-cta in the topbar it drops — keep it scoped) */
.wfc .btn-cta{padding:9px 15px;font-size:14px}

/* ============================================================
   HERO (dark) — renamed .wfc-hero to escape v30's global .hero.
   margin-top lifts the dark surface under the ~64px nav so the
   charcoal nav blends into the hero (same trick as dns-checker).
   ============================================================ */
.wfc .wfc-hero{background:var(--dark);color:var(--dark-ink);position:relative;overflow:hidden;margin-top:-64px}
.wfc .wfc-hero::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse 780px 380px at 50% 118%, rgba(78,201,126,.13), transparent 62%),
    radial-gradient(ellipse 600px 300px at 12% -30%, rgba(78,201,126,.06), transparent 60%);
}
.wfc .hero-in{max-width:1120px;margin:0 auto;padding:128px 24px 0;position:relative;text-align:center}
.wfc .hero-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--mono);font-size:11.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  color:var(--dark-muted);
  border:1px solid var(--dark-line-2);border-radius:999px;padding:6px 14px;
  background:rgba(255,255,255,.03);
}
.wfc .wfc-hero h1{margin:22px auto 14px;max-width:840px;font-size:52px;line-height:1.08;font-weight:700;letter-spacing:-.028em;color:#fff}
.wfc .wfc-hero h1 .accent-i{color:var(--accent-bright)}
.wfc .hero-sub{max-width:680px;margin:0 auto;font-size:16.5px;line-height:1.6;color:var(--dark-muted)}

.wfc .testbar{
  max-width:640px;margin:34px auto 0;
  display:flex;align-items:stretch;gap:0;
  background:#fff;border-radius:12px;padding:6px;
  box-shadow:0 1px 0 rgba(255,255,255,.06), 0 24px 60px -24px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.wfc .testbar .field{flex:1;display:flex;align-items:center;gap:11px;padding:0 8px 0 14px;min-width:0}
.wfc .testbar .field svg{color:var(--soft);flex:none}
.wfc .testbar input{flex:1;border:0;outline:0;background:none;min-width:0;font-size:16.5px;font-weight:450;color:var(--ink);height:48px}
.wfc .testbar input::placeholder{color:var(--soft)}
.wfc .testbar .btn-run{
  display:inline-flex;align-items:center;gap:8px;padding:0 22px;border-radius:8px;
  background:var(--cta);color:var(--cta-ink);font-size:15px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px -6px rgba(78,201,126,.55);
  transition:filter .15s,transform .1s;
}
.wfc .testbar .btn-run:hover{filter:brightness(1.05)}
.wfc .testbar .btn-run:active{transform:scale(.99)}
/* bot-defense token + honeypot never take layout space in the hero */
.wfc .testbar-defense{display:none}

.wfc .hero-ticks{
  display:flex;justify-content:center;flex-wrap:wrap;gap:10px 26px;margin:20px auto 0;
  font-family:var(--mono);font-size:12.5px;color:var(--dark-muted);
}
.wfc .hero-ticks span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.wfc .hero-ticks svg{color:var(--accent-bright)}
.wfc .adv-strip{
  display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin:26px auto 0;
  border:1px solid var(--dark-line-2);border-radius:10px;padding:9px 16px;
  background:rgba(255,255,255,.03);
  font-family:var(--mono);font-size:12px;color:var(--dark-muted);
}
.wfc .adv-strip .lbl{font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--dark-soft)}
.wfc .adv-strip b{color:#fff;font-weight:600}
.wfc .adv-strip a{color:var(--accent-bright);font-weight:600}
.wfc .hero-pad{height:56px}

/* ============================================================
   Light sections
   ============================================================ */
.wfc .sec{padding:72px 0 0}
.wfc .sec:last-child{padding-bottom:72px}
.wfc .sec-head{max-width:640px;margin:0 0 34px}
.wfc .sec-head.center{margin:0 auto 38px;text-align:center}
.wfc .sec-head .micro{display:block;margin-bottom:12px;color:var(--accent)}
.wfc .sec-head h2{font-size:31px;line-height:1.15;font-weight:700;letter-spacing:-.022em;color:var(--ink)}
.wfc .sec-head p{margin-top:12px;font-size:15.5px;color:var(--muted)}

.wfc .note-mono{font-family:var(--mono);font-size:12px;color:var(--soft)}

/* `mute` = no measurement: a probe of OURS did not report. Neutral by design — this row
   says nothing about the tested site, so it must not borrow the down/watch tones. */
.wfc .pill.mute{background:var(--bg-3);color:var(--soft);border:1px solid var(--line-2)}
.wfc .pill.mute i{background:var(--soft)}

/* the-four quad */

/* readout decoder */

/* duo */
.wfc .duo{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.wfc .duo-side h3{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.018em;margin-bottom:10px}
.wfc .duo-side p{font-size:14.5px;line-height:1.65;color:var(--muted);margin-bottom:12px}
.wfc .duo-side ul{list-style:none;display:grid;gap:8px;margin:16px 0 20px}
.wfc .duo-side li{display:flex;gap:9px;font-size:13.5px;color:var(--muted)}
.wfc .duo-side li svg{color:var(--accent);flex:none;margin-top:3px}
.wfc .port-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--bg-3)}
.wfc .port-row:last-child{border-bottom:0}
.wfc .port-row .pt{flex:none;min-width:170px;font-family:var(--mono);font-size:12px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wfc .port-row .pd{flex:1;font-size:12.5px;color:var(--muted)}

/* terminal cheatsheet */
.wfc .cheat{max-width:860px;margin:0 auto;display:grid;gap:8px}
.wfc .ch-row{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px 16px;flex-wrap:wrap}
.wfc .ch-row b{flex:1;font-size:13.5px;font-weight:600;letter-spacing:-.01em;color:var(--ink-2);min-width:190px}
.wfc .cmd{
  display:inline-flex;align-items:center;gap:8px;max-width:100%;
  font-family:var(--mono);font-size:11.5px;color:var(--ink-3);
  background:var(--bg-3);border:1px solid var(--line-2);border-radius:7px;padding:5px 10px;
}
.wfc .cmd .c{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wfc .cmd button{color:var(--accent);font-weight:600;font-size:11px;flex:none}

/* FAQ */
.wfc .faq{max-width:760px;margin:0 auto}
.wfc .faq-item{border-bottom:1px solid var(--line)}
.wfc .faq-item:first-child{border-top:1px solid var(--line)}
.wfc .faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 2px;text-align:left;font-size:15.5px;font-weight:600;letter-spacing:-.01em;color:var(--ink-2)}
.wfc .faq-q .pm{flex:none;width:22px;height:22px;border-radius:50%;border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center;color:var(--soft);font-size:14px;transition:transform .18s var(--ease)}
.wfc .faq-item.open .pm{transform:rotate(45deg);color:var(--accent);border-color:var(--accent-line);background:var(--accent-soft)}
/* The open state animates grid-template-rows, NOT a fixed max-height. The 460px cap this
   used to carry was not clipping anything yet — measured 2026-08-02 in Playwright against the
   served page at 1440/1024/768/600/390/360/320, the tallest open answer was 425px at 320px
   wide. But that answer is "Which countries do you test from?", which ENUMERATES the fleet:
   35px of headroom on a 24px line means the cap fires when the list grows by roughly one
   country, and it fires silently — overflow:hidden, no scrollbar, the tail of the answer just
   stops existing. A cap whose trigger is "we added a probe" does not belong on the copy that
   lists the probes. 0fr -> 1fr resolves to the real content height, so no length can clip.
   Browsers too old to interpolate to 1fr snap open instead of easing — content still shows.
   Do NOT reintroduce a pixel cap here. */
.wfc .faq-a{display:grid;grid-template-rows:0fr;overflow:hidden;transition:grid-template-rows .25s var(--ease)}
/* The closing gap is a pseudo-element, NOT padding-bottom. A border-box element can never
   shrink below its own padding, so the 18px padding-bottom that worked under max-height:0
   would keep an 18px ghost row visible under every CLOSED question once the collapse moved to
   grid rows. Inside the p it is content, so overflow:hidden eats it. */
.wfc .faq-a p{min-height:0;overflow:hidden;padding:0 40px 0 2px;font-size:14.5px;line-height:1.65;color:var(--muted)}
.wfc .faq-a p::after{content:'';display:block;height:18px}
.wfc .faq-item.open .faq-a{grid-template-rows:1fr}

/* other tools */
.wfc .tools-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.wfc .tool-link{display:flex;flex-direction:column;gap:5px;padding:17px 18px 15px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);transition:border-color .15s, box-shadow .15s}
.wfc .tool-link:hover{border-color:var(--accent-line);box-shadow:0 8px 24px -14px rgba(15,23,42,.18)}
.wfc .tool-link b{font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--ink-2);display:flex;align-items:center;gap:7px}
.wfc .tool-link b svg{color:var(--accent)}
.wfc .tool-link span{font-size:12.5px;color:var(--soft)}
.wfc .tool-link.featured{border-color:var(--accent-line);background:linear-gradient(180deg,#fff,var(--accent-soft))}

/* CTA band */
.wfc .band{margin-top:80px;background:var(--dark);color:var(--dark-ink);position:relative;overflow:hidden}
.wfc .band::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 640px 320px at 82% 130%, rgba(78,201,126,.14), transparent 60%);pointer-events:none}
.wfc .band-in{max-width:1120px;margin:0 auto;padding:58px 24px;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;position:relative}
.wfc .band h2{font-size:30px;line-height:1.14;font-weight:700;letter-spacing:-.022em;color:#fff}
.wfc .band h2 .accent-i{color:var(--accent-bright)}
.wfc .band p{margin-top:12px;font-size:15px;line-height:1.6;color:var(--dark-muted);max-width:46ch}
.wfc .band-form{display:flex;gap:8px;background:#fff;border-radius:12px;padding:6px;box-shadow:0 20px 50px -22px rgba(0,0,0,.5)}
.wfc .band-form input{flex:1;border:0;outline:0;background:none;padding:0 14px;height:44px;font-size:14.5px;color:var(--ink);min-width:0}
.wfc .band-form input::placeholder{color:var(--soft)}
.wfc .band-form .btn-run{display:inline-flex;align-items:center;padding:0 18px;border-radius:8px;background:var(--cta);color:var(--cta-ink);font-size:14px;font-weight:650;white-space:nowrap;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.wfc .band-trust{display:flex;gap:20px;margin-top:14px;font-family:var(--mono);font-size:11.5px;color:var(--dark-soft)}
.wfc .band-trust span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.wfc .band-trust svg{color:var(--accent-bright)}

/* ============================================================
   CHECKING view — the live sort board
   ============================================================ */
.wfc .runhead{background:var(--dark);color:var(--dark-ink);position:relative;overflow:hidden;margin-top:-64px}
.wfc .runhead::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 700px 300px at 50% 130%, rgba(78,201,126,.10), transparent 60%);pointer-events:none}
.wfc .runhead-in{max-width:1120px;margin:0 auto;padding:94px 24px 26px;position:relative}
.wfc .runrow{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.wfc .urlchip{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.05);border:1px solid var(--dark-line-2);border-radius:10px;padding:9px 14px;font-family:var(--mono);font-size:14px;color:#fff}
.wfc .urlchip .fav{width:18px;height:18px;border-radius:5px;background:linear-gradient(135deg,#e8837e,#b84f4f);display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;color:#fff;font-family:var(--sans)}
.wfc .urlchip .rt{color:var(--accent-bright);font-size:12px;font-weight:600}
/* Real favicon of the tested site (loaded into a .fav box; falls back to the initial). */
.wfc .urlchip .fav img{width:16px;height:16px;object-fit:contain;border-radius:3px;display:block}
.wfc .crumb .fav img{width:14px;height:14px;object-fit:contain;border-radius:3px;display:block}
.wfc .urlchip .fav[data-favicon],.wfc .crumb .fav[data-favicon]{background:#fff}
.wfc .crumb .fav{width:16px;height:16px;border-radius:4px;background:linear-gradient(135deg,#e8837e,#b84f4f);display:inline-flex;align-items:center;justify-content:center;font-size:8px;font-weight:700;color:#fff;font-family:var(--sans);flex:none}
.wfc .runrow .spacer{flex:1}
.wfc .run-status{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;color:var(--dark-muted)}
.wfc .run-status .hit{color:var(--amber-bright);font-weight:600}
.wfc .pbar i{display:block;height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent-bright));transition:width .3s}

/* the departure queue — chips leave as answers land */
.wfc .queue{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px;min-height:29px}
.wfc .queue-label{font-family:var(--mono);font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--dark-soft);align-self:center;margin-right:4px}
.wfc .qc{display:inline-flex;align-items:center;gap:7px;font-family:var(--mono);font-size:11px;color:var(--dark-muted);border:1px solid var(--dark-line-2);background:rgba(255,255,255,.04);border-radius:999px;padding:4.5px 11px}
.wfc .qc .fl{font-size:13px;line-height:1}
.wfc .qc .mini-spin{width:10px;height:10px;border-radius:50%;border:1.5px solid rgba(255,255,255,.18);border-top-color:var(--accent-bright);animation:tool-rot .8s linear infinite}

.wfc .check-banner{
  margin-top:16px;display:none;align-items:center;gap:10px;
  border:1px solid rgba(240,205,109,.38);background:rgba(240,205,109,.10);
  border-radius:var(--radius-sm);padding:11px 16px;font-size:14px;color:#f4e3b2;
}
.wfc .check-banner.on{display:flex}
.wfc .check-banner svg{color:var(--amber-bright);flex:none}
.wfc .live-zone{padding:34px 0 0}

/* the two buckets */
.wfc .sort-board{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.wfc .bucket{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px rgba(15,23,42,.04), 0 12px 32px -18px rgba(15,23,42,.12);overflow:hidden}
.wfc .bucket-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line)}
.wfc .bucket-head b{font-size:12.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.wfc .bucket-head .bc{font-family:var(--mono);font-size:11px;color:var(--soft)}
.wfc .bucket.same .bucket-head{background:var(--accent-soft)}
.wfc .bucket.same .bucket-head b{color:var(--accent)}
.wfc .bucket.diff .bucket-head{background:var(--warn-soft)}
.wfc .bucket.diff .bucket-head b{color:var(--warn)}
.wfc .cr{display:flex;align-items:center;gap:11px;padding:10.5px 16px;border-bottom:1px solid var(--bg-3);animation:wfc-land .4s var(--ease)}
.wfc .cr:last-child{border-bottom:0}
.wfc .cr .fl{font-size:17px;line-height:1;flex:none}
.wfc .cr .cn{flex:1;min-width:0}
.wfc .cr .cn b{display:block;font-size:13px;font-weight:600;letter-spacing:-.01em;color:var(--ink-2)}
.wfc .cr .cn span{font-size:11px;color:var(--soft)}
.wfc .cr .det{font-family:var(--mono);font-size:11px;color:var(--ink-3);text-align:right;white-space:nowrap}
.wfc .cr .pill{flex:none}
.wfc .bucket .empty{padding:24px 16px;text-align:center;font-size:12.5px;color:var(--soft)}
.wfc .ledger .cr{animation:none;padding:10.5px 0}
/* divider before the ledger's "not measured" tail */
.wfc .ledger .ledger-split{
  margin-top:12px;padding-top:11px;border-top:1px solid var(--line-2);
  font-family:var(--mono);font-size:11px;color:var(--soft);
}

/* live board: the locations we could not measure, kept OUT of both buckets */
.wfc .board-note{
  margin-top:14px;padding:11px 14px;border:1px solid var(--line-2);border-radius:var(--radius-sm);
  background:var(--bg-3);font-size:12.5px;line-height:1.5;color:var(--muted);
}
.wfc .board-note b{color:var(--ink-2);font-weight:600}
.wfc .board-note[hidden]{display:none}

/* latency ladder (all-same result) */
.wfc .lat{display:grid;gap:7px}
.wfc .lat-row{display:flex;align-items:center;gap:10px;font-size:12.5px}
.wfc .lat-row .lc{flex:none;width:148px;display:flex;gap:7px;align-items:center;color:var(--ink-2);font-weight:550;white-space:nowrap;overflow:hidden}
.wfc .lat-row .lc .fl{font-size:14px;line-height:1}
.wfc .lat-row .lb{flex:1;height:7px;border-radius:999px;background:var(--bg-3);overflow:hidden}
.wfc .lat-row .lb i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent-bright))}
.wfc .lat-row .lv{flex:none;width:62px;text-align:right;font-family:var(--mono);font-size:11px;color:var(--ink-3)}

/* ============================================================
   RESULT views (rendered by JS)
   ============================================================ */
.wfc .verdict-zone{margin-top:-64px}
.wfc .verdict-in{padding:104px 24px 40px}
.wfc .crumb{flex-wrap:wrap}
.wfc .v-answer .accent-i{color:var(--accent-bright)}
/* our fleet had nothing to report — grey, never the amber/red "something is wrong with
   your site" tone, because nothing about the site was measured */
.wfc .badge-mute{background:rgba(255,255,255,.06);border:1px solid var(--dark-line-2);color:var(--dark-muted)}
.wfc .badge-mute .dot{background:var(--dark-soft)}
/* coverage sentence appended to the verdict line when probes of ours went missing */
.wfc .cover-note{color:var(--dark-soft)}

/* results body */

/* what-we-checked kv */
.wfc .kv .v.warn{color:var(--warn);font-weight:550}

/* triage list */
.wfc .opp:last-child{border-bottom:0}
.wfc .opp p b{display:inline;font-size:inherit;color:var(--ink-2)}
.wfc .opp p .mono{font-size:11.5px;color:var(--ink-3)}
.wfc .opp .act{display:inline-block;margin-top:8px;font-family:var(--mono);font-size:11px;font-weight:600;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:6px;padding:2px 8px;white-space:nowrap}
.wfc .opp .act.warn{color:var(--warn);background:var(--warn-soft);border-color:var(--warn-line)}

/* capture cards */
.wfc .capture.warn{border-color:var(--warn-line);background:linear-gradient(180deg,#fff,var(--warn-soft));box-shadow:0 1px 2px rgba(15,23,42,.04), 0 16px 40px -22px rgba(182,120,0,.22)}
.wfc .capture h3 em{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--warn)}
.wfc .cap-form .btn-warn{
  display:inline-flex;align-items:center;gap:7px;padding:0 16px;border-radius:8px;
  background:var(--warn);color:#fff;font-size:13.5px;font-weight:650;white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15);transition:filter .15s;
}
.wfc .cap-form .btn-warn:hover{filter:brightness(1.08)}
.wfc .cap-note{margin-top:10px;font-size:12px;color:var(--accent);font-weight:600;display:none}
.wfc .cap-note.on{display:block}
.wfc .capture.warn .cap-note{color:var(--warn)}
.wfc .owner-line{margin-top:14px;padding-top:14px;border-top:1px dashed var(--warn-line);font-size:13px;color:var(--muted)}
.wfc .owner-line b{color:var(--ink-2)}
.wfc .owner-line a{color:var(--accent);font-weight:600}

/* share / badge */

/* cross-sell */
.wfc .deep-link{
  display:flex;align-items:center;gap:14px;padding:16px 18px;
  border:1px solid var(--accent-line);border-radius:var(--radius-sm);
  background:linear-gradient(180deg,#fff,var(--accent-soft));transition:box-shadow .15s;
}
.wfc .deep-link:hover{box-shadow:0 10px 26px -16px rgba(0,126,66,.35)}
.wfc .deep-link .glyph{flex:none;width:36px;height:36px;border-radius:9px;background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent);display:flex;align-items:center;justify-content:center}
.wfc .deep-link b{display:block;font-size:13.5px;font-weight:650;color:var(--ink-2)}
.wfc .deep-link span{font-size:12px;color:var(--muted)}
.wfc .deep-link svg.arr{margin-left:auto;color:var(--accent);flex:none}

.wfc .foot-pad{height:74px}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:960px){
  .wfc .wfc-hero h1{font-size:38px}
  .wfc .duo,.wfc .res-grid{grid-template-columns:1fr}
  .wfc .quad{grid-template-columns:1fr 1fr}
  .wfc .err-grid{grid-template-columns:1fr 1fr}
  .wfc .tools-row{grid-template-columns:1fr 1fr}
  .wfc .band-in{grid-template-columns:1fr;gap:28px}
        }
@media (max-width:620px){
  .wfc .wfc-hero h1{font-size:30px}
  .wfc .hero-in{padding-top:108px}
  .wfc .testbar{flex-direction:column;gap:6px}
  .wfc .testbar .btn-run{height:46px;justify-content:center}
  .wfc .quad,.wfc .err-grid,.wfc .tools-row{grid-template-columns:1fr}
  .wfc .sort-board{grid-template-columns:1fr}
}

/* ============================================================
   Containment + collision fixes (2026-07-29) — keep through refactors.
   The grid/flex min-width:auto family trap: nowrap mono runs (cheat commands,
   ledger details, the CTA-band trust row) force tracks past the phone viewport
   (landing laid out 763px wide at 360; results 466). Fixes live at the END of
   this sheet so a future refactor hoisting shared rules cannot silently undo
   them (that clobbered domain-checker once).
   ============================================================ */
/* terminal cheatsheet: commands shrink + ellipsize instead of widening the row.
   .cheat > * is the load-bearing one: the grid's auto track floors at each row's
   min-content (the nowrap command text) unless the grid ITEMS get min-width:0. */
.wfc .cheat > *{min-width:0}
.wfc .ch-row > *{min-width:0}
.wfc .cmd{min-width:0;flex:1 1 auto}
.wfc .cmd .c{min-width:0;flex:1 1 auto}
/* CTA band: the column tracks must not inherit their content's nowrap width */
.wfc .band-in > *{min-width:0}
.wfc .band-trust{flex-wrap:wrap;row-gap:8px}
/* result/board rows: long details ("→ www.apps.disneyplus.com") ellipsize */
.wfc .cr > *{min-width:0}
.wfc .cr .det{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis}
/* verdict hero: at ≤960 the column layout shrink-to-fits items to their widest
   child and the permalink's max-width:100% is circular against a content-sized
   parent (min(x,100%) can't cap intrinsic sizing) — pin the columns instead */
.wfc .verdict-hero > *{min-width:0}
.wfc .verdict-actions{flex-wrap:wrap}
.wfc .permalink{max-width:100%;min-width:0}
.wfc .permalink span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:960px){
  .wfc .verdict-main,.wfc .v-side{width:100%}
}
/* .port-row (result "edges" card + landing "usual suspects") has two RIGID ends: .pt is
   flex:none with a 170px floor, and .pill is white-space:nowrap. Flex items also default to
   min-width:auto, so .pd floors at its own min-content ("United States · Peru · United
   Kingdom · …"). Below ~400px those three floors add up to more than the card's content box
   and, because nothing may shrink, the children simply render past it — measured 2026-08-02
   on the served result view: card content box 230px, .pill right edge at 466px on a 320px
   viewport, i.e. 170px of the row hanging outside the card and off the page. Same class of
   bug as `.cheat > *{min-width:0}` above. Let the row wrap and make .pd the part that gives. */
.wfc .port-row{flex-wrap:wrap}
.wfc .port-row > *{min-width:0}
@media (max-width:520px){
  .wfc .port-row .pt{min-width:0;flex:1 1 100%}
  .wfc .port-row .pd{flex:1 1 auto}
}
/* share badge demo wraps instead of pushing the card */
.wfc .badge-demo{flex-wrap:wrap}
.wfc .upt-badge{max-width:100%;flex-wrap:wrap;height:auto;min-height:30px;row-gap:2px}
.wfc .badge-code{overflow-wrap:anywhere}
@media (max-width:620px){
  .wfc .band-form{flex-wrap:wrap}
  .wfc .band-form input{flex:1 1 100%}
  .wfc .band-form .btn-run{flex:1 1 100%;justify-content:center;height:44px}
  .wfc .ch-row b{min-width:0;flex:1 1 100%}
  .wfc .cmd{max-width:100%}
}
