/**
 * WarStrikes public site v3.2 — shared stylesheet (chrome, content pages, components).
 *
 * Design source: Figma NtqTbGCXZ4rQUhfGYbjcoF, page "20b · Public site v3.2" (411:2).
 * Brand tokens are the v3 ones (same values as assets/warstrikes-enterprise.css). Theme lives on
 * <html data-ws-theme="system|light|dark">; "system" follows prefers-color-scheme.
 * Rules: the map is Ink in both themes; Lime ("Sulfur") only as a fill behind Ink text or as an
 * eyebrow on Ink, never as a thin line or dot on Paper.
 */

@font-face {
  font-family: "Geist";
  src: url("/assets/vendor/geist/1.7.2/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/vendor/geist/1.7.2/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------------------------- */
:root {
  --wsp-ink: #0b0b0b;
  --wsp-ink-raised: #171716;
  --wsp-paper: #f4f3ee;
  --wsp-white: #ffffff;
  --wsp-stone: #eae8e1;
  --wsp-rule: #d6d4cc;
  --wsp-rule-strong: #b9b7ae;
  --wsp-graphite: #55544f;
  --wsp-muted: #6e6d66;
  --wsp-lime: #d4f542;
  --wsp-on-lime: #0b0b0b;
  --wsp-critical: #b8323a;

  /* The map and its overlays are Ink in both themes. */
  --wsp-map-water: #161615;
  --wsp-map-land: #242422;
  --wsp-map-line: #2e2e2c;
  --wsp-map-sage: #4a4a46;
  --wsp-map-text: #a8a79f;
  --wsp-map-ink: #ecebe5;
  --wsp-map-raised: #222220;
  --wsp-map-panel: #181817;

  --wsp-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wsp-header-h: 72px;
  --wsp-appbar-h: 57px;
  --wsp-tabbar-h: 56px;
  --wsp-focus: 0 0 0 2px var(--wsp-white), 0 0 0 4px var(--wsp-ink);
  color-scheme: light;
}

html[data-ws-theme="dark"] {
  --wsp-ink: #ecebe5;
  --wsp-ink-raised: #222220;
  --wsp-paper: #0f0f0e;
  --wsp-white: #181817;
  --wsp-stone: #242422;
  --wsp-rule: #2e2e2c;
  --wsp-rule-strong: #4a4a46;
  --wsp-graphite: #a8a79f;
  --wsp-muted: #807f78;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html[data-ws-theme="system"] {
    --wsp-ink: #ecebe5;
    --wsp-ink-raised: #222220;
    --wsp-paper: #0f0f0e;
    --wsp-white: #181817;
    --wsp-stone: #242422;
    --wsp-rule: #2e2e2c;
    --wsp-rule-strong: #4a4a46;
    --wsp-graphite: #a8a79f;
    --wsp-muted: #807f78;
    color-scheme: dark;
  }
}

/* --- Base ------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

body.wsp {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--wsp-paper);
  color: var(--wsp-ink);
  font: 400 14px/1.45 var(--wsp-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(.wsp) a { color: inherit; }
.wsp a:focus-visible, .wsp button:focus-visible, .wsp input:focus-visible, .wsp textarea:focus-visible,
.wsp select:focus-visible, .wsp summary:focus-visible { outline: none; box-shadow: var(--wsp-focus); }
.wsp img, .wsp svg { display: block; }
.wsp h1, .wsp h2, .wsp h3, .wsp p { margin: 0; }
.wsp-main { flex: 1 0 auto; }

.wsp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wsp-skip {
  position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 12px;
  background: var(--wsp-ink); color: var(--wsp-white); font-weight: 600; text-decoration: none;
}
.wsp-skip:focus { top: 8px; }

.wsp-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: none; }
.wsp-icon svg { overflow: visible; }

/* Type styles (Figma text styles) */
.wsp-overline {
  font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase;
}

/* --- Header (desktop) ------------------------------------------------------------------------- */
.wsp-header {
  display: flex; align-items: center; gap: 40px; height: var(--wsp-header-h); padding: 0 40px;
  background: var(--wsp-white); border-bottom: 1px solid var(--wsp-rule); flex: none;
}
.wsp-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.wsp-brand__home { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wsp-motif { position: relative; flex: none; width: 22px; height: 20px; }
.wsp-motif::before, .wsp-motif::after { content: ""; position: absolute; left: 0; top: 0; background: var(--wsp-ink); }
.wsp-motif::before { width: 3px; height: 100%; }
.wsp-motif::after { left: 3px; width: calc(100% - 3px); height: 3px; }
.wsp-motif--mobile { width: 20px; height: 18px; }
.wsp-wordmark { font-size: 18px; font-weight: 900; letter-spacing: -0.8px; line-height: normal; color: var(--wsp-ink); }
.wsp-brand__by { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp-brand__by a { text-decoration: none; }
.wsp-brand__by a:hover { color: var(--wsp-ink); }

.wsp-nav { display: flex; align-items: flex-start; gap: 24px; flex: 1 1 0; min-width: 0; overflow: hidden; }
.wsp-nav__item {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-width: 80px; height: var(--wsp-header-h); padding: 0 4px; flex: none;
  font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); text-decoration: none; white-space: nowrap;
}
.wsp-nav__item:hover { color: var(--wsp-ink); }
.wsp-nav__item[aria-current="page"] { font-weight: 600; line-height: 1.3; color: var(--wsp-ink); }
.wsp-nav__item[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wsp-ink); }

.wsp-actions { display: flex; align-items: center; gap: 24px; flex: none; }
.wsp-teams {
  display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; line-height: 1.3;
  color: var(--wsp-ink); text-decoration: none; white-space: nowrap;
}

/* Theme switch: 3 × 32 px, selected option = Ink fill */
.wsp-theme { display: inline-flex; gap: 2px; padding: 3px; background: var(--wsp-white); border: 1px solid var(--wsp-rule-strong); flex: none; }
.wsp-theme__opt {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0;
  border: 0; background: transparent; color: var(--wsp-graphite); cursor: pointer;
}
.wsp-theme__opt[aria-pressed="true"] { background: var(--wsp-ink); color: var(--wsp-white); }

/* Buttons (40 px; Primary = one per view) */
.wsp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--wsp-rule-strong); background: transparent; color: var(--wsp-ink);
  font: 600 11px/1.3 var(--wsp-font); letter-spacing: 0.66px; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.wsp-btn:hover { border-color: var(--wsp-ink); }
.wsp-btn--primary { background: var(--wsp-ink); border-color: var(--wsp-ink); color: var(--wsp-white); }
.wsp-btn--paper { background: var(--wsp-stone); border-color: var(--wsp-stone); color: var(--wsp-ink); }

.wsp-badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; background: var(--wsp-lime);
  color: var(--wsp-on-lime); font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase;
}

.wsp-link-arrow {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; line-height: 1.35;
  color: var(--wsp-ink); text-decoration: none;
}
.wsp-link-arrow:hover { text-decoration: underline; }

/* --- Mobile app bar + tab bar + More sheet ------------------------------------------------------ */
.wsp-appbar, .wsp-tabbar { display: none; }
.wsp-iconbtn {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; flex: none;
  border: 0; background: transparent; color: var(--wsp-ink); cursor: pointer;
}

.wsp-more { display: none; }

