: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;
  align-items:start;
}

.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%
      );
  }
}
/* =====================================================================
   EXEC_UI_EXECUTIVE_HOME_FINAL_VISUAL_CLOSURE_V1
   H11.0-P10.2
   - Natural-height panels: no forced empty whitespace.
   - Compact Top 3 specialty ranking on Executive Home.
   - Content-fit Critical Alerts.
   ===================================================================== */

.exec-leadership-panel--content-fit{
  align-self:start;
  min-height:0;
}

.exec-leadership-panel--clinical-compact .exec-leadership-ranking{
  gap:8px;
}

.exec-leadership-panel--clinical-compact .exec-leadership-ranking li{
  padding-top:9px;
  padding-bottom:9px;
}

.exec-leadership-panel--clinical-compact .exec-leadership-ranking li:nth-child(n+4){
  display:none;
}

@media (max-width:720px){
  .exec-leadership-panel--clinical-compact .exec-leadership-ranking li{
    padding-top:10px;
    padding-bottom:10px;
  }
}
/* =====================================================================
   EXEC_UI_EXECUTIVE_HOME_VISUAL_BALANCE_R1
   H11.0-P10.2-R1
   - Critical Alerts: compact full-width executive attention strip.
   - Recommended Actions: full-width action panel.
   - Desktop actions: 3 columns; tablet: 2; mobile: 1.
   - Removes the residual blank left-column region beneath Critical Alerts.
   ===================================================================== */

.exec-leadership-panel--attention-wide,
.exec-leadership-panel--actions-wide{
  grid-column:1 / -1;
}

.exec-leadership-panel--attention-wide .exec-leadership-alert-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.exec-leadership-panel--actions-wide .exec-leadership-actions{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}

.exec-leadership-panel--actions-wide .exec-leadership-action{
  grid-template-columns:1fr;
  align-content:space-between;
  min-height:150px;
}

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

.exec-leadership-panel--actions-wide .exec-leadership-action-center{
  margin-top:16px;
}

@media (max-width:1180px){
  .exec-leadership-panel--attention-wide .exec-leadership-alert-list,
  .exec-leadership-panel--actions-wide .exec-leadership-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px){
  .exec-leadership-panel--attention-wide .exec-leadership-alert-list,
  .exec-leadership-panel--actions-wide .exec-leadership-actions{
    grid-template-columns:1fr;
  }

  .exec-leadership-panel--actions-wide .exec-leadership-action{
    min-height:0;
  }
}
/* =====================================================================
   EXEC_UI_CAPACITY_OCCUPANCY_VISUAL_CLARITY_V1
   H11.0-P10.3

   Executive clarity contract:
   - Donut explicitly represents Occupancy percentage.
   - Total Beds and Available Beds are separate readable metrics.
   - Unit bars use visible neutral tracks plus distinct high-contrast fills.
   - Labels and percentages use darker, larger typography.
   - Long unit names may wrap instead of being visually truncated.
   ===================================================================== */

:root{
  --exec-capacity-ring:#6d28d9;
  --exec-capacity-ring-track:#d7e0ec;
  --exec-capacity-text:#15213b;
  --exec-capacity-muted:#58657d;
  --exec-capacity-icu:#6d28d9;
  --exec-capacity-medical:#0f9f98;
  --exec-capacity-longterm:#2f6fe4;
  --exec-capacity-bar-track:#e2e8f1;
}

.exec-leadership-capacity{
  grid-template-columns:210px minmax(0,1fr);
  gap:28px;
}

.exec-leadership-capacity-overview{
  display:grid;
  gap:12px;
  justify-items:center;
  align-content:center;
  min-width:0;
}

.exec-leadership-donut{
  width:174px;
  height:174px;
  border:2px solid #d4ddea;
  background:
    conic-gradient(
      var(--exec-capacity-ring) 0 calc(var(--p)*1%),
      var(--exec-capacity-ring-track) calc(var(--p)*1%) 100%
    );
  box-shadow:
    0 18px 38px rgba(25,38,73,.10),
    inset 0 0 0 22px #fff;
}

.exec-leadership-donut strong{
  color:var(--exec-capacity-text);
  font-size:40px;
  font-weight:950;
  letter-spacing:-.045em;
}

.exec-leadership-donut small{
  margin-top:7px;
  color:var(--exec-capacity-muted);
  font-size:15px;
  font-weight:900;
  letter-spacing:.01em;
}

.exec-leadership-capacity-meta{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.exec-leadership-capacity-meta>div{
  min-width:0;
  padding:10px 11px;
  border:1px solid #dfe7f0;
  border-radius:13px;
  background:#fbfdff;
  text-align:center;
}

.exec-leadership-capacity-meta small{
  display:block;
  color:var(--exec-capacity-muted);
  font-size:13px;
  font-weight:850;
}

.exec-leadership-capacity-meta strong{
  display:block;
  margin-top:4px;
  color:var(--exec-capacity-text);
  font-size:20px;
  line-height:1;
  font-weight:950;
}

.exec-leadership-units{
  gap:18px;
}

.exec-leadership-units>div{
  grid-template-columns:minmax(128px,.9fr) minmax(150px,1.45fr) 58px;
  gap:14px;
}

.exec-leadership-units span{
  display:flex;
  align-items:center;
  gap:9px;
  overflow:visible;
  color:var(--exec-capacity-text);
  font-size:16px;
  line-height:1.25;
  font-weight:900;
  text-overflow:clip;
  white-space:normal;
}

.exec-leadership-units span::before{
  content:"";
  flex:0 0 auto;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--exec-capacity-icu);
  box-shadow:0 0 0 4px rgba(109,40,217,.10);
}

.exec-leadership-units>div:nth-child(2) span::before{
  background:var(--exec-capacity-medical);
  box-shadow:0 0 0 4px rgba(15,159,152,.10);
}

.exec-leadership-units>div:nth-child(3) span::before{
  background:var(--exec-capacity-longterm);
  box-shadow:0 0 0 4px rgba(47,111,228,.10);
}

.exec-leadership-unit-track{
  width:100% !important;
  height:13px !important;
  overflow:hidden;
  border:1px solid #d3dce8;
  border-radius:999px;
  background:var(--exec-capacity-bar-track) !important;
  box-shadow:inset 0 1px 2px rgba(25,38,73,.07);
}

.exec-leadership-unit-track>i{
  display:block;
  width:var(--w);
  height:100%;
  border-radius:999px;
  background:var(--exec-capacity-icu);
  box-shadow:0 2px 8px rgba(109,40,217,.18);
}

.exec-leadership-units>div:nth-child(2) .exec-leadership-unit-track>i{
  background:var(--exec-capacity-medical);
  box-shadow:0 2px 8px rgba(15,159,152,.18);
}

.exec-leadership-units>div:nth-child(3) .exec-leadership-unit-track>i{
  background:var(--exec-capacity-longterm);
  box-shadow:0 2px 8px rgba(47,111,228,.18);
}

.exec-leadership-units em{
  color:var(--exec-capacity-text);
  font-size:16px;
  font-weight:950;
}

@media (max-width:1180px){
  .exec-leadership-capacity{
    grid-template-columns:190px minmax(0,1fr);
    gap:24px;
  }

  .exec-leadership-units>div{
    grid-template-columns:minmax(118px,.9fr) minmax(130px,1.35fr) 54px;
  }
}

@media (max-width:720px){
  .exec-leadership-capacity{
    grid-template-columns:1fr;
  }

  .exec-leadership-capacity-overview{
    max-width:320px;
    width:100%;
    margin-inline:auto;
  }

  .exec-leadership-units>div{
    grid-template-columns:minmax(100px,.9fr) minmax(120px,1.3fr) 52px;
  }
}

@media (max-width:420px){
  .exec-leadership-units>div{
    grid-template-columns:1fr 52px;
    gap:9px 10px;
  }

  .exec-leadership-unit-track{
    grid-column:1 / 3;
  }
}

/* ========================================================================== */
/* EXEC_UI_REVENUE_INTELLIGENCE_H110_P11_V1                                  */
/* Executive Revenue Intelligence harmonization — shared UI core extension.   */
/* ========================================================================== */

.eri-page-active {
    --eri-ink: #111827;
    --eri-muted: #64748b;
    --eri-border: #dbe4f0;
    --eri-surface: #ffffff;
    --eri-soft: #f7f9fd;
    --eri-purple: #6d28d9;
    --eri-blue: #2f6fe4;
    --eri-teal: #0f9f98;
    --eri-red: #dc3545;
    --eri-amber: #d97706;
    --eri-green: #15803d;
    --eri-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    color: var(--eri-ink);
}

