:root{
--exec-bg:#f5f7fb;--exec-surface:#fff;--exec-ink:#121a31;--exec-muted:#65708a;--exec-line:#e4e8f1;
--exec-purple:#6d28d9;--exec-blue:#2f6bd8;--exec-teal:#0e9f9a;--exec-green:#34a853;--exec-red:#dc3d4b;
--exec-radius:18px;--exec-shadow:0 12px 30px rgba(31,42,78,.07);--exec-body:16px;--exec-body-ar:17px;
}
.exec-page{display:grid;gap:16px;color:var(--exec-ink);font-size:var(--exec-body)}
html[dir="rtl"] .exec-page{font-size:var(--exec-body-ar)}
.exec-surface,.exec-kpi-card,.exec-filter-card{background:var(--exec-surface);border:1px solid var(--exec-line);border-radius:var(--exec-radius);box-shadow:var(--exec-shadow)}
.exec-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.exec-kpi-card{position:relative;display:grid;grid-template-columns:58px 1fr;gap:14px;align-items:center;padding:18px;min-height:118px;overflow:hidden}
.exec-kpi-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;font-size:24px;color:#fff;background:linear-gradient(145deg,var(--exec-blue),#21a3dc)}
.exec-tone-drug .exec-kpi-icon{background:linear-gradient(145deg,var(--exec-purple),#8b5cf6)}
.exec-tone-net .exec-kpi-icon{background:linear-gradient(145deg,var(--exec-teal),#20b9ac)}
.exec-tone-positive .exec-kpi-icon{background:linear-gradient(145deg,var(--exec-green),#68c94c)}
.exec-tone-negative .exec-kpi-icon{background:linear-gradient(145deg,var(--exec-red),#ef6a72)}
.exec-kpi-label{display:block;font-size:14px;font-weight:750;color:var(--exec-muted)}
.exec-kpi-value{display:block;margin:6px 0 4px;font-size:clamp(28px,2.2vw,38px);line-height:1;letter-spacing:-.02em}
.exec-kpi-comparison{font-size:13px;color:var(--exec-muted)}
.exec-kpi-metric{position:absolute;inset-inline-end:16px;top:16px;font-weight:850;color:var(--exec-green)}
.exec-filter-card{display:grid;grid-template-columns:190px minmax(150px,1fr) minmax(150px,1fr) minmax(190px,1fr);gap:14px;align-items:end;padding:18px}
.exec-filter-title h2{font-size:20px;margin:4px 0}.exec-filter-title span,.exec-overline,.exec-section-heading>div>span{font-size:12px;font-weight:850;letter-spacing:.09em;color:var(--exec-purple)}
.exec-field span{display:block;font-size:13px;font-weight:750;margin-bottom:6px}.exec-field select{width:100%;height:48px;border:1px solid var(--exec-line);border-radius:12px;padding:0 12px;background:#fff;font:inherit}
.exec-primary{height:48px;border:0;border-radius:12px;color:#fff;background:linear-gradient(90deg,var(--exec-purple),var(--exec-blue));font:inherit;font-weight:850;cursor:pointer}
.exec-section-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 4px}
.exec-section-heading h2{font-size:24px;margin:5px 0 0}.exec-section-heading p{margin:5px 0 0;color:var(--exec-muted)}
.exec-segmented{display:flex;border:1px solid var(--exec-line);border-radius:12px;padding:3px;background:#fff}.exec-segmented button{border:0;background:transparent;padding:8px 14px;border-radius:9px;font-weight:750;color:var(--exec-muted)}.exec-segmented button.active{background:var(--exec-purple);color:#fff}
.exec-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.exec-chart-card{padding:18px;min-width:0}.exec-chart-card header{display:flex;justify-content:space-between;gap:12px}.exec-chart-card h3{font-size:20px;margin:5px 0 2px}.exec-chart-card header small,.exec-chart-unit{color:var(--exec-muted);font-size:12px}
.exec-chart-stage{position:relative;height:390px;margin-top:10px}.exec-chart-stage canvas{width:100%!important;height:100%!important}
.exec-chart-state{display:none;position:absolute;inset:0;place-items:center;border:1px dashed var(--exec-line);border-radius:14px;color:var(--exec-muted)}
.exec-chart-card[data-chart-state="empty"] canvas,.exec-chart-card[data-chart-state="error"] canvas{display:none}
.exec-chart-card[data-chart-state="empty"] .exec-chart-empty,.exec-chart-card[data-chart-state="error"] .exec-chart-error{display:grid}
.exec-chart-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:10px 12px;border:1px solid var(--exec-line);border-radius:10px}.exec-chart-card footer strong{font-size:20px;color:var(--exec-purple)}
.exec-lower-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:14px}
.exec-table-card,.exec-insight-card{padding:18px}.exec-table-wrap{overflow:auto;max-height:520px}.exec-table{width:100%;border-collapse:separate;border-spacing:0;min-width:820px}.exec-table thead th{position:sticky;top:0;background:#f7f8fc;z-index:1}.exec-table th,.exec-table td{padding:13px 12px;border-bottom:1px solid var(--exec-line);text-align:start}.exec-table th{font-size:12px;color:var(--exec-muted)}.exec-table tbody tr:hover{background:#f8fbff}.exec-rank{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f0ecff;color:var(--exec-purple);font-weight:850}
.exec-insight-list{display:grid;gap:10px;margin-top:14px}.exec-insight-item{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:12px;border:1px solid var(--exec-line);border-radius:12px;line-height:1.5}.exec-insight-item i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf8f6;color:var(--exec-teal);font-style:normal;font-weight:900}
@media(max-width:1350px){.exec-chart-grid{grid-template-columns:1fr 1fr}.exec-chart-card:last-child{grid-column:1/3}.exec-kpi-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.exec-filter-card{grid-template-columns:1fr 1fr}.exec-filter-title{grid-column:1/3}.exec-chart-grid,.exec-lower-grid{grid-template-columns:1fr}.exec-chart-card:last-child{grid-column:auto}}
@media(max-width:620px){.exec-kpi-grid,.exec-filter-card{grid-template-columns:1fr}.exec-filter-title{grid-column:auto}.exec-section-bar{align-items:flex-start;flex-direction:column}.exec-chart-stage{height:430px}}

/* =====================================================================
   EXEC_UI_GLOBAL_CONTRACT_V2
   H11.0-P5.1 — Shared Executive Design System

   Architecture rule:
   - shared global styles only
   - no new page-specific CSS
   - reusable components/tokens for all dashboard pages
   - page views may compose shared classes, but visual behavior lives here
   ===================================================================== */

:root{
  --exec-v2-space-1:4px;
  --exec-v2-space-2:8px;
  --exec-v2-space-3:12px;
  --exec-v2-space-4:16px;
  --exec-v2-space-5:20px;
  --exec-v2-space-6:24px;
  --exec-v2-space-7:32px;
  --exec-v2-radius-sm:12px;
  --exec-v2-radius-md:18px;
  --exec-v2-radius-lg:24px;
  --exec-v2-control-h:48px;
  --exec-v2-content-gap:16px;
  --exec-v2-section-gap:18px;
  --exec-v2-title:clamp(28px,2.2vw,38px);
  --exec-v2-section-title:clamp(22px,1.65vw,28px);
  --exec-v2-card-title:clamp(19px,1.35vw,23px);
  --exec-v2-body:16px;
  --exec-v2-body-ar:17px;
  --exec-v2-muted:#66758c;
  --exec-v2-line:#e1e7f0;
  --exec-v2-surface:#ffffff;
  --exec-v2-surface-soft:#f8fafc;
  --exec-v2-shadow:0 14px 38px rgba(24,35,68,.07);
}

/* Global shell contract — intentionally applies across the whole site. */
.exec-shell-v2 .elite-main{
  padding-top:16px;
}

.exec-shell-v2 .elite-topbar{
  min-height:76px;
  margin-top:-16px;
  margin-bottom:16px;
  padding-block:10px;
  padding-inline:24px;
  gap:12px;
}

.exec-shell-v2 .elite-title-block{
  min-width:0;
}

.exec-shell-v2 .elite-title-block h1{
  font-size:clamp(1.35rem,1.75vw,1.8rem);
  line-height:1.08;
  margin:0;
}

.exec-shell-v2 .elite-title-block p{
  max-width:560px;
  margin-top:4px;
  font-size:.84rem;
  line-height:1.4;
  font-weight:750;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.exec-shell-v2 .elite-branch-select{
  min-width:176px;
  padding:8px 11px;
  border-radius:13px;
}

.exec-shell-v2 .elite-search{
  min-width:220px;
  max-width:400px;
  min-height:46px;
}

.exec-shell-v2 .elite-search input{
  padding:11px;
}

.exec-shell-v2 .elite-meta{
  min-width:84px;
}

.exec-shell-v2 .elite-lang{
  padding:10px 13px;
}

.exec-shell-v2 .elite-user>span{
  width:40px;
  height:40px;
}

/* Shared page intro */
.exec-page-intro{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(260px,.55fr);
  gap:18px;
  align-items:stretch;
  padding:22px 24px;
  margin-bottom:16px;
  border:1px solid var(--exec-v2-line);
  border-radius:var(--exec-v2-radius-lg);
  background:
    radial-gradient(circle at 88% 15%,rgba(34,197,194,.10),transparent 32%),
    linear-gradient(135deg,#fff 0%,#fbfcff 52%,#f5f9ff 100%);
  box-shadow:var(--exec-v2-shadow);
  color:var(--exec-ink);
}

.exec-page-intro__copy{
  min-width:0;
  align-self:center;
}

.exec-page-intro__copy h2{
  margin:6px 0 8px;
  max-width:820px;
  font-size:var(--exec-v2-title);
  line-height:1.08;
  letter-spacing:-.045em;
}

.exec-page-intro__copy>p{
  max-width:760px;
  margin:0;
  color:var(--exec-v2-muted);
  font-size:var(--exec-v2-body);
  line-height:1.6;
}

html[dir="rtl"] .exec-page-intro__copy>p{
  font-size:var(--exec-v2-body-ar);
}

.exec-page-intro__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.exec-primary-link,
.exec-secondary-button{
  min-height:var(--exec-v2-control-h);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:13px;
  font:inherit;
  font-weight:850;
  text-decoration:none;
  cursor:pointer;
}

.exec-primary-link{
  border:0;
  color:#fff;
  background:linear-gradient(90deg,var(--exec-purple),var(--exec-teal));
  box-shadow:0 10px 24px rgba(109,40,217,.16);
}

.exec-secondary-button{
  border:1px solid var(--exec-v2-line);
  color:var(--exec-ink);
  background:#fff;
}

.exec-page-context{
  display:grid;
  align-content:center;
  gap:7px;
  min-width:0;
  padding:18px 20px;
  border:1px solid #dde7f1;
  border-radius:20px;
  background:rgba(255,255,255,.82);
}

.exec-page-context small{
  color:var(--exec-v2-muted);
  font-size:13px;
  font-weight:800;
}

.exec-page-context strong{
  font-size:clamp(22px,1.8vw,30px);
  line-height:1.15;
  letter-spacing:-.025em;
}

.exec-page-context p{
  margin:0;
  color:var(--exec-v2-muted);
  font-size:14px;
  line-height:1.5;
}

.exec-status-pill{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
}

.exec-status-pill--positive{
  color:#047857;
  border:1px solid #bbf7d0;
  background:#f0fdf4;
}

/* Shared hierarchy */
.exec-section-label{
  margin-bottom:14px;
}

.exec-section-label h2{
  margin:6px 0 4px;
  font-size:var(--exec-v2-section-title);
  line-height:1.16;
  letter-spacing:-.035em;
}

.exec-section-label p{
  max-width:820px;
  margin:0;
  color:var(--exec-v2-muted);
  font-size:var(--exec-v2-body);
  line-height:1.55;
}

.exec-filter-panel,
.exec-summary-strip,
.exec-kpi-zone,
.exec-insight-band,
.exec-analysis-layout,
.exec-compact-data-card{
  scroll-margin-top:96px;
}

.exec-filter-panel{
  padding:20px 22px;
  margin-bottom:14px;
}

.exec-summary-strip{
  margin-bottom:14px;
}

.exec-kpi-zone{
  margin-bottom:14px;
}

.exec-insight-band{
  margin-bottom:14px;
}

.exec-analysis-layout{
  gap:14px;
}

.exec-chart-collection{
  display:grid;
  gap:14px;
}

.exec-chart-card--compact{
  padding:14px 14px 10px;
  border:1px solid var(--exec-v2-line);
  border-radius:16px;
  background:#fff;
}

.exec-chart-card--compact canvas{
  width:100%;
  min-height:240px;
  max-height:300px;
}

.exec-compact-data-card{
  min-height:0 !important;
  height:auto !important;
  align-self:start;
}

.exec-compact-data-card .daily-bars{
  min-height:180px !important;
  height:190px !important;
  padding-top:12px;
}

.exec-compact-data-card .rank-list{
  min-height:0;
}

/* Shared empty/unavailable state */
.exec-empty-state{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-height:88px;
  padding:14px 16px;
  border:1px dashed #d7e0eb;
  border-radius:16px;
  background:var(--exec-v2-surface-soft);
  color:var(--exec-v2-muted);
}

.exec-empty-state>span{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:12px;
  background:#eef3fa;
  color:var(--exec-purple);
  font-weight:900;
}

.exec-empty-state strong{
  display:block;
  color:var(--exec-ink);
  font-size:16px;
}

.exec-empty-state p{
  margin:3px 0 0;
  color:var(--exec-v2-muted);
  font-size:14px;
  line-height:1.45;
}

.exec-empty-state--info{
  border-color:#cfe2f5;
  background:#f7fbff;
}

.exec-data-table-empty{
  padding-top:2px;
}

/* Common density adjustments that can be reused by any executive page. */
.exec-shell-v2 .surface-card{
  box-shadow:var(--exec-v2-shadow);
}

.exec-shell-v2 .section-head.compact{
  margin-bottom:12px;
}

.exec-shell-v2 .section-head.compact h2{
  margin:5px 0 4px;
  font-size:var(--exec-v2-card-title);
  line-height:1.18;
}

.exec-shell-v2 .section-head.compact p{
  font-size:var(--exec-v2-body);
  line-height:1.5;
}

html[dir="rtl"] .exec-shell-v2 .section-head.compact p{
  font-size:var(--exec-v2-body-ar);
}

/* Responsive contract */
@media (max-width:1500px){
  .exec-shell-v2 .elite-topbar{
    padding-inline:20px;
  }

  .exec-shell-v2 .elite-search{
    max-width:330px;
  }

  .exec-page-intro{
    grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);
  }
}

@media (max-width:1200px){
  .exec-page-intro{
    grid-template-columns:1fr;
  }

  .exec-page-context{
    grid-template-columns:auto minmax(0,1fr);
    column-gap:12px;
  }

  .exec-page-context .exec-status-pill{
    grid-column:1/3;
  }

  .exec-page-context p{
    grid-column:2;
  }
}

@media (max-width:920px){
  .exec-shell-v2 .elite-main{
    padding-top:14px;
  }

  .exec-shell-v2 .elite-topbar{
    margin-top:0;
    padding:14px;
  }

  .exec-page-intro{
    padding:18px;
  }

  .exec-chart-card--compact canvas{
    min-height:220px;
  }
}

@media (max-width:620px){
  .exec-page-intro__actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .exec-primary-link,
  .exec-secondary-button{
    width:100%;
  }

  .exec-page-context{
    display:block;
  }

  .exec-page-context>*+*{
    margin-top:7px;
  }
}
/* =====================================================================
   EXEC_UI_LEADERSHIP_CONTRACT_V3
   H11.0-P10.1 — Leadership-first responsive executive dashboard system

   Reusable hierarchy contract:
   - executive page title: 34–44px on desktop
   - section title: 24–28px
   - card title: 20–23px
   - KPI value: 32–48px
   - body: >=16px EN / >=17px AR
   - desktop dashboard density: 4 situation / 3 pulse / 2 main panels
   - tablet density: 2 / 2 / 1
   - mobile density: 1 / 1 / 1
   ===================================================================== */

:root{
  --exec-v3-page-title:clamp(34px,2.7vw,44px);
  --exec-v3-section-title:clamp(24px,1.85vw,28px);
  --exec-v3-card-title:clamp(20px,1.35vw,23px);
  --exec-v3-kpi-value:clamp(32px,2.7vw,48px);
  --exec-v3-body:16px;
  --exec-v3-body-ar:17px;
  --exec-v3-small:14px;
  --exec-v3-radius:22px;
  --exec-v3-radius-sm:16px;
  --exec-v3-gap:18px;
  --exec-v3-surface:#ffffff;
  --exec-v3-surface-soft:#f7fafc;
  --exec-v3-ink:#111831;
  --exec-v3-muted:#647089;
  --exec-v3-line:#dfe7f0;
  --exec-v3-purple:#6d28d9;
  --exec-v3-teal:#0f9f98;
  --exec-v3-blue:#2f6fe4;
  --exec-v3-green:#119c61;
  --exec-v3-red:#dc4051;
  --exec-v3-orange:#d98916;
  --exec-v3-shadow:0 18px 46px rgba(25,38,73,.075);
}

/* Dashboard shell readability */
.page-dashboard .elite-title-block h1{
  font-size:var(--exec-v3-page-title) !important;
  line-height:1.03 !important;
  letter-spacing:-.045em !important;
}

.page-dashboard .elite-title-block p{
  margin-top:7px !important;
  max-width:700px !important;
  font-size:var(--exec-v3-body) !important;
  line-height:1.5 !important;
  font-weight:720 !important;
}

html[dir="rtl"] .page-dashboard .elite-title-block p{
  font-size:var(--exec-v3-body-ar) !important;
}

.page-dashboard .elite-nav a{
  min-height:50px;
  font-size:16px;
}

.page-dashboard .elite-nav a b{
  line-height:1.25;
}

.page-dashboard .elite-meta span,
.page-dashboard .elite-branch-select small{
  font-size:13px;
}

.page-dashboard .elite-meta strong,
.page-dashboard .elite-branch-select b{
  font-size:15px;
}

.exec-leadership-dashboard{
  display:grid;
  gap:24px;
  min-width:0;
  max-width:100%;
  color:var(--exec-v3-ink);
  font-size:var(--exec-v3-body);
}

html[dir="rtl"] .exec-leadership-dashboard{
  font-size:var(--exec-v3-body-ar);
}

.exec-leadership-dashboard *,
.exec-leadership-dashboard *::before,
.exec-leadership-dashboard *::after{
  box-sizing:border-box;
}

.exec-leadership-dashboard a{
  text-decoration:none;
}

.exec-leadership-warning{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:16px 18px;
  border:1px solid #f4d49a;
  border-radius:18px;
  background:#fffaf0;
  color:#8a5a0a;
}

.exec-leadership-warning>span{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  background:#fff0cc;
  font-size:22px;
  font-weight:900;
}

.exec-leadership-warning strong{
  display:block;
  font-size:18px;
}

.exec-leadership-warning p{
  margin:4px 0 0;
  font-size:16px;
  line-height:1.5;
}

.exec-leadership-section{
  min-width:0;
}

.exec-leadership-section--priority{
  display:grid;
  gap:16px;
}

.exec-leadership-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  min-width:0;
}

.exec-leadership-section-head>div:first-child{
  min-width:0;
}

.exec-leadership-overline{
  display:block;
  color:var(--exec-v3-purple);
  font-size:13px;
  font-weight:900;
  letter-spacing:.085em;
  text-transform:uppercase;
}

.exec-leadership-section-head h2{
  margin:7px 0 6px;
  font-size:var(--exec-v3-section-title);
  line-height:1.12;
  letter-spacing:-.035em;
}

.exec-leadership-section-head p{
  max-width:820px;
  margin:0;
  color:var(--exec-v3-muted);
  font-size:var(--exec-v3-body);
  line-height:1.55;
}

html[dir="rtl"] .exec-leadership-section-head p{
  font-size:var(--exec-v3-body-ar);
}

.exec-leadership-section-head--compact{
  align-items:flex-start;
  margin-bottom:14px;
}

.exec-leadership-context{
  flex:0 0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(150px,1fr));
  gap:10px;
}

.exec-leadership-context>div{
  min-width:150px;
  padding:12px 14px;
  border:1px solid var(--exec-v3-line);
  border-radius:15px;
  background:var(--exec-v3-surface);
  box-shadow:0 8px 22px rgba(25,38,73,.045);
}

.exec-leadership-context small{
  display:block;
  color:var(--exec-v3-muted);
  font-size:13px;
  font-weight:800;
}

.exec-leadership-context strong{
  display:block;
  margin-top:5px;
  font-size:16px;
  line-height:1.25;
}

/* 4 maximum situation cards on desktop */
.exec-leadership-situation{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  min-width:0;
}

.exec-leadership-kpi{
  position:relative;
  min-width:0;
  min-height:190px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:15px;
  align-items:start;
  padding:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--exec-v3-radius);
  color:#fff;
  background:
    radial-gradient(circle at 85% 18%,rgba(255,255,255,.10),transparent 28%),
    linear-gradient(145deg,#071a35,#17103c 58%,#07152e);
  box-shadow:0 22px 52px rgba(16,23,56,.18);
}

.exec-leadership-kpi::after{
  content:"";
  position:absolute;
  inset:auto -42px -56px auto;
  width:150px;
  height:150px;
  border-radius:50%;
  background:rgba(255,255,255,.045);
}

.exec-leadership-kpi__icon{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:17px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:#4ce0d3;
  font-size:24px;
  font-weight:900;
}

.exec-tone-revenue .exec-leadership-kpi__icon{
  color:#d7bfff;
}

.exec-tone-capacity .exec-leadership-kpi__icon{
  color:#8fe8ff;
}

.exec-tone-pressure .exec-leadership-kpi__icon{
  color:#ffc15b;
}

.exec-leadership-kpi__copy{
  position:relative;
  z-index:1;
  min-width:0;
}

.exec-leadership-kpi small{
  display:block;
  color:#ced8ec;
  font-size:14px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.exec-leadership-kpi strong{
  display:block;
  margin-top:12px;
  color:#fff;
  font-size:var(--exec-v3-kpi-value);
  line-height:1;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}

.exec-leadership-kpi.exec-tone-status strong,
.exec-leadership-kpi strong.is-low{
  color:#45dfc8;
}

.exec-leadership-kpi strong.is-watch{
  color:#ffd166;
}

.exec-leadership-kpi strong.is-high{
  color:#ff7185;
}

.exec-leadership-kpi p{
  margin:11px 0 0;
  color:#d9e1ef;
  font-size:16px;
  line-height:1.45;
}

.exec-leadership-kpi p b{
  color:#fff;
}

/* 3 maximum operational cards on desktop */
.exec-leadership-pulse-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  min-width:0;
}

.exec-leadership-pulse-card{
  min-width:0;
  min-height:112px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:17px 18px;
  border:1px solid var(--exec-v3-line);
  border-radius:18px;
  color:var(--exec-v3-ink);
  background:linear-gradient(145deg,#fff,#fbfdff);
  box-shadow:var(--exec-v3-shadow);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.exec-leadership-pulse-card:hover{
  transform:translateY(-2px);
  border-color:#cfd9e7;
  box-shadow:0 22px 50px rgba(25,38,73,.10);
}

.exec-leadership-pulse-card__icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:15px;
  background:#e8faf7;
  color:var(--exec-v3-teal);
  font-size:21px;
  font-weight:900;
}

.exec-leadership-pulse-card.tone-red .exec-leadership-pulse-card__icon{
  background:#fff0f2;
  color:var(--exec-v3-red);
}

.exec-leadership-pulse-card.tone-purple .exec-leadership-pulse-card__icon{
  background:#f2edff;
  color:var(--exec-v3-purple);
}

.exec-leadership-pulse-card.tone-green .exec-leadership-pulse-card__icon{
  background:#eefbf3;
  color:var(--exec-v3-green);
}

.exec-leadership-pulse-card.tone-blue .exec-leadership-pulse-card__icon{
  background:#eef4ff;
  color:var(--exec-v3-blue);
}

.exec-leadership-pulse-card small{
  display:block;
  color:var(--exec-v3-muted);
  font-size:15px;
  font-weight:850;
}

.exec-leadership-pulse-card strong{
  display:block;
  margin-top:5px;
  font-size:clamp(28px,2vw,36px);
  line-height:1;
  letter-spacing:-.035em;
}

.exec-leadership-pulse-card>em{
  color:#9aa5b7;
  font-style:normal;
  font-size:22px;
}

/* 2 maximum decision-support panels on desktop */
.exec-leadership-main-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  min-width:0;
}

.exec-leadership-panel{
  position:relative;
  min-width:0;
  overflow:hidden;
  padding:20px;
  border:1px solid var(--exec-v3-line);
  border-radius:var(--exec-v3-radius);
  background:
    radial-gradient(circle at 92% 5%,rgba(15,159,152,.055),transparent 26%),
    linear-gradient(145deg,#fff,#fcfdff);
  box-shadow:var(--exec-v3-shadow);
}

.exec-leadership-panel::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,var(--exec-v3-purple),var(--exec-v3-teal),var(--exec-v3-blue));
}

.exec-leadership-panel__head{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  margin-bottom:16px;
}

.exec-leadership-panel__head>span{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:14px;
  background:#f1edff;
  color:var(--exec-v3-purple);
  font-size:19px;
  font-weight:900;
}

.exec-leadership-panel__head small{
  display:block;
  color:var(--exec-v3-muted);
  font-size:13px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.exec-leadership-panel__head h3{
  margin:4px 0 0;
  font-size:var(--exec-v3-card-title);
  line-height:1.15;
  letter-spacing:-.025em;
}

.exec-leadership-panel__head>a{
  align-self:center;
  color:var(--exec-v3-purple);
  font-size:14px;
  font-weight:900;
}

.exec-leadership-flow-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.exec-leadership-flow-grid>div{
  min-width:0;
  padding:16px;
  border:1px solid #e8eef5;
  border-radius:16px;
  background:#fbfdff;
}

.exec-leadership-flow-grid small{
  display:block;
  color:var(--exec-v3-muted);
  font-size:15px;
  font-weight:800;
}

.exec-leadership-flow-grid strong{
  display:block;
  margin-top:7px;
  font-size:clamp(30px,2.2vw,40px);
  line-height:1;
}

.exec-leadership-panel__footer{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 12px;
  align-items:center;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--exec-v3-line);
}

.exec-leadership-panel__footer span{
  color:var(--exec-v3-muted);
  font-size:15px;
  font-weight:750;
}

.exec-leadership-panel__footer strong{
  font-size:22px;
}

.exec-leadership-panel__footer em{
  grid-column:1/3;
  color:#7d889d;
  font-size:14px;
  font-style:normal;
}

.exec-leadership-capacity{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:24px;
  align-items:center;
}

.exec-leadership-donut{
  --p:0;
  width:168px;
  height:168px;
  margin:auto;
  display:grid;
  place-items:center;
  align-content:center;
  text-align:center;
  border-radius:50%;
  background:conic-gradient(
    var(--exec-v3-purple) calc(var(--p)*1%),
    #e9eef5 0
  );
  box-shadow:
    0 20px 40px rgba(25,38,73,.08),
    inset 0 0 0 18px #fff;
}

.exec-leadership-donut strong{
  display:block;
  font-size:34px;
  line-height:1;
}

.exec-leadership-donut small{
  display:block;
  margin-top:5px;
  color:var(--exec-v3-muted);
  font-size:14px;
  font-weight:800;
}

.exec-leadership-units{
  display:grid;
  gap:16px;
}

.exec-leadership-units>div{
  display:grid;
  grid-template-columns:minmax(90px,.7fr) minmax(110px,1.4fr) 48px;
  gap:12px;
  align-items:center;
  min-width:0;
}

.exec-leadership-units span{
  min-width:0;
  overflow:hidden;
  color:#35415a;
  font-size:15px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.exec-leadership-units b{
  width:var(--w);
  min-width:0;
  max-width:100%;
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--exec-v3-teal),var(--exec-v3-purple));
}

.exec-leadership-units em{
  color:var(--exec-v3-muted);
  font-size:15px;
  font-style:normal;
  font-weight:850;
  text-align:end;
}

.exec-leadership-link{
  display:table;
  margin:18px auto 0;
  padding:11px 18px;
  border-radius:999px;
  background:#eaf9f7;
  color:#087f79;
  font-size:15px;
  font-weight:900;
}

.exec-leadership-finance-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.exec-leadership-finance-grid>div{
  min-width:0;
  padding:16px;
  border:1px solid #e8eef5;
  border-radius:16px;
  background:#fbfdff;
}

.exec-leadership-finance-grid>div.is-net{
  border-color:#bfece7;
  background:#effbf9;
}

.exec-leadership-finance-grid small{
  display:block;
  color:var(--exec-v3-muted);
  font-size:15px;
  font-weight:800;
}

.exec-leadership-finance-grid strong{
  display:block;
  margin-top:7px;
  font-size:clamp(22px,1.55vw,30px);
  line-height:1.15;
  overflow-wrap:anywhere;
}

.exec-leadership-finance-grid .is-net strong{
  color:#087f79;
}

.exec-leadership-clinical-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.exec-leadership-clinical-summary>div{
  min-width:0;
  padding:15px;
  border:1px solid #e8eef5;
  border-radius:16px;
  background:#fbfdff;
}

.exec-leadership-clinical-summary>div.is-wide{
  grid-column:1/3;
}

.exec-leadership-clinical-summary small{
  display:block;
  color:var(--exec-v3-muted);
  font-size:15px;
  font-weight:800;
}

.exec-leadership-clinical-summary strong{
  display:block;
  margin-top:6px;
  font-size:clamp(22px,1.65vw,30px);
  line-height:1.2;
  overflow-wrap:anywhere;
}

.exec-leadership-clinical-summary .is-wide strong{
  font-size:20px;
}

.exec-leadership-clinical-summary em{
  display:block;
  margin-top:6px;
  color:#087f79;
  font-size:18px;
  font-style:normal;
  font-weight:900;
}

.exec-leadership-ranking{
  list-style:none;
  display:grid;
  gap:9px;
  margin:14px 0 0;
  padding:0;
}

.exec-leadership-ranking li{
  min-width:0;
  display:grid;
  grid-template-columns:34px minmax(110px,.85fr) minmax(90px,1fr) auto;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:1px solid #e9eef5;
  border-radius:14px;
  background:#fff;
}

.exec-leadership-ranking li>span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  background:#f1edff;
  color:var(--exec-v3-purple);
  font-size:14px;
  font-weight:900;
}

.exec-leadership-ranking li>b{
  min-width:0;
  overflow:hidden;
  font-size:15px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.exec-leadership-ranking li>i{
  width:var(--w);
  max-width:100%;
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--exec-v3-purple),#a887ff);
}

.exec-leadership-ranking li>em{
  color:var(--exec-v3-purple);
  font-size:15px;
  font-style:normal;
  font-weight:900;
  text-align:end;
}

.exec-leadership-ranking li.is-empty{
  grid-template-columns:34px minmax(0,1fr) auto;
}

.exec-leadership-alert-list,
.exec-leadership-actions{
  display:grid;
  gap:12px;
}

.exec-leadership-alert{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:14px;
  align-items:start;
  padding:16px;
  border:1px solid #f1d8dc;
  border-radius:16px;
  background:#fff9fa;
}

.exec-leadership-alert.severity-good,
.exec-leadership-alert.severity-low,
.exec-leadership-alert.severity-summary{
  border-color:#c8ebe6;
  background:#f5fcfb;
}

.exec-leadership-alert>span{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:#fff0f2;
  color:var(--exec-v3-red);
  font-size:19px;
  font-weight:900;
}

.exec-leadership-alert.severity-good>span,
.exec-leadership-alert.severity-low>span,
.exec-leadership-alert.severity-summary>span{
  background:#e8f8f5;
  color:var(--exec-v3-teal);
}

.exec-leadership-alert strong{
  display:block;
  font-size:18px;
  line-height:1.35;
}

.exec-leadership-alert p{
  margin:6px 0 0;
  color:var(--exec-v3-muted);
  font-size:16px;
  line-height:1.55;
}

html[dir="rtl"] .exec-leadership-alert p{
  font-size:17px;
}

.exec-leadership-action{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:15px 16px;
  border:1px solid #e7edf4;
  border-radius:16px;
  background:#fbfdff;
}

.exec-leadership-action strong{
  display:block;
  font-size:18px;
  line-height:1.35;
}

.exec-leadership-action p{
  margin:5px 0 0;
  color:var(--exec-v3-muted);
  font-size:15px;
  line-height:1.5;
}

.exec-leadership-action>a{
  min-width:82px;
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:12px;
  color:#fff;
  background:var(--exec-v3-teal);
  font-size:15px;
  font-weight:900;
}

.exec-leadership-action.tone-purple>a{
  background:var(--exec-v3-purple);
}

.exec-leadership-action.tone-blue>a{
  background:var(--exec-v3-blue);
}

.exec-leadership-action-center{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  padding:0 18px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(90deg,var(--exec-v3-purple),#7e2de4);
  font-size:16px;
  font-weight:900;
  box-shadow:0 16px 32px rgba(109,40,217,.16);
}

.exec-leadership-quick{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:16px;
  border:1px solid var(--exec-v3-line);
  border-radius:var(--exec-v3-radius);
  background:#fff;
  box-shadow:var(--exec-v3-shadow);
}

.exec-leadership-quick>a{
  min-width:0;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px;
  border:1px solid #e6edf5;
  border-radius:13px;
  color:#25304c;
  background:#fbfdff;
  font-size:15px;
  font-weight:850;
  text-align:center;
}

/* Large desktop/laptop refinement */
@media (max-width:1500px){
  .exec-leadership-kpi{
    min-height:178px;
    padding:18px;
  }

  .exec-leadership-kpi{
    grid-template-columns:50px minmax(0,1fr);
    gap:12px;
  }

  .exec-leadership-kpi__icon{
    width:48px;
    height:48px;
    border-radius:15px;
  }

  .exec-leadership-context{
    grid-template-columns:1fr;
  }
}

/* Tablet contract: 2 / 2 / 1 */
@media (max-width:1180px){
  .exec-leadership-dashboard{
    gap:22px;
  }

  .exec-leadership-section-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .exec-leadership-context{
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .exec-leadership-situation{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .exec-leadership-pulse-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .exec-leadership-main-grid{
    grid-template-columns:1fr;
  }

  .exec-leadership-quick{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .page-dashboard .elite-title-block h1{
    font-size:clamp(32px,4vw,40px) !important;
  }
}

/* Mobile contract: 1 / 1 / 1 */
@media (max-width:720px){
  .page-dashboard .elite-title-block h1{
    font-size:clamp(28px,8vw,36px) !important;
  }

  .page-dashboard .elite-title-block p{
    font-size:16px !important;
  }

  html[dir="rtl"] .page-dashboard .elite-title-block p{
    font-size:17px !important;
  }

  .exec-leadership-dashboard{
    gap:20px;
  }

  .exec-leadership-section-head{
    gap:14px;
  }

  .exec-leadership-context,
  .exec-leadership-situation,
  .exec-leadership-pulse-grid,
  .exec-leadership-main-grid,
  .exec-leadership-quick{
    grid-template-columns:1fr;
  }

  .exec-leadership-context>div{
    min-width:0;
  }

  .exec-leadership-kpi{
    min-height:0;
    grid-template-columns:48px minmax(0,1fr);
    padding:18px;
  }

  .exec-leadership-kpi strong{
    font-size:clamp(32px,10vw,42px);
  }

  .exec-leadership-pulse-card{
    min-height:100px;
  }

  .exec-leadership-panel{
    padding:18px;
  }

  .exec-leadership-panel__head{
    grid-template-columns:40px minmax(0,1fr);
  }

  .exec-leadership-panel__head>a{
    grid-column:2;
    justify-self:start;
  }

  .exec-leadership-capacity{
    grid-template-columns:1fr;
  }

  .exec-leadership-donut{
    width:156px;
    height:156px;
  }

  .exec-leadership-units>div{
    grid-template-columns:minmax(78px,.7fr) minmax(90px,1.25fr) 44px;
  }

  .exec-leadership-ranking li{
    grid-template-columns:32px minmax(0,1fr) auto;
  }

  .exec-leadership-ranking li>i{
    display:none;
  }

  .exec-leadership-action{
    grid-template-columns:1fr;
  }

  .exec-leadership-action>a{
    width:100%;
  }
}

@media (max-width:540px){
  .exec-leadership-flow-grid,
  .exec-leadership-finance-grid,
  .exec-leadership-clinical-summary{
    grid-template-columns:1fr;
  }

  .exec-leadership-clinical-summary>div.is-wide{
    grid-column:auto;
  }

  .exec-leadership-section-head h2{
    font-size:clamp(24px,7vw,28px);
  }

  .exec-leadership-alert{
    grid-template-columns:42px minmax(0,1fr);
    padding:14px;
  }

  .exec-leadership-alert>span{
    width:40px;
    height:40px;
  }
}

/* Narrow phone overflow guard */
@media (max-width:420px){
  .exec-leadership-kpi{
    grid-template-columns:1fr;
  }

  .exec-leadership-kpi__icon{
    width:46px;
    height:46px;
  }

  .exec-leadership-pulse-card{
    grid-template-columns:44px minmax(0,1fr);
  }

  .exec-leadership-pulse-card>em{
    display:none;
  }

  .exec-leadership-panel__footer{
    grid-template-columns:1fr;
  }

  .exec-leadership-panel__footer em{
    grid-column:auto;
  }

  .exec-leadership-units>div{
    grid-template-columns:1fr 48px;
  }

  .exec-leadership-units b{
    grid-column:1/3;
    width:100%;
    background:
      linear-gradient(
        90deg,
        var(--exec-v3-teal) 0 var(--w),
        #e9eef5 var(--w) 100%
      );
  }
}
