/* Chef Digital Tools · Intelligence studio. Local assets, real workspace data. */
.ana-page {
  --ana-ink: #172e39;
  --ana-muted: #657578;
  --ana-subtle: #8c9998;
  --ana-line: #e4e9e5;
  --ana-paper: #f7f7f3;
  --ana-orange: #e87939;
  --ana-teal: #398578;
  --ana-blue: #5b82b0;
  --ana-gold: #c69c58;
  --ana-red: #bc615b;
  --ana-violet: #8980b1;
  --ana-radius: 15px;
  color: var(--ana-ink);
  min-width: 0;
  font-variant-numeric: tabular-nums;
  padding-bottom: 14px;
}
.ana-page *, .ana-page *::before, .ana-page *::after { box-sizing: border-box; }
.ana-page button, .ana-page input, .ana-page select { font: inherit; }
.ana-page button { touch-action: manipulation; }
.ana-page button:focus-visible, .ana-page a:focus-visible,
.ana-page input:focus-visible, .ana-page select:focus-visible,
.ana-page summary:focus-visible, .ana-page [tabindex]:focus-visible {
  outline: 3px solid #e8793966;
  outline-offset: 4px;
}
.ana-page [hidden] { display: none !important; }
.ana-page .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.ana-page .icon { width: 18px; height: 18px; }
.ana-eyebrow {
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ana-muted);
}
.ana-eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--ana-orange); border-radius: 2px; }
.ana-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(235px, .65fr);
  gap: 32px;
  background: linear-gradient(118deg, #172f3a 0%, #1a3540 57%, #244a52 100%);
  color: #fff;
  border: 1px solid #ffffff0a;
  border-radius: 18px;
  padding: 34px 36px 31px;
  overflow: hidden;
  margin-bottom: 21px;
  isolation: isolate;
  box-shadow: 0 14px 35px #1027310d;
}
.ana-hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -195px;
  top: -235px;
  border: 1px solid #accbc323;
  border-radius: 50%;
  box-shadow: 0 0 0 55px #accbc306, 0 0 0 110px #accbc305;
  z-index: -1;
  pointer-events: none;
}
.ana-hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: 20%;
  bottom: -218px;
  border-radius: 50%;
  background: #e87939;
  filter: blur(60px);
  opacity: .1;
  z-index: -1;
  pointer-events: none;
}
.ana-hero-copy { align-self: center; min-width: 0; }
.ana-hero .ana-eyebrow { color: #aec5c7; font-size: 9px; }
.ana-hero-title, .ana-hero h2 { font-size: clamp(27px, 2.65vw, 39px); line-height: 1.17; font-weight: 560; letter-spacing: -1.4px; margin: 14px 0 12px; color: #f8faf7; }
.ana-hero-title em, .ana-hero h2 em { font-family: Georgia, "Times New Roman", serif; color: #f1b88e; font-weight: 400; }
.ana-hero-title > span { color: #f1b88e; }
.ana-hero-subtitle, .ana-hero-copy > p { color: #b2c5c8; font-size: 13px; line-height: 1.8; max-width: 680px; }
.ana-hero-side { border-left: 1px solid #ffffff18; padding-left: 31px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ana-status { display: inline-flex; align-items: center; gap: 7px; color: #b9d9ca; font-size: 10px; font-weight: 500; line-height: 1.6; }
.ana-status::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #82c0a4; box-shadow: 0 0 0 4px #82c0a410; }
.ana-status:has(.ana-status-dot)::before { display: none; }
.ana-status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #82c0a4; box-shadow: 0 0 0 4px #82c0a410; }
.ana-hero .ana-status { margin-top: 19px; flex-wrap: wrap; font-size: 9px; letter-spacing: .3px; gap: 7px; }
.ana-hero .ana-status > span:last-child { color: #91b0b7; font-weight: 400; }
.ana-hero-number { font-size: clamp(32px, 3.3vw, 49px); line-height: 1.05; font-weight: 520; letter-spacing: -1.9px; margin: 13px 0 9px; color: #fff; }
.ana-hero-label { color: #adc2c5; font-size: 11px; line-height: 1.6; }
.ana-hero-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; padding-top: 17px; margin-top: 19px; border-top: 1px solid #ffffff12; }
.ana-hero-mini strong { display: block; font-size: 17px; font-weight: 560; color: #e6ede9; line-height: 1.3; letter-spacing: -.4px; }
.ana-hero-mini span, .ana-hero-mini small { display: block; color: #97b1b5; font-size: 10px; margin-top: 4px; line-height: 1.5; }
.ana-hero-side .ana-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
.ana-hero-side .ana-note { padding: 0; border: 0; background: transparent; color: #97b1b5; font-size: 9px; margin: 12px 0 0; line-height: 1.6; }
.ana-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.ana-hero .btn-outline, .ana-hero .btn-secondary { background: #ffffff09; border-color: #ffffff22; color: #e6eeeb; }
.ana-hero .btn-outline:hover, .ana-hero .btn-secondary:hover { background: #ffffff14; border-color: #ffffff35; }
.ana-toolbar {
  background: #fff;
  border: 1px solid var(--ana-line);
  border-radius: 13px;
  padding: 17px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.ana-toolbar-top, .ana-toolbar-main, .ana-toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ana-toolbar-main { flex: 1; min-width: 0; }
.ana-toolbar-actions { margin-left: auto; }
.ana-toolbar > .ana-toolbar-actions { width: 100%; gap: 9px; padding-top: 1px; }
.ana-toolbar > .ana-toolbar-actions > .ana-note { width: 100%; margin: 0 0 3px; padding: 0; border: 0; background: transparent; line-height: 1.65; font-size: 10px; color: #829286; }
.ana-toolbar label, .ana-filter-field { display: flex; flex-direction: column; gap: 7px; color: var(--ana-muted); font-size: 10px; font-weight: 600; min-width: 130px; }
.ana-toolbar input, .ana-toolbar select, .ana-filter-field input, .ana-filter-field select {
  background: #f9faf7;
  border: 1px solid #e0e7e1;
  color: #3a535b;
  border-radius: 7px;
  min-height: 39px;
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 450;
  max-width: 100%;
  box-shadow: none;
}
.ana-toolbar input[type="date"] { min-width: 143px; }
.ana-toolbar label.ana-compare { flex-direction: row; align-items: center; align-self: end; gap: 8px; font-size: 11px; font-weight: 450; padding-bottom: 10px; min-height: 39px; }
.ana-toolbar label.ana-compare input { width: 14px; height: 14px; min-height: 0; min-width: 0; padding: 0; margin: 0; accent-color: #de803e; border-radius: 3px; }
.ana-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; padding-top: 15px; border-top: 1px solid #edf0eb; }
.ana-filter-grid label { min-width: 0; }
.ana-filter-row { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.ana-periods { display: inline-flex; padding: 4px; background: #f0f3ef; border: 1px solid #e6eae3; border-radius: 8px; gap: 3px; }
.ana-periods button { border-radius: 5px; background: transparent; color: #71817b; padding: 8px 12px; min-height: 32px; font-size: 11px; white-space: nowrap; font-weight: 600; }
.ana-periods button:hover { background: #e5ebe4; color: var(--ana-ink); }
.ana-periods button.active, .ana-periods button[aria-pressed="true"] { background: #fff; color: var(--ana-ink); box-shadow: 0 1px 5px #172e3910; }
.ana-range-note { font-size: 11px; line-height: 1.6; color: var(--ana-muted); display: flex; align-items: center; gap: 7px; }
.ana-filter-toggle { color: #496368; border: 1px solid #dfe6e0; background: white; border-radius: 7px; font-size: 11px; padding: 9px 12px; }
.ana-tabs { display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 0 0 11px; margin-bottom: 20px; border-bottom: 1px solid #e1e7e0; }
.ana-tab, .ana-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px; padding: 10px 16px; border-radius: 7px; background: transparent; color: #73837c; font-size: 12px; font-weight: 580; white-space: nowrap; transition: color .15s, background .15s; }
.ana-tab:hover, .ana-tabs button:hover { color: #244650; background: #eaf0e8; }
.ana-tab.active, .ana-tabs button.active, .ana-tabs button[aria-selected="true"] { color: #fff; background: #1b3641; box-shadow: 0 3px 7px #172e3911; }
.ana-tabs .icon { width: 16px; height: 16px; opacity: .8; }
.ana-tab-count { background: #ffffff14; border-radius: 4px; padding: 1px 5px; font-size: 9px; }
.ana-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 22px; }
.ana-kpi {
  background: #fff;
  border: 1px solid var(--ana-line);
  border-radius: 12px;
  padding: 21px 22px 18px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.ana-kpi:hover { border-color: #cbd8d0; box-shadow: 0 7px 20px #17333e06; }
.ana-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ana-kpi-label { color: #627675; font-size: 11px; font-weight: 570; line-height: 1.5; }
.ana-kpi-icon { width: 29px; height: 29px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #edf4ef; color: #6b9484; flex-shrink: 0; }
.ana-kpi-icon .icon { width: 15px; height: 15px; }
.ana-kpi-value { display: block; font-size: clamp(25px, 2.4vw, 34px); letter-spacing: -1.1px; line-height: 1.18; font-weight: 550; color: #213d48; margin: 14px 0 9px; overflow-wrap: anywhere; }
.ana-kpi-value small { font-size: 15px; font-weight: 450; color: #889c9b; letter-spacing: -.2px; margin-left: 4px; }
.ana-kpi-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 23px; }
.ana-kpi-sub, .ana-kpi-note { color: #7c8c85; font-size: 10px; line-height: 1.6; }
.ana-kpi-delta { display: inline-flex; align-items: center; gap: 4px; background: #edf5ef; color: #3e7968; padding: 3px 6px; border-radius: 4px; font-size: 10px; line-height: 1.45; font-weight: 600; white-space: nowrap; }
.ana-kpi-delta .icon { height: 12px; width: 12px; }
.ana-kpi > .ana-kpi-delta { margin-top: 10px; white-space: normal; max-width: 100%; flex-wrap: wrap; row-gap: 1px; }
.ana-kpi-delta small { font-size: 9px; font-weight: 450; opacity: .85; }
.ana-kpi-sparkline { width: 77px; height: 29px; flex-shrink: 0; }
.ana-kpi-sparkline svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ana-kpi.orange .ana-kpi-icon { color: #c7814b; background: #fff1e5; }
.ana-kpi.blue .ana-kpi-icon { color: #6685a0; background: #edf3f8; }
.ana-kpi.teal .ana-kpi-icon { color: #428c7a; background: #edf7f2; }
.ana-kpi.gold .ana-kpi-icon { color: #b79355; background: #fbf5e8; }
.ana-kpi.ana-kpi-featured { background: linear-gradient(135deg, #f6f9f3, #fff); border-color: #d7e3d6; }
.ana-up { color: #3f826d; }
.ana-down { color: #b75d4f; }
.ana-kpi-delta.ana-down { color: #ad5b4b; background: #fff1ed; }
.ana-neutral, .ana-kpi-delta.ana-neutral { color: #7c8887; }
.ana-kpi-delta.ana-neutral { background: #f0f3ef; }
.ana-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: start; margin-bottom: 21px; }
.ana-span-12 { grid-column: span 12; }
.ana-span-9 { grid-column: span 9; }
.ana-span-8 { grid-column: span 8; }
.ana-span-7 { grid-column: span 7; }
.ana-span-6 { grid-column: span 6; }
.ana-span-5 { grid-column: span 5; }
.ana-span-4 { grid-column: span 4; }
.ana-span-3 { grid-column: span 3; }
.ana-card { background: #fff; border: 1px solid var(--ana-line); border-radius: var(--ana-radius); min-width: 0; overflow: hidden; box-shadow: 0 3px 15px #16303a03; }
.ana-card-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 22px 24px 17px; }
.ana-card-head h3, .ana-card-head h2 { font-size: 15px; font-weight: 630; letter-spacing: -.3px; line-height: 1.4; color: #233f48; }
.ana-card-head p { color: #7a8b84; font-size: 11px; line-height: 1.6; margin-top: 5px; }
.ana-card-head .ana-eyebrow { font-size: 8px; margin-bottom: 7px; letter-spacing: 1.3px; color: #91a09a; }
.ana-card-head .ana-eyebrow::before { width: 12px; height: 1px; }
.ana-card-head .btn { min-height: 30px; font-size: 10px; padding: 7px 9px; }
.ana-card-body { padding: 5px 24px 22px; min-width: 0; }
.ana-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 24px; border-top: 1px solid #edf0ea; background: #fcfdfa; color: #85938b; font-size: 10px; line-height: 1.7; }
.ana-card-stat { font-size: 25px; font-weight: 530; color: #23434b; letter-spacing: -.8px; white-space: nowrap; }
.ana-card-stat small { display: block; font-size: 9px; font-weight: 450; color: #8c9990; letter-spacing: 0; margin-top: 3px; text-align: right; }
.ana-chart { width: 100%; min-width: 0; }
.ana-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.ana-chart svg text { font-family: inherit; font-variant-numeric: tabular-nums; }
.ana-chart-tall { min-height: 275px; }
.ana-chart-compact { min-height: 200px; }
.ana-chart-grid, .ana-grid-line { stroke: #e8eee7; stroke-width: 1; stroke-dasharray: 3 4; }
.ana-chart-axis { fill: #89968d; font-size: 10px; }
.ana-axis { fill: #89968d; font-size: 10px; }
.ana-donut-total { fill: #274953; font-size: 29px; font-weight: 570; letter-spacing: -.7px; }
.ana-chart-label { fill: #687e78; font-size: 11px; }
.ana-chart-value { fill: #35525c; font-size: 11px; font-weight: 600; }
.ana-chart path, .ana-chart circle, .ana-chart rect { vector-effect: non-scaling-stroke; }
.ana-chart [data-drill], .ana-chart button, .ana-chart .ana-interactive { cursor: pointer; }
.ana-chart [data-drill]:hover, .ana-chart .ana-interactive:hover { filter: brightness(.95); }
.ana-chart [data-drill]:focus { outline: none; stroke: #17343e; stroke-width: 3; }
.ana-chart-tooltip { pointer-events: none; fill: #152e39; }
.ana-legend { display: flex; flex-wrap: wrap; gap: 9px 19px; margin: 13px 0 2px; }
.ana-legend-item { display: inline-flex; align-items: center; gap: 7px; color: #74857d; font-size: 10px; line-height: 1.5; }
.ana-swatch { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 2px; background: var(--ana-orange); }
.ana-legend-item strong { font-size: 11px; color: #405e61; font-weight: 600; margin-left: 1px; }
.ana-donut-layout { display: grid; grid-template-columns: minmax(150px, .85fr) minmax(0, 1fr); align-items: center; gap: 18px; }
.ana-donut { position: relative; width: 100%; max-width: 228px; margin: 0 auto; }
.ana-donut svg { width: 100%; height: auto; display: block; }
.ana-donut-center { position: absolute; inset: 28%; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; pointer-events: none; }
.ana-donut-center strong { font-size: 24px; font-weight: 560; color: #2c4a52; letter-spacing: -.7px; }
.ana-donut-center span { font-size: 9px; color: #8b9b91; margin-top: 5px; line-height: 1.5; }
.ana-donut-list { display: flex; flex-direction: column; gap: 13px; }
.ana-donut-list .ana-legend-item { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 8px; font-size: 11px; }
.ana-donut-list .ana-legend-item > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-donut-list strong { text-align: right; }
.ana-donut-legend { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.ana-donut-legend .ana-legend-item { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 3px 8px; font-size: 10px; }
.ana-donut-legend .ana-legend-item > i { grid-row: span 2; }
.ana-donut-legend .ana-legend-item > span { overflow-wrap: anywhere; line-height: 1.5; }
.ana-donut-legend .ana-legend-item > strong { font-size: 11px; font-weight: 590; margin-left: 3px; text-align: right; }
.ana-donut-legend .ana-legend-item > small { grid-column: 3; text-align: right; color: #90a096; font-size: 9px; line-height: 1.3; }
.ana-bars { display: flex; flex-direction: column; gap: 18px; padding: 6px 0 3px; }
.ana-bar-row { width: 100%; }
.ana-bar-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 8px; color: #617972; font-size: 11px; }
.ana-bar-head strong { color: #344f56; font-size: 12px; font-weight: 590; }
.ana-bar-row > div:first-child { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 8px; color: #617972; font-size: 11px; }
.ana-bar-row > div:first-child strong { color: #344f56; font-size: 12px; font-weight: 590; flex-shrink: 0; }
.ana-bar-row > div:first-child span { line-height: 1.6; min-width: 0; overflow-wrap: anywhere; }
.ana-bar-head button { color: inherit; background: transparent; padding: 0; text-align: left; font-size: inherit; }
.ana-bar-head button:hover { color: #ca7139; }
.ana-bar-track { height: 8px; width: 100%; background: #eef2eb; border-radius: 5px; overflow: hidden; display: flex; }
.ana-bar-fill, .ana-bar-track > span { display: block; min-height: 8px; background: var(--ana-orange); border-radius: 5px; }
.ana-bar-track.ana-stacked > span { border-radius: 0; }
.ana-bar-track.ana-stacked > span:first-child { border-radius: 5px 0 0 5px; }
.ana-bar-track.ana-stacked > span:last-child { border-radius: 0 5px 5px 0; }
.ana-bar-caption { display: flex; justify-content: space-between; gap: 13px; color: #90a095; font-size: 9px; margin-top: 6px; }
.ana-breakdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ecf0e9; padding-top: 16px; margin-top: 17px; gap: 14px; }
.ana-breakdown > div + div { border-left: 1px solid #e7ece6; padding-left: 17px; }
.ana-breakdown strong { color: #294b54; font-size: 17px; font-weight: 580; letter-spacing: -.4px; }
.ana-breakdown span { display: block; color: #849387; font-size: 9px; line-height: 1.6; margin-top: 5px; }
.ana-heatmap-wrap { overflow-x: auto; margin: 3px 0 0; padding-bottom: 7px; }
.ana-heatmap { display: grid; grid-template-columns: 34px repeat(24, minmax(16px, 1fr)); gap: 4px; min-width: 585px; align-items: center; }
.ana-heatmap-label { font-size: 9px; color: #88978d; text-align: left; }
.ana-heatmap-hour { font-size: 8px; color: #99a59b; text-align: center; line-height: 20px; }
.ana-heat-head { font-size: 8px; color: #8d9e92; text-align: center; line-height: 20px; }
.ana-heat-label { font-size: 9px; color: #829780; line-height: 20px; }
.ana-heat-cell { aspect-ratio: 1; border-radius: 3px; background: #edf2e9; min-height: 18px; border: 1px solid #ffffff45; padding: 0; transition: outline-color .15s; }
.ana-heat-cell:hover { outline: 2px solid #2d5962; outline-offset: 1px; }
.ana-heat-cell[style*="--ana-intensity"] { background: rgba(37, 134, 117, var(--ana-intensity, .06)); }
.ana-heatmap-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 9px; color: #8a9b91; margin-top: 12px; }
.ana-heatmap-legend span { display: block; width: 12px; height: 12px; border-radius: 2px; }
.ana-heatmap-legend small { font-size: 9px; margin: 0 4px; }
.ana-insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 21px; }
.ana-insight { padding: 20px 22px; background: #edf4ef; border: 1px solid #dce8dc; border-radius: 11px; min-width: 0; }
.ana-insight-top { display: flex; gap: 9px; align-items: center; font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: 1.1px; color: #5d8771; margin-bottom: 10px; }
.ana-insight h3 { font-size: 15px; line-height: 1.5; color: #365c51; font-weight: 570; letter-spacing: -.3px; margin-bottom: 8px; }
.ana-insight p { color: #6d8b78; font-size: 11px; line-height: 1.8; }
.ana-insight > div { min-width: 0; }
.ana-insight strong { color: #365c51; font-size: 13px; line-height: 1.55; font-weight: 590; display: block; margin-bottom: 6px; letter-spacing: -.15px; }
.ana-insight-marker { display: block; width: 6px; height: 6px; flex: 0 0 6px; background: #73a18c; border-radius: 50%; margin-bottom: 13px; box-shadow: 0 0 0 4px #73a18c10; }
.ana-card .ana-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 3px 0 0; }
.ana-card .ana-insight { padding: 17px 18px; border-radius: 9px; }
.ana-insight.orange { background: #fff3e8; border-color: #f1dfcb; }
.ana-insight.orange .ana-insight-top { color: #b78149; }
.ana-insight.orange h3 { color: #7c593c; }
.ana-insight.orange p { color: #967b5c; }
.ana-insight.blue { background: #edf3f6; border-color: #dce6ea; }
.ana-insight.blue .ana-insight-top { color: #7293a2; }
.ana-insight.blue h3 { color: #426679; }
.ana-insight.blue p { color: #74909b; }
.ana-insight .text-button { margin-top: 13px; font-size: 11px; color: inherit; }
.ana-section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 5px 0 17px; }
.ana-section-title h2 { color: #27444e; font-size: 17px; font-weight: 620; letter-spacing: -.4px; }
.ana-section-title p { color: #7c8e83; font-size: 11px; margin-top: 5px; }
.ana-table-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0 24px 18px; }
.ana-table-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0 24px 18px; }
.ana-table-toolbar label { color: #7c8d81; font-size: 10px; display: flex; align-items: center; gap: 8px; }
.ana-table-toolbar input[type="search"] { background: #f8faf6; border: 1px solid #e0e8de; border-radius: 7px; padding: 10px 12px; min-width: 235px; font-size: 12px; color: #496362; min-height: 39px; }
.ana-table-toolbar select { background: #f8faf6; border: 1px solid #e0e8de; border-radius: 7px; padding: 9px 10px; color: #617e6c; font-size: 11px; min-height: 38px; }
.ana-table-toolbar label.ana-filter-field { align-items: stretch; flex-direction: column; gap: 7px; }
.ana-table-toolbar label.ana-filter-field:first-child { flex: 1; min-width: 200px; }
.ana-table-toolbar label.ana-filter-field:last-child { min-width: 75px; max-width: 95px; }
.ana-search { background: #f8faf6; border: 1px solid #e0e8de; border-radius: 7px; padding: 10px 12px; min-width: 235px; font-size: 12px; color: #496362; min-height: 39px; }
.ana-search::placeholder { color: #91a195; }
.ana-table-wrap { overflow: auto; max-height: 610px; scrollbar-width: thin; scrollbar-color: #cbd7cd #f8faf6; }
.ana-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.ana-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f7faf5;
  color: #738774;
  padding: 13px 19px;
  border-bottom: 1px solid #e1e9de;
  font-size: 9px;
  letter-spacing: .5px;
  font-weight: 680;
  text-transform: uppercase;
  white-space: nowrap;
}
.ana-table td { color: #627970; border-bottom: 1px solid #edf1e9; padding: 14px 19px; font-size: 12px; line-height: 1.6; vertical-align: middle; }
.ana-table td strong { color: #304f56; font-weight: 590; }
.ana-table td small { display: block; color: #8a9d8d; font-size: 10px; line-height: 1.6; margin-top: 3px; }
.ana-table td.ana-num, .ana-table th.ana-num { text-align: right; font-variant-numeric: tabular-nums; }
.ana-table tbody tr:hover { background: #fafcf7; }
.ana-table tbody tr[data-drill] { cursor: pointer; }
.ana-table tfoot td { background: #f5f9f2; border-top: 1px solid #dfe8d9; font-weight: 650; color: #3d5c52; }
.ana-table th button { color: inherit; background: transparent; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; display: inline-flex; align-items: center; gap: 5px; }
.ana-table th button:hover { color: #db783f; }
.ana-table .ana-cell-name { min-width: 170px; }
.ana-table .ana-cell-chart { width: 65px; height: 21px; }
.ana-table .ana-cell-chart svg { width: 65px; height: 21px; }
.ana-table .ana-cell-wrap { max-width: 330px; white-space: normal; }
.ana-rank { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; border: 1px solid #e4eadf; border-radius: 5px; color: #92a28b; font-size: 9px; margin-right: 11px; background: #f8fbf5; }
.ana-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 4px; color: #4f8173; background: #edf5ee; font-size: 9px; font-weight: 550; white-space: nowrap; }
.ana-tag.orange { background: #fff1e5; color: #b77c48; }
.ana-tag.red { background: #fff0ec; color: #b86658; }
.ana-tag.blue { background: #edf3f8; color: #6f8daa; }
.ana-tag.gray { background: #eff2ed; color: #7c8e7b; }
.ana-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; color: #547e70; background: #edf5ee; font-size: 9px; font-weight: 570; white-space: nowrap; line-height: 1.5; }
.ana-pill.orange, .ana-pill.ana-warning { color: #b77c48; background: #fff1e5; }
.ana-pill.red, .ana-pill.ana-down { color: #b86658; background: #fff0ec; }
.ana-pill.blue { color: #6f8daa; background: #edf3f8; }
.ana-pill.gray, .ana-pill.ana-neutral { color: #7c8e7b; background: #eff2ed; }
.ana-ledger-type { display: inline-flex; align-items: center; gap: 7px; color: #6b8277; font-size: 11px; white-space: nowrap; }
.ana-ledger-type::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #8caf9b; }
.ana-ledger-type.orange::before, .ana-ledger-type.adjust::before { background: #d99b5f; }
.ana-ledger-type.red::before, .ana-ledger-type.waste::before { background: #c77c6d; }
.ana-ledger-type.blue::before, .ana-ledger-type.transfer::before { background: #8ba7c0; }
.ana-snapshot-label { color: #8d9b90; font-size: 9px; letter-spacing: .15px; line-height: 1.6; }
.ana-focus-controls { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ana-focus-controls button { padding: 7px 10px; font-size: 10px; border: 1px solid #e1e8dc; border-radius: 5px; color: #69876d; background: #f8fbf4; min-height: 31px; }
.ana-focus-controls button:hover { border-color: #bdd0bd; color: #325d4c; background: #f0f6eb; }
.ana-focus-controls button.active, .ana-focus-controls button[aria-pressed="true"] { border-color: #406b5e; color: #fff; background: #406b5e; }
.ana-summary-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.ana-summary-list > li, .ana-summary-list > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid #edf1e7; padding: 13px 0; font-size: 11px; line-height: 1.6; color: #718878; }
.ana-summary-list > li:first-child, .ana-summary-list > div:first-child { padding-top: 3px; }
.ana-summary-list > li:last-child, .ana-summary-list > div:last-child { border-bottom: 0; padding-bottom: 2px; }
.ana-summary-list strong { font-size: 13px; color: #2e5655; font-weight: 590; }
.ana-summary-list small { display: block; color: #8d9e89; font-size: 9px; line-height: 1.6; margin-top: 3px; }
.ana-progress { height: 6px; width: 100%; border-radius: 5px; overflow: hidden; background: #edf2e8; }
.ana-progress > span { display: block; height: 100%; background: #6a9c87; border-radius: 5px; }
.ana-progress.orange > span { background: #dba264; }
.ana-progress.blue > span { background: #83a3b9; }
.ana-chart-values { margin-top: 17px; padding-top: 12px; border-top: 1px solid #edf1e7; }
.ana-chart-values > summary { color: #819780; font-size: 10px; cursor: pointer; line-height: 1.6; }
.ana-chart-values > summary:hover { color: #bf7d47; }
.ana-chart-values .ana-table-wrap { max-height: 260px; margin-top: 10px; border: 1px solid #e5edde; border-radius: 6px; }
.ana-chart-values .ana-table th { font-size: 8px; padding: 10px 12px; }
.ana-chart-values .ana-table td { font-size: 10px; padding: 10px 12px; }
.ana-sort { color: inherit; background: transparent; padding: 0; font-size: inherit; font-weight: inherit; display: inline-flex; align-items: center; gap: 4px; }
.ana-sort .icon { width: 11px; height: 11px; }
.ana-health { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #6c8b79; white-space: nowrap; }
.ana-health-dot { width: 6px; height: 6px; background: #6fa885; border-radius: 50%; }
.ana-health.orange .ana-health-dot { background: #ddb168; }
.ana-health.red .ana-health-dot { background: #c57467; }
.ana-pagination { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 15px 24px; border-top: 1px solid #e9eee4; color: #8a9a88; font-size: 10px; }
.ana-pagination-controls { display: flex; gap: 6px; align-items: center; }
.ana-pagination-controls button { min-width: 30px; height: 30px; background: #f8faf5; border: 1px solid #e1e8dc; color: #6c8361; border-radius: 5px; font-size: 10px; }
.ana-pagination-controls button.active { color: white; background: #294952; border-color: #294952; }
.ana-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 21px; text-align: center; min-height: 190px; }
.ana-empty .icon { width: 26px; height: 26px; color: #a3b6a3; margin-bottom: 12px; }
.ana-empty h3 { color: #6d8673; font-size: 14px; font-weight: 550; margin-bottom: 8px; }
.ana-empty > strong { color: #6d8673; font-size: 14px; font-weight: 550; margin-bottom: 8px; }
.ana-empty p { color: #8a9c8b; font-size: 11px; max-width: 380px; line-height: 1.8; }
.ana-note { color: #7a8c7c; font-size: 10px; line-height: 1.85; border: 1px solid #e3ebdf; background: #f5f8f0; padding: 13px 17px; border-radius: 8px; margin-bottom: 17px; }
.ana-note strong { color: #607765; font-weight: 620; }
.ana-warning { background: #fff6e9; color: #997646; border-color: #efdfc1; }
.ana-page > .ana-warning { padding: 16px 19px; border: 1px solid #efdfc1; border-radius: 9px; margin-bottom: 18px; font-size: 11px; line-height: 1.7; }
.ana-page > .ana-warning strong { font-weight: 620; }
.ana-page > .ana-warning p { margin: 5px 0; }
.ana-page > .ana-warning summary { font-size: 10px; margin-top: 7px; cursor: pointer; }
.ana-page > .ana-warning ul { margin: 9px 0 0; padding-left: 17px; }
.ana-page > .ana-warning li + li { margin-top: 5px; }
.ana-page #ana-tab-content > .ana-warning { padding: 16px 19px; border: 1px solid #efdfc1; border-radius: 9px; margin-bottom: 18px; font-size: 11px; line-height: 1.7; }
.ana-page #ana-tab-content > .ana-warning p { margin-top: 5px; }
.ana-pill.ana-pill-warn { color: #b77c48; background: #fff1e5; }
.ana-pill.ana-pill-good { color: #547e70; background: #edf5ee; }
.ana-footnote { padding: 16px 1px 0; display: flex; gap: 22px; justify-content: space-between; color: #84957e; font-size: 9px; line-height: 1.8; border-top: 1px solid #e5eadf; margin-top: 22px; }
.ana-footnote > span:first-child { max-width: 780px; }
.ana-footnote > span:last-child { min-width: 180px; max-width: 250px; }
.ana-scenario-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 5px 0 19px; }
.ana-scenario-field { display: flex; flex-direction: column; gap: 8px; font-size: 10px; color: #6d857b; font-weight: 570; min-width: 0; }
.ana-scenario-field input, .ana-scenario-field select, .ana-scenario-grid .ana-filter-field input, .ana-scenario-grid .ana-filter-field select { border: 1px solid #dce7dd; background: #f7faf4; color: #315c55; font-size: 14px; padding: 11px 13px; border-radius: 7px; min-height: 43px; width: 100%; font-variant-numeric: tabular-nums; }
.ana-scenario-grid .ana-filter-field { min-width: 0; }
.ana-scenario-field small { color: #8d9e88; font-size: 9px; font-weight: 450; line-height: 1.6; }
.ana-scenario-output { padding: 19px 21px; border: 1px solid #d8e6d8; border-radius: 9px; background: linear-gradient(110deg, #eef5e8, #f8faf3); color: #466c56; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 17px; }
.ana-scenario-output > div > span { font-size: 10px; line-height: 1.6; color: #61736b; }
.ana-scenario-output > div + div { border-left: 1px solid #dce7d5; padding-left: 19px; }
.ana-scenario-output strong { display: block; font-size: 25px; letter-spacing: -.7px; line-height: 1.25; color: #365b4c; font-weight: 550; margin-top: 7px; }
.ana-scenario-label { color: #7b9374; font-size: 10px; line-height: 1.6; }
.ana-scenario-output small { display: block; color: #8d9f80; font-size: 9px; line-height: 1.6; margin-top: 5px; }
.ana-definition-list { color: #61736b; font-size: 11px; line-height: 1.9; padding-left: 18px; margin: 1px 0 18px; }
.ana-definition-list li + li { margin-top: 7px; }
.ana-definitions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 29px; margin: 2px 0; }
.ana-definitions > div { border-top: 1px solid #e4ede0; padding-top: 15px; }
.ana-definitions dt { color: #3c6252; font-size: 12px; font-weight: 620; line-height: 1.5; }
.ana-definitions dd { margin: 7px 0 0; color: #61736b; font-size: 11px; line-height: 1.9; }
.ana-source-note { padding: 15px 1px 0; display: flex; gap: 20px; justify-content: space-between; color: #97a392; font-size: 9px; line-height: 1.8; border-top: 1px solid #e5eadf; margin-top: 22px; }
.ana-source-note strong { font-weight: 500; color: #758a6e; }
.ana-definition { border-top: 1px solid #ecf1e6; padding: 15px 0 2px; margin-top: 18px; font-size: 10px; line-height: 1.8; color: #889a81; }
.ana-definition summary { color: #627f60; font-size: 11px; cursor: pointer; font-weight: 560; }
.ana-definition dl { display: grid; grid-template-columns: 150px 1fr; gap: 9px 19px; margin: 14px 0 7px; }
.ana-definition dt { color: #668267; font-weight: 560; }
.ana-definition dd { margin: 0; color: #84967b; }
.ana-modal { width: min(95vw, 1120px); }
.ana-modal { --ana-orange: #e87939; --ana-ink: #172e39; --ana-line: #e4e9e5; --ana-muted: #657578; --ana-radius: 15px; }
.ana-modal .modal-body { padding: 24px; }
.ana-modal .ana-kpis { margin-bottom: 19px; gap: 12px; }
.ana-modal .ana-kpi { padding: 17px; }
.ana-modal .ana-kpi-value { font-size: 25px; }
.ana-modal .ana-table-wrap { max-height: 420px; border: 1px solid #e2eadd; border-radius: 9px; }
.ana-compact .ana-kpi { padding: 16px 18px; }
.ana-compact .ana-kpi-value { margin-top: 10px; font-size: 28px; }
.ana-compact .ana-card-head { padding-top: 18px; padding-bottom: 13px; }
.ana-compact .ana-table td { padding-top: 10px; padding-bottom: 10px; }
.modal:has(.ana-drilldown) { width: min(95vw, 1100px); }
.ana-drilldown .ana-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.ana-drilldown .ana-chart-values { margin: 17px 0; }
.ana-drilldown .ana-chart-values .ana-table-wrap { max-height: 400px; }
.ana-pagination > div:last-child { display: flex; align-items: center; gap: 11px; }
.ana-pagination .btn { min-height: 30px; padding: 7px 10px; font-size: 10px; }
.ana-print-only { display: none; }
/* Small financial labels stay readable without competing with the data. */
.ana-tab, .ana-tabs button, .ana-kpi-sub, .ana-kpi-note,
.ana-card-head p, .ana-card-head .ana-eyebrow, .ana-card-foot,
.ana-card-stat small, .ana-legend-item, .ana-donut-center span,
.ana-donut-legend .ana-legend-item > small, .ana-bar-caption,
.ana-breakdown span, .ana-heatmap-label, .ana-heatmap-hour,
.ana-heat-head, .ana-heat-label, .ana-heatmap-legend,
.ana-section-title p, .ana-table-tools label, .ana-table-toolbar label,
.ana-table td small, .ana-rank, .ana-summary-list small,
.ana-chart-values > summary, .ana-pagination, .ana-empty p,
.ana-note, .ana-source-note, .ana-footnote, .ana-definition,
.ana-definition dd, .ana-snapshot-label, .ana-scenario-field small,
.ana-scenario-label, .ana-scenario-output small { color: #61736b; }
.ana-toolbar > .ana-toolbar-actions > .ana-note { color: #61736b; }
.ana-card .ana-eyebrow { color: #61736b; }
.ana-chart-axis, .ana-axis { fill: #61736b; }
.ana-chart-label { fill: #526b60; }
.ana-page .ana-table th { color: #59735c; }
.ana-up, .ana-kpi-delta, .ana-kpi-delta.ana-up { color: #386c59; }
.ana-down, .ana-kpi-delta.ana-down { color: #9f5244; }
.ana-neutral, .ana-kpi-delta.ana-neutral { color: #61716a; }
.ana-pill, .ana-pill.ana-pill-good, .ana-tag { color: #3e6959; }
.ana-pill.orange, .ana-pill.ana-warning, .ana-pill.ana-pill-warn,
.ana-tag.orange { color: #9a622f; }
.ana-pill.red, .ana-pill.ana-down, .ana-tag.red { color: #9f5144; }
.ana-pill.blue, .ana-tag.blue { color: #4d6e8e; }
.ana-pill.gray, .ana-pill.ana-neutral, .ana-tag.gray { color: #61716a; }
.ana-insight-top, .ana-insight p { color: #587363; }
.ana-insight.orange .ana-insight-top, .ana-insight.orange p { color: #816245; }
.ana-insight.blue .ana-insight-top, .ana-insight.blue p { color: #536f7b; }
.ana-warning, .ana-page > .ana-warning { color: #886335; }
.ana-empty > strong, .ana-empty h3 { color: #587363; }
@media (min-width: 1700px) {
  .ana-hero { padding: 39px 42px; gap: 49px; }
  .ana-kpis { gap: 19px; }
  .ana-kpi { padding: 24px; }
  .ana-kpi-value { font-size: 37px; }
  .ana-card-head { padding: 25px 28px 19px; }
  .ana-card-body { padding: 6px 28px 26px; }
  .ana-grid { gap: 23px; }
}
@media (max-width: 1200px) {
  .ana-hero { gap: 25px; padding: 30px; grid-template-columns: minmax(0, 1fr) 250px; }
  .ana-hero-title, .ana-hero h2 { font-size: 31px; }
  .ana-hero-side { padding-left: 24px; }
  .ana-kpis { gap: 12px; }
  .ana-kpi { padding: 19px 17px; }
  .ana-kpi-value { font-size: 28px; }
  .ana-kpi-label { font-size: 10px; }
  .ana-kpi-sparkline { width: 61px; }
  .ana-card-head { padding: 20px 21px 16px; }
  .ana-card-body { padding: 3px 21px 20px; }
  .ana-grid { gap: 16px; }
  .ana-donut-layout { grid-template-columns: 1fr; gap: 16px; }
  .ana-donut { max-width: 210px; }
  .ana-donut-list { gap: 10px; }
  .ana-insights { gap: 11px; }
  .ana-insight { padding: 18px; }
  .ana-insight h3 { font-size: 14px; }
}
@media (max-width: 900px) {
  .ana-hero { grid-template-columns: minmax(0, 1fr) minmax(200px, .72fr); padding: 28px; gap: 22px; }
  .ana-hero-title, .ana-hero h2 { font-size: 29px; letter-spacing: -.9px; }
  .ana-hero-subtitle, .ana-hero-copy > p { font-size: 12px; }
  .ana-hero-number { font-size: 37px; }
  .ana-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .ana-kpi { padding: 20px; }
  .ana-kpi-value { font-size: 31px; }
  .ana-kpi-label { font-size: 11px; }
  .ana-kpi-sparkline { width: 80px; }
  .ana-span-9, .ana-span-8, .ana-span-7 { grid-column: span 12; }
  .ana-span-6, .ana-span-5, .ana-span-4, .ana-span-3 { grid-column: span 6; }
  .ana-insights { grid-template-columns: 1fr; gap: 11px; }
  .ana-insight { padding: 19px 22px; }
  .ana-insight h3 { font-size: 15px; }
  .ana-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ana-toolbar-actions { margin-left: 0; }
  .ana-donut-layout { grid-template-columns: 1fr; }
  .ana-donut-list .ana-legend-item { font-size: 10px; }
  .ana-source-note { flex-direction: column; gap: 8px; }
  .ana-footnote { flex-direction: column; gap: 8px; }
  .ana-footnote > span:last-child { max-width: none; }
  .ana-scenario-grid, .ana-scenario-output { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ana-scenario-output > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ana-modal .ana-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ana-hero { grid-template-columns: 1fr; gap: 22px; padding: 26px 23px; border-radius: 14px; margin-bottom: 16px; }
  .ana-hero-title, .ana-hero h2 { font-size: 30px; line-height: 1.16; max-width: 340px; }
  .ana-hero-subtitle, .ana-hero-copy > p { font-size: 12px; }
  .ana-hero-side { padding: 21px 0 0; border-left: 0; border-top: 1px solid #ffffff16; }
  .ana-hero-number { font-size: 38px; margin: 12px 0 5px; }
  .ana-hero-mini { margin-top: 16px; padding-top: 14px; }
  .ana-hero-mini strong { font-size: 18px; }
  .ana-toolbar { padding: 15px; gap: 15px; border-radius: 10px; }
  .ana-toolbar-main, .ana-toolbar-top, .ana-toolbar-actions { width: 100%; }
  .ana-periods { max-width: 100%; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .ana-periods button { padding: 8px 5px; font-size: 10px; min-width: 0; }
  .ana-toolbar-actions .btn { flex: 1; font-size: 11px; padding: 9px 10px; min-height: 38px; }
  .ana-toolbar label, .ana-filter-field { flex: 1; min-width: 125px; font-size: 10px; }
  .ana-toolbar input, .ana-toolbar select { min-height: 40px; font-size: 12px; width: 100%; }
  .ana-filter-grid { gap: 12px 10px; padding-top: 13px; }
  .ana-filter-grid label { min-width: 0; }
  .ana-toolbar label.ana-compare { padding-bottom: 8px; font-size: 10px; }
  .ana-filter-row { width: 100%; }
  .ana-tabs { gap: 3px; margin-bottom: 16px; padding-bottom: 10px; }
  .ana-tab, .ana-tabs button { font-size: 11px; min-height: 38px; padding: 10px 12px; gap: 6px; }
  .ana-tabs .icon { width: 14px; height: 14px; }
  .ana-kpis { gap: 10px; margin-bottom: 17px; }
  .ana-kpi { padding: 16px; border-radius: 10px; }
  .ana-kpi-label { font-size: 10px; }
  .ana-kpi-icon { height: 25px; width: 25px; border-radius: 6px; }
  .ana-kpi-icon .icon { width: 13px; height: 13px; }
  .ana-kpi-value { font-size: 28px; margin: 12px 0 9px; }
  .ana-kpi-sub, .ana-kpi-note { font-size: 9px; }
  .ana-kpi-sparkline { width: 56px; height: 23px; }
  .ana-kpi-bottom { gap: 7px; align-items: flex-start; }
  .ana-kpi-delta { font-size: 9px; padding: 3px 5px; }
  .ana-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 17px; }
  .ana-grid > * { grid-column: span 1; }
  .ana-card { border-radius: 12px; }
  .ana-card-head { padding: 20px 19px 16px; gap: 12px; }
  .ana-card-head h2, .ana-card-head h3 { font-size: 15px; }
  .ana-card-head p { font-size: 10px; }
  .ana-card-stat { font-size: 21px; }
  .ana-card-body { padding: 2px 19px 21px; }
  .ana-card-foot { padding: 11px 19px; font-size: 9px; flex-wrap: wrap; gap: 7px; }
  .ana-legend { gap: 9px 14px; }
  .ana-legend-item { font-size: 9px; }
  .ana-chart-tall { min-height: 190px; }
  .ana-chart-compact { min-height: 170px; }
  .ana-donut-layout { grid-template-columns: minmax(145px, 1fr) minmax(0, 1fr); gap: 15px; }
  .ana-donut { max-width: 195px; }
  .ana-donut-center strong { font-size: 22px; }
  .ana-donut-list { gap: 13px; }
  .ana-donut-list .ana-legend-item { font-size: 10px; gap: 6px; }
  .ana-donut-list strong { font-size: 10px; }
  .ana-insights { margin-bottom: 17px; }
  .ana-insight { padding: 18px 20px; }
  .ana-card .ana-insights { grid-template-columns: 1fr; }
  .ana-section-title { padding: 3px 0 15px; }
  .ana-section-title h2 { font-size: 16px; }
  .ana-section-title p { font-size: 10px; }
  .ana-table-tools { padding: 0 19px 16px; gap: 10px; }
  .ana-table-toolbar { padding: 0 19px 16px; gap: 10px; }
  .ana-table-toolbar input[type="search"] { min-width: 100%; width: 100%; }
  .ana-search { min-width: 100%; width: 100%; }
  .ana-table th { font-size: 9px; padding: 12px 15px; }
  .ana-table td { padding: 14px 15px; font-size: 11px; }
  .ana-table td small { font-size: 10px; }
  .ana-table-wrap { max-height: 490px; }
  .ana-pagination { padding: 13px 19px; font-size: 9px; flex-wrap: wrap; }
  .ana-pagination-controls { gap: 5px; }
  .ana-pagination > div:last-child { gap: 8px; }
  .ana-note { font-size: 10px; padding: 12px 14px; }
  .ana-definition dl { grid-template-columns: 1fr; gap: 4px; }
  .ana-definition dd { margin-bottom: 8px; }
  .ana-modal .modal-body { padding: 19px; }
  .ana-modal .ana-kpi { padding: 14px; }
  .ana-modal .ana-kpi-value { font-size: 22px; }
  .ana-drilldown .ana-kpis { grid-template-columns: 1fr; }
  .ana-scenario-grid { grid-template-columns: 1fr; gap: 13px; }
  .ana-scenario-output { padding: 17px; gap: 13px; grid-template-columns: 1fr; }
  .ana-scenario-output > div + div { border-left: 0; padding-left: 0; padding-top: 13px; border-top: 1px solid #dce7d5; }
  .ana-scenario-output strong { font-size: 27px; }
  .ana-definitions { grid-template-columns: 1fr; gap: 17px; }
}
@media (max-width: 380px) {
  .ana-kpi { padding: 14px 12px; }
  .ana-kpi-value { font-size: 25px; }
  .ana-kpi-bottom { flex-wrap: wrap; }
  .ana-kpi-icon { width: 23px; height: 23px; }
  .ana-donut-layout { grid-template-columns: 1fr; }
  .ana-donut-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 13px; }
  .ana-hero-title, .ana-hero h2 { font-size: 27px; }
  .ana-periods button { padding: 8px 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ana-page *, .ana-page *::before, .ana-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body:has(.ana-page) { background: white; }
  body:has(.ana-page) .sidebar, body:has(.ana-page) .topbar,
  body:has(.ana-page) .preview-banner, body:has(.ana-page) .workspace-footer,
  body:has(.ana-page) .page-heading, body:has(.ana-page) .header-actions,
  body:has(.ana-page) .toast-container { display: none !important; }
  body:has(.ana-page) .workspace-main { margin-left: 0; width: 100%; }
  body:has(.ana-page) .page-container { padding: 0; max-width: none; }
  .ana-page { color: #172e39; font-size: 11px; padding: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ana-toolbar, .ana-tabs, .ana-pagination-controls, .ana-card-head button,
  .ana-hero-actions, .ana-table-tools, .ana-table-toolbar, .ana-focus-controls, .ana-page .ana-no-print { display: none !important; }
  .ana-print-only { display: block; }
  .ana-hero { border-radius: 0; padding: 23px 25px; margin-bottom: 17px; box-shadow: none; break-inside: avoid; }
  .ana-hero::before, .ana-hero::after { display: none; }
  .ana-hero-title, .ana-hero h2 { font-size: 26px; }
  .ana-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .ana-kpi { padding: 13px; border-radius: 5px; break-inside: avoid; }
  .ana-kpi-value { font-size: 24px; }
  .ana-kpi-icon { display: none; }
  .ana-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 13px; }
  .ana-grid > .ana-span-8 { grid-column: span 8; }
  .ana-grid > .ana-span-4 { grid-column: span 4; }
  .ana-grid > .ana-span-6 { grid-column: span 6; }
  .ana-grid > .ana-span-12 { grid-column: span 12; }
  .ana-card { break-inside: avoid; border-radius: 5px; box-shadow: none; }
  .ana-card-head { padding: 14px 17px 10px; }
  .ana-card-head h2, .ana-card-head h3 { font-size: 13px; }
  .ana-card-body { padding: 1px 17px 14px; }
  .ana-card-foot { padding: 9px 17px; font-size: 8px; }
  .ana-chart-tall, .ana-chart-compact { min-height: 0; }
  .ana-chart svg { max-height: 235px; }
  .ana-donut-layout { grid-template-columns: 1fr; }
  .ana-donut { max-width: 155px; }
  .ana-donut-list { gap: 7px; }
  .ana-insights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .ana-insight { padding: 13px; border-radius: 5px; break-inside: avoid; }
  .ana-insight h3 { font-size: 12px; }
  .ana-insight p { font-size: 9px; }
  .ana-table-wrap { overflow: visible; max-height: none; }
  .ana-table { white-space: normal; }
  .ana-table thead { display: table-header-group; }
  .ana-table th { position: static; font-size: 8px; padding: 9px 10px; }
  .ana-table td { font-size: 9px; padding: 9px 10px; }
  .ana-table td small { font-size: 8px; }
  .ana-table tr { break-inside: avoid; }
  .ana-heatmap-wrap { overflow: visible; }
  .ana-source-note { color: #73826f; font-size: 8px; }
}
