/* Shared executive dashboard composition for L&L and Baccha Party.
   Visual layer only: preserve existing data, routes, and page behavior. */
:root {
  --hub-brand: #1f8385;
  --hub-brand-deep: #17696b;
  --hub-brand-soft: #e4f3f3;
  --hub-paper: #f3f6f5;
  --hub-surface: #ffffff;
  --hub-line: #dce5e1;
  --hub-ink: #1a2b27;
  --hub-muted: #6b7f79;
  --hub-shadow: 0 8px 24px rgba(26,43,39,.055);
  --hub-radius: 14px;
}
body[data-brand="baccha-party"] {
  --hub-brand: #d95d1e;
  --hub-brand-deep: #a94416;
  --hub-brand-soft: #fff0e5;
}
body.hub-v8,
body {
  font-family: 'IBM Plex Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--hub-paper);
  color: var(--hub-ink);
}
#pageContent:has(> .kpis.seven) {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1760px;
  margin: 0 auto;
}
#pageContent:has(> .kpis.seven) > .context-strip { order: 0; }
#pageContent:has(> .kpis.seven) > .kpis.seven { order: 1; }
#pageContent:has(> .kpis.seven) > .full-row { order: 2; }
#pageContent:has(> .kpis.seven) > .panel { order: 3; }
#pageContent:has(> .kpis.seven) > .grid.equal:not(.performance-row) { order: 4; }
#pageContent:has(> .kpis.seven) > .performance-row { order: 5; }

#pageContent:has(> .kpis.seven) .context-strip {
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
}
#pageContent:has(> .kpis.seven) .context-strip .context {
  font-size: 13px;
  font-weight: 500;
}
#pageContent:has(> .kpis.seven) .review-label {
  color: var(--hub-brand-deep);
  background: var(--hub-brand-soft);
  border: 1px solid color-mix(in srgb, var(--hub-brand) 18%, white);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 700;
}

#pageContent > .kpis.seven {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "revenue revenue walkin birthday expenses profit"
    "net net net fixed fixed fixed";
  gap: 12px;
  margin: 0;
}
#pageContent > .kpis.seven > .kpi {
  position: relative;
  min-width: 0;
  min-height: 138px;
  padding: 19px 18px 17px;
  overflow: hidden;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  background: var(--hub-surface);
  box-shadow: var(--hub-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#pageContent > .kpis.seven > .kpi:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hub-brand);
}
#pageContent > .kpis.seven > .kpi:nth-child(1) {
  grid-area: revenue;
  min-height: 152px;
  padding: 22px 24px;
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--hub-brand), var(--hub-brand-deep));
}
#pageContent > .kpis.seven > .kpi:nth-child(1):before { display: none; }
#pageContent > .kpis.seven > .kpi:nth-child(1) .label,
#pageContent > .kpis.seven > .kpi:nth-child(1) .sub { color: rgba(255,255,255,.78); }
#pageContent > .kpis.seven > .kpi:nth-child(1) .value { color: #fff; font-size: clamp(28px, 3vw, 38px); }
#pageContent > .kpis.seven > .kpi:nth-child(2) { grid-area: walkin; }
#pageContent > .kpis.seven > .kpi:nth-child(3) { grid-area: birthday; }
#pageContent > .kpis.seven > .kpi:nth-child(4) { grid-area: expenses; }
#pageContent > .kpis.seven > .kpi:nth-child(5) {
  grid-area: net;
  min-height: 82px;
  padding: 13px 18px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-left: 3px solid var(--hub-brand);
  background: var(--hub-brand-soft);
  box-shadow: none;
}
#pageContent > .kpis.seven > .kpi:nth-child(6) {
  grid-area: fixed;
  min-height: 82px;
  padding: 13px 18px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #f8faf9;
  box-shadow: none;
}
#pageContent > .kpis.seven > .kpi:nth-child(5):before,
#pageContent > .kpis.seven > .kpi:nth-child(6):before { display: none; }
#pageContent > .kpis.seven > .kpi:nth-child(7) { grid-area: profit; }
#pageContent > .kpis.seven .kpi .label {
  margin: 0;
  color: var(--hub-muted);
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
  font-weight: 700;
}
#pageContent > .kpis.seven .kpi .value {
  margin: 9px 0 2px;
  color: var(--hub-ink);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.15;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#pageContent > .kpis.seven .kpi .sub {
  color: var(--hub-muted);
  font-size: 11px;
  line-height: 1.4;
}
#pageContent > .kpis.seven > .kpi:nth-child(5) .value,
#pageContent > .kpis.seven > .kpi:nth-child(6) .value {
  margin: 0 0 0 12px;
  white-space: nowrap;
  font-size: 19px;
}
#pageContent > .kpis.seven > .kpi:nth-child(5) .sub,
#pageContent > .kpis.seven > .kpi:nth-child(6) .sub { margin-left: auto; text-align: right; }

