:root {
  color-scheme: light;
  --paper: #f3f4f6;
  --paper-warm: #efefe9;
  --paper-deep: #e1e3e6;
  --panel: #e5e7eb;
  --panel-strong: #d1d5db;
  --ink: #111827;
  --muted: #4b5563;
  --line: #9ca3af;
  --coal: #374151;
  --accent: #f97316;
  --accent-soft: #fed7aa;
  --violet: #a78bfa;
  --green: #4b8b68;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
  --radius: 8px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.theme-express {
  --accent: #a78bfa;
  --accent-soft: #e9d5ff;
  --green: #6d5a9d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(55, 65, 81, 0.055) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 42%, rgba(249, 115, 22, 0.045) 0 1px, transparent 1.8px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(209, 213, 219, 0.22)),
    repeating-linear-gradient(0deg, rgba(55, 65, 81, 0.035) 0 1px, transparent 1px 34px),
    var(--paper);
  background-size: 180px 180px, 240px 240px, auto, auto;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.68;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.site-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background:
    linear-gradient(180deg, rgba(243, 244, 246, 0.94), rgba(239, 239, 233, 0.98)),
    repeating-linear-gradient(0deg, rgba(55, 65, 81, 0.08) 0 1px, transparent 1px 8px);
  border-right: 2px solid var(--coal);
  box-shadow: inset -6px 0 0 rgba(55, 65, 81, 0.06), inset -10px 0 0 rgba(156, 163, 175, 0.18);
  overflow-y: auto;
  z-index: 30;
}

.rail-brand {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.brand-mark {
  display: inline-grid;
  width: 62px;
  height: 50px;
  place-items: center;
  background: var(--paper-warm);
  padding: 4px;
  border: 2px solid var(--coal);
  box-shadow: 5px 5px 0 var(--accent);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  font: 800 1.28rem var(--mono);
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.nav-list button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--coal);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(229, 231, 235, 0.95));
  color: var(--ink);
  padding: 9px 12px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-list a:hover,
.nav-list button:hover,
.nav-list a:focus-visible,
.nav-list button:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--accent);
  background: #fff;
  outline: none;
}

.rail-tools {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.tap-card {
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #f8fafc 0 58%, var(--panel) 58% 100%);
  color: var(--ink);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--line);
}

.tap-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.update-chip {
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.52);
}

.main {
  min-width: 0;
}

.mobile-header {
  display: none;
}

.hero {
  position: relative;
  min-height: 82vh;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: clamp(32px, 5vw, 72px);
  overflow: hidden;
  border-bottom: 2px solid var(--coal);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.72) 42%, rgba(17, 24, 39, 0.24) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 4px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.hero-content {
  max-width: 780px;
  color: #fff;
}

.dashboard-hero {
  display: block;
  min-height: 86vh;
  padding: clamp(24px, 4vw, 56px);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 22%, rgba(249, 115, 22, 0.09) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 64%, rgba(167, 139, 250, 0.08) 0 1px, transparent 2px),
    repeating-linear-gradient(0deg, rgba(55, 65, 81, 0.06) 0 2px, transparent 2px 42px),
    linear-gradient(135deg, var(--paper-warm), var(--paper-deep));
  background-size: 220px 220px, 260px 260px, auto, auto;
}

.dashboard-hero::after {
  background:
    linear-gradient(90deg, transparent 0 calc(100% - 18px), rgba(55, 65, 81, 0.14) calc(100% - 18px)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(55, 65, 81, 0.05));
}

.dashboard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.dashboard-copy {
  max-width: none;
  color: var(--ink);
  padding: clamp(18px, 3vw, 32px);
  border: 2px solid var(--coal);
  border-left-width: 8px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(229, 231, 235, 0.86));
  box-shadow: 8px 8px 0 rgba(55, 65, 81, 0.18);
}

.dashboard-copy .eyebrow {
  color: var(--accent);
}

.dashboard-copy .lead {
  color: var(--muted);
}

