.performance-page { max-width: 1600px; margin: 12px auto 40px; display: grid; gap: 24px; font-size: 14px; }
.performance-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.performance-eyebrow { color: #40806a; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; }
.performance-heading h1 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.04em; margin-bottom: 10px; }
.performance-heading p { margin-bottom: 6px; }
.performance-year { width: 320px; max-width: 100%; }
.performance-year label { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.performance-year > div { display: flex; gap: 6px; }
.performance-year input[type=number] { min-width: 0; }
.performance-context { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-block: 1px solid #dbe5df; padding: 12px 0; font-size: 12px; color: #53665d; }
.performance-notice { background: #fff6e4; border-left: 3px solid #c89436; border-radius: 8px; padding: 14px 18px; color: #70551e; }
.performance-metrics, .performance-highlights { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0; }
.performance-metrics > div, .performance-highlights > div { background: white; padding: 22px; border: 1px solid #dce6e0; border-radius: 14px; min-width: 0; }
.performance-metrics dt, .performance-highlights dt { font-weight: 500; }
.performance-metrics small { display: block; font-size: 11px; color: #53665d; margin-top: 5px; }
.performance-metrics dd { margin: 20px 0 12px; font-weight: 700; font-size: clamp(22px,2.3vw,34px); letter-spacing: -.04em; white-space: nowrap; }
.performance-metrics dd small { display: inline; font-size: 16px; }
.performance-metrics p, .performance-highlights p { font-size: 11px; color: #53665d; margin: 0; }
.performance-metrics .performance-featured { background: #244e3d; color: white; border-color: #244e3d; }
.performance-featured small, .performance-featured p { color: #c6ded1; }
.performance-two-up { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.performance-panel { min-width: 0; background: white; border: 1px solid #dce6e0; padding: 24px; border-radius: 14px; }
.performance-panel h2 { font-size: 19px; letter-spacing: -.025em; margin-bottom: 7px; }
.performance-muted { font-size: 12px; color: #53665d; line-height: 1.6; }
.performance-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; font-size: 11px; color: #53665d; }
.performance-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: #3e8766; margin-right: 6px; }
.performance-legend i.previous { background: #cbdcd2; }
.performance-legend i.earlier { background: #9aaec7; }
.performance-legend i.redeemed, .performance-chart-track i.redeemed { background: #b48b45; }
.performance-chart { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 8px; margin-top: 20px; }
.performance-column { color: #63736b; font-size: 10px; text-align: center; position: relative; text-decoration: none; outline-offset: 4px; }
.performance-chart-pair { height: 190px; display: flex; justify-content: center; gap: 3px; border-bottom: 1px solid #dbe5df; margin-bottom: 10px; }
.performance-chart-track { position: relative; flex: 1; min-width: 0; height: 100%; background: #f6f9f7; border-radius: 4px 4px 0 0; }
.performance-chart-track i { position: absolute; bottom: 0; display: block; width: 100%; background: #3e8766; border-radius: 4px 4px 0 0; }
.performance-chart-track i.previous { background: #cbdcd2; }
.performance-chart-track i.earlier { background: #9aaec7; }
.performance-chart-track i.partial { background: repeating-linear-gradient(45deg,#91b6a2,#91b6a2 4px,#b9d0c2 4px,#b9d0c2 8px); }
.performance-chart-track i.previous.partial { background: repeating-linear-gradient(45deg,#b2c6bb,#b2c6bb 4px,#dbe6df 4px,#dbe6df 8px); }
.performance-chart-track i.earlier.partial { background: repeating-linear-gradient(45deg,#9aaec7,#9aaec7 4px,#c9d5e5 4px,#c9d5e5 8px); }
.performance-tooltip { display: none; z-index: 2; position: absolute; bottom: 35px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #244e3d; padding: 8px 12px; border-radius: 6px; color: white; font-size: 12px; }
.performance-column:hover .performance-tooltip, .performance-column:focus .performance-tooltip { display: block; }
.performance-chart-note { margin: 18px 0 0; }
.performance-period-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 12px; }
.performance-period-totals dt { font-size: 12px; font-weight: 500; color: #53665d; }
.performance-period-totals dd { margin: 6px 0; font-size: clamp(18px, 2vw, 28px); font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }
.performance-period-totals p { margin: 0; font-size: 11px; color: #53665d; }
.performance-period-differences { color: #244e3d; font-weight: 700; }
.performance-period-differences p { margin-bottom: 8px; }
.performance-highlights.performance-frontdesk-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
@media (max-width: 600px) { .performance-period-totals, .performance-highlights.performance-frontdesk-totals { grid-template-columns: 1fr; } }
.performance-highlights dd { font-size: 24px; font-weight: 700; letter-spacing: -.025em; margin: 12px 0; }
.performance-vouchers { width: 100%; max-width: 960px; justify-self: center; }
.performance-voucher-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.performance-voucher-heading h2 { margin: 0; }
.performance-voucher-heading span { display: block; color: #53665d; font-size: 11px; }
.performance-voucher-heading strong { display: block; font-size: 24px; color: #244e3d; }
.performance-voucher-heading .performance-negative { color: #ac4545; }
.performance-voucher-metrics { margin: 20px 0; }
.performance-voucher-metrics > div { background: #f6f9f7; padding: 14px; }
.performance-voucher-metrics dd { font-size: clamp(16px, 2vw, 24px); overflow-wrap: anywhere; }
.performance-voucher-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; max-width: 760px; margin: 16px auto 0; }
.performance-voucher-stack { position: relative; display: block; height: 200px; }
.performance-voucher-zero { position: absolute; left: -4px; right: -4px; top: 50%; border-top: 1px solid #aebeb3; }
.performance-voucher-stack > i { position: absolute; width: 26px; max-width: 70%; left: 50%; transform: translateX(-50%); }
.performance-voucher-sold { bottom: 50%; background: #3e8766; border-radius: 4px 4px 0 0; }
.performance-voucher-redeemed { top: 50%; background: #b48b45; border-radius: 0 0 4px 4px; }
.performance-voucher-stack > .performance-voucher-net-marker { width: 8px; height: 8px; background: white; border: 2px solid #244e3d; border-radius: 50%; transform: translate(-50%, 50%); }
.performance-legend i.performance-voucher-net-key { width: 8px; height: 8px; border: 2px solid #244e3d; border-radius: 50%; background: white; }
.performance-voucher-month { display: block; margin-top: 8px; font-size: 12px; }
.performance-voucher-net { display: block; margin-top: 5px; font-size: 12px; color: #244e3d; font-variant-numeric: tabular-nums; }
.performance-voucher-net.performance-negative { color: #ac4545; }
.performance-voucher-notes { color: #53665d; font-size: 12px; margin-top: 10px; }
.performance-voucher-notes summary { cursor: pointer; }
.performance-voucher-notes p { margin: 8px 0 0; }
.performance-vouchers .performance-tooltip { width: max-content; max-width: 240px; white-space: normal; text-align: left; }
.performance-vouchers .performance-column:nth-child(-n+6) .performance-tooltip { left: 0; transform: none; }
.performance-vouchers .performance-column:nth-child(n+7) .performance-tooltip { left: auto; right: 0; transform: none; }
@media (max-width: 600px) {
  .performance-highlights.performance-voucher-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .performance-voucher-chart { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 8px; }
  .performance-voucher-stack { height: 150px; }
  .performance-vouchers .performance-tooltip { max-width: 150px; }
  .performance-vouchers .performance-column:nth-child(6n+1) .performance-tooltip, .performance-vouchers .performance-column:nth-child(6n+2) .performance-tooltip, .performance-vouchers .performance-column:nth-child(6n+3) .performance-tooltip { left: 0; right: auto; transform: none; }
  .performance-vouchers .performance-column:nth-child(6n+4) .performance-tooltip, .performance-vouchers .performance-column:nth-child(6n+5) .performance-tooltip, .performance-vouchers .performance-column:nth-child(6n+6) .performance-tooltip { left: auto; right: 0; transform: none; }
}
.performance-breakdown { margin: 22px 0; }
.performance-breakdown > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e8eee9; padding: 13px 0; }
.performance-breakdown dt { font-weight: 400; }
.performance-breakdown dd { font-weight: 700; margin: 0; white-space: nowrap; }
.performance-horizontal { display: grid; grid-template-columns: 85px minmax(0,1fr) 55px; align-items: center; gap: 14px; margin: 16px 0; font-size: 12px; }
.performance-horizontal strong { text-align: right; font-variant-numeric: tabular-nums; }
.performance-horizontal-track { display: block; background: #eef4f0; border-radius: 4px; height: 9px; overflow: hidden; }
.performance-horizontal-track i { display: block; background: #79a88d; height: 100%; border-radius: 4px; }
.performance-service { grid-template-columns: minmax(100px,1fr) minmax(0,1fr) 65px; }
.performance-table { box-shadow: none; font-variant-numeric: tabular-nums; margin: 20px 0 0; }
.performance-table td { white-space: nowrap; }
.performance-table th[scope=row] { background: white !important; color: #344d40 !important; }
.performance-table tfoot { font-weight: 700; border-top: 2px solid #3e8766; }
.performance-table caption { font-size: 11px; color: #53665d; }
.performance-future { opacity: .5; }
.performance-negative { color: #ac4545; }
.performance-method p { font-size: 12px; line-height: 1.85; color: #62756a; }
.performance-empty { padding: 24px; background: #edf5ef; border: 1px dashed #a9c5b4; border-radius: 14px; }
.performance-empty p { margin: 8px 0 0; }
@media (max-width: 1100px) { .performance-metrics, .performance-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .performance-two-up { grid-template-columns: 1fr; } .performance-panel { padding: 18px; } .performance-chart { gap: 4px; } .performance-chart-pair { height: 155px; } .performance-metrics > div, .performance-highlights > div { padding: 16px; } .performance-page { gap: 18px; } }
@media (max-width: 420px) { .performance-metrics, .performance-highlights { grid-template-columns: 1fr; } }
.performance-result-track { position: relative; display: block; height: 170px; background: #f8faf8; margin-bottom: 10px; }
.performance-result-track::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; border-top: 1px solid #aebeb3; }
.performance-result-track i { display: block; position: absolute; width: 70%; left: 15%; border-radius: 3px; }
.performance-result-track .surplus { bottom: 50%; background: #3e8766; }
.performance-result-track .loss { top: 50%; background: #c07d72; }
.performance-reading { padding: 18px 22px; background: #eaf2ec; border-radius: 12px; }
.performance-reading strong { color: #244e3d; }
.performance-reading p { margin: 6px 0 0; color: #53685a; line-height: 1.6; }
.performance-outlook { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
@media (max-width: 760px) { .performance-outlook { grid-template-columns: 1fr; } }
.performance-hours-bar { display: block; position: relative; isolation: isolate; min-width: 150px; padding: 7px 10px; overflow: hidden; border-radius: 5px; background: #f0f5f2; color: #244e3d; font-variant-numeric: tabular-nums; }
.performance-hours-fill { position: absolute; inset: 0 auto 0 0; z-index: -1; background: #c7e0d0; }
.performance-hours-bar strong { position: relative; font-weight: 700; }
.performance-hours-comparison { display: grid; gap: 4px; min-width: 175px; }
.performance-hours-bar-previous { background: #f4f5f5; color: #53635b; }
.performance-hours-bar-previous .performance-hours-fill { background: #dfe5e1; }
.performance-hours-bar-previous strong { font-weight: 500; }
.performance-hours-difference { display: block; font-size: 11px; font-weight: 500; color: #536b5d; margin-top: 3px; white-space: normal; }
.performance-treatment-comparison { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, 1fr); align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e8eee9; }
.performance-treatment-comparison > div { min-width: 0; }
@media (max-width: 420px) { .performance-treatment-comparison { grid-template-columns: 1fr; gap: 8px; } }

.performance-voucher-history { scroll-margin-top: 24px; background: linear-gradient(135deg, #fff 55%, #edf5ef); }
.performance-trends { display: grid; gap: 24px; }
.performance-trend-scroll { overflow-x: auto; margin-top: 20px; }
.performance-trend-chart { display: block; width: 100%; min-width: 1100px; }
.performance-trend-grid { stroke: #dbe5df; stroke-width: 1; }
.performance-trend-axis { fill: #53665d; font-size: 11px; }
.performance-trend-year { fill: #244e3d; font-size: 16px; font-weight: 700; }
.performance-trend-average line { stroke: #b34c46; stroke-width: 2; stroke-dasharray: 5 5; }
.performance-trend-average text { fill: #983d38; font-size: 12px; font-weight: 700; }
.performance-trend-month:focus { outline: 2px solid #244e3d; }