#pageContent:has(> .kpis.seven) .panel {
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  background: var(--hub-surface);
  box-shadow: var(--hub-shadow);
  overflow: hidden;
}
#pageContent:has(> .kpis.seven) .panel-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #edf1ef;
}
#pageContent:has(> .kpis.seven) .panel h3 {
  color: var(--hub-ink);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.01em;
}
#pageContent:has(> .kpis.seven) .panel .hint {
  margin-top: 4px;
  color: var(--hub-muted);
  font-size: 11px;
}
#pageContent:has(> .kpis.seven) .compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
  gap: 12px;
  padding: 16px 18px 18px;
}
#pageContent:has(> .kpis.seven) .outlet-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--hub-line);
  border-radius: 10px;
  background: #fafcfb;
}
#pageContent:has(> .kpis.seven) .outlet-card .name {
  color: var(--hub-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 700;
}
#pageContent:has(> .kpis.seven) .outlet-card .revenue {
  margin: 7px 0 13px;
  color: var(--hub-brand-deep);
  font-size: 25px;
  font-weight: 600;
}
#pageContent:has(> .kpis.seven) .outlet-card .outlet-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  column-gap: 18px;
}
#pageContent:has(> .kpis.seven) .metric-row {
  min-width: 0;
  padding: 9px 0;
  border-top: 1px solid #e7eeeb;
}
#pageContent:has(> .kpis.seven) .metric-row span { color: var(--hub-muted); font-size: 11px; }
#pageContent:has(> .kpis.seven) .metric-row b {
  color: var(--hub-ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
#pageContent:has(> .kpis.seven) .outlet-card:only-child {
  display: grid;
  grid-template-columns: minmax(190px,.8fr) minmax(190px,1fr) minmax(0,3fr);
  align-items: start;
  gap: 18px;
}
#pageContent:has(> .kpis.seven) .outlet-card:only-child .revenue { margin: 0; }
#pageContent:has(> .kpis.seven) .outlet-card:only-child .outlet-metrics { grid-column: 3; grid-row: 1; }
#pageContent:has(> .kpis.seven) > .grid.equal {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
#pageContent:has(> .kpis.seven) .alert {
  border-radius: 8px;
}
@media (max-width: 1180px) {
  #pageContent > .kpis.seven {
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-template-areas:
      "revenue revenue walkin birthday"
      "expenses profit profit profit"
      "net net fixed fixed";
  }
  #pageContent:has(> .kpis.seven) .outlet-card:only-child {
    grid-template-columns: minmax(160px,.7fr) minmax(180px,.9fr) minmax(0,2fr);
  }
}
@media (max-width: 760px) {
  #pageContent > .kpis.seven {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-areas:
      "revenue revenue"
      "walkin birthday"
      "expenses profit"
      "net fixed";
    gap: 9px;
  }
  #pageContent > .kpis.seven > .kpi,
  #pageContent > .kpis.seven > .kpi:nth-child(1) { min-height: 116px; padding: 15px; }
  #pageContent > .kpis.seven > .kpi:nth-child(1) { min-height: 132px; }
  #pageContent > .kpis.seven > .kpi:nth-child(5),
  #pageContent > .kpis.seven > .kpi:nth-child(6) {
    min-height: 84px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px;
  }
  #pageContent > .kpis.seven > .kpi:nth-child(5) .value,
  #pageContent > .kpis.seven > .kpi:nth-child(6) .value { margin: 4px 0 0; font-size: 17px; }
  #pageContent > .kpis.seven > .kpi:nth-child(5) .sub,
  #pageContent > .kpis.seven > .kpi:nth-child(6) .sub { display: none; }
  #pageContent:has(> .kpis.seven) .outlet-card:only-child { display: block; }
  #pageContent:has(> .kpis.seven) .outlet-card:only-child .outlet-metrics { margin-top: 12px; }
  #pageContent:has(> .kpis.seven) > .grid.equal { grid-template-columns: minmax(0,1fr); }
  #pageContent:has(> .kpis.seven) .outlet-card .outlet-metrics { grid-template-columns: minmax(0,1fr); }
}

