/* Self-hosted Atkinson Hyperlegible (SIL Open Font License, see /fonts/OFL-*.txt) */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/next-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/next-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IP & Domain Tools — an address is the subject: airmail navy ink on cool paper,
   with the airmail stripe saved for the one thing that matters (your IP). */
:root {
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --ink: #1A2B4C;
  --muted: #5B6B85;
  --rule: #D6DDE8;
  --red: #C8312B;
  --blue: #2453A6;
  --ok: #2E7D4F;
  --warn: #9A6412;
  --sans: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --mono: 'Atkinson Hyperlegible Mono', ui-monospace, monospace;
  --measure: 720px;
  color-scheme: light;
}
/* Dark theme: the same airmail navy, read at night. Follows the system until the visitor picks one. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1526; --white: #16213A; --ink: #E3E9F3; --muted: #9AA9C2; --rule: #2B3A5C;
    --red: #E2584D; --blue: #8DB0F5; --ok: #5BC48B; --warn: #E3A94B; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1526; --white: #16213A; --ink: #E3E9F3; --muted: #9AA9C2; --rule: #2B3A5C;
  --red: #E2584D; --blue: #8DB0F5; --ok: #5BC48B; --warn: #E3A94B; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
code, .mono { font-family: var(--mono); }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 6px 10px; z-index: 10; }

/* Header: the site name carries a short airmail stripe; tools are the navigation */
.top { background: var(--white); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding-top: 14px; padding-bottom: 0; }
.brand small { font-weight: 400; font-size: .8rem; color: var(--muted); }
@media (max-width: 400px) { .brand small { display: none; } }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; margin-right: auto; }
.brand::before {
  content: ''; width: 26px; height: 16px; border-radius: 2px;
  background: repeating-linear-gradient(135deg, var(--red) 0 4px, var(--white) 4px 6px, var(--blue) 6px 10px, var(--white) 10px 12px);
}
.lang { font-size: .95rem; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 2px; color: var(--muted); font: 600 .95rem var(--sans); }
.theme-toggle:hover { background: none; color: var(--ink); }
.theme-toggle .icon { width: 18px; height: 18px; stroke: currentColor; }
.tools { display: flex; gap: 22px; width: 100%; overflow-x: auto; scrollbar-width: none; margin-top: 8px; }
.tools a { flex: none; color: var(--muted); text-decoration: none; padding: 8px 0 10px; border-bottom: 3px solid transparent; font-weight: 600; }
.tools a:hover { color: var(--ink); }
.tools a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }

/* .wrap sets side padding; main adds the vertical rhythm (same specificity order matters) */
main.wrap { padding-top: 36px; padding-bottom: 24px; }
h1 { font-size: 2rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin: 0 0 20px; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 40px 0 10px; }
p, li { max-width: 68ch; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }

/* The address label — the one bold element */
.label {
  padding: 9px; border-radius: 6px;
  background: repeating-linear-gradient(135deg, var(--red) 0 16px, var(--white) 16px 24px, var(--blue) 24px 40px, var(--white) 40px 48px);
}
.label-inner { background: var(--white); border-radius: 3px; padding: 18px 22px 20px; }
.label-caption { margin: 0 0 4px; color: var(--muted); }
.ip-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.ip { margin: 0; font: 600 clamp(1.7rem, 7vw, 3.4rem)/1.15 var(--mono); letter-spacing: -.01em; overflow-wrap: anywhere; min-height: 1.15em; }
/* Facts about the address at a glance, and what to do with it */
.ip-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 14px 0 0; }
.ip-badges li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 10px 3px 8px; border: 1px solid var(--rule); border-radius: 999px; font-size: .9rem; max-width: none; }
.ip-badges .icon { width: 16px; height: 16px; }
.ip-badges .ok { color: var(--ok); border-color: currentColor; } .ip-badges .ok .icon { stroke: currentColor; }
.ip-badges .warn { color: var(--warn); border-color: currentColor; } .ip-badges .warn .icon { stroke: currentColor; }
.ip-badges a { color: inherit; }
.ip-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.btn-small { display: inline-block; padding: 6px 12px; border: 1px solid var(--blue); border-radius: 6px; font-weight: 600; font-size: .95rem; text-decoration: none; }
.btn-small:hover { background: var(--blue); color: var(--white); }

