:root {
  --bg: #0d1117;
  --surface: #1a2330;
  --card: #1e2a3a;
  --bg-glass: rgba(26, 35, 48, 0.88);
  --panel-border: rgba(59, 130, 246, 0.18);
  --text: #e6e8ea;
  --text-dim: #9aa3ad;
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.32);
  --blue-soft: rgba(59, 130, 246, 0.12);
  --orange: #ff8a00;
  --orange-soft: rgba(255, 138, 0, 0.14);
  --orange-glow: rgba(255, 138, 0, 0.28);
  --purple: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.12);
  --green: #22c55e;
  --yellow: #facc15;
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.14);
  --risk-low: #22c55e;
  --risk-medium: #facc15;
  --risk-high: #ff8a00;
  --risk-significant: #ef4444;
  --radius: 10px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-headline: "Oswald", "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 100% 55% at 50% -8%, rgba(59, 130, 246, 0.07), transparent 52%),
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(255, 138, 0, 0.04), transparent 45%),
    linear-gradient(180deg, #0a0f16 0%, var(--bg) 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
}

.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.scanline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.35), transparent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
  animation: scan-sweep 10s linear infinite;
}

@keyframes scan-sweep {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.dashboard {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.tactical-divider {
  height: 1px;
  margin: 1.1rem 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.12) 15%,
    rgba(59, 130, 246, 0.38) 50%,
    rgba(59, 130, 246, 0.12) 85%,
    transparent
  );
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.08);
}

.section-glow .page-header__title,
.section-glow .panel-section__title {
  text-shadow: 0 0 24px var(--blue-glow);
}

.panel-section__title {
  color: var(--blue);
}

/* Glass panels */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.glow-blue {
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.14),
    0 0 20px rgba(59, 130, 246, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Site header & brand */
.site-header {
  margin-bottom: 1rem;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 138, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(30, 42, 58, 0.55) 0%, rgba(13, 17, 23, 0.92) 100%),
    var(--bg-glass);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--panel-border);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.site-brand__mark {
  position: relative;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 138, 0, 0.55);
  background:
    radial-gradient(circle at 50% 62%, rgba(59, 130, 246, 0.18) 0%, transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(13, 17, 23, 0.2) 35%, rgba(13, 17, 23, 0.95) 72%),
    var(--surface);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.2),
    0 0 18px rgba(255, 138, 0, 0.12);
}

.brand-mark__ring {
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 50%;
}

.brand-mark__ring--inner {
  inset: 0.72rem;
  border-color: rgba(59, 130, 246, 0.2);
}

.brand-mark__sweep {
  position: absolute;
  inset: 0.45rem;
  border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0deg, rgba(59, 130, 246, 0.28) 42deg, transparent 84deg);
  opacity: 0.85;
}

.brand-mark__peak {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 1.1rem;
  height: 0.75rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 138, 0, 0.15), rgba(255, 138, 0, 0.55));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.brand-mark__mast {
  position: absolute;
  left: 50%;
  top: 0.42rem;
  width: 2px;
  height: 0.55rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--orange), rgba(255, 138, 0, 0.35));
  box-shadow: 0 0 6px rgba(255, 138, 0, 0.35);
}

.brand-mark__mast::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 138, 0, 0.45);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.site-brand__name {
  font-family: var(--font-headline);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
}

.site-brand__fringe {
  font-family: var(--font-headline);
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-shadow: 0 0 16px rgba(255, 138, 0, 0.2);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.55rem;
  max-width: 100%;
}

.site-nav__link {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.site-nav__link:hover {
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.06);
}

.site-nav__link.is-active {
  color: var(--orange);
  border-color: rgba(255, 138, 0, 0.35);
  background: var(--orange-soft);
}

.site-hero {
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid rgba(255, 138, 0, 0.08);
  background: linear-gradient(90deg, rgba(255, 138, 0, 0.04), transparent 55%);
}

.site-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.site-hero__tagline {
  margin: 0;
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: var(--text);
  max-width: 48ch;
}

.site-hero__motto {
  margin: 0.35rem 0 0;
  font-family: var(--font-headline);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0.9;
}

/* Legacy page header (unused; kept for safety) */
.page-header { margin-bottom: 1rem; }

.page-header__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.page-header__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.page-header__subtitle {
  margin: 0.45rem 0 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 400;
  max-width: 42ch;
}

.disclaimer {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--yellow);
  background: rgba(250, 204, 21, 0.05);
  font-size: 0.86rem;
  line-height: 1.55;
  color: #c5cdd6;
}

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

/* Priority Watch (featured hero) */
.featured-hero {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
}

.priority-watch {
  border-color: rgba(255, 138, 0, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 138, 0, 0.12),
    0 0 28px rgba(255, 138, 0, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.featured-hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.priority-watch .featured-hero__scan {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 138, 0, 0.012) 3px,
    rgba(255, 138, 0, 0.012) 4px
  );
}

