/* DNS Shield ad blocker is sold through Trueflix but runs beside it: one floating entry and
   a full-screen console of its own, so nothing in the site's own chrome moves.

   It is dressed as an office console rather than a dark product page: a light
   neutral shell, hairline borders, one indigo accent and a left rail. The rail
   is drawn by CSS alone — the panel's three children (top bar, tab strip, body)
   are placed on a grid, so the tab strip that used to run as a row of pills now
   stands as the rail. Nothing in the markup or the scripts changes. */

/* ---------- the floating entry ---------- */
#tf-dns-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 8.7rem;
  z-index: 2147483004;
  display: none;
  align-items: center;
  gap: 0.45rem;
  height: 2.5rem;
  padding: 0 0.85rem 0 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  font: 700 0.68rem system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}
#tf-dns-fab.is-on { display: inline-flex; }
#tf-dns-fab:hover { border-color: #c7d2fe; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18); }
#tf-dns-fab .tf-dns-fab-core {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: #4f46e5;
  color: #ffffff;
  flex-shrink: 0;
}
#tf-dns-fab .tf-dns-fab-core svg { width: 1.25rem; height: 1.25rem; }

/* ---------- the console ---------- */
#tf-dns-page {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: none;
  background: #f5f7fa;
  color: #0f172a;
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
}
#tf-dns-page.is-open {
  display: grid;
  grid-template-columns: 15.5rem 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "top  top"
    "rail body";
}
body.tf-dns-lock { overflow: hidden !important; }

#tf-dns-page .tf-dns-top {
  grid-area: top;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}
#tf-dns-page .tf-dns-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
#tf-dns-page .tf-dns-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  background: #4f46e5;
  color: #ffffff;
  flex-shrink: 0;
}
#tf-dns-page .tf-dns-mark svg { width: 1.05rem; height: 1.05rem; }
#tf-dns-page .tf-dns-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}
#tf-dns-page .tf-dns-sub {
  margin: 0.05rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
}
#tf-dns-page .tf-dns-close {
  margin-left: auto;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  border-radius: 0.5rem;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
#tf-dns-page .tf-dns-close:hover { background: #f1f5f9; color: #0f172a; }

/* The rail. Only the panel's own tab strip is addressed, so the small OS
   picker that shares the class inside the Setup tab keeps its own shape. */
#tf-dns-page > .tf-dns-tabs {
  grid-area: rail;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.9rem 0.7rem;
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
  overflow-y: auto;
}
#tf-dns-page .tf-dns-tab {
  border: 0;
  background: transparent;
  color: #475569;
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
#tf-dns-page .tf-dns-tab:hover { background: #f1f5f9; color: #0f172a; }
#tf-dns-page .tf-dns-tab.is-on {
  background: #eef2ff;
  color: #3730a3;
  font-weight: 700;
  box-shadow: inset 2px 0 0 #4f46e5;
}
#tf-dns-page .tf-dns-tab.tf-dns-tab-admin {
  margin-top: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #e2e8f0;
}

/* The Setup tab carries a second strip of the same tab classes — the OS picker.
   Only the panel's own strip becomes the rail, so the nested one is dressed
   here as a row of chips rather than inherit the rail's flat, left-aligned look. */
#tf-dns-page .tf-dns-card .tf-dns-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
#tf-dns-page .tf-dns-card .tf-dns-tabs .tf-dns-tab {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  border-radius: 999px;
  padding: 0.34rem 0.8rem;
  font-size: 0.76rem;
  text-align: center;
}
#tf-dns-page .tf-dns-card .tf-dns-tabs .tf-dns-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
#tf-dns-page .tf-dns-card .tf-dns-tabs .tf-dns-tab.is-on {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
  font-weight: 700;
  box-shadow: none;
}

#tf-dns-page .tf-dns-body {
  grid-area: body;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.4rem 1.6rem 2rem;
  background: #f5f7fa;
}
#tf-dns-page .tf-dns-wrap { max-width: 58rem; margin: 0 auto; }