/* Executive dashboard: trend charts, outlet clarity and responsive metric rows. */
#pageContent:has(> .kpis.seven) > .performance-row { order: 3; }
#pageContent:has(> .kpis.seven) > .exec-financial-panel { order: 4; }
#pageContent:has(> .kpis.seven) > .exec-support-row { order: 5; }
#pageContent:has(> .kpis.seven) > .panel:not(.exec-financial-panel) { order: 4; }
#pageContent:has(> .kpis.seven) .exec-outlet-grid { align-items: stretch; }
#pageContent:has(> .kpis.seven) .exec-outlet-card {
  display: grid;
  grid-template-columns: minmax(150px,.8fr) minmax(170px,1fr) minmax(0,2.4fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
}
#pageContent:has(> .kpis.seven) .exec-outlet-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
#pageContent:has(> .kpis.seven) .exec-outlet-kicker {
  color: var(--hub-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
#pageContent:has(> .kpis.seven) .exec-outlet-heading .name {
  color: var(--hub-ink);
  font-size: 15px;
  letter-spacing: .01em;
}
#pageContent:has(> .kpis.seven) .exec-outlet-total {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
#pageContent:has(> .kpis.seven) .exec-outlet-total > span {
  color: var(--hub-muted);
  font-size: 11px;
}
#pageContent:has(> .kpis.seven) .exec-outlet-total .revenue {
  margin: 0;
  color: var(--hub-brand-deep);
  font-size: clamp(21px,2vw,27px);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