.dashboard-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.dashboard-readouts span {
  min-height: 72px;
  border: 2px solid var(--coal);
  border-radius: 4px;
  background: var(--paper-warm);
  padding: 10px;
  color: var(--muted);
  box-shadow: 4px 4px 0 var(--line);
}

.dashboard-readouts strong {
  display: block;
  color: var(--ink);
  font: 900 1.45rem var(--mono);
}

.dashboard-monitor {
  position: relative;
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background: var(--coal);
  padding: 10px;
  box-shadow: 10px 10px 0 rgba(55, 65, 81, 0.22);
}

.dashboard-monitor::before,
.dashboard-monitor::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow: 18px 0 0 var(--violet), 36px 0 0 var(--panel-strong);
}

.dashboard-monitor::before {
  right: 18px;
  bottom: -24px;
}

.dashboard-monitor::after {
  left: 18px;
  top: -24px;
}

.monitor-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 2px solid var(--coal);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: var(--panel-strong);
  color: var(--coal);
  padding: 8px 10px;
  font: 800 0.78rem var(--mono);
}

.monitor-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--coal);
  border-radius: 0 0 4px 4px;
}

.pixel-train {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(20px, 3vw, 34px);
}

.pixel-car {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--coal);
  border-radius: 4px;
  background:
    linear-gradient(180deg, var(--panel), var(--paper-warm));
  color: var(--coal);
  font: 800 0.9rem var(--mono);
  text-align: center;
  box-shadow: 4px 4px 0 var(--line);
}

.pixel-car:nth-child(1) {
  border-left-width: 8px;
}

.pixel-car:nth-child(3),
.pixel-car:nth-child(5) {
  background:
    linear-gradient(180deg, var(--accent-soft), var(--paper-warm));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font: 700 0.84rem var(--mono);
  color: var(--accent-soft);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow: 16px 0 0 var(--accent-soft), 32px 0 0 var(--violet);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 680px;
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.dashboard-hero .eyebrow {
  color: var(--accent);
}

.dashboard-hero h1 {
  color: var(--ink);
}

.dashboard-hero .lead {
  color: var(--muted);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--coal);
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(17, 24, 39, 0.3);
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
}

.btn-secondary {
  background: var(--paper-warm);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: inherit;
}

.progress-strip {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 12px;
  background: var(--panel-strong);
  border-bottom: 2px solid var(--coal);
}

.progress-strip span {
  display: block;
  height: 100%;
  width: 12%;
  background:
    repeating-linear-gradient(90deg, var(--accent) 0 14px, var(--accent-soft) 14px 18px);
  transition: width 120ms linear;
}

.section {
  padding: clamp(42px, 6vw, 84px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(55, 65, 81, 0.18);
}

.section.alt {
  background: rgba(239, 239, 233, 0.74);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin-bottom: 28px;
}

.section-kicker {
  color: var(--accent);
  font: 800 0.82rem var(--mono);
}

.section h2,
.article h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section h3,
.article h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(229, 231, 235, 0.82));
  box-shadow: 5px 5px 0 rgba(55, 65, 81, 0.18);
  padding: 18px;
}

.card.compact {
  padding: 14px;
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 100%;
}

.number-badge {
  display: inline-grid;
  width: 38px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font: 800 0.92rem var(--mono);
  box-shadow: 4px 4px 0 var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  border-left: 4px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(229, 231, 235, 0.78));
  padding: 14px;
  box-shadow: 4px 4px 0 rgba(55, 65, 81, 0.14);
}

.stat strong {
  display: block;
  font: 800 1.4rem var(--mono);
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.train-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.carriage {
  min-height: 76px;
  border: 2px solid var(--coal);
  border-radius: 4px;
  background:
    linear-gradient(180deg, var(--panel), var(--paper-warm));
  color: var(--ink);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line);
}

.carriage.is-active {
  background: var(--accent-soft);
  box-shadow: 4px 4px 0 var(--accent);
}

.carriage span {
  display: block;
  color: var(--muted);
  font: 700 0.78rem var(--mono);
}

.flip-panel {
  margin-top: 20px;
}

