@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{--green:#1455a0;--ink:#192d49;--muted:#728095;--line:#dfe6ef;--bg:#f4f7fb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a,label.drop{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}aside{position:fixed;inset:0 auto 0 0;width:230px;background:#fff;border-right:1px solid var(--line);padding:34px 24px;z-index:2}.brand{color:var(--green);font-size:33px;text-decoration:none;font-weight:800;display:flex;gap:10px;align-items:center;letter-spacing:-1.6px}.dot{color:#b7c86b}.district{font-size:8px;letter-spacing:1.8px;margin:14px 0 54px;color:var(--muted)}nav a{display:block;padding:15px 12px;margin:7px -7px;text-decoration:none;color:#6c7870;font-weight:500;border-radius:8px}nav .active{background:#eaf2fc;color:var(--green)}.aside-bottom{position:absolute;bottom:28px;font-size:11px;color:#5e7265}.aside-bottom p{line-height:1.8;color:#97a198}.online{display:inline-block;width:6px;height:6px;background:#2998da;border-radius:100%;margin-right:5px}main{margin-left:230px;padding:0 42px;max-width:1700px}header{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1.6px;color:#7d877e}.tag{border:1px solid #dfe5d8;background:#fff;padding:9px 13px;border-radius:20px;font-size:10px;letter-spacing:.2px}.intro{display:flex;justify-content:space-between;align-items:center;padding:42px 0 36px;gap:20px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--green)}h1{font:800 42px/1.2 Manrope,sans-serif;letter-spacing:-1.8px;margin:17px 0}h1 span{color:var(--green)}.intro p{color:#7b847c;line-height:1.7}.pitch{position:relative;background:#e1edfa;width:290px;height:185px;border:1px solid #cbdcf1;border-radius:90px 15px 15px 15px;overflow:hidden;transform:rotate(-3deg);margin-right:15px}.pitchline{position:absolute;inset:20px;border:1px solid #a7c2e4;border-radius:3px}.pitchline:after{content:'';position:absolute;left:50%;height:100%;border-left:1px solid #a7c2e4}.circle{position:absolute;left:120px;top:60px;width:50px;height:50px;border:1px solid #a7c2e4;border-radius:50%}.player{position:absolute;background:var(--green);color:#fff;width:34px;height:34px;display:grid;place-items:center;border:4px solid #edf5fd;border-radius:50%;font-size:9px;box-shadow:0 4px 8px #173b2620}.p1{left:60px;top:43px}.p2{right:48px;top:40px;background:#2c9bdf}.p3{left:93px;bottom:36px;background:#2c9bdf}.p4{right:70px;bottom:42px}.pitchcaption{position:absolute;bottom:7px;right:12px;font-size:6px;letter-spacing:1.3px;color:#5c765a}.workspace{display:grid;grid-template-columns:350px 1fr;gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.section-title{display:flex;gap:10px;align-items:center;margin-bottom:24px}.step{font-size:10px;background:#f2f4ee;color:#6d7c69;border:1px solid #e6eadd;padding:6px;border-radius:5px}h2{font:700 18px Manrope,sans-serif;margin:0;letter-spacing:-.4px}.label{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin:21px 0 11px}.label span{color:#9aa18f;font-weight:400}.sizes{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.sizes button{background:#fff;border:1px solid #e1e6db;border-radius:6px;padding:10px;color:#64705d}.sizes .selected{background:var(--green);border-color:var(--green);color:#fff}select,input,textarea{border:1px solid #dfe5d9;border-radius:6px;padding:10px;background:#fff;color:var(--ink)}select{width:100%}.rule{display:flex;gap:10px;background:#eef5fc;border:1px solid #dce8f7;border-radius:7px;padding:14px;margin-top:22px}.rule>span{font-size:25px;color:var(--green)}.rule strong{font-size:12px}.rule p,.small{font-size:11px;color:#828d80;line-height:1.6}.rule p{margin-bottom:0}.check{display:flex;align-items:center;gap:7px;font-size:11px;margin:16px 0 0}.check input{accent-color:var(--green)}.primary{display:flex;justify-content:space-between;width:100%;background:var(--green);color:#fff;padding:14px 16px;border:0;border-radius:6px;font-weight:600;margin-top:18px}.secondary{border:1px solid #dfe5d9;background:#fff;padding:10px 13px;border-radius:6px;color:var(--ink)}.distribution{font-size:12px;line-height:1.7;color:var(--green);margin:14px 0}.badge{margin-left:auto;background:#edf5fd;border-radius:20px;padding:5px 9px;font-size:10px;color:var(--green)}.drop{border:1px dashed #b9c9b4;border-radius:8px;background:#fbfcf8;display:flex;align-items:center;flex-direction:column;padding:21px 12px;gap:9px;cursor:pointer}.drop strong{font-size:12px}.drop>span:last-of-type{font-size:10px;color:#8b9486}.drop input{display:none}.upload{font-size:24px;color:var(--green)}.team-toolbar{display:flex;gap:10px;margin:20px 0 10px}.team-toolbar input{min-width:0;flex:1;font-size:11px}#teamList{max-height:245px;overflow:auto}.team-row{display:flex;align-items:center;border-bottom:1px solid #f0f2ec;padding:10px 2px;gap:10px;font-size:11px}.team-index{color:#a2ab9d;width:20px;font-size:10px}.team-row button{margin-left:auto;color:#9caaa0;border:0;background:none;font-size:17px}details{margin-top:15px;font-size:11px;color:#73816c}details textarea{width:100%;margin-bottom:8px}.planning{margin-top:38px}.planning-head{position:relative}.planning h2{font-size:24px;margin-top:9px}.planning p{color:#89917f;font-size:12px}.actions{position:absolute;right:0;bottom:3px;display:flex;gap:8px}.actions button{font-size:11px}#metrics{display:flex;gap:14px;margin:23px 0}#metrics>div{background:#e9f2fc;border:1px solid #d7e5f5;padding:15px 20px;border-radius:8px;flex:1;font-size:11px;color:#74846b}#metrics strong{display:block;font-size:24px;color:var(--green);margin-bottom:5px}#dayTabs{display:flex;gap:7px;overflow:auto;margin:22px 0 18px}#dayTabs button{white-space:nowrap;border:1px solid #dce4d4;background:white;padding:10px 15px;border-radius:6px;color:#7d8a74}#dayTabs button.active{background:var(--green);color:white}#groups{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.group{background:white;border:1px solid var(--line);border-radius:9px;padding:18px}.group-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.group h3{font-size:13px;margin:0}.group-head span{font-size:10px;color:#809073}.group ul{padding:0;list-style:none;margin:0}.group li{padding:9px 0;border-bottom:1px solid #f0f2eb;font-size:11px}.group label{display:block;font-size:10px;color:#7c8a73;margin-top:13px}.group input{width:100%;font-size:11px;padding:8px;margin-top:5px}.audit{margin-top:25px;font-size:12px}.audit table{border-collapse:collapse;width:100%;font-size:11px}.audit td,.audit th{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.audit details{max-height:300px;overflow:auto}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:28px 0;margin-top:35px;font-size:11px;color:#899180}#toast{position:fixed;bottom:25px;left:50%;background:var(--ink);color:white;border-radius:8px;padding:14px 22px;display:none;z-index:10}@media(min-width:1500px){main{padding:0 65px}}@media(max-width:1100px){aside{width:190px;padding:30px 19px}main{margin-left:190px;padding:0 25px}.workspace{grid-template-columns:310px 1fr}.pitch{width:220px}h1{font-size:34px}#groups{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){aside{position:static;width:100%;padding:15px 20px;border-bottom:1px solid var(--line)}.brand{font-size:25px}.district,nav,.aside-bottom{display:none}main{margin:0;padding:0 18px}header{height:58px}.intro{padding:30px 0}.pitch{display:none}h1{font-size:34px}.workspace{grid-template-columns:1fr}.actions{position:static;margin-top:15px}#groups{grid-template-columns:1fr}#metrics{flex-wrap:wrap}#metrics>div{min-width:125px}footer span{display:none}}@media print{aside,header,.intro,.workspace,.actions,#dayTabs,footer,#toast{display:none}main{margin:0;padding:0}.planning{margin:0}#groups{grid-template-columns:repeat(2,1fr)}.group{break-inside:avoid}body{background:white}.print-day{display:block;page-break-before:always}input{border:0}.audit{display:none}}

.brand img{width:100%;height:auto;display:block}.brand{min-height:65px} @media(max-width:800px){.brand{width:170px;min-height:45px}}

.event-bar{display:flex;gap:15px;align-items:end;margin-bottom:22px}.event-bar>div{flex:1}.event-bar .label{margin-top:0}.event-bar .primary{width:auto;margin:0;white-space:nowrap}.event-bar button{min-height:40px}@media(max-width:800px){.event-bar{flex-wrap:wrap}.event-bar>div{flex-basis:100%}}

[hidden]{display:none!important}.club-edit{margin-left:auto;font-size:9px;color:#728095;max-width:45%}.club-edit input{width:100%;padding:6px;font-size:10px}.host-badge{background:#e9f2fc;border-radius:6px;padding:10px;font-size:11px;margin-top:12px;color:#1455a0}.host-badge span{display:block;font-size:10px;margin-top:5px}.team-row button{margin-left:0}

.team-row{flex-wrap:wrap}.team-dimensions{display:flex;gap:10px;width:100%;padding-left:30px}.team-dimensions label{flex:1;min-width:0;font-size:9px;color:#728095}.team-dimensions input{width:100%;font-size:10px;padding:6px;margin-top:3px}.plateau-meta{font-size:11px;color:#1455a0;background:#eef5fc;padding:8px;border-radius:5px}#dimensionSummary{max-height:110px;overflow:auto}#generationError{font-size:12px;line-height:1.6}

.danger{color:#ad3030;border-color:#ecd1d1}.danger:hover:not(:disabled){background:#fff2f2}.event-bar{flex-wrap:wrap}.event-bar>div{min-width:200px}.team-delete-tools{display:flex;align-items:center;gap:12px;margin:0 0 12px;flex-wrap:wrap}.team-delete-tools button{font-size:11px}.team-row .remove-team{font-size:10px;color:#ad3030;border:1px solid #ecd1d1;border-radius:4px;padding:6px;background:#fff}.team-row .remove-team:hover{background:#fff2f2}

#sitesPanel{margin-top:24px}.site-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.site-actions>*{font-size:11px}.site-import{cursor:pointer}.site-import input{display:none}.site-editor{padding:14px;border:1px solid #dfe6ef;border-radius:8px;margin:10px 0;color:#192d49}.site-editor summary{font-size:12px;font-weight:600;cursor:pointer}.site-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.site-fields label,.site-pins{display:block;font-size:11px;color:#728095}.site-fields input,.site-pins textarea{display:block;width:100%;margin-top:6px;font-size:12px}.site-pins textarea{margin-bottom:12px}.fixed-place{padding:12px 0;font-size:12px}.fixed-place p{font-size:11px;margin:5px 0;color:#728095}@media(max-width:850px){.site-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

.postal-form{display:grid;grid-template-columns:2fr 1fr auto 2fr;gap:14px;align-items:end;margin-top:20px}.postal-form label{font-size:12px;color:#728095;min-width:0}.postal-form input,.postal-form select{display:block;width:100%;margin-top:8px}.postal-form .primary{grid-column:4;margin-top:0}.postal-list{margin-top:24px}.postal-toolbar{display:flex;gap:15px;margin:20px 0}.postal-toolbar input{flex:1;min-width:0}.table-scroll{overflow:auto}.table-scroll table{width:100%;border-collapse:collapse;font-size:12px}.table-scroll td,.table-scroll th{text-align:left;padding:13px 8px;border-bottom:1px solid #dfe6ef}.table-scroll button{font-size:10px;padding:7px}.distance-badge{font-size:11px!important;color:#1455a0!important;background:#eaf2fc;padding:8px;border-radius:5px}#clubPostcodes{padding-top:35px}#clubPostcodes h1{font-size:32px}.site-fields select{width:100%;margin-top:6px}@media(max-width:1000px){.postal-form{grid-template-columns:1fr 1fr}.postal-form .primary{grid-column:auto}}@media(max-width:600px){.postal-form{grid-template-columns:1fr}.postal-toolbar{flex-direction:column}}
@media(max-width:800px){aside nav{display:flex;overflow-x:auto;gap:8px;margin:10px 0 0}aside nav a{white-space:nowrap;flex:0 0 auto;margin:0;padding:10px;font-size:11px}}

#homeView{padding:55px 0 30px}#homeView h1{font-size:46px;margin:20px 0}#homeView h1 span{color:#1455a0}#homeView>p{color:#728095;line-height:1.7}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:35px 0}.mode-card{display:flex;flex-direction:column;align-items:start;gap:20px;text-align:left;border:1px solid #dce6f3;border-radius:16px;background:#fff;padding:32px;color:#192d49;min-height:320px;transition:transform .15s,box-shadow .15s}.mode-card:hover{transform:translateY(-3px);box-shadow:0 8px 26px #14375a10}.mode-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#eaf2fc;color:#1455a0;font-size:32px}.mode-card strong{font:800 32px Manrope,sans-serif}.mode-card>span:not(.mode-symbol):not(.eyebrow):not(.mode-cta){font-size:14px;line-height:1.8;color:#728095}.mode-cta{margin-top:auto;font-weight:700;color:#1455a0}.cup-card{background:#edf4fd}.cup-sizes{grid-template-columns:repeat(4,1fr)}#cupTeamList{max-height:420px;overflow:auto}.cup-team{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f6;font-size:12px}.seed-check{display:flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap;font-size:10px;color:#1455a0}.seed-check input{accent-color:#1455a0}.cup-team>button{font-size:10px;padding:6px}.seed-tag{display:inline-block;font-size:9px;margin-left:8px;padding:3px 6px;background:#eaf2fc;border-radius:10px;color:#1455a0}#cupGroups{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.cup-error{color:#b42318;font-size:12px;line-height:1.6}#cupBulk{width:100%;margin:15px 0}#cupHistorySelect{max-width:420px}@media(max-width:1100px){#cupGroups{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.mode-cards,#cupGroups{grid-template-columns:1fr}#homeView h1{font-size:34px}.mode-card{min-height:280px;padding:24px}.cup-team{flex-wrap:wrap}.seed-check{margin-left:0}}@media print{#homeView,#clubPostcodes,.cup-controls,#cupSettingsPanel,#cupTeamsPanel,#cupHistorySelect,label[for="cupHistorySelect"]{display:none!important}#cupGroups{grid-template-columns:repeat(2,1fr)}#cupView .actions{display:none}#cupResults{margin:0}}

.postal-excel{margin:24px 0}.postal-excel>.drop{margin:18px 0}.postal-preview{max-height:430px;margin:16px 0}.postal-preview table{min-width:800px}.postal-preview input:not([type="checkbox"]),.postal-preview select{font-size:11px;width:100%;min-width:105px;padding:7px}.postal-preview small{display:block;color:#728095;font-size:10px;margin-top:5px}.postal-problem{color:#b42318;font-size:11px}.postal-import-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.postal-import-actions .primary{width:auto;margin:0}

.season-picker{display:flex;gap:8px;align-items:center;letter-spacing:0;max-width:310px}.season-picker select{border:0;background:transparent;font-size:11px;padding:2px 15px 2px 3px;min-width:130px;color:#1455a0}.season-picker:focus-within{outline:2px solid #b6cfea}

/* The generated day is presented by sector, then by pool, preserving plateau IDs. */
#groups{display:block}.plan-sector{margin:0 0 34px}.plan-sector-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#e7f0fc;border:1px solid #d1e1f5;border-left:5px solid #1455a0;border-radius:9px;padding:17px 20px;margin:0 0 18px}.plan-sector-heading h3{margin:0;color:#1455a0;font:800 20px Manrope,sans-serif}.plan-sector-heading span{color:#506984;font-size:12px;white-space:nowrap}.plan-pool{margin:0 0 24px}.plan-pool-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:0 2px}.plan-pool-heading h4{font:700 15px Manrope,sans-serif;color:#243e5e;margin:0}.plan-pool-heading span{color:#728095;font-size:11px}.plan-plateau-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.group h4,.group h5{font-size:13px;margin:0}.plan-plateau-grid .group{min-width:0}
@media(max-width:1100px){.plan-plateau-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.plan-plateau-grid{grid-template-columns:1fr}.plan-sector-heading{align-items:flex-start;flex-direction:column;gap:6px;padding:15px}.plan-sector-heading h3{font-size:18px}}
@media print{#groups{display:block}.plan-plateau-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-sector-heading,.plan-pool-heading{break-after:avoid}.plan-sector-heading{print-color-adjust:exact;-webkit-print-color-adjust:exact}.plan-sector{margin-bottom:24px}#excelStatus,#excelDownload{display:none!important}}

.cup-rounds-panel{margin-bottom:24px}.cup-rounds-panel .section-title{flex-wrap:wrap}#cupRoundTabs{display:flex;gap:10px;overflow-x:auto;padding:8px 0 16px}#cupRoundTabs button{flex-shrink:0;border:1px solid #dfe6ef;background:white;border-radius:12px;padding:12px 20px;color:#192d49;text-align:left;font-weight:700}#cupRoundTabs button span{display:block;font-size:10px;font-weight:400;margin-top:5px;color:#728095}#cupRoundTabs button.selected{background:#1455a0;color:white;border-color:#1455a0}#cupRoundTabs button.selected span{color:#d7eaff}.cup-rounds-panel summary{cursor:pointer;font-weight:600;color:#1455a0}.cup-rounds-panel details{padding-top:12px;border-top:1px solid #dfe6ef}@media print{.cup-rounds-panel{display:none!important}}

/* Modern blue workspace, based on the approved orga’FAL home concept. */
.ui-icon{width:22px;height:22px;flex:none;vertical-align:middle}
@media screen{
:root{--green:#075bff;--ink:#102453;--muted:#617393;--line:#dde9f7;--bg:#f6faff}body{background:linear-gradient(130deg,#f9fbff 0%,#f2f9ff 100%);color:var(--ink)}
aside{width:246px;padding:0 16px 130px;background:linear-gradient(150deg,#112f64,#082758 80%);border:0;overflow-y:auto;display:flex;flex-direction:column}.sidebar-brand{background:white;margin:0 -16px 22px;padding:24px 23px 20px;text-align:center;border-radius:0 0 18px 0}.brand{min-height:0;width:100%;display:block}.brand img{width:100%;height:auto;max-height:92px;object-fit:contain}.sidebar-district{object-fit:contain;width:49px;height:56px;display:block;margin:8px auto}.district{font-size:11px;letter-spacing:0;color:#526587;margin:10px 0 0;line-height:1.5}aside nav a{color:#e1eaff;display:flex;align-items:center;gap:15px;padding:15px 17px;margin:4px 0;border-radius:10px;font-size:13px;transition:background .15s}aside nav a:hover{background:#ffffff12}aside nav a.active{background:#075bff;color:white;box-shadow:0 6px 18px #001c5430}aside nav a .ui-icon{width:23px;height:23px}aside .aside-bottom{color:#d8e6ff;font-size:10px;position:static;margin-top:auto;padding:34px 8px 0}aside .aside-bottom p{color:#a8bedf;font-size:10px;margin:10px 0 0}.online{background:#56c8ee}
main{margin-left:246px;padding:0 34px;max-width:1800px;min-width:0}header{height:88px;border:0;gap:16px;font-size:13px;letter-spacing:0}.breadcrumb{display:flex;align-items:center;gap:14px;color:#607395}.breadcrumb .ui-icon{width:19px;height:19px}.breadcrumb-separator{color:#9daac0}.breadcrumb strong{color:#075bff;font-weight:600}.season-picker{padding:10px 14px;border:1px solid #d4e1f3;border-radius:10px;box-shadow:0 4px 12px #213c6410;color:#617393}.season-picker select{color:#16386d;font-size:13px;font-weight:600;padding:2px 8px;min-width:135px}
#homeView{padding:18px 0 12px}.home-heading{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:34px}#homeView h1{font-size:clamp(27px,2.65vw,42px);line-height:1.2;letter-spacing:-1.4px;color:#071d50;margin:12px 0 14px}#homeView h1 span{color:#21bce6}.home-heading p{font-size:14px;color:#607395;margin:0;line-height:1.7}.home-heading .primary{flex:none;width:auto;margin:0;padding:17px 21px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;box-shadow:0 7px 18px #075bff20}.home-heading .primary .ui-icon{width:20px;height:20px}
.mode-cards{gap:22px;margin:0 0 34px}.mode-card{position:relative;isolation:isolate;overflow:hidden;min-height:260px;padding:27px 25px;gap:24px;border:1px solid #d5e8fb;border-radius:15px;background:linear-gradient(115deg,#f8fcff,#e1f4ff 80%,#bce5fb);box-shadow:none}.mode-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #123e6b10;border-color:#b7d4f6}.mode-card-heading{display:flex;gap:19px;align-items:flex-start;position:relative;z-index:1;width:100%;text-align:left}.mode-symbol{width:62px;height:62px;background:#d6efff;border-radius:13px;flex:none}.mode-symbol .ui-icon{width:35px;height:35px;stroke-width:2;color:#0753d8}.mode-card strong{font:800 30px/1.2 Manrope,sans-serif;letter-spacing:-.9px;display:block;margin:5px 0 10px;color:#071d50}.mode-description{display:block;font-size:14px;line-height:1.65;color:#4e6386}.mode-pills{display:flex;gap:8px;flex-wrap:wrap;position:relative;z-index:1}.mode-pills>span{display:flex;align-items:center;gap:6px;border-radius:30px;padding:7px 12px;font-size:11px;color:#3c5680;background:#e1edfae8}.mode-pills .ui-icon{width:17px;height:17px}.mode-cta{display:flex;align-items:center;gap:22px;background:#075bff;color:white;border-radius:9px;padding:13px 18px;font-size:13px;position:relative;z-index:1;min-height:46px}.mode-cta .ui-icon{width:19px;height:19px}.mode-decoration{position:absolute;z-index:0;pointer-events:none;color:#fff;opacity:.75}.pitch-art{width:150px;height:230px;right:-24px;bottom:0;border:3px solid white;transform:rotate(18deg);border-radius:2px}.pitch-art:before{content:'';position:absolute;left:0;right:0;top:50%;border-top:2px solid white}.pitch-art:after{content:'';position:absolute;width:52px;height:52px;border:2px solid white;border-radius:50%;left:45px;top:85px}.trophy-art{right:-22px;bottom:17px;transform:rotate(7deg)}.trophy-art .ui-icon{width:165px;height:210px;stroke-width:.8}
.home-section-heading{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 20px}.home-section-heading h2{font:800 25px Manrope,sans-serif;letter-spacing:-.7px}.home-filters{display:flex;gap:6px}.home-filters button{background:#eaf1fb;border:0;border-radius:30px;color:#52688d;padding:9px 15px;font-size:11px}.home-filters button.selected{background:#075bff;color:#fff}.home-event-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.home-event-card{background:#ffffffd9;border:1px solid #dce9f7;border-radius:15px;padding:23px 22px;min-width:0;display:flex;flex-direction:column;gap:22px}.home-event-top{display:flex;gap:16px;align-items:flex-start}.event-symbol{width:53px;height:57px;display:grid;place-items:center;color:#0753d8;background:#ddf1ff;border-radius:12px;flex:none}.event-symbol .ui-icon{width:30px;height:30px;stroke-width:2}.event-description{min-width:0;flex:1}.event-description h3{font:800 16px/1.5 Manrope,sans-serif;margin:2px 0 9px;overflow-wrap:anywhere;letter-spacing:-.25px}.event-description p{color:#617393;font-size:12px;margin:0;line-height:1.7}.event-description p span{margin:0 6px;color:#a1afc3}.event-type{color:#0753d8;background:#d9ebff;font-size:10px;border-radius:20px;padding:7px 11px;margin-top:2px;flex:none}.type-cup{background:#d6f5ff}.home-event-bottom{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between;border-top:1px solid #edf2fa;padding-top:16px;margin-top:auto}.event-status{font-size:10px;color:#a8620a;background:#fff3d6;border-radius:20px;padding:7px 11px}.status-ready{color:#196650;background:#e1f5ed}.open-event{display:flex;align-items:center;gap:10px;border:0;background:none;padding:6px 0;font-size:12px;color:#075bff;font-weight:600;text-align:left}.open-event:hover{text-decoration:underline}.open-event .ui-icon{width:18px;height:18px}.home-empty{grid-column:1/-1;border:1px dashed #c6d9ef;border-radius:14px;background:#ffffff9e;padding:27px;text-align:center}.home-empty h3{margin:0 0 10px;font-size:16px}.home-empty p{font-size:13px;color:#617393}.home-empty button{margin-top:8px}
.home-football-banner{display:grid;grid-template-columns:1fr 1.15fr;align-items:stretch;background:#eef8ff;border:1px solid #dceaf8;border-radius:16px;overflow:hidden;margin-top:28px}.home-football-copy{padding:27px 30px}.home-football-copy h2{font:800 24px/1.4 Manrope,sans-serif;letter-spacing:-.5px;margin:12px 0;color:#102e60}.home-football-copy p{color:#617393;line-height:1.7;font-size:12px;max-width:320px}.home-official-logos{display:flex;align-items:center;gap:20px;margin-top:20px}.home-official-logos img{object-fit:contain;max-height:62px;width:auto}.home-official-logos>span{height:38px;border-left:1px solid #cddced}.home-children{display:block;width:100%;height:100%;min-height:270px;object-fit:cover;object-position:center center}.home-storage-note{font-size:10px;color:#7e90ac;line-height:1.7;margin:16px 0 0}.home-football-copy .eyebrow{font-size:9px}
.primary{border-radius:9px;background:#075bff;min-height:44px}.primary:hover:not(:disabled){background:#064bdb}.secondary{border-color:#d7e3f2;border-radius:8px}.secondary:hover:not(:disabled){background:#f2f7ff}.danger:hover:not(:disabled){background:#fff2f2}.panel{border-color:#dce7f5;border-radius:14px;box-shadow:0 3px 14px #1e487205}.small,.rule p{color:#62748e}.planning p{color:#617393}.intro p{color:#617393}.drop{background:#f8fbff;border-color:#c0d3ed}.sizes button{border-color:#dce6f4;color:#52688d}.sizes .selected{color:white}.step{background:#edf4ff;color:#4a6a98;border-color:#dce7f5}select,input,textarea{border-color:#d4e0f0}.group{border-radius:12px}.group li{border-color:#eaf0f8}.group label,.group-head span{color:#617393}footer{color:#7b8da8;border-color:#dfebf6;font-size:10px}.check{line-height:1.6}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #32bfe8;outline-offset:3px}dialog{max-width:560px;width:calc(100% - 32px);border:1px solid #d7e5f6;border-radius:18px;padding:26px;color:#102453;box-shadow:0 25px 80px #10245335}dialog::backdrop{background:#071d5060;backdrop-filter:blur(3px)}.create-dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.create-dialog-heading h2{font-size:23px}.create-dialog-heading button{font-size:22px;padding:3px 12px}.create-format-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.create-format-choices button{display:flex;flex-direction:column;gap:12px;align-items:flex-start;text-align:left;padding:22px 18px;border:1px solid #d5e4f7;border-radius:12px;background:#f5faff;color:#0753d8}.create-format-choices strong{font-size:19px}.create-format-choices span{font-size:11px;color:#617393}
@media(min-width:1550px){main{padding:0 52px}.home-heading{margin-bottom:40px}.mode-card{padding:30px;min-height:280px}.home-event-card{padding:26px}.home-football-copy{padding:32px 38px}}
@media(max-width:1200px){aside{width:220px}main{margin-left:220px;padding:0 25px}.home-heading{align-items:flex-start}.home-heading .primary{padding:14px}.home-heading p{font-size:13px}.mode-card{padding:23px 21px;gap:20px}.mode-card-heading{gap:14px}.mode-symbol{width:49px;height:53px}.mode-card strong{font-size:26px}.mode-description{font-size:12px}.event-type{display:none}.home-event-top{gap:12px}.event-description h3{font-size:14px}.home-football-copy{padding:25px}.home-football-copy h2{font-size:21px}.breadcrumb{gap:10px}}
@media(max-width:1000px){.home-heading{flex-direction:column;gap:18px}.home-heading .primary{align-self:flex-start}.mode-card-heading{display:block}.mode-symbol{margin-bottom:14px}.mode-cards{gap:16px}.mode-card{min-height:285px}.mode-cta{font-size:11px;padding:12px 14px;gap:12px}.mode-pills{gap:5px}.mode-pills>span{font-size:10px;padding:6px 9px}.home-event-cards{grid-template-columns:1fr}.home-football-banner{grid-template-columns:1fr}.home-children{height:260px;min-height:0;object-position:50% 62%}.home-football-copy{padding:25px}.home-official-logos{margin-top:14px}.home-official-logos img{max-height:50px}.desktop-break{display:none}}
@media(max-width:800px){aside{position:static;width:100%;display:block;padding:0 14px 10px;overflow:visible;border:0}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 18px;margin:0 -14px 8px;border-radius:0}.brand{width:180px;min-height:0}.brand img{max-height:65px}.sidebar-district{width:34px;height:38px;margin:0}.district{display:none}aside nav{display:flex;overflow:auto;gap:4px;margin:0;padding:0}aside nav a{flex-shrink:0;white-space:nowrap;font-size:11px;padding:11px 13px;margin:0;gap:8px}aside nav a .ui-icon{width:18px;height:18px}aside .aside-bottom{display:none}main{margin:0;padding:0 20px}header{height:72px;gap:12px}.breadcrumb{font-size:11px;gap:8px}.breadcrumb>span:first-of-type{display:none}.season-picker{padding:8px 9px;font-size:10px;max-width:220px}.season-picker select{font-size:11px;min-width:100px}#homeView{padding-top:8px}#homeView h1{font-size:32px}.home-heading{margin-bottom:25px}.mode-cards{grid-template-columns:1fr 1fr;gap:14px}.mode-card{min-height:295px;padding:22px 18px}.mode-card strong{font-size:25px}.mode-description{font-size:12px}.home-section-heading h2{font-size:24px}.home-filters button{padding:8px 12px}.home-football-banner{grid-template-columns:1fr 1fr}.home-football-copy h2{font-size:20px}.home-children{height:100%;min-height:280px;object-position:45% center}}
@media(max-width:540px){main{padding:0 15px}.mode-cards{grid-template-columns:1fr}.mode-card{min-height:250px;gap:20px;padding:25px}.mode-card-heading{display:flex}.mode-symbol{width:55px;height:57px;margin:0}.mode-card strong{font-size:28px}.mode-description{font-size:13px}.mode-cta{font-size:12px}.home-heading .primary{width:100%}.home-section-heading{gap:14px;justify-content:space-between}.home-section-heading h2{font-size:22px}.home-filters{gap:4px}.home-filters button{font-size:10px;padding:8px 10px}.home-event-card{padding:21px 18px}.home-football-banner{grid-template-columns:1fr}.home-football-copy{padding:26px}.home-children{height:auto;min-height:0;aspect-ratio:3/2;object-fit:contain}.breadcrumb-separator{display:none}.breadcrumb .ui-icon{width:17px;height:17px}.season-picker{gap:4px}.create-format-choices{grid-template-columns:1fr}.home-event-bottom{align-items:flex-start}.home-event-top{gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mode-card{transition:none}.mode-card:hover{transform:none}}
}
@media print{#homeCreateDialog,#cupDownload,#cupExportStatus{display:none!important}}

@media screen{.mode-card>.mode-decoration{color:white}.home-football-banner{margin:0 0 30px}.home-football-copy{padding:25px 30px}.home-children{max-height:290px}.home-football-banner .home-children{min-height:270px}@media(max-width:540px){.home-football-banner .home-children{min-height:0;max-height:none}}}

.phase-editing{border:0;padding:0;margin:0;min-width:0}.phase-panel{margin-bottom:22px}.phase-panel .section-title{flex-wrap:wrap}.phase-panel .primary{width:auto;margin:0 0 0 auto}.phase-panel h2{margin-right:12px}#phaseTabs{display:flex;overflow-x:auto;gap:9px;margin:15px 0}#phaseTabs button{flex-shrink:0;border:1px solid #d7e3f4;border-radius:10px;background:white;color:#294568;font-weight:600;padding:12px 19px;text-align:left}#phaseTabs button span{display:block;font-size:10px;font-weight:400;margin-top:5px;opacity:.8}#phaseTabs button.selected{color:white;background:#075bff;border-color:#075bff}.phase-editing:disabled .workspace{opacity:.8}#phaseAudit:empty{display:none}@media(max-width:700px){.phase-panel .primary{margin:0;width:100%}}@media print{.phase-panel,.phase-editing{display:none!important}#phaseAudit{color:#243e5e!important}}

.distance-badge strong{display:block}.distance-badge ul{margin:8px 0;padding-left:15px;list-style:disc}.distance-badge li{font-size:11px!important;padding:5px 0!important;color:inherit}.distance-badge details{color:inherit}.distance-summary{padding:16px;border-radius:10px;margin:20px 0;background:#ecf7f1;color:#245541}@media print{.distance-badge{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.cup-team{flex-wrap:wrap}.cup-team .team-dimensions{padding-left:30px}

/* Les profils Utilisateur conservent les outils de travail et leurs filtres. */
.workspace-delete-restricted [data-workspace-delete] { display: none !important; }
