/* ==========================================================================
   YieldVector OS — Page 5: Rollout & Trust (css/deployment.css)
   Light Liquid Glass Control-Room Language
   ========================================================================== */

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

body {
  background-color: var(--bg-base);
  color: var(--ink-body);
  font-family: var(--font-sans);
  overflow-x: clip;
}

/* Active Navigation State */
.nav-menu a.is-current {
  position: relative;
  color: var(--brand-molten);
  font-weight: 700;
}

.nav-menu a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--brand-molten);
}

/* Ambient Layered Radial Wash */
.ambient-mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(46% 38% at 12% 14%, rgba(196, 75, 26, 0.12) 0%, rgba(196, 75, 26, 0) 72%),
    radial-gradient(48% 42% at 88% 20%, rgba(31, 91, 99, 0.14) 0%, rgba(31, 91, 99, 0) 72%),
    radial-gradient(50% 42% at 22% 58%, rgba(60, 85, 112, 0.10) 0%, rgba(60, 85, 112, 0) 74%),
    radial-gradient(44% 38% at 84% 76%, rgba(196, 75, 26, 0.12) 0%, rgba(196, 75, 26, 0) 72%),
    radial-gradient(46% 36% at 48% 94%, rgba(31, 91, 99, 0.14) 0%, rgba(31, 91, 99, 0) 74%);
}

/* Page Flow */
.dep-main {
  padding: clamp(2.4rem, 4.4vw, 4rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.dep-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.6vw, 3.1rem);
}

/* Authentic Liquid Glass Panel */
.dep-glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.42));
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  border: 1px solid rgba(31, 42, 60, 0.12);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    var(--glass-shadow);
}

.dep-section {
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
}

.section-heading {
  margin: 0 0 clamp(1.35rem, 2.4vw, 2rem);
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.15vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.024em;
  color: var(--ink-primary);
}

/* Opening Hero */
.dep-hero {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  gap: clamp(1.75rem, 3.2vw, 3rem);
  align-items: center;
  padding: clamp(0.4rem, 1vw, 0.9rem) 0;
}

.dep-hero-title {
  margin: 0 0 1.05rem;
  font-family: var(--font-sans);
  font-size: clamp(2.05rem, 2.9vw, 3.05rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
}

.accent-teal {
  color: var(--brand-teal);
}

.dep-hero-copy {
  margin: 0;
  max-width: 54ch;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.62;
  color: var(--ink-body);
}

/* Split Grid (Sections 01 & 02) */
.dep-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  gap: clamp(1.6rem, 3vw, 2.75rem);
  align-items: center;
}

/* Shared Light Frosted Control-Room Console */
.live-console {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(237, 244, 249, 0.62));
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  border: 1px solid rgba(31, 42, 60, 0.13);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    var(--glass-shadow);
  padding: 1.1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(31, 42, 60, 0.10);
}

.console-header-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.console-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-primary);
  text-transform: uppercase;
}

.console-clock {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-teal);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Status Dots */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.status-dot--ok {
  background-color: var(--status-ok);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.status-dot--warn {
  background-color: var(--status-warn);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.20);
}

.status-dot--teal {
  background-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(31, 91, 99, 0.18);
}

.status-dot--pulse {
  animation: dotPulse 2.2s ease-in-out infinite;
}

/* ==========================================================================
   LIVE VISUAL #1: Hero Plant Control Monitor
   ========================================================================== */
.telemetry-stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.telemetry-row {
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(31, 42, 60, 0.09);
  border-radius: var(--radius-md);
  padding: 0.72rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.telemetry-row--inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.telemetry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.telemetry-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.telemetry-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.16rem 0.48rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.telemetry-tag--ok {
  color: var(--status-ok);
  background: rgba(5, 150, 105, 0.10);
  border: 1px solid rgba(5, 150, 105, 0.24);
}

.telemetry-tag--teal {
  color: var(--brand-teal);
  background: rgba(31, 91, 99, 0.10);
  border: 1px solid rgba(31, 91, 99, 0.22);
}

/* Oscilloscope Waveform Track */
.wave-viewport {
  position: relative;
  width: 100%;
  height: 34px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(31, 91, 99, 0.05), rgba(31, 91, 99, 0.02));
  border: 1px solid rgba(31, 91, 99, 0.11);
}

