.plans-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.plan-card{display:flex;flex-direction:column;align-items:start;gap:12px}.plan-card h2{font-size:25px;overflow-wrap:anywhere}.plan-card p{margin:0;color:var(--muted);font-size:12px}.plan-card .button{margin-top:auto}.plan-filters{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin:24px 0 12px}.new-plan-row{display:flex;align-items:end;gap:16px}.new-plan-row label{flex:1;margin:12px 0 0}.new-plan-row select{margin-top:8px}#newPlan h2{font-size:27px}#newPlan>p{font-size:13px}.plan-reminder{font-size:12px;color:#cbb777;border-left:2px solid #cbb777;padding-left:14px}.plan-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px}.plan-focus{background:#cbb77710;border:1px solid #cbb77740;border-radius:12px;padding:18px;margin:20px 0}.plan-focus h3{font:600 14px Montserrat,sans-serif;color:#dccb96;margin-bottom:10px}.plan-focus p{margin:0;white-space:pre-wrap}#planDialog{width:min(900px,calc(100% - 24px))}#planForm textarea{font-size:14px;line-height:1.7}#planConnection{border-top:1px solid #cbb77740;margin-top:25px;padding-top:20px}#planConnection summary{color:#dccb96;cursor:pointer;font-weight:600}#planConnection p{font-size:12px;color:var(--muted)}#planConnection button{margin-top:20px}.text-import{font-size:11px;color:var(--muted)}.text-import input{font-size:12px;margin-top:8px}#planError{white-space:pre-wrap}.plan-card .tag.pending{border-color:#d7a069;color:#e4c092}@media(max-width:680px){.plans-list,.plan-filters{grid-template-columns:1fr}.plan-filters{gap:0}.new-plan-row{display:block}.new-plan-row .button{margin-top:14px;width:100%}.plan-card h2{font-size:24px}}

