/* MyDNSReport — shared visual theme (v5)
   Dark premium hero: deep navy -> royal blue -> teal -> vivid green,
   constellation canvas, alternating blue/green record chips.
   No external fonts, no CDN, no dependency. */

/* ---------- tokens ---------- */
.mdr-hero,.mdr-banner,.mdr-v4{
  --mdr-navy:#14145e;
  --mdr-royal:#2745c2;
  --mdr-blue:#4559cb;
  --mdr-blue2:#3b5bdb;
  --mdr-teal:#0e8a8a;
  --mdr-green:#00b359;
  --mdr-green2:#00a651;
  --mdr-ink:#1c2440;
  --mdr-mut:#5a6478;
  --mdr-card:rgba(255,255,255,.72);
  --mdr-line:rgba(69,89,203,.16);
}

/* ---------- hero unit (banner + chip strip, one rounded block) ---------- */
.mdr-hero-unit{
  margin:14px 16px !important;
  border-radius:20px !important;
  overflow:hidden;
  box-shadow:0 18px 44px rgba(20,20,110,.32);
  position:relative;
  width:auto;
  width:calc(100% - 32px) !important;
  max-width:1280px;
  box-sizing:border-box;
}
@media (min-width:1312px){
  .mdr-hero-unit{margin-left:auto !important;margin-right:auto !important;}
}
.mdr-banner{
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#14145e 0%,#1e2a8a 22%,#2745c2 45%,#0e7d8c 68%,#00a651 88%,#00b359 100%);
  min-height:380px;
  display:flex;
  align-items:center;
}
.mdr-banner-compact{min-height:200px;}
.mdr-banner-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
.mdr-banner-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1060px;
  margin:0 auto;
  padding:2.6rem 1.25rem;
}
.mdr-banner-compact .mdr-banner-inner{padding:1.9rem 1.25rem;}
.mdr-banner-eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#fff;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  padding:.3rem .8rem;
  margin-bottom:.9rem;
}
.mdr-banner-title{
  margin:0 0 .7rem;
  color:#fff;
  font-weight:800;
  font-size:2.5rem;
  line-height:1.15;
  text-shadow:0 2px 20px rgba(0,0,0,.4);
}
.mdr-banner-compact .mdr-banner-title{font-size:1.7rem;}
.mdr-banner-sub{
  margin:0;
  max-width:660px;
  color:rgba(255,255,255,.9);
  font-size:1.12rem;
  line-height:1.6;
  text-shadow:0 1px 12px rgba(0,0,0,.35);
}
.mdr-banner-compact .mdr-banner-sub{font-size:1rem;}
.mdr-banner-inner a{color:#fff;}

/* ---------- chip strip (dark, below the banner — like the reference) ---------- */
.mdr-chipstrip{
  background:linear-gradient(90deg,#0d0d33 0%,#101a4d 50%,#062b22 100%);
  padding:.9rem 1.25rem;
  display:flex;
  justify-content:center;
}
.mdr-chiprow{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  justify-content:center;
  margin:0;
}
.mdr-chip{
  display:inline-block;
  padding:.45rem 1rem;
  border-radius:999px;
  font-weight:800;
  font-size:.95rem;
  line-height:1.2;
  color:#fff;
  background:linear-gradient(135deg,#4559cb,#2f3fa8);
  box-shadow:0 6px 18px rgba(69,89,203,.45),0 0 0 1px rgba(255,255,255,.14) inset;
  animation:mdr-float 5s ease-in-out infinite;
}
.mdr-chip:nth-child(2n){
  background:linear-gradient(135deg,#00b359,#009144);
  box-shadow:0 6px 18px rgba(0,179,89,.45),0 0 0 1px rgba(255,255,255,.14) inset;
  animation-delay:-1.6s;
}
.mdr-chip:nth-child(3n){animation-delay:-3.1s;}
@keyframes mdr-float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-6px);}
}

/* ---------- v4 content sections, restyled to match ---------- */
.mdr-v4{
  max-width:1060px;
  margin:2.5rem auto;
  padding:0 1rem;
  font-family:inherit;
  color:var(--mdr-ink);
}
.mdr-v4 h2{
  font-size:1.6rem;
  line-height:1.25;
  margin:0 0 .9rem;
  color:var(--mdr-ink);
  background:linear-gradient(90deg,#2745c2,#00a651);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.mdr-v4 h2::after{
  content:"";
  display:block;
  width:64px;
  height:4px;
  border-radius:2px;
  background:linear-gradient(90deg,#4559cb,#00b359);
  margin-top:.55rem;
}
.mdr-v4 h3{font-size:1.05rem;margin:0 0 .35rem;color:var(--mdr-ink);}
.mdr-v4 p{line-height:1.65;margin:.55rem 0;color:#2c3550;}
.mdr-v4 a{color:var(--mdr-blue);text-decoration:underline;text-underline-offset:2px;}
.mdr-v4 .mdr-lead{font-size:1.08rem;}
.mdr-v4.mdr-hero{
  background:
    radial-gradient(60% 90% at 15% 0%,rgba(69,89,203,.20),transparent 60%),
    radial-gradient(55% 80% at 90% 10%,rgba(0,179,89,.16),transparent 60%),
    linear-gradient(180deg,#f4f6ff,#eef1ff);
  border:1px solid var(--mdr-line);
  border-radius:20px;
  padding:1.6rem 1.6rem 1.4rem;
  box-shadow:0 12px 32px rgba(28,36,64,.08);
  margin:0 0 1.4rem;
}
.mdr-v4 .mdr-glass{
  background:var(--mdr-card);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid var(--mdr-line);
  border-top:3px solid transparent;
  border-image:linear-gradient(90deg,#4559cb,#00b359) 1;
  border-radius:16px;
  padding:1.1rem 1.2rem;
  box-shadow:0 8px 24px rgba(28,36,64,.07);
}
.mdr-v4 .mdr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.9rem;margin:1rem 0;}
.mdr-v4 .mdr-chiprow{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0;}
.mdr-v4 .mdr-steps{
  counter-reset:mdr-step;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:.9rem;
  margin:1rem 0;
}
.mdr-v4 .mdr-step{counter-increment:mdr-step;position:relative;padding-top:2.4rem;}
.mdr-v4 .mdr-step::before{
  content:counter(mdr-step);
  position:absolute;
  top:.9rem;
  left:1.2rem;
  width:1.7rem;
  height:1.7rem;
  border-radius:50%;
  background:var(--mdr-blue);
  color:#fff;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.95rem;
}
.mdr-v4 .mdr-step:nth-child(2n)::before{background:var(--mdr-green2);}
.mdr-v4 .mdr-qa{border-top:1px solid var(--mdr-line);padding:.85rem 0;}
.mdr-v4 .mdr-qa:first-of-type{border-top:0;}
.mdr-v4 .mdr-qa strong{color:#2745c2;}
.mdr-v4 .mdr-trust{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0;}
.mdr-v4 .mdr-trust span{
  border:1px solid var(--mdr-line);
  background:#fff;
  border-radius:999px;
  padding:.35rem .8rem;
  font-size:.88rem;
  font-weight:600;
}
.mdr-v4 .mdr-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin:1rem 0;}
.mdr-v4 .mdr-records div{border:1px solid var(--mdr-line);border-radius:12px;padding:.7rem .8rem;background:#fff;}
.mdr-v4 .mdr-records b{color:var(--mdr-blue);}

/* ---------- dark mode ---------- */
@media (prefers-color-scheme:dark){
  .mdr-v4{--mdr-ink:#e8ecf7;--mdr-card:rgba(20,26,48,.72);}
  .mdr-v4 p{color:#c6cde2;}
  .mdr-v4 h2,.mdr-v4 h3{color:#eef1fb;}
  .mdr-v4.mdr-hero{
    background:
      radial-gradient(60% 90% at 15% 0%,rgba(69,89,203,.35),transparent 60%),
      radial-gradient(55% 80% at 90% 10%,rgba(0,179,89,.28),transparent 60%),
      linear-gradient(180deg,#141a30,#10142a);
  }
  .mdr-v4 .mdr-glass,.mdr-v4 .mdr-records div{background:rgba(20,26,48,.72);}
  .mdr-v4 .mdr-trust span{background:#171d38;color:#dfe5f5;}
  .mdr-v4 .mdr-qa strong{color:#8ea2ff;}
}

/* ---------- small screens ---------- */
@media (max-width:640px){
  .mdr-hero-unit{margin:10px 10px !important;border-radius:16px !important;}
  .mdr-banner{min-height:260px;}
  .mdr-banner-compact{min-height:150px;}
  .mdr-banner-title{font-size:1.75rem;}
  .mdr-banner-compact .mdr-banner-title{font-size:1.35rem;}
  .mdr-banner-sub{font-size:1rem;}
  .mdr-banner-inner{padding:2rem 1rem;}
  .mdr-chip{font-size:.85rem;padding:.38rem .8rem;}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .mdr-chip{animation:none;}
}

/* ---------- v6: kill the built-CSS diagonal watermark ---------- */
/* The React bundle paints a faint rotated "mydnsreport.com" ghost via
   body::before (assets/index-*.css). It is purely decorative, so remove
   it in both themes and under both theme mechanisms (.dark class and
   html[data-theme]). The banner/content styling lives elsewhere. */
body::before{background-image:none !important;opacity:0 !important;}
html[data-theme="dark"] body::before{opacity:0 !important;background-image:none !important;}
.dark body::before{opacity:0 !important;background-image:none !important;}

/* ---------- v6: theme-aware content sections ---------- */
/* The app theme is html[data-theme="dark"|"light"] (theme.js), NOT the
   OS preference, so dark rules must key off data-theme. Light mode keeps
   the base (light) styles above. */
html[data-theme="dark"] .mdr-v4{--mdr-ink:#e8ecf7;--mdr-card:rgba(20,26,48,.72);}
html[data-theme="dark"] .mdr-v4 p{color:#c9d1e3;}
html[data-theme="dark"] .mdr-v4 h2,
html[data-theme="dark"] .mdr-v4 h3{color:#eef1fb;}
html[data-theme="dark"] .mdr-v4 h2{background:linear-gradient(90deg,#8ea2ff,#34dc97);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html[data-theme="dark"] .mdr-v4 a{color:#8ea2ff;}
html[data-theme="dark"] .mdr-v4 .mdr-qa strong{color:#8ea2ff;}
html[data-theme="dark"] .mdr-v4 .mdr-records b{color:#8ea2ff;}
html[data-theme="dark"] .mdr-v4.mdr-hero{
  background:
    radial-gradient(60% 90% at 15% 0%,rgba(69,89,203,.35),transparent 60%),
    radial-gradient(55% 80% at 90% 10%,rgba(0,179,89,.28),transparent 60%),
    linear-gradient(180deg,#141a30,#10142a);
}
html[data-theme="dark"] .mdr-v4 .mdr-glass,
html[data-theme="dark"] .mdr-v4 .mdr-records div{background:rgba(20,26,48,.72);border-color:rgba(255,255,255,.12);}
html[data-theme="dark"] .mdr-v4 .mdr-trust span{background:#171d38;color:#dfe5f5;}

/* ---------- v7: light-first theme polish ---------- */
/* mdr-style.css loads AFTER the app CSS in the shell <head>, so these
   :root overrides win over the bundle's warm off-white palette. On static
   pages nothing consumes these names except the prerendered app markup,
   which gets the same clean look. Brand blue primary, green accent. */
:root{
  --background:0 0% 100%;
  --foreground:222 38% 14%;
  --card:0 0% 100%;
  --card-foreground:222 38% 14%;
  --popover:0 0% 100%;
  --popover-foreground:222 38% 14%;
  --primary:229 56% 50%;
  --primary-foreground:0 0% 100%;
  --secondary:230 50% 96%;
  --secondary-foreground:230 30% 35%;
  --muted:225 35% 96%;
  --muted-foreground:224 18% 42%;
  --accent:150 55% 93%;
  --accent-foreground:150 60% 25%;
  --border:225 36% 89%;
  --input:225 30% 86%;
  --ring:229 56% 50%;
  --terminal-green:150 80% 32%;
  --modal-heading:222 25% 12%;
  --modal-text:222 18% 30%;
  --modal-link:229 56% 45%;
}
/* Dark theme: the app keys off html[data-theme] (theme.js) on React pages
   and the .dark class on legacy shells — cover both, keep v6 dark glass. */
html[data-theme="dark"], html.dark{
  --background:222 20% 7%;
  --foreground:220 20% 92%;
  --card:222 18% 10%;
  --card-foreground:220 20% 92%;
  --popover:222 18% 10%;
  --popover-foreground:220 20% 92%;
  --primary:225 70% 65%;
  --primary-foreground:222 20% 8%;
  --secondary:222 18% 14%;
  --secondary-foreground:220 20% 88%;
  --muted:222 18% 14%;
  --muted-foreground:220 12% 68%;
  --accent:150 55% 16%;
  --accent-foreground:150 80% 75%;
  --border:222 20% 20%;
  --input:222 18% 16%;
  --ring:225 70% 65%;
  --terminal-green:150 100% 55%;
  --modal-heading:220 20% 94%;
  --modal-text:220 15% 82%;
  --modal-link:150 90% 65%;
}

/* ---------- v7: homepage trust strip + advantage line ---------- */
.mdr-truststrip{
  max-width:1060px;margin:14px auto 0;padding:0 1rem;
  display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;
}
.mdr-truststrip span{
  border:1px solid var(--mdr-line);background:#fff;border-radius:999px;
  padding:.35rem .85rem;font-size:.88rem;font-weight:700;color:var(--mdr-ink);
  box-shadow:0 4px 14px rgba(28,36,64,.06);
}
.mdr-truststrip span:first-child{color:#fff;background:linear-gradient(135deg,#4559cb,#2f3fa8);}
.mdr-advantage{
  max-width:1060px;margin:.7rem auto 0;padding:0 1rem;text-align:center;
  font-size:1rem;font-weight:600;color:#2c3550;
}
html[data-theme="dark"] .mdr-truststrip span{background:#171d38;color:#dfe5f5;border-color:rgba(255,255,255,.12);}
html[data-theme="dark"] .mdr-advantage{color:#c9d1e3;}

/* ---------- v7: DNS Propagation Checker ---------- */
.mdr-prop{width:min(100% - 40px,1060px);margin:0 auto 2.5rem;font-family:inherit;color:#1c2440;}
.mdr-crumb{font-size:.85rem;color:#5a6478;margin:1.2rem 0 .4rem;}
.mdr-crumb a{color:#2745c2;}
.mdr-prop h1{font-size:2rem;line-height:1.2;margin:.2rem 0 .6rem;color:#1c2440;}
.mdr-prop-intro{line-height:1.65;color:#2c3550;max-width:760px;}
.mdr-prop-tool{background:#fff;border:1px solid rgba(69,89,203,.16);border-radius:20px;box-shadow:0 12px 32px rgba(28,36,64,.08);padding:1.4rem 1.4rem 1.2rem;margin:1.2rem 0 2rem;}
.mdr-prop-fields{display:grid;grid-template-columns:2fr 1.4fr 1.4fr auto;gap:.8rem;align-items:end;}
.mdr-prop-field label{display:block;font-size:.85rem;font-weight:700;margin-bottom:.35rem;color:#1c2440;}
.mdr-prop-optional{font-weight:400;color:#5a6478;}
.mdr-prop-field input,.mdr-prop-field select{width:100%;box-sizing:border-box;padding:.7rem .85rem;font-size:1rem;border:1.5px solid #c9d2ee;border-radius:12px;background:#fff;color:#1c2440;font-family:inherit;}
.mdr-prop-field input:focus,.mdr-prop-field select:focus{outline:3px solid rgba(69,89,203,.35);border-color:#4559cb;}
.mdr-prop-submit{padding:.75rem 1.4rem;font-size:1rem;font-weight:800;color:#fff;border:0;border-radius:12px;cursor:pointer;background:linear-gradient(135deg,#2745c2,#00a651);box-shadow:0 8px 20px rgba(39,69,194,.35);white-space:nowrap;}
.mdr-prop-submit:hover{filter:brightness(1.08);}
.mdr-prop-hint{font-size:.88rem;color:#5a6478;line-height:1.6;margin:.8rem 0 0;}
.mdr-prop-error{color:#b42318;background:#fdecea;border:1px solid #f5c6c0;border-radius:10px;padding:.6rem .8rem;font-size:.92rem;}
.mdr-prop-controls{display:flex;flex-wrap:wrap;gap:.9rem;align-items:center;margin-top:1rem;}
.mdr-prop-refresh{padding:.5rem 1rem;font-weight:700;border-radius:999px;border:1px solid rgba(69,89,203,.35);background:#eef1ff;color:#2745c2;cursor:pointer;}
.mdr-prop-refresh:disabled{opacity:.45;cursor:default;}
.mdr-prop-auto{font-size:.9rem;color:#2c3550;display:flex;gap:.4rem;align-items:center;cursor:pointer;}
.mdr-prop-share{font-size:.85rem;color:#5a6478;}
.mdr-prop-summary{margin-top:1rem;padding:.7rem .9rem;border-radius:12px;background:#eef1ff;border:1px solid rgba(69,89,203,.2);font-weight:700;color:#1c2440;}
.mdr-prop-summary-checking{background:#fff8e6;border-color:#f0d48a;color:#6b4e00;}
.mdr-prop-results{margin-top:1rem;display:flex;flex-direction:column;gap:.6rem;}
.mdr-prop-row{display:grid;grid-template-columns:1.2fr 2fr auto;gap:.8rem;align-items:center;padding:.85rem 1rem;border:1px solid rgba(69,89,203,.16);border-radius:14px;background:#f8f9ff;cursor:pointer;}
.mdr-prop-row:hover{border-color:#4559cb;}
.mdr-prop-row:focus-visible{outline:3px solid rgba(69,89,203,.4);outline-offset:2px;}
.mdr-prop-name{display:block;font-size:1rem;}
.mdr-prop-region{display:block;font-size:.82rem;color:#5a6478;}
.mdr-prop-value{display:flex;flex-wrap:wrap;gap:.35rem;}
.mdr-prop-ans{font-family:var(--mdr-mono);font-size:.92rem;color:#2745c2;background:#fff;border:1px solid rgba(69,89,203,.2);border-radius:8px;padding:.15rem .5rem;word-break:break-all;}
.mdr-prop-noval{color:#5a6478;font-size:.92rem;}
.mdr-prop-status{display:flex;align-items:center;gap:.4rem;font-weight:800;font-size:.92rem;white-space:nowrap;}
.mdr-prop-icon{font-size:1.05rem;}
.mdr-prop-ok{border-color:rgba(0,179,89,.4);}
.mdr-prop-ok .mdr-prop-icon,.mdr-prop-ok .mdr-prop-state{color:#007a37;}
.mdr-prop-warn{border-color:rgba(217,119,6,.45);background:#fffaf0;}
.mdr-prop-warn .mdr-prop-icon,.mdr-prop-warn .mdr-prop-state{color:#92400e;}
.mdr-prop-bad{border-color:rgba(180,35,24,.4);background:#fff5f4;}
.mdr-prop-bad .mdr-prop-icon,.mdr-prop-bad .mdr-prop-state{color:#b42318;}
.mdr-prop-unreachable{border-color:#d4d8e2;background:#f4f5f7;}
.mdr-prop-unreachable .mdr-prop-icon,.mdr-prop-unreachable .mdr-prop-state{color:#5a6478;}
.mdr-prop-pending .mdr-prop-dot{color:#d97706;animation:mdr-pulse 1.2s ease-in-out infinite;}
@keyframes mdr-pulse{0%,100%{opacity:1;}50%{opacity:.25;}}
.mdr-prop-detail{border:1px solid rgba(69,89,203,.16);border-radius:14px;background:#fff;padding:1rem 1.1rem;margin-top:-.2rem;}
.mdr-prop-detail-head{font-size:.95rem;margin-bottom:.6rem;}
.mdr-prop-meta{display:grid;grid-template-columns:auto 1fr;gap:.25rem .9rem;font-size:.88rem;margin:0 0 .7rem;}
.mdr-prop-meta dt{font-weight:700;color:#1c2440;}
.mdr-prop-meta dd{margin:0;color:#2c3550;word-break:break-all;}
.mdr-prop-raw{background:#0f1730;color:#d7e3ff;border-radius:10px;padding:.8rem .9rem;font-size:.85rem;line-height:1.6;overflow-x:auto;white-space:pre-wrap;word-break:break-all;margin:0 0 .8rem;}
.mdr-prop-back{padding:.45rem .9rem;font-weight:700;border-radius:999px;border:1px solid rgba(69,89,203,.35);background:#eef1ff;color:#2745c2;cursor:pointer;}
.mdr-prop-note{font-size:.88rem;color:#5a6478;line-height:1.6;margin:1rem 0 0;}
.mdr-prop-table{width:100%;border-collapse:collapse;font-size:.92rem;margin:.9rem 0;}
.mdr-prop-table th,.mdr-prop-table td{text-align:left;padding:.55rem .7rem;border-bottom:1px solid rgba(69,89,203,.16);}
.mdr-prop-table th{background:#eef1ff;color:#1c2440;}
strong.mdr-prop-ok{color:#007a37;}
strong.mdr-prop-warn{color:#92400e;}
strong.mdr-prop-bad{color:#b42318;}
.mdr-foot{border-top:1px solid rgba(69,89,203,.16);margin-top:1rem;padding:2rem 1rem 2.5rem;background:#f8f9ff;}
.mdr-foot-inner{max-width:1060px;margin:0 auto;text-align:center;}
.mdr-foot-brand{font-size:1.3rem;font-weight:800;color:#1c2440;text-decoration:none;}
.mdr-foot p{color:#5a6478;font-size:.92rem;}
.mdr-foot nav{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin:.8rem 0;}
.mdr-foot nav a{color:#2745c2;font-size:.9rem;}
.mdr-foot-copy{font-size:.85rem;}
/* propagation page in dark mode */
html[data-theme="dark"] .mdr-prop{color:#e8ecf7;}
html[data-theme="dark"] .mdr-prop h1,html[data-theme="dark"] .mdr-prop-field label{color:#eef1fb;}
html[data-theme="dark"] .mdr-prop-intro{color:#c9d1e3;}
html[data-theme="dark"] .mdr-prop-tool{background:rgba(20,26,48,.72);border-color:rgba(255,255,255,.12);}
html[data-theme="dark"] .mdr-prop-field input,html[data-theme="dark"] .mdr-prop-field select{background:#10142a;color:#eef1fb;border-color:#2c3a6e;}
html[data-theme="dark"] .mdr-prop-hint,html[data-theme="dark"] .mdr-prop-note,html[data-theme="dark"] .mdr-prop-share{color:#9aa5c4;}
html[data-theme="dark"] .mdr-prop-row{background:rgba(20,26,48,.72);border-color:rgba(255,255,255,.12);}
html[data-theme="dark"] .mdr-prop-region,html[data-theme="dark"] .mdr-prop-noval{color:#9aa5c4;}
html[data-theme="dark"] .mdr-prop-ans{background:#10142a;color:#8ea2ff;border-color:rgba(142,162,255,.3);}
html[data-theme="dark"] .mdr-prop-summary{background:#1a2340;border-color:rgba(142,162,255,.3);color:#eef1fb;}
html[data-theme="dark"] .mdr-prop-summary-checking{background:#2a2113;border-color:#8a6d1f;color:#f0d48a;}
html[data-theme="dark"] .mdr-prop-detail{background:#10142a;border-color:rgba(255,255,255,.12);}
html[data-theme="dark"] .mdr-prop-meta dt{color:#eef1fb;}
html[data-theme="dark"] .mdr-prop-meta dd{color:#c9d1e3;}
html[data-theme="dark"] .mdr-prop-table th{background:#1a2340;color:#eef1fb;}
html[data-theme="dark"] .mdr-prop-table td{border-color:rgba(255,255,255,.1);}
html[data-theme="dark"] .mdr-foot{background:#0d1020;border-color:rgba(255,255,255,.1);}
html[data-theme="dark"] .mdr-foot-brand{color:#eef1fb;}
html[data-theme="dark"] .mdr-crumb{color:#9aa5c4;}
html[data-theme="dark"] .mdr-crumb a{color:#8ea2ff;}
html[data-theme="dark"] .mdr-prop-auto{color:#c9d1e3;}
html[data-theme="dark"] .mdr-prop-refresh{background:#1a2340;color:#8ea2ff;border-color:rgba(142,162,255,.35);}
html[data-theme="dark"] .mdr-prop-back{background:#1a2340;color:#8ea2ff;border-color:rgba(142,162,255,.35);}
@media (max-width:760px){
  .mdr-prop-fields{grid-template-columns:1fr;}
  .mdr-prop-submit{width:100%;}
  .mdr-prop-row{grid-template-columns:1fr;gap:.4rem;}
  .mdr-prop h1{font-size:1.6rem;}
  .mdr-prop-table{font-size:.82rem;}
}
/* ---------- v7: "One search, every record" — full-report links ---------- */
.mdr-prop-full{margin:1rem 0 0;}
.mdr-prop-full a{display:inline-block;padding:.6rem 1.2rem;font-weight:800;color:#fff;text-decoration:none;border-radius:999px;background:linear-gradient(135deg,#2745c2,#00a651);box-shadow:0 8px 20px rgba(39,69,194,.35);}
.mdr-prop-full a:hover{filter:brightness(1.08);}
.mdr-full-report{margin:1rem 0 0;font-weight:700;color:#1c2440;}
.mdr-full-report a{color:#2745c2;}
html[data-theme="dark"] .mdr-full-report{color:#eef1fb;}
html[data-theme="dark"] .mdr-full-report a{color:#8ea2ff;}

/* ---------- v8: verdicts, generators, meters, speed bars ---------- */
.mdr-verdict{margin-top:1rem;padding:1rem 1.1rem;border-radius:14px;font-size:1.02rem;line-height:1.55;border:1.5px solid rgba(69,89,203,.25);background:#eef1ff;}
.mdr-verdict strong{font-size:1.08rem;}
.mdr-verdict-ok{border-color:rgba(0,179,89,.55);background:#eafaf1;}
.mdr-verdict-ok strong{color:#007a37;}
.mdr-verdict-warn{border-color:rgba(217,119,6,.55);background:#fffaf0;}
.mdr-verdict-warn strong{color:#92400e;}
.mdr-verdict-bad{border-color:rgba(180,35,24,.5);background:#fff5f4;}
.mdr-verdict-bad strong{color:#b42318;}
.mdr-verdict p{margin:.35rem 0 0;}
.mdr-gen-out{font-family:var(--mdr-mono);font-size:.98rem;line-height:1.6;background:#0f1730;color:#d7e3ff;border-radius:12px;padding:.9rem 1rem;word-break:break-all;margin:.9rem 0;min-height:3.2rem;}
.mdr-gen-out:empty:before{content:"Fill in the form — your record appears here.";color:#8ea2ff;}
.mdr-copybtn{padding:.55rem 1.1rem;font-weight:800;border-radius:999px;border:1px solid rgba(69,89,203,.35);background:#eef1ff;color:#2745c2;cursor:pointer;}
.mdr-copybtn:hover{filter:brightness(1.05);}
.mdr-meter{height:12px;border-radius:999px;background:#e6e9f5;overflow:hidden;margin:.5rem 0 .3rem;}
.mdr-meter > span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#b42318,#d97706 45%,#00a651 75%);transition:width .3s ease;}
.mdr-speedbar{display:grid;grid-template-columns:11rem 1fr 4.5rem;gap:.7rem;align-items:center;margin:.55rem 0;font-size:.95rem;}
.mdr-speedbar .mdr-speed-track{height:14px;border-radius:999px;background:#e6e9f5;overflow:hidden;}
.mdr-speedbar .mdr-speed-fill{display:block;height:100%;background:linear-gradient(90deg,#2745c2,#00a651);border-radius:999px;}
.mdr-speedbar .mdr-speed-ms{text-align:right;font-weight:800;color:#1c2440;font-family:var(--mdr-mono);}
.mdr-speedbar-fast .mdr-speed-name{font-weight:800;color:#007a37;}
.mdr-form-2col{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;}
.mdr-checkrow{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;align-items:center;font-size:.95rem;color:#2c3550;}
.mdr-checkrow label{display:flex;gap:.35rem;align-items:center;cursor:pointer;font-weight:600;}
.mdr-checkrow input[type=checkbox],.mdr-checkrow input[type=radio]{accent-color:#2745c2;width:1.05rem;height:1.05rem;}
.mdr-prop-field input[type=range]{padding:0;border:0;accent-color:#2745c2;}
.mdr-prop-field input[type=number]{width:100%;box-sizing:border-box;padding:.7rem .85rem;font-size:1rem;border:1.5px solid #c9d2ee;border-radius:12px;background:#fff;color:#1c2440;font-family:inherit;}
.mdr-prop-field textarea{width:100%;box-sizing:border-box;padding:.7rem .85rem;font-size:1rem;border:1.5px solid #c9d2ee;border-radius:12px;background:#fff;color:#1c2440;font-family:inherit;min-height:4.5rem;resize:vertical;}
.mdr-tag{display:inline-block;font-size:.8rem;font-weight:800;border-radius:999px;padding:.15rem .6rem;background:#eef1ff;color:#2745c2;border:1px solid rgba(69,89,203,.3);margin-right:.35rem;}
.mdr-tag-ok{background:#eafaf1;color:#007a37;border-color:rgba(0,179,89,.4);}
.mdr-tag-warn{background:#fffaf0;color:#92400e;border-color:rgba(217,119,6,.4);}
.mdr-tag-bad{background:#fff5f4;color:#b42318;border-color:rgba(180,35,24,.4);}
.mdr-note{font-size:.88rem;color:#5a6478;line-height:1.6;}
html[data-theme="dark"] .mdr-verdict{background:#1a2340;color:#eef1fb;border-color:rgba(142,162,255,.3);}
html[data-theme="dark"] .mdr-verdict-ok{background:#0f2a1c;}
html[data-theme="dark"] .mdr-verdict-ok strong{color:#34dc97;}
html[data-theme="dark"] .mdr-verdict-warn{background:#2a2113;}
html[data-theme="dark"] .mdr-verdict-warn strong{color:#f0c268;}
html[data-theme="dark"] .mdr-verdict-bad{background:#2a1512;}
html[data-theme="dark"] .mdr-verdict-bad strong{color:#ff9a8a;}
html[data-theme="dark"] .mdr-meter,html[data-theme="dark"] .mdr-speedbar .mdr-speed-track{background:#232a4a;}
html[data-theme="dark"] .mdr-speedbar .mdr-speed-ms{color:#eef1fb;}
html[data-theme="dark"] .mdr-checkrow{color:#c9d1e3;}
html[data-theme="dark"] .mdr-prop-field input[type=number],html[data-theme="dark"] .mdr-prop-field textarea{background:#10142a;color:#eef1fb;border-color:#2c3a6e;}
html[data-theme="dark"] .mdr-note{color:#9aa5c4;}
html[data-theme="dark"] .mdr-copybtn{background:#1a2340;color:#8ea2ff;border-color:rgba(142,162,255,.35);}
@media (max-width:760px){
  .mdr-form-2col{grid-template-columns:1fr;}
  .mdr-speedbar{grid-template-columns:7rem 1fr 3.8rem;}
}

/* ---------- v8: ONE font system everywhere ----------
   Sans (body, headings, buttons, inputs, cards, nav, footer):
   system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif
   Mono (IP addresses, code, record values ONLY — never body text):
   ui-monospace,"JetBrains Mono",Consolas,"Courier New",monospace
   No external fonts are loaded anywhere. The built app CSS cannot be
   edited, so this block overrides it: mdr-style.css loads last. */
:root{
  --mdr-sans:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mdr-mono:ui-monospace,"JetBrains Mono",Consolas,"Courier New",monospace;
}
html{font-size:16px;}
body{font-family:var(--mdr-sans)!important;font-size:1rem;line-height:1.6;}
/* one typographic scale for the static pages (the React app keeps its
   own consistent Tailwind scale; only its font family is unified) */
.mdr-prop h1{font-size:2rem;line-height:1.2;font-weight:800;}
.mdr-v4 h2,.mdr-prop h2{font-size:1.5rem;line-height:1.3;font-weight:700;}
.mdr-v4 h3,.mdr-qa h3,.mdr-prop h3{font-size:1.15rem;line-height:1.35;font-weight:700;}
button,input,select,textarea{font-family:var(--mdr-sans);font-size:1rem;}
/* structural elements: one sans stack even where the app used mono */
#root h1,#root h2,#root h3,#root h4,#root nav,#root header,#root footer,
#root button,#root input,#root select,#root textarea,#root label,
#root p,#root a,
.mdr-prop h1,.mdr-prop h2,.mdr-prop h3,.mdr-v4 h2,.mdr-v4 h3,
.mdr-truststrip,.mdr-advantage,.mdr-crumb,.mdr-foot,.refresh-bar,
.font-sans{font-family:var(--mdr-sans)!important;}
/* mono ONLY for code and values */
code,pre,kbd,samp,.mdr-prop-ans,.mdr-gen-out,.mdr-prop-raw,.mdr-speed-ms,
.mdr-prop-detail pre{font-family:var(--mdr-mono)!important;}

/* ---------- v8: live-screenshot fixes (minimal, NOT a theme restyle) ---------- */
/* 1. Eyebrow pill: never clip, wraps inside the banner on narrow screens. */
.mdr-banner-eyebrow{max-width:100%;white-space:normal;line-height:1.5;box-sizing:border-box;}
/* 2a. --mdr-ink was only defined inside .mdr-hero/.mdr-banner/.mdr-v4, so
   var(--mdr-ink) was unset on the trust strip (it inherited a light colour
   on the white pill). Define it globally, per theme. */
:root{--mdr-ink:#1c2440;}
html[data-theme="dark"]{--mdr-ink:#e8ecf7;}
html.dark{--mdr-ink:#e8ecf7;}
/* 2b. Trust strip + advantage: explicit readable colours in light mode. */
.mdr-truststrip span{color:#1c2440;}
.mdr-advantage{color:#1c2440;}
/* 2c. The React app toggles .dark as well as data-theme; the v6/v7 dark
   rules only listened to data-theme, so static sections got light colours
   on the app's dark body. Mirror the dark rules for html.dark too. */
html.dark .mdr-truststrip span{background:#171d38;color:#dfe5f5;border-color:rgba(255,255,255,.12);}
html.dark .mdr-advantage{color:#c9d1e3;}
html.dark .mdr-v4{--mdr-ink:#e8ecf7;--mdr-card:rgba(20,26,48,.72);}
html.dark .mdr-v4 p{color:#c9d1e3;}
html.dark .mdr-v4 h2,html.dark .mdr-v4 h3{color:#eef1fb;}
html.dark .mdr-v4 h2{background:linear-gradient(90deg,#8ea2ff,#34dc97);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html.dark .mdr-v4 a{color:#8ea2ff;}
html.dark .mdr-v4 .mdr-qa strong{color:#8ea2ff;}
html.dark .mdr-v4 .mdr-records b{color:#8ea2ff;}
html.dark .mdr-v4.mdr-hero{background:radial-gradient(60% 90% at 15% 0%,rgba(69,89,203,.35),transparent 60%),radial-gradient(55% 80% at 90% 10%,rgba(0,179,89,.28),transparent 60%),linear-gradient(180deg,#141a30,#10142a);}
html.dark .mdr-v4 .mdr-glass,html.dark .mdr-v4 .mdr-records div{background:rgba(20,26,48,.72);}
html.dark .mdr-v4 .mdr-trust span{background:#171d38;color:#dfe5f5;}
/* 2d. Static footer: dark-mode text was missing even for data-theme. */
html[data-theme="dark"] .mdr-foot p{color:#9aa5c4;}
html[data-theme="dark"] .mdr-foot nav a{color:#8ea2ff;}
html[data-theme="dark"] .mdr-foot-copy a{color:#8ea2ff;}
html.dark .mdr-foot{background:#0d1020;border-color:rgba(255,255,255,.1);}
html.dark .mdr-foot-brand{color:#eef1fb;}
html.dark .mdr-foot p{color:#9aa5c4;}
html.dark .mdr-foot nav a{color:#8ea2ff;}
html.dark .mdr-foot-copy a{color:#8ea2ff;}
/* 3. Footer order: on pages with static content after #root, the React
   footer (inside #root) is hidden and a static footer is appended last. */
body[data-static-foot] #root footer{display:none!important;}
/* 4. About card centering: .mdr-v4.mdr-hero set margin:0 0 1.4rem, which
   killed the auto side-margins from .mdr-v4 (card sat left, ~50% wide). */
.mdr-v4.mdr-hero{margin:0 auto 1.4rem;}
#mdr-home-extra{max-width:1060px;margin:0 auto;padding:0 1rem;box-sizing:border-box;}
.mdr-v4{width:100%;max-width:1060px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;}
#mdr-home-extra .mdr-v4:last-child{margin-bottom:1rem;}

/* ---------- v9: PURE Sample 2 — structure = image 1, colours = image 2 ---------- */
/* FINAL theme decision (user, 1 Dec 2026 21:57 IST): layout, text, font and
   style from the Sample 2 hero screenshot (big navy title, pill search +
   blue Check button, Try links, trust ticks, chips row, green Good-news
   box) but ALL colours from the soft pastel palette of the results
   screenshot — pale green / yellow / blue / pink / purple cards, white
   cards, dark footer — homepage included, one palette site-wide.
   The v8 MIX theme block is deleted by the build; this block replaces it.
   Built /assets/*.js and theme.js are never edited: everything below is
   an override, and mdr-style.css loads last so it wins. */

/* --- pastel tokens + Tailwind variables (the new app reads these) --- */
:root{
  --s2-mint:#e8f7ee; --s2-mint-line:#bfe6cb;
  --s2-yellow:#fdf6e0; --s2-blue:#e9f1fe; --s2-pink:#fdeef2; --s2-lav:#f1eafe;
  --s2-ink:#1c2440; --s2-body:#2c3550; --s2-mut:#5a6478;
  --s2-accent:#2745c2; --s2-green:#00a651; --s2-green-dark:#007a37;
  --s2-foot:#0f172a;
  /* new app: pale-blue elevated panels (was warm off-white 40 15% 94%) */
  --surface-elevated:229 60% 97%;
  --secondary:229 60% 96%;
  --secondary-foreground:222 30% 30%;
}

/* --- white header, navy brand, blue accent (both header implementations) --- */
.site-header{background:#ffffff;border-bottom:1px solid #dce3f1;}
.site-header .brand{color:#1c2440;}
.site-header .brand .brand-light{color:#2745c2;}
.site-header .brand .brand-domain{color:#5a6478;}
.site-header nav a{color:#2c3550;}
.site-header nav a[aria-current="page"]{color:#2745c2;background:#eef3ff;border-radius:999px;}
.site-header .menu{color:#1c2440;border-color:#dce3f1;}
.refresh-bar{background:#ffffff;border-bottom:1px solid #dce3f1;color:#1c2440;}
.refresh-bar .refresh-brand{color:#1c2440;}
.refresh-bar .refresh-brand span{color:#2745c2;}
.refresh-bar nav a{color:#2c3550;}
.refresh-bar nav a[aria-current="page"]{color:#2745c2;}
/* new app header (fixed top bar): keep it white in light mode */
#root header{background:#ffffff!important;border-color:#dce3f1!important;}

/* --- hero: soft light wash, big navy title, no eyebrow (image 1 has none) --- */
.mdr-banner{background:linear-gradient(180deg,#ffffff 0%,#eef3ff 100%);min-height:340px;}
.mdr-banner-compact{min-height:200px;}
.mdr-banner-canvas{display:none;}
.mdr-banner-title{color:#1c2440;text-shadow:none;}
.mdr-banner-sub{color:#2c3550;text-shadow:none;}
.mdr-banner-eyebrow{display:none!important;}
.mdr-banner-inner a{color:#2745c2;}
.mdr-chipstrip{background:#f4f7ff;}
.mdr-hero-unit{box-shadow:0 10px 30px rgba(28,36,64,.10);}
/* homepage only: the app's own record-coverage row IS the chips row
   (it sits below the search, exactly like image 1), so the banner chips
   are hidden on the home route. mdr-banner.js toggles data-page per route. */
body[data-page="home"] .mdr-chipstrip{display:none!important;}

/* --- chips: flat pastel pills, no gradient, no float (image 1) --- */
.mdr-chip{background:#e6ecff;color:#1c2440;box-shadow:none!important;animation:none!important;border:1px solid #c9d6ff;}
.mdr-chip:nth-child(2n){background:#e6ecff;box-shadow:none!important;animation-delay:0s;}
.mdr-chip:nth-child(3n){animation-delay:0s;}
/* app record-coverage row = the chips row under the search (image 1) */
#root .record-coverage{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:center;margin:1.1rem 0 0;}
#root .record-coverage>span{background:#e6ecff;border:1px solid #c9d6ff;color:#1c2440;border-radius:999px;padding:.45rem 1rem;font-weight:700;font-size:.95rem;}
#root .record-coverage .record-emoji{display:none!important;}

/* --- hide the app's duplicate headings: the banner title IS the title --- */
/* .lookup-intro = old shell's "DNS lookup & domain report" h1 (stays in the
   DOM for SEO, hidden visually, homepage only via data-page). */
body[data-page="home"] .lookup-intro{display:none!important;}
/* .lookup-heading = "Check your DNS records" + "No account needed" pill
   inside the lookup card (homepage-only card: .all-lookup). */
#root .lookup-card.all-lookup .lookup-heading{display:none!important;}
/* new app's terminal hero ("mydnsreport.com" link + "DNS Lookup" h2):
   hide the whole header block; the small subtitle line goes with it.
   :has() is supported in all modern browsers; the two direct rules below
   are the fallback if :has() is unavailable. */
#root div.text-center.mb-8:has(.glow-text){display:none!important;}
#root .glow-text{display:none!important;}
#root .glow-text-hover{display:none!important;}

/* --- search pill, OLD shell (lookup card) --- */
#root .lookup-card.all-lookup{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
#root .lookup-fields.all-fields{display:flex!important;align-items:center;gap:.5rem;background:#ffffff;border:2px solid #2745c2;border-radius:999px;padding:.35rem .4rem .35rem 1.2rem;box-shadow:0 10px 30px rgba(39,69,194,.12);}
#root .domain-field{flex:1 1 auto;min-width:0;}
#root .domain-field label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
#root .domain-field .input-icon>span{display:none!important;}
#root input#domain{border:0!important;background:transparent!important;box-shadow:none!important;padding:.75rem 0!important;font-size:1.05rem!important;color:#1c2440!important;font-family:var(--mdr-sans)!important;}
#root input#domain:focus{outline:none!important;box-shadow:none!important;}
#root input#domain::placeholder{color:#8a94ad!important;}
#root button.lookup-submit{background:#2745c2!important;color:#ffffff!important;font-weight:800;border:0!important;border-radius:999px!important;padding:.8rem 1.5rem!important;box-shadow:0 8px 20px rgba(39,69,194,.35);cursor:pointer;font-size:0!important;white-space:nowrap;min-height:0!important;}
#root button.lookup-submit::after{content:"Check \2192";font-size:1rem;font-weight:800;color:#ffffff;}
#root button.lookup-submit:hover{background:#1e3a9e!important;filter:none!important;}
@media (max-width:640px){
  #root .lookup-fields.all-fields{flex-wrap:wrap;border-radius:22px;padding:.6rem;}
  #root .domain-field{flex:1 1 100%;}
  #root button.lookup-submit{width:100%;}
}
/* Try links under the search (old shell) */
#root .lookup-meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;justify-content:center;margin-top:.85rem;font-size:.95rem;color:#5a6478;}
#root .text-button{color:#2745c2!important;text-decoration:underline;font-weight:700;padding:0 .1rem;}

/* --- search pill, NEW app (j2 component) ---
   The input is input[placeholder="example.com"] WITHOUT id="domain"
   (the old shell's input has id="domain"); the button is its sibling. */
#root input[placeholder="example.com"]:not(#domain){border:2px solid #2745c2!important;border-radius:999px!important;background:#ffffff!important;box-shadow:0 10px 30px rgba(39,69,194,.12)!important;font-family:var(--mdr-sans)!important;font-size:1.05rem!important;color:#1c2440!important;padding:.9rem 8.4rem .9rem 1.3rem!important;}
#root input[placeholder="example.com"]:not(#domain)::placeholder{color:#8a94ad!important;}
#root input[placeholder="example.com"]:not(#domain):focus{outline:none!important;border-color:#2745c2!important;box-shadow:0 10px 30px rgba(39,69,194,.12)!important;}
#root input[placeholder="example.com"]:not(#domain) ~ button{position:absolute!important;right:.45rem!important;top:50%!important;transform:translateY(-50%)!important;width:auto!important;height:auto!important;padding:.68rem 1.25rem!important;background:#2745c2!important;color:#ffffff!important;border:0!important;border-radius:999px!important;box-shadow:0 8px 20px rgba(39,69,194,.35)!important;font-size:0!important;cursor:pointer;}
#root input[placeholder="example.com"]:not(#domain) ~ button::after{content:"Check \2192";font-size:1rem;font-weight:800;color:#ffffff;}
#root input[placeholder="example.com"]:not(#domain) ~ button span{display:none!important;}
#root input[placeholder="example.com"]:not(#domain) ~ button:hover{background:#1e3a9e!important;}
#root input[placeholder="example.com"]:not(#domain) ~ button:disabled{opacity:.6!important;}
#root input[placeholder="example.com"]:not(#domain) ~ button:disabled::after{content:"Checking\2026";}
#root div.max-w-2xl:has(>div.relative.group) .font-mono{font-family:var(--mdr-sans)!important;}

/* --- injected trust ticks + Try row (mdr-banner.js, homepage only) --- */
.mdr-trust-ticks,.mdr-try{font-family:var(--mdr-sans);max-width:1060px;margin:.9rem auto 0;padding:0 1rem;text-align:center;font-size:.95rem;}
.mdr-trust-ticks{font-weight:700;color:#1c2440;}
.mdr-trust-ticks b{color:#00a651;font-weight:800;}
.mdr-trust-ticks span+span{margin-left:1.2rem;}
.mdr-try{margin-top:.8rem;color:#5a6478;}
.mdr-try button{background:none;border:0;padding:0 .15rem;color:#2745c2;font-weight:700;text-decoration:underline;cursor:pointer;font-size:.95rem;font-family:var(--mdr-sans);}
.mdr-try button:hover{color:#1e3a9e;}

/* --- Good-news results box (injected by mdr-banner.js after a lookup) ---
   Green ONLY when A + MX + DMARC are all present; amber otherwise.
   The wording is computed from what was actually found — never a
   fabricated verdict. */
.mdr-result-summary{display:flex;gap:.9rem;align-items:flex-start;margin:1.2rem auto;padding:1rem 1.2rem;border-radius:14px;border:1.5px solid;max-width:1060px;font-size:1rem;line-height:1.55;font-family:var(--mdr-sans);box-sizing:border-box;}
.mdr-result-summary-ok{background:#e8f7ee;border-color:#bfe6cb;}
.mdr-result-summary-warn{background:#fdf6e0;border-color:#f0d48a;}
.mdr-result-summary-icon{flex-shrink:0;width:2rem;height:2rem;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.2rem;color:#fff;background:#00a651;}
.mdr-result-summary-warn .mdr-result-summary-icon{background:#d97706;}
.mdr-result-summary strong{color:#1c2440;font-size:1.05rem;}
.mdr-result-summary p{margin:.25rem 0 0;color:#2c3550;}

/* --- results, OLD app: white cards, clear borders, navy headings --- */
#root .record-result{background:#ffffff!important;border:1px solid #e3e8f5!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(28,36,64,.06)!important;}
#root .record-result-heading{color:#1c2440!important;}
#root .compact-card{background:#ffffff!important;border:1px solid #e3e8f5!important;border-radius:12px!important;}
#root .compact-card h4,#root .compact-card h5{color:#1c2440!important;}
#root .compact-card .record-state{color:#2c3550!important;}
#root .copy-value-line>code{color:#1c2440!important;}
/* --- results, NEW app: card section headers (b2) in plain sans + navy --- */
#root .bg-surface-elevated h3{font-family:var(--mdr-sans)!important;color:#1c2440!important;text-transform:none!important;letter-spacing:0!important;}
/* flow tracer (Tp): sans labels, no terminal mono */
#root .py-10 .font-mono{font-family:var(--mdr-sans)!important;}
#root .py-10 p{color:#2c3550!important;}

/* --- tool tiles: pastel backgrounds, DARK text (the visibility fix) ---
   The Sample 2 mock's tiles were unreadable (pale text on pastel).
   Tiles keep the pastel palette but titles are dark navy and descriptions
   dark grey, so every tile is clearly readable. */
.tool-card{background:#ffffff!important;border:1px solid #dbe2f2!important;border-radius:14px!important;padding:1.1rem 1.2rem!important;box-shadow:0 8px 24px rgba(28,36,64,.06)!important;}
.tool-grid>.tool-card:nth-child(6n+1){background:#e8f7ee!important;}
.tool-grid>.tool-card:nth-child(6n+2){background:#fdf6e0!important;}
.tool-grid>.tool-card:nth-child(6n+3){background:#e9f1fe!important;}
.tool-grid>.tool-card:nth-child(6n+4){background:#fdeef2!important;}
.tool-grid>.tool-card:nth-child(6n+5){background:#f1eafe!important;}
.tool-grid>.tool-card:nth-child(6n+6){background:#e8f7ee!important;}
.tool-card h2,.tool-card h3{color:#1c2440!important;font-size:1rem!important;font-weight:800!important;margin-bottom:.35rem!important;}
.tool-card p{color:#3d465e!important;font-size:.9rem!important;line-height:1.55!important;}
.tool-card .tool-icon{display:inline-flex!important;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;background:#ffffff;border:1px solid rgba(28,36,64,.12);border-radius:12px;font-size:1.25rem;margin-bottom:.6rem;}
.tool-card .read-link{color:#2745c2!important;font-weight:800!important;font-size:.9rem!important;}
.tool-card .card-arrow{color:#2745c2!important;}
.tool-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(28,36,64,.12)!important;border-color:#2745c2!important;}
/* static Popular / "More free tools" grid (same pastel + dark text) */
.mdr-v4 .mdr-glass{background:#ffffff;border:1px solid #dbe2f2;border-image:none!important;border-radius:14px;padding:1.1rem 1.2rem;box-shadow:0 8px 24px rgba(28,36,64,.07);}
.mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+1){background:#e8f7ee;}
.mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+2){background:#fdf6e0;}
.mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+3){background:#e9f1fe;}
.mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+4){background:#fdeef2;}
.mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+5){background:#f1eafe;}
.mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+6){background:#e8f7ee;}
.mdr-v4 .mdr-glass h3{color:#1c2440;}
.mdr-v4 .mdr-glass h3 a{color:#1c2440;text-decoration:none;}
.mdr-v4 .mdr-glass h3 a:hover{color:#2745c2;text-decoration:underline;}
.mdr-v4 .mdr-glass p{color:#3d465e;}

/* --- section headings: solid navy, no gradient text (plain Sample 2) --- */
.mdr-v4 h2{color:#1c2440!important;background:none!important;-webkit-text-fill-color:#1c2440!important;}
.mdr-v4 h2::after{background:#2745c2!important;}

/* --- tool-page buttons: solid blue pills (image 1's Check button) --- */
.mdr-prop-submit{background:#2745c2!important;box-shadow:0 8px 20px rgba(39,69,194,.35)!important;border-radius:999px!important;}
.mdr-prop-submit:hover{background:#1e3a9e!important;filter:none!important;}
.mdr-prop-full a{background:#2745c2!important;box-shadow:0 8px 20px rgba(39,69,194,.35)!important;}
/* tool-page form cards stay white (forms need clarity); verdicts keep
   their green/amber/red meaning, with the big check from v8. */
.mdr-verdict{font-size:1.15rem;padding:1.25rem 1.35rem;border-radius:16px;}
.mdr-verdict strong{font-size:1.3rem;}
.mdr-verdict-ok{border-width:2px;}
.mdr-verdict-ok strong::before{content:"\2713 ";font-size:1.5em;}

/* --- dark footer strip, everywhere (image 2's black footer bar) --- */
.mdr-foot{background:#0f172a!important;border-top:1px solid #0f172a!important;}
.mdr-foot-brand{color:#ffffff!important;}
.mdr-foot p{color:#c9d1e3!important;}
.mdr-foot nav a{color:#8ea2ff!important;}
.mdr-foot-copy{color:#9aa5c4!important;}
.mdr-foot-copy a{color:#8ea2ff!important;}
#root footer,.footer-top,.footer-bottom{background:#0f172a!important;color:#e8ecf7!important;border-color:#0f172a!important;}
#root footer a,.footer-top a,.footer-bottom a{color:#8ea2ff!important;}
#root footer p,#root footer span{color:#c9d1e3!important;}

/* --- dark mode: same layout, dark surfaces (both theme signals) --- */
html[data-theme="dark"] .site-header,html.dark .site-header{background:#101827;border-bottom-color:#33435e;}
html[data-theme="dark"] .site-header .brand,html.dark .site-header .brand{color:#eef1fb;}
html[data-theme="dark"] .site-header .brand .brand-light,html.dark .site-header .brand .brand-light{color:#8ea2ff;}
html[data-theme="dark"] .site-header .brand .brand-domain,html.dark .site-header .brand .brand-domain{color:#9aa5c4;}
html[data-theme="dark"] .site-header nav a,html.dark .site-header nav a{color:#dfe5f5;}
html[data-theme="dark"] .site-header nav a[aria-current="page"],html.dark .site-header nav a[aria-current="page"]{color:#8ea2ff;background:#1a2340;}
html[data-theme="dark"] .site-header .menu,html.dark .site-header .menu{color:#eef1fb;border-color:#33435e;}
html[data-theme="dark"] .refresh-bar,html.dark .refresh-bar{background:#101827;border-bottom-color:#33435e;color:#eef1fb;}
html[data-theme="dark"] .refresh-bar .refresh-brand,html.dark .refresh-bar .refresh-brand{color:#eef1fb;}
html[data-theme="dark"] .refresh-bar .refresh-brand span,html.dark .refresh-bar .refresh-brand span{color:#8ea2ff;}
html[data-theme="dark"] .refresh-bar nav a,html.dark .refresh-bar nav a{color:#dfe5f5;}
html[data-theme="dark"] .refresh-bar nav a[aria-current="page"],html.dark .refresh-bar nav a[aria-current="page"]{color:#8ea2ff;}
html[data-theme="dark"] #root header,html.dark #root header{background:#101827!important;border-color:#33435e!important;}
html[data-theme="dark"] .mdr-banner,html.dark .mdr-banner{background:linear-gradient(90deg,#14145e 0%,#1e2a8a 22%,#2745c2 45%,#0e7d8c 68%,#00a651 88%,#00b359 100%);}
html[data-theme="dark"] .mdr-banner-canvas,html.dark .mdr-banner-canvas{display:block;}
html[data-theme="dark"] .mdr-banner-title,html.dark .mdr-banner-title{color:#ffffff;text-shadow:0 2px 20px rgba(0,0,0,.4);}
html[data-theme="dark"] .mdr-banner-sub,html.dark .mdr-banner-sub{color:rgba(255,255,255,.9);text-shadow:0 1px 12px rgba(0,0,0,.35);}
html[data-theme="dark"] .mdr-banner-inner a,html.dark .mdr-banner-inner a{color:#ffffff;}
html[data-theme="dark"] .mdr-chipstrip,html.dark .mdr-chipstrip{background:linear-gradient(90deg,#0d0d33 0%,#101a4d 50%,#062b22 100%);}
html[data-theme="dark"] .mdr-hero-unit,html.dark .mdr-hero-unit{box-shadow:0 18px 44px rgba(20,20,110,.32);}
html[data-theme="dark"] .mdr-chip,html.dark .mdr-chip{background:#1a2340;color:#eef1fb;border-color:#2c3a6e;box-shadow:none!important;}
html[data-theme="dark"] #root .record-coverage>span,html.dark #root .record-coverage>span{background:#1a2340;color:#eef1fb;border-color:#2c3a6e;}
html[data-theme="dark"] .mdr-trust-ticks,html.dark .mdr-trust-ticks{color:#eef1fb;}
html[data-theme="dark"] .mdr-trust-ticks b,html.dark .mdr-trust-ticks b{color:#34dc97;}
html[data-theme="dark"] .mdr-try,html.dark .mdr-try{color:#9aa5c4;}
html[data-theme="dark"] .mdr-try button,html.dark .mdr-try button{color:#8ea2ff;}
html[data-theme="dark"] .mdr-result-summary-ok,html.dark .mdr-result-summary-ok{background:#0f2a1c;border-color:#1f6b3a;}
html[data-theme="dark"] .mdr-result-summary-warn,html.dark .mdr-result-summary-warn{background:#2a2113;border-color:#8a6d1f;}
html[data-theme="dark"] .mdr-result-summary strong,html.dark .mdr-result-summary strong{color:#eef1fb;}
html[data-theme="dark"] .mdr-result-summary p,html.dark .mdr-result-summary p{color:#c9d1e3;}
html[data-theme="dark"] #root .lookup-fields.all-fields,html.dark #root .lookup-fields.all-fields{background:#121d30;border-color:#445474;}
html[data-theme="dark"] #root input#domain,html.dark #root input#domain{color:#edf2ff!important;}
html[data-theme="dark"] #root input#domain::placeholder,html.dark #root input#domain::placeholder{color:#8a94ad!important;}
html[data-theme="dark"] #root input[placeholder="example.com"]:not(#domain),html.dark #root input[placeholder="example.com"]:not(#domain){background:#121d30!important;border-color:#445474!important;color:#edf2ff!important;}
html[data-theme="dark"] #root .bg-surface-elevated h3,html.dark #root .bg-surface-elevated h3{color:#eef1fb!important;}
html[data-theme="dark"] .tool-card,html.dark .tool-card{background:#182338!important;border-color:#34445f!important;}
html[data-theme="dark"] .tool-grid>.tool-card:nth-child(6n+1),html.dark .tool-grid>.tool-card:nth-child(6n+1),
html[data-theme="dark"] .tool-grid>.tool-card:nth-child(6n+2),html.dark .tool-grid>.tool-card:nth-child(6n+2),
html[data-theme="dark"] .tool-grid>.tool-card:nth-child(6n+3),html.dark .tool-grid>.tool-card:nth-child(6n+3),
html[data-theme="dark"] .tool-grid>.tool-card:nth-child(6n+4),html.dark .tool-grid>.tool-card:nth-child(6n+4),
html[data-theme="dark"] .tool-grid>.tool-card:nth-child(6n+5),html.dark .tool-grid>.tool-card:nth-child(6n+5),
html[data-theme="dark"] .tool-grid>.tool-card:nth-child(6n+6),html.dark .tool-grid>.tool-card:nth-child(6n+6){background:#182338!important;}
html[data-theme="dark"] .tool-card h2,html.dark .tool-card h2,html[data-theme="dark"] .tool-card h3,html.dark .tool-card h3{color:#eef1fb!important;}
html[data-theme="dark"] .tool-card p,html.dark .tool-card p{color:#c9d1e3!important;}
html[data-theme="dark"] .tool-card .tool-icon,html.dark .tool-card .tool-icon{background:#23314b;border-color:#445474;}
html[data-theme="dark"] .tool-card .read-link,html.dark .tool-card .read-link,html[data-theme="dark"] .tool-card .card-arrow,html.dark .tool-card .card-arrow{color:#8ea2ff!important;}
html[data-theme="dark"] .mdr-v4 .mdr-glass,html.dark .mdr-v4 .mdr-glass{background:#182338!important;border-color:#34445f!important;}
html[data-theme="dark"] .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+1),html.dark .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+1),
html[data-theme="dark"] .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+2),html.dark .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+2),
html[data-theme="dark"] .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+3),html.dark .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+3),
html[data-theme="dark"] .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+4),html.dark .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+4),
html[data-theme="dark"] .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+5),html.dark .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+5),
html[data-theme="dark"] .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+6),html.dark .mdr-v4 .mdr-grid>.mdr-glass:nth-child(6n+6){background:#182338!important;}
html[data-theme="dark"] .mdr-v4 .mdr-glass h3,html.dark .mdr-v4 .mdr-glass h3,html[data-theme="dark"] .mdr-v4 .mdr-glass h3 a,html.dark .mdr-v4 .mdr-glass h3 a{color:#eef1fb;}
html[data-theme="dark"] .mdr-v4 .mdr-glass p,html.dark .mdr-v4 .mdr-glass p{color:#c9d1e3;}
html[data-theme="dark"] .mdr-v4 h2,html.dark .mdr-v4 h2{color:#eef1fb!important;background:none!important;-webkit-text-fill-color:#eef1fb!important;}
html[data-theme="dark"] .mdr-foot,html.dark .mdr-foot{background:#0f172a!important;border-top-color:#0f172a!important;}
html[data-theme="dark"] #root .record-result,html.dark #root .record-result,html[data-theme="dark"] #root .compact-card,html.dark #root .compact-card{background:#182338!important;border-color:#34445f!important;}
html[data-theme="dark"] #root .record-result-heading,html.dark #root .record-result-heading,html[data-theme="dark"] #root .compact-card h4,html.dark #root .compact-card h4,html[data-theme="dark"] #root .compact-card h5,html.dark #root .compact-card h5{color:#eef1fb!important;}
html[data-theme="dark"] #root .compact-card .record-state,html.dark #root .compact-card .record-state{color:#c9d1e3!important;}
html[data-theme="dark"] #root .copy-value-line>code,html.dark #root .copy-value-line>code{color:#edf3ff!important;}

/* ---------- v11: KEEP the gradient constellation banner + 3D characters ---------- */
/* User decision (1 Dec 2026 23:02 IST, with banner screenshot): KEEP the
   blue->green gradient banner with constellation dots/lines, FREE DNS TOOLS
   pill, white bold title, subtitle, chips on a dark strip — and ADD cute
   3D characters in Muse's mascot style (globe for DNS, envelope for
   email, shield for security, green check for Good news). The rest of the
   site stays Sample 2 pastel (v9). This block is LAST in the file, so it
   wins over the v9 pastel hero overrides and the dark-mode rules. */

/* hero: the gradient banner is back (both themes, always) */
.mdr-banner{background:linear-gradient(90deg,#14145e 0%,#1e2a8a 22%,#2745c2 45%,#0e7d8c 68%,#00a651 88%,#00b359 100%)!important;min-height:380px;}
.mdr-banner-compact{min-height:220px;}
.mdr-banner-canvas{display:block!important;}
.mdr-banner-title{color:#ffffff!important;text-shadow:0 2px 20px rgba(0,0,0,.4)!important;}
.mdr-banner-sub{color:rgba(255,255,255,.9)!important;text-shadow:0 1px 12px rgba(0,0,0,.35)!important;}
.mdr-banner-eyebrow{display:inline-block!important;}
.mdr-banner-inner a{color:#ffffff!important;}
.mdr-hero-unit{box-shadow:0 18px 44px rgba(20,20,110,.32)!important;}
/* chip strip: dark strip under the banner, visible on every route incl. home */
.mdr-chipstrip{display:flex!important;background:linear-gradient(90deg,#0d0d33 0%,#101a4d 50%,#062b22 100%)!important;}
body[data-page="home"] .mdr-chipstrip{display:flex!important;}
.mdr-chip{background:linear-gradient(135deg,#4559cb,#2f3fa8)!important;color:#ffffff!important;border:0!important;box-shadow:0 6px 18px rgba(69,89,203,.45),0 0 0 1px rgba(255,255,255,.14) inset!important;animation:mdr-float 5s ease-in-out infinite!important;}
.mdr-chip:nth-child(2n){background:linear-gradient(135deg,#00b359,#009144)!important;box-shadow:0 6px 18px rgba(0,179,89,.45),0 0 0 1px rgba(255,255,255,.14) inset!important;animation-delay:-1.6s!important;}
.mdr-chip:nth-child(3n){animation-delay:-3.1s!important;}
/* dark-theme chip rule has higher specificity, so it needs its own override */
html[data-theme="dark"] .mdr-chip,html.dark .mdr-chip{background:linear-gradient(135deg,#4559cb,#2f3fa8)!important;color:#ffffff!important;border:0!important;box-shadow:0 6px 18px rgba(69,89,203,.45),0 0 0 1px rgba(255,255,255,.14) inset!important;}
html[data-theme="dark"] .mdr-chip:nth-child(2n),html.dark .mdr-chip:nth-child(2n){background:linear-gradient(135deg,#00b359,#009144)!important;box-shadow:0 6px 18px rgba(0,179,89,.45),0 0 0 1px rgba(255,255,255,.14) inset!important;}

/* --- 3D characters in the hero (injected by mdr-banner.js) --- */
.mdr-hero-chars{position:absolute;right:clamp(1rem,3.5vw,3.5rem);top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:flex-end;pointer-events:none;}
.mdr-hero-char{border-radius:50%;background:#ffffff;object-fit:contain;box-shadow:0 14px 34px rgba(0,0,0,.35),0 0 0 4px rgba(255,255,255,.35);animation:mdr-float 5s ease-in-out infinite;}
.mdr-hero-char-globe{width:150px;height:150px;}
.mdr-hero-char-envelope{width:96px;height:96px;margin-left:-26px;margin-bottom:-6px;animation-delay:-2.2s;}
.mdr-banner-compact .mdr-hero-char-globe{width:92px;height:92px;}
.mdr-banner-compact .mdr-hero-char-envelope{width:60px;height:60px;margin-left:-18px;}
@media (max-width:1100px){.mdr-hero-chars{top:1.1rem;transform:none;}.mdr-hero-char-globe{width:104px;height:104px;}.mdr-hero-char-envelope{width:66px;height:66px;margin-left:-18px;}}
@media (max-width:700px){.mdr-hero-chars{display:none;}}

/* --- 3D characters on tool cards (injected by mdr-banner.js) --- */
.tool-card .tool-icon{width:3.4rem!important;height:3.4rem!important;padding:0!important;overflow:hidden;}
.tool-card .tool-icon img.mdr-char{width:100%;height:100%;object-fit:contain;background:#ffffff;border-radius:11px;display:block;}
.mdr-v4 .mdr-glass .mdr-char{display:block;width:54px;height:54px;border-radius:50%;object-fit:contain;background:#ffffff;box-shadow:0 6px 16px rgba(28,36,64,.15);margin-bottom:.6rem;}

/* --- 3D character in the Good-news box (injected by mdr-banner.js) --- */
.mdr-result-summary{flex-wrap:wrap;}
.mdr-result-summary-char{width:60px;height:60px;border-radius:50%;object-fit:contain;background:#ffffff;box-shadow:0 6px 16px rgba(28,36,64,.15);flex-shrink:0;margin-left:auto;align-self:center;}
@media (max-width:560px){.mdr-result-summary-char{width:44px;height:44px;}}

/* ---------- v12: no-hands characters + dark navy header/footer + compact single-bar header + preview-flow & blog characters ---------- */
/* User feedback (1 Dec 2026 23:23 IST): (1) characters WITHOUT hands - only big cute eyes (all 4 regenerated + 3 new: monitor/server/cloud); (2) header + footer SAME dark navy #0f172a; (3) header too tall - make it compact; (4) menu bar INSIDE the header (logo left, menu right, one bar); fix /propagation hero-above-nav. User addition (23:24 IST): 3D characters also in the DNS Resolution Preview flow + blog. This block is LAST in the file, so it wins over v11 + dark-mode rules. */

/* --- header + footer: SAME dark navy #0f172a, both themes --- */
.site-header,#root header,.refresh-bar{background:#0f172a!important;border-bottom:1px solid #0f172a!important;color:#e8ecf7!important;}
.site-header .brand,.site-header .brand .brand-light,.site-header .brand .brand-domain,.refresh-brand,.refresh-brand span{color:#ffffff!important;}
.site-header nav a,.refresh-bar nav a{color:#c7d0e8!important;}
.site-header nav a[aria-current="page"],.refresh-bar nav a[aria-current="page"]{color:#ffffff!important;background:rgba(255,255,255,.14)!important;}
.site-header .menu,.legacy-menu{color:#e8ecf7!important;border-color:rgba(255,255,255,.3)!important;background:transparent!important;}
.site-theme-toggle{color:#e8ecf7!important;border-color:rgba(255,255,255,.3)!important;background:transparent!important;}
.site-header .header-about{color:#c7d0e8!important;}
html[data-theme="dark"] .site-header,html.dark .site-header,html[data-theme="dark"] #root header,html.dark #root header,html[data-theme="dark"] .refresh-bar,html.dark .refresh-bar{background:#0f172a!important;border-bottom-color:#0f172a!important;color:#e8ecf7!important;}
html[data-theme="dark"] .site-header nav a,html.dark .site-header nav a,html[data-theme="dark"] .refresh-bar nav a,html.dark .refresh-bar nav a{color:#c7d0e8!important;}
html[data-theme="dark"] .site-header .brand,html.dark .site-header .brand,html[data-theme="dark"] .site-header .brand .brand-light,html.dark .site-header .brand .brand-light,html[data-theme="dark"] .site-header .brand .brand-domain,html.dark .site-header .brand .brand-domain{color:#ffffff!important;}

/* --- compact header: one slim bar (was 94px tall) --- */
.site-header,#root header{height:auto!important;min-height:52px!important;padding:8px 16px!important;gap:12px!important;}
.site-header .dns-logo,.site-header .brand img{width:28px!important;height:28px!important;}
.site-header .brand{font-size:17px!important;}
.refresh-bar{min-height:52px!important;padding:8px 16px!important;gap:12px!important;}
.refresh-brand{font-size:19px!important;}
.refresh-brand img{width:28px!important;height:28px!important;}
/* --- menu INSIDE the header, logo left + menu right, one single bar (desktop) --- */
@media (min-width:1025px){
  .site-header,.refresh-bar{flex-wrap:nowrap!important;}
  .site-header #main-nav,.refresh-bar #legacy-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;flex:1 1 auto!important;justify-content:flex-end!important;margin:0!important;}
  .site-header #main-nav a,.refresh-bar #legacy-nav a{white-space:nowrap!important;padding:6px 8px!important;font-size:13px!important;}
  .site-header .menu,.refresh-bar .legacy-menu{display:none!important;}
  .site-header .header-about{display:none!important;}
}
/* --- header first, hero below: fixed header on React-shell pages --- */
body:has(#root) .site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;z-index:300!important;}
body:has(#root) .mdr-hero-unit{margin-top:52px!important;}
html{scroll-padding-top:64px!important;}

/* --- DNS Resolution Preview flow: friendly sans, green Resolving, 3D step icons --- */
/* (Icons are set by mdr-banner.js decoratePreviewFlow() as inline styles on the step icon boxes, because the flow re-renders every animation frame inside #root; CSS only owns the text.) */
.mdr-preview-flow .font-mono{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;}
.mdr-preview-flow p.text-primary{color:#00a651!important;}
.mdr-preview-flow .justify-between>div>div:first-child,.mdr-preview-flow .md\:hidden .rounded-lg{border-radius:50%!important;}

/* --- blog: topic-mapped 3D characters --- */
.mdr-blog-char{width:52px;height:52px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid #dce3f1;box-shadow:0 4px 12px rgba(28,36,64,.12);flex-shrink:0;}
.mdr-blog-hero-char{width:88px;height:88px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid #dce3f1;box-shadow:0 8px 20px rgba(28,36,64,.16);margin:0 auto 12px auto;display:block;}
.mdr-blog-card-char{display:inline-block;vertical-align:middle;margin-right:10px;}
