/* Préfixe gh- : l’aide reste indépendante des styles métier. */
.gh-launch{position:fixed;right:24px;bottom:22px;z-index:900;display:flex;align-items:center;gap:10px;padding:13px 17px;border:1px solid #fff6;border-radius:100px;background:#173f3b;color:#fff;box-shadow:0 5px 24px #123c3430;font:600 13px/1.4 system-ui,sans-serif;cursor:pointer;transition:transform .18s,box-shadow .18s}.gh-launch:hover{transform:translateY(-2px);box-shadow:0 8px 26px #123c3440}.gh-launch svg{width:21px;height:21px}.gh-launch kbd{border:1px solid #ffffff50;background:#ffffff15;border-radius:5px;padding:0 5px;font:12px/1.5 system-ui}.gh-panel{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;width:490px;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid #e3e8e4;border-radius:24px 0 0 24px;background:#f9faf7;color:#203b35;box-shadow:-15px 0 70px #132a3320;font:14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;overflow:hidden}.gh-panel[open]{display:flex;flex-direction:column;animation:gh-enter .22s ease-out}.gh-panel::backdrop{background:#152f3b50;backdrop-filter:blur(3px)}.gh-panel *{box-sizing:border-box}.gh-panel h2,.gh-panel h3,.gh-panel p{margin:0;letter-spacing:normal}.gh-panel button{font-family:inherit;cursor:pointer;letter-spacing:normal;text-transform:none}.gh-panel button:focus-visible,.gh-panel input:focus-visible,.gh-launch:focus-visible,.gh-context:focus-visible{outline:3px solid #ce6c28;outline-offset:4px}.gh-head{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;padding:28px 26px 23px;background:#fff;border-bottom:1px solid #e3e8e4;flex:none}.gh-eyebrow{display:block;color:#487369;font-size:10px;font-weight:750;letter-spacing:1.8px!important;margin-bottom:10px!important}.gh-head h2{font-size:24px;line-height:1.23;font-weight:680;color:#183b34}.gh-head p{margin-top:10px;color:#73817a;font-size:12px}.gh-panel .gh-close{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #e3e8e4;border-radius:50%;background:#fff;color:#51625c;font:24px/1 system-ui}.gh-body{padding:22px 26px;overflow:auto;flex:1;overscroll-behavior:contain;scrollbar-width:thin}.gh-search{position:sticky;top:-22px;z-index:1;background:#f9faf7;padding:0 0 15px}.gh-search input{width:100%;min-height:48px;padding:12px 14px;background:white;border:1px solid #cfdad3;border-radius:12px;box-shadow:0 2px 4px #183b3404;color:#183b34;font:13px/1.5 inherit}.gh-search input::placeholder{color:#77857f}.gh-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:21px}.gh-panel .gh-chip{padding:6px 11px;border:1px solid #e0e6e0;border-radius:100px;background:#fff;color:#5d7067;font-size:11px;font-weight:600;line-height:1.4;min-height:30px}.gh-panel .gh-chip[aria-pressed=true]{background:#173f3b;color:white;border-color:#173f3b}.gh-intro{display:flex;gap:12px;align-items:center;background:#edf2e8;padding:14px 16px;border:1px solid #dfe9d9;border-radius:12px;color:#53654d;font-size:12px;line-height:1.6;margin-bottom:23px}.gh-spark{font-size:25px;color:#8b9d65}.gh-count{color:#7a8980;font-size:11px;margin-bottom:12px!important}.gh-list{display:grid;gap:12px}.gh-panel .gh-card{display:block;text-align:left;width:100%;padding:19px 20px;border:1px solid #dde5dc;border-radius:15px;background:white;box-shadow:0 2px 3px #163c3403;transition:border-color .15s,transform .15s}.gh-panel .gh-card:hover{border-color:#749f91;transform:translateY(-2px)}.gh-card-meta{display:flex;justify-content:space-between;gap:12px;color:#758779;font-size:10px;margin-bottom:9px}.gh-card-meta span:first-child{font-weight:700;color:#3c7668}.gh-card h3{font-size:16px;line-height:1.35;font-weight:650;color:#203e35}.gh-card p{font-size:12px;line-height:1.6;color:#6f7f74;margin-top:7px}.gh-card-link{display:block;color:#a14b13;font-size:11px;font-weight:700;margin-top:13px}.gh-foot{padding:15px 26px;background:#fff;border-top:1px solid #e3e8e4;display:flex;flex-direction:column;gap:5px;font-size:10px;color:#839086;flex:none}.gh-foot kbd{font:10px system-ui;color:#89978f}.gh-panel .gh-back{display:block;padding:0;background:none;border:0;color:#52776b;font-size:12px;margin:0 0 20px;line-height:1.5}.gh-description{font-size:15px;color:#687e70;line-height:1.7;margin-bottom:24px!important}.gh-steps{list-style:none;margin:0;padding:0}.gh-steps li{display:flex;gap:15px;padding-bottom:25px;position:relative}.gh-steps li:not(:last-child):before{content:'';position:absolute;top:34px;bottom:6px;left:15px;width:1px;background:#d7e3d9}.gh-number{flex:none;display:grid;place-items:center;width:32px;height:32px;border:1px solid #d9e7dc;border-radius:50%;color:#3f7563;background:#eef4ec;font-size:12px;font-weight:700}.gh-steps h3,.gh-live h3{font-size:16px;font-weight:650;line-height:1.4;margin:2px 0 8px}.gh-steps p,.gh-live p{font-size:13px;line-height:1.8;color:#63766a}.gh-tip{background:#fff5e8;border:1px solid #f0dfc4;border-radius:12px;padding:16px 18px;margin:0 0 24px}.gh-tip strong{font-size:12px;color:#96531c}.gh-tip p{font-size:12px;color:#806746;margin-top:6px;line-height:1.8}.gh-panel .gh-primary,.gh-panel .gh-secondary{border:1px solid transparent;border-radius:10px;padding:12px 17px;font-size:12px;font-weight:650;line-height:1.5;min-height:43px}.gh-panel .gh-primary{background:#194e41;color:white}.gh-panel .gh-primary:hover{background:#123b31}.gh-panel .gh-secondary{background:white;border-color:#dce5db;color:#496455}.gh-panel .gh-secondary:disabled{opacity:.35;cursor:default}.gh-small{font-size:11px;color:#7e8b81;line-height:1.7;margin-top:12px!important}.gh-tour.gh-panel{inset:auto 22px 22px auto;width:390px;height:auto;max-height:85dvh;border:1px solid #dce6dc;border-radius:20px}.gh-tour.gh-panel::backdrop{background:#1a33282b;backdrop-filter:none}.gh-tour .gh-head{padding:21px 23px 18px}.gh-tour .gh-head h2{font-size:19px}.gh-tour .gh-body{padding:20px 23px}.gh-progress{height:4px;background:#e2eadf;border-radius:5px;overflow:hidden;margin:0 0 24px}.gh-progress span{display:block;height:100%;background:#458b6c;transition:width .18s}.gh-tour-nav{display:flex;justify-content:space-between;gap:12px;margin:23px 0 16px}.gh-tour .gh-back{margin:0}.gh-highlight{outline:4px solid #328864!important;outline-offset:6px!important;box-shadow:0 0 0 10px #5cbd861f!important}.gh-context{display:inline-flex;align-items:center;gap:6px;width:fit-content;margin:10px 25px 0;padding:5px 10px;background:#edf5ee;border:1px solid #d8e8db;border-radius:7px;color:#35735b;font:600 11px/1.6 system-ui;cursor:pointer}.gh-context svg{width:15px;height:15px;flex:none}@keyframes gh-enter{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}@media(max-width:600px){.gh-launch{bottom:14px;right:14px;padding:11px 14px}.gh-launch kbd{display:none}.gh-panel{width:100%;border-radius:20px 20px 0 0;inset:5dvh 0 0;height:95dvh}.gh-head{padding:23px 20px 18px}.gh-head h2{font-size:23px}.gh-body{padding:20px}.gh-tour.gh-panel{inset:auto 10px 10px;width:calc(100% - 20px);max-height:65dvh}.gh-foot{padding:13px 20px}.gh-context{margin-left:20px}}@media(prefers-reduced-motion:reduce){.gh-panel[open],.gh-launch,.gh-card,.gh-progress span{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{.gh-launch,.gh-panel,.gh-context{display:none!important}}

.gh-embedded .gh-launch{display:none}.gh-panel h2:focus,.gh-panel h3:focus{outline:none}.gh-search input{font-family:inherit;font-size:13px;line-height:1.5}

/* Le guide reste utilisable au-dessus des formulaires, sans bloquer la saisie. */
.gh-panel:popover-open{display:flex;flex-direction:column}
body:has(.gh-tour[open]) .gh-launch{display:none}
.gh-tour.gh-panel{z-index:10000;max-height:60dvh;max-width:calc(100vw - 24px)}
.gh-tour.gh-panel::backdrop{background:transparent;backdrop-filter:none;pointer-events:none}
.gh-tour.gh-minimized .gh-live,.gh-tour.gh-minimized .gh-progress,.gh-tour.gh-minimized .gh-target-status{display:none}
.gh-tour.gh-minimized .gh-head{padding:12px 18px}.gh-tour.gh-minimized .gh-body{padding:10px 18px}
.gh-tour.gh-minimized .gh-tour-nav{margin:5px 0}
@media(max-width:600px){.gh-tour.gh-panel{max-height:44dvh}.gh-tour .gh-head{padding:12px 16px}.gh-tour .gh-body{padding:12px 16px}}