/* Disposable email banner under the IP label: quiet card, the whole of it is the link */
.mail-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 18px 0 0; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 6px; color: var(--ink); text-decoration: none;
}
.mail-banner:hover { border-color: var(--blue); color: var(--ink); }
.mail-banner:hover .btn { background: var(--ink); border-color: var(--ink); }
.mail-banner-icon { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.mail-banner-text { flex: 1 1 260px; }
.mail-banner-text strong { display: block; font-size: 1.05rem; }
.mail-banner-text span { color: var(--muted); }
.mail-banner .btn { flex: none; }

/* Home page: the tool list sits to the right and stays in view; below the content on narrow screens */
body[data-tool="ip"] .wrap { max-width: 1100px; }
.home { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 56px; align-items: start; }
.home-tools { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 4px 0 8px 22px; border-left: 1px solid var(--rule); }
.home-tools h2 { margin: 0; font-size: 1.1rem; }
.tool-filter { width: 100%; margin: 10px 0 0; padding: 8px 10px; font: inherit; font-size: .95rem; color: var(--ink); background: var(--white); border: 1px solid var(--muted); border-radius: 6px; }
.tool-none { margin: 10px 0 0; }
[data-tool-list] > .tool-filter { max-width: 420px; }
.home-tools h3 { margin: 18px 0 4px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.home-tools ul { list-style: none; padding: 0; margin: 0; }
.home-tools li { margin: 0; }
.home-tools a { display: block; padding: 3px 0; text-decoration: none; }
.home-tools a:hover { text-decoration: underline; }
.home-tools a[aria-current="page"] { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) {
  .home { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-tools { position: static; max-height: none; overflow: visible; border-left: 0; padding: 0; margin-top: 40px; }
  .home-tools ul { columns: 2; column-gap: 24px; }
}

/* Buttons and inputs */
button, .btn {
  font: 600 1rem var(--sans); cursor: pointer; border-radius: 6px; padding: 11px 18px;
  border: 1px solid var(--blue); background: var(--blue); color: var(--white);
}
button:hover { background: var(--ink); border-color: var(--ink); }
button:disabled { opacity: .6; cursor: progress; }
.btn-quiet { background: transparent; color: var(--blue); padding: 6px 12px; }
.btn-quiet:hover { background: var(--paper); color: var(--ink); }
.lookup { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.lookup label { display: block; width: 100%; font-weight: 600; margin-bottom: -4px; }
.lookup input {
  flex: 1 1 260px; min-width: 0; font: 400 1.1rem var(--mono); color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--muted); border-radius: 6px; background: var(--white);
}

/* Results */
.result { margin-top: 24px; }
.result:empty { display: none; }
.record { margin: 22px 0 0; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; }
.record > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 4px 16px; padding: 11px 16px; border-top: 1px solid var(--rule); }
.record > div:first-child { border-top: 0; }
.record dt { color: var(--muted); }
.record dd { margin: 0; overflow-wrap: anywhere; }
.record ul { list-style: none; padding: 0; margin: 0; }
.record li { margin: 0; }
.notice { margin: 0; padding: 12px 16px; border-left: 4px solid var(--muted); background: var(--white); }
.notice.error { border-color: var(--red); }
.notice.ok { border-color: var(--ok); }
.loading { color: var(--muted); }

/* Expiry stamp: looks like the renewal stamp on a paper record */
.stamp {
  display: inline-block; margin: 6px 0 2px; padding: 4px 12px 5px; border: 3px double currentColor; border-radius: 4px;
  transform: rotate(-2deg); font-weight: 800; line-height: 1.25; background: var(--white);
  animation: stamp .18s ease-out;
}
.stamp small { display: block; font-weight: 600; font-size: .8rem; }
.stamp.danger { color: var(--red); }
.stamp.warn { color: var(--warn); }
@keyframes stamp { from { transform: rotate(-2deg) scale(1.25); opacity: 0; } }
.days { color: var(--muted); }

table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); margin-top: 22px; font-size: .97rem; }
caption { text-align: left; color: var(--muted); padding-bottom: 6px; }
th, td { text-align: left; padding: 9px 12px; border-top: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; background: var(--paper); border-top: 0; }
td.mono { overflow-wrap: anywhere; }
.empty-types { color: var(--muted); margin-top: 10px; }

