:root {
  color-scheme: dark;
  --void: #040807;
  --bg: #07100e;
  --surface: #0b1714;
  --surface-2: #10201c;
  --surface-3: #142923;
  --ink: #f4f2e8;
  --ink-soft: #d4ddd4;
  --muted: #8ea39a;
  --muted-2: #b8c7bf;
  --line: rgba(193, 236, 215, 0.11);
  --line-strong: rgba(193, 236, 215, 0.21);
  --signal: #6ff0b4;
  --signal-bright: #b9ffd9;
  --signal-soft: rgba(111, 240, 180, 0.1);
  --coral: #ff8c78;
  --coral-soft: rgba(255, 140, 120, 0.11);
  --violet: #b5a6ff;
  --violet-soft: rgba(181, 166, 255, 0.11);
  --amber: #ffd070;
  --amber-soft: rgba(255, 208, 112, 0.11);
  --cyan: #74dfd2;
  --cyan-soft: rgba(116, 223, 210, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -10%, rgba(63, 172, 132, 0.17), transparent 29rem),
    radial-gradient(circle at 93% 18%, rgba(60, 98, 91, 0.13), transparent 34rem),
    linear-gradient(180deg, #081310 0, var(--void) 55rem);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(174, 231, 204, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 231, 204, 0.025) 1px, transparent 1px),
    radial-gradient(circle, rgba(238, 255, 246, 0.45) 0 1px, transparent 1.5px);
  background-position: center top, center top, 0 0;
  background-size: 72px 72px, 72px 72px, 143px 157px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

button,
a,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--void);
  background: var(--signal-bright);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.shell {
  width: min(1216px, 100%);
  margin: 0 auto;
  padding: 28px 18px 44px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 2px 30px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.orbit-mark {
  position: relative;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border: 1px solid rgba(111, 240, 180, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(185, 255, 217, 0.1), transparent 48%);
  box-shadow: inset 0 0 30px rgba(111, 240, 180, 0.05);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 28px;
  border: 1px solid rgba(111, 240, 180, 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
}

.orbit-world {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #d0ffe4 0 5%, transparent 6%),
    radial-gradient(circle at 36% 35%, var(--signal) 0, #286b53 48%, #0b2e25 100%);
  box-shadow: 0 0 26px rgba(111, 240, 180, 0.34);
  transform: translate(-50%, -50%);
}

.orbit-moon {
  position: absolute;
  top: 12px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(255, 208, 112, 0.55);
}

.eyebrow,
.panel-label,
.summary-label {
  margin: 0 0 6px;
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  padding: 0 4px;
  color: rgba(111, 240, 180, 0.42);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(2.4rem, 5vw, 4.65rem);
  font-weight: 660;
  line-height: 0.92;
  letter-spacing: -0.062em;
}

h1 em {
  color: var(--signal-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-size: 1.08rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 0;
  font-size: 0.98rem;
  font-weight: 720;
  letter-spacing: -0.012em;
}

.brand-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(194, 236, 216, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  font-size: 0.8rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.source-link:hover {
  border-color: rgba(111, 240, 180, 0.46);
  color: var(--ink);
  background: rgba(111, 240, 180, 0.065);
  transform: translateY(-1px);
}

.watchlist-toggle {
  cursor: pointer;
}

.watchlist-toggle.active {
  border-color: rgba(111, 240, 180, 0.46);
  color: var(--signal-bright);
  background: var(--signal-soft);
}

.button-glyph {
  color: var(--signal);
  font-size: 1rem;
}

.watch-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  color: #03100a;
  background: var(--signal);
  font-size: 0.68rem;
  font-weight: 900;
}

.status-panel {
  position: relative;
  min-height: 380px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(110deg, rgba(10, 26, 21, 0.98) 0 58%, rgba(8, 23, 19, 0.65) 100%),
    radial-gradient(circle at 82% 50%, rgba(111, 240, 180, 0.15), transparent 36%);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.025);
}

.status-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.27;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(130, 235, 190, 0.025) 18px),
    linear-gradient(90deg, transparent, rgba(130, 235, 190, 0.05), transparent);
}

.telemetry-code {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 18px;
  color: rgba(185, 255, 217, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.19em;
}

.signal-visual {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 3.5%;
  width: min(35vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.86;
  transform: translateY(-50%);
}

.signal-visual::before,
.signal-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.signal-visual::before {
  inset: 9%;
  border: 1px dashed rgba(111, 240, 180, 0.16);
}

.signal-visual::after {
  inset: 25%;
  border: 1px solid rgba(111, 240, 180, 0.12);
  box-shadow: 0 0 80px rgba(111, 240, 180, 0.08);
}

.signal-orbit,
.signal-planet,
.signal-sweep {
  position: absolute;
  border-radius: 50%;
}

.orbit-one {
  inset: 3% 17%;
  border: 1px solid rgba(111, 240, 180, 0.3);
  transform: rotate(28deg);
}

.orbit-two {
  inset: 18% 2%;
  border: 1px solid rgba(255, 208, 112, 0.21);
  transform: rotate(-25deg);
}

.signal-planet {
  inset: 31%;
  background:
    radial-gradient(circle at 34% 28%, rgba(239, 255, 245, 0.78) 0 1.5%, transparent 2%),
    radial-gradient(circle at 40% 36%, #4c9678 0, #163d32 45%, #071713 74%);
  box-shadow:
    -12px 11px 50px rgba(0, 0, 0, 0.7),
    10px -10px 46px rgba(111, 240, 180, 0.13),
    inset -24px -12px 38px rgba(0, 0, 0, 0.74);
}

.signal-sweep {
  inset: 24%;
  border-top: 1px solid rgba(185, 255, 217, 0.72);
  transform: rotate(-31deg);
  filter: drop-shadow(0 0 8px rgba(111, 240, 180, 0.6));
}

.watch-brief {
  position: relative;
  z-index: 1;
  width: min(69%, 760px);
  padding: 28px 30px 30px;
}

.brief-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.brief-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.panel-value {
  margin: 0;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  font-weight: 720;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(111, 240, 180, 0.8);
}

.health-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(111, 240, 180, 0.28);
  border-radius: 999px;
  color: var(--signal-bright);
  background: var(--signal-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-brief > h2 {
  max-width: 620px;
  font-size: clamp(1.65rem, 3.6vw, 2.8rem);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.brief-text {
  max-width: 610px;
  margin: 12px 0 18px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 20px;
}

.metric {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(237, 255, 246, 0.035);
}

.metric span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.metric strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1;
}

.metric.added { border-color: rgba(111, 240, 180, 0.24); }
.metric.edited { border-color: rgba(255, 208, 112, 0.24); }
.metric.moved { border-color: rgba(181, 166, 255, 0.24); }
.metric.removed { border-color: rgba(255, 140, 120, 0.24); }

.source-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.source-stat {
  min-width: 0;
}

.source-stat span,
.summary-meta,
.muted {
  color: var(--muted);
  font-size: 0.76rem;
}

.source-stat strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
}

.summary-list {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.summary-list:empty {
  display: none;
}

.summary-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(260px, 1.2fr);
  gap: 20px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(111, 240, 180, 0.16);
  border-radius: var(--radius-md);
  background: rgba(111, 240, 180, 0.055);
}

.summary-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 14px rgba(111, 240, 180, 0.45);
}

.summary-card p {
  margin-bottom: 0;
  color: var(--muted-2);
}

.summary-card h3 {
  line-height: 1.3;
}

.summary-meta {
  margin: 5px 0 0;
}

.summary-bullets {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--muted-2);
  font-size: 0.79rem;
  list-style: none;
}

.summary-bullets li {
  position: relative;
  padding-left: 13px;
}

.summary-bullets li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--signal);
}

.watchlist-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(13, 30, 25, 0.96), rgba(8, 20, 17, 0.96));
  box-shadow: var(--shadow);
}

