:root {
  color-scheme: dark;
  --ink: #050506;
  --midnight: #0a0b0e;
  --space-gray: #111217;
  --deep-gray: #17171d;
  --mauve-gray: #8e8584;
  --morandi: #a8a19a;
  --text: #f5f1ea;
  --text-soft: #c7bfb4;
  --muted: #948c83;
  --muted-2: #6f6964;
  --champagne: #d8bd86;
  --champagne-soft: #f0dcae;
  --rose-gold: #c9978a;
  --metal: #b9afa1;
  --green: #98bca1;
  --amber: #d2a45f;
  --red: #c97d74;
  --glass-surface: rgba(24, 23, 27, 0.58);
  --glass-surface-strong: rgba(28, 27, 32, 0.78);
  --glass-border: rgba(236, 219, 184, 0.16);
  --glass-highlight: rgba(255, 246, 226, 0.08);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-lift: 0 18px 54px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --radius: 8px;
  --space-8: 8px;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(216, 189, 134, 0.08) 0%, rgba(5, 5, 6, 0) 320px),
    linear-gradient(135deg, #040405 0%, #0a0b0e 48%, #111016 100%);
  color: var(--text);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 72%);
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

button,
a,
input {
  transition:
    border-color 240ms var(--ease-luxury),
    background 240ms var(--ease-luxury),
    color 240ms var(--ease-luxury),
    box-shadow 240ms var(--ease-luxury),
    transform 240ms var(--ease-luxury),
    opacity 240ms var(--ease-luxury);
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 1px solid rgba(216, 189, 134, 0.72);
  outline-offset: 3px;
}

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

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 32px 24px;
  border-right: 1px solid var(--glass-border);
  background: rgba(5, 5, 6, 0.66);
  backdrop-filter: blur(28px) saturate(130%);
}

.brand,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  margin-bottom: 40px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 189, 134, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(240, 220, 174, 0.2), rgba(201, 151, 138, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 42px rgba(216, 189, 134, 0.08), inset 0 1px 0 rgba(255, 246, 226, 0.18);
  color: var(--champagne-soft);
  font-weight: 800;
}

.brand strong,
.mobile-brand strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav-stack {
  display: grid;
  gap: var(--space-8);
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
  padding-bottom: 18px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  text-align: left;
}

.nav-item svg,
.top-search svg,
button svg,
.section-head svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke-width: 1.7;
}

.nav-item:hover,
.nav-item.is-active {
  border-color: rgba(216, 189, 134, 0.2);
  background: linear-gradient(135deg, rgba(216, 189, 134, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 246, 226, 0.08);
  color: var(--text);
}

.side-note {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass-surface);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(22px) saturate(120%);
}

.note-label,
.eyebrow {
  color: var(--champagne);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.side-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.workspace {
  min-width: 0;
  max-width: 1480px;
  padding: 24px 40px 64px;
}

.detail-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.watch-shell {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.report-shell {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.detail-nav .brand {
  margin-bottom: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  align-items: start;
}

.detail-main,
.detail-aside,
.watch-main {
  display: grid;
  gap: 24px;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  align-items: start;
}

.reports-layout {
  margin-top: 24px;
}

.report-main {
  display: grid;
  gap: 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 8px 0 24px;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.72) 70%, transparent 100%);
  backdrop-filter: blur(22px);
}

.mobile-brand {
  display: none;
}

.top-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(216, 189, 134, 0.2);
  border-radius: var(--radius);
  background: var(--glass-surface);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(22px) saturate(120%);
}

.top-search:hover,
.top-search:focus-within {
  border-color: rgba(216, 189, 134, 0.42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(216, 189, 134, 0.12) inset;
}

.top-search svg {
  color: var(--champagne);
}

.top-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.top-search input::placeholder {
  color: var(--muted-2);
}

.kbd {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(216, 189, 134, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 12px;
}

.status-strip {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-strip span {
  padding: 10px 13px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  backdrop-filter: blur(18px);
}

.status-strip strong {
  color: var(--champagne-soft);
}

.radar-panel,
.watch-hero,
.resource-surface,
.rail-panel,
.dossier,
.category-lanes {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--glass-highlight), transparent 42%),
    var(--glass-surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(26px) saturate(124%);
}

.radar-panel::before,
.watch-hero::before,
.resource-surface::before,
.rail-panel::before,
.dossier::before,
.category-lanes::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(240, 220, 174, 0.16), transparent 22%, transparent 78%, rgba(201, 151, 138, 0.1));
  content: "";
  opacity: 0.52;
  pointer-events: none;
}

.radar-panel {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  min-height: 210px;
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(216, 189, 134, 0.15), rgba(201, 151, 138, 0.055) 38%, transparent),
    linear-gradient(180deg, rgba(28, 27, 32, 0.76), rgba(12, 12, 15, 0.7));
}