.plan-copy-block{white-space:pre-wrap;padding:18px 0;border-bottom:1px solid #cbb77724}.plan-copy-block strong{color:#e4d5ab}#planEditToggle{margin:12px 0}
/* One A4 coaching page, with readable drill details outside the print area. */
.sheet-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0}.sheet-tools span{font-size:11px;color:#bfc1ba}.sheet-stage{container-type:inline-size;max-width:800px;margin:auto}.coach-sheet{box-sizing:border-box;width:100%;aspect-ratio:194/277;display:flex;flex-direction:column;gap:12px;padding:20px;background:#111312;color:#eeeae0;border:1px solid #cbb77766;font-family:Arial,sans-serif;font-size:11px;line-height:1.35}.coach-sheet p{margin:0}.sheet-brand{display:flex;gap:12px;align-items:center}.sheet-brand img{width:48px;height:48px;object-fit:contain}.sheet-brand>div{flex:1}.sheet-brand p{font-size:9px;letter-spacing:1.5px;color:#d9c688}.sheet-brand h2{font:600 24px/1.1 Arial,sans-serif;margin:4px 0 5px;overflow-wrap:anywhere}.sheet-brand span{font-size:10px;color:#c0c4bc}.sheet-brand>b{font-size:11px;color:#d9c688;line-height:1.4}.coach-sheet .sheet-focus{padding:9px 0;margin:10px 0 0;border:0;border-top:1px solid #cbb77760;border-radius:0;background:transparent;font-size:12px;line-height:1.4;color:#eeeae0}.sheet-focus strong{color:#d9c688;margin-right:6px;font-size:9px;letter-spacing:1px}.sheet-structure{padding:7px 9px;background:#d9c68817;border-left:2px solid #d9c688;font-size:10px;font-weight:600}.sheet-context,.sheet-equipment{margin-top:6px!important;font-size:10px}.sheet-legend{margin-top:7px!important;font-size:9px;color:#b9c0b6}.sheet-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--sheet-rows),minmax(0,1fr));gap:9px;flex:1;min-height:0}.sheet-block{border:1px solid #cbb77740;border-radius:5px;padding:10px;min-width:0;display:flex;flex-direction:column;gap:5px;margin:0}.sheet-block header{display:flex!important;gap:8px;align-items:center;min-height:34px}.sheet-index{color:#cbb777;font-size:20px;line-height:1}.sheet-block header>div{flex:1}.sheet-block small{font-size:9px;color:#cabd95}.sheet-block h3{font:600 13px/1.15 Arial,sans-serif;margin:2px 0 0;overflow-wrap:anywhere}.drill-open{align-self:start;border:1px solid #cbb77760;border-radius:3px;background:transparent;color:#e2d3a8;font-size:17px;padding:0 5px;cursor:pointer}.drill-open:focus-visible{outline:2px solid #e2d3a8;outline-offset:2px}.drill-diagram{margin:0;min-height:0;color:#d9c688}.drill-diagram svg{width:100%;height:100px;display:block;background:#080d0a;border-radius:4px}.drill-diagram text{font:11px Arial,sans-serif;fill:#e8e9de}.drill-diagram .center{text-anchor:middle}.drill-diagram .mini{font-size:10px}.drill-diagram .foot-label{font-size:7px;fill:#111}.drill-diagram .flow-number{font-size:11px;fill:#d9c688;font-weight:bold}.drill-diagram .flow-copy{font-size:10px}.drill-diagram figcaption{font-size:8px;line-height:1.3;color:#bec5b9;margin-top:3px;text-align:center}.pitch-mark{fill:none;stroke:#d9decf;stroke-width:2}.pitch-mark.thin{stroke-width:1}.coach-dot{fill:#111;stroke:#eee;stroke-width:1.5}.player-dot{fill:#675731;stroke:#d9c688;stroke-width:1.5}.ball-dot{fill:#fff}.cone{fill:#d9c688}.run,.ball{fill:none;stroke:#d9c688;stroke-width:1.8;marker-end:var(--arrow)}.ball{stroke-dasharray:5 4}.foot,.landing{fill:#d9c688}.chute{fill:#d9c68833;stroke:#d9c688}.flow-box{fill:#cbb7770c;stroke:#cbb77770}.drill-quick{display:grid;gap:4px;font-size:10px;line-height:1.32}.drill-quick strong{color:#d9c688}.sheet-cue{padding-top:4px;border-top:1px solid #cbb77735;color:#e3d3a0;font-weight:600}.sheet-bottom{font-size:9px;border-top:1px solid #cbb77760;padding-top:7px;display:grid;gap:4px}.sheet-custom-note{color:#c5b889;font-size:8px}.drill-details{margin-top:20px}.drill-detail{padding:15px 0;border-bottom:1px solid #cbb77740}.drill-detail summary,.sheet-evidence summary{cursor:pointer;color:#e0cca0;font-size:14px}.drill-detail summary span{float:right;font-size:12px}.drill-detail>.drill-diagram{max-width:500px;margin:18px auto}.drill-detail .drill-diagram svg{height:auto}.drill-detail .drill-diagram figcaption{font-size:11px}.drill-detail p,.sheet-evidence p{font-size:14px;line-height:1.75}.drill-detail strong{color:#d9c688}.original-plan{white-space:pre-wrap;overflow-wrap:anywhere}.sheet-evidence{margin-top:20px}.large-drills .coach-sheet{aspect-ratio:auto}.large-drills .sheet-blocks{grid-template-columns:1fr;grid-template-rows:none}.large-drills .drill-quick{font-size:14px}.large-drills .sheet-block h3{font-size:18px}.large-drills .drill-diagram svg{height:180px}.large-drills .drill-diagram figcaption{font-size:11px}
@container(max-width:650px){.coach-sheet{padding:2.5cqw;gap:1.5cqw;font-size:1.4cqw}.sheet-brand{gap:1.5cqw}.sheet-brand img{width:6cqw;height:6cqw}.sheet-brand h2{font-size:3cqw}.sheet-brand p{font-size:1.15cqw}.sheet-brand span{font-size:1.25cqw}.sheet-brand>b{font-size:1.4cqw}.coach-sheet .sheet-focus{font-size:1.5cqw;padding:1.1cqw 0;margin-top:1.25cqw}.sheet-focus strong{font-size:1.15cqw}.sheet-structure{font-size:1.25cqw;padding:1cqw}.sheet-context,.sheet-equipment{font-size:1.25cqw;margin-top:.75cqw!important}.sheet-legend{font-size:1.1cqw;margin-top:.9cqw!important}.sheet-blocks{gap:1.1cqw}.sheet-block{padding:1.25cqw;gap:.6cqw}.sheet-block header{min-height:4.2cqw;gap:1cqw}.sheet-index{font-size:2.5cqw}.sheet-block h3{font-size:1.65cqw}.sheet-block small{font-size:1.1cqw}.drill-open{font-size:3.5cqw;padding:0 1cqw}.drill-diagram svg{height:12.5cqw}.drill-diagram figcaption{font-size:1cqw}.drill-quick{font-size:1.27cqw;gap:.5cqw}.sheet-cue{padding-top:.5cqw}.sheet-bottom{font-size:1.15cqw;padding-top:.9cqw;gap:.5cqw}.sheet-custom-note{font-size:1cqw}.large-drills .coach-sheet{font-size:13px;padding:14px}.large-drills .sheet-brand h2{font-size:20px}.large-drills .sheet-brand p,.large-drills .sheet-brand span,.large-drills .sheet-brand>b,.large-drills .sheet-focus strong{font-size:10px}.large-drills .sheet-focus,.large-drills .sheet-structure,.large-drills .sheet-context,.large-drills .sheet-equipment,.large-drills .sheet-legend,.large-drills .sheet-bottom,.large-drills .sheet-custom-note{font-size:11px}.large-drills .sheet-block{padding:12px;gap:8px}.large-drills .sheet-block small{font-size:11px}.large-drills .sheet-index{font-size:24px}}
@media print{@page{size:A4 portrait;margin:8mm}html,body{background:white!important;margin:0!important;padding:0!important;height:auto!important;overflow:visible!important}body>*:not(#planDialog){display:none!important}#planDialog,#planDialog[open]{display:block!important;position:static!important;inset:auto!important;width:194mm!important;max-width:none!important;height:277mm!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:white!important}#planDialog::backdrop{display:none!important}#planDialog>*:not(#planRead),#planRead>*:not(.sheet-stage){display:none!important}#planRead{display:block!important;margin:0!important}.sheet-stage{width:194mm!important;max-width:none!important;container-type:normal}.sheet-stage .coach-sheet{width:194mm!important;height:277mm!important;aspect-ratio:auto!important;padding:5mm!important;gap:3mm!important;box-sizing:border-box;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.sheet-stage .sheet-blocks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(var(--sheet-rows),minmax(0,1fr))!important;gap:2mm!important}.sheet-stage .sheet-block{padding:2.2mm!important;gap:1mm!important}.sheet-stage .sheet-block h3{font-size:10pt!important}.sheet-stage .drill-quick{font-size:7.5pt!important}.sheet-stage .drill-diagram svg{height:23mm!important}.sheet-stage .drill-diagram figcaption{font-size:6pt!important}.drill-open{display:none!important}.coach-sheet{background:#fff;color:#151b16;border-color:#ab9558}.sheet-brand span,.sheet-legend,.drill-diagram figcaption{color:#444}.sheet-brand p,.sheet-brand>b,.sheet-focus strong,.sheet-index,.sheet-block small,.drill-quick strong,.sheet-cue{color:#6c581f}.coach-sheet .sheet-focus{color:#151b16}.sheet-structure{background:#f3efdf}.drill-diagram svg{background:#f5f6f2;color:#6c581f}.drill-diagram text{fill:#172218}.player-dot{fill:#e1d2a3;stroke:#695724}.coach-dot{fill:#fff;stroke:#172218}.ball-dot{fill:#172218}.run,.ball,.pitch-mark{stroke:#695724}.cone,.foot,.landing{fill:#ad965a}.flow-box{fill:#fff;stroke:#ad965a}.drill-diagram .flow-number{fill:#695724}.sheet-custom-note{color:#555}}

/* Keep sequence captions clear of the coaching text. */
.sheet-block .drill-diagram{flex-shrink:0}.sheet-stage:not(.large-drills) .coach-sheet:not(.sheet-dense) .sheet-block:has(.flow-box) .drill-diagram svg{height:85px}
@container(max-width:650px){.sheet-stage:not(.large-drills) .coach-sheet:not(.sheet-dense) .sheet-block:has(.flow-box) .drill-diagram svg{height:10.6cqw}}
@media print{.sheet-stage .coach-sheet:not(.sheet-dense) .sheet-block:has(.flow-box) .drill-diagram svg{height:20mm!important}}
.sheet-dense .sheet-blocks{grid-template-columns:1fr;gap:6px}.sheet-dense .sheet-block{display:grid;grid-template-columns:140px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:10px;row-gap:3px;padding:6px 9px}.sheet-dense .sheet-block header{grid-column:2;min-height:20px}.sheet-dense .sheet-block header>div{display:flex;align-items:baseline;gap:9px}.sheet-dense .sheet-block h3{font-size:12px;margin:0}.sheet-dense .sheet-index{font-size:15px}.sheet-dense .drill-diagram{grid-column:1;grid-row:1/3;align-self:center}.sheet-dense .drill-diagram svg{height:65px}.sheet-dense .drill-diagram figcaption{font-size:7px}.sheet-dense .drill-quick{grid-column:2;font-size:9px;gap:2px;line-height:1.2}.sheet-dense .sheet-cue{padding-top:2px}.sheet-dense .drill-open{font-size:13px}.large-drills .sheet-dense .sheet-block{display:flex}.large-drills .sheet-dense .sheet-block header>div{display:block}.large-drills .sheet-dense .drill-quick{font-size:14px}.large-drills .sheet-dense .drill-diagram{width:100%}.large-drills .sheet-dense .drill-diagram svg{height:180px}.large-drills .sheet-dense .drill-diagram figcaption{font-size:11px}
@container(max-width:650px){.sheet-dense .sheet-blocks{gap:.75cqw}.sheet-dense .sheet-block{grid-template-columns:17.5cqw minmax(0,1fr);column-gap:1.25cqw;padding:.75cqw 1.1cqw;row-gap:.4cqw}.sheet-dense .sheet-block header{min-height:2.5cqw}.sheet-dense .sheet-block h3{font-size:1.5cqw}.sheet-dense .sheet-index{font-size:1.9cqw}.sheet-dense .drill-diagram svg{height:8.2cqw}.sheet-dense .drill-diagram figcaption{font-size:.9cqw}.sheet-dense .drill-quick{font-size:1.15cqw;gap:.25cqw}.large-drills .sheet-dense .sheet-block{padding:12px}.large-drills .sheet-dense .sheet-block h3{font-size:18px}.large-drills .sheet-dense .sheet-index{font-size:20px}.large-drills .sheet-dense .drill-quick{font-size:14px}}
@media print{.sheet-stage .sheet-dense .sheet-blocks{grid-template-columns:1fr!important;gap:1.5mm!important}.sheet-stage .sheet-dense .sheet-block{display:grid!important;grid-template-columns:32mm minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;padding:1.3mm 2mm!important;gap:.7mm 2mm!important}.sheet-stage .sheet-dense .sheet-block header{min-height:5mm!important}.sheet-stage .sheet-dense .sheet-block h3{font-size:9pt!important}.sheet-stage .sheet-dense .drill-quick{font-size:7pt!important}.sheet-stage .sheet-dense .drill-diagram{width:auto!important}.sheet-stage .sheet-dense .drill-diagram svg{height:17mm!important}.sheet-stage .sheet-dense .drill-diagram figcaption{font-size:5.5pt!important}.sheet-stage .sheet-dense .sheet-block header>div{display:flex!important}.sheet-stage .sheet-blocks{flex-shrink:1}.sheet-stage .sheet-bottom{flex-shrink:0}.sheet-stage .coach-sheet{gap:2mm!important}.sheet-stage .drill-quick{line-height:1.25!important}.sheet-stage .sheet-block header{min-height:7mm!important}}