.flip-panel.is-flipping {
  animation: flipIn 420ms steps(4, end);
}

@keyframes flipIn {
  from {
    transform: translateY(8px);
    filter: contrast(1.6);
  }
  to {
    transform: translateY(0);
    filter: contrast(1);
  }
}

.media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.media-frame {
  overflow: hidden;
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background: var(--coal);
  box-shadow: 5px 5px 0 rgba(55, 65, 81, 0.18);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.68);
  padding: 14px 16px;
}

.route-table,
.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(243, 244, 246, 0.82);
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  overflow: hidden;
}

.route-table th,
.route-table td,
.fact-table th,
.fact-table td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.route-table th,
.fact-table th {
  background: var(--panel-strong);
  font-weight: 800;
}

.tag-list,
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li,
.link-list a {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.65);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.link-list a:hover,
.link-list a:focus-visible {
  border-color: var(--accent);
  color: var(--ink);
  outline: none;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(229, 231, 235, 0.78));
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: clamp(32px, 5vw, 68px);
  border-bottom: 2px solid var(--coal);
  isolation: isolate;
  color: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.42));
}

.page-hero .hero-bg {
  filter: saturate(0.86);
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.article {
  max-width: 1060px;
  margin: 0 auto;
}

.article > * + * {
  margin-top: 24px;
}

.article ul,
.article ol {
  padding-left: 1.2rem;
}

.article li + li {
  margin-top: 8px;
}

.notice {
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background: #fff7ed;
  padding: 16px;
}

.footer {
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--coal);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.friend-links a {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  padding: 6px 10px;
}

.friend-links a:hover,
.friend-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.back-home {
  display: inline-flex;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .pixel-train {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .train-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-shell {
    display: block;
  }

  .rail {
    position: fixed;
    inset: 58px 0 auto 0;
    height: auto;
    max-height: calc(100vh - 58px);
    transform: translateY(-110%);
    transition: transform 220ms ease;
    border-right: 0;
    border-bottom: 2px solid var(--coal);
  }

  .rail.is-open {
    transform: translateY(0);
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(239, 239, 233, 0.96);
    border-bottom: 2px solid var(--coal);
  }

  .mobile-header strong {
    font-family: var(--mono);
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 38px;
    place-items: center;
    border: 2px solid var(--coal);
    border-radius: 4px;
    background: var(--panel);
    box-shadow: 3px 3px 0 var(--line);
    cursor: pointer;
  }

  .hero,
  .page-hero {
    min-height: 76vh;
    padding: 28px 18px;
  }

  .dashboard-hero {
    min-height: auto;
  }

  .dashboard-copy {
    padding: 18px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .media-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero h1,
  .page-hero h1 {
    font-size: 2.75rem;
  }

  .dashboard-readouts {
    grid-template-columns: 1fr;
  }

  .pixel-train {
    grid-template-columns: 1fr;
  }

  .monitor-topbar {
    display: grid;
    font-size: 0.72rem;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 38px 14px;
  }

  .stat-grid,
  .train-map {
    grid-template-columns: 1fr;
  }

  .route-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}




/* Whitehat data slots: site-native news and download confirmation styles. */

:where(.wh-news-home, .wh-news-page) { --wh-bg: var(--paper); --wh-text: var(--ink); --wh-accent: var(--accent); --wh-panel: var(--panel); --wh-line: var(--line); color: var(--wh-text); }
.wh-news-home { position: relative; }
.wh-news-home .wh-news-grid { align-items: stretch; }
.wh-news-home .wh-news-nav, .wh-news-home .section-actions { margin-top: 24px; }
.wh-news-page { min-width: 0; min-height: 100vh; color: var(--wh-text); }
.wh-news-page .wh-news-shell { position: relative; z-index: 1; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 76px; }
.wh-news-page .wh-news-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 28px; }
.wh-news-page .wh-news-back { color: var(--wh-accent); }
.wh-news-page-heading { margin-bottom: 28px; padding-bottom: 22px; }
.wh-news-page .wh-news-title { margin: 8px 0 0; color: var(--wh-text); font-size: 2rem; line-height: 1.3; letter-spacing: 0; text-shadow: none; overflow-wrap: anywhere; }
.wh-news-page .wh-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.wh-news-card { min-width: 0; overflow-wrap: anywhere; }
.wh-news-date { display: block; margin: 0 0 10px; color: var(--muted); font-size: .86rem; }
.wh-news-summary { margin: 0 0 18px; color: var(--muted); line-height: 1.75; }
.wh-news-link { width: fit-content; }
.wh-news-empty { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-left: 3px solid var(--wh-accent); background: var(--wh-panel); color: var(--muted); }
.wh-news-page .wh-news-article { margin: 24px 0; overflow-wrap: anywhere; }
.wh-news-page .wh-news-meta { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.wh-news-page .wh-news-article .wh-news-title { margin: 8px 0 18px; }
.wh-news-page .wh-news-summary { padding-bottom: 20px; border-bottom: 1px solid var(--wh-line); }
.wh-news-page .wh-news-content { margin: 20px 0 0; color: var(--wh-text); font-size: 1.02rem; line-height: 1.9; overflow-wrap: anywhere; }
.wh-news-page--train .wh-news-page-heading { border-bottom: 2px dashed var(--wh-line); }
.wh-news-page--train .wh-news-title { font-family: var(--mono); }
.wh-news-page--train .wh-news-article { border: 2px solid var(--coal); border-radius: 4px; box-shadow: 6px 6px 0 rgba(55, 65, 81, .18); }
.wh-news-page--train .wh-news-empty { border: 2px dashed var(--wh-line); box-shadow: 4px 4px 0 rgba(55, 65, 81, .12); }
.wh-news-page--rail .wh-news-page-heading { border-bottom: 1px solid var(--warning); box-shadow: inset 0 -3px 0 rgba(255, 0, 85, .16); }
.wh-news-page--rail .wh-news-article { border-left: 3px solid var(--warning); }
.wh-news-page--rail .wh-news-empty { border-left-width: 4px; background: linear-gradient(90deg, rgba(255, 127, 0, .08), transparent 60%), var(--panel); }
.wh-news-page--neon .wh-news-page-heading { border-bottom: 1px solid var(--line); box-shadow: 0 8px 22px -18px var(--mint); }
.wh-news-page--neon .wh-news-article { box-shadow: var(--shadow), 0 0 26px rgba(157, 78, 221, .12); }
.wh-news-page--neon .wh-news-empty { background: linear-gradient(110deg, rgba(157, 78, 221, .12), rgba(255, 0, 127, .06), transparent), var(--panel); }
.wh-news-page--rose .wh-news-page-heading { border-bottom: 1px solid var(--line-gold); box-shadow: 0 8px 24px -20px var(--pink); }
.wh-news-page--rose .wh-news-article { border-color: var(--line-gold); box-shadow: var(--shadow), 0 0 24px rgba(255, 20, 147, .12); }
.wh-news-page--rose .wh-news-empty { background: linear-gradient(100deg, rgba(255, 20, 147, .12), transparent 70%), var(--panel); }
.download-confirm-backdrop { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .7); }
.download-confirm-panel { width: min(440px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 56px rgba(0, 0, 0, .3); }
.download-confirm-panel h2 { margin: 0 0 16px; color: var(--ink); font-size: 1.4rem; line-height: 1.5; text-shadow: none; }
.download-confirm-panel p { margin: 0 0 24px; line-height: 1.8; }
.download-confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.download-confirm-actions button { padding: 10px 20px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font: inherit; }
.download-confirm-cancel { background: transparent; color: var(--ink); }
.download-confirm-continue { background: var(--accent); color: var(--paper); }
.download-confirm-actions button:focus-visible, :where(.wh-news-home, .wh-news-page) a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 760px) { .wh-news-page .wh-news-grid { grid-template-columns: 1fr; } .wh-news-page .wh-news-title { font-size: 1.65rem; } .wh-news-page .wh-news-shell { padding-top: 24px; } }
