/* Non-executive routes must never inherit review-only markup. */
#ec-executive-review-hero,#ec-review-data-note { display:none; }
#app.ec-executive-review #ec-executive-review-hero { display:block; }
#app.ec-executive-review #ec-review-data-note { display:flex; }
/* Executive staging design review – source-only. Light product-bulk aesthetic,
   with the navigable KPI/story hierarchy of the Kaxi dashboard reference.
   Deliberately scoped to executive routes; no client/manager UI change. */
body:has(#app.ec-executive-review) {
  background:#f9f7f3;
  color:#243540;
}
body:has(#app.ec-executive-review) #internal-topnav {
  background:#fff;
  color:#263a45;
  border-bottom:1px solid #e9e7e2;
  box-shadow:0 2px 14px rgba(22,37,43,.035);
}
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-brand { color:#263a45; }
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-brand span { color:#ed7229; }
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-link,
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-menu > summary,
body:has(#app.ec-executive-review) #internal-topnav .ec-breadcrumb-link { color:#38505d; }
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-link.is-current,
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-link:hover,
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-menu > summary:hover,
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-menu[open] > summary {
  background:#fdf1e8; color:#243540;
}
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-context { border-top-color:#edeae5; }
body:has(#app.ec-executive-review) #internal-topnav .ec-breadcrumb,
body:has(#app.ec-executive-review) #internal-topnav .ec-account-name { color:#748894; }
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-avatar { background:#b34c14; }
body:has(#app.ec-executive-review) #internal-topnav .ec-nav-account-summary { color:#263a45; }
#app.ec-executive-review {
  --ink:#243540;--muted:#6c7e8b;--steel:#425968;
  --panel:#fff;--line:#e7e7e4;--soft:#faf9f6;
  color:#243540;
}
#app.ec-executive-review .main-content {
  background:radial-gradient(circle at 90% 5%, rgba(243,115,33,.065), transparent 35%), #f9f8f5 !important;
  color:#243540;
  min-height:100vh;
  padding:26px clamp(22px,4.5vw,72px) 84px;
}
#app.ec-executive-review #portfolio-page { max-width:1480px; margin:0 auto; }
#app.ec-executive-review .topbar,
#app.ec-executive-review #portfolio-page > .portfolio-heading { display:none !important; }
#app.ec-executive-review .ec-review-hero {
  border-radius:18px;
  border:1px solid #ebe7e1;
  background:linear-gradient(140deg,#fff 0%,#fff 62%,#fff8f2 100%);
  padding:29px 32px 0;
  margin:0 0 18px;
  box-shadow:0 8px 30px rgba(30,47,54,.04);
}
#app.ec-executive-review .ec-review-hero-top {
  display:grid;
  grid-template-columns:185px minmax(0,1fr) 185px;
  align-items:center;
  gap:20px;
  min-height:157px;
}
#app.ec-executive-review .ec-review-hero-brand { width:180px; max-width:100%; height:auto; object-fit:contain; }
#app.ec-executive-review .ec-review-hero-heading { text-align:center; min-width:0; }
#app.ec-executive-review .ec-review-eyebrow {
  color:#536b7b;font-size:10px;font-weight:800;letter-spacing:.17em;
  text-transform:uppercase;margin:0 0 10px;
}
#app.ec-executive-review .ec-review-hero-heading h1 {
  color:#263842;font-size:clamp(27px,2.8vw,43px);font-weight:850;
  line-height:1.15;letter-spacing:-.044em;margin:0 auto;max-width:740px;
}
#app.ec-executive-review .ec-review-hero-heading h1::after {
  display:block;content:"";width:45px;height:3px;margin:14px auto 11px;border-radius:3px;background:#f37321;
}
#app.ec-executive-review .ec-review-hero-heading > p:last-child {
  color:#627885;font-size:14px;font-weight:500;margin:0 0 5px;
}
#app.ec-executive-review .ec-review-hero-heading > p:last-child strong { color:#e56e24; }
#app.ec-executive-review .ec-review-hero-status { text-align:right;display:grid;gap:6px;color:#546c7b; }
#app.ec-executive-review .ec-review-hero-status span {font-size:10px;letter-spacing:.065em;font-weight:900;color:#bd622c;}
#app.ec-executive-review .ec-review-hero-status small {font-size:11px;}
#app.ec-executive-review .ec-review-tabbar {
  border-top:1px solid #edeae5;margin-top:22px;
  padding:14px 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;
}
#app.ec-executive-review .ec-review-tab {
  display:inline-flex;align-items:center;min-height:34px;padding:8px 15px;
  border:1px solid #dfe3e5;border-radius:999px;color:#455e6b;
  font-size:12px;font-weight:750;text-decoration:none;background:#fff;
  transition:background .14s,border-color .14s;
}
#app.ec-executive-review .ec-review-tab:hover {background:#fff1e7;border-color:#f7c8a8;}
#app.ec-executive-review .ec-review-tab.is-active {background:#263b48;border-color:#263b48;color:#fff;}
#app.ec-executive-review .ec-review-data-note {
  display:flex;gap:7px;flex-wrap:wrap;padding:11px 16px;margin-bottom:18px;
  background:#fff8f0;border:1px solid #f5dfcc;border-radius:11px;color:#8a622f;
  font-size:11px;line-height:1.6;
}
#app.ec-executive-review .ec-review-data-note strong {color:#8c4a1a;}
#app.ec-executive-review .executive-dashboard-section {display:grid;gap:20px;margin-bottom:24px;}
#app.ec-executive-review .executive-scoreboard-heading {padding:10px 2px 0;align-items:end;}
#app.ec-executive-review .executive-scoreboard-heading .eyebrow {
 color:#466173;font-size:10px;font-weight:900;letter-spacing:.12em;
}
#app.ec-executive-review .executive-scoreboard-heading h3 {font-size:24px;color:#243540;line-height:1.18;margin:3px 0 7px;}
#app.ec-executive-review .executive-scoreboard-heading .muted {font-size:12px;max-width:700px;color:#607787;line-height:1.6;}
#app.ec-executive-review .executive-scoreboard-controls {gap:15px;align-items:end;}
#app.ec-executive-review .executive-select-label,
#app.ec-executive-review .executive-period-wrap > span {font-size:10px;color:#637b8b;font-weight:800;letter-spacing:.07em;}
#app.ec-executive-review .executive-select-label select,
#app.ec-executive-review .executive-period-badge {
  background:#fff;color:#304955;border:1px solid #d7dfe2;
  min-height:39px;padding:9px 12px;border-radius:9px;font-size:11px;
}
#app.ec-executive-review .executive-period-badge.is-projected {color:#a45618;border-color:#eecfb5;background:#fffaf6;}
#app.ec-executive-review #executive-observed-at {color:#80929b;font-size:10px;}
#app.ec-executive-review .executive-summary-cards {gap:13px;}
#app.ec-executive-review .executive-summary-cards article {
  background:#fff;border:1px solid #e6e6e2;border-radius:14px;
  padding:22px 21px;min-height:136px;
  box-shadow:0 4px 12px rgba(36,54,63,.025);
}
#app.ec-executive-review .executive-summary-cards article:first-child {border-top:3px solid #f37321;padding-top:20px;}
#app.ec-executive-review .executive-summary-cards span,
#app.ec-executive-review .executive-lifespan-cards span {color:#567082;font-size:10px;letter-spacing:.105em;font-weight:900;}
#app.ec-executive-review .executive-summary-cards strong {
  color:#213541;font-size:clamp(24px,2.5vw,35px);font-weight:850;
  margin-top:10px;letter-spacing:-.04em;
}
#app.ec-executive-review .executive-summary-cards small {color:#7c8b95;font-size:11px;margin-top:6px;}
#app.ec-executive-review .executive-scoreboard-wrap {
  background:#fff;border:1px solid #e5e6e3;border-radius:14px;
  overflow-x:auto;box-shadow:0 4px 18px rgba(30,43,50,.025);
}
#app.ec-executive-review .executive-scoreboard {min-width:1200px;}
#app.ec-executive-review .executive-scoreboard-row {
  color:#304853;border-top:1px solid #ececea;padding:13px 16px;
  min-height:59px;gap:12px;font-size:11px;
  grid-template-columns:24px minmax(155px,1.35fr) minmax(90px,.78fr) 58px repeat(3,minmax(91px,.74fr)) 66px 82px minmax(108px,.84fr);
}
#app.ec-executive-review .executive-scoreboard-header {
  background:#f4f2ee;color:#536a7b;font-size:9px;font-weight:900;
  min-height:50px;border-top:0;letter-spacing:.07em;
}
#app.ec-executive-review .executive-scoreboard-row:not(.executive-scoreboard-header):hover {background:#fffaf6;}
#app.ec-executive-review .executive-scoreboard-row.is-top-1 {background:linear-gradient(90deg,rgba(243,115,33,.055),#fff 30%);box-shadow:inset 3px 0 #f37321;}
#app.ec-executive-review .executive-scoreboard-row.is-top-2 {background:#fff;box-shadow:inset 3px 0 #facba7;}
#app.ec-executive-review .executive-scoreboard-row.is-top-3 {box-shadow:inset 3px 0 #fbe4d3;}
#app.ec-executive-review .executive-person-link,
#app.ec-executive-review .executive-team-link {color:#283f4b;}
#app.ec-executive-review .executive-person-link strong {font-size:12px;}
#app.ec-executive-review .executive-person-link small {color:#79909c;font-size:10px;}
#app.ec-executive-review .executive-person-link:hover strong,
#app.ec-executive-review .executive-team-link:hover {color:#c96023;}
#app.ec-executive-review .executive-rank {color:#db6c2c;}
#app.ec-executive-review .executive-team-link {font-size:11px;}
#app.ec-executive-review .executive-total-billables {color:#243540;font-size:12px;}
#app.ec-executive-review .executive-total-billables small {font-size:9px;color:#698394;}
#app.ec-executive-review .executive-ar-link {color:#c65a19;}
#app.ec-executive-review .executive-sort-button:hover,
#app.ec-executive-review .executive-sort-button.is-active {color:#cf6724;}
#app.ec-executive-review .executive-kpi-history-panel,
#app.ec-executive-review .executive-lifespan-panel,
#app.ec-executive-review .executive-retention-panel,
#app.ec-executive-review .executive-teams-panel {
  background:#fff;border:1px solid #e7e7e5;border-radius:15px;
  box-shadow:0 4px 20px rgba(33,53,63,.03);padding:24px;
}
#app.ec-executive-review .executive-panel-heading h3 {color:#253b46;font-size:20px;}
#app.ec-executive-review .executive-panel-heading .eyebrow {color:#657d89;}
#app.ec-executive-review .executive-kpi-table,
#app.ec-executive-review .executive-lost-clients {border-color:#e7e9e9;}
#app.ec-executive-review .executive-kpi-row,
#app.ec-executive-review .executive-lost-row {color:#3c5360;border-top:1px solid #e9e9e7;font-size:11px;}
#app.ec-executive-review .executive-kpi-row small {color:#8499a5;font-size:10px;}
#app.ec-executive-review .executive-kpi-header,
#app.ec-executive-review .executive-lost-header {background:#f4f4f1;color:#6b7e87;font-size:9px;}
#app.ec-executive-review .executive-lifespan-cards article {background:#faf9f7;border-color:#eeeae3;}
#app.ec-executive-review .executive-lifespan-cards strong {color:#253944;}
#app.ec-executive-review .executive-lifespan-cards small {color:#728b99;}
#app.ec-executive-review .executive-retention-annual article {background:#faf9f6;border:1px solid #e9e8e5;border-radius:10px;}
#app.ec-executive-review .executive-retention-annual span {color:#c96325;}
#app.ec-executive-review .executive-retention-annual strong {color:#2f424d;}
#app.ec-executive-review .executive-retention-annual small {color:#6f858f;}
#app.ec-executive-review .executive-lost-heading {color:#263b46;}
#app.ec-executive-review .executive-lost-heading span {color:#69808d;}
#app.ec-executive-review .executive-lost-reason {color:#667c87;}
#app.ec-executive-review .executive-team {background:#fff;border:1px solid #e3e7e7;border-radius:10px;}
#app.ec-executive-review .executive-team > summary strong {color:#283f4b;}
#app.ec-executive-review .executive-team > summary span {color:#6b8190;}
#app.ec-executive-review .executive-team-managers button {
  background:#faf9f6;border:1px solid #e7e6e3;color:#334e59;
}
#app.ec-executive-review .executive-team-managers button span,
#app.ec-executive-review .executive-team-managers button strong {color:#354954;}
#app.ec-executive-review .executive-team-managers button small {color:#738996;}
#app.ec-executive-review .portfolio-empty {color:#637c8a;}
#app.ec-executive-review .portfolio-empty strong {color:#2d434e;}
#app.ec-executive-review .executive-kpi-history-panel,
#app.ec-executive-review .executive-retention-panel,
#app.ec-executive-review .executive-teams-panel {scroll-margin-top:125px;}
#app.ec-executive-review #executive-kpi-history,
#app.ec-executive-review #executive-retention-annual,
#app.ec-executive-review #executive-director-teams {scroll-margin-top:125px;}
#app.ec-executive-review #executive-dashboard-section {scroll-margin-top:125px;}
#app.ec-executive-review .ec-review-tab:focus-visible,
#app.ec-executive-review .executive-sort-button:focus-visible {outline:2px solid #d5661e;outline-offset:3px;}
@media (max-width:1100px) {
 #app.ec-executive-review .ec-review-hero-top {grid-template-columns:140px minmax(0,1fr);gap:14px;}
 #app.ec-executive-review .ec-review-hero-brand {width:135px;}
 #app.ec-executive-review .ec-review-hero-status {grid-column:1/-1;text-align:center;}
}
@media (max-width:740px){
 #app.ec-executive-review .main-content {padding:18px 14px 52px;}
 #app.ec-executive-review .ec-review-hero {padding:22px 16px 0;}
 #app.ec-executive-review .ec-review-hero-top {display:flex;flex-direction:column;text-align:center;}
 #app.ec-executive-review .ec-review-hero-heading h1 {font-size:28px;}
 #app.ec-executive-review .ec-review-tabbar {justify-content:center;}
 #app.ec-executive-review .executive-scoreboard-heading {align-items:start;}
 #app.ec-executive-review .executive-summary-cards {grid-template-columns:1fr 1fr;}
 #app.ec-executive-review .executive-summary-cards article {padding:16px;min-height:120px;}
}
@media (max-width:520px){
 #app.ec-executive-review .executive-summary-cards {grid-template-columns:1fr;}
 #app.ec-executive-review .executive-scoreboard-controls {width:100%;}
 #app.ec-executive-review .executive-period-wrap,#app.ec-executive-review .executive-select-label {min-width:0;width:100%;}
}

