:root {
  --navy-950: #03132f;
  --navy-900: #061a3e;
  --navy-800: #0a2852;
  --navy-700: #123765;
  --gold-700: #a9701b;
  --gold-600: #c59235;
  --gold-500: #d4a44e;
  --gold-300: #ead09a;
  --cream-100: #fbfaf6;
  --cream-200: #f6f2e8;
  --cream-300: #ece4d5;
  --paper: #ffffff;
  --ink: #0a1730;
  --muted: #667085;
  --muted-2: #8a93a2;
  --line: #e3e6eb;
  --green-700: #09613d;
  --green-600: #0d7a4b;
  --green-100: #e8f6ee;
  --amber-700: #a95b08;
  --amber-600: #d67912;
  --amber-100: #fff3e3;
  --red-700: #a92f2b;
  --red-600: #cf413a;
  --red-100: #fdeceb;
  --blue-700: #175ba0;
  --blue-600: #2374c6;
  --blue-100: #eaf3fc;
  --purple-700: #65449d;
  --purple-100: #f1edfa;
  --shadow-xs: 0 1px 2px rgba(6, 26, 62, .05);
  --shadow-sm: 0 8px 24px rgba(6, 26, 62, .08);
  --shadow-lg: 0 28px 70px rgba(3, 19, 47, .24);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --sidebar: 264px;
  --topbar: 78px;
  --font: "Avenir Next", Avenir, "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream-200);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(212, 164, 78, .38);
  outline-offset: 2px;
}
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) 1fr; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  z-index: 30;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 38% -8%, rgba(212, 164, 78, .25), transparent 28%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding: 22px 18px 18px;
  box-shadow: 8px 0 28px rgba(3, 19, 47, .12);
}
.brand {
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 0 2px 18px;
  cursor: pointer;
}
.brand-mark { width: 48px; height: 54px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.14)); }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.brand-copy small { color: var(--gold-300); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.sidebar-intro {
  display: grid;
  gap: 4px;
  padding: 15px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}
.sidebar-intro strong { font-size: 14px; }
.sidebar-intro > span:last-child { color: rgba(255,255,255,.66); font-size: 12px; }
.eyebrow {
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.nav-list { display: grid; gap: 5px; }
.nav-item {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.68);
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 11px;
  cursor: pointer;
  text-align: left;
  transition: .18s ease;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(212,164,78,.22), rgba(255,255,255,.07)); }
.nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--gold-500);
}
.nav-icon { width: 20px; height: 20px; display: inline-flex; }
.nav-label strong { display: block; font-size: 13px; }
.nav-label small { display: block; margin-top: 1px; color: rgba(255,255,255,.43); font-size: 11.5px; }
.nav-badge { min-width: 23px; height: 21px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--navy-950); background: var(--gold-500); font-size: 11.5px; font-weight: 800; }
.sidebar-spacer { flex: 1; min-height: 16px; }
.mandate-card {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(212,164,78,.35);
  border-radius: 13px;
  padding: 11px;
  color: #fff;
  background: rgba(212,164,78,.09);
  text-align: left;
  cursor: pointer;
}
.mandate-card:hover { background: rgba(212,164,78,.14); }
.mandate-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,164,78,.18); color: var(--gold-300); }
.mandate-card strong { display: block; font-size: 12px; }
.mandate-card small { display: block; color: rgba(255,255,255,.52); font-size: 11.5px; margin-top: 2px; }
.mandate-card .chevron { color: rgba(255,255,255,.4); }
.cycle-card { margin-top: 12px; padding: 11px 12px; border-radius: 13px; background: rgba(255,255,255,.045); }
.cycle-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 8px; color: rgba(255,255,255,.65); font-size: 10.5px; font-weight: 700; }
.cycle-steps i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-500); }

