/* The coach desk's Season view (public/coach-season.js) and the week navigator. Blocks are coloured by type. */
.desk-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; }
.desk-head > p { flex-basis:100%; }
.desk-tabs { margin-left:auto; display:flex; gap:6px; }
.desk-tab[aria-pressed="true"] { background:var(--accent); color:#fff; border-color:var(--accent); }
.desk-weeks { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; font-size:14px; }
.season-view { display:grid; gap:12px; min-width:0; }
.season-label { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.6px; color:var(--muted); }
.season-goal { display:flex; flex-wrap:wrap; gap:12px 24px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 14px; }
.season-fact { min-width:0; max-width:340px; }
.season-fact strong { display:block; overflow-wrap:anywhere; }
.season-ai { margin-left:auto !important; }
.season-lanes { display:grid; gap:6px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 14px; overflow-x:auto; }
.season-row { display:grid; grid-template-columns:72px minmax(0,1fr); align-items:center; gap:8px; min-width:0; }
.season-row-label { margin:0; }
.season-track { display:grid; grid-template-columns:repeat(var(--weeks),minmax(30px,1fr)); column-gap:4px; position:relative; min-width:calc(var(--weeks) * 34px); }
.season-week-number { text-align:center; font-family:var(--font-num); font-size:12px; color:var(--muted); }
.season-week-number.now { color:var(--ink); font-weight:700; }
.season-stage { background:var(--accent-soft); border-radius:6px; padding:4px 8px; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.season-blocks-row .season-track { grid-auto-flow:dense; }
.season-block { grid-row:1; display:grid; text-align:left; align-content:center; min-height:44px !important; padding:4px 8px !important; border-radius:6px; border:2px solid transparent; color:#fff; overflow:hidden; }
.season-block strong { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.season-block-weeks { font-size:11px; opacity:.9; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.season-block[aria-pressed="true"] { border-color:var(--ink); box-shadow:0 0 0 2px #fff inset; }
.season-block.type-accumulation { background:#2f6fd0; }
.season-block.type-transmutation { background:#7a4fc9; }
.season-block.type-realization { background:#c4592a; }
.season-block.type-deload { background:#7d8790; }
.season-block.type-transition { background:#5c8a6a; }
.season-block.type-general { background:#3c7f86; }
.season-block.type-none { background:#9aa3ab; }
.season-edge { grid-row:1; justify-self:start; align-self:stretch; width:12px; margin-left:-8px; z-index:2; cursor:ew-resize; border-radius:4px; background:rgba(255,255,255,.55); outline-offset:2px; touch-action:none; }
.season-edge:hover, .season-edge:focus-visible { background:var(--ink); }
.season-bars { display:flex; align-items:flex-end; justify-content:center; gap:3px; height:56px; }
.season-bar { width:9px; border-radius:2px 2px 0 0; }
.season-bar.planned { background:#c9d6e8; }
.season-bar.actual { background:#2f6fd0; }
.season-week-status { min-height:0 !important; padding:2px 0 !important; font-size:11px !important; background:none; border:0; color:var(--muted); text-align:center; }
.season-week-status.is-detailed { color:var(--ink); font-weight:700; }
.season-week-status:not(:disabled) { cursor:pointer; text-decoration:underline; }
.season-legend { font-size:12px; margin:0; }
.season-lower { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:12px; align-items:start; }
.season-block-panel, .season-suggestion { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 14px; min-width:0; }
.season-suggestion { border:2px solid var(--clay); }
.season-block-panel h3, .season-suggestion h3 { margin:2px 0 6px; font-size:16px; }
.season-targets { list-style:none; margin:8px 0; padding:0; display:grid; gap:8px; }
.season-target { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; align-items:center; border-top:1px solid var(--line); padding-top:8px; }
.season-status { font-size:12px; font-weight:700; border-radius:999px; padding:2px 8px; background:var(--accent-soft); }
.season-target.is-met .season-status { color:var(--accent); }
.season-target.is-behind .season-status { color:var(--clay); }
.season-actions { flex-wrap:wrap; gap:6px; }
.season-actions select { min-height:36px; font-size:13px; }
.season-block-form { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:8px; margin-top:10px; }
.season-field { display:grid; gap:2px; font-size:12px; }
.season-suggestion-lines { margin:6px 0 10px; padding-left:18px; font-size:13px; }
@media (max-width:1100px) { .season-lower { grid-template-columns:minmax(0,1fr); } }
.season-actions select { width:auto; flex:0 0 auto; max-width:220px; }
