.performance.report-shell {
  --report-ink: #142e2a;
  --report-muted: #516460;
  --report-line: #dce6e0;
  background: #f7faf8;
  border: 1px solid var(--report-line);
  border-radius: 18px;
  padding: clamp(16px,3vw,28px);
}
.report-shell .report-heading {display:flex;justify-content:space-between;align-items:baseline;gap:8px 18px;flex-wrap:wrap}
.report-shell .report-heading h2 {margin:0;color:var(--report-ink);font-size:clamp(1.15rem,2vw,1.5rem);letter-spacing:-.02em}
#reportScope {margin:0 0 12px;color:var(--report-muted);font-size:.85rem}
.report-shell nav [data-period] {background:#fff;border:1px solid #cbdbd2;color:#254d40;border-radius:999px}
.report-shell nav [data-period]:hover {background:#e6f1eb}
#inspectionYearTrends { margin:16px 0 }
#inspectionYearTrends > section { padding:0; border:0; background:transparent; box-shadow:none }
.hq-year-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr)); gap:12px }
.hq-year-chart { min-width:0; margin:0; padding:14px; border:1px solid #dce6e0; border-radius:14px; background:#fff }
.hq-year-chart h3 { margin:0 0 8px; color:#173631; font-size:1rem }
.hq-year-frame { overflow-x:auto }
.hq-year-frame svg { display:block; width:100%; min-width:385px; font-size:12px; fill:#526662 }
.hq-year-frame .year-gridline { stroke:#dce6e0 }
.hq-year-series path { stroke:var(--year-color); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round }
.hq-year-series circle { fill:var(--year-color) }
.hq-year-legend { display:flex; flex-wrap:wrap; gap:8px 20px; color:#254d40; font-weight:650 }
.hq-year-legend span { display:inline-flex; align-items:center; gap:7px }
.hq-year-legend span::before { content:''; width:24px; border-top:3px solid var(--year-color) }
.series-0 { --year-color:#166b55 }
.series-1 { --year-color:#315e9c }
.series-2 { --year-color:#a45024 }
.hq-year-series.series-1 path { stroke-dasharray:7 4 }
.hq-year-series.series-2 path { stroke-dasharray:2 5 }
.hq-year-legend .series-1::before { border-top-style:dashed }
.hq-year-legend .series-2::before { border-top-style:dotted }
.hq-year-note { color:#526662; font-size:.88rem }
.hq-year-chart summary { cursor:pointer; font-size:.88rem; color:#254d40 }

.report-shell .report-metric,.report-shell .report-breakdown {
  min-width:0;background:#fff;border:1px solid var(--report-line);border-radius:14px;padding:16px;margin:0;
  box-shadow:0 3px 12px #223b2d09
}
.report-metric h3,.report-breakdown h3,.report-person h3,#employeeTaskDetails h3 {margin:0;color:#173631;font-size:1rem;line-height:1.25}
.report-value {display:block;color:#165b4d;font-size:clamp(1.5rem,2.8vw,2.4rem);letter-spacing:-.04em;line-height:1.15;font-variant-numeric:tabular-nums;margin:10px 0 5px}
.report-metric p,.report-period,.report-goal p {margin:4px 0;color:#526662;font-size:.83rem}
.report-delta,.report-task-status {display:inline-flex;background:#edf2ef;color:#36564c;border-radius:999px;padding:3px 8px;margin-top:5px;font-size:.76rem;font-weight:650}
.report-delta.up,.report-task-status.up {background:#e3f1e7;color:#225f3f}
.report-delta.down,.report-task-status.down {background:#fff0e6;color:#884521}

.report-ranking {list-style:none;margin:14px 0 0;padding:0}
.report-ranking li {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px;margin:10px 0}
.report-bar-name,.report-ranking li strong {font-size:.85rem}
.report-ranking li strong {font-variant-numeric:tabular-nums;color:#214d43}
.report-bar {grid-column:1/-1;display:block;background:#eaf0ed;height:7px;border-radius:10px;overflow:hidden}
.report-bar span {display:block;height:100%;background:#447e71;border-radius:inherit}
[data-widget-key="sources"] .report-bar span {background:#4e7192}
.report-person {margin:0;border:1px solid #dce6e0;border-radius:14px;padding:16px;background:#fff}
.report-person-head,.report-goal-title {display:flex;gap:6px 14px;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
.report-person-head p {margin:5px 0 0;color:#526662;font-size:.85rem}
.report-person-totals {display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:7px;margin:14px 0}
.report-person-totals div {background:#edf5f0;border-radius:10px;padding:8px}
.report-person-totals strong,.report-person-totals span {display:block}
.report-person-totals strong {color:#165b4d;font-size:1.35rem;line-height:1.25;font-variant-numeric:tabular-nums}
.report-person-totals span {font-size:.76rem;color:#415851}
.report-goal {border-top:1px solid #e6eeea;padding:10px 0 2px}
.report-goal-title span {font-size:.82rem;color:#405952;font-variant-numeric:tabular-nums}
.report-goal progress {width:100%;height:9px;accent-color:#28745c;margin:4px 0}
#employeeTaskDetails:not(:empty) {margin-top:16px}
#employeeTaskDetails h3 {margin:0 0 7px}
#employeeTaskDetails .report-task-status {margin:0}

#teamActions:not(:empty) {margin:4px 0 14px}
.hq-team-editor {scroll-margin-block:85px 18px;margin:12px 0 16px;padding:15px;border:1px solid #bcd4c8;border-radius:12px;background:#f1f7f3}
.hq-team-editor h3 {margin:0 0 10px;color:#173631;font-size:1rem}
.hq-team-editor .hq-form {margin:0 0 8px}
.hq-team-editor .hq-form-status:empty {display:none}
.report-goal-title button,#employeeTaskDetails .hq-actions button {font-size:.78rem;padding:.35rem .6rem}
.report-shell {container-type:inline-size}
.report-shell #cards.report-widget-grid {
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;
  padding:0;border:0;margin-top:18px;align-items:start
}
.report-widget {min-width:0;grid-column:span 12;container-type:inline-size}
.report-widget>article,.report-widget>section {margin:0;width:100%;min-width:0}
.report-widget>section {background:#fff;border:1px solid #dce6e0;border-radius:14px;padding:16px}
.report-widget .report-metric {min-height:126px}
.report-widget .report-value {
  font-size:clamp(1.1rem,10.4cqi,2.2rem);letter-spacing:-.045em;max-width:100%;overflow-wrap:anywhere;
}
.report-widget[data-size="chart"] .report-breakdown {min-height:225px}
.report-widget-actions {display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}
.report-widget-actions button {padding:4px 7px;font-size:.72rem}
.report-empty {grid-column:1/-1;padding:18px 22px;background:#fff;border:1px dashed #b8cfc3;border-radius:12px}
@container (min-width:490px) {
  .report-widget[data-size="metric"] {grid-column:span 6}
}
@container (min-width:780px) {
  .report-widget[data-size="metric"] {grid-column:span 3}
  .report-widget[data-size="chart"] {grid-column:span 6}
}
#reportWidgetCatalog {width:min(610px,calc(100vw - 28px));max-height:85vh;padding:0;border:1px solid #cfddd4;border-radius:16px;background:#fcfdfc;color:#19332b}
#reportWidgetCatalog::backdrop {background:#102c25a1}
.report-dialog-head,.report-dialog-foot {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:#edf5f0}
.report-dialog-head h2 {margin:0}
.report-dialog-head {position:sticky;top:0;z-index:1;border-bottom:1px solid #dce6e0}
.report-dialog-foot {border-top:1px solid #dce6e0}
.report-widget-option {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 20px;border-bottom:1px solid #e5eee8}
.report-widget-option p {margin:3px 0 0;color:#526662;font-size:.84rem}
.hq-danger {color:#8f3829!important}
#employeeRemovedItems:not(:empty) {margin-top:18px}
.hq-desk-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:10px;margin:12px 0}
.hq-desk-grid .report-metric {margin:0;padding:12px;background:#f4f8f6;border:1px solid #dce6e0;border-radius:11px;min-width:0}
.hq-desk-grid .report-value {font-size:clamp(1.4rem,3vw,2rem)}
.hq-actions .hq-team-editor {flex:1 0 100%}
#sidebar [data-hq-group="settings"] {margin-top:auto}
#hqSectionNav {display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;padding:0 0 10px;border-bottom:1px solid #d9e4de}
#hqSectionNav[hidden] {display:none}
#hqSectionNav button {padding:7px 12px;border-radius:8px;border:1px solid transparent;background:transparent;color:#35564d}
#hqSectionNav button:hover {background:#e7f0eb}
#hqSectionNav button[aria-current="page"] {background:#e5f0e9;color:#173e31;border-color:#bcd3c5;font-weight:700}
@media(max-width:900px) {#sidebar [data-hq-group="settings"] {margin-top:0}}
.comparison-note {display:block;margin-top:3px;color:#5a6e65}
