:root {
  --bg-primary: #08090a;
  --bg-panel: rgba(15, 16, 17, 0.96);
  --bg-elevated: rgba(25, 26, 27, 0.98);
  --bg-hover: rgba(40, 40, 44, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.015);
  --surface-strong: rgba(255, 255, 255, 0.035);
  --border-soft: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.08);
  --border-active: #8b8cff;
  --text-primary: #f7f8f8;
  --text-secondary: #d0d6e0;
  --text-muted: #8a8f98;
  --accent-primary: #2dd4bf;
  --accent-primary-soft: rgba(45, 212, 191, 0.14);
  --accent-secondary: #818cf8;
  --accent-secondary-soft: rgba(129, 140, 248, 0.14);
  --accent-cyan: #38bdf8;
  --accent-cyan-soft: rgba(56, 189, 248, 0.14);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.16);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.14);
  --shadow-panel:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(255, 255, 255, 0.045),
    0 18px 44px rgba(0, 0, 0, 0.38);
  --shadow-active:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(129, 140, 248, 0.28),
    0 20px 46px rgba(0, 0, 0, 0.42);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 14% 0%, rgba(129, 140, 248, 0.08), transparent 26%),
    radial-gradient(circle at 82% 0%, rgba(45, 212, 191, 0.08), transparent 22%),
    linear-gradient(180deg, #09090a 0%, #08090a 38%, #050607 100%);
}

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

.app-shell {
  width: min(1680px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.page-header,
.card,
.hero-card,
.section-card,
.timeline-shell {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(19, 20, 21, 0.98), rgba(10, 11, 12, 0.98)),
    rgba(15, 16, 17, 0.96);
  box-shadow: var(--shadow-panel);
}

.page-header::after,
.card::after,
.hero-card::after,
.section-card::after,
.timeline-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.028);
  pointer-events: none;
}

.page-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 24px 24px 22px;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: -32% auto auto -12%;
  width: 380px;
  height: 240px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.1), transparent 64%);
  pointer-events: none;
}

.page-heading {
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin: 10px 0 12px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.page-header p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 880px;
}

.eyebrow,
.field-label,
.section-label,
.hero-kicker {
  color: #c7d2fe;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
}

.header-status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(129, 140, 248, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
}

.header-status strong {
  color: var(--text-primary);
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.36);
}

.header-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
}

.ghost-button,
.chip,
.archive-button {
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.ghost-button {
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ghost-button:hover {
  color: #e4e7ff;
  border-color: rgba(129, 140, 248, 0.34);
  background: rgba(129, 140, 248, 0.1);
  transform: translateY(-1px);
}

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

.sidebar {
  padding: 18px;
  position: sticky;
  top: 18px;
}

.sidebar-overview {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.012);
  padding: 14px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.sidebar-overview::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-primary), rgba(45, 212, 191, 0));
}

.sidebar-overview h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.sidebar-overview p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 13px;
}

.mini-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-metric {
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.018);
}

.mini-metric-label {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-metric-value {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  font-weight: 700;
}

.filter-block + .filter-block {
  margin-top: 20px;
}

.text-input {
  width: 100%;
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.014);
  color: var(--text-primary);
  padding: 12px 14px;
  outline: none;
  font: inherit;
}

.text-input:focus {
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.12);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.chip:hover,
.chip.active {
  color: #dfe3ff;
  border-color: rgba(129, 140, 248, 0.3);
  background: rgba(129, 140, 248, 0.1);
}

.brief-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.archive-button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.014);
  border-radius: 18px;
  color: var(--text-primary);
  padding: 14px;
  cursor: pointer;
}

.archive-button:hover,
.archive-button.active {
  box-shadow: var(--shadow-active);
  border-color: rgba(129, 140, 248, 0.3);
  background:
    linear-gradient(180deg, rgba(129, 140, 248, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.014);
}

.archive-top,
.archive-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 12px;
}

.archive-summary {
  margin-top: 10px;
  color: var(--text-primary);
  line-height: 1.55;
  font-size: 13px;
}

.archive-meta {
  margin-top: 12px;
}

.edit-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.edit-path {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.7;
  word-break: break-word;
}

.brief-view {
  display: grid;
  gap: 18px;
}

.timeline-shell,
.hero-card,
.section-card {
  padding: 20px;
}

.section-top,
.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.section-top h2,
.hero-card h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.timeline-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-card {
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 360px;
  height: 260px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08), transparent 68%);
  pointer-events: none;
}

.hero-card p {
  max-width: 940px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 340px;
  justify-content: flex-end;
}

.project-tag,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.metric-card {
  border-radius: 18px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.014);
  min-height: 110px;
}

.metric-label {
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

.metric-value {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.metric-gold .metric-value,
.metric-gold .mini-metric-value {
  color: var(--accent-primary);
}

.metric-blue .metric-value {
  color: var(--accent-secondary);
}

.metric-green .metric-value {
  color: #6ee7b7;
}

.metric-slate .metric-value {
  color: #d7e1ed;
}

.hero-footer {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-footer > div {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.012);
}

.hero-footer strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-word;
}

.workstreams-card {
  overflow: hidden;
}

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

.workstream-tile {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.012);
  color: var(--text-secondary);
  line-height: 1.65;
}

.workstream-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 14px rgba(140, 247, 255, 0.36);
}

.live-rollup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-rollup-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.012);
}

.live-rollup-note {
  margin: 14px 0 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.live-rollup-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.live-rollup-card {
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.012);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.22);
}

.live-rollup-label {
  color: #d8e6ff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.live-rollup-copy {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.live-rollup-copy p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.68;
}

.live-rollup-copy strong {
  color: var(--text-primary);
}

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

.two-up-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 18px;
}

