:root{--bg:#ddebfb;--surface:#fff;--text:#262c4c;--muted:#5b6285;--accent:#e90dda;--accent-2:#15cff1;--brand:var(--text);--on-brand:#fff;--header-bg:var(--surface);--header-fg:var(--text);--brand-accent:var(--accent-2);--header-line:var(--border);--header-line-w:1px;--border:#c4d4ea;--danger:#b3261e;--ok:#1b7f4d;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--text)}header.top{background:var(--header-bg);color:var(--header-fg);border-bottom:var(--header-line-w) solid var(--header-line);flex-wrap:wrap;align-items:center;gap:1rem;padding:.5rem 1rem;display:flex}header.top a{color:var(--header-fg)}header.top a.cup-name{font-size:1.25rem;font-weight:700;text-decoration:none}header.top .muted{color:inherit;opacity:.8}header.top button.secondary{color:var(--header-fg);border-color:var(--header-fg)}header.top img{height:40px}header.top nav{flex-wrap:wrap;flex:1;gap:1rem;display:flex}main{max-width:60rem;margin:0 auto;padding:1.5rem 1rem 4rem}h1,h2,h3{line-height:1.2}h1{font-size:1.8rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:8px;margin:1rem 0;padding:1rem 1.25rem}.hero{text-align:center;padding:2rem 0}.hero img{width:80%;max-width:360px}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:.4rem .5rem}ol.tiebreaks{gap:.4rem;max-width:40rem;margin:.5rem 0 1rem;padding:0;list-style:none;display:grid}ol.tiebreaks li{border:1px solid var(--border);background:var(--surface);border-radius:6px;grid-template-columns:1.75rem 1fr auto;align-items:center;gap:.6rem;padding:.5rem .6rem;display:grid}ol.tiebreaks li.unused{opacity:.6;border-style:dashed}ol.tiebreaks .number{text-align:center;color:var(--muted);font-weight:700}ol.tiebreaks .actions{gap:.35rem;display:flex}form.stack{gap:.75rem;max-width:32rem;display:grid}form.stack.wide{max-width:none}label{align-content:start;gap:.25rem;font-size:.9rem;font-weight:600;display:grid}label span.hint{color:var(--muted);font-weight:400}input,select,textarea{font:inherit;border:1px solid var(--border);color:inherit;background:#fff;border-radius:6px;padding:.45rem .6rem}textarea{min-height:6rem}button,.button{font:inherit;border:1px solid var(--brand);background:var(--brand);color:var(--on-brand);cursor:pointer;border-radius:6px;padding:.5rem 1rem;text-decoration:none;display:inline-block}button.secondary,.button.secondary{color:var(--text);border-color:var(--brand);background:0 0}button.danger{background:var(--danger);border-color:var(--danger)}button:disabled{opacity:.5;cursor:default}.row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.row.bottom{align-items:flex-end}.error{color:var(--danger);font-weight:600}.ok{color:var(--ok);font-weight:600}.badge{background:var(--bg);border-radius:999px;padding:0 .5rem;font-size:.85rem;display:inline-block}.badge.warn{color:var(--danger);font-weight:600}.tabs{flex-wrap:wrap;gap:.25rem;margin-bottom:1rem;display:flex}.tabs a{border-radius:6px;padding:.4rem .8rem;text-decoration:none}.tabs a.active{background:var(--brand);color:var(--on-brand)}.tabs.sub{margin-top:-.5rem}.tabs.sub a{border-bottom:2px solid #0000;border-radius:0;padding:.25rem .6rem;font-size:.9rem}.tabs.sub a.active{color:var(--text);border-bottom-color:var(--text);background:0 0}.grid2{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));align-items:end;gap:.75rem;display:grid}.grid2.wide{grid-template-columns:repeat(auto-fit,minmax(min(100%,24rem),1fr))}.grid2>*{min-width:0}.grid2 select,.grid2 input:not([type=checkbox]):not([type=radio]){box-sizing:border-box;width:100%;min-width:0}:focus-visible{outline:3px solid var(--brand-accent);outline-offset:2px}.muted{color:var(--muted)}select.language{width:auto;padding:.25rem .5rem;font-size:.9rem}.hero select.language{margin-bottom:1rem}footer.site{max-width:60rem;color:var(--muted);margin:0 auto;padding:0 1rem 2rem;font-size:.9rem}.facility-grid{background:var(--border);border-radius:6px;gap:2px;max-width:24rem;margin:.5rem 0;padding:2px;display:grid}.facility-grid .cell{background:var(--surface);border:0;border-radius:2px;min-height:0;padding:0}.facility-grid button.cell{cursor:crosshair}.facility-grid .cell.picked{background:var(--accent-2)}.facility-grid .field-box{border:1px dashed var(--muted);pointer-events:none;border-radius:3px}.mini-grid{background:var(--border);border-radius:3px;gap:1px;padding:1px;display:inline-grid}.mini-grid span{background:var(--surface)}.mini-grid span.on{background:var(--accent-2)}button.small{padding:.2rem .65rem;font-size:.85rem}.line{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.line .actions{gap:.35rem;margin-left:auto;display:flex}.line .mini-grid{flex:none}.field-row{border-top:1px solid var(--border);margin-top:.6rem;padding:.6rem 0}fieldset.grid-setup{border:1px solid var(--border);border-radius:8px;margin:0;padding:.5rem 1rem 1rem}fieldset.grid-setup legend{padding:0 .4rem;font-weight:600}.timeline-row{align-items:center;gap:.5rem;margin:.25rem 0;display:flex}.timeline-name{text-overflow:ellipsis;white-space:nowrap;flex:0 0 8rem;font-size:.9rem;overflow:hidden}.timeline-track,.timeline-axis{background:var(--bg);border-radius:4px;flex:1;height:1.6rem;position:relative}.timeline-bar{background:var(--accent-2,#15cff1);color:var(--text);white-space:nowrap;border-radius:3px;padding:0 .25rem;font-size:.75rem;position:absolute;top:2px;bottom:2px;overflow:hidden}.timeline-axis{height:auto;color:var(--muted);background:0 0;justify-content:space-between;font-size:.7rem;display:flex}.day-card{border:1px solid var(--border);border-radius:8px;gap:.4rem;padding:.6rem .8rem;display:grid}input::placeholder{color:#8a90a8;opacity:1;font-style:italic}label.check input{width:auto}.field-row .grip{cursor:grab;color:var(--muted);letter-spacing:-.15em;-webkit-user-select:none;user-select:none}.field-row.dragging{opacity:.5}.field-row.drop-above{border-top:3px solid var(--accent-2)}.field-row.drop-below{border-bottom:3px solid var(--accent-2)}.line button.toggle{padding:0 .5rem}details.field-group{border-top:1px solid var(--border);margin-top:.75rem;padding-top:.4rem}details.field-group>summary{cursor:pointer}details.field-group.drop-group{outline:2px dashed var(--accent-2);outline-offset:2px}.messages{gap:.5rem;max-width:60rem;margin:.75rem auto 0;padding:0 1rem;display:grid}.message{border:1px solid var(--border);background:var(--surface);border-left-width:6px;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.6rem .9rem;display:flex}.message p{white-space:pre-line;margin:.2rem 0 0}.message.warning{border-color:#c77700}.message.important{border-color:var(--danger)}.message button{flex:none}.hero .messages{text-align:left;margin-bottom:1rem}ul.plain{margin:0;padding:0;list-style:none}.danger-zone{border-top:1px dashed var(--danger);margin-top:.75rem;padding-top:.5rem}td.nowrap,span.nowrap{white-space:nowrap}td.nowrap .row{flex-wrap:nowrap}.impersonation{background:#fff3cd;border-bottom:2px solid #c77700;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem 1rem;display:flex}.impersonation.write{border-color:var(--danger);background:#fde2e0}.dialog{border:1px solid var(--border);background:var(--surface);width:100%;max-width:min(36rem,100vw - 2rem);color:inherit;border-radius:8px;padding:1rem 1.25rem}.dialog::backdrop{background:#262c4c73}.payment-row label{gap:.25rem;display:grid}.plain{margin:0;padding:0;list-style:none}.voided{opacity:.65;text-decoration:line-through}.voided .muted,.voided button{text-decoration:none}.statement{border-collapse:collapse;width:100%;margin:.5rem 0 1rem}.statement caption{text-align:left;padding-bottom:.25rem}.statement td{border-bottom:1px solid var(--border);padding:.2rem .4rem}.statement .num{text-align:right;white-space:nowrap}.statement .total td{border-bottom:0;border-top:2px solid var(--border);font-weight:700}@media print{body *{visibility:hidden}.receipt,.receipt *{visibility:visible}.receipt{color:#000;background:#fff;width:100%;padding:1rem;position:absolute;inset:0 auto auto 0}.no-print{display:none}.schedule-print,.schedule-print *{visibility:visible}.schedule-print{width:100%;position:absolute;inset:0 auto auto 0}}.filters{flex-wrap:wrap;align-items:flex-end;gap:.5rem 1rem;display:flex}.filters label{flex:12rem}.notice{color:#8a5300;background:#fff4dc;border:1px solid #c77700;border-radius:6px;padding:.4rem .75rem}.notice ul{margin:0;padding-left:1.1rem}.notice p{margin:0}details.info{margin-left:.4rem;display:inline-block}details.info>summary{cursor:pointer;list-style:none;display:inline}details.info>summary::-webkit-details-marker{display:none}tr.warn-row td{background:#fff4d6}tr.error td{background:#fde0e0}.menu-wrap{display:inline-block;position:relative}.menu{z-index:10;border:1px solid var(--border);background:#fff;border-radius:8px;min-width:9rem;margin:0;padding:.25rem;list-style:none;position:absolute;top:calc(100% + .25rem);left:0;box-shadow:0 4px 14px #00000026}.menu button{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:6px;padding:.35rem .6rem;font-weight:400;display:block}.menu button:hover,.menu button:focus-visible{background:var(--bg)}.sgrid-wrap{overflow-x:auto}.sgrid{-webkit-user-select:none;user-select:none;border-collapse:separate;border-spacing:3px;width:auto}.sgrid th{text-align:left;white-space:nowrap;padding:.2rem .4rem;font-size:.8rem;font-weight:600}.sgrid td{vertical-align:top;background:#eef3fb;border:1px solid #d5e1f3;border-radius:6px;min-width:9rem;height:3.6rem;padding:0}.sgrid td.off{background:repeating-linear-gradient(45deg,#f3f4f8,#f3f4f8 6px,#e6e8ef 6px 12px);border-color:#0000}.sgrid td.ok{border-color:var(--accent-2,#15cff1);background:#fff}.sgrid td.no{background:#c9cdd8;border-color:#b3b8c6}.sgrid td.ok.b2b{background:#fea;border-color:#e0b100}.sgrid td.mark-home{box-shadow:inset 0 0 0 3px #2e9e4f}.sgrid td.mark-away{box-shadow:inset 0 0 0 3px #2f6fd6}.sgrid td.sel{box-shadow:inset 0 0 0 3px #1b2a52}.legend{flex-wrap:wrap;align-items:center;gap:.3rem 1rem;margin:.5rem 0;font-size:.85rem;display:flex}.swatch{vertical-align:-2px;border:1px solid #b3b8c6;border-radius:3px;width:.9rem;height:.9rem;display:inline-block}.swatch.home{background:#fff;box-shadow:inset 0 0 0 3px #2e9e4f}.swatch.away{background:#fff;box-shadow:inset 0 0 0 3px #2f6fd6}.swatch.b2b{background:#fea;border-color:#e0b100}.swatch.no{background:#c9cdd8}.sgrid td[role=button]{cursor:pointer}.smatch{cursor:grab;box-sizing:border-box;gap:0;height:100%;padding:.25rem .4rem;font-size:.8rem;line-height:1.25;display:grid}.smatch small{font-size:.7rem}.sticky-error{z-index:20;border:1px solid var(--danger);background:#fff;border-radius:8px;padding:0 .75rem;position:sticky;top:.5rem}.sticky-error .error{margin:.5rem 0}button.sort{color:inherit;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:700}button.sort:hover{text-decoration:underline}.sgrid td.ref-mine{background:#d9ecff;border-color:#2f6fd6;box-shadow:inset 0 0 0 2px #2f6fd6}.sgrid td.ref-missing{background:#fff3f1;border-color:#e6a39b}.sgrid td.ref-covered{background:#eef8f0;border-color:#b6dcc0}.sgrid td .refs{font-size:.8rem}.sgrid td.ok .smatch,.sgrid td.ref-mine .smatch{cursor:pointer}.referee-match{cursor:default}.swatch.mine{background:#d9ecff;border-color:#2f6fd6}.swatch.free{border-color:var(--accent-2,#15cff1);background:#fff}.swatch.missing{background:#fff3f1;border-color:#e6a39b}label.check{align-items:center;gap:.4rem;font-weight:400;display:flex}.invite{border-top:1px solid var(--border);gap:.4rem;margin-top:.75rem;padding-top:.5rem;display:grid}.invite input{width:100%}input.score{width:4.5rem}.brand-preview{border:1px solid var(--border);background:var(--surface);border-radius:8px;max-width:28rem;overflow:hidden}.brand-preview .bar{border-bottom:4px solid #0000;padding:.6rem 1rem;font-weight:700}.brand-preview .body{flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem 1rem;display:flex}.brand-preview .chip{border-radius:6px;padding:.3rem .8rem}.color-field input[type=color]{width:3rem;height:2.4rem;padding:0}.hero-band{background:var(--brand);height:5rem;overflow:hidden}.hero-band.tall{height:clamp(9rem,28vw,18rem)}.hero-band img{object-fit:cover;width:100%;height:100%;display:block}header.top img.cup-logo{object-fit:contain;width:auto;max-width:12rem;height:40px}.image-upload{margin:.5rem 0}.image-upload img.thumb{border:1px solid var(--border);background:repeating-conic-gradient(#e8eef7 0 25%, #fff 0 50%) 0 / 12px 12px;border-radius:6px;max-width:16rem;max-height:5rem}.hero-focus{border:1px solid var(--border);border-radius:8px;max-width:32rem;padding:.5rem 1rem 1rem}.focus-pick{cursor:crosshair;margin-bottom:.75rem;line-height:0;position:relative}.focus-pick img{border-radius:6px;width:100%;display:block}.focus-dot{pointer-events:none;border:3px solid #fff;border-radius:50%;width:1.1rem;height:1.1rem;margin:-.55rem 0 0 -.55rem;position:absolute;box-shadow:0 0 0 2px #000}.focus-shape{margin:0}.focus-shape img{object-fit:cover;border:1px solid var(--border);border-radius:6px;display:block}.focus-shape.wide img{aspect-ratio:4;width:22rem;max-width:100%}.focus-shape.narrow img{aspect-ratio:5/2;width:12rem;max-width:100%}.share{gap:.4rem;margin:.5rem 0 1rem}.share .button.small,.share button.small{padding:.25rem .7rem;font-size:.9rem}fieldset.team-pick,fieldset.plan-pick{border:1px solid var(--border);border-radius:8px;gap:.2rem;max-height:14rem;margin:.5rem 0;display:grid;overflow-y:auto}fieldset.team-pick legend,fieldset.plan-pick legend{padding:0 .4rem;font-weight:600}fieldset.plan-pick p{margin:0 0 .3rem}.conv-filter{gap:.4rem;margin:0 0 .5rem}.conv-list{border:1px solid var(--border);background:var(--surface);border-radius:8px}.conv{border-top:1px solid var(--border)}.conv:first-child{border-top:0}button.conv-head{text-align:left;width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;grid-template-columns:1fr auto;gap:0 1rem;padding:.5rem .75rem;display:grid}.conv-head .conv-teams{font-weight:600}.conv-head .conv-date{text-align:right;white-space:nowrap}.conv-head .conv-subject{grid-column:1/-1}.conv-thread{padding:0 .75rem .5rem}.conv-thread>p{margin:0 0 .3rem}.conv-recipient{margin:0 0 .3rem;font-size:.9em}.conv-recipient summary{cursor:pointer}.conv-message+.conv-message{border-top:1px solid var(--border);padding-top:.4rem}.conv-message p{white-space:pre-wrap;margin:.2rem 0 .4rem}.conv.unread .conv-head .conv-teams,.conv.unread .conv-head .conv-subject{font-weight:700}.badge.new{background:var(--accent-2);color:#fff}.conv-reply{border-top:1px solid var(--border);margin-top:.4rem;padding-top:.5rem}.conv-reply textarea{width:100%}.conv-message.in{border-left:3px solid var(--accent-2);padding-left:.5rem}.date-field{align-items:center;gap:.3rem;display:inline-flex;position:relative}.date-field input{width:9rem}.date-popover{z-index:20;background:var(--surface);border:1px solid var(--border);--rdp-accent-color:var(--text);border-radius:8px;margin-top:.3rem;padding:.5rem;position:absolute;top:100%;left:0;box-shadow:0 4px 16px #00000026}.date-field input[aria-invalid]{border-color:var(--danger)}.leader-list{margin:0 0 .75rem;padding:0;list-style:none}.leader-list li{border-top:1px solid var(--border);padding:.6rem 0}.leader-list li:last-child{border-bottom:1px solid var(--border)}.leaders button{min-height:2.5rem}.confirm-row{background:var(--surface);border:1px solid var(--border);border-radius:8px;margin-top:.5rem;padding:.6rem .75rem}.confirm-row p{margin:0 0 .5rem}footer.site nav{margin-top:.3rem}main.legal{max-width:46rem;margin:0 auto;padding:1rem;line-height:1.55}main.legal table{border-collapse:collapse;width:100%;font-size:.92rem}main.legal th,main.legal td{border:1px solid var(--border);text-align:left;vertical-align:top;padding:.4rem .5rem}.facts{grid-template-columns:max-content 1fr;gap:.35rem 1.25rem;margin:0 0 .75rem;display:grid}.facts dt{color:var(--muted,#666)}.facts dd{margin:0}
