.account-page{max-width:1100px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.account-card{background:white;border:1px solid var(--line);border-radius:16px;padding:23px;margin-bottom:22px}.account-card h2{font-size:23px}.account-card h3{margin:18px 0 8px}.account-card label{margin-top:10px}.account-card .buttonrow{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.account-card .buttonrow button,.account-card .buttonrow a{width:auto}.account-card .check-line input{width:18px}.subtle{color:#6c6577;font-size:14px}.linkbtn{display:inline-block;text-decoration:none;padding:10px 14px;border-radius:9px;font-weight:700}.info{background:#f5f0ff;border:1px solid #ddd2fa;border-radius:10px;padding:12px;margin:14px 0}.warning{background:#fff1e8;border:1px solid #f5c9a7;padding:12px;border-radius:10px;margin:12px 0}.danger{background:#ad2935;color:white}.draftlist{display:grid;gap:10px}.draft{border:1px solid var(--line);border-radius:10px;padding:12px}.draft strong{display:block}.draft small{color:#6a6574}.inlinebuttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.inlinebuttons button,.inlinebuttons a{font-size:13px;padding:7px 10px}.recover{border:1px dashed #a8a2b9;background:#f8f6fb;border-radius:12px;padding:14px;overflow-wrap:anywhere}.recover code{display:block;font-size:19px;font-weight:700;letter-spacing:2px;margin:8px 0}.only-pilot{display:inline-block;font-size:12px;padding:4px 10px;border-radius:14px;border:1px solid #ddd2fa;color:#60439c}#notice:not(:empty){padding:13px 16px;margin-bottom:20px;border-radius:10px;background:#f4eeff;color:#52308d;white-space:pre-line}#notice.error{background:#fff0ef;color:#872523}.passwordbox{max-width:500px}.account-card input:not([type=checkbox]){width:100%}.narrow{max-width:240px}@media(max-width:750px){.account-grid{grid-template-columns:1fr}.account-card{padding:18px}}

.entry-context{border-left:4px solid #7c3aed;padding:12px 15px;background:#f2ebff;color:#4a297b;border-radius:7px;margin-top:15px}.entry-context[hidden]{display:none}

/* v0.7.3 — la récupération remplace le formulaire de connexion, sans troisième bloc. */
.auth-card{min-height:310px}.auth-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.forgot-row{display:flex;justify-content:flex-end;margin:4px 0 16px}.auth-switch{border:0;background:transparent;color:#623ac4;font-weight:700;font-size:14px;padding:5px 0;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:3px}.auth-switch:hover{color:#452390}.auth-switch:focus-visible{outline:3px solid #7c3aed;outline-offset:3px;border-radius:3px}

/* v0.8.0 — tableau de bord accessible et fiche club repliable. */
.club-dashboard{display:grid;gap:20px}.club-dashboard .account-card{margin-bottom:0}
.dashboard-welcome{display:flex;gap:18px;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#f3eefe,#fff);border:1px solid #e4dbfb;padding:25px;border-radius:18px}
.dashboard-welcome h2{font-size:27px;margin:7px 0 8px}.dashboard-welcome p{margin:0;color:#5f556d}
.dashboard-welcome .eyebrow{font-size:11px;font-weight:800;color:#6541bb;letter-spacing:.1em}
.dashboard-welcome .primary{white-space:nowrap;text-align:center}
.dashboard-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dashboard-action{font:inherit;background:white;color:var(--ink,#242037);border:1px solid #e4dbf5;border-radius:14px;padding:20px;text-align:left;text-decoration:none;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:145px}
.dashboard-action:hover,.dashboard-action:focus-visible{border-color:#8054d2;box-shadow:0 5px 20px #592ac219}
.dashboard-action strong{font-size:17px}.dashboard-action small{font-size:13px;color:#6e647b}
.dashboard-icon{display:grid;place-items:center;border-radius:11px;width:38px;height:38px;background:#f2eaff;color:#6840c7;font-size:23px;font-weight:750}
.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}.section-heading h2{margin:0}.section-heading p{margin:7px 0 0}
.draft{display:flex;justify-content:space-between;align-items:center;gap:12px}.draft strong{font-size:16px}.draft .inlinebuttons{margin:0}.empty-drafts{background:#f9f7fd;border:1px dashed #dcd4ea;border-radius:12px;padding:22px}.empty-drafts p{color:#6d6678}
.dashboard-detail>summary{font-size:21px;font-weight:750;cursor:pointer;list-style-position:inside}.summary-caption{font-size:13px;font-weight:400;color:#6b6275;margin-left:12px}
.details-body{margin-top:22px;border-top:1px solid #eee9f4;padding-top:18px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.account-logo-preview{min-height:68px;display:flex;align-items:center;padding:10px;border:1px dashed #d8cfee;border-radius:10px;margin:8px 0;color:#6d6678}.account-logo-preview img{max-width:160px;max-height:85px;object-fit:contain}
/* Couleurs du club : le choix secondaire est visible, mais reste facultatif. */
.club-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin:12px 0 20px}
.club-color-field>label{display:block;font-weight:700;margin-bottom:5px}
.club-color-field input[type="color"]{width:100px;height:47px;margin:8px 0;cursor:pointer}
.club-secondary-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}
.club-secondary-controls .check-line{display:inline-flex;align-items:center;gap:7px;margin:0;font-weight:500}
.club-secondary-controls input[type="color"]:disabled{opacity:.45;cursor:not-allowed}
.club-color-field .subtle{margin:0;font-size:12px}
@media(max-width:780px){.club-colors{grid-template-columns:1fr}}
@media(max-width:780px){.dashboard-welcome{flex-direction:column;align-items:stretch}.dashboard-actions{grid-template-columns:1fr}.dashboard-action{min-height:85px}.section-heading,.draft{flex-direction:column;align-items:stretch}.profile-grid{grid-template-columns:1fr}.summary-caption{display:block;margin:6px 0 0}}
.profile-item{min-width:0}.profile-item label{display:block}.profile-item input{display:block}

/* v0.8.1 — accueil des nouveaux clubs et actions de compte explicites. */
.profile-invitation{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f4efff;border:1px solid #d8c8fa;border-left:5px solid #7142ce;border-radius:14px;padding:19px 22px}
.profile-invitation strong{display:block;font-size:18px;color:#32234d}
.profile-invitation p{margin:7px 0 0;color:#584d6c;font-size:14px}
.profile-invitation button{width:auto;flex-shrink:0}
.settings-section{border-top:1px solid #e9e3ef;padding:16px 0 19px}
.settings-section h3{margin:0 0 8px;font-size:18px}
.settings-section .subtle{margin:4px 0 12px}
.settings-action{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:410px;text-align:left}
.account-panel{background:#faf8fd;border:1px solid #e3ddeb;padding:16px;border-radius:10px;margin:12px 0}
.account-panel[hidden]{display:none}
.settings-danger{border-bottom:0}
@media(max-width:780px){.profile-invitation{flex-direction:column;align-items:stretch}.profile-invitation button{width:100%}}

/* v0.9.0 — le compte club est un portail commun à plusieurs outils. */
.dashboard-profile-link{flex-shrink:0}
.club-tools{display:grid;gap:15px}
.club-tools-heading h2{font-size:25px;margin:0 0 4px}
.club-tools-heading p{margin:0}
.club-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.club-tool-card{background:#fff;border:1px solid #e2d9f3;border-radius:17px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.club-tool-card h3{font-size:21px;margin:2px 0}
.club-tool-card p{font-size:14px;line-height:1.5;color:#6a6077;margin:0}
.club-tool-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#f0eafd;color:#6337ba;font-size:28px;font-weight:800}
.club-tool-state{font-weight:750!important;color:#25674d!important;margin-top:auto!important}
.club-tool-state.future{color:#70667a!important}
.club-tool-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.future-tool{border-style:dashed;background:#fcfbfe}
.future-tool .club-tool-icon{color:#8c83a4;background:#f3f0f7}
.admin-access{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f6f3ff;border:1px solid #ded4fa;border-radius:14px;padding:20px}
.admin-access strong{font-size:17px}
.admin-access p{font-size:14px;color:#6b627a;margin:6px 0 0}
.admin-access a{flex-shrink:0}
@media(max-width:780px){.club-tools-grid{grid-template-columns:1fr}.admin-access{flex-direction:column;align-items:stretch}.admin-access a{text-align:center}}

/* v0.9.3 : les panneaux ne s'ouvrent que lorsqu'on sélectionne un outil. */
.club-tool-select{font:inherit;color:inherit;text-align:left;cursor:pointer;width:100%}
.club-tool-select:hover,.club-tool-select:focus-visible{border-color:#8658de;box-shadow:0 4px 18px #603ac41c;outline-offset:2px}
.club-tool-select[aria-expanded="true"]{border-color:#7544df;background:#faf7ff}
.club-tool-name{font-size:21px;font-weight:750;margin-top:2px}
.club-tool-description{font-size:14px;color:#6a6077;line-height:1.5}
.club-tool-open{display:inline-block;border-radius:9px;background:#7544df;color:white;padding:9px 13px;font-weight:750;margin-top:4px}
.tool-panel{scroll-margin-top:25px}
.empty-tools{border:1px dashed #e2d9f3;padding:22px;border-radius:14px;background:#fff;color:#6a6077}


/* v0.11.0 — nouvelle interface de l'espace club, sans changement des opérations de compte. */
:root{--club-purple:#7442e6;--club-ink:#17172e;--club-line:#e7e1f3}
body{background:#fbfaff;color:var(--club-ink)}
.account-page{max-width:1440px;padding:20px clamp(16px,3vw,36px) 40px}
.account-page .intro{max-width:1060px;margin:20px auto 10px}
.account-page .intro h1{letter-spacing:-1.5px}
.account-page #notice{max-width:1060px;margin:10px auto 16px}
.account-page footer{margin:30px 0 5px;font-size:12px;text-align:center;color:#7a7387}
.member-logged-in .account-page{max-width:1600px;padding:0 16px 24px}
.member-logged-in .account-page .intro{display:none}
.member-logged-in .account-page #notice{max-width:1220px;position:relative;z-index:1;margin:12px auto 0}
.member-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:32px;align-items:start;min-height:calc(100vh - 180px)}
.club-sidebar{background:#fff;border:1px solid #eee8f6;border-radius:18px;padding:21px 13px;display:flex;flex-direction:column;gap:16px;position:sticky;top:15px;min-height:calc(100vh - 155px)}
.sidebar-head{display:flex;align-items:center;gap:11px;padding:6px 7px 17px;border-bottom:1px solid var(--club-line)}
.sidebar-crest{display:grid;place-items:center;width:41px;height:41px;border-radius:12px;background:#f2ebff;color:#6b3cce;font-size:21px}
.sidebar-head strong{display:block;font-size:17px}.sidebar-head small{display:block;font-size:12px;color:#736987;max-width:145px;overflow-wrap:anywhere}
.sidebar-nav{display:grid;gap:5px}.sidebar-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;color:#312a40;border:0;border-radius:10px;padding:12px 11px;font-size:14px;font-weight:720}
.sidebar-item:hover,.sidebar-item:focus-visible{background:#f5efff}.sidebar-item.active{background:#eee6ff;color:#6234c6;box-shadow:inset 3px 0 #7848e5}
.nav-icon{display:grid;place-items:center;width:21px;font-size:21px;font-weight:750}
.sidebar-foot{margin-top:auto;padding:16px 6px 4px;border-top:1px solid var(--club-line);display:grid;gap:8px}
.sidebar-secure{color:#387a60;font-size:12px}.sidebar-logout{width:100%;background:#f2eff7;color:#49355d;text-align:left}
.sidebar-foot a{color:#756b87;text-decoration:none;font-size:12px;padding:7px 4px}
.member-content{min-width:0;width:100%;max-width:1160px;padding:18px 18px 22px 0}
.member-breadcrumb{display:flex;align-items:center;gap:10px;color:#6a42b0;font-size:12px;letter-spacing:.04em;margin-bottom:26px;padding-bottom:13px;border-bottom:1px solid #eee9f4;scroll-margin-top:20px}
.breadcrumb-separator{color:#a69baa}.member-breadcrumb strong{color:#2f2440}
.member-view[hidden]{display:none!important}.member-view{animation:club-fade .17s ease-out}@keyframes club-fade{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.member-view h1{font-size:clamp(27px,3vw,38px);margin:9px 0 10px;letter-spacing:-1.25px}
.member-view h2{font-size:22px;letter-spacing:-.6px}
.member-view .eyebrow{color:#6f42d3;letter-spacing:1.5px;font-size:10px}
.dashboard-welcome{position:relative;min-height:225px;overflow:hidden;padding:32px 33px;border-radius:20px;border:1px solid #e6d8fb;background:linear-gradient(115deg,#f3edff 0%,#fff 82%)}
.dashboard-welcome>div:first-child{max-width:690px;position:relative;z-index:1}.dashboard-welcome h1{font-size:clamp(27px,3.4vw,39px);color:#1e1934}
.dashboard-welcome p{color:#655b76}.dashboard-welcome .eyebrow{margin-bottom:8px}
.welcome-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.welcome-buttons .quiet{background:white;border:1px solid #e9dbfc}
.welcome-art{position:absolute;right:5px;top:-50px;width:285px;height:285px;opacity:.38;pointer-events:none}
.welcome-rings{position:absolute;inset:15px;border-radius:50%;border:24px solid #dbcbfc;box-shadow:0 0 0 13px #fff inset,0 0 0 45px #e5d7fc inset,0 0 0 63px white inset}
.welcome-arrow{position:absolute;top:70px;right:44px;font-size:110px;transform:rotate(-33deg);color:#6d36c7}
.member-dashboard{display:grid;gap:18px}.profile-invitation{margin:0}
.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.stat-tile{border:1px solid #e7dff2;background:white;padding:20px 18px;display:flex;align-items:center;gap:14px;border-radius:17px;box-shadow:0 8px 20px #412d6b07}
.stat-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#f3ecff;color:#7242d9;font-size:25px}
.stat-tile strong{display:block;font-size:26px;line-height:1.3;color:#33224b}.stat-tile small{display:block;color:#6e647c;font-size:12px}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr);gap:16px}
.dashboard-columns .account-card{padding:22px;margin:0;border-radius:17px;box-shadow:0 7px 20px #412d6b08}
.dashboard-columns .section-heading button{flex-shrink:0}
.recent-drafts{display:grid;gap:9px}.recent-draft{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border-radius:12px;border:1px solid #ebe5f3;background:#fdfcff}.recent-draft strong{font-size:14px;display:block}.recent-draft small{font-size:12px;display:block;color:#85798d}.recent-draft .linkbtn{white-space:nowrap}
.dash-shortcuts{display:grid;align-content:start;gap:10px}.dash-shortcuts h2{margin:0}.dash-shortcuts p{margin:0 0 10px}
.dash-shortcuts button,.dash-shortcuts a{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;text-align:left;text-decoration:none;background:#f7f3ff;border:1px solid #e9ddfa;color:#342343;border-radius:10px;padding:13px;font-size:14px;font-weight:700}
.view-heading{margin:0 0 22px}.view-heading p:last-child{color:#6a6175}
.member-content .club-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.club-tools-grid .club-tool-card{box-shadow:0 8px 24px #412d6b0b;min-height:245px}
.member-content .tool-panel{border-radius:17px;padding:26px}.member-content .draft{background:#fdfcff;border-color:#e8e1f1}
.member-content .dashboard-detail{border-radius:17px;max-width:100%;padding:26px;box-shadow:0 8px 24px #412d6b07}
.member-content .dashboard-detail .details-body{border-top:1px solid #eee8f5;margin-top:14px;padding-top:10px}
.member-content .profile-head h2{font-size:28px;margin:4px 0 4px}
.member-content .profile-head .subtle{margin:0 0 16px}
.member-content .account-card label{font-size:13px;font-weight:700}
.member-content .account-card input:not([type=checkbox]):not([type=color]):not([type=file]){border:1px solid #ded6e9;border-radius:10px;background:#fff;padding:10px 12px}
.member-content .account-card input:focus-visible{outline:2px solid #9c7efa}
.member-content #p-logo{border:1px dashed #d8cfee;border-radius:10px;padding:8px;background:#faf8ff}
.mobile-nav{display:none}
/* Page de connexion : même identité, sans faux services ni obligation de prospection. */
body:not(.member-logged-in) .account-page{padding-top:36px}
body:not(.member-logged-in) .account-page .intro{background:linear-gradient(112deg,#f7f1ff 0%,#fff 90%);border:1px solid #e9dff9;border-radius:20px;padding:27px 33px;margin-bottom:24px}
body:not(.member-logged-in) .account-grid{max-width:1060px;margin:auto;gap:18px}
body:not(.member-logged-in) .account-card{border-color:#e7ddf2;border-radius:18px;box-shadow:0 10px 28px #49337909;padding:27px}
body:not(.member-logged-in) .account-card h2{font-size:24px;letter-spacing:-.6px}
body:not(.member-logged-in) .account-card input:not([type=checkbox]){border:1px solid #ded4ef;padding:11px 13px;border-radius:10px}
body:not(.member-logged-in) .account-card button.primary{background:var(--club-purple)}
body:not(.member-logged-in) .only-pilot{display:block;max-width:1060px;margin:0 auto 14px;width:max-content}
.member-logged-in header>.quiet.linkbtn,.member-logged-in #logoutTop{display:none}
@media(max-width:1120px){.member-shell{grid-template-columns:210px minmax(0,1fr);gap:20px}.member-content{padding-right:0}.dashboard-columns{grid-template-columns:1fr}.dashboard-welcome .welcome-art{opacity:.22}}
@media(max-width:760px){.member-logged-in #logoutTop{display:inline-block}.member-logged-in .account-page{padding:0 12px}.member-shell{display:block}.club-sidebar{display:none;position:static;min-height:0;margin:0 0 12px;box-shadow:0 10px 20px #48317814}.club-menu-open .club-sidebar{display:flex}.member-content{padding:12px 0 25px}.mobile-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.mobile-nav button{background:#f0e8ff;color:#6131c7;border:1px solid #e4d4fa;padding:10px 12px}.mobile-nav span{font-size:12px;color:#695f78}.member-breadcrumb{margin-bottom:18px}.dashboard-welcome{padding:22px;min-height:0}.dashboard-welcome h1{font-size:27px;overflow-wrap:anywhere}.dashboard-welcome .welcome-art{opacity:.1}.dashboard-stats{grid-template-columns:1fr}.stat-tile{padding:13px}.dashboard-columns{grid-template-columns:1fr}.member-content .club-tools-grid{grid-template-columns:1fr}.member-content .account-card{padding:17px}.member-view h1{font-size:29px}.member-content .profile-grid{grid-template-columns:1fr}.member-content .section-heading{align-items:stretch}.recent-draft,.draft{align-items:flex-start;flex-direction:column}.recent-draft .linkbtn{padding:8px 10px}.member-view .welcome-buttons{flex-direction:column;align-items:stretch}.welcome-buttons>*{text-align:center}body:not(.member-logged-in) .account-page .intro{padding:21px}body:not(.member-logged-in) .account-card{padding:19px}}
@media(prefers-reduced-motion:reduce){.member-view{animation:none}}

/* v0.11.1 — identité du club en haut du menu. */
.sidebar-crest{flex-shrink:0;overflow:hidden}
.sidebar-crest img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:9px}

/* v0.16.12 — bibliothèque de partenaires dans la fiche club. */
.club-sponsor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}
.club-sponsor-head h3{margin:0}.club-sponsor-head span{font-size:12px;font-weight:800;color:#6936b6;background:#f3ecff;padding:5px 11px;border-radius:30px}
.club-sponsor-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:11px;margin:14px 0 22px}
.club-sponsor-thumb{position:relative;display:grid;place-items:center;min-height:88px;padding:8px 22px 8px 7px;border:1px solid #e1d9f0;border-radius:11px;background:#fbf9ff}
.club-sponsor-thumb img{max-width:100%;max-height:69px;object-fit:contain}
.club-sponsor-thumb button{position:absolute;right:2px;top:2px;padding:1px 6px;font-size:15px;line-height:1.4;border-radius:7px}

/* V0.17.54 — Œil montrer / masquer, connexion et compte club. */
.club-password-field{position:relative;width:100%;}
.club-password-field input[type="password"],.club-password-field input[type="text"]{width:100%;padding-right:58px!important;}
.club-password-eye{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:40px;min-height:40px;padding:7px;border:0;border-radius:8px;background:transparent;color:#6241a0;cursor:pointer;z-index:1;}
.club-password-eye:hover{background:#f1eafd;}
.club-password-eye:focus-visible{outline:3px solid #9b75ec;outline-offset:2px;}
.club-password-eye .eye-closed{display:none;}
.club-password-eye[aria-pressed="true"] .eye-open{display:none;}
.club-password-eye[aria-pressed="true"] .eye-closed{display:block;}