.bullet-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bullet-item {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bullet-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.bullet-item.positive::before {
  background: var(--green);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.35);
}

.bullet-item.risk::before {
  background: var(--accent-secondary);
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.3);
}

.todo-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.todo-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.014);
}

.todo-index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #050607;
  font-weight: 800;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 10px 20px rgba(45, 212, 191, 0.18);
}

.todo-copy {
  color: var(--text-secondary);
  line-height: 1.72;
}

.table-wrap {
  margin-top: 16px;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.012);
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.program-table th,
.program-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.program-table th {
  position: sticky;
  top: 0;
  background: rgba(11, 11, 11, 0.98);
  color: #c7d2fe;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.program-table td {
  color: var(--text-secondary);
  line-height: 1.62;
}

.timeline-scale {
  display: grid;
  gap: 10px;
  align-items: stretch;
  margin-top: 16px;
}

.timeline-day {
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.012);
}

.gantt-shell {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

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

.gantt-project-card {
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.008);
}

.gantt-project-title {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}

.gantt-project-meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.gantt-track {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.008)),
    rgba(255, 255, 255, 0.004);
}

.gantt-grid {
  position: absolute;
  inset: 0;
  display: grid;
}

.gantt-grid > div {
  border-right: 1px solid rgba(255, 255, 255, 0.035);
}

.gantt-bar {
  position: absolute;
  min-height: 26px;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gantt-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 100%;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 130%);
  pointer-events: none;
}

.status-completed {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.34), rgba(17, 75, 42, 0.76));
  color: #dbffec;
}

.status-in-progress {
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.42), rgba(54, 48, 120, 0.82));
  color: #eef0ff;
}

.status-planned {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.28), rgba(17, 59, 97, 0.8));
  color: #dcf4ff;
}

.status-blocked {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.34), rgba(88, 16, 16, 0.82));
  color: #ffe4e4;
}

.project-forecasting,
.project-monitoring,
.project-replay,
.project-data,
.project-environment,
.project-reporting,
.project-fdi,
.project-cluster {
  border-color: rgba(129, 140, 248, 0.28);
}

.project-tag.project-monitoring,
.status-pill.status-planned {
  color: #dcf4ff;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.24);
}

.project-tag.project-forecasting,
.project-tag.project-data,
.project-tag.project-environment,
.project-tag.project-reporting,
.project-tag.project-replay,
.project-tag.project-cluster,
.status-pill.status-in-progress {
  color: #e8e9ff;
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.22);
}

.project-tag.project-fdi {
  color: #d9fff6;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.24);
}

.status-pill.status-completed {
  color: #ddffeb;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.24);
}

.status-pill.status-blocked {
  color: #ffe4e4;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.24);
}

.empty-state {
  border-radius: 16px;
  padding: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .metrics-grid,
  .hero-footer,
  .workstream-grid,
  .live-rollup-grid,
  .brief-grid,
  .two-up-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .app-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 12px;
  }

  .page-header,
  .section-top,
  .hero-top {
    flex-direction: column;
  }

  .header-actions,
  .tag-row {
    justify-content: flex-start;
  }

  .metrics-grid,
  .hero-footer,
  .workstream-grid,
  .live-rollup-grid,
  .brief-grid,
  .two-up-grid,
  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .gantt-row,
  .timeline-scale {
    grid-template-columns: 1fr;
  }

  .timeline-scale > div:first-child {
    display: none;
  }
}

/* 2026-04-21 redesign pass: cinematic control-room theme */

:root {
  --bg-primary: #040816;
  --bg-panel: rgba(10, 16, 31, 0.88);
  --bg-elevated: rgba(14, 20, 38, 0.94);
  --bg-hover: rgba(24, 31, 56, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.028);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(134, 167, 255, 0.12);
  --border-strong: rgba(134, 167, 255, 0.18);
  --border-active: #7fd9ff;
  --text-primary: #f7fbff;
  --text-secondary: #c3d3eb;
  --text-muted: #7f92b1;
  --accent-primary: #6fe2ff;
  --accent-primary-soft: rgba(111, 226, 255, 0.16);
  --accent-secondary: #8e7dff;
  --accent-secondary-soft: rgba(142, 125, 255, 0.16);
  --accent-cyan: #25bfff;
  --accent-cyan-soft: rgba(37, 191, 255, 0.16);
  --accent-magenta: #ff73d2;
  --accent-magenta-soft: rgba(255, 115, 210, 0.15);
  --green: #43e792;
  --green-soft: rgba(67, 231, 146, 0.16);
  --red: #ff637d;
  --red-soft: rgba(255, 99, 125, 0.14);
  --shadow-panel:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(111, 150, 255, 0.08),
    0 24px 80px rgba(2, 6, 20, 0.62);
  --shadow-active:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(111, 226, 255, 0.22),
    0 28px 92px rgba(5, 11, 28, 0.72);
}

body {
  font-family: "Aptos", "Segoe UI Variable Display", "Inter", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(111, 226, 255, 0.14), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(255, 115, 210, 0.13), transparent 24%),
    radial-gradient(circle at 52% 0%, rgba(142, 125, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #070b1a 0%, #040816 44%, #02040f 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(111, 150, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 150, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
  opacity: 0.42;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.06), transparent 0 22%),
    linear-gradient(180deg, rgba(111, 226, 255, 0.04), transparent 42%);
  filter: blur(0);
  opacity: 0.7;
}

.app-shell {
  width: min(1720px, calc(100vw - 40px));
  padding: 28px 0 56px;
}

.page-header,
.card,
.hero-card,
.section-card,
.timeline-shell {
  background:
    linear-gradient(180deg, rgba(17, 26, 49, 0.94), rgba(8, 13, 28, 0.95)),
    rgba(10, 16, 31, 0.88);
  border: 1px solid rgba(111, 150, 255, 0.12);
  backdrop-filter: blur(24px) saturate(125%);
}