.eri-page-active *,
.eri-page-active *::before,
.eri-page-active *::after {
    box-sizing: border-box;
}

.eri-page-active main,
.eri-page-active .main,
.eri-page-active .content,
.eri-page-active .page-content {
    min-width: 0;
    max-width: 100%;
}

.eri-page-active .eri-source-hidden {
    display: none !important;
}

.eri-executive-summary,
.eri-decision-grid,
.eri-trend-workspace {
    width: 100%;
    max-width: 100%;
    grid-column: 1 / -1;
    box-sizing: border-box;
    scroll-margin-top: 120px;
}

.eri-executive-summary {
    margin: 16px 0 18px;
    padding: 22px;
    background: var(--eri-surface);
    border: 1px solid var(--eri-border);
    border-radius: 26px;
    box-shadow: var(--eri-shadow);
}

.eri-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.eri-summary-copy {
    min-width: 0;
    max-width: 720px;
}

.eri-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #f3ecff;
    color: #5b159f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.eri-summary-copy h2,
.eri-trend-header h2 {
    margin: 10px 0 4px;
    color: var(--eri-ink);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.eri-summary-copy p {
    margin: 0;
    color: var(--eri-muted);
    font-size: 16px;
    line-height: 1.55;
}

.eri-context-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(132px, 1fr));
    gap: 10px;
    min-width: min(100%, 520px);
}

.eri-context-chips > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    padding: 10px 13px;
    border: 1px solid var(--eri-border);
    border-radius: 16px;
    background: var(--eri-soft);
}

.eri-context-chips b {
    color: var(--eri-muted);
    font-size: 14px;
    font-weight: 700;
}

.eri-context-chips strong {
    margin-top: 3px;
    color: var(--eri-ink);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.eri-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.eri-priority-card {
    position: relative;
    min-width: 0;
    min-height: 180px;
    padding: 18px;
    border: 1px solid var(--eri-border);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    overflow: hidden;
}

.eri-priority-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--eri-blue);
}

.eri-priority-card--profit::before,
.eri-priority-card--status-attention::before {
    background: var(--eri-red);
}

.eri-priority-card--insurance::before {
    background: var(--eri-teal);
}

.eri-priority-card--status-stable::before {
    background: var(--eri-green);
}

.eri-priority-card--status-review::before {
    background: var(--eri-amber);
}

.eri-priority-card__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(47, 111, 228, 0.14), rgba(109, 40, 217, 0.14));
}

.eri-priority-card--profit .eri-priority-card__icon,
.eri-priority-card--status-attention .eri-priority-card__icon {
    background: rgba(220, 53, 69, 0.12);
}

.eri-priority-card--insurance .eri-priority-card__icon {
    background: rgba(15, 159, 152, 0.13);
}

.eri-priority-card__label {
    color: #475569;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

.eri-priority-card__value {
    margin-top: 6px;
    color: var(--eri-ink);
    font-size: 40px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.eri-priority-card--attention .eri-priority-card__value,
.eri-priority-card--status-attention .eri-priority-card__value {
    color: var(--eri-red);
}

.eri-priority-card__value--status {
    font-size: 30px;
    line-height: 1.12;
}

.eri-priority-card__support {
    margin-top: 7px;
    color: var(--eri-muted);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 650;
}

.eri-priority-card__change {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 14px;
    font-weight: 850;
}

.eri-change--negative {
    background: #fff0f2;
    color: #b91c2b;
}

.eri-change--positive {
    background: #ecfdf3;
    color: #166534;
}

.eri-page-active .eri-controls-card {
    margin: 0 0 18px !important;
    padding: 18px 20px !important;
    border-radius: 22px !important;
    border-color: var(--eri-border) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

.eri-page-active .eri-controls-card .eri-controls-prompt,
.eri-page-active .eri-controls-card .eri-date-control-hidden {
    display: none !important;
}

.eri-page-active .eri-controls-card label,
.eri-page-active .eri-controls-card .form-label {
    color: #334155;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.eri-page-active .eri-controls-card .eri-control-target {
    min-height: 48px !important;
    font-size: 16px !important;
    border-radius: 13px !important;
}

.eri-page-active .eri-controls-card button.eri-control-target {
    min-width: 170px;
    font-weight: 850 !important;
}

.eri-decision-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin: 0 0 18px;
}

.eri-revenue-mix-card,
.eri-insight-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--eri-border);
    border-radius: 22px;
    background: var(--eri-surface);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.eri-card-heading {
    margin-bottom: 16px;
}

.eri-revenue-mix-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
}

.eri-donut {
    --eri-insurance-share: 0%;
    position: relative;
    width: 176px;
    height: 176px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--eri-blue) 0 var(--eri-insurance-share), var(--eri-teal) var(--eri-insurance-share) 100%);
}

.eri-donut::after {
    content: '';
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px #edf2f7;
}

.eri-donut__center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eri-donut__center strong {
    color: var(--eri-ink);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.eri-donut__center span {
    margin-top: 7px;
    color: var(--eri-muted);
    font-size: 14px;
    font-weight: 750;
}

.eri-mix-lines {
    min-width: 0;
}

.eri-mix-line {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(48px, auto);
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 16px;
}

.eri-mix-line > div {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.eri-mix-line b,
.eri-mix-line strong,
.eri-mix-line em {
    font-size: 16px;
    font-style: normal;
}

.eri-mix-line b {
    min-width: 0;
    overflow-wrap: anywhere;
}

.eri-mix-line strong,
.eri-mix-line em {
    white-space: nowrap;
}

.eri-mix-line em {
    color: var(--eri-teal);
    font-weight: 850;
}

.eri-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
}

.eri-dot--insurance {
    background: var(--eri-blue);
}

.eri-dot--cash {
    background: var(--eri-teal);
}

.eri-progress {
    width: 100%;
    height: 13px;
    margin: 7px 0 12px;
    border-radius: 999px;
    background: #e9eff7;
    overflow: hidden;
}

.eri-progress__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
}

.eri-progress__fill--insurance {
    background: linear-gradient(90deg, var(--eri-purple), var(--eri-blue));
}

.eri-progress__fill--cash {
    background: linear-gradient(90deg, var(--eri-teal), #22c55e);
}

.eri-moh-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-size: 16px;
}

.eri-moh-strip strong {
    color: var(--eri-ink);
    font-size: 18px;
}

.eri-insight-list {
    display: grid;
    gap: 10px;
}

.eri-insight-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid #dbe7f8;
    border-radius: 14px;
    background: #f8fbff;
}

.eri-insight-item--attention {
    border-color: #ffd6da;
    background: #fff8f8;
}

.eri-insight-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(47, 111, 228, 0.12);
}

.eri-insight-item--attention .eri-insight-item__icon {
    background: rgba(220, 53, 69, 0.12);
}

.eri-insight-item p {
    margin: 0;
    color: #243247;
    font-size: 16px;
    line-height: 1.52;
    font-weight: 650;
}

.eri-trend-workspace {
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid var(--eri-border);
    border-radius: 24px;
    background: var(--eri-surface);
    box-shadow: var(--eri-shadow);
    overflow: hidden;
}

.eri-trend-header {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.eri-trend-header > * {
    min-width: 0;
}

.eri-trend-header h2 {
    margin-bottom: 0;
}

.eri-trend-tabs {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: thin;
}

.eri-trend-tab {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--eri-border);
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    cursor: pointer;
}

.eri-trend-tab[aria-selected='true'] {
    border-color: transparent;
    background: linear-gradient(135deg, var(--eri-purple), #7c3aed);
    color: #fff;
    box-shadow: 0 8px 18px rgba(109, 40, 217, 0.22);
}

.eri-trend-tab:focus-visible {
    outline: 3px solid rgba(47, 111, 228, 0.32);
    outline-offset: 2px;
}

.eri-trend-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: start;
}

.eri-trend-panels {
    min-width: 0;
}

.eri-page-active .eri-trend-panel {
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.eri-page-active .eri-trend-panel[hidden] {
    display: none !important;
}

.eri-page-active .eri-trend-panel canvas,
.eri-page-active .eri-trend-panel svg,
.eri-page-active .eri-trend-panel img {
    max-width: 100% !important;
}

.eri-trend-summary {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--eri-border);
    border-radius: 16px;
    background: #f8fafc;
}

.eri-summary-stat {
    padding: 10px;
    border-radius: 12px;
    background: #fff;
}

.eri-summary-stat span {
    display: block;
    color: var(--eri-muted);
    font-size: 14px;
    font-weight: 700;
}