#pageContent:has(> .kpis.seven) .exec-outlet-card .outlet-metrics {
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 20px;
}
#pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
#pageContent:has(> .kpis.seven) .exec-performance-row {
  align-items: stretch;
  gap: 16px;
}
#pageContent:has(> .kpis.seven) .exec-performance-row > .panel {
  min-width: 0;
}
#pageContent:has(> .kpis.seven) .exec-performance-row .panel-head {
  min-height: 69px;
}
.exec-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 20px 0;
  color: var(--hub-muted);
  font-size: 11px;
}
.exec-legend span { display: inline-flex; align-items: center; gap: 7px; }
.exec-legend-bar { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.exec-legend-line {
  width: 16px;
  height: 0;
  border-top: 2px solid #334f49;
  display: inline-block;
  position: relative;
}
.exec-legend-line:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #334f49;
  position: absolute;
  right: 5px;
  top: -4px;
}
.exec-legend-line.pink { border-color: #b94c65; }
.exec-legend-line.pink:after { background: #b94c65; }
.exec-chart-scroll {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overscroll-behavior-inline: contain;
  padding: 8px 10px 0;
}
.exec-trend-svg {
  display: block;
  width: auto;
  min-width: 100%;
  max-width: none;
  height: auto;
}
.exec-chart-gridline { stroke: #e7eeeb; stroke-width: 1; }
.exec-chart-axis {
  fill: var(--hub-muted);
  font-family: var(--font-hub-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.exec-chart-xlabel { fill: var(--hub-muted); font-family: var(--font-hub); font-size: 10px; }
.exec-revenue-bar { opacity: .9; }
.exec-player-line { fill: none; stroke: #334f49; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.exec-player-point { fill: #fff; stroke: #334f49; stroke-width: 2; }
.exec-chart-empty {
  margin: 14px 20px 0;
  min-height: 190px;
  display: grid;
  place-items: center;
  color: var(--hub-muted);
  background: #f8faf9;
  border: 1px dashed var(--hub-line);
  border-radius: 8px;
  font-size: 12px;
}
.exec-performance-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
  padding: 8px 18px 18px;
}
.exec-performance-stats .mini-stat {
  min-width: 0;
  padding: 12px;
  border-radius: 7px;
}
.exec-performance-stats .mini-stat .num {
  font-size: clamp(16px,1.5vw,20px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.exec-performance-stats .mini-stat .txt { font-size: 10px; line-height: 1.35; }
.exec-data-note {
  margin: -8px 20px 18px;
  color: var(--hub-muted);
  font-size: 10px;
  line-height: 1.45;
}
.exec-cash-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  padding: 16px 18px 18px;
}
.exec-cash-grid .mini-stat { min-width: 0; padding: 12px; }
.exec-no-alerts {
  margin: 16px 18px 18px;
  padding: 15px;
  color: var(--hub-muted);
  background: #f8faf9;
  border: 1px solid var(--hub-line);
  border-radius: 7px;
  font-size: 12px;
}
@media (max-width: 1180px) {
  #pageContent:has(> .kpis.seven) .exec-outlet-card {
    grid-template-columns: minmax(130px,.75fr) minmax(150px,.9fr) minmax(0,2fr);
    gap: 14px;
  }
  #pageContent:has(> .kpis.seven) .exec-outlet-card .outlet-metrics { column-gap: 12px; }
}
@media (max-width: 760px) {
  #pageContent:has(> .kpis.seven) .exec-outlet-card {
    display: block;
  }
  #pageContent:has(> .kpis.seven) .exec-outlet-total { margin-top: 12px; }
  #pageContent:has(> .kpis.seven) .exec-outlet-card .outlet-metrics {
    margin-top: 10px;
    grid-template-columns: minmax(0,1fr);
  }
  #pageContent:has(> .kpis.seven) .exec-performance-row { grid-template-columns: minmax(0,1fr); }
  .exec-performance-stats { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 14px; }
  .exec-cash-grid { padding-inline: 14px; }
  .exec-legend { padding-inline: 14px; }
  .exec-data-note { margin-inline: 14px; }
}
.exec-walkin-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
@media (max-width: 760px) {
  .exec-walkin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.exec-finance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.exec-finance-metric {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--hub-line);
  border-radius: 9px;
  background: #fbfcfe;
}
.exec-finance-metric h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: var(--hub-ink);
  font-size: 12px;
}
.exec-finance-metric h4 span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.exec-metric-toggle {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  margin: 0 18px 4px;
  background: #f0f4f8;
  border: 1px solid var(--hub-line);
  border-radius: 8px;
}
.exec-metric-toggle button {
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--hub-muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.exec-metric-toggle button.active {
  color: #fff;
  background: #183b5a;
}
.exec-line-svg { display: block; width: 100%; max-width: 100%; height: auto; overflow: visible; }
.exec-series-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.exec-series-point { stroke: #fff; stroke-width: 1.5; }
.exec-line-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 2px 18px 8px;
  color: var(--hub-muted);
  font-size: 10px;
}
.exec-line-legend span { display: inline-flex; align-items: center; gap: 5px; }
.exec-line-legend i { width: 9px; height: 3px; border-radius: 2px; }
.exec-financial-panel,
.exec-cash-panel { margin-bottom: 18px; }
.exec-performance-row { margin-top: 18px; }
.exec-performance-stats {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.exec-data-note { margin-top: 8px; }
@media (max-width: 760px) {
  .exec-finance-grid { grid-template-columns: minmax(0, 1fr); }
  .exec-metric-toggle { margin-left: 14px; }
  .exec-line-legend { padding-inline: 14px; }
}

.exec-range-controls {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 18px 10px;
}
.panel-head > .exec-range-controls {
  flex: 0 1 auto;
  justify-content: flex-end;
  margin: 0 0 0 auto;
}
.exec-range-select {
  display: grid;
  gap: 3px;
  color: var(--hub-muted);
  font-size: 10px;
  font-weight: 800;
}
.exec-range-controls select,
.exec-range-controls input {
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid var(--hub-line);
  border-radius: 7px;
  color: var(--hub-ink);
  background: #fff;
  font-size: 11px;
}
.exec-range-controls select { min-width: 132px; }
.exec-range-controls input[type="date"] { width: 132px; }
.exec-range-controls input[type="month"] { width: 132px; }
@media (max-width: 760px) {
  .exec-range-controls { margin-inline: 14px; }
  .panel-head > .exec-range-controls {
    justify-content: flex-start;
    margin: 10px 0 0;
  }
}

.exec-date-field {
  display: grid;
  gap: 3px;
  color: var(--hub-muted);
  font-size: 10px;
  font-weight: 800;
}
.exec-range-select select { min-width: 145px; }
.exec-range-controls label[hidden] { display: none; }

#pageContent .grid.equal.exec-performance-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) {
  #pageContent .grid.equal.exec-performance-row { grid-template-columns: minmax(0, 1fr); }
}
.exec-performance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: start;
  gap: 16px;
}
.exec-performance-main { min-width: 0; }
.exec-performance-controls {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--hub-line);
  border-radius: 9px;
}
.exec-performance-controls .exec-range-controls {
  display: grid;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}
.exec-performance-controls .exec-range-controls select,
.exec-performance-controls .exec-range-controls input {
  width: 100%;
  min-width: 0;
}
.exec-performance-controls .exec-metric-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.exec-performance-controls .exec-metric-toggle button { padding-inline: 5px; }
@media (max-width: 760px) {
  .exec-performance-layout { grid-template-columns: minmax(0, 1fr); }
  .exec-performance-controls { grid-template-columns: minmax(0, 1fr); }
}

/* Birthday Intelligence: spacious, readable management view. */
#pageContent .grid.equal.exec-performance-row.exec-birthday-first {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.exec-birthday-first > .panel:first-child .exec-performance-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 20px 20px;
}
.exec-birthday-first > .panel:first-child .exec-performance-stats .mini-stat {
  min-height: 86px;
  padding: 14px 13px;
  background: #f7fafb;
  border: 1px solid #e5ecf0;
}
.exec-birthday-first > .panel:first-child .exec-performance-stats .mini-stat .num {
  font-size: clamp(19px, 1.65vw, 25px);
}
.exec-birthday-first > .panel:first-child .exec-performance-stats .mini-stat .txt {
  font-size: 11px;
  line-height: 1.4;
}
.exec-birthday-first .exec-data-note {
  margin: 10px 20px 14px;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 14px;
  border-left: 3px solid #2587bc;
  border-radius: 5px;
  background: #f2f8fb;
}
@media (max-width: 1200px) {
  .exec-birthday-first > .panel:first-child .exec-performance-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .exec-birthday-first > .panel:first-child .exec-performance-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.exec-package-chart { padding: 18px 22px 14px; }
.exec-package-chart-date { margin: 0 0 22px; font-size: 12px; color: var(--hub-muted); font-weight: 700; }
.exec-package-bar-row { margin: 0 0 23px; }
.exec-package-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 9px; }
.exec-package-bar-head strong { font-size: 14px; color: var(--hub-ink); }
.exec-package-bar-head b { font-size: 19px; color: var(--hub-ink); font-variant-numeric: tabular-nums; }
.exec-package-bar-track { height: 21px; border-radius: 5px; background: #eef2f6; overflow: hidden; }
.exec-package-bar-track span { display: block; min-height: 21px; border-radius: inherit; }
.exec-package-empty { display: grid; place-content: center; text-align: center; gap: 10px; min-height: 210px; margin: 12px 0 0; padding: 24px; border: 1px dashed var(--hub-line); border-radius: 10px; background: #f8fafb; }
.exec-package-empty strong { font-size: 15px; color: var(--hub-ink); }
.exec-package-empty span { font-size: 12px; line-height: 1.5; color: var(--hub-muted); }

/* Compact executive performance plots; keep labels readable on narrow screens. */
.exec-birthday-first .exec-metric-chart .exec-chart-scroll { overflow-x: auto; }
@media (max-width: 760px) {
  .exec-birthday-first .exec-metric-chart .exec-line-svg {
    min-width: 780px;
    max-width: none;
  }
}


/* EXEC_OUTLET_ALIGNED_METRICS_20261110_R1 */
/* Keep each outlet's labels and currency figures in stable, aligned columns. */
#pageContent:has(> .kpis.seven) .exec-outlet-card {
  grid-template-columns: minmax(100px, .62fr) minmax(160px, .95fr) minmax(0, 2.7fr);
  gap: 14px;
}
#pageContent:has(> .kpis.seven) .exec-outlet-card .outlet-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(36px, auto);
  column-gap: 18px;
  align-items: stretch;
}
#pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  box-sizing: border-box;
}
#pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row > span {
  min-width: 0;
  line-height: 1.3;
  text-align: left;
}
#pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row > b {
  width: 86px;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1380px) {
  #pageContent:has(> .kpis.seven) .exec-outlet-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  #pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row {
    grid-template-columns: minmax(0, 1fr) 92px;
  }
  #pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row > b {
    width: 92px;
  }
}


