:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#25282a;background:#f8f7f5;font-size:14px;--green:#ff8300;--muted:#77716b;--line:#e8e3dd;--amber:#ad6919;--red:#b6443c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 15px;color:#343330;font-weight:600;display:inline-flex;gap:8px;align-items:center;justify-content:center}button:hover{background:#fff5ea}button.primary{background:var(--green);border-color:var(--green);color:white}button.primary:hover{background:#ef7900}button.quiet{background:transparent;border-color:transparent}button.danger{color:var(--red)}input,select,textarea{width:100%;border:1px solid #dcd5ce;border-radius:8px;background:white;padding:11px 12px;color:#25282a}textarea{min-height:85px;resize:vertical}label{display:block;font-weight:600;font-size:13px;margin:18px 0 7px}small,.muted{color:var(--muted)}small{line-height:1.6}.layout{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;position:fixed;width:238px;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 9px 30px}.brandmark{width:37px;height:42px;border-radius:10px 10px 10px 2px;background:var(--green);color:#25282a;display:grid;place-items:center;font-size:25px}.brand strong{font-size:17px;letter-spacing:-.5px}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:3px}.nav-caption{font-size:10px;letter-spacing:1.5px;color:#8a847f;padding:17px 14px 10px}.nav-item{width:100%;justify-content:flex-start;margin:3px 0;padding:12px 14px;border:0;background:transparent;font-weight:500;color:#77716b;gap:13px}.nav-item span:first-child{font-size:18px;min-width:20px}.nav-item.active{background:#fff0de;color:var(--green);font-weight:650}.sidebar-bottom{margin-top:auto;padding:15px 10px 0;font-size:12px;border-top:1px solid var(--line)}.pulse{display:inline-block;width:7px;height:7px;background:#5b9466;border-radius:100%;margin-right:7px}.content{grid-column:2;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffff99}.breadcrumb{font-size:12px;color:#807a74}.account{display:flex;gap:13px;align-items:center}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff0de;font-size:11px;font-weight:700}.main{max-width:1580px;margin:auto;padding:37px 40px}.pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a6b4b;font-weight:650;text-transform:uppercase;margin-bottom:10px}h1{font-size:30px;font-weight:600;letter-spacing:-1px;margin:0 0 10px}h2{font-size:17px;font-weight:650;margin:0}h3{font-size:15px;margin:0 0 10px}p{line-height:1.7;margin:9px 0}.subtitle{font-size:13px;color:var(--muted)}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{padding:22px;background:white;border:1px solid var(--line);border-radius:12px;min-height:125px}.stat-label{display:flex;justify-content:space-between;color:#77716b;font-size:12px}.stat-number{font-size:34px;letter-spacing:-1px;margin:10px 0 5px;font-weight:550}.stat small{font-size:11px}.stat-icon{background:#fff1df;padding:6px;border-radius:7px;color:#a45300}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;overflow:hidden}.panel-head{padding:23px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head small{display:block;margin-top:5px;font-size:12px}.toolbar{padding:0 24px 17px;display:flex;gap:12px;align-items:center}.toolbar input{max-width:300px;background:#fbfaf8}.toolbar select{max-width:210px;background:#fbfaf8}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#817970;background:#fbfaf8;padding:14px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-weight:650}td{padding:19px 18px;border-bottom:1px solid #eee9e3;font-size:12px}tr:last-child td{border-bottom:0}td:first-child,th:first-child{padding-left:24px}input[type=checkbox]{width:15px;height:15px;accent-color:var(--green)}.sitename{display:flex;gap:12px;align-items:center}.siteicon{height:36px;width:36px;border-radius:9px;display:grid;place-items:center;background:#fff1df;font-size:15px;color:var(--green)}.sitename strong{display:block;font-size:13px;margin-bottom:5px}.sitename small{display:block;font-size:11px}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:5px;font-size:10px;font-weight:600;background:#fff1df;color:#916133}.badge.green{background:#eaf5eb;color:#327348}.badge.amber{background:#fff3df;color:#a66c25}.badge.red{background:#fcecea;color:#ad4c43}.badge.gray{background:#f0f2ee;color:#827a72}.split{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.panel-body{padding:0 24px 24px}.task{padding:15px 0;display:flex;gap:13px;align-items:flex-start;border-bottom:1px solid #eee9e3}.task:last-child{border:0}.task-symbol{padding:6px 9px;border-radius:7px;background:#f4f1e7;color:#ac8944}.task strong{font-size:12px;font-weight:600}.task p{font-size:12px;color:#77716b;margin:3px 0}.task time{font-size:10px;color:#8c847d;white-space:nowrap;margin-left:auto}.note{border:1px solid #f1d8ba;background:#fff6eb;padding:16px 18px;border-radius:8px;font-size:12px;line-height:1.7}.note.warning{background:#fff8eb;border-color:#f0e0bf;color:#8b632b}.empty{text-align:center;padding:55px 25px;color:#837a70}.empty .empty-symbol{font-size:30px;margin-bottom:15px}.empty h3{color:#343330;font-size:17px}.empty p{max-width:440px;margin:10px auto 20px;font-size:13px}.mini-bars{display:flex;gap:3px;height:27px;align-items:center}.mini-bars i{height:18px;width:5px;border-radius:2px;background:#cfe1d2}.mini-bars i.down{background:#e8b4a7}.panel-foot{padding:12px 24px;background:#fbfaf8;font-size:10px;color:#8b837a;display:flex;justify-content:space-between}dialog{border:1px solid var(--line);border-radius:14px;padding:30px;max-width:650px;width:calc(100% - 32px);max-height:90vh;color:#25282a;box-shadow:0 20px 90px #25282a30}dialog::backdrop{background:#25282a60;backdrop-filter:blur(3px)}dialog.wide{max-width:900px}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.detail-box{border:1px solid var(--line);border-radius:9px;padding:17px}.detail-box small{display:block}.finding{border-top:1px solid var(--line);padding:12px 0}.finding p{font-size:12px}.finding code{font-size:11px;overflow-wrap:anywhere;white-space:normal}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:70px 12%;background:#ff8300;color:#25282a;display:flex;flex-direction:column;justify-content:center}.auth-story h1{font-size:45px;line-height:1.2;max-width:420px;margin:45px 0 20px}.auth-story p{color:#493525;max-width:420px}.auth-story .eyebrow{color:#493525}.auth-form{display:flex;align-items:center;justify-content:center;padding:50px 35px}.auth-card{width:100%;max-width:390px}.auth-card h2{font-size:25px;margin:12px 0}.auth-card form{margin-top:25px}.auth-card button.primary{width:100%;margin-top:25px;padding:13px}.error{color:#a33d34;background:#fff0eb;padding:10px;border-radius:6px;font-size:12px;margin-top:14px}.hidden{display:none!important}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;border-radius:9px;background:#25282a;color:white;padding:13px 22px;z-index:9;box-shadow:0 6px 25px #25282a20;display:none}.loading{padding:80px;text-align:center;color:#6b7e70}.checkbox-line{display:flex;gap:12px;align-items:flex-start;font-weight:400;line-height:1.7}.checkbox-line input{margin-top:5px;flex-shrink:0}.settings-body{max-width:700px;padding:0 24px 25px}.keyline{height:1px;background:var(--line);margin:24px 0}.coverage{font-size:12px;line-height:1.8;color:#77716b}.section-gap{margin-top:25px}.row-link{border:0;padding:0;background:none;font-weight:650;font-size:13px;text-align:left}.row-link:hover{background:none;text-decoration:underline}.count{font-size:11px;background:#fff1df;border-radius:4px;padding:4px 8px;margin-left:8px}.bottom-note{font-size:10px;color:#8b837a;margin:20px 0;text-align:center}.selected-bar{padding:10px 24px;background:#fff0de;display:flex;align-items:center;gap:12px;font-size:12px}.danger-text{color:var(--red)}@media(max-width:1100px){.main{padding:25px}.topbar{padding:0 25px}.layout{grid-template-columns:200px 1fr}.sidebar{width:200px}.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.pagehead{flex-direction:column}.brand strong{font-size:15px}}@media(max-width:700px){.layout{display:block}.sidebar{position:static;width:auto;height:auto;padding:18px}.brand{padding-bottom:15px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.nav-item{width:auto;white-space:nowrap;font-size:11px;padding:9px}.nav-item span:first-child{display:none}.content{display:block}.main{padding:23px 16px}.topbar{height:55px;padding:0 17px}.stats{gap:10px}.stat{padding:16px}.stat-number{font-size:28px}.toolbar{flex-wrap:wrap;padding:0 16px 16px}.toolbar input,.toolbar select{max-width:none}.panel-head{padding:18px 16px}h1{font-size:26px}.auth-layout{display:block}.auth-story{padding:30px}.auth-story h1{font-size:29px;margin:18px 0}.auth-story p{display:none}.auth-form{padding:35px 25px}.field-grid,.detail-grid{grid-template-columns:1fr}dialog{padding:22px}}