.featured-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 280px;
}

.featured-hero__media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--surface);
}

.featured-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.priority-watch .featured-hero__label {
  background: rgba(13, 17, 23, 0.82);
  border: 1px solid rgba(255, 138, 0, 0.55);
  color: var(--orange);
}

.featured-hero__label {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.38rem 0.7rem;
  backdrop-filter: blur(6px);
}

.featured-hero__content {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 42, 58, 0.96), rgba(13, 17, 23, 0.98));
}

.featured-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.featured-hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--font);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.35;
  font-weight: 600;
}

.featured-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.featured-hero__sep { opacity: 0.45; }

.featured-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.featured-hero__summary {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b8c4d0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.priority-watch .featured-hero__btn {
  color: #1a1208;
  background: var(--orange);
  border: 1px solid var(--orange);
}

.featured-hero__btn {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  transition: box-shadow 0.18s, transform 0.18s;
}

.featured-hero__btn:hover {
  box-shadow: 0 0 18px var(--orange-glow);
  transform: translateY(-1px);
}

/* Situation Brief */
.hero-card {
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
}

.situation-brief {
  border-left: 3px solid var(--blue);
  background: linear-gradient(180deg, rgba(26, 35, 48, 0.95), rgba(13, 17, 23, 0.92));
}

.situation-brief .hero-card__title::before {
  content: "// ";
  color: var(--text-dim);
  font-weight: 600;
}

.hero-card__title {
  margin: 0 0 1rem;
  font-family: var(--font-headline);
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--blue);
}

.hero-card__summary {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #d8dee6;
  max-width: 75ch;
}

.hero-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.hero-fact {
  background: var(--card);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

.hero-fact dt {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.hero-fact dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-fact__accent {
  color: var(--blue);
  font-size: 1.35rem;
  text-shadow: 0 0 12px var(--blue-glow);
}

/* Trends */
.panel-section { margin-bottom: 1.25rem; }

.panel-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.panel-section__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.panel-section__meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.7rem;
}

.trend-card {
  padding: 0.85rem 1rem 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 0.65rem;
  row-gap: 0.25rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.trend-card:hover {
  transform: translateY(-2px);
}

.trend-card__icon {
  grid-row: 1 / 3;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
}

.trend-card__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.trend-card__label {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  align-self: end;
}

.trend-card__value {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 800;
}

.trend-card__sparkline {
  grid-column: 1 / -1;
  width: 100%;
  height: 28px;
  margin-top: 0.35rem;
  opacity: 0.85;
}

.trend-card--low { border-color: rgba(34, 197, 94, 0.4); }
.trend-card--low .trend-card__value { color: var(--risk-low); }
.trend-card--low .trend-card__sparkline { color: var(--risk-low); }
.trend-card--low .trend-card__icon { color: var(--risk-low); border-color: rgba(34, 197, 94, 0.3); }

.trend-card--medium { border-color: rgba(250, 204, 21, 0.45); }
.trend-card--medium .trend-card__value { color: var(--risk-medium); }
.trend-card--medium .trend-card__sparkline { color: var(--risk-medium); }
.trend-card--medium .trend-card__icon { color: var(--risk-medium); border-color: rgba(250, 204, 21, 0.3); }

.trend-card--high { border-color: rgba(255, 138, 0, 0.5); }
.trend-card--high .trend-card__value { color: var(--risk-high); }
.trend-card--high .trend-card__sparkline { color: var(--risk-high); }
.trend-card--high .trend-card__icon { color: var(--risk-high); border-color: rgba(255, 138, 0, 0.35); }

.trend-card--significant {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 16px var(--red-soft);
}
.trend-card--significant .trend-card__value { color: var(--risk-significant); }
.trend-card--significant .trend-card__sparkline { color: var(--risk-significant); }
.trend-card--significant .trend-card__icon { color: var(--risk-significant); border-color: rgba(239, 68, 68, 0.4); }

.trend-card--down .trend-card__value { opacity: 0.75; }

/* Controls */
.controls-panel {
  padding: 1rem;
  margin-bottom: 1.25rem;
  position: sticky;
  top: 0.5rem;
  z-index: 20;
  background: var(--bg-glass);
}

.search-field:focus-within {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-field__icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.search-field input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
}

.search-field input::placeholder { color: var(--text-dim); }

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  appearance: none;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill:hover {
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.35);
}

.pill.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #1a1208;
  font-weight: 700;
  box-shadow: 0 0 12px var(--orange-glow);
}

.pill:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.controls-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Report cards */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.report-card {
  padding: 0;
  overflow: hidden;
  border-left-width: 3px;
  background: var(--bg-glass);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.report-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), var(--surface));
  border-bottom: 1px solid var(--panel-border);
  overflow: hidden;
}