.workspace { grid-column: 2; min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 28px;
  border-bottom: 1px solid rgba(6,26,62,.08);
  background: rgba(251,250,246,.92);
  backdrop-filter: blur(16px);
}
.topbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.page-kicker { color: var(--gold-700); font-size: 10.5px; font-weight: 850; letter-spacing: .14em; }
.topbar h1 { margin: 2px 0 0; font-size: 22px; letter-spacing: -.02em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.period-switcher { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.period-switcher button { border: 0; border-radius: 7px; background: transparent; padding: 6px 9px; color: var(--muted); font-size: 11.5px; font-weight: 800; cursor: pointer; }
.period-switcher button.active { color: #fff; background: var(--navy-900); }
.updated-pill { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; font-size: 11.5px; font-weight: 700; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px rgba(13,122,75,.11); }
.shop-selector { display: grid; grid-template-columns: 31px auto 14px; align-items: center; gap: 8px; min-height: 42px; border: 1px solid var(--line); border-radius: 11px; padding: 5px 9px 5px 6px; background: #fff; cursor: pointer; text-align: left; box-shadow: var(--shadow-xs); }
.shop-selector:hover { border-color: var(--gold-300); }
.shop-avatar { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--navy-900); font-weight: 850; }
.shop-selector strong { display: block; font-size: 12px; }
.shop-selector small { display: block; margin-top: 1px; color: var(--muted); font-size: 10.5px; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.icon-button:hover { border-color: var(--gold-300); background: var(--cream-100); }
.mobile-menu { display: none; }

#viewRoot { min-height: calc(100vh - var(--topbar)); padding: 24px 28px 42px; }
.view { max-width: 1560px; margin: 0 auto; animation: fadeIn .2s ease both; }
@keyframes fadeIn { from { opacity: .2; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-header h2, .section-title { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.section-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.section-link { border: 0; background: transparent; color: var(--navy-700); font-size: 12px; font-weight: 800; cursor: pointer; }
.section-link:hover { color: var(--gold-700); }

.hero-grid { display: grid; grid-template-columns: 1.55fr .72fr .73fr; gap: 14px; margin-bottom: 14px; }
.hero-status, .score-card, .attention-card, .panel, .kpi-card, .action-card, .radar-card, .data-card {
  border: 1px solid rgba(6,26,62,.09);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.hero-status { min-height: 218px; position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 23px 25px; background: linear-gradient(135deg, var(--navy-900), #0d315f); color: #fff; }
.hero-status::after { content: ""; position: absolute; right: -72px; bottom: -110px; width: 285px; height: 285px; border: 1px solid rgba(212,164,78,.22); border-radius: 50%; box-shadow: 0 0 0 34px rgba(212,164,78,.06), 0 0 0 70px rgba(212,164,78,.04); }
.hero-status .eyebrow { color: var(--gold-300); }
.hero-status h2 { position: relative; z-index: 1; max-width: 620px; margin: 8px 0 8px; font-size: clamp(27px, 2.3vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.hero-status p { position: relative; z-index: 1; margin: 0; max-width: 620px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; }
.hero-comparison { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 23px; }
.hero-comparison span { display: grid; gap: 3px; }
.hero-comparison small { color: rgba(255,255,255,.5); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.hero-comparison strong { font-size: 14px; }
.hero-comparison .positive { color: #74d5a5; }
.hero-forecast { position: absolute; z-index: 2; right: 22px; top: 22px; min-width: 140px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.07); backdrop-filter: blur(6px); }
.hero-forecast small { display: block; color: rgba(255,255,255,.55); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.hero-forecast strong { display: block; margin-top: 4px; font-size: 16px; }
.hero-forecast span { display: block; margin-top: 3px; color: var(--gold-300); font-size: 10.5px; font-weight: 800; }
.score-card, .attention-card { border-radius: var(--radius-lg); padding: 18px; }
.score-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.score-card h3, .attention-card h3 { margin: 3px 0 0; font-size: 14px; }
.score-gauge { width: 90px; height: 90px; display: grid; place-items: center; margin: 9px auto 6px; position: relative; }
.score-gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.score-gauge strong { font-size: 25px; letter-spacing: -.04em; }
.score-gauge strong small { font-size: 12px; color: var(--muted); }
.score-label { text-align: center; color: var(--muted); font-size: 11.5px; }
.score-opportunity { margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.score-opportunity small { color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.score-opportunity strong { display: block; margin-top: 3px; font-size: 12px; }
.attention-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 17px 0 13px; }
.attention-total { border-radius: 11px; padding: 10px 8px; text-align: center; }
.attention-total strong { display: block; font-size: 21px; }
.attention-total span { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 700; }
.attention-total.critical { color: var(--red-700); background: var(--red-100); }
.attention-total.attention { color: var(--amber-700); background: var(--amber-100); }
.attention-total.opportunity { color: var(--green-700); background: var(--green-100); }
.attention-next { border-top: 1px solid var(--line); padding-top: 11px; }
.attention-next small { color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.attention-next strong { display: block; margin-top: 3px; font-size: 12px; }
.attention-next span { display: block; margin-top: 3px; color: var(--red-700); font-size: 11.5px; font-weight: 800; }

.kpi-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin-bottom: 22px; }
.kpi-card { border-radius: 14px; padding: 14px 15px; min-width: 0; }
.kpi-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi-head span:first-child { color: var(--muted); font-size: 11.5px; font-weight: 750; }
.kpi-status-dot { width: 8px; height: 8px; border-radius: 50%; }
.kpi-value { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; }
.kpi-value strong { font-size: 23px; letter-spacing: -.035em; white-space: nowrap; }
.kpi-value .delta { font-size: 11.5px; font-weight: 850; white-space: nowrap; }
.delta.up { color: var(--green-700); }
.delta.down { color: var(--red-700); }
.delta.caution { color: var(--amber-700); }
.kpi-context { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10.5px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 15px; align-items: start; }
.panel { border-radius: var(--radius-lg); padding: 18px; }
.panel + .panel { margin-top: 14px; }
.filter-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); background: #fff; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.filter-chip:hover { border-color: var(--gold-300); }
.filter-chip.active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.action-list { display: grid; gap: 10px; }
.action-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 17px; border-radius: 15px; padding: 15px 15px 14px 18px; transition: .18s ease; }
.action-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--status-color, var(--blue-600)); }
.action-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: rgba(6,26,62,.16); }
.action-card-main { min-width: 0; }
.meta-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.chip.type { color: var(--navy-700); background: var(--blue-100); }
.chip.domain { color: var(--muted); background: #f2f4f7; }
.chip.priority { color: var(--priority-color, var(--navy-700)); background: var(--priority-bg, #eef2f7); }
.chip.approved { color: var(--green-700); background: var(--green-100); }
.confidence { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--muted); font-size: 10.5px; font-weight: 750; white-space: nowrap; }
.confidence-dots { display: inline-flex; gap: 2px; }
.confidence-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d9dde4; }
.confidence-dots i.on { background: var(--gold-600); }
.action-card h3 { margin: 9px 0 5px; font-size: 15px; letter-spacing: -.012em; }
.action-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.action-recommendation { display: flex; align-items: flex-start; gap: 8px; margin-top: 11px; padding: 9px 10px; border-radius: 10px; background: var(--cream-100); font-size: 11.5px; line-height: 1.45; }
.action-recommendation svg { flex: 0 0 auto; color: var(--gold-700); }
.action-recommendation strong { color: var(--ink); }
.action-card-side { min-width: 172px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.impact-block { text-align: right; }
.impact-block small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.impact-block strong { display: block; margin-top: 3px; color: var(--impact-color, var(--ink)); font-size: 16px; }
.impact-block span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.action-buttons { display: flex; gap: 6px; }
.button { min-height: 35px; border-radius: 9px; padding: 8px 11px; border: 1px solid transparent; font-size: 11.5px; font-weight: 850; cursor: pointer; transition: .15s ease; }
.button.primary { color: #fff; background: var(--navy-900); }
.button.primary:hover { background: var(--navy-800); }
.button.gold { color: var(--navy-950); background: var(--gold-500); }
.button.gold:hover { background: #ddaE56; }
.button.secondary { color: var(--navy-800); background: #fff; border-color: var(--line); }
.button.secondary:hover { border-color: var(--gold-300); background: var(--cream-100); }
.button.success { color: #fff; background: var(--green-600); }
.button:disabled { opacity: .55; cursor: default; }
.empty-state { border: 1px dashed var(--line); border-radius: 13px; padding: 32px; text-align: center; color: var(--muted); font-size: 12px; }

.side-stack { display: grid; gap: 14px; }
.forecast-list, .radar-preview-list { display: grid; gap: 8px; }
.forecast-item { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.forecast-item:hover { border-color: var(--gold-300); }
.forecast-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--status-color); background: color-mix(in srgb, var(--status-color) 10%, white); }
.forecast-item strong { display: block; font-size: 12px; }
.forecast-item p { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.35; }
.forecast-item time { color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.radar-preview { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #fbfaf6); }
.radar-preview::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(212,164,78,.2); border-radius: 50%; right: -105px; bottom: -118px; box-shadow: 0 0 0 26px rgba(212,164,78,.045), 0 0 0 52px rgba(212,164,78,.025); pointer-events: none; }
.radar-preview-item { position: relative; z-index: 1; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.radar-preview-item:first-child { border-top: 0; padding-top: 2px; }
.radar-preview-item .meta-row { justify-content: space-between; }
.radar-preview-item h4 { margin: 6px 0 3px; font-size: 12px; }
.radar-preview-item p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.radar-preview-item .potential { display: inline-block; margin-top: 6px; color: var(--navy-700); font-size: 10.5px; font-weight: 850; }

/* Radar */
.radar-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; margin-bottom: 15px; }
.radar-intro { border-radius: var(--radius-lg); padding: 22px; color: #fff; background: linear-gradient(135deg, var(--navy-900), #123d6f); position: relative; overflow: hidden; }
.radar-intro::after { content: ""; position: absolute; right: -35px; top: -80px; width: 270px; height: 270px; border: 1px solid rgba(212,164,78,.22); border-radius: 50%; box-shadow: 0 0 0 34px rgba(212,164,78,.055), 0 0 0 70px rgba(212,164,78,.035); }
.radar-intro h2 { position: relative; z-index: 1; margin: 7px 0 7px; font-size: 27px; letter-spacing: -.03em; }
.radar-intro p { position: relative; z-index: 1; margin: 0; max-width: 660px; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.55; }
.radar-summary { border-radius: var(--radius-lg); padding: 18px; background: #fff; border: 1px solid rgba(6,26,62,.09); }
.radar-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 13px; }
.radar-summary-item { padding: 10px; border-radius: 11px; background: var(--cream-100); }
.radar-summary-item strong { display: block; font-size: 18px; }
.radar-summary-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }
.radar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.radar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.radar-card { position: relative; overflow: hidden; border-radius: 15px; padding: 15px; cursor: pointer; transition: .18s ease; }
.radar-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: rgba(6,26,62,.16); }
.radar-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--status-color); }
.radar-card h3 { margin: 8px 0 5px; font-size: 14px; }
.radar-card p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.signal-stage { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 800; }
.signal-stage span { color: var(--navy-700); }
.radar-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 11px; }
.radar-metric { padding: 8px; border-radius: 9px; background: var(--cream-100); }
.radar-metric small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.radar-metric strong { display: block; margin-top: 3px; font-size: 12px; }
.sparkline { height: 44px; margin-top: 10px; }
.sparkline svg { width: 100%; height: 100%; overflow: visible; }
.radar-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.radar-card-footer time { color: var(--muted); font-size: 10px; }
.maturity-panel { margin-top: 15px; }
.maturity-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 14px; }
.maturity-step { position: relative; padding: 11px 10px 11px 29px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.maturity-step:first-child { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; }
.maturity-step:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.maturity-step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; right: -10px; top: 50%; width: 19px; height: 19px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; transform: translateY(-50%) rotate(45deg); }
.maturity-step strong { display: block; font-size: 11.5px; }
.maturity-step span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.maturity-step.active { background: var(--cream-100); }
.maturity-step.active::after { background: var(--cream-100); }

/* Results */
.results-summary { display: grid; grid-template-columns: 1.45fr .55fr; gap: 14px; margin-bottom: 14px; }
.chart-panel { border-radius: var(--radius-lg); padding: 18px; background: #fff; border: 1px solid rgba(6,26,62,.09); }
.chart-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.chart-head h2 { margin: 2px 0 0; font-size: 18px; }
.chart-legend { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 10px; font-weight: 800; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 13px; height: 3px; border-radius: 3px; background: var(--legend); }
.main-chart { height: 255px; margin-top: 14px; }
.main-chart svg { width: 100%; height: 100%; }
.forecast-card { border-radius: var(--radius-lg); padding: 18px; color: #fff; background: linear-gradient(155deg, var(--navy-900), #103460); }
.forecast-card h3 { margin: 5px 0 10px; font-size: 16px; }
.forecast-big { font-size: 30px; font-weight: 850; letter-spacing: -.04em; }
.forecast-card p { margin: 7px 0 0; color: rgba(255,255,255,.65); font-size: 11.5px; line-height: 1.5; }
.forecast-confidence { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.13); }
.forecast-confidence strong { display: block; margin-top: 5px; font-size: 12px; }
.results-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 14px; }
.driver-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.contribution-list { display: grid; gap: 10px; margin-top: 14px; }
.contribution-row { display: grid; grid-template-columns: 165px 1fr 70px; gap: 10px; align-items: center; }
.contribution-row span:first-child { font-size: 11.5px; font-weight: 750; }
.bar-track { height: 10px; border-radius: 999px; background: #eef1f5; overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--bar-color); width: var(--bar-width); }
.contribution-row strong { text-align: right; font-size: 11.5px; color: var(--bar-color); }
.portfolio-bar { display: flex; overflow: hidden; height: 22px; margin-top: 16px; border-radius: 999px; background: #eef1f5; }
.portfolio-segment { width: var(--segment); background: var(--segment-color); }
.portfolio-legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.portfolio-legend-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; background: var(--cream-100); font-size: 10.5px; }
.portfolio-legend-item span { display: inline-flex; align-items: center; gap: 6px; }
.portfolio-legend-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }

/* Actions */
.cycle-ribbon { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.cycle-ribbon-item { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; padding: 10px 11px; background: #fff; }
.cycle-ribbon-item span:first-child { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--navy-900); background: var(--cream-200); font-weight: 900; }
.cycle-ribbon-item strong { display: block; font-size: 11.5px; }
.cycle-ribbon-item small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.value-proof { display: grid; grid-template-columns: 1.25fr repeat(3, .75fr); gap: 10px; margin-bottom: 15px; }
.value-proof-main { border-radius: var(--radius-lg); padding: 18px; color: #fff; background: linear-gradient(135deg, var(--navy-900), #113f73); }
.value-proof-main h2 { margin: 6px 0 4px; font-size: 21px; }
.value-proof-main p { margin: 0; color: rgba(255,255,255,.65); font-size: 11.5px; }
.proof-metric { border: 1px solid rgba(6,26,62,.09); border-radius: var(--radius); padding: 15px; background: #fff; }
.proof-metric small { color: var(--muted); font-size: 10.5px; }
.proof-metric strong { display: block; margin-top: 8px; font-size: 21px; }
.proof-metric span { display: block; margin-top: 4px; color: var(--green-700); font-size: 10.5px; font-weight: 800; }
.action-board { display: grid; grid-template-columns: repeat(4, minmax(210px, 1fr)); gap: 11px; align-items: start; }
.action-column { border-radius: 16px; padding: 11px; background: rgba(255,255,255,.62); border: 1px solid var(--line); }
.action-column-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 2px 3px 10px; }
.action-column-head strong { font-size: 12px; }
.action-column-head span { min-width: 22px; height: 20px; display: grid; place-items: center; border-radius: 999px; color: var(--muted); background: #fff; border: 1px solid var(--line); font-size: 10.5px; font-weight: 850; }
.board-card { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; margin-bottom: 8px; box-shadow: var(--shadow-xs); }
.board-card:last-child { margin-bottom: 0; }
.board-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.board-card h4 { margin: 7px 0 4px; font-size: 12px; line-height: 1.35; }
.board-card p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.board-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.board-card-footer strong { color: var(--ink); font-size: 10px; }

/* Data */
.data-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.data-card { border-radius: 14px; padding: 13px 14px; }
.data-card span { color: var(--muted); font-size: 10.5px; }
.data-card strong { display: block; margin-top: 6px; font-size: 21px; }
.data-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.data-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.search-box { min-width: 270px; display: flex; align-items: center; gap: 8px; height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.search-box svg { color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11.5px; }
.data-filters { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.data-filters select { height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 30px 0 10px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 700; }
.toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 10.5px; font-weight: 750; cursor: pointer; }
.toggle-track { width: 30px; height: 17px; border-radius: 999px; background: #cfd5dd; padding: 2px; transition: .18s; }
.toggle-track::after { content: ""; display: block; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .18s; }
.toggle.on .toggle-track { background: var(--navy-900); }
.toggle.on .toggle-track::after { transform: translateX(13px); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 940px; }
.data-table th { position: sticky; top: 0; z-index: 2; padding: 10px 11px; color: var(--muted); background: #f7f8fa; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.data-table td { padding: 10px 11px; border-bottom: 1px solid #eef0f3; font-size: 11px; vertical-align: middle; white-space: nowrap; }
.data-table tbody tr:hover { background: var(--cream-100); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.product-cell { display: flex; align-items: center; gap: 9px; min-width: 260px; }
.product-thumb { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--navy-700); background: var(--cream-200); font-size: 10.5px; font-weight: 850; }
.product-cell strong { display: block; font-size: 11.5px; }
.product-cell small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 999px; color: var(--status-color); background: var(--status-bg); font-size: 10px; font-weight: 850; }
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--status-color); }
.table-action { border: 0; background: transparent; color: var(--navy-700); font-size: 10px; font-weight: 850; cursor: pointer; }
.table-action:hover { color: var(--gold-700); }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; color: var(--muted); font-size: 10.5px; }
.pagination-buttons { display: flex; gap: 5px; }
.pagination button { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; }
.pagination button:disabled { opacity: .45; cursor: default; }

/* Drawer */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(3,19,47,.34); backdrop-filter: blur(2px); }
.detail-drawer { position: fixed; z-index: 90; inset: 0 0 0 auto; width: min(560px, 94vw); display: flex; flex-direction: column; background: var(--cream-100); box-shadow: var(--shadow-lg); transform: translateX(102%); transition: transform .24s ease; }
.detail-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 19px 20px 15px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer-header h2 { margin: 4px 0 0; font-size: 20px; line-height: 1.25; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
.drawer-summary { border-radius: 15px; padding: 15px; color: #fff; background: linear-gradient(135deg, var(--navy-900), #123967); }
.drawer-summary .meta-row { margin-bottom: 9px; }
.drawer-summary p { margin: 6px 0 0; color: rgba(255,255,255,.72); font-size: 11.5px; line-height: 1.5; }
.drawer-impact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.drawer-impact div { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.08); }
.drawer-impact small { display: block; color: rgba(255,255,255,.55); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.drawer-impact strong { display: block; margin-top: 3px; font-size: 13px; }
.drawer-section { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.drawer-section h3 { margin: 0 0 10px; font-size: 12px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.comparison-item { padding: 9px; border-radius: 10px; background: var(--cream-100); }
.comparison-item small { display: block; color: var(--muted); font-size: 10px; }
.comparison-item strong { display: block; margin-top: 4px; font-size: 13px; }
.comparison-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.drawer-chart { height: 150px; margin-top: 10px; }
.drawer-chart svg { width: 100%; height: 100%; }
.evidence-list { display: grid; gap: 8px; }
.evidence-item { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: flex-start; }
.evidence-item > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; color: var(--navy-700); background: var(--blue-100); }
.evidence-item strong { display: block; font-size: 11px; }
.evidence-item p { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.confidence-box { display: flex; align-items: flex-start; gap: 10px; padding: 11px; border-radius: 11px; background: var(--cream-100); }
.confidence-box .confidence-meter { min-width: 68px; }
.confidence-box p { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.recommendation-box { border-left: 4px solid var(--gold-600); border-radius: 12px; padding: 12px 13px; background: #fff9ef; }
.recommendation-box small { color: var(--gold-700); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 850; }
.recommendation-box strong { display: block; margin-top: 4px; font-size: 12px; }
.recommendation-box p { margin: 4px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.source-row { display: flex; flex-wrap: wrap; gap: 6px; }
.source-pill { padding: 5px 7px; border-radius: 8px; color: var(--muted); background: #f2f4f7; font-size: 10px; font-weight: 800; }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 72px 14px 1fr; gap: 8px; min-height: 44px; }
.timeline-item time { color: var(--muted); font-size: 10px; padding-top: 2px; }
.timeline-item .timeline-dot { width: 9px; height: 9px; margin-top: 2px; border-radius: 50%; background: var(--gold-600); box-shadow: 0 0 0 4px rgba(212,164,78,.13); }
.timeline-item:not(:last-child) .timeline-dot::after { content: ""; display: block; width: 1px; height: 35px; margin: 9px 0 0 4px; background: var(--line); }
.timeline-item strong { display: block; font-size: 10.5px; }
.timeline-item p { margin: 2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }

/* Modal & toast */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(3,19,47,.46); backdrop-filter: blur(3px); }
.modal { position: fixed; z-index: 110; left: 50%; top: 50%; width: min(690px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; border-radius: 20px; background: var(--cream-100); box-shadow: var(--shadow-lg); transform: translate(-50%, -46%) scale(.98); opacity: 0; pointer-events: none; transition: .18s ease; }
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.modal-header, .modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: #fff; }
.modal-header { border-bottom: 1px solid var(--line); }
.modal-footer { justify-content: flex-end; border-top: 1px solid var(--line); }
.modal-header h2 { margin: 4px 0 0; font-size: 19px; }
.modal-body { padding: 18px; }
.modal-intro { margin: 0 0 14px; color: var(--muted); font-size: 11.5px; }
.mandate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.setting-card { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.setting-card strong { display: block; font-size: 11.5px; }
.setting-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.setting-card select { min-width: 112px; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 24px 0 8px; background: #fff; font-size: 10.5px; font-weight: 750; }
.control-note { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px; border-radius: 12px; color: var(--green-700); background: var(--green-100); }
.control-note > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(13,122,75,.11); }
.control-note strong { display: block; font-size: 11.5px; }
.control-note p { margin: 3px 0 0; color: #47705e; font-size: 10px; line-height: 1.4; }
.toast { position: fixed; z-index: 150; right: 24px; bottom: 24px; min-width: 300px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 13px; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-lg); transform: translateY(24px); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--navy-950); background: var(--gold-500); }
.toast strong { display: block; font-size: 11.5px; }
.toast span:last-child { display: block; margin-top: 2px; color: rgba(255,255,255,.66); font-size: 10px; }

svg.icon { width: 1em; height: 1em; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1180px) {
  :root { --sidebar: 236px; }
  .hero-grid { grid-template-columns: 1.35fr .65fr; }
  .attention-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: center; }
  .attention-totals { margin: 0; }
  .attention-next { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 16px; }
  .kpi-strip { grid-template-columns: repeat(3, 1fr); }
  .results-kpis { grid-template-columns: repeat(3, 1fr); }
  .action-board { grid-template-columns: repeat(2, 1fr); }
  .data-summary { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  :root { --sidebar: 270px; }
  .app-shell { display: block; }
  .sidebar { transform: translateX(-102%); transition: transform .22s ease; }
  .sidebar.open { transform: translateX(0); }
  .workspace { grid-column: 1; }
  .mobile-menu { display: inline-grid; }
  .topbar { padding: 12px 16px; }
  .updated-pill { display: none; }
  #viewRoot { padding: 18px 16px 36px; }
  .hero-grid, .radar-hero, .results-summary, .driver-grid { grid-template-columns: 1fr; }
  .hero-status { min-height: 240px; }
  .content-grid { grid-template-columns: 1fr; }
  .radar-grid { grid-template-columns: repeat(2, 1fr); }
  .value-proof { grid-template-columns: repeat(3, 1fr); }
  .value-proof-main { grid-column: 1 / -1; }
  .cycle-ribbon { grid-template-columns: repeat(3, 1fr); }
  .maturity-steps { grid-template-columns: 1fr; }
  .maturity-step, .maturity-step:first-child, .maturity-step:last-child { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; padding-left: 12px; }
  .maturity-step::after { display: none; }
}

@media (max-width: 640px) {
  .topbar-actions .period-switcher { display: none; }
  .shop-selector span:nth-child(2) { display: none; }
  .shop-selector { grid-template-columns: 31px 14px; }
  .hero-status { padding: 20px; }
  .hero-forecast { position: static; margin-top: 17px; width: fit-content; }
  .hero-comparison { margin-top: 17px; }
  .hero-grid { display: block; }
  .score-card, .attention-card { margin-top: 11px; }
  .attention-card { display: block; }
  .attention-totals { margin: 14px 0; }
  .attention-next { border-left: 0; border-top: 1px solid var(--line); padding: 11px 0 0; }
  .kpi-strip, .results-kpis, .data-summary { grid-template-columns: repeat(2, 1fr); }
  .action-card { grid-template-columns: 1fr; }
  .action-card-side { min-width: 0; align-items: stretch; }
  .impact-block { text-align: left; }
  .action-buttons { justify-content: flex-start; }
  .radar-grid { grid-template-columns: 1fr; }
  .cycle-ribbon, .value-proof, .action-board { grid-template-columns: 1fr; }
  .value-proof-main { grid-column: auto; }
  .mandate-grid { grid-template-columns: 1fr; }
  .setting-card { align-items: flex-start; flex-direction: column; }
  .setting-card select { width: 100%; }
  .comparison-grid { grid-template-columns: 1fr 1fr; }
  .data-toolbar { align-items: stretch; }
  .search-box { min-width: 0; width: 100%; }
  .data-filters { width: 100%; }
  .data-filters select, .toggle { flex: 1; }
  .contribution-row { grid-template-columns: 115px 1fr 62px; }
  .toast { left: 16px; right: 16px; bottom: 16px; min-width: 0; }
}


/* ------------------------------------------------------------------
   Presentatiemodus: momenten van de dag, live cijfers
   ------------------------------------------------------------------ */
:root { --moments-h: 92px; }
#viewRoot { padding-bottom: calc(var(--moments-h) + 34px); }
.toast { bottom: calc(var(--moments-h) + 18px); }

.hero-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hero-status .hero-forecast { position: static; flex: none; }
.hero-status h2 { max-width: none; }
.scene-in { animation: sceneIn .55s ease both; }
.hero-status p.scene-in { animation-delay: .08s; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.action-card.is-new { animation: cardIn .6s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 0 0 2px rgba(197,146,53,.55), 0 14px 34px rgba(6,26,62,.12); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: none; } }
.new-flag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px;
  background: #c59235; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.new-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

[data-live].tick { animation: tick .9s ease; }
@keyframes tick { 0% { color: #0d7a4b; text-shadow: 0 0 12px rgba(13,122,75,.35); } 100% { color: inherit; text-shadow: none; } }
.hero-status [data-live].tick { animation-name: tickLight; }
@keyframes tickLight { 0% { color: #74d5a5; } 100% { color: inherit; } }

.moments-bar { position: fixed; z-index: 120; left: var(--sidebar); right: 0; bottom: 0; height: var(--moments-h);
  display: flex; align-items: center; gap: 22px; padding: 0 28px;
  background: rgba(6,26,62,.97); backdrop-filter: blur(10px); color: #fff; border-top: 1px solid rgba(212,164,78,.28);
  box-shadow: 0 -12px 30px rgba(6,26,62,.18); }
.moments-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.moments-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  background: transparent; color: #fff; cursor: pointer; transition: .15s ease; }
.moments-btn:hover { background: rgba(255,255,255,.08); }
.moments-btn.play { width: 46px; height: 46px; background: #c59235; border-color: #c59235; color: #061a3e; }
.moments-btn.play:hover { background: #d4a44e; }
.moments-btn svg { stroke: currentColor; fill: none; stroke-width: 2; }
.moments-track { flex: 1; min-width: 0; position: relative; }
.moments-label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; font-weight: 800;
  color: #d4a44e; margin-bottom: 8px; }
.moments-clock { display: inline-flex; align-items: center; gap: 7px; color: #fff; letter-spacing: .06em; font-variant-numeric: tabular-nums; font-size: 12px; }
.moments-line { position: absolute; left: 7px; right: 7px; top: 29px; height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; }
.moments-progress { height: 100%; background: linear-gradient(90deg, #c59235, #ead09a); border-radius: 2px; transition: width .6s ease; }
.moments-list { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); }
.moment { display: grid; justify-items: start; gap: 2px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.55);
  cursor: pointer; text-align: left; font: inherit; }
.moment-dot { width: 14px; height: 14px; border-radius: 50%; background: #061a3e; border: 2px solid rgba(255,255,255,.3); margin-bottom: 5px; transition: .2s ease; }
.moment time { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.moment span:last-child { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.moment:hover time, .moment:hover span:last-child { color: #fff; }
.moment.done .moment-dot { background: #c59235; border-color: #c59235; }
.moment.active .moment-dot { background: #ead09a; border-color: #fff; box-shadow: 0 0 0 5px rgba(234,208,154,.22); }
.moment.active time { color: #ead09a; }
.moment.active span:last-child { color: #fff; }

@media (max-width: 920px) {
  .moments-bar { left: 0; padding: 0 14px; gap: 12px; }
  .moment span:last-child { display: none; }
}

.attention-next.calm span { color: #0d7a4b; }
.moments-btn.play svg { stroke: none; }

/* Opgeschoond voor presentatie */
#viewRoot:focus, #viewRoot:focus-visible { outline: none; }
.action-card.is-done { opacity: .62; }
.action-card.is-done .action-recommendation { display: none; }
.action-card.is-done:hover { opacity: 1; }
.kpi-context span:last-child { display: none; }
.attention-card h3 small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: #0d7a4b; }

.hero-status { display: flex; flex-direction: column; }
.hero-status h2 { margin-top: auto; }
