:root{color-scheme:light;--navy:#102e51;--navy2:#173d64;--red:#c41230;--red-dark:#a30928;--ink:#1a2940;--muted:#607089;--line:#dce4ec;--paper:#f4f6fa;--white:#fff;--gold:#b27823;--green:#237352;--blue:#376996;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.44}button,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #e7a92e;outline-offset:2px}[hidden]{display:none!important}
.app{max-width:1180px;margin:auto;min-height:100vh;background:var(--white);box-shadow:0 0 36px #152d4409}
.header{background:linear-gradient(135deg,var(--navy),#183f64);border-top:5px solid var(--red);color:white;display:flex;align-items:center;justify-content:space-between;padding:13px 23px;gap:16px}.brand{display:flex;align-items:center;gap:13px;min-width:0}.logo{display:block;width:59px;height:59px;object-fit:contain;background:white;border-radius:11px;border:2px solid #ffffffa8;flex:none;padding:3px}.brand-title{font-weight:900;font-size:21px;letter-spacing:-.02em}.brand-subtitle{font-size:12px;opacity:.78}.header-actions{display:flex;align-items:center;gap:10px}.icon-button{background:#ffffff16;color:#fff;border:1px solid #ffffff55;border-radius:10px;width:42px;height:42px;font-size:28px;line-height:1}.view-switch{color:#fff;text-decoration:none;border:1px solid #ffffff67;border-radius:10px;padding:9px 11px;font-size:12px;font-weight:750;white-space:nowrap}
main{padding:23px}.heading,.navigation,.toolbar,.day-header,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;color:var(--red);margin:0 0 3px}.heading h1{font-size:clamp(21px,4vw,29px);letter-spacing:-.03em;margin:0}.small-button,.nav-button{background:#fff;color:var(--navy);border:1px solid var(--line);border-radius:10px;padding:9px 13px;font-weight:800;white-space:nowrap}.navigation{margin:15px 0 14px}.nav-button{font-size:24px;min-width:44px;padding:3px 0}.freshness{font-size:12px;color:var(--muted);text-align:center}.freshness.stale{color:#a34c18;font-weight:750}.notice{padding:13px 15px;border-radius:11px;background:#fff7e9;border:1px solid #f4d6a4;color:#79511f;margin-bottom:13px;font-size:13px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat{background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--navy);border-radius:11px;padding:13px 16px}.stat:nth-child(2){border-top-color:var(--red)}.stat-number{font-size:29px;font-weight:900;line-height:1.12}.stat-label{font-size:12px;color:var(--muted);margin-top:2px}.toolbar{margin:19px 0 15px;align-items:center;flex-wrap:wrap}.tabs{background:#eef1f6;padding:4px;border-radius:11px;display:flex;gap:3px;min-width:0}.tab{font-size:13px;border:none;border-radius:8px;font-weight:800;padding:10px 16px;background:transparent;color:#5f6d80;white-space:nowrap}.tab.active{background:var(--navy);color:white;box-shadow:0 3px 10px #0c294025}.filterlabel{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-weight:750}select{max-width:146px;background:white;border:1px solid var(--line);border-radius:9px;padding:8px;color:var(--ink);font-weight:650}
.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.day{background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px 3px;min-width:0;text-align:center}.day.selected{border:2px solid var(--red);background:#fff0f2;padding:9px 2px}.day-name{font-size:10px;font-weight:900;color:var(--muted)}.day-number{font-size:23px;font-weight:900;margin:2px 0 4px}.day-count{font-size:11px;color:var(--muted)}.day.has-issues .day-count{color:var(--red-dark);font-weight:800}.day-details{margin-top:20px}.day-header{align-items:baseline;margin:0 0 12px}.day-header h2{margin:0;font-size:20px}.day-header .count{color:var(--muted);font-size:12px}.empty,.lane-empty{color:var(--muted);text-align:center;background:var(--paper);border-radius:11px;padding:25px 14px;font-size:13px}
.facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.facility-lane{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;min-width:0}.lane-away{grid-column:1/-1}.lane-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 13px;background:#ecf3fa;border-bottom:1px solid var(--line)}.lane-gym .lane-title{background:#fff0f3}.lane-away .lane-title{background:#f5f3ee}.lane-label{display:flex;align-items:center;gap:8px;min-width:0}.lane-icon{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:7px;background:#d7e4f0;color:var(--navy);font-size:17px;font-weight:900}.lane-gym .lane-icon{background:#fbd9e1;color:var(--red-dark)}.lane-away .lane-icon{background:#e8e2d4;color:#88621d}.lane-label h3{margin:0;color:var(--ink);font-size:14px}.lane-count{font-size:11px;color:var(--muted);font-weight:800;white-space:nowrap}.lane-items{display:grid;gap:7px;padding:8px}.lane-empty{padding:15px;font-size:12px;background:white}.event{display:flex;align-items:flex-start;gap:9px;padding:10px;border-radius:9px;border:1px solid #e5ebf1;background:white}.event .marker{width:4px;min-height:32px;align-self:stretch;border-radius:4px;flex:none;background:#9dafbf}.event.game .marker{background:var(--red)}.event.practice .marker{background:var(--green)}.event.note .marker{background:#d6a241}.event .body{flex:1;min-width:0}.event .name{font-weight:850;font-size:13px}.event .description{color:var(--muted);font-size:11px;margin-top:3px;white-space:pre-wrap;overflow-wrap:anywhere}.event .when{font-size:12px;font-weight:850;color:var(--navy);white-space:nowrap;min-width:53px;text-align:right}.meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.tag{font-size:10px;font-weight:750;color:#526176;border-radius:5px;background:#eff2f6;padding:3px 6px}
.section-heading{align-items:flex-start;flex-direction:column;gap:3px;margin:13px 0 16px}.section-heading h2{font-size:20px;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:0}.issue-card{padding:14px;border-radius:10px;border:1px solid #f1dbc0;border-left:4px solid var(--red);background:#fffdfb;margin:10px 0}.issue-date{font-size:11px;font-weight:850;color:var(--red-dark)}.issue-title{font-weight:800;font-size:14px;margin-top:3px}.issue-body{font-size:12px;color:var(--muted);margin:8px 0 12px}.approve{border:1px solid #c1daca;background:#ebf8f1;border-radius:8px;font-size:12px;font-weight:850;color:#176347;padding:8px 12px}.approve:disabled{opacity:.5}.approved-panel{border:1px solid var(--line);padding:14px;border-radius:11px;margin-top:17px}.approved-panel summary{cursor:pointer;font-weight:800;color:var(--navy)}.approved-item{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:9px 0;font-size:12px}.reopen{border:1px solid var(--line);border-radius:7px;background:white;padding:6px 10px;color:var(--navy);font-weight:800}
/* The overview is an intentionally compact operational snapshot. */
.overview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 0 10px}.overview-top h2{font-size:21px;margin:0}.overview-sub{font-size:12px;color:var(--muted)}.overview-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:15px}.overview-pill{border:1px solid var(--line);border-top:3px solid var(--navy);border-radius:10px;padding:10px 11px;background:#fff}.overview-pill:nth-child(2){border-top-color:var(--red)}.overview-pill:nth-child(3){border-top-color:#8c6b37}.overview-pill:nth-child(4){border-top-color:var(--green)}.overview-value{font-size:24px;font-weight:900;line-height:1.15}.overview-caption{font-size:11px;color:var(--muted);margin-top:3px}.overview-alert{border:1px solid #e9c2c8;background:#fff6f6;color:var(--red-dark);border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px;margin-bottom:13px}.overview-alert button{border:1px solid #e2b7c0;background:white;border-radius:8px;padding:7px 10px;color:var(--red-dark);font-weight:800;white-space:nowrap}.overview-section{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:12px 0}.overview-section h3{font-size:17px;margin:0}.subtle-button{border:1px solid var(--line);border-radius:8px;background:white;padding:7px 11px;color:var(--navy);font-size:12px;font-weight:800}.overview-shortcut{display:flex;justify-content:flex-end;margin-top:12px}
/* True scaled facility timelines. Ranges occupy height; single-time events use start-only markers. */
.timeline-intro{color:var(--muted);font-size:12px;margin:3px 0 14px}.timeline-scroller{overflow-x:auto;border:1px solid var(--line);border-radius:13px;background:#fff;-webkit-overflow-scrolling:touch}.timeline-head{display:grid;grid-template-columns:53px minmax(155px,1fr) minmax(155px,1fr);min-width:370px;position:sticky;top:0;z-index:3;background:#f4f6fa;border-bottom:1px solid var(--line)}.timeline-head>div{padding:10px;font-size:12px;font-weight:850}.timeline-head>div:nth-child(2){color:var(--navy)}.timeline-head>div:nth-child(3){color:var(--red-dark)}.timeline-main{display:grid;grid-template-columns:53px minmax(155px,1fr) minmax(155px,1fr);min-width:370px;position:relative}.time-axis{position:relative;border-right:1px solid var(--line);background:#fafbfd}.time-label{position:absolute;right:8px;transform:translateY(-50%);font-size:10px;color:#75859b;white-space:nowrap}.time-track{position:relative;border-right:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent,transparent 59px,#dfe5ec 59px,#dfe5ec 60px);min-width:0}.time-track.gym-track{border-right:0;background-color:#fffafb}.timeline-bar{position:absolute;left:4px;right:4px;border:1px solid #bdd1e0;border-left:4px solid var(--navy);background:#eef5fb;border-radius:7px;padding:5px 5px 4px;overflow:hidden;color:var(--navy);font-size:11px;line-height:1.15;z-index:1}.timeline-bar.game{border-left-color:var(--red);background:#fff1f3;border-color:#f0cad3}.timeline-bar .time-small{font-size:9px;font-weight:750;opacity:.75;margin-top:3px}.timeline-bar .bar-title{font-weight:850;overflow-wrap:anywhere}.timeline-point{position:absolute;left:5px;right:5px;min-height:30px;border:1px dashed #6889a9;border-left:4px solid var(--navy);border-radius:6px;background:#ffffffed;padding:3px 5px;z-index:2;color:var(--navy);font-size:10px;line-height:1.12}.timeline-point.game{border-color:#c45b6e;border-left-color:var(--red);background:#fff9fa}.timeline-point .bar-title{font-weight:850}.timeline-point .time-small{font-size:9px;color:var(--muted)}.timeline-extra{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.timeline-extra .facility-lane{min-width:0}.timeline-extra .facility-lane .event{padding:9px}.timeline-empty{font-size:13px;color:var(--muted);padding:28px;text-align:center}.timeline-legend{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 3px;color:var(--muted);font-size:11px}.legend-block::before,.legend-point::before{content:'';display:inline-block;vertical-align:middle;width:12px;height:9px;border-radius:2px;background:#d9e7f3;border-left:3px solid var(--navy);margin-right:5px}.legend-point::before{background:white;border:1px dashed var(--red);border-left:3px solid var(--red)}
footer{border-top:1px solid var(--line);padding:18px 24px;margin-top:28px;font-size:11px;color:var(--muted);display:grid;gap:3px}.coach-view #overviewTab,.coach-view #issuesTab,.coach-view #issuesView,.coach-view #overviewView,.coach-view #approvalStatus{display:none!important}.coach-view .tab{flex:1}
@media(max-width:720px){.facility-grid{grid-template-columns:1fr;gap:12px}.lane-away{grid-column:auto}.timeline-extra{grid-template-columns:1fr}}
@media(max-width:610px){main{padding:15px}.header{padding:12px 14px}.brand-title{font-size:17px}.brand-subtitle{font-size:10px}.logo{width:49px;height:49px}.header-actions{gap:7px}.view-switch{padding:8px;font-size:10px}.icon-button{width:36px;height:36px;font-size:25px}.heading h1{font-size:22px}.stats{gap:7px}.stat{padding:11px 9px}.stat-number{font-size:24px}.stat-label{font-size:10px}.toolbar{margin:17px 0 13px}.tabs{width:100%;gap:0}.tab{flex:1;font-size:11px;padding:11px 4px}.filterlabel{margin-left:auto}.days{gap:3px}.day{border-radius:8px;padding:9px 1px}.day.selected{padding:8px 0}.day-name{font-size:9px}.day-number{font-size:19px}.day-count{font-size:9px}.day-header h2{font-size:18px}.day-header .count{font-size:11px}.overview-pills{gap:6px}.overview-pill{padding:9px 8px}.overview-value{font-size:22px}.overview-caption{font-size:10px}.overview-top h2{font-size:19px}.event .when{font-size:11px}.timeline-head,.timeline-main{min-width:370px}}
@media(max-width:375px){.brand-title{font-size:16px}.view-switch{font-size:9px;padding:7px 5px}.overview-pills{grid-template-columns:repeat(2,1fr)}}

/* Parent-ready public schedule does not display internal conflict diagnostics. */
#issuesTab, #issuesView, #issueCounter, #approvalStatus {display:none !important;}