.watchlist-panel > .section-heading {
  align-items: flex-start;
  margin-bottom: 3px;
}

.section-copy {
  max-width: 550px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.watch-form {
  display: grid;
  gap: 16px;
}

.watch-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.watch-form label > span,
.check-row span {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(237, 255, 246, 0.045);
  transition: border-color 160ms ease, background 160ms ease;
}

.watch-form input:hover,
.watch-form input:focus {
  border-color: rgba(111, 240, 180, 0.35);
  background: rgba(237, 255, 246, 0.065);
}

.watch-form input {
  min-height: 44px;
  padding: 0 12px;
}

.watch-form-intro {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(111, 240, 180, 0.13);
  border-radius: 13px;
  background: rgba(111, 240, 180, 0.04);
}

.watch-form-intro strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
}

.watch-form-intro p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.form-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  height: 29px;
  padding: 0 7px;
  border: 1px solid rgba(111, 240, 180, 0.25);
  border-radius: 50%;
  color: var(--signal-bright);
  background: var(--signal-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.watch-name-field {
  max-width: 520px;
}

.watch-name-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.watch-name-field > span small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.watch-target-builder {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.picker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: 12px;
}

.target-picker {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(237, 255, 246, 0.022);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.015);
}

.picker-heading,
.selection-tray-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.picker-heading strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}