.wave-viewport::before,
.wave-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  z-index: 2;
  pointer-events: none;
}

.wave-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.wave-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.wave-track {
  display: flex;
  width: 200%;
  height: 100%;
  will-change: transform;
  animation: waveGlide 5.2s linear infinite;
}

.wave-svg {
  width: 50%;
  height: 100%;
  display: block;
  flex-shrink: 0;
}

/* 72-Hr Plan Horizon Progress Sweep */
.horizon-track {
  position: relative;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(31, 42, 60, 0.08);
  overflow: hidden;
}

.horizon-fill {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-teal) 0%, var(--status-ok) 100%);
  overflow: hidden;
}

.horizon-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.56) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  will-change: transform;
  animation: lightSweep 2.8s ease-in-out infinite;
}

/* Archive Status Readout */
.archive-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.telemetry-readout {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 01: Phased Rollout Stages & Interactive Rollout Simulator
   ========================================================================== */
.stage-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.stage-item {
  appearance: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(31, 42, 60, 0.08);
  border-left-width: 3px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.95rem 1.1rem;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stage-item--steel {
  border-left-color: var(--ink-steel);
}

.stage-item--teal {
  border-left-color: var(--brand-teal);
}

.stage-item--ok {
  border-left-color: var(--status-ok);
}

.stage-item:hover,
.stage-item:focus-visible {
  background: rgba(255, 255, 255, 0.68);
  outline: none;
}

.stage-item:focus-visible {
  box-shadow: 0 0 0 2px rgba(31, 91, 99, 0.34);
}

.stage-item.is-active {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(31, 42, 60, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 18px rgba(31, 42, 60, 0.06);
}

.stage-item.stage-item--steel.is-active {
  border-left-color: var(--ink-steel);
}

.stage-item.stage-item--teal.is-active {
  border-left-color: var(--brand-teal);
}

.stage-item.stage-item--ok.is-active {
  border-left-color: var(--status-ok);
}

.stage-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
}

.stage-desc {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.54;
  color: var(--ink-body);
}

/* LIVE VISUAL #2: Rollout Simulator */
.sim-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
  padding: 0.28rem;
  border-radius: var(--radius-md);
  background: rgba(31, 42, 60, 0.06);
  border: 1px solid rgba(31, 42, 60, 0.08);
}

.sim-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 0.48rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-steel);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.sim-tab:hover {
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.55);
}

.sim-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(31, 91, 99, 0.36);
}

.sim-tab.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-primary);
  font-weight: 700;
  border-color: rgba(31, 42, 60, 0.12);
  box-shadow: 0 2px 8px rgba(31, 42, 60, 0.08);
}

.bay-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 0.25rem;
}

.scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    90deg,
    rgba(60, 85, 112, 0) 0%,
    rgba(60, 85, 112, 0.18) 50%,
    rgba(60, 85, 112, 0) 100%
  );
  border-right: 1px solid rgba(60, 85, 112, 0.32);
  opacity: 0;
  transform: translateX(-110%);
}

.rollout-sim[data-active-phase="1"] .scan-beam {
  opacity: 1;
  animation: auditScan 2.6s ease-in-out infinite;
}

.bay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.bay-tile {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 42, 60, 0.11);
  border-radius: var(--radius-md);
  padding: 0.72rem 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.bay-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.bay-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bay-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ink-steel);
  transition: background-color 320ms ease, box-shadow 320ms ease;
}

.bay-state {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-steel);
  transition: color 320ms ease;
}

/* Staggered Go-Live Transition Delays */
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="0"],
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="0"] .bay-dot,
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="0"] .bay-state {
  transition-delay: 0ms;
}

.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="1"],
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="1"] .bay-dot,
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="1"] .bay-state {
  transition-delay: 140ms;
}

.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="2"],
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="2"] .bay-dot,
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="2"] .bay-state {
  transition-delay: 280ms;
}

.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="3"],
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="3"] .bay-dot,
.rollout-sim[data-active-phase="2"] .bay-tile[data-bay="3"] .bay-state {
  transition-delay: 420ms;
}