/* Owner-approved update 2026-11-10: ONE top navigation; full-width navy
   hero like the referenced Kaxi dashboard; light report content below. */
#app.ec-executive-review .main-content {
  padding:0 0 70px !important;
  background:#f9f8f4 !important;
}
#app.ec-executive-review #portfolio-page {
  width:100%;max-width:none;margin:0;
}
#app.ec-executive-review .ec-review-hero {
  margin:0 0 25px;
  padding:32px clamp(24px,5vw,76px) 38px;
  border:none;border-radius:0;
  color:#f6f8fa;
  background:linear-gradient(112deg,#20303b 0%,#233641 55%,#263d47 100%);
  box-shadow:inset 0 -1px rgba(255,255,255,.08);
}
#app.ec-executive-review .ec-review-hero-top {
  max-width:1260px;margin-inline:auto;
  min-height:158px;
  display:grid;
  grid-template-columns:200px minmax(0,1fr) 200px;
  align-items:center;gap:24px;
}
#app.ec-executive-review .ec-review-hero-brand {
  width:190px;max-width:100%;height:auto;filter:none;
}
#app.ec-executive-review .ec-review-eyebrow {
  color:#b2c1ca;letter-spacing:.17em;font-size:10px;
}
#app.ec-executive-review .ec-review-hero-heading h1 {
  color:#f9fbfc;
  max-width:760px;
  font-size:clamp(29px,3vw,47px);
  text-wrap:balance;
}
#app.ec-executive-review .ec-review-hero-heading > p:last-child {
  color:#e0e6ea;font-size:17px;margin-top:4px;
}
#app.ec-executive-review .ec-review-hero-heading > p:last-child strong {
  color:#ff832d;font-weight:800;
}
#app.ec-executive-review .ec-review-hero-status {color:#b8c9d0;}
#app.ec-executive-review .ec-review-hero-status span {color:#ffb17d;}
#app.ec-executive-review .ec-review-hero-status small {color:#b8c8d1;}
#app.ec-executive-review .ec-review-hero-heading h1::after {
  background:#f37321;margin-top:13px;margin-bottom:11px;
}
#app.ec-executive-review .ec-review-data-note,
#app.ec-executive-review #executive-dashboard-section {
  box-sizing:border-box;
  max-width:1320px;
  width:100%;
  margin-left:auto;margin-right:auto;
  padding-left:clamp(22px,3vw,36px);
  padding-right:clamp(22px,3vw,36px);
}
#app.ec-executive-review .ec-review-data-note {
  margin-top:0;margin-bottom:12px;
  padding-top:12px;padding-bottom:12px;
  background:transparent;
  border:0;border-bottom:1px solid #e8e6e1;
  border-radius:0;
  color:#836a53;
}
#app.ec-executive-review .ec-review-data-note strong {color:#a85c24;}
#app.ec-executive-review #executive-dashboard-section {
  margin-top:0;
  padding-top:15px;
}
#app.ec-executive-review .executive-scoreboard-heading {
  padding:0 0 5px;gap:22px;
}
#app.ec-executive-review .executive-scoreboard-heading h3 {font-size:24px;}
#app.ec-executive-review .executive-summary-cards article {
  box-shadow:0 2px 8px rgba(20,41,51,.025);
}
#app.ec-executive-review .executive-scoreboard-wrap {box-shadow:0 6px 23px rgba(20,41,51,.04);}
@media (max-width:950px) {
  #app.ec-executive-review .ec-review-hero-top {
    grid-template-columns:150px 1fr;gap:18px;
  }
  #app.ec-executive-review .ec-review-hero-brand {width:150px;}
  #app.ec-executive-review .ec-review-hero-status {
    grid-column:1/-1;text-align:center;
  }
}
@media (max-width:650px) {
  #app.ec-executive-review .ec-review-hero {padding:26px 22px 33px;}
  #app.ec-executive-review .ec-review-hero-top {display:flex;flex-direction:column;gap:12px;}
  #app.ec-executive-review .ec-review-hero-heading h1 {font-size:30px;}
  #app.ec-executive-review .ec-review-hero-heading > p:last-child {font-size:14px;}
  #app.ec-executive-review #executive-dashboard-section {padding-top:15px;}
}