@media (max-width: 899px) {
  .wsp-header { display: none; }
  .wsp-appbar {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
    min-height: var(--wsp-appbar-h); padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top));
    background: var(--wsp-white); border-bottom: 1px solid var(--wsp-rule);
  }
  .wsp-appbar__home { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; text-decoration: none; }
  .wsp-appbar .wsp-wordmark { font-size: 16px; letter-spacing: -0.6px; }

  .wsp-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: flex-start;
    padding-bottom: max(8px, env(safe-area-inset-bottom)); background: var(--wsp-white); border-top: 1px solid var(--wsp-rule);
  }
  .wsp-tab {
    position: relative; display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; height: var(--wsp-tabbar-h); min-width: 0; padding: 0; border: 0; background: transparent;
    font: 400 14px/20px var(--wsp-font); color: var(--wsp-graphite); text-decoration: none; cursor: pointer;
  }
  .wsp-tab[aria-current="page"], .wsp-tab[aria-expanded="true"] { font-weight: 500; color: var(--wsp-ink); }
  .wsp-tab[aria-current="page"]::before, .wsp-tab[aria-expanded="true"]::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 32px; height: 2px; margin-left: -16px; background: var(--wsp-ink);
  }
  body.wsp { padding-bottom: calc(var(--wsp-tabbar-h) + 25px); }
  body.wsp-more-open .wsp-tab[aria-current="page"] { font-weight: 400; color: var(--wsp-graphite); }
  body.wsp-more-open .wsp-tab[aria-current="page"]::before { display: none; }

  .wsp-more:not([hidden]) {
    position: fixed; z-index: 25; left: 0; right: 0; top: var(--wsp-appbar-h); bottom: 0;
    display: block; overflow-y: auto; background: var(--wsp-paper);
    padding-bottom: calc(var(--wsp-tabbar-h) + max(8px, env(safe-area-inset-bottom)) + 1px);
  }
  .wsp-more__inner { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
  .wsp-more__group, .wsp-more__appearance { background: var(--wsp-white); border: 1px solid var(--wsp-rule); }
  .wsp-more__group .wsp-overline { padding: 12px 16px; color: var(--wsp-graphite); }
  .wsp-more__item {
    display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px;
    border-top: 1px solid var(--wsp-rule); font-size: 14px; line-height: 20px; text-decoration: none;
  }
  .wsp-more__appearance { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; }
  .wsp-more__appearance .wsp-overline { color: var(--wsp-graphite); }
  .wsp-more__hint { font-size: 14px; line-height: 20px; }
  .wsp-more__teams { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #0b0b0b; color: #ecebe5; }
  .wsp-more__teams-title { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.5px; }
  .wsp-more__teams p:not(.wsp-more__teams-title) { font-size: 12px; line-height: 1.35; color: #a8a79f; }
  .wsp-more__teams .wsp-btn--paper { background: #eae8e1; border-color: #eae8e1; color: #0b0b0b; }
}

/* --- Footers ---------------------------------------------------------------------------------- */
.wsp-footer {
  display: flex; flex-direction: column; gap: 24px; padding: 40px; flex: none;
  background: var(--wsp-white); border-top: 1px solid var(--wsp-rule);
}
.wsp-footer__cols { display: flex; gap: 40px; align-items: flex-start; }
.wsp-footer__about { display: flex; flex-direction: column; gap: 12px; width: 420px; flex: none; }
.wsp-footer__about p { font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wsp-footer__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wsp-footer__col { display: flex; flex-direction: column; gap: 12px; flex: 1 1 0; min-width: 0; }
.wsp-footer__col .wsp-overline { color: var(--wsp-graphite); }
.wsp-footer__col a { font-size: 14px; line-height: 1.45; text-decoration: none; white-space: nowrap; }
.wsp-footer__col a:hover, .wsp-footer-slim a:hover { text-decoration: underline; }
.wsp-footer__bottom {
  display: flex; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--wsp-rule);
  font-size: 12px; line-height: 1.35;
}
.wsp-footer__bottom p { flex: 1 1 0; min-width: 0; color: var(--wsp-graphite); }
.wsp-footer__bottom p a { text-decoration: none; }
.wsp-footer__teams { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; text-decoration: none; white-space: nowrap; }

.wsp-footer-slim {
  display: flex; align-items: center; gap: 24px; height: 40px; padding: 0 24px; flex: none;
  background: var(--wsp-white); border-top: 1px solid var(--wsp-rule); font-size: 12px; line-height: 1.35; white-space: nowrap;
}
.wsp-footer-slim__copy, .wsp-footer-slim__time { color: var(--wsp-graphite); }
.wsp-footer-slim__copy a { text-decoration: none; }
.wsp-footer-slim__links { display: flex; gap: 16px; flex: 1 1 0; min-width: 0; overflow: hidden; }
.wsp-footer-slim__links a, .wsp-footer-slim__all { text-decoration: none; }
.wsp-footer-slim__all { font-weight: 500; }

@media (max-width: 1100px) {
  .wsp-footer__cols { flex-wrap: wrap; }
  .wsp-footer__about { width: 100%; }
}
@media (max-width: 899px) {
  .wsp-footer { padding: 24px 16px; }
  .wsp-footer__cols { gap: 24px 16px; }
  .wsp-footer__col { flex: 1 1 40%; }
  .wsp-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wsp-footer-slim { display: none; }
}

/* --- Content page template (Methodology frame 420:2516; all trust pages) ------------------------- */
.wsp-page { display: flex; justify-content: center; padding: 32px 40px 64px; }
.wsp-page__container { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 1200px; min-width: 0; }
.wsp-page__title { display: flex; flex-direction: column; gap: 8px; }
.wsp-page__title h1 { font-size: 40px; font-weight: 700; line-height: 44px; letter-spacing: -1.5px; }
.wsp-page__title p { font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wsp-page__cols { display: flex; gap: 32px; align-items: flex-start; }
.wsp-page__body { display: flex; flex-direction: column; gap: 24px; flex: 1 1 0; min-width: 0; }

.wsp-toc {
  position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; width: 264px; flex: none;
  padding: 24px; background: var(--wsp-white); border: 1px solid var(--wsp-rule);
}
.wsp-toc .wsp-overline { margin-bottom: 0; }
.wsp-toc a {
  display: flex; align-items: center; min-height: 36px; padding: 6px 12px; border-left: 2px solid transparent;
  font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); text-decoration: none;
}
.wsp-toc a:hover { color: var(--wsp-ink); }
.wsp-toc a[aria-current="true"] { background: var(--wsp-stone); border-left-color: var(--wsp-ink); font-weight: 600; line-height: 1.3; color: var(--wsp-ink); }

.wsp-card {
  display: flex; flex-direction: column; gap: 16px; padding: 24px; min-width: 0;
  background: var(--wsp-white); border: 1px solid var(--wsp-rule); scroll-margin-top: 24px;
}
.wsp-card--stone { background: var(--wsp-stone); border-color: var(--wsp-stone); }
.wsp-card__title { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-ink); }
.wsp-lead { font-size: 17px; line-height: 1.5; }
.wsp-prose { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; }
.wsp-prose p, .wsp-prose ul, .wsp-prose ol { margin: 0; }
.wsp-prose ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wsp-prose ul > li { position: relative; padding-left: 20px; }
.wsp-prose ul > li::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; background: var(--wsp-ink); }
.wsp-prose ol { padding-left: 20px; }
.wsp-prose a { text-decoration: underline; text-underline-offset: 2px; }
.wsp-prose code { font-size: 13px; }
.wsp-muted { color: var(--wsp-graphite); }

/* Trust components rendered inside the template */
.wsp .trust-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wsp .trust-info-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--wsp-paper); }
.wsp .trust-card-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.wsp .trust-card-tag { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-graphite); }
.wsp .trust-card-body { display: flex; flex-direction: column; gap: 8px; color: var(--wsp-ink); }
.wsp .trust-status-badge { font-size: 12px; color: var(--wsp-graphite); }
.wsp .trust-status-badge span { font-weight: 600; color: var(--wsp-ink); }
.wsp .trust-muted-note { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp .trust-mail-link { font-weight: 500; }
.wsp .trust-disclaimer-box { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--wsp-stone); }
.wsp .trust-disclaimer-label { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; }
.wsp .trust-disclaimer-text { display: flex; flex-direction: column; gap: 8px; color: var(--wsp-graphite); }
.wsp .trust-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wsp .trust-link-card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--wsp-paper);
  border: 1px solid transparent; text-decoration: none;
}
.wsp .trust-link-card:hover { border-color: var(--wsp-ink); }
.wsp .trust-link-card-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.wsp .trust-link-card-desc { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp .trust-link-card-cta { font-size: 12px; font-weight: 500; }
.wsp .trust-color-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wsp .trust-color-list li { display: flex; align-items: center; gap: 8px; padding-left: 0; }
.wsp .trust-color-list li::before { display: none; }
.wsp .trust-swatch { width: 16px; height: 16px; border: 1px solid var(--wsp-rule); flex: none; }

/* Forms (contact, correction): fluid field, label inside, 1 px graphite bottom border */
.wsp .trust-form { display: flex; flex-direction: column; gap: 16px; }
.wsp .trust-form-field { display: flex; flex-direction: column; gap: 4px; }
.wsp .trust-form-field > span, .wsp .trust-form-field > label {
  font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-graphite);
}
.wsp .trust-form input[type="text"], .wsp .trust-form input[type="email"], .wsp .trust-form input[type="url"],
.wsp .trust-form input[type="number"], .wsp .trust-form textarea, .wsp .trust-form select {
  width: 100%; min-height: 48px; padding: 12px; border: 0; border-bottom: 1px solid var(--wsp-graphite);
  background: var(--wsp-paper); color: var(--wsp-ink); font: 400 14px/1.45 var(--wsp-font); border-radius: 0;
}
.wsp .trust-form textarea { min-height: 120px; resize: vertical; }
.wsp .trust-form input:focus-visible, .wsp .trust-form textarea:focus-visible { box-shadow: none; border-bottom: 2px solid var(--wsp-ink); }
.wsp .trust-form-submit {
  align-self: flex-start; height: 40px; padding: 0 16px; border: 1px solid var(--wsp-ink); background: var(--wsp-ink); color: var(--wsp-white);
  font: 600 11px/1.3 var(--wsp-font); letter-spacing: 0.66px; text-transform: uppercase; cursor: pointer;
}
.wsp .trust-form-note, .wsp .trust-form-about { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp .trust-form-error { padding: 12px 16px; border-left: 2px solid var(--wsp-critical); background: var(--wsp-stone); }
.wsp .trust-form-done { padding: 16px; background: var(--wsp-stone); }
.wsp .trust-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Tables (source types etc.) */
.wsp-table-card { padding: 0; gap: 0; }
.wsp-table-card > .wsp-card__title, .wsp-table-card > .wsp-card__head { padding: 16px 24px; }
.wsp-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.wsp-table th {
  height: 40px; padding: 0 24px; text-align: left; background: var(--wsp-paper); border-top: 1px solid var(--wsp-rule); border-bottom: 1px solid var(--wsp-rule);
  font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-graphite);
}
.wsp-table td { height: 56px; padding: 8px 24px; border-bottom: 1px solid var(--wsp-rule); vertical-align: middle; }
.wsp-table td:first-child { font-weight: 600; line-height: 1.3; }

