/* Adaptation du template fourni : vert, hero gris clair, sections aérées, pied sombre. */
:root{font-family:Arial,Helvetica,sans-serif;--primary-color:#287d39;--primary-hover:#1c612a;--hero-bg-color:#f5f7fa;--main-bg-color:#fff;--primary-text:#263b32;--secondary-text:#52605a;--footer-bg:#1c2a30;--border:#dce4df;--soft-green:#eaf3ec;--error:#a62d32;--amber:#875510;--blue:#345d9d;--radius:10px;color:var(--primary-text);background:#fff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #287d39;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2;text-wrap:balance}h1{font-size:2.8rem;letter-spacing:-.035em}h2{font-size:1.8rem;letter-spacing:-.025em}h3{font-size:1.15rem}p{color:var(--secondary-text);max-width:70ch}p+p{margin-top:12px}img{max-width:100%}[hidden]{display:none!important}.container{width:min(1160px,calc(100% - 64px));margin-inline:auto}.header{background:#fff;border-bottom:1px solid #edf0ed}.header-inner{width:min(1280px,calc(100% - 64px));margin:auto;min-height:88px;display:flex;align-items:center;gap:36px}.logo{display:inline-flex;align-items:center;gap:10px;font-size:1.45rem;font-weight:750;letter-spacing:-.04em;white-space:nowrap}.brand-accent{color:var(--primary-color)}.brand-mark{display:flex;align-items:end;gap:3px;width:26px;height:29px}.brand-mark i{width:6px;border-radius:2px;background:var(--primary-color);height:15px}.brand-mark i:nth-child(2){height:22px}.brand-mark i:nth-child(3){height:29px}.nav{display:flex;gap:27px;align-items:center;margin-left:auto}.nav a{font-size:.93rem;color:#405248;position:relative;padding:29px 0}.nav a:hover,.nav a[aria-current=page]{color:var(--primary-color)}.nav a[aria-current=page]:after{content:"";position:absolute;bottom:18px;left:0;right:0;height:2px;background:var(--primary-color)}.register-btn,.secondary-btn,.text-btn,.danger-btn{border-radius:5px;min-height:44px;padding:11px 21px;border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:.93rem;line-height:1.4;transition:background .18s,transform .18s}.register-btn{color:#fff;background:var(--primary-color)}.register-btn:hover{background:var(--primary-hover)}.register-btn:active,.secondary-btn:active{transform:translateY(1px)}.secondary-btn{border:1px solid #b8cbbd;background:#fff;color:var(--primary-color)}.secondary-btn:hover{background:var(--soft-green)}.text-btn{padding-inline:0;color:var(--primary-color);background:none;text-decoration:underline;text-underline-offset:4px}.danger-btn{background:#faecec;color:var(--error);border:1px solid #e1b7ba}.menu-button{display:none}.mode-strip{background:#edf4ee;color:#35523e;font-size:.8rem;border-bottom:1px solid #d7e6d9}.mode-strip .container{display:flex;gap:12px;align-items:center;min-height:37px;padding-block:7px}.mode-label{font-weight:700;white-space:nowrap}.hero{background:var(--hero-bg-color);padding:62px 0 68px}.hero-inner{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:80px}.hero-content h1 span{display:block;color:var(--primary-color);margin-top:4px}.hero-content>p{margin-top:22px;font-size:1.05rem;line-height:1.8;max-width:48ch}.hero-content .actions{margin-top:29px}.hero-note{font-size:.82rem!important;margin-top:22px!important;color:#5a685f}.election-label{display:inline-flex;align-items:center;gap:9px;font-size:.85rem;color:var(--primary-color);font-weight:600;margin-bottom:18px}.election-label:before{content:"";height:7px;width:7px;border-radius:50%;background:var(--primary-color)}.result-preview{background:#fff;padding:29px 30px;border-radius:var(--radius);box-shadow:0 3px 8px #193d2010}.preview-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:24px}.preview-top h2{font-size:1.1rem;letter-spacing:0}.preview-caption{font-size:.8rem}.preview-bottom{margin-top:25px;padding-top:20px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:.87rem}.section{padding-block:58px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-head p{margin-top:12px}.section-intro{text-align:center;max-width:720px;margin:0 auto 40px}.section-intro p{margin-top:15px}.workflow{display:flex;gap:45px}.workflow article{flex:1;padding-top:22px;border-top:1px solid var(--border)}.step-icon{height:44px;width:44px;border-radius:9px;background:var(--soft-green);display:grid;place-items:center;color:var(--primary-color);margin-bottom:18px}.step-icon svg{height:24px;width:24px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.workflow h3{margin-bottom:12px}.workflow p{font-size:.94rem}.stats{background:var(--hero-bg-color);padding-block:40px}.stats-inner{display:flex;gap:50px;align-items:center;justify-content:space-between}.stats-first{flex:1}.stats-first h2 span{display:block;color:var(--primary-color)}.stats-first p{margin-top:12px;font-size:.9rem}.stats-second{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:25px 50px}.stat strong{display:block;font-size:1.8rem;line-height:1.2;font-variant-numeric:tabular-nums}.stat p{font-size:.85rem;margin-top:5px}.same-section{display:grid;grid-template-columns:.8fr 1fr;gap:75px;align-items:center}.same-section-content p{margin-top:19px}.same-section-content .register-btn{margin-top:23px}.document-mini{background:var(--hero-bg-color);padding:30px;border-radius:var(--radius)}.mini-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #dce4df;font-size:.9rem}.mini-row:last-child{border:0}.greeting{background:var(--hero-bg-color);padding:45px 20px;text-align:center}.greeting h2{margin-bottom:20px}.footer{background:var(--footer-bg);color:#fff;padding:43px 0 18px}.footer-grid{display:grid;grid-template-columns:1.15fr .8fr 1.2fr;gap:55px}.footer .logo{color:#fff}.footer .brand-mark i{background:#82c38a}.footer p,.footer a:not(.logo){color:#d4e0db;font-size:.88rem}.footer p{margin-top:15px}.footer h2{font-size:1rem;margin-bottom:15px;letter-spacing:0}.footer-grid>div>a:not(.logo){display:block;margin-top:8px}.footer a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #40504f;margin-top:35px;padding-top:16px;display:flex;justify-content:space-between;gap:20px;color:#c3d1cb;font-size:.78rem}.page-heading{padding:39px 0 30px;background:var(--hero-bg-color);border-bottom:1px solid var(--border)}.page-heading h1{font-size:2.1rem}.page-heading p{margin-top:12px}.heading-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-body{padding-block:32px 60px;min-height:42vh}.actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.muted{color:var(--secondary-text)}.small{font-size:.87rem}.badge{display:inline-flex;gap:6px;align-items:center;padding:4px 10px;font-size:.78rem;line-height:1.5;border-radius:5px;background:#edf1ef;color:#43554a;font-weight:600;white-space:nowrap}.badge.approved,.badge.match{background:#e8f3ea;color:#256b34}.badge.review,.badge.processing,.badge.uploading{background:#eaf0fa;color:#345d9d}.badge.correction_requested,.badge.mismatch,.badge.unreadable{background:#fcf0dc;color:#80500c}.badge.error{background:#fbecee;color:#9c2d32}.metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:32px;padding:23px 0;border-bottom:1px solid var(--border)}.metric{padding-inline:26px;border-left:1px solid var(--border)}.metric:first-child{padding-left:0;border-left:0}.metric strong{font-size:1.9rem;display:block;line-height:1.3;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.metric span{font-size:.85rem;color:var(--secondary-text);display:block;margin-bottom:6px}.metric small{font-size:.78rem;color:#52605a}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:25px;min-width:0}.panel h2{font-size:1.22rem;margin-bottom:8px;letter-spacing:-.02em}.panel h3{margin-bottom:14px}.two-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.two-columns.equal{grid-template-columns:1fr 1fr}.chart-row+.chart-row{margin-top:23px}.chart-label{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px;font-size:.9rem}.chart-label strong{font-variant-numeric:tabular-nums;font-size:.87rem;white-space:nowrap}.chart-track{height:11px;background:#edf1ef;border-radius:3px;overflow:hidden}.chart-fill{height:100%;min-width:0;border-radius:3px;transition:width .2s ease-out}.color-0{background:#287d39}.color-1{background:#5b74a3}.color-2{background:#bd8134}.chart{margin-top:27px}.chart-note{margin-top:23px!important;font-size:.83rem}.region-list{margin-top:23px}.region-row{padding:13px 0;border-bottom:1px solid var(--border)}.region-row:last-child{border:0}.region-heading{display:flex;justify-content:space-between;gap:15px;font-size:.88rem;margin-bottom:9px}.region-votes{display:flex;gap:7px;flex-wrap:wrap;font-size:.8rem;color:#52605a}.candidate-key{display:inline-block;height:8px;width:8px;border-radius:2px;margin-right:5px}.table-wrap{overflow-x:auto;margin-top:20px}table{border-collapse:collapse;width:100%;text-align:left;font-size:.88rem}th{font-size:.8rem;font-weight:600;color:#52605a;background:#f5f7f6}td,th{padding:13px 14px;border-bottom:1px solid var(--border);vertical-align:middle}td:first-child,th:first-child{padding-left:14px}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}.station-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:22px}.station-tile{padding:16px;border:1px solid var(--border);border-radius:6px}.station-tile strong{font-size:.92rem}.station-tile p{font-size:.8rem;margin-top:4px}.station-tile .badge{margin-top:12px}.toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-block:24px}.toolbar label{font-size:.88rem;font-weight:600}.toolbar select{width:auto;min-width:185px}.notice{padding:15px 18px;background:#f2f6f3;border:1px solid #cddfd1;border-radius:6px;font-size:.9rem;color:#35513e;margin-bottom:24px}.notice.error{background:#fff4f4;border-color:#e3b7b9;color:var(--error)}.notice.warning{background:#fff8ed;border-color:#e9d3ad;color:#80500c}.notice p{color:inherit}.notice strong{display:block;margin-bottom:3px}.empty-state{padding:45px 25px;text-align:center;background:var(--hero-bg-color);border-radius:var(--radius)}.empty-state p{margin:12px auto 20px;max-width:55ch}.empty-state h2{font-size:1.4rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field label{display:block;font-size:.88rem;font-weight:600;margin-bottom:7px}.field small{display:block;margin-top:5px;color:var(--secondary-text);font-size:.8rem}input:not([type=checkbox]),select,textarea{border:1px solid #acbdb0;border-radius:5px;background:#fff;color:var(--primary-text);padding:10px 12px;width:100%;min-height:45px}input[type=file]{padding:13px;background:#f8faf8;font-size:.87rem}input::placeholder,textarea::placeholder{color:#667369;opacity:1}input[aria-invalid=true]{border-color:var(--error);background:#fff8f8}.field-error{color:var(--error)!important}.field-full{grid-column:1/-1}.fieldset{padding:0;margin:26px 0 0;border:0}.fieldset legend{font-size:1rem;font-weight:700;margin-bottom:16px}.form-meta{display:flex;gap:20px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--border);font-size:.9rem}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:25px}.check-lines{font-size:.85rem;display:flex;flex-direction:column;gap:8px;margin-top:18px;color:#52605a}.history-list{padding:0;margin:20px 0 0;list-style:none}.history-list li{padding:15px 0;border-bottom:1px solid var(--border)}.history-list li:last-child{border:0}.history-list p{font-size:.85rem;margin-top:5px}.history-top{display:flex;justify-content:space-between;align-items:start;gap:15px}.submission-details{margin-top:24px}.submission-details summary{cursor:pointer;color:var(--primary-color);font-size:.9rem;font-weight:600}.review-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:start}.document-view{margin-top:20px;background:#f2f4f2;min-height:380px;padding:18px}.document-view iframe,.document-view img{width:100%;height:480px;object-fit:contain;border:0}.mock-document{background:#fff;padding:25px;min-height:370px;font-family:Georgia,serif;color:#242b25;border:1px solid #d6ddd7}.mock-document h3{font-size:1.1rem;text-align:center;margin-bottom:15px}.mock-document p{font-size:.85rem;color:#353e36}.mock-document .document-table{margin:19px 0}.mock-document .document-table div{padding:8px 0;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #dce3dd;font-size:.85rem}.mock-document .stamp{font-family:Arial,sans-serif;font-size:.75rem;text-align:center;margin-top:24px;color:#52605a}.decision-panel{margin-top:22px;padding-top:22px;border-top:1px solid var(--border)}.decision-panel .field{margin-block:18px}.review-list{display:flex;flex-direction:column;gap:12px}.review-item{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--border);border-radius:7px;padding:20px}.review-item h3{font-size:1rem;margin-bottom:6px}.review-item p{font-size:.85rem}.review-item .actions{justify-content:end}.processing-metrics{grid-template-columns:repeat(5,1fr)}.progress-track{height:7px;border-radius:4px;background:#e4ece5;margin-top:9px;overflow:hidden}.progress-fill{height:100%;background:var(--primary-color);border-radius:4px}.user-label{font-size:.8rem;margin-top:8px}.loading-state{min-height:45vh;padding-block:55px;color:#52605a}.loading-state:after{content:"";display:block;background:#edf1ee;margin-top:25px;width:100%;height:150px;border-radius:8px}.skip-link{position:fixed;left:15px;top:-100px;padding:12px;background:#fff;z-index:50;border:2px solid var(--primary-color)}.skip-link:focus{top:12px}dialog{border:0;border-radius:12px;padding:29px;max-width:470px;width:calc(100% - 32px);color:var(--primary-text);box-shadow:0 8px 24px #18382133}dialog::backdrop{background:#172c2466}.dialog-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-heading h2{font-size:1.35rem}.icon-button{background:none;border:0;padding:0 6px;font-size:1.8rem;line-height:1;color:#52605a}.demo-profiles{display:flex;flex-direction:column;gap:12px;margin-top:20px}.profile-button{padding:15px 17px;text-align:left;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--primary-text)}.profile-button:hover{border-color:var(--primary-color);background:#f4f8f4}.profile-button strong{display:block}.profile-button span{display:block;font-size:.83rem;color:var(--secondary-text);margin-top:3px}.login-fields{display:grid;gap:17px;margin-top:20px}.toast{position:fixed;bottom:24px;right:24px;max-width:min(450px,calc(100% - 32px));z-index:40;background:#1c3d2b;color:#fff;border-radius:8px;padding:17px 23px;font-size:.9rem;box-shadow:0 3px 8px #0002}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mb-24{margin-bottom:24px}.mt-24{margin-top:24px}.nowrap{white-space:nowrap}.pending-mark{height:8px;width:8px;display:inline-block;background:#5b74a3;border-radius:50%;margin-right:6px}
main:focus{outline:none}
@media(min-width:1400px){.hero{padding-block:76px 82px}.hero-content h1{font-size:3.15rem}}
@media(max-width:1100px){.header-inner{gap:20px}.nav{gap:18px}.account-button{padding-inline:13px;font-size:.85rem}.hero-inner{gap:35px}.hero-content h1{font-size:2.45rem}.station-grid{grid-template-columns:repeat(3,1fr)}.processing-metrics{grid-template-columns:repeat(3,1fr);gap:22px}.processing-metrics .metric:nth-child(4){border:0;padding-left:0}}
@media(max-width:800px){.header-inner{min-height:74px;flex-wrap:wrap;gap:15px;padding-block:16px}.logo{font-size:1.2rem}.menu-button{display:flex;flex-direction:column;justify-content:center;gap:4px;border:1px solid #c5d4c9;border-radius:5px;background:#fff;padding:9px;min-height:40px;margin-left:auto}.menu-button span{display:block;width:18px;height:2px;background:#35513e}.account-button{min-height:40px}.nav{display:none;order:4;width:100%;margin:0;padding-top:8px;border-top:1px solid var(--border);gap:0;flex-wrap:wrap}.nav.open{display:flex}.nav a{padding:10px 12px}.nav a[aria-current=page]:after{bottom:4px;left:12px;right:12px}.hero-inner{grid-template-columns:1fr;gap:35px}.hero{padding-block:40px}.hero-content h1{font-size:2.5rem}.hero-content>p{max-width:60ch}.result-preview{max-width:580px;width:100%}.workflow{gap:25px;flex-wrap:wrap}.workflow article{min-width:200px}.stats-inner{align-items:start;gap:35px;flex-direction:column}.stats-second{width:100%;grid-template-columns:repeat(4,1fr);gap:20px}.same-section{gap:30px;grid-template-columns:1fr 1fr}.two-columns,.two-columns.equal,.review-layout{grid-template-columns:1fr}.footer-grid{gap:30px;grid-template-columns:1fr 1fr}.footer-grid>div:last-child{grid-column:1/-1}.metric{padding-inline:16px}.metric strong{font-size:1.65rem}.section{padding-block:40px}.page-heading h1{font-size:1.8rem}}
@media(max-width:520px){.container,.header-inner{width:calc(100% - 32px)}.header-inner{gap:10px}.logo{gap:7px;font-size:1.15rem}.brand-mark{transform:scale(.85);transform-origin:left center;width:22px}.account-button{font-size:.78rem;max-width:145px;padding:9px 11px}.hero-content h1{font-size:2.05rem}.hero-content>p{font-size:.95rem}.mode-strip .container{align-items:start;font-size:.73rem;gap:8px}.hero-inner{gap:28px}.result-preview{padding:22px}.preview-top{flex-wrap:wrap}.preview-bottom{font-size:.8rem}.workflow{flex-direction:column;gap:26px}.stats-second{grid-template-columns:repeat(2,1fr);gap:25px}.same-section{grid-template-columns:1fr;gap:28px}.same-section .document-mini{order:2}.footer-grid{grid-template-columns:1fr}.footer-grid>div:last-child{grid-column:auto}.footer-bottom{flex-direction:column;gap:8px}.metrics-row{grid-template-columns:1fr 1fr;gap:22px}.metric{padding:0 15px;border-left:1px solid var(--border)}.metric:nth-child(odd){padding-left:0;border:0}.metric strong{font-size:1.7rem}.metric span{font-size:.8rem}.processing-metrics .metric:nth-child(4){border-left:1px solid var(--border);padding-left:15px}.processing-metrics .metric:nth-child(5){padding-left:0;border:0}.panel{padding:20px}.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.station-grid{grid-template-columns:repeat(2,1fr)}.station-tile{padding:12px}.heading-row,.section-head{align-items:start;flex-direction:column}.page-heading{padding-block:28px}.page-heading h1{font-size:1.7rem}.review-item{flex-direction:column;align-items:start}.review-item .actions{justify-content:start}.document-view{padding:10px}.mock-document{padding:18px}.toolbar{align-items:start;flex-direction:column}.toolbar select{width:100%}.toolbar label{width:100%}.chart-label{font-size:.85rem}.chart-label strong{font-size:.8rem}.form-actions .register-btn{width:100%}.toast{bottom:16px;right:16px}td,th{padding:11px;font-size:.82rem}.preview-top h2{font-size:1rem}.section-head h2{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
