/* QA ergonomie : aucune règle de calcul. */
/* Même espace au-dessus de chaque texte d'aide, à toutes les étapes. */
#sim-form .sim-hint { margin-top: .65rem; }
.sim-cost > .sim-tariff > span { min-width: 0; max-width: 68%; line-height: 1.4; }
.sim-cost > .sim-tariff > b { white-space: nowrap; }
.sim-cost .sim-cost-scope { font-size: .75rem; line-height: 1.5; }
.sim-electricity-offer-info > p { margin: .75rem 0; font-size: .82rem; line-height: 1.55; }
.sim-electricity-offer-info .sim-referral { margin-top: .85rem; }
[data-solution-q] .sim-choice:last-child { grid-column: 1 / -1; }
/* Résultat : solution et durée sur la première ligne, coût sur toute la seconde. */
#sim-hero.sim-result-z { --rz-line: #353d44; --rz-soft: #242c30; border: 1px solid var(--rz-line); box-shadow: none; }
#sim-hero.sim-result-z.is-check, #sim-hero.sim-result-z.is-problem { border-color: var(--tone); }
#sim-hero .sim-result-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; color: var(--muted); font-size: .78rem; }
#sim-hero .sim-result-tools .sim-linkbtn { min-height: 32px; color: var(--muted); font-size: .78rem; }
#sim-hero .sim-hero-grid { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 1.6rem; }
#sim-hero .sim-result-step { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; color: var(--muted); font: 500 .85rem/1.4 'Space Grotesk',sans-serif; }
#sim-hero .sim-result-number { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid var(--rz-line); border-radius: 50%; background: var(--rz-soft); color: var(--text); font-size: .78rem; font-variant-numeric: tabular-nums; }
#sim-hero .sim-solution-product { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
#sim-hero .sim-solution-product > img { flex: 0 0 56px; width: 56px; height: 56px; padding: 4px; object-fit: contain; border: 1px solid var(--rz-line); border-radius: 10px; background: #fff; }
#sim-hero .sim-solution-product > .sim-ico { flex: 0 0 36px; width: 36px; height: 36px; }
#sim-hero .sim-solution-product > div { min-width: 0; }
#sim-hero .sim-solution-product p { margin: 0 0 .2rem; color: var(--muted); font-size: .73rem; line-height: 1.5; }
#sim-hero .sim-solution-product strong { color: var(--text); font: 600 .95rem/1.5 Sora,sans-serif; overflow-wrap: anywhere; }
#sim-hero .sim-hero-power { margin: 0; font-size: clamp(1.85rem,3.5vw,2.25rem); line-height: 1.2; letter-spacing: -.045em; text-wrap: balance; }
#sim-hero .sim-hero-power.is-text { font-size: clamp(1.4rem,3vw,1.9rem); }
#sim-hero .sim-result-requirement { margin: .9rem 0 0; max-width: 34em; color: var(--muted); font-size: .8rem; line-height: 1.65; }
#sim-hero .sim-model-detail { margin-top: 1.4rem; }
#sim-hero .sim-model-detail > summary { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; padding: .7rem 1rem; border-radius: 10px; background: var(--yellow); color: #202409; font: 600 .85rem/1.4 'Space Grotesk',sans-serif; cursor: pointer; list-style: none; }
#sim-hero .sim-model-detail > summary::-webkit-details-marker { display: none; }
#sim-hero .sim-model-detail > summary::after { content: '+'; font-size: 1.15rem; line-height: 1; }
#sim-hero .sim-model-detail[open] > summary::after { content: '−'; }
#sim-hero .sim-model-body { padding-top: .9rem; }
#sim-hero .sim-hero-product { margin: 0; }
#sim-hero .sim-hero-product .sim-product { gap: .8rem; padding: 0; border: 0!important; border-radius: 0; background: transparent!important; }
#sim-hero .sim-hero-product .sim-product img { width: 80px; height: 80px; }
#sim-hero .sim-hero-product .sim-product-body { min-width: 0; }
#sim-hero .sim-hero-product .sim-product-body strong { font-size: .9rem; }
#sim-hero .sim-hero-product .sim-merchants { gap: .45rem; }
#sim-hero .sim-hero-product .sim-merchant-btn { min-height: 44px; padding: .55rem .85rem; font-size: .85rem; }
#sim-hero .sim-result-time { min-width: 0; border-left: 1px solid var(--rz-line); padding-left: 1.6rem; }
#sim-hero .sim-result-duration { margin: .2rem 0 .55rem; color: var(--text); font: 600 clamp(1.85rem,3.5vw,2.25rem)/1.2 Sora,sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
#sim-hero .sim-result-goal { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
#sim-hero .sim-result-goal strong { color: var(--text); }
#sim-hero .sim-result-window { margin: 1rem 0 0; color: var(--muted); font-size: .8rem; }
#sim-hero .sim-result-cost { grid-column: 1 / -1; min-width: 0; padding-top: 1.4rem; border-top: 1px solid var(--rz-line); }
#sim-hero .sim-result-cost .sim-result-step { margin-bottom: 1rem; }
#sim-hero .sim-result-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
#sim-hero .sim-result-prices .sim-tariff { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; margin: 0; }
#sim-hero .sim-result-prices .sim-tariff > span { max-width: none; color: var(--muted); font-size: .8rem; line-height: 1.5; }
#sim-hero .sim-result-prices .sim-tariff > b { color: var(--text); font-size: 1.35rem; font-weight: 500; font-variant-numeric: tabular-nums; }
#sim-hero .sim-cost-manual { margin: 0 0 1rem; }
#sim-hero .sim-cost-scope { color: var(--muted); font-size: .75rem; }
#sim-hero .sim-cost-detail { margin-top: .85rem; }
#sim-hero .sim-cost-detail > summary, #sim-hero .sim-result-why > summary { width: fit-content; min-height: 32px; padding: .35rem 0; color: var(--muted); font-size: .8rem; cursor: pointer; }
#sim-hero .sim-cost-detail > summary { display: list-item; list-style: disclosure-closed; text-decoration: none; }
#sim-hero .sim-cost-detail[open] > summary { list-style: disclosure-open; }
#sim-hero .sim-cost:has(> .sim-cost-detail[open]) > :is(.sim-result-prices,.sim-cost-scope) { display: none; }
#sim-hero .sim-cost:has(> .sim-cost-detail[open]) > .sim-cost-detail { margin-top: 0; }
#sim-hero .sim-cost-detail > summary::-webkit-details-marker { display: initial; }
#sim-hero .sim-electricity-offer-info { max-width: 46rem; }
#sim-hero .sim-result-why { margin-top: 1.4rem; padding-top: .85rem; border-top: 1px solid var(--rz-line); }
#sim-hero .sim-result-explanation p { margin: .75rem 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
#sim-hero .sim-result-explanation .sim-install-compact { margin-top: 1rem; }
html[data-orizon-recharge-theme="light"] #sim-hero.sim-result-z { --rz-line: #dce0e3; --rz-soft: #f0f2ed; }
html[data-orizon-recharge-theme="light"] #sim-hero :is(.sim-result-tools,.sim-result-tools .sim-linkbtn,.sim-result-step,.sim-solution-product p,.sim-result-requirement,.sim-result-goal,.sim-result-window,.sim-result-prices .sim-tariff > span,.sim-cost-scope,.sim-cost-detail > summary,.sim-result-why > summary,.sim-result-explanation p) { color: var(--muted)!important; }
html[data-orizon-recharge-theme="light"] #sim-hero :is(.sim-result-number,.sim-solution-product strong,.sim-result-duration,.sim-result-goal strong,.sim-result-prices .sim-tariff > b) { color: var(--text)!important; }
html[data-orizon-recharge-theme="light"] #sim-hero .sim-model-detail > summary { color: #202409!important; }
@media(max-width:640px) {
  #sim-hero .sim-hero-grid { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
  #sim-hero .sim-result-time { border-left: 0; border-top: 1px solid var(--rz-line); padding: 1.3rem 0 0; }
  #sim-hero .sim-result-cost { padding-top: 1.3rem; }
  #sim-hero .sim-result-prices { grid-template-columns: minmax(0,1fr); gap: .7rem; }
  #sim-hero .sim-result-prices .sim-tariff { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; }
  #sim-hero .sim-result-prices .sim-tariff > span { max-width: 68%; }
  #sim-hero .sim-result-prices .sim-tariff > b { font-size: 1.2rem; }
  #sim-hero .sim-hero-product .sim-product { flex-direction: column; align-items: stretch; }
  #sim-hero .sim-result-tools { margin-bottom: 1.2rem; }
}
@media(pointer:coarse) {
  #sim-hero .sim-cost-detail > summary, #sim-hero .sim-result-why > summary, #sim-hero .sim-result-tools .sim-linkbtn { min-height: 44px; }
}
/* Volets détaillés : modèle sur toute la largeur, comparatif et parrainage compact. */
#sim-hero .sim-model-toggle { display:inline-flex; align-items:center; gap:.7rem; min-height:44px; margin-top:1.4rem; padding:.7rem 1rem; border:0; border-radius:10px; background:var(--yellow); color:#202409; font:600 .85rem/1.4 'Space Grotesk',sans-serif; cursor:pointer; }
#sim-hero .sim-model-toggle::after { content:'+'; font-size:1.15rem; line-height:1; }
#sim-hero .sim-model-toggle[aria-expanded="true"]::after { content:'−'; }
#sim-hero .sim-model-expanded { grid-column:1 / -1; min-width:0; padding-top:1.5rem; border-top:1px solid var(--rz-line); }
#sim-hero .sim-model-expanded[hidden] { display:none!important; }
#sim-hero .sim-hero-product .sim-model-card { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); align-items:center; gap:24px; width:100%; }
#sim-hero .sim-model-card + .sim-model-card { margin-top:1.5rem; padding-top:1.5rem; }
#sim-hero .sim-model-identity { display:flex; align-items:center; gap:14px; min-width:0; }
#sim-hero .sim-hero-product .sim-model-card img { flex:0 0 80px; width:80px; height:80px; border-radius:10px; }
#sim-hero .sim-model-card .sim-product-body h3 { margin:0; color:var(--text); font:600 1.05rem/1.4 Sora,sans-serif; letter-spacing:-.025em; }
#sim-hero .sim-model-card .sim-model-spec { margin:.35rem 0 0; color:var(--muted); font-size:.8rem; line-height:1.5; }
#sim-hero .sim-model-card .sim-product-details { display:inline-block; margin-top:.75rem; font-size:.75rem; color:var(--muted); }
#sim-hero .sim-model-purchase { min-width:0; padding-left:22px; border-left:1px solid var(--rz-line); }
#sim-hero .sim-model-purchase > p { margin:0 0 .6rem; color:var(--muted); font-size:.8rem; }
#sim-hero .sim-model-purchase .sim-merchants { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
#sim-hero .sim-model-purchase .sim-merchant-btn { flex:0 1 auto; justify-content:center; min-height:44px; gap:7px; padding:.65rem .85rem; border-radius:9px; font-size:.8rem; white-space:nowrap; }
#sim-hero .sim-model-expanded .sim-video-inline { margin-top:1.4rem; padding:14px; background:#232b27; border:1px solid var(--rz-line); border-radius:12px; }
#sim-hero .sim-model-expanded .sim-video { display:flex; align-items:center; gap:16px; }
#sim-hero .sim-model-expanded .sim-video img { flex:0 0 119px; width:119px; height:68px; object-fit:cover; border-radius:7px; }
#sim-hero .sim-model-expanded .sim-video > span { flex:1; min-width:0; }
#sim-hero .sim-model-expanded .sim-video-kicker { color:var(--muted); font-size:.7rem; letter-spacing:.03em; }
#sim-hero .sim-model-expanded .sim-video strong { display:block; margin:.2rem 0; color:var(--text); font-size:.95rem; line-height:1.45; }
#sim-hero .sim-model-expanded .sim-video em { font-style:normal; }
#sim-hero .sim-model-expanded > .sim-legal { margin-top:.9rem; font-size:.72rem; }
#sim-hero .sim-tariffs-title { margin:1.1rem 0 .35rem; color:var(--text); font:600 1.1rem/1.4 Sora,sans-serif; letter-spacing:-.02em; }
#sim-hero .sim-tariffs-scope { margin:0; color:var(--muted); font-size:.8rem; }
#sim-hero .sim-tariffs-table { width:100%; margin-top:1.4rem; border-collapse:collapse; table-layout:fixed; }
#sim-hero .sim-tariffs-table th { font-weight:400; }
#sim-hero .sim-tariffs-table thead th { padding:0 0 .65rem; color:var(--muted); font-size:.73rem; text-align:right; }
#sim-hero .sim-tariffs-table thead th:first-child { width:44%; text-align:left; }
#sim-hero .sim-tariffs-table tbody :is(th,td) { padding:.9rem 0; border-top:1px solid var(--rz-line); }
#sim-hero .sim-tariffs-table tbody th { color:var(--text); text-align:left; font-size:.9rem; font-weight:500; }
#sim-hero .sim-tariffs-table tbody th small { display:block; margin-top:.2rem; color:var(--muted); font-size:.72rem; font-weight:400; line-height:1.5; }
#sim-hero .sim-tariffs-value { color:var(--text); font-size:1.15rem; font-weight:500; text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
#sim-hero .sim-tariffs-value.is-cheaper { color:#8cdbab; }
#sim-hero .sim-tariffs-saving { display:flex; flex-wrap:wrap; align-items:baseline; gap:.3rem .6rem; margin:1.2rem 0 1rem; color:var(--text); font-size:.85rem; }
#sim-hero .sim-tariffs-saving strong { font:600 1.45rem/1.3 Sora,sans-serif; letter-spacing:-.03em; }
#sim-hero .sim-tariffs-basis { margin:.8rem 0 0; color:var(--muted); font-size:.8rem; }
#sim-hero .sim-tariffs-basis .sim-linkbtn { margin-left:.5rem; font-size:inherit; }
#sim-hero .sim-referral.sim-referral-inline { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:8px 12px; margin:1.3rem 0 0; padding:14px; border:1px solid var(--rz-line); border-radius:10px; background:#2a3035; }
#sim-hero .sim-referral-inline .sim-referral-label { color:var(--text); font-size:.8rem; font-weight:500; }
#sim-hero .sim-referral-inline .sim-referral-code { display:inline-flex; align-items:center; gap:6px; margin:0; }
#sim-hero .sim-referral-inline code { border:1px solid var(--rz-line); border-radius:6px; padding:6px 8px; background:#1d2327; color:var(--text); font-size:.85rem; }
#sim-hero .sim-referral-inline .sim-copy { min-height:36px; padding:.3rem .45rem; color:var(--text); font-size:.75rem; }
#sim-hero .sim-referral-instruction { color:var(--muted); font-size:.75rem; }
#sim-hero .sim-referral-offer { display:inline-flex; align-items:center; min-height:36px; margin-left:auto; color:var(--text); font-size:.8rem; text-underline-offset:3px; white-space:nowrap; }
html[data-orizon-recharge-theme="light"] #sim-hero .sim-model-toggle { color:#202409!important; }
html[data-orizon-recharge-theme="light"] #sim-hero .sim-model-purchase .sim-merchant-btn.is-primary { background:var(--yellow)!important; border-color:var(--yellow)!important; color:#202409!important; }
html[data-orizon-recharge-theme="light"] #sim-hero .sim-referral.sim-referral-inline { background:#f1f3f5!important; }
html[data-orizon-recharge-theme="light"] #sim-hero .sim-referral-inline code { background:#fff!important; color:var(--text)!important; }
html[data-orizon-recharge-theme="light"] #sim-hero .sim-tariffs-value.is-cheaper { color:#22713e!important; }
html[data-orizon-recharge-theme="light"] #sim-hero :is(.sim-model-spec,.sim-model-purchase > p,.sim-tariffs-scope,.sim-tariffs-table thead th,.sim-tariffs-table tbody th small,.sim-tariffs-basis,.sim-referral-instruction) { color:var(--muted)!important; }
@media(max-width:640px) {
  #sim-hero .sim-hero-product .sim-model-card { grid-template-columns:minmax(0,1fr); gap:20px; }
  #sim-hero .sim-model-purchase { padding:0; border:0; }
  #sim-hero .sim-tariffs-value { font-size:.95rem; }
  #sim-hero .sim-tariffs-table tbody th { font-size:.8rem; }
  #sim-hero .sim-tariffs-table tbody th small { font-size:.7rem; }
  #sim-hero .sim-model-expanded .sim-video-inline { padding:11px; }
  #sim-hero .sim-model-expanded .sim-video { gap:11px; }
  #sim-hero .sim-model-expanded .sim-video img { flex-basis:95px; width:95px; height:54px; }
  #sim-hero .sim-model-expanded .sim-video strong { font-size:.8rem; }
  #sim-hero .sim-referral.sim-referral-inline { gap:7px 10px; padding:12px; }
}
.sim-guidance { margin-bottom: 1rem; }
.sim-guidance-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin-top: 1rem; }
.sim-guidance-card { min-width: 0; padding: 1rem; border: 1px solid #414650; border-radius: 12px; }
.sim-guidance-card h3 { margin: 0 0 .65rem; font-size: 1rem; }
.sim-guidance-card p { margin: .65rem 0 0; font-size: .86rem; line-height: 1.55; }
.sim-guidance-status { font-weight: 650; }
.sim-guidance-card-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem; margin-bottom:.85rem; }
.sim-guidance-number { color:var(--muted); font-size:.78rem; font-weight:650; }
.sim-guidance-recommendation { background:#f5ef00; color:#172027!important; border-radius:6px; padding:.3rem .55rem; font-size:.72rem; font-weight:700; line-height:1.4; }
.sim-guidance-card.is-recommended { border:2px solid #77ac87; background:rgba(88,160,106,.07); }
.sim-guidance-card .sim-guidance-value { margin:0 0 .85rem; font-weight:550; }
html[data-orizon-recharge-theme="light"] .sim-guidance-card.is-recommended { border-color:#3e8354!important; background:#f4f9f5!important; }
html[data-orizon-recharge-theme="light"] .sim-guidance-recommendation { background:#f5ef00!important; color:#172027!important; }
.sim-guidance-card.is-insufficient,.sim-guidance-card.is-unavailable { border-style: dashed; }
.sim-guidance h2:focus { outline: none; }
@media(max-width:640px) { .sim-guidance-grid { grid-template-columns: 1fr; } }
.sim-objective-qa { padding: 1.25rem; }
.sim-objective-qa .sim-step-title { margin-bottom: .8rem; }
.sim-goal-progress { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; color: #7d8793; font-size: .78rem; }
.sim-goal-progress button { padding: 0; border: 0; background: none; color: #9da5b2; font: inherit; cursor: pointer; }
.sim-goal-progress button[aria-current="step"] { color: var(--yellow); font-weight: 700; }
.sim-goal-progress button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.sim-goal-vehicle { margin: 0 0 .85rem; color: #adb5c0; font-size: .85rem; }
.sim-objective-qa .sim-segment { max-width: none; }
.sim-objective-qa .sim-field { min-width: 0; }
.sim-objective-qa .sim-field.is-guide { box-shadow: none; }
.sim-soc-fields { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: end; gap: .8rem; margin-top: 1.1rem; }
.sim-soc-fields label { display: block; margin-bottom: .4rem; color: #aeb6c2; font-size: .85rem; }
.sim-soc-arrow { align-self: end; padding-bottom: .9rem; color: #aeb6c2; }
.sim-goal-number { display: flex; align-items: center; gap: .4rem; min-width: 0; border: 1px solid #414650; border-radius: 12px; background: rgba(255,255,255,.035); padding: .65rem .85rem; }
.sim-goal-number:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(248,238,0,.15); }
.sim-goal-number input { width: 100%; min-width: 0; background: none; border: 0; padding: 0; color: var(--text); font: inherit; font-size: 1.35rem; font-weight: 650; outline: 0; line-height: 1.4; }
.sim-goal-number span { color: #aeb6c2; font-size: .95rem; }
.sim-goal-number:has(input[aria-invalid="true"]) { border-color: #f87171; }
.sim-km-number { max-width: 20rem; margin-top: .65rem; }
.sim-hours-number { max-width: 12rem; }
.sim-goal-energy { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.3rem; font-size: .95rem; }
.sim-goal-energy strong { color: var(--yellow); font-size: 1.15rem; white-space: nowrap; }
.sim-goal-energy .sim-goal-invalid { color: #aeb6c2; font-size: .82rem; }
.sim-battery-indicator { height: 7px; margin-top: .7rem; border-radius: 8px; overflow: hidden; background: #292e35; position: relative; }
.sim-battery-indicator span { position: absolute; top: 0; bottom: 0; left: var(--from,20%); width: var(--gain,60%); background: var(--yellow); border-radius: 2px; }
.sim-compact-fold { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.1); }
.sim-compact-fold > summary { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; list-style: none; cursor: pointer; font-size: .83rem; line-height: 1.55; color: #aeb6c2; }
.sim-compact-fold > summary::-webkit-details-marker { display: none; }
.sim-compact-fold > summary strong { color: #e4e7eb; font-weight: 600; }
.sim-compact-fold .sim-fold-edit { flex-shrink: 0; color: var(--yellow); text-decoration: underline; text-underline-offset: .2em; font-size: .78rem; }
.sim-compact-fold > fieldset { margin: 1rem 0 0; }
.sim-compact-fold[open] > summary .sim-fold-edit { color: #aeb6c2; }
.sim-goal-recap { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem .8rem; padding-bottom: .85rem; margin-bottom: .3rem; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.sim-goal-recap > span { color: #e4e7eb; }
.sim-goal-recap button { font-size: .78rem; }
.sim-objective-qa .sim-duration-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.sim-duration-choices .sim-choice-box { min-height: 68px; padding: .7rem .8rem; gap: .55rem; }
.sim-duration-choices .sim-choice-box .sim-ico { width: 20px; height: 20px; flex-shrink: 0; }
.sim-duration-choices .sim-choice-text strong { font-size: .88rem; line-height: 1.25; }
.sim-duration-choices .sim-choice-text small { font-size: .75rem; }
.sim-objective-qa .sim-veh-bat { font-size: .8rem; margin-top: .9rem; padding: 0; border: 0; background: none; }
.sim-objective-qa .sim-veh-tag { font-size: .68rem; }
.sim-time-explanation { margin: .9rem 0 0; font-size: .78rem; }
#sim-form[data-objective-visible] #sim-nav .is-ready { box-shadow: none; animation: none; }
.sim-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:600px) {
  .sim-objective-qa { padding: 1rem; }
  .sim-goal-progress { gap: .5rem; font-size: .73rem; }
  .sim-soc-fields { gap: .55rem; }
  .sim-goal-number { padding: .65rem .7rem; }
  .sim-duration-choices .sim-choice-box { padding: .65rem .55rem; }
  .sim-duration-choices .sim-choice-text strong { font-size: .82rem; }
  .sim-goal-energy { font-size: .85rem; }
}
/* Écran durée : tarifs visibles, détails uniquement pour HP/HC. */
[data-objective-panel="when"] .sim-visible-tariff { margin-top:1rem; padding-top:1rem; border-top:1px solid #45484c; }
[data-objective-panel="when"] .sim-tariff-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.3rem; background:none; }
[data-objective-panel="when"] .sim-tariff-options label { width:100%; }
[data-objective-panel="when"] .sim-tariff-options span { justify-content:center; text-align:center; white-space:nowrap; min-height:44px; padding:.6rem .3rem; font-size:.875rem; }
[data-objective-panel="when"] .sim-hint,
[data-objective-panel="when"] .sim-choice-text small { color:#c6ccd3; font-size:.875rem; line-height:1.5; }
.sim-mixed-tariff { margin-top:1rem; padding:1rem; background:#202226; border-radius:12px; font-size:.95rem; }
.sim-mixed-tariff p { margin:.6rem 0; }
.sim-mixed-tariff summary { cursor:pointer; color:var(--yellow); padding:.4rem 0; }
.sim-mixed-tariff label { display:block; margin:.7rem 0 .4rem; }
.sim-mixed-tariff input { max-width:8rem; }
.sim-mixed-tariff select { width:100%; min-width:0; font-size:.875rem; }
[data-objective-panel="when"] .sim-choice input { width:100%; height:100%; }
[data-objective-panel="when"] .sim-duration-choices .sim-choice-box { flex-direction:row; align-items:center; min-height:64px; gap:.45rem; padding:.6rem .55rem; }
[data-objective-panel="when"] .sim-duration-choices .sim-choice-text { gap:.15rem; }
[data-objective-panel="when"] .sim-duration-choices .sim-choice-text strong,
[data-objective-panel="when"] .sim-duration-choices .sim-choice-text small { white-space:nowrap; line-height:1.35; }
@media(max-width:400px) {
  [data-objective-panel="when"] .sim-duration-choices .sim-choice-box { gap:.35rem; padding:.6rem .4rem; }
  [data-objective-panel="when"] .sim-duration-choices .sim-choice-text strong,
  [data-objective-panel="when"] .sim-duration-choices .sim-choice-text small { font-size:.8rem; }
  [data-objective-panel="when"] .sim-tariff-options span { font-size:.8rem; }
}

/* Keep the model immediately after its disclosure on mobile. */
@media(min-width:641px) { #sim-hero .sim-result-time { grid-column:2; grid-row:1; } }
#sim-solution-label { scroll-margin-top:90px; }
.sim-guidance-shortcut { display:inline-flex; align-items:center; min-height:44px; margin-top:.8rem; padding:.65rem 1rem; border-radius:9px; background:var(--yellow,#f5ed00); color:#202409!important; font-weight:600; text-decoration:none; }

/* Raccourci de la vidéo et comparaison mobile. */
.sim-page :is(.sim-video-launch, .sim-video-example, #sim-form)[hidden] { display: none; }
.sim-page .sim-video-launch { margin: 0 0 1.25rem; }
.sim-page .sim-video-launch p { margin: .4rem 0 0; color: var(--muted); font-size: .78rem; }
.sim-page .sim-video-replay {
  display: inline-flex; justify-content: space-between; align-items: center; gap: .8rem;
  min-height: 46px; max-width: 100%; padding: .7rem 1rem;
  border: 0; border-radius: 10px; background: var(--yellow, #fff909); color: #171719;
  font: 700 .92rem/1.4 'Space Grotesk', sans-serif; text-align: left; cursor: pointer;
}
.sim-page .sim-video-example {
  --sim-video-line: #3b4049;
  --sim-video-card: #22252b;
  --sim-video-track: #3b4049;
  --sim-video-progress: #fff909;
  max-width: 44rem; margin: 0 auto 1.5rem; padding: clamp(.85rem, 3vw, 1.5rem);
  border: 1px solid var(--sim-video-line); border-radius: 16px; scroll-margin-top: 5rem;
}
html[data-orizon-recharge-theme="light"] .sim-page .sim-video-example {
  --sim-video-line: #dce0e3;
  --sim-video-card: #f3f4f5;
  --sim-video-track: #dce0e3;
  --sim-video-progress: #8b7600;
}
.sim-page .sim-video-example h2 { margin: 0; font-size: clamp(1.35rem, 4vw, 1.9rem); line-height: 1.2; }
.sim-page .sim-video-example .sim-video-kicker { margin: 0 0 .3rem; color: var(--muted); font-size: .8rem; font-weight: 650; }
.sim-page .sim-video-example .sim-video-window { margin: .35rem 0 0; color: var(--muted); font-size: .87rem; }
.sim-page .sim-video-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: 1rem; }
.sim-page .sim-video-option {
  min-width: 0; padding: clamp(.6rem, 2vw, 1rem); border: 1px solid var(--sim-video-line);
  border-radius: 11px; background: var(--sim-video-card);
}
.sim-page .sim-video-option svg { width: 17px; height: 17px; flex: 0 0 auto; }
.sim-page .sim-video-option h3 {
  min-height: 2.4em; margin: .25rem 0 0; font-size: clamp(.82rem, 2.4vw, 1rem); line-height: 1.2;
}
.sim-page .sim-video-option .sim-video-power,
.sim-page .sim-video-option .sim-video-small { margin: .18rem 0 0; color: var(--muted); font-size: .75rem; }
.sim-page .sim-video-option .sim-video-duration {
  margin: .45rem 0 0; color: var(--text); font: 650 clamp(1.12rem, 3.8vw, 1.75rem)/1.2 Sora, sans-serif;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sim-page .sim-video-meter { height: 5px; margin: .65rem 0 .3rem; border-radius: 4px; background: var(--sim-video-track); }
.sim-page .sim-video-meter span { display: block; height: 100%; border-radius: inherit; background: var(--sim-video-progress); }
.sim-page .sim-video-option .sim-video-nights { display: flex; align-items: center; gap: .32rem; margin: .55rem 0 0; font-size: .77rem; font-weight: 700; }
.sim-page .sim-video-option .sim-video-nights svg { width: 13px; height: 13px; }
.sim-page .sim-video-assumptions { margin: .75rem 0 0; color: var(--muted); font-size: .78rem; }
.sim-page .sim-video-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .85rem; }
.sim-page .sim-video-cost-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 44px;
  padding: .55rem .72rem; border: 1px solid var(--sim-video-line); border-radius: 9px;
  color: var(--text); font-weight: 650; text-decoration: none;
}
.sim-page .sim-video-actions .sim-linkbtn { min-height: 44px; padding-block: .4rem; }
@media (max-width: 540px) {
  .sim-page .sim-video-replay, .sim-page .sim-video-cost-link { width: 100%; }
}
