@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#193c37;background:#f6f6f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,label,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,input,select{border-radius:8px}button:focus-visible,input:focus-visible,select:focus-visible,.import-label:focus-within{outline:3px solid #dc8c46;outline-offset:3px}.topbar{height:88px;border-bottom:1px solid #dce2d8;display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100vw - 1280px)/2))}.brand{font:800 30px Manrope,sans-serif;letter-spacing:-1.7px;text-decoration:none;color:#193c37}.brand-icon{font-size:32px;margin-right:8px;color:#ce6e3d}.brand-dot{color:#ce6e3d}.header-note,.eyebrow,.small-label{font-size:10px;font-weight:700;letter-spacing:1.8px}.header-note{color:#6e7e74}main{max-width:1280px;margin:auto;padding:46px 32px 0}.intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:34px}.eyebrow{margin:0 0 9px;color:#728279}h1{font:600 clamp(32px,4vw,48px) Manrope,sans-serif;letter-spacing:-2px;margin:0}.subtitle{margin:12px 0 0;color:#6c7b71;font-size:15px}.save-status{font-size:12px;color:#748073;margin-bottom:4px}.workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr);gap:24px}.panel{background:#fff;border:1px solid #dfe5dc;border-radius:16px;padding:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}h2{font:700 21px Manrope,sans-serif;letter-spacing:-.7px;margin:0}.badge{background:#eaf1e7;color:#4e6a50;border-radius:5px;padding:7px 9px;font-size:9px;font-weight:700;letter-spacing:1px}.net{height:24px;text-align:center;background:repeating-linear-gradient(90deg,transparent 0 11px,#bcc9be 11px 12px),repeating-linear-gradient(0deg,transparent 0 5px,#bcc9be 5px 6px);border-top:3px solid #214a42;margin:0 5px 8px}.net span{font-size:9px;letter-spacing:2px;background:white;padding:3px 12px;position:relative;top:-10px}.court{height:365px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr 1fr;position:relative;background:#538572;border:3px solid #edf2df;outline:1px solid #c0d0be;border-radius:3px;padding:12px 5px;gap:12px;background-image:linear-gradient(to bottom,transparent 32%,#e9f0dccc 32%,#e9f0dccc 32.7%,transparent 32.7%),repeating-linear-gradient(90deg,#ffffff03 0 30px,transparent 30px 60px)}.position{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.position-label{font-size:9px;letter-spacing:1px;color:#f4f7e7;font-weight:700;text-transform:uppercase;margin:10px 0 7px}.jersey{display:grid;place-items:center;width:49px;height:48px;background:#f9f5df;clip-path:polygon(24% 0,37% 0,41% 9%,59% 9%,63% 0,76% 0,100% 24%,85% 42%,76% 35%,76% 100%,24% 100%,24% 35%,15% 42%,0 24%);font-size:17px;font-weight:700;color:#355e4e}.position select{width:90%;max-width:150px;border:1px solid #ffffff50;background:#ffffffed;color:#244c3f;padding:7px 4px;font-size:12px;font-weight:600;text-overflow:ellipsis}.position select:disabled{opacity:1;appearance:none;text-align:center}.court-caption{display:flex;justify-content:space-between;font-size:10px;color:#859080;margin-top:12px}.preview{margin-top:28px;background:#f6f7f2;padding:16px;border-radius:10px}.preview-label{display:flex;justify-content:space-between;font-size:12px;font-weight:600}.preview-label output{color:#778370;font-weight:400}input[type=range]{width:100%;accent-color:#2f6252;margin:17px 0 5px;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:#8a9386}.actions{display:flex;gap:12px;margin-top:20px}.actions button{padding:13px 18px;border:1px solid #dbe3d8;font-weight:600;font-size:13px}.primary{background:#214d40;color:#fff;flex:1;display:flex;justify-content:space-between}.primary:hover{background:#163a30}.secondary{background:white;color:#4e6457}.hint{font-size:11px;line-height:1.7;color:#84907e;margin:16px 0 0}.board>.hint{text-align:center}aside{display:flex;flex-direction:column;gap:24px}.small-label{font-size:8px;color:#8b9487;letter-spacing:1px}.count{display:inline-block;background:#eff2eb;color:#77866f;font:500 11px 'DM Sans',sans-serif;border-radius:20px;padding:4px 8px;vertical-align:middle;margin-left:5px}.bench-list{padding:0;margin:0;list-style:none}.bench-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0e8;padding:12px 0}.queue-number{font-size:11px;color:#8b9687;width:13px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eaf0e5;color:#5b7654;font-size:12px;font-weight:700}.bench-name{flex:1;font-size:13px;font-weight:600;overflow-wrap:anywhere;min-width:0}.next-tag{color:#b57d3b;background:#faf1df;font-size:8px;letter-spacing:1px;padding:5px;border-radius:4px;white-space:nowrap}.icon-button{padding:4px 7px;background:transparent;border:1px solid #e1e7dc;color:#74866b;font-size:12px}.bench-controls{display:flex;gap:4px}.roster{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:270px;overflow:auto}.roster-item{display:flex;min-width:0;align-items:center;gap:4px}.roster-item input{width:100%;min-width:0;padding:9px 8px;font-size:12px;background:#f8f9f5;border:1px solid #e9ede2;color:#36533f}.remove{border:0;background:transparent;color:#a2aa9b;font-size:18px;padding:2px}#add-player{display:flex;gap:8px;margin-top:16px}#player-name{width:100%;min-width:0;padding:11px;font-size:12px;border:1px dashed #cdd8c5;background:#fff}.add-button{background:#eaf0e3;border:0;color:#4b6c40;font-size:22px;width:42px}.file-actions{display:flex;justify-content:space-between;border-top:1px solid #edf0e8;margin-top:20px;padding-top:16px}.text-button{font-size:11px;color:#738269;background:none;border:none;padding:0;cursor:pointer}.rotation-guide{padding:28px 0 8px;text-align:center}.rotation-guide p{font-size:11px;line-height:2;color:#788672;margin:5px 0}.rotation-guide b{font-weight:400;padding:0 5px;color:#b0b9a8}.announcement{font-size:12px;text-align:center;min-height:18px;color:#9a6a37}footer{max-width:1216px;margin:10px auto 0;border-top:1px solid #dce2d8;padding:22px 0;display:flex;justify-content:space-between;font-size:11px;color:#8c9786}footer span{font-size:9px;letter-spacing:1.3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){.workspace{grid-template-columns:1fr}main{padding:30px 20px 0}.intro{align-items:start;gap:15px}.save-status{font-size:10px;padding-top:8px}.header-note{display:none}aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{padding:22px}.small-label{display:none}footer{margin:0 20px}.court{height:360px}}@media(max-width:550px){aside{display:flex}.intro{display:block}.save-status{margin-top:15px}.topbar{height:72px}.panel{padding:20px 16px}.court{height:325px}.position-label{font-size:8px;letter-spacing:.5px}.position select{font-size:11px;width:96%}.badge{font-size:8px}h2{font-size:19px}.court-caption{font-size:9px}footer span{display:none}.rotation-guide{text-align:left}.rotation-guide b{padding:0 3px}}
/* The roster controls assignments; every court is a read-only projection. */
.workspace{align-items:start}.board{grid-column:1;grid-row:1}.workspace>aside{grid-column:2;grid-row:1 / span 2}.upcoming-panel{grid-column:1;grid-row:2}.court-player{background:#ffffffed;color:#244c3f;border-radius:7px;padding:7px 8px;font-size:12px;font-weight:600;width:90%;text-align:center;overflow-wrap:anywhere}.roster{display:flex;flex-direction:column;gap:7px;max-height:none;padding:0;margin:16px 0 0;list-style:none;overflow:visible}.roster-item{padding:7px 4px;border:1px solid #e8ecdf;border-radius:9px;gap:6px;background:#fff}.roster-details{flex:1;min-width:0}.slot-label{display:block;font-size:9px;letter-spacing:.6px;color:#7b8971;margin:0 0 4px 2px;text-transform:uppercase}.roster-item input{background:#f8f9f5;padding:6px 8px}.drag-handle{touch-action:none;cursor:grab;align-self:stretch;border:0;background:transparent;color:#85967a;font-size:23px;padding:3px 6px}.dragging{opacity:.55}.dragging .drag-handle{cursor:grabbing}.drop-target{border-color:#ce8848;background:#fbf3e4;box-shadow:0 -3px 0 #ce8848}.roster-help{margin-top:-9px}.upcoming{display:flex;flex-direction:column;gap:25px}.upcoming h3{font-size:13px;margin:0 0 12px;font-weight:600}.mini-court{height:240px}.mini-court .jersey{width:35px;height:35px;font-size:12px}.mini-court .court-player{font-size:11px;padding:5px}.mini-court .position-label{margin-top:6px}.upcoming section>.hint{overflow-wrap:anywhere}.bench-name{flex:1}.import-label{position:relative}.import-label input{clip:auto;width:100%;height:100%;inset:0;margin:0;opacity:0;cursor:pointer}
@media(max-width:850px){.workspace{display:flex;flex-direction:column;gap:20px}.workspace>.panel,.workspace>aside{width:100%}.workspace>aside{order:1;display:flex}.board{order:0}.upcoming-panel{order:2}.roster{max-height:none}}@media(max-width:550px){.mini-court{height:240px}.mini-court .position-label{font-size:8px}.roster-item .icon-button{padding:6px 9px}}
@media(max-width:850px){.upcoming-panel{order:1}.workspace>aside{order:2}}
.rotation-count-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#6c7b71;white-space:nowrap}.rotation-count-label select{padding:7px 9px;background:#f8f9f5;border:1px solid #dfe5dc;color:#193c37}.cycle-note{margin:-10px 0 20px}
.highlight-toggle{display:grid;place-items:center;cursor:pointer;flex-shrink:0;min-width:24px;min-height:36px}.roster-item .highlight-toggle input{appearance:auto;width:16px;height:16px;margin:0;accent-color:#b87521;cursor:pointer}.highlighted-player .jersey{background:#ffd47b;color:#704714}.highlighted-player .court-player{box-shadow:0 0 0 2px #ffd47b}.bench-row.highlighted-player .avatar{background:#ffd47b;color:#704714}.roster-item.highlighted-player{background:#fff9e9;border-color:#dfba6c}@media(max-width:550px){.roster-item{gap:3px}.roster-item .drag-handle{padding:3px}.roster-item .icon-button{padding:6px}.highlight-toggle{min-width:22px}}
.roster-summary{cursor:pointer;list-style:none;margin-bottom:0;min-height:44px}.roster-summary::-webkit-details-marker{display:none}.roster-summary:focus-visible{outline:3px solid #dc8c46;outline-offset:5px;border-radius:4px}.roster-summary-actions{display:flex;align-items:center;gap:12px}.roster-disclosure::before{content:'+';font-size:22px;font-weight:500;color:#6c7b71}.roster-panel[open] .roster-disclosure::before{content:'−'}.roster-content{padding-top:25px}
@media(max-width:850px){.workspace>aside{display:contents}.workspace .roster-panel{order:-1;width:100%}.workspace .bench-panel{order:1;width:100%}.workspace .board{order:0}.workspace .upcoming-panel{order:2}.roster-panel:not([open]){padding-top:12px;padding-bottom:12px}}