.rollout-sim[data-active-phase="2"] .bay-tile,
.rollout-sim[data-active-phase="3"] .bay-tile {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(5, 150, 105, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(5, 150, 105, 0.07);
}

.rollout-sim[data-active-phase="2"] .bay-dot,
.rollout-sim[data-active-phase="3"] .bay-dot {
  background-color: var(--status-ok);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.rollout-sim[data-active-phase="2"] .bay-state,
.rollout-sim[data-active-phase="3"] .bay-state {
  color: var(--status-ok);
}

/* Calibration Meter Slot */
.calibration-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 42, 60, 0.09);
  border-radius: var(--radius-md);
  padding: 0.62rem 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.calibration-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.calibration-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-steel);
}

.calibration-state {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  transition: color 260ms ease;
}

.rollout-sim[data-active-phase="2"] .calibration-state {
  color: var(--brand-teal);
}

.rollout-sim[data-active-phase="3"] .calibration-state {
  color: var(--status-ok);
}

.calibration-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 42, 60, 0.09);
  overflow: hidden;
}

.calibration-fill {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0.14);
  background: var(--ink-steel);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), background-color 320ms ease;
}

.rollout-sim[data-active-phase="2"] .calibration-fill {
  transform: scaleX(0.54);
  background: var(--brand-teal);
}

.rollout-sim[data-active-phase="3"] .calibration-fill {
  transform: scaleX(1);
  background: var(--status-ok);
}

/* Stage Readout */
.sim-readout {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-primary);
  padding: 0.48rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(31, 42, 60, 0.045);
  border: 1px solid rgba(31, 42, 60, 0.08);
}

/* Persistent Bottom Pouring Strip */
.pouring-strip {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(31, 42, 60, 0.10);
}

.pouring-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pouring-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-molten);
}

.pouring-bar {
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background-image: linear-gradient(
    90deg,
    #C44B1A 0%,
    #E07845 30%,
    #C44B1A 60%,
    #E07845 85%,
    #C44B1A 100%
  );
  background-size: 200% 100%;
  animation: moltenGlide 3.2s linear infinite;
}

/* ==========================================================================
   SECTION 02: Reliability Points & Interactive Outage Sandbox
   ========================================================================== */
.dep-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.dep-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.58;
  color: var(--ink-body);
}

.dep-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-teal);
}

.dep-points strong {
  color: var(--ink-primary);
  font-weight: 700;
}

/* LIVE VISUAL #3: Outage Sandbox */
.console-header--action {
  flex-wrap: wrap;
}

.outage-toggle {
  appearance: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.82rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #FFFFFF;
  background: var(--brand-molten);
  border: 1px solid rgba(196, 75, 26, 0.85);
  box-shadow: 0 3px 10px rgba(196, 75, 26, 0.22);
  transition: background-color 180ms ease, border-color 180ms ease, transform 120ms ease, box-shadow 180ms ease;
}

.outage-toggle:hover {
  background: #A93F14;
  box-shadow: 0 4px 14px rgba(196, 75, 26, 0.30);
}

.outage-toggle:active {
  transform: translateY(1px);
}

.outage-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 75, 26, 0.32);
}

.outage-toggle[aria-pressed="true"] {
  background: var(--brand-teal);
  border-color: rgba(31, 91, 99, 0.90);
  box-shadow: 0 3px 10px rgba(31, 91, 99, 0.24);
}

.outage-toggle[aria-pressed="true"]:hover {
  background: #174950;
}

.outage-toggle:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* Connection Banner */
.net-banner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.82rem;
  border-radius: var(--radius-md);
  background: rgba(5, 150, 105, 0.09);
  border: 1px solid rgba(5, 150, 105, 0.24);
  transition: background-color 240ms ease, border-color 240ms ease;
}

.net-banner-text {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--status-ok);
  transition: color 240ms ease;
}

.outage-sim[data-net-state="offline"] .net-banner {
  background: rgba(217, 119, 6, 0.11);
  border-color: rgba(217, 119, 6, 0.32);
}

.outage-sim[data-net-state="offline"] .net-banner-text {
  color: var(--status-warn);
}

.outage-sim[data-net-state="offline"] .net-dot {
  background-color: var(--status-warn);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22);
}

.outage-sim[data-net-state="restoring"] .net-banner {
  background: rgba(31, 91, 99, 0.10);
  border-color: rgba(31, 91, 99, 0.28);
}

