/* SPDX-License-Identifier: EUPL-1.2 */
.help-open{display:flex;align-items:center;gap:8px;width:100%;margin:8px 0 12px;padding:8px 10px;text-align:left;color:#1b5e20;border-color:#d7e2cd;background:#f1f6ec;font-weight:600}
.help-open span{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-weight:700}
.help-modal{width:min(840px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d7e2cd;border-radius:12px;background:#fff;color:#263323;box-shadow:0 16px 60px #14251140;overflow:hidden;font-size:15px;line-height:1.6}
.help-modal[open]{display:flex;flex-direction:column}
.help-modal::backdrop{background:#14251199}
.help-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 28px 16px;background:#f1f6ec}
.help-role{margin:0 0 2px;color:#44523f;font-size:13px;font-weight:600}
.help-modal h2{margin:0;color:#1b5e20;font-size:25px;line-height:1.2;text-transform:none;letter-spacing:0}
#helpClose{flex:none;padding:7px 12px;border-color:#b9cbb1;color:#1b5e20;font-size:13px}
#helpClose span{margin-left:8px;font-size:20px;line-height:1;vertical-align:-1px}
.help-tabs{display:flex;gap:4px;padding:10px 20px 0;border-bottom:1px solid #d7e2cd;flex-shrink:0;overflow-x:auto}
.help-tabs button{flex:0 0 auto;border:0;border-bottom:3px solid transparent;border-radius:4px 4px 0 0;padding:9px 12px;color:#44523f;font-size:14px;white-space:nowrap}
.help-tabs button[aria-selected=true]{border-bottom-color:#1b5e20;color:#1b5e20;font-weight:700;background:#f1f6ec}
.help-content{overflow-y:auto;overscroll-behavior:contain;padding:24px 28px 28px;min-height:0}
.help-panel{border:0;padding:0;max-width:74ch;margin:0 auto}
.help-panel h3{margin:0 0 12px;color:#1b5e20;font-size:21px;line-height:1.3}
.help-panel h4{margin:22px 0 8px;font-size:16px;color:#1b5e20}
.help-panel p{margin:10px 0}
.help-panel ol,.help-panel ul{padding-left:24px;margin:12px 0}
.help-panel li{padding-left:3px;margin:9px 0}
.help-steps li{margin:14px 0}
.help-panel .help-note{border-left:3px solid #2e7d32;background:#f1f6ec;padding:12px 16px;margin:18px 0}
.help-definitions{margin:12px 0}
.help-definitions>div{display:grid;grid-template-columns:155px 1fr;gap:14px;padding:11px 0;border-bottom:1px solid #e3e8e1}
.help-definitions dt{font-weight:700;color:#1b5e20}
.help-definitions dd{margin:0}
.help-panel .help-legend{list-style:none;padding-left:0}
.help-legend i{display:inline-block;width:14px;height:14px;vertical-align:-1px;margin-right:8px;border:1px solid #0003;border-radius:3px}
.help-legend .st-produite{background:#7cb580}.help-legend .st-en_cours{background:#fbc02d}.help-legend .st-a_produire{background:#ddd}.help-legend .st-erreur{background:#c62828}
.help-modal :focus-visible,.help-open:focus-visible{outline:3px solid #1565c0;outline-offset:3px}
@media(max-width:560px){.help-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);font-size:14px}.help-header{padding:18px 16px 14px}.help-content{padding:18px 16px 22px}.help-tabs{padding-left:8px;padding-right:8px}.help-tabs button{padding:8px 10px}.help-definitions>div{grid-template-columns:1fr;gap:3px}.help-modal h2{font-size:23px}}
