:root {
  --bg: #06111f;
  --bg-2: #0a1728;
  --panel: rgba(12, 29, 49, 0.92);
  --panel-2: rgba(8, 23, 40, 0.92);
  --line: rgba(93, 190, 255, 0.18);
  --text: #f5f9ff;
  --muted: #8ea6bd;
  --cyan: #2ed6ff;
  --blue: #3388ff;
  --green: #4ee19b;
  --amber: #ffbf47;
  --red: #ff6b78;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 75% 0%, rgba(35, 124, 255, .14), transparent 32%),
    radial-gradient(circle at 0% 40%, rgba(46, 214, 255, .08), transparent 30%),
    var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 28px 20px;
  border-right: 1px solid var(--line); background: rgba(4, 13, 25, .9); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; gap: 30px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 900; letter-spacing: -1px; background: linear-gradient(145deg, var(--cyan), var(--blue));
  color: #001321; box-shadow: 0 0 28px rgba(46,214,255,.28);
}
.brand-name { font-weight: 800; font-size: 20px; }
.brand-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.nav { display: grid; gap: 7px; }
.nav-link { padding: 11px 13px; border-radius: 11px; color: #9eb4c9; font-size: 14px; }
.nav-link:hover, .nav-link.active { color: white; background: rgba(46,214,255,.08); border: 1px solid rgba(46,214,255,.15); }
.sidebar-footer { margin-top: auto; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.main { padding: 28px 34px 36px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.eyebrow { color: var(--cyan); font-size: 11px; letter-spacing: .12em; font-weight: 800; }
h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1; margin: 7px 0 8px; letter-spacing: -0.035em; }
h2 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.02em; }
h3 { margin: 0 0 10px; font-size: 14px; color: #dce9f7; }
p { color: #b0c2d3; }
.topbar p { max-width: 720px; margin: 0; }
.topbar-meta { min-width: 160px; text-align: right; padding-top: 8px; }
.meta-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.meta-value { margin-top: 6px; font-weight: 700; }
.summary-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.35fr; gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(14,33,55,.96), rgba(8,23,40,.96));
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(46,214,255,.45), transparent); }
.summary-card { padding: 20px; min-height: 238px; }
.card-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.hero-card { display: flex; flex-direction: column; align-items: center; }
.hero-card .card-label { width: 100%; }
.progress-ring {
  width: 138px; height: 138px; border-radius: 50%; margin: 12px 0 10px;
  background: conic-gradient(var(--cyan) var(--progress), rgba(77,113,144,.18) 0);
  display: grid; place-items: center; box-shadow: 0 0 35px rgba(46,214,255,.14);
}
.ring-inner { width: 106px; height: 106px; border-radius: 50%; background: #081624; display: grid; place-content: center; text-align: center; border: 1px solid rgba(46,214,255,.12); }
.big-number { font-size: 34px; font-weight: 900; letter-spacing: -.04em; }
.muted { color: var(--muted); font-size: 12px; }
.status-row { display: flex; align-items: center; gap: 10px; }
.status-pill { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid rgba(78,225,155,.25); background: rgba(78,225,155,.08); color: var(--green); }
.metric-title { margin-top: 14px; font-size: 28px; font-weight: 800; line-height: 1.08; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.mini-grid { display: grid; gap: 14px; }
.mini-grid div { display: grid; gap: 4px; }
.mini-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.summary-text { font-size: 15px; line-height: 1.65; margin: 14px 0 16px; }
.snapshot-footer { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12px; }
.snapshot-footer b { color: white; }
.section-block { margin-top: 24px; }
.section-head, .panel-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 12px; }
.legend { color: var(--muted); font-size: 11px; display: flex; gap: 7px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.good, .dot.live { background: var(--green); box-shadow: 0 0 12px rgba(78,225,155,.55); }
.dot.warn { background: var(--amber); }
.dot.risk { background: var(--red); }
.workstream-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.workstream { padding: 18px; }
.workstream-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.workstream-title { font-weight: 800; font-size: 16px; }
.workstream-status { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.workstream-status.good { color: var(--green); }
.workstream-status.warn { color: var(--amber); }
.workstream-status.risk { color: var(--red); }
.workstream-percent { font-size: 34px; font-weight: 900; margin: 14px 0 8px; letter-spacing: -.03em; }
.progress-track { height: 7px; border-radius: 99px; background: rgba(118,151,180,.12); overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.workstream-next { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.section-grid { margin-top: 24px; display: grid; gap: 16px; }
.two-col { grid-template-columns: 1fr 1fr; }
.panel { padding: 20px; }
.timeline { display: grid; gap: 3px; }
.timeline-item { display: grid; grid-template-columns: 17px 1fr auto; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid rgba(93,190,255,.09); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-dot { margin-top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(46,214,255,.25); }
.timeline-dot.done { background: var(--green); border-color: var(--green); }
.timeline-dot.active { background: var(--cyan); }
.timeline-title { font-weight: 700; font-size: 14px; }
.timeline-sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.timeline-state { font-size: 11px; font-weight: 800; color: var(--muted); }
.attention-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stack-list { display: grid; gap: 9px; }
.stack-item { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); }
.stack-item-title { font-size: 13px; font-weight: 750; }
.stack-item-meta { margin-top: 5px; color: var(--muted); font-size: 11px; }
.badge { display: inline-block; padding: 3px 7px; border-radius: 99px; font-size: 10px; font-weight: 800; margin-right: 6px; }
.badge.high { color: #ffd7dc; background: rgba(255,107,120,.12); border: 1px solid rgba(255,107,120,.2); }
.badge.medium { color: #ffe2a9; background: rgba(255,191,71,.1); border: 1px solid rgba(255,191,71,.2); }
.badge.info { color: #b9efff; background: rgba(46,214,255,.08); border: 1px solid rgba(46,214,255,.18); }
.update-list { display: grid; gap: 0; }
.update-item { padding: 13px 0; border-bottom: 1px solid rgba(93,190,255,.09); }
.update-item:last-child { border-bottom: 0; }
.update-date { color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.update-title { font-weight: 750; font-size: 14px; margin-top: 4px; }
.update-text { color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 4px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-link { padding: 12px 13px; border-radius: 12px; border: 1px solid rgba(46,214,255,.1); background: rgba(46,214,255,.035); transition: .18s ease; }
.quick-link:hover { transform: translateY(-1px); border-color: rgba(46,214,255,.3); background: rgba(46,214,255,.07); }
.quick-link-title { font-weight: 750; font-size: 13px; }
.quick-link-sub { margin-top: 3px; color: var(--muted); font-size: 10px; }
.footer { margin-top: 24px; padding: 16px 4px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
@media (max-width: 1100px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; overflow-x: auto; }
  .nav { display: flex; }
  .sidebar-footer { display: none; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .summary-grid .summary-card:last-child { grid-column: 1 / -1; }
  .workstream-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .main { padding: 22px 16px 30px; }
  .sidebar { padding: 16px; gap: 18px; }
  .brand-sub { display: none; }
  .nav-link { white-space: nowrap; }
  .topbar { display: block; }
  .topbar-meta { text-align: left; margin-top: 12px; }
  .summary-grid, .two-col, .workstream-grid, .attention-grid { grid-template-columns: 1fr; }
  .summary-grid .summary-card:last-child { grid-column: auto; }
  .quick-links { grid-template-columns: 1fr; }
  .legend { display: none; }
}
