[hidden]{display:none!important}.template-switch{background:#151719;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 28px;font:14px Arial,sans-serif}.template-switch strong{letter-spacing:1.3px;font-size:12px}.template-switch div{display:flex;gap:6px}.template-switch button{border:1px solid #484a4e;color:#ddd;background:transparent;padding:10px 15px;border-radius:7px;cursor:pointer;font-size:14px}.template-switch button[aria-pressed=true]{background:#fff;color:#181818;border-color:#fff}.template-switch span{font-size:10px;color:#c31c24;margin-left:5px;font-weight:800}#schedule-root{--line:#e2e4e7;--muted:#6e747e;background:#f5f6f8;color:#22252a;font:14px Arial,sans-serif;min-height:calc(100vh - 67px)}.sch-head{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;background:white;border-bottom:1px solid var(--line);gap:16px}.sch-head h1{font-size:22px;font-weight:750;margin:0 0 5px}.sch-head p,.sch-helper{color:var(--muted);font-size:13px;line-height:1.6;margin:4px 0}.sch-actions{display:flex;gap:8px;flex-wrap:wrap}#schedule-root button{font-family:inherit;cursor:pointer}#schedule-root button:disabled{opacity:.45;cursor:wait}.sch-btn{border:1px solid #d9dce1;border-radius:7px;background:#fff;color:#30343a;padding:10px 14px;font-size:14px;font-weight:650}.sch-btn.primary{background:#e22328;color:white;border-color:#e22328}.sch-layout{display:grid;grid-template-columns:290px minmax(340px,1fr) 340px;min-height:calc(100vh - 153px)}.sch-settings,.sch-matches{background:#fff}.sch-settings{border-right:1px solid var(--line)}.sch-matches{border-left:1px solid var(--line)}.sch-section{padding:20px;border-bottom:1px solid var(--line)}.sch-section h2{font-size:14px;font-weight:700;margin:0 0 17px;display:flex;gap:10px}.sch-section h2 small{color:#a4a8b0;font-size:12px}.sch-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sch-label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#535a64;margin-bottom:12px}.sch-field{width:100%;min-width:0;border:1px solid #d9dce1;border-radius:6px;background:#fff;padding:9px;font:14px Arial;color:#232830}.sch-headers{display:flex;gap:6px}.sch-headers button{flex:1}.sch-headers [aria-pressed=true]{border-color:#e22328;background:#fff2f2;color:#c21922}.sch-upload{display:block;border:1px dashed #b9bfc8;background:#fafbfc;text-align:center;padding:20px 10px;border-radius:8px;cursor:pointer;margin-bottom:8px}.sch-upload strong{display:block;font-size:14px;margin-bottom:6px}.sch-upload input{width:100%;font-size:12px;margin-top:12px}.sch-range{display:flex;align-items:center;gap:12px}.sch-range input{flex:1;min-width:0;accent-color:#df252a}.sch-range output{width:38px;text-align:right;font-size:12px}.sch-check{display:flex;align-items:flex-start;gap:8px;line-height:1.5;margin:12px 0;font-size:13px}.sch-check input{margin-top:3px;accent-color:#e22328}.sch-status{border-radius:6px;padding:10px 12px;background:#f0f3f7;line-height:1.5;font-size:13px;margin-top:12px}.sch-status.error{background:#fff2df;color:#83520f}.sch-preview{padding:18px 26px;min-width:0;display:flex;flex-direction:column;align-items:center;background-color:#eef0f3;background-image:radial-gradient(#d4d8df .7px,transparent .7px);background-size:12px 12px}.sch-preview-top{display:flex;justify-content:space-between;width:100%;max-width:590px;color:#6e747e;font-size:12px;margin-bottom:13px}.sch-canvas-wrap{width:100%;max-width:590px;box-shadow:0 8px 30px #17233520;position:relative;background:#cbd1d8}.sch-canvas-wrap canvas{width:100%;height:auto;display:block;touch-action:none;cursor:grab}.sch-canvas-wrap canvas:active{cursor:grabbing}.sch-preview-foot{max-width:590px;width:100%;font-size:12px;color:#68707b;margin-top:13px;line-height:1.5}.sch-match-list{padding:0 16px 20px;max-height:calc(100vh - 295px);overflow-y:auto}.sch-match{padding:15px 0;border-bottom:1px solid var(--line)}.sch-match-title{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:700;margin-bottom:12px}.sch-match-title span{color:#828995;font-weight:400}.sch-teams{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sch-team{min-width:0}.sch-team-head{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.3;min-height:32px;margin-bottom:7px}.sch-team-head img{width:29px;height:29px;object-fit:contain}.sch-color{display:flex;gap:6px;align-items:center}.sch-color input[type=color]{height:31px;width:37px;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:2px}.sch-color code{font-size:11px;color:#666}.sch-date{font-size:12px;margin:10px 0 6px;color:#646c76}.sch-match summary{cursor:pointer;color:#626b77;font-size:12px}.sch-match details{margin-top:9px}.sch-match details .sch-field{font-size:12px;margin-top:8px}.sch-tag{color:#916118;font-size:11px}.sch-match .sch-check{font-size:12px;margin:9px 0 0}.sch-alert{padding:9px 16px;color:#8b5d15;background:#fff7e8;font-size:12px;line-height:1.5}.sch-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;padding:13px 20px;background:#1b2027;color:white;border-radius:8px;z-index:9999;box-shadow:0 8px 24px #0002;font:14px Arial}.sch-empty{padding:25px 0;line-height:1.7;color:#717986;font-size:14px}.sch-dialog{border:0;border-radius:12px;padding:20px;max-width:90vw;max-height:95vh;box-shadow:0 20px 80px #0004}.sch-dialog::backdrop{background:#0009}.sch-dialog img{max-height:78vh;max-width:80vw;display:block;margin:15px auto 0}.sch-dialog button{float:right}.sch-warning{color:#93550c!important}#schedule-root :focus-visible,.template-switch :focus-visible{outline:3px solid #2e7dd0;outline-offset:3px}@media(min-width:1500px){.sch-layout{grid-template-columns:310px minmax(340px,1fr) 370px}}@media(max-width:1150px){.sch-layout{grid-template-columns:260px 1fr}.sch-matches{grid-column:1/-1;border-top:1px solid var(--line)}.sch-match-list{max-height:none;display:grid;grid-template-columns:repeat(3,1fr);gap:0 25px}.sch-preview{justify-content:flex-start}.sch-head{padding:18px}}@media(max-width:700px){.template-switch{padding:12px;display:block}.template-switch strong{display:block;margin-bottom:10px}.template-switch div button{flex:1;padding:10px 6px}.sch-head{align-items:flex-start;flex-direction:column}.sch-head h1{font-size:20px}.sch-layout{display:flex;flex-direction:column}.sch-preview{order:0;padding:18px}.sch-settings{order:1;border:0}.sch-matches{order:2}.sch-match-list{grid-template-columns:1fr}.sch-section{padding:18px}.sch-preview-top{font-size:11px}.sch-actions .sch-btn{font-size:13px}.sch-canvas-wrap{max-width:450px}}