.watch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 32px;
  align-items: end;
  min-height: 250px;
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(216, 189, 134, 0.15), rgba(201, 151, 138, 0.055) 38%, transparent),
    linear-gradient(180deg, rgba(28, 27, 32, 0.8), rgba(12, 12, 15, 0.72));
}

.radar-panel > *,
.watch-hero > * {
  position: relative;
  z-index: 1;
}

.radar-panel h1,
.watch-hero h1 {
  margin: 8px 0 14px;
  max-width: 820px;
  color: var(--text);
  font-size: clamp(42px, 5.4vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.radar-copy {
  max-width: 680px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.95;
}

.watch-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(236, 219, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.28);
  box-shadow: var(--shadow-lift);
}

.watch-form label {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
}

.watch-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.watch-input-row input {
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(216, 189, 134, 0.2);
  border-radius: var(--radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.watch-input-row input::placeholder {
  color: var(--muted-2);
}

.radar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.primary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

.primary-action {
  border: 1px solid rgba(216, 189, 134, 0.44);
  background: linear-gradient(135deg, rgba(216, 189, 134, 0.28), rgba(201, 151, 138, 0.14));
  box-shadow: 0 16px 38px rgba(216, 189, 134, 0.09), inset 0 1px 0 rgba(255, 246, 226, 0.18);
  color: var(--champagne-soft);
  font-weight: 700;
}

.ghost-action {
  border: 1px solid rgba(236, 219, 184, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
}

.primary-action:hover,
.ghost-action:hover,
.filter-chip:hover,
.lane:hover {
  transform: translateY(-1px);
}

.filter-row {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding: 24px 0;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(236, 219, 184, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.filter-chip.is-active,
.filter-chip:hover {
  border-color: rgba(216, 189, 134, 0.36);
  background: linear-gradient(135deg, rgba(216, 189, 134, 0.14), rgba(255, 255, 255, 0.035));
  color: var(--champagne-soft);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.resource-surface,
.rail-panel,
.dossier,
.category-lanes {
  padding: 24px;
}

.section-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-head.compact {
  margin-bottom: 16px;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
}

.resource-table {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.22);
}

.table-head,
.resource-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) minmax(190px, 1.2fr) 100px 122px 90px;
  gap: 16px;
  align-items: center;
}

.table-head {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.resource-row {
  width: 100%;
  padding: 18px;
  border: 0;
  border-top: 1px solid rgba(236, 219, 184, 0.1);
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.resource-row:hover,
.resource-row.is-selected {
  background: linear-gradient(90deg, rgba(216, 189, 134, 0.105), rgba(255, 255, 255, 0.024));
}

.resource-row.is-selected {
  box-shadow: inset 3px 0 0 rgba(216, 189, 134, 0.78);
}

.resource-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.favicon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(236, 219, 184, 0.18);
  border-radius: var(--radius);
  background: #f6f1e8;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.resource-name {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-domain {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(236, 219, 184, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 12px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted-2);
  box-shadow: 0 0 18px currentColor;
}

.dot.available,
.risk-low {
  background: var(--green);
}

.dot.degraded,
.risk-medium {
  background: var(--amber);
}

.dot.down,
.risk-high {
  background: var(--red);
}

.score {
  display: grid;
  gap: 7px;
}

.score span {
  color: var(--muted);
  font-size: 12px;
}

.score-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.score-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose-gold), var(--champagne));
}

.risk-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.risk-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.risk-pill.low {
  color: var(--green);
}

.risk-pill.medium {
  color: var(--amber);
}

.risk-pill.high {
  color: var(--red);
}

.insight-rail {
  display: grid;
  gap: 24px;
}

.event-list,
.alternative-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.event,
.alternative {
  padding: 14px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
}

.event strong,
.alternative strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.event span,
.alternative span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.dossier {
  margin-top: 24px;
}

.detail-hero {
  margin-top: 0;
}

.detail-hero .dossier-title h1 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.dossier-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.dossier-title {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.dossier-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.dossier-title p,
.dossier-copy {
  margin: 5px 0 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.dossier-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.notice-card {
  padding: 16px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 189, 134, 0.065), transparent),
    rgba(255, 255, 255, 0.026);
}

.notice-card span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
}

.notice-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}

.detail-panel {
  padding: 18px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.24);
}

.detail-panel h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a,
.link-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-size: 13px;
}

.link-list a:hover {
  border-color: rgba(216, 189, 134, 0.36);
  color: var(--champagne-soft);
}

.category-lanes {
  margin-top: 24px;
}