.page-header::after,
.card::after,
.hero-card::after,
.section-card::after,
.timeline-shell::after {
  border: 1px solid rgba(255, 255, 255, 0.038);
}

.page-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 28px;
  min-height: 360px;
  padding: 30px 30px 26px;
}

.page-header::before {
  inset: -22% auto auto -8%;
  width: 520px;
  height: 320px;
  background: radial-gradient(circle, rgba(111, 226, 255, 0.14), transparent 66%);
}

.page-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-header h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: 10ch;
}

.page-header p {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.82;
}

.eyebrow,
.field-label,
.section-label,
.hero-kicker {
  color: #b8c8ff;
}

.header-status {
  margin-top: 18px;
  border-color: rgba(111, 226, 255, 0.22);
  background: linear-gradient(180deg, rgba(111, 226, 255, 0.12), rgba(142, 125, 255, 0.08));
}

.status-dot {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-magenta));
  box-shadow:
    0 0 22px rgba(111, 226, 255, 0.52),
    0 0 36px rgba(255, 115, 210, 0.28);
}

.header-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.header-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(111, 150, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-ribbon span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 14px rgba(111, 226, 255, 0.45);
}

.header-visual {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 100%;
  gap: 18px;
}

.page-scene {
  position: relative;
  min-height: 250px;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.scene-halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.72;
}

.scene-halo-a {
  inset: 18px auto auto 14%;
  width: 180px;
  height: 180px;
  background: rgba(111, 226, 255, 0.18);
}

.scene-halo-b {
  inset: auto 12% 18px auto;
  width: 200px;
  height: 200px;
  background: rgba(255, 115, 210, 0.14);
}

.scene-stage {
  position: absolute;
  inset: 20px 24px 12px 20px;
  transform-style: preserve-3d;
}

.scene-plane {
  position: absolute;
  inset: auto 0 0;
  height: 148px;
  border-radius: 28px;
  transform-origin: center bottom;
  border: 1px solid rgba(111, 150, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)),
    rgba(8, 17, 37, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(3, 7, 20, 0.54);
}

.scene-plane-back {
  transform: translateZ(-120px) rotateX(69deg) rotateZ(-16deg) translateX(14px);
  opacity: 0.44;
}

.scene-plane-mid {
  height: 158px;
  transform: translateZ(-60px) rotateX(69deg) rotateZ(-11deg) translateX(4px);
  opacity: 0.72;
}

.scene-plane-front {
  height: 170px;
  transform: translateZ(0) rotateX(68deg) rotateZ(-6deg);
  overflow: hidden;
}

.scene-plane-front::before,
.scene-plane-front::after {
  content: "";
  position: absolute;
  inset: 0;
}

.scene-plane-front::before {
  background-image:
    linear-gradient(rgba(111, 226, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 226, 255, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.38;
}

.scene-plane-front::after {
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.18) 18%, transparent 24% 46%, rgba(111, 226, 255, 0.14) 52%, transparent 58% 100%);
  opacity: 0.55;
}

.scene-node {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffffff, var(--accent-primary) 56%, rgba(111, 226, 255, 0.05) 100%);
  box-shadow: 0 0 18px rgba(111, 226, 255, 0.5);
}

.scene-node-a {
  width: 14px;
  height: 14px;
  top: 20%;
  left: 18%;
}

.scene-node-b {
  width: 12px;
  height: 12px;
  top: 38%;
  left: 48%;
}

.scene-node-c {
  width: 18px;
  height: 18px;
  top: 44%;
  left: 74%;
  background: radial-gradient(circle at 35% 35%, #ffffff, var(--accent-magenta) 56%, rgba(255, 115, 210, 0.05) 100%);
  box-shadow: 0 0 18px rgba(255, 115, 210, 0.45);
}

.scene-node-d {
  width: 10px;
  height: 10px;
  top: 70%;
  left: 28%;
}

.scene-card-stack {
  position: absolute;
  right: 14px;
  top: 22px;
  width: 240px;
  height: 180px;
  transform-style: preserve-3d;
}

.scene-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(8, 15, 28, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(2, 6, 20, 0.5);
  backdrop-filter: blur(22px);
}

.scene-card-top {
  z-index: 3;
  padding: 20px 18px;
  transform: translateZ(56px) rotateX(10deg) rotateY(-14deg);
}

.scene-card-top strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--text-primary);
}

.scene-card-top span {
  display: block;
  margin-top: 12px;
  color: var(--text-secondary);
  line-height: 1.58;
  font-size: 13px;
}

.scene-card-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(111, 226, 255, 0.2);
  background: rgba(111, 226, 255, 0.1);
  color: #d9f8ff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.scene-card-mid {
  z-index: 2;
  transform: translateZ(12px) translateY(20px) translateX(-18px) rotateX(10deg) rotateY(-14deg);
  opacity: 0.54;
}

.scene-card-bottom {
  z-index: 1;
  transform: translateZ(-24px) translateY(40px) translateX(-34px) rotateX(10deg) rotateY(-14deg);
  opacity: 0.32;
}

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

.ghost-button {
  border-color: rgba(111, 150, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 31, 0.7);
}

.ghost-button:hover {
  color: #f7fbff;
  border-color: rgba(111, 226, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(111, 226, 255, 0.13), rgba(142, 125, 255, 0.08)),
    rgba(10, 16, 31, 0.7);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.96), rgba(6, 10, 21, 0.98)),
    rgba(10, 16, 31, 0.88);
}

.sidebar-overview {
  background:
    linear-gradient(180deg, rgba(111, 226, 255, 0.12), rgba(142, 125, 255, 0.06)),
    rgba(255, 255, 255, 0.025);
  border-color: rgba(111, 150, 255, 0.12);
}

