/* ============================================================
   Uptimia — Free MTA-STS Lookup (/mta-sts-checker)
   Ported from docs/mta-sts-checker-mockup.html <style> block —
   which shares the exact skin of the SPF/DKIM/DMARC mail-suite
   siblings, so this file is that shared skin re-scoped.

   EVERYTHING is scoped under the root wrapper `.mts` so it can
   never collide with homepage-v30.css / tools.css (both also
   loaded on the page — they define global .hero/.card/.pill/
   .btn-cta/.wrap/.field/.testbar). The mockup's :root custom
   properties live on `.mts` instead of :root; generic
   @keyframes (pulse/rot/land) are renamed mts-pulse / mts-rot /
   mts-land. The mockup's own site chrome (.topbar / .nav /
   .brand / .dock / .foot) is intentionally dropped — the real
   page provides top_menu + footer. Fonts are NOT imported here;
   the site already loads them.

   Sibling boundary: /mx-checker owns the front door (resolves +
   knocks on the live MX); /tls-version-checker owns which
   protocols those doors speak — this tool owns the LOCK: the
   RFC 8461 policy grade (mode graded honestly), whether both
   halves agree, and whether they agree with the live MX.

   The .tree / .tr-row / .lkn ledger rows (a DMARC ladder in the
   sibling) render the mx:-vs-live-MX coverage table here; the
   .port-row steps render the testing→enforce ramp and the
   how-a-delivery-dies walk. Additions over the mockup:
   .hero-error (run failures), .starter-rec (the copyable starter
   setup on the no-policy verdict), .badge-img and [hidden]. */

/* scoped reset */
.mts,
.mts *,
.mts *::before,
.mts *::after{box-sizing:border-box;margin:0;padding:0}

/* ---- theme tokens (scoped, not on :root) + base typography ---- */
.mts{
  /* verbatim from www.uptimia.com :root */

  font-family:var(--sans);
  background:var(--bg-2);
  color:var(--ink);
  font-size:15px;line-height:1.55;font-weight:450;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  font-feature-settings:'cv11','ss01','ss03','tnum';
}
.mts a{color:inherit;text-decoration:none}
.mts button{font:inherit;cursor:pointer;background:none;border:0;color:inherit}
.mts input,.mts select,.mts textarea{font:inherit;color:inherit}
.mts svg{display:block}
.mts .wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.mts .mono{font-family:var(--mono)}
.mts .micro{font-size:11.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--soft)}
.mts [hidden]{display:none !important}

.mts .view{display:none}
.mts .view.on{display:block}

/* ============================================================
   HERO (dark)
   ============================================================ */

.mts .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);
}
.mts .testbar .field{flex:1;display:flex;align-items:center;gap:11px;padding:0 8px 0 14px;min-width:0;border:0;background:none;margin:0}
.mts .testbar .field svg{color:var(--soft);flex:none}
.mts .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;box-shadow:none}
.mts .testbar input::placeholder{color:var(--soft)}
.mts .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;
}
.mts .testbar .btn-run:hover{filter:brightness(1.05)}
.mts .testbar .btn-run:active{transform:scale(.99)}
.mts .hero-error{
  max-width:720px;margin:14px auto 0;text-align:left;
  background:rgba(255,122,104,.12);border:1px solid rgba(255,122,104,.4);
  color:#ffb4a8;border-radius:10px;padding:10px 16px;font-size:14px;
}

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

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

/* the-four quad */

/* readout decoder */

/* duo */
.mts .duo{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.mts .duo-side h3{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.018em;margin-bottom:10px}
.mts .duo-side p{font-size:14.5px;line-height:1.65;color:var(--muted);margin-bottom:12px}
.mts .duo-side ul{list-style:none;display:grid;gap:8px;margin:16px 0 20px}
.mts .duo-side li{display:flex;gap:9px;font-size:13.5px;color:var(--muted)}
.mts .duo-side li svg{color:var(--accent);flex:none;margin-top:3px}
.mts .port-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--bg-3)}
.mts .port-row:last-child{border-bottom:0}
.mts .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}
.mts .port-row .pd{flex:1;font-size:12.5px;color:var(--muted)}

