:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192b3d;background:#f5f7fa;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#12334e;color:white}a{color:#1462a5;text-decoration:none}header a{color:white}.wrap{width:min(1120px,calc(100% - 36px));margin:auto}.top{display:flex;align-items:center;justify-content:space-between;min-height:68px;gap:20px;flex-wrap:wrap}.brand{font-size:1.25rem;font-weight:800}nav{display:flex;gap:17px;flex-wrap:wrap;font-size:.95rem}main{padding-top:26px;padding-bottom:45px}.hero{margin:10px 0 25px;max-width:780px}h1{font-size:clamp(1.8rem,4vw,2.5rem);margin:.2em 0}h2{font-size:1.22rem;margin:0 0 15px}h3{margin:0;font-size:1.05rem}p{line-height:1.55}.hero p,.muted{color:#647489}.panel{background:#fff;border:1px solid #e1e7ef;border-radius:13px;padding:24px;box-shadow:0 2px 12px #1d304408;margin-bottom:20px}.narrow{max-width:570px;margin:35px auto}.two,.two-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.two-panels .panel{min-width:0}label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:.9rem;margin-bottom:14px}input,select{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid #bfcbdb;border-radius:8px;background:#fff;color:#203549}input:focus,select:focus{outline:2px solid #87b6e4;outline-offset:1px}button,.button{cursor:pointer;display:inline-block;background:#1763a5;color:white;border:0;border-radius:8px;padding:12px 17px;font:inherit;font-weight:700;text-align:center}button:hover,.button:hover{filter:brightness(.95);color:white}.secondary{background:#eaf2fa;color:#155584}.secondary:hover{color:#155584}.danger{background:#fff0ed;color:#b03927;padding:8px 12px}.child-card{border:1px solid #dce4ec;background:#fbfcff;padding:18px;border-radius:10px;margin-bottom:13px}.child-head,.entry-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.trap{position:absolute;left:-99999px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.stat{background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:18px}.stat b{display:block;font-size:1.8rem}.stat span{font-size:.88rem;color:#63738a}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.filters{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end}.filters label{margin:0}.filters button{margin-bottom:0}.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}.entry-grid label{margin:0}.entry-grid button{margin-bottom:0}.entry-title h2{margin:0}.entry-title p{margin:5px 0}.pill{font-size:.8rem;font-weight:700;padding:7px 12px;border-radius:20px;background:#fff1d5;color:#956600;white-space:nowrap}.pill.validated{background:#dff4e7;color:#217744}.pill.cancelled{background:#f1e5e5;color:#974848}.reference{font-size:2.2rem;font-weight:800;letter-spacing:5px;color:#155584;padding:20px 0}.success,.error{border-radius:8px;padding:12px;margin-bottom:18px}.success{background:#dff4e7;color:#185c34}.error{background:#ffe8e8;color:#9b2929}.inline{display:flex;align-items:end;gap:12px}.inline input{width:130px}.big-number{font-size:2.7rem;font-weight:800;margin:0;color:#1763a5}table{border-collapse:collapse;width:100%;font-size:.9rem;margin:18px 0}th,td{border-bottom:1px solid #e2e9f0;padding:9px;text-align:left}td:last-child,th:last-child{text-align:right}canvas{max-height:420px;min-height:360px}footer{color:#738298;font-size:.83rem;padding-bottom:20px}@media(max-width:750px){.two,.two-panels,.entry-grid,.filters{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.panel{padding:16px}.top{padding:13px 0}.entry-title{flex-direction:column}}
/* V1.2 : bureau orienté familles */
.office-hero{max-width:initial;display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.office-hero .actions{margin-bottom:0}.family-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:4px 0 20px}.family-tab{display:flex;flex-direction:column;gap:3px;border:2px solid #e0e8f0;border-radius:12px;padding:16px;background:#fff;color:#33485f;transition:border-color .12s,background .12s}.family-tab strong{font-size:1.75rem;line-height:1.2}.family-tab span{font-size:.89rem}.family-tab:hover{border-color:#78a3c9}.family-tab.active{border-color:#1763a5;background:#eaf4ff;color:#154c7c}.family-search{display:flex;align-items:end;gap:12px;padding:16px}.family-search label{flex:1;margin:0}.family-search button,.family-search .button{white-space:nowrap}.family-card{display:block;color:inherit;padding:19px 22px;transition:border-color .15s,box-shadow .15s}.family-card:hover{color:inherit;border-color:#91b4d1;box-shadow:0 4px 16px #1d304415}.family-card-head,.family-card-foot,.family-heading,.family-child-title,.deposit-title{display:flex;justify-content:space-between;align-items:start;gap:14px}.family-card h2{margin:0 0 4px}.family-card-children{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.child-chip{background:#f0f4f9;color:#40556c;font-size:.84rem;border-radius:18px;padding:7px 10px}.child-chip.validated{background:#e4f4e7;color:#236741}.child-chip.cancelled{color:#9d6c6c;text-decoration:line-through}.child-chip small{font-weight:900;margin-left:5px}.family-card-foot{flex-wrap:wrap;border-top:1px solid #e7edf4;padding-top:12px;color:#657589;font-size:.84rem}.family-card-foot strong{color:#1763a5}.pill.progress{background:#e8efff;color:#285eac}.pill.pending{background:#fff1d5;color:#956600}.empty-state{text-align:center;padding:32px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:10px}.breadcrumb{margin:7px 0 20px}.family-heading{margin:5px 0 22px;align-items:center}.family-heading h1{margin:5px 0 1px}.family-heading p{margin:5px 0}.eyebrow{letter-spacing:.08em;font-size:.75rem;font-weight:750;color:#5a748b}.section-title{margin:24px 0 14px}.completion-note{padding:15px 18px;border-radius:10px;background:#dff4e7;color:#185c34;margin-bottom:22px;font-weight:600}.pending-note{background:#eef4fa;color:#315d7e}.family-child-list{display:grid;grid-template-columns:1fr;gap:4px}.family-child{margin-bottom:12px}.family-child-title{align-items:center;margin-bottom:15px}.family-child-title>div{display:flex;align-items:center;gap:12px}.family-child-title h3{font-size:1.12rem}.family-child-title p{margin:5px 0}.child-number{display:inline-flex;align-items:center;justify-content:center;background:#eaf2fa;color:#1763a5;font-weight:750;width:40px;height:40px;border-radius:50%;flex:none}.child-confirm-form>label{max-width:500px}.child-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.child-actions button{font-size:.88rem}.child-actions .danger{margin-left:auto}.deposit-panel{border-color:#aac8df;background:#fafcff}.deposit-title h2{margin:0}.deposit-title p{margin:6px 0}.amount{background:#eaf2fa;border-radius:12px;padding:14px 18px;text-align:right;white-space:nowrap}.amount small{font-size:.77rem;color:#496782;display:block}.amount strong{font-size:2rem;color:#125183}.payment-state{background:white;padding:12px;border:1px solid #e1eaf2;border-radius:9px;margin:12px 0 18px}.deposit-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.deposit-form label{flex:1;max-width:420px;margin:0}.info-line{font-size:.82rem}.pill.cancelled{background:#f1e5e5;color:#974848}
@media(max-width:750px){.family-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.family-tab{padding:11px}.family-tab strong{font-size:1.45rem}.family-search{flex-direction:column;align-items:stretch}.family-search label{width:100%}.family-search button{width:100%}.family-card-foot{gap:9px}.family-card-foot strong{width:100%}.family-heading{align-items:start}.family-child-title{align-items:start}.family-child-title>div{align-items:start}.child-actions{flex-direction:column;align-items:stretch}.child-actions button{width:100%}.child-actions .danger{margin-left:0}.deposit-title{align-items:center;gap:10px}.amount{padding:9px}.amount strong{font-size:1.5rem}.deposit-form{align-items:stretch;flex-direction:column}.deposit-form label{width:100%;max-width:initial}.deposit-form button{width:100%}}

/* Module Adhésions Ski Club */
.club-small-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e5ebf2}
.club-small-form span{flex:1;min-width:200px}
.club-small-form input{width:min(210px,100%);flex:1}
.club-member{border-left:4px solid #1771b7}
.club-member hr{border:0;border-top:1px solid #e3eaf2;margin:22px 0}
.club-member h3{font-size:1.08rem;margin:0 0 18px}
.club-member .family-card-head{margin-bottom:18px;align-items:center}
@media(max-width:700px){.club-small-form{flex-direction:column;align-items:stretch}.club-small-form span{min-width:0}.club-small-form input{width:100%}}

/* Préversion : formulaire familial unique */
.family-member-entry{margin:14px 0 18px;border-left:4px solid #1763a5;background:#fafdff}
.family-member-entry .child-head{align-items:center}
.family-member-entry>label{margin-top:9px}
.notice-panel{background:#f4f8fc;box-shadow:none;border-color:#d8e6f2;margin-top:24px}
.notice-panel h2{margin-bottom:6px}
#family-registration>.actions{margin:14px 0 24px}
#family-registration>button[type=submit]{width:100%;max-width:440px}
@media(max-width:600px){#family-registration>.actions button{width:100%}}

/* Fiche famille centrale : navigation entre informations, adhérents et école de ski. */
.family-overview{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:11px 0 2px}
.family-overview span{background:#edf2f8;border:1px solid #dfe9f2;border-radius:18px;padding:6px 11px;font-size:.82rem;color:#3a5874;font-weight:650}
.family-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:13px 0 24px;align-items:stretch}
.family-detail-tab{display:flex;justify-content:center;align-items:center;gap:10px;min-height:54px;padding:11px 14px;background:white;border:2px solid #dce7f1;border-radius:11px;color:#344d65;text-align:center;font-weight:750;transition:background .15s,border-color .15s}
.family-detail-tab:hover{background:#f5faff;border-color:#90b5d2;color:#164c76}
.family-detail-tab.active{color:#155584;background:#eaf4ff;border-color:#1763a5;box-shadow:0 1px 8px #12334e12}
.tab-count{display:inline-flex;min-width:26px;height:26px;align-items:center;justify-content:center;padding:0 6px;border-radius:50px;background:#edf3f8;color:#446078;font-size:.79rem}
.family-detail-tab.active .tab-count{background:#1763a5;color:white}
@media(max-width:750px){.family-detail-tabs{gap:6px}.family-detail-tab{font-size:.81rem;flex-direction:column;gap:3px;padding:9px 5px;min-height:62px}.family-overview{gap:6px}.family-overview span{font-size:.74rem;padding:5px 8px}}

/* Cartes adhérents : même vocabulaire visuel que les élèves de l'école de ski. */
.club-member-heading{margin:22px 0 14px}
.club-member-heading .section-title{margin-bottom:5px}
.club-member-heading p{margin:5px 0 12px}
.club-members-list{margin-bottom:24px}
.club-members-list .club-member{border:1px solid #e1e7ef;border-left:1px solid #e1e7ef;padding:22px 24px}
.club-members-list .family-child-title{margin-bottom:13px}
.club-members-list .family-child-title h3{font-size:1.13rem}
.club-members-list .family-child-title .muted{margin:5px 0 0}
.club-member-summary{display:flex;flex-wrap:wrap;gap:8px 12px;margin:2px 0 21px}
.club-member-summary span{font-size:.86rem;background:#f1f5fa;border:1px solid #e3ebf3;border-radius:8px;color:#425b73;padding:8px 11px}
.club-member-summary strong{color:#2c4865}
.club-member-section-title{font-size:.98rem;font-weight:750;color:#34546f;margin:17px 0 14px}
.club-members-list .club-member form>button{margin-top:3px}
.club-members-list .club-member hr{margin:23px 0 17px}
@media(max-width:750px){.club-members-list .club-member{padding:16px}.club-member-summary{flex-direction:column;align-items:stretch}.club-member-summary span{width:100%}.club-members-list .family-child-title{align-items:flex-start}}

/* Cartes compactes : fiche adhérent accessible dans un volet latéral. */
.club-member-compact-list{display:grid;gap:11px;margin:16px 0 25px}
.member-summary-card{width:100%;display:block;text-align:left;background:#fff;border:1px solid #dce5ee;border-radius:13px;padding:17px 20px;box-shadow:0 2px 10px #1d304408;color:#26394d;font-weight:400}
.member-summary-card:hover{filter:none;background:#f9fcff;border-color:#8db5d5;box-shadow:0 4px 16px #1d304412;color:#26394d}
.member-summary-card:focus-visible{outline:3px solid #1a75bd;outline-offset:2px}
.member-card-row,.member-card-identity,.member-card-badges,.member-card-bottom{display:flex;gap:13px;align-items:center;justify-content:space-between}
.member-card-identity{justify-content:flex-start;min-width:0}
.member-card-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.member-card-main strong{font-size:1.12rem;line-height:1.2}
.member-card-main .muted{font-size:.85rem;white-space:normal}
.member-card-badges{justify-content:flex-end;flex-wrap:wrap;gap:8px}
.member-completeness{font-size:.79rem;font-weight:700;border-radius:18px;padding:7px 11px;white-space:nowrap}
.member-completeness.ready{color:#276742;background:#e5f5e9}
.member-completeness.incomplete{color:#91550d;background:#fff0d3}
.member-card-bottom{border-top:1px solid #e7edf4;padding-top:12px;margin-top:14px;gap:12px;color:#647489;font-size:.86rem}
.member-card-bottom strong{color:#3a5369}
.member-open-hint{font-weight:750;color:#1763a5;white-space:nowrap}
.member-drawer{position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;width:min(640px,100vw);max-width:100vw;max-height:100dvh;height:100dvh;padding:0;border:0;border-radius:16px 0 0 16px;background:#fff;color:#203549;box-shadow:-18px 0 60px #08182936;overflow:hidden}
.member-drawer:not([open]){display:none}
.member-drawer[open]{display:flex;flex-direction:column}
.member-drawer::backdrop{background:#0c2039a1}
.member-drawer-head{padding:23px 27px 17px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid #e3ebf2;flex:none}
.member-drawer-head h2{font-size:1.52rem;margin:8px 0 3px}
.member-drawer-head p{margin:0}
.member-drawer-close{border:1px solid #e0e8f1;border-radius:50%;width:39px;height:39px;background:#f3f6fa;color:#40556e;font-size:1.7rem;line-height:1;padding:0;flex:none}
.member-drawer-close:hover{background:#e7eef6;color:#274866}
.member-drawer-form{display:flex;flex-direction:column;flex:1;min-height:0}
.member-drawer-body{overflow-y:auto;flex:1;min-height:0;padding:20px 27px 30px}
.member-drawer-body h3{font-size:1.09rem;margin:22px 0 17px}
.member-drawer-tip{background:#fdf4e6;color:#85550f;border-radius:9px;padding:11px 14px;font-size:.89rem;margin:0 0 19px}
.member-drawer .member-field{gap:6px}
.member-drawer .member-field.is-missing{color:#965516}
.member-drawer .member-field.is-missing input,.member-drawer .member-field.is-missing select{background:#fff8ea;border:1.5px solid #cf8a37}
.member-drawer .member-field.is-filled input,.member-drawer .member-field.is-filled select{background:#fbfdfb;border-color:#bbd6c5}
.field-indicator{font-weight:650;font-size:.75rem;color:#33744e}
.member-field.is-missing .field-indicator{color:#a3651c}
.member-drawer-disclaimer{font-size:.81rem;margin-top:19px}
.member-drawer-actions{border-top:1px solid #e0e8f0;padding:15px 27px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}
.member-drawer-actions .muted{font-size:.78rem;line-height:1.4}
.member-drawer-actions button{min-width:145px}
@media(max-width:750px){
 .member-summary-card{padding:15px}
 .member-card-row{align-items:flex-start;flex-wrap:wrap;gap:10px}
 .member-card-badges{justify-content:flex-start}
 .member-card-bottom{align-items:flex-start}
 .member-drawer{width:100vw;border-radius:0}
 .member-drawer-head{padding:18px 17px 14px}
 .member-drawer-body{padding:14px 17px 20px}
 .member-drawer-actions{padding:12px 17px}
 .member-drawer-actions .muted{display:none}
 .member-drawer-actions button{width:100%}
}

/* Affichage partagé : grille par défaut, bascule possible en liste. */
.card-layout-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:22px 0 14px}
.card-layout-heading .section-title{margin:0 0 5px}
.card-layout-heading p{margin:4px 0 0}
.card-layout-toggle{display:inline-flex;gap:3px;align-items:center;padding:4px;border:1px solid #dce6ef;background:#f4f7fb;border-radius:11px}
.card-layout-choice{font-size:.83rem;font-weight:750;color:#45647c;background:transparent;border-radius:8px;padding:9px 13px;white-space:nowrap}
.card-layout-choice:hover{color:#175d92;background:#e7f0f8}
.card-layout-choice.active{background:#1763a5;color:white;box-shadow:0 2px 6px #09264420}
.club-member-compact-list,.school-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:13px;margin:14px 0 25px}
.club-member-compact-list.card-view-list,.school-card-grid.card-view-list{grid-template-columns:1fr}
.club-member-compact-list .member-summary-card,.school-card-grid .member-summary-card{height:100%}
.club-member-compact-list .member-card-row,.school-card-grid .member-card-row{flex-wrap:wrap}
.club-member-compact-list .member-card-badges,.school-card-grid .member-card-badges{justify-content:flex-start}
.school-card-grid .school-summary-card{border-left:3px solid #91b9dc}
.school-requested-course{display:flex;flex-direction:column;gap:6px;background:#f1f6fb;border:1px solid #e0eaf3;padding:14px 16px;border-radius:10px;margin:4px 0 22px}
.school-requested-course strong{font-size:1.09rem;color:#294b68}
.school-drawer .member-field{margin-top:14px}
.school-drawer .member-drawer-tip{margin-bottom:20px}
@media(max-width:750px){
 .card-layout-heading{align-items:flex-start;gap:12px}
 .club-member-compact-list,.school-card-grid{grid-template-columns:1fr}
 .card-layout-toggle{margin-left:auto}
 .club-member-compact-list .member-summary-card,.school-card-grid .member-summary-card{height:auto}
}

/* Bureau V2 : création par bouton + et saisie unifiée. */
.club-index-hero{max-width:none;display:flex;align-items:center;justify-content:space-between;gap:22px}
.club-index-hero>div{max-width:790px}
.club-index-hero h1{margin-bottom:7px}
.big-add-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:58px;height:58px;min-width:58px;padding:0;border:0;border-radius:15px;background:#1763a5;color:#fff;font-size:2.6rem;font-weight:400;line-height:1;box-shadow:0 3px 12px #184c7525;text-decoration:none}
.big-add-button:hover{background:#125183;color:#fff;filter:none;box-shadow:0 5px 16px #164c7540}
.big-add-button:focus-visible{outline:3px solid #94c6f3;outline-offset:3px}
.family-detail-tab.disabled{background:#f3f6f9;color:#9baabc;border-color:#e4eaf1;cursor:not-allowed}
.family-info-unified-form .panel{margin-bottom:15px}
.family-info-save-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0 20px;flex-wrap:wrap}
.family-info-save-bar p{margin:0;max-width:680px}
.family-info-save-bar button{padding:14px 22px}
.card-layout-heading .big-add-button{align-self:center}
.card-layout-toolbar{display:flex;align-items:center;justify-content:flex-end;margin:0 0 9px}
.card-layout-toolbar .card-layout-toggle{margin:0}
.member-drawer [data-school-member-link],.school-drawer [data-school-link-person]{margin-top:5px}
@media(max-width:750px){
 .club-index-hero{align-items:flex-start;gap:10px}
 .club-index-hero .big-add-button{margin-top:8px}
 .big-add-button{width:54px;height:54px;min-width:54px;font-size:2.35rem}
 .family-info-save-bar{flex-direction:column;align-items:stretch}
 .family-info-save-bar button{width:100%}
}

/* Bureau École de ski : même en-tête de création que le bureau Club. */
.school-index-hero{max-width:none;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:8px}
.school-index-hero>div{max-width:850px}
.school-index-hero .big-add-button{margin-left:auto}
.school-office-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
@media(max-width:650px){
 .school-index-hero{gap:12px;align-items:flex-start}
 .school-index-hero .big-add-button{margin-top:7px}
 .school-office-actions .button{flex:1;text-align:center}
}
.delete-zone{margin-top:26px;border-top:1px solid #e0e8f0;padding-top:14px}.delete-zone summary{cursor:pointer;color:#b03927;font-weight:700;font-size:.92rem}.delete-zone p{font-size:.88rem;color:#647489}.panel.delete-zone{border:1px solid #f0d3cd;padding-top:18px}.delete-confirm{flex-direction:row;align-items:center;gap:9px}.delete-confirm input{width:auto;flex:none}
.deposit-split-form label{flex:0 1 150px}.amount-input{display:flex;align-items:center;gap:7px}.amount-input input{text-align:right}.amount-input span{font-weight:700;color:#496782}
textarea{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid #bfcbdb;border-radius:8px;background:#fff;color:#203549;resize:vertical;line-height:1.45}textarea:focus{outline:2px solid #87b6e4;outline-offset:1px}.upgrade-list{padding-left:20px;line-height:1.5}.upgrade-list li{margin-bottom:12px}.level-note{white-space:pre-line;font-weight:600;color:#294b68}

/* Interrupteur des préinscriptions : barre visible sur toutes les pages du bureau. */
.signup-bar{position:sticky;top:0;z-index:40;color:#fff;box-shadow:0 3px 14px #12334e30;transition:background .25s}
.signup-bar.open{background:linear-gradient(90deg,#11804a,#1c9e5c)}
.signup-bar.closed{background:linear-gradient(90deg,#9b2c2c,#c2412f)}
.signup-bar.setup{background:linear-gradient(90deg,#8a5a00,#b57a0c)}
.signup-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;min-height:62px;padding:8px 0}
.signup-state{display:flex;align-items:center;gap:13px;min-width:0}
.signup-state strong{display:block;font-size:1.12rem;letter-spacing:.01em;text-transform:uppercase}
.signup-state small{display:block;font-size:.85rem;opacity:.92}
.signup-dot{flex:none;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #ffffff40}
.signup-bar.open .signup-dot{background:#b6ffd4;animation:signup-pulse 1.8s ease-out infinite}
.signup-bar.closed .signup-dot{background:#ffd1c9}
@keyframes signup-pulse{0%{box-shadow:0 0 0 0 #b6ffd4b0}75%,100%{box-shadow:0 0 0 12px #b6ffd400}}
.signup-controls{display:flex;align-items:center;gap:10px}
.signup-controls form{margin:0}
.signup-bar .button{background:#fff;color:#8a5a00}
.signup-switch{display:inline-flex;align-items:center;gap:12px;background:#ffffff26;border:2px solid #ffffff80;border-radius:40px;padding:6px 18px 6px 7px;color:#fff;font-size:1rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.signup-switch:hover{filter:none;background:#ffffff3d;color:#fff}
.signup-switch:focus-visible{outline:3px solid #fff;outline-offset:3px}
.signup-switch-track{position:relative;width:58px;height:32px;border-radius:20px;background:#00000038;transition:background .2s}
.signup-switch-knob{position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0004;transition:left .2s}
.signup-switch[aria-checked=true] .signup-switch-track{background:#0b5c33}
.signup-switch[aria-checked=true] .signup-switch-knob{left:29px}
.signup-settings{position:relative}
.signup-settings summary{list-style:none;cursor:pointer;padding:10px 13px;border-radius:9px;background:#ffffff1f;font-weight:700;font-size:.92rem;white-space:nowrap}
.signup-settings summary::-webkit-details-marker{display:none}
.signup-settings summary:hover{background:#ffffff38}
.signup-time-form{position:absolute;right:0;top:calc(100% + 8px);width:260px;background:#fff;color:#192b3d;border-radius:12px;padding:16px;box-shadow:0 8px 30px #12334e40}
.signup-time-form label{margin-bottom:10px}
.signup-time-form button{width:100%}
.signup-closed{text-align:center}
.signup-closed-icon{font-size:3rem;color:#1763a5}
@media(max-width:600px){.signup-bar{position:static}.signup-bar-inner{flex-direction:column;align-items:stretch}.signup-controls{justify-content:space-between}.signup-switch{flex:1;justify-content:center}.signup-time-form{left:0;right:auto}}

/* QR code des préinscriptions (bureau) : affiche à imprimer + téléchargements. */
.qr-page{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start}
.qr-poster{text-align:center;padding:32px 24px}
.qr-poster h1{font-size:clamp(1.5rem,3.4vw,2.1rem)}
.qr-poster-kicker{margin:0;font-weight:800;color:#1763a5;letter-spacing:.04em}
.qr-poster-help{color:#4f647b;margin:6px 0 18px}
.qr-code{width:min(340px,100%);aspect-ratio:1;margin:0 auto;display:flex;align-items:center;justify-content:center}
.qr-code svg{width:100%;height:100%;display:block}
.qr-url{font-weight:700;color:#155584;word-break:break-all;margin:16px 0 0}
.qr-side h2{margin-bottom:8px}
.qr-side .muted a{word-break:break-all}
.qr-warning{background:#fff0ed;color:#9b2c2c;border-radius:9px;padding:12px 14px}
.qr-actions{display:flex;flex-direction:column;gap:10px;margin:18px 0}
.qr-download[aria-disabled]{opacity:.5;pointer-events:none}
.qr-actions button:disabled{opacity:.5;cursor:default}
@media(max-width:750px){.qr-page{grid-template-columns:1fr}}
@media print{
  header,footer,.signup-bar,.qr-noprint{display:none!important}
  body,:root{background:#fff}
  main.wrap{width:100%;padding:0}
  .qr-page{display:block}
  .qr-poster{border:0;box-shadow:none;padding:1.5cm 0 0}
  .qr-poster h1{font-size:30pt}
  .qr-poster-help{font-size:15pt}
  .qr-code{width:13cm}
  .qr-url{font-size:13pt}
}
