/* DG Simulateur 1.8.1 — interface volontairement sobre et rapide. */
.dgsb-simple{--dg:#bd1629;--line:#e6e7eb;--ink:#20242a;--mute:#606b77;color:var(--ink);font:400 15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-sizing:border-box;max-width:1080px;margin:16px auto 32px;padding:0 12px}
.dgsb-simple *{box-sizing:border-box}
.dgsb-simple h2,.dgsb-simple h3,.dgsb-simple p{margin:0}
.dgsb-simple-hero{background:linear-gradient(115deg,#181b20,#252a31 74%,#621420);padding:30px 35px;border-radius:19px;color:#fff}
.dgsb-simple-hero span{font-size:11px;font-weight:750;letter-spacing:.13em;color:#ffccd3}
.dgsb-simple-hero h2{font-size:clamp(24px,3.5vw,35px);line-height:1.2;letter-spacing:-.035em;color:#fff;margin:9px 0!important;font-weight:800}
.dgsb-simple-hero p{font-size:15px;color:#e0e4eb}
.dgsb-simple-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin-top:18px;align-items:stretch}
.dgsb-simple-form,.dgsb-simple-result{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 6px 22px #191f2608}
.dgsb-simple-result{border-top:4px solid var(--dg);padding-top:21px}
.dgsb-simple-section-title{display:flex;gap:10px;align-items:center;margin-bottom:21px}
.dgsb-simple-section-title span{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#ffedf0;color:#b61529;font-size:14px;font-weight:850;flex-shrink:0}
.dgsb-simple-section-title h3{font-size:19px;color:var(--ink);line-height:1.2;font-weight:800}
.dgsb-simple label{display:block;color:#3b4450;font-size:13px;font-weight:750;margin-bottom:7px}
.dgsb-simple select,.dgsb-simple input[type=number]{font:inherit;color:#20242a;background:#fff;border:1px solid #cfd6de;border-radius:10px;width:100%;height:46px;padding:8px 11px;min-width:0;outline-offset:2px}
.dgsb-simple select:focus-visible,.dgsb-simple input:focus-visible,.dgsb-simple .dgsb-button:focus-visible{outline:3px solid #bd16294a;border-color:var(--dg)}
.dgsb-simple-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:20px}
.dgsb-simple-fields small{display:block;color:var(--mute);font-size:11px;font-weight:400;margin-top:6px}
.dgsb-simple-hint{color:var(--mute);font-size:12px;line-height:1.6;margin-top:19px!important}
.dgsb-simple-caption{font-size:12px;font-weight:700;color:var(--mute)}
.dgsb-simple-range{color:var(--ink);font-size:clamp(22px,3vw,32px);font-weight:850;letter-spacing:-.04em;line-height:1.25;margin-top:10px;overflow-wrap:anywhere}
.dgsb-simple-mid{font-size:14px;color:#993341;font-weight:750;margin-top:10px}
.dgsb-simple-explanation{color:var(--mute);font-size:12px;line-height:1.6;margin:18px 0 20px!important}
.dgsb-simple .dgsb-button{display:flex;justify-content:center;gap:9px;align-items:center;width:100%;min-height:49px;padding:12px 16px;text-decoration:none;border:1px solid #ae1528;border-radius:10px;background:var(--dg);color:#fff;cursor:pointer;font-family:inherit;font-weight:750;font-size:14px;line-height:1.25;letter-spacing:0;text-align:center}
.dgsb-simple .dgsb-button:hover{background:#971020;color:#fff}.dgsb-simple .dgsb-button:disabled{opacity:.5;cursor:not-allowed}
.dgsb-simple-free{text-align:center;color:var(--mute);font-size:12px;margin-top:9px!important}
.dgsb-simple-support{background:#f8fafc;border:1px solid #dce5e9;border-left:3px solid #55826d;border-radius:9px;padding:11px 13px;margin:0 0 16px;font-size:12px;line-height:1.5;color:#30413a}
.dgsb-simple-support[hidden]{display:none!important}
.dgsb-simple-support>strong{font-size:13px;display:block;color:#234c39;margin-bottom:4px}
.dgsb-simple-support p{margin:5px 0 7px!important}
.dgsb-simple-support-links{display:flex;flex-wrap:wrap;gap:5px 14px;margin-bottom:6px}
.dgsb-simple-support a{color:#225a49;font-weight:750;text-decoration:underline;text-underline-offset:2px}
.dgsb-simple-support small{display:block;font-size:11px;color:#526259}
.dgsb-simple-details{border:1px solid var(--line);border-radius:10px;padding:13px 15px;margin-top:14px;color:var(--mute);font-size:12px}
.dgsb-simple-details summary{font-weight:750;color:#3a414b;cursor:pointer}.dgsb-simple-details p{margin:8px 0!important}.dgsb-simple-details a{color:var(--dg);font-weight:700}
.dgsb-simple-legal{font-size:11px;line-height:1.6;color:#69727b;margin:13px 2px!important}
.dgsb-demo{background:#fff5e5;border:1px solid #efc78e;padding:12px;margin:14px 0!important;border-radius:10px;color:#874314;font-size:12px}
.dgsb-offline{border:1px solid var(--line);padding:25px;border-radius:12px}.dgsb-offline h2{font-size:23px!important;margin-bottom:11px!important}.dgsb-offline .dgsb-button{width:max-content;max-width:100%;margin-top:18px}
@media(max-width:740px){.dgsb-simple-grid{grid-template-columns:1fr}.dgsb-simple-form,.dgsb-simple-result{padding:20px}.dgsb-simple-hero{padding:24px 22px}}
@media(max-width:380px){.dgsb-simple{padding:0 7px}.dgsb-simple-fields{grid-template-columns:1fr}.dgsb-simple-range{font-size:23px}}
/* 1.8.8 — choix du mode et retour sur le budget, sans étape supplémentaire. */
.dgsb-simple-modes{border:0;margin:0 0 19px;padding:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dgsb-simple-modes legend{font-size:13px;font-weight:750;margin:0 0 9px;padding:0;color:#3b4450}
.dgsb-simple .dgsb-simple-mode{position:relative;display:flex;align-items:center;gap:9px;min-height:54px;border:1px solid #cfd6de;border-radius:11px;padding:10px 11px;background:#fff;color:#303844;font-size:13px;font-weight:700;line-height:1.35;margin:0;cursor:pointer}
.dgsb-simple-mode input{accent-color:var(--dg);width:16px;height:16px;flex:0 0 16px;margin:0}
.dgsb-simple-mode:has(input:checked){background:#fff4f5;border-color:#bd1629;color:#8d1221}
.dgsb-simple-mode:focus-within{outline:2px solid #bd16294a;outline-offset:2px}
.dgsb-simple-budget-input{margin-top:17px;background:#f9fafb;padding:13px;border-radius:11px;border:1px solid #e1e5e9}
.dgsb-simple-budget-input[hidden],.dgsb-simple-budget-verdict[hidden]{display:none!important}
.dgsb-simple-budget-input label{margin-bottom:7px}
.dgsb-simple-budget-input small{display:block;color:var(--mute);font-size:11px;font-weight:400;margin-top:6px}
.dgsb-simple-budget-verdict{border-radius:11px;border:1px solid #b5d4c1;background:#f1f8f3;padding:12px 13px;margin:16px 0}
.dgsb-simple-budget-verdict strong{display:block;font-size:15px;color:#255e3e}
.dgsb-simple-budget-verdict p{font-size:12px;color:#345247;margin:6px 0 0!important;line-height:1.55}
.dgsb-simple-budget-verdict[data-state=uncertain]{background:#fff9ee;border-color:#e7c98a}
.dgsb-simple-budget-verdict[data-state=uncertain] strong{color:#8c5c0b}
.dgsb-simple-budget-verdict[data-state=uncertain] p{color:#725720}
.dgsb-simple-budget-verdict[data-state=insufficient]{background:#fff1f2;border-color:#f2b8c1}
.dgsb-simple-budget-verdict[data-state=insufficient] strong{color:#a21b31}
.dgsb-simple-budget-verdict[data-state=insufficient] p{color:#79424a}
.dgsb-simple-budget-verdict[data-state=neutral]{background:#f7f8fa;border-color:#dce1e7}
.dgsb-simple-budget-verdict[data-state=neutral] strong,.dgsb-simple-budget-verdict[data-state=neutral] p{color:#4b5563}
@media(max-width:400px){.dgsb-simple-modes{grid-template-columns:1fr}.dgsb-simple .dgsb-simple-mode{min-height:42px}}

/* v1.8.10 — Mention discrète, sans deuxième paragraphe d’introduction. */
.dgsb-simple-hero .dgsb-simple-disclaimer{display:block;margin-top:10px;font-size:12px;line-height:1.45;color:#e8d5d7;opacity:.88}