@media (max-width: 899px) {
  .wsp-page { padding: 16px 16px 32px; }
  .wsp-page__title h1 { font-size: 28px; line-height: 32px; letter-spacing: -1px; }
  .wsp-page__cols { flex-direction: column; gap: 16px; }
  .wsp-page__body { align-self: stretch; }
  .wsp-toc { position: static; width: 100%; padding: 16px; }
  .wsp-card { padding: 16px; }
  .wsp-table-card > .wsp-card__title { padding: 16px; }
  .wsp-table th, .wsp-table td { padding-left: 16px; padding-right: 16px; }
}

/* Lead paragraph block at the top of a trust page */
.wsp .trust-lead-wrap {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  background: var(--wsp-white); border: 1px solid var(--wsp-rule); font-size: 14px; line-height: 1.45;
}
.wsp .trust-lead { font-size: 17px; line-height: 1.5; }
.wsp .trust-lead-wrap a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Report, region, feed and briefing pages (Figma 420:2167, 420:2284, 420:2426, 421:1434, 421:1751) --- */
.wsp-icon--flip svg { transform: scaleX(-1); }
.wsp-glyph { display: inline-flex; width: 18px; height: 18px; flex: none; color: var(--wsp-ink); }
.wsp-mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.4; }
.wsp-small { font-size: 12px; line-height: 1.35; }
.wsp-h1 { font-size: 40px; font-weight: 700; line-height: 44px; letter-spacing: -1.5px; }
.wsp-page__container--narrow { max-width: 1000px; }
.wsp-page__container--wide { max-width: 1360px; }

.wsp-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--wsp-muted); }
.wsp-crumbs a { text-decoration: none; }
.wsp-crumbs a:hover { color: var(--wsp-ink); text-decoration: underline; }
.wsp-crumbs [aria-current="page"] { font-weight: 500; color: var(--wsp-ink); }

.wsp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wsp-typechip {
  display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; background: var(--wsp-white);
  border: 1px solid var(--wsp-rule-strong); font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px;
}
.wsp-badge--stone { background: var(--wsp-stone); color: var(--wsp-ink); }
.wsp-badge--outline { background: transparent; border: 1px solid var(--wsp-rule-strong); color: var(--wsp-graphite); }

.wsp-facts { display: flex; margin: 0; background: var(--wsp-white); border: 1px solid var(--wsp-rule); }
.wsp-fact { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; padding: 16px 24px; }
.wsp-fact + .wsp-fact { border-left: 1px solid var(--wsp-rule); }
.wsp-fact dt { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-graphite); }
.wsp-fact dd { margin: 0; }
.wsp-fact__value { font-size: 14px; font-weight: 600; line-height: 1.3; }
.wsp-fact__value a { text-decoration: none; }
.wsp-fact__value a:hover { text-decoration: underline; }
.wsp-fact__note { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }

.wsp-cols { display: flex; gap: 24px; align-items: flex-start; }
.wsp-cols__main { display: flex; flex-direction: column; gap: 24px; flex: 1 1 0; min-width: 0; }
.wsp-cols__side { display: flex; flex-direction: column; gap: 24px; width: 360px; flex: none; }

.wsp-card__head { display: flex; align-items: center; gap: 12px; }
.wsp-card__head .wsp-card__title { flex: 1 1 0; }
.wsp-card__eyebrow { font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: 0.88px; text-transform: uppercase; color: var(--wsp-graphite); }
.wsp-card__heading { font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.3px; }
.wsp-card--list { padding: 24px 0 0; gap: 0; }
.wsp-card--list > .wsp-card__title, .wsp-card--list > .wsp-card__head { padding: 0 24px 16px; }
.wsp-card__more { padding: 16px 24px; }
.wsp-note { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp-empty { padding: 16px 24px; color: var(--wsp-graphite); }
.wsp-link-arrow--big { font-size: 14px; gap: 6px; }
.wsp-link-arrow--body { font-size: 14px; line-height: 20px; }
.wsp-btn--start { align-self: flex-start; }
.wsp-btn--disabled { opacity: 0.45; cursor: default; }

.wsp-source { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--wsp-paper); }
.wsp-source__text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; }
.wsp-source__title { font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.wsp-update { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--wsp-rule); }
.wsp-update strong { width: 80px; font-size: 14px; font-weight: 600; line-height: 1.3; }

.wsp-rows { margin: 0; padding: 0; list-style: none; }
.wsp-row { display: flex; gap: 12px; align-items: flex-start; padding: 16px 24px; border-top: 1px solid var(--wsp-rule); }
.wsp-row__glyph { display: flex; align-items: center; height: 20px; width: 16px; flex: none; }
.wsp-row__glyph .wsp-glyph { margin-left: -1px; }
.wsp-row__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; }
.wsp-row__title { font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.wsp-row__title:hover { text-decoration: underline; }
.wsp-row__meta { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp-row__date { width: 96px; flex: none; padding-top: 1px; }

.wsp-prevnext { display: flex; gap: 16px; }
.wsp-prevnext a {
  display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; padding: 16px 24px;
  background: var(--wsp-white); border: 1px solid var(--wsp-rule); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.wsp-prevnext a:hover { border-color: var(--wsp-ink); }
.wsp-prevnext .wsp-overline { color: var(--wsp-graphite); }
.wsp-prevnext__next { text-align: right; align-items: flex-end; }

.wsp-teaser { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #0b0b0b; color: #ffffff; }
.wsp-teaser__eyebrow { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-lime); }
.wsp-teaser__title { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.085px; }
.wsp-teaser__body { font-size: 12px; line-height: 1.35; color: #a8a79f; }
.wsp-teaser__link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; line-height: 1.35; color: #ffffff; text-decoration: none; }
html[data-ws-theme="dark"] .wsp-teaser { background: #000000; border: 1px solid var(--wsp-rule); }

.wsp-share { display: flex; flex-wrap: wrap; gap: 8px; }
.wsp .feed-panel-trust-note { display: flex; flex-direction: column; gap: 8px; padding: 16px 24px; font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); border: 1px solid var(--wsp-rule); }
.wsp .feed-panel-trust-note p { margin: 0; }
.wsp .feed-panel-trust-note a { color: var(--wsp-ink); }

/* Ink map figure (static; the map is Ink in both themes) */
.wsp-mapfig { position: relative; margin: 0; overflow: hidden; background: var(--wsp-map-land); border: 1px solid var(--wsp-map-line); }
.wsp-mapfig__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--wsp-map-sage) 1px, transparent 1px), linear-gradient(90deg, var(--wsp-map-sage) 1px, transparent 1px);
  background-size: 100px 85px; background-position: -1px 84px;
}
.wsp-mapfig__area {
  position: absolute; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; pointer-events: none;
  background: rgba(236, 235, 229, 0.08); border: 1.5px dashed var(--wsp-map-ink);
}
.wsp-mapfig__marker { position: absolute; margin: -9px 0 0 -9px; opacity: 0.7; }
.wsp-mapfig__marker--lead { opacity: 1; z-index: 1; }
.wsp-mapfig__marker .wsp-glyph { color: var(--wsp-map-ink); }
.wsp-mapfig .wsp-mapfig__live { position: absolute; inset: 0; z-index: 2; }
.wsp-mapfig--live .wsp-mapfig__grid, .wsp-mapfig--live .wsp-mapfig__area, .wsp-mapfig--live .wsp-mapfig__marker { visibility: hidden; }
.wsp-mapfig .maplibregl-ctrl-attrib { background: rgba(24, 24, 23, 0.8); color: #a8a79f; font: 400 11px/1.3 var(--wsp-font); }
.wsp-mapfig .maplibregl-ctrl-attrib a { color: #ecebe5; }
.wsp-mapfig__caption {
  position: absolute; z-index: 3; left: 15px; bottom: 15px; display: flex; flex-direction: column; gap: 4px; padding: 10px 14px 12px;
  background: var(--wsp-map-panel); border: 1px solid var(--wsp-map-line); color: var(--wsp-map-ink);
}
.wsp-mapfig__caption strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
.wsp-mapfig__caption span { font-size: 12px; line-height: 1.35; color: var(--wsp-map-text); }

/* Region page */
.wsp-region-head { display: flex; align-items: flex-end; gap: 24px; }
.wsp-region-head .wsp-page__title { flex: 1 1 0; min-width: 0; }
.wsp-stats { display: flex; gap: 24px; }
.wsp-stat { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; padding: 24px; background: var(--wsp-white); border: 1px solid var(--wsp-rule); }
.wsp-stat__value { font-size: 32px; font-weight: 700; line-height: 36px; letter-spacing: -1px; }
.wsp-faq details { border-top: 1px solid var(--wsp-rule); padding: 12px 0; }
.wsp-faq summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.wsp-faq summary::-webkit-details-marker { display: none; }
.wsp-faq summary h3 { flex: 1 1 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.wsp-faq details[open] summary .wsp-icon { transform: rotate(180deg); }
.wsp-faq details p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wsp-regionchips { display: flex; flex-wrap: wrap; gap: 8px; }
.wsp-regionchips a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; background: var(--wsp-white);
  border: 1px solid var(--wsp-rule-strong); font-size: 12px; font-weight: 500; line-height: 1.35; text-decoration: none; white-space: nowrap;
}
.wsp-regionchips a:hover { border-color: var(--wsp-ink); }

/* Regions index */
.wsp-regiongrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.wsp-regioncard { gap: 12px; }
.wsp-regioncard__name { font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.3px; }
.wsp-regioncard__name a { text-decoration: none; }
.wsp-regioncard__counts { display: flex; gap: 24px; }
.wsp-regioncard__counts p { display: flex; flex-direction: column; }
.wsp-regioncard__counts strong { font-size: 32px; font-weight: 700; line-height: 36px; letter-spacing: -1px; }
.wsp-regioncard__counts span { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp-bars { display: flex; align-items: flex-end; gap: 4px; height: 24px; }
.wsp-bars span { width: 14px; background: var(--wsp-rule-strong); }
.wsp-bars .wsp-bars__today { background: var(--wsp-ink); }
.wsp-regioncard__chart { display: flex; flex-direction: column; gap: 6px; }
.wsp .wsp-regioncard__latest {
  font-size: 14px; line-height: 20px; min-height: 60px; margin-bottom: -8px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.wsp-regioncard > .wsp-link-arrow { margin-top: auto; }
.wsp-regioncard__latest a { text-decoration: none; }
.wsp-regioncard__latest a:hover { text-decoration: underline; }

/* Live feed */
.wsp-feedcols { display: flex; gap: 24px; align-items: flex-start; }
.wsp-filters { width: 280px; flex: none; position: sticky; top: 24px; }
.wsp-filters__form { display: flex; flex-direction: column; gap: 16px; }
.wsp-feedcols__side { display: flex; flex-direction: column; gap: 24px; width: 340px; flex: none; }
.wsp-feed { flex: 1 1 0; min-width: 0; padding: 0; }
.wsp-feed__head { display: flex; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--wsp-rule); }
.wsp-feed__title { flex: 1 1 0; font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.3px; }
.wsp-feed__more { display: flex; justify-content: center; padding: 16px; border-top: 1px solid var(--wsp-rule); }
.wsp-feed__more a { font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; }

.wsp-seg { display: flex; gap: 4px; padding: 4px; background: var(--wsp-white); border: 1px solid var(--wsp-rule-strong); align-self: flex-start; }
.wsp-seg__opt { display: flex; align-items: center; justify-content: center; width: 48px; height: 40px; font-size: 12px; line-height: 1.35; text-decoration: none; }
.wsp-seg__opt[aria-current="true"] { background: var(--wsp-ink); color: var(--wsp-white); font-weight: 500; }
.wsp-checks { display: flex; flex-direction: column; gap: 8px; }
.wsp-check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 20px; font-size: 14px; line-height: 20px; cursor: pointer; }
.wsp-check input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.wsp-check__box { width: 16px; height: 16px; flex: none; border: 1.5px solid var(--wsp-ink); }
.wsp-check__box { position: relative; }
.wsp-check input:checked + .wsp-check__box { background: var(--wsp-ink); }
.wsp-check input:checked + .wsp-check__box::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid var(--wsp-white); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg);
}
.wsp-check input:focus-visible + .wsp-check__box { box-shadow: var(--wsp-focus); }
.wsp-check__label { flex: 1 1 0; }
.wsp-check__count { font-size: 12px; color: var(--wsp-graphite); }
.wsp-countchips { display: flex; flex-wrap: wrap; gap: 8px; }
.wsp-countchip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--wsp-rule-strong);
  font-size: 13px; line-height: 18px; text-decoration: none; white-space: nowrap;
}
.wsp-countchip span { color: var(--wsp-graphite); }
.wsp-countchip[aria-current="true"] { background: var(--wsp-ink); border-color: var(--wsp-ink); color: var(--wsp-white); }
.wsp-countchip[aria-current="true"] span { color: inherit; opacity: 0.8; }
.wsp-field { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; background: var(--wsp-paper); border-bottom: 1px solid var(--wsp-graphite); }
.wsp-field > span { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-graphite); }
.wsp-field input { border: 0; padding: 0; background: transparent; color: var(--wsp-ink); font: 600 14px/1.3 var(--wsp-font); min-width: 0; }
.wsp-field input::placeholder { color: var(--wsp-graphite); font-weight: 400; }
.wsp-field:focus-within { border-bottom: 2px solid var(--wsp-ink); padding-bottom: 7px; }
.wsp-field input:focus-visible { box-shadow: none; }
.wsp-filters__apply { width: 100%; }

