@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #eafcff;
  --muted: #92a8c7;
  --navy: #020716;
  --line: rgba(83, 221, 255, 0.22);
  --cyan: #58e8ff;
  --violet: #8b5cff;
  --pink: #ed3caa;
  --green: #47efb0;
  --font-display: "Montserrat", "Avenir Next", "Century Gothic", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--navy); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(1, 5, 18, 0.2), rgba(1, 5, 18, 0.88)),
    url("/brand/togethia-background.png") center top / cover fixed,
    var(--navy);
  font-family: var(--font-display);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }

.site-shell {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 28px;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 15%, rgba(139, 92, 255, 0.16), transparent 27rem),
    radial-gradient(circle at 83% 22%, rgba(0, 188, 231, 0.14), transparent 29rem),
    linear-gradient(rgba(71, 203, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 203, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(74, 222, 255, 0.24);
  border-radius: 24px;
  background: rgba(1, 7, 24, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.brand-panel {
  display: block;
  width: 230px;
  height: 74px;
  overflow: hidden;
  border-radius: 16px;
  background: #02091a;
}

.brand-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tool-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tool-nav::-webkit-scrollbar { display: none; }

.tool-nav a,
.tool-nav span {
  flex: none;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #8fa7c8;
  font-size: 0.86rem;
  font-weight: 650;
}
.tool-nav a:hover { color: var(--ink); border-color: var(--line); }
.tool-nav a.active {
  color: #06101c;
  background: linear-gradient(135deg, #9cf4ff, #41d9f6);
  box-shadow: 0 0 24px rgba(69, 226, 255, 0.25);
}
.tool-nav span { opacity: 0.52; }

main { padding: 52px 6px 68px; }

.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero { max-width: 760px; margin-bottom: 36px; }
.home-hero h1,
.mailcheck-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.75rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero-copy,
.mailcheck-heading p:not(.section-kicker) {
  max-width: 710px;
  margin: 18px 0 0;
  color: #a9bdd9;
  font-size: clamp(.96rem, 1.6vw, 1.12rem);
  line-height: 1.6;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tool-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(104, 175, 255, 0.15);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(9, 22, 54, 0.92), rgba(2, 9, 28, 0.88));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tool-card.is-ready { border-color: rgba(78, 228, 255, 0.38); }
.tool-card.is-ready:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 239, 255, 0.7);
  box-shadow: 0 24px 70px rgba(0, 184, 230, 0.15), inset 0 1px rgba(255, 255, 255, 0.06);
}
.tool-orb {
  position: absolute;
  top: -46px;
  right: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.24;
}
.tool-orb.cyan { background: var(--cyan); }
.tool-orb.violet { background: var(--violet); }
.tool-orb.blue { background: #2885ff; }
.tool-orb.pink { background: var(--pink); }
.tool-eyebrow { color: var(--cyan); font-size: .76rem; font-weight: 780; text-transform: uppercase; letter-spacing: .12em; }
.tool-card strong { margin-top: 24px; font-size: 1.55rem; }
.tool-description { margin-top: 11px; color: var(--muted); line-height: 1.55; }
.tool-state { display: flex; justify-content: space-between; margin-top: auto; padding-top: 28px; color: #d6f9ff; font-size: .87rem; font-weight: 700; }
.tool-card:not(.is-ready) .tool-state { color: #697c9b; }

.mailcheck-tile {
  grid-column: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 140px minmax(150px, 1fr);
  min-height: 290px;
  padding: 0;
}
.mailcheck-tile-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(83, 226, 255, .2);
  background: #02071a;
}
.mailcheck-tile-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(120, 232, 255, .08);
  content: "";
  pointer-events: none;
}
.mailcheck-tile-visual img,
.mailcheck-hover-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity .22s ease;
}
.mailcheck-hover-video { opacity: 0; background: #02071a; }
.mailcheck-tile.is-animating .mailcheck-hover-video { opacity: 1; }
.mailcheck-tile.is-animating .mailcheck-tile-visual img { opacity: 0; }
.mailcheck-tile-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px 20px;
  background: linear-gradient(155deg, rgba(8, 24, 58, .96), rgba(3, 8, 26, .96));
}
.mailcheck-tile-copy .tool-eyebrow { font-size: .66rem; }
.mailcheck-tile-copy > strong { margin-top: 8px; font-size: 1.28rem; }
.mailcheck-tile-copy .tool-description { margin-top: 6px; font-size: .78rem; line-height: 1.4; }
.mailcheck-tile-copy .tool-state { padding-top: 11px; font-size: .74rem; }

.mailcheck-visual-hero {
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: -10px auto 32px;
  border: 1px solid rgba(94, 226, 255, .38);
  border-radius: 25px;
  background: #02071a;
  box-shadow: 0 35px 110px rgba(0, 0, 0, .42), 0 0 75px rgba(88, 63, 255, .13), inset 0 1px rgba(255, 255, 255, .08);
}
.mailcheck-visual-hero::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 55px rgba(30, 109, 255, .08);
  content: "";
  pointer-events: none;
}
.mailcheck-visual-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1731 / 900;
}
.tls-visual-hero img { aspect-ratio: 1730 / 909; }