.eri-summary-stat strong {
    display: block;
    margin-top: 3px;
    color: var(--eri-ink);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.eri-summary-stat--change strong {
    color: var(--eri-red);
}

.eri-page-active--rtl .eri-summary-copy p,
.eri-page-active--rtl .eri-priority-card__support,
.eri-page-active--rtl .eri-insight-item p,
.eri-page-active--rtl .eri-mix-line,
.eri-page-active--rtl .eri-moh-strip {
    font-size: 17px;
}

.eri-page-active--rtl .eri-priority-card::before {
    inset: 0 0 0 auto;
}

.eri-page-active--rtl .eri-trend-tab,
.eri-page-active--rtl .eri-context-chips strong,
.eri-page-active--rtl .eri-summary-stat strong {
    font-size: 17px;
}

@media (max-width: 1100px) {
    .eri-page-active .eri-controls-card form,
    .eri-page-active .eri-controls-card .row,
    .eri-page-active .eri-controls-card [class*='grid'] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .eri-page-active .eri-controls-card form > *,
    .eri-page-active .eri-controls-card .row > *,
    .eri-page-active .eri-controls-card [class*='grid'] > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .eri-summary-header {
        flex-direction: column;
    }

    .eri-context-chips {
        width: 100%;
        min-width: 0;
    }

    .eri-priority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eri-decision-grid {
        grid-template-columns: 1fr;
    }

    .eri-trend-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .eri-trend-tabs {
        width: 100%;
    }

    .eri-trend-layout {
        grid-template-columns: 1fr;
    }

    .eri-trend-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .eri-page-active .eri-controls-card form,
    .eri-page-active .eri-controls-card .row,
    .eri-page-active .eri-controls-card [class*='grid'] {
        grid-template-columns: 1fr !important;
    }

    .eri-page-active .eri-controls-card input,
    .eri-page-active .eri-controls-card select,
    .eri-page-active .eri-controls-card button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .eri-executive-summary,
    .eri-trend-workspace {
        padding: 16px;
        border-radius: 20px;
    }

    .eri-summary-copy h2,
    .eri-trend-header h2 {
        font-size: 24px;
    }

    .eri-summary-copy p {
        font-size: 16px;
    }

    .eri-context-chips {
        grid-template-columns: 1fr;
    }

    .eri-priority-grid {
        grid-template-columns: 1fr;
    }

    .eri-priority-card {
        min-height: 0;
    }

    .eri-priority-card__value {
        font-size: 36px;
    }

    .eri-revenue-mix-card,
    .eri-insight-card {
        padding: 16px;
        border-radius: 20px;
    }

    .eri-revenue-mix-layout {
        grid-template-columns: 1fr;
    }

    .eri-donut {
        width: 160px;
        height: 160px;
    }

    .eri-mix-line {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .eri-mix-line em {
        grid-column: 2;
    }

    .eri-trend-summary {
        grid-template-columns: 1fr;
    }

    .eri-page-active .eri-controls-card {
        padding: 16px !important;
    }

    .eri-page-active .eri-controls-card button.eri-control-target {
        width: 100%;
        min-width: 0;
    }
}

/* ========================================================================== */
/* EXEC_UI_REVENUE_INTELLIGENCE_H110_P11_R9_V2                               */
/* Direct executive view closure: no duplicated legacy cards or JS overlays.  */
/* ========================================================================== */

body.page-revenue.eri-v2-active {
    --eri-v2-ink: #111827;
    --eri-v2-muted: #64748b;
    --eri-v2-line: #dbe4f0;
    --eri-v2-soft: #f7f9fd;
    --eri-v2-purple: #6d28d9;
    --eri-v2-blue: #2f6fe4;
    --eri-v2-teal: #0f9f98;
    --eri-v2-green: #15803d;
    --eri-v2-red: #dc3545;
    --eri-v2-amber: #d97706;
    --eri-v2-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    color: var(--eri-v2-ink);
    font-size: 16px;
}

body.page-revenue.eri-v2-active .elite-topbar {
    position: relative;
    top: auto;
}

body.page-revenue.eri-v2-active .eri-v2-page,
body.page-revenue.eri-v2-active .eri-v2-page *,
body.page-revenue.eri-v2-active .eri-v2-page *::before,
body.page-revenue.eri-v2-active .eri-v2-page *::after {
    box-sizing: border-box;
}

body.page-revenue.eri-v2-active .eri-v2-page {
    display: grid;
    gap: 18px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

body.page-revenue.eri-v2-active [hidden] {
    display: none !important;
}

.eri-v2-summary,
.eri-v2-card,
.eri-v2-trend-workspace {
    min-width: 0;
    border: 1px solid var(--eri-v2-line);
    background: #fff;
    box-shadow: var(--eri-v2-shadow);
}

.eri-v2-summary {
    padding: 22px;
    border-radius: 26px;
}

.eri-v2-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.eri-v2-summary-copy {
    min-width: 0;
    max-width: 720px;
}

.eri-v2-summary-copy h2 {
    margin: 10px 0 5px;
    color: var(--eri-v2-ink);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.eri-v2-summary-copy p {
    margin: 0;
    max-width: 700px;
    color: var(--eri-v2-muted);
    font-size: 16px;
    line-height: 1.55;
}

.eri-v2-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(132px, 1fr));
    gap: 10px;
    min-width: min(100%, 520px);
    margin: 0 !important;
}

.eri-v2-context > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    padding: 10px 13px;
    border: 1px solid var(--eri-v2-line) !important;
    border-radius: 16px !important;
    background: var(--eri-v2-soft) !important;
    backdrop-filter: none !important;
}

.eri-v2-context b {
    color: var(--eri-v2-muted) !important;
    font-size: 14px !important;
    font-weight: 750;
}

.eri-v2-context strong {
    margin-top: 3px;
    color: var(--eri-v2-ink) !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.eri-v2-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.eri-v2-priority-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    min-height: 174px;
    padding: 18px;
    border: 1px solid var(--eri-v2-line);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    overflow: hidden;
}

.eri-v2-priority-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--eri-v2-blue);
}

[dir="rtl"] .eri-v2-priority-card::before {
    inset: 0 0 0 auto;
}

.eri-v2-priority-card--profit.is-attention::before,
.eri-v2-priority-card--status.is-attention::before {
    background: var(--eri-v2-red);
}

.eri-v2-priority-card--insurance::before {
    background: var(--eri-v2-teal);
}

.eri-v2-priority-card--status.is-stable::before {
    background: var(--eri-v2-green);
}

.eri-v2-priority-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(47, 111, 228, 0.11);
    color: var(--eri-v2-blue);
    font-size: 18px;
    font-weight: 900;
}

.eri-v2-priority-card--profit.is-attention .eri-v2-priority-icon,
.eri-v2-priority-card--status.is-attention .eri-v2-priority-icon {
    background: rgba(220, 53, 69, 0.11);
    color: var(--eri-v2-red);
}

.eri-v2-priority-card--insurance .eri-v2-priority-icon {
    background: rgba(15, 159, 152, 0.12);
    color: var(--eri-v2-teal);
}

.eri-v2-priority-card > div {
    min-width: 0;
}

.eri-v2-priority-label {
    display: block;
    color: #475569;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 850;
}

.eri-v2-priority-card strong {
    display: block;
    margin-top: 6px;
    color: var(--eri-v2-ink);
    font-size: 40px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.eri-v2-priority-card--profit.is-attention strong,
.eri-v2-priority-card--status.is-attention .eri-v2-status-value {
    color: var(--eri-v2-red);
}

.eri-v2-priority-card .eri-v2-status-value {
    font-size: 28px;
    line-height: 1.12;
}

.eri-v2-priority-card small,
.eri-v2-priority-note {
    display: block;
    margin-top: 7px;
    color: var(--eri-v2-muted);
    font-size: 14px;
    line-height: 1.45;
    font-style: normal;
    font-weight: 650;
}

.eri-v2-change {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 14px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 900;
}

.eri-v2-change--negative {
    background: #fff0f2;
    color: #b91c2b;
}

.eri-v2-change--positive {
    background: #ecfdf3;
    color: #166534;
}

.eri-v2-controls {
    margin: 0 !important;
    padding: 16px 20px !important;
    border-radius: 22px !important;
}

.eri-v2-controls-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.eri-v2-controls-head > strong {
    color: #334155;
    font-size: 15px;
    font-weight: 850;
}

.eri-v2-filter-grid {
    display: grid;
    grid-template-columns: minmax(170px, 1.2fr) minmax(170px, 1.15fr) minmax(140px, .85fr) minmax(140px, .85fr) auto;
    gap: 12px;
    align-items: end;
}

.eri-v2-filter-grid label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.eri-v2-filter-grid input,
.eri-v2-filter-grid select,
.eri-v2-update {
    width: 100%;
    min-height: 48px;
    border-radius: 13px !important;
    font-size: 16px !important;
}

.eri-v2-filter-grid input,
.eri-v2-filter-grid select {
    border: 1px solid var(--eri-v2-line);
    background: #fff;
    color: var(--eri-v2-ink);
    padding: 10px 12px;
}

.eri-v2-update {
    min-width: 175px;
    font-weight: 900;
}

.eri-v2-decision-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: stretch;
    gap: 16px;
}

