/* ==========================================================================
   sitekit.css - styles for site-kit sections and blocks.

   The engine's app.css already carries the Bootstrap-named utilities and the
   ss-* topic-page components, and kit markup uses those first. This file adds
   only what they do not cover, under an sk- prefix, and reads the engine's
   tokens (--accent, --radius, --shadow-1) with a fallback so a page still
   looks right where they are not defined.

   A tenant restyles by shipping sites/<domain>/themes/public/<theme>/assets/
   site.css, which loads after this file.
   ========================================================================== */

.sk-page{ max-width:1080px; margin:0 auto; padding:4px 0 28px; }
.sk-page .ss-crumbs{ margin:14px 2px 0; }

/* --- Headers -------------------------------------------------------------- */
.sk-eyebrow{
  margin:0 0 4px; font-size:11.5px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent,#1abc9c);
}
.sk-summary{ font-size:17px; color:#1f2937; }
.sk-aka, .sk-byline{ margin:0 0 10px; font-size:13px; color:#5b6472; }
.sk-updated{ margin:14px 2px 22px; font-size:12.5px; color:#7a8290; }
.sk-grid-wide{ grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); }
/* A block sits in someone else's page: give it room from whatever is above. */
.sk-block{ margin-top:14px; }
.sk-more{ margin:8px 2px 0; font-size:13px; }
.sk-more a, .sk-chip-more{ font-weight:600; }
.sk-sub{ display:block; font-size:12.5px; font-weight:400; color:#5b6472; line-height:1.45; }

/* --- Long-form text ------------------------------------------------------- */
.sk-prose{
  background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px);
  box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05)); padding:20px 24px 8px;
  margin:0 2px 18px; font-size:16px; line-height:1.7; color:#1f2937;
}
.sk-prose > *{ max-width:72ch; }
.sk-prose h2{ margin:26px 0 8px; font-size:21px; font-weight:700; letter-spacing:-.01em; color:#0e1116; scroll-margin-top:90px; }
.sk-prose h3{ margin:20px 0 6px; font-size:17px; font-weight:700; color:#0e1116; }
.sk-prose h2:first-child, .sk-prose h3:first-child{ margin-top:4px; }
.sk-prose p, .sk-prose ul, .sk-prose ol, .sk-prose blockquote, .sk-prose pre{ margin:0 0 14px; }
.sk-prose ul, .sk-prose ol{ padding-left:22px; }
.sk-prose li{ margin-bottom:5px; }
.sk-prose a{ color:#0060a9; text-decoration:underline; text-decoration-color:#b9d2e8; text-underline-offset:3px; }
.sk-prose a:hover{ text-decoration-color:#0060a9; }
.sk-prose a.sk-xref{ text-decoration-style:dotted; }
.sk-prose code{ padding:1px 5px; border-radius:4px; background:#f1f4f8; font-size:.9em; color:#0e1116; }
.sk-prose pre{ padding:12px 14px; border-radius:8px; background:#0e1116; color:#e6edf3; overflow-x:auto; max-width:100%; }
.sk-prose pre code{ padding:0; background:none; color:inherit; }
.sk-prose blockquote{ padding:2px 0 2px 14px; border-left:3px solid var(--accent,#1abc9c); color:#374151; }
.sk-prose table{ width:100%; max-width:100%; border-collapse:collapse; margin:0 0 16px; font-size:14.5px; }
.sk-prose th, .sk-prose td{ padding:8px 10px; border-bottom:1px solid #e7eaf0; text-align:left; vertical-align:top; }
.sk-prose thead th{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#5b6472; }

.sk-toc{ margin:0 2px 16px; padding:12px 18px; background:#f7f9fc; border:1px solid #e7eaf0; border-radius:var(--radius,10px); }
.sk-toc-title{ margin:0 0 4px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#5b6472; }
.sk-toc ol{ margin:0; padding-left:20px; font-size:14px; line-height:1.8; }

/* --- Article pages (modules/articles) -------------------------------------
   Blog posts and guides on every kit site. Colours are tokens set on
   .sk-article, light first, then the engine's --fs-* values in dark mode,
   so a tenant's site.css never has to repaint these. The accent is the
   site's --accent, used for marks and rules; text that needs contrast uses
   --ska-accent-ink, a darker mix of it. */
.sk-article{
  --ska-accent:var(--accent,#1abc9c);
  --ska-accent-ink:color-mix(in srgb, var(--ska-accent) 58%, #0b1220);
  --ska-surface:#fff;
  --ska-tint:color-mix(in srgb, var(--ska-accent) 7%, #fff);
  --ska-tint-2:color-mix(in srgb, var(--ska-accent) 14%, #fff);
  --ska-head:#0e1116;
  --ska-ink:#1f2937;
  --ska-ink-2:#4b5563;
  --ska-ink-3:#6b7280;
  --ska-line:#e7eaf0;
  --ska-link:#0060a9;
  --ska-shadow:0 1px 2px rgba(16,24,40,.04), 0 8px 24px -12px rgba(16,24,40,.12);
  margin:0 2px;
}
html[data-fs-theme="dark"] .sk-article{
  --ska-accent-ink:color-mix(in srgb, var(--ska-accent) 70%, #fff);
  --ska-surface:var(--fs-surface,#161d26);
  --ska-tint:color-mix(in srgb, var(--ska-accent) 9%, var(--fs-surface,#161d26));
  --ska-tint-2:color-mix(in srgb, var(--ska-accent) 18%, var(--fs-surface,#161d26));
  --ska-head:var(--fs-heading,#dde5ef);
  --ska-ink:var(--fs-ink,#c6d0dc);
  --ska-ink-2:var(--fs-ink-2,#b4bfcd);
  --ska-ink-3:var(--fs-ink-3,#8fa2b8);
  --ska-line:var(--fs-line,#232e3b);
  --ska-link:var(--fs-link,#79b8ff);
  --ska-shadow:none;
}

/* Reading progress: a thin bar across the top of the window (browsers with
   scroll-driven animations; others simply do not show it). */
@supports (animation-timeline: scroll()){
  .sk-article::before{
    content:""; position:fixed; z-index:1100; top:0; left:0; right:0; height:3px;
    background:var(--ska-accent); transform-origin:0 50%; transform:scaleX(0);
    animation:sk-read linear both; animation-timeline:scroll(root); pointer-events:none;
  }
  @keyframes sk-read{ to{ transform:scaleX(1); } }
}

/* Header: a soft accent wash, a pill eyebrow, a big headline. */
.sk-article > .ss-header{
  position:relative; overflow:hidden; margin:0 0 18px; padding:26px 30px 20px;
  background:
    radial-gradient(520px 220px at 100% 0, var(--ska-tint-2), transparent 70%),
    linear-gradient(180deg, var(--ska-tint), var(--ska-surface) 85%);
  border:1px solid var(--ska-line); border-radius:calc(var(--radius,10px) + 4px);
  box-shadow:var(--ska-shadow);
}
.sk-article > .ss-header::after{
  content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--ska-accent);
}
.sk-article .sk-eyebrow{
  display:inline-block; margin:0 0 12px; padding:4px 11px; border-radius:999px;
  background:var(--ska-surface); border:1px solid var(--ska-tint-2);
  color:var(--ska-accent-ink); font-size:11px; letter-spacing:.12em;
}
.sk-article .ss-title{
  margin:0 0 12px; font-size:clamp(26px, 2.2vw + 14px, 38px); line-height:1.15;
  font-weight:800; letter-spacing:-.022em; color:var(--ska-head); text-wrap:balance;
}
.sk-article .sk-summary{
  margin:0 0 14px; max-width:68ch; font-size:18.5px; line-height:1.55; color:var(--ska-ink-2); text-wrap:pretty;
}
.sk-article .sk-byline{
  display:flex; flex-wrap:wrap; align-items:center; gap:4px 0; margin:0 0 14px;
  font-size:13px; color:var(--ska-ink-3);
}
.sk-article .sk-byline > span + span::before{
  content:""; display:inline-block; width:4px; height:4px; margin:0 10px 2px; border-radius:50%;
  background:currentColor; opacity:.55; vertical-align:middle;
}
.sk-article .sk-by-author{ font-weight:700; color:var(--ska-ink); }
.sk-article .sk-by-read{
  padding:2px 9px; border-radius:999px; background:var(--ska-tint-2); color:var(--ska-accent-ink); font-weight:700;
}
.sk-article .sk-byline > .sk-by-read::before{ display:none; }
.sk-article .sk-byline > .sk-by-read{ margin-left:10px; }
html[data-fs-theme="dark"] .sk-article .sk-by-read{ background:color-mix(in srgb, var(--ska-accent) 24%, transparent); }
.sk-article > .ss-header .ss-chips{ margin-bottom:0; }

/* Contents: numbered, two columns when there is room. */
.sk-article .sk-toc{
  margin:0 0 18px; padding:16px 20px 14px; background:var(--ska-surface);
  border:1px solid var(--ska-line); border-radius:calc(var(--radius,10px) + 2px); box-shadow:var(--ska-shadow);
}
.sk-article .sk-toc-title{ margin:0 0 10px; color:var(--ska-ink-3); }
.sk-article .sk-toc ol{
  margin:0; padding:0; list-style:none; counter-reset:sk-toc; columns:2 260px; column-gap:26px;
  font-size:14px; line-height:1.4;
}
.sk-article .sk-toc li{ counter-increment:sk-toc; break-inside:avoid; display:flex; gap:10px; padding:5px 0; }
.sk-article .sk-toc li::before{
  content:counter(sk-toc); flex:none; width:22px; height:22px; border-radius:50%;
  display:inline-grid; place-items:center; margin-top:-1px;
  background:var(--ska-tint-2); color:var(--ska-accent-ink); font-size:11.5px; font-weight:800;
  font-variant-numeric:tabular-nums;
}
.sk-article .sk-toc a{ color:var(--ska-ink); text-decoration:none; }
.sk-article .sk-toc a:hover{ color:var(--ska-link); text-decoration:underline; text-underline-offset:3px; }

/* Body text. */
.sk-article .sk-prose{
  margin:0 0 20px; padding:30px 40px 18px; background:var(--ska-surface);
  border:1px solid var(--ska-line); border-radius:calc(var(--radius,10px) + 2px); box-shadow:var(--ska-shadow);
  font-size:17px; line-height:1.75; color:var(--ska-ink);
}
.sk-article .sk-prose > *{ max-width:70ch; }
.sk-article .sk-prose > p:first-child{ font-size:19px; line-height:1.65; color:var(--ska-head); }
.sk-article .sk-prose strong{ color:var(--ska-head); }
.sk-article .sk-prose a{ color:var(--ska-link); text-decoration-color:color-mix(in srgb, var(--ska-link) 35%, transparent); }
.sk-article .sk-prose a:hover{ text-decoration-color:currentColor; }

.sk-article .sk-prose h2{
  margin:44px 0 12px; padding-top:22px; font-size:25px; line-height:1.25; font-weight:800;
  letter-spacing:-.018em; color:var(--ska-head); text-wrap:balance;
  background:linear-gradient(var(--ska-accent), var(--ska-accent)) 0 0 / 44px 4px no-repeat;
  border-radius:0;
}
.sk-article .sk-prose h2:first-child{ margin-top:6px; }
.sk-article .sk-prose h3{ margin:28px 0 8px; font-size:19px; line-height:1.35; font-weight:750; color:var(--ska-head); }

.sk-article .sk-prose ul{ padding-left:4px; list-style:none; }
.sk-article .sk-prose ul > li{ position:relative; padding-left:24px; margin-bottom:8px; }
.sk-article .sk-prose ul > li::before{
  content:""; position:absolute; left:4px; top:.68em; width:8px; height:8px; border-radius:50%;
  background:var(--ska-accent); box-shadow:0 0 0 3px var(--ska-tint-2);
}
.sk-article .sk-prose ol{ padding-left:4px; list-style:none; counter-reset:sk-ol; }
.sk-article .sk-prose ol > li{ position:relative; counter-increment:sk-ol; padding-left:36px; margin-bottom:10px; }
.sk-article .sk-prose ol > li::before{
  content:counter(sk-ol); position:absolute; left:0; top:.2em; width:25px; height:25px; border-radius:7px;
  display:grid; place-items:center; background:var(--ska-accent-ink); color:#fff;
  font-size:13px; font-weight:800; line-height:1; font-variant-numeric:tabular-nums;
}
html[data-fs-theme="dark"] .sk-article .sk-prose ol > li::before{ color:#0b1220; }

.sk-article .sk-prose blockquote{
  margin:22px 0; padding:16px 20px; border:0; border-left:4px solid var(--ska-accent);
  border-radius:0 10px 10px 0; background:var(--ska-tint); color:var(--ska-ink); font-size:17.5px;
}
.sk-article .sk-prose blockquote > :last-child{ margin-bottom:0; }

/* Tables: a framed, striped card that scrolls sideways on phones. */
.sk-article .sk-prose .table-responsive{
  margin:6px 0 22px; border:1px solid var(--ska-line); border-radius:12px; overflow-x:auto;
}
.sk-article .sk-prose table{ margin:0; font-size:15px; line-height:1.5; }
.sk-article .sk-prose > table{ border:1px solid var(--ska-line); }
.sk-article .sk-prose thead th{
  padding:11px 14px; background:var(--ska-tint-2); color:var(--ska-accent-ink);
  font-size:12px; font-weight:800; border-bottom:0;
}
.sk-article .sk-prose td, .sk-article .sk-prose tbody th{ padding:11px 14px; border-color:var(--ska-line); }
.sk-article .sk-prose tbody tr:nth-child(even){ background:color-mix(in srgb, var(--ska-tint) 70%, transparent); }
.sk-article .sk-prose tbody tr:last-child > *{ border-bottom:0; }
.sk-article .sk-prose td:first-child{ font-weight:600; color:var(--ska-head); }

.sk-article .sk-prose img{ max-width:100%; height:auto; border-radius:12px; }
.sk-article .sk-prose hr{ height:1px; margin:32px 0; border:0; background:linear-gradient(90deg, var(--ska-accent), transparent); opacity:.6; }

/* Named sections most articles carry. */
.sk-article .sk-prose h2#the-bottom-line + p,
.sk-article .sk-prose h2#the-case-in-brief + p{
  padding:16px 20px; border-radius:12px; background:var(--ska-tint); border:1px solid var(--ska-tint-2);
}
.sk-article .sk-prose h2#key-takeaways{ margin-bottom:0; }
.sk-article .sk-prose h2#key-takeaways + ul{
  margin:14px 0 22px; padding:18px 22px 10px; border-radius:14px;
  background:linear-gradient(135deg, var(--ska-tint-2), var(--ska-tint));
  border:1px solid var(--ska-tint-2);
}
.sk-article .sk-prose h2#key-takeaways + ul > li{ padding-left:32px; margin-bottom:10px; }
.sk-article .sk-prose h2#key-takeaways + ul > li::before{
  content:"\2713"; left:0; top:.2em; width:22px; height:22px; display:grid; place-items:center;
  border-radius:50%; box-shadow:none; color:#fff; font-size:12.5px; font-weight:900; line-height:1;
  background:var(--ska-accent-ink);
}
html[data-fs-theme="dark"] .sk-article .sk-prose h2#key-takeaways + ul > li::before{ color:#0b1220; }

/* Common questions: each question a card heading with a Q mark. */
.sk-article .sk-prose h2#common-questions ~ h3{
  position:relative; margin:18px 0 6px; padding:12px 16px 12px 50px;
  border-radius:12px 12px 0 0; background:var(--ska-tint); border:1px solid var(--ska-line); border-bottom:0;
  font-size:17.5px;
}
.sk-article .sk-prose h2#common-questions ~ h3::before{
  content:"Q"; position:absolute; left:14px; top:11px; width:26px; height:26px; border-radius:8px;
  display:grid; place-items:center; background:var(--ska-accent); color:#fff; font-size:13px; font-weight:900;
}
.sk-article .sk-prose h2#common-questions ~ h3 + p{
  margin-top:-6px; padding:12px 16px 14px 50px; border:1px solid var(--ska-line); border-top:0;
  border-radius:0 0 12px 12px;
}

/* Sources: smaller, quieter, long URLs wrap. */
.sk-article .sk-prose h2#sources ~ ol,
.sk-article .sk-prose h2#sources ~ ul{ font-size:14px; line-height:1.6; color:var(--ska-ink-2); overflow-wrap:anywhere; }
.sk-article .sk-prose h2#sources ~ ol > li::before{
  width:20px; height:20px; border-radius:50%; font-size:11px; background:var(--ska-tint-2); color:var(--ska-accent-ink);
}
.sk-article .sk-prose h2#sources ~ ol > li{ padding-left:30px; }

/* Wide pages: the contents become a sticky rail beside the text. */
@media (min-width:1200px){
  .sk-article{
    display:grid; grid-template-columns:minmax(0, 1fr) 248px; column-gap:22px; align-items:start;
  }
  .sk-article > .ss-header{ grid-column:1 / -1; }
  .sk-article > .sk-prose{ grid-column:1; grid-row:2; min-width:0; }
  .sk-article > .sk-toc{
    grid-column:2; grid-row:2; position:sticky; top:84px; max-height:calc(100vh - 110px); overflow-y:auto;
    padding:14px 14px 10px; overscroll-behavior:contain;
  }
  .sk-article > .sk-toc ol{ columns:auto; font-size:13px; }
  .sk-article > .sk-toc li{ padding:4px 0; }
  .sk-article > .sk-toc li::before{ width:20px; height:20px; font-size:10.5px; }
}

@media (max-width:767.98px){
  .sk-article{ margin:0; }
  .sk-article > .ss-header{ padding:20px 18px 16px; }
  .sk-article .sk-summary{ font-size:17px; }
  .sk-article .sk-byline > .sk-by-read{ margin-left:0; }
  .sk-article .sk-prose{ padding:20px 18px 8px; font-size:16.5px; }
  .sk-article .sk-prose > p:first-child{ font-size:17.5px; }
  .sk-article .sk-prose h2{ font-size:22px; margin-top:36px; }
  .sk-article .sk-prose h2#common-questions ~ h3,
  .sk-article .sk-prose h2#common-questions ~ h3 + p{ padding-left:16px; }
  .sk-article .sk-prose h2#common-questions ~ h3{ padding-top:44px; }
  .sk-article .sk-prose h2#common-questions ~ h3::before{ top:12px; left:16px; }
}

@media print{
  .sk-article::before{ display:none; }
  .sk-article{ display:block; }
  .sk-article > .ss-header, .sk-article .sk-prose{ box-shadow:none; background:#fff; }
}

/* --- Glossary ------------------------------------------------------------- */
.sk-az{ display:flex; flex-wrap:wrap; gap:4px; }
.sk-az a{
  min-width:30px; padding:3px 0; text-align:center; border:1px solid #dde6f0; border-radius:6px;
  background:#eef3f9; font-size:13px; font-weight:600; color:#0060a9; text-decoration:none;
}
.sk-az a:hover{ background:#e2ebf5; }
.sk-terms{ margin:0; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05)); }
.sk-term-row{ display:grid; grid-template-columns:minmax(180px, 260px) 1fr; gap:4px 18px; padding:11px 16px; border-bottom:1px solid #eef1f5; }
.sk-term-row:last-child{ border-bottom:0; }
.sk-term-row dt{ font-weight:600; font-size:15px; }
.sk-term-row dt a{ color:#0060a9; text-decoration:none; }
.sk-term-row dt a:hover{ text-decoration:underline; }
.sk-term-row dd{ margin:0; font-size:14px; line-height:1.5; color:#374151; }

/* --- Directory and comparisons ------------------------------------------- */
.sk-facts, .sk-tiers{ width:100%; margin:0; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); border-collapse:separate; border-spacing:0; font-size:14.5px; }
.sk-facts th, .sk-facts td, .sk-tiers th, .sk-tiers td{ padding:10px 14px; border-bottom:1px solid #eef1f5; text-align:left; vertical-align:top; }
.sk-facts tr:last-child > *, .sk-tiers tr:last-child > *{ border-bottom:0; }
.sk-facts tbody th, .sk-tiers tbody th{ width:170px; font-weight:600; color:#374151; white-space:nowrap; }
.sk-facts thead th, .sk-tiers thead th{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#5b6472; background:#f7f9fc; }
.sk-facts thead th a{ font-size:15px; letter-spacing:0; text-transform:none; color:#0060a9; text-decoration:none; }
.sk-facts-list tbody th{ width:auto; white-space:normal; }
.sk-facts-list tbody th a{ font-size:15px; color:#0060a9; text-decoration:none; }
.sk-facts .sk-tiers{ border:0; font-size:13.5px; }
.sk-facts .sk-tiers th, .sk-facts .sk-tiers td{ padding:4px 8px 4px 0; }
.sk-facts .sk-tiers tbody th{ width:auto; white-space:normal; }
.sk-plain{ margin:0; padding-left:16px; }
.sk-pricing-summary{ margin:0 2px 10px; font-size:15px; color:#1f2937; }
.sk-verified{ margin:8px 2px 0; font-size:12.5px; color:#5b6472; max-width:72ch; }
.sk-cols{ margin:0; padding:14px 18px 14px 34px; columns:2 260px; column-gap:28px; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); font-size:14.5px; line-height:1.6; }
.sk-cols li{ break-inside:avoid; margin-bottom:4px; }

/* --- Live block, search, signup, answer card ------------------------------ */
.sk-live-list{ margin:0 0 10px; padding:0; list-style:none; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); }
.sk-live-list li{ padding:9px 14px; border-bottom:1px solid #eef1f5; font-size:14.5px; }
.sk-live-list li:last-child{ border-bottom:0; }
.sk-live-list a{ color:#0060a9; text-decoration:none; font-weight:600; }
.sk-live-meta{ display:block; font-size:12px; color:#7a8290; }

.sk-search, .sk-signup{ display:flex; flex-wrap:wrap; gap:8px; margin:0; max-width:560px; }
.sk-search .form-control, .sk-signup .form-control{ flex:1 1 240px; min-width:0; }
.sk-fineprint{ margin:8px 0 0; font-size:12.5px; color:#5b6472; }
.sk-promise{ margin:0 0 14px; background:transparent; border:0; padding:0 0 0 20px; }
.sk-callout{ padding:14px 16px; background:#f7f9fc; border:1px solid #e7eaf0; border-radius:var(--radius,10px); }

.sk-answer{
  margin:10px 2px 14px; padding:14px 18px; background:#fff; border:1px solid #e7eaf0;
  border-left:4px solid var(--accent,#1abc9c); border-radius:var(--radius,10px);
  box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05));
}
.sk-answer-title{ margin:0 0 4px; font-size:19px; font-weight:700; letter-spacing:-.01em; }
.sk-answer-title a{ color:#0e1116; text-decoration:none; }
.sk-answer-text{ margin:0 0 10px; font-size:15px; line-height:1.55; color:#374151; max-width:72ch; }

/* --- Navigation slot ------------------------------------------------------ */
.sk-nav-list{ display:flex; flex-wrap:wrap; gap:4px 18px; margin:0; padding:0; list-style:none; font-size:14px; }
.sk-nav-list a{ color:inherit; text-decoration:none; font-weight:600; opacity:.92; }
.sk-nav-list a:hover{ opacity:1; text-decoration:underline; }
.sk-footer-col a{ text-decoration:none; }

@media (max-width:767.98px){
  .sk-prose{ padding:16px 16px 4px; font-size:15.5px; }
  .sk-term-row{ grid-template-columns:1fr; }
  .sk-facts tbody th, .sk-tiers tbody th{ width:auto; white-space:normal; }
}

/* The directory's jump list: every category at the top of a long index. */
.sk-cat-jump{ margin-top:12px; max-height:230px; overflow-y:auto; padding:2px; }

/* ==========================================================================
   City sites (modules/city): the weather + traffic row above the feed and
   the "at a glance" block below it. Colours read the engine's --fs-* tokens,
   which exist in dark mode only, so every one has its light fallback.
   ========================================================================== */
.ct-grid{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:14px; margin:0 0 18px; align-items:stretch; }
.ct-card{ min-width:0; padding:14px 16px; background:var(--fs-surface,#fff); color:var(--fs-ink,#1f2937); border:1px solid var(--fs-line,#e3e8ef); border-radius:var(--radius,10px); box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05)); }
.ct-card-head{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 10px; margin:0 0 10px; }
.ct-card-head h2, .ct-h3{ margin:0; font-size:16px; font-weight:800; letter-spacing:-.01em; color:var(--fs-heading,#111827); }
.ct-stamp{ font-size:12px; color:var(--fs-ink-3,#6b7280); }

/* the weather card fills the height of the traffic card beside it */
.ct-weather{ display:flex; flex-direction:column; gap:12px; }
.ct-weather .ct-card-head{ margin:0; }
.ct-hero{ --a:#4aa3ff; --b:#1d4ed8; display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:12px; color:#fff; background:linear-gradient(135deg,var(--a),var(--b)); }
.ct-wx-clear-day .ct-hero{ --a:#4fb3ff; --b:#2563eb; }
.ct-wx-clear-night .ct-hero{ --a:#1e2a5a; --b:#0b1230; }
.ct-wx-cloud-day .ct-hero{ --a:#8aa4c4; --b:#4b6486; }
.ct-wx-cloud-night .ct-hero{ --a:#37465f; --b:#161e2e; }
.ct-wx-rain-day .ct-hero, .ct-wx-rain-night .ct-hero{ --a:#4a6a8e; --b:#1f3350; }
.ct-wx-storm-day .ct-hero, .ct-wx-storm-night .ct-hero{ --a:#4b4a6e; --b:#1c1b33; }
.ct-wx-snow-day .ct-hero, .ct-wx-snow-night .ct-hero{ --a:#8fb4d6; --b:#4f7396; }
.ct-wx-fog-day .ct-hero, .ct-wx-fog-night .ct-hero{ --a:#9aa5b1; --b:#5b6673; }
.ct-hero-ic{ flex:none; filter:drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.ct-hero-t{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.ct-temp{ font-size:52px; font-weight:800; line-height:1; letter-spacing:-.03em; }
.ct-cond{ font-size:16px; font-weight:700; opacity:.95; }
.ct-hero-r{ margin-left:auto; display:flex; flex-direction:column; gap:3px; font-size:13px; text-align:right; opacity:.95; white-space:nowrap; }
.ct-hero-r b{ font-weight:800; }
.ct-stats{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0; padding:0; list-style:none; }
.ct-stats li{ display:flex; flex-direction:column; gap:2px; padding:8px 10px; border-radius:9px; background:var(--fs-surface-2,#f3f6fa); }
.ct-sl{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--fs-ink-3,#6b7280); }
.ct-sv{ font-size:16px; font-weight:800; color:var(--fs-heading,#111827); }
.ct-sv small{ font-size:12px; font-weight:600; color:var(--fs-ink-2,#4b5563); }
.ct-wx-arrow{ color:inherit; }
.ct-stats .wx-wind{ white-space:nowrap; }
.ct-aq{ display:inline-block; width:10px; height:10px; margin-right:6px; border-radius:50%; background:var(--aq,#9aa5b1); vertical-align:middle; }
.ct-sub{ margin:2px 0 -4px; font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--fs-ink-3,#6b7280); }
.ct-hours{ display:flex; gap:2px; margin:0; padding:0 0 2px; list-style:none; overflow-x:auto; }
.ct-hours li{ flex:1 0 46px; display:flex; flex-direction:column; align-items:center; gap:3px; font-size:12px; }
.ct-hh{ color:var(--fs-ink-3,#6b7280); white-space:nowrap; }
.ct-hb{ position:relative; width:14px; height:38px; display:block; border-radius:4px; background:var(--fs-surface-2,#eef2f7); overflow:hidden; }
.ct-hb i{ position:absolute; left:0; right:0; bottom:0; height:var(--h,50%); background:var(--c,#4aa3ff); border-radius:4px; }
.ct-ht{ font-weight:800; font-size:13px; }
.ct-hp{ font-size:11px; color:#2f7fd1; font-weight:700; min-height:13px; }
.ct-days{ flex:1; display:flex; flex-direction:column; justify-content:space-around; gap:3px; margin:0; padding:0; list-style:none; }
.ct-days li{ display:grid; grid-template-columns:58px 28px 34px 38px minmax(40px,1fr) 38px; align-items:center; gap:6px; font-size:13px; }
.ct-dn{ font-weight:700; }
.ct-dp{ font-size:11.5px; font-weight:700; color:#2f7fd1; text-align:right; }
.ct-lo{ color:var(--fs-ink-3,#6b7280); text-align:right; }
.ct-hi{ font-weight:800; }
.ct-rg{ position:relative; height:6px; border-radius:3px; background:var(--fs-surface-2,#e5eaf1); }
.ct-rg i{ position:absolute; top:0; bottom:0; border-radius:3px; }
.ct-alert{ display:block; margin:0; padding:7px 11px; border-radius:8px; background:#fff3cd; color:#7a4b00; font-size:13.5px; font-weight:700; text-decoration:none; }
.ct-links{ display:flex; flex-wrap:wrap; gap:6px 14px; margin:2px 0 0; font-size:13.5px; font-weight:700; }
.ct-links a, .ct-extra a, .ct-res a, .ct-credit a{ color:var(--fs-link,#1d4ed8); text-decoration:none; }
.ct-links a:hover, .ct-res a:hover{ text-decoration:underline; }

/* the traffic card grows with it */
.ct-traffic{ display:flex; flex-direction:column; }
.ct-map{ position:relative; flex:1 1 auto; min-height:380px; margin:0 0 6px; border-radius:8px; overflow:hidden; background:var(--fs-surface-2,#eef2f7); }
.ct-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.ct-credit, .ct-note, .ct-none{ margin:4px 0 0; font-size:12.5px; color:var(--fs-ink-3,#6b7280); }
.ct-tf{ margin:8px 0 2px; padding:10px 0 0; border-top:1px solid var(--fs-line,#e5e7eb); }
.ct-tf-sum{ margin:0 0 6px; font-size:14px; }
.ct-tf-list{ list-style:none; margin:0 0 8px; padding:0; display:flex; flex-direction:column; gap:5px; font-size:13.5px; }
.ct-tf-list small{ color:var(--fs-ink-3,#6b7280); }
.ct-tf-k{ display:inline-block; padding:1px 7px; border-radius:999px; color:#fff; font-size:11px; font-weight:700; background:#5f6368; }
.ct-tf-closure{ background:#d93025; } .ct-tf-incident{ background:#e8590c; } .ct-tf-congestion{ background:#a50e0e; } .ct-tf-roadwork{ background:#c26a00; } .ct-tf-hazard{ background:#c25e00; }
.ct-tf-cams{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; }
.ct-tf-cams a{ display:flex; flex-direction:column; gap:3px; font-size:12px; color:var(--fs-ink-3,#6b7280); text-decoration:none; }
.ct-tf-cams img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:6px; background:var(--fs-surface-2,#eef2f7); }

.ct-h{ margin:0 0 10px; font-size:20px; font-weight:800; letter-spacing:-.01em; color:var(--fs-heading,#111827); }
.ct-below{ margin:0 0 20px; }
.ct-sections{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; margin:0 0 14px; padding:0; list-style:none; }
.ct-sections a{ display:flex; flex-direction:column; gap:3px; height:100%; padding:11px 13px; border:1px solid var(--fs-line,#e3e8ef); border-radius:var(--radius,10px); background:var(--fs-surface,#fff); color:inherit; text-decoration:none; }
.ct-sections a:hover{ border-color:var(--fs-link,#1d4ed8); }
.ct-sec-t{ font-weight:800; font-size:15px; color:var(--fs-heading,#111827); }
.ct-sec-d{ font-size:12.5px; line-height:1.4; color:var(--fs-ink-2,#4b5563); }
.ct-sec-n{ margin-top:auto; font-size:12px; font-weight:700; color:var(--fs-ink-3,#6b7280); }

/* numbers to know: tiles; official pages: a grid of links */
.ct-stack{ display:grid; gap:14px; }
.ct-numtiles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:10px; margin:10px 0 0; padding:0; list-style:none; }
.ct-numtiles li{ display:flex; flex-direction:column; gap:3px; padding:11px 13px; border:1px solid var(--fs-line,#e3e8ef); border-radius:10px; background:var(--fs-surface-2,#f6f8fb); }
.ct-num-l{ font-size:12.5px; font-weight:700; color:var(--fs-ink-2,#4b5563); }
.ct-num-v{ font-size:21px; font-weight:800; letter-spacing:-.01em; line-height:1.15; color:var(--fs-heading,#111827); overflow-wrap:anywhere; }
.ct-num-n{ margin-top:auto; font-size:12px; line-height:1.35; color:var(--fs-ink-3,#6b7280); }
.ct-num-911{ border-color:#e5484d; background:rgba(229,72,77,.08); }
.ct-num-911 .ct-num-v{ color:#d12b30; font-size:30px; }
.ct-res{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:4px 22px; margin:10px 0 0; padding:0; list-style:none; font-size:14px; }
.ct-res li{ padding:6px 0; border-top:1px solid var(--fs-line,#e3e8ef); }
.ct-res small{ display:block; font-size:12px; color:var(--fs-ink-3,#6b7280); }
.ct-extra{ margin:12px 0 0; font-size:13px; }

/* guides and posts: as many columns as fit, no blank right edge */
.ct-learn .ss-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:12px; }
.ct-learn .ss-card{ min-width:0; }
.ct-learn .ss-card-desc{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* the Weather service's icon colours (its own stylesheet is not loaded on these pages) */
.ct-weather, .ct-hero{ --wxi-sun:#f5a90a; --wxi-moon:#f0c94d; --wxi-cloud:#dbe3ec; --wxi-cloud-line:#a3b1c2; --wxi-cloud2:#bccada; --wxi-rain:#2f7fe8; --wxi-snow:#7fb6f2; --wxi-fog:#98a4b3; }
html[data-fs-theme="dark"] .ct-weather{ --wxi-cloud:#a9b6c6; --wxi-cloud-line:#7f8ea0; --wxi-cloud2:#7b8a9c; --wxi-rain:#5aa2ff; --wxi-snow:#b8d8ff; }
.ct-weather .wx-ic{ display:inline-block; vertical-align:middle; flex-shrink:0; overflow:visible; }
.wxi-sun circle{ fill:var(--wxi-sun); }
.wxi-rays{ stroke:var(--wxi-sun); fill:none; }
.wxi-moon{ fill:var(--wxi-moon); }
.wxi-cloud{ fill:var(--wxi-cloud); stroke:var(--wxi-cloud-line); stroke-width:1.6; }
.wxi-cloud2{ fill:var(--wxi-cloud2); }
.wxi-rain{ stroke:var(--wxi-rain); fill:none; }
.wxi-snow{ fill:var(--wxi-snow); stroke:#4f8fd6; stroke-width:.8; }
.wxi-ice{ stroke:#5fc3f0; fill:none; }
.wxi-bolt{ fill:#ffc21a; stroke:#d99400; stroke-width:1.2; stroke-linejoin:round; }
.wxi-fog{ stroke:var(--wxi-fog); fill:none; }
.wxi-wind{ stroke:#7d8a99; }
.wxi-smoke path{ fill:#b5aca3; stroke:#8f857b; stroke-width:1.4; }
.wxi-dust{ stroke:#c4a265; }
.wxi-hot{ stroke:#e03131; fill:#e03131; }
.ct-weather .wx-wind{ display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.ct-weather .wx-wind-arrow{ flex-shrink:0; }
.ct-weather .wx-gust{ font-size:12px; font-weight:600; }

@media (max-width:1099.98px){
  .ct-grid{ grid-template-columns:minmax(0,1fr); }
  .ct-map{ min-height:320px; }
}
@media (max-width:520px){
  .ct-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ct-hero{ flex-wrap:wrap; }
  .ct-hero-r{ margin-left:0; flex-direction:row; flex-wrap:wrap; gap:4px 12px; text-align:left; }
  .ct-temp{ font-size:44px; }
  .ct-days li{ grid-template-columns:48px 26px 30px 34px minmax(30px,1fr) 34px; gap:4px; font-size:12px; }
}