.mailcheck-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}
.mailcheck-heading > div:first-child { max-width: 860px; }
.mailcheck-heading h1 { font-size: clamp(1.95rem, 3.3vw, 3.05rem); }
.privacy-badge,
.queued-count {
  flex: none;
  padding: 11px 15px;
  border: 1px solid rgba(71, 239, 176, 0.28);
  border-radius: 999px;
  color: #b9ffe0;
  background: rgba(4, 49, 43, 0.42);
  font-size: .82rem;
  font-weight: 700;
}
.privacy-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.test-console {
  overflow: hidden;
  border: 1px solid rgba(91, 232, 255, 0.62);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18, 42, 79, 0.98), rgba(9, 24, 54, 0.97));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36), 0 0 70px rgba(26, 187, 226, 0.14), inset 0 1px 0 rgba(180, 247, 255, .06);
}
.console-topline {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(83, 226, 255, .28);
  color: #b9d0ed;
  background: rgba(18, 44, 82, .72);
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.address-block { padding: 29px 30px 24px; background: linear-gradient(135deg, rgba(23, 50, 91, .74), rgba(13, 33, 68, .74)); }
.address-block > p:first-child { margin: 0 0 13px; color: #d0e3fa; font-size: .9rem; font-weight: 650; }
.address-row { display: flex; gap: 12px; }
.address-row code {
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  padding: 16px 18px;
  border: 1px solid rgba(83, 226, 255, 0.56);
  border-radius: 15px;
  color: #d0faff;
  background: rgba(11, 31, 61, 0.94);
  box-shadow: inset 0 0 28px rgba(67, 207, 240, .045), 0 0 24px rgba(49, 199, 232, .055);
  font-family: var(--font-mono);
  font-size: clamp(.86rem, 1.8vw, 1.1rem);
  white-space: nowrap;
}
.copy-button,
.primary-button {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
}
.copy-button { padding: 0 22px; color: #06121b; background: linear-gradient(135deg, #a3f4ff, #38d9f3); }
.copy-button:hover,
.primary-button:hover { filter: brightness(1.08); }
.address-help { margin: 14px 0 0; color: #9eb5d2; font-size: .85rem; }
.delivery-option { position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: 19px; padding: 12px 14px; border: 1px solid rgba(83, 226, 255, .32); border-radius: 14px; background: rgba(18, 42, 76, .82); box-shadow: inset 0 1px 0 rgba(190, 245, 255, .035); cursor: pointer; }
.delivery-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.delivery-switch { position: relative; flex: 0 0 auto; width: 40px; height: 22px; border: 1px solid rgba(143, 184, 226, .58); border-radius: 999px; background: #183052; transition: .2s ease; }
.delivery-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #8faaca; transition: .2s ease; }
.delivery-option input:checked + .delivery-switch { border-color: var(--cyan); background: rgba(35, 168, 205, .28); box-shadow: 0 0 18px rgba(83, 226, 255, .14); }
.delivery-option input:checked + .delivery-switch::after { transform: translateX(18px); background: var(--cyan); }
.delivery-option input:focus-visible + .delivery-switch { outline: 2px solid white; outline-offset: 3px; }
.delivery-option > span:last-child { display: grid; gap: 3px; }
.delivery-option strong { color: #e0edfb; font-size: .76rem; }
.delivery-option small { color: #8fa8c7; font-size: .66rem; }

.progress-rail {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 30px;
  border-block: 1px solid rgba(83, 226, 255, 0.34);
  background: linear-gradient(90deg, rgba(14, 35, 68, .94), rgba(20, 47, 84, .9), rgba(14, 35, 68, .94));
  box-shadow: inset 0 1px 0 rgba(185, 241, 255, .035), inset 0 -1px 0 rgba(9, 17, 37, .38);
}
.progress-step { display: flex; align-items: center; gap: 11px; color: #91a9c7; }
.progress-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #6382aa;
  border-radius: 50%;
  color: #bed2e8;
  background: #163253;
  box-shadow: inset 0 0 14px rgba(91, 184, 228, .09);
  font: 700 .76rem var(--font-mono);
}
.progress-step strong,
.progress-step small { display: block; white-space: nowrap; }
.progress-step strong { color: #a9bfd9; font-size: .82rem; }
.progress-step small { margin-top: 3px; color: #7f98b8; font-size: .71rem; }
.progress-step.complete > span { color: #041811; border-color: var(--green); background: var(--green); }
.progress-step.active > span { color: #04141b; border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 20px rgba(83, 232, 255, .28); }
.progress-step.complete strong,
.progress-step.active strong { color: #e2fbff; }
.progress-step.active small { color: var(--cyan); }
.progress-line { height: 2px; border-radius: 999px; background: linear-gradient(90deg, #385475, #54759a); box-shadow: 0 0 8px rgba(74, 145, 190, .11); }
.progress-line.active { background: linear-gradient(90deg, var(--green), var(--cyan)); box-shadow: 0 0 12px rgba(83, 232, 255, .22); }

.console-actions { display: flex; align-items: center; gap: 18px; padding: 20px 30px; background: rgba(10, 27, 58, .64); }
.primary-button { padding: 14px 19px; color: #eefcff; background: linear-gradient(135deg, #5745e9, #ab3cdb); box-shadow: 0 12px 32px rgba(102, 52, 222, .22); }
.console-actions p { margin: 0; color: #9bb2cf; font-size: .8rem; }

.delivery-outlook { margin-top: 32px; padding: 25px 27px; border: 1px solid rgba(255, 208, 106, .42); border-radius: 22px; background: linear-gradient(145deg, rgba(10, 27, 57, .98), rgba(8, 20, 45, .98)); box-shadow: 0 18px 48px rgba(0, 0, 0, .2); }
.delivery-outlook[hidden] { display: none; }
.delivery-outlook[data-state="high"] { border-color: rgba(72, 238, 176, .6); box-shadow: 0 18px 48px rgba(0, 0, 0, .2), inset 0 0 36px rgba(72, 238, 176, .035); }
.delivery-outlook[data-state="low"] { border-color: rgba(255, 102, 141, .66); box-shadow: 0 18px 48px rgba(0, 0, 0, .2), inset 0 0 36px rgba(255, 102, 141, .045); }
.delivery-outlook-header { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.delivery-outlook-header h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.delivery-outlook-header p:not(.section-kicker) { max-width: 720px; margin: 7px 0 0; color: #91a9c7; font-size: .82rem; }
.outlook-likelihood { flex: 0 0 auto; min-width: 142px; padding: 13px 16px; border: 1px solid rgba(255, 208, 106, .46); border-radius: 16px; background: rgba(84, 59, 12, .28); text-align: right; }
.outlook-likelihood span { display: block; color: #8ca1bc; font-size: .58rem; font-weight: 780; letter-spacing: .07em; text-transform: uppercase; }
.outlook-likelihood strong { display: block; margin-top: 5px; color: #ffe08b; font-size: 1.16rem; }
.outlook-likelihood[data-state="high"] { border-color: rgba(72, 238, 176, .52); background: rgba(20, 111, 79, .2); }
.outlook-likelihood[data-state="high"] strong { color: #79ffc8; }
.outlook-likelihood[data-state="low"] { border-color: rgba(255, 102, 141, .58); background: rgba(113, 20, 50, .24); }
.outlook-likelihood[data-state="low"] strong { color: #ff9db6; }
.outlook-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 20px; }
.outlook-signal { min-width: 0; padding: 12px 14px; border: 1px solid rgba(105, 167, 210, .22); border-radius: 13px; background: rgba(3, 12, 31, .58); }
.outlook-signal span { display: block; color: #65819f; font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.outlook-signal strong { display: block; margin-top: 6px; color: #bcd2e8; font-size: .78rem; overflow-wrap: anywhere; }
.outlook-signal.state-pass { border-color: rgba(72, 238, 176, .46); background: rgba(18, 86, 65, .2); }
.outlook-signal.state-pass strong { color: #7dffc6; }
.outlook-signal.state-warn, .outlook-signal.state-missing { border-color: rgba(255, 208, 106, .4); background: rgba(90, 63, 12, .19); }
.outlook-signal.state-warn strong, .outlook-signal.state-missing strong { color: #ffe08b; }
.outlook-signal.state-fail { border-color: rgba(255, 102, 141, .48); background: rgba(104, 16, 45, .22); }
.outlook-signal.state-fail strong { color: #ff9db6; }
.outlook-provider-table { margin-top: 12px; overflow: hidden; border: 1px solid rgba(103, 169, 214, .18); border-radius: 15px; }
.outlook-provider-head, .outlook-provider-row { display: grid; grid-template-columns: minmax(180px, .9fr) 128px minmax(260px, 1.8fr); align-items: center; gap: 15px; }
.outlook-provider-head { padding: 9px 14px; color: #6f8dab; background: rgba(10, 38, 70, .78); font-size: .57rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.outlook-provider-row { min-width: 0; padding: 13px 14px; border-top: 1px solid rgba(103, 169, 214, .13); background: rgba(2, 10, 27, .52); }
.outlook-provider-row:first-of-type { border-top: 0; }
.outlook-provider-row.state-accept { box-shadow: inset 3px 0 #48eeb0; }
.outlook-provider-row.state-risk { box-shadow: inset 3px 0 #ffd06a; }
.outlook-provider-row.state-reject { box-shadow: inset 3px 0 #ff668d; }
.outlook-provider-identity { min-width: 0; }
.outlook-provider-identity strong, .outlook-provider-identity a { display: block; color: #dcecfb; font-size: .76rem; font-weight: 780; text-decoration: none; }
.outlook-provider-identity a:hover { color: var(--cyan); }
.outlook-provider-identity small { display: block; margin-top: 3px; color: #5f7897; font: .59rem/1.4 var(--font-mono); overflow-wrap: anywhere; }
.outlook-provider-state { width: max-content; padding: 6px 8px; border-radius: 999px; color: #ffe18f; background: rgba(214, 157, 38, .17); font-size: .59rem; font-weight: 800; text-transform: uppercase; }
.state-accept .outlook-provider-state { color: #7dffc6; background: rgba(30, 168, 115, .17); }
.state-reject .outlook-provider-state { color: #ffabc0; background: rgba(224, 55, 100, .2); }
.outlook-provider-row > p { min-width: 0; margin: 0; color: #8199b6; font-size: .67rem; line-height: 1.48; }
.outlook-caveat { margin: 12px 2px 0; color: #617b99; font-size: .62rem; line-height: 1.5; }

.queued-section { margin-top: 46px; }
.report-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid rgba(71, 239, 176, .3);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(4, 49, 43, .72), rgba(4, 22, 49, .82));
}
.report-summary[hidden] { display: none; }
.report-summary h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.report-summary p:not(.section-kicker) { margin: 7px 0 0; color: #89a4c4; font-size: .86rem; }
.summary-scores { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.summary-scores span { padding: 8px 11px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.score-pass { color: #b9ffe0; background: rgba(30, 168, 115, .2); }
.score-warn { color: #ffe9a7; background: rgba(214, 157, 38, .18); }
.score-fail { color: #ffc3d3; background: rgba(224, 55, 100, .18); }
.report-summary-actions { display: grid; justify-items: end; gap: 10px; }
.report-summary-actions > small { max-width: 360px; color: #7d98b8; font-size: .69rem; text-align: right; }
.download-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(83, 226, 255, .45); border-radius: 12px; color: #eefcff; background: linear-gradient(135deg, rgba(40, 123, 255, .82), rgba(169, 65, 239, .82)); box-shadow: 0 10px 30px rgba(70, 69, 220, .2); font-size: .76rem; font-weight: 780; text-decoration: none; }
.download-button[hidden] { display: none; }
.download-button:hover { border-color: #bff8ff; transform: translateY(-1px); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-heading-row h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.03em; }
.queued-count { color: #b8eaff; border-color: rgba(83, 226, 255, .22); background: rgba(4, 37, 59, .45); }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.check-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(105, 205, 255, .34);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 36, 75, .96), rgba(7, 23, 54, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 12px 32px rgba(0, 0, 0, .18);
}
.check-card > div > strong { color: #f1fbff; }
.check-card > div > p { color: #9bb2cf; }
.check-card .queued-label { color: #91a9c8; }
.check-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(83, 232, 255, .32); border-radius: 12px; color: var(--cyan); background: rgba(0, 172, 215, .08); font: 800 .9rem var(--font-mono); }
.check-card strong { font-size: .93rem; }
.check-card p { margin: 4px 0 0; color: #7186a5; font-size: .75rem; line-height: 1.35; }
.queued-label { color: #6d82a1; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.check-card.result-pass { border-color: rgba(71, 239, 176, .54); background: linear-gradient(145deg, rgba(15, 65, 70, .92), rgba(7, 28, 58, .96)); }
.check-card.result-pass .queued-label { color: var(--green); }
.check-card.result-warn { border-color: rgba(255, 201, 84, .52); background: linear-gradient(145deg, rgba(70, 54, 24, .9), rgba(10, 28, 58, .96)); }
.check-card.result-warn .queued-label { color: #ffd77c; }
.check-card.result-fail,
.check-card.result-error { border-color: rgba(255, 85, 132, .56); background: linear-gradient(145deg, rgba(72, 24, 54, .92), rgba(11, 25, 55, .96)); }
.check-card.result-fail .queued-label,
.check-card.result-error .queued-label { color: #ff8eae; }
.check-details { display: none; grid-column: 1 / -1; padding-top: 11px; border-top: 1px solid rgba(83, 226, 255, .24); }
.check-card.result-pass .check-details,
.check-card.result-warn .check-details,
.check-card.result-fail .check-details,
.check-card.result-error .check-details { display: block; }
.check-details summary { width: max-content; cursor: pointer; color: #a7effa; font-size: .74rem; font-weight: 700; }
.evidence-view { display: grid; gap: 13px; margin-top: 13px; }
.evidence-intro { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(111, 164, 207, .18); border-radius: 13px; background: rgba(2, 10, 28, .62); }
.evidence-intro p { margin: 0; color: #91a9c7; font-size: .72rem; }
.evidence-signal { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; color: #9fb3cd; background: rgba(119, 148, 185, .13); font: 800 .72rem var(--font-mono); }
.evidence-pass { border-color: rgba(71, 239, 176, .22); }
.evidence-pass .evidence-signal { color: #7dffc6; background: rgba(30, 168, 115, .16); }
.evidence-fail, .evidence-error { border-color: rgba(255, 85, 132, .26); }
.evidence-fail .evidence-signal, .evidence-error .evidence-signal { color: #ff9cb6; background: rgba(224, 55, 100, .18); }
.evidence-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.evidence-fact { min-width: 0; padding: 11px 12px; border: 1px solid rgba(101, 167, 210, .12); border-radius: 11px; background: rgba(3, 12, 31, .55); }
.evidence-fact small { display: block; color: #587493; font-size: .58rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.evidence-fact strong, .evidence-fact code { display: block; margin-top: 6px; color: #c8dcf2; font-size: .71rem; line-height: 1.45; overflow-wrap: anywhere; }
.evidence-fact code { color: #82e8f4; font-family: var(--font-mono); }
.evidence-wide { grid-column: 1 / -1; }
.check-card[data-check="tls"] { grid-column: 1 / -1; }
.signature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.certificate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.signature-card, .certificate-card { min-width: 0; padding: 14px; border: 1px solid rgba(96, 162, 207, .16); border-radius: 14px; background: rgba(2, 10, 28, .68); }
.signature-card.valid, .certificate-card.verified { border-color: #48eeb0; background: rgba(7, 50, 43, .58); box-shadow: inset 0 0 0 1px rgba(72, 238, 176, .18), 0 0 18px rgba(72, 238, 176, .16); }
.signature-card.invalid { border-color: rgba(255, 201, 84, .2); }
.certificate-card.private { border-color: #ffd06a; background: rgba(61, 45, 12, .48); box-shadow: inset 0 0 0 1px rgba(255, 208, 106, .15), 0 0 18px rgba(255, 208, 106, .13); }
.certificate-card.failed, .certificate-card.unverified { border-color: #ff668d; background: rgba(69, 12, 34, .5); box-shadow: inset 0 0 0 1px rgba(255, 102, 141, .16), 0 0 18px rgba(255, 102, 141, .14); }
.signature-heading, .certificate-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.signature-heading strong, .certificate-heading strong { min-width: 0; color: #dfedfb; font-size: .77rem; overflow-wrap: anywhere; }
.signature-heading span, .certificate-heading span { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; color: #7dffc6; background: rgba(30, 168, 115, .14); font-size: .57rem; font-weight: 780; text-transform: uppercase; }
.invalid .signature-heading span, .certificate-card.private .certificate-heading span { color: #ffe18f; background: rgba(214, 157, 38, .2); }
.certificate-card.failed .certificate-heading span, .certificate-card.unverified .certificate-heading span { color: #ffabc0; background: rgba(224, 55, 100, .22); }
.evidence-subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 3px; }
.evidence-subheading span { color: #dcecfb; font-size: .82rem; font-weight: 760; }
.evidence-subheading small { color: #56708f; font-size: .61rem; }
.route-timeline { display: grid; gap: 8px; }
.route-hop { display: grid; grid-template-columns: auto 1fr; gap: 11px; padding: 11px 12px; border: 1px solid rgba(83, 226, 255, .13); border-radius: 12px; background: linear-gradient(100deg, rgba(8, 45, 75, .45), rgba(3, 12, 31, .55)); }
.route-hop-number { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(83, 226, 255, .28); border-radius: 50%; color: var(--cyan); font: 750 .65rem var(--font-mono); }
.route-hop-body strong { color: #c9e6f1; font-size: .7rem; }
.route-hop-body p { margin: 4px 0 0; color: #617d9b; font: .62rem/1.45 var(--font-mono); }
.evidence-note, .evidence-empty { margin: 0; padding: 11px 13px; border-radius: 10px; color: #6d87a7; background: rgba(2, 9, 24, .55); font-size: .66rem; line-height: 1.5; }

.rbl-card { grid-column: 1 / -1; }
.rbl-dashboard { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(83, 226, 255, .13); }
.rbl-dashboard[hidden] { display: none; }
.rbl-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rbl-overview > div { min-height: 88px; padding: 16px 18px; border: 1px solid rgba(111, 177, 222, .15); border-radius: 15px; background: rgba(2, 10, 29, .62); }
.rbl-overview span { display: block; color: #dff8ff; font: 760 1.65rem/1 var(--font-mono); }
.rbl-overview small { display: block; margin-top: 8px; color: #7188a8; font-size: .69rem; font-weight: 720; letter-spacing: .035em; text-transform: uppercase; }
.rbl-overview .clean { border-color: rgba(71, 239, 176, .23); background: rgba(15, 86, 66, .17); }
.rbl-overview .clean span { color: var(--green); }
.rbl-overview .listed { border-color: rgba(255, 85, 132, .22); background: rgba(105, 17, 44, .17); }
.rbl-overview .listed span { color: #ff96b3; }
.rbl-overview .attention { border-color: rgba(255, 201, 84, .2); background: rgba(102, 70, 13, .14); }
.rbl-overview .attention span { color: #ffd77c; }
.rbl-snapshot-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 14px 16px; border: 1px solid rgba(255, 208, 106, .34); border-radius: 14px; background: linear-gradient(135deg, rgba(103, 68, 10, .2), rgba(21, 37, 65, .72)); box-shadow: inset 3px 0 #ffd06a; }
.rbl-snapshot-note > span { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #071326; background: #ffd06a; font: 850 .75rem var(--font-mono); box-shadow: 0 0 16px rgba(255, 208, 106, .16); }
.rbl-snapshot-note strong { display: block; color: #ffe09a; font-size: .74rem; }
.rbl-snapshot-note p { max-width: 1050px; margin: 5px 0 0; color: #a5b8d1; font-size: .67rem; line-height: 1.55; }
.rbl-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.rbl-toolbar button { min-height: 36px; padding: 0 13px; border: 1px solid rgba(93, 185, 236, .18); border-radius: 999px; color: #7f99ba; background: rgba(3, 17, 42, .72); font: 700 .7rem var(--font-display); cursor: pointer; }
.rbl-toolbar button:hover { color: #c6f5ff; border-color: rgba(83, 226, 255, .42); }
.rbl-toolbar button.active { color: #031525; border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 18px rgba(83, 226, 255, .17); }
.rbl-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.rbl-result { min-width: 0; padding: 14px 15px; border: 1px solid rgba(101, 167, 210, .14); border-radius: 14px; background: rgba(2, 10, 28, .62); }
.rbl-result[hidden] { display: none; }
.rbl-result-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.rbl-result-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #91a8c4; background: rgba(115, 149, 191, .12); font: 800 .77rem var(--font-mono); }
.rbl-result-identity { min-width: 0; }
.rbl-result-identity strong { display: block; overflow: hidden; color: #d6e8fa; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.rbl-result-identity small { display: block; overflow: hidden; margin-top: 3px; color: #58708f; font: .62rem var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.rbl-state-label { padding: 5px 7px; border-radius: 999px; color: #8ca1bb; background: rgba(112, 137, 172, .11); font-size: .6rem; font-weight: 780; text-transform: uppercase; letter-spacing: .045em; }
.rbl-result-meta { display: flex; align-items: flex-start; gap: 8px; margin: 11px 0 0 38px; }
.rbl-result-meta p { flex: 1; margin: 0; color: #7087a7; font-size: .67rem; }
.rbl-category { flex: 0 0 auto; color: #7fd7e7; font-size: .6rem; font-weight: 750; text-transform: uppercase; letter-spacing: .045em; }
.rbl-state-clean { border-color: rgba(71, 239, 176, .18); }
.rbl-state-clean .rbl-result-icon, .rbl-state-clean .rbl-state-label { color: #7dffc6; background: rgba(30, 168, 115, .15); }
.rbl-state-listed { border-color: rgba(255, 85, 132, .38); background: rgba(73, 11, 35, .34); box-shadow: inset 3px 0 #ff557f; }
.rbl-state-listed .rbl-result-icon, .rbl-state-listed .rbl-state-label { color: #ff9cb6; background: rgba(224, 55, 100, .18); }
.rbl-state-timeout, .rbl-state-unavailable { border-color: rgba(255, 201, 84, .18); }
.rbl-state-timeout .rbl-result-icon, .rbl-state-unavailable .rbl-result-icon { color: #ffd77c; background: rgba(214, 157, 38, .14); }
.rbl-query-details { margin: 11px 0 0 38px; padding-top: 9px; border-top: 1px solid rgba(83, 226, 255, .09); }
.rbl-query-details summary { width: max-content; cursor: pointer; color: #6bb8ca; font-size: .65rem; font-weight: 700; }
.rbl-query-trail { display: grid; gap: 6px; margin-top: 9px; }
.rbl-query-item { display: grid; gap: 4px; padding: 9px 10px; border-radius: 9px; background: rgba(0, 4, 15, .7); }
.rbl-query-item code { color: #77dbea; font: .61rem/1.4 var(--font-mono); overflow-wrap: anywhere; }
.rbl-query-item span { color: #6e88a7; font-size: .61rem; }
.rbl-empty { margin: 20px 0 4px; color: #7186a5; text-align: center; }

.tls-inspector-main { padding-top: 38px; }
.tls-inspector-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .55fr); align-items: center; gap: 32px; margin-bottom: 22px; padding: 34px 38px; border: 1px solid rgba(83, 226, 255, .42); border-radius: 26px; background: linear-gradient(135deg, rgba(14, 40, 79, .96), rgba(19, 16, 62, .94)); box-shadow: 0 30px 90px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .06); }
.tls-inspector-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1.02; }
.tls-inspector-hero p:not(.section-kicker) { max-width: 740px; margin: 15px 0 0; color: #a9bdd8; font-size: .98rem; line-height: 1.65; }
.tls-hero-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.tls-hero-badges span { padding: 7px 10px; border: 1px solid rgba(83, 226, 255, .3); border-radius: 999px; color: #a8f5ff; background: rgba(4, 25, 52, .62); font: 700 .65rem var(--font-mono); }
.tls-hero-mark { position: relative; display: grid; min-height: 190px; place-items: center; overflow: hidden; border: 1px solid rgba(83, 226, 255, .32); border-radius: 22px; background: radial-gradient(circle at 50% 38%, rgba(83, 226, 255, .2), transparent 43%), rgba(2, 10, 29, .68); }
.tls-hero-mark::before, .tls-hero-mark::after { position: absolute; width: 145px; height: 145px; border: 1px solid rgba(83, 226, 255, .24); border-radius: 50%; content: ""; }
.tls-hero-mark::after { width: 108px; height: 108px; border-color: rgba(151, 82, 255, .33); }
.tls-hero-mark > span { position: absolute; z-index: 1; width: 54px; height: 48px; margin-top: 25px; border: 3px solid var(--cyan); border-radius: 10px 10px 16px 16px; box-shadow: 0 0 28px rgba(83, 226, 255, .25); }
.tls-hero-mark > span::before { position: absolute; top: -32px; left: 9px; width: 30px; height: 32px; border: 3px solid var(--cyan); border-bottom: 0; border-radius: 24px 24px 0 0; content: ""; }
.tls-hero-mark strong { position: relative; z-index: 2; margin-top: 20px; color: #eefcff; font-size: 1.05rem; letter-spacing: .12em; }
.tls-hero-mark small { position: absolute; bottom: 18px; z-index: 2; color: #68dff2; font: 650 .56rem var(--font-mono); letter-spacing: .13em; }

.credential-warning { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; padding: 17px 19px; border: 1px solid rgba(255, 208, 106, .44); border-radius: 17px; background: linear-gradient(135deg, rgba(98, 63, 8, .26), rgba(16, 32, 61, .86)); box-shadow: inset 3px 0 #ffd06a; }
.credential-warning.compact { margin: 15px 0 0; padding: 14px 16px; }
.credential-warning-icon { display: grid; flex: 0 0 auto; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: #061425; background: #ffd06a; font: 850 .82rem var(--font-mono); box-shadow: 0 0 18px rgba(255, 208, 106, .18); }
.credential-warning strong { display: block; color: #ffe2a0; font-size: .83rem; }
.credential-warning p { margin: 5px 0 0; color: #a8bad1; font-size: .72rem; line-height: 1.58; }

.tls-inspector-form { overflow: hidden; border: 1px solid rgba(83, 226, 255, .47); border-radius: 24px; background: linear-gradient(145deg, rgba(14, 35, 70, .98), rgba(5, 17, 42, .98)); box-shadow: 0 28px 85px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .045); }
.tls-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-bottom: 1px solid rgba(83, 226, 255, .24); background: rgba(17, 43, 79, .78); }
.tls-form-heading h2 { margin: 0; font-size: 1.35rem; }
.tls-form-heading .section-kicker { margin-bottom: 6px; }
.tls-form-heading > span { padding: 8px 11px; border: 1px solid rgba(71, 239, 176, .3); border-radius: 999px; color: #aef6d7; background: rgba(12, 74, 57, .26); font-size: .66rem; font-weight: 700; }
.tls-form-section { margin: 0; padding: 24px 26px; border: 0; border-bottom: 1px solid rgba(83, 226, 255, .17); }
.tls-form-section-title { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; padding: 0; color: inherit; }
.tls-form-section-title > span:first-child { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(83, 226, 255, .52); border-radius: 10px; color: var(--cyan); background: rgba(20, 91, 121, .18); font: 750 .74rem var(--font-mono); }
.tls-form-section-title h3, .tls-form-section-title strong { display: block; margin: 0; color: #eaf6ff; font-size: .93rem; }
.tls-form-section-title p, .tls-form-section-title small { display: block; margin: 3px 0 0; color: #8199b8; font-size: .69rem; font-weight: 500; line-height: 1.45; }
.tls-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.tls-field-grid-target { grid-template-columns: minmax(0, 2fr) minmax(145px, .55fr) minmax(145px, .55fr); }
.tls-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.tls-field > span:first-child { color: #a8bfd9; font-size: .69rem; font-weight: 720; }
.tls-field input, .tls-field select { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid rgba(83, 226, 255, .3); border-radius: 12px; outline: 0; color: #e8f9ff; background: rgba(7, 23, 50, .9); font-family: var(--font-display); }
.tls-field input::placeholder { color: #536c8d; }
.tls-field input:focus, .tls-field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(83, 226, 255, .11); }
.tls-field input[type="number"] { font-family: var(--font-mono); }
.tls-field small { color: #627b9b; font-size: .6rem; line-height: 1.42; }
.tls-mode-fieldset > legend { width: 100%; }
.tls-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.tls-mode-grid label { position: relative; cursor: pointer; }
.tls-mode-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tls-mode-grid label > span { display: grid; min-height: 83px; align-content: center; gap: 5px; padding: 14px 15px; border: 1px solid rgba(105, 167, 210, .22); border-radius: 14px; background: rgba(4, 16, 39, .7); transition: .18s ease; }
.tls-mode-grid b { color: #c7d9ec; font-size: .75rem; }
.tls-mode-grid small { color: #667f9e; font-size: .62rem; line-height: 1.4; }
.tls-mode-grid input:checked + span { border-color: var(--cyan); background: linear-gradient(145deg, rgba(14, 84, 113, .34), rgba(21, 37, 78, .9)); box-shadow: inset 3px 0 var(--cyan), 0 0 22px rgba(83, 226, 255, .07); }
.tls-mode-grid input:checked + span b { color: #e8fcff; }
.tls-mode-grid input:focus-visible + span { outline: 2px solid white; outline-offset: 2px; }
.tls-custom-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 13px; padding: 15px; border: 1px solid rgba(152, 91, 255, .28); border-radius: 15px; background: rgba(40, 20, 76, .22); }
.tls-custom-fields[hidden], .tls-auth-panel[hidden], .tls-job[hidden], .tls-results[hidden], [data-tls-auth-results-section][hidden] { display: none; }
.tls-auth-title { margin-bottom: 0; }
.tls-auth-title > div { min-width: 0; flex: 1; }
.tls-toggle { position: relative; display: flex; align-items: center; gap: 9px; margin-left: auto; cursor: pointer; }
.tls-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tls-toggle > span { position: relative; width: 42px; height: 24px; border: 1px solid rgba(132, 170, 214, .54); border-radius: 999px; background: #173254; transition: .2s ease; }
.tls-toggle > span::after { position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: #91a9c6; content: ""; transition: .2s ease; }
.tls-toggle input:checked + span { border-color: var(--green); background: rgba(24, 134, 96, .35); box-shadow: 0 0 18px rgba(71, 239, 176, .12); }
.tls-toggle input:checked + span::after { transform: translateX(18px); background: var(--green); }
.tls-toggle b { color: #b3c8de; font-size: .69rem; }
.tls-toggle input:focus-visible + span { outline: 2px solid white; outline-offset: 3px; }
.tls-auth-panel { margin-top: 18px; padding: 17px; border: 1px solid rgba(255, 208, 106, .25); border-radius: 16px; background: rgba(22, 31, 57, .76); }
.tls-inline-warning { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; padding: 11px 13px; border-radius: 11px; color: #ffe09a; background: rgba(111, 74, 12, .24); }
.tls-inline-warning strong { font-size: .7rem; }
.tls-inline-warning span { color: #a9b9cc; font-size: .62rem; text-align: right; }
.tls-password-wrap { display: flex; overflow: hidden; border: 1px solid rgba(83, 226, 255, .3); border-radius: 12px; background: rgba(7, 23, 50, .9); }
.tls-password-wrap:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(83, 226, 255, .11); }
.tls-password-wrap input { min-width: 0; border: 0; background: transparent; box-shadow: none !important; }
.tls-password-wrap button { flex: 0 0 auto; border: 0; padding: 0 13px; color: #7fe5f3; background: rgba(18, 55, 87, .62); cursor: pointer; font-size: .64rem; font-weight: 750; }
.credential-ack { display: flex; align-items: flex-start; gap: 10px; margin-top: 15px; padding: 12px 13px; border: 1px solid rgba(255, 208, 106, .24); border-radius: 12px; color: #b8c7d8; background: rgba(75, 51, 10, .14); font-size: .67rem; line-height: 1.5; cursor: pointer; }
.credential-ack input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: #ffd06a; }
.tls-delivery-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: stretch; gap: 13px; }
.tls-report-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 13px 15px; border: 1px solid rgba(83, 226, 255, .24); border-radius: 13px; background: rgba(8, 27, 55, .78); cursor: pointer; }
.tls-report-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tls-report-option > span:first-of-type { position: relative; flex: 0 0 auto; width: 38px; height: 22px; border: 1px solid rgba(132, 170, 214, .5); border-radius: 999px; background: #173254; }
.tls-report-option > span:first-of-type::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #91a9c6; content: ""; transition: .2s ease; }
.tls-report-option input:checked + span { border-color: var(--cyan); background: rgba(22, 125, 153, .34); }
.tls-report-option input:checked + span::after { transform: translateX(16px); background: var(--cyan); }
.tls-report-option input:focus-visible + span { outline: 2px solid white; outline-offset: 3px; }
.tls-report-option b, .tls-report-option small { display: block; }
.tls-report-option b { color: #d6e8f8; font-size: .7rem; }
.tls-report-option small { margin-top: 4px; color: #738ba9; font-size: .61rem; line-height: 1.42; }
.tls-form-actions { display: flex; align-items: center; gap: 18px; padding: 20px 26px; background: rgba(8, 24, 53, .72); }
.tls-run-button { min-height: 49px; padding: 0 20px; border: 0; border-radius: 13px; color: #05101c; background: linear-gradient(135deg, #a3f4ff, #3ddcf4); box-shadow: 0 12px 30px rgba(47, 206, 234, .17); cursor: pointer; font-weight: 800; }
.tls-run-button span { margin-right: 6px; font-size: 1.2rem; }
.tls-form-actions p { margin: 0; color: #8299b8; font-size: .69rem; }
.tls-form-actions p[data-state="error"] { color: #ff9bb5; }

.tls-job { margin-top: 26px; padding: 24px 27px; border: 1px solid rgba(83, 226, 255, .5); border-radius: 21px; background: linear-gradient(145deg, rgba(14, 38, 76, .98), rgba(7, 21, 49, .98)); box-shadow: 0 24px 65px rgba(0, 0, 0, .25); }
.tls-job-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tls-job-header h2 { margin: 0; font-size: 1.3rem; }
.tls-job-header p:not(.section-kicker) { margin: 6px 0 0; color: #8fa8c7; font-size: .72rem; }
.tls-job-header > span { color: var(--cyan); font: 750 .72rem var(--font-mono); }
.tls-job-track { height: 8px; margin-top: 20px; overflow: hidden; border-radius: 999px; background: #172e4e; }
.tls-job-track span { display: block; width: 4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #875cff, #58e8ff, #47efb0); box-shadow: 0 0 14px rgba(83, 226, 255, .32); transition: width .35s ease; }
.tls-job-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 13px; color: #607999; font-size: .61rem; font-weight: 700; text-align: center; }
.tls-job-steps span.active { color: var(--cyan); }
.tls-job-steps span.complete { color: var(--green); }

.tls-results { margin-top: 32px; }
.tls-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 24px 27px; border: 1px solid rgba(83, 226, 255, .45); border-radius: 21px; background: linear-gradient(145deg, rgba(15, 40, 78, .97), rgba(8, 22, 50, .97)); }
.tls-results-heading h2 { margin: 0; font-size: 1.55rem; }
.tls-results-heading p:not(.section-kicker) { margin: 7px 0 0; color: #8ca5c5; font-size: .75rem; }
.tls-result-actions { display: flex; align-items: center; gap: 9px; }
.tls-result-actions button { min-height: 42px; padding: 0 14px; border: 1px solid rgba(102, 169, 214, .3); border-radius: 11px; color: #a8c2de; background: rgba(7, 25, 52, .78); cursor: pointer; font-size: .68rem; font-weight: 720; }
.tls-summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.tls-summary-card { min-height: 88px; padding: 16px 18px; border: 1px solid rgba(101, 167, 210, .24); border-radius: 15px; background: rgba(6, 19, 44, .88); }
.tls-summary-card strong { display: block; color: #dff8ff; font: 760 1.65rem/1 var(--font-mono); }
.tls-summary-card span { display: block; margin-top: 8px; color: #7189a8; font-size: .65rem; font-weight: 720; text-transform: uppercase; }
.tls-summary-card.state-pass { border-color: rgba(71, 239, 176, .35); background: rgba(15, 86, 66, .2); }
.tls-summary-card.state-pass strong { color: var(--green); }
.tls-summary-card.state-warn { border-color: rgba(255, 208, 106, .32); background: rgba(102, 70, 13, .18); }
.tls-summary-card.state-warn strong { color: #ffd77c; }
.tls-summary-card.state-fail { border-color: rgba(255, 85, 132, .38); background: rgba(105, 17, 44, .2); }
.tls-summary-card.state-fail strong { color: #ff96b3; }
.tls-summary-card.state-info strong { color: var(--cyan); }
.tls-result-notice { margin-top: 12px; padding: 12px 15px; border: 1px solid rgba(83, 226, 255, .2); border-radius: 12px; color: #8fa7c4; background: rgba(6, 20, 46, .72); font-size: .67rem; }
.tls-result-notice[data-state="pass"] { border-color: rgba(71, 239, 176, .3); color: #9ce7c4; }
.tls-result-notice[data-state="error"] { border-color: rgba(255, 85, 132, .32); color: #ff9db8; }
.tls-result-section { margin-top: 35px; }
.tls-probe-grid, .tls-auth-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.tls-probe-card, .tls-auth-result { min-width: 0; overflow: hidden; border: 1px solid rgba(101, 167, 210, .25); border-radius: 17px; background: linear-gradient(145deg, rgba(15, 37, 70, .96), rgba(6, 18, 42, .96)); }
.tls-probe-card.state-pass, .tls-auth-result.state-pass { border-color: rgba(71, 239, 176, .48); box-shadow: inset 3px 0 var(--green); }
.tls-probe-card.state-warn { border-color: rgba(255, 208, 106, .48); box-shadow: inset 3px 0 #ffd06a; }
.tls-probe-card.state-fail, .tls-auth-result.state-fail { border-color: rgba(255, 85, 132, .5); box-shadow: inset 3px 0 #ff668d; }
.tls-probe-card.state-not_offered { border-color: rgba(111, 173, 211, .4); box-shadow: inset 3px 0 #6fadd3; }
.tls-auth-result.state-not_offered { border-color: rgba(111, 173, 211, .4); box-shadow: inset 3px 0 #6fadd3; }
.tls-probe-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid rgba(83, 226, 255, .13); background: rgba(13, 34, 66, .65); }
.tls-probe-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.tls-probe-icon { display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: #041811; background: var(--green); font: 850 .82rem var(--font-mono); }
.state-warn .tls-probe-icon { color: #1c1405; background: #ffd06a; }
.state-fail .tls-probe-icon { color: #250711; background: #ff668d; }
.state-not_offered .tls-probe-icon { color: #071827; background: #79b9dd; }
.tls-probe-identity strong, .tls-probe-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tls-probe-identity strong { color: #dfedf9; font-size: .76rem; }
.tls-probe-identity small { max-width: 340px; margin-top: 3px; color: #6883a2; font: .59rem var(--font-mono); }
.tls-state-pill { flex: 0 0 auto; padding: 6px 8px; border-radius: 999px; color: #a9bed4; background: rgba(112, 137, 172, .13); font-size: .57rem; font-weight: 800; text-transform: uppercase; }
.tls-state-pill.state-pass { color: #80ffc8; background: rgba(30, 168, 115, .17); }
.tls-state-pill.state-warn { color: #ffe08b; background: rgba(214, 157, 38, .18); }
.tls-state-pill.state-fail { color: #ffabc0; background: rgba(224, 55, 100, .2); }
.tls-state-pill.state-info { color: #a9e8ff; background: rgba(66, 157, 204, .18); }
.tls-probe-detail { margin: 0; padding: 13px 17px; color: #91a8c4; font-size: .68rem; line-height: 1.48; }
.tls-probe-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 0 17px 16px; }
.tls-probe-fact { min-width: 0; padding: 10px 11px; border: 1px solid rgba(101, 167, 210, .14); border-radius: 10px; background: rgba(3, 12, 30, .5); }
.tls-probe-fact span, .tls-probe-fact strong { display: block; }
.tls-probe-fact span { color: #64809f; font-size: .55rem; font-weight: 760; letter-spacing: .05em; text-transform: uppercase; }
.tls-probe-fact strong { margin-top: 5px; color: #b4c9df; font: 600 .61rem/1.4 var(--font-mono); overflow-wrap: anywhere; }
.tls-certificate-details { border-top: 1px solid rgba(83, 226, 255, .13); }
.tls-certificate-details summary { padding: 12px 17px; color: #71d9e9; font-size: .64rem; font-weight: 720; cursor: pointer; }
.tls-certificate-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 0 17px 16px; }
.tls-trust-overview { margin: 0 17px 10px; padding: 13px 14px; border: 1px solid rgba(83, 226, 255, .25); border-radius: 12px; background: rgba(5, 20, 43, .78); }
.tls-trust-overview.state-pass { border-color: rgba(71, 239, 176, .4); background: rgba(11, 66, 54, .28); }
.tls-trust-overview.state-fail { border-color: rgba(255, 85, 132, .42); background: rgba(84, 15, 37, .26); }
.tls-trust-overview strong { color: #e3f6ff; font-size: .72rem; }
.tls-trust-overview p { margin: 6px 0 0; color: #91a8c4; font-size: .63rem; line-height: 1.5; }
.tls-chain-stack { display: grid; gap: 17px; padding: 1px 17px 18px; }
.tls-chain-certificate { position: relative; min-width: 0; border: 1px solid rgba(101, 167, 210, .24); border-radius: 13px; background: rgba(3, 13, 31, .72); }
.tls-chain-certificate.state-pass { border-color: rgba(71, 239, 176, .34); }
.tls-chain-certificate.state-warn { border-color: rgba(255, 208, 106, .56); box-shadow: inset 3px 0 #ffd06a; }
.tls-chain-certificate.state-fail { border-color: rgba(255, 85, 132, .56); box-shadow: inset 3px 0 #ff668d; }
.tls-chain-certificate-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid rgba(83, 226, 255, .11); }
.tls-chain-certificate-head > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tls-chain-certificate-head strong { color: #dceefa; font-size: .68rem; }
.tls-chain-position { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(83, 226, 255, .34); border-radius: 50%; color: var(--cyan); font: 750 .6rem var(--font-mono); }
.tls-chain-certificate-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 11px 12px; }
.tls-chain-link { margin: 0 12px 11px; padding: 9px 10px; border: 1px solid rgba(101, 167, 210, .17); border-radius: 9px; color: #8199b7; background: rgba(7, 23, 48, .72); font-size: .6rem; line-height: 1.45; }
.tls-chain-link.state-match, .tls-chain-link.state-self_signed { border-color: rgba(71, 239, 176, .28); color: #9de6c6; }
.tls-chain-link.state-trust_store { border-color: rgba(83, 226, 255, .28); color: #9bddea; }
.tls-chain-link.state-mismatch, .tls-chain-link.state-not_presented { border-color: rgba(255, 85, 132, .3); color: #ffabc0; }
.tls-chain-fingerprint { border-top: 1px solid rgba(83, 226, 255, .1); }
.tls-chain-fingerprint summary { padding: 9px 12px; color: #688eae; font-size: .58rem; }
.tls-chain-fingerprint code { display: block; padding: 0 12px 11px; color: #9ebbd2; font-size: .56rem; overflow-wrap: anywhere; }
.tls-chain-connector { position: absolute; bottom: -17px; left: 18px; z-index: 2; color: #6addec; background: #06142d; font: 650 .52rem var(--font-mono); }
.tls-auth-result { padding: 16px 17px; }
.tls-auth-result > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tls-auth-result strong { color: #dfedf9; font-size: .76rem; }
.tls-auth-result > small { display: block; margin-top: 5px; color: #6883a2; font: .58rem var(--font-mono); }
.tls-auth-result p { margin: 11px 0 0; color: #91a8c4; font-size: .68rem; line-height: 1.48; }
.tls-empty-result { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px solid rgba(101, 167, 210, .2); border-radius: 14px; color: #8199b7; background: rgba(6, 20, 46, .72); font-size: .7rem; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 12px 0; border-top: 1px solid rgba(92, 178, 229, .13); color: #667b9a; font-size: .77rem; }
footer span:first-child { color: #9eb5d3; font-weight: 700; }

@media (max-width: 940px) {
  .site-header { align-items: stretch; flex-direction: column; }
  .brand-panel { width: 100%; height: 118px; }
  .tool-nav { padding: 0 4px 4px; }
  .tool-grid, .check-grid { grid-template-columns: repeat(2, 1fr); }
  .rbl-results { grid-template-columns: 1fr; }
  .mailcheck-heading { align-items: flex-start; flex-direction: column; }
  .delivery-outlook-header { align-items: flex-start; flex-direction: column; }
  .outlook-likelihood { min-width: 0; text-align: left; }
  .outlook-provider-head, .outlook-provider-row { grid-template-columns: minmax(160px, .8fr) 120px minmax(220px, 1.6fr); }
  .report-summary { align-items: flex-start; flex-direction: column; }
  .summary-scores { justify-content: flex-start; }
  .report-summary-actions { justify-items: start; }
  .report-summary-actions > small { text-align: left; }
  .progress-rail { grid-template-columns: 1fr; gap: 12px; }
  .progress-line { width: 1px; height: 20px; margin-left: 16px; }
  .tls-inspector-hero { grid-template-columns: 1fr; }
  .tls-hero-mark { min-height: 165px; }
  .tls-field-grid-target { grid-template-columns: 1fr 1fr; }
  .tls-field-grid-target .tls-field-wide { grid-column: 1 / -1; }
  .tls-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tls-probe-grid, .tls-auth-results { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 18px, 1180px); padding-top: 9px; }
  .site-header { border-radius: 18px; }
  .brand-panel { height: 92px; }
  main { padding: 40px 4px 54px; }
  .tool-grid, .check-grid { grid-template-columns: 1fr; }
  .signature-list, .certificate-grid { grid-template-columns: 1fr; }
  .evidence-facts { grid-template-columns: 1fr; }
  .evidence-wide { grid-column: auto; }
  .rbl-overview { grid-template-columns: repeat(2, 1fr); }
  .delivery-outlook { padding: 20px 18px; }
  .outlook-signals { grid-template-columns: 1fr; }
  .outlook-provider-head { display: none; }
  .outlook-provider-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  .tool-card { min-height: 220px; }
  .mailcheck-tile { grid-template-columns: 1fr; grid-template-rows: 132px minmax(145px, 1fr); min-height: 277px; }
  .mailcheck-tile-visual { border-right: 0; border-bottom: 1px solid rgba(83, 226, 255, .2); }
  .mailcheck-tile-copy { min-height: 145px; padding: 16px 18px; }
  .mailcheck-visual-hero { margin-top: -4px; border-radius: 18px; }
  .address-block, .progress-rail, .console-actions { padding-inline: 18px; }
  .address-row { flex-direction: column; }
  .copy-button { min-height: 48px; }
  .console-actions { align-items: stretch; flex-direction: column; }
  .console-actions p { line-height: 1.5; }
  .console-topline { padding-inline: 18px; }
  .tls-inspector-hero { padding: 25px 21px; border-radius: 20px; }
  .tls-form-heading, .tls-results-heading { align-items: flex-start; flex-direction: column; padding-inline: 19px; }
  .tls-form-section { padding-inline: 19px; }
  .tls-field-grid, .tls-field-grid-target, .tls-custom-fields, .tls-delivery-grid { grid-template-columns: 1fr; }
  .tls-field-grid-target .tls-field-wide { grid-column: auto; }
  .tls-mode-grid { grid-template-columns: 1fr; }
  .tls-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tls-auth-title { align-items: flex-start; flex-wrap: wrap; }
  .tls-toggle { margin-left: 45px; }
  .tls-inline-warning { align-items: flex-start; flex-direction: column; }
  .tls-inline-warning span { text-align: left; }
  .tls-form-actions { align-items: stretch; flex-direction: column; padding-inline: 19px; }
  .tls-job-header, .tls-results-heading { align-items: flex-start; flex-direction: column; }
  .tls-job-steps { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .tls-result-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .tls-result-actions .download-button { text-align: center; }
  .tls-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .tls-probe-facts, .tls-certificate-evidence, .tls-chain-certificate-fields { grid-template-columns: 1fr; }
  .credential-warning { padding-inline: 15px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .mailcheck-hover-video { display: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* DNS & MX Inspector */
.dns-mx-main { max-width: 1110px; margin: 0 auto; padding-top: 24px; }
.dns-mx-visual-hero { max-height: none; }
.dns-mx-visual-hero img { object-fit: cover; object-position: center; }
.dns-mx-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin-top: 14px; padding: 28px 30px; border: 1px solid rgba(83, 226, 255, .42); border-radius: 22px; background: linear-gradient(145deg, rgba(19, 49, 88, .97), rgba(8, 22, 50, .97)); box-shadow: 0 22px 65px rgba(0, 0, 0, .28); }
.dns-mx-hero h1 { max-width: 720px; margin: 0; color: #effaff; font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.1; }
.dns-mx-hero p:not(.section-kicker) { max-width: 800px; margin: 12px 0 0; color: #9cb3ce; font-size: .82rem; line-height: 1.62; }
.dns-mx-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.dns-mx-badges span { padding: 6px 9px; border: 1px solid rgba(83, 226, 255, .26); border-radius: 999px; color: #9cecf8; background: rgba(5, 30, 58, .66); font-size: .58rem; font-weight: 800; letter-spacing: .06em; }
.dns-mx-form { margin-top: 19px; overflow: hidden; border: 1px solid rgba(83, 226, 255, .45); border-radius: 22px; background: linear-gradient(145deg, rgba(19, 46, 83, .98), rgba(8, 23, 51, .98)); box-shadow: 0 24px 70px rgba(0, 0, 0, .26); }
.dns-mx-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 27px; border-bottom: 1px solid rgba(83, 226, 255, .2); background: rgba(18, 46, 83, .66); }
.dns-mx-form-heading h2 { margin: 0; color: #eaf8ff; font-size: 1.18rem; }
.dns-mx-form-heading > span { padding: 7px 10px; border-radius: 999px; color: #89f8ca; background: rgba(42, 189, 131, .13); font-size: .6rem; font-weight: 780; }
.dns-mx-primary-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; padding: 22px 27px; }
.dns-mx-field { display: grid; gap: 7px; min-width: 0; }
.dns-mx-field > span { color: #bed4e9; font-size: .68rem; font-weight: 760; }
.dns-mx-field input { width: 100%; min-height: 51px; border: 1px solid rgba(100, 184, 229, .38); border-radius: 13px; outline: 0; padding: 0 15px; color: #c9f8ff; background: rgba(4, 17, 39, .78); font: 650 .79rem var(--font-mono); }
.dns-mx-field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(83, 226, 255, .1); }
.dns-mx-field small { color: #7790ae; font-size: .61rem; line-height: 1.45; }
.dns-mx-run { min-height: 51px; border: 0; border-radius: 13px; padding: 0 20px; color: #04141d; background: linear-gradient(135deg, #a5f5ff, #46dbf4); box-shadow: 0 13px 30px rgba(57, 213, 239, .18); cursor: pointer; font-size: .72rem; font-weight: 850; white-space: nowrap; }
.dns-mx-run span { margin-right: 6px; font-size: 1.1rem; }
.dns-mx-run:disabled { opacity: .58; cursor: wait; }
.dns-mx-advanced { margin: 0 27px 21px; border: 1px solid rgba(145, 99, 255, .3); border-radius: 15px; background: rgba(35, 21, 72, .26); }
.dns-mx-advanced summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 16px; cursor: pointer; list-style: none; }
.dns-mx-advanced summary::-webkit-details-marker { display: none; }
.dns-mx-advanced summary b, .dns-mx-advanced summary small { display: block; }
.dns-mx-advanced summary b { color: #d9d0ff; font-size: .7rem; }
.dns-mx-advanced summary small { margin-top: 4px; color: #877da8; font-size: .59rem; line-height: 1.4; }
.dns-mx-advanced summary > span:last-child { color: #bd9cff; font-size: 1rem; transition: transform .2s ease; }
.dns-mx-advanced[open] summary > span:last-child { transform: rotate(45deg); }
.dns-mx-advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 0 16px 16px; }
.dns-mx-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 27px; border-top: 1px solid rgba(83, 226, 255, .15); background: rgba(5, 19, 43, .66); }
.dns-mx-form-foot p { margin: 0; color: #718aa9; font-size: .61rem; line-height: 1.45; }
.dns-mx-form-foot p[data-state="error"] { color: #ff9db8; }
.dns-mx-job[hidden], .dns-mx-results[hidden] { display: none; }
.dns-mx-job { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; margin-top: 22px; padding: 22px 27px; border: 1px solid rgba(83, 226, 255, .52); border-radius: 20px; background: linear-gradient(145deg, rgba(18, 48, 86, .98), rgba(7, 22, 50, .98)); }
.dns-mx-job h2 { margin: 0; color: #eafbff; font-size: 1.2rem; }
.dns-mx-job p:not(.section-kicker) { margin: 6px 0 0; color: #8ba4c3; font-size: .69rem; }
.dns-mx-job > span { color: var(--cyan); font: 750 .7rem var(--font-mono); }
.dns-mx-job-track { grid-column: 1 / -1; height: 8px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #173252; }
.dns-mx-job-track span { display: block; width: 4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8c5cff, #54e9ff, #43efac); box-shadow: 0 0 16px rgba(83, 226, 255, .34); transition: width .35s ease; }
.dns-mx-job-steps { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 5px; color: #617c9c; font-size: .56rem; font-weight: 750; text-align: center; }
.dns-mx-job-steps span.active { color: var(--cyan); }
.dns-mx-job-steps span.complete { color: var(--green); }
.dns-mx-results { margin-top: 28px; }
.dns-mx-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 23px 27px; border: 1px solid rgba(83, 226, 255, .46); border-radius: 20px; background: linear-gradient(145deg, rgba(20, 50, 88, .98), rgba(8, 23, 51, .98)); }
.dns-mx-results-heading h2 { margin: 0; color: #edfaff; font-size: 1.45rem; }
.dns-mx-results-heading p:not(.section-kicker) { margin: 6px 0 0; color: #88a3c2; font-size: .7rem; }
.dns-mx-result-actions { display: flex; align-items: center; gap: 9px; }
.dns-mx-result-actions button { min-height: 42px; border: 1px solid rgba(101, 173, 216, .34); border-radius: 11px; padding: 0 14px; color: #abc4df; background: rgba(5, 21, 46, .75); cursor: pointer; font-size: .65rem; font-weight: 750; }
.dns-mx-assessment { display: flex; align-items: center; gap: 15px; margin-top: 12px; padding: 18px 20px; border: 1px solid rgba(99, 174, 216, .3); border-radius: 16px; background: rgba(8, 29, 57, .91); }
.dns-mx-assessment.state-pass { border-color: rgba(67, 239, 172, .55); box-shadow: inset 4px 0 var(--green); }
.dns-mx-assessment.state-warn { border-color: rgba(255, 208, 106, .56); box-shadow: inset 4px 0 #ffd06a; }
.dns-mx-assessment.state-fail { border-color: rgba(255, 90, 136, .58); box-shadow: inset 4px 0 #ff668d; }
.dns-mx-assessment-icon { display: grid; flex: 0 0 auto; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #041713; background: var(--green); font: 850 1rem var(--font-mono); }
.state-warn .dns-mx-assessment-icon { color: #211705; background: #ffd06a; }
.state-fail .dns-mx-assessment-icon { color: #260711; background: #ff668d; }
.dns-mx-assessment strong { color: #e8f6ff; font-size: .88rem; }
.dns-mx-assessment p { margin: 5px 0 0; color: #91aac6; font-size: .68rem; line-height: 1.5; }
.dns-mx-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.dns-mx-summary-card { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 86px; padding: 13px; border: 1px solid rgba(101, 167, 210, .28); border-radius: 14px; background: rgba(8, 28, 56, .88); }
.dns-mx-summary-card.state-pass { border-color: rgba(67, 239, 172, .38); background: rgba(14, 82, 64, .22); }
.dns-mx-summary-card.state-warn, .dns-mx-summary-card.state-not_signed { border-color: rgba(255, 208, 106, .38); background: rgba(98, 66, 12, .2); }
.dns-mx-summary-card.state-fail { border-color: rgba(255, 90, 136, .42); background: rgba(98, 15, 41, .22); }
.dns-mx-summary-icon { display: grid; flex: 0 0 auto; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #061a14; background: var(--green); font: 850 .72rem var(--font-mono); }
.state-warn .dns-mx-summary-icon, .state-not_signed .dns-mx-summary-icon { color: #211705; background: #ffd06a; }
.state-fail .dns-mx-summary-icon { color: #280813; background: #ff668d; }
.dns-mx-summary-card strong, .dns-mx-summary-card small { display: block; min-width: 0; }
.dns-mx-summary-card strong { color: #daecfa; font-size: .68rem; }
.dns-mx-summary-card small { display: -webkit-box; margin-top: 4px; overflow: hidden; color: #6f89a8; font-size: .56rem; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.dns-mx-accordion { display: grid; gap: 10px; margin-top: 17px; }
.dns-mx-result-section { overflow: hidden; border: 1px solid rgba(101, 174, 216, .32); border-radius: 17px; background: linear-gradient(145deg, rgba(18, 43, 77, .96), rgba(7, 22, 47, .96)); }
.dns-mx-result-section[open] { border-color: rgba(83, 226, 255, .48); }
.dns-mx-result-section > summary { display: flex; align-items: center; justify-content: space-between; gap: 17px; min-height: 66px; padding: 14px 18px; cursor: pointer; list-style: none; }
.dns-mx-result-section > summary::-webkit-details-marker { display: none; }
.dns-mx-result-section > summary b, .dns-mx-result-section > summary small { display: block; }
.dns-mx-result-section > summary b { color: #dceef9; font-size: .76rem; }
.dns-mx-result-section > summary small { max-width: 720px; margin-top: 4px; color: #738dab; font-size: .59rem; line-height: 1.4; }
.dns-mx-result-state { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #a8bfd5; background: rgba(106, 143, 174, .15); font-size: .55rem; font-weight: 830; text-transform: uppercase; }
.dns-mx-result-state.state-pass { color: #85f7c3; background: rgba(39, 181, 124, .17); }
.dns-mx-result-state.state-warn, .dns-mx-result-state.state-not_signed { color: #ffdb82; background: rgba(208, 145, 22, .18); }
.dns-mx-result-state.state-fail { color: #ff9db8; background: rgba(220, 49, 94, .2); }
.dns-mx-section-body { padding: 3px 18px 18px; border-top: 1px solid rgba(83, 226, 255, .13); }
.dns-mx-notice { margin-top: 15px; padding: 13px 15px; border: 1px solid rgba(101, 174, 216, .3); border-radius: 12px; background: rgba(5, 20, 43, .72); }
.dns-mx-notice.state-pass { border-color: rgba(67, 239, 172, .4); background: rgba(14, 76, 61, .22); }
.dns-mx-notice.state-warn, .dns-mx-notice.state-not_signed { border-color: rgba(255, 208, 106, .4); background: rgba(89, 60, 11, .2); }
.dns-mx-notice.state-fail { border-color: rgba(255, 90, 136, .44); background: rgba(91, 13, 37, .22); }
.dns-mx-notice strong { color: #e4f3fc; font-size: .7rem; }
.dns-mx-notice p { margin: 5px 0 0; color: #8fa8c5; font-size: .64rem; line-height: 1.5; }
.dns-mx-mx-grid, .dns-mx-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 11px; }
.dns-mx-auth-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dns-mx-mx-card, .dns-mx-auth-card, .dns-mx-soa-table article { min-width: 0; overflow: hidden; border: 1px solid rgba(101, 170, 211, .28); border-radius: 14px; background: rgba(10, 31, 59, .88); }
.dns-mx-mx-card.state-pass, .dns-mx-auth-card.state-pass, .dns-mx-soa-table article.state-pass { border-color: rgba(67, 239, 172, .46); box-shadow: inset 3px 0 var(--green); }
.dns-mx-mx-card.state-warn, .dns-mx-auth-card.state-warn, .dns-mx-soa-table article.state-warn { border-color: rgba(255, 208, 106, .48); box-shadow: inset 3px 0 #ffd06a; }
.dns-mx-mx-card.state-fail, .dns-mx-auth-card.state-fail, .dns-mx-soa-table article.state-fail { border-color: rgba(255, 90, 136, .5); box-shadow: inset 3px 0 #ff668d; }
.dns-mx-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-bottom: 1px solid rgba(83, 226, 255, .12); background: rgba(17, 43, 76, .58); }
.dns-mx-card-head > div { min-width: 0; }
.dns-mx-card-head strong, .dns-mx-card-head small { display: block; overflow: hidden; text-overflow: ellipsis; }
.dns-mx-card-head strong { color: #e0effa; font-size: .71rem; }
.dns-mx-card-head small { margin-top: 4px; color: #6e89a8; font: .55rem var(--font-mono); white-space: nowrap; }
.dns-mx-card-summary { margin: 0; padding: 11px 14px 0; color: #8fa7c2; font-size: .62rem; line-height: 1.5; }
.dns-mx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 12px 14px 14px; }
.dns-mx-facts.compact { padding-top: 11px; }
.dns-mx-fact { min-width: 0; padding: 9px 10px; border: 1px solid rgba(101, 167, 210, .17); border-radius: 9px; background: rgba(3, 15, 34, .54); }
.dns-mx-fact.wide { grid-column: 1 / -1; }
.dns-mx-fact span, .dns-mx-fact strong { display: block; }
.dns-mx-fact span { color: #6985a5; font-size: .5rem; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.dns-mx-fact strong { margin-top: 4px; color: #b8cee1; font: 620 .58rem/1.42 var(--font-mono); overflow-wrap: anywhere; }
.dns-mx-evidence-details { border-top: 1px solid rgba(83, 226, 255, .11); }
.dns-mx-evidence-details > summary { padding: 10px 14px; color: #72dbe9; cursor: pointer; font-size: .58rem; font-weight: 720; }
.dns-mx-evidence-body { display: grid; gap: 7px; padding: 0 14px 13px; }
.dns-mx-code-evidence { min-width: 0; padding: 9px 10px; border: 1px solid rgba(98, 162, 203, .16); border-radius: 9px; background: rgba(2, 11, 27, .65); }
.dns-mx-code-evidence span, .dns-mx-code-evidence code { display: block; }
.dns-mx-code-evidence span { color: #64819f; font-size: .49rem; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; }
.dns-mx-code-evidence code { margin-top: 5px; color: #9fc6d9; font-size: .55rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.dns-mx-auth-card { padding-bottom: 13px; }
.dns-mx-auth-card .dns-mx-code-evidence { margin: 0 14px; }
.dns-mx-selector-list { display: grid; gap: 5px; margin: 11px 14px; }
.dns-mx-selector-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 9px; border: 1px solid rgba(103, 167, 207, .15); border-radius: 8px; background: rgba(3, 14, 32, .5); }
.dns-mx-selector-list strong { color: #b7d6e5; font: .56rem var(--font-mono); }
.dns-mx-selector-list span { color: #6f89a7; font-size: .52rem; text-align: right; }
.dns-mx-selector-list .state-pass { border-color: rgba(67, 239, 172, .32); }
.dns-mx-selector-list .state-pass span { color: #7be9b7; }
.dns-mx-method-note { margin: 11px 2px 0; color: #7189a5; font-size: .57rem; line-height: 1.5; }
.dns-mx-auth-card .dns-mx-method-note { margin-inline: 14px; }
.dns-mx-soa-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
.dns-mx-record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.dns-mx-record-grid article { min-width: 0; padding: 12px 13px; border: 1px solid rgba(101, 169, 210, .22); border-radius: 11px; background: rgba(5, 20, 43, .7); }
.dns-mx-record-grid strong { display: block; margin-bottom: 8px; color: var(--cyan); font-size: .58rem; }
.dns-mx-record-grid code, .dns-mx-record-grid span { display: block; margin-top: 5px; color: #99b5ce; font-size: .56rem; line-height: 1.47; overflow-wrap: anywhere; }

@media (max-width: 940px) {
  .dns-mx-hero { grid-template-columns: 1fr; }
  .dns-mx-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dns-mx-auth-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .dns-mx-main { padding-top: 0; }
  .dns-mx-visual-hero { max-height: none; }
  .dns-mx-hero { padding: 23px 20px; }
  .dns-mx-form-heading, .dns-mx-primary-fields, .dns-mx-results-heading { align-items: stretch; grid-template-columns: 1fr; flex-direction: column; padding-inline: 18px; }
  .dns-mx-primary-fields { display: grid; }
  .dns-mx-advanced { margin-inline: 18px; }
  .dns-mx-advanced-grid, .dns-mx-mx-grid, .dns-mx-soa-table, .dns-mx-record-grid { grid-template-columns: 1fr; }
  .dns-mx-form-foot { align-items: flex-start; flex-direction: column; padding-inline: 18px; }
  .dns-mx-job { grid-template-columns: 1fr; padding-inline: 19px; }
  .dns-mx-job > span { grid-row: 2; }
  .dns-mx-job-track, .dns-mx-job-steps { grid-column: 1; }
  .dns-mx-job-steps { grid-template-columns: repeat(3, 1fr); row-gap: 9px; }
  .dns-mx-result-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .dns-mx-result-actions .download-button { text-align: center; }
  .dns-mx-summary-grid { grid-template-columns: 1fr; }
  .dns-mx-result-section > summary { align-items: flex-start; }
  .dns-mx-facts { grid-template-columns: 1fr; }
  .dns-mx-fact.wide { grid-column: auto; }
}