.eri-v2-card {
    padding: 20px;
    border-radius: 22px;
}

.eri-v2-card-head {
    margin-bottom: 14px;
}

.eri-v2-mix-layout {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    min-height: 214px;
}

.eri-v2-donut {
    --eri-v2-insurance: 0%;
    position: relative;
    width: 168px;
    height: 168px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--eri-v2-blue) 0 var(--eri-v2-insurance), var(--eri-v2-teal) var(--eri-v2-insurance) 100%);
}

.eri-v2-donut::after {
    content: '';
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px #edf2f7;
}

.eri-v2-donut > div {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eri-v2-donut strong {
    color: var(--eri-v2-ink);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.eri-v2-donut span {
    margin-top: 7px;
    color: var(--eri-v2-muted);
    font-size: 14px;
    font-weight: 750;
}

.eri-v2-mix-metrics {
    min-width: 0;
}

.eri-v2-mix-row {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 16px;
}

.eri-v2-mix-row > span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 800;
}

.eri-v2-mix-row > span i {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
}

.eri-v2-mix-row > span i.insurance {
    background: var(--eri-v2-blue);
}

.eri-v2-mix-row > span i.cash {
    background: var(--eri-v2-teal);
}

.eri-v2-mix-row strong,
.eri-v2-mix-row em {
    white-space: nowrap;
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
}

.eri-v2-mix-row em {
    color: var(--eri-v2-teal);
}

.eri-v2-progress {
    width: 100%;
    height: 11px;
    margin: 7px 0 12px;
    border-radius: 999px;
    background: #e9eff7;
    overflow: hidden;
}

.eri-v2-progress > i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.eri-v2-progress > i.insurance {
    background: linear-gradient(90deg, var(--eri-v2-purple), var(--eri-v2-blue));
}

.eri-v2-progress > i.cash {
    background: linear-gradient(90deg, var(--eri-v2-teal), #22c55e);
}

.eri-v2-moh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-size: 16px;
}

.eri-v2-moh-row strong {
    color: var(--eri-v2-ink);
    font-size: 18px;
}

.eri-v2-insights {
    display: grid;
    gap: 9px;
}

.eri-v2-insight {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #dbe7f8;
    border-radius: 14px;
    background: #f8fbff;
}

.eri-v2-insight > span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(47, 111, 228, 0.12);
}

.eri-v2-insight--attention {
    border-color: #ffd6da;
    background: #fff8f8;
}

.eri-v2-insight--attention > span {
    background: rgba(220, 53, 69, 0.12);
}

.eri-v2-insight--review {
    border-color: #fde4bf;
    background: #fffaf2;
}

.eri-v2-insight--review > span {
    background: rgba(217, 119, 6, 0.13);
}

.eri-v2-insight--positive {
    border-color: #ccebd9;
    background: #f5fbf7;
}

.eri-v2-insight strong {
    display: block;
    color: var(--eri-v2-ink);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
}

.eri-v2-insight p {
    margin: 3px 0 0;
    color: #41516a;
    font-size: 16px;
    line-height: 1.48;
    font-weight: 600;
}

.eri-v2-trend-workspace {
    padding: 20px;
    border-radius: 24px;
    overflow: hidden;
}

.eri-v2-trend-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.eri-v2-trend-head h2 {
    margin: 9px 0 0;
    color: var(--eri-v2-ink);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.eri-v2-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: thin;
}

.eri-v2-tab {
    flex: 0 0 auto;
}

.eri-v2-trend-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
    gap: 16px;
}

.eri-v2-panel-host,
.eri-v2-trend-panel {
    min-width: 0;
}

.eri-v2-trend-panel {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.eri-v2-trend-panel.eri-v2-measuring {
    position: absolute !important;
    left: -100000px !important;
    top: 0 !important;
    width: min(1000px, 80vw) !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.eri-v2-panel-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.eri-v2-panel-title h3 {
    margin: 8px 0 3px;
    color: var(--eri-v2-ink);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.eri-v2-panel-title p {
    margin: 0;
    color: var(--eri-v2-muted);
    font-size: 16px;
    line-height: 1.45;
}

.eri-v2-legend {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eri-v2-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--eri-v2-line);
    border-radius: 999px;
    color: #334155;
    font-size: 14px;
    font-weight: 850;
}

.eri-v2-legend span::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--eri-v2-blue);
}

.eri-v2-legend span.comparison::before {
    background: #0ea5e9;
}

body.page-revenue.eri-v2-active .eri-v2-chart-stage {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
}

body.page-revenue.eri-v2-active .eri-v2-chart-canvas {
    display: block;
    width: 100% !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
}

.eri-v2-monthly-details {
    margin-top: 8px;
}

.eri-v2-monthly-details summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #4c147c;
    font-size: 15px;
    font-weight: 900;
}

.eri-v2-trend-summary {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--eri-v2-line);
    border-radius: 16px;
    background: #f8fafc;
}

.eri-v2-trend-summary > div {
    padding: 10px;
    border-radius: 12px;
    background: #fff;
}

.eri-v2-trend-summary span {
    display: block;
    color: var(--eri-v2-muted);
    font-size: 14px;
    font-weight: 750;
}

.eri-v2-trend-summary strong {
    display: block;
    margin-top: 3px;
    color: var(--eri-v2-ink);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.eri-v2-summary-change--negative strong {
    color: var(--eri-v2-red);
}

.eri-v2-summary-change--positive strong {
    color: var(--eri-v2-green);
}

html[lang="ar"] body.page-revenue.eri-v2-active,
html[lang="ar"] .eri-v2-summary-copy p,
html[lang="ar"] .eri-v2-insight p,
html[lang="ar"] .eri-v2-panel-title p,
html[lang="ar"] .eri-v2-mix-row,
html[lang="ar"] .eri-v2-moh-row {
    font-size: 17px;
}

@media (max-width: 1180px) {
    .eri-v2-summary-head {
        flex-direction: column;
    }

    .eri-v2-context {
        width: 100%;
        min-width: 0;
    }

    .eri-v2-priority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eri-v2-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eri-v2-update {
        width: 100%;
        min-width: 0;
    }

    .eri-v2-decision-grid,
    .eri-v2-trend-layout {
        grid-template-columns: 1fr;
    }

    .eri-v2-trend-summary {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .eri-v2-trend-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .eri-v2-tabs {
        width: 100%;
    }

    .eri-v2-trend-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-revenue.eri-v2-active .eri-v2-chart-stage,
    body.page-revenue.eri-v2-active .eri-v2-chart-canvas {
        height: 390px !important;
        min-height: 390px !important;
        max-height: 390px !important;
    }
}

@media (max-width: 680px) {
    .eri-v2-summary,
    .eri-v2-card,
    .eri-v2-trend-workspace,
    .eri-v2-controls {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .eri-v2-summary-copy h2,
    .eri-v2-trend-head h2 {
        font-size: 24px;
    }

    .eri-v2-context,
    .eri-v2-priority-grid,
    .eri-v2-filter-grid,
    .eri-v2-trend-summary {
        grid-template-columns: 1fr;
    }

    .eri-v2-priority-card {
        min-height: 0;
    }

    .eri-v2-priority-card strong {
        font-size: 36px;
    }

    .eri-v2-mix-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .eri-v2-donut {
        width: 156px;
        height: 156px;
    }

    .eri-v2-mix-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .eri-v2-mix-row em {
        grid-column: 2;
    }

    .eri-v2-panel-title {
        flex-direction: column;
    }

    body.page-revenue.eri-v2-active .eri-v2-chart-stage,
    body.page-revenue.eri-v2-active .eri-v2-chart-canvas {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }
}

/* ========================================================================== */
/* H11.0-P11.1-R18 — Revenue General Manager Executive View                  */
/* Leadership-first presentation. No technical or developer-facing UI copy.   */
/* ========================================================================== */

body.page-revenue.eri-v2-active .eri-v3-page {
    --eri-v3-navy: #071d3d;
    --eri-v3-navy-2: #0b3155;
    --eri-v3-teal: #0f8f88;
    --eri-v3-teal-soft: #e8f8f5;
    --eri-v3-purple: #6d28d9;
    --eri-v3-blue: #2563eb;
    --eri-v3-amber: #d97706;
    --eri-v3-rose: #d92d55;
    --eri-v3-green: #16835d;
    gap: 20px;
}

body.page-revenue.eri-v2-active .eri-v3-hero {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 88% 18%, rgba(20, 184, 166, 0.32), transparent 32%),
        radial-gradient(circle at 12% 110%, rgba(37, 99, 235, 0.22), transparent 36%),
        linear-gradient(120deg, var(--eri-v3-navy) 0%, var(--eri-v3-navy-2) 56%, #087b73 100%);
    box-shadow: 0 22px 50px rgba(2, 18, 40, 0.18);
}

body.page-revenue.eri-v2-active .eri-v3-hero::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -210px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025), 0 0 0 95px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

[dir="rtl"] body.page-revenue.eri-v2-active .eri-v3-hero::after {
    right: auto;
    left: -150px;
}

body.page-revenue.eri-v2-active .eri-v3-hero-head,
body.page-revenue.eri-v2-active .eri-v3-priority-grid {
    position: relative;
    z-index: 1;
}

body.page-revenue.eri-v2-active .eri-v3-hero-copy .eri-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.14);
    color: #7ef3df;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .05em;
}