/* Identité Cervolant : orange et anthracite issus du logo officiel. */
:root{--brand:#ff8300;--brand-ink:#9a4e00;--ink:#25282a}
a{color:var(--brand-ink)}
button.primary{color:var(--ink);background:var(--brand);border-color:var(--brand)}
button.primary:hover{background:#ed7900;border-color:#ed7900}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #b55a00;outline-offset:3px}
input[type=checkbox]{accent-color:#a95500}
.brand{align-items:flex-start;flex-direction:column;gap:11px;padding-bottom:27px}
.brand-logo{display:block;width:175px;height:auto;max-height:75px;object-fit:contain;object-position:left}
.manager-label{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#77716b;text-transform:uppercase}
.brandmark{background:var(--brand);color:var(--ink);font-size:14px;font-weight:750;letter-spacing:-.5px}
.nav-item.active{background:#fff0de;color:var(--ink);box-shadow:inset 3px 0 0 var(--brand)}
.siteicon{background:#fff1df;color:var(--brand-ink)}
.auth-story{background:var(--brand);color:var(--ink);position:relative;overflow:hidden}
.auth-logo{display:block;width:250px;max-width:90%;height:auto;margin-bottom:30px;position:relative;z-index:1}
.auth-story .eyebrow{color:#493525}
.auth-story h1{position:relative;z-index:1}
.auth-story p{color:#493525;position:relative;z-index:1}
.auth-story .muted{color:#634324}
.auth-story:after{content:'';position:absolute;width:480px;height:480px;border:65px solid #ffffff20;border-radius:50%;left:-280px;bottom:-270px;pointer-events:none}
.stat-icon{color:var(--brand-ink)}
@media(max-width:700px){.brand{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px}.brand-logo{width:150px;max-height:60px}.manager-label{font-size:9px}.auth-logo{width:200px;margin-bottom:18px}}
.update-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 22px}.update-steps>div{background:#fbfaf8;border:1px solid var(--line);padding:18px;border-radius:9px}.update-steps strong{font-size:13px}.update-steps p{font-size:12px;color:var(--muted)}.update-card{border:1px solid var(--line);padding:20px;border-radius:10px;margin:22px 0}.update-card h3{margin-bottom:17px}.check-line{display:flex;align-items:flex-start;gap:10px;font-size:12px}.update-history{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.update-history p{font-size:12px;color:var(--muted)}.update-history small{margin-left:10px}@media(max-width:700px){.update-steps{grid-template-columns:1fr}.update-card{padding:14px}}

.ai-progress{padding:18px 20px;background:#faf9f6;border:1px solid var(--line);border-radius:10px;margin:0 0 16px}.ai-progress.active{background:#fff7ed;border-color:#ffbb76}.ai-progress.failed{background:#fff6f5;border-color:#efc1bb}.ai-progress-heading,.ai-progress-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.ai-progress-heading{font-size:14px;margin-bottom:12px}.ai-progress-heading>span{font-weight:700;color:var(--brand-ink)}.ai-progress progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:10px;border:0;border-radius:20px;overflow:hidden;background:#e9e5df}.ai-progress progress::-webkit-progress-bar{background:#e9e5df;border-radius:20px}.ai-progress progress::-webkit-progress-value{background:#ff8300;border-radius:20px;transition:width .4s ease}.ai-progress progress::-moz-progress-bar{background:#ff8300;border-radius:20px}.ai-progress.failed progress::-webkit-progress-value{background:#bc483c}.ai-progress-meta{font-size:12px;color:var(--muted);margin:10px 0 7px}.ai-progress small{color:var(--muted);font-size:12px}.ai-progress.active .ai-progress-heading strong:before{content:'';display:inline-block;width:8px;height:8px;background:#ff8300;border-radius:50%;margin-right:9px;animation:ai-breathe 1.6s infinite}@keyframes ai-breathe{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.ai-progress.active .ai-progress-heading strong:before{animation:none}.ai-progress progress::-webkit-progress-value{transition:none}}@media(max-width:700px){.ai-progress{padding:14px}.ai-progress-heading,.ai-progress-meta{align-items:flex-start}.ai-progress-heading strong{max-width:80%}}

#ai-key-form small{display:block;margin-top:8px}#ai-key-form button{display:block;margin-top:18px}

.site-tabs{padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--line,#e7e7e7)}
.ai-policy{margin-top:20px}.ai-policy summary{cursor:pointer;font-weight:600;padding:10px 0}.ai-policy form{padding-top:12px}

/* Feedback belongs to the open dialog so the browser top layer cannot hide it. */
dialog #toast{position:sticky;top:0;left:auto;transform:none;max-width:100%;margin:12px 0 18px;background:#eef6ee;border:1px solid #b8d7bd;color:#285f38;box-shadow:0 3px 12px #25282a10;line-height:1.6;overflow-wrap:anywhere}dialog #toast.toast-error{background:#fff3e4;border-color:#e4bb87;color:#754714}
.maintenance-progress{padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:#faf9f6;margin:18px 0}.maintenance-progress.active{background:#fff7ed;border-color:#ffbb76}.maintenance-progress.attention{background:#fff3e4;border-color:#e4bb87}.maintenance-progress h3{margin:0 0 9px}.maintenance-progress p{font-size:13px}.maintenance-progress small{display:block}.maintenance-progress progress{display:block;width:100%;height:9px;margin:12px 0;accent-color:#ff8300}

.repair-summary{padding:24px;border:1px solid #f0ce9b;background:#fff8ee;border-radius:12px;margin:20px 0}.repair-summary h2{font-size:24px}.repair-summary.success{background:#f0f8f0;border-color:#bcd8bf}.repair-summary small{display:block;margin-top:20px;line-height:1.7}.repair-summary progress{display:block;width:100%;accent-color:#ff8300;margin:20px 0}.repair-steps{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.repair-steps span{padding:8px 11px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--muted);font-size:12px}.repair-steps .current{border-color:#ff8300;color:#7f460d;background:#fff0de}.repair-steps .done{color:#327348;background:#eaf5eb}.repair-details{border-top:1px solid var(--line);padding:18px 0}.repair-details summary{cursor:pointer;font-weight:600}.repair-details[open] summary{margin-bottom:18px}.repair-summary.blocked{border-color:#dcaa70}