.field-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--signal);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selection-count {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
}

.search-field {
  position: relative;
  display: block !important;
  margin-top: 13px;
}

.search-field > .search-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: var(--signal);
  font-size: 1rem;
  transform: translateY(-50%);
}

.search-field input {
  padding-right: 12px;
  padding-left: 38px;
  border-color: rgba(111, 240, 180, 0.15);
  background: rgba(5, 15, 12, 0.72);
}

.picker-meta {
  margin: 9px 0 8px;
  color: var(--muted);
  font-size: 0.68rem;
}

.choice-list {
  display: grid;
  gap: 6px;
  max-height: 344px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(111, 240, 180, 0.24) transparent;
  scrollbar-width: thin;
}

.target-choice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 27px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 55px;
  padding: 6px 8px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(237, 255, 246, 0.025);
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.target-choice:hover {
  border-color: rgba(111, 240, 180, 0.27);
  background: rgba(111, 240, 180, 0.045);
  transform: translateX(2px);
}

.target-choice.selected {
  border-color: rgba(111, 240, 180, 0.42);
  background: rgba(111, 240, 180, 0.085);
  box-shadow: inset 2px 0 var(--signal);
}

.target-choice img,
.choice-orbit {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  object-fit: cover;
  background: var(--surface-3);
}

.choice-orbit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(111, 240, 180, 0.65);
  font-size: 1.05rem;
}

.choice-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.choice-copy strong,
.choice-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-copy strong {
  font-size: 0.78rem;
  font-weight: 720;
}

.choice-copy small {
  color: var(--muted);
  font-size: 0.64rem;
}

.choice-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-2);
  background: rgba(237, 255, 246, 0.025);
  font-size: 0.76rem;
  font-weight: 900;
}

.target-choice.selected .choice-state {
  border-color: var(--signal);
  color: #04100b;
  background: var(--signal);
}

.choice-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 112px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 11px;
  color: var(--muted);
  text-align: center;
}

.choice-empty span {
  color: var(--signal);
  font-size: 1.1rem;
}

.choice-empty p {
  margin: 0;
  font-size: 0.75rem;
}

.lane-choice-list {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.lane-choice {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted-2);
  background: rgba(237, 255, 246, 0.022);
  font-size: 0.73rem;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.lane-choice:hover,
.lane-choice.selected {
  border-color: color-mix(in srgb, var(--choice-color) 48%, transparent);
  color: var(--ink);
  background: color-mix(in srgb, var(--choice-color) 8%, transparent);
}

.lane-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--choice-color);
  box-shadow: 0 0 9px color-mix(in srgb, var(--choice-color) 52%, transparent);
}

.lane-choice b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(237, 255, 246, 0.035);
  font-size: 0.69rem;
}

.lane-choice.selected b {
  color: #04100b;
  background: var(--signal);
}

