/* Shared visual system: functional modules and print exports retain their own behavior. */
@media screen {
:root{--green:#0b5bff;--ink:#102f59;--muted:#61758b;--line:#dfe7f1;--bg:#f5f8fd}
body{background:var(--bg);color:var(--ink)}
main{max-width:1920px;padding:0 36px 24px;margin-left:232px}
aside{width:232px;background:#102f59;padding-bottom:28px}.sidebar-brand{padding:19px 24px 15px;margin-bottom:20px;border-radius:0}.brand img{max-height:75px}.sidebar-district{height:44px;width:40px;margin:7px auto}.district{font-size:10px}aside nav a{font-size:12px;padding:13px 14px;gap:12px;border-radius:8px}aside nav a.active{box-shadow:none;background:#0b5bff}aside .aside-bottom{line-height:1.6;padding-top:35px}
header{height:70px;border-bottom:1px solid var(--line);margin-bottom:10px}.breadcrumb{font-size:12px}.season-picker{box-shadow:none;border-radius:8px;padding:9px 12px}
h1,h2,h3{color:var(--ink)}h1{letter-spacing:-1px}button,input,select,textarea{border-radius:8px}input,select,textarea{border-color:#dce5ef}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #0b5bff;outline-offset:2px}.primary{background:#0b5bff;min-height:42px}.secondary{min-height:36px;background:#fff;border-color:#dce5ef}.danger{color:#a53238}.panel{box-shadow:none;border:1px solid var(--line);border-radius:12px;padding:22px}.small,.rule p{color:#61758b;font-size:11px;line-height:1.65}
#homeView{padding-top:12px}.home-heading{margin:9px 0 24px;gap:20px}#homeView h1{font-size:clamp(26px,2.3vw,36px);margin:5px 0 10px}.home-heading p{font-size:13px}.home-heading .primary{box-shadow:none;padding:13px 18px;font-size:12px}
.home-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}.home-overview article{position:relative;padding:19px 22px;background:white;border:1px solid var(--line);border-radius:12px}.home-overview span{display:block;font-size:12px;color:#61758b}.home-overview strong{display:block;font:800 30px Manrope,sans-serif;margin:8px 0 5px;color:#102f59}.home-overview small{font-size:10px;color:#61758b}.home-overview article:after{content:'';position:absolute;right:22px;top:22px;width:10px;height:10px;border:5px solid #eaf4fc;border-radius:50%;background:#0b5bff}
.mode-cards{gap:18px;margin-bottom:22px}.mode-card{min-height:210px;padding:22px;gap:16px;border-radius:12px;background:linear-gradient(115deg,#fff,#eaf4fc);border-color:var(--line)}.mode-card-heading{gap:15px}.mode-symbol{width:48px;height:48px;border-radius:10px;display:grid;place-items:center}.mode-symbol .ui-icon{width:29px;height:29px}.mode-card strong{font-size:25px;margin:2px 0 8px}.mode-description{font-size:12px;line-height:1.55}.mode-pills>span{font-size:10px;padding:6px 10px}.mode-cta{padding:10px 14px;min-height:38px;font-size:12px;border-radius:8px}.mode-decoration{opacity:.55}.pitch-art{height:180px}.trophy-art .ui-icon{height:170px;width:145px}
.home-football-banner{grid-template-columns:1.1fr 1fr;max-height:185px;margin:0 0 28px;background:#eaf4fc;border-radius:12px}.home-football-copy{padding:20px 26px;position:relative}.home-football-copy h2{font-size:20px;line-height:1.3;margin:8px 0}.home-football-copy h2 br{display:none}.home-football-copy p{font-size:11px;margin:0;max-width:330px}.home-official-logos{position:absolute;right:22px;bottom:18px;gap:12px;margin:0}.home-official-logos img{max-height:38px}.home-official-logos>span{height:28px}.home-football-banner .home-children{height:185px;min-height:0;max-height:185px;object-position:50% 57%}
.home-section-heading{margin-bottom:15px}.home-section-heading h2{font-size:22px}.home-filters{background:#eaf0f8;border-radius:8px;padding:3px;gap:2px;margin-left:auto}.home-filters button{border-radius:6px;background:transparent;padding:8px 14px}.home-filters button.selected{background:white;color:#0b5bff;box-shadow:0 1px 4px #102f5910}.home-search{display:flex;justify-content:space-between;align-items:center;color:#61758b;font-size:11px;gap:12px;margin:0 0 16px}.home-search input{width:min(300px,65%);font-size:12px;background:white;padding:10px 12px}.home-event-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-event-card{padding:18px;border-radius:12px;background:#fff;gap:18px}.home-event-top{gap:10px;flex-wrap:wrap}.event-symbol{height:38px;width:38px;border-radius:8px}.event-symbol .ui-icon{height:23px;width:23px}.event-description h3{font-size:13px;line-height:1.5;margin:0 0 6px}.event-description p{font-size:10px}.event-type{padding:5px 8px;font-size:9px}.home-event-bottom{padding-top:12px;gap:8px}.event-status{font-size:9px}.open-event{font-size:11px}.home-storage-note{font-size:10px}
.intro{padding:22px 0 20px;align-items:flex-start}.intro h1{font-size:30px;margin:8px 0 9px}.intro p{font-size:12px;margin:0;line-height:1.6}.intro p br{display:none}.intro .pitch{display:none}.eyebrow{font-size:9px;letter-spacing:1.7px}.event-bar{gap:10px;padding:18px 22px;margin-bottom:18px}.event-bar .label{font-size:10px;margin-bottom:7px}.event-bar select{font-weight:600}.event-bar button{font-size:11px}.event-bar .primary{padding:11px 15px}
.phase-panel,.cup-rounds-panel{padding:18px 22px;margin-bottom:20px}.phase-panel .section-title,.cup-rounds-panel .section-title{margin-bottom:12px;gap:10px}.phase-panel h2,.cup-rounds-panel h2{font-size:15px}.phase-panel .primary,.cup-rounds-panel .primary{width:auto;margin:0 0 0 auto;font-size:11px;padding:10px 14px;min-height:36px}.phase-panel .secondary,.cup-rounds-panel .secondary{font-size:11px}#phaseTabs,#cupRoundTabs{gap:7px;padding:0;margin:12px 0}#phaseTabs button,#cupRoundTabs button{padding:10px 17px;border-radius:8px;font-size:12px;background:#f5f8fd}#phaseTabs button.selected,#cupRoundTabs button.selected{background:#0b5bff;border-color:#0b5bff}#phaseTabs button span,#cupRoundTabs button span{font-size:10px}.phase-panel>p:last-child{margin-bottom:0}
.workspace{grid-template-columns:320px minmax(0,1fr);gap:20px}.workspace>.panel{min-width:0}.section-title{margin-bottom:18px}.section-title h2{font-size:17px}.label{font-size:11px;margin-top:18px}.check{font-size:11px;align-items:flex-start;margin-top:14px;gap:9px}.check input{flex:none;margin-top:3px}.rule{padding:12px;background:#eaf4fc;border-color:#dceafa;margin-top:18px}.sizes{gap:6px}.sizes button{padding:9px 5px}.drop{padding:24px 16px;background:#f5faff;border:1px dashed #a9c8ef}.drop .upload{color:#0b5bff}.drop strong{font-size:13px}#teamList,#cupTeamList{max-height:620px;overflow:auto;scrollbar-width:thin}.team-row,.cup-team{border:1px solid #e5ebf3;border-radius:8px;padding:12px;margin:8px 0;background:#fff}.team-dimensions{padding-left:0;gap:8px}.cup-team .team-dimensions{padding-left:0}.team-dimensions label{font-size:10px}.team-dimensions input{background:#f8fafd;font-size:11px}.club-edit{font-size:10px}.team-row>.remove-team{font-size:10px;color:#a53238}.team-row .team-index{background:#eaf4fc;border-radius:5px;width:25px;padding:5px;text-align:center;color:#0b5bff}.team-toolbar input{font-size:12px}.badge{color:#0b5bff;background:#eaf4fc}.team-delete-tools{margin-bottom:12px}
.planning,#cupResults{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.planning h2,#cupResults h2{font-size:24px}.planning-head{padding-bottom:8px}.actions{position:static;flex-wrap:wrap;margin:15px 0 8px}.actions button{font-size:11px}.actions button:first-child{background:#0b5bff;color:#fff;border-color:#0b5bff}#metrics{gap:12px;margin:16px 0}#metrics>div{background:#fff;border-color:var(--line);padding:16px;border-radius:10px;color:#61758b}#metrics strong{font-size:25px;color:#102f59}#dayTabs{margin:18px 0;gap:6px}#dayTabs button{font-size:11px;border-color:var(--line);border-radius:7px}#dayTabs button.active{background:#0b5bff}.plan-sector-heading{background:#eaf4fc;border:0;border-left:3px solid #0b5bff;border-radius:8px;padding:14px 18px}.plan-sector-heading h3{font-size:17px;color:#102f59}.plan-pool-heading h4{font-size:13px}.group{border-color:var(--line);border-radius:12px;padding:18px}.group-head{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:5px}.group h3,.group h4,.group h5{font-size:13px}.group li{font-size:12px;padding:10px 0}.host-badge{background:#eaf4fc;color:#0b5bff;padding:12px;border-radius:8px}.host-badge input{border-color:#c4daf8}.plateau-meta{font-size:10px;background:#f1f6fc}
.audit{margin-top:24px;padding:22px}.audit table,.postal-list table,.postal-preview table{width:100%;border-collapse:collapse}.audit th,.postal-list th,.postal-preview th{background:#edf3fa;color:#61758b;font-size:10px;font-weight:600;padding:12px;text-align:left}.audit td,.postal-list td,.postal-preview td{padding:14px 12px;border-bottom:1px solid #e8edf5;font-size:12px}.audit tbody tr:hover,.postal-list tbody tr:hover{background:#f8fbff}.table-scroll{overflow-x:auto}.audit details{max-height:450px}
#clubPostcodes{padding-top:24px}#clubPostcodes>h1{font-size:30px;margin:10px 0}#clubPostcodes>p{color:#61758b;line-height:1.7}#clubPostcodes>.panel{margin:18px 0}.postal-form{gap:14px}.postal-form label{font-size:11px}.postal-form input,.postal-form select{margin-top:8px}.postal-list .section-title{margin-bottom:12px}.postal-toolbar{gap:12px}.postal-toolbar input{min-width:0;flex:1}
.account-bar{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;margin:0;padding:14px 0;gap:8px}.account-bar strong{font-size:12px}.account-bar small{font-size:10px}.account-actions{gap:6px}.account-actions button{font-size:10px;padding:7px 9px;min-height:30px}.account-sync{flex-basis:auto;font-size:10px;margin-right:auto}.account-bar>.account-actions:last-child{margin-left:0}.account-dialog{max-width:1100px;width:min(1100px,95vw);border-radius:14px;padding:28px}.account-profile-dialog{max-width:560px}.account-dialog h2{font-size:22px}.account-dialog th{color:#61758b;background:#edf3fa;font-size:11px}.account-dialog td{font-size:12px}.account-card{border-radius:16px;box-shadow:0 16px 60px #102f5910}.account-gate{background:radial-gradient(ellipse at top,#eaf4fc,#f5f8fd 70%)}.auth-tabs button{border-radius:8px}.account-dialog input,.account-dialog select{max-width:100%}
footer{margin-top:28px;padding:20px 0}
@media(min-width:1500px){main{padding-left:44px;padding-right:44px}.workspace{grid-template-columns:340px minmax(0,1fr)}}
@media(max-width:1200px){main{padding:0 24px 20px}.home-event-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:290px minmax(0,1fr)}.home-heading{flex-direction:row}.home-football-copy{padding:18px}.home-official-logos{position:static;margin-top:10px}.home-official-logos img{max-height:28px}.home-football-copy h2{font-size:18px}.mode-card-heading{display:flex}.mode-card{min-height:220px}.event-bar{flex-wrap:wrap}.event-bar>div{flex-basis:100%}.event-bar .primary{margin-left:0}}
@media(max-width:1000px){.home-heading{flex-direction:column;gap:14px}.workspace{grid-template-columns:minmax(0,1fr)}.home-event-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-football-banner{grid-template-columns:1fr 1fr}.mode-card{padding:18px}.mode-symbol{width:38px;height:38px}.mode-card strong{font-size:22px}.mode-card-heading{gap:10px}.home-overview article{padding:16px}.home-overview small{font-size:9px}.plan-plateau-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){aside{width:100%;padding:0 14px 10px}.sidebar-brand{padding:10px 18px;margin:0 -14px 8px}.brand img{max-height:55px}.sidebar-district{height:38px;width:34px}main{margin:0;padding:0 18px 20px}header{height:62px}.home-overview{gap:10px}.home-overview article{padding:14px}.home-overview article:after{display:none}.home-overview span{font-size:10px}.home-overview strong{font-size:26px}.mode-card{min-height:220px}.intro h1{font-size:27px}.account-bar{padding:12px 0}.account-actions{margin-left:0}.phase-panel .section-title,.cup-rounds-panel .section-title{align-items:flex-start}.phase-panel .primary,.cup-rounds-panel .primary{margin-left:0}.home-search{margin-bottom:16px}.home-event-top{flex-wrap:nowrap}.event-type{display:none}}
@media(max-width:540px){.home-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.home-overview article{padding:12px 10px}.home-overview small{display:none}.home-overview strong{font-size:23px}.home-heading .primary{width:100%}#homeView h1{font-size:29px}.mode-cards{grid-template-columns:1fr}.mode-card{min-height:200px;padding:20px}.mode-symbol{width:46px;height:46px}.home-football-banner{grid-template-columns:1fr;max-height:none}.home-football-copy{padding:20px}.home-official-logos{position:absolute;right:18px;bottom:18px}.home-football-copy p{max-width:220px}.home-football-banner .home-children{height:150px;min-height:0;max-height:150px;object-fit:cover}.home-event-cards{grid-template-columns:1fr}.home-section-heading h2{font-size:20px}.home-filters button{font-size:10px;padding:8px 10px}.home-search{font-size:10px}.event-bar{padding:16px;gap:8px}.event-bar button{font-size:10px;flex:1}.event-bar .primary{flex-basis:100%;justify-content:center}.panel{padding:18px}.phase-panel .section-title{gap:12px}.phase-panel .primary,.cup-rounds-panel .primary{width:100%;justify-content:center}.plan-plateau-grid,#cupGroups{grid-template-columns:1fr}.plan-sector-heading span{white-space:normal}.home-football-copy h2{font-size:19px}.team-dimensions{gap:6px}.club-edit{max-width:48%}.postal-toolbar{flex-wrap:wrap}.postal-toolbar input{width:100%;flex-basis:100%}.account-dialog{padding:20px}.account-dialog form{gap:14px}.account-bar .account-actions{width:100%;flex-wrap:wrap}}
}
@media print{.home-overview,.home-search{display:none!important}}
/* Compact Plateaux/Coupe workspace, matching the approved visual hierarchy. */
.compact-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.filter-help{position:relative;width:17px;height:17px;min-height:17px;flex:none;border:1px solid #90a9c8;border-radius:50%;padding:0;background:transparent;color:#54779f;font-size:10px;display:grid;place-items:center;cursor:help}
.filter-help:before{content:'i';font-weight:700;font-style:normal}.filter-help:hover,.filter-help:focus-visible{background:#0b5bff;color:white;border-color:#0b5bff}
.compact-filter{position:relative;display:flex;align-items:center;gap:6px;min-width:0}.compact-filter .check{flex:1;margin:0;line-height:1.45}.compact-filter input{flex:none}
.filter-tooltip{display:none;position:absolute;top:calc(100% + 8px);left:0;z-index:30;width:300px;max-width:calc(100vw - 60px);padding:12px 14px;background:#102f59;color:white;box-shadow:0 6px 20px #102f5925;border-radius:8px;font-size:12px;line-height:1.6;font-weight:400;text-align:left}
.compact-filter:not(.help-dismissed):has(.filter-help:hover) .filter-tooltip,.compact-filter:not(.help-dismissed):has(.filter-help:focus-visible) .filter-tooltip,.compact-filter.help-open .filter-tooltip,.filter-tooltip:hover{display:block}
@media screen {
#organizerView,#cupView{padding-top:12px}.compact-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:10px 0 16px}.compact-page-heading .intro{padding:0;min-width:0}.compact-page-heading .intro h1{font-size:27px;margin:0;letter-spacing:-.8px}.compact-page-heading .intro .eyebrow,.compact-page-heading .intro p{display:none}.compact-page-heading .intro h1:before{content:'▦';color:#0b5bff;background:#e2f1ff;border-radius:9px;display:inline-grid;place-items:center;width:37px;height:37px;margin-right:12px;font-size:23px;font-weight:500;vertical-align:middle}#cupView .compact-page-heading .intro h1:before{content:'♜'}
.compact-page-heading .event-bar{padding:0;margin:0;border:0;background:transparent;box-shadow:none;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;flex:none;max-width:47%}.compact-event-picker>div{width:240px;min-width:0}.compact-event-picker .label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.compact-event-picker select{font-size:12px;padding:9px 12px;border-radius:8px;max-width:100%;text-overflow:ellipsis}.compact-event-menu{position:relative;border:0!important;margin:0!important;padding:0!important}.compact-event-menu>summary{list-style:none;padding:9px 11px;border:1px solid #dce5ef;border-radius:8px;background:white;white-space:nowrap;font-size:10px;cursor:pointer}.compact-event-menu[open]{z-index:25}.compact-event-menu[open]>button{display:block;margin-top:6px!important;min-width:150px}.compact-event-menu[open]{position:absolute;right:0;top:0;background:white;padding:10px!important;border:1px solid #dce5ef!important;border-radius:10px;box-shadow:0 8px 24px #102f5915}.compact-event-picker{position:relative}
.phase-panel,.cup-rounds-panel{padding:0!important;margin:0 0 20px;border:0;box-shadow:none;background:none;display:flex;align-items:center;justify-content:space-between;gap:14px}.compact-round-strip{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.compact-round-strip #phaseTabs,.compact-round-strip #cupRoundTabs{margin:0;padding:0;gap:7px;min-width:0}.compact-round-strip #phaseTabs button,.compact-round-strip #cupRoundTabs button{border:0;border-radius:22px;background:#e9f0fa;color:#102f59;padding:10px 20px;min-height:36px;white-space:nowrap;font-size:11px}.compact-round-strip #phaseTabs button.selected,.compact-round-strip #cupRoundTabs button.selected{background:#0b5bff;color:white}.compact-round-strip button span{display:none!important}.compact-round-strip>.primary{background:#e9f0fa;color:#102f59;width:auto;margin:0!important;border-radius:22px;min-height:36px;padding:10px 15px;font-size:11px;white-space:nowrap}.compact-round-strip>.primary:hover{background:#dce9fa}.phase-panel>.compact-details,.cup-rounds-panel>.compact-details{max-width:260px;margin:0;border:0;padding:0}.phase-panel>.compact-details[open],.cup-rounds-panel>.compact-details[open]{background:white;border:1px solid var(--line);padding:14px;border-radius:10px;max-width:400px}.phase-panel>.compact-details button,.cup-rounds-panel>.compact-details button{margin:5px;font-size:10px}.phase-panel>.compact-details p,.cup-rounds-panel>.compact-details p{font-size:10px}
#organizerView .workspace,#cupView .workspace{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:18px;align-items:start}.workspace>.compact-settings{padding:18px 20px}.workspace .section-title{margin-bottom:15px;gap:9px}.workspace .section-title h2{font-size:16px}.workspace .step{background:#e3f1ff;color:#0b5bff;border:0;width:27px;height:27px;display:grid;place-items:center;padding:0;font-size:11px}.workspace .label{font-size:11px;margin:10px 0 7px}.compact-field{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0}.compact-field>.label{margin:0;flex:1}.compact-field>select{width:58%;font-size:12px;padding:8px 10px;min-width:0}.compact-settings .sizes{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin:6px 0 12px}.compact-settings .sizes button{padding:7px 2px;border-radius:7px;font-size:12px;min-height:32px}.compact-settings .cup-sizes{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-settings .compact-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:16px 0}.compact-filter-grid .check{font-size:11px}.compact-settings .distribution{font-size:10px;line-height:1.5;margin:10px 0;color:#61758b}.compact-settings>.primary{margin:12px 0 0;font-size:12px;min-height:38px;padding:10px 14px}.compact-settings>#generationError:empty,.compact-settings>#historyInfo:empty,.compact-settings>#cupHistoryInfo:empty{display:none}.compact-settings>#historyInfo,.compact-settings>#cupHistoryInfo{font-size:10px;margin:7px 0}.compact-settings .compact-rules{margin-top:12px}.compact-rules .compact-filter{margin:13px 0}.compact-rules .small{font-size:11px}.compact-settings>.compact-rules{order:10}.compact-settings .rule{margin:10px 0}.compact-settings #cupResetHistory{font-size:11px}
.compact-details{margin:10px 0 0;padding:9px 0 0;border-top:1px solid #e4ebf4}.compact-details>summary{font-size:10px;font-weight:600;color:#547095;cursor:pointer;line-height:1.6}.compact-details[open]>summary{margin-bottom:10px}.compact-details .small{font-size:11px;line-height:1.6}.compact-details select,.compact-details button{max-width:100%}
.workspace>.compact-team-column{padding:0!important;border:0;background:none;display:flex;flex-direction:column;gap:12px}.compact-import-card,.compact-roster-card{padding:16px 18px}.compact-import-card h2{font-size:15px;margin-bottom:10px}.compact-import-card .drop{padding:10px;flex-direction:row;justify-content:center;gap:8px;border-style:solid;background:#f7fbff;border-color:#b8d1f2;border-radius:8px}.compact-import-card .drop>.upload{font-size:19px;line-height:1}.compact-import-card .drop strong{font-size:11px}.compact-import-card .drop>span:last-of-type{display:none}.compact-import-card>p{font-size:10px;margin:7px 0 0}.compact-import-card>p:empty{display:none}.compact-roster-card .section-title{margin-bottom:7px}.compact-roster-card .section-title h2{font-size:15px}.compact-roster-card .badge{font-size:10px;white-space:nowrap;background:#eaf4fc}.compact-team-preview{list-style:none;padding:0;margin:0}.compact-team-preview li{display:flex;gap:9px;align-items:center;padding:9px 0;border-top:1px solid #e6edf6;font-size:12px;font-weight:500}.compact-team-mark{font-size:15px;color:#527baf}.compact-team-preview .compact-more{color:#61758b;justify-content:flex-end;font-size:10px;font-weight:400;padding:7px 0 0;border:0}.compact-seed{color:#eab308;margin-left:auto}.compact-team-editor{margin-top:9px;padding-top:7px}.compact-team-editor>summary{color:#0b5bff}.compact-team-editor #teamList,.compact-team-editor #cupTeamList{max-height:400px}.compact-team-editor[open] .team-row,.compact-team-editor[open] .cup-team{padding:10px}.compact-team-editor .team-toolbar{margin:10px 0}.compact-team-editor .team-toolbar button{font-size:10px}.compact-team-editor .small{font-size:10px}
#planning,#cupResults{margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}.compact-results-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px}.compact-results-toolbar #dayTabs{flex:1;gap:6px;margin:0;min-width:0}.compact-results-toolbar #dayTabs button{border:0;border-radius:20px;background:#e9f0fa;color:#102f59;font-size:11px;padding:9px 15px;min-height:34px}.compact-results-toolbar #dayTabs button.active{background:#0b5bff;color:white}.compact-results-toolbar .actions{margin:0;gap:7px;flex-wrap:wrap}.compact-results-toolbar .actions button{font-size:10px;padding:8px 11px;min-height:34px}.compact-coverage{margin-left:auto;padding:8px 11px;border-radius:8px;background:#e3f5ed;color:#24614e;font-size:10px;white-space:nowrap}.compact-coverage.coverage-warning{background:#fff1d5;color:#90591c}.planning-head{padding:0}.planning-head>.eyebrow{display:none}.planning-head h2,#cupResults .planning-head h2{font-size:18px;margin:8px 0 10px}.has-results .planning-head h2{display:none}.compact-result-details{margin:0 0 12px;padding:0;border:0}.compact-result-details>summary{font-size:10px}.compact-result-details #metrics{margin:10px 0}.compact-result-details #metrics>div{padding:10px 12px}.compact-result-details #metrics strong{font-size:22px}.compact-result-details p{font-size:11px}.compact-result-details p:empty{display:none}#cupResults>label,#cupResults>select{display:none}
.plan-sector{margin-bottom:16px}.plan-sector-heading{padding:11px 15px;margin-bottom:10px;border:0;border-radius:9px;background:#e1f2ff}.plan-sector-heading h3{font-size:19px;font-weight:800}.plan-sector-heading span{font-size:10px}.plan-pool-heading{margin:4px 0 9px;padding:0 4px}.plan-pool-heading h4{font-size:13px}.plan-plateau-grid{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.plan-plateau-grid .group{padding:14px;border-radius:10px}.group-head{padding-bottom:9px;margin-bottom:3px}.group h3,.group h4,.group h5{font-size:14px}.group-head span{font-size:10px}.group ul{margin:5px 0 10px;padding:0}.group li{display:flex;align-items:center;gap:7px;font-size:12px;padding:8px 0;border:0;overflow-wrap:anywhere}.group li:before{content:'♧';font-size:14px;color:#527baf;flex:none}.host-badge{margin-top:8px;padding:9px 10px;background:#e1f2ff;color:#17529c;font-size:11px;border-radius:7px}.host-badge strong{font-size:11px}.host-badge>span{font-size:10px;margin-top:4px}.group>label{margin-top:9px;font-size:10px}.group>label input{padding:7px 8px;margin-top:5px;font-size:11px}.plateau-meta{font-size:10px;padding:6px 8px}.group .seed-tag{margin-left:auto;font-size:9px}.compact-cup-section{grid-column:1/-1;min-width:0;margin-bottom:6px}.compact-scope-heading{background:#e1f2ff;border-radius:9px 9px 0 0;margin:0;padding:12px 15px;font:800 19px Manrope,sans-serif;color:#102f59}.compact-cup-section .plan-plateau-grid{padding-top:10px}.compact-cup-section .group>.plateau-meta{display:none}#cupGroups{display:block}.compact-cup-section .group>label{display:block;background:#e1f2ff;color:#17529c;border-radius:7px;padding:8px}#cupGroups .compact-cup-section+section{margin-top:18px}
@media(min-width:1500px){.compact-page-heading .intro h1{font-size:30px}.workspace>.compact-settings{padding:20px 22px}}
@media(max-width:1150px){.compact-page-heading .intro h1{font-size:23px}.compact-page-heading .event-bar{max-width:45%}.compact-event-picker>div{width:180px}.compact-event-menu>summary{font-size:9px}.compact-results-toolbar .actions button{padding:8px;font-size:9px}.compact-settings .compact-filter-grid{gap:12px 8px}.compact-filter-grid .check{font-size:10px}.compact-settings .sizes{grid-template-columns:repeat(5,minmax(0,1fr))}.compact-settings .cup-sizes{grid-template-columns:repeat(4,minmax(0,1fr))}.plan-plateau-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.compact-page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.compact-page-heading .event-bar{max-width:100%}.compact-page-heading .intro h1{font-size:26px}.phase-panel,.cup-rounds-panel{flex-wrap:wrap}.phase-panel>.compact-details,.cup-rounds-panel>.compact-details{max-width:100%}.compact-round-strip{flex-basis:100%}#organizerView .workspace,#cupView .workspace{grid-template-columns:minmax(0,1fr)}.compact-settings .sizes{grid-template-columns:repeat(10,minmax(0,1fr))}.compact-settings .cup-sizes{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-settings .compact-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-filter-grid .check{font-size:12px}.compact-team-column .compact-roster-card{min-height:0}.compact-results-toolbar .actions{margin-left:auto}.compact-page-heading .intro h1:before{font-size:20px;width:32px;height:32px}}
@media(max-width:540px){.compact-page-heading .intro h1{font-size:24px}.compact-page-heading .event-bar{width:100%}.compact-event-picker>div{flex:1;width:auto}.compact-event-menu>summary{font-size:10px}.compact-round-strip{flex-wrap:wrap;gap:8px}.compact-round-strip #phaseTabs,.compact-round-strip #cupRoundTabs{max-width:100%}.compact-round-strip #phaseTabs button,.compact-round-strip #cupRoundTabs button{padding:9px 15px}.compact-round-strip>.primary{width:auto!important}.compact-settings .sizes{grid-template-columns:repeat(5,minmax(0,1fr))}.compact-settings .cup-sizes{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-settings .compact-filter-grid{grid-template-columns:minmax(0,1fr)}.filter-tooltip{left:0;width:280px}.compact-filter{font-size:12px}.plan-plateau-grid{grid-template-columns:1fr}.compact-results-toolbar #dayTabs{flex-basis:100%}.compact-coverage{margin-left:0}.compact-results-toolbar .actions{width:100%;margin:0}.compact-results-toolbar .actions button{font-size:10px;flex:1}.plan-sector-heading h3,.compact-scope-heading{font-size:17px}.compact-page-heading{margin-top:6px}.compact-settings .compact-rules{font-size:11px}}
}
@media print{.filter-help,.filter-tooltip,.compact-details,.compact-results-toolbar,.compact-page-heading,.compact-team-column{display:none!important}.compact-cup-section{break-inside:auto}.compact-cup-section .plan-plateau-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.compact-scope-heading{break-after:avoid}.compact-cup-section .group{break-inside:avoid}}

@media screen{.compact-estimate{font-size:11px;color:#61758b;margin:10px 0}.compact-estimate:empty{display:none}.compact-page-heading .intro h1:before{content:''!important;background:#e2f1ff;mask:none;position:relative}.compact-page-heading .intro h1{position:relative}.compact-page-heading .intro h1:after{content:'';position:absolute;left:9px;top:8px;width:19px;height:19px;background:#0b5bff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4m10-4v4M3 11h18M7 15h3m4 0h3M7 18h3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}#cupView .compact-page-heading .intro h1:after{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M7 3h10v6a5 5 0 0 1-10 0zM7 5H3v3a4 4 0 0 0 4 4m10-7h4v3a4 4 0 0 1-4 4M12 14v6m-4 1h8'/%3E%3C/svg%3E")}.group li:before,.compact-team-mark{content:'';width:13px;height:15px;display:inline-block;background:#527baf;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='m4 4 8-2 8 2v7c0 5-4 8-8 11-4-3-8-6-8-11z'/%3E%3C/svg%3E") center/contain no-repeat}.compact-team-mark{font-size:0;flex:none}}
@media screen{.workspace>.compact-settings{padding:17px 20px}.compact-settings .section-title{margin-bottom:12px}.compact-settings .compact-field{margin:8px 0}.compact-settings .compact-field>select{padding:7px 10px;min-height:32px}.compact-settings .compact-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:13px 0}.compact-settings .compact-filter-grid .check{font-size:11px}.compact-settings .compact-filter-grid .filter-help{width:15px;height:15px;min-height:15px;font-size:9px}.compact-settings .compact-estimate{margin:8px 0;font-size:10px}.compact-settings>.primary{margin-top:9px}.compact-settings .compact-rules{margin-top:10px;padding-top:7px}#cupSettingsPanel .compact-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:19px 0 28px}.compact-settings .sizes{margin:5px 0 10px}.compact-settings .label{margin:8px 0 6px}.compact-settings .compact-field>.label{margin:0}.compact-rules .compact-field{display:flex}.compact-rules .compact-field>.label{clip-path:none;position:static;width:auto;height:auto}.compact-import-card>p{line-height:1.4}.compact-team-preview li{padding:8px 0}@media(max-width:1150px){.compact-settings .compact-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.compact-settings .compact-filter-grid,#cupSettingsPanel .compact-filter-grid{grid-template-columns:1fr}.compact-settings .compact-filter-grid .check{font-size:12px}}}
@media screen{.compact-import-card{padding:14px 18px}.compact-import-card h2{margin-bottom:8px}.compact-import-report{margin-top:8px;padding-top:0;border:0}.compact-import-report>summary{font-size:9px;color:#61758b;font-weight:400}.compact-import-report p{font-size:10px;line-height:1.5}.compact-roster-card{padding:14px 18px}.compact-team-preview li{padding:7px 0}.compact-team-preview .compact-more{padding-top:7px}.compact-settings .compact-filter input[type=checkbox]{appearance:none;width:15px;height:15px;border:1px solid #b9c9de;border-radius:4px;padding:0;background:white;position:relative;margin:0 2px 0 0;flex:none}.compact-settings .compact-filter input[type=checkbox]:checked{background:#0b5bff;border-color:#0b5bff}.compact-settings .compact-filter input[type=checkbox]:checked:after{content:'';position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.compact-settings .compact-filter input[type=checkbox]:disabled{opacity:.7}.compact-settings .compact-filter .check{align-items:center}.compact-venue{border:0;padding:0;margin:8px 0 0}.compact-venue>summary{font-size:9px;font-weight:400;color:#61758b}.compact-venue>label{display:block;margin-top:7px;font-size:10px}.compact-venue>label input{width:100%;font-size:11px;padding:7px 8px;margin-top:4px}.compact-venue>span{display:block;color:#61758b;margin-top:6px;font-size:10px}.compact-cup-section .compact-venue{background:#e1f2ff;border-radius:7px;padding:8px 10px}.compact-cup-section .compact-venue>summary{color:#17529c;font-size:10px}.group .host-badge{display:flex;gap:5px;flex-wrap:wrap;line-height:1.5}.group .host-badge strong{display:inline}.plan-sector .plan-plateau-grid .group>.compact-meta-redundant{display:none}}
@media print{.compact-result-details{display:block!important}.compact-venue{display:block!important}.compact-venue>summary{display:none}.filter-help,.filter-tooltip{display:none!important}}
@media screen{.compact-venue>summary{overflow-wrap:anywhere}.group .seed-tag:before{content:'★';color:#dba800;margin-right:4px}.compact-import-report[open] p{overflow-wrap:anywhere}}
@media screen{#organizerView,#cupView{padding-top:8px}.compact-page-heading{margin-bottom:12px}.phase-panel,.cup-rounds-panel{margin-bottom:14px}.compact-import-card{padding:11px 18px}.compact-import-card h2{margin-bottom:6px}.compact-import-card .drop{padding:7px 10px}.compact-import-report{margin-top:6px}.compact-roster-card{padding:12px 18px}.compact-roster-card .section-title .step{width:22px;height:22px;font-size:10px}.compact-team-preview li{padding:5px 0}.compact-team-preview .compact-more{padding-top:5px;font-size:10px}.compact-team-editor{margin-top:6px;padding-top:5px}.compact-roster-card .section-title{margin-bottom:5px}}
.team-distance-warning{display:inline-flex;flex:none;align-items:center;padding:3px 6px;border:1px solid #f3c46b;border-radius:5px;background:#fff1d6;color:#935615;font-size:10px;font-weight:700;margin-left:auto;white-space:nowrap}.group li{flex-wrap:wrap}.distance-overrun{color:#935615!important;background:#fff5df!important;border-radius:7px;padding:8px}.distance-badge summary{font-size:10px;line-height:1.5}.distance-badge{margin:8px 0}.distance-badge details{margin:0}.distance-badge li{display:list-item!important}.distance-badge li:before{display:none!important}@media print{.team-distance-warning{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.distance-control{margin:10px 0 13px;padding:10px 12px;border:1px solid #dce9f7;background:#f6faff;border-radius:8px}.distance-slider-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600}.distance-slider-heading output{color:#0b5bff;font-size:13px;font-weight:700}.distance-control input[type=range]{display:block;width:100%;padding:0;margin:12px 0 7px;accent-color:#0b5bff;border:0;cursor:pointer}.distance-scale{display:flex;justify-content:space-between;font-size:10px;color:#61758b}.encounter-target{font-size:10px;line-height:1.5;color:#4e6b91;margin:10px 0}.encounter-limit{padding:10px 13px;margin:0 0 12px;background:#e9f6ef;color:#24614e;border:1px solid #d5ecdf;border-radius:8px;font-size:11px;line-height:1.65}.encounter-limit-warning{background:#fff4df;color:#8e581b;border-color:#f0d39b}@media print{.distance-control,.encounter-target{display:none}.encounter-limit{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.home-event-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border-top:1px solid #edf2fa;padding-top:10px}.home-delete-event{border:0;background:none;color:#a5323c;padding:7px 0;min-height:32px;font-size:11px;cursor:pointer}.home-delete-event:hover{text-decoration:underline;color:#7d1c27}.home-event-actions .open-event{margin-left:auto}@media print{.home-delete-event{display:none!important}}
@media screen{#dayTabs .day-tab{display:inline-flex;align-items:center;flex:none;overflow:hidden;border-radius:22px;background:#e9f0fa;color:#102f59}#dayTabs .day-tab.selected{background:#0b5bff;color:#fff}#dayTabs .day-tab>button{background:transparent;color:inherit;border:0;border-radius:0;min-height:34px;margin:0}#dayTabs .day-tab>button:first-child{padding-right:8px}#dayTabs .day-tab>.day-date-edit{width:30px;min-width:30px;padding:7px 8px 7px 5px;display:grid;place-items:center}#dayTabs .day-date-edit svg{width:15px;height:15px}#dayTabs .day-date-edit:hover:not(:disabled){background:#ffffff28}#dayTabs .day-date-edit:disabled{opacity:.4}.day-date-dialog{max-width:430px}.day-date-dialog h2{font-size:22px}.day-date-dialog p{font-size:12px;line-height:1.6;color:#61758b}.day-date-dialog label{display:block;font-size:12px;font-weight:600;margin:20px 0 8px}.day-date-dialog input{width:100%;min-height:44px}.day-date-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px}.day-date-actions .primary{width:auto;margin:0;min-height:38px;padding:10px 16px;font-size:12px}.day-date-actions .secondary{font-size:12px}.day-date-dialog #dayDateError{color:#b42318}.day-date-dialog #dayDateError:empty{display:none}}@media print{#dayDateDialog,.day-date-edit{display:none!important}}

/* Plateaux: one filter block, with secondary settings folded away. */
.plateau-simple-filters{margin:16px 0 10px;padding:14px;border:1px solid #dce6f2;border-radius:12px;background:#f8faff}
.plateau-simple-filters h3{font-size:14px;margin:0 0 12px;color:#183759}
.plateau-filter-section{border-top:1px solid #dce6f2;margin-top:12px;padding-top:12px}
.plateau-filter-section h4{font-size:12px;margin:0;color:#4e637b}
.plateau-simple-filters .compact-field{display:block}
.plateau-simple-filters .compact-field>.label{display:block;margin-bottom:7px}
.plateau-simple-filters .compact-field>select{width:100%;font-size:13px}
.plateau-simple-filters .compact-filter-grid{margin:10px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
.plateau-simple-filters .small{font-size:11px;line-height:1.5;margin:8px 0}
.plateau-simple-filters .compact-filter .check{font-size:12px}
.plateau-simple-filters .host-club-filter{border:0;background:transparent;padding:0;margin:12px 0 0}
.plateau-host-options{margin-top:12px;padding-top:12px;border-top:1px solid #dce6f2}
.plateau-host-options>summary{font-size:12px;cursor:pointer;font-weight:600}
@media(max-width:540px){.plateau-simple-filters .compact-filter-grid{grid-template-columns:1fr}.plateau-simple-filters{padding:12px}}
