/* ParkCommand website: light and dark themes.
   Light is the default. The header button (js/modern.js) sets <html data-theme="dark"> and remembers
   the choice in this browser; an inline script in <head> applies it before the page paints.
   Product mock-ups (phones, app windows) stay light in both themes, like the real app. */

/* ------------------------------------------------------------------ theme button */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.theme-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }
.theme-btn:active { transform: scale(0.94); }
.theme-btn .icon { width: 18px; height: 18px; }
.theme-btn .t-sun { display: none; }
html[data-theme="dark"] .theme-btn .t-sun { display: block; }
html[data-theme="dark"] .theme-btn .t-moon { display: none; }
.nav-visit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 212, 255, 0.35);
  background: rgba(56, 212, 255, 0.08);
  color: #e0f7ff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.nav-visit:hover { background: rgba(56, 212, 255, 0.18); border-color: rgba(56, 212, 255, 0.6); }
.nav-visit .icon { width: 16px; height: 16px; color: var(--cyan); }
.nav-signin { white-space: nowrap; }
@media (max-width: 1279px) { .nav-visit span { display: none; } .nav-visit { padding: 9px; } }
.mobile-menu .theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu .theme-row .theme-btn { width: auto; padding: 0 14px; gap: 8px; font-size: 14px; }
.mobile-menu .theme-row .theme-btn .t-label-dark { display: inline; }
.mobile-menu .theme-row .theme-btn .t-label-light { display: none; }
html[data-theme="dark"] .mobile-menu .theme-row .theme-btn .t-label-dark { display: none; }
html[data-theme="dark"] .mobile-menu .theme-row .theme-btn .t-label-light { display: inline; }

/* ------------------------------------------------------------------ light: illustrated cards
   Light cards with the light set of 3D illustrations (/assets/illus/light). */
