/* Couche « multisecteur » (01/11) : repères de salaire tous secteurs (sources citées),
   exercices rangés par famille. Mêmes jetons que la couche élan (--e-*). */

/* PICTOS 01/11 — début (écrit par pictos_01nov.py : ne pas modifier ici) — même jeu que le reste du site */
.ms-picto{display:inline-block;flex:0 0 auto;width:44px;height:44px;border-radius:0;background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:100%;box-shadow:none}
[data-ms-picto="industrie"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 41V21l10 7v-7l10 7v-7l10 7V7h8v34z%22 fill=%22%23efc894%22/%3E%3Crect x=%225%22 y=%2236%22 width=%2238%22 height=%225%22 rx=%222%22 fill=%22%23382419%22/%3E%3Crect x=%2235%22 y=%227%22 width=%228%22 height=%225%22 rx=%222%22 fill=%22%23382419%22/%3E%3Crect x=%2210%22 y=%2230%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23382419%22/%3E%3Crect x=%2220%22 y=%2230%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23382419%22/%3E%3Crect x=%2228%22 y=%2228%22 width=%225%22 height=%228%22 rx=%221.5%22 fill=%22%23a85f30%22/%3E%3C/svg%3E")}
[data-ms-picto="logistique"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%2211%22 width=%2224%22 height=%2221%22 rx=%223%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M28 17h8l6 8v7H28z%22 fill=%22%23382419%22/%3E%3Cpath d=%22M31 20h4l3.5 5H31z%22 fill=%22%23efc894%22/%3E%3Ccircle cx=%2213%22 cy=%2234%22 r=%224.5%22 fill=%22%23382419%22/%3E%3Ccircle cx=%2235%22 cy=%2234%22 r=%224.5%22 fill=%22%23382419%22/%3E%3Cpath d=%22M9 18h9%22 stroke=%22%23a85f30%22 stroke-width=%223%22/%3E%3C/svg%3E")}
[data-ms-picto="btp"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 31a16 16 0 0 1 32 0z%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M21 31V16a16 16 0 0 1 6 0v15z%22 fill=%22%23a85f30%22/%3E%3Crect x=%224%22 y=%2231%22 width=%2240%22 height=%226%22 rx=%223%22 fill=%22%23382419%22/%3E%3C/svg%3E")}
[data-ms-picto="sante"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 41S8 32.5 8 20.2A8.6 8.6 0 0 1 24 15a8.6 8.6 0 0 1 16 5.2C40 32.5 24 41 24 41z%22 fill=%22%23efc894%22/%3E%3Crect x=%2221%22 y=%2218%22 width=%226%22 height=%2216%22 rx=%222%22 fill=%22%23a85f30%22/%3E%3Crect x=%2216%22 y=%2223%22 width=%2216%22 height=%226%22 rx=%222%22 fill=%22%23a85f30%22/%3E%3C/svg%3E")}
[data-ms-picto="commerce"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%228%22 y=%2220%22 width=%2232%22 height=%2221%22 rx=%222%22 fill=%22%23efc894%22/%3E%3Crect x=%226%22 y=%2239%22 width=%2236%22 height=%223%22 rx=%221.5%22 fill=%22%23382419%22/%3E%3Crect x=%2212%22 y=%2225%22 width=%2210%22 height=%228%22 rx=%222%22 fill=%22%23382419%22/%3E%3Crect x=%2226%22 y=%2225%22 width=%229%22 height=%2214%22 rx=%222%22 fill=%22%23382419%22/%3E%3Cpath d=%22M8 8h32l3 10a4.5 4.5 0 0 1-8.75 1.5 4.5 4.5 0 0 1-8.5 0 4.5 4.5 0 0 1-8.5 0A4.5 4.5 0 0 1 5 18z%22 fill=%22%23a85f30%22/%3E%3Cpath d=%22M16.25 8h7.75v11.5a4.5 4.5 0 0 1-8.5 0zM32 8l3 11.5a4.5 4.5 0 0 1-8.5 0L24 8z%22 fill=%22%23382419%22/%3E%3C/svg%3E")}
[data-ms-picto="numerique"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%228%22 y=%228%22 width=%2232%22 height=%2223%22 rx=%223%22 fill=%22%23382419%22/%3E%3Crect x=%2211%22 y=%2211%22 width=%2226%22 height=%2217%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M20 16l-3.5 3.5 3.5 3.5M28 16l3.5 3.5-3.5 3.5%22 stroke=%22%23382419%22 stroke-width=%223%22/%3E%3Cpath d=%22M25.5 15.5l-3 8%22 stroke=%22%23a85f30%22 stroke-width=%223%22/%3E%3Cpath d=%22M4 34h40v1a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z%22 fill=%22%23382419%22/%3E%3C/svg%3E")}
[data-ms-picto="banque"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%2219%22 width=%2230%22 height=%2217%22 rx=%220%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M5 17 24 7l19 10z%22 fill=%22%23382419%22/%3E%3Crect x=%2212%22 y=%2220%22 width=%224%22 height=%2216%22 rx=%222%22 fill=%22%23382419%22/%3E%3Crect x=%2222%22 y=%2220%22 width=%224%22 height=%2216%22 rx=%222%22 fill=%22%23382419%22/%3E%3Crect x=%2232%22 y=%2220%22 width=%224%22 height=%2216%22 rx=%222%22 fill=%22%23382419%22/%3E%3Crect x=%225%22 y=%2236%22 width=%2238%22 height=%225%22 rx=%222%22 fill=%22%23382419%22/%3E%3Ccircle cx=%2224%22 cy=%2213%22 r=%222.5%22 fill=%22%23a85f30%22/%3E%3C/svg%3E")}
[data-ms-picto="rh"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2231%22 cy=%2214%22 r=%226%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M20 40v-2a11 11 0 0 1 22 0v2z%22 fill=%22%23efc894%22/%3E%3Ccircle cx=%2218%22 cy=%2218%22 r=%226.5%22 fill=%22%23382419%22/%3E%3Cpath d=%22M6 42v-2a12 12 0 0 1 24 0v2z%22 fill=%22%23382419%22/%3E%3C/svg%3E")}
[data-ms-picto="finance"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%2210%22 y=%225%22 width=%2228%22 height=%2238%22 rx=%224%22 fill=%22%23382419%22/%3E%3Crect x=%2214%22 y=%229%22 width=%2220%22 height=%228%22 rx=%222%22 fill=%22%23efc894%22/%3E%3Crect x=%2214.0%22 y=%2221.0%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2221.5%22 y=%2221.0%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2229.0%22 y=%2221.0%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2214.0%22 y=%2227.5%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2221.5%22 y=%2227.5%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2229.0%22 y=%2227.5%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2214.0%22 y=%2234.0%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2221.5%22 y=%2234.0%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23efc894%22/%3E%3Crect x=%2229.0%22 y=%2234.0%22 width=%225%22 height=%224%22 rx=%221.5%22 fill=%22%23a85f30%22/%3E%3C/svg%3E")}
[data-ms-picto="cabinets"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%227%22 y=%225%22 width=%2226%22 height=%2234%22 rx=%224%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M13 14h14M13 20h14M13 26h7%22 stroke=%22%23382419%22 stroke-width=%223%22/%3E%3Ccircle cx=%2231%22 cy=%2231%22 r=%228%22 fill=%22%23a85f30%22/%3E%3Ccircle cx=%2231%22 cy=%2231%22 r=%228%22 stroke=%22%23382419%22 stroke-width=%223%22/%3E%3Crect x=%2237%22 y=%2235%22 width=%225%22 height=%2210%22 rx=%222.5%22 fill=%22%23382419%22 transform=%22rotate(-45 39.5 40)%22/%3E%3C/svg%3E")}
[data-ms-picto="secteurs"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%226%22 y=%226%22 width=%2216%22 height=%2216%22 rx=%224%22 fill=%22%23382419%22/%3E%3Crect x=%2226%22 y=%226%22 width=%2216%22 height=%2216%22 rx=%224%22 fill=%22%23efc894%22/%3E%3Crect x=%226%22 y=%2226%22 width=%2216%22 height=%2216%22 rx=%224%22 fill=%22%23efc894%22/%3E%3Crect x=%2226%22 y=%2226%22 width=%2216%22 height=%2216%22 rx=%224%22 fill=%22%23a85f30%22/%3E%3C/svg%3E")}
[data-ms-picto="sources"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M24 12c-5-3.5-11-4.5-18-3.5v28c7-1 13 0 18 3.5z%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M24 12c5-3.5 11-4.5 18-3.5v28c-7-1-13 0-18 3.5z%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M24 12v28%22 stroke=%22%23382419%22 stroke-width=%223%22/%3E%3Cpath d=%22M11 17h7M11 23h7M30 17h7M30 23h7%22 stroke=%22%23382419%22 stroke-width=%223%22/%3E%3Cpath d=%22M33 8.6V31l3-3 3 3V8.2z%22 fill=%22%23a85f30%22/%3E%3C/svg%3E")}
[data-ms-picto="repere"]{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 35a18 18 0 0 1 36 0z%22 fill=%22%23efc894%22/%3E%3Cpath d=%22M30.4 18.2a14 14 0 0 1 7.4 9.3%22 stroke=%22%23a85f30%22 stroke-width=%223%22/%3E%3Cpath d=%22M24 35l8-12%22 stroke=%22%23382419%22 stroke-width=%223%22/%3E%3Ccircle cx=%2224%22 cy=%2235%22 r=%224%22 fill=%22%23382419%22/%3E%3Cpath d=%22M6 40h36%22 stroke=%22%23382419%22 stroke-width=%223%22/%3E%3C/svg%3E")}
/* PICTOS 01/11 — fin */

/* 1. Le choix du secteur : un pictogramme par secteur, le nombre de métiers dessous. */
body[data-design="31oct"] .ms-estimator .salary-sector-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))!important}
body[data-design="31oct"] .ms-estimator .ba28-sector{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;min-height:72px;padding:12px 14px!important;border-radius:16px!important}
.ms-sector-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.ms-sector-text b{font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:15px;font-weight:650;line-height:1.2;letter-spacing:-.01em}
.ms-sector-text small{font-size:12px;opacity:.72}
body[data-design="31oct"] .ms-estimator .ba28-sector[aria-pressed="true"] .ms-picto{background-color:var(--e-ivory,#ffffff)}
body[data-design="31oct"] .ms-estimator .salary-role{text-align:left}
.ms-role-label{flex:1;text-align:left;font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:15px;font-weight:550;line-height:1.3}

/* 2. Le résultat : la source, l'écart régional, les repères par expérience. */
.ms-result-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ms-unit{font-size:13px;line-height:1.5;opacity:.78}
.ms-scale{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;opacity:.82}
.ms-scale b{font-weight:600}
.ms-region{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:13.5px;line-height:1.5}
.ms-region::before{content:"";flex:0 0 8px;height:8px;margin-top:6px;border-radius:50%;background:var(--e-honey,#efc894)}
.ms-exp{display:flex;flex-direction:column;gap:2px;margin:0;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,0.07);border:1px solid rgba(56,36,25,0.014)}
.ms-exp h3{margin:0 0 6px;font-size:14px;font-weight:650;letter-spacing:-.005em}
.ms-exp-row{display:flex;justify-content:space-between;gap:14px;padding:6px 0;border-top:1px solid rgba(56,36,25,0.012);font-size:13.5px;line-height:1.4}
.ms-exp-row:first-of-type{border-top:0}
.ms-exp-row b{white-space:nowrap;font-weight:600;color:var(--e-honey,#efc894)}
.ms-source{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-size:12.5px;line-height:1.5;color:inherit!important;text-decoration:underline;text-decoration-color:rgba(239,200,148,.55);text-underline-offset:3px}
.ms-source:hover{text-decoration-color:currentColor}
.ms-exp .ms-source{margin-top:6px;font-size:12px;opacity:.85}
body[data-design="31oct"] #dc-root#dc-root .salary-result :is(.ms-region,.ms-exp h3,.ms-exp-row span,.ms-unit,.ms-scale){color:#ffffff!important}

.ms-suites{display:flex;flex-direction:column;gap:8px}
body[data-design="31oct"] #dc-root#dc-root .salary-result a.ms-suite{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,0.07);border:1px solid rgba(56,36,25,0.017);color:#ffffff!important;text-decoration:none;transition:background .3s}
body[data-design="31oct"] #dc-root#dc-root .salary-result a.ms-suite:hover{background:rgba(255,255,255,0.13)}
body[data-design="31oct"] #dc-root#dc-root .salary-result .ms-suite-k{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;font-size:14px;font-weight:600;color:#ffffff!important}
body[data-design="31oct"] #dc-root#dc-root .salary-result .ms-suite-k b{font-weight:500;font-size:12.5px;color:var(--e-honey,#efc894)!important}
body[data-design="31oct"] #dc-root#dc-root .salary-result .ms-suite-d{font-size:13px;line-height:1.5;color:rgba(255,255,255,0.78)!important}
body[data-design="31oct"] #dc-root#dc-root .salary-result .ms-exp h3{font-family:'Hanken Grotesk',system-ui,sans-serif!important;font-size:14px!important;font-weight:650!important;letter-spacing:0!important;line-height:1.3!important}

/* 3. « Comment lire ce repère » : trois cartes à pictogramme, sans grands numéros ni capitales. */
.ms-method{padding:clamp(48px,6vw,96px) clamp(20px,4.5vw,64px);background:var(--e-paper,#ffffff);border-top:1px solid var(--e-line,rgba(56,36,25,.12))}
.ms-method-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px 28px;margin:0 0 clamp(20px,3vw,32px)}
.ms-method-head h2{margin:0;font-size:clamp(24px,2.6vw,32px);line-height:1.15;font-weight:650;letter-spacing:-.03em;color:var(--e-ink,#302820)}
.ms-method-head a{font-size:14px;font-weight:600;color:var(--e-amber-d,#a85f30);text-decoration:none}
.ms-method-head a:hover{text-decoration:underline;text-underline-offset:4px}
.ms-method-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}
.ms-method-grid li{display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:20px;background:var(--e-ivory,#ffffff);border:1px solid var(--e-line,rgba(56,36,25,.12))}
.ms-method-grid h3{margin:4px 0 0;font-size:18px;line-height:1.25;font-weight:650;letter-spacing:-.015em;color:var(--e-ink,#302820)}
.ms-method-grid p{margin:0;font-size:14.5px;line-height:1.55;color:var(--e-mute,#58473e)}

/* 4. Exercices : un intertitre par famille de métiers. */
body[data-design="31oct"] .ba31-exercises>div>.ms-ex-family{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin:22px 0 2px;padding:0;font-size:17px;line-height:1.3;font-weight:650;letter-spacing:-.015em;color:var(--e-ink,#302820)}
body[data-design="31oct"] .ba31-exercises>div>.ms-ex-family:first-child{margin-top:0}
.ms-ex-family .ms-picto{width:38px;height:38px;border-radius:11px;background-size:26px 26px}
.ms-ex-family small{font-size:13px;font-weight:450;color:var(--e-mute,#58473e)}

@media (max-width:560px){
 body[data-design="31oct"] .ms-estimator .salary-sector-grid{grid-template-columns:1fr 1fr!important}
 body[data-design="31oct"] .ms-estimator .ba28-sector{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
 .ms-exp-row{flex-direction:column;gap:2px}
}