.sidebar-overview::before {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), rgba(255, 115, 210, 0));
}

.text-input,
.archive-button,
.mini-metric,
.metric-card,
.todo-item,
.table-wrap,
.gantt-project-card,
.gantt-track {
  border-color: rgba(111, 150, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.015);
}

.archive-button:hover,
.archive-button.active {
  border-color: rgba(111, 226, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(111, 226, 255, 0.11), rgba(142, 125, 255, 0.06)),
    rgba(255, 255, 255, 0.018);
}

.timeline-shell,
.hero-card,
.section-card {
  padding: 24px;
}

.hero-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 115, 210, 0.11), transparent 24%),
    radial-gradient(circle at 18% 0%, rgba(111, 226, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 44, 0.96), rgba(8, 13, 28, 0.96)),
    rgba(10, 16, 31, 0.88);
}

.hero-card::before {
  inset: auto -100px -130px auto;
  width: 420px;
  height: 280px;
  background: radial-gradient(circle, rgba(111, 226, 255, 0.14), transparent 70%);
}

.metrics-grid {
  gap: 14px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 124px;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-primary), transparent 88%);
}

.metric-primary .metric-value {
  color: #88ebff;
}

.metric-secondary .metric-value {
  color: #c0b6ff;
}

.metric-green .metric-value {
  color: #8cf6b9;
}

.metric-slate .metric-value {
  color: #d6e4ff;
}

.hero-footer > div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.014);
}

.todo-index {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-magenta));
  box-shadow:
    0 14px 28px rgba(111, 226, 255, 0.14),
    0 8px 18px rgba(255, 115, 210, 0.18);
}

.program-table th {
  background: rgba(6, 11, 24, 0.98);
  color: #b7ccff;
}

.program-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.012);
}

.timeline-shell {
  overflow: hidden;
}

.timeline-shell::before {
  content: "";
  position: absolute;
  inset: auto -10% -46% 14%;
  width: 74%;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111, 226, 255, 0.12), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.timeline-day {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.012);
  border-color: rgba(111, 150, 255, 0.12);
}

.gantt-row {
  align-items: stretch;
}

.gantt-project-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 36px rgba(2, 6, 20, 0.26);
}

.gantt-track {
  background:
    linear-gradient(180deg, rgba(111, 226, 255, 0.035), rgba(255, 255, 255, 0.012)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 22%, rgba(255, 255, 255, 0.02) 78%, transparent 100%),
    rgba(255, 255, 255, 0.006);
}

.gantt-grid > div {
  border-right: 1px solid rgba(111, 150, 255, 0.08);
}

