/* SELACV Sécurité V8.15.0 — fenêtre de ronde large et responsive + liste de vérifications SSIAP */
html:not(#_k1):not(#_k2):not(#_k3) .round-modal .round-dialog.rck-wide{width:min(96vw,1180px)!important;max-height:calc(100dvh - 24px)!important}
.round-modal{padding:12px!important}
@media(min-width:980px){
html:not(#_k1):not(#_k2):not(#_k3) .round-dialog.rck-wide .round-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html:not(#_k1):not(#_k2):not(#_k3) .round-dialog.rck-wide .round-done-fields:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
html:not(#_k1):not(#_k2):not(#_k3) .round-dialog.rck-wide .round-form-foot{position:sticky;bottom:-20px;z-index:2;margin:0 -20px -20px;padding:12px 20px!important;border-top:1px solid #e5e7eb;background:#fff}
html:not(#_k1):not(#_k2):not(#_k3) .round-dialog.rck-wide .round-message{max-width:70ch;line-height:1.35}

html:not(#_k1):not(#_k2):not(#_k3) .rck{grid-column:1/-1;display:grid;gap:12px;padding:16px;border:1px solid #c7d7ea;border-radius:14px;background:#f6f9fd;text-transform:none}
html:not(#_k1):not(#_k2):not(#_k3) .rck-loading{margin:0;color:#64748b}
html:not(#_k1):not(#_k2):not(#_k3) .rck-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
html:not(#_k1):not(#_k2):not(#_k3) .rck-head h4{margin:0 0 4px;color:#173c65;font-size:16px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-head p{margin:0;max-width:72ch;color:#52657c;font-size:12px;line-height:1.45}
html:not(#_k1):not(#_k2):not(#_k3) .rck-progress{display:grid;gap:4px;min-width:210px;text-align:right}
html:not(#_k1):not(#_k2):not(#_k3) .rck-progress b{color:#173c65;font-size:20px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-progress span{color:#64748b;font-size:11px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-progress i{display:block;height:8px;border-radius:99px;background:#dbe5f1;overflow:hidden}
html:not(#_k1):not(#_k2):not(#_k3) .rck-progress .rck-bar{display:block;height:100%;width:0;border-radius:99px;background:#16a34a;transition:width .25s}
html:not(#_k1):not(#_k2):not(#_k3) .rck-oblig{color:#b45309;font-size:11px;font-weight:800}
html:not(#_k1):not(#_k2):not(#_k3) .rck-oblig.is-ok{color:#15803d}
html:not(#_k1):not(#_k2):not(#_k3) .rck-config{margin:0;padding:9px 12px;border:1px dashed #b7c8dd;border-radius:10px;color:#52657c;font-size:12px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-config button,html:not(#_k1):not(#_k2):not(#_k3) .rck-allok{border:1px solid #b7c8dd;border-radius:99px;padding:5px 11px;background:#fff;color:#173c65;font:inherit;font-size:12px!important;font-weight:800;line-height:1.2;cursor:pointer}
html:not(#_k1):not(#_k2):not(#_k3) .rck-allok:hover,html:not(#_k1):not(#_k2):not(#_k3) .rck-config button:hover{background:#eaf2fb}
html:not(#_k1):not(#_k2):not(#_k3) .rck-section{border:1px solid #dce5f0;border-radius:12px;background:#fff;overflow:hidden}
html:not(#_k1):not(#_k2):not(#_k3) .rck-section.has-anomaly{border-color:#f59e0b}
html:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary{display:flex;align-items:center;gap:10px;padding:11px 14px;cursor:pointer;list-style:none;background:#f8fbff}
html:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary::-webkit-details-marker{display:none}
html:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary::before{content:"";width:8px;height:8px;border-right:2px solid #64748b;border-bottom:2px solid #64748b;transform:rotate(-45deg);transition:transform .15s}
html:not(#_k1):not(#_k2):not(#_k3) .rck-section[open]>summary::before{transform:rotate(45deg)}
html:not(#_k1):not(#_k2):not(#_k3) .rck-sico{font-size:18px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary b{flex:1;color:#173c65;font-size:14px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-scount{color:#64748b;font-size:12px;font-style:normal;font-weight:800}
html:not(#_k1):not(#_k2):not(#_k3) .rck-point{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:10px 14px;border-top:1px solid #edf2f7}
html:not(#_k1):not(#_k2):not(#_k3) .rck-point[data-v="A"]{background:#fffbeb}
html:not(#_k1):not(#_k2):not(#_k3) .rck-point.rck-error{background:#fef2f2;box-shadow:inset 4px 0 0 #dc2626}
html:not(#_k1):not(#_k2):not(#_k3) .rck-label b{display:block;color:#1e293b;font-size:13px;font-weight:700;line-height:1.35}
html:not(#_k1):not(#_k2):not(#_k3) .rck-label small{display:block;margin-top:2px;color:#64748b;font-size:11.5px;line-height:1.35}
html:not(#_k1):not(#_k2):not(#_k3) .rck-req{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:99px;background:#e0e7ff;color:#3730a3;font-size:10px;font-weight:800;vertical-align:1px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choices{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:6px 11px;border:1.5px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font:inherit;font-size:12.5px!important;font-weight:800;line-height:1.2;cursor:pointer}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice:hover{border-color:#94a3b8}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice:focus-visible{outline:3px solid #93c5fd;outline-offset:1px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-C.is-on{border-color:#16a34a;background:#dcfce7;color:#14532d}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-A.is-on{border-color:#d97706;background:#fef3c7;color:#78350f}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-N.is-on{border-color:#6366f1;background:#e0e7ff;color:#312e81}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-S.is-on{border-color:#64748b;background:#f1f5f9;color:#334155}
html:not(#_k1):not(#_k2):not(#_k3) .rck-extra{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-extra[hidden]{display:none}
html:not(#_k1):not(#_k2):not(#_k3) .round-form .rck-extra label{gap:4px;color:#475569;font-size:11px;font-weight:800;text-transform:none}
html:not(#_k1):not(#_k2):not(#_k3) .round-form .rck-extra textarea{min-height:58px}
html:not(#_k1):not(#_k2):not(#_k3) .round-form .rck-extra input,html:not(#_k1):not(#_k2):not(#_k3) .round-form .rck-extra textarea{padding:8px 10px;font-size:13px}
@media(max-width:720px){
html:not(#_k1):not(#_k2):not(#_k3) .rck{padding:12px}
html:not(#_k1):not(#_k2):not(#_k3) .rck-head{flex-direction:column}
html:not(#_k1):not(#_k2):not(#_k3) .rck-progress{min-width:0;width:100%;text-align:left}
html:not(#_k1):not(#_k2):not(#_k3) .rck-point{grid-template-columns:1fr}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choices{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch}
html:not(#_k1):not(#_k2):not(#_k3) .rck-choice{justify-content:center}
html:not(#_k1):not(#_k2):not(#_k3) .rck-allok{padding:4px 8px}
}
@media(max-width:720px){
  html:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary{flex-wrap:wrap;padding:10px 12px}
  html:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary b{flex:1 1 calc(100% - 60px)}
  html:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary .rck-allok{margin-left:auto}
  html:not(#_k1):not(#_k2):not(#_k3) .rck-point{padding:10px 12px}
  html:not(#_k1) .round-dialog.rck-wide .round-form-foot{flex-direction:row!important;flex-wrap:wrap;gap:8px;padding:10px 14px!important;margin:0 -20px -20px}
  html:not(#_k1) .round-dialog.rck-wide .round-form-foot>div{display:flex;gap:8px;width:100%}
  html:not(#_k1) .round-dialog.rck-wide .round-form-foot>div .btn{flex:1;padding:10px 8px}
  html:not(#_k1) .round-dialog.rck-wide .round-message:empty{display:none}
}
/* Thème sombre */
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck{border-color:#50333a;background:#1d1417}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-head h4,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-progress b,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary b{color:#bcd4f0}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-head p,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-label small,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-progress span,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-scount,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-config{color:#b9a9ad}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-section{border-color:#482e35;background:#161012}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-section>summary{background:#21171a}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-point{border-top-color:#2f2125}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-label b{color:#eadfe1}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-point[data-v="A"]{background:#2b2010}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-point.rck-error{background:#3a1416}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-choice,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-allok,html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-config button{border-color:#5a3d44;background:#161012;color:#e4d5d8}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-C.is-on{border-color:#22c55e;background:#123320;color:#bbf7d0}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-A.is-on{border-color:#f59e0b;background:#3a2a0b;color:#fde68a}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-N.is-on{border-color:#818cf8;background:#1e1b4b;color:#c7d2fe}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-choice.rck-S.is-on{border-color:#94a3b8;background:#1f2937;color:#e2e8f0}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-progress i{background:#3a2a2e}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .rck-req{background:#2e2a5a;color:#c7d2fe}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .round-dialog.rck-wide .round-form-foot{border-top-color:#482e35;background:#161012}
html[data-theme="dark"]:not(#_k1):not(#_k2):not(#_k3) .round-form .rck-extra label{color:#c2cad6!important}
@media(prefers-reduced-motion:reduce){.rck-progress .rck-bar,.rck-section>summary::before{transition:none}}
/* Fiche de la ronde : vérifications */
html:not(#_r1):not(#_r2):not(#_r3):not(#_r4) #rondesView .rdv-ckres{display:inline-flex;width:max-content;max-width:100%;margin:6px 0 0 6px;padding:3px 10px;border-radius:999px;background:#ecfdf3;color:#166534;font-size:.76rem;font-weight:800}
.rdv-checks .rdv-ck-chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}
.rdv-ck{padding:3px 10px;border-radius:99px;background:#f1f5f9;color:#334155;font-size:12px;font-weight:800}
.rdv-ck.rdv-ck-A{background:#fef3c7;color:#78350f}.rdv-ck.rdv-ck-N{background:#e0e7ff;color:#312e81}.rdv-ck.rdv-ck-C{background:#dcfce7;color:#14532d}.rdv-ck.rdv-ck-E{background:#fee2e2;color:#991b1b}
.rdv-ck-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.rdv-ck-list li{display:grid;grid-template-columns:22px 1fr;gap:6px;padding:7px 9px;border-radius:9px;background:#f8fafc}
.rdv-ck-list li.rdv-ck-A{background:#fffbeb}.rdv-ck-list li.rdv-ck-N{background:#eef2ff}
.rdv-ck-list b{font-size:13px}.rdv-ck-list p{margin:2px 0 0;font-size:12.5px}.rdv-ck-list small{color:#64748b}
.rdv-checks details{margin-top:10px}.rdv-checks summary{cursor:pointer;font-weight:800;color:#1d4ed8}
.rdv-checks h5{margin:12px 0 6px;color:#173c65;font-size:13px}
html[data-theme="dark"] .rdv-ck-list li{background:#21171a}html[data-theme="dark"] .rdv-ck-list li.rdv-ck-A{background:#2b2010}html[data-theme="dark"] .rdv-ck-list li.rdv-ck-N{background:#1e1b4b}
html[data-theme="dark"] .rdv-checks h5{color:#bcd4f0}