body.page-revenue.eri-v2-active .eri-v3-hero-copy h2 {
    margin-top: 12px;
    color: #fff;
    font-size: clamp(32px, 3.2vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

body.page-revenue.eri-v2-active .eri-v3-hero-copy p {
    max-width: 760px;
    color: rgba(241, 248, 255, 0.86);
    font-size: 17px;
    line-height: 1.55;
}

body.page-revenue.eri-v2-active .eri-v3-context > span {
    min-height: 70px;
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.10) !important;
    backdrop-filter: blur(8px) !important;
}

body.page-revenue.eri-v2-active .eri-v3-context b {
    color: rgba(224, 239, 255, 0.72) !important;
}

body.page-revenue.eri-v2-active .eri-v3-context strong {
    color: #fff !important;
}

body.page-revenue.eri-v2-active .eri-v3-priority-grid {
    margin-top: 20px;
}

body.page-revenue.eri-v2-active .eri-v3-priority-card {
    min-height: 168px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(3, 21, 47, 0.15);
}

body.page-revenue.eri-v2-active .eri-v3-priority-card > div {
    min-width: 0;
}

body.page-revenue.eri-v2-active .eri-v3-priority-card strong {
    max-width: 100%;
    font-size: clamp(27px, 2.15vw, 38px);
    line-height: 1.08;
    white-space: nowrap;
    overflow-wrap: normal;
    letter-spacing: -0.035em;
}

body.page-revenue.eri-v2-active .eri-v3-priority-card--cash::before {
    background: var(--eri-v3-amber);
}

body.page-revenue.eri-v2-active .eri-v3-priority-card--cash .eri-v2-priority-icon {
    background: rgba(217, 119, 6, 0.12);
    color: var(--eri-v3-amber);
}

body.page-revenue.eri-v2-active .eri-v3-controls {
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--eri-v2-line);
    background: #fff;
}

body.page-revenue.eri-v2-active .eri-v3-controls-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
    padding: 14px 20px;
    cursor: pointer;
    list-style: none;
}

body.page-revenue.eri-v2-active .eri-v3-controls-summary::-webkit-details-marker {
    display: none;
}

body.page-revenue.eri-v2-active .eri-v3-controls-summary span {
    display: grid;
    gap: 2px;
}

body.page-revenue.eri-v2-active .eri-v3-controls-summary small {
    color: var(--eri-v2-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
}

body.page-revenue.eri-v2-active .eri-v3-controls-summary strong {
    color: var(--eri-v2-ink);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}

body.page-revenue.eri-v2-active .eri-v3-controls-summary em {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f0f6ff;
    color: #245cc5;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

body.page-revenue.eri-v2-active .eri-v3-controls[open] .eri-v3-controls-summary {
    border-bottom: 1px solid var(--eri-v2-line);
}

body.page-revenue.eri-v2-active .eri-v3-controls-body {
    padding: 18px 20px 20px;
}

body.page-revenue.eri-v2-active .eri-v3-filter-grid {
    grid-template-columns: minmax(170px, 1.1fr) minmax(150px, .9fr) minmax(140px, .8fr) minmax(140px, .8fr) auto;
}

body.page-revenue.eri-v2-active .eri-v3-card {
    padding: 22px;
    border-radius: 24px;
}

body.page-revenue.eri-v2-active .eri-v3-card-head {
    margin-bottom: 18px;
}

body.page-revenue.eri-v2-active .eri-v3-card-head h2,
body.page-revenue.eri-v2-active .eri-v3-attention-head h2,
body.page-revenue.eri-v2-active .eri-v3-actions-head h2 {
    margin: 8px 0 0;
    color: var(--eri-v2-ink);
    font-size: clamp(23px, 2vw, 30px);
    line-height: 1.16;
    font-weight: 950;
    letter-spacing: -0.025em;
}

body.page-revenue.eri-v2-active .eri-v3-card-head p,
body.page-revenue.eri-v2-active .eri-v3-trend-head p {
    max-width: 760px;
    margin: 7px 0 0;
    color: var(--eri-v2-muted);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

body.page-revenue.eri-v2-active .eri-v3-mix-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 230px;
}

body.page-revenue.eri-v2-active .eri-v3-donut {
    width: 176px;
    height: 176px;
}

body.page-revenue.eri-v2-active .eri-v3-donut strong {
    max-width: 118px;
    font-size: 22px;
    line-height: 1.08;
    white-space: normal;
}

body.page-revenue.eri-v2-active .eri-v3-donut span {
    max-width: 108px;
    font-size: 13px;
    line-height: 1.25;
}

body.page-revenue.eri-v2-active .eri-v3-source-list {
    display: grid;
    gap: 10px;
}

body.page-revenue.eri-v2-active .eri-v3-source-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 12px 14px 12px 17px;
    border: 1px solid #e1e9f4;
    border-radius: 16px;
    background: #fbfdff;
    overflow: hidden;
}

body.page-revenue.eri-v2-active .eri-v3-source-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--eri-v3-blue);
}

[dir="rtl"] body.page-revenue.eri-v2-active .eri-v3-source-item {
    padding: 12px 17px 12px 14px;
}

[dir="rtl"] body.page-revenue.eri-v2-active .eri-v3-source-item::before {
    inset: 0 0 0 auto;
}

body.page-revenue.eri-v2-active .eri-v3-source-item.source-cash::before {
    background: var(--eri-v3-teal);
}

body.page-revenue.eri-v2-active .eri-v3-source-item.source-moh::before {
    background: var(--eri-v3-amber);
}

body.page-revenue.eri-v2-active .eri-v3-source-item span {
    color: #324158;
    font-size: 15px;
    font-weight: 850;
}

body.page-revenue.eri-v2-active .eri-v3-source-item strong {
    color: var(--eri-v2-ink);
    font-size: 17px;
    white-space: nowrap;
    font-weight: 950;
}

body.page-revenue.eri-v2-active .eri-v3-source-item em {
    min-width: 48px;
    color: var(--eri-v3-teal);
    font-size: 15px;
    font-style: normal;
    font-weight: 950;
    text-align: end;
}

body.page-revenue.eri-v2-active .eri-v3-driver-grid {
    display: grid;
    gap: 12px;
}

body.page-revenue.eri-v2-active .eri-v3-driver {
    display: grid;
    grid-template-columns: minmax(160px, .85fr) minmax(150px, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding: 14px 16px;
    border: 1px solid #e1e9f4;
    border-radius: 17px;
    background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

body.page-revenue.eri-v2-active .eri-v3-driver small {
    color: var(--eri-v2-muted);
    font-size: 14px;
    font-weight: 850;
}

body.page-revenue.eri-v2-active .eri-v3-driver strong {
    color: var(--eri-v2-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
}

body.page-revenue.eri-v2-active .eri-v3-driver strong.direction-positive {
    color: var(--eri-v3-green);
}

body.page-revenue.eri-v2-active .eri-v3-driver strong.direction-negative {
    color: #b4233e;
}

body.page-revenue.eri-v2-active .eri-v3-driver span {
    color: #41516a;
    font-size: 15px;
    font-weight: 800;
    text-align: end;
}

body.page-revenue.eri-v2-active .eri-v3-attention {
    position: relative;
    overflow: hidden;
}

body.page-revenue.eri-v2-active .eri-v3-attention::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--eri-v3-purple), var(--eri-v3-teal), var(--eri-v3-blue));
}