.avail { list-style: none; padding: 0; margin: 22px 0 0; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; }
.avail li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 16px; border-top: 1px solid var(--rule); margin: 0; max-width: none; }
.avail li:first-child { border-top: 0; }
.avail .state { font-weight: 600; }
.avail .unknown { color: var(--muted); font-weight: 400; }
.avail .restrict { display: block; color: var(--muted); font-size: .85rem; }
.avail .row-end { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tld-groups { flex: 1 1 100%; border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tld-groups legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.lookup .chip { display: inline-flex; align-items: center; gap: 6px; width: auto; margin: 0; padding: 6px 12px; font-weight: 400;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--white); cursor: pointer; }
.lookup .chip input { flex: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; accent-color: var(--blue); }
.lookup .chip { white-space: nowrap; }
.chip span { color: var(--muted); font-size: .85rem; }
.chip:has(input:checked) { border-color: var(--blue); }
.avail-tools { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin: 14px 0 0; }
.avail-tools input[type=search] { font: inherit; padding: 6px 10px; border: 1px solid var(--muted); border-radius: 6px; background: var(--white); color: var(--ink); }
.avail-progress { width: 100%; height: 8px; margin: 8px 0 0; accent-color: var(--blue); }
.result h3 { margin: 24px 0 0; font-size: 1.05rem; }
.result h3 span { color: var(--muted); font-weight: 400; }
.avail .available { color: var(--ok); }
.avail .probably { color: var(--ok); font-weight: 400; }
.avail .taken { color: var(--muted); }
.avail .soon { color: var(--red); }
.avail .later { color: var(--warn); }

details { margin-top: 14px; }
summary { cursor: pointer; color: var(--blue); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: .85rem/1.5 var(--mono); background: var(--white); border: 1px solid var(--rule); padding: 12px; border-radius: 6px; max-height: 420px; overflow: auto; }

/* Speed test */
.speed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; }
.speed-grid > div { padding: 14px 16px; border-left: 1px solid var(--rule); }
.speed-grid > div:first-child { border-left: 0; }
.speed-grid dt { color: var(--muted); }
.speed-grid dd { margin: 2px 0 0; font: 600 1.9rem/1.1 var(--mono); }
.speed-grid dd small { font: 400 .9rem var(--sans); color: var(--muted); margin-left: 4px; }
.phase { color: var(--muted); min-height: 1.6em; margin: 12px 0 0; }

/* Guide page: contents list, one section per tool */
.lede { color: var(--muted); margin-top: -8px; }
.toc { list-style: none; padding: 0; margin: 20px 0 0; }
.toc li { margin: 0; padding: 6px 0; }
.toc span { color: var(--muted); }
.guide-section { border-top: 1px solid var(--rule); margin-top: 40px; }
.guide-section h2 { margin-top: 28px; }
h3 { font-size: 1.08rem; line-height: 1.35; margin: 26px 0 6px; }
a.btn { display: inline-block; margin-top: 8px; text-decoration: none; }
a.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Footer */
main.wrap { min-height: 50vh; }
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: .92rem; padding: 18px 0 30px; }
footer p { margin: 4px 0; }

@media (max-width: 560px) {
  h1 { font-size: 1.6rem; }
  .record > div { grid-template-columns: 1fr; }
  .speed-grid { grid-template-columns: 1fr 1fr; }
  .speed-grid > div:nth-child(3) { border-left: 0; }
  .speed-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (prefers-reduced-motion: reduce) {
  .stamp { animation: none; }
}

/* Traceroute and ports */
.lookup textarea {
  flex: 1 1 100%; min-width: 0; min-height: 11em; resize: vertical; font: 400 .85rem/1.45 var(--mono); color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--muted); border-radius: 6px; background: var(--white);
}
.row-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
td.slow { color: var(--warn); font-weight: 700; }
td.nowrap { white-space: nowrap; }
.tm-address { font-size: clamp(1.05rem, 4.6vw, 1.9rem); }
.tm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.tm-actions button { border: 1px solid var(--rule); }
.tm-message { border: 1px solid var(--rule); border-radius: 6px; background: var(--white); margin: 0 0 8px; }
.tm-message summary { padding: 10px 14px; cursor: pointer; }
.tm-message summary .days { display: block; font-size: .9rem; overflow-wrap: anywhere; }
.tm-body { padding: 0 14px 12px; }
.tm-body pre { margin: 0; max-height: 520px; }
.service-links { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.service-links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); font-weight: 600; text-decoration: none; }
.service-links a:hover { border-color: var(--blue); }
.lookup .from { display: flex; align-items: center; gap: 8px; width: auto; margin: 0; }
.lookup select {
  font: 400 1rem var(--sans); color: var(--ink); background: var(--white);
  padding: 10px 12px; border: 1px solid var(--muted); border-radius: 6px;
}
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }
.risk { display: inline-block; margin-left: 4px; font-size: .82rem; font-weight: 600; color: var(--red); white-space: nowrap; }
.credit { color: var(--muted); font-size: .9rem; }
#port-table tr[hidden] { display: none; }

/* On narrow screens the tool tabs wrap onto two lines instead of scrolling out of sight */
@media (max-width: 760px) {
  .tools { flex-wrap: wrap; overflow: visible; gap: 0 18px; }
  .tools a { padding: 6px 0 8px; }
}

