/* SENTINEL Executive SOC Dashboard Stylesheet - stable responsive rebuild */
:root {
  --sentinel-bg: #050914;
  --sentinel-bg-2: #07111f;
  --sentinel-panel: rgba(15, 23, 42, 0.88);
  --sentinel-panel-strong: rgba(8, 13, 23, 0.96);
  --sentinel-border: rgba(125, 211, 252, 0.22);
  --sentinel-border-strong: rgba(125, 211, 252, 0.42);
  --sentinel-text: #f8fafc;
  --sentinel-muted: #94a3b8;
  --sentinel-soft: #cbd5e1;
  --sentinel-blue: #2563eb;
  --sentinel-cyan: #38bdf8;
  --sentinel-green: #86efac;
  --sentinel-amber: #fbbf24;
  --sentinel-red: #f87171;
  --radius: 18px;
  --page-pad: clamp(16px, 4vw, 34px);
}

* { box-sizing: border-box; }
html { width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--sentinel-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 32%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 28%),
    linear-gradient(145deg, #050914, #07111f 42%, #020617);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, video, iframe, canvas, svg { max-width: 100%; }

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px var(--page-pad);
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
}
.nav-title { color: #dbeafe; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; min-width: 0; }
.nav-links a,
.nav-links button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 999px;
  color: #f8fafc;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.95), rgba(29, 78, 216, 0.88));
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
  transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}