body.page-revenue.eri-v2-active .eri-v3-attention.has-attention::before {
    background: linear-gradient(90deg, var(--eri-v3-rose), var(--eri-v3-amber));
}

body.page-revenue.eri-v2-active .eri-v3-attention-head,
body.page-revenue.eri-v2-active .eri-v3-actions-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

body.page-revenue.eri-v2-active .eri-v3-attention-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf8f3;
    color: var(--eri-v3-green);
    font-size: 14px;
    white-space: nowrap;
    font-weight: 950;
}

body.page-revenue.eri-v2-active .eri-v3-attention.has-attention .eri-v3-attention-state {
    background: #fff2e7;
    color: #a84c00;
}

body.page-revenue.eri-v2-active .eri-v3-attention-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.page-revenue.eri-v2-active .eri-v3-attention-grid .eri-v3-attention-item:only-child {
    grid-column: 1 / -1;
    max-width: 760px;
}

body.page-revenue.eri-v2-active .eri-v3-attention-item {
    min-height: 104px;
    padding: 14px;
}

body.page-revenue.eri-v2-active .eri-v3-trend-head {
    align-items: flex-start;
}

body.page-revenue.eri-v2-active .eri-v3-trend-head > div:first-child {
    max-width: 680px;
}

body.page-revenue.eri-v2-active .eri-v3-actions {
    position: relative;
    overflow: hidden;
}

body.page-revenue.eri-v2-active .eri-v3-actions::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--eri-v3-purple), var(--eri-v3-teal), var(--eri-v3-blue));
}

body.page-revenue.eri-v2-active .eri-v3-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.page-revenue.eri-v2-active .eri-v3-action {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 132px;
    padding: 17px;
    border: 1px solid #e0e8f3;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
    color: inherit;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

body.page-revenue.eri-v2-active .eri-v3-action:hover,
body.page-revenue.eri-v2-active .eri-v3-action:focus-visible {
    transform: translateY(-2px);
    border-color: #b9c8df;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

body.page-revenue.eri-v2-active .eri-v3-action > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--eri-v3-teal-soft);
    color: var(--eri-v3-teal);
    font-size: 20px;
    font-weight: 950;
}

body.page-revenue.eri-v2-active .eri-v3-action.tone-purple > span {
    background: #f1eaff;
    color: var(--eri-v3-purple);
}

body.page-revenue.eri-v2-active .eri-v3-action.tone-blue > span {
    background: #eaf2ff;
    color: var(--eri-v3-blue);
}

body.page-revenue.eri-v2-active .eri-v3-action strong {
    display: block;
    color: var(--eri-v2-ink);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 950;
}

body.page-revenue.eri-v2-active .eri-v3-action p {
    margin: 5px 0 0;
    color: var(--eri-v2-muted);
    font-size: 15px;
    line-height: 1.48;
    font-weight: 600;
}

body.page-revenue.eri-v2-active .eri-v3-action > em {
    color: #6b7b92;
    font-size: 20px;
    font-style: normal;
    font-weight: 950;
}

html[lang="ar"] body.page-revenue.eri-v2-active .eri-v3-hero-copy p,
html[lang="ar"] body.page-revenue.eri-v2-active .eri-v3-card-head p,
html[lang="ar"] body.page-revenue.eri-v2-active .eri-v3-trend-head p,
html[lang="ar"] body.page-revenue.eri-v2-active .eri-v3-action p {
    font-size: 17px;
}

@media (max-width: 1180px) {
    body.page-revenue.eri-v2-active .eri-v3-source-item {
        grid-template-columns: minmax(130px, 1fr) auto;
    }

    body.page-revenue.eri-v2-active .eri-v3-source-item em {
        grid-column: 2;
    }

    body.page-revenue.eri-v2-active .eri-v3-driver {
        grid-template-columns: minmax(130px, .8fr) minmax(140px, 1fr);
    }

    body.page-revenue.eri-v2-active .eri-v3-driver span {
        grid-column: 2;
        text-align: start;
    }
}

@media (max-width: 900px) {
    body.page-revenue.eri-v2-active .eri-v3-attention-grid,
    body.page-revenue.eri-v2-active .eri-v3-action-grid {
        grid-template-columns: 1fr;
    }

    body.page-revenue.eri-v2-active .eri-v3-attention-grid .eri-v3-attention-item:only-child {
        max-width: none;
    }
}

