/* Stratos — Calculateur de bobine (styles limités au bloc .stx-calc) */
/* 1.0.3 : préfixe #wrapper, car le thème colore en rouge tous les liens de « #wrapper .columns-container a » (priorité plus forte qu'une classe) */
.stx-calc{--stx-texte:#1b2322;--stx-discret:#59625f;--stx-bord:#dedad3;--stx-fond:#f3f1ed;--stx-accent:#c6262e;--stx-lien:#0091d5;max-width:860px;margin:0 auto;color:var(--stx-texte)}
.stx-calc *{box-sizing:border-box}
.stx-calc__intro{font-size:1.05rem;margin:0 0 1.25rem;text-align:center}
.stx-calc__modes{border:1px solid var(--stx-bord);padding:.75rem 1rem;margin:0 0 1.25rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.5rem}
.stx-calc__modes legend{text-align:center;width:100%}
.stx-calc__modes legend{font-weight:700;padding:0 .35rem}
.stx-calc__modes label{display:flex;align-items:center;gap:.4rem;cursor:pointer;margin:0}
.stx-calc__form{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem 1.25rem;margin:0 0 1.25rem}
.stx-calc__champ{display:flex;flex-direction:column;gap:.3rem}
.stx-calc__champ[hidden]{display:none}
.stx-calc__champ label{font-weight:600;margin:0}
.stx-calc__champ small{color:var(--stx-discret);font-size:.85rem}
.stx-calc__unite{font-weight:400;color:var(--stx-discret)}
.stx-calc input:not([type=radio]),.stx-calc select{width:100%;min-height:44px;padding:.5rem .7rem;border:1px solid #b9b3a8;border-radius:4px;font:inherit;background:#fff;color:var(--stx-texte)}
.stx-calc input:focus,.stx-calc select:focus{outline:3px solid #9ab8ff;outline-offset:1px}
.stx-calc__mandrin{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.stx-calc__resultat{background:var(--stx-fond);border-left:4px solid var(--stx-accent);padding:1rem 1.25rem;margin:0 0 1.5rem;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:.5rem 1rem}
.stx-calc__resultat-valeur{font-size:1.9rem;line-height:1.2}
.stx-calc__erreur{flex-basis:100%;color:#a3262c;font-weight:600}
.stx-calc__erreur[hidden]{display:none}
.stx-calc h2{font-size:1.25rem;margin:1.5rem 0 .5rem}
.stx-calc__aide{color:var(--stx-discret);margin:0 0 .5rem}
.stx-calc__tableau[hidden]{display:none}
.stx-calc__tableau-defile{max-height:380px;overflow:auto;border:1px solid var(--stx-bord)}
.stx-calc table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
.stx-calc th,.stx-calc td{padding:.45rem .75rem;border-bottom:1px solid var(--stx-bord);text-align:right}
.stx-calc th:first-child,.stx-calc td:first-child{text-align:left}
.stx-calc thead th{position:sticky;top:0;background:var(--stx-fond)}
.stx-calc__ligne-fin td{font-weight:700}
.stx-calc__formule{font-size:1.2rem;font-weight:700;background:var(--stx-fond);display:inline-block;padding:.5rem 1rem;margin:.25rem 0 .75rem}
.stx-calc__limite{border:1px solid var(--stx-bord);padding:.75rem 1rem}
.stx-calc__cta{margin:1.75rem 0 0;text-align:center}
#wrapper .stx-calc .stx-calc__cta a.stx-calc__btn,#wrapper .stx-calc .stx-calc__cta a.stx-calc__btn:visited,.stx-calc .stx-calc__cta a.stx-calc__btn,.stx-calc .stx-calc__cta a.stx-calc__btn:visited{color:#fff;background:var(--stx-accent);border-color:var(--stx-accent);font-weight:700;padding:.75rem 1.75rem}
#wrapper .stx-calc .stx-calc__cta a.stx-calc__btn:hover,#wrapper .stx-calc .stx-calc__cta a.stx-calc__btn:focus,.stx-calc .stx-calc__cta a.stx-calc__btn:hover,.stx-calc .stx-calc__cta a.stx-calc__btn:focus{color:#fff;background:#a51f26;border-color:#a51f26}
.stx-calc__service{margin:1rem 0 0;color:var(--stx-discret)}
#wrapper .stx-calc .stx-calc__service a,.stx-calc__service a{color:#00679b;font-weight:600;text-decoration:underline}
body#module-stratoscalculateur-calculateur .page-header{text-align:center}
/* 1.0.4 (D14) : moins de blanc entre le fil d'Ariane et le titre, sur cette page uniquement (82 px -> environ 26 px) */
body#module-stratoscalculateur-calculateur #wrapper .breadcrumb__wrapper{margin-bottom:0}
body#module-stratoscalculateur-calculateur #wrapper .columns-container{padding-top:1.5rem}
@media (max-width:600px){.stx-calc__resultat-valeur{font-size:1.5rem}.stx-calc__mandrin{grid-template-columns:1fr}}
