:root{--b:#0284c7;--bd:#0369a1;--bg:#f6f8fb;--card:#fff;--line:#e3e8ef;--txt:#1f2937;--mut:#6b7280;
--ok:#15803d;--warn:#b45309;--err:#dc2626;--crit:#991b1b;--info:#0369a1}
*{box-sizing:border-box}body{margin:0;font:15px/1.5 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--txt)}
a{color:var(--bd)}header{background:#0c4a6e;color:#fff;display:flex;align-items:center;gap:18px;padding:8px 22px;flex-wrap:wrap}
header a{color:#e0f2fe;text-decoration:none;font-size:14px}header a:hover{color:#fff}header .brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px;color:#fff}
header .brand img{width:28px;height:28px}header .sp{flex:1}main{max-width:1200px;margin:0 auto;padding:22px}
h1{font-size:24px;margin:0 0 14px}h2{font-size:18px;margin:26px 0 10px}h3{font-size:15px;margin:16px 0 6px}
.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:16px 18px;margin-bottom:16px}
.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:7px 8px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--mut);font-weight:600}
code,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;word-break:break-all}
code.copy{background:#f1f5f9;border:1px solid var(--line);border-radius:4px;padding:1px 5px}
pre{background:#0f172a;color:#e2e8f0;padding:12px;border-radius:8px;overflow:auto;font-size:12.5px;max-height:420px}
.badge{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:600;background:#e5e7eb;color:#374151;white-space:nowrap}
.b-ok,.b-verifie,.b-conforme,.b-applique{background:#dcfce7;color:var(--ok)}.b-avertissement,.b-propose,.b-a_corriger,.b-inconnue,.b-approuve{background:#fef3c7;color:var(--warn)}
.b-erreur,.b-echec,.b-suspecte{background:#fee2e2;color:var(--err)}.b-critique{background:#fecaca;color:var(--crit)}.b-info{background:#e0f2fe;color:var(--info)}
.b-annule,.b-rejete,.b-inactif{background:#e5e7eb;color:#4b5563}
.score{font-size:34px;font-weight:700}.g-A{color:var(--ok)}.g-B{color:#4d7c0f}.g-C{color:var(--warn)}.g-D,.g-F{color:var(--err)}
.btn,button{display:inline-block;background:var(--b);color:#fff;border:0;border-radius:7px;padding:7px 14px;font-size:14px;cursor:pointer;text-decoration:none;font-family:inherit}
.btn:hover,button:hover{background:var(--bd)}.btn.sec,button.sec{background:#fff;color:var(--bd);border:1px solid #bae6fd}.btn.danger,button.danger{background:var(--err)}
form.inline{display:inline}input,select,textarea{font:inherit;padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;max-width:100%}
textarea{width:100%}label{display:block;font-size:13px;color:var(--mut);margin:8px 0 3px}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.mut{color:var(--mut);font-size:13px}
.flash{padding:10px 14px;border-radius:8px;margin-bottom:12px;background:#dcfce7;color:#14532d}.flash.err{background:#fee2e2;color:#7f1d1d}
.bars{display:flex;align-items:flex-end;gap:2px;height:90px}.bars div{flex:1;display:flex;flex-direction:column-reverse}
.bars .p{background:#22c55e}.bars .f{background:#ef4444}
.chat{display:flex;flex-direction:column;gap:10px;max-height:560px;overflow:auto;padding:4px}
.msg{padding:10px 14px;border-radius:10px;max-width:88%}.msg p{margin:0 0 6px}.msg.user{align-self:flex-end;background:#e0f2fe}.msg.assistant{background:#f1f5f9}
.blocked{background:#fee2e2;color:#7f1d1d;border-radius:4px;padding:0 4px;font-size:12px}
.disclaimer{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:8px 12px;font-size:13px;color:#78350f}
.diff-old{color:#b91c1c;text-decoration:line-through}.diff-new{color:#15803d}
.check{margin:2px 0}.check.ok:before{content:"✔ ";color:var(--ok)}.check.no:before{content:"✘ ";color:var(--err)}
.hero{background:linear-gradient(135deg,#0c4a6e,#0284c7);color:#fff;border-radius:14px;padding:30px;margin-bottom:20px}
.hero input:not([type=checkbox]){font-size:18px;padding:10px;width:340px}.hero label input[type=checkbox]{width:18px;height:18px;margin:0 6px 0 0;vertical-align:middle}.stat{font-size:30px;font-weight:700;color:var(--bd)}

header a.on,header .menu.on>.menu-btn{color:#fff;font-weight:600}
header .menu{position:relative}header .menu-btn{background:none;border:0;color:#e0f2fe;font:inherit;font-size:14px;padding:4px 0;cursor:pointer}
header .menu-btn:hover{color:#fff;background:none}header .menu-list{display:none;position:absolute;top:100%;left:-10px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 6px 18px rgba(0,0,0,.15);min-width:200px;padding:6px 0;z-index:20}
header .menu:hover .menu-list,header .menu:focus-within .menu-list,header .menu.open .menu-list{display:block}header .menu-list a{display:block;color:#0f172a;padding:7px 14px;white-space:nowrap}header .menu-list a:hover{background:#f1f5f9;color:#0c4a6e}
.attn{border-left:4px solid #d97706}.attn.crit{border-left-color:#dc2626}.attn ul{margin:4px 0 0 18px;padding:0}.attn li{margin:2px 0}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:middle}.dot.critique{background:#dc2626}.dot.avertissement{background:#d97706}
.steps{counter-reset:s;list-style:none;padding:0}.steps li{counter-increment:s;margin:8px 0}.steps li:before{content:counter(s);display:inline-block;width:24px;height:24px;border-radius:50%;background:#0c4a6e;color:#fff;text-align:center;line-height:24px;margin-right:8px;font-size:13px}
.steps li.done:before{content:"✓";background:#16a34a}
[hidden]{display:none!important}
header .org{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.9}header .org img{height:16px;width:auto}
.sign{border-left:4px solid var(--b)}.sign .org-logo{float:right;height:30px;margin-left:16px}.org-logo{height:36px;width:auto}.printonly{display:none}
@media print{header,.noprint,.flash{display:none!important}.printonly{display:block;margin:0 0 14px auto}body{background:#fff}.card{break-inside:avoid;border-color:#ccc}a{color:inherit}}
footer{max-width:1200px;margin:0 auto;padding:14px 22px 26px;border-top:1px solid var(--line);color:var(--mut);font-size:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}footer a{color:inherit}
.offers .price{font-size:26px;font-weight:700;color:var(--bd)}.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
details.setup>summary{cursor:pointer;list-style:none;display:flex;gap:10px;align-items:center}
details.setup>summary h2{margin:0}
details.setup code.copy{user-select:all;word-break:break-all}
