.measurement-banner{background:radial-gradient(circle at 82% 25%,rgba(244,185,66,.2),transparent 28%),linear-gradient(135deg,#031124,#123d66)}.measurement-section{padding-top:65px}.measurement-lab{max-width:1600px;margin:auto;display:grid;grid-template-columns:310px minmax(0,1fr);overflow:hidden;border:1px solid #d8e1eb;border-radius:28px;background:#fff;box-shadow:0 28px 80px rgba(7,26,51,.15)}.measurement-sidebar{padding:1.4rem;background:linear-gradient(180deg,#fff,#f3f7fb);border-right:1px solid #dce4ed}.measurement-sidebar h2{font-size:1.3rem;margin-bottom:1.2rem}.measurement-sidebar label{display:block;margin-bottom:1rem;color:#29415f;font-size:.76rem;font-weight:850}.measurement-sidebar select{width:100%;margin-top:.4rem;padding:.72rem;border:1px solid #d4e0eb;border-radius:12px;background:#fff}.measurement-sidebar output{float:right;color:#0f67d8}.measurement-sidebar input[type=range]{width:100%;margin-top:.5rem;accent-color:#0f67d8}.power-row{display:flex;align-items:center;justify-content:space-between;padding:.8rem;border:1px solid #d9e3ed;border-radius:13px;background:#fff;font-size:.78rem;font-weight:800}.power-row button{display:flex;align-items:center;gap:.4rem;padding:.5rem .75rem;border:0;border-radius:999px;background:#dce3ea;color:#67788b}.power-row button.on{background:#dff8e9;color:#13804a;box-shadow:0 0 0 2px #b9eccf}.lesson-card{display:flex;gap:.7rem;margin-top:1rem;padding:1rem;border-radius:15px;background:#fff6da;color:#5d4a17}.lesson-card>i{font-size:1.25rem;color:#d49400}.lesson-card strong{font-size:.78rem}.lesson-card p{margin:.25rem 0 0;font-size:.7rem;line-height:1.5}.measurement-workbench{min-width:0;padding:1.1rem;background:#e9eef3}.meter-toolbar{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.instrument-switch,.mode-switch{display:flex;padding:.25rem;border-radius:13px;background:#dbe3eb}.instrument-switch button,.mode-switch button{border:0;border-radius:10px;padding:.58rem .8rem;background:transparent;color:#61758b;font-size:.74rem;font-weight:850}.instrument-switch button.active,.mode-switch button.active{background:#fff;color:#0f67d8;box-shadow:0 5px 14px rgba(7,26,51,.12)}.mode-switch button{min-width:72px;font-size:1rem}.mode-switch span{display:block;font-size:.55rem}.meters{min-height:285px;display:grid;place-items:center;padding:1rem;border-radius:20px;background:linear-gradient(145deg,#152637,#091522);box-shadow:inset 0 0 35px rgba(0,0,0,.35)}.meters>[data-instrument]{display:none}.meters>[data-instrument].active{display:block}.digital-meter{position:relative;width:270px;padding:1rem 1.1rem 1.2rem;border:5px solid #f3ad22;border-radius:25px;background:#2e3439;box-shadow:0 18px 40px #0008}.meter-brand{text-align:center;color:#dbe2e8;font-size:.62rem;font-weight:900;letter-spacing:.12em}.digital-screen{position:relative;display:flex;align-items:baseline;justify-content:flex-end;height:77px;margin:.55rem 0;padding:.6rem .8rem;border:5px inset #555;background:#b8caad;color:#17231b;font:700 2.4rem Consolas}.digital-screen small{margin-left:.35rem;font-size:1rem}.digital-screen em{position:absolute;left:.6rem;top:.45rem;font-size:.55rem;font-style:normal}.meter-dial{position:relative;width:82px;height:82px;margin:auto;border:7px solid #171b1e;border-radius:50%;background:#4b5359;color:#f5bd46;font-size:.55rem}.meter-dial i{position:absolute;left:35px;top:8px;width:6px;height:30px;border-radius:5px;background:#f5bd46}.meter-dial span,.meter-dial b{position:absolute}.meter-dial span{left:28px;top:-17px}.meter-dial b:nth-of-type(1){right:-12px;top:22px}.meter-dial b:nth-of-type(2){right:5px;bottom:-14px}.meter-dial b:nth-of-type(3){left:-10px;top:24px}.meter-ports{position:absolute;right:13px;bottom:17px;display:flex;gap:.45rem}.port{width:34px;height:34px;display:grid;place-items:center;border:4px solid;border-radius:50%;background:#111;color:#fff;font-size:.42rem}.port.black{border-color:#111}.port.red{border-color:#d83945}.analog-meter{width:360px;padding:1rem;border:6px solid #26313a;border-radius:18px;background:#d8d1bd;box-shadow:0 18px 40px #0008}.analog-title{text-align:center;font-size:.67rem;font-weight:900;letter-spacing:.1em}.analog-display{position:relative;height:135px;margin:.5rem;border:4px solid #4d5354;border-radius:130px 130px 12px 12px;background:repeating-radial-gradient(circle at 50% 100%,transparent 0 18px,#a99f85 19px 20px,transparent 21px 27px),#f4eedc;overflow:hidden}.scale-marks{padding:20px;text-align:center;font:700 .65rem Consolas}.needle{position:absolute;left:50%;bottom:8px;width:42%;height:2px;background:#d52432;transform-origin:left center;transform:rotate(-160deg);transition:transform .35s ease}.needle-center{position:absolute;left:calc(50% - 8px);bottom:0;width:16px;height:16px;border-radius:50%;background:#25292c}.analog-reading{text-align:center}.analog-reading strong,.analog-reading span{display:block}.analog-reading span{font-size:.62rem;color:#6b6659}.analog-knob{width:48px;height:48px;margin:.5rem auto 0;border:7px solid #20272d;border-radius:50%;background:#59636a}.circuit-zone{margin-top:1rem;padding:1rem;border:1px solid #d5dfe8;border-radius:20px;background:#fff}.circuit-heading{display:flex;align-items:center;justify-content:space-between}.circuit-heading h2{font-size:1.25rem}.circuit-heading button{padding:.55rem .75rem;border:0;border-radius:10px;background:#e9eff5;color:#344b65;font-size:.7rem;font-weight:800}.circuit-board{position:relative;height:330px;overflow:hidden;border:10px solid #c69b60;border-radius:16px;background-color:#eee2c8;background-image:radial-gradient(#bcae91 1px,transparent 1px);background-size:18px 18px;box-shadow:inset 0 0 22px rgba(86,53,16,.16)}#circuit-svg{display:block;width:100%;height:100%}.wire{fill:none;stroke:#33485b;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.component{fill:#e4c38d;stroke:#735b37;stroke-width:4}.battery{stroke:#c73d49;stroke-width:7}.circuit-label{fill:#263d55;font:800 18px Inter}.circuit-value{fill:#526a80;font:700 14px Inter}.circuit-node{fill:#fff;stroke:#0f67d8;stroke-width:6;cursor:pointer;transition:.2s}.circuit-node:hover{r:13;fill:#dceeff}.circuit-node.red-selected{fill:#e33949;stroke:#8e1823}.circuit-node.black-selected{fill:#20272e;stroke:#000}.node-label{fill:#102a43;font:900 14px Inter;pointer-events:none}.probe-status{display:flex;flex-wrap:wrap;gap:1.2rem;margin:.75rem 0;font-size:.72rem}.probe-status i{display:inline-block;width:9px;height:9px;margin-right:.35rem;border-radius:50%}.red-dot{background:#e33949}.black-dot{background:#20272e}.measurement-result{display:flex;align-items:flex-start;gap:.7rem;padding:.85rem 1rem;border-radius:13px;background:#eaf3ff;color:#244766}.measurement-result.warning{background:#fff0df;color:#7b4c12}.measurement-result.success{background:#e4f8ec;color:#175d38}.measurement-result>i{font-size:1.1rem}.measurement-result strong{font-size:.82rem}.measurement-result p{margin:.15rem 0 0;font-size:.7rem}.measurement-credit{text-align:right;margin:.8rem .2rem 0;color:#6b7c8f;font-size:.67rem}.measurement-credit strong{color:#9c6a00}@media(max-width:1050px){.measurement-lab{grid-template-columns:270px 1fr}}@media(max-width:850px){.measurement-lab{grid-template-columns:1fr}.measurement-sidebar{border-right:0}.setting-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}.meter-toolbar{flex-direction:column}.circuit-board{height:285px}}@media(max-width:600px){.measurement-section .container-fluid{padding:0 .55rem!important}.measurement-lab{border-radius:18px}.setting-grid{grid-template-columns:1fr}.measurement-workbench{padding:.55rem}.mode-switch,.instrument-switch{width:100%}.mode-switch button,.instrument-switch button{flex:1}.analog-meter{width:min(100%,360px)}.digital-meter{width:min(100%,270px)}.circuit-heading{align-items:flex-start;gap:.5rem}.circuit-board{height:240px}.probe-status{display:grid;gap:.4rem}}
/* Cadran analogique gradué et insertion correcte de l'ampèremètre */
.caliber-control{display:flex;align-items:center;gap:.5rem;margin:0;color:#5c7086;font-size:.68rem;font-weight:850}.caliber-control select{min-width:90px;padding:.55rem;border:1px solid #ccd7e2;border-radius:10px;background:#fff;color:#19334e;font-weight:800}.analog-display{height:155px}.analog-scale{position:absolute;inset:0;width:100%;height:100%}.scale-arc{fill:none;stroke:#625d50}.scale-arc.major{stroke-width:2}.scale-arc.minor{stroke-width:1;stroke:#a59c86}.major-tick{stroke:#252a2c;stroke-width:2}.minor-tick{stroke:#625d50;stroke-width:1}.scale-number{fill:#24292c;font:700 9px Consolas}.scale-unit{fill:#b2212d;font:900 14px Inter}.scale-caliber{fill:#6c6556;font:700 8px Inter}.analog-reading .overload{color:#b42332;font-weight:900}.analog-knob{position:relative}.analog-knob i{position:absolute;left:17px;top:0;width:4px;height:17px;border-radius:3px;background:#f4b942}.current-insertion{margin:.75rem 0;padding:.8rem;border:1px solid #efc96a;border-radius:13px;background:#fff8df}.current-insertion strong{display:block;color:#654b0b;font-size:.78rem}.current-insertion>div{display:flex;flex-wrap:wrap;gap:.5rem;margin:.55rem 0}.current-insertion button{padding:.55rem .7rem;border:1px solid #d8b24e;border-radius:10px;background:#fff;color:#6a500d;font-size:.7rem;font-weight:850}.current-insertion button.active{background:#f4b942;color:#071a33;box-shadow:0 0 0 3px rgba(244,185,66,.25)}.current-insertion small{color:#806b35;font-size:.65rem}.inserted-ammeter circle{fill:#fff;stroke:#e18c13;stroke-width:6}.inserted-ammeter text{fill:#9b5700;font:900 24px Inter}.inserted-ammeter path{fill:none;stroke:#e18c13;stroke-width:6}.analog-meter{background:linear-gradient(145deg,#e9e2cf,#cfc5ab);border-color:#19242d}.analog-title{padding:.28rem;border-radius:5px;background:#27333a;color:#f4e9ca}.meter-toolbar{align-items:center}@media(max-width:850px){.caliber-control{justify-content:space-between;width:100%}}
.improved-analog-meter{background:linear-gradient(145deg,#e9e2cf,#cfc5ab)!important;border-color:#19242d!important}.improved-analog-meter .analog-display{height:155px}