.keyword-field {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.keyword-field small {
  color: var(--muted);
  font-size: 0.63rem;
}

.selection-tray {
  display: grid;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(111, 240, 180, 0.14);
  border-radius: 13px;
  background: rgba(111, 240, 180, 0.035);
}

.selection-tray-heading span {
  color: var(--signal);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.selection-tray-heading strong {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
}

.selection-content {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selection-empty {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.selection-empty > span {
  color: rgba(111, 240, 180, 0.6);
  font-size: 1.1rem;
}

.selection-empty p {
  margin: 0;
  font-size: 0.72rem;
}

.selection-empty strong {
  color: var(--muted-2);
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  max-width: 100%;
  padding: 0 9px;
  border: 1px solid rgba(111, 240, 180, 0.18);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(111, 240, 180, 0.055);
  font-size: 0.68rem;
  font-weight: 720;
  cursor: pointer;
}

.selected-chip > span {
  color: var(--signal);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.selected-chip b {
  color: var(--muted);
  font-size: 0.9rem;
}

.selected-chip:hover {
  border-color: rgba(255, 140, 120, 0.38);
  background: var(--coral-soft);
}

.delivery-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(237, 255, 246, 0.02);
}

.delivery-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 58px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.delivery-panel summary::-webkit-details-marker {
  display: none;
}

.delivery-panel summary > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.delivery-panel summary > small {
  color: var(--muted);
  font-size: 0.66rem;
}

.details-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--signal);
  font-size: 1rem;
  font-weight: 700;
  transition: transform 160ms ease;
}

.delivery-panel[open] .details-icon {
  transform: rotate(45deg);
}

.delivery-panel[open] summary {
  border-bottom: 1px solid var(--line);
}

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

.delivery-grid .check-row {
  grid-column: 1 / -1;
}

.check-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(237, 255, 246, 0.035);
}

.check-row input {
  width: auto;
  min-height: auto;
  accent-color: var(--signal);
}

.check-row.disabled {
  opacity: 0.48;
}

.form-assurance {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.form-assurance span {
  margin-right: 4px;
  color: var(--signal);
}

.form-actions,
.watch-actions,
.status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.primary-action,
.mini-action,
.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.primary-action {
  gap: 8px;
  min-width: 142px;
  min-height: 42px;
  border: 0;
  padding: 0 16px;
  color: #03100a;
  background: var(--signal);
  box-shadow: 0 8px 24px rgba(111, 240, 180, 0.14);
  cursor: pointer;
}

.primary-action:hover {
  background: var(--signal-bright);
}

.primary-action:disabled {
  color: var(--muted);
  background: rgba(237, 255, 246, 0.065);
  box-shadow: none;
  cursor: not-allowed;
}

.mini-action,
.mini-link {
  border: 1px solid var(--line);
  padding: 0 10px;
  color: var(--muted-2);
  background: rgba(237, 255, 246, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.mini-action:hover,
.mini-link:hover {
  border-color: rgba(111, 240, 180, 0.4);
  color: var(--signal-bright);
  background: var(--signal-soft);
}

.mini-action.danger:hover {
  border-color: rgba(255, 140, 120, 0.52);
  color: var(--coral);
  background: var(--coral-soft);
}

.track-action {
  margin-left: auto;
  color: var(--signal-bright);
}

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

.watch-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(237, 255, 246, 0.025);
}

.watch-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.watch-card h3,
.watch-card p {
  margin-bottom: 0;
}

.watch-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.watch-targets span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  max-width: 100%;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(237, 255, 246, 0.035);
  font-size: 0.7rem;
  font-weight: 760;
}

.watch-alerts {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.success { color: var(--signal); }
.error { color: var(--coral); }

.feed-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  align-items: end;
  gap: 26px;
  margin: 0 4px 18px;
  padding-top: 7px;
}

.feed-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.feed-intro > p {
  max-width: 530px;
  margin: 0 0 3px auto;
  color: var(--muted);
  font-size: 0.86rem;
}

.controls {
  position: sticky;
  z-index: 10;
  top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(7, 17, 14, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.filter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 780;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.filter-button strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  min-height: 21px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.63rem;
}

.filter-button:hover {
  color: var(--ink);
  background: rgba(237, 255, 246, 0.035);
}

.filter-button.active {
  color: #04100b;
  background: var(--signal);
  box-shadow: 0 7px 22px rgba(111, 240, 180, 0.13);
}

.filter-button.active strong {
  border-color: rgba(3, 16, 10, 0.15);
  color: #04100b;
  background: rgba(3, 16, 10, 0.09);
}

.content-grid,
.main-column {
  display: grid;
  gap: 18px;
}

.content-grid {
  scroll-margin-top: 78px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  margin: 0 2px 2px;
}

.section-heading.compact {
  margin-top: 22px;
}

.timeline,
.status-stack,
.recent-items {
  display: grid;
  gap: 11px;
}

.change-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 29, 25, 0.96), rgba(8, 18, 16, 0.98));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.15), inset 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.change-card::before {
  position: absolute;
  z-index: 2;
  top: 17px;
  bottom: 17px;
  left: 0;
  width: 2px;
  border-radius: 0 2px 2px 0;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 13px rgba(111, 240, 180, 0.4);
}