.gantt-bar {
  min-height: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(2, 6, 20, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.gantt-bar.is-tight {
  font-size: 10px;
  padding-inline: 7px;
}

.gantt-bar.is-compact {
  min-width: 10px;
  padding-inline: 0;
  justify-content: center;
}

.gantt-bar.is-compact span {
  display: none;
}

.gantt-bar span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-completed {
  background: linear-gradient(180deg, rgba(67, 231, 146, 0.52), rgba(18, 94, 54, 0.84));
}

.status-in-progress {
  background: linear-gradient(180deg, rgba(142, 125, 255, 0.58), rgba(50, 39, 112, 0.86));
}

.status-planned {
  background: linear-gradient(180deg, rgba(37, 191, 255, 0.5), rgba(12, 66, 104, 0.84));
}

.status-blocked {
  background: linear-gradient(180deg, rgba(255, 99, 125, 0.58), rgba(104, 18, 34, 0.88));
}

.project-tag.project-monitoring,
.status-pill.status-planned {
  background: rgba(37, 191, 255, 0.14);
  border-color: rgba(37, 191, 255, 0.26);
}

.project-tag.project-forecasting,
.project-tag.project-data,
.project-tag.project-environment,
.project-tag.project-reporting,
.project-tag.project-replay,
.project-tag.project-cluster,
.status-pill.status-in-progress {
  background: rgba(142, 125, 255, 0.14);
  border-color: rgba(142, 125, 255, 0.26);
}

.project-tag.project-fdi {
  color: #d8faff;
  background: rgba(111, 226, 255, 0.14);
  border-color: rgba(111, 226, 255, 0.26);
}

.status-pill.status-completed {
  background: rgba(67, 231, 146, 0.14);
  border-color: rgba(67, 231, 146, 0.26);
}

.status-pill.status-blocked {
  background: rgba(255, 99, 125, 0.14);
  border-color: rgba(255, 99, 125, 0.26);
}

@media (max-width: 1280px) {
  .page-header {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .header-visual {
    min-height: 280px;
  }
}

@media (max-width: 880px) {
  .page-header {
    padding: 24px 20px 20px;
  }

  .page-header h1 {
    max-width: none;
    font-size: clamp(40px, 10vw, 56px);
  }

  .page-scene {
    min-height: 200px;
  }

  .scene-card-stack {
    right: 0;
    width: 200px;
    height: 156px;
  }

  .scene-card-top strong {
    font-size: 24px;
  }
}

/* 2026-04-21 motion + black-background pass */

:root {
  --bg-primary: #010204;
  --bg-panel: rgba(7, 10, 14, 0.9);
  --bg-elevated: rgba(10, 14, 19, 0.95);
  --bg-hover: rgba(18, 24, 31, 0.94);
  --accent-primary: #8cf7ff;
  --accent-primary-soft: rgba(140, 247, 255, 0.18);
  --accent-secondary: #4ca5ff;
  --accent-secondary-soft: rgba(76, 165, 255, 0.16);
  --accent-cyan: #2ed8ff;
  --accent-cyan-soft: rgba(46, 216, 255, 0.16);
  --accent-magenta: #5ef4c6;
  --accent-magenta-soft: rgba(94, 244, 198, 0.14);
  --green: #53ef9d;
  --green-soft: rgba(83, 239, 157, 0.16);
  --red: #ff6b82;
  --red-soft: rgba(255, 107, 130, 0.14);
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(140, 247, 255, 0.08), transparent 22%),
    radial-gradient(circle at 82% 8%, rgba(76, 165, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #030406 0%, #010204 44%, #000000 100%);
}

body::before {
  opacity: 0.28;
}

.spotlight-veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(540px circle at var(--pointer-x, 78%) var(--pointer-y, 18%), rgba(140, 247, 255, 0.12), transparent 38%),
    radial-gradient(320px circle at calc(var(--pointer-x, 78%) - 10%) calc(var(--pointer-y, 18%) + 10%), rgba(76, 165, 255, 0.09), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.page-header,
.card,
.hero-card,
.section-card,
.timeline-shell {
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.96), rgba(2, 4, 8, 0.98)),
    rgba(7, 10, 14, 0.9);
  border-color: rgba(140, 247, 255, 0.08);
}

.page-header {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(140, 247, 255, 0.06),
    0 34px 100px rgba(0, 0, 0, 0.6);
}

.page-header::before {
  background: radial-gradient(circle, rgba(140, 247, 255, 0.12), transparent 66%);
}

.header-status,
.header-ribbon span,
.ghost-button,
.chip,
.archive-button,
.mini-metric,
.metric-card,
.todo-item,
.table-wrap,
.gantt-project-card,
.gantt-track,
.timeline-day {
  backdrop-filter: blur(18px) saturate(122%);
}

.header-status,
.header-ribbon span,
.ghost-button,
.chip:hover,
.chip.active,
.archive-button:hover,
.archive-button.active {
  border-color: rgba(140, 247, 255, 0.18);
}

.header-ribbon span,
.ghost-button,
.chip,
.archive-button,
.mini-metric,
.metric-card,
.todo-item,
.table-wrap,
.gantt-project-card,
.gantt-track,
.timeline-day {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.01);
}

.page-scene {
  transform-style: preserve-3d;
  animation: sceneFloat 12s ease-in-out infinite;
}

.scene-stage {
  transform: rotateX(var(--scene-tilt-x, 0deg)) rotateY(var(--scene-tilt-y, 0deg));
  transition: transform 240ms ease;
}

.scene-plane-back,
.scene-plane-mid,
.scene-plane-front {
  border-color: rgba(140, 247, 255, 0.16);
}

.scene-plane-front::before {
  background-image:
    linear-gradient(rgba(140, 247, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 247, 255, 0.15) 1px, transparent 1px);
}

.scene-halo-a {
  background: rgba(140, 247, 255, 0.16);
}

.scene-halo-b {
  background: rgba(94, 244, 198, 0.12);
}

.scene-card-stack {
  transform: translateZ(0);
  animation: cardDrift 9s ease-in-out infinite;
}

.scene-card-top,
.archive-button,
.metric-card,
.todo-item,
.gantt-project-card,
.gantt-track,
.section-card,
.hero-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.archive-button:hover,
.metric-card:hover,
.todo-item:hover,
.gantt-project-card:hover,
.gantt-track:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(140, 247, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.38);
}

.section-card:hover,
.hero-card:hover {
  border-color: rgba(140, 247, 255, 0.14);
}

.metric-card::after,
.gantt-track::after,
.hero-card::after,
.section-card::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-card::before {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.status-dot,
.todo-index {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.timeline-shell::before {
  background: radial-gradient(circle, rgba(140, 247, 255, 0.1), transparent 70%);
}

.gantt-track {
  background:
    linear-gradient(180deg, rgba(140, 247, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014), transparent 22%, rgba(255, 255, 255, 0.014) 78%, transparent 100%),
    rgba(255, 255, 255, 0.004);
}

.gantt-bar {
  animation: barPulse 8s ease-in-out infinite;
}

.status-in-progress {
  background: linear-gradient(180deg, rgba(76, 165, 255, 0.56), rgba(14, 60, 110, 0.86));
}

.status-planned {
  background: linear-gradient(180deg, rgba(46, 216, 255, 0.48), rgba(8, 82, 98, 0.84));
}

.project-tag.project-forecasting,
.project-tag.project-data,
.project-tag.project-environment,
.project-tag.project-reporting,
.project-tag.project-replay,
.project-tag.project-cluster,
.status-pill.status-in-progress {
  background: rgba(76, 165, 255, 0.14);
  border-color: rgba(76, 165, 255, 0.22);
}

.project-tag.project-monitoring,
.status-pill.status-planned {
  background: rgba(46, 216, 255, 0.14);
  border-color: rgba(46, 216, 255, 0.22);
}

.project-tag.project-fdi {
  background: rgba(94, 244, 198, 0.12);
  border-color: rgba(94, 244, 198, 0.22);
}

@keyframes sceneFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes cardDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes barPulse {
  0%, 100% {
    filter: saturate(100%);
  }
  50% {
    filter: saturate(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight-veil,
  .page-scene,
  .scene-card-stack,
  .gantt-bar {
    animation: none !important;
  }

  .scene-stage,
  .archive-button,
  .metric-card,
  .todo-item,
  .gantt-project-card,
  .gantt-track,
  .section-card,
  .hero-card {
    transition: none !important;
    transform: none !important;
  }
}

/* 2026-04-22 responsive stability pass */

.layout,
.layout > *,
.sidebar,
.brief-view,
.page-header,
.page-heading,
.live-rollup-grid,
.live-rollup-card,
.timeline-shell,
.section-card,
.hero-card,
.archive-button,
.text-input {
  min-width: 0;
}

.section-top,
.hero-top,
.archive-top,
.archive-meta {
  flex-wrap: wrap;
}

.chip {
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.live-rollup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.live-rollup-copy,
.archive-summary,
.edit-path,
.todo-copy {
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar,
  .brief-view {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 880px) {
  .page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    min-height: auto;
    padding: 20px 16px 18px;
  }

  .page-header h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .page-header p {
    font-size: 14px;
    line-height: 1.6;
  }

  .sidebar {
    padding: 14px;
  }

  .section-card,
  .hero-card,
  .timeline-shell {
    padding: 16px;
  }

  .section-top h2,
  .hero-card h2 {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.08;
  }

  .program-table {
    min-width: 560px;
  }

  .gantt-bar {
    font-size: 11px;
    padding: 6px 9px;
  }
}

@media (max-width: 520px) {
  .app-shell {
    width: calc(100vw - 20px);
    padding-top: 10px;
  }

  .page-header,
  .sidebar,
  .section-card,
  .hero-card,
  .timeline-shell {
    border-radius: 18px;
  }

  .archive-top,
  .archive-meta,
  .section-top,
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .header-actions {
    width: 100%;
  }

  .scene-card-top strong {
    font-size: 20px;
  }
}

/* 2026-04-22 cinematic scene pass */

.page-header {
  min-height: min(88vh, 940px);
  align-items: stretch;
  isolation: isolate;
}

.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 2, 4, 0.94) 0%, rgba(1, 2, 4, 0.78) 28%, rgba(1, 2, 4, 0.34) 56%, rgba(1, 2, 4, 0.72) 100%),
    linear-gradient(180deg, rgba(1, 2, 4, 0.08), rgba(1, 2, 4, 0.72));
  z-index: 1;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(1, 2, 4, 0), rgba(1, 2, 4, 0.86) 84%);
  z-index: 2;
}

.hero-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.04) brightness(0.82);
}