/* terminal cheatsheet */
.mts .cheat{max-width:860px;margin:0 auto;display:grid;gap:8px}
.mts .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}
.mts .ch-row b{flex:1;font-size:13.5px;font-weight:600;letter-spacing:-.01em;color:var(--ink-2);min-width:190px}
.mts .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;
}
.mts .cmd .c{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mts .cmd button{color:var(--accent);font-weight:600;font-size:11px;flex:none}

/* FAQ */
.mts .faq{max-width:760px;margin:0 auto}
.mts .faq-item{border-bottom:1px solid var(--line)}
.mts .faq-item:first-child{border-top:1px solid var(--line)}
.mts .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)}
.mts .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)}
.mts .faq-item.open .pm{transform:rotate(45deg);color:var(--accent);border-color:var(--accent-line);background:var(--accent-soft)}
/* Grid rows, NOT a max-height pixel cap: the sibling pages' 460px cap
   actively clipped their longest answers at narrow widths (dmarc pass 69
   measured 568px needed at 320px), silently cutting the conclusions. 0fr→1fr
   animates to the answer's real height at every width. Do NOT reintroduce a
   pixel cap. The closing 18px gap moved from the p's padding-bottom to a
   ::after spacer so the collapsed row measures a true 0. */
.mts .faq-a{display:grid;grid-template-rows:0fr;overflow:hidden;transition:grid-template-rows .25s var(--ease)}
.mts .faq-a p{min-height:0;overflow:hidden;padding:0 40px 0 2px;font-size:14.5px;line-height:1.65;color:var(--muted)}
.mts .faq-a p::after{content:'';display:block;height:18px}
.mts .faq-item.open .faq-a{grid-template-rows:1fr}

/* other tools */
.mts .tools-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.mts .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}
.mts .tool-link:hover{border-color:var(--accent-line);box-shadow:0 8px 24px -14px rgba(15,23,42,.18)}
.mts .tool-link b{font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--ink-2);display:flex;align-items:center;gap:7px}
.mts .tool-link b svg{color:var(--accent)}
.mts .tool-link span{font-size:12.5px;color:var(--soft)}
.mts .tool-link.featured{border-color:var(--accent-line);background:linear-gradient(180deg,#fff,var(--accent-soft))}

/* CTA band */
.mts .band{margin-top:80px;background:var(--dark);color:var(--dark-ink);position:relative;overflow:hidden}
.mts .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}
.mts .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}
.mts .band h2{font-size:30px;line-height:1.14;font-weight:700;letter-spacing:-.022em;color:#fff}
.mts .band p{margin-top:12px;font-size:15px;line-height:1.6;color:var(--dark-muted);max-width:46ch}
.mts .band-form{display:flex;gap:8px;background:#fff;border-radius:12px;padding:6px;box-shadow:0 20px 50px -22px rgba(0,0,0,.5)}
.mts .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;box-shadow:none}
.mts .band-form input::placeholder{color:var(--soft)}
.mts .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)}
.mts .band-trust{display:flex;gap:20px;margin-top:14px;font-family:var(--mono);font-size:11.5px;color:var(--dark-soft)}
.mts .band-trust span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.mts .band-trust svg{color:var(--accent-bright)}

/* ============================================================
   CHECKING view — parse + follow-the-reports walk
   ============================================================ */