.change-card.edited::before { background: var(--amber); box-shadow: 0 0 13px rgba(255, 208, 112, 0.35); }
.change-card.moved::before { background: var(--violet); box-shadow: 0 0 13px rgba(181, 166, 255, 0.35); }
.change-card.removed::before { background: var(--coral); box-shadow: 0 0 13px rgba(255, 140, 120, 0.35); }

.change-card:hover {
  border-color: rgba(193, 236, 215, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.025);
  transform: translateY(-2px);
}

.change-main {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px 19px 19px;
}

.change-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-3);
  filter: saturate(0.82) contrast(1.03);
}

.change-title,
.recent-title,
.lane-list a {
  margin: 0;
  color: var(--ink);
  font-weight: 740;
  text-decoration: none;
  transition: color 150ms ease;
}

.change-title {
  width: fit-content;
  font-size: 1.07rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.change-title:hover,
.recent-title:hover,
.lane-list a:hover {
  color: var(--signal-bright);
}

.change-meta,
.field-list,
.recent-meta,
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
}

.card-copy,
.item-excerpt {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.85rem;
}

.card-copy {
  color: var(--ink-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill.added { color: var(--signal); background: var(--signal-soft); }
.pill.edited { color: var(--amber); background: var(--amber-soft); }
.pill.moved { color: var(--violet); background: var(--violet-soft); }
.pill.removed { color: var(--coral); background: var(--coral-soft); }

.field-list span,
.status-count,
.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(237, 255, 246, 0.035);
}

.category-chip {
  border-color: color-mix(in srgb, var(--chip-color) 48%, transparent);
  color: var(--muted-2);
}

.movement {
  position: relative;
  padding: 10px 12px;
  border: 1px solid rgba(193, 236, 215, 0.055);
  border-radius: 9px;
  color: var(--muted-2);
  background: rgba(237, 255, 246, 0.035);
  font-size: 0.8rem;
}

.movement strong {
  color: var(--ink);
}

.snapshot {
  min-width: 0;
}

.status-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 23, 20, 0.72);
  transition: border-color 160ms ease, background 160ms ease;
}

.status-card:hover {
  border-color: color-mix(in srgb, var(--lane-color) 42%, transparent);
  background: rgba(14, 29, 25, 0.9);
}

.status-card header,
.recent-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.status-actions {
  justify-content: flex-end;
}

.status-card h3 {
  margin: 0;
  font-size: 0.84rem;
}

.status-count {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 820;
}

.bar {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(237, 255, 246, 0.055);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--lane-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--lane-color) 38%, transparent);
}

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

.lane-list li {
  display: grid;
  gap: 1px;
  padding-left: 10px;
  border-left: 1px solid var(--lane-color);
}

.lane-list a {
  font-size: 0.82rem;
  line-height: 1.3;
}

.lane-list span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
}

.recent-card {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 23, 20, 0.6);
}

.recent-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.recent-title {
  font-size: 0.84rem;
  line-height: 1.28;
}

.recent-meta {
  font-size: 0.68rem;
}

.recent-thumb {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-3);
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted-2);
  background: rgba(237, 255, 246, 0.02);
}

.empty-state strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.empty-state p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 50px;
  padding: 22px 4px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .shell {
    padding: 34px 26px 60px;
  }
}

@media (min-width: 900px) {
  .content-grid {
    grid-template-columns: minmax(0, 1.56fr) minmax(310px, 0.78fr);
    align-items: start;
    gap: 20px;
  }

  .snapshot {
    position: sticky;
    top: 80px;
  }

  .change-card.has-image {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
  }

  .change-card.has-image .change-image {
    height: 100%;
    min-height: 240px;
    aspect-ratio: auto;
  }
}

