:root{--ink:#12233f;--muted:#667085;--primary:#2457d6;--primary-dark:#183b99;--teal:#0f9f8f;--bg:#f5f7fb;--card:#fff;--line:#e7eaf0;--success:#11875d;--warning:#b7791f;--danger:#c2414b;--shadow:0 14px 40px rgba(18,35,63,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}.container{width:min(1160px,92%);margin-inline:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(231,234,240,.9)}.nav-shell{width:min(1240px,94%);min-height:72px;margin:auto;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.04em;font-size:19px}.brand-mark{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),#35b8a6);color:#fff;box-shadow:0 8px 20px rgba(36,87,214,.25)}.main-nav{display:flex;gap:20px;color:#526078;font-size:14px}.main-nav a:hover{color:var(--primary)}.nav-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;padding:11px 16px;font-weight:750;cursor:pointer}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 8px 20px rgba(36,87,214,.22)}.btn-primary:hover{background:var(--primary-dark)}.btn-ghost{background:#eef3ff;color:var(--primary)}.avatar{width:38px;height:38px;border-radius:50%;background:#12233f;color:#fff;display:grid;place-items:center;font-weight:800}.nav-toggle{display:none;border:0;background:transparent;font-size:24px}.flash{margin-top:18px;background:#ecfdf3;border:1px solid #b7ebcf;color:#176b4c;padding:12px 16px;border-radius:12px}.hero{padding:72px 0 55px;background:radial-gradient(circle at 80% 10%,rgba(53,184,166,.22),transparent 32%),linear-gradient(135deg,#0e2140,#183b72 58%,#137f78);color:#fff}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:850;color:#91f0dd}.hero h1{font-size:clamp(42px,6vw,70px);line-height:1.02;letter-spacing:-.045em;margin:12px 0 20px;max-width:780px}.hero p{font-size:18px;color:#d8e2f2;max-width:670px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero .btn-ghost{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.18)}.hero-panel{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15);border-radius:24px;padding:24px;box-shadow:0 20px 60px rgba(0,0,0,.15)}.mini-stat{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.12)}.mini-stat:last-child{border-bottom:0}.mini-stat strong{font-size:28px}.section{padding:58px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-head h2{margin:0;font-size:30px;letter-spacing:-.025em}.section-head p{margin:6px 0 0;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid-4{grid-template-columns:repeat(4,1fr)}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow)}.card:hover{transform:translateY(-2px);transition:.2s ease}.org-card{min-height:220px;display:flex;flex-direction:column}.org-logo{width:52px;height:52px;border-radius:15px;background:#edf2ff;color:var(--primary);display:grid;place-items:center;font-size:20px;font-weight:900;margin-bottom:18px}.org-card h3,.card h3{margin:0 0 8px}.muted{color:var(--muted)}.tag{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf8f4;color:#087452;font-size:12px;font-weight:750}.card-link{margin-top:auto;color:var(--primary);font-weight:800}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat-card{background:#fff;border:1px solid var(--line);padding:20px;border-radius:16px}.stat-card .value{font-size:30px;font-weight:900;letter-spacing:-.03em}.stat-card .label{color:var(--muted);font-size:13px}.date-box{width:52px;text-align:center;border-radius:13px;background:#edf2ff;color:var(--primary);padding:8px}.date-box b{display:block;font-size:20px}.event-row{display:flex;gap:14px;align-items:center}.news-image{height:150px;border-radius:14px;background:linear-gradient(135deg,#dce6ff,#d8f5ef);display:grid;place-items:center;color:var(--primary);font-size:30px;font-weight:900;margin-bottom:16px;overflow:hidden}.news-image img{width:100%;height:100%;object-fit:cover}.page-hero{padding:45px 0 35px;background:#fff;border-bottom:1px solid var(--line)}.page-hero h1{font-size:44px;letter-spacing:-.04em;margin:0 0 8px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:24px 0}.toolbar input,.toolbar select,.field input,.field textarea{width:100%;border:1px solid #d9dee8;background:#fff;border-radius:11px;padding:12px 13px;font:inherit;outline:none}.toolbar .search{flex:1;min-width:230px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;min-width:700px}th,td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left}th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#667085;background:#fafbfc}tr:last-child td{border-bottom:0}.status{padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.status.active{background:#e9f8f0;color:#11734e}.status.pending{background:#fff5dc;color:#956617}.status.suspended,.status.expired,.status.deceased{background:#ffecef;color:#a13b48}.pagination{display:flex;gap:8px;justify-content:center;margin-top:24px}.page-link{background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:9px}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}.dashboard-card h3{margin-top:0}.profile-hero{background:linear-gradient(135deg,#10284a,#2457d6);color:#fff;border-radius:24px;padding:30px}.profile-head{display:flex;align-items:center;gap:18px}.profile-avatar{width:70px;height:70px;border-radius:20px;background:#fff;color:var(--primary);display:grid;place-items:center;font-size:28px;font-weight:900}.member-card{max-width:760px;margin:40px auto;background:linear-gradient(135deg,#0d2241,#2457d6 60%,#13a18e);color:#fff;border-radius:28px;padding:32px;box-shadow:0 24px 70px rgba(13,34,65,.25)}.member-card .qr{background:#fff;padding:12px;border-radius:15px;width:150px}.verify{max-width:620px;margin:60px auto;text-align:center}.verify-icon{width:76px;height:76px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#e8f8f0;color:#11875d;font-size:34px}.footer{margin-top:70px;background:#0b1930;color:#cbd5e1;padding:46px 0 20px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:50px}.footer h4{color:#fff;margin-top:0}.footer a{display:block;margin:9px 0;color:#b9c5d7}.brand-light{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:34px;padding-top:18px;display:flex;justify-content:space-between;font-size:13px}.empty{padding:35px;text-align:center;color:var(--muted)}.form-card{max-width:480px;margin:60px auto}.field{margin-bottom:16px}.field label{display:block;font-size:13px;font-weight:750;margin-bottom:6px}.field input{margin:0}.progress{height:9px;border-radius:99px;background:#edf0f5;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--teal));border-radius:inherit}.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:850}
@media(max-width:900px){.main-nav{display:none}.nav-toggle{display:block;order:2}.nav-actions{order:3}.nav-shell{flex-wrap:wrap}.menu-open .main-nav{display:flex;order:4;width:100%;padding:10px 0 16px;flex-wrap:wrap}.hero-grid,.dashboard-grid{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.grid-4,.stats-strip{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.container{width:94%}.nav-shell{gap:12px}.nav-actions .btn-ghost{display:none}.hero{padding:52px 0 42px}.hero h1{font-size:43px}.section{padding:42px 0}.grid,.stats-strip,.grid-4,.footer-grid{grid-template-columns:1fr}.page-hero h1{font-size:35px}.section-head{align-items:start;flex-direction:column}.footer-bottom{flex-direction:column;gap:8px}.member-card{padding:22px}.profile-head{align-items:flex-start}}
/* Formulaires membres : présentation centrée et responsive */
.register-card{max-width:980px!important;margin:28px auto!important;padding:34px}.register-card h1{text-align:center;margin-top:6px}.register-card>p{text-align:center;max-width:760px;margin:0 auto 26px}.register-card form{max-width:900px;margin:auto}.register-card label{display:flex;flex-direction:column;gap:7px;font-weight:750;font-size:13px}.register-card input,.register-card select,.register-card textarea,.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid #d9dee8;background:#fff;border-radius:11px;padding:12px 13px;font:inherit;outline:none}.register-card input:focus,.register-card select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(36,87,214,.08)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .full{grid-column:1/-1}.profile-form{max-width:1000px;margin:0 auto}.table-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;vertical-align:middle}.table-avatar.placeholder{background:#edf2ff;color:var(--primary);font-weight:900;text-align:center}.impersonation-bar{background:#fff5dc;border-bottom:1px solid #f0d58b;padding:9px 0;color:#775415}.impersonation-bar .container{display:flex;align-items:center;justify-content:center;gap:12px}.impersonation-bar .btn{padding:6px 10px}
@media(max-width:700px){.form-grid{grid-template-columns:1fr}.register-card{padding:22px}.impersonation-bar .container{flex-direction:column}}

.donor-grid{grid-template-columns:repeat(4,1fr)}.donor-card{text-align:center}.donor-card h2{margin-bottom:4px}@media(max-width:900px){.donor-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.donor-grid{grid-template-columns:1fr}}
.nav-user{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:700;white-space:nowrap}.nav-user img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.7)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea{width:100%;padding:11px 12px;border:1px solid #d7deea;border-radius:10px;background:#fff;font:inherit}.form-grid textarea{min-height:95px}@media(max-width:720px){.form-grid{grid-template-columns:1fr}.nav-user span:last-child{display:none}}

/* V15 navigation + alertes */
.nav-profile-photo{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;border-radius:11px!important;object-fit:cover!important;display:block!important;flex:0 0 38px;border:1px solid var(--line)}
.nav-user{max-width:220px}.nav-user>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-logout,.nav-register{font-size:14px;font-weight:700;padding:7px 9px;border-radius:8px;white-space:nowrap}.nav-logout:hover,.nav-register:hover{background:#f3f5f8;color:var(--primary)}
.flash.error{background:#fff1f2;border-color:#fecdd3;color:#9f1239}.flash.warning{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.flash.success{background:#ecfdf3;border-color:#b7ebcf;color:#176b4c}.btn-sm{padding:7px 10px;font-size:13px}
@media(max-width:900px){.nav-register{display:none}}
/* V16 — tableaux de bord analytiques */
.dashboard-filter{margin-bottom:18px}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.filter-grid label{font-size:13px;font-weight:700;color:var(--ink);display:flex;flex-direction:column;gap:6px}.filter-grid input,.filter-grid select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}.filter-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.dashboard-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:18px 0}.dash-kpi{background:linear-gradient(145deg,var(--surface),#f7f9ff);border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 8px 26px rgba(31,45,77,.06)}.dash-kpi span{display:block;font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.dash-kpi strong{display:block;margin-top:8px;font-size:24px;line-height:1.1}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.chart-card{min-height:390px}.chart-wide{grid-column:span 2}.chart-wrap{position:relative;height:310px}.world-card{margin-top:16px}.world-map{height:460px;width:100%}.dashboard-launchers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.dashboard-launch{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit;transition:.2s transform,.2s box-shadow}.dashboard-launch:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(31,45,77,.1)}.dashboard-launch div{flex:1}.dashboard-launch strong{display:block;font-size:18px}.dashboard-launch small{display:block;color:var(--muted);margin-top:4px;line-height:1.4}.launch-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eef2ff;font-size:22px;font-weight:800}
@media(max-width:1000px){.filter-grid{grid-template-columns:repeat(2,1fr)}.dashboard-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.filter-grid,.analytics-grid,.dashboard-launchers{grid-template-columns:1fr}.chart-wide{grid-column:auto}.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.world-map{height:330px}.chart-card{min-height:340px}.chart-wrap{height:270px}}

/* V17 navigation et tableaux de bord */
.nav-actions{display:flex;align-items:center;gap:10px}.nav-logout{font-size:14px!important;font-weight:600!important;padding:6px 8px!important}.nav-profile-photo{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important}.chart-wrap{min-height:310px}.analytics-grid .chart-card{min-width:0}
/* V17.2 — carte membres et harmonisation dashboards */
.map-legend{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:8px;font-size:12px;color:var(--muted);font-weight:600}
.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block;border:1px solid rgba(255,255,255,.9);box-shadow:0 0 0 1px rgba(31,45,77,.12)}
.legend-dot.male{background:#2563eb}.legend-dot.female{background:#dc2626}.legend-dot.other{background:#64748b}
.world-map{border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#eef2f7}
.leaflet-popup-content{font-family:inherit;line-height:1.45}

/* V17.9 — Archives / Médiathèque */
.archive-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}.archive-category-card{position:relative;display:flex;align-items:center;gap:10px;padding:16px;border:1px solid var(--line);background:var(--surface);border-radius:16px;text-decoration:none;color:var(--ink);box-shadow:0 6px 20px rgba(31,45,77,.05);transition:.2s}.archive-category-card:hover,.archive-category-card.active{transform:translateY(-2px);border-color:#8da4e8;box-shadow:0 12px 30px rgba(31,45,77,.09)}.archive-category-card span{font-size:24px}.archive-category-card strong{font-size:15px}.archive-category-card small{margin-left:auto;display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#eef2ff;font-weight:800}.archive-search{display:flex;gap:10px;align-items:center;margin-bottom:22px}.archive-search input{flex:1;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:11px;font:inherit}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.archive-card{overflow:hidden;border:1px solid var(--line);background:var(--surface);border-radius:20px;box-shadow:0 8px 28px rgba(31,45,77,.07);transition:.2s}.archive-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(31,45,77,.11)}.archive-cover{display:block;position:relative;height:230px;overflow:hidden;background:#eef2f7}.archive-cover img{width:100%;height:100%;object-fit:cover;transition:.35s transform}.archive-card:hover .archive-cover img{transform:scale(1.035)}.archive-cover-placeholder{height:100%;display:grid;place-items:center;font-size:70px;background:linear-gradient(145deg,#eef2ff,#f8fafc)}.archive-type-badge,.archive-lock{position:absolute;top:12px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;backdrop-filter:blur(8px)}.archive-type-badge{left:12px;background:rgba(255,255,255,.9);color:#25345d}.archive-lock{right:12px;background:rgba(20,30,55,.82);color:#fff}.archive-card-body{padding:18px}.archive-card-body h2{font-size:20px;margin:6px 0 10px}.archive-card-body h2 a{text-decoration:none;color:inherit}.archive-card-body p{color:var(--muted);line-height:1.6}.archive-meta{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.archive-more{text-decoration:none;font-weight:800}.archive-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:26px}.archive-detail-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.archive-detail-shell{max-width:1180px}.archive-back{display:inline-block;margin-bottom:16px;text-decoration:none;font-weight:800}.archive-story{padding:28px;margin-bottom:32px}.archive-long-text{font-size:17px;line-height:1.9;max-width:900px}.archive-media-section{margin:34px 0}.archive-section-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.archive-section-title>span{font-size:30px}.archive-section-title h2,.archive-section-title p{margin:0}.archive-section-title p{color:var(--muted)}.archive-photo-grid{columns:3 280px;column-gap:16px}.archive-photo{break-inside:avoid;margin:0 0 16px;border-radius:16px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:0 6px 20px rgba(31,45,77,.05)}.archive-photo img{display:block;width:100%;height:auto}.archive-photo figcaption{padding:10px 12px;color:var(--muted);font-size:13px}.archive-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.archive-video-card{overflow:hidden;border-radius:18px;background:#0c1220;box-shadow:0 10px 30px rgba(0,0,0,.16)}.archive-video-card video{display:block;width:100%;aspect-ratio:16/9;background:#000}.archive-video-card p{margin:0;padding:12px 14px;color:#fff}.archive-document{padding:18px;margin-bottom:18px}.archive-document-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.archive-document-head strong,.archive-document-head small{display:block}.archive-document-head small{color:var(--muted);margin-top:4px}.archive-document iframe{width:100%;height:720px;border:1px solid var(--line);border-radius:12px;background:#f5f7fb}.archive-doc-note{font-size:12px;color:var(--muted);margin-bottom:0}.archive-big-label{display:flex;flex-direction:column;gap:8px;font-weight:800;margin-top:18px}.archive-big-label textarea{width:100%;min-height:290px;padding:14px;border:1px solid var(--line);border-radius:12px;font:inherit;line-height:1.6}.archive-upload-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.archive-upload-box{display:flex;flex-direction:column;gap:7px;align-items:flex-start;padding:20px;border:2px dashed #c9d4e8;border-radius:16px;background:#fafcff;cursor:pointer}.archive-upload-box>span{font-size:32px}.archive-upload-box small{color:var(--muted)}.archive-upload-box input{max-width:100%;margin-top:8px}.archive-publish-check{display:flex;align-items:center;gap:9px;font-weight:800}.archive-existing-list>div{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.archive-existing-list>div:last-child{border-bottom:0}.archive-existing-list small{display:block;color:var(--muted);margin-top:3px}.archive-file-icon{font-size:24px}
@media(max-width:1000px){.archive-category-grid{grid-template-columns:repeat(3,1fr)}.archive-grid{grid-template-columns:repeat(2,1fr)}.archive-upload-grid{grid-template-columns:1fr}.archive-document iframe{height:600px}}
@media(max-width:680px){.archive-category-grid{grid-template-columns:repeat(2,1fr)}.archive-grid,.archive-video-grid{grid-template-columns:1fr}.archive-search,.archive-detail-top,.archive-document-head{align-items:stretch;flex-direction:column}.archive-cover{height:210px}.archive-story{padding:20px}.archive-document iframe{height:480px}.archive-existing-list>div{grid-template-columns:auto 1fr}.archive-existing-list>div>a,.archive-existing-list>div>form{grid-column:auto}.archive-photo-grid{columns:1}}

/* V18.3.2 — Rédaction Actualités / éditeur riche */
.news-editor-shell{max-width:1120px}.news-editor-topbar{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.news-editor-topbar h1{font-size:clamp(34px,5vw,52px);line-height:1.05;margin:5px 0 10px}.news-back{font-weight:800;color:var(--primary)}.eyebrow-dark{margin:22px 0 0;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:var(--primary)}.news-status-pill{padding:8px 13px;border-radius:999px;font-size:12px;font-weight:900;background:#eef2ff;white-space:nowrap}.status-published{background:#ecfdf3;color:#087443}.status-pending{background:#fff7ed;color:#9a5412}.status-rejected{background:#fff1f2;color:#a11d35}.news-editor-form{display:grid;gap:18px}.news-form-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:0 10px 34px rgba(31,45,77,.06)}.news-form-heading{display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.news-form-heading>span{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:11px;background:#eef3ff;color:var(--primary);font-weight:900}.news-form-heading h2{margin:0;font-size:20px}.news-form-heading p{margin:4px 0 0;color:var(--muted);font-size:14px}.news-form-grid{display:grid;gap:16px}.news-form-grid.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.span-2{grid-column:span 2}.news-field{display:flex;flex-direction:column;gap:7px;font-weight:800}.news-field>small{font-weight:500;color:var(--muted)}.news-inline-category{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;padding:18px;border-radius:15px;background:#f8faff;border:1px dashed #cad5eb}.rich-editor-wrap{border:1px solid #cfd7e6;border-radius:16px;overflow:hidden;background:#fff}.rich-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:10px;background:#f7f9fc;border-bottom:1px solid #dce2ec;position:relative;top:auto;z-index:5}.rich-toolbar button{min-width:36px;height:34px;padding:0 9px;border:1px solid #d7deea;border-radius:8px;background:#fff;color:#26344d;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.rich-toolbar button:hover{background:#eef3ff;border-color:#9bb2ed;color:var(--primary)}.toolbar-sep{width:1px;height:24px;background:#d8dee9;margin:0 3px}.rich-editor{min-height:460px;cursor:text;padding:28px;font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.8;outline:none}.rich-editor:empty:before{content:attr(data-placeholder);color:#98a2b3;pointer-events:none}.rich-editor h2,.rich-article-content h2{font-size:1.7em;line-height:1.25;margin:1.5em 0 .6em}.rich-editor h3,.rich-article-content h3{font-size:1.35em;line-height:1.3;margin:1.35em 0 .5em}.rich-editor blockquote,.rich-article-content blockquote{margin:1.5em 0;padding:12px 20px;border-left:4px solid var(--primary);background:#f7f9ff;font-style:italic}.rich-editor ul,.rich-editor ol,.rich-article-content ul,.rich-article-content ol{padding-left:1.5em}.rich-editor a,.rich-article-content a{color:var(--primary);text-decoration:underline}.news-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.news-upload-box{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:22px;border:2px dashed #c8d3e5;border-radius:16px;background:#fbfcff;cursor:pointer}.news-upload-box>span{font-size:32px}.news-upload-box small{color:var(--muted)}.news-upload-box input{max-width:100%;margin-top:8px}.news-existing-media{margin-top:24px}.news-existing-media>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.news-existing-media small{display:block;color:var(--muted)}.media-type-icon{font-size:25px}.news-editor-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;position:sticky;bottom:12px;padding:14px;border-radius:16px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border:1px solid var(--line);box-shadow:0 12px 32px rgba(31,45,77,.12)}.rich-article-content p{margin:0 0 1.2em}.rich-article-content div{margin-bottom:1em}
@media(max-width:760px){.news-editor-topbar{flex-direction:column}.news-form-grid.two-cols,.news-inline-category,.news-upload-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.news-form-card{padding:18px}.rich-editor{padding:18px;min-height:380px}.rich-toolbar{top:0}.news-editor-actions{justify-content:stretch}.news-editor-actions .btn{flex:1}}

/* V18.3.7 — Interface compacte : en-têtes et recherches */
.compact-page-hero{padding:22px 0 16px!important}
.compact-page-hero .container{display:flex;flex-direction:column;align-items:flex-start}
.compact-page-hero h1{font-size:clamp(28px,3vw,40px)!important;line-height:1.08;margin:4px 0 6px!important}
.compact-page-hero p{margin:4px 0 8px!important;max-width:900px;font-size:.94rem;line-height:1.45}
.compact-page-hero .page-head{width:100%;margin:0;align-items:center}
.compact-page-hero .btn{padding:8px 12px;min-height:34px}
.compact-page-hero + .section{padding-top:18px}

.compact-filter-bar{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:wrap!important;width:auto!important;max-width:100%!important;margin:8px 0 14px!important;padding:8px!important;border-radius:12px!important;box-shadow:none!important}
.compact-filter-bar input,.compact-filter-bar select{width:auto!important;min-width:145px!important;max-width:240px!important;height:34px!important;min-height:34px!important;padding:6px 9px!important;border-radius:8px!important;font-size:13px!important;margin:0!important}
.compact-filter-bar .search{min-width:210px!important;max-width:300px!important}
.compact-filter-bar .btn{height:34px!important;min-height:34px!important;padding:6px 10px!important;font-size:13px!important;border-radius:8px!important}
.compact-filter-bar .form-grid{display:flex!important;gap:7px!important;flex-wrap:wrap!important;width:auto!important}
.compact-filter-bar .form-grid label{font-size:11px!important;gap:3px!important;min-width:150px!important;margin:0!important}

.compact-filter-panel{display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:wrap!important;padding:10px!important;border-radius:12px!important;box-shadow:none!important}
.compact-filter-panel label{display:flex!important;flex-direction:column!important;gap:3px!important;font-size:11px!important;min-width:130px!important;max-width:210px!important;margin:0!important}
.compact-filter-panel input,.compact-filter-panel select{width:auto!important;min-width:130px!important;max-width:210px!important;height:34px!important;min-height:34px!important;padding:6px 9px!important;font-size:13px!important;border-radius:8px!important;margin:0!important}
.compact-filter-panel .full{grid-column:auto!important;display:flex!important;align-items:center!important;gap:7px!important;margin:0!important}
.compact-filter-panel .btn{height:34px!important;min-height:34px!important;padding:6px 10px!important;font-size:13px!important;border-radius:8px!important}

.compact-data-head{margin-bottom:8px!important;align-items:center!important}
.compact-data-head h1{font-size:clamp(28px,3vw,40px)!important;margin:3px 0 4px!important}
.compact-data-head p{margin:0!important;font-size:.94rem}
.compact-finance-page{padding-top:24px!important}
.compact-finance-page .stats-grid{gap:10px!important}
.compact-finance-page .stat-card{padding:14px!important}
.compact-finance-page .stat-card strong{font-size:1.4rem!important}
.compact-filter-card{padding:10px!important;box-shadow:none!important}
.compact-filter-title{display:flex;align-items:center;gap:8px;margin:0 0 7px;font-size:13px}
.compact-filter-title .muted{font-size:12px}

/* Archives : catégories moins hautes pour garder la médiathèque visible */
.archive-category-grid{gap:8px!important;margin-bottom:10px!important}
.archive-category-card{padding:10px 12px!important;min-height:auto!important}
.archive-category-card span{font-size:20px!important}
.archive-search.compact-filter-bar{margin-top:8px!important}

/* Donateurs : le total ne doit plus allonger fortement l’en-tête */
.compact-page-hero .card{padding:10px 14px!important;margin-top:6px!important;max-width:280px!important}
.compact-page-hero .card strong{font-size:22px!important}
.compact-page-hero .card p{font-size:12px!important;margin:2px 0!important}

@media(max-width:760px){
 .compact-page-hero{padding:16px 0 12px!important}
 .compact-page-hero .page-head{align-items:flex-start;gap:8px}
 .compact-filter-bar,.compact-filter-panel{width:100%!important;align-items:stretch!important}
 .compact-filter-bar input,.compact-filter-bar select,.compact-filter-bar .search,.compact-filter-panel input,.compact-filter-panel select,.compact-filter-panel label{min-width:0!important;max-width:none!important;width:100%!important}
 .compact-filter-bar .btn,.compact-filter-panel .btn{flex:1}
 .compact-filter-panel label{flex:1 1 145px!important;width:auto!important}
 .compact-filter-panel .full{flex:1 1 100%!important}
}

/* V18.3.7b — recherches intégrées dans les en-têtes */
.compact-page-hero .compact-filter-bar,.compact-page-hero .compact-filter-panel{margin:7px 0 0!important}
.compact-page-hero .compact-filter-panel{width:100%!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;padding:7px!important;scrollbar-width:thin}
.compact-page-hero .compact-filter-panel label{flex:0 0 155px!important;min-width:155px!important;max-width:180px!important}
.compact-page-hero .compact-filter-panel .full{flex:0 0 auto!important;white-space:nowrap}
.compact-page-hero .compact-filter-panel input,.compact-page-hero .compact-filter-panel select{width:100%!important;min-width:0!important;max-width:none!important}
.compact-page-hero .compact-filter-bar .form-grid{margin:0!important}
.compact-page-hero .compact-filter-bar>div[style*="margin-top"]{margin-top:0!important;display:flex;gap:6px}
.compact-page-hero .compact-filter-bar.card,.compact-page-hero .compact-filter-panel.card{background:rgba(255,255,255,.96)}
.events-hero.compact-page-hero .compact-filter-bar{background:rgba(255,255,255,.97);padding:7px!important}
.events-hero.compact-page-hero .compact-filter-bar input,.events-hero.compact-page-hero .compact-filter-bar select{color:#182230}
.compact-filter-card .compact-filter-panel{flex-wrap:nowrap!important;overflow-x:auto!important;padding:7px!important}
.compact-filter-card .compact-filter-panel>*{flex:0 0 155px!important;min-width:155px!important;max-width:180px!important}
.compact-filter-card .compact-filter-panel .btn{flex:0 0 auto!important;min-width:auto!important;max-width:none!important}
.compact-finance-page>.container>.compact-filter-card{margin-top:8px!important;margin-bottom:10px!important}
.compact-finance-page>.container>.stats-grid{margin-top:8px!important}
@media(max-width:760px){
 .compact-page-hero .compact-filter-panel{flex-wrap:nowrap!important;align-items:flex-end!important}
 .compact-page-hero .compact-filter-panel label{flex:0 0 150px!important;width:150px!important;min-width:150px!important;max-width:150px!important}
 .compact-page-hero .compact-filter-panel .full{flex:0 0 auto!important}
 .compact-filter-card .compact-filter-panel{flex-wrap:nowrap!important}
}

/* V18.3.7c — navigation générale plus fine */
.site-header .nav-shell{min-height:58px!important;gap:16px!important}
.site-header .brand{font-size:17px!important;gap:8px!important}
.site-header .brand-mark{width:30px!important;height:30px!important;border-radius:9px!important}
.site-header .main-nav{gap:14px!important;font-size:13px!important}
.site-header .nav-actions{gap:7px!important}
.site-header .nav-actions .btn{padding:7px 11px!important;min-height:32px!important;font-size:13px!important;border-radius:9px!important}
.site-header .nav-user img{width:32px!important;height:32px!important}
@media(max-width:900px){.site-header .nav-shell{min-height:56px!important}.menu-open .main-nav{padding:6px 0 10px!important}}

/* V18.3.8 — commentaires journal + en-têtes ultra-compacts */
/* Barre générale : environ 50 % de la hauteur de V18.3.7 */
.site-header .nav-shell{min-height:30px!important;height:30px!important;gap:8px!important}
.site-header .brand{font-size:13px!important;gap:5px!important;line-height:1}
.site-header .brand-mark{width:20px!important;height:20px!important;border-radius:6px!important}
.site-header .main-nav{gap:8px!important;font-size:11px!important;line-height:1}
.site-header .nav-actions{gap:4px!important}
.site-header .nav-actions .btn{padding:3px 7px!important;min-height:24px!important;height:24px!important;font-size:11px!important;border-radius:6px!important}
.site-header .nav-user img{width:24px!important;height:24px!important}
.page-hero,.compact-page-hero{padding:10px 0 8px!important}
.page-hero h1,.compact-page-hero h1{font-size:clamp(22px,2.5vw,31px)!important;margin:1px 0 3px!important;line-height:1.03!important}
.page-hero p,.compact-page-hero p{margin:2px 0 4px!important;font-size:.82rem!important;line-height:1.25!important}
.page-hero .kicker,.page-hero .eyebrow,.compact-page-hero .kicker,.compact-page-hero .eyebrow{font-size:10px!important;line-height:1.1}
.page-hero + .section,.compact-page-hero + .section{padding-top:10px!important}

/* Tous les filtres des en-têtes : à droite, sans défilement horizontal, tous visibles */
.compact-page-hero>.container{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(420px,auto)!important;grid-auto-rows:auto;column-gap:14px!important;align-items:center!important}
.compact-page-hero>.container>*:not(form){grid-column:1!important}
.compact-page-hero>.container>form.compact-filter-bar,
.compact-page-hero>.container>form.compact-filter-panel{grid-column:2!important;grid-row:1 / span 5!important;justify-self:end!important;align-self:center!important;margin:0!important}
.compact-page-hero .compact-filter-bar,.compact-page-hero .compact-filter-panel{justify-content:flex-end!important;flex-wrap:wrap!important;overflow:visible!important;width:auto!important;max-width:min(66vw,900px)!important;padding:5px!important;gap:4px!important}
.compact-filter-bar input,.compact-filter-bar select,.compact-filter-panel input,.compact-filter-panel select{height:28px!important;min-height:28px!important;padding:3px 6px!important;font-size:11px!important;border-radius:6px!important;min-width:105px!important;max-width:165px!important}
.compact-filter-bar .search{min-width:150px!important;max-width:220px!important}
.compact-filter-bar .btn,.compact-filter-panel .btn{height:28px!important;min-height:28px!important;padding:3px 7px!important;font-size:11px!important;border-radius:6px!important}
.compact-filter-panel label{min-width:105px!important;max-width:150px!important;font-size:9px!important;gap:1px!important}
.compact-filter-panel .full{flex:0 1 auto!important}
.compact-page-hero .compact-filter-bar .form-grid{justify-content:flex-end!important;flex-wrap:wrap!important}
.compact-page-hero .compact-filter-bar .form-grid label{min-width:115px!important;font-size:9px!important}

/* Finance : titre à gauche, tous les filtres fixes et visibles à droite */
.finance-header-layout{display:grid!important;grid-template-columns:minmax(250px,.72fr) minmax(620px,1.28fr)!important;gap:12px!important;align-items:start!important;margin-bottom:8px!important}
.finance-header-layout .compact-data-head{margin:0!important;display:block!important}
.finance-header-layout .compact-filter-card{margin:0!important;padding:5px!important}
.finance-header-layout .compact-filter-title{display:none!important}
.finance-header-layout .compact-filter-panel{display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important;overflow:visible!important;padding:0!important;gap:4px!important}
.finance-header-layout .compact-filter-panel>*{flex:0 1 125px!important;min-width:105px!important;max-width:145px!important}
.finance-header-layout .compact-filter-panel .btn{flex:0 0 auto!important;min-width:auto!important}
.compact-finance-page{padding-top:10px!important}

/* Journal : commentaire plus petit, plus moderne */
.journal-comments{max-width:740px!important;margin:28px auto!important}
.comments-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e7eaf0;padding-bottom:8px}
.comments-title-row h2{font-size:22px;margin:1px 0}
.comment-total{display:grid;place-items:center;min-width:30px;height:30px;border-radius:999px;background:#101828;color:#fff;font-weight:800;font-size:12px}
.comment-form,.reply-form{border:1px solid #e4e7ec!important;border-radius:12px!important;padding:10px!important;background:#fff!important;box-shadow:0 4px 14px rgba(16,24,40,.04)}
.comment-compose{margin:10px 0 12px!important}
.compact-comment-input{min-height:56px!important;height:56px!important;resize:vertical!important;padding:8px 10px!important;font-size:13px!important;line-height:1.4!important;margin-top:6px!important}
.guest-grid{gap:6px!important}.guest-grid input{height:30px!important;min-height:30px!important;font-size:12px!important;padding:5px 8px!important}
.comment-submit-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;font-size:11px}
.comment{padding:12px 0!important}.comment-head{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}
.comment-avatar{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;background:#eef3ff;color:#175cd3;font-weight:900;font-size:12px}.comment-avatar.small{width:25px;height:25px;flex-basis:25px;font-size:10px}
.comment-author strong{font-size:13px}.comment-author .muted{font-size:10px!important}.comment-text{white-space:pre-wrap;margin:5px 0 4px!important;font-size:13px;line-height:1.45;color:#344054}
.comment-actions{gap:10px!important;margin-top:4px!important}.text-btn{font-size:11px!important}.replies{margin:7px 0 0 16px!important;padding-left:10px!important;border-left:2px solid #dbe5ff!important}.reply{padding:8px 0!important}.reply-target{font-size:11px;color:#667085;margin-left:4px}.reply-target strong{color:#175cd3;font-size:11px}.reply-form{margin-top:7px!important}.replying-to{font-size:11px;color:#667085;margin-bottom:4px}.replying-to strong{color:#175cd3}.reply-compose-line{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:end}.reply-compose-line .btn{height:30px!important;min-height:30px!important;padding:4px 9px!important}.empty-comments{padding:15px 0!important;font-size:12px}

/* Journal public : recherche à droite de l'en-tête */
.journal-head{padding:10px 0 8px!important;display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,420px);gap:4px 14px;align-items:center}
.journal-head .manage-link{grid-column:1;justify-self:start;float:none!important}
.journal-title{font-size:clamp(30px,4vw,48px)!important;line-height:1!important}
.journal-head .journal-sub{font-size:12px}
.news-tools{margin:0!important;grid-column:2;grid-row:1 / span 4;align-self:center;display:grid!important;grid-template-columns:1fr auto!important;gap:5px!important}
.news-tools input{height:30px!important;min-height:30px!important;font-size:12px!important}.news-tools .btn{height:30px!important;min-height:30px!important;padding:4px 8px!important;font-size:11px!important}

@media(max-width:980px){
 .compact-page-hero>.container,.finance-header-layout,.journal-head{grid-template-columns:1fr!important}
 .compact-page-hero>.container>form.compact-filter-bar,.compact-page-hero>.container>form.compact-filter-panel{grid-column:1!important;grid-row:auto!important;justify-self:stretch!important}
 .compact-page-hero .compact-filter-bar,.compact-page-hero .compact-filter-panel{max-width:none!important;justify-content:flex-start!important}
 .finance-header-layout .compact-filter-panel{justify-content:flex-start!important}
 .news-tools{grid-column:1!important;grid-row:auto!important;max-width:520px}
}
@media(max-width:600px){
 .site-header .nav-shell{height:auto!important;min-height:34px!important}
 .compact-filter-bar input,.compact-filter-bar select,.compact-filter-panel input,.compact-filter-panel select{min-width:95px!important;max-width:145px!important;width:auto!important}
 .compact-filter-panel label{min-width:95px!important;max-width:135px!important;width:auto!important;flex:0 1 120px!important}
 .reply-compose-line{grid-template-columns:1fr}
}

/* V18.3.9 — Cotisations / Finances / Mon compte : densité horizontale */
.metric-strip{display:flex;align-items:stretch;gap:7px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;margin:6px 0 8px;padding:0 0 2px;scrollbar-width:thin}
.metric-strip .metric-chip{flex:1 1 0;min-width:135px;max-width:230px;background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:10px;padding:7px 10px;box-shadow:0 1px 2px rgba(15,23,42,.04);display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px}
.metric-strip .metric-chip .metric-label{font-size:10px;line-height:1.15;color:#64748b;font-weight:700;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}
.metric-strip .metric-chip strong{font-size:18px;line-height:1;color:#0f172a;white-space:nowrap}
.metric-strip .metric-chip.year-total{min-width:170px}
.metric-strip .metric-chip.year-total strong{font-size:16px}

.contribution-compact-hero{padding-top:8px!important;padding-bottom:8px!important}
.contribution-compact-hero .page-head{margin-bottom:5px!important;align-items:center!important}
.contribution-compact-hero .page-head h1{font-size:clamp(23px,2.4vw,32px)!important;margin:0 0 2px!important}
.contribution-compact-hero .page-head p{font-size:12px!important;margin:0!important}
.contribution-filter-card{padding:7px!important;margin:6px 0 8px!important}
.contribution-filter-form{display:flex!important;align-items:flex-end!important;gap:5px!important;flex-wrap:wrap!important}
.contribution-filter-form .field{margin:0!important;flex:0 1 118px!important;min-width:88px!important;max-width:145px!important}
.contribution-filter-form .field.search-member{flex-basis:165px!important;max-width:190px!important}
.contribution-filter-form .field.actions{flex:1 1 auto!important;max-width:none!important;display:flex!important;align-items:flex-end!important;gap:4px!important;white-space:nowrap}
.contribution-filter-form label{font-size:9px!important;line-height:1!important;margin-bottom:2px!important;color:#64748b!important}
.contribution-filter-form input:not([type="checkbox"]),.contribution-filter-form select{height:27px!important;min-height:27px!important;padding:2px 6px!important;font-size:11px!important;border-radius:6px!important}
.contribution-filter-form .btn{height:27px!important;min-height:27px!important;padding:3px 7px!important;font-size:10px!important;border-radius:6px!important}
.contribution-filter-form .unpaid-check{flex:0 1 155px!important;max-width:165px!important;align-self:center!important}
.contribution-filter-form .unpaid-check label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;font-size:10px!important;line-height:1.1!important;margin:0!important}
.contribution-filter-form .unpaid-check input{width:13px!important;height:13px!important;margin:0!important}

.finance-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:7px 0 8px}
.finance-kpi-strip .stat-card{min-width:0!important;padding:7px 10px!important;min-height:50px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border-radius:10px!important}
.finance-kpi-strip .stat-card span{font-size:10px!important;line-height:1.15!important;margin:0!important;white-space:nowrap}
.finance-kpi-strip .stat-card strong{font-size:17px!important;line-height:1!important;white-space:nowrap}
.compact-finance-page .compact-filter-card{padding:6px!important;margin-top:6px!important}
.compact-finance-page .compact-filter-title{display:none!important}
.compact-finance-page .compact-filter-panel{gap:4px!important;padding:0!important;overflow:visible!important;flex-wrap:wrap!important}
.compact-finance-page .compact-filter-panel>*{flex:0 1 112px!important;min-width:88px!important;max-width:135px!important}
.compact-finance-page .compact-filter-panel input,.compact-finance-page .compact-filter-panel select{height:27px!important;min-height:27px!important;padding:2px 6px!important;font-size:10px!important;min-width:88px!important;max-width:135px!important}
.compact-finance-page .compact-filter-panel input[name="q"]{flex-basis:180px!important;min-width:150px!important;max-width:210px!important}
.compact-finance-page .compact-filter-panel .btn{height:27px!important;min-height:27px!important;padding:3px 7px!important;font-size:10px!important}

.account-compact-page .page-head{margin-bottom:7px!important}
.account-compact-page .page-head h1{font-size:clamp(24px,2.5vw,32px)!important;margin:1px 0 2px!important}
.account-compact-page .page-head p{font-size:12px!important;margin:0!important}
.account-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:7px 0 10px}
.account-kpi-strip.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-kpi-strip .stat-card{padding:7px 10px!important;min-height:50px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border-radius:10px!important}
.account-kpi-strip .stat-card span{font-size:10px!important;line-height:1.15!important;margin:0!important}
.account-kpi-strip .stat-card strong{font-size:17px!important;line-height:1!important;white-space:nowrap}
.account-compact-page .account-debt-card{margin-top:8px!important;padding:9px 12px!important}
.account-compact-page .account-debt-card h2{font-size:17px!important;margin:2px 0!important}
.account-compact-page .card{margin-top:10px!important}
.account-compact-page .card h2{margin-top:0!important;margin-bottom:6px!important;font-size:20px!important}

@media(max-width:900px){
 .finance-kpi-strip,.account-kpi-strip,.account-kpi-strip.three{display:flex;overflow-x:auto;flex-wrap:nowrap}
 .finance-kpi-strip .stat-card,.account-kpi-strip .stat-card{flex:0 0 180px!important}
 .contribution-filter-form .field{flex:1 1 105px!important;max-width:none!important}
 .contribution-filter-form .field.actions{flex:1 1 100%!important}
}

/* V18.4.2 — Nos activités / gestion de projets */
.project-public-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.project-card{padding:14px!important;display:flex;flex-direction:column;gap:9px}
.project-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.project-card-top h2{font-size:20px;margin:6px 0 0}.project-desc{font-size:12px;line-height:1.45;margin:0}.project-manager{font-size:12px}.project-manager a{font-weight:700}
.project-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.project-kpis>div{border:1px solid #e5e7eb;border-radius:8px;padding:6px 7px;min-width:0}.project-kpis span{display:block;font-size:9px;color:#667085;text-transform:uppercase;font-weight:700}.project-kpis strong{font-size:13px;white-space:nowrap}
.project-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#667085;margin-top:2px}.project-progress{height:7px;border-radius:99px;background:#edf0f4;overflow:hidden}.project-progress i{display:block;height:100%;background:#2563eb;border-radius:inherit}.project-progress.funding i{background:#16a34a}.project-progress.large{height:10px}
.project-card-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:auto;font-size:11px;color:#667085}
.project-summary-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:12px}.project-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:9px 10px;min-width:0}.project-summary-card span,.project-summary-card small{display:block;color:#667085;font-size:9px}.project-summary-card span{text-transform:uppercase;font-weight:700;letter-spacing:.03em}.project-summary-card strong{display:block;font-size:17px;margin:3px 0;white-space:nowrap}.project-detail-grid{align-items:start}.project-detail-grid .card{padding:15px}.project-detail-grid h2{margin:0 0 10px;font-size:20px}.project-meta-list{display:grid;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid #e5e7eb}.project-meta-list>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.project-meta-list span{text-align:right;color:#475467}
.project-task-table{min-width:1050px}.project-task-table td small{display:block;color:#667085;font-size:10px;margin-top:2px}.status.planned,.status.todo{background:#f2f4f7;color:#344054}.status.in_progress{background:#eff8ff;color:#175cd3}.status.completed{background:#ecfdf3;color:#027a48}.status.paused{background:#fff6ed;color:#b54708}
@media(max-width:1050px){.project-summary-row{display:flex;overflow-x:auto}.project-summary-card{flex:0 0 180px}.project-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.project-public-grid{grid-template-columns:1fr}.project-card-top{flex-direction:column}.project-card-foot{align-items:flex-start;flex-direction:column}.project-meta-list>div{flex-direction:column;gap:2px}.project-meta-list span{text-align:left}}

/* V18.5 — Projets avancés, CRM et portail exécutif */
.compact-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.compact-actions form{margin:0}.text-danger{color:#b42318!important}.task-overdue{background:#fff6f5}.validation-status{display:inline-flex;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:800;background:#f2f4f7;color:#475467}.validation-status.approved{background:#ecfdf3;color:#027a48}.validation-status.rejected{background:#fef3f2;color:#b42318}.validation-status.pending{background:#fffaeb;color:#b54708}.project-progress.planning i{background:linear-gradient(90deg,#7f56d9,#9e77ed)}.dependency-list{display:flex;gap:6px;flex-wrap:wrap}.mini-chip{display:inline-flex;padding:5px 8px;border:1px solid #d0d5dd;border-radius:999px;font-size:11px;text-decoration:none;color:#344054;background:#fff}.validation-box{margin-top:14px;padding:10px;border:1px solid #fedf89;background:#fffaeb;border-radius:9px}.attachment-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eaecf0;font-size:12px}.attachment-row small{color:#667085}.compact-upload{display:grid;grid-template-columns:1fr 1.4fr auto;gap:6px;margin-top:10px;align-items:center}.compact-upload input{min-height:30px!important;height:30px!important;font-size:11px!important}.project-comment{padding:9px 0;border-bottom:1px solid #eaecf0}.project-comment strong,.project-comment small{display:block}.project-comment small{font-size:10px;color:#667085}.project-comment p{margin:4px 0 0;font-size:12px}.compact-project-comment{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:end;margin-top:10px}.compact-project-comment textarea{min-height:52px!important}.project-log-row{display:grid;gap:2px;padding:7px 0;border-bottom:1px solid #eaecf0;font-size:11px}.project-log-row small{color:#667085}.project-log-row span{color:#475467}.gantt-card{overflow:hidden}.gantt-head{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#667085;margin-bottom:8px}.gantt-row{display:grid;grid-template-columns:220px 1fr;gap:10px;align-items:center;padding:7px 0;border-top:1px solid #f2f4f7}.gantt-label strong,.gantt-label small{display:block}.gantt-label small{font-size:10px;color:#667085}.gantt-track{height:27px;position:relative;background:repeating-linear-gradient(90deg,#f9fafb,#f9fafb 9.5%,#eef2f6 10%);border-radius:6px;overflow:hidden}.gantt-bar{position:absolute;top:4px;height:19px;min-width:18px;border-radius:5px;background:#667085;color:#fff;font-size:9px;padding:3px 5px;overflow:hidden;white-space:nowrap}.gantt-bar.in_progress{background:#175cd3}.gantt-bar.completed{background:#039855}.crm-stats{grid-template-columns:repeat(2,minmax(0,180px))}.crm-tag{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;background:#f2f4f7}.crm-tag.regular{background:#eff8ff;color:#175cd3}.crm-tag.major{background:#fdf2fa;color:#c11574}.crm-tag.partner{background:#ecfdf3;color:#027a48}.metric-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eaecf0;font-size:12px}.executive-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.exec-card{background:#fff;border:1px solid #e4e7ec;border-radius:10px;padding:10px;min-width:0}.exec-card span,.exec-card small{display:block;color:#667085;font-size:9px}.exec-card strong{display:block;font-size:18px;margin:3px 0;white-space:nowrap}.exec-card.danger{border-color:#fecdca;background:#fff6f5}.exec-card.warning{border-color:#fedf89;background:#fffaeb}.risk-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #eaecf0;align-items:center}.risk-row strong,.risk-row small{display:block}.risk-row small{color:#667085;font-size:10px}.risk-metrics{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.risk-metrics span{padding:3px 6px;background:#f2f4f7;border-radius:5px;font-size:9px}.finance-inline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.finance-inline>div{padding:9px;border:1px solid #eaecf0;border-radius:8px}.finance-inline span,.finance-inline strong{display:block}.finance-inline span{font-size:10px;color:#667085}.finance-inline strong{font-size:16px;margin-top:2px}
@media(max-width:1100px){.executive-kpis{display:flex;overflow-x:auto}.exec-card{flex:0 0 170px}.gantt-row{grid-template-columns:160px 1fr}.finance-inline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.gantt-row{grid-template-columns:1fr}.gantt-track{height:24px}.compact-upload,.compact-project-comment{grid-template-columns:1fr}.finance-inline{grid-template-columns:1fr}}

/* V18.9 — médiathèque projet, lecture longue et Gantt proportionnel */
.project-description-collapsible{max-height:180px;overflow:hidden;position:relative}.project-description-collapsible:not(.is-open):after{content:"";position:absolute;left:0;right:0;bottom:0;height:58px;background:linear-gradient(transparent,#fff)}.project-description-collapsible.is-open{max-height:none;overflow:visible}.project-description-collapsible.is-open:after{display:none}.project-read-more{margin-top:8px}.project-media-upload{display:grid;grid-template-columns:1fr 1.2fr 1.2fr auto auto;gap:8px;align-items:center;margin:12px 0}.project-media-upload input{min-width:0}.media-public-toggle{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.project-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.project-media-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.project-media-preview{height:180px;background:#f3f6fb;display:flex;align-items:center;justify-content:center;overflow:hidden}.project-media-preview img,.project-media-preview video{width:100%;height:100%;object-fit:cover}.project-document-icon{font-size:52px}.project-media-body{padding:12px;display:grid;gap:6px}.project-media-body strong{overflow-wrap:anywhere}.project-media-body p{margin:0;font-size:12px}.project-media-body small{color:#667085}.final-report-box{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:14px;border:1px solid #d0d5dd;border-radius:12px;background:#f8fafc}.final-report-box p{margin:8px 0}.final-report-upload{display:grid;grid-template-columns:1fr 2fr 1.2fr auto;gap:8px;align-items:end;margin-top:12px}.final-report-upload textarea{min-height:70px}.gantt-scroll{overflow-x:auto;padding-bottom:6px}.gantt-canvas{min-width:1100px}.gantt-track{overflow:visible}.gantt-bar{display:flex;flex-direction:column;justify-content:center;line-height:1.05;min-width:4px}.gantt-bar small{font-size:7px;font-weight:700}.gantt-label small+small{margin-top:3px}.gantt-row{grid-template-columns:320px 1fr}.gantt-head{padding-left:320px}@media(max-width:1000px){.project-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-media-upload,.final-report-upload{grid-template-columns:1fr 1fr}.gantt-row{grid-template-columns:260px 1fr}.gantt-head{padding-left:260px}}@media(max-width:650px){.project-media-grid{grid-template-columns:1fr}.project-media-upload,.final-report-upload{grid-template-columns:1fr}.final-report-box{flex-direction:column}.gantt-row{grid-template-columns:220px 1fr}.gantt-head{padding-left:220px}}
/* V18.10 — comptes, transferts, inscription */
.account-card-strip{display:flex;gap:12px;overflow-x:auto;margin-bottom:18px;padding-bottom:4px}.account-summary-card{min-width:235px;flex:1;background:var(--card,#fff);border:1px solid var(--line,#e5e7eb);border-radius:16px;padding:16px;cursor:pointer;transition:.18s ease;position:relative}.account-summary-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.09);border-color:#b9c8ea}.account-card-title{font-weight:800;font-size:16px}.account-card-balance{font-size:25px;font-weight:800;margin-top:8px}.account-agent-line{margin-top:10px;font-size:13px}.account-agent-line a,.account-detail-agent a{font-size:17px;font-weight:800;color:#1769d2;text-decoration:none}.account-agent-line a:hover,.account-detail-agent a:hover{text-decoration:underline}.account-card-hint{margin-top:10px;font-size:11px;color:var(--muted,#6b7280)}
.transfer-filter-card{padding:14px 16px;margin-bottom:14px}.transfer-filter-card .page-head{margin-bottom:8px}.transfer-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:7px;align-items:center}.transfer-filter-grid input,.transfer-filter-grid select{min-height:34px;padding:6px 8px;font-size:12px}.transfer-form-card{max-width:900px;padding:15px 17px;margin-bottom:20px}.transfer-form-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:9px;margin-bottom:11px}.transfer-form-grid label{font-size:12px;font-weight:700}.transfer-form-grid input,.transfer-form-grid select{min-height:36px;padding:6px 8px;margin-top:4px;font-size:13px}
.account-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.account-detail-grid>div{border:1px solid var(--line,#e5e7eb);border-radius:12px;padding:12px}.account-detail-grid span{display:block;color:var(--muted,#6b7280);font-size:12px;margin-bottom:4px}
.registration-wizard{padding:22px}.wizard-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:22px}.wizard-progress span{padding:9px 10px;border-radius:10px;background:#f1f4f8;color:#667085;font-size:12px;font-weight:800;text-align:center}.wizard-progress span.active{background:#e9f2ff;color:#1769d2}.wizard-step{display:none}.wizard-step.active{display:block}.wizard-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px;border-top:1px solid var(--line,#e5e7eb);padding-top:16px}.registration-success{text-align:center;padding:34px}.success-mark{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#e9f8ef;color:#16803a;font-size:32px;font-weight:900}.registration-id{margin:20px auto;padding:14px;border-radius:14px;background:#f5f8fc;max-width:360px}.registration-id span{display:block;color:#667085;font-size:12px}.registration-id strong{font-size:25px;color:#1769d2}
@media(max-width:900px){.transfer-filter-grid{grid-template-columns:repeat(2,1fr)}.transfer-form-grid,.account-detail-grid{grid-template-columns:1fr 1fr}.wizard-progress{grid-template-columns:1fr 1fr}}@media(max-width:620px){.transfer-filter-grid,.transfer-form-grid,.account-detail-grid{grid-template-columns:1fr}.wizard-progress{grid-template-columns:1fr}.wizard-progress span{display:none}.wizard-progress span.active{display:block}}

/* V18.12 — navigation flexible, état actif, projet et espace membre */
.site-header .nav-shell{min-height:46px!important;height:auto!important;gap:12px!important;padding:5px 0!important}
.site-header .brand{font-size:15px!important;gap:7px!important;white-space:nowrap}.site-header .brand-mark{width:27px!important;height:27px!important}
.site-header .main-nav{gap:5px!important;font-size:12.5px!important;line-height:1.2!important;flex-wrap:wrap!important;align-items:center!important}
.site-header .main-nav a{padding:6px 7px!important;border-radius:8px!important;transition:.18s ease}.site-header .main-nav a:hover,.site-header .main-nav a.nav-active{background:#eaf1ff!important;color:var(--primary)!important;font-weight:800!important}
.site-header .nav-actions .btn{height:auto!important;min-height:30px!important;font-size:12px!important;padding:5px 9px!important}
.project-media-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}.project-media-preview{height:125px!important}.project-media-body{padding:9px!important}.project-media-body strong{font-size:12px}.project-media-body p,.project-media-body small{font-size:10px!important}
.task-attachment-link{color:#2457d6!important;font-weight:800!important;text-decoration:underline!important;text-underline-offset:2px}
.member-finance-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.member-fin-stat{padding:15px;border-radius:14px;border:1px solid var(--line);background:#fff}.member-fin-stat span{display:block;font-size:11px;font-weight:800}.member-fin-stat strong{display:block;font-size:21px;margin-top:5px}.member-fin-stat.cot{background:#eef5ff;color:#174ea6}.member-fin-stat.don{background:#eefbf6;color:#087452}.member-fin-stat.recu{background:#fff8e7;color:#8a5a00}.member-fin-stat.platform{background:#f3efff;color:#6541b4}.member-fin-stat.reste{background:#fff0f1;color:#b42318;border-color:#ffd1d5}
.final-rich-wrap{border:1px solid #d0d5dd;border-radius:10px;overflow:hidden;background:#fff;min-width:0}.final-rich-toolbar{display:flex;gap:3px;flex-wrap:wrap;padding:6px;background:#f5f7fa;border-bottom:1px solid #d0d5dd}.final-rich-toolbar button{border:1px solid #d0d5dd;background:#fff;border-radius:6px;padding:4px 7px;cursor:pointer}.final-rich-editor{min-height:110px;padding:10px;outline:none;overflow:auto}.final-rich-editor:empty:before{content:attr(data-placeholder);color:#98a2b3}.final-report-upload{grid-template-columns:1fr minmax(320px,2.4fr) 1.2fr auto!important}
@media(max-width:1100px){.project-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.member-finance-stats{grid-template-columns:repeat(3,1fr)}.site-header .main-nav{font-size:12px!important}}@media(max-width:760px){.project-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.member-finance-stats{grid-template-columns:1fr 1fr}.final-report-upload{grid-template-columns:1fr!important}}@media(max-width:480px){.project-media-grid,.member-finance-stats{grid-template-columns:1fr!important}}

/* V18.13 — logo de navigation plus présent sans déformer la barre */
.nav-platform-logo{height:60px;max-height:calc(100% - 6px);width:auto;max-width:150px;object-fit:contain;border:1px solid #d6deee;border-radius:10px;padding:2px;background:#fff;box-shadow:0 3px 10px rgba(18,35,63,.08)}
@media(max-width:900px){.nav-platform-logo{height:52px;max-width:120px}}

/* V18.17.2 navigation */
.site-header .main-nav{font-size:14px!important;gap:6px!important}.site-header .main-nav a{padding:7px 8px!important;font-weight:650}.site-header .nav-user span{font-size:14px;font-weight:800}

/* V18.17.6 — accueil personnalisable */
.home-dynamic-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0e2140,#183b72 58%,#137f78)}
.home-hero-slides,.home-hero-overlay{position:absolute;inset:0}
.home-hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.025);transition:opacity 1s ease,transform 5s ease}
.home-hero-slide.active{opacity:1;transform:scale(1)}
.home-hero-overlay{background:linear-gradient(90deg,rgba(7,22,45,.88),rgba(13,44,77,.70) 55%,rgba(7,38,49,.66))}
.home-hero-content{position:relative;z-index:2}
.home-platform-name{font-size:clamp(24px,3vw,38px);font-weight:950;letter-spacing:.02em;color:#fff;margin-bottom:8px;text-shadow:0 2px 16px rgba(0,0,0,.28)}

/* V18.18.4 — optimisation mobile globale */
img,video,iframe{max-width:100%}
@media(max-width:760px){.container{width:min(100% - 24px,1200px)}.section{padding:34px 0}.page-hero{padding:34px 0}.card{border-radius:16px}table{font-size:.86rem}.table-wrap,.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}input,select,textarea,.form-control{max-width:100%;font-size:16px}.btn{max-width:100%;white-space:normal}.grid{grid-template-columns:1fr!important}.nav-inner{gap:8px}.nav-links{max-height:70vh;overflow-y:auto}.news-tools,.event-filters,.compact-filter-bar{display:grid!important;grid-template-columns:1fr!important;width:100%}.social-links-bar{align-items:stretch}.social-brand{justify-content:center;flex:1 1 135px}}
/* === GuelemPedia V18.19 === */
.guelempedia-orb{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:22px;background:linear-gradient(145deg,#0d7a4d,#075a3a);box-shadow:0 8px 20px rgba(7,90,58,.22);border:2px solid rgba(255,255,255,.85);transition:.2s}.guelempedia-orb:hover{transform:translateY(-2px) scale(1.04)}
.gp-hero{background:linear-gradient(135deg,#073f31,#0b6b4a);color:#fff;padding:56px 0 48px}.gp-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);gap:40px;align-items:end}.gp-hero h1{font-size:clamp(2.4rem,6vw,5rem);margin:.1em 0}.gp-hero p{max-width:650px;color:rgba(255,255,255,.82);font-size:1.08rem}.gp-globe{display:inline-flex;width:54px;height:54px;border-radius:50%;align-items:center;justify-content:center;background:#fff;color:#0b6b4a;font-size:30px;margin-right:12px;vertical-align:middle}.gp-search{background:#fff;padding:10px;border-radius:18px;display:flex;gap:8px;box-shadow:0 18px 45px rgba(0,0,0,.18)}.gp-search input{border:0;outline:0;flex:1;min-width:0;padding:14px;font-size:1rem}.gp-results{display:grid;gap:28px}.gp-summary{font-size:1.05rem}.gp-group{display:grid;gap:14px}.gp-group-title{display:flex;justify-content:space-between;align-items:center}.gp-group-title h2{margin:0}.gp-group-title span{background:#e8f4ef;color:#075a3a;padding:5px 10px;border-radius:999px;font-weight:800}.gp-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gp-member-card{display:flex;gap:14px;align-items:center;padding:16px;background:#fff;border:1px solid #e7ecea;border-radius:18px;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(18,42,33,.06);transition:.2s}.gp-member-card:hover{transform:translateY(-2px);border-color:#9bcab6}.gp-member-card img,.gp-avatar{width:62px;height:62px;border-radius:50%;object-fit:cover;flex:0 0 62px}.gp-avatar{display:flex;align-items:center;justify-content:center;background:#e8f4ef;color:#075a3a;font-weight:900}.gp-member-card h3{margin:0 0 4px}.gp-member-card p{margin:2px 0;color:#65736d;font-size:.88rem}.gp-status{display:inline-block;margin-top:5px;padding:4px 9px;border-radius:999px;background:#eef2f0;font-size:.76rem;font-weight:800}.gp-active{background:#e0f6e9;color:#17683a}.gp-deceased{background:#eee;color:#444}.gp-suspended,.gp-inactive,.gp-expired{background:#fff0e8;color:#9a4b20}.gp-pending{background:#fff7d8;color:#7a6416}.gp-list{display:grid;gap:8px}.gp-list>a{display:flex;justify-content:space-between;gap:20px;padding:14px 16px;background:#fff;border:1px solid #e7ecea;border-radius:14px;text-decoration:none;color:inherit}.gp-list>a:hover{border-color:#8fc3ad}.gp-list small{color:#68766f}.gp-empty{text-align:center;padding:48px}.gp-empty>span{font-size:42px}.gp-intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gp-intro-grid b{font-size:1.15rem}.gp-profile-hero{background:linear-gradient(135deg,#f0f8f4,#fff);padding:34px 0 26px;border-bottom:1px solid #e1ece7}.gp-back{text-decoration:none;color:#37685a}.gp-profile-head{display:flex;align-items:center;gap:20px;margin-top:20px}.gp-profile-head>img,.gp-profile-avatar{width:108px;height:108px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 8px 28px rgba(0,0,0,.1)}.gp-profile-avatar{display:flex;align-items:center;justify-content:center;background:#0b6b4a;color:#fff;font-size:34px;font-weight:900}.gp-profile-head h1{margin:4px 0}.gp-profile-head p{margin:0;color:#64736c}.gp-self-edit{margin-left:auto}.gp-deceased{display:inline-block;margin-left:8px;padding:4px 9px;border-radius:999px}.gp-tabs-wrap{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid #e5ebe8}.gp-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.gp-tabs a{white-space:nowrap;text-decoration:none;color:#53645c;padding:15px 13px;border-bottom:3px solid transparent;font-weight:700}.gp-tabs a.active{color:#075a3a;border-color:#0b7b52}.gp-money-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.gp-money-grid a{background:#083f31;color:#fff;padding:20px;border-radius:18px;text-decoration:none;display:grid;gap:6px}.gp-money-grid span,.gp-money-grid small{color:rgba(255,255,255,.72)}.gp-money-grid strong{font-size:1.35rem}.gp-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gp-dl{display:grid;grid-template-columns:minmax(120px,.8fr) 1.4fr;gap:9px 14px;margin:0}.gp-dl dt{font-weight:700;color:#607069}.gp-dl dd{margin:0;overflow-wrap:anywhere}.gp-bio,.gp-death{margin-top:18px}.gp-death{border-left:4px solid #667}.gp-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
@media(max-width:900px){.gp-hero-inner{grid-template-columns:1fr}.gp-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-profile-grid{grid-template-columns:1fr}.gp-money-grid{grid-template-columns:1fr}.gp-intro-grid{grid-template-columns:1fr}.gp-profile-head{align-items:flex-start;flex-wrap:wrap}.gp-self-edit{margin-left:0}.gp-tabs-wrap{top:0}.guelempedia-orb{width:38px;height:38px}}
@media(max-width:580px){.gp-hero{padding:38px 0}.gp-search{flex-direction:column}.gp-search .btn{width:100%}.gp-member-grid{grid-template-columns:1fr}.gp-list>a{flex-direction:column;gap:4px}.gp-profile-head>img,.gp-profile-avatar{width:82px;height:82px}.gp-dl{grid-template-columns:1fr;gap:2px}.gp-dl dd{margin-bottom:9px}.gp-section-head{align-items:flex-start;flex-direction:column;gap:10px}.gp-money-grid strong{font-size:1.15rem}}

/* V18.19.1 — correction globale des textes longs et contenus riches */
:root{--aj-text-wrap:anywhere}
html,body{max-width:100%;overflow-x:hidden}
main,.container,.section,.card,.panel,.content,.page-content,.article,.article-body,.news-card,.event-card,.archive-card,.communique-card{min-width:0;max-width:100%}
/* Le texte éditorial doit toujours rester dans son conteneur. */
p,li,dd,dt,blockquote,figcaption,.card,.card-body,.content,.article-body,.rich-text,.prose,.description,.bio,.gp-bio,.gp-death{
  overflow-wrap:var(--aj-text-wrap);
  word-wrap:break-word;
  word-break:normal;
  white-space:normal;
  max-width:100%;
}
/* Contenus provenant des éditeurs riches (communiqués, archives, actualités, réunions, règlement, à-propos...). */
.rich-text *, .prose *, .article-body *, .content-body *, .regulation-content *, .communique-content *, .news-content *, .event-content *, .archive-content *{
  max-width:100%;
  overflow-wrap:anywhere;
  word-wrap:break-word;
}
.rich-text p,.prose p,.article-body p,.content-body p,.regulation-content p,.communique-content p,.news-content p,.event-content p,.archive-content p{
  white-space:normal!important;
}
.rich-text pre,.prose pre,.article-body pre,.content-body pre,.regulation-content pre{
  white-space:pre-wrap!important;
  overflow-wrap:anywhere;
  overflow-x:auto;
}
.rich-text img,.prose img,.article-body img,.content-body img,.regulation-content img{height:auto;max-width:100%!important}
.rich-text table,.prose table,.article-body table,.content-body table,.regulation-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
/* Champs de saisie : aucune saisie ne peut agrandir la page. */
textarea,input[type="text"],input[type="email"],input[type="url"],input[type="tel"],.form-control,[contenteditable="true"]{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-wrap:anywhere;
}
textarea{white-space:pre-wrap;word-break:break-word;resize:vertical}
/* CKEditor / éditeurs WYSIWYG courants */
.ck-editor,.ck-editor__main,.ck-editor__editable,.django-ckeditor-widget,.cke,.cke_inner,.cke_contents{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.ck-content,.ck-editor__editable,.cke_editable{overflow-wrap:anywhere!important;word-wrap:break-word!important;white-space:normal!important}
/* Liens et chaînes longues (URL, références) */
a,code,samp{overflow-wrap:anywhere;word-break:break-word}
/* Les flex/grid enfants ne doivent jamais forcer un débordement horizontal. */
.grid>*,[class*="grid"]>*,[class*="row"]>*,.card>*{min-width:0}
@media(max-width:760px){
  .rich-text,.prose,.article-body,.content-body,.regulation-content,.communique-content,.news-content,.event-content,.archive-content{font-size:.96rem;line-height:1.65}
  .card,.panel{max-width:100%;overflow:hidden}
}

/* V18.19.3.8 — entêtes compacts demandés */
.gp-hero{padding-top:22px!important;padding-bottom:19px!important}.gp-hero h1{font-size:clamp(1.75rem,4vw,3rem)!important}.gp-globe{width:42px;height:42px;font-size:23px}.journal-head{padding-top:2px!important;padding-bottom:2px!important}.journal-head .journal-title{font-size:clamp(18px,1.8vw,24px)!important;margin:0!important}.journal-head .journal-sub{font-size:10px!important}