.hero-display-word {
  position: absolute;
  left: clamp(18px, 3vw, 42px);
  top: clamp(42px, 7vw, 110px);
  z-index: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(116px, 18vw, 296px);
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0.14;
  text-transform: uppercase;
  pointer-events: none;
  transform: translateY(calc(var(--scroll-depth, 0px) * -0.12));
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.26));
}

.hero-display-orbit {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(140, 247, 255, 0.14);
  opacity: 0.6;
}

.hero-display-orbit-a {
  width: 520px;
  height: 520px;
  right: -110px;
  top: -120px;
  transform: rotate(-12deg);
}

.hero-display-orbit-b {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -60px;
  transform: rotate(18deg);
  border-color: rgba(76, 165, 255, 0.14);
}

.page-heading,
.header-visual {
  position: relative;
  z-index: 2;
}

.page-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(180px, 20vw, 320px);
}

.page-header h1 {
  max-width: 11ch;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.page-header p {
  max-width: 72ch;
  font-size: clamp(14px, 1.4vw, 17px);
}

.header-ribbon {
  max-width: 780px;
}

.header-visual {
  min-height: 100%;
  padding-top: 16px;
}

.page-scene {
  min-height: 520px;
  overflow: hidden;
}

.scene-moon {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 38%, rgba(255, 255, 255, 0.95), rgba(214, 234, 255, 0.78) 58%, rgba(214, 234, 255, 0.05) 100%);
  box-shadow:
    0 0 50px rgba(196, 226, 255, 0.18),
    inset -28px -10px 0 rgba(2, 4, 8, 0.82);
  opacity: 0.92;
  transform: translateY(calc(var(--scroll-depth, 0px) * -0.08));
}

.scene-aurora {
  position: absolute;
  inset: 10% 4% auto 10%;
  height: 220px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 40%, rgba(255, 142, 214, 0.28), transparent 30%),
    radial-gradient(circle at 42% 50%, rgba(140, 247, 255, 0.18), transparent 28%),
    radial-gradient(circle at 72% 32%, rgba(76, 165, 255, 0.24), transparent 32%);
  filter: blur(34px);
  opacity: 0.9;
  transform: translateY(calc(var(--scroll-depth, 0px) * -0.06));
}

.scene-horizon-glow {
  position: absolute;
  inset: auto -10% 18% -6%;
  height: 180px;
  background:
    radial-gradient(circle at 30% 60%, rgba(255, 151, 208, 0.26), transparent 32%),
    radial-gradient(circle at 65% 46%, rgba(140, 247, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(2, 6, 14, 0.88));
  filter: blur(24px);
  opacity: 0.92;
}

.scene-monolith {
  position: absolute;
  left: 14%;
  right: 22%;
  bottom: 108px;
  height: 160px;
  border-radius: 28px;
  border: 1px solid rgba(140, 247, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    linear-gradient(135deg, rgba(12, 16, 24, 0.98), rgba(4, 7, 13, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 120px rgba(0, 0, 0, 0.45);
  transform:
    perspective(1200px)
    rotateX(58deg)
    rotateZ(-12deg)
    translateY(calc(var(--scroll-depth, 0px) * 0.04));
  overflow: hidden;
}

.scene-monolith::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 247, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 247, 255, 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.28;
}

.scene-monolith-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), var(--accent-primary), transparent);
  box-shadow: 0 0 18px rgba(140, 247, 255, 0.36);
}

.scene-monolith-line-a {
  width: 44%;
  top: 28%;
  left: 12%;
}

.scene-monolith-line-b {
  width: 58%;
  top: 48%;
  left: 22%;
}

.scene-monolith-line-c {
  width: 26%;
  top: 66%;
  left: 52%;
}

.scene-card-stack {
  right: 6px;
  top: 48px;
  width: 290px;
  height: 210px;
}

