/* Preview only: scoped to performance; financial data and chart geometry stay intact. */
body.performance-page-active {
  --perf-ink: #183b3a;
  --perf-muted: #526b70;
  --perf-rule: #dce6e5;
  --perf-accent: #0f6e56;
  --perf-panel-title-size: 18px;
  --perf-section-title-size: 17px;
  --perf-chart-title-size: 17px;
  background: #f3f7f7;
}
body.performance-page-active .bg-grid { opacity: .15; }
body.performance-page-active #performancePage { border-color: var(--perf-rule); box-shadow: none !important; }
body.performance-page-active #performancePage > .panel-header { min-height: 42px; background: #fff !important; border-bottom: 1px solid var(--perf-rule); }
body.performance-page-active .performance-filter-bar { background: #fff !important; padding: 12px 16px; box-shadow: none !important; backdrop-filter: none; }
body.performance-page-active .performance-filter-row:last-child { grid-template-columns: minmax(120px,.7fr) minmax(150px,1fr) minmax(160px,1fr) auto; gap: 16px; align-items: end; }
body.performance-page-active .performance-field label { color: var(--perf-muted) !important; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
body.performance-page-active .performance-field select,
body.performance-page-active .performance-field input { height: 36px; font-size: 13px; border: 1px solid #cadad7; border-radius: 6px; padding-inline: 10px; }
body.performance-page-active .performance-content { padding: 16px; max-width: 1900px; background: #f3f7f7; }
body.performance-page-active .transparent-perf-shell { padding: 0; gap: 16px; border: 0 !important; box-shadow: none !important; background: transparent !important; }
body.performance-page-active .leader-view-title { min-height: 26px; border: 0; align-items: center; gap: 12px; }
body.performance-page-active #leaderDataUpdateMeta { color: var(--perf-muted) !important; font-size: 12px !important; font-weight: 500; white-space: normal; text-align: right; }
body.performance-page-active .leader-chart-grid { gap: 16px !important; }
body.performance-page-active .leader-bubble-card,
body.performance-page-active .leader-treemap-card { padding: 16px; border: 1px solid var(--perf-rule) !important; border-radius: 8px; box-shadow: none !important; }
body.performance-page-active .leader-bubble-head { flex-direction: column !important; align-items: stretch; gap: 8px; min-height: 76px; margin-bottom: 10px; }
body.performance-page-active .leader-bubble-title { white-space: normal; overflow: visible; font-size: 16px !important; line-height: 1.45; font-weight: 700; }
body.performance-page-active .leader-bubble-sub { color: var(--perf-muted) !important; font-size: 12px !important; line-height: 1.5; margin-top: 4px; }
body.performance-page-active .leader-bubble-legend,
body.performance-page-active .leader-treemap-legend { max-width: none !important; justify-content: flex-start; gap: 6px 12px !important; }
body.performance-page-active .leader-bubble-legend-item,
body.performance-page-active .leader-treemap-legend { font-size: 11px !important; line-height: 1.5; }
body.performance-page-active .leader-bubble-legend { display: flex; flex-wrap: wrap; }
body.performance-page-active .leader-bubble-note,
body.performance-page-active .leader-treemap-note { font-size: 11px !important; line-height: 1.6; color: var(--perf-muted) !important; margin-top: 10px; }
body.performance-page-active .leader-bubble-chart-wrap { border: 0; box-shadow: none !important; }
body.performance-page-active .leader-related-panel { border: 0 !important; border-left: 1px solid var(--perf-rule) !important; border-radius: 0; box-shadow: none !important; padding: 0 0 0 12px; gap: 7px; }
body.performance-page-active .leader-related-title { font-size: 14px; font-weight: 700; padding-bottom: 6px; }
body.performance-page-active .leader-related-link { min-height: 30px; display: flex; align-items: center; font-size: 11px !important; line-height: 1.45; padding: 6px 7px; background: #f2f7f6 !important; border: 1px solid #e0eae7 !important; color: #24574c !important; border-radius: 5px; box-shadow: none !important; }
body.performance-page-active .leader-related-link:hover { background: #e4f1ec !important; border-color: #a9cebe !important; }
body.performance-page-active .transparent-lower-grid { gap: 16px; }
body.performance-page-active .transparent-section-title { min-height: 30px; margin-bottom: 8px; align-items: center; flex-wrap: wrap; line-height: 1.5; color: var(--perf-ink) !important; font-weight: 700; }
body.performance-page-active .transparent-section-title span:last-child { font-size: 11px; color: var(--perf-muted); font-weight: 500; }
body.performance-page-active .achievement-area-card,
body.performance-page-active .formula-card { padding: 14px; border: 1px solid var(--perf-rule) !important; box-shadow: none !important; border-radius: 8px; }
body.performance-page-active .leader-score-trend-chart { border: 0; box-shadow: none !important; }
body.performance-page-active .product-line-section { margin-top: 12px; gap: 8px; }
body.performance-page-active #productLineAnalysisMeta { max-width: 72%; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; text-align: right; }
body.performance-page-active .product-line-matrix .product-line-quadrant { fill: #42675f !important; opacity: 1; font-weight: 700; }
body.performance-page-active .product-line-matrix .product-line-suggestion { fill: #657b77 !important; opacity: 1; }
body.performance-page-active .product-line-matrix .product-line-axis-title,
body.performance-page-active .product-line-matrix .product-line-tick { fill: #526b70 !important; }
body.performance-page-active .product-line-grid { gap: 16px; }
body.performance-page-active .product-line-card { padding: 16px; border: 1px solid var(--perf-rule) !important; border-radius: 8px; box-shadow: none !important; }
body.performance-page-active .product-line-head { gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
body.performance-page-active .product-line-title { font-size: 16px; font-weight: 700; line-height: 1.5; white-space: normal; }
body.performance-page-active .product-line-sub { font-size: 12px; line-height: 1.6; color: var(--perf-muted) !important; max-width: 64ch; }
body.performance-page-active .product-line-view-toggle { background: #f1f5f4; border-color: var(--perf-rule); box-shadow: none; }
body.performance-page-active .product-line-view-btn { font-size: 12px; min-height: 32px; font-weight: 600; }
body.performance-page-active .product-line-head-actions { gap: 8px; }
body.performance-page-active .leader-view-tabs { padding: 3px; gap: 3px; background: #edf3f1; border-radius: 999px; }
body.performance-page-active .leader-view-tab { padding: 8px 12px; border: 0; background: transparent !important; font-weight: 600; font-size: 12px; box-shadow: none !important; }
body.performance-page-active .leader-view-tab.active,
body.performance-page-active .product-line-view-btn.active { background: var(--perf-accent) !important; color: #fff !important; box-shadow: none !important; }
body.performance-page-active .leader-data-table-wrap,
body.performance-page-active .product-line-table-wrap { border: 1px solid var(--perf-rule); box-shadow: none !important; }
body.performance-page-active .product-line-data-table { font-variant-numeric: tabular-nums; font-size: 12px; }
body.performance-page-active .product-line-data-table th { background: #f2f6f5; color: #355450; font-weight: 600; height: 40px; }
body.performance-page-active .product-line-data-table td { height: 42px; }
body.performance-page-active .product-line-data-table tbody tr:hover { background: #edf6f2; }
body.performance-page-active .product-line-detail-copy { font-size: 13px; line-height: 1.65; }
body.performance-page-active .product-line-detail-kpi b { font-variant-numeric: tabular-nums; }
body.performance-page-active .leader-view-tab,
body.performance-page-active .product-line-view-btn,
body.performance-page-active .leader-related-link { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
body.performance-page-active :is(button,a,input,select):focus-visible { outline: 2px solid #177e69; outline-offset: 3px; }
body.performance-page-active :is(.leader-view-tab,.product-line-view-btn):active { opacity: .85; }
/* Second pass: consistent surfaces, restrained accents and clearer reading rhythm. */
body.performance-page-active { --perf-ink: #233d42; --perf-muted: #5b7076; }
body.performance-page-active .performance-content { background: #eff4f5; padding-top: 20px; }
body.performance-page-active #performancePage > .panel-header { background: #f9fbfb !important; }
body.performance-page-active #performancePage > .panel-header .panel-title { font-weight: 700; color: #164c42 !important; }
body.performance-page-active #performancePage > .panel-header .panel-sub { color: #71888c !important; }
body.performance-page-active .performance-filter-bar { border-bottom-color: #dce7e7; }
body.performance-page-active .performance-field select,
body.performance-page-active .performance-field input { background: #f9fbfb !important; border-color: #d6e2e1 !important; }
body.performance-page-active .performance-field select:hover,
body.performance-page-active .performance-field input:hover { border-color: #93b8ae !important; }
body.performance-page-active .leader-view-title { padding: 0 0 4px; }
body.performance-page-active #leaderDataUpdateMeta { background: #e7eeef; padding: 5px 9px; border-radius: 5px; }
body.performance-page-active .leader-bubble-card,
body.performance-page-active .leader-treemap-card,
body.performance-page-active .product-line-card { border-color: #dae5e6 !important; box-shadow: 0 2px 5px rgba(35,61,66,.035) !important; background: #fff !important; }
body.performance-page-active .leader-bubble-head { border-bottom: 1px solid #edf2f2; padding-bottom: 12px; margin-bottom: 12px; }
body.performance-page-active .leader-bubble-title,
body.performance-page-active .product-line-title { color: #25484e !important; }
body.performance-page-active .leader-bubble-legend-item { padding: 2px 5px; border-radius: 4px; background: #f5f8f9; }
body.performance-page-active .leader-bubble-dot { box-shadow: none; }
body.performance-page-active .leader-related-panel { padding-left: 14px; }
body.performance-page-active .leader-related-title { color: #28574d !important; }
body.performance-page-active .leader-related-link { background: #f4f8f7 !important; border-color: transparent !important; }
body.performance-page-active .leader-related-row:nth-of-type(2n) .leader-related-link { background: #f0f5f9 !important; color: #395c7a !important; }
body.performance-page-active .leader-related-link:hover { background: #e0eee9 !important; color: #0f5b45 !important; }
body.performance-page-active .transparent-lower-grid { margin-top: 8px; }
body.performance-page-active .transparent-section-title { gap: 8px 16px; }
body.performance-page-active .transparent-section-title > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
body.performance-page-active .transparent-section-title > span:first-child::before { content: ''; width: 3px; height: 15px; background: #438476; border-radius: 2px; flex: none; }
body.performance-page-active .achievement-area-card,
body.performance-page-active .formula-card { border-color: #dae5e6 !important; background: #fff !important; }
body.performance-page-active .product-line-section { margin-top: 20px; }
body.performance-page-active .product-line-head { padding-bottom: 12px; border-bottom: 1px solid #edf2f2; }
body.performance-page-active #productLineAnalysisMeta { font-size: 11px; color: #667d82 !important; }
body.performance-page-active .product-line-view-toggle,
body.performance-page-active .leader-view-tabs { background: #eaf0ef; border-color: transparent; }
body.performance-page-active .product-line-data-table th { background: #edf4f2; color: #385d54; }
body.performance-page-active .product-line-data-table td { border-bottom-color: #edf2f2; color: #3c5258; }
body.performance-page-active .product-line-data-table tbody tr:nth-child(even) { background: #f7faf9; }
body.performance-page-active .product-line-table-name { color: #234d44; font-weight: 600; }
body.performance-page-active .product-line-heatmap { box-shadow: none !important; border-color: #e2e9e9 !important; }
body.performance-page-active .product-line-detail-kpi { background: #f4f8f7; border-color: #dce8e4; }
body.performance-page-active .product-line-detail-kpi span { color: #617773; }
body.performance-page-active .product-line-detail-kpi b { color: #234b40; }
@media (max-width: 1100px) {
 body.performance-page-active .performance-filter-row:last-child { gap: 10px; grid-template-columns: minmax(90px,.7fr) 1fr 1fr auto; }
 body.performance-page-active .leader-bubble-card,
 body.performance-page-active .leader-treemap-card,
 body.performance-page-active .product-line-card { padding: 12px; }
 body.performance-page-active .leader-treemap-layout { grid-template-columns: minmax(0,1fr) 170px !important; gap: 10px !important; }
 body.performance-page-active .leader-related-panel { width: 170px !important; }
 body.performance-page-active .leader-view-tab { padding-inline: 8px; }
}
@media (max-width: 760px) {
 body.performance-page-active .performance-filter-row:last-child { grid-template-columns: repeat(3,minmax(0,1fr)); }
 body.performance-page-active .leader-view-tabs { grid-column: 1/-1; justify-self: end; }
 body.performance-page-active .leader-chart-grid,
 body.performance-page-active .transparent-lower-grid,
 body.performance-page-active .product-line-grid { grid-template-columns: minmax(0,1fr) !important; }
 body.performance-page-active .leader-view-title { flex-wrap: wrap; }
 body.performance-page-active .performance-content { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 body.performance-page-active *,body.performance-page-active *::before,body.performance-page-active *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