.nav-links a:hover,
.nav-links button:hover,
.button:hover { transform: translateY(-2px); filter: brightness(1.08); border-color: rgba(125, 211, 252, 0.52); }
.button.secondary,
.nav-links a:not(.active) { background: rgba(15, 23, 42, 0.86); color: #e5e7eb; box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.nav-links a.active { background: linear-gradient(145deg, rgba(37,99,235,1), rgba(29,78,216,.92)); }

.sentinel-wordmark { --logo-scale: 1; display: inline-flex; align-items: center; gap: calc(12px * var(--logo-scale)); perspective: 900px; transform-style: preserve-3d; min-width: 0; }
.sentinel-wordmark.compact { --logo-scale: .72; }
.hero-logo { --logo-scale: 1.12; }
.logo-glyph {
  position: relative; display: grid; place-items: center;
  width: calc(46px * var(--logo-scale)); height: calc(46px * var(--logo-scale));
  flex: 0 0 auto;
  border: 1px solid rgba(186,230,253,.42); border-radius: 14px;
  background: linear-gradient(135deg, rgba(56,189,248,.24), rgba(134,239,172,.08)), rgba(2,6,23,.78);
  box-shadow: inset 0 0 20px rgba(56,189,248,.18), 0 0 28px rgba(56,189,248,.28);
  transform: rotateX(58deg) rotateZ(45deg); animation: glyphTilt 6s ease-in-out infinite;
}
.logo-glyph::before, .logo-glyph::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(134,239,172,.42); border-radius: 8px; }
.logo-glyph::after { inset: 14px; border-color: rgba(251,191,36,.34); animation: glyphPing 3.2s ease-in-out infinite; }
.logo-glyph span { width: 8px; height: 8px; border-radius: 50%; background: var(--sentinel-green); box-shadow: 0 0 18px rgba(134,239,172,.75); }
.logo-text {
  position: relative; display: inline-block; max-width: 100%;
  color: #e0f2fe; font-size: clamp(2.1rem, 5vw, 4.4rem); font-weight: 900;
  letter-spacing: .16em; line-height: .92; text-transform: uppercase;
  text-shadow: 0 1px 0 #0f172a, 0 2px 0 #0f172a, 0 14px 34px rgba(56,189,248,.32);
  transform: rotateX(10deg) rotateY(-12deg); animation: wordmarkFloat 5.4s ease-in-out infinite;
}
.logo-text::before, .logo-text::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.logo-text::before { color: rgba(56,189,248,.42); transform: translate3d(3px,3px,-1px); z-index: -1; }
.logo-text::after { color: rgba(134,239,172,.32); clip-path: inset(0 0 52% 0); transform: translateX(-2px); animation: logoScan 4s ease-in-out infinite; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.72fr) minmax(300px,.82fr); gap: 22px; padding: 38px var(--page-pad); border-bottom: 1px solid rgba(125,211,252,.18); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -45% -10%; height: 72%; pointer-events: none; background: linear-gradient(rgba(56,189,248,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.08) 1px, transparent 1px); background-size: 44px 44px; transform: rotateX(68deg); transform-origin: top; opacity: .42; }
.hero > * { position: relative; z-index: 1; min-width: 0; }
.executive-hero { min-height: 430px; }
.eyebrow { color: var(--sentinel-cyan); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero-title { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.hero-title-sub { color: #dbeafe; font-size: clamp(1.45rem, 3.2vw, 2.65rem); font-weight: 900; letter-spacing: -.03em; }
.hero-subtitle { max-width: 760px; margin: 0; color: #cbd5e1; font-size: 1.06rem; line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.sentinel-orbit { position: relative; min-height: 315px; border: 1px solid rgba(96,165,250,.18); border-radius: 26px; background: radial-gradient(circle at center, rgba(56,189,248,.2), transparent 28%), linear-gradient(145deg, rgba(15,23,42,.46), rgba(2,6,23,.78)); box-shadow: inset 0 0 54px rgba(14,165,233,.1), 0 22px 60px rgba(0,0,0,.34); overflow: hidden; transform: rotateY(7deg) rotateX(3deg); animation: orbitFloat 7s ease-in-out infinite; }
.orbit-grid { position: absolute; inset: 18px; border-radius: 22px; background: linear-gradient(rgba(56,189,248,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.07) 1px, transparent 1px); background-size: 28px 28px; opacity: .52; }
.orbit-ring { position: absolute; inset: 18%; border: 1px solid rgba(125,211,252,.26); border-radius: 50%; animation: orbitSpin 12s linear infinite; }
.ring-b { inset: 28% 12%; transform: rotate(45deg); animation-duration: 16s; }
.ring-c { inset: 12% 30%; transform: rotate(-45deg); animation-duration: 20s; }
.orbit-core { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 96px; height: 96px; border: 1px solid rgba(125,211,252,.34); border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.34), rgba(15,23,42,.94) 66%); box-shadow: 0 0 38px rgba(56,189,248,.32), inset 0 0 22px rgba(255,255,255,.04); transform: translate(-50%,-50%); }
.sentinel-monogram { color: #e0f2fe; font-size: 2.45rem; font-weight: 900; }
.orbit-node { position: absolute; min-width: 70px; padding: 7px 10px; border: 1px solid rgba(147,197,253,.26); border-radius: 999px; color: #dbeafe; background: rgba(15,23,42,.74); font-size: .72rem; font-weight: 900; text-align: center; backdrop-filter: blur(10px); }
.node-render { top: 18%; left: 13%; } .node-lab { top: 18%; right: 12%; } .node-reports { bottom: 18%; left: 10%; } .node-tools { bottom: 18%; right: 10%; }
.orbit-sweep { position: absolute; inset: 12%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 74%, rgba(56,189,248,.24), transparent 84% 100%); opacity: .7; animation: orbitRadarSweep 8.5s linear infinite; }

.hero-panel, .board-panel, .card, .pricing-card, .assistant-panel, .category-tile, .tool-shard, .assessment-shell { border: 1px solid rgba(15,23,42,.72); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15,23,42,.88), rgba(2,6,23,.78)); box-shadow: 0 18px 54px rgba(0,0,0,.28); backdrop-filter: blur(14px); }
.hero-panel { padding: 24px; align-self: stretch; }
.hero-panel-title, .metric-label, .plan-name, .cell-label { color: #93c5fd; font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.big-status { margin-top: 10px; color: var(--sentinel-green); font-size: 2.2rem; font-weight: 900; text-shadow: 0 0 26px rgba(134,239,172,.42); }
.build { margin-top: 4px; color: var(--sentinel-muted); font-size: .88rem; }
.readiness-dial { display: grid; grid-template-columns: 86px minmax(0,1fr); align-items: center; gap: 14px; margin-top: 18px; padding: 14px; border: 1px solid rgba(148,163,184,.16); border-radius: 16px; background: rgba(15,23,42,.56); }
.readiness-ring { --score: 0%; display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid rgba(186,230,253,.22); border-radius: 50%; background: radial-gradient(circle, rgba(13,15,18,.96) 56%, transparent 57%), conic-gradient(var(--sentinel-green) var(--score), rgba(38,43,51,.95) 0); box-shadow: inset 0 0 22px rgba(0,0,0,.35), 0 0 18px rgba(56,189,248,.2); }
.readiness-ring span { color: #f8fafc; font-size: 1rem; font-weight: 900; }
.dial-label { color: #bfdbfe; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dial-copy { margin-top: 4px; color: var(--sentinel-muted); font-size: .86rem; line-height: 1.35; }
.status-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.status-pill, .warning-pill, .ops-readout, .pricing-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 900; line-height: 1.1; }
.status-pill, .ops-readout, .pricing-badge { color: #bbf7d0; border: 1px solid rgba(134,239,172,.26); background: rgba(6,78,59,.58); }
.warning-pill { color: #fde68a; border: 1px solid rgba(251,191,36,.28); background: rgba(113,63,18,.46); }

.command-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; padding: 1px var(--page-pad); background: rgba(96,165,250,.12); border-bottom: 1px solid rgba(96,165,250,.18); }
.command-cell { min-height: 72px; padding: 16px 18px; background: rgba(7,12,20,.94); display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.command-cell strong { color: #f8fafc; font-size: 1rem; overflow-wrap: break-word; }

.ops-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 18px;
  padding: 26px var(--page-pad) 12px;
  border-bottom: 1px solid rgba(125,211,252,.1);
  background: linear-gradient(180deg, rgba(3,7,18,.66), rgba(3,7,18,.18));
}
.ops-brief-main,
.ops-brief-card,
.workflow-step,
.section-band {
  border: 1px solid rgba(148,197,253,.18);
  background: linear-gradient(145deg, rgba(15,23,42,.78), rgba(2,6,23,.66));
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}
.ops-brief-main {
  padding: 22px;
  border-radius: 18px;
  min-width: 0;
}
.ops-brief-main h2,
.section-band h2 {
  margin: 6px 0 8px;
  color: #f8fafc;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}
.ops-brief-main p,
.section-band p {
  max-width: 850px;
  margin: 0;
  color: var(--sentinel-soft);
  line-height: 1.55;
}
.ops-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.ops-brief-card {
  min-width: 0;
  min-height: 132px;
  padding: 16px;
  border-radius: 16px;
}
.ops-brief-card span,
.workflow-step span {
  display: block;
  color: #93c5fd;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ops-brief-card strong {
  display: block;
  margin: 10px 0 6px;
  color: #f8fafc;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}
.ops-brief-card small,
.workflow-step small {
  display: block;
  color: var(--sentinel-muted);
  line-height: 1.35;
}
.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  padding: 18px var(--page-pad) 8px;
}
.workflow-step {
  position: relative;
  min-height: 126px;
  padding: 16px;
  border-radius: 16px;
  overflow: hidden;
}
.workflow-step::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: rgba(30,41,59,.9);
}
.workflow-step.active::after,
.workflow-step:nth-child(2)::after {
  background: linear-gradient(90deg, var(--sentinel-cyan), var(--sentinel-green));
  box-shadow: 0 0 18px rgba(56,189,248,.4);
}
.workflow-step strong {
  display: block;
  margin: 10px 0 6px;
  color: #f8fafc;
  font-size: 1.08rem;
}
.section-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 4px var(--page-pad) 0;
  padding: 22px;
  border-radius: 18px;
}
.section-band p {
  max-width: 560px;
  text-align: right;
}

.demo-reel-section { width: 100%; max-width: 100%; padding: 28px var(--page-pad) 8px; overflow: hidden; }
.demo-reel-header, .demo-reel-stage { border: 1px solid var(--sentinel-border); background: linear-gradient(145deg, rgba(15,23,42,.9), rgba(2,6,23,.82)); backdrop-filter: blur(14px); }
.demo-reel-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 22px; border-radius: 18px 18px 0 0; }
.demo-reel-header h2 { margin: 5px 0 6px; color: #f8fafc; font-size: 1.34rem; }
.demo-reel-header p { max-width: 850px; margin: 0; color: var(--sentinel-muted); line-height: 1.5; }
.demo-reel-actions, .demo-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.demo-reel-stage { display: grid; grid-template-columns: minmax(280px,.95fr) minmax(0,1.05fr); gap: 22px; padding: 22px; border-top: 0; overflow: hidden; }
body.demo-playing .demo-reel-stage { border-color: rgba(34,211,238,.38); box-shadow: 0 0 32px rgba(14,165,233,.16); }
.demo-visual, .video-frame, .demo-video, .cinematic-card { position: relative; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; border: 1px solid rgba(96,165,250,.2); border-radius: 18px; background: radial-gradient(circle at 50% 45%, rgba(56,189,248,.24), transparent 28%), linear-gradient(145deg, rgba(7,12,20,.94), rgba(15,23,42,.72)); box-shadow: inset 0 0 52px rgba(14,165,233,.10); }
.demo-visual { min-height: 270px; }
.demo-screen { position: absolute; inset: 18px; overflow: hidden; border: 1px solid rgba(125,211,252,.18); border-radius: 16px; background: linear-gradient(rgba(56,189,248,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.07) 1px, transparent 1px), rgba(2,6,23,.62); background-size: 30px 30px; }
.demo-scanline { position: absolute; inset: -20% 0 auto; z-index: 2; height: 34%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(125,211,252,.16), transparent); animation: demoScan 5s linear infinite; }
.demo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; z-index: 0; display: block; }
.demo-topline { display: flex; justify-content: space-between; gap: 12px; padding: 14px; color: #bfdbfe; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.demo-focus { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; transform: translate(-50%,-50%); }
.demo-focus-dot, .demo-focus-ring, .demo-focus-core { position: absolute; display: grid; place-items: center; border-radius: 50%; }
.demo-focus-dot { inset: 36px; background: var(--sentinel-green); box-shadow: 0 0 28px rgba(134,239,172,.64); }
.demo-focus-ring { inset: 0; border: 1px solid rgba(125,211,252,.38); background: conic-gradient(from 0deg, transparent, rgba(56,189,248,.32), transparent 32%); animation: orbitRadarSweep 5s linear infinite; }
.demo-focus-core { inset: 24px; color: #e0f2fe; border: 1px solid rgba(186,230,253,.24); background: rgba(15,23,42,.88); font-size: 1.45rem; font-weight: 900; }
.demo-focus[data-scene="boundary"] { transform: translate(-50%,-50%) rotate(-8deg); }
.demo-focus[data-scene="readiness"] { transform: translate(-50%,-50%) scale(1.08); }
.demo-focus[data-scene="assessments"] { transform: translate(-50%,-50%) translateX(26px); }
.demo-focus[data-scene="reporting"] { transform: translate(-50%,-50%) translateY(18px); }
.demo-mini-grid { position: absolute; inset: auto 14px 14px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.demo-mini-grid span { min-height: 26px; border: 1px solid rgba(148,163,184,.14); border-radius: 8px; background: rgba(15,23,42,.68); }
.demo-copy { display: flex; flex-direction: column; justify-content: center; min-height: 270px; min-width: 0; }
.demo-step-count { width: fit-content; padding: 6px 10px; color: #bbf7d0; border: 1px solid rgba(134,239,172,.28); border-radius: 999px; background: rgba(6,78,59,.42); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.demo-play-state { width: fit-content; margin-top: 8px; padding: 5px 9px; color: #bfdbfe; border: 1px solid rgba(96,165,250,.26); border-radius: 999px; background: rgba(30,64,175,.24); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
body.demo-playing .demo-play-state { color: #bbf7d0; border-color: rgba(134,239,172,.34); background: rgba(6,78,59,.42); }
.demo-copy h3 { margin: 14px 0 10px; color: #f8fafc; font-size: clamp(1.45rem,3vw,2.35rem); line-height: 1.08; overflow-wrap: break-word; }
.demo-copy p { max-width: 720px; margin: 0; color: var(--sentinel-soft); font-size: 1rem; line-height: 1.58; overflow-wrap: break-word; }
.demo-proof-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.demo-proof-grid span { padding: 7px 10px; color: #dbeafe; border: 1px solid rgba(147,197,253,.22); border-radius: 999px; background: rgba(37,99,235,.22); font-size: .78rem; font-weight: 900; }
.demo-timeline { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--sentinel-border); border-top: 0; border-radius: 0 0 18px 18px; background: rgba(96,165,250,.14); }
.demo-step { display: flex; flex-direction: column; gap: 8px; min-height: 76px; padding: 14px; color: #94a3b8; text-align: left; border: 0; background: rgba(7,12,20,.94); cursor: pointer; min-width: 0; }
.demo-step span { display: block; width: 100%; height: 5px; border-radius: 999px; background: rgba(30,41,59,.9); overflow: hidden; }
.demo-step span::after { content: ""; display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--sentinel-cyan),var(--sentinel-green)); transition: width .24s ease; }
.demo-step.active { color: #f8fafc; background: rgba(14,165,233,.16); }
.demo-step.active span::after, .demo-step.complete span::after { width: 100%; }
.demo-step strong { font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: break-word; }

.container { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 28px var(--page-pad); overflow: hidden; }
.executive-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { position: relative; min-height: 145px; padding: 20px; overflow: hidden; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; min-width: 0; }
.card:hover, .board-panel:hover, .pricing-card:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.14); box-shadow: 0 20px 60px rgba(0,0,0,.34); }
.metric { display: flex; flex-direction: column; gap: 8px; }
.metric-value { color: var(--sentinel-text); font-size: 2.25rem; font-weight: 900; }
.metric-note, .card p, .pricing-note, .pricing-header p, .assistant-copy p { color: var(--sentinel-muted); line-height: 1.55; }
.metric-bar, .category-progress { width: 100%; height: 8px; margin-top: auto; border: 1px solid rgba(148,163,184,.14); border-radius: 999px; background: rgba(15,23,42,.94); overflow: hidden; }
.metric-bar span, .category-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--sentinel-cyan),var(--sentinel-green)); box-shadow: 0 0 22px rgba(56,189,248,.48); transition: width .85s ease; }
.executive-board { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.75fr); gap: 18px; padding: 0 var(--page-pad) 30px; overflow: hidden; }
.board-panel { padding: 20px; overflow: hidden; min-width: 0; }
.board-wide { grid-row: span 2; }
.section-heading { margin: 0 0 14px; color: #f8fafc; font-size: 1.25rem; font-weight: 900; }
.readiness-matrix { display: grid; gap: 10px; }
.matrix-row { display: grid; grid-template-columns: 1.1fr .8fr .9fr; gap: 10px; padding: 12px; border: 1px solid rgba(148,163,184,.14); border-radius: 14px; background: rgba(15,23,42,.5); min-width: 0; }
.matrix-row.header { color: #bfdbfe; font-size: .75rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; background: rgba(30,64,175,.22); }
.severity { width: fit-content; padding: 5px 8px; border-radius: 999px; font-size: .74rem; font-weight: 900; }
.severity.high { color: #fecaca; background: rgba(127,29,29,.42); border: 1px solid rgba(248,113,113,.28); }
.severity.medium { color: #fde68a; background: rgba(113,63,18,.42); border: 1px solid rgba(251,191,36,.28); }
.severity.low { color: #bbf7d0; background: rgba(6,78,59,.42); border: 1px solid rgba(134,239,172,.28); }
.signal-feed { display: flex; flex-direction: column; gap: 10px; }
.signal-row, .signal-item { display: grid; grid-template-columns: 82px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px; border: 1px solid rgba(148,163,184,.14); border-radius: 12px; background: rgba(15,23,42,.5); }
.signal-item { grid-template-columns: auto minmax(0,1fr); }
.signal-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sentinel-cyan); box-shadow: 0 0 14px rgba(56,189,248,.5); }
.signal-time { color: #93c5fd; font-size: .78rem; font-weight: 900; }
.signal-status { color: #bbf7d0; font-size: .74rem; font-weight: 900; }
.boundary-diagram { position: relative; min-height: 230px; border: 1px solid rgba(96,165,250,.18); border-radius: 18px; background: radial-gradient(circle at center,rgba(56,189,248,.14),transparent 32%), rgba(2,6,23,.42); overflow: hidden; }
.boundary-cloud, .boundary-lab { position: absolute; top: 50%; width: 120px; height: 120px; display: grid; place-items: center; border: 1px solid rgba(147,197,253,.28); border-radius: 26px; background: rgba(15,23,42,.82); font-weight: 900; transform: translateY(-50%); }
.boundary-cloud { left: 12%; } .boundary-lab { right: 12%; }
.boundary-line { position: absolute; left: 34%; right: 34%; top: 50%; height: 2px; background: linear-gradient(90deg,var(--sentinel-cyan),var(--sentinel-green)); box-shadow: 0 0 18px rgba(56,189,248,.38); }
.boundary-lock { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(134,239,172,.34); border-radius: 50%; background: rgba(6,78,59,.74); transform: translate(-50%,-50%); }
.boundary-note { position: absolute; left: 18px; right: 18px; bottom: 18px; color: var(--sentinel-muted); font-size: .86rem; text-align: center; }

.assessment-command-section, .pricing-section, .assistant-section, .ops-visual { padding: 28px var(--page-pad); overflow: hidden; }
.assessment-shell { overflow: hidden; }
.assessment-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; border-bottom: 1px solid rgba(125,211,252,.16); }
.assessment-header h2 { margin: 5px 0 6px; color: #f8fafc; }
.assessment-header p { max-width: 760px; margin: 0; color: var(--sentinel-muted); line-height: 1.5; }
.assessment-layout { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 0; }
.assessment-panel { padding: 22px; border-right: 1px solid rgba(125,211,252,.12); min-width: 0; }
.assessment-panel:last-child { border-right: 0; }
.assessment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.assessment-tile { padding: 14px; border: 1px solid rgba(147,197,253,.16); border-radius: 16px; background: rgba(15,23,42,.52); min-width: 0; }
.assessment-tile strong { display: block; margin-bottom: 6px; color: #f8fafc; }
.assessment-tile span { color: var(--sentinel-muted); font-size: .86rem; line-height: 1.4; }
.assessment-console, pre, #output { max-width: 100%; min-height: 160px; padding: 18px; border: 1px solid rgba(134,239,172,.2); border-radius: 18px; background: #020617; color: #bbf7d0; font-family: "SFMono-Regular", Consolas, monospace; font-size: .86rem; line-height: 1.6; white-space: pre-wrap; overflow: auto; box-shadow: inset 0 0 30px rgba(34,197,94,.06); }
.pricing-header, .assistant-panel { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pricing-header h2, .assistant-copy h2 { margin: 5px 0 8px; color: #f8fafc; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.pricing-card { position: relative; padding: 22px; overflow: hidden; min-width: 0; }
.pricing-card.featured { border-color: rgba(134,239,172,.38); box-shadow: 0 0 34px rgba(34,197,94,.12); }
.pricing-badge { width: fit-content; margin-bottom: 10px; }
.price { margin: 10px 0; color: #f8fafc; font-size: 2.05rem; font-weight: 900; }
.price small { color: var(--sentinel-muted); font-size: .9rem; }
.pricing-card ul { display: grid; gap: 10px; padding-left: 18px; color: #cbd5e1; line-height: 1.45; }
.assistant-panel { align-items: stretch; padding: 24px; }
.assistant-actions { display: flex; flex-direction: column; gap: 10px; min-width: min(260px, 100%); }
.assistant-actions input, .assistant-actions textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(147,197,253,.22); border-radius: 14px; color: #f8fafc; background: rgba(2,6,23,.74); }
.assistant-response { min-height: 120px; margin-top: 14px; padding: 16px; border: 1px solid rgba(134,239,172,.2); border-radius: 16px; color: #bbf7d0; background: rgba(6,78,59,.18); line-height: 1.55; }
.operations-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 0; }
.ops-visual .card { min-height: 210px; }
.category-board, .tool-lattice, .card-grid, .dashboard-grid, .executive-grid, .video-grid, .demo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; width: 100%; max-width: 100%; }
.category-tile, .tool-shard { padding: 16px; min-width: 0; overflow: hidden; }
.category-title, .tool-name, .tool-shard-name { color: #f8fafc; font-weight: 900; }
.tool-meta, .category-meta, .tool-shard-meta { margin-top: 6px; color: var(--sentinel-muted); font-size: .86rem; line-height: 1.45; display: flex; justify-content: space-between; gap: 8px; }
.tool-shard-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sentinel-cyan); box-shadow: 0 0 14px rgba(56,189,248,.5); margin-bottom: 8px; }
footer, .footer { padding: 28px var(--page-pad); color: #94a3b8; border-top: 1px solid rgba(125,211,252,.14); background: rgba(2,6,23,.68); text-align: center; }

@keyframes glyphTilt { 0%,100% { transform: rotateX(58deg) rotateZ(45deg); } 50% { transform: rotateX(50deg) rotateZ(55deg); } }
@keyframes glyphPing { 0%,100% { opacity: .45; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes wordmarkFloat { 0%,100% { transform: rotateX(10deg) rotateY(-12deg) translateY(0); } 50% { transform: rotateX(10deg) rotateY(-8deg) translateY(-4px); } }
@keyframes logoScan { 0%,100% { clip-path: inset(0 0 74% 0); } 50% { clip-path: inset(42% 0 22% 0); } }
@keyframes orbitFloat { 0%,100% { transform: rotateY(7deg) rotateX(3deg) translateY(0); } 50% { transform: rotateY(2deg) rotateX(6deg) translateY(-6px); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitRadarSweep { to { transform: rotate(360deg); } }
@keyframes demoScan { to { transform: translateY(380%); } }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .command-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ops-brief { grid-template-columns: 1fr; }
  .container, .executive-metrics, .pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .executive-board, .assessment-layout, .demo-reel-stage { grid-template-columns: 1fr; }
  .category-board, .tool-lattice, .card-grid, .dashboard-grid, .executive-grid, .video-grid, .demo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
  :root { --page-pad: 16px; }
  html, body { width: 100%; max-width: 100%; overflow-x: hidden !important; }
  .top-nav { position: relative; display: block; padding: 20px 16px; }
  .nav-title, .sentinel-wordmark { width: 100%; max-width: 100%; justify-content: center; text-align: center; }
  .sentinel-wordmark.compact { --logo-scale: .62; }
  .logo-text { font-size: clamp(2.05rem, 13vw, 3.3rem); letter-spacing: .08em; white-space: nowrap; transform: rotateX(8deg) rotateY(-7deg); }
  .logo-glyph { width: 36px; height: 36px; }
  .nav-links { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; gap: 12px; width: 100%; margin-top: 18px; }
  .nav-links a, .nav-links button, .button { width: 100%; min-width: 0; max-width: 100%; min-height: 52px; padding: 12px 10px; font-size: clamp(.95rem, 4vw, 1.08rem); white-space: normal; overflow-wrap: break-word; }
  .hero, .container, .executive-board, .assessment-command-section, .pricing-section, .assistant-section, .ops-visual, .demo-reel-section, .ops-brief, .workflow-rail { width: 100%; max-width: 100%; padding-left: 16px; padding-right: 16px; overflow: hidden; }
  .hero, .container, .executive-metrics, .executive-board, .assessment-layout, .assessment-grid, .pricing-grid, .operations-grid, .category-board, .tool-lattice, .card-grid, .dashboard-grid, .executive-grid, .video-grid, .demo-grid, .ops-brief, .ops-brief-grid, .workflow-rail { display: grid !important; grid-template-columns: 1fr !important; gap: 16px; }
  .section-band { display: grid; grid-template-columns: 1fr; margin-left: 16px; margin-right: 16px; }
  .section-band p { max-width: none; text-align: left; }
  .command-strip { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .command-cell { min-height: 64px; padding: 14px; }
  .hero { padding-top: 28px; padding-bottom: 28px; }
  .executive-hero { min-height: auto; }
  .sentinel-orbit { min-height: 260px; transform: none; }
  .hero-panel, .board-panel, .card, .pricing-card, .assistant-panel, .category-tile, .tool-shard, .assessment-shell { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
  .pricing-header, .assistant-panel, .assessment-header, .demo-reel-header { display: grid; grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .assistant-actions { min-width: 0; width: 100%; }
  .demo-reel-section { padding-top: 18px; }
  .demo-reel-header, .demo-reel-stage, .demo-timeline { width: 100%; max-width: 100%; margin: 0; }
  .demo-reel-header { border-radius: 18px 18px 0 0; padding: 18px; }
  .demo-reel-actions, .demo-controls, .hero-actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .demo-reel-stage { grid-template-columns: 1fr !important; gap: 16px; padding: 16px; }
  .demo-visual, .video-frame, .demo-video, .cinematic-card { width: 100% !important; max-width: 100% !important; min-width: 0 !important; height: auto; min-height: 340px; border-radius: 18px; }
  canvas, video, iframe, img { width: 100% !important; max-width: 100% !important; height: auto !important; display: block; }
  .demo-screen { inset: 10px; border-radius: 14px; }
  .demo-topline { padding: 12px; font-size: clamp(.66rem, 2.9vw, .9rem); letter-spacing: .08em; gap: 8px; }
  .demo-copy { min-height: auto; padding: 4px 2px 0; }
  .demo-copy h3 { font-size: clamp(1.55rem, 8vw, 2.25rem); }
  .demo-timeline { display: flex !important; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; border-radius: 0 0 18px 18px; }
  .demo-step { flex: 0 0 145px; min-width: 145px; scroll-snap-align: start; }
  .matrix-row { grid-template-columns: 1fr; }
  .signal-row, .signal-item { grid-template-columns: 1fr; }
  .boundary-cloud, .boundary-lab { position: relative; left: auto; right: auto; top: auto; transform: none; width: 100%; height: auto; min-height: 86px; margin: 14px auto; }
  .boundary-line, .boundary-lock { display: none; }
  .boundary-note { position: relative; left: auto; right: auto; bottom: auto; padding: 12px; }
}

@media (max-width: 430px) {
  :root { --page-pad: 14px; }
  .nav-links { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .nav-links a, .nav-links button, .button { min-height: 48px; font-size: .95rem; padding: 10px 8px; }
  .logo-text { font-size: clamp(1.85rem, 12vw, 2.85rem); }
  .demo-reel-actions, .demo-controls, .hero-actions { grid-template-columns: 1fr; }
  .demo-visual, .video-frame, .demo-video, .cinematic-card { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 2px solid var(--sentinel-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-links a:focus-visible,
.nav-links button:focus-visible,
.button:focus-visible { outline-offset: 4px; border-radius: 999px; }


/* Mobile stability overrides for nav/cards/demo layout */
@media (max-width: 760px) {
    .top-nav,
    .hero,
    .demo-reel-section,
    .executive-board,
    .assistant-section,
    .finding-section,
    .pricing-section,
    .assessment-command-section,
    .script-library-section,
    .ops-visual,
    .container,
    .command-strip {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .nav-links a,
    .nav-links button {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
        text-align: center;
    }

    .demo-reel-stage,
    .demo-reel-header,
    .demo-timeline,
    .demo-step,
    .demo-visual,
    .demo-screen,
    .demo-copy {
        width: 100%;
        max-width: 100%;
    }

    .demo-visual,
    .demo-copy {
        min-height: 210px;
    }

    .demo-copy h3 {
        font-size: clamp(1.2rem, 7vw, 1.65rem);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .demo-copy p,
    .metric-note,
    .card p,
    .signal-item p {
        overflow-wrap: anywhere;
    }

    .executive-metrics,
    .pricing-grid,
    .assessment-command-grid,
    .script-library-grid,
    .category-board,
    .tool-lattice {
        display: grid;
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .executive-metrics > *,
    .pricing-grid > *,
    .assessment-command-grid > *,
    .script-library-grid > *,
    .category-board > *,
    .tool-lattice > * {
        min-width: 0;
        max-width: 100%;
    }

    .command-strip {
        display: grid;
        grid-template-columns: 1fr;
    }

    .command-cell,
    .assessment-command-card,
    .script-card,
    .pricing-card,
    .container .card {
        flex: initial;
        min-width: 0;
        max-width: 100%;
    }
}


/* Tight iPhone viewport alignment fixes */
@media (max-width: 760px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .top-nav {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .nav-title,
    .sentinel-wordmark.compact {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .sentinel-wordmark.compact .logo-glyph {
        display: none;
    }

    .sentinel-wordmark.compact .logo-text {
        display: block;
        width: 100%;
        max-width: 100%;
        font-size: clamp(1.8rem, 11vw, 2.55rem) !important;
        letter-spacing: 0.05em !important;
        line-height: 1;
        transform: none !important;
        text-align: left;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .hero,
    .demo-reel-section,
    .demo-reel-stage,
    .demo-visual,
    .demo-screen,
    .demo-topline,
    .demo-copy,
    .demo-timeline,
    .executive-board,
    .container,
    .command-strip {
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        max-width: 100%;
    }

    .demo-screen {
        inset: 12px;
    }

    .demo-topline {
        padding: 12px 10px;
        font-size: 0.66rem;
        letter-spacing: 0.06em;
    }
}


/* Explainer (bottom video) alignment */
.explainer-section {
    padding: 0 34px 30px;
}

.explainer-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--sentinel-border);
    border-radius: 18px 18px 0 0;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(8, 13, 23, 0.92));
}

.explainer-header h2 {
    margin: 5px 0 6px;
    color: #f8fafc;
    font-size: 1.3rem;
}

.explainer-header p {
    margin: 0;
    color: var(--sentinel-muted);
    line-height: 1.45;
}

.explainer-stage {
    position: relative;
    border: 1px solid var(--sentinel-border);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.82));
    overflow: hidden;
}

#explainer-canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.video-explainer-stage {
    aspect-ratio: 16 / 9;
    min-height: 520px;
}

.explainer-video-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    background: #050914;
}

.explainer-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(96, 165, 250, 0.16);
    background: rgba(2, 6, 23, 0.74);
}

@media (max-width: 760px) {
    .explainer-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .explainer-header {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .explainer-stage,
    #explainer-canvas,
    .explainer-video-frame,
    .explainer-controls {
        width: 100%;
        max-width: 100%;
        margin: 0;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }

    .explainer-controls .button {
        width: 100%;
        text-align: center;
    }

    .video-explainer-stage,
    .explainer-video-frame {
        min-height: 420px;
    }
}


/* Final mobile hard-stop alignment fix */
@media (max-width: 760px) {
  body {
    overflow-x: hidden !important;
  }

  .top-nav,
  .nav-links,
  .hero,
  .demo-reel-section,
  .explainer-section,
  .ops-visual,
  .assistant-section,
  .finding-section,
  .pricing-section,
  .executive-board,
  .container,
  .container.operations-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
    transform: none !important;
  }

  .container,
  .container.operations-grid,
  .executive-metrics,
  .pricing-grid,
  .assessment-command-grid,
  .script-library-grid,
  .category-board,
  .tool-lattice {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    overflow: visible !important;
    gap: 12px !important;
  }

  .container .card,
  .container.operations-grid .card,
  .assessment-command-card,
  .script-card,
  .pricing-card,
  .tool-shard,
  .category-tile,
  .command-cell {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-column: auto !important;
    writing-mode: horizontal-tb !important;
    overflow-wrap: anywhere !important;
  }

  .command-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 8px 18px !important;
  }
}


/* Absolute mobile demo alignment override (Safari/iPhone) */
@media (max-width: 760px) {
  .demo-reel-section,
  #demo-reel,
  .demo-reel-header,
  .demo-reel-stage,
  .demo-visual,
  .demo-screen,
  .demo-copy,
  .demo-timeline,
  .demo-step {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    box-sizing: border-box !important;
  }

  .demo-reel-stage {
    display: block !important;
    grid-template-columns: 1fr !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  .demo-visual {
    min-height: 200px !important;
    overflow: hidden !important;
  }

  .demo-screen {
    position: relative !important;
    inset: 0 !important;
    width: 100% !important;
    min-height: 200px !important;
  }

  .demo-copy {
    min-height: 0 !important;
    padding-top: 14px !important;
  }

  .demo-timeline {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: hidden !important;
  }

  .demo-step {
    min-height: 56px !important;
  }
}


@media (max-width: 760px) {
  .explainer-header,
  .explainer-header h2,
  .explainer-header p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }

  .explainer-header {
    padding: 14px !important;
    overflow: hidden !important;
  }

  .explainer-controls {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* ── MISSING CARD / SIGNAL / DEMO / FORM STYLES ─────────────── */

/* Category tile inner layout */
.category-tile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #f8fafc; font-weight: 900; }
.category-tile-head span { color: var(--sentinel-muted); font-size: .82rem; font-weight: 700; }
.category-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Mini tool state chips */
.mini-ready { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(134,239,172,.28); background: rgba(6,78,59,.36); color: #bbf7d0; font-size: .72rem; font-weight: 900; }
.mini-wait  { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(148,163,184,.18); background: rgba(15,23,42,.52); color: #64748b; font-size: .72rem; font-weight: 900; }

/* Signal feed colour states */
.signal-item.good  .signal-dot { background: var(--sentinel-green); box-shadow: 0 0 14px rgba(134,239,172,.5); }
.signal-item.warn  .signal-dot { background: var(--sentinel-amber); box-shadow: 0 0 14px rgba(251,191,36,.5); }
.signal-item.neutral .signal-dot { background: var(--sentinel-cyan); box-shadow: 0 0 14px rgba(56,189,248,.5); }
.signal-item.good  { border-color: rgba(134,239,172,.18); }
.signal-item.warn  { border-color: rgba(251,191,36,.18); }

/* Tool shard ready state */
.tool-shard.ready { border-color: rgba(134,239,172,.28) !important; box-shadow: 0 0 18px rgba(134,239,172,.08); }
.tool-shard.ready .tool-shard-dot { background: var(--sentinel-green); box-shadow: 0 0 14px rgba(134,239,172,.5); }
.tool-shard.ready .tool-shard-name { color: #f8fafc; }

/* Execution boundary stack */
.boundary-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.boundary-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid rgba(148,163,184,.14); border-radius: 12px; background: rgba(15,23,42,.5); }
.boundary-row span { flex: 0 0 auto; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 900; background: rgba(30,41,59,.8); color: #94a3b8; border: 1px solid rgba(148,163,184,.2); }
.boundary-row strong { color: var(--sentinel-soft); font-size: .9rem; line-height: 1.45; }
.boundary-row.active { border-color: rgba(134,239,172,.22); background: rgba(6,78,59,.18); }
.boundary-row.active span { background: rgba(6,78,59,.5); color: #bbf7d0; border-color: rgba(134,239,172,.3); }
.boundary-row.lab { border-color: rgba(56,189,248,.18); }
.boundary-row.lab span { background: rgba(30,64,175,.4); color: #bfdbfe; border-color: rgba(96,165,250,.28); }
.boundary-row.locked { border-color: rgba(248,113,113,.18); }
.boundary-row.locked span { background: rgba(127,29,29,.4); color: #fca5a5; border-color: rgba(248,113,113,.28); }

/* Panel heading (executive-board) */
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.panel-heading h2 { margin: 4px 0 0; color: #f8fafc; font-size: 1.15rem; }

/* Compact status cards */
.compact-card h2 { margin: 0 0 8px; color: #f8fafc; font-size: 1rem; font-weight: 900; }
.compact-card p { margin: 0 0 12px; }
.compact-card .button { margin-right: 8px; margin-top: 4px; }

/* Assessment command grid and cards */
.assessment-command-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.assessment-command-header h2 { margin: 5px 0 6px; color: #f8fafc; }
.assessment-command-header p { margin: 0; color: var(--sentinel-muted); line-height: 1.5; }
.assessment-command-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.assessment-command-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid rgba(125,211,252,.16); border-radius: 16px; background: rgba(15,23,42,.62); color: #e5e7eb; text-align: left; cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.assessment-command-card:hover { border-color: rgba(56,189,248,.34); transform: translateY(-2px); }
.assessment-command-card span { color: var(--sentinel-cyan); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.assessment-command-card strong { display: block; margin: 4px 0 2px; color: #f8fafc; font-size: .96rem; }
.assessment-command-card small { color: var(--sentinel-muted); font-size: .82rem; line-height: 1.4; }

/* Script / playbook library */
.script-library-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.script-library-header h2 { margin: 5px 0 6px; color: #f8fafc; }
.script-library-header p { margin: 0; color: var(--sentinel-muted); line-height: 1.5; }
.script-library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.script-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid rgba(125,211,252,.14); border-radius: 18px; background: rgba(15,23,42,.62); min-width: 0; transition: border-color .18s ease, transform .18s ease; }
.script-card:hover { border-color: rgba(56,189,248,.28); transform: translateY(-2px); }
.script-card > span { color: var(--sentinel-cyan); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.script-card strong { color: #f8fafc; font-size: 1.05rem; }
.script-card p { color: var(--sentinel-muted); font-size: .9rem; line-height: 1.55; flex: 1; margin: 0; }

/* Finding builder section */
.finding-section { padding: 28px var(--page-pad); overflow: hidden; }
.finding-panel { display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.finding-copy { flex: 0 0 min(320px, 100%); }
.finding-copy h2 { margin: 5px 0 8px; color: #f8fafc; }
.finding-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.finding-form { flex: 1 1 300px; display: grid; gap: 10px; min-width: 0; }
.finding-form input,
.finding-form select,
.finding-form textarea { width: 100%; padding: 11px 14px; border: 1px solid rgba(147,197,253,.22); border-radius: 12px; color: #f8fafc; background: rgba(2,6,23,.74); font-size: .92rem; }
.finding-form textarea { resize: vertical; }
.finding-output { margin-top: 22px; min-height: 90px; padding: 18px; border: 1px solid rgba(134,239,172,.2); border-radius: 18px; background: rgba(6,78,59,.12); color: #bbf7d0; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; }

/* Assistant response rendering */
.assistant-result { display: flex; flex-direction: column; gap: 10px; }
.assistant-result-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.assistant-result-head span { color: var(--sentinel-cyan); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.assistant-result-head strong { color: #f8fafc; font-size: 1rem; }
.assistant-result h3 { margin: 10px 0 4px; color: #bfdbfe; font-size: .84rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.assistant-result p { margin: 0; color: var(--sentinel-soft); line-height: 1.55; }
.assistant-result ol,
.assistant-result ul { padding-left: 18px; color: #cbd5e1; line-height: 1.55; }
.assistant-command-list { display: flex; flex-direction: column; gap: 6px; }
.assistant-command-list code { display: block; padding: 7px 11px; border: 1px solid rgba(56,189,248,.22); border-radius: 8px; background: rgba(2,6,23,.78); color: var(--sentinel-cyan); font-size: .84rem; overflow-wrap: anywhere; }
.assistant-evidence-list { display: flex; flex-wrap: wrap; gap: 7px; }
.assistant-evidence-list span { padding: 5px 9px; border: 1px solid rgba(134,239,172,.22); border-radius: 999px; background: rgba(6,78,59,.3); color: #bbf7d0; font-size: .78rem; font-weight: 800; }

/* Ops visual header + empty states */
.ops-visual-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.ops-visual-header h2 { margin: 4px 0 0; color: #f8fafc; }
.lattice-empty { padding: 22px; color: var(--sentinel-muted); text-align: center; font-size: .9rem; }