/* Network planner */
.topo-modes { display: inline-flex; gap: 6px; margin-bottom: 18px; }
.topo-modes button[aria-pressed="false"] { border-color: var(--rule); }
.topo-field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; margin-bottom: 14px; }
.topo-field input, .topo-row input, .topo-row select, .topo-field select {
  font: 400 1rem var(--sans); color: var(--ink); background: var(--white);
  padding: 9px 11px; border: 1px solid var(--muted); border-radius: 6px; min-width: 0;
}
.topo-field input.mono { font-family: var(--mono); max-width: 260px; }
.topo-inline { display: flex; flex-wrap: wrap; gap: 0 20px; }
.topo-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 170px) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.topo-head { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.topo-site { border: 1px solid var(--rule); border-radius: 6px; background: var(--white); padding: 4px 14px 2px; margin: 0 0 14px; }
.topo-site legend { display: flex; gap: 8px; align-items: center; padding: 0 6px; }
.topo-site legend input { font-weight: 600; }
#topo-form > button[type="submit"] { margin-top: 6px; }
.topo-hint { margin-top: -4px; }
.topo-diagram { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; overflow-x: auto; touch-action: none; }
.topo-diagram svg { display: block; width: 100%; min-width: 560px; height: auto; user-select: none; }
.topo-exports { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.topo-config pre { max-height: 360px; }
@media (max-width: 560px) {
  .topo-row { grid-template-columns: 1fr 80px; }
  .topo-head { display: none; }
}
@media print {
  :root, :root[data-theme="dark"] { --paper: #FFFFFF; --white: #FFFFFF; --ink: #1A2B4C; --muted: #5B6B85; --rule: #D6DDE8; --red: #C8312B; --blue: #2453A6; color-scheme: light; }
  .top, footer, .topo-modes, #topo-form, .topo-exports, .topo-hint, .skip { display: none !important; }
  body { background: #fff; }
  .topo-diagram { border: 0; overflow: visible; }
  .topo-config[open] pre { max-height: none; }
}
/* The planner needs room for the diagram and the 9-column plan; the form keeps a readable width */
body[data-tool="topology"] main.wrap { max-width: 1120px; }
#topo-form, .topo-modes { max-width: 760px; }
.topo-table th, .topo-table td { white-space: nowrap; }
.topo-table td.mono { overflow-wrap: normal; }

/* Detail rows with line icons (My IP) */
.record dt { display: flex; align-items: center; gap: 10px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#ip-headers table { margin-top: 10px; }
#ip-headers td:first-child { white-space: nowrap; }

/* Email security, HTTP headers, SSL */
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; border: 1px solid currentColor; }
.badge.ok { color: var(--ok); } .badge.info { color: var(--muted); } .badge.warn { color: var(--warn); } .badge.fail { color: var(--red); }
.mail-section h2 { display: flex; align-items: center; gap: 10px; }
.findings { padding-left: 1.2em; margin: 8px 0 0; }
.findings li.fail { color: var(--red); } .findings li.warn { color: var(--warn); } .findings li.ok { color: var(--ok); }
.findings.plain { list-style: none; padding: 0; }
.record-text { white-space: pre-wrap; margin: 8px 0; }
.selector-input { flex: 0 1 180px !important; font-family: var(--mono); }
details.gen { margin-top: 36px; border-top: 1px solid var(--rule); padding-top: 14px; }
details.gen > summary { font-weight: 600; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 6px; }
.gen-out { margin-bottom: 18px; }
.gen-out .record-text { background: var(--white); }
td.status-2 { color: var(--ok); } td.status-3 { color: var(--blue); } td.status-4, td.status-5 { color: var(--red); }

/* DNS propagation map */
.prop-map { display: block; width: 100%; height: auto; margin: 18px 0; border: 1px solid var(--rule); border-radius: 6px; }
.prop-map .dot { stroke: var(--white); stroke-width: 2; }
.prop-map .dot.ok { fill: var(--ok); } .prop-map .dot.fail { fill: var(--red); }
.state-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.state-dot.ok { background: var(--ok); } .state-dot.fail { background: var(--red); }
#result td.mono { white-space: pre-line; }
body[data-tool="propagation"] main.wrap { max-width: 1000px; }
.prop-map .dot.warn { fill: var(--warn); }
.state-dot.warn { background: var(--warn); }
td.loss { color: var(--red); font-weight: 600; }
body[data-tool="ping"] main.wrap { max-width: 1000px; }
.prop-map .dot.warn { fill: var(--warn); }
.state-dot.warn { background: var(--warn); }
td.loss { color: var(--red); font-weight: 600; }
body[data-tool="ping"] main.wrap { max-width: 1000px; }