html:not([data-theme="dark"]) .has-illus {
  color: var(--ink) !important;
  background: #f3f7ff !important;
  border: 1px solid rgba(22, 100, 232, 0.14) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 36px -24px rgba(22, 100, 232, 0.35) !important;
}
html:not([data-theme="dark"]) .has-illus::before { background-image: var(--illus-light, var(--illus)); }
html:not([data-theme="dark"]) .has-illus::after {
  background: linear-gradient(105deg, #f3f7ff 0%, rgba(243, 247, 255, 0.9) 32%, rgba(243, 247, 255, 0.2) 66%, rgba(243, 247, 255, 0) 100%), linear-gradient(0deg, rgba(243, 247, 255, 0.5) 0%, transparent 40%);
}
html:not([data-theme="dark"]) .has-illus:hover {
  border-color: rgba(22, 100, 232, 0.4) !important;
  box-shadow: 0 30px 60px -30px rgba(22, 100, 232, 0.45) !important;
}
html:not([data-theme="dark"]) .has-illus h3 { color: var(--ink) !important; }
html:not([data-theme="dark"]) .has-illus p { color: var(--ink-2) !important; text-shadow: 0 1px 8px rgba(243, 247, 255, 0.9); }
html:not([data-theme="dark"]) .has-illus .more,
html:not([data-theme="dark"]) .has-illus .link,
html:not([data-theme="dark"]) .has-illus a:not(.btn) { color: var(--blue) !important; }
html:not([data-theme="dark"]) .has-illus .ti,
html:not([data-theme="dark"]) .has-illus .fi { background: #fff !important; border-color: rgba(22, 100, 232, 0.16) !important; }
html:not([data-theme="dark"]) .has-illus .ti .icon,
html:not([data-theme="dark"]) .has-illus .fi .icon { color: var(--blue) !important; }
html:not([data-theme="dark"]) .tile.feature.has-illus { background: #f3f7ff !important; }
@media (max-width: 640px) {
  html:not([data-theme="dark"]) .has-illus::after { background: linear-gradient(180deg, #f3f7ff 0%, rgba(243, 247, 255, 0.92) 45%, rgba(243, 247, 255, 0.1) 75%); }
}
/* Cards on dark photo sections keep the dark look in both themes. */
html:not([data-theme="dark"]) .dark .has-illus,
html:not([data-theme="dark"]) .has-photo .has-illus {
  color: #fff !important;
  background: #040a22 !important;
  border-color: rgba(96, 165, 250, 0.16) !important;
}
html:not([data-theme="dark"]) .dark .has-illus::before,
html:not([data-theme="dark"]) .has-photo .has-illus::before { background-image: var(--illus); }
html:not([data-theme="dark"]) .dark .has-illus::after,
html:not([data-theme="dark"]) .has-photo .has-illus::after {
  background: linear-gradient(105deg, #040a22 0%, rgba(4, 10, 34, 0.86) 32%, rgba(4, 10, 34, 0.18) 66%, rgba(4, 10, 34, 0) 100%);
}
html:not([data-theme="dark"]) .dark .has-illus h3,
html:not([data-theme="dark"]) .has-photo .has-illus h3 { color: #fff !important; }
html:not([data-theme="dark"]) .dark .has-illus p,
html:not([data-theme="dark"]) .has-photo .has-illus p { color: rgba(203, 213, 225, 0.86) !important; text-shadow: none; }

/* ------------------------------------------------------------------ dark */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060c1b;
  --bg-soft: #0a1427;
  --ink: #e8eef8;
  --ink-2: #c4cfe0;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.16);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 36px -16px rgba(0, 0, 0, 0.6);
  --card: #0c172e;
  --tint: rgba(56, 130, 255, 0.14);
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
/* Product mock-ups keep the light colours (dark text on white would otherwise turn pale on white). */
html[data-theme="dark"] :is(.window, .float, .mock, .phone) {
  color-scheme: light;
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --card: #ffffff;
  --tint: rgba(22, 100, 232, 0.1);
}

/* Cards and panels that are white in the light theme. */
html[data-theme="dark"] :is(.addon-card, .banner, .calc, .compare-card, .contact-card, .dl, .dropdown, .faq details, .feat, .feat-nav a, .footer, .inst-step, .kpi, .matrix-wrap, .module, .notice, .plan, .post-card, .rev-card, .role, .st-list, .st-summary, .story-figs div, .tier, .tile, .tour-btn, .tour-panel, .type, .value, .bottom-nav, .os-switch button[aria-selected="true"]) {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}
html[data-theme="dark"] .feat-nav { background: rgba(6, 12, 27, 0.92); }
html[data-theme="dark"] .tour-btn.on,
html[data-theme="dark"] .tour-btn:hover { background: #12213f; }
html[data-theme="dark"] .plan.featured,
html[data-theme="dark"] .tier.featured { background: #0f1d3a; }
html[data-theme="dark"] :is(.calc-bldg input, .calc-field input, .calc-field select, .calc-bldg .calc-del, input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
  background: #0a1427;
  border-color: rgba(148, 163, 184, 0.28);
  color: var(--ink);
}
html[data-theme="dark"] ::placeholder { color: #64748b; }

/* Light tints (icon chips, callouts, highlighted rows). */
html[data-theme="dark"] :is(.contact-card .ti, .dropdown a .di, .feat .fi, .pass-tile .ti, .tile .ti, .tour-btn .ti, .story-figs .sf-ic.sf-ca, .app-side .nav-item.on, .dl .thumb) { background: var(--tint); }
html[data-theme="dark"] :is(.article .callout, .inst-note, .st-maint) { background: rgba(56, 130, 255, 0.1); border-color: rgba(96, 165, 250, 0.3); color: var(--ink); }
html[data-theme="dark"] :is(.matrix thead th, .matrix .grp td, .valid-line, .calc-plan:has(input:checked)) { background: #0f1c36; }
html[data-theme="dark"] :is(.window, .float, .mock, .phone) .valid-line { background: #f8fafc; }
html[data-theme="dark"] :is(.app-teaser-shot, .inst-shot) { background: radial-gradient(300px 200px at 50% 35%, rgba(47, 140, 255, 0.28), transparent 70%), linear-gradient(180deg, #0c1830, #08101f); }
html[data-theme="dark"] .panel-visual { background: linear-gradient(160deg, #0d1a36 0%, #151233 100%); }
html[data-theme="dark"] .st-skeleton { background: linear-gradient(90deg, #0c172e, #12213f, #0c172e); background-size: 200% 100%; }
html[data-theme="dark"] .chip-slate { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
html[data-theme="dark"] .feat .tag { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; }
html[data-theme="dark"] .feat .tag.addon { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }

/* Text colours set directly to dark ink. */
html[data-theme="dark"] :is(h1, h2, h3, h4, h5, .lead, .section-title) { color: var(--ink); }
html[data-theme="dark"] .footer a:hover { color: #fff; }
html[data-theme="dark"] .footer .wordmark { color: var(--ink); }
html[data-theme="dark"] .faq summary { color: var(--ink); }
html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .btn-outline { color: var(--ink); border-color: rgba(148, 163, 184, 0.35); }
html[data-theme="dark"] .btn-light { background: #fff; color: #0b1220; }

/* Photo sections and their overlays are already dark; soft sections get the dark soft tone. */
html[data-theme="dark"] .section.soft,
html[data-theme="dark"] .addons { background: var(--bg-soft); }
html[data-theme="dark"] .kb-hero,
html[data-theme="dark"] .page-hero { color: #fff; }

/* Images that were made for white pages. */
html[data-theme="dark"] .footer .brand img,
html[data-theme="dark"] img.on-light { filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)); }

@media (prefers-reduced-motion: reduce) {
  .theme-btn { transition: none; }
}

/* Homepage hero: the shortcut for guests who landed on the company site. */
.hero-visit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(56, 212, 255, 0.28);
  background: rgba(5, 11, 26, 0.45);
  color: #cbd5e1;
  font-size: 14.5px;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s;
}
.hero-visit b { color: #e0f7ff; }
.hero-visit .icon { width: 17px; height: 17px; color: var(--cyan); }
.hero-visit:hover { border-color: rgba(56, 212, 255, 0.6); background: rgba(5, 11, 26, 0.7); }

/* The logo artwork has dark lettering: on the dark footer it sits on a light tile. */
html[data-theme="dark"] .footer-logo {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-sizing: content-box;
  max-width: 172px;
}

/* Header fit: the logo never shrinks under the menu; menu items are a little tighter on desktop. */
.site-header .brand { flex-shrink: 0; }
@media (min-width: 1024px) {
  .nav-links .nav-drop,
  .nav-links > a { padding-left: 9px; padding-right: 9px; }
  .nav-cta { gap: 8px; }
}
/* Laptops between 1024 and 1279px: the full menu no longer fits with the Visitors and theme buttons,
   so they use the phone menu. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-links,
  .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: block; }
}

/* Help centre (help/help.css is generated, so its dark colours live here). */
html[data-theme="dark"] :is(.kb-article, .kb-cat, .kb-role-results, .kb-side > ul, .kb-help-box, .kb-results) {
  background: var(--card);
  border-color: var(--line);
}
html[data-theme="dark"] .kb-search input { background: #0a1427; color: var(--ink); border-color: rgba(148, 163, 184, 0.28); }
html[data-theme="dark"] .kb-chip[aria-pressed="true"] { color: #0b1220; }
html[data-theme="dark"] .kb-role { background: rgba(56, 130, 255, 0.16); color: #93c5fd; }
html[data-theme="dark"] .kb-tips { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
html[data-theme="dark"] .kb-tips h2 { color: #6ee7b7; }
html[data-theme="dark"] .kb-cat-icon { background: var(--tint); color: #93c5fd; }
html[data-theme="dark"] .kb-app-note { background: #0f1c36; }
html[data-theme="dark"] .fix-table td:first-child { color: #fca5a5; }
html[data-theme="dark"] .fix-table td:last-child { color: #6ee7b7; }
html[data-theme="dark"] .control { background: var(--card); border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .no { color: #64748b; }
html[data-theme="dark"] .st-overall b { color: #fcd34d; }
/* Light: clearer ticks and dashes in the comparison table. */
.yes { color: #059669; }
.no { color: #64748b; }

/* ------------------------------------------------------------------ parking guide maker (/parking-guide)
   The sheet is paper: white in both themes, and the only thing printed. */
.rg { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .rg { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } .rg-preview { position: sticky; top: 92px; } }
.rg-form fieldset { margin: 0 0 16px; padding: 16px 18px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
html[data-theme="dark"] .rg-form fieldset { background: var(--card); }
.rg-form legend { padding: 0 6px; font-weight: 700; font-size: 15px; color: var(--ink); }
.rg-form label { display: block; margin-bottom: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.rg-form input:not([type="checkbox"]), .rg-form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 15px var(--font);
}
.rg-form textarea { resize: vertical; }
.rg-form input:focus, .rg-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.rg-two { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.rg-check, .rg-toggle { display: flex !important; align-items: center; gap: 9px; font-weight: 500 !important; cursor: pointer; }
.rg-toggle { margin: 0 !important; font-weight: 700 !important; font-size: 15px !important; color: var(--ink) !important; }
.rg-check input, .rg-toggle input { width: 17px; height: 17px; accent-color: var(--blue); }
.rg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rg-reset { color: var(--ink) !important; border-color: var(--line) !important; }
.rg-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.rg-sheet {
  padding: 40px 44px; border-radius: 6px; background: #fff; color: #0b1220;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 24px 60px -24px rgba(15, 23, 42, 0.45);
  font-size: 14.5px; line-height: 1.55;
}
.rg-sheet header { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 3px solid #1664e8; }
.rg-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1664e8; }
.rg-sheet h2 { margin: 4px 0 0; font: 700 28px var(--display); color: #0b1220; }
.rg-sheet header p { margin: 4px 0 0; color: #475569; }
.rg-sheet section { margin-bottom: 14px; break-inside: avoid; }
.rg-sheet h3 { margin: 0 0 6px; font: 600 16.5px var(--display); color: #0b1220; }
.rg-sheet ul { margin: 0; padding-left: 20px; }
.rg-sheet li { margin: 3px 0; color: #1e293b; }
.rg-sheet footer { margin-top: 20px; padding-top: 12px; border-top: 1px solid #e2e8f0; font-size: 13.5px; color: #334155; }
.rg-sheet footer p { margin: 4px 0; }
.rg-made { font-size: 11.5px; color: #64748b; }
@media (max-width: 560px) { .rg-sheet { padding: 26px 22px; } .rg-two { grid-template-columns: 1fr; } }
@media print {
  body:has(#rg-sheet) { background: #fff !important; }
  body:has(#rg-sheet) > *:not(main),
  body:has(#rg-sheet) main > *:not(:has(#rg-sheet)),
  .rg-form,
  .rg-note { display: none !important; }
  .section:has(#rg-sheet) { padding: 0 !important; background: #fff !important; }
  .rg { display: block !important; padding: 0 !important; max-width: none !important; }
  .rg-preview { position: static !important; }
  #rg-sheet { box-shadow: none; padding: 0; border-radius: 0; }
  @page { margin: 16mm; }
}
html[data-theme="dark"] .rg-sheet :is(h2, h3) { color: #0b1220; }

/* ------------------------------------------------------------------ legal pages (privacy, terms, cookies, data safety) */
.legal-hero { padding: 140px 0 64px; background: radial-gradient(700px 300px at 50% 0%, rgba(22, 100, 232, 0.35), transparent 70%), var(--dark); }
.legal-hero p { max-width: 720px; margin-left: auto; margin-right: auto; }
.legal-hero a { color: #7dd3fc; text-decoration: underline; }
.legal { display: grid; gap: 32px; align-items: start; }
.legal > * { min-width: 0; }
@media (min-width: 980px) { .legal { grid-template-columns: 230px minmax(0, 1fr); } .legal-toc { position: sticky; top: 96px; } }
.legal-toc { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: 14px; }
html[data-theme="dark"] .legal-toc { background: var(--card); }
.legal-toc b { margin-bottom: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.legal-toc a { padding: 5px 0; color: var(--ink-2); }
.legal-toc a:hover { color: var(--blue); }
.legal-also { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.legal-also a { display: inline; padding: 0; color: var(--blue); }
@media (max-width: 979px) { .legal-toc a:not(.legal-also a) { display: inline-block; margin-right: 12px; } .legal-toc { flex-direction: row; flex-wrap: wrap; } .legal-toc b, .legal-also { width: 100%; } }
.legal-body { max-width: 780px; margin: 0; font-size: 16.5px; }
.legal-body h2 { scroll-margin-top: 96px; font-size: 24px; margin-top: 36px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-body code { font-size: 0.88em; padding: 1px 6px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); }
.legal-table { margin: 0 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
@media (max-width: 640px) { .legal-table table { min-width: 560px; } }
.ds-facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ds-fact { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
html[data-theme="dark"] .ds-fact { background: var(--card); }
.ds-fact .icon { width: 26px; height: 26px; color: var(--blue); }
.ds-fact b { font-size: 16.5px; color: var(--ink); }
.ds-fact span { font-size: 14.5px; color: var(--muted); }

/* footer legal links */
.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.legal-links a, .link-btn { color: var(--muted); font-size: 13.5px; }
.legal-links a:hover, .link-btn:hover { color: var(--blue); }
.link-btn { padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font: inherit; }

/* ------------------------------------------------------------------ cookie prompt (js/consent.js) */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  max-width: 1100px; margin: 0 auto; padding: 16px 20px; border-radius: 16px;
  background: rgba(5, 11, 26, 0.96); color: #cbd5e1; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -20px rgba(2, 8, 30, 0.7); backdrop-filter: blur(10px);
  font-size: 14.5px; line-height: 1.5; animation: consent-in 0.35s ease;
}
.consent-banner b { color: #fff; }
.consent-banner a { color: #7dd3fc; text-decoration: underline; }
.consent-text { flex: 1 1 420px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-banner .btn-ghost, .consent-dialog .btn-ghost { color: inherit; border-color: rgba(148, 163, 184, 0.4); }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .consent-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px; } .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; justify-content: center; } }
.consent-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(2, 8, 30, 0.6); backdrop-filter: blur(3px); }
.consent-dialog { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; border-radius: 18px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(2, 8, 30, 0.6); }
html[data-theme="dark"] .consent-dialog { background: var(--card); }
.consent-dialog h2 { margin: 0 0 6px; font: 700 22px var(--display); color: var(--ink); }
.consent-dialog > p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.consent-row span { display: flex; flex-direction: column; gap: 2px; }
.consent-row b { color: var(--ink); font-size: 15px; }
.consent-row small { color: var(--muted); font-size: 13.5px; }
.consent-row.locked { cursor: default; }
.consent-row input { appearance: none; flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: background 0.2s; }
.consent-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s; }
.consent-row input:checked { background: var(--blue); }
.consent-row input:checked::after { transform: translateX(18px); }
.consent-row input:disabled { opacity: 0.6; cursor: default; }
.consent-row input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.consent-dialog .consent-actions { margin-top: 16px; justify-content: flex-end; }
.consent-more { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .consent-banner { animation: none; } }
@media print { .consent-banner, .consent-overlay { display: none !important; } }

/* ------------------------------------------------------------------ About: illustrated values and story figures */
.value.has-illus { min-height: 270px; }
.value.has-illus::before { width: 64%; right: -10%; bottom: -12%; }
.value.has-illus p { max-width: 72%; }
.value.has-illus h3 { max-width: 100%; }
.story-figs > div.has-illus { min-height: 200px; }
.story-figs > div.has-illus::before { width: 58%; right: -8%; bottom: -14%; }
.story-figs .has-illus span:not(.sf-ic) { display: block; max-width: 62%; position: relative; }
.story-figs .has-illus b { position: relative; }
html:not([data-theme="dark"]) .story-figs .has-illus b { color: var(--blue); }
html[data-theme="dark"] .story-figs .has-illus b { color: #7dd3fc; }
html[data-theme="dark"] .story-figs .has-illus span:not(.sf-ic) { color: rgba(203, 213, 225, 0.86); }
/* Canada: the Toronto skyline behind the card. */
.story-figs > div.sf-photo { position: relative; isolation: isolate; overflow: hidden; min-height: 200px; color: #fff; background: #050b1a; border-color: rgba(96, 165, 250, 0.2); }
.sf-photo .ph-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; transition: transform 0.6s ease; }
.sf-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 11, 26, 0.35) 0%, rgba(5, 11, 26, 0.88) 100%); }
.sf-photo:hover .ph-bg { transform: scale(1.05); }
.story-figs .sf-photo b { color: #fff; }
.story-figs .sf-photo span:not(.sf-ic) { color: rgba(226, 232, 240, 0.9); }
.story-figs .sf-photo .sf-ic.sf-ca { background: rgba(255, 255, 255, 0.92); }
@media (max-width: 640px) {
  .value.has-illus, .story-figs > div.has-illus, .story-figs > div.sf-photo { min-height: 0; }
  .story-figs .has-illus span:not(.sf-ic) { max-width: 100%; }
}
