/* Identity for the management shell. Report and simulator layout rules stay in their own sheets. */
.experience-brand {
  --identity-font: Vazirmatn, sans-serif;
  font-family: var(--identity-font);
  --identity-ink: #17253d;
  --identity-muted: #526579;
  --identity-page: #f3f7fb;
  --identity-line: #dce5ef;
  --identity-blue: #0095da;
  --identity-action: #006e9e;
  --identity-pale: #e5f5fc;
  --identity-warm: #ff4f00;
  --identity-warm-pale: #fff0e8;
  background: var(--identity-page);
  color: var(--identity-ink);
}
.experience-brand .manager-shell {
  --panel-bg: var(--identity-page);
  --panel-border: var(--identity-line);
  --panel-muted: var(--identity-muted);
  --panel-blue: var(--identity-blue);
  --panel-pale: var(--identity-pale);
}
.experience-brand .workspace-shell .manager-header { height: 72px; padding-block: 12px; }
.experience-brand .manager-header-leading a {
  color: var(--identity-ink);
  font-weight: 700;
  text-decoration: none;
}
.experience-brand .manager-header-leading a:hover { color: var(--identity-action); }
.experience-brand .brand-mark img { display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.experience-brand .account-avatar {
  color: white;
  background: var(--identity-ink);
  border-color: var(--identity-ink);
}
.experience-brand.executive-view .manager-header > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.experience-brand.executive-view .manager-header > span::before {
  content: "";
  width: 36px;
  height: 36px;
  background: url("/mci/assets/experience-mark.svg?v=mark2") center / contain no-repeat;
}
.experience-brand .manager-sidebar .sidebar-action { font-weight: 700; }
.experience-brand .manager-sidebar .sidebar-action[aria-current="page"],
.experience-brand .report-section-nav a[aria-current="location"] {
  color: var(--identity-action);
  background: var(--identity-pale);
}
.experience-brand .manager-sidebar {
  isolation: isolate;
  background: linear-gradient(180deg, #fff 32%, #fcfeff 52%, #eef8fe 80%, #def1fc 100%);
}
.experience-brand .manager-sidebar::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset-inline: 14px; inset-block-end: clamp(70px, 17vh, 140px); height: 86px;
  background: url("/mci/assets/mci-sidebar-brand.svg") center / contain no-repeat;
  opacity: .17;
  mask-image: linear-gradient(180deg, #0003, #000 74%);
}
.experience-brand .sidebar-collapsed .manager-sidebar::before { display: none; }
.experience-brand .sidebar-brand .brand-mark { background: transparent; }
.experience-brand .manager-shell .page-heading {
  position: relative;
  isolation: isolate;
  min-height: 150px;
  padding: clamp(18px, 2.4vw, 30px);
  margin-block-end: 18px;
  border-radius: 16px;
  color: white;
  background: url("/mci/assets/experience-banner.svg") left bottom / auto 100% no-repeat var(--identity-ink);
}
.experience-brand .manager-shell .page-heading h1 {
  color: white;
  font-size: clamp(22px, 2.7vw, 36px);
  font-weight: 700;
  line-height: 1.55;
}
.experience-brand .manager-shell .page-heading p,
.experience-brand .manager-shell .page-heading #live-status { color: #d7e4ef; }
.experience-brand .page-heading :is(.eyebrow, .breadcrumb) { color: #92daf7; font-weight: 700; }
.experience-brand .page-heading :is(.eyebrow, .breadcrumb)::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  vertical-align: middle;
  margin-inline-end: 8px;
  border-radius: 2px;
  background: #55c7f4;
}
.experience-brand .manager-shell .page-heading :is(.secondary, .primary, .icon-only) {
  color: var(--identity-ink);
  background: white;
  border: 1px solid white;
  font-weight: 700;
}
.experience-brand .manager-shell .page-heading :is(.secondary, .primary, .icon-only):hover { background: var(--identity-pale); }
.experience-brand .manager-shell .page-heading :is(a, button, .report-inline-copy):focus-visible {
  outline-color: #83d8fb;
}
.experience-brand .manager-shell :is(.kpi, .decision-metric, .chart-card, .study-card, .report-section-nav, .manager-login) {
  border-color: var(--identity-line);
  border-radius: 13px;
  box-shadow: none;
}
.experience-brand .manager-shell :is(.kpi, .decision-metric) {
  position: relative;
  padding: 16px 17px;
}
.experience-brand .manager-shell .kpi { min-height: 126px; }
.experience-brand .manager-shell .decision-metric { gap: 9px; }
.experience-brand #overview-content > .overview-charts { align-items: stretch; }
.experience-brand .manager-shell :is(.kpi, .decision-metric) strong {
  color: var(--identity-ink);
  font-variant-numeric: tabular-nums;
}
.experience-brand .manager-shell .decision-metric:hover {
  background: #f4fbff;
  border-color: #a5d3e7;
}
.experience-brand .decision-metric .metric-label svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 8px;
  background: var(--identity-pale);
  color: var(--identity-action);
}
.experience-brand .decision-metric[data-report-block="purchase-time"] .metric-label svg,
.experience-brand .kpi[data-report-block="home-incomplete"] .kpi-icon,
.experience-brand .kpi[data-report-block="stat-time"] .kpi-icon {
  background: var(--identity-warm-pale);
  color: #a63b12;
}
.experience-brand .kpi[data-report-block="home-excluded"] .kpi-icon {
  background: #eaf0f6;
  color: #344a62;
}
.experience-brand .manager-shell :is(.chart-card, .study-card) h2 { color: var(--identity-ink); }
.experience-brand .manager-shell .study-card h2 { margin-block-start: 12px; }
.experience-brand .manager-shell .study-card-actions .plain { color: var(--identity-action); font-weight: 700; }
.experience-brand .manager-shell .primary { background: var(--identity-action); }
.experience-brand .manager-shell .primary:hover { background: #005a83; }
.experience-brand :is(button, input, textarea, select, option, svg text, svg tspan):not(.stage-app *) {
  font-family: var(--identity-font);
}
.experience-brand .manager-shell .chart-svg path[fill="#0095da"][opacity=".08"] { opacity: .17; }
.experience-brand .manager-shell .chart-svg:has(polyline) circle { stroke: white; stroke-width: 1.5; }
.experience-brand .manager-shell .chart-svg polyline { stroke: var(--identity-action); }
.experience-brand .manager-shell .chart-svg rect[fill="#f0f4f8"] { fill: #eaf0f6; }
.experience-brand .manager-shell .rv-metrics article { background: #f3faff; border-color: var(--identity-line); }
.experience-brand .manager-shell .table-scroll th { color: #475c73; font-weight: 700; }
.experience-brand .manager-shell :is(.calm-tools, .report-filters, .study-search) { accent-color: var(--identity-action); }
.experience-brand.login-page .login-kicker { color: var(--identity-action); display: inline-flex; align-items: center; gap: 8px; }
.experience-brand.login-page .login-story h1 { color: var(--identity-ink); }
.experience-brand.login-page .login-story h1 em { color: var(--identity-action); }
.experience-brand.login-page .login-visual { border-color: var(--identity-line); border-radius: 16px; }
@media (max-width: 700px) {
  .experience-brand .workspace-shell .manager-header { height: 64px; }
  .experience-brand .manager-shell .page-heading {
    min-height: 0;
    background-size: auto 78%;
    padding: 18px;
  }
  .experience-brand .manager-shell .page-heading h1 { font-size: clamp(20px, 5.5vw, 27px); }
  .experience-brand .manager-shell :is(.kpi, .decision-metric) { padding: 12px; }
  .experience-brand .decision-metric .metric-label svg { width: 24px; height: 24px; padding: 5px; }
  .experience-brand .report-section-nav:not(.report-nav-sorting) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .experience-brand .report-section-nav a { min-height: 40px; }
}
@media print {
  .experience-brand .manager-shell .page-heading { min-height: 0; padding: 0; background: white; color: black; }
  .experience-brand .manager-shell .page-heading :is(h1, p, .eyebrow, .breadcrumb) { color: black; }
}