/* ---------- cards and figures ---------- */
.tf-dns-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 1.1rem 1.15rem;
  margin-bottom: 1rem;
}
.tf-dns-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.tf-dns-card p { margin: 0.2rem 0; font-size: 0.85rem; color: #475569; }
.tf-dns-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6366f1;
}
.tf-dns-muted { color: #64748b; font-size: 0.8rem; }
/* The per-device steps sit on a white card, so they take the card's body
   colour rather than the light slate they used to carry inline. */
#tf-dns-page .tf-dns-steps { margin: 0.5rem 0 0; padding-left: 1.15rem; }
#tf-dns-page .tf-dns-steps li { font-size: 0.82rem; color: #475569; margin-bottom: 0.3rem; }
#tf-dns-page .tf-dns-steps li b { color: #0f172a; }
/* The app names are download links, so they take an ink that reads on the white
   step card instead of the page theme's own link colour. */
#tf-dns-page .tf-dns-steps li a { color: #4f46e5; font-weight: 600; text-decoration: underline; }
/* A drawn map of the Intra app's own screens. The rows are the labels the app
   really shows, so a member can match them on the phone; the row to tap is the
   only one in colour. */
#tf-dns-page .tf-dns-intra { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 0; }
#tf-dns-page .tf-dns-vs {
  flex: 1 1 8.5rem;
  min-width: 8rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.45rem 0.5rem 0.5rem;
}
#tf-dns-page .tf-dns-vs-cap {
  margin: 0 0 0.35rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
#tf-dns-page .tf-dns-vs-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.35rem;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  color: #64748b;
}
#tf-dns-page .tf-dns-vs-row.is-tap {
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px #c7d2fe;
}
#tf-dns-page .tf-dns-vs-row.is-tap::after {
  content: "Tap";
  margin-left: auto;
  padding: 0.1rem 0.32rem;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tf-dns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}