.mts .runhead{background:var(--dark);color:var(--dark-ink);position:relative;overflow:hidden}
.mts .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}
.mts .runhead-in{max-width:1120px;margin:0 auto;padding:30px 24px 26px;position:relative}
.mts .runrow{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.mts .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}
.mts .urlchip .fav{width:18px;height:18px;border-radius:5px;background:linear-gradient(135deg,#7ea4e8,#4f6ab8);display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;color:#fff;font-family:var(--sans)}
/* Real favicon of the checked site (loaded into the .fav box; falls back to the initial). */
.mts .urlchip .fav img{width:16px;height:16px;object-fit:contain;border-radius:3px;display:block}
.mts .urlchip .fav[data-favicon]{background:#fff}
.mts .urlchip .rt{color:var(--accent-bright);font-size:12px;font-weight:600}
.mts .runrow .spacer{flex:1}
.mts .run-status{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;color:var(--dark-muted)}
.mts .run-status .hit{color:var(--amber-bright);font-weight:600}

/* the enforcement ladder — 4 rungs, live */
.mts .budget{display:flex;gap:5px}
.mts .lad-labels{display:flex;gap:5px;margin-top:7px;font-family:var(--mono);font-size:10.5px;color:var(--dark-soft)}
.mts .lad-labels span{flex:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mts .lad-labels span.on{color:#fff;font-weight:600}

.mts .check-banner{
  margin-top:18px;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;
}
.mts .check-banner svg{color:var(--amber-bright);flex:none}
.mts .check-banner.good{border-color:rgba(78,201,126,.35);background:rgba(78,201,126,.08);color:#c4e8d2}
.mts .check-banner.good svg{color:var(--accent-bright)}
.mts .live-zone{padding:34px 0 0}

/* live walk terminal */
.mts .term{background:var(--dark);border:1px solid var(--dark-line-2);border-radius:var(--radius);overflow:hidden;box-shadow:0 20px 50px -28px rgba(0,0,0,.55)}

/* ============================================================
   RESULT views
   ============================================================ */

/* results body */

/* the raw record, tokenized */
.mts .rec-raw{font-family:var(--mono);font-size:12.5px;line-height:2.15;word-break:break-word}
.mts .tok{display:inline-block;border-radius:6px;padding:1px 7px;margin:0 3px 3px 0;border:1px solid var(--line-2);background:var(--bg-3);color:var(--ink-3);white-space:nowrap}
.mts .tok.ver{color:var(--soft);background:var(--bg-2);border-style:dashed}
.mts .tok.lk{border-color:#d8dcea;background:#f2f4fa;color:#40518f}
.mts .tok.ip{border-color:var(--accent-line);background:var(--accent-soft);color:var(--accent-2)}
.mts .tok.goodk{border-color:var(--accent-line);background:var(--accent-soft);color:var(--accent);font-weight:600}
.mts .tok.warnk{border-color:var(--warn-line);background:var(--warn-soft);color:var(--warn);font-weight:600}
.mts .tok.badk{border-color:var(--bad-line);background:var(--bad-soft);color:var(--bad);font-weight:600}
.mts .tok.dep{border-color:var(--warn-line);background:var(--warn-soft);color:var(--warn);text-decoration:underline wavy rgba(182,120,0,.5)}
.mts .rec-note{margin-top:10px;font-size:12.5px;color:var(--muted)}
.mts .rec-note b{color:var(--ink-2)}

/* ladder / ledger rows */
/* minmax(0,1fr), not the default auto track: .tr-row is a flex row whose
   min-content includes the nowrap .tm label and the flex:none .pill, so an auto
   track grows past the card and the row's text spills over the right edge
   instead of ellipsing. Capping the track lets .td (min-width:0) truncate. */
.mts .tree{display:grid;grid-template-columns:minmax(0,1fr)}
.mts .tr-row{display:flex;min-width:0;align-items:center;gap:10px;padding:7.5px 0;border-bottom:1px solid var(--bg-3);font-size:12.5px}
.mts .tr-row:last-child{border-bottom:0}
.mts .tr-row .lkn{flex:none;width:34px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:11px;font-weight:600;background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent)}
.mts .tr-row .lkn.free{background:var(--bg-3);border-color:var(--line-2);color:var(--soft);font-weight:500}
.mts .tr-row .lkn.hot{background:var(--warn-soft);border-color:var(--warn-line);color:var(--warn)}
.mts .tr-row .lkn.ovr{background:var(--bad-soft);border-color:var(--bad-line);color:var(--bad)}
.mts .tr-row .tm{flex:none;font-family:var(--mono);font-size:12px;color:var(--ink-2);font-weight:600;white-space:nowrap}
.mts .tr-row .tm .q{color:var(--soft);font-weight:500}
.mts .tr-row .td{flex:1;min-width:0;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mts .tr-row .td b{color:var(--ink-2);font-weight:600}
.mts .tr-row .pill{flex:none}
.mts .tr-row.dimmed .tm{color:var(--soft);font-weight:500}
.mts .tr-row.dimmed .td{color:var(--soft)}
.mts .tr-row.here{background:linear-gradient(90deg,var(--accent-soft),transparent 72%);border-radius:8px;padding-left:8px;margin-left:-8px}
.mts .tr-row.here-warn{background:linear-gradient(90deg,var(--warn-soft),transparent 72%);border-radius:8px;padding-left:8px;margin-left:-8px}
.mts .tr-row.here-bad{background:linear-gradient(90deg,var(--bad-soft),transparent 72%);border-radius:8px;padding-left:8px;margin-left:-8px}
.mts .tree-foot{margin-top:12px;font-size:13px;color:var(--muted)}
.mts .tree-foot b{color:var(--ink-2)}

/* report-destination rows + the authorization record chip */
.mts .auth-rec{
  font-family:var(--mono);font-size:11.5px;color:var(--ink-3);
  background:var(--bg-3);border:1px dashed var(--line-2);border-radius:8px;
  padding:9px 12px;margin-top:8px;word-break:break-all;line-height:1.7;
}
.mts .auth-rec b{color:var(--accent-2);font-weight:600}
/* ORDER GUARD (step 9): .auth-rec renders INSIDE .opp (see the oppsCardHTML
   builders in public/website/js/), so its <b> matches both rules at 0-2-1.
   The shared .tool .opp b now lives in tools-page.css, which loads BEFORE this
   file, so .auth-rec b would newly win. It did not before. Restating the two
   overlapping declarations after it keeps today's rendering exactly. */
.mts .opp b{font-weight:650;color:var(--ink-2)}
.mts .auth-rec.missing{border-color:var(--bad-line);background:var(--bad-soft);color:var(--bad)}
.mts .auth-rec.missing b{color:var(--bad)}

/* the copyable starter record (no-record verdict) */
.mts .starter-rec{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  font-family:var(--mono);font-size:12px;color:var(--ink-2);
  background:var(--accent-soft);border:1px dashed var(--accent-line);border-radius:8px;
  padding:10px 12px;margin-top:8px;word-break:break-all;line-height:1.7;
}
.mts .starter-rec .sr-txt{flex:1;min-width:200px}
.mts .starter-rec b{color:var(--accent-2)}
.mts .starter-rec button{color:var(--accent);font-weight:600;font-size:11.5px;flex:none}

/* triage list */
.mts .opp:last-child{border-bottom:0}
.mts .sev.ok{background:var(--accent)}
.mts .opp p b{display:inline;font-size:inherit;color:var(--ink-2)}
.mts .opp p .mono{font-size:11.5px;color:var(--ink-3)}
.mts .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}
.mts .opp .act.warn{color:var(--warn);background:var(--warn-soft);border-color:var(--warn-line)}
.mts .opp .act.bad{color:var(--bad);background:var(--bad-soft);border-color:var(--bad-line)}

/* capture cards */
.mts .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)}
.mts .capture.bad{border-color:var(--bad-line);background:linear-gradient(180deg,#fff,var(--bad-soft));box-shadow:0 1px 2px rgba(15,23,42,.04), 0 16px 40px -22px rgba(192,56,43,.22)}
.mts .capture h3 em{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--warn)}
.mts .capture.bad h3 em{color:var(--bad)}
.mts .cap-form input{box-shadow:none}
.mts .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;
}
.mts .cap-form .btn-warn:hover{filter:brightness(1.08)}
.mts .cap-form .btn-bad{
  display:inline-flex;align-items:center;gap:7px;padding:0 16px;border-radius:8px;
  background:var(--bad);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;
}
.mts .cap-form .btn-bad:hover{filter:brightness(1.08)}

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

/* share / badge — the SVG has width/height attrs but no viewBox, so cap it to
   the column instead of pinning height (a long domain otherwise overflows the
   card at narrow viewports). */
.mts .badge-img{max-width:100%;height:auto}
.mts .badge-demo .act-ghost{border-color:var(--line-2);color:var(--ink-2)}

/* cross-sell */
.mts .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;
}
.mts .deep-link:hover{box-shadow:0 10px 26px -16px rgba(0,126,66,.35)}
.mts .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}
.mts .deep-link b{display:block;font-size:13.5px;font-weight:650;color:var(--ink-2)}
.mts .deep-link span{font-size:12px;color:var(--muted)}
.mts .deep-link svg.arr{margin-left:auto;color:var(--accent);flex:none}

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

/* width containment (2026-07-29 family sweep — mirrors the dmarc sibling):
   long unbroken mono tokens (policy URLs, _mta-sts hostnames, mx patterns)
   must wrap inside their cards instead of widening the page at 360px. The
   shared .tool skin already contains .permalink/.kv .v/.verdict-main. */
.mts .verdict-hero > *{min-width:0}
.mts .permalink{max-width:100%;min-width:0}
/* the URL span is itself a flex item of the inline-flex chip — without
   flex/min-width it keeps min-width:auto and the chip can never shrink
   below the full nowrap URL */
.mts .permalink span{flex:1;min-width:0;overflow-wrap:anywhere}
.mts .faq-a p{overflow-wrap:anywhere}
.mts .rec-note,.mts .tree-foot{overflow-wrap:anywhere}
.mts .opp p,.mts .opp b{overflow-wrap:anywhere}
.mts .port-row .pd{min-width:0;overflow-wrap:anywhere}
.mts .urlchip{max-width:100%;flex-wrap:wrap}
.mts .cheat > *{min-width:0}
.mts .ch-row > *{min-width:0}
.mts .badge-code{white-space:normal;overflow-wrap:anywhere}

/* 2026-08-04 (pass 70) — the three leak shapes the dmarc pass-69 walk found,
   preempted here on the shared skin's identical markup:
   1. .tok is nowrap and a policy token can run long (an mx: pattern is an
      arbitrary hostname) — let tokens wrap mid-token rather than widen the page;
   2. .opp's body is an inline <div style="flex:1"> — flex items default to
      min-width:auto, so the nowrap .act chip inside sets a hard min-content
      floor at 320px unless the body may shrink and the chip may wrap;
   3. .deep-link's flex:1 <span> embeds the checked domain in deep.sub — a long
      domain otherwise sets the row's min-content past narrow viewports. */
.mts .tok{white-space:normal;overflow-wrap:anywhere}
.mts .opp > div{min-width:0}
.mts .opp .act{white-space:normal}
.mts .deep-link > span{min-width:0}
.mts .deep-link b,.mts .deep-link span{overflow-wrap:anywhere}
.mts .v-chip .micro,.mts .v-chip .val,.mts .v-chip .sub{overflow-wrap:anywhere}
.mts .cap-trust span{white-space:normal}
.mts .starter-rec .sr-txt{overflow-wrap:anywhere}
/* …and this page's own two (probe 2026-08-04, long-domain permalink): the
   breadcrumb's trailing span and the verdict line's <b> both embed the raw
   checked domain — a 57-char domain overflowed every viewport ≤480. */
.mts .crumb{flex-wrap:wrap}
.mts .crumb span{min-width:0;overflow-wrap:anywhere}
.mts .v-answer,.mts .verdict-line,.mts .verdict-line b{overflow-wrap:anywhere}

/* responsive */
@media (max-width:960px){
    .mts .duo,.mts .res-grid{grid-template-columns:1fr}
  /* the shared column stack keeps align-items:flex-start, so without an
     explicit width the verdict column sizes to its widest child (the
     permalink chip) instead of the container — mirror of the dmarc fix */
  .mts .verdict-hero{flex-wrap:wrap}
  .mts .verdict-main,.mts .v-side{width:100%}
  .mts .quad{grid-template-columns:1fr 1fr}
  .mts .err-grid{grid-template-columns:1fr 1fr}
  .mts .tools-row{grid-template-columns:1fr 1fr}
  .mts .band-in{grid-template-columns:1fr;gap:28px}
        }
@media (max-width:620px){
    .mts .testbar{flex-direction:column;gap:6px}
  .mts .testbar .btn-run{height:46px;justify-content:center}
  .mts .quad,.mts .err-grid,.mts .tools-row{grid-template-columns:1fr}
  .mts .tr-row .td{display:none}
  /* 2026-08-04 walk: with .td hidden the row is [lkn 34px][tm nowrap MX
     hostname, flex:none][pill nowrap flex:none] — fastmail's
     in1-smtp.messagingengine.com + the "covered" pill overflow 320/360px
     viewports. Let the hostname shrink/wrap and the pill drop a line. */
  .mts .tr-row{flex-wrap:wrap}
  .mts .tr-row .tm{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}
}
@media (max-width:480px){
  /* the .pt label's 170px floor + gap leaves ~90px of description at 320px —
     stack the row instead (dkim/dmarc sibling fix) */
  .mts .port-row{flex-direction:column;align-items:flex-start;gap:3px}
  .mts .port-row .pt{min-width:0;white-space:normal}
}