.scene-card-top {
  transform: translateZ(74px) rotateX(10deg) rotateY(-18deg) translateY(calc(var(--scroll-depth, 0px) * -0.03));
}

.scene-card-mid {
  transform: translateZ(18px) translateY(26px) translateX(-22px) rotateX(10deg) rotateY(-18deg);
}

.scene-card-bottom {
  transform: translateZ(-30px) translateY(52px) translateX(-42px) rotateX(10deg) rotateY(-18deg);
}

.scene-card-top strong {
  font-size: 34px;
}

.live-rollup-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding-top: 118px;
  transform-style: preserve-3d;
}

.live-rollup-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  background:
    linear-gradient(135deg, rgba(10, 16, 31, 0.74), rgba(6, 8, 14, 0.9)),
    radial-gradient(circle at 18% 40%, rgba(140, 247, 255, 0.22), transparent 30%),
    radial-gradient(circle at 78% 28%, rgba(76, 165, 255, 0.22), transparent 34%),
    url("./assets/card-header-openai.png");
  background-size: auto, auto, auto, cover;
  background-position: center, 18% 40%, 78% 28%, center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-rollup-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.48), transparent 48%);
  pointer-events: none;
}

.live-rollup-card:nth-child(2)::before {
  background:
    linear-gradient(135deg, rgba(8, 18, 27, 0.72), rgba(6, 9, 14, 0.9)),
    radial-gradient(circle at 24% 44%, rgba(94, 244, 198, 0.2), transparent 26%),
    radial-gradient(circle at 74% 22%, rgba(76, 165, 255, 0.22), transparent 30%),
    url("./assets/card-header-openai.png");
  background-size: auto, auto, auto, cover;
  background-position: center, 24% 44%, 74% 22%, center right;
}

.live-rollup-card:nth-child(3)::before {
  background:
    linear-gradient(135deg, rgba(18, 10, 27, 0.72), rgba(7, 8, 14, 0.9)),
    radial-gradient(circle at 18% 42%, rgba(255, 146, 214, 0.18), transparent 28%),
    radial-gradient(circle at 78% 26%, rgba(140, 247, 255, 0.18), transparent 28%),
    url("./assets/card-header-openai.png");
  background-size: auto, auto, auto, cover;
  background-position: center, 18% 42%, 78% 26%, center left;
}

.live-rollup-label {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.live-rollup-copy {
  position: relative;
  z-index: 1;
}

.live-rollup-card:hover {
  transform: translateY(-4px) rotateX(3deg) rotateY(-2deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(140, 247, 255, 0.16),
    0 30px 70px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1100px) {
  .hero-display-word {
    font-size: clamp(96px, 24vw, 200px);
    top: 62px;
  }

  .scene-monolith {
    left: 8%;
    right: 10%;
    bottom: 92px;
  }
}

@media (max-width: 880px) {
  .hero-display-word {
    top: 52px;
    left: 16px;
    font-size: clamp(76px, 22vw, 152px);
    opacity: 0.11;
  }

  .hero-display-orbit-a,
  .hero-display-orbit-b {
    display: none;
  }

  .page-heading {
    padding-top: 104px;
  }

  .page-header h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .page-scene {
    min-height: 360px;
  }

  .hero-poster img {
    object-position: 62% 34%;
    filter: saturate(1.04) contrast(1.03) brightness(0.76);
  }

  .scene-moon {
    width: 84px;
    height: 84px;
    right: 10px;
    top: 12px;
  }

  .scene-monolith {
    height: 124px;
    bottom: 76px;
  }

  .scene-card-stack {
    width: 228px;
    height: 170px;
    right: 0;
    top: 36px;
  }

  .live-rollup-card {
    min-height: 220px;
    padding-top: 100px;
  }

  .live-rollup-card::before {
    height: 100px;
  }
}

@media (max-width: 520px) {
  .page-heading {
    padding-top: 84px;
  }

  .page-scene {
    min-height: 290px;
  }

  .hero-poster::before {
    background:
      linear-gradient(180deg, rgba(1, 2, 4, 0.56), rgba(1, 2, 4, 0.88)),
      linear-gradient(90deg, rgba(1, 2, 4, 0.88) 0%, rgba(1, 2, 4, 0.54) 52%, rgba(1, 2, 4, 0.86) 100%);
  }

  .hero-poster img {
    object-position: 68% 32%;
    transform: scale(1.08);
  }

  .scene-monolith {
    left: 6%;
    right: 6%;
    bottom: 60px;
    height: 94px;
  }

  .scene-card-stack {
    width: 182px;
    height: 142px;
    top: 24px;
  }

  .scene-card-top {
    padding: 14px 12px;
  }

  .scene-card-top strong {
    font-size: 24px;
  }

  .scene-card-top span {
    font-size: 11px;
    line-height: 1.45;
  }

  .live-rollup-card {
    min-height: 0;
    padding-top: 92px;
  }
}

/* 2026-04-22 signal-board scene cleanup */
.hero-display-word {
  font-size: clamp(100px, 16vw, 230px);
}

.header-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-scene {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.scene-halo-a {
  inset: 10% -4% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(74, 182, 255, 0.18), rgba(74, 182, 255, 0.02) 58%, transparent 72%);
  filter: blur(12px);
  opacity: 0.9;
}

.scene-halo-b {
  inset: auto auto 6% 8%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(82, 235, 196, 0.12), rgba(82, 235, 196, 0.02) 56%, transparent 72%);
  filter: blur(18px);
  opacity: 0.7;
}

.scene-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  aspect-ratio: 0.94;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 18%, rgba(110, 193, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    linear-gradient(135deg, rgba(8, 12, 20, 0.92), rgba(4, 6, 12, 0.82));
  border: 1px solid rgba(140, 247, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 60px rgba(76, 165, 255, 0.04),
    0 42px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  transform:
    perspective(1400px)
    rotateX(7deg)
    rotateY(-11deg)
    translateY(calc(var(--scroll-depth, 0px) * -0.02));
  overflow: hidden;
}

.scene-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
  pointer-events: none;
}

.scene-totem {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 84%;
  transform-style: preserve-3d;
  transform:
    perspective(1200px)
    rotateX(14deg)
    rotateY(-18deg)
    translateY(6px);
}

.scene-ring {
  position: absolute;
  inset: auto 50% 16% auto;
  width: 74%;
  height: 28%;
  border-radius: 999px;
  border: 1px solid rgba(104, 197, 255, 0.28);
  box-shadow:
    0 0 24px rgba(76, 165, 255, 0.22),
    inset 0 0 18px rgba(140, 247, 255, 0.08);
  transform:
    translateX(50%)
    rotateX(74deg)
    translateZ(10px);
}

.scene-core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(174, 246, 255, 0.95), rgba(76, 165, 255, 0.56) 42%, rgba(5, 9, 18, 0.06) 74%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 0 42px rgba(76, 165, 255, 0.26),
    0 18px 48px rgba(0, 0, 0, 0.34);
  transform:
    translate(-50%, -50%)
    rotate(45deg)
    translateZ(42px);
}