@media (max-width: 680px) {
    body.page-revenue.eri-v2-active .eri-v3-hero {
        padding: 18px !important;
        border-radius: 22px !important;
    }

    body.page-revenue.eri-v2-active .eri-v3-hero-copy h2 {
        font-size: 31px;
    }

    body.page-revenue.eri-v2-active .eri-v3-priority-card strong {
        font-size: 32px;
        white-space: normal;
    }

    body.page-revenue.eri-v2-active .eri-v3-controls-summary,
    body.page-revenue.eri-v2-active .eri-v3-attention-head,
    body.page-revenue.eri-v2-active .eri-v3-actions-head {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-revenue.eri-v2-active .eri-v3-controls-summary em,
    body.page-revenue.eri-v2-active .eri-v3-attention-state {
        align-self: flex-start;
    }

    body.page-revenue.eri-v2-active .eri-v3-mix-layout {
        grid-template-columns: 1fr;
    }

    body.page-revenue.eri-v2-active .eri-v3-source-item,
    body.page-revenue.eri-v2-active .eri-v3-driver {
        grid-template-columns: 1fr;
    }

    body.page-revenue.eri-v2-active .eri-v3-source-item em,
    body.page-revenue.eri-v2-active .eri-v3-driver span {
        grid-column: auto;
        text-align: start;
    }

    body.page-revenue.eri-v2-active .eri-v3-action {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    body.page-revenue.eri-v2-active .eri-v3-action > em {
        display: none;
    }
}






/* H11.0-P11.1-R21 — Revenue chart executive visual closure */
body.page-revenue.eri-v2-active .eri-v2-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: min(820px, 100%);
    overflow: visible;
    padding: 0;
    scrollbar-width: none;
}
body.page-revenue.eri-v2-active .eri-v2-tabs::-webkit-scrollbar { display: none; }
body.page-revenue.eri-v2-active .eri-v2-tab {
    min-width: 0;
    width: 100%;
    min-height: 54px;
    padding: 9px 11px;
    white-space: normal;
    line-height: 1.12;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
}
body.page-revenue.eri-v2-active .eri-v3-trend-head {
    display: grid;
    grid-template-columns: minmax(280px, .74fr) minmax(640px, 1.26fr);
    align-items: start;
    gap: 24px;
}
body.page-revenue.eri-v2-active .eri-v2-chart-stage {
    height: 442px !important;
    min-height: 442px !important;
    max-height: 442px !important;
    padding: 8px 8px 2px;
    border: 1px solid #dbe5f1;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 8px 20px rgba(15, 23, 42, 0.035);
}
body.page-revenue.eri-v2-active .eri-v2-chart-canvas {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
}
body.page-revenue.eri-v2-active .eri-v2-panel-title { margin-bottom: 12px; }
body.page-revenue.eri-v2-active .eri-v2-legend span.current::before { background: #4f46e5; }
body.page-revenue.eri-v2-active .eri-v2-legend span.comparison::before { background: #06b6d4; }
body.page-revenue.eri-v2-active .eri-v3-action > em::before {
    content: 'Open';
    font-style: normal;
    margin-inline-end: 7px;
    font-size: 13px;
    font-weight: 900;
    color: #5b21b6;
}
html[lang="ar"] body.page-revenue.eri-v2-active .eri-v3-action > em::before { content: 'فتح'; }
@media (max-width: 1280px) {
    body.page-revenue.eri-v2-active .eri-v3-trend-head { grid-template-columns: 1fr; }
    body.page-revenue.eri-v2-active .eri-v2-tabs { width: 100%; }
}
@media (max-width: 900px) {
    body.page-revenue.eri-v2-active .eri-v2-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.page-revenue.eri-v2-active .eri-v2-chart-stage {
        height: 420px !important; min-height: 420px !important; max-height: 420px !important;
    }
    body.page-revenue.eri-v2-active .eri-v2-chart-canvas {
        height: 408px !important; min-height: 408px !important; max-height: 408px !important;
    }
}
@media (max-width: 520px) {
    body.page-revenue.eri-v2-active .eri-v2-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.page-revenue.eri-v2-active .eri-v2-chart-stage {
        height: 386px !important; min-height: 386px !important; max-height: 386px !important;
    }
    body.page-revenue.eri-v2-active .eri-v2-chart-canvas {
        height: 374px !important; min-height: 374px !important; max-height: 374px !important;
    }
}

/* H11.0-P11.1-R45-P1 — Flexible Year Selection & Fair Current-Year Comparison */
body.page-revenue.eri-v2-active .eri-r45p1-controls {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid #d9e3ef;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 36px rgba(21, 43, 72, .06);
}
body.page-revenue.eri-v2-active .eri-r45p1-controls-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
}
body.page-revenue.eri-v2-active .eri-r45p1-controls-head h2 {
    margin: 7px 0 0;
    color: #17233a;
    font-size: clamp(23px, 2vw, 31px);
    line-height: 1.15;
}
body.page-revenue.eri-v2-active .eri-r45p1-controls-head p {
    max-width: 760px;
    margin: 8px 0 0;
    color: #66758f;
    font-size: 16px;
    line-height: 1.55;
}
body.page-revenue.eri-v2-active .eri-r45p1-active-comparison {
    min-width: 270px;
    padding: 13px 16px;
    border: 1px solid #e0d8fb;
    border-radius: 16px;
    background: #faf8ff;
}
body.page-revenue.eri-v2-active .eri-r45p1-active-comparison small {
    display: block;
    color: #725e9a;
    font-size: 14px;
    font-weight: 850;
}
body.page-revenue.eri-v2-active .eri-r45p1-active-comparison strong {
    display: block;
    margin-top: 5px;
    color: #2f1f55;
    font-size: 17px;
    line-height: 1.4;
}
body.page-revenue.eri-v2-active .eri-r45p1-active-comparison strong span {
    margin: 0 5px;
    color: #7c3aed;
    font-size: 14px;
    text-transform: uppercase;
}
body.page-revenue.eri-v2-active .eri-r45p1-fair-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px 17px;
    border: 1px solid #bfe8df;
    border-radius: 17px;
    background: #f1fbf8;
}
body.page-revenue.eri-v2-active .eri-r45p1-fair-notice > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #d9f5ed;
    color: #087d6e;
    font-weight: 950;
}
body.page-revenue.eri-v2-active .eri-r45p1-fair-notice strong {
    display: block;
    color: #075f55;
    font-size: 16px;
}
body.page-revenue.eri-v2-active .eri-r45p1-fair-notice p {
    margin: 4px 0 0;
    color: #356e67;
    font-size: 15px;
    line-height: 1.55;
}
body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid #dce5f0;
    border-radius: 15px;
    background: #f8fbff;
    color: #5f6f87;
    font-size: 15px;
}
body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice strong { color: #25344d; }
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid {
    grid-template-columns: repeat(5, minmax(145px, 1fr));
    align-items: end;
}
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid label span {
    font-size: 14px;
    font-weight: 850;
}
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid select,
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid input {
    min-height: 46px;
    font-size: 16px;
}
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid .eri-v2-update {
    min-height: 46px;
}
@media (max-width: 1180px) {
    body.page-revenue.eri-v2-active .eri-r45p1-controls-head { align-items: stretch; flex-direction: column; }
    body.page-revenue.eri-v2-active .eri-r45p1-active-comparison { min-width: 0; }
    body.page-revenue.eri-v2-active .eri-r45p1-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    body.page-revenue.eri-v2-active .eri-r45p1-controls { padding: 17px 15px; border-radius: 18px; }
    body.page-revenue.eri-v2-active .eri-r45p1-filter-grid { grid-template-columns: 1fr; }
    body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice { align-items: flex-start; flex-direction: column; }
}


/* H11.0-P11.1-R45-P4.1 — Comparison Card Revert + Spacing Polish
   Scope: preserve R45-P3.1 layout; improve only border, inner padding and gaps. */
body.page-revenue.eri-v2-active .eri-r45p1-controls {
    margin-block: 18px 20px;
    padding: 22px 24px 20px;
    border: 1px solid #d8e2ef;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(21, 43, 72, .055);
    overflow: hidden;
}

body.page-revenue.eri-v2-active .eri-r45p1-controls-head {
    gap: 24px;
    margin-bottom: 16px;
}

body.page-revenue.eri-v2-active .eri-r45p1-controls-head > div:first-child {
    min-width: 0;
    padding-inline: 2px;
}

body.page-revenue.eri-v2-active .eri-r45p1-controls-head h2 {
    margin-top: 7px;
    margin-bottom: 7px;
}

body.page-revenue.eri-v2-active .eri-r45p1-controls-head p {
    margin: 0;
    line-height: 1.55;
}

body.page-revenue.eri-v2-active .eri-r45p1-active-comparison {
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #ded8f4;
    border-radius: 15px;
    background: #fbfaff;
}

body.page-revenue.eri-v2-active .eri-r45p1-fair-notice,
body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice {
    margin: 0 0 17px;
    padding: 13px 15px;
    border-width: 1px;
    border-radius: 14px;
}

body.page-revenue.eri-v2-active .eri-r45p1-fair-notice > div,
body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice {
    min-width: 0;
}

body.page-revenue.eri-v2-active .eri-r45p1-fair-notice p {
    margin-top: 5px;
    line-height: 1.5;
}

body.page-revenue.eri-v2-active .eri-r45p1-filter-grid {
    gap: 14px;
    padding: 1px 0 2px;
    align-items: end;
}

body.page-revenue.eri-v2-active .eri-r45p1-filter-grid label {
    min-width: 0;
}

body.page-revenue.eri-v2-active .eri-r45p1-filter-grid label > span {
    display: block;
    margin-bottom: 7px;
}

body.page-revenue.eri-v2-active .eri-r45p1-filter-grid select,
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid input {
    min-height: 46px;
    border: 1px solid #d4dfec;
    border-radius: 13px;
    background: #fff;
}

body.page-revenue.eri-v2-active .eri-r45p1-filter-grid select:focus,
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid input:focus {
    border-color: #7c5ce0;
    box-shadow: 0 0 0 3px rgba(124, 92, 224, .11);
}

body.page-revenue.eri-v2-active .eri-r45p1-filter-grid .eri-v2-update {
    min-height: 46px;
    margin: 0;
    border-radius: 13px;
    align-self: end;
}

@media (max-width: 1100px) {
    body.page-revenue.eri-v2-active .eri-r45p1-controls {
        padding: 20px;
    }

    body.page-revenue.eri-v2-active .eri-r45p1-controls-head {
        gap: 16px;
    }
}

@media (max-width: 720px) {
    body.page-revenue.eri-v2-active .eri-r45p1-controls {
        margin-block: 14px 16px;
        padding: 17px 14px 16px;
        border-radius: 18px;
    }

    body.page-revenue.eri-v2-active .eri-r45p1-controls-head {
        margin-bottom: 14px;
    }

    body.page-revenue.eri-v2-active .eri-r45p1-active-comparison {
        width: 100%;
        padding: 11px 13px;
    }

    body.page-revenue.eri-v2-active .eri-r45p1-fair-notice,
    body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice {
        margin-bottom: 14px;
        padding: 12px;
    }

    body.page-revenue.eri-v2-active .eri-r45p1-filter-grid {
        gap: 12px;
    }
}


/* H11.0-P11.1-R45-P4.1.1 — Revenue Comparison Card Edge Spacing Hotfix
   CSS-only: preserve layout and add safe internal edge insets. */
body.page-revenue.eri-v2-active .eri-r45p1-controls {
    padding: 26px 32px 25px !important;
}

body.page-revenue.eri-v2-active .eri-r45p1-controls-head,
body.page-revenue.eri-v2-active .eri-r45p1-fair-notice,
body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice,
body.page-revenue.eri-v2-active .eri-r45p1-filter-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.page-revenue.eri-v2-active .eri-r45p1-controls-head {
    padding-inline: 2px;
}

body.page-revenue.eri-v2-active .eri-r45p1-active-comparison {
    margin-inline-end: 2px;
}

body.page-revenue.eri-v2-active .eri-r45p1-fair-notice,
body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice {
    margin-inline: 2px;
    width: calc(100% - 4px);
}

body.page-revenue.eri-v2-active .eri-r45p1-filter-grid {
    padding-inline: 2px;
    padding-bottom: 3px;
}

@media (max-width: 1100px) {
    body.page-revenue.eri-v2-active .eri-r45p1-controls {
        padding: 23px 25px 22px !important;
    }
}

@media (max-width: 720px) {
    body.page-revenue.eri-v2-active .eri-r45p1-controls {
        padding: 19px 17px 18px !important;
    }

    body.page-revenue.eri-v2-active .eri-r45p1-controls-head,
    body.page-revenue.eri-v2-active .eri-r45p1-filter-grid {
        padding-inline: 0;
    }

    body.page-revenue.eri-v2-active .eri-r45p1-fair-notice,
    body.page-revenue.eri-v2-active .eri-r45p1-full-year-notice {
        margin-inline: 0;
        width: 100%;
    }
}


/* H11.0-P11.1-R45-P5.1.1 — Visits fair current-year comparison notice */
body.page-visits .visits31-fair-comparison {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    padding: 13px 15px;
    border: 1px solid #bfe6d2;
    border-radius: 14px;
    background: #f2fbf6;
    color: #174b34;
}

body.page-visits .visits31-fair-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d9f3e5;
    font-weight: 800;
}

