
/* September dashboard refinements */
body .shell.dashboard-shell{max-width:none;width:100%;margin:0;padding:0}
.metrics .metric{text-align:center;display:flex;flex-direction:column;justify-content:center;gap:8px}
.dashboard-home-link{white-space:nowrap}.site-header .header-dashboard{margin-left:-12px}.header-dashboard summary{padding:10px}
.footer-brand .footer-mm{width:155px;height:155px;object-fit:contain;filter:invert(1);mix-blend-mode:screen}
.dashboard-shell main .controls.plan-actions{gap:12px;padding:18px 0;margin:6px 0 16px;align-items:center}
.plan-actions button{border:1px solid #d4e3ff50;box-shadow:inset 0 1px #ffffff20;background:#b8ceee20;color:#edf5ff}
.plan-actions #refresh-atp{background:#8ab8ff45}.plan-actions #delete-atp{background:#f29caa22}.plan-actions #deleted-atps{background:#dac8ee22}.plan-actions #edit-plan{background:#8edecb28}.plan-actions #recalculate{background:#f2d19626}.plan-actions #history{background:#b9a1f02b}.plan-actions #templates{background:#9fc9e62b}
.weekly-disclosure>summary{font-size:20px;font-weight:700;cursor:pointer;padding:4px 0 12px}.weekly-disclosure[open]>summary{margin-bottom:12px}
#weeks td{padding:6px 9px!important;font-size:12px}#weeks td button{padding:4px 12px;min-height:28px}#weeks tr td{background:color-mix(in srgb,var(--row-phase) 17%,#152131)!important}#weeks tr:nth-child(even) td{background:color-mix(in srgb,var(--row-phase) 23%,#152131)!important}
.race-entry{background:linear-gradient(130deg,#28508370,#17304b80)!important}.race-calendar-card{background:linear-gradient(130deg,#34465399,#192838b0)!important}
.race-card{border:1px solid #c1dbef25;border-radius:14px;background:#c4dbea0b;padding:14px;margin:12px 0}.race-card.priority-a,#event-list tr.priority-a td{background:#efb0a51c!important;border-color:#edbaab66}.race-card summary{cursor:pointer;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.race-card summary strong{flex:1}.race-card .race-facts{display:flex;gap:20px;flex-wrap:wrap;color:#bfcedd;margin-top:12px}.race-card p{white-space:pre-wrap}.race-countdown{color:#c6e6f8}.race-priority{border-radius:7px;background:#c9d5ed20;padding:4px 8px}
#event-list input[type=date]{min-width:135px}#event-list tr.race-detail-row td{padding:0 12px 14px}#event-list details summary{cursor:pointer}#event-list .fields{padding-top:14px}#event-list textarea{min-width:150px;min-height:70px}#race-form textarea{min-height:70px}
.zone-table tr[data-zone=Z5a] td{border-top:2px solid #a8e7c5!important;border-bottom:2px solid #a8e7c5!important;background:#8dcca921!important}.zone-table tr[data-zone=Z5a] td:first-child{border-left:2px solid #a8e7c5!important}.zone-table tr[data-zone=Z5a] td:last-child{border-right:2px solid #a8e7c5!important}
.performance-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}.performance-layout section{margin:0}.performance-chart{width:100%;height:190px;overflow:visible}.performance-chart text{fill:currentColor;font:12px system-ui}.history-controls{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.empty-state{padding:24px;border:1px dashed #bfd6ec40;border-radius:14px}.metric small{line-height:1.4}.metric strong{font-size:26px}.activity-list article{padding:16px 0;border-bottom:1px solid #d3deef25}.preserve-lines{white-space:pre-wrap}
@media print{body.print-zones{background:white!important;color:black!important}body.print-zones .site-header,body.print-zones .dashboard-sidebar,body.print-zones #mobile-drawer-toggle,body.print-zones main>*:not(#metrics):not(#zone-print-section){display:none!important}body.print-zones .shell,body.print-zones main{display:block!important;margin:0!important;padding:0!important}body.print-zones #zone-print-section,body.print-zones .metric{background:white!important;color:black!important;box-shadow:none!important;border:1px solid #aaa}body.print-zones button{display:none!important}body.print-zones table{width:100%!important;min-width:0!important}body.print-zones td,body.print-zones th{font-size:10px!important;color:black!important;background:white!important;padding:7px!important}body.print-zones #metrics{display:grid!important;grid-template-columns:repeat(5,1fr)!important}body.print-zones .metric strong{font-size:18px}body.print-zones .metric small{font-size:10px}body.print-zones .table-wrap{overflow:visible!important}}
.performance-layout h3{font-size:19px;line-height:1.35;margin:0 0 12px}.performance-layout section{padding:20px}.history-controls button{align-self:end}.race-detail-row details{padding:8px 0}#zone-comparison{margin:22px 0}.dashboard-shell .metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.controls.plan-actions #refresh-atp{color:#f0f6ff!important}#weeks td{padding:4px 9px!important}#weeks td button{min-height:24px;padding:3px 12px;font-size:11px}
@media print{.weekly-disclosure{display:block!important}.weekly-disclosure>summary{display:none}}
@media print{body.print-zones #metrics *{color:#111!important}body.print-zones table{white-space:normal!important}body.print-zones .metric{padding:10px!important;break-inside:avoid}body.print-zones #zone-print-section{break-inside:avoid}}
