:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#283d35;background:#f7f8f4}*{box-sizing:border-box}body{margin:0}.shell{max-width:1140px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}header small{font-size:11px;letter-spacing:.17em;color:#849388;font-weight:700}h1{margin:5px 0;font-size:clamp(26px,5vw,39px);letter-spacing:-.05em}h1 span{color:#d3916f}h2{font-size:20px;margin:0 0 16px}h3{grid-column:1/-1;margin:18px 0 0;font-size:16px}.panel{background:#fff;border:1px solid #e8eee7;border-radius:19px;padding:24px;margin:16px 0;box-shadow:0 6px 25px #263b3010}.login{max-width:450px;margin:70px auto}.tabs{display:flex;gap:8px;overflow:auto;padding-bottom:8px}.tabs button{white-space:nowrap;background:#edf2ec;color:#42614e}.tabs button.active{background:#416a52;color:white}button{border:0;border-radius:10px;padding:12px 17px;background:#416a52;color:#fff;cursor:pointer;font-weight:700}button:hover{filter:brightness(.94)}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{display:block;width:100%;padding:11px;border:1px solid #d9e3da;border-radius:9px;background:#fff;color:#243e30;margin-top:7px;font:inherit}label{font-size:13px;font-weight:650;display:block;margin:12px 0}textarea{min-height:90px}.muted{font-size:12px;color:#7e8d82;line-height:1.5}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;border-top:1px solid #eef1ed;margin-top:20px}.form-grid .full{grid-column:1/-1}.form-grid button{grid-column:1/-1;justify-self:start}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{background:white;border:1px solid #e8eee7;padding:20px;border-radius:14px}.stat strong{display:block;font-size:28px;margin-top:8px}.stat span{font-size:12px;color:#7e8d82}.item{border-bottom:1px solid #edf1ed;padding:12px 0}.item strong{display:block}.item small{color:#78877b}.tag{display:inline-block;background:#f1eee6;padding:4px 8px;border-radius:6px;font-size:11px;margin:5px 4px 0 0}.actions{display:flex;gap:10px;margin:14px 0}#map{height:420px;border-radius:12px;background:#eaf0e8}#notice{min-height:24px;font-size:13px;color:#416a52}#account{font-size:13px;text-align:right}#account button{margin-top:6px;padding:7px 12px;background:#e9eee9;color:#416a52}@media(max-width:700px){.shell{padding:13px}.panel{padding:16px}.stats{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.form-grid h3,.form-grid .full,.form-grid button{grid-column:1}#map{height:330px}header{align-items:flex-start}}

.admin-title{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.admin-layout{display:grid;grid-template-columns:minmax(210px,280px) minmax(0,1fr);gap:24px}.admin-layout aside{border-right:1px solid #e1e7df;padding-right:16px}.agency-choice{display:block;width:100%;margin:8px 0;text-align:left;background:#f5f8f4;color:#263d30;border:1px solid #dae5d8;border-radius:10px;padding:12px}.agency-choice small{display:block;margin-top:4px;opacity:.7}.agency-choice.selected{border:2px solid #398057}.city-pill{display:inline-block;padding:6px 12px;border-radius:20px;background:#e9f3e8;margin:4px}.inline-form{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.inline-form input{flex:1;min-width:150px}.user-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.checkline{display:flex;gap:10px;align-items:center}.checkline input{width:auto}.full{grid-column:1/-1}@media(max-width:700px){.admin-layout{grid-template-columns:1fr}.admin-layout aside{border-right:0;border-bottom:1px solid #e1e7df;padding:0 0 12px}}
.filterbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:18px}.filterbar label{flex:1;min-width:125px}.filterbar button{align-self:end}

/* V4.2 - identité visuelle officielle et espace national */
:root{color:#41265f;background:#faf9fc}body{background:linear-gradient(135deg,#faf9fc,#f3eef8)}.shell{max-width:1500px;padding:22px 30px}header{background:#fff;border-radius:18px;padding:15px 25px;box-shadow:0 6px 30px #4e2c7410}.brand{display:flex;align-items:center;gap:25px}.brand img{width:205px;height:85px;object-fit:contain;object-position:left center}.brand h1{font-size:30px;color:#542879}.brand h1 span{color:#9870b7}.brand small{color:#89749c;letter-spacing:.05em}.tabs{padding:12px 0}.tabs button{background:#f0eaf7;color:#572c7d}.tabs button.active,button{background:#63378b;color:white}.panel,.stat{border-color:#e9e0f1;box-shadow:0 8px 28px #4d286e0d}.stat strong,h2,h3{color:#542879}.stat span,.muted,.item small{color:#877597}.agency-choice{background:#fbf9fd;color:#542879;border-color:#e4d8ed}.agency-choice.selected{border-color:#8150a9}.city-pill{background:#f0e7f7}.tag{background:#f1e9f8}.filterbar{background:#f9f6fc;padding:15px;border-radius:12px}input,select,textarea{border-color:#ded2e9;color:#402454}#notice{color:#63378b}#account button{background:#f0eaf7;color:#63378b}[hidden]{display:none!important}@media(max-width:700px){.shell{padding:10px}header{padding:12px}.brand{gap:10px;flex-wrap:wrap}.brand img{width:145px;height:55px}.brand h1{font-size:22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