/* Feed item (Figma "Public report item") */
.wsp-item { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--wsp-rule); background: var(--wsp-white); }
.wsp-feed__list .wsp-item { padding: 16px 24px 16px 16px; }
.wsp-item__glyph { display: flex; align-items: center; justify-content: center; width: 20px; height: 24px; flex: none; }
.wsp-item__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; }
.wsp-item__time { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 20px; }
.wsp-item__title { font-size: 17px; font-weight: 600; line-height: 24px; letter-spacing: -0.1px; }
.wsp-item__title a { text-decoration: none; }
.wsp-item__title a::after { content: ""; position: absolute; inset: 0; }
.wsp-item:hover { background: var(--wsp-stone); }
.wsp-item__meta { font-size: 14px; line-height: 20px; color: var(--wsp-graphite); }
.wsp-item--old .wsp-item__time, .wsp-item--old .wsp-item__title { color: var(--wsp-graphite); }
.wsp-item--selected { background: var(--wsp-stone); }
.wsp-item--selected::before { content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 3px; background: var(--wsp-ink); }
.wsp-new { display: inline-flex; padding: 2px 6px; background: var(--wsp-lime); color: var(--wsp-on-lime); font-size: 13px; font-weight: 600; line-height: 18px; }

/* Mobile feed-first bar: time/type summary + region count chips (filters panel follows the list) */
.wsp-feedbar { display: none; }
@media (max-width: 899px) {
  .wsp-feedbar { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .wsp-feedbar::-webkit-scrollbar { display: none; }
  .wsp-feedbar .wsp-countchip { flex: none; height: 40px; background: var(--wsp-white); }
  .wsp-feedbar .wsp-countchip[aria-current="true"] { background: var(--wsp-ink); }
  .wsp-feedbar__filters { font-weight: 600; }
  .wsp-live .wsp-feed { order: 1; }
  .wsp-live .wsp-filters { order: 2; scroll-margin-top: 72px; }
  .wsp-live .wsp-region-head { gap: 8px; }
}

/* Daily briefing */
.wsp-daynav { display: flex; align-items: center; gap: 12px; }
.wsp-daynav__date { font-size: 14px; font-weight: 600; line-height: 1.3; }
.wsp-table .wsp-num { text-align: right; }
.wsp-table td a { text-decoration: none; }
.wsp-table td a:hover { text-decoration: underline; }
.wsp-prose--article h3 { margin: 8px 0 0; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.5px; }
.wsp-row--briefing .wsp-row__meta { font-size: 14px; line-height: 1.45; }

@media (max-width: 1200px) {
  .wsp-regiongrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wsp-feedcols__side { display: none; }
}
@media (max-width: 899px) {
  .wsp-h1 { font-size: 28px; line-height: 32px; letter-spacing: -1px; }
  .wsp-facts { flex-direction: column; }
  .wsp-fact + .wsp-fact { border-left: 0; border-top: 1px solid var(--wsp-rule); }
  .wsp-fact { padding: 12px 16px; }
  .wsp-cols, .wsp-feedcols, .wsp-region-head { flex-direction: column; align-items: stretch; }
  .wsp-cols__side, .wsp-filters { width: 100%; position: static; }
  .wsp-stats { flex-wrap: wrap; gap: 12px; }
  .wsp-stat { flex: 1 1 40%; padding: 16px; }
  .wsp-stat__value { font-size: 24px; line-height: 28px; }
  .wsp-regiongrid { grid-template-columns: 1fr; gap: 12px; }
  .wsp-row { padding: 12px 16px; }
  .wsp-card--list > .wsp-card__title, .wsp-card--list > .wsp-card__head { padding: 0 16px 12px; }
  .wsp-card--list { padding-top: 16px; }
  .wsp-card__more { padding: 12px 16px; }
  .wsp-source { flex-direction: column; align-items: flex-start; gap: 8px; }
  .wsp-mapfig { height: 220px !important; }
  .wsp-prevnext { flex-direction: column; }
  .wsp-feed__list .wsp-item { padding: 16px; }
  .wsp-card--list.wsp-feed { padding: 0; }
  .wsp-feed__head { padding: 16px; }
  .wsp-table th:nth-child(4), .wsp-table td:nth-child(4) { display: none; }
}

/* --- Home · app mode (Figma 412:4, 413:338, 414:423, 415:2331) ---------------------------------- */
body.wsp-home { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.wsh-main { flex: 1 1 auto; min-height: 0; display: flex; }
.wsh { display: flex; flex: 1 1 auto; min-width: 0; min-height: 0; background: var(--wsp-white); }
.wsh-mapcol { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; min-height: 0; }

.wsh-toolbar {
  display: flex; align-items: center; gap: 12px; padding: 8px 16px; flex: none;
  background: var(--wsp-white); border-bottom: 1px solid var(--wsp-rule);
}
.wsh-toolbar .wsp-seg { flex: none; }
.wsh-toolbar .wsp-seg__opt { border: 0; background: transparent; color: var(--wsp-ink); font: 400 12px/1.35 var(--wsp-font); cursor: pointer; }
.wsh-toolbar .wsp-seg__opt[aria-pressed="true"] { background: var(--wsp-ink); color: var(--wsp-white); font-weight: 500; }
.wsh-regions { position: relative; flex: none; }
.wsh-select {
  display: flex; align-items: center; gap: 8px; width: 180px; height: 48px; padding: 8px 12px; border: 0;
  border-bottom: 1px solid var(--wsp-graphite); background: var(--wsp-paper); color: var(--wsp-ink); text-align: left; cursor: pointer;
}
.wsh-select__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 0; font-weight: 600; line-height: 1.3; }
.wsh-select__label { font-size: 11px; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-graphite); }
.wsh-select__value { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsh-select .wsp-icon { color: var(--wsp-graphite); }
.wsh-menu {
  position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; width: 300px; display: flex; flex-direction: column; gap: 8px; padding: 12px;
  background: var(--wsp-white); border: 1px solid var(--wsp-rule-strong); box-shadow: 0 12px 32px rgba(11, 11, 11, 0.14), 0 2px 4px rgba(11, 11, 11, 0.08);
}
.wsh-menu[hidden] { display: none; }
.wsh-menu__actions { display: flex; gap: 16px; }
.wsh-menu__actions button, .wsh-only { border: 0; padding: 0; background: none; color: var(--wsp-ink); font: 500 12px/1.35 var(--wsp-font); text-decoration: underline; cursor: pointer; }
.wsh-menu__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.wsh-menu__list li { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.wsh-menu__list li[hidden] { display: none; }
.wsh-menu__list .wsp-check { flex: 1 1 0; }
.wsh-only { opacity: 0; }
.wsh-menu__list li:hover .wsh-only, .wsh-only:focus-visible { opacity: 1; }
.wsh-search { flex: 1 1 0; min-width: 0; height: 48px; justify-content: center; }
.wsh-search__icon { display: none; }
.wsh-fit { flex: none; }

.wsh-stage { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; background: var(--wsp-map-water); }
.wsh-stage .wsh-map { position: absolute; inset: 0; }
.wsh-stage .wsh-map .maplibregl-ctrl-attrib, .wsp-mapfig .maplibregl-ctrl-attrib { background: rgba(24, 24, 23, 0.8); color: var(--wsp-map-text); font: 400 11px/1.3 var(--wsp-font); }
.wsh-stage .wsh-map .maplibregl-ctrl-attrib a, .wsp-mapfig .maplibregl-ctrl-attrib a { color: var(--wsp-map-ink); }
.wsh-stage .wsh-map .maplibregl-ctrl-attrib-button, .wsp-mapfig .maplibregl-ctrl-attrib-button { filter: invert(1); }
/* MapLibre paints the opened credit white (.maplibregl-compact-show); keep it Ink so the light link stays readable. */
.wsh-stage .wsh-map .maplibregl-ctrl.maplibregl-ctrl-attrib, .wsp-mapfig .maplibregl-ctrl.maplibregl-ctrl-attrib,
.wsh-stage .wsh-map .maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact-show, .wsp-mapfig .maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact-show {
  background: rgba(24, 24, 23, 0.85); color: var(--wsp-map-text);
}
.wsh-stage .wsh-map .maplibregl-ctrl-attrib a, .wsp-mapfig .maplibregl-ctrl-attrib a { color: var(--wsp-map-ink); text-decoration: underline; text-underline-offset: 2px; }

.wsh-intro {
  position: absolute; left: 16px; bottom: 124px; z-index: 5; width: 340px; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px;
  background: var(--wsp-map-raised); border: 1px solid var(--wsp-map-sage); color: var(--wsp-map-ink);
}
.wsh-intro[hidden] { display: none; }
.wsh-intro__title { font-size: 16px; font-weight: 600; line-height: 24px; }
.wsh-intro__body { font-size: 12px; line-height: 1.35; color: var(--wsp-map-text); }
.wsh-intro__actions { display: flex; gap: 16px; font-size: 14px; line-height: 20px; }
.wsh-intro__actions button { padding: 0; border: 0; background: none; color: var(--wsp-map-ink); font: 500 14px/20px var(--wsp-font); cursor: pointer; }
.wsh-intro__actions a { color: var(--wsp-map-text); text-decoration: none; }

.wsh-legend {
  position: absolute; left: 16px; bottom: 56px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; max-width: calc(100% - 96px);
  background: var(--wsp-map-raised); border: 1px solid var(--wsp-map-line);
}
.wsh-type {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; background: var(--wsp-map-raised);
  border: 1px solid var(--wsp-map-ink); color: var(--wsp-map-ink); font: 600 13px/18px var(--wsp-font); cursor: pointer;
}
.wsh-type .wsp-glyph { color: var(--wsp-map-ink); }
.wsh-type[aria-pressed="false"] { border-color: var(--wsp-map-line); background: transparent; color: var(--wsp-map-text); opacity: 0.55; }
.wsh-type[aria-pressed="false"] .wsp-glyph { color: var(--wsp-map-text); }
.wsh-type:focus-visible { box-shadow: 0 0 0 2px var(--wsp-lime); }
.wsh-legend__rule { width: 1px; height: 20px; background: var(--wsp-map-line); }
.wsh-legend__note { font-size: 12px; line-height: 1.35; color: var(--wsp-map-text); }
.wsh-zoom { position: absolute; right: 16px; bottom: 58px; z-index: 5; display: flex; flex-direction: column; background: var(--wsp-map-raised); border: 1px solid var(--wsp-map-line); }
.wsh-zoom button { width: 40px; height: 40px; border: 0; background: none; color: var(--wsp-map-ink); font: 600 16px/24px var(--wsp-font); cursor: pointer; }
.wsh-zoom button:focus-visible { box-shadow: inset 0 0 0 2px var(--wsp-lime); }

.wsh-timeline { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 12px 20px 16px; background: var(--wsp-map-land); }
.wsh-timeline__head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--wsp-map-text); }
.wsh-timeline__now { color: var(--wsp-map-ink); }
.wsh-bars { display: flex; align-items: flex-end; gap: 3px; height: 44px; }
.wsh-bars span { flex: 1 1 0; min-width: 1px; background: var(--wsp-map-sage); }
.wsh-bars .wsh-bars__now { background: var(--wsp-map-ink); }
.wsh-bars { cursor: pointer; touch-action: none; user-select: none; }
.wsh-bars span:hover { background: var(--wsp-map-text); }
.wsh-bars .wsh-bars__sel { background: var(--wsp-lime); }
.wsh-timeline__clear { padding: 0; border: 0; background: none; color: var(--wsp-map-ink); font: 500 12px/1.35 var(--wsp-font); text-decoration: underline; cursor: pointer; }