.outage-sim[data-net-state="restoring"] .net-banner-text {
  color: var(--brand-teal);
}

.outage-sim[data-net-state="restoring"] .net-dot {
  background-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(31, 91, 99, 0.20);
}

/* Cached Floor Schedule Card */
.floor-schedule {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 42, 60, 0.11);
  border-left: 3px solid var(--brand-teal);
  border-radius: var(--radius-md);
  padding: 0.78rem 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
  transition: border-left-color 240ms ease;
}

.outage-sim[data-net-state="offline"] .floor-schedule {
  border-left-color: var(--status-warn);
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.schedule-heading {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.schedule-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.16rem 0.46rem;
  border-radius: var(--radius-sm);
  color: var(--brand-teal);
  background: rgba(31, 91, 99, 0.10);
  border: 1px solid rgba(31, 91, 99, 0.22);
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.outage-sim[data-net-state="offline"] .schedule-tag {
  color: var(--status-warn);
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.30);
}

.schedule-rows {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.46rem 0.62rem;
  border-radius: var(--radius-sm);
  background: rgba(241, 246, 250, 0.78);
  border: 1px solid rgba(31, 42, 60, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.schedule-job {
  font-weight: 600;
  color: var(--ink-primary);
}

.schedule-status {
  font-weight: 700;
  color: var(--brand-teal);
  white-space: nowrap;
}

.schedule-status--pour {
  color: var(--brand-molten);
}

/* Entry & Write-Guard Footer */
.guard-footer {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  padding: 0.64rem 0.82rem;
  border-radius: var(--radius-md);
  background: rgba(31, 42, 60, 0.045);
  border: 1px solid rgba(31, 42, 60, 0.09);
}

.guard-line {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.45;
}

.outage-sim[data-net-state="offline"] .guard-footer {
  background: rgba(217, 119, 6, 0.07);
  border-color: rgba(217, 119, 6, 0.22);
}

/* ==========================================================================
   SECTION 03: Access Control & Full Data Ownership (2x2 Grid)
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.trust-card {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(31, 42, 60, 0.10);
  border-top-width: 3px;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.trust-card--steel {
  border-top-color: var(--ink-steel);
}

.trust-card--molten {
  border-top-color: var(--brand-molten);
}

.trust-card--teal {
  border-top-color: var(--brand-teal);
}

.trust-card--ok {
  border-top-color: var(--status-ok);
}

.trust-card h3 {
  margin: 0 0 0.48rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.trust-card p {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.58;
  color: var(--ink-body);
}

/* ==========================================================================
   Handoff Bar
   ========================================================================== */
.next-page-bar {
  padding: 1.45rem clamp(1.4rem, 2.8vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.next-page-title {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.next-page-sub {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-body);
}

/* ==========================================================================
   GPU-Friendly Keyframes
   ========================================================================== */
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.86);
  }
}

@keyframes waveGlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes lightSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes auditScan {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(310%);
  }
}

@keyframes moltenGlide {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .dep-hero,
  .dep-split-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .next-page-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .telemetry-row--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

/* ==========================================================================
   Reduced Motion Preference
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .status-dot--pulse,
  .wave-track,
  .horizon-fill::after,
  .scan-beam,
  .pouring-bar {
    animation: none !important;
  }

  .rollout-sim[data-active-phase="1"] .scan-beam {
    opacity: 0;
  }

  .bay-tile,
  .bay-dot,
  .bay-state,
  .calibration-fill,
  .stage-item,
  .sim-tab,
  .outage-toggle,
  .net-banner,
  .floor-schedule,
  .schedule-tag {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* === YVOS_LIQUID_GLASS_PAGE_V2 === */
.ambient-mesh {
  background-color: #EEF3F8;
  background-image:
    radial-gradient(ellipse 50% 40% at 88% 8%, rgba(31, 91, 99, 0.21) 0%, transparent 66%),
    radial-gradient(ellipse 50% 40% at 10% 24%, rgba(196, 75, 26, 0.145) 0%, transparent 68%),
    radial-gradient(ellipse 48% 38% at 84% 56%, rgba(60, 85, 112, 0.18) 0%, transparent 66%),
    radial-gradient(ellipse 50% 40% at 14% 84%, rgba(31, 91, 99, 0.18) 0%, transparent 68%);
}