body.page-visits .visits31-fair-comparison strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

body.page-visits .visits31-fair-comparison p {
    margin: 0;
    line-height: 1.55;
    color: #315f49;
}

@media (max-width: 720px) {
    body.page-visits .visits31-fair-comparison {
        padding: 12px;
    }
}


/* H11.0-P11.1-R45-P6.0.1 — Specialty Finance current-year visibility and coverage guard */
body.page-specialty-finance .sf31-coverage-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #f0d89d;
    border-radius: 16px;
    background: #fffaf0;
    color: #5f4510;
}

body.page-specialty-finance .sf31-coverage-alert__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f7df9e;
    font-weight: 900;
}

body.page-specialty-finance .sf31-coverage-alert strong {
    display: block;
    margin-bottom: 4px;
}

body.page-specialty-finance .sf31-coverage-alert p {
    margin: 0;
    line-height: 1.55;
}

body.page-specialty-finance .sf31-data-unavailable {
    opacity: .82;
}

body.page-specialty-finance .sf28-period-label small {
    display: block;
    margin-top: 4px;
    color: #8a6516;
    font-weight: 700;
}


/* H11.0-P11.1-R45-P6.1 — Specialty Finance fair current-year comparison */
body.page-specialty-finance .sf61-fair-comparison {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
    padding: 13px 15px;
    border: 1px solid #bfe6d2;
    border-radius: 14px;
    background: #f2fbf6;
    color: #174b34;
}

body.page-specialty-finance .sf61-fair-comparison__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d9f3e5;
    font-weight: 800;
}

body.page-specialty-finance .sf61-fair-comparison strong {
    display: block;
    margin-bottom: 4px;
}

body.page-specialty-finance .sf61-fair-comparison p {
    margin: 0;
    line-height: 1.55;
    color: #315f49;
}


/* H11.0-P11.1-R45-P7.1 — Doctors fair current-year comparison */
body.page-doctors .doctors71-fair-comparison {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
    padding: 13px 15px;
    border: 1px solid #bfe6d2;
    border-radius: 14px;
    background: #f2fbf6;
    color: #174b34;
}

body.page-doctors .doctors71-fair-comparison__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d9f3e5;
    font-weight: 800;
}

body.page-doctors .doctors71-fair-comparison strong {
    display: block;
    margin-bottom: 4px;
}

body.page-doctors .doctors71-fair-comparison p {
    margin: 0;
    line-height: 1.55;
    color: #315f49;
}


/* H11.0-P11.1-R45-P7.1.1 — Doctors Comparison Control Card Layout Hotfix */
body.page-doctors .doctors711-controls-card {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 2.1fr);
    gap: 18px 24px;
    align-items: end;
    padding: 22px 24px 20px;
}

body.page-doctors .doctors711-controls-context {
    align-self: center;
    min-width: 0;
    padding-inline-end: 8px;
}

body.page-doctors .doctors711-controls-context strong {
    display: block;
    margin-top: 7px;
    margin-bottom: 6px;
}

body.page-doctors .doctors711-controls-context small {
    display: block;
    line-height: 1.5;
}

body.page-doctors .doctors711-filter {
    display: grid;
    grid-template-columns: minmax(145px, .75fr) minmax(145px, .75fr) minmax(220px, 1.25fr) minmax(165px, .8fr);
    gap: 12px;
    align-items: end;
    min-width: 0;
}

body.page-doctors .doctors711-filter > label {
    min-width: 0;
}

body.page-doctors .doctors711-filter > label > span {
    display: block;
    margin-bottom: 7px;
}

body.page-doctors .doctors711-filter select {
    width: 100%;
    min-height: 48px;
}

body.page-doctors .doctors711-filter .doctors133-primary {
    width: 100%;
    min-height: 48px;
    margin: 0;
}

body.page-doctors .doctors711-fair-comparison {
    grid-column: 1 / -1;
    width: 100%;
    margin: 2px 0 0;
    padding: 12px 14px;
    align-items: center;
}

body.page-doctors .doctors711-fair-comparison p {
    max-width: none;
}

@media (max-width: 1180px) {
    body.page-doctors .doctors711-controls-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.page-doctors .doctors711-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-doctors .doctors711-filter .doctors133-primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    body.page-doctors .doctors711-controls-card {
        padding: 17px 14px 16px;
        gap: 14px;
    }

    body.page-doctors .doctors711-filter {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    body.page-doctors .doctors711-filter .doctors133-primary {
        grid-column: auto;
    }

    body.page-doctors .doctors711-fair-comparison {
        align-items: flex-start;
        padding: 12px;
    }
}


/* H11.0-P11.1-R45-P7.1.2 — Doctors Control Card Structural + Cache Closure
   The notice is now a sibling of the form, so it spans the complete card. */
body.page-doctors .doctors712-controls-card {
    display: grid;
    grid-template-columns: minmax(300px, .86fr) minmax(0, 2.14fr);
    grid-template-areas:
        "context filters"
        "notice notice";
    column-gap: 26px;
    row-gap: 16px;
    align-items: start;
    padding: 20px 22px 19px;
}

body.page-doctors .doctors712-controls-context {
    grid-area: context;
    align-self: start;
    padding: 3px 4px 0 0;
}

body.page-doctors .doctors712-controls-context .doctors133-kicker {
    margin-bottom: 7px;
}

body.page-doctors .doctors712-controls-context strong {
    margin: 0 0 6px;
    line-height: 1.3;
}

body.page-doctors .doctors712-controls-context small {
    max-width: 390px;
    margin: 0;
}

body.page-doctors .doctors712-filter {
    grid-area: filters;
    display: grid;
    grid-template-columns:
        minmax(145px, .78fr)
        minmax(145px, .78fr)
        minmax(230px, 1.28fr)
        minmax(165px, .82fr);
    gap: 12px;
    align-items: end;
    align-self: start;
    width: 100%;
    min-width: 0;
    margin: 0;
}

body.page-doctors .doctors712-filter > label {
    min-width: 0;
    margin: 0;
}

body.page-doctors .doctors712-filter .doctors133-primary {
    width: 100%;
    min-height: 48px;
    margin: 0;
}

body.page-doctors .doctors712-fair-comparison {
    grid-area: notice;
    grid-column: auto;
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 15px;
    align-items: center;
    box-sizing: border-box;
}

body.page-doctors .doctors712-fair-comparison > div {
    min-width: 0;
}

body.page-doctors .doctors712-fair-comparison strong {
    margin: 0 0 3px;
}

body.page-doctors .doctors712-fair-comparison p {
    max-width: none;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1180px) {
    body.page-doctors .doctors712-controls-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "context"
            "filters"
            "notice";
        gap: 15px;
    }

    body.page-doctors .doctors712-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-doctors .doctors712-filter .doctors133-primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    body.page-doctors .doctors712-controls-card {
        padding: 16px 14px;
        gap: 13px;
    }

    body.page-doctors .doctors712-filter {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.page-doctors .doctors712-filter .doctors133-primary {
        grid-column: auto;
    }

    body.page-doctors .doctors712-fair-comparison {
        align-items: flex-start;
        padding: 12px;
    }
}


/* R45-P9.1 — Reusable topbar flow-safe contract.
   A page can opt out of sticky overlay while retaining the same topbar design. */
.exec-shell-v2 .elite-topbar.elite-topbar--flow-safe {
  position: relative !important;
  top: auto !important;
  inset-block-start: auto !important;
  z-index: 12;
}