/* Report drawer: 480 px between map and feed */
.wsh-drawer { display: flex; flex-direction: column; width: 480px; flex: none; min-height: 0; background: var(--wsp-white); border-left: 1px solid var(--wsp-rule); outline: none; }
.wsh-drawer[hidden] { display: none; }
.wsh-drawer__bar { display: flex; align-items: center; gap: 8px; height: 65px; padding: 0 16px; flex: none; border-bottom: 1px solid var(--wsp-rule); }
.wsh-drawer__id { flex: 1 1 0; }
.wsh-drawer__keys { margin-right: 4px; }
.wsh-iconbtn {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; flex: none;
  border: 1px solid var(--wsp-rule-strong); background: var(--wsp-white); color: var(--wsp-ink); font: 500 16px/1 var(--wsp-font); cursor: pointer;
}
.wsh-drawer__full { margin-left: 8px; font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; white-space: nowrap; }
.wsh-drawer__body { display: flex; flex-direction: column; gap: 20px; padding: 20px 24px 32px; overflow-y: auto; background: var(--wsp-paper); flex: 1 1 auto; }
.wsh-drawer__title { font-size: 22px; font-weight: 600; line-height: 28px; letter-spacing: -0.4px; }
.wsh-drawer__facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: var(--wsp-white); border: 1px solid var(--wsp-rule); }
.wsh-drawer__facts > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px; }
.wsh-drawer__facts > div:nth-child(even) { border-left: 1px solid var(--wsp-rule); }
.wsh-drawer__facts > div:nth-child(n+3) { border-top: 1px solid var(--wsp-rule); }
.wsh-drawer__facts dt { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-graphite); }
.wsh-drawer__facts dd { margin: 0; }
.wsh-drawer__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wsh--drawer .wsh-fit { display: none; }
.wsh--drawer .wsh-search { flex: 0 0 48px; width: 48px; padding: 0; align-items: center; background: transparent; border: 1px solid var(--wsp-rule-strong); }
.wsh--drawer .wsh-search input, .wsh--drawer .wsh-search .wsh-search__label { display: none; }
.wsh--drawer .wsh-search .wsh-search__icon { display: flex; color: var(--wsp-ink); }