.report-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.25s ease;
}

.report-card__image--category {
  object-fit: cover;
  background: var(--surface);
}

.report-card:hover .report-card__image {
  transform: scale(1.03);
}

.report-card__cat-label {
  position: absolute;
  bottom: 0.55rem;
  left: 0.55rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.45rem;
  background: rgba(13, 17, 23, 0.78);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--blue);
  backdrop-filter: blur(4px);
}

.report-card__cat-label--uap {
  border-color: rgba(139, 92, 246, 0.45);
  color: var(--purple);
}

.report-card__cat-label--weather {
  border-color: rgba(59, 130, 246, 0.4);
  color: #7eb6ff;
}

.report-card__cat-label--public-safety {
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.report-card__cat-label--infrastructure,
.report-card__cat-label--cyber {
  border-color: rgba(45, 212, 191, 0.35);
  color: #5eead4;
}

.report-card__cat-label--disaster,
.report-card__cat-label--crime,
.report-card__cat-label--government {
  border-color: rgba(250, 204, 21, 0.35);
  color: #fde68a;
}

.report-card__cat-label--developing {
  border-color: rgba(255, 138, 0, 0.35);
  color: #fdba74;
}

.report-card__cat-label--weather::before { content: "WX "; opacity: 0.75; }
.report-card__cat-label--public-safety::before { content: "SAR "; opacity: 0.75; }
.report-card__cat-label--infrastructure::before,
.report-card__cat-label--cyber::before { content: "COM "; opacity: 0.75; }
.report-card__cat-label--developing::before { content: "PREP "; opacity: 0.75; }
.report-card__cat-label--uap::before { content: "FR "; opacity: 0.75; }
.report-card__cat-label--disaster::before,
.report-card__cat-label--crime::before { content: "PS "; opacity: 0.75; }

.report-card__body {
  padding: 1rem 1.05rem 1.1rem;
}

.report-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(59, 130, 246, 0.06);
}

.report-card--low {
  border-left-color: var(--risk-low);
}
.report-card--low:hover { box-shadow: 0 8px 28px rgba(34, 197, 94, 0.12); }

.report-card--medium {
  border-left-color: var(--risk-medium);
}
.report-card--medium:hover { box-shadow: 0 8px 28px rgba(250, 204, 21, 0.1); }

.report-card--high {
  border-left-color: var(--risk-high);
}
.report-card--high:hover { box-shadow: 0 8px 28px rgba(255, 138, 0, 0.12); }

.report-card--significant {
  border-left-color: var(--risk-significant);
}
.report-card--significant:hover { box-shadow: 0 8px 28px rgba(239, 68, 68, 0.18); }

.report-card[hidden] { display: none; }

.report-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

.report-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.report-card__source { font-weight: 600; color: #aeb8c8; }
.report-card__sep { opacity: 0.4; }

.report-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.risk-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.risk-badge--low { color: var(--risk-low); background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.35); }
.risk-badge--medium { color: var(--risk-medium); background: rgba(250,204,21,0.1); border-color: rgba(250,204,21,0.32); }
.risk-badge--high { color: var(--risk-high); background: var(--orange-soft); border-color: rgba(255,138,0,0.35); }
.risk-badge--significant { color: var(--risk-significant); background: var(--red-soft); border-color: rgba(239,68,68,0.4); }