@media (max-width: 899px) {
  .status-panel {
    min-height: 0;
  }

  .signal-visual {
    right: -6%;
    width: 330px;
    opacity: 0.3;
  }

  .watch-brief {
    width: 78%;
  }

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

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

@media (max-width: 639px) {
  .shell {
    padding: 18px 13px 38px;
  }

  .topbar {
    display: grid;
    gap: 20px;
    padding-bottom: 24px;
  }

  .brand-lockup {
    align-items: flex-start;
    gap: 12px;
  }

  .orbit-mark {
    width: 48px;
    height: 48px;
    margin-top: 3px;
  }

  .orbit-ring {
    width: 51px;
    height: 19px;
  }

  .orbit-world {
    width: 17px;
    height: 17px;
  }

  .orbit-moon {
    top: 8px;
    right: 5px;
    width: 5px;
    height: 5px;
  }

  .brand-note {
    max-width: 280px;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .source-link {
    min-height: 40px;
  }

  .status-panel {
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .telemetry-code {
    display: none;
  }

  .signal-visual {
    top: 24px;
    right: -76px;
    width: 235px;
    opacity: 0.23;
    transform: none;
  }

  .watch-brief {
    width: 100%;
    padding: 21px 18px 20px;
  }

  .brief-topline {
    margin-bottom: 52px;
  }

  .brief-status {
    max-width: 100px;
  }

  .watch-brief > h2 {
    max-width: 94%;
  }

  .source-stats {
    gap: 6px;
  }

  .summary-card {
    padding: 14px 15px;
  }

  .summary-bullets {
    font-size: 0.76rem;
  }

  .summary-bullets li:nth-child(n + 3):not(.summary-more) {
    display: none;
  }

  .watchlist-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .watchlist-panel > .section-heading {
    display: grid;
  }

  .watch-form-intro {
    align-items: flex-start;
  }

  .target-picker {
    padding: 13px;
  }

  .choice-list {
    max-height: 310px;
  }

  .target-choice {
    grid-template-columns: 38px minmax(0, 1fr) 25px;
    gap: 8px;
  }

  .target-choice img,
  .choice-orbit {
    width: 38px;
    height: 38px;
  }

  .delivery-panel summary {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .delivery-panel summary > small {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 40px;
  }

  .details-icon {
    grid-column: 2;
    grid-row: 1;
  }

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

  .delivery-grid .check-row {
    grid-column: auto;
  }

  .form-actions {
    align-items: flex-start;
  }

  .form-actions .primary-action {
    width: 100%;
  }

  .feed-intro {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 15px;
  }

  .feed-intro > p {
    margin-left: 0;
  }

  .controls {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 14px;
  }

  .filter-button:first-child {
    grid-column: 1 / -1;
  }

  .filter-button {
    min-height: 44px;
  }

  .change-card {
    border-radius: 15px;
  }

  .change-main {
    padding: 15px 15px 16px;
  }

  .change-meta {
    gap: 6px;
  }

  .track-action {
    margin-left: 0;
  }

  .site-footer {
    display: grid;
    gap: 7px;
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026 interface refinement: calmer hierarchy, less chrome, faster scanning. */
.shell {
  width: min(1240px, 100%);
  padding-top: 18px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 0 2px 18px;
}

.brand-lockup {
  width: fit-content;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-lockup .orbit-mark {
  width: 42px;
  height: 42px;
}

.brand-lockup .orbit-ring {
  width: 46px;
  height: 17px;
}

.brand-lockup .orbit-world {
  width: 15px;
  height: 15px;
}

.brand-lockup .orbit-moon {
  top: 7px;
  right: 4px;
  width: 5px;
  height: 5px;
}

.brand-lockup .eyebrow {
  margin-bottom: 1px;
  font-size: 0.61rem;
}

.brand-title {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 760;
  letter-spacing: -0.018em;
}

.primary-nav {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(220, 250, 235, 0.03);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 790;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a.active {
  color: #04110b;
  background: var(--signal);
  box-shadow: 0 6px 20px rgba(111, 240, 180, 0.13);
}

.primary-nav a > span {
  padding: 2px 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.topbar-actions {
  justify-self: end;
}

.source-link {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.status-panel {
  min-height: 0;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    linear-gradient(112deg, rgba(10, 26, 21, 0.985), rgba(8, 21, 18, 0.94)),
    radial-gradient(circle at 88% 42%, rgba(111, 240, 180, 0.13), transparent 35%);
}

.status-panel .signal-visual {
  right: -2%;
  width: min(27vw, 300px);
  opacity: 0.24;
  filter: blur(0.2px);
}

.status-panel .telemetry-code {
  right: 20px;
  bottom: 12px;
}

.watch-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: 28px;
  width: 100%;
  padding: 22px;
}

.brief-primary,
.brief-secondary {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.brief-primary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brief-secondary {
  align-self: stretch;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(226, 255, 241, 0.025);
  backdrop-filter: blur(8px);
}

.brief-topline {
  margin-bottom: 22px;
}

.watch-brief h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.brief-text {
  max-width: 650px;
  margin: 10px 0 15px;
  font-size: 0.86rem;
}

.metric-row {
  margin-bottom: 0;
}

.metric {
  min-height: 28px;
  padding: 0 9px;
}

.source-stats {
  gap: 7px;
  padding: 0 0 12px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.summary-list {
  margin-top: 10px;
}

.status-panel .summary-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  padding: 12px 13px;
  border: 0;
  background: rgba(111, 240, 180, 0.035);
}

.status-panel .summary-card h3 {
  font-size: 0.86rem;
}

.status-panel .summary-meta,
.status-panel .summary-bullets {
  font-size: 0.7rem;
}

.status-panel .summary-bullets li:nth-child(n + 4):not(.summary-more) {
  display: none;
}

.feed-intro {
  grid-template-columns: minmax(240px, 0.7fr) minmax(300px, 1fr);
  gap: 22px;
  margin: 0 3px 13px;
  padding-top: 3px;
}

.feed-intro h2 {
  font-family: inherit;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 610;
}

.feed-intro > p {
  font-size: 0.8rem;
}

.controls {
  top: 8px;
  margin-bottom: 18px;
  border-radius: 13px;
}

.content-grid,
.main-column {
  gap: 13px;
}

.timeline,
.status-stack,
.recent-items {
  gap: 8px;
}

.change-card {
  border-radius: 15px;
  content-visibility: auto;
  contain-intrinsic-size: 145px;
}

.change-card:hover {
  transform: translateY(-1px);
}

.change-main {
  gap: 7px;
  padding: 14px 15px 15px;
}

.change-title {
  font-size: 0.98rem;
}

.card-copy,
.item-excerpt {
  font-size: 0.79rem;
}

.item-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movement {
  padding: 7px 9px;
  font-size: 0.73rem;
}

.change-card.has-image .change-image {
  min-height: 180px;
}

.load-more {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--muted-2);
  background: rgba(226, 255, 241, 0.035);
  font-size: 0.76rem;
  font-weight: 760;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.load-more:hover {
  border-color: rgba(111, 240, 180, 0.38);
  color: var(--ink);
  background: var(--signal-soft);
}

@media (min-width: 900px) {
  .change-card.has-image {
    grid-template-columns: 168px minmax(0, 1fr);
  }
}

@media (max-width: 899px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .watch-brief {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .status-panel .signal-visual {
    right: -8%;
    width: 290px;
  }

  .status-panel .summary-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .shell {
    padding: 12px 13px 34px;
  }

  .topbar {
    display: grid;
    gap: 10px;
    padding: 0 1px 13px;
  }

  .brand-lockup {
    gap: 9px;
  }

  .brand-lockup .orbit-mark {
    width: 37px;
    height: 37px;
    margin-top: 0;
  }

  .brand-lockup .orbit-ring {
    width: 40px;
    height: 15px;
  }

  .brand-lockup .orbit-world {
    width: 13px;
    height: 13px;
  }

  .brand-lockup .eyebrow {
    font-size: 0.53rem;
  }

  .brand-title {
    font-size: 0.82rem;
  }

  .topbar-actions {
    gap: 5px;
  }

  .topbar-actions > .source-link:not(.watchlist-toggle) {
    display: none;
  }

  .source-link {
    min-height: 34px;
    padding: 0 10px;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav a {
    min-height: 32px;
  }

  .status-panel {
    margin-bottom: 16px;
    border-radius: 17px;
  }

  .status-panel .signal-visual {
    top: 10px;
    right: -78px;
    width: 210px;
    opacity: 0.16;
  }

  .watch-brief {
    gap: 10px;
    padding: 15px;
  }

  .brief-topline {
    margin-bottom: 24px;
  }

  .watch-brief h1 {
    max-width: 90%;
    font-size: 1.68rem;
  }

  .brief-text {
    margin: 8px 0 12px;
    font-size: 0.8rem;
  }

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

  .metric {
    justify-content: space-between;
  }

  .brief-secondary {
    padding: 11px;
  }

  .source-stats {
    padding-bottom: 10px;
  }

  .status-panel .summary-card {
    padding: 9px 10px;
  }

  .status-panel .summary-bullets {
    display: none;
  }

  .feed-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .feed-intro .panel-label {
    margin-bottom: 3px;
  }

  .feed-intro h2 {
    font-size: 1.28rem;
  }

  .feed-intro > p {
    display: none;
  }

  .controls {
    position: sticky;
    display: grid;
    grid-auto-columns: minmax(78px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 4px;
    margin-right: -4px;
    margin-bottom: 14px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .controls::-webkit-scrollbar {
    display: none;
  }

  .filter-button:first-child {
    grid-column: auto;
  }

  .filter-button {
    min-height: 38px;
  }

  .change-main {
    padding: 13px;
  }

  .item-excerpt {
    -webkit-line-clamp: 2;
  }
}

.panel-value,
.metric strong,
.source-stat strong,
.filter-button strong,
.watch-count,
.muted {
  font-variant-numeric: tabular-nums;
}

.feed-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.feed-tools > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.range-switch {
  display: inline-grid;
  grid-auto-flow: column;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(226, 255, 241, 0.025);
}

.range-button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-size: 0.66rem;
  font-weight: 780;
  cursor: pointer;
}

.range-button.active {
  color: var(--ink);
  background: rgba(226, 255, 241, 0.09);
  box-shadow: inset 0 0 0 1px var(--line);
}

.summary-change-list {
  min-width: 0;
}

.summary-more-details {
  margin-top: 7px;
}

.summary-more-details summary {
  width: fit-content;
  color: var(--signal);
  font-size: 0.69rem;
  font-weight: 760;
  cursor: pointer;
}

.summary-more-details .summary-bullets {
  margin-top: 7px;
}

.watchlist-panel:not([open]) {
  display: none;
}

.watchlist-panel[open] {
  position: fixed;
  z-index: 80;
  inset: 12px 12px 12px auto;
  display: grid;
  width: min(560px, calc(100vw - 24px));
  max-width: none;
  height: calc(100dvh - 24px);
  max-height: none;
  margin: 0;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  overscroll-behavior: contain;
  grid-auto-rows: max-content;
  align-content: start;
  box-shadow: -24px 0 90px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.03);
}

.watchlist-panel::backdrop {
  background: rgba(1, 5, 4, 0.7);
  backdrop-filter: blur(6px);
}

body:has(.watchlist-panel[open]) {
  overflow: hidden;
}

.watchlist-panel .picker-grid {
  grid-template-columns: 1fr;
}

.drawer-heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.drawer-close {
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted-2);
  background: rgba(226, 255, 241, 0.035);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-close:hover {
  border-color: rgba(111, 240, 180, 0.34);
  color: var(--ink);
}

#watchlistTitle:focus {
  outline: none;
}

@media (max-width: 760px) {
  .feed-tools > p {
    display: none;
  }
}

@media (max-width: 639px) {
  .feed-tools {
    margin-left: auto;
  }

  .range-button {
    padding: 0 8px;
  }

  .status-panel .summary-bullets {
    display: grid;
  }

  .watchlist-panel[open] {
    inset: 8px;
    width: auto;
    height: calc(100dvh - 16px);
    padding: 16px;
    border-radius: 17px;
  }

  .watchlist-panel > .section-heading {
    display: flex;
    min-height: 0;
  }

  .drawer-heading-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 5px;
  }
}

.status-panel details.summary-card {
  display: block;
  padding: 0;
}

.summary-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  list-style: none;
  cursor: pointer;
}

.summary-card-heading::-webkit-details-marker {
  display: none;
}

.summary-card-heading > span:first-child {
  display: grid;
  gap: 2px;
}

.summary-card-heading .summary-label {
  margin: 0;
}

.summary-card-heading strong {
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.25;
}

.summary-card-heading small {
  color: var(--muted);
  font-size: 0.65rem;
}

.summary-expand {
  flex: 0 0 auto;
  color: var(--signal);
  font-size: 0.63rem;
  font-weight: 780;
}

details[open] > .summary-card-heading .summary-expand::before {
  content: "Hide";
}

details[open] > .summary-card-heading .summary-expand {
  font-size: 0;
}

details[open] > .summary-card-heading .summary-expand::before {
  font-size: 0.63rem;
}

.summary-card-body {
  display: grid;
  gap: 9px;
  padding: 0 12px 12px;
}

.summary-card-body .summary-meta {
  margin: 0;
}
