/* Hack Tracking: "calm" theme (preview). Loaded after style.css only when the site is built with HT_THEME=calm.
   Regular-person theme: tinted page, navy header and footer, white cards, one strong blue accent.
   No neon, glows, cubes or gradients-everywhere. Layout and features are unchanged. */
html.theme-calm{
  --deep:#eef2f7;--navy:#0a1f3d;--blue:#0c5ebd;--cyan:#0c5ebd;--ice:#3a4658;
  --text:#121820;--muted:#3a4658;--line:#c5d0de;--glass:#fff;--glass2:#fff;--accent:#0c5ebd;
  --crit:#8a1c1c;--high:#8a4b00;--med:#6b5a00;--low:#0c5ebd;
  --display:var(--ui);--soft:#e8eef6;--accent-ink:#084890;
  --btn-fg:#0c5ebd;--btn-bg:#fff;--btn-line:#0c5ebd;--btn-icon:#0c5ebd;--btn-hover:#084890;
  --ok:#0c6b32;--claim:#a67c00;--warn:#c05612;--out:#1e4f7a;
  background:#eef2f7;color-scheme:light;
}
.theme-calm body{background:#eef2f7;color:var(--text);font:18px/1.65 var(--ui)}
.theme-calm body::before,.theme-calm body::after{content:none;display:none}

/* remove decoration */
.theme-calm .sky,.theme-calm .cube,.theme-calm .conf,.theme-calm .rays,.theme-calm .net,.theme-calm .card-cube,
.theme-calm .top5-hero,.theme-calm .top5-hero-join,.theme-calm .top5-board-wrap,.theme-calm .top5-wave,
.theme-calm .meter,.theme-calm .top5-threat,.theme-calm .top5-threat-bars,.theme-calm .dot,
.theme-calm .card-teaser .badge[class*="sev-"],.theme-calm .t5-tags .badge[class*="sev-"],.theme-calm .card-body .badge[class*="sev-"],
.theme-calm .card-body .badge.unconf,.theme-calm .card .tile::before,.theme-calm .tiles.versus::after{display:none !important}
.theme-calm *{animation:none !important;text-shadow:none !important}
.theme-calm .hero{padding:20px 0 8px;overflow:visible;isolation:auto}

/* text colour: one rule, then exceptions below */
.theme-calm body :is(h1,h2,h3,h4,p,li,dt,dd,span,div,b,strong,em,small,summary,label,time,td,th,blockquote,figcaption){color:var(--text) !important}
.theme-calm a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.theme-calm a:hover{color:var(--accent-ink)}
.theme-calm .guide-main a,.theme-calm .affected-steps a,.theme-calm .foot-links a,.theme-calm .sources a,.theme-calm .hero-search-hint a,
.theme-calm .affected-link,.theme-calm .t5-open,.theme-calm .archive-name,.theme-calm .t5-link{color:var(--accent) !important}
.theme-calm :focus-visible{outline:3px solid #1a73c8 !important;outline-offset:2px}
.theme-calm .muted,.theme-calm .entry-label,.theme-calm .related-meta,.theme-calm .entry-kind,.theme-calm .entry-org,.theme-calm .foot-note,
.theme-calm .archive-count,.theme-calm .t5-place,.theme-calm .search-count,.theme-calm .filter-status,.theme-calm .affected-lbl,
.theme-calm .affected-row dt,.theme-calm .lbl,.theme-calm .stat em,.theme-calm .hero-value-x,.theme-calm .crumbs,.theme-calm .crumbs li,
.theme-calm .card-taken,.theme-calm .result-meta,.theme-calm .result-taken,.theme-calm .top5-updated,.theme-calm .top5-stay-line{color:var(--muted) !important}
.theme-calm .card-taken b,.theme-calm .result-taken b{color:var(--text) !important}
.theme-calm .crumbs a{color:var(--accent) !important;text-decoration:none}

/* headings: sentence case, system font */
.theme-calm h1,.theme-calm h2,.theme-calm h3,.theme-calm h4,.theme-calm .card h1.entry-title,.theme-calm .card h3,.theme-calm .card-teaser h2,
.theme-calm .hero-h1,.theme-calm .why-title,.theme-calm .t5-name,.theme-calm .top5-main h1,.theme-calm .month-main h1,.theme-calm .whatis-main h1,
.theme-calm .notfound h1,.theme-calm .related h2,.theme-calm .affected h2,.theme-calm .updates h2,.theme-calm .comments-heading,.theme-calm .archive-year h2,
.theme-calm .affected-todo-title,.theme-calm .affected-sub,.theme-calm .home-guide h3,.theme-calm .whatis-main h3,.theme-calm .list-title,.theme-calm .about h3,
.theme-calm .definition h2{font-family:var(--ui);text-transform:none;letter-spacing:0;text-shadow:none;font-weight:700;color:var(--text) !important}
.theme-calm h1,.theme-calm .card h1.entry-title,.theme-calm .top5-main h1,.theme-calm .month-main h1,.theme-calm .whatis-main h1,.theme-calm .notfound h1{font-size:clamp(28px,4.4vw,40px);line-height:1.18;margin:12px 0 10px}
.theme-calm h2,.theme-calm .affected h2,.theme-calm .updates h2,.theme-calm .related h2,.theme-calm .why-title{font-size:clamp(22px,3vw,28px);line-height:1.25}
.theme-calm h3,.theme-calm .card h3,.theme-calm .card-teaser h2,.theme-calm .home-guide h3,.theme-calm .affected-todo-title,.theme-calm .affected-sub{font-size:20px;line-height:1.3}
.theme-calm .card-teaser h2{margin:0 0 6px}
.theme-calm .hero-h1{font-size:clamp(26px,4.4vw,38px)}
.theme-calm .guide-main .guide-lead,.theme-calm .guide-lead{font-size:19px;line-height:1.6;color:var(--text) !important}
.theme-calm .affected h2 .i,.theme-calm .updates h2 .i,.theme-calm .lbl .i,.theme-calm .badge .i{color:var(--accent)}

/* wordmark */
.theme-calm .site-logo{display:inline-block;width:auto;max-width:100%;line-height:1.2;text-decoration:none;color:#12355b}
.theme-calm .site-logo.wordmark{font:800 clamp(26px,5vw,34px)/1.1 var(--ui);letter-spacing:-.2px;color:#12355b;padding:6px 0 6px 12px;border-left:5px solid var(--accent)}
.theme-calm .hero .site-logo,.theme-calm .entry-top .site-logo{width:auto;max-width:100%}
.theme-calm .brand-logo{margin:6px 0 8px}

/* header chips */
.theme-calm .whatis-chip,.theme-calm .header-banner{background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--accent);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-transform:none;letter-spacing:0;font:600 15px/1.2 var(--ui)}
.theme-calm .whatis-chip{color:var(--accent) !important;text-decoration:none}
.theme-calm .whatis-chip:hover,.theme-calm .header-banner:hover{border-color:var(--accent);box-shadow:none;background:#f4f8fc}
.theme-calm .header-banner .header-banner-label{background:#e8eef6;border-radius:4px;text-transform:none;letter-spacing:0;font:700 12px/1 var(--ui);color:#12355b !important;border:0}
.theme-calm .header-banner .header-banner-title{text-transform:none;letter-spacing:0;font:600 15px/1.2 var(--ui);color:var(--text) !important}
.theme-calm .header-banner.is-top5{background:#fff;border-color:var(--line)}
.theme-calm .header-banner.is-top5 .header-banner-label{background:#e8eef6}

/* search and form fields */
.theme-calm .hero-search-field,.theme-calm .guide-search input,.theme-calm .controls input,.theme-calm .controls select,
.theme-calm .county-filter select,.theme-calm .state-form select{background:#fff;color:var(--text);border:1.5px solid #8a9bb0;border-radius:6px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.theme-calm .hero-search-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(11,83,148,.2)}
.theme-calm .hero-search input,.theme-calm .guide-search input,.theme-calm .controls input{color:var(--text);background:transparent;font-size:17px}
.theme-calm .hero-search input::placeholder,.theme-calm .controls input::placeholder,.theme-calm .guide-search input::placeholder{color:#66768a}
.theme-calm .hero-search-ico{color:var(--accent)}
.theme-calm .controls select option,.theme-calm .state-form select option{background:#fff;color:var(--text)}
.theme-calm .search-clear{background:#eef2f6;color:var(--text);border:0}
.theme-calm .search-panel{background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:none}
.theme-calm .result-link{background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--text);text-decoration:none}
.theme-calm .result-link:hover,.theme-calm .result-link:focus-visible{background:#f4f8fc;border-color:var(--accent)}
.theme-calm .result-name{color:var(--accent) !important;font-weight:700;text-decoration:underline}

/* buttons */
.theme-calm .pill{border-radius:6px;text-transform:none;letter-spacing:0;font:600 17px/1 var(--ui);box-shadow:none;transform:none;border:1px solid var(--accent);min-height:46px;padding:0 20px}
.theme-calm .pill:hover,.theme-calm .pill:focus-visible{transform:none;box-shadow:none}
.theme-calm .pill-solid,.theme-calm .pill-alert{background:var(--accent);color:#fff !important;border-color:var(--accent);text-decoration:none}
.theme-calm .pill-solid:hover,.theme-calm .pill-alert:hover{background:var(--accent-ink)}
.theme-calm .pill-ghost{background:#fff;color:var(--accent) !important;border:1px solid var(--accent);-webkit-backdrop-filter:none;backdrop-filter:none;text-decoration:none}
.theme-calm .pill-ghost:hover{background:#f4f8fc}
.theme-calm .cta-alert{justify-content:flex-start}
.theme-calm .segmented{background:#fff;border:1px solid var(--line);border-radius:6px}
.theme-calm .seg-btn,.theme-calm .region-btn,.theme-calm .tab{border-radius:4px;color:var(--accent);font:600 15px/1 var(--ui);text-transform:none;letter-spacing:0}
.theme-calm .seg-btn.is-active,.theme-calm .region-btn.is-active,.theme-calm .tab.is-active,.theme-calm .tab.active{background:var(--accent);color:#fff !important}
.theme-calm .chip,.theme-calm .year-jump a{background:#fff;color:var(--accent);border:1px solid #8a9bb0;border-radius:6px;font:600 15px/1 var(--ui);text-decoration:none}
.theme-calm .chip.is-on{background:var(--accent);color:#fff;border-color:var(--accent)}
.theme-calm .year-jump a{color:var(--accent) !important}
.theme-calm .pager-btn{background:#fff;color:var(--accent);border:1px solid var(--accent);border-radius:6px;box-shadow:none}
.theme-calm .count{background:#e8eef6;color:var(--text) !important}

/* cards */
.theme-calm .card{background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:none;transition:none;color:var(--text)}
.theme-calm .card:hover{transform:none;box-shadow:none;border-color:#9fb0c3}
.theme-calm .card.top{box-shadow:none}
.theme-calm .card.top::before,.theme-calm .card.top::after,.theme-calm .card-head::after{display:none}
.theme-calm .card-head{background:none;border-bottom:1px solid #e4e9f0;padding:16px 18px 12px}
.theme-calm .card-teaser .card-head{border-bottom:0;padding:16px 18px 6px}
.theme-calm .card-teaser:hover .card-teaser-link,.theme-calm .card-teaser:focus-within .card-teaser-link{background:#f7f9fc}
.theme-calm .card-teaser .teaser,.theme-calm .card p,.theme-calm .summary{color:var(--text) !important;font-size:17px;line-height:1.6}
.theme-calm .card-teaser .teaser{padding:0 18px 8px}
.theme-calm .card-taken{padding:0 18px 16px;font-size:15px;margin:0}
.theme-calm .rank,.theme-calm .t5-rank{clip-path:none;border-radius:50%;width:40px;height:40px;background:var(--accent);color:#fff !important;filter:none;font:700 20px/1 var(--ui);box-shadow:none}
.theme-calm .rank small{display:none}
.theme-calm .date,.theme-calm .fresh{background:transparent;border:0;box-shadow:none;padding:0;border-radius:0;color:var(--muted) !important;font:500 14px/1.3 var(--ui);letter-spacing:0;text-transform:none}
.theme-calm .fresh{color:#0f5a2e !important}
.theme-calm .date .i,.theme-calm .fresh .i{color:var(--muted)}
.theme-calm .card-teaser .dates,.theme-calm .card-teaser .dates-row{align-items:flex-start}
.theme-calm .stat{background:#f4f6f9;border-left:4px solid var(--accent);border-radius:0}
.theme-calm .stat b{color:var(--text) !important}

/* labels: one status label per card, plain */
.theme-calm .badge{font:700 13px/1 var(--ui);letter-spacing:0;text-transform:none;border-radius:4px;padding:6px 9px;box-shadow:none;border:1px solid var(--line);background:#f4f6f9;color:var(--text)}
.theme-calm .badge.kind{text-transform:none;letter-spacing:0;font-size:13px;font-weight:700}
.theme-calm .badge.k-confirmed{background:#e3f1e7;border-color:#8dc19d;color:#14532d !important}
.theme-calm .badge.k-claimed{background:#fdf0cc;border-color:#d9b44a;color:#5c3f00 !important}
.theme-calm .badge.k-reported{background:#eceff3;border-color:#aab6c4;color:#2f3d4f !important}
.theme-calm .badge.k-outage{background:#e2edfb;border-color:#8fb2e0;color:#103a73 !important}
.theme-calm .badge.loc,.theme-calm .badge.sector,.theme-calm .country-chip{background:transparent;border:0;padding:6px 0;color:var(--muted) !important;font-weight:500;font-size:15px;text-decoration:none;text-transform:none;letter-spacing:0}
.theme-calm .badge.loc{color:var(--accent) !important;text-decoration:underline}
.theme-calm .badge.sector .i{color:var(--muted)}
.theme-calm .badge.t5-badge{background:#f4f6f9;color:var(--text) !important;text-transform:none;letter-spacing:0;border:1px solid var(--line)}
.theme-calm .affected-badge{background:#f4f6f9;border:1px solid var(--line);color:var(--text) !important;border-radius:4px}
.theme-calm .affected-badge.is-confirmed{background:#e3f1e7;border-color:#8dc19d;color:#14532d !important}
.theme-calm .affected-badge.is-claim{background:#fdf0cc;border-color:#d9b44a;color:#5c3f00 !important}
.theme-calm .affected-badge.is-unconfirmed{background:#eceff3;border-color:#aab6c4;color:#2f3d4f !important}
.theme-calm .badge-legend summary{color:var(--accent) !important}
.theme-calm .badge-legend ul,.theme-calm .guide-main .badge-legend ul{background:#f4f6f9;border:1px solid var(--line);border-radius:6px}
.theme-calm .badge-legend li{color:var(--text) !important}

/* entry page blocks */
.theme-calm .updates,.theme-calm .affected,.theme-calm .tile,.theme-calm .related,.theme-calm .definition,.theme-calm .about,.theme-calm .top5-promo,
.theme-calm .why-strip,.theme-calm .state-picker,.theme-calm .state-todo,.theme-calm .todo-block,.theme-calm .more-steps,.theme-calm .disclaimer,.theme-calm .top5-how,
.theme-calm .guide-main details,.theme-calm .affected-note,.theme-calm .top5-specnote{background:#f7f9fb;border:1px solid var(--line);border-radius:6px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--text)}
.theme-calm .affected{background:#fff;border:1px solid #9fb0c3;border-left:5px solid var(--accent)}
.theme-calm .affected-todo{border-top:1px solid var(--line)}
.theme-calm .affected-note{background:#fdf6df;border-color:#e2cd8b}
.theme-calm .more-steps summary,.theme-calm .top5-how summary,.theme-calm .guide-main summary{color:var(--accent) !important;font-weight:700}
.theme-calm .affected-link,.theme-calm .sources a{background:#fff;border:1px solid var(--accent);border-radius:6px;color:var(--accent) !important;text-decoration:none;box-shadow:none;font-size:15px}
.theme-calm .affected-link:hover,.theme-calm .affected-link:focus-visible,.theme-calm .sources a:hover,.theme-calm .sources a:focus-visible{background:var(--accent);color:#fff !important;box-shadow:none}
.theme-calm .update-item::before,.theme-calm .update-item.status-claim::before{background:var(--accent);box-shadow:none}
.theme-calm .update-flag{background:#eceff3;border:1px solid var(--line);border-radius:4px;color:var(--text) !important;box-shadow:none}
.theme-calm .status-confirmed .update-flag{background:#e3f1e7;color:#14532d !important}
.theme-calm .status-claim .update-flag{background:#fdf0cc;color:#5c3f00 !important}
.theme-calm .update-list{border-color:var(--line)}
.theme-calm .tile{padding:14px 16px}
.theme-calm .tiles{padding:14px 18px 0}
.theme-calm .srcwrap{padding:14px 18px 0}

/* entry nav, comments */
.theme-calm .entry-nav-btn{background:#fff;color:var(--accent);border:1px solid var(--accent);border-radius:6px;box-shadow:none;text-transform:none;letter-spacing:0;font:600 16px/1.1 var(--ui);transform:none;filter:none}
.theme-calm .entry-nav-btn:hover{background:#f4f8fc}
.theme-calm .entry-nav-home{background:var(--accent);color:#fff;border-color:var(--accent)}
.theme-calm .entry-nav-btn .entry-nav-label{color:inherit !important}
.theme-calm .comments-open{border-radius:6px;box-shadow:none;font:600 16px/1 var(--ui)}
.theme-calm .comments-open .comments-open-label{color:var(--accent) !important}
.theme-calm .comments-slot .comments-panel{border-radius:6px}

/* lists, tables, footer */
.theme-calm .archive-list li,.theme-calm .why-list li,.theme-calm .t5-card{background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:none}
.theme-calm .archive-year>summary{background:#f4f6f9;border:1px solid var(--line);border-radius:6px}
.theme-calm .archive-year>summary::after{color:var(--accent)}
.theme-calm .archive-year>summary h2{font-size:22px;color:var(--text) !important}
.theme-calm .archive-more summary{background:#fff;color:var(--accent) !important;border:1px solid var(--accent);border-radius:6px}
.theme-calm .t5-card:hover{border-color:var(--accent)}
.theme-calm .state-grid a{background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--text);box-shadow:none;text-decoration:none}
.theme-calm .state-grid a:hover,.theme-calm .state-grid a[aria-current]{background:#eaf2fa;border-color:var(--accent)}
.theme-calm .state-grid .st-name{color:var(--text) !important}
.theme-calm .state-grid .st-count{background:#e8eef6;color:var(--text) !important;border:0}
.theme-calm .foot-links a{text-decoration:none;font-weight:600}
.theme-calm .foot-links a:hover{text-decoration:underline}
.theme-calm .skip{background:#fff;color:var(--accent)}
.theme-calm hr{border-color:var(--line)}
.theme-calm .guide-main li,.theme-calm .guide-main p{color:var(--text)}
.theme-calm .guide-main ol,.theme-calm .guide-main ul{line-height:1.6}
.theme-calm .entry-main .affected-step,.theme-calm .entry-main .tile p{color:var(--text)}

.theme-calm .brand h1{font-size:0;line-height:0;margin:0}
.theme-calm .hero-value{font-size:18px;line-height:1.55;color:var(--text) !important;margin:6px 0 4px}
.theme-calm .card-teaser-link,.theme-calm .card-teaser-link:hover,.theme-calm .card-teaser-link *{text-decoration:none}
.theme-calm .card-teaser-link:hover h2{text-decoration:underline;text-underline-offset:3px}
.theme-calm .card-teaser .teaser{color:var(--text) !important}
.theme-calm .badge.sector,.theme-calm .badge.loc,.theme-calm .country-chip,.theme-calm .badge{font-family:var(--ui)}
.theme-calm .lbl,.theme-calm .affected-lbl,.theme-calm .affected-row dt,.theme-calm .stat em,.theme-calm .affected-sub,.theme-calm .srcwrap .lbl,.theme-calm .meter-lbl,.theme-calm .kicker{text-transform:none;letter-spacing:0;font:600 15px/1.4 var(--ui);color:var(--muted) !important}
.theme-calm .affected-sub{color:var(--text) !important;font-size:18px}
.theme-calm .card h3 a.entry-link{color:var(--text)}
.theme-calm .top5-updated,.theme-calm .top5-stay-line,.theme-calm .top5-updated *{text-transform:none;letter-spacing:0;font:500 15px/1.4 var(--ui)}
.theme-calm .header-banner,.theme-calm .header-banner:hover,.theme-calm .header-banner *{text-decoration:none}
.theme-calm .top5-main h1{text-align:left}
.theme-calm .hero-search-hint,.theme-calm .badge-legend{font-size:15px}
.theme-calm .guide-main a.pill-solid,.theme-calm .guide-main a.pill-alert,.theme-calm .guide-main a.entry-nav-home,.theme-calm .guide-main a.entry-nav-home *{color:#fff !important;text-decoration:none}
.theme-calm .guide-main a.pill-ghost,.theme-calm .guide-main a.entry-nav-btn{text-decoration:none}


/* ===== v2: color and contrast (still no neon, glows, cubes or gradient washes) ===== */
.theme-calm header.hero,
.theme-calm header.entry-top,
.theme-calm footer.foot{position:relative;isolation:isolate;z-index:1}
.theme-calm header.hero{background:var(--navy);padding:22px 0 20px;color:#fff}
.theme-calm header.entry-top{background:transparent;padding-top:20px;padding-bottom:16px;color:#fff}
.theme-calm header.entry-top::before,
.theme-calm footer.foot::before{content:"";position:absolute;inset:0 -100vw;background:var(--navy);z-index:-1}

/* header: white type, inverted chips, white search */
.theme-calm .hero-h1,.theme-calm .hero .site-logo.wordmark,.theme-calm .entry-top .site-logo.wordmark{color:#fff !important}
.theme-calm .hero-value{color:#d5e0ef !important}
.theme-calm .site-logo.wordmark{border-left-color:#8ec4ff;color:#12355b}
.theme-calm .hero .site-logo.wordmark,.theme-calm .entry-top .site-logo.wordmark{border-left:5px solid #8ec4ff}
.theme-calm .hero .whatis-chip,.theme-calm .entry-top .whatis-chip,
.theme-calm .hero .header-banner,.theme-calm .entry-top .header-banner{
  background:transparent;border:1px solid rgba(255,255,255,.55);color:#fff !important}
.theme-calm .hero .whatis-chip:hover,.theme-calm .entry-top .whatis-chip:hover,
.theme-calm .hero .header-banner:hover,.theme-calm .entry-top .header-banner:hover{background:rgba(255,255,255,.1);border-color:#fff}
.theme-calm .hero .header-banner .header-banner-label,
.theme-calm .entry-top .header-banner .header-banner-label{background:#16325c;color:#fff !important;border:1px solid rgba(255,255,255,.25)}
.theme-calm .hero .header-banner .header-banner-title,
.theme-calm .entry-top .header-banner .header-banner-title{color:#fff !important}
.theme-calm .hero .header-banner.is-top5 .header-banner-label,
.theme-calm .entry-top .header-banner.is-top5 .header-banner-label{background:#16325c;color:#fff !important}
.theme-calm .hero-search-field{background:#fff;border-color:#fff}
.theme-calm .hero-search-hint{color:#d5e0ef !important}
.theme-calm .hero-search-hint a{color:#d7e8ff !important}
.theme-calm .hero-search-hint a:hover{color:#fff !important}
.theme-calm .hero .pill-alert{background:#e2a70e;color:#1a1400 !important;border-color:#c7920a}
.theme-calm .hero .pill-alert:hover,.theme-calm .hero .pill-alert:focus-visible{background:#c7920a;color:#1a1400 !important}
.theme-calm header :focus-visible{outline-color:#9ec9ff !important}

/* section headers use the stronger accent */
.theme-calm .guide-main h2,.theme-calm .home-guide h2,.theme-calm .home-guide h3,.theme-calm .why-title,
.theme-calm .related h2,.theme-calm .affected h2,.theme-calm .updates h2,.theme-calm .whatis-main h3,
.theme-calm .about h3,.theme-calm .list-title,.theme-calm .definition h2{color:var(--accent) !important}

/* white cards on the tinted page, status stripe */
.theme-calm .card,.theme-calm .t5-card,.theme-calm .archive-list li,.theme-calm .why-list li,
.theme-calm .why-strip,.theme-calm .state-picker,.theme-calm .state-todo,.theme-calm .related,
.theme-calm .tile,.theme-calm .home-guide details,.theme-calm .todo-block{background:#fff;border:1px solid #c5d0de}
.theme-calm .card{border-left:6px solid var(--accent)}
.theme-calm .card:has(.k-confirmed),.theme-calm .t5-card:has(.k-confirmed),.theme-calm .archive-list li:has(.k-confirmed){border-left:6px solid #0c6b32}
.theme-calm .card:has(.k-claimed),.theme-calm .t5-card:has(.k-claimed),.theme-calm .archive-list li:has(.k-claimed){border-left:6px solid #a67c00}
.theme-calm .card:has(.k-reported),.theme-calm .t5-card:has(.k-reported),.theme-calm .archive-list li:has(.k-reported){border-left:6px solid #c05612}
.theme-calm .card:has(.k-outage),.theme-calm .t5-card:has(.k-outage),.theme-calm .archive-list li:has(.k-outage){border-left:6px solid #1e4f7a}
.theme-calm .t5-card,.theme-calm .archive-list li{border-left-width:6px;border-left-style:solid;border-left-color:var(--accent)}

/* bolder saturated status labels (dark text for contrast) */
.theme-calm .badge.k-confirmed,.theme-calm .affected-badge.is-confirmed,.theme-calm .status-confirmed .update-flag{background:#8ee0a8;border-color:#0c6b32;color:#052814 !important}
.theme-calm .badge.k-claimed,.theme-calm .affected-badge.is-claim,.theme-calm .status-claim .update-flag{background:#f5c400;border-color:#8a6500;color:#2a1e00 !important}
.theme-calm .badge.k-reported,.theme-calm .affected-badge.is-unconfirmed{background:#f08a3a;border-color:#9a3d0a;color:#2a1400 !important}
.theme-calm .badge.k-outage{background:#7aa3c9;border-color:#1e4f7a;color:#0a2238 !important}

/* tinted callouts */
.theme-calm .affected{background:#dceaf8;border:1px solid #9bb8d6;border-left:6px solid var(--accent)}
.theme-calm .affected-todo{margin-top:14px;padding:14px 16px;background:#dff0e4;border:1px solid #9cc5a6;border-left:6px solid #0c6b32;border-radius:6px}
.theme-calm .affected-todo-title{color:#0c6b32 !important}
.theme-calm .affected h2{color:var(--accent) !important}

/* dark footer */
.theme-calm footer.foot{background:transparent;padding-top:22px;padding-bottom:22px;margin-top:36px}
.theme-calm .foot-links a{color:#fff !important;text-decoration:none}
.theme-calm .foot-links a:hover,.theme-calm .foot-links a:focus-visible{color:#d7e8ff !important;text-decoration:underline}
.theme-calm .foot-note,.theme-calm .foot-note time{color:#c5d0de !important}

/* v2 fixes: full-bleed bands, entry-card stripes, section headers vs card titles */
.theme-calm header.entry-top,
.theme-calm footer.foot{
  width:100vw;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding-left:max(18px, calc(50vw - 560px));
  padding-right:max(18px, calc(50vw - 560px));
  background:var(--navy);
  box-sizing:border-box;
}
.theme-calm header.entry-top::before,
.theme-calm footer.foot::before{content:none;display:none}

.theme-calm .card:has(.affected-badge.is-confirmed){border-left-color:#0c6b32}
.theme-calm .card:has(.affected-badge.is-claim){border-left-color:#a67c00}
.theme-calm .card:has(.affected-badge.is-unconfirmed){border-left-color:#c05612}

.theme-calm .guide-main h2{color:var(--text) !important}
.theme-calm .guide-main > h2,
.theme-calm .home-guide h2,
.theme-calm .home-guide h3,
.theme-calm .why-title,
.theme-calm .related > h2,
.theme-calm .affected > h2,
.theme-calm .updates > h2,
.theme-calm .whatis-main > h3,
.theme-calm .about > h3,
.theme-calm .list-title,
.theme-calm .definition > h2{color:var(--accent) !important}
.theme-calm .card-teaser h2,
.theme-calm .card-teaser-link h2,
.theme-calm .card h1.entry-title{color:var(--text) !important}
.theme-calm .affected-todo h2,
.theme-calm .affected-todo-title{color:#0c6b32 !important}
.theme-calm .t5-name,
.theme-calm .t5-link{color:var(--accent) !important}
.theme-calm h3.affected-todo-title,
.theme-calm .affected .affected-todo-title{color:#0c6b32 !important}
.theme-calm footer.foot :is(p,li,span,div,small,summary,label,time,h2,h3){color:#d5e0ef !important}
.theme-calm footer.foot a,
.theme-calm footer.foot .month-links a{color:#fff !important}
.theme-calm footer.foot a:hover,
.theme-calm footer.foot .month-links a:hover{color:#d7e8ff !important}

/* Official help box, slim homepage card */
.theme-calm .official-help{margin-top:14px;padding:14px 16px;background:#fff7e0;border:1px solid #e3c870;border-left:6px solid #b7791f;border-radius:6px;color:var(--text)}
.theme-calm .official-help .affected-sub{margin-top:0}
.theme-calm .oh-list a{font-weight:700}
.theme-calm .oh-note{color:#4a5568;font-size:15px}
.theme-calm .home-card{padding:18px 20px}
.theme-calm .home-steps li{font-size:17px;line-height:1.55}
.theme-calm .home-card-cta .pill{display:inline-flex}

/* Back link instead of a multi-level breadcrumb path */
.theme-calm .back-link{margin:4px 0 10px;font-size:15px;color:var(--muted)}
.theme-calm .back-link a{color:var(--accent) !important;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.theme-calm .back-link a:hover,.theme-calm .back-link a:focus-visible{text-decoration:underline}
.theme-calm nav.crumbs{display:none}

/* No colored status stripe on cards; the badge is enough */
.theme-calm .card,
.theme-calm .card:has(.k-confirmed),
.theme-calm .card:has(.k-claimed),
.theme-calm .card:has(.k-reported),
.theme-calm .card:has(.k-outage),
.theme-calm .card:has(.affected-badge.is-confirmed),
.theme-calm .card:has(.affected-badge.is-claim),
.theme-calm .card:has(.affected-badge.is-unconfirmed),
.theme-calm .t5-card,
.theme-calm .t5-card:has(.k-confirmed),
.theme-calm .t5-card:has(.k-claimed),
.theme-calm .t5-card:has(.k-reported),
.theme-calm .t5-card:has(.k-outage),
.theme-calm .archive-list li,
.theme-calm .archive-list li:has(.k-confirmed),
.theme-calm .archive-list li:has(.k-claimed),
.theme-calm .archive-list li:has(.k-reported),
.theme-calm .archive-list li:has(.k-outage){
  border-left:1px solid #c5d0de;
}

/* Was I hacked? self-check */
.theme-calm .sc-home-cta a{background:#f4f8fc;border:1px solid var(--accent);border-radius:8px;color:var(--text) !important;text-decoration:none}
.theme-calm .sc-home-cta a span{color:var(--text) !important}
.theme-calm .sc-home-cta a b{color:var(--accent) !important}
.theme-calm .sc-home-cta a:hover{background:#e8f0fa}
.theme-calm .sc-cta-line{background:#f4f8fc;border:1px solid var(--line);border-radius:8px}
.theme-calm .sc-main h1{font-size:clamp(30px,8vw,46px)}
.theme-calm .sc-card{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 1px 3px rgba(10,31,61,.08)}
.theme-calm .sc-privacy,.theme-calm .sc-count,.theme-calm .sc-why,.theme-calm .sc-note,.theme-calm .sc-copied{color:var(--muted) !important}
.theme-calm .sc-bar{background:#dde5ef}
.theme-calm .sc-bar span{background:var(--accent)}
.theme-calm .sc-question{color:var(--text) !important;font-size:21px}
.theme-calm .sc-ans{background:#fff;color:var(--accent);border:2px solid var(--accent);border-radius:8px}
.theme-calm .sc-ans:active{background:#e8f0fa}
.theme-calm .sc-ans[aria-pressed="true"]{background:var(--accent);color:#fff;border-color:var(--accent)}
@media (hover:hover){.theme-calm .sc-ans:hover{background:#f0f5fb}.theme-calm .sc-ans[aria-pressed="true"]:hover{background:var(--accent-ink)}}
.theme-calm .sc-back{color:var(--accent)}
.theme-calm .sc-result-title{color:var(--text) !important;font-size:24px;text-transform:none;letter-spacing:0}
.theme-calm .sc-tools .pill-ghost{border:1px solid var(--accent)}
.theme-calm .guide-main .sc-steps li b{color:var(--text) !important}
/* spam-call tools */
.theme-calm .ss-picker,.theme-calm .ps-first,.theme-calm .sn-site,.theme-calm .sn-todo,.theme-calm .sn-card,.theme-calm .sn-stats div,.theme-calm .sn-review{background:#fff;border:1px solid var(--line);box-shadow:0 1px 3px rgba(10,31,61,.08)}
.theme-calm .ss-pick select,.theme-calm .sn-field select,.theme-calm .sn-field input,.theme-calm .sn-field textarea{background:#fff;color:var(--text);border:1.5px solid #8a99ad}
.theme-calm .ss-toc a,.theme-calm .ps-jump,.theme-calm .sn-areas a{background:#fff;color:var(--accent);border-color:var(--accent)}
.theme-calm .sn-spoof{background:#fff7ed;border-left-color:var(--warn)}
.theme-calm .home-more a{background:#f4f8fc;color:var(--text)}
.theme-calm .home-more b{color:var(--accent)}
.theme-calm .sn-ok{color:var(--ok)}
.theme-calm .ps-first h2,.theme-calm .sn-todo h2,.theme-calm .sn-site h2,.theme-calm .sn-card h2{margin-top:0}
.theme-calm .home-guide ul.home-more,.home-guide ul.home-more{padding:0;margin:14px 0 0;list-style:none}.home-guide ul.home-more li{margin:0}.theme-calm .home-more a,.theme-calm .home-more a b,.theme-calm .home-more a span{text-decoration:none}.theme-calm .home-more a:hover b{text-decoration:underline}
/* Homepage quick-help buttons (hero, under search) */
.quick-help{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 4px;max-width:640px}
.quick-help a{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 14px;border-radius:10px;background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.35);color:#fff !important;font-weight:700;font-size:16px;line-height:1.2;text-decoration:none}
.quick-help a:hover,.quick-help a:focus-visible{background:rgba(255,255,255,.2);border-color:#fff}
.theme-calm .hero .quick-help a,.theme-calm .hero .quick-help a span{color:#fff !important;text-decoration:none}
.quick-help svg{flex:none;width:22px;height:22px;color:#ffc94d}
.quick-help a:last-child:nth-child(odd){grid-column:1/-1}
@media (min-width:900px){.quick-help{grid-template-columns:repeat(5,1fr);max-width:none}.quick-help a:last-child:nth-child(odd){grid-column:auto}}
/* Bigger tap target for "How we pick" and other summaries */
.top5-how summary,.more-steps summary{padding:10px 0;min-height:44px;display:list-item}
/* Known scams */
.theme-calm .scam-now{background:#fff;border:1px solid var(--line);border-left:5px solid #b3261e;border-radius:10px;box-shadow:0 1px 3px rgba(10,31,61,.08)}
.theme-calm .scam-card{background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(10,31,61,.08)}
.theme-calm .scam-card:hover{border-color:var(--accent)}
.theme-calm .scam-card-link b{color:var(--accent) !important}
.theme-calm .scam-card-short{color:var(--muted) !important}
.theme-calm .scam-tag{background:#f4f8fc;color:var(--text) !important}
.theme-calm .scam-chip{background:#fff;color:var(--text) !important}
.theme-calm .scam-chip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff !important}
.theme-calm .scam-search input{background:#fff;color:var(--text)}
.theme-calm .scam-example{background:#f4f8fc;border-left-color:var(--accent)}
.theme-calm .scam-src-note{color:var(--muted) !important}
.theme-calm .scam-count{color:var(--muted) !important}
.theme-calm .guide-main a.scam-card-link,.theme-calm .guide-main a.scam-tag{text-decoration:none}