.priority-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.priority-badge--low { color: #9ca3af; background: rgba(156,163,175,0.12); border-color: rgba(156,163,175,0.25); }
.priority-badge--moderate { color: #93c5fd; background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.28); }
.priority-badge--elevated { color: var(--risk-medium); background: rgba(250,204,21,0.1); border-color: rgba(250,204,21,0.32); }
.priority-badge--high { color: var(--risk-high); background: var(--orange-soft); border-color: rgba(255,138,0,0.35); }
.priority-badge--significant { color: var(--risk-significant); background: var(--red-soft); border-color: rgba(239,68,68,0.4); }

.fusion-panel {
  padding: 1.15rem 1.2rem;
}

.fusion-panel__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
}

.fusion-panel__meta {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.fusion-brief {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.fusion-brief__row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.fusion-brief__row dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.fusion-brief__row dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.watch-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.watch-list__item {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: rgba(13, 17, 23, 0.55);
}

.watch-list__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.watch-list__category {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.watch-list__title {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

.watch-list__meta {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.watch-list__facts {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.watch-list__facts dt {
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.watch-list__facts dd {
  margin: 0 0 0.15rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.event-link {
  color: inherit;
  text-decoration: none;
}

.event-link:hover {
  color: var(--accent-cyan);
}

.event-facts {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.event-facts li + li {
  margin-top: 0.35rem;
}

.event-damage-group__title {
  font-family: Oswald, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1rem 0 0.5rem;
}

.damage-confidence-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.damage-confidence-badge--preliminary {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.35);
}

.damage-confidence-badge--confirmed {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
}

.damage-confidence-badge--verified {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.event-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.event-timeline__item {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.event-timeline__time {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
}

.event-timeline__desc {
  font-size: 0.9rem;
}

.event-timeline__source {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.situation-room__subtitle {
  margin: 1rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.status-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.status-board__cell {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
  min-width: 0;
}

.status-board__cell dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-board__cell dd {
  margin: 0.15rem 0 0;
}

.status-level {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.status-board__cell--significant .status-level { color: #f87171; }
.status-board__cell--elevated .status-level { color: #fbbf24; }
.status-board__cell--normal .status-level { color: #86efac; }

.status-board__summary {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hotspot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.hotspot-list__item {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.5rem;
  align-items: baseline;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.hotspot-list__rank {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  color: var(--accent-cyan);
}

.hotspot-list__state {
  font-size: 0.9rem;
}

.hotspot-list__meta {
  grid-column: 2;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.trend-board {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.trend-board__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trend-board__row dt {
  margin: 0;
  font-size: 0.82rem;
}

.trend-board__row dd {
  margin: 0;
  font-size: 0.78rem;
}

.trend-board__direction--increasing { color: #f87171; }
.trend-board__direction--decreasing { color: #86efac; }
.trend-board__direction--stable { color: var(--text-muted); }

@media (max-width: 768px) {
  .status-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hotspot-list__item {
    grid-template-columns: 1.25rem 1fr;
  }
}

.status-badge, .tag-badge {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--panel-border);
  color: #b0bcc8;
}

.status-badge { color: var(--orange); border-color: rgba(245,158,11,0.3); }

.report-card__summary {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #b4c0cc;
  line-height: 1.5;
}

.report-card__why {
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.75rem;
  border-left: 2px solid rgba(139, 92, 246, 0.4);
  background: var(--purple-soft);
  border-radius: 0 6px 6px 0;
}

.report-card__why-label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #b9a8e8;
}

.report-card__why-text {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.52;
  color: #aeb6c2;
}

.report-card__btn {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(59,130,246,0.32);
  border-radius: 6px;
  background: var(--blue-soft);
  transition: background 0.15s, box-shadow 0.15s;
}

.report-card__btn:hover {
  background: rgba(59,158,255,0.22);
  box-shadow: 0 0 12px var(--blue-glow);
}

.report-card__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.empty-panel {
  grid-column: 1 / -1;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  background: var(--bg-glass);
  border: 1px dashed var(--panel-border);
  border-radius: var(--radius);
}

.empty-panel[hidden] { display: none; }

.page-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--panel-border);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.page-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
}

.page-footer__link {
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}

.page-footer__link:hover {
  color: var(--orange);
  text-decoration: none;
}

.page-footer__link[href="https://outlier.code3works.com"]:hover {
  color: var(--blue);
}

.page-footer__link[aria-disabled="true"] {
  color: var(--text-dim);
  pointer-events: none;
  cursor: default;
}

.page-footer__copy {
  margin: 0;
  text-transform: uppercase;
}

.content-page__back {
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.content-page__back a {
  color: var(--blue);
  text-decoration: none;
}

.content-page__back a:hover {
  text-decoration: underline;
}

.content-page {
  max-width: 42rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.content-page__title {
  margin: 0 0 1rem;
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.content-page p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.content-page p:last-child {
  margin-bottom: 0;
}

.content-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.content-page a {
  color: var(--blue);
}

/* Mobile */
@media (max-width: 768px) {
  .dashboard { padding: 1rem 0.85rem 2rem; }
  .site-header__bar {
    flex-direction: column;
    align-items: stretch;
  }
  .site-brand { justify-content: flex-start; }
  .site-nav {
    justify-content: flex-start;
    gap: 0.3rem;
  }
  .site-nav__link {
    font-size: 0.62rem;
    padding: 0.32rem 0.45rem;
  }
  .site-hero__tagline { font-size: 0.88rem; }
  .page-header__subtitle { font-size: 0.88rem; }
  .featured-hero__grid { grid-template-columns: 1fr; }
  .featured-hero__media { min-height: 180px; }
  .featured-hero__image { min-height: 180px; }
  .featured-hero__content { padding: 1.1rem 1.15rem; }
  .hero-card { padding: 1.15rem 1.1rem; }
  .hero-card__summary { font-size: 0.95rem; }
  .hero-card__facts { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: 1fr; }
  .report-card__title { font-size: 1.02rem; }
  .report-card__summary,
  .report-card__why-text { font-size: 0.86rem; }
  .trend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls-panel { position: static; }
}

@media (max-width: 420px) {
  .trend-grid { grid-template-columns: 1fr; }
  .pill { flex: 1 1 calc(50% - 0.45rem); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .scanline::after { display: none; }
}