.tf-dns-stat {
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  background: #ffffff;
  padding: 0.85rem 0.9rem;
}
.tf-dns-stat b {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.tf-dns-stat span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* ---------- status chips ---------- */
.tf-dns-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tf-dns-pill.st-active { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.tf-dns-pill.st-expired { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.tf-dns-pill.st-cancelled { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.tf-dns-pill.st-none { background: #f1f5f9; border-color: #e2e8f0; color: #475569; }

/* ---------- buttons ---------- */
.tf-dns-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  border-radius: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.tf-dns-btn:hover { background: #f8fafc; border-color: #94a3b8; }
.tf-dns-btn.is-primary { border-color: #4f46e5; background: #4f46e5; color: #ffffff; }
.tf-dns-btn.is-primary:hover { background: #4338ca; border-color: #4338ca; }
.tf-dns-btn.is-warn { border-color: #fecdd3; background: #fff1f2; color: #be123c; }
.tf-dns-btn.is-warn:hover { background: #ffe4e6; border-color: #fda4af; }
.tf-dns-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.tf-dns-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }

/* ---------- narrow screens: the rail lies down as a strip ---------- */
@media (max-width: 860px) {
  #tf-dns-page.is-open {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "top"
      "rail"
      "body";
  }
  #tf-dns-page > .tf-dns-tabs {
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.8rem;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }
  #tf-dns-page .tf-dns-tab { white-space: nowrap; text-align: center; }
  #tf-dns-page .tf-dns-tab.tf-dns-tab-admin {
    margin-top: 0;
    padding-top: 0.5rem;
    border-top: 0;
  }
  #tf-dns-page .tf-dns-body { padding: 1rem 0.9rem 1.6rem; }
}
/* Forms, plan cards, tables, the toast, and the two dialogs — the office
   console's furniture. Same class names as before; only the dress changes. */

.tf-dns-field { display: block; margin: 0.6rem 0; }
.tf-dns-field span { display: block; font-size: 0.74rem; font-weight: 600; color: #475569; margin-bottom: 0.3rem; }
.tf-dns-field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #0f172a;
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  font-family: inherit;
}
.tf-dns-field input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}
.tf-dns-code {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  word-break: break-all;
  color: #334155;
}
.tf-dns-code b { flex: 1; font-weight: 600; }

.tf-dns-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.85rem; }
.tf-dns-plan {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.tf-dns-plan.is-on { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12); }
.tf-dns-plan h4 { margin: 0; font-size: 0.98rem; font-weight: 700; color: #0f172a; }
.tf-dns-price { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: #0f172a; margin: 0.3rem 0 0; }
.tf-dns-price small { font-size: 0.72rem; font-weight: 600; color: #64748b; }
.tf-dns-plan ul { margin: 0.7rem 0; padding-left: 1.05rem; }
.tf-dns-plan li { font-size: 0.78rem; color: #475569; margin-bottom: 0.3rem; }
.tf-dns-plan .tf-dns-btn { margin-top: auto; }

.tf-dns-note {
  border-left: 3px solid #6366f1;
  padding: 0.6rem 0.75rem;
  border-radius: 0.4rem;
  background: #eef2ff;
  font-size: 0.78rem;
  color: #3730a3;
}
.tf-dns-flag-good { color: #047857; }
.tf-dns-flag-bad { color: #be123c; }

.tf-dns-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.tf-dns-table th, .tf-dns-table td {
  text-align: left;
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid #eef2f7;
}
.tf-dns-table th { color: #64748b; font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tf-dns-table td { color: #0f172a; }
.tf-dns-table tr:last-child td { border-bottom: 0; }

.tf-dns-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2147483647;
  max-width: 88vw;
  padding: 11px 16px;
  border-radius: 0.5rem;
  color: #ffffff;
  pointer-events: none;
  font: 600 13px/1.35 system-ui, -apple-system, Segoe UI, sans-serif;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.24);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.tf-dns-toast.is-bad { background: #be123c; }
.tf-dns-toast.is-good { background: #047857; }

.tf-dns-back {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}
.tf-dns-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.tf-dns-modal[hidden] { display: none !important; }
.tf-dns-modal .tf-dns-modal-card {
  position: relative;
  width: min(24rem, 100%);
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.15rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

/* The shared yes/no — same frame as the password gate, dressed a little
   richer so it reads as a decision rather than a form. */
.tf-dns-confirm .tf-dns-back {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.tf-dns-confirm .tf-dns-modal-card {
  width: min(26rem, 100%);
  border-color: #e2e8f0;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
  animation: tf-cf-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes tf-cf-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.tf-cf-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.7rem;
  border-radius: 0.6rem;
  color: #ffffff;
  background: #4f46e5;
}
.tf-cf-ico svg { display: block; width: 1.25rem; height: 1.25rem; }
.tf-dns-confirm.is-warn .tf-cf-ico { color: #ffffff; background: #be123c; }
.tf-dns-confirm h3 { margin: 0 0 0.35rem; font-size: 1rem; letter-spacing: -0.01em; color: #0f172a; }
.tf-dns-confirm p { margin: 0; line-height: 1.5; color: #475569; }
.tf-dns-confirm .tf-dns-actions { margin-top: 0.9rem; }
.tf-dns-confirm .tf-dns-btn { flex: 1 1 auto; justify-content: center; }
/* The DNS Shield ad blocker nav entry takes its look from the other nav links (the shard
   copies the class of an existing one); this only marks the active state. */
[data-tf-dns-open].tf-dns-nav-on { color: #4f46e5 !important; }
/* The DNS Shield ad blocker activity list: one row per blocked host, newest first. The
   rows are built to be scanned at a glance, so the hostname carries the
   weight and the time sits quietly to its right. */
.tf-dns-log {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 24rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tf-dns-log-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #eef2f7;
  border-radius: 0.5rem;
  background: #ffffff;
}
.tf-dns-log-row:hover { border-color: #c7d2fe; background: #fafbff; }
.tf-dns-log-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 2px;
  background: #e11d48;
}
.tf-dns-log-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tf-dns-log-main b {
  font-size: 0.82rem;
  line-height: 1.3;
  color: #0f172a;
  word-break: break-all;
}
.tf-dns-log-meta {
  margin-top: 0.1rem;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.tf-dns-log-when {
  flex: 0 0 auto;
  font-size: 0.7rem;
  color: #64748b;
  white-space: nowrap;
}
.tf-dns-log-count {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.02rem 0.4rem;
  border-radius: 0.3rem;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.66rem;
  font-weight: 700;
  vertical-align: middle;
}
.tf-dns-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}
.tf-dns-cat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
  background: #f8fafc;
  font-size: 0.7rem;
  color: #64748b;
}
.tf-dns-cat b { font-size: 0.76rem; color: #0f172a; }
.tf-dns-log-tally {
  align-self: center;
  margin-left: auto;
  font-size: 0.72rem;
  color: #64748b;
}
.tf-dns-log-tally b { font-size: 0.78rem; color: #0f172a; }

/* The plan-versus-payouts notice. A held plan can sit under the total a member
   has already had verified, so this card carries the amber weight of a thing
   that needs doing rather than the quiet slate of the cards around it. */
.tf-dns-card.is-gap {
  border-color: #fde68a;
  background: #fffbeb;
}
.tf-dns-card.is-gap .tf-dns-kicker { color: #b45309; }
.tf-dns-card.is-gap h3 { color: #92400e; }

/* ==========================================================================
   Surfaces the scripts dress themselves

   The guide, the request dialog and the plan-gap notice each write their own
   <style> into the head at runtime, so their rules always land after this
   sheet. A selector of the same weight would lose that tie, so every rule
   below is anchored to `html` to outrank them on specificity. The two spots
   that carry their colour inline — the password dialog's heading and the
   "not open yet" line — are the only places that need `!important`.
   ========================================================================== */

/* The password gate's heading is written inline, so only `!important` reaches it. */
#tf-dns-modal-t { color: #0f172a !important; }
/* ...and the "DNS Shield ad blocker is not open for new subscriptions yet" line. */
#tf-dns-page p.tf-dns-muted[style*="fde68a"] { color: #b45309 !important; }

/* ---------- the guide ---------- */
html #tf-dnsguide {
  background: #f5f7fa;
  color: #0f172a;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html #tf-dnsguide .tf-dg-mark {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}
html #tf-dnsguide .tf-dg-brand b {
  font: 700 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0f172a;
}
html #tf-dnsguide .tf-dg-brand span { color: #64748b; }
html #tf-dnsguide .tf-dg-x {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
}
html #tf-dnsguide .tf-dg-x:hover { color: #0f172a; border-color: #94a3b8; }
html #tf-dnsguide .tf-dg-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
html #tf-dnsguide .tf-dg-hero {
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
html #tf-dnsguide .tf-dg-k { color: #6366f1; }
html #tf-dnsguide h1 {
  font: 700 22px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  color: #0f172a;
}
html #tf-dnsguide h2 {
  font: 700 16px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0f172a;
}
html #tf-dnsguide h3 { color: #0f172a; }
html #tf-dnsguide p { color: #475569; }
html #tf-dnsguide .tf-dg-lead { color: #334155; }
html #tf-dnsguide .tf-dg-muted { color: #64748b; }
html #tf-dnsguide .tf-dg-amt {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
html #tf-dnsguide .tf-dg-amt b {
  font: 800 20px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #92400e;
}
html #tf-dnsguide .tf-dg-amt span { color: #b45309; }
html #tf-dnsguide .tf-dg-step {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
html #tf-dnsguide .tf-dg-step i { background: #e2e8f0; color: #475569; }
html #tf-dnsguide .tf-dg-step b { color: #0f172a; }
html #tf-dnsguide .tf-dg-step span { color: #64748b; }
html #tf-dnsguide .tf-dg-step.is-done {
  border-color: #a7f3d0;
  background: #ecfdf5;
}
html #tf-dnsguide .tf-dg-step.is-done i { background: #047857; color: #ffffff; }
html #tf-dnsguide .tf-dg-step.is-now {
  border-color: #c7d2fe;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
html #tf-dnsguide .tf-dg-why li { color: #475569; }
html #tf-dnsguide .tf-dg-why li:before {
  background: #fff1f2;
  border: 1px solid #fecdd3;
}
html #tf-dnsguide .tf-dg-why li:after { background: #e11d48; }
html #tf-dnsguide .tf-dg-bl {
  color: #334155;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
}
html #tf-dnsguide .tf-dg-bl b { color: #0f172a; }
html #tf-dnsguide .tf-dg-fact {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
html #tf-dnsguide .tf-dg-fact span { color: #64748b; }
html #tf-dnsguide .tf-dg-fact b { color: #0f172a; }
html #tf-dnsguide .tf-dg-rule {
  color: #334155;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
html #tf-dnsguide .tf-dg-rule b { color: #047857; }
html #tf-dnsguide .tf-dg-os button {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
}
html #tf-dnsguide .tf-dg-os button:hover { color: #0f172a; border-color: #94a3b8; }
html #tf-dnsguide .tf-dg-os button.is-on {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}
html #tf-dnsguide .tf-dg-locked {
  border: 1px dashed #c7d2fe;
  background: #eef2ff;
}
html #tf-dnsguide .tf-dg-foot {
  background: linear-gradient(180deg, rgba(245, 247, 250, 0), #f5f7fa 34%);
  border-top: 1px solid #e2e8f0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html #tf-dnsguide .tf-dg-btn.is-primary {
  color: #ffffff;
  background: #4f46e5;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.28);
}
html #tf-dnsguide .tf-dg-btn.is-primary:hover { box-shadow: 0 14px 32px rgba(79, 70, 229, 0.34); }
html #tf-dnsguide .tf-dg-btn.is-ghost {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
}
html #tf-dnsguide .tf-dg-btn.is-ghost:hover { color: #0f172a; border-color: #94a3b8; }
html #tf-dnsguide .tf-dg-note { color: #64748b; }

/* ---------- the request dialog ---------- */
html #tf-dnsreq { background: rgba(15, 23, 42, 0.42); }
html #tf-dnsreq .tf-dnsreq-card {
  border-radius: 0.9rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}
html #tf-dnsreq .tf-dnsreq-badge {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  box-shadow: none;
  color: #4f46e5;
}
html #tf-dnsreq .tf-dnsreq-k { color: #6366f1; }
html #tf-dnsreq h3 { color: #0f172a; }
html #tf-dnsreq p { color: #475569; }
html #tf-dnsreq .tf-dnsreq-amt { color: #b45309; }
html #tf-dnsreq .tf-dnsreq-fact {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
html #tf-dnsreq .tf-dnsreq-fact span { color: #64748b; }
html #tf-dnsreq .tf-dnsreq-fact b { color: #0f172a; }
html #tf-dnsreq .tf-dnsreq-rule {
  color: #334155;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
html #tf-dnsreq .tf-dnsreq-sub { color: #64748b; }
html #tf-dnsreq .tf-dnsreq-go {
  color: #ffffff;
  background: #4f46e5;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.28);
}
html #tf-dnsreq .tf-dnsreq-go:hover { box-shadow: 0 14px 32px rgba(79, 70, 229, 0.34); }
html #tf-dnsreq .tf-dnsreq-no {
  color: #475569;
  border: 1px solid #cbd5e1;
}
html #tf-dnsreq .tf-dnsreq-no:hover { color: #0f172a; border-color: #94a3b8; }

/* ---------- the plan-gap notice ---------- */
html #tf-dnsgap { background: rgba(15, 23, 42, 0.42); }
html #tf-dnsgap .tf-dnsgap-card {
  border-radius: 0.9rem;
  background: #ffffff;
  border: 1px solid #fde68a;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}
html #tf-dnsgap .tf-dnsgap-badge {
  background: #fffbeb;
  border: 1px solid #fde68a;
  box-shadow: none;
  color: #b45309;
}
html #tf-dnsgap .tf-dnsgap-k { color: #b45309; }
html #tf-dnsgap h3 { color: #0f172a; }
html #tf-dnsgap p { color: #475569; }
html #tf-dnsgap .tf-dnsgap-fact {
  border: 1px solid #fde68a;
  background: #fffbeb;
}
html #tf-dnsgap .tf-dnsgap-fact span { color: #b45309; }
html #tf-dnsgap .tf-dnsgap-fact b { color: #0f172a; }
html #tf-dnsgap .tf-dnsgap-rule {
  color: #78350f;
  background: #fffbeb;
  border: 1px solid #fde68a;
}
html #tf-dnsgap .tf-dnsgap-rule b { color: #92400e; }
html #tf-dnsgap .tf-dnsgap-go {
  color: #ffffff;
  background: #b45309;
  box-shadow: 0 10px 26px rgba(180, 83, 9, 0.28);
}
html #tf-dnsgap .tf-dnsgap-go:hover { box-shadow: 0 14px 32px rgba(180, 83, 9, 0.34); }
html #tf-dnsgap .tf-dnsgap-see {
  color: #b45309;
  border: 1px solid #fde68a;
}
html #tf-dnsgap .tf-dnsgap-see:hover { color: #92400e; border-color: #fcd34d; }
html #tf-dnsgap .tf-dnsgap-no {
  color: #475569;
  border: 1px solid #cbd5e1;
}
html #tf-dnsgap .tf-dnsgap-no:hover { color: #0f172a; border-color: #94a3b8; }