/* DAILY_COLLECTION_CENTER_ALIGNMENT_20261110_R2 */
/* Align every Daily Collection heading and its row data on the same centerline.
   No table data, widths, calculations or drawer details are modified. */
#pageContent .daily-compact-scroll .daily-compact-table thead th,
#pageContent .daily-compact-scroll .daily-compact-table tbody td,
#pageContent .daily-compact-scroll .daily-compact-table tfoot td,
#pageContent .daily-compact-scroll .daily-compact-table tfoot th {
  text-align: center !important;
  vertical-align: middle;
}
#pageContent .daily-compact-scroll .daily-compact-table tbody td.number-cell,
#pageContent .daily-compact-scroll .daily-compact-table tfoot td.number-cell {
  text-align: center !important;
  font-variant-numeric: tabular-nums;
}
#pageContent .daily-compact-scroll .daily-compact-table td button {
  margin-inline: auto;
}


/* EXEC_OUTLET_RESPONSIVE_WRAP_20261110_R3 */
/* Above tablet breakpoint, keep desktop card metrics unchanged. At tablet
   widths give long labels the full card width rather than a 30px column. */
@media (max-width: 1220px) {
  #pageContent:has(> .kpis.seven) .exec-outlet-card {
    grid-template-columns: minmax(110px, .6fr) minmax(150px, 1.4fr);
    row-gap: 14px;
    align-items: start;
  }
  #pageContent:has(> .kpis.seven) .exec-outlet-card .outlet-metrics {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    width: 100%;
  }
  #pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row {
    grid-template-columns: minmax(0, 1fr) minmax(86px, max-content);
  }
  #pageContent:has(> .kpis.seven) .exec-outlet-card .metric-row > b {
    width: auto;
    min-width: 86px;
  }
}
@media (max-width: 760px) {
  #pageContent:has(> .kpis.seven) .exec-outlet-card {
    grid-template-columns: minmax(0, 1fr);
  }
  #pageContent:has(> .kpis.seven) .exec-outlet-card .outlet-metrics {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
  }
}