.lane-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lane {
  padding: 20px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.lane strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.lane p {
  min-height: 44px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.lane small {
  color: var(--champagne);
  font-weight: 800;
}

.empty-state {
  padding: 40px;
  color: var(--muted);
  text-align: center;
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px dashed rgba(216, 189, 134, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 189, 134, 0.09), rgba(201, 151, 138, 0.04)),
    rgba(255, 255, 255, 0.026);
  box-shadow: var(--shadow-lift);
  color: var(--muted);
  text-align: center;
  backdrop-filter: blur(20px) saturate(120%);
}

.ad-slot span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
}

.ad-slot strong {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
}

.ad-slot-wide {
  min-height: 104px;
  margin-bottom: 24px;
}

.ad-slot-box {
  min-height: 250px;
}

.ad-slot-inline {
  min-height: 120px;
}

.watch-card {
  margin-top: 0;
}

.report-card,
.report-hero {
  margin-top: 0;
}

.report-hero h1 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.watch-summary-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.watch-summary-head h2 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.watch-summary-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.watch-score {
  display: grid;
  place-items: center;
  min-width: 112px;
  min-height: 112px;
  border: 1px solid rgba(216, 189, 134, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(216, 189, 134, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 246, 226, 0.12);
}

.watch-score span {
  color: var(--muted);
  font-size: 12px;
}

.watch-score strong {
  color: var(--champagne-soft);
  font-size: 42px;
  line-height: 1;
}

.watch-metrics,
.finding-grid,
.runbook-list,
.watchlist {
  position: relative;
  z-index: 1;
}

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

.runbook-list,
.watchlist {
  display: grid;
  gap: 12px;
}

.runbook-item,
.watchlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 68px;
  padding: 14px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
  color: inherit;
  text-align: left;
}

.runbook-item:hover,
.watchlist-item:hover {
  border-color: rgba(216, 189, 134, 0.32);
  background: linear-gradient(90deg, rgba(216, 189, 134, 0.09), rgba(255, 255, 255, 0.026));
}

.runbook-item small,
.watchlist-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.watchlist-item {
  cursor: pointer;
}

.watch-clear {
  width: 100%;
  margin-top: 16px;
}

.watch-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.briefing-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.briefing-card,
.timeline-item {
  padding: 16px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 189, 134, 0.065), transparent),
    rgba(255, 255, 255, 0.026);
}

.briefing-card.muted {
  background: rgba(255, 255, 255, 0.026);
}

.briefing-card strong,
.timeline-item strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.briefing-card p,
.timeline-item span {
  display: block;
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.share-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  overflow-wrap: anywhere;
}

.template-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.landing-layout {
  margin-top: 24px;
}

.landing-form {
  align-self: stretch;
}

.landing-example {
  width: 100%;
}

.landing-tool-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.landing-preset {
  width: 100%;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.template-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(236, 219, 184, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 189, 134, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.028);
}

.template-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.template-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 189, 134, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--champagne);
}

.template-card strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.template-card p {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.briefing-panel.single {
  grid-template-columns: 1fr;
}

.timeline-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.timeline-item time {
  flex: 0 0 auto;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
}

.empty-state.compact {
  padding: 18px;
  text-align: left;
}

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

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--glass-border);
  }

  .brand,
  .side-note {
    display: none;
  }

  .detail-nav .brand {
    display: flex;
  }

  .nav-stack {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .nav-item {
    width: auto;
    white-space: nowrap;
  }

  .mobile-brand {
    display: flex;
  }

  .topbar {
    grid-template-columns: auto minmax(260px, 1fr);
  }

  .status-strip {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .detail-layout,
  .watch-layout,
  .watch-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .workspace {
    padding: 14px 14px 36px;
  }

  .detail-shell,
  .watch-shell,
  .report-shell {
    width: calc(100% - 28px);
    padding: 14px 0 36px;
  }

  .detail-nav {
    align-items: flex-start;
  }

  .detail-nav .brand small {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .radar-panel,
  .watch-hero {
    display: grid;
    min-height: 0;
    padding: 24px;
  }

  .radar-panel h1,
  .watch-hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .watch-input-row {
    grid-template-columns: 1fr;
  }

  .watch-summary-head {
    display: grid;
  }

  .radar-copy {
    font-size: 14px;
    line-height: 1.8;
  }

  .table-head {
    display: none;
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .insight-rail,
  .dossier-grid,
  .detail-layout,
  .watch-layout,
  .report-layout,
  .finding-grid,
  .briefing-panel,
  .template-grid,
  .landing-tool-grid,
  .notice-grid,
  .metric-grid,
  .lane-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    display: grid;
  }

  .resource-surface,
  .rail-panel,
  .dossier,
  .category-lanes {
    padding: 16px;
  }
}