.scene-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74%;
  height: 26%;
  border-radius: 22px;
  border: 1px solid rgba(140, 247, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.015)),
    linear-gradient(135deg, rgba(10, 18, 28, 0.88), rgba(4, 8, 14, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.scene-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 247, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 247, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.2;
}

.scene-panel-back {
  transform:
    translate(-50%, -50%)
    rotateX(73deg)
    rotateZ(-8deg)
    translateY(38px)
    translateZ(-18px);
  opacity: 0.58;
}

.scene-panel-mid {
  transform:
    translate(-50%, -50%)
    rotateX(73deg)
    rotateZ(-8deg)
    translateY(8px)
    translateZ(4px);
  opacity: 0.76;
}

.scene-panel-front {
  transform:
    translate(-50%, -50%)
    rotateX(73deg)
    rotateZ(-8deg)
    translateY(-24px)
    translateZ(30px);
}

.scene-beam {
  position: absolute;
  left: 16%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(194, 247, 255, 0.9), rgba(76, 165, 255, 0.2));
  box-shadow: 0 0 18px rgba(104, 197, 255, 0.25);
}

.scene-beam-a {
  top: 28%;
  width: 48%;
}

.scene-beam-b {
  top: 46%;
  width: 58%;
}

.scene-beam-c {
  top: 64%;
  width: 34%;
}

.scene-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(198, 248, 255, 1), rgba(76, 165, 255, 0.8));
  box-shadow: 0 0 16px rgba(88, 198, 255, 0.32);
}

.scene-node-a {
  right: 22%;
  top: 24%;
}

.scene-node-b {
  right: 18%;
  top: 42%;
}

.scene-node-c {
  right: 30%;
  top: 60%;
}

.scene-pulse {
  position: absolute;
  inset: auto 2% 10% auto;
  width: 280px;
  height: 180px;
  background:
    radial-gradient(circle at 50% 50%, rgba(88, 198, 255, 0.22), transparent 38%),
    radial-gradient(circle at 28% 70%, rgba(82, 235, 196, 0.14), transparent 24%);
  filter: blur(28px);
  opacity: 0.8;
  pointer-events: none;
}

.scene-moon,
.scene-aurora,
.scene-horizon-glow,
.scene-monolith,
.scene-stage,
.scene-card-stack {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-display-word {
    font-size: clamp(88px, 22vw, 180px);
  }

  .scene-frame {
    width: min(100%, 320px);
  }
}

@media (max-width: 880px) {
  .page-scene {
    min-height: 360px;
  }

  .hero-poster img {
    object-position: 76% 50%;
    filter: saturate(1.03) contrast(1.02) brightness(0.8);
  }

  .scene-frame {
    width: min(100%, 290px);
    border-radius: 28px;
  }

  .scene-frame::before {
    inset: 10px;
    border-radius: 22px;
  }

  .scene-totem {
    width: 82%;
    height: 84%;
    transform:
      perspective(1100px)
      rotateX(14deg)
      rotateY(-16deg)
      translateY(8px);
  }
}

@media (max-width: 520px) {
  .page-scene {
    min-height: 280px;
  }

  .hero-display-word {
    font-size: clamp(58px, 18vw, 108px);
  }

  .hero-poster img {
    object-position: 82% 52%;
    transform: scale(1.12);
  }

  .scene-frame {
    width: min(100%, 236px);
    border-radius: 24px;
    transform:
      perspective(1200px)
      rotateX(6deg)
      rotateY(-8deg);
  }

  .scene-frame::before {
    inset: 8px;
    border-radius: 18px;
  }

  .scene-totem {
    width: 84%;
    height: 82%;
    transform:
      perspective(1000px)
      rotateX(14deg)
      rotateY(-14deg)
      translateY(6px);
  }

  .scene-pulse {
    width: 180px;
    height: 120px;
    right: 0;
    bottom: 8%;
  }
}

/* 2026-04-22 header reset: remove forced right-side visual */
.page-header {
  grid-template-columns: minmax(0, 1fr);
}

.page-heading {
  max-width: 1120px;
}

.page-header h1 {
  max-width: none;
}

.header-visual,
.page-scene,
.scene-halo,
.scene-frame,
.scene-pulse {
  display: none !important;
}

.header-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

@media (max-width: 880px) {
  .page-heading {
    padding-top: 96px;
  }

  .header-actions {
    margin-top: 20px;
  }
}