/* Live feed panel, 400 px */
.wsh-feed { display: flex; flex-direction: column; width: 400px; flex: none; min-height: 0; background: var(--wsp-white); border-left: 1px solid var(--wsp-rule); }
.wsh-feed__head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--wsp-rule); flex: none; }
.wsh-feed__head > div { flex: 1 1 0; min-width: 0; }
.wsh-feed__title { font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.3px; }
.wsh-feed__sub { font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsh-brief { display: flex; flex-direction: column; gap: 6px; padding: 12px 24px; border-bottom: 1px solid var(--wsp-rule); flex: none; }
.wsh-brief__row { display: flex; align-items: center; gap: 8px; }
.wsh-brief__row .wsp-overline { flex: 1 1 0; }
.wsh-brief__link { font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; white-space: nowrap; }
.wsh-countlinks { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; line-height: 20px; }
.wsh-countlinks a { display: inline-flex; gap: 4px; padding: 4px 0; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.wsh-countlinks a span { color: var(--wsp-graphite); }
.wsh-countlinks a[aria-current="true"] { border-bottom-color: var(--wsp-ink); font-weight: 500; }
.wsh-newpill { display: flex; justify-content: center; padding: 8px 0; background: var(--wsp-paper); flex: none; }
.wsh-newpill[hidden] { display: none; }
.wsh-newpill button { padding: 6px 12px; border: 0; background: var(--wsp-ink); color: var(--wsp-white); font: 500 14px/20px var(--wsp-font); cursor: pointer; }
.wsh-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.wsh-list__more { padding: 16px 24px; font-size: 14px; font-weight: 500; }
.wsh-list__more a { text-decoration: none; }
.wsh-trust { display: flex; gap: 16px; padding: 10px 24px; border-top: 1px solid var(--wsp-rule); flex: none; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.wsh-trust a { text-decoration: none; }
.wsh-teams { display: flex; align-items: center; gap: 8px; padding: 12px 24px; flex: none; background: #0f0f0e; color: #ecebe5; text-decoration: none; }
.wsh-teams__eyebrow { font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-lime); }
.wsh-teams__text { flex: 1 1 0; font-size: 14px; line-height: 20px; }

@media (max-width: 1279px) {
  .wsh-feed { width: 340px; }
  .wsh-drawer { width: 420px; }
  .wsh-fit { display: none; }
}

/* Mobile: full-bleed Ink map; the feed becomes a peek sheet that expands (Figma 415:2331) */
@media (max-width: 899px) {
  body.wsp-home { padding-bottom: 0; }
  .wsh-main { position: relative; padding-bottom: calc(var(--wsp-tabbar-h) + max(8px, env(safe-area-inset-bottom)) + 1px); }
  .wsh { position: relative; }
  .wsh-toolbar { position: absolute; z-index: 6; left: 0; right: 0; top: 0; padding: 8px; gap: 8px; background: transparent; border: 0; flex-wrap: nowrap; overflow-x: auto; }
  .wsh-toolbar .wsp-seg, .wsh-select, .wsh-search { background: var(--wsp-white); }
  .wsh-select { width: 150px; }
  /* The toolbar scrolls sideways on phones, which would clip an absolute menu: pin it to the viewport instead. */
  .wsh-menu {
    position: fixed; left: 8px; right: 8px; width: auto; top: calc(var(--wsp-appbar-h) + 64px);
    max-height: calc(100dvh - var(--wsp-appbar-h) - 64px - var(--wsp-tabbar-h) - 24px); overflow-y: auto;
  }
  .wsh-only { opacity: 1; }
  .wsh-search, .wsh-fit { display: none; }
  .wsh-timeline, .wsh-intro, .wsh-zoom { display: none; }
  .wsh-legend { bottom: auto; top: 72px; left: 8px; right: 8px; max-width: none; flex-wrap: nowrap; overflow-x: auto; padding: 6px 8px; }
  .wsh-legend__rule, .wsh-legend__note { display: none; }
  .wsh-type { flex: none; }
  .wsh-feed {
    position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; width: auto; height: 200px; border: 0; border-top: 1px solid var(--wsp-rule);
    transition: height 0.2s ease;
  }
  .wsh-feed__head { cursor: pointer; padding: 18px 16px 12px; position: relative; }
  .wsh-feed__head::before { content: ""; position: absolute; left: 50%; top: 6px; width: 36px; height: 4px; margin-left: -18px; background: var(--wsp-rule-strong); }
  .wsh--sheet-open .wsh-feed { height: 78%; }
  .wsh-brief, .wsh-trust, .wsh-teams { display: none; }
  .wsh--sheet-open .wsh-brief { display: flex; padding: 8px 16px; }
  .wsh-feed .wsp-item { padding: 12px 16px; }
  .wsh-drawer { display: none !important; }
}
.wsh--drawer .wsh-intro { display: none; }

/* Source video (click to load) */
.wsp-video__frame { position: relative; aspect-ratio: 16 / 9; background: #0b0b0b; }
.wsp-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wsp-video__play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 0; background: #0b0b0b; color: #ecebe5; font: 600 16px/1.3 var(--wsp-font); cursor: pointer;
}
.wsp-video__play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #ecebe5; margin-bottom: 6px; }
.wsp-video__play .wsp-small { color: #a8a79f; font-weight: 400; }
.wsp-video__play:focus-visible { box-shadow: inset 0 0 0 3px var(--wsp-lime); }

/* Privacy choices (Figma 222:959). Equal-weight buttons; square corners; only the switches are round. */
.wsp-consent {
  position: fixed; z-index: 60; left: 24px; bottom: 24px; width: 464px; max-width: calc(100vw - 32px);
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: var(--wsp-white); border: 1px solid var(--wsp-rule-strong); color: var(--wsp-ink);
  box-shadow: 0 12px 32px rgba(11, 11, 11, 0.14); font-family: var(--wsp-font);
}
.wsp-consent__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.085px; }
.wsp-consent__body { margin: 0; font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wsp-consent__body a { color: var(--wsp-ink); text-decoration: underline; text-underline-offset: 2px; }
.wsp-consent__choice { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--wsp-paper); }
.wsp-consent__choice > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wsp-consent__name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.wsp-consent__hint { margin: 0; font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wsp-consent__btn {
  height: 40px; padding: 0 16px; border: 0; border-radius: 0; background: var(--wsp-stone); color: var(--wsp-ink);
  font: 600 11px/1.3 var(--wsp-font); letter-spacing: 0.66px; text-transform: uppercase; cursor: pointer;
}
.wsp-consent__btn:hover { background: var(--wsp-rule); }
.wsp-consent__btn:focus-visible, .wsp-switch:focus-visible { outline: none; box-shadow: var(--wsp-focus); }
.wsp-switch {
  position: relative; flex: none; width: 40px; height: 24px; padding: 0; border: 0; border-radius: 12px;
  background: var(--wsp-rule-strong); cursor: pointer;
}
.wsp-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #ffffff; transition: transform 0.15s ease;
}
.wsp-switch[aria-checked="true"] { background: var(--wsp-ink); }
.wsp-switch[aria-checked="true"]::after { transform: translateX(16px); }
html[data-ws-theme="dark"] .wsp-switch[aria-checked="true"]::after { background: #0b0b0b; }
@media (prefers-color-scheme: dark) { html[data-ws-theme="system"] .wsp-switch[aria-checked="true"]::after { background: #0b0b0b; } }
.wsp-switch:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 899px) {
  .wsp-consent {
    left: 8px; right: 8px; width: auto; max-width: none; padding: 20px; gap: 12px;
    bottom: calc(var(--wsp-tabbar-h) + 8px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) { .wsp-switch::after { transition: none; } }
@media print { .wsp-consent { display: none; } }

/* /teams — WarStrikes for teams (Figma 21 · Discover, 67:31 / 71:26) in the v3.2 chrome. */
.wst { --wst-pad: 64px; }
.wsp .wst-wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--wst-pad); }
.wst-muted { color: var(--wsp-graphite); }
.wsp .wst-lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--wsp-graphite); max-width: 750px; }
.wsp .wst-lead--wide { max-width: 1232px; margin-top: 32px; }
.wsp .wst-note { margin: 24px 0 0; font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wst-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.wst-btn { height: 48px; padding: 0 20px; }
.wst-btn--lime { background: var(--wsp-lime); border-color: var(--wsp-lime); color: #0b0b0b; height: 57px; padding: 0 28px; }
.wst-btn--lime:hover { border-color: #ffffff; }
.wst-textlink { font-size: 11px; font-weight: 600; letter-spacing: 0.66px; color: var(--wsp-ink); text-decoration: none; }
.wst-textlink:hover { text-decoration: underline; }
.wsp .wst-display {
  margin: 28px 0 0; font-size: 64px; font-weight: 900; line-height: 66px; letter-spacing: -3.1px; color: var(--wsp-ink);
}
.wsp .wst-display--one { margin-bottom: 36px; }
.wsp .wst-h3 { margin: 28px 0 14px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.22px; }
.wsp .wst-h4 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.085px; color: var(--wsp-ink); }
.wst-sec { padding: 72px 0 88px; background: var(--wsp-paper); }
.wst-sec--white { background: var(--wsp-white); }
.wst-sec--stone { background: var(--wsp-stone); }


.wst-hero { padding: 37px 0 43px; background: var(--wsp-paper); }
.wsp .wst-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 501px; gap: 46px; align-items: start; padding-bottom: 60px; border-bottom: 1px solid var(--wsp-rule); }
.wst-hero__copy { display: flex; flex-direction: column; gap: 0; padding-top: 53px; }
.wsp .wst-hero__copy > .wsp-overline:first-child { margin-top: -53px; margin-bottom: 75px; }
.wsp .wst-hero__title {
  margin: 0 0 64px; font-size: 78px; font-weight: 900; line-height: 84px; letter-spacing: -3.8px; text-transform: uppercase;
  color: var(--wsp-ink); max-width: 780px;
}
.wsp .wst-hero .wst-lead { margin-bottom: 60px; }
.wsp .wst-hero .wst-actions { margin-bottom: 40px; }
.wsp .wst-model {
  margin: 37px 0 0; padding: 26px 29px 29px; background: #0b0b0b; color: #ffffff;
  background-image: linear-gradient(#171716 1px, transparent 1px), linear-gradient(90deg, #171716 1px, transparent 1px);
  background-size: 42px 42px;
}
.wst-model__head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: 0.66px; text-transform: uppercase; color: var(--wsp-lime); }
.wst-model__tag { color: #a8a79f; }
.wsp .wst-model__steps { list-style: none; margin: 29px 0 0; padding: 0; display: flex; flex-direction: column; gap: 23px; }
.wst-model__steps li { position: relative; display: flex; gap: 58px; min-height: 101px; padding: 17px 20px; background: #0b0b0b; border-left: 3px solid #6e6d66; }
.wst-model__steps li.is-key { background: #171716; border-left-color: var(--wsp-lime); }
.wst-model__steps li + li::before { content: "↓"; position: absolute; top: -21px; left: 203px; color: var(--wsp-lime); font-size: 14px; font-weight: 600; }
.wst-model__n { font-size: 12px; font-weight: 500; color: var(--wsp-lime); padding-top: 6px; }
.wsp .wst-model__t { font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: -0.085px; margin-bottom: 8px !important; }
.wst-model__steps p:not(.wst-model__t) { font-size: 14px; line-height: 1.45; color: #a8a79f; }
.wsp .wst-model figcaption { margin-top: 31px; font-size: 12px; line-height: 1.35; color: #a8a79f; }


.wst-split { display: grid; grid-template-columns: minmax(0, 1fr) 456px; gap: 48px; align-items: end; padding-bottom: 120px; border-bottom: 1px solid var(--wsp-rule); }
.wst-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px; }
.wst-cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wst-ruled > * { padding-top: 26px; }
.wst-sec--white .wst-cols3 > article > p:not(.wsp-overline) { font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wsp .wst-uses { margin-top: 104px; }
.wst-uses > article { border-top: 1px solid var(--wsp-rule); display: flex; flex-direction: column; gap: 20px; }
.wsp .wst-uses h3 { margin: 0; color: var(--wsp-ink); }
.wst-uses p { font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wst-uses code { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--wsp-muted); }

.wsp .wst-stats { margin: 0; padding-top: 0; border-top: 1px solid var(--wsp-ink); }
.wst-stats > div { padding-top: 24px; }
.wsp .wst-stats dd { margin: 10px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wst-stat { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.22px; color: var(--wsp-ink); }

.wsp .wst-record { margin-top: 56px; background: var(--wsp-white); border: 1px solid var(--wsp-rule); }
.wst-record__bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; background: #0b0b0b; color: #ffffff; font-size: 11px; font-weight: 600; letter-spacing: 0.66px; text-transform: uppercase; }
.wst-record__bar span:last-child { color: #a8a79f; }
.wst-record__body { display: grid; grid-template-columns: 455fr 455fr 400fr; }
.wst-record__body > div { min-width: 0; padding: 24px; }
.wst-record__body > div + div { border-left: 1px solid var(--wsp-rule); }
.wst-chips { display: flex; gap: 8px; }
.wst-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid var(--wsp-rule-strong); font-size: 12px; font-weight: 500; }
.wst-chip .wsp-glyph svg { width: 12px; height: 12px; }
.wsp .wst-record__title { margin: 18px 0 18px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.22px; }
.wsp .wst-facts { margin: 0; }
.wst-facts > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wsp-rule); font-size: 12px; line-height: 1.35; }
.wst-facts dt { color: var(--wsp-graphite); }
.wsp .wst-facts dd { margin: 0; color: var(--wsp-ink); }
.wsp .wst-record__evidence ol { list-style: none; margin: 0; padding: 0; }
.wst-record__evidence li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--wsp-rule); }
.wst-record__evidence time { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--wsp-ink); padding-top: 1px; }
.wst-record__evidence p { font-size: 12px; line-height: 1.35; }
.wsp .wst-record__evidence p + p { margin-top: 4px; color: var(--wsp-graphite); }
.wsp .wst-code {
  margin: 12px 0 0; padding: 14px 16px; background: #0b0b0b; color: #ecebe5; overflow-x: auto;
  font: 400 12px/1.45 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.wst-code__req { color: var(--wsp-lime); }

.wsp .wst-steps { list-style: none; margin: 0 0 36px; padding: 0; }
.wst-steps li { border-top: 1px solid var(--wsp-ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.wst-steps p { font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wsp .wst-step__n { font-size: 11px; font-weight: 600; letter-spacing: 0.66px; color: var(--wsp-graphite); margin-bottom: 4px; }


.wst-trust { gap: 16px; }
.wst-trust article { padding: 22px; background: var(--wsp-stone); display: flex; flex-direction: column; gap: 10px; }
.wst-trust p { font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }
.wst-trust a { color: var(--wsp-ink); }


.wst-faq { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; }
.wsp .wst-faq .wst-display { margin-top: 36px; }
.wsp .wst-faq dl { margin: 48px 0 0; }
.wst-faq dl > div { padding: 20px 0; border-top: 1px solid var(--wsp-rule); }
.wsp .wst-faq dd { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--wsp-graphite); }


.wst-close { padding: 58px 0 60px; background: #0b0b0b; color: #ffffff; }
.wst-close .wsp-overline { color: var(--wsp-lime); }
.wsp .wst-close__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 52px; }
.wsp .wst-close__title { margin: 0 0 30px; font-size: 55px; font-weight: 900; line-height: 55px; letter-spacing: -2.55px; }
.wst-close__row p { font-size: 17px; line-height: 1.5; color: #a8a79f; max-width: 756px; }
.wsp .wst-close__login { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid #55544f; font-size: 12px; color: #a8a79f; }
.wst-close__login a { color: #ffffff; }

@media (max-width: 1180px) {
    .wsp .wst-hero__grid { grid-template-columns: 1fr; }
    .wst-model { max-width: 560px; }
    .wst-split, .wst-faq { grid-template-columns: 1fr; }
    .wst-cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .wst-record__body { grid-template-columns: 1fr 1fr; }
    .wst-record__api { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--wsp-rule); }
}
@media (max-width: 899px) {
    .wst { --wst-pad: 22px; }
    .wst-hero { padding: 45px 0 28px; }
    .wst-hero__copy { padding-top: 0; }
  .wsp .wst-hero__copy > .wsp-overline:first-child { margin: 0 0 52px; }
  .wsp .wst-hero__title { font-size: 48px; line-height: 52px; letter-spacing: -2px; margin-bottom: 40px; }
  .wsp .wst-hero .wst-lead { margin-bottom: 44px; }
    .wst-hero .wst-actions { flex-direction: column; align-items: stretch; }
    .wsp .wst-hero__grid { grid-template-columns: 1fr; padding-bottom: 40px; gap: 40px; }
  .wsp .wst-model { margin-top: 0; padding: 20px 17px; }
  .wsp .wst-model__steps { gap: 12px; margin-top: 22px; }
    .wst-model__steps li { min-height: 0; gap: 14px; padding: 10px 14px; }
    .wst-model__steps li + li::before { display: none; }
    .wst-model__t { font-size: 14px; }
    .wst-sec { padding: 48px 0 56px; }
  .wsp .wst-display { font-size: 36px; line-height: 40px; letter-spacing: -1.5px; margin-top: 24px; }
  .wsp .wst-display--one { margin-bottom: 24px; }
    .wst-split { gap: 28px; padding-bottom: 32px; }
    .wst-cols3, .wst-cols4 { grid-template-columns: 1fr; gap: 0; }
    .wst-ruled > * { padding: 16px 0; }
  .wsp .wst-uses { margin-top: 32px; }
    .wst-stats > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--wsp-rule); }
  .wsp .wst-stats dd { margin: 0; text-align: right; }
    .wst-stats dd > span:not(.wst-stat) { display: none; }
    .wst-stat { font-size: 17px; }
  .wsp .wst-record { margin-top: 32px; }
    .wst-record__bar span:last-child { display: none; }
    .wst-record__body { grid-template-columns: minmax(0, 1fr); }
    .wst-record__body > div + div { border-left: 0; border-top: 1px solid var(--wsp-rule); }
    .wst-steps li { padding: 14px 0; }
    .wst-trust { gap: 12px; }
    .wst-faq { gap: 0; }
  .wsp .wst-faq dl { margin-top: 24px; }
  .wsp .wst-close__row { flex-direction: column; align-items: stretch; margin-top: 40px; }
  .wsp .wst-close__title { font-size: 36px; line-height: 38px; letter-spacing: -1.5px; margin-bottom: 20px; }
    .wst-btn { width: 100%; }
    .wst-actions { flex-direction: column; align-items: stretch; }
}

/* /docs/ — developer docs (static api-docs.html) in the trust-page layout. */
.wsp .wsd-kicker { margin-bottom: 12px; color: var(--wsp-graphite); }
.wsd-callout { padding: 16px 20px; border-left: 3px solid var(--wsp-lime); background: var(--wsp-white); border-top: 1px solid var(--wsp-rule); border-right: 1px solid var(--wsp-rule); border-bottom: 1px solid var(--wsp-rule); font-size: 14px; line-height: 1.45; }
.wsp .wsd-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.wsp-prose pre {
  margin: 0; padding: 14px 16px; overflow-x: auto; background: #0b0b0b; color: #ecebe5; border: 0;
  font: 400 12px/1.5 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.wsp-prose code { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.wsp-prose :not(pre) > code { padding: 1px 4px; background: var(--wsp-stone); }
@media (max-width: 899px) { .wsp .wsd-meta .wsp-btn { flex: 1 1 100%; } }
.wsp--docs .wsp-page__body, .wsp--docs .wsp-card, .wsp--docs .wsp-prose { min-width: 0; }
.wsp--docs .wsp-prose :not(pre) > code { overflow-wrap: anywhere; }

/* 404 page */
.wsp-notfound { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wsp-notfound li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--wsp-rule); }
.wsp-notfound li:last-child { border-bottom: 0; }

/* Daily briefing: key developments written by AI, each with its sources */
.wsp-devs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wsp-devs li { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--wsp-rule); font-size: 15px; line-height: 1.5; }
.wsp-devs li:first-child { border-top: 0; padding-top: 4px; }
.wsp-devs .wsp-overline { color: var(--wsp-graphite); }
.wsp-devs .wsp-overline a { color: inherit; text-decoration: none; }
.wsp-devs .wsp-small a { color: var(--wsp-ink); text-decoration: underline; text-underline-offset: 2px; }
.wsp-devs .wsp-small a + a::before { content: "· "; color: var(--wsp-graphite); display: inline-block; margin-right: 4px; text-decoration: none; }

/* Live arrivals on the home: a lime light runs round the feed edge, new items glow, their marker pulses. */
@property --wsp-trace { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.wsh-feed { position: relative; }
.wsh-feed--live::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; padding: 2px;
  background: conic-gradient(from var(--wsp-trace), transparent 0deg 250deg, rgba(212, 245, 66, 0.35) 300deg, #d4f542 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px rgba(212, 245, 66, 0.8));
  animation: wsp-trace 1.8s linear 3, wsp-fade-out 0.6s ease 5.4s forwards;
}
@keyframes wsp-trace { to { --wsp-trace: 360deg; } }
@keyframes wsp-fade-out { to { opacity: 0; } }
.wsp-item--new { position: relative; animation: wsp-new-bg 6s ease-out forwards; }
.wsp-item--new::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #d4f542;
  box-shadow: 0 0 10px 1px rgba(212, 245, 66, 0.9); animation: wsp-neon 1.2s ease-in-out 5 alternate;
}
@keyframes wsp-new-bg { from { background: rgba(212, 245, 66, 0.16); } to { background: transparent; } }
@keyframes wsp-neon { from { opacity: 1; } to { opacity: 0.35; } }
.wsp-pulse { position: relative; width: 14px; height: 14px; pointer-events: none; }
.wsp-pulse::before, .wsp-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #d4f542;
  box-shadow: 0 0 12px rgba(212, 245, 66, 0.9); animation: wsp-ring 1.8s ease-out 4;
}
.wsp-pulse::after { animation-delay: 0.9s; }
@keyframes wsp-ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wsh-feed--live::after, .wsp-item--new::before, .wsp-pulse::before, .wsp-pulse::after { animation: none; }
  .wsh-feed--live::after { display: none; }
}

/* Send a source / Send feedback (Figma 422:1725 desktop modal, 424:3829 mobile sheet) */
.wsp-field textarea, .wsp-field select {
  border: 0; padding: 0; background: transparent; color: var(--wsp-ink); font: 600 14px/1.4 var(--wsp-font); min-width: 0; resize: vertical;
}
.wsp-field textarea::placeholder { color: var(--wsp-graphite); font-weight: 400; }
.wsp-field textarea:focus-visible, .wsp-field select:focus-visible { outline: none; box-shadow: none; }
.wsp-dlg {
  width: 560px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px); padding: 0; overflow: auto;
  background: var(--wsp-white); color: var(--wsp-ink); border: 1px solid var(--wsp-rule-strong); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}
.wsp-dlg::backdrop { background: rgba(10, 10, 10, 0.5); }
.wsp-dlg__form { display: flex; flex-direction: column; }
.wsp-dlg__bar { display: none; }
.wsp-dlg__body { display: flex; flex-direction: column; gap: 16px; padding: 28px 32px 0; }
.wsp-dlg__head { display: flex; align-items: flex-start; gap: 12px; }
.wsp .wsp-dlg__head h2, .wsp .wsp-dlg__done h2 { flex: 1; margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.22px; }
.wsp-dlg__x { border: 0; background: none; color: var(--wsp-ink); padding: 4px; cursor: pointer; }
.wsp .wsp-dlg__intro { margin: 0; font-size: 14px; line-height: 20px; color: var(--wsp-graphite); }
.wsp-dlg__seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--wsp-rule-strong); }
.wsp-dlg__seg button { padding: 10px; border: 0; background: transparent; color: var(--wsp-ink); font: 500 14px/20px var(--wsp-font); cursor: pointer; }
.wsp-dlg__seg button[aria-pressed="true"] { background: var(--wsp-ink); color: var(--wsp-paper); }
.wsp-dlg__short { display: none; }
[data-wsp-part] { display: flex; flex-direction: column; gap: 16px; }
[data-wsp-part][hidden] { display: none; }
.wsp-dlg__field { display: flex; flex-direction: column; gap: 4px; }
.wsp .wsp-dlg__help { margin: 0; font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp .wsp-dlg__notice { display: flex; gap: 10px; margin: 0; padding: 12px; background: var(--wsp-stone); font-size: 12px; line-height: 1.35; color: var(--wsp-graphite); }
.wsp-dlg__notice svg { flex: none; color: var(--wsp-ink); }
.wsp .wsp-dlg__error { margin: 0; padding: 10px 12px; border-left: 3px solid var(--wsp-critical); background: var(--wsp-paper); font-size: 14px; line-height: 20px; }
.wsp-dlg__error[hidden] { display: none; }
.wsp-dlg__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wsp-dlg__actions { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 32px 28px; }
.wsp-dlg__actions .wsp-btn svg { flex: none; }
.wsp-dlg__actions .wsp-btn[disabled] { opacity: 0.5; cursor: progress; }
.wsp-dlg__check { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--wsp-ink); color: var(--wsp-white); }
.wsp .wsp-dlg__ref { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 12px; color: var(--wsp-graphite); }
.wsp-dlg__ref code { font: 500 14px/1.4 "Geist Mono", ui-monospace, monospace; color: var(--wsp-ink); }
.wsp-turnstile, [data-wsp-turnstile-slot] { min-height: 0; }
@media (max-width: 899px) {
  .wsp-dlg { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; box-shadow: none; }
  .wsp-dlg__form { min-height: 100%; }
  .wsp-dlg__bar {
    position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 56px; padding: 0 16px;
    background: var(--wsp-white); border-bottom: 1px solid var(--wsp-rule);
  }
  .wsp .wsp-dlg__bar-title { margin: 0; font-size: 14px; font-weight: 500; }
  .wsp-dlg__cancel-m { justify-self: start; border: 0; background: none; padding: 0; color: var(--wsp-graphite); font: 400 14px/20px var(--wsp-font); cursor: pointer; }
  .wsp-dlg__head { display: none; }
  .wsp-dlg__body { flex: 1; gap: 14px; padding: 16px; }
  .wsp-dlg__long { display: none; }
  .wsp-dlg__short { display: inline; }
  .wsp-dlg__actions {
    position: sticky; bottom: 0; flex-direction: column-reverse; gap: 8px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--wsp-white); border-top: 1px solid var(--wsp-rule);
  }
  .wsp-dlg__actions .wsp-btn { width: 100%; }
  .wsp-dlg__cancel { display: none; }
  .wsp-dlg--sent .wsp-dlg__done { padding: 96px 24px 24px; }
  .wsp-dlg--sent .wsp-dlg__actions .wsp-btn:not(.wsp-btn--primary) { background: var(--wsp-stone); border-color: var(--wsp-stone); }
}

/* What changed and why (Figma 422:3101) */
.wsc { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 760px; margin: 0 auto; padding: 56px 0 72px; }
.wsp .wsc-eyebrow { margin: 0; letter-spacing: 0.88px; color: var(--wsp-graphite); }
.wsp .wsc-title { margin: 0; font-size: 40px; font-weight: 700; line-height: 44px; letter-spacing: -1.5px; }
.wsp .wsc-lead { margin: 0; font-size: 20px; line-height: 30px; color: var(--wsp-graphite); }
.wsc-sec { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.wsp .wsc-sec h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.3px; }
.wsp .wsc-sec p { margin: 0; font-size: 16px; line-height: 24px; color: var(--wsp-graphite); }
.wsc-feedback { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 20px; background: var(--wsp-white); border: 1px solid var(--wsp-rule); }
.wsp .wsc-feedback p { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
@media (max-width: 899px) {
  .wsc { padding: 32px 0 48px; }
  .wsp .wsc-title { font-size: 30px; line-height: 34px; letter-spacing: -1px; }
  .wsp .wsc-lead { font-size: 17px; line-height: 26px; }
  .wsc-feedback { flex-direction: column; align-items: stretch; }
}
.wsp-new { display: inline-block; margin-right: 8px; padding: 2px 6px; background: #d4f542; color: #0b0b0b; font-size: 13px; font-weight: 600; line-height: 18px; text-transform: uppercase; }
.wsp-dlg__field--error .wsp-field { border-bottom: 2px solid var(--wsp-critical); padding-bottom: 7px; }
.wsp-dlg__field--error .wsp-dlg__help { color: var(--wsp-critical); }