/* EXEC_SINGLE_OUTLET_TABLET_OVERRIDE_20261111_R4 */
/* Single-outlet card rules contain :only-child and outrank the r3 responsive
   selector. Match that specificity, then place the metrics on a new full row. */
@media (min-width: 761px) and (max-width: 1220px) {
  #pageContent:has(> .kpis.seven) .outlet-card.exec-outlet-card:only-child {
    grid-template-columns: minmax(130px, 0.75fr) minmax(160px, 1.25fr);
    row-gap: 14px;
    align-items: start;
  }
  #pageContent:has(> .kpis.seven) .outlet-card.exec-outlet-card:only-child .outlet-metrics {
    grid-area: 2 / 1 / auto / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

/* BP_OUTLET_MONTHLY_CLOSING_HIGHLIGHT_20261112_R6 */
/* Monthly Closing uses source total_daily_closing; visuals only, no calculation changes.
   Preserve Baccha Party green-and-orange branding; Powai only. */
body[data-brand="baccha-party"] #pageContent:has(> .kpis.seven) .exec-outlet-card
  .metric-row:has(> span[title^="Sum of source Total Daily Closing values"]) {
  background: linear-gradient(110deg,
      color-mix(in srgb, var(--hub-brand) 11%, white),
      color-mix(in srgb, var(--hub-brand) 4%, white));
  border: 1px solid color-mix(in srgb, var(--hub-brand) 29%, white);
  border-left: 3px solid var(--hub-brand);
  border-radius: 9px;
  padding: 7px 10px;
  box-sizing: border-box;
  min-height: 45px;
}
body[data-brand="baccha-party"] #pageContent:has(> .kpis.seven) .exec-outlet-card
  .metric-row:has(> span[title^="Sum of source Total Daily Closing values"]) > span {
  color: var(--hub-brand-deep);
  font-weight: 750;
  font-size: 11.5px;
}
body[data-brand="baccha-party"] #pageContent:has(> .kpis.seven) .exec-outlet-card
  .metric-row:has(> span[title^="Sum of source Total Daily Closing values"]) > b {
  color: var(--hub-brand-deep);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.012em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  body[data-brand="baccha-party"] #pageContent:has(> .kpis.seven) .exec-outlet-card
    .metric-row:has(> span[title^="Sum of source Total Daily Closing values"]) {
    padding: 7px 8px;
  }
  body[data-brand="baccha-party"] #pageContent:has(> .kpis.seven) .exec-outlet-card
    .metric-row:has(> span[title^="Sum of source Total Daily Closing values"]) > b {
    font-size: 15px;
  }
}

/* BP_PROPORTIONAL_BIRTHDAY_MIX_STYLES_20261112_R7 */
/* Single shared 100% track, compact layout, BP green/orange; no money logic. */
body[data-brand="baccha-party"] .bp-party-mix {
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  padding: 16px 20px 18px;
}
body[data-brand="baccha-party"] .bp-party-mix-period {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hub-muted);
}
body[data-brand="baccha-party"] .bp-party-mix-total {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 13px;
}
body[data-brand="baccha-party"] .bp-party-mix-total strong {
  font-size: 24px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--hub-ink);
}
body[data-brand="baccha-party"] .bp-party-mix-total > span {
  font-size: 12px;
  color: var(--hub-muted);
}
body[data-brand="baccha-party"] .bp-party-mix-track {
  display: flex;
  width: 100%;
  height: 18px;
  background: #e7edeb;
  overflow: hidden;
  border-radius: 999px;
}
body[data-brand="baccha-party"] .bp-party-mix-track > span {
  min-width: 0;
  height: 100%;
  display: block;
}
body[data-brand="baccha-party"] .bp-party-mini { background-color: #167a64; }
body[data-brand="baccha-party"] .bp-party-mega { background-color: #de932b; }
body[data-brand="baccha-party"] .bp-party-other { background-color: #99a8a6; }
body[data-brand="baccha-party"] .bp-party-mix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 21px;
  margin-top: 12px;
}
body[data-brand="baccha-party"] .bp-party-mix-key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--hub-ink);
}
body[data-brand="baccha-party"] .bp-party-mix-key i {
  display: inline-block;
  flex-shrink: 0;
  height: 11px;
  width: 11px;
  border-radius: 3px;
}
body[data-brand="baccha-party"] .bp-party-mix-key strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
body[data-brand="baccha-party"] .bp-party-mix-pct { color: var(--hub-muted); }
body[data-brand="baccha-party"] .bp-party-mix-empty {
  display: grid;
  gap: 8px;
  min-height: auto;
}
body[data-brand="baccha-party"] .bp-party-mix-empty strong { font-size: 14px; }
body[data-brand="baccha-party"] .bp-party-mix-empty span {
  font-size: 12px;
  color: var(--hub-muted);
}
@media(max-width:760px) {
  body[data-brand="baccha-party"] .bp-party-mix { padding: 12px 10px 16px; }
  body[data-brand="baccha-party"] .bp-party-mix-legend { gap: 8px 14px; }
}
