/* ===================================================================== écrans tactiles reconstitués */
.ec { position: relative; width: 100%; height: 100%; overflow: hidden; user-select: none; font-family: "Roboto", "Segoe UI", sans-serif; }
.ec button { font: inherit; cursor: pointer; }
.ec .appui { transition: transform .08s; } .ec .appui:active { transform: scale(.96); }
.ec .clignote { animation: clig 1.1s infinite; }
@keyframes clig { 50% { box-shadow: 0 0 0 6px rgba(47,140,255,.35); } }
.ec .attendu { outline: 3px dashed #ff9d00; outline-offset: 3px; animation: guide 1.2s infinite; }
@keyframes guide { 50% { outline-color: transparent; } }

/* ------------------------------------------------------------------ NEKSIA (TCB 800 & Neksia 600) */
.nk { background: linear-gradient(180deg, #f6f8fb, #eef2f7); color: #21324a; font-size: 18px; }
.nk .haut { height: 64px; display: flex; align-items: center; justify-content: center; position: relative; color: #6b7a8e; font-size: 16px; border-bottom: 1px solid #e3e8ef; background: #fbfcfd; }
.nk .haut .gauche { position: absolute; left: 22px; display: flex; gap: 22px; opacity: .45; }
.nk .haut .gauche i { width: 20px; height: 16px; border: 2px solid #9aa6b5; border-radius: 3px; display: block; }
.nk .haut .droite { position: absolute; right: 22px; display: flex; gap: 22px; align-items: center; }
.nk .avatar { width: 34px; height: 34px; border-radius: 50%; background: #1b74e4; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.nk .burger { width: 24px; height: 3px; background: #1b74e4; box-shadow: 0 -8px 0 #1b74e4, 0 8px 0 #1b74e4; }
.nk .power { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #1b74e4; display: grid; place-items: center; } .nk .power::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #1b74e4; }
.nk .titre { height: 92px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 24px; font-weight: 600; color: #22303f; position: relative; }
.nk .titre .excl { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e7962a; color: #e7962a; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.nk .titre .ok { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #29a745; color: #29a745; display: grid; place-items: center; font-weight: 800; }
.nk .onglet { position: absolute; top: 10px; width: 170px; height: 74px; display: grid; place-items: center; font-size: 46px; font-weight: 700; color: #fff; }
.nk .onglet.d { left: 0; background: #8eb2e6; border-radius: 0 10px 10px 0; } .nk .onglet.g { right: 0; background: #d79bc6; border-radius: 10px 0 0 10px; }
.nk .onglet.actif.d { background: #3a7ad8; } .nk .onglet.actif.g { background: #c25aa5; }
.nk .corps { position: absolute; top: 156px; bottom: 74px; left: 0; right: 0; }
.nk .bas { position: absolute; bottom: 0; left: 0; right: 0; height: 74px; background: #e8eef6; display: flex; align-items: center; border-top: 1px solid #d8e0ea; }
.nk .bas .prec, .nk .bas .suiv { height: 100%; width: 210px; border: 0; color: #fff; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 19px; }
.nk .bas .prec { background: #3a7ad8; border-radius: 0 18px 0 0; } .nk .bas .suiv { background: #3a7ad8; border-radius: 18px 0 0 0; margin-left: auto; }
.nk .bas .suiv:disabled { background: #a9c2e8; cursor: default; }
.nk .bas .fil { display: flex; flex: 1; justify-content: space-around; align-items: center; color: #b2bccb; font-size: 19px; }
.nk .bas .fil span { padding: 22px 8px; } .nk .bas .fil span.on { color: #2c5fa8; font-weight: 600; border-bottom: 4px solid #2f6fd0; }
.nk .bas .fil span.fait { color: #6f8db8; }
.nk .cartes { display: grid; grid-template-columns: repeat(4, 250px); gap: 22px; justify-content: center; padding-top: 44px; padding-left: 110px; }
.nk .carte { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; height: 205px; background: #fff; border: 2px solid #e4e9f0; border-radius: 8px; position: relative; text-align: left; padding: 16px; color: #3f6db3; font-size: 19px; box-shadow: 0 2px 8px rgba(30,60,110,.06); }
.nk .carte:hover { border-color: #9fc0ef; } .nk .carte.sel { border-color: #2f6fd0; box-shadow: 0 0 0 3px rgba(47,111,208,.2); }
.nk .carte svg.lunettes { position: absolute; left: 20px; right: 20px; top: 62px; width: calc(100% - 40px); height: 90px; }
.nk .carte .profil { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 30px; }
.nk .lateral { position: absolute; left: 26px; top: 40px; display: flex; flex-direction: column; gap: 26px; align-items: center; color: #3f6db3; font-size: 13px; }
.nk .lateral i { width: 50px; height: 50px; border-radius: 8px; background: #e7edf6; display: grid; place-items: center; font-style: normal; font-size: 26px; color: #2f6fd0; }
.nk .creer { position: absolute; top: -4px; left: 0; right: 0; text-align: center; font-size: 19px; font-weight: 600; color: #26364a; }
.nk .rond { width: 92px; height: 92px; border-radius: 50%; border: 4px solid #2f6fd0; color: #2f6fd0; display: grid; place-items: center; font-size: 30px; margin: 10px auto 0; background: #fff; }
.nk .rond.plein { background: #2f6fd0; color: #fff; }
.nk .grille-mat { display: flex; gap: 22px; justify-content: center; padding-top: 10px; }
.nk .grille-mat .carte { width: 200px; height: 190px; text-align: left; }
.nk .section { color: #3f6db3; font-size: 20px; font-weight: 600; margin: 12px 0 6px 130px; }
.nk .selection { display: flex; gap: 20px; justify-content: center; margin-top: 18px; }
.nk .selection .carte { width: 260px; height: 170px; }
.nk .selection .vide { width: 260px; height: 170px; border: 2px dashed #dbe2ec; border-radius: 8px; }
.nk .liste-modes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 10px 90px; }
.nk .liste-modes h4 { margin: 0 0 14px; color: #6c7c92; font-weight: 500; font-size: 18px; }
.nk .opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; margin-bottom: 10px; background: #fff; border: 2px solid #e4e9f0; border-radius: 8px; color: #3f6db3; font-size: 18px; text-align: left; }
.nk .opt.sel { border-color: #2f6fd0; background: #eef4ff; }
.nk .opt b { width: 34px; height: 34px; border-radius: 50%; background: #2f6fd0; color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.nk .gros-bouton { position: absolute; left: 50%; transform: translateX(-50%); padding: 14px 34px; border-radius: 6px; border: 0; background: #2fa84f; color: #fff; font-size: 21px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.nk .gros-bouton.bleu { background: #2f6fd0; } .nk .gros-bouton.rouge { background: #d9363e; }
.nk .gros-bouton:disabled { background: #a8bfa9; }
.nk .stepper { display: inline-flex; align-items: center; gap: 14px; padding: 6px 12px; background: #fff; border: 2px solid #e8c48f; border-radius: 30px; font-size: 22px; font-weight: 600; color: #233; }
.nk .stepper button { border: 0; background: none; color: #2f6fd0; font-size: 30px; line-height: 1; width: 34px; }
.nk .stepper.focus { border-color: #2f6fd0; box-shadow: 0 0 0 3px rgba(47,111,208,.2); }
.nk .etiquette { font-size: 15px; color: #66768a; text-align: center; margin-bottom: 4px; }
.nk .camera { position: absolute; left: 330px; top: 8px; width: 460px; height: 440px; background: #d9dde2; border: 1px solid #aab3be; overflow: hidden; touch-action: none; }
.nk .camera svg { width: 100%; height: 100%; }
.nk .cmd-haut { position: absolute; top: -66px; left: 180px; display: flex; gap: 22px; align-items: center; font-size: 17px; }
.nk .cmd-haut .orange { background: #f0a23a; color: #fff; border: 0; padding: 8px 16px; border-radius: 4px; }
.nk .cmd-haut .vert { background: #2fa84f; color: #fff; border: 0; padding: 9px 18px; border-radius: 4px; font-weight: 600; }
.nk .cmd-haut .lien { color: #2f6fd0; background: none; border: 0; }
.nk .ronds-droite { position: absolute; right: 150px; top: 20px; display: grid; grid-template-columns: repeat(4, 46px); gap: 12px; }
.nk .ronds-droite i { width: 46px; height: 46px; border-radius: 50%; background: #cfd6df; display: block; }
.nk .ronds-droite i.b { background: #2f6fd0; }
.nk .modes-bas { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 70px; color: #2f6fd0; font-size: 17px; }
.nk .modes-bas span { display: flex; gap: 8px; align-items: center; } .nk .modes-bas span i { width: 26px; height: 26px; border-radius: 50%; background: #2f6fd0; display: block; }
.nk .resume { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 30px; font-size: 15px; color: #3f6db3; }
.nk .resume span { display: flex; gap: 6px; align-items: center; } .nk .resume b.ic { width: 26px; height: 26px; border-radius: 50%; background: #2f6fd0; color: #fff; font-size: 10px; display: grid; place-items: center; }
.nk .menu-finitions { position: absolute; left: 0; right: 0; top: 0; height: 560px; background: #fff; z-index: 5; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: grid; grid-template-columns: repeat(8, 1fr); padding: 70px 20px 20px; gap: 8px; }
.nk .menu-finitions .chevron { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 36px; border-radius: 0 0 10px 10px; background: #fff; border: 0; box-shadow: 0 4px 10px rgba(0,0,0,.1); color: #2f6fd0; font-size: 24px; }
.nk .col h5 { margin: 0 0 18px; font-weight: 500; color: #4a5568; font-size: 16px; text-align: center; }
.nk .col .opt { font-size: 15px; padding: 9px 8px; gap: 8px; }
.nk .col .opt b { width: 28px; height: 28px; font-size: 11px; }
.nk .col .opt .ico { width: 30px; height: 26px; flex: none; }
.nk .progres { position: absolute; left: 120px; right: 120px; bottom: 40px; height: 16px; border-radius: 8px; background: #dbe4f0; overflow: hidden; }
.nk .progres i { display: block; height: 100%; background: linear-gradient(90deg, #2f6fd0, #49a2ff); width: 0; transition: width .3s; }
.nk .phase { position: absolute; left: 0; right: 0; bottom: 70px; text-align: center; font-size: 22px; color: #2c5fa8; font-weight: 600; }
.nk .bloc3d { position: absolute; left: 60px; top: 10px; width: 520px; height: 420px; }
.nk .forme-droite { position: absolute; right: 70px; top: 120px; width: 360px; height: 220px; }
.nk .verre-pastille { position: absolute; right: 120px; top: 80px; width: 330px; height: 250px; }
.nk .clavier-num { position: absolute; z-index: 9; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 14px; display: grid; grid-template-columns: repeat(3, 70px); gap: 8px; }
.nk .clavier-num button, .hz .clavier-num button { height: 56px; border: 1px solid #d7dde6; background: #f6f8fb; border-radius: 8px; font-size: 22px; }
.nk .clavier-num .val, .hz .clavier-num .val { grid-column: 1 / 4; height: 50px; border-radius: 8px; background: #eef3fb; display: flex; align-items: center; justify-content: flex-end; padding: 0 14px; font-size: 26px; font-weight: 600; }
.nk .clavier-num .ok, .hz .clavier-num .ok { background: #2fa84f; color: #fff; border: 0; }

/* ------------------------------------------------------------------ HUVITZ (HAB-8000 / HPE-8000 « X EXPERT ») */
.hz { background: #d6d9de; color: #1d2128; font-size: 17px; }
.hz .entete { height: 96px; background: linear-gradient(180deg, #5b6068, #464a51); display: flex; align-items: center; padding: 0 10px; gap: 14px; color: #e9edf3; border-bottom: 3px solid #2f6fd8; }
.hz .lettre { width: 84px; height: 80px; border-radius: 4px; display: grid; place-items: center; font-size: 56px; font-weight: 700; color: #fff; }
.hz .lettre.r { background: linear-gradient(180deg, #3d7ef0, #1f5ccc); } .hz .lettre.l { background: linear-gradient(180deg, #d54848, #a92a2a); }
.hz .lettre.off { filter: grayscale(.6) brightness(.8); }
.hz .vals { display: flex; flex-direction: column; font-size: 15px; gap: 2px; min-width: 80px; }
.hz .vals span::before { content: "◠ "; color: #9fb3d0; }
.hz .vals .jaune { color: #f6dc4c; }
.hz .icone-mont { display: flex; flex-direction: column; align-items: center; font-size: 13px; color: #cfd6e0; }
.hz .icone-mont svg { width: 70px; height: 34px; }
.hz .nomfichier { flex: 1; height: 60px; border-radius: 6px; background: #3b3f45; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #f1f4f8; border: 1px solid #5d636c; }
.hz .dossier { width: 60px; height: 60px; border-radius: 6px; background: #3b3f45; border: 1px solid #5d636c; display: grid; place-items: center; font-size: 26px; }
.hz .zone-dessin { position: absolute; top: 96px; left: 0; right: 0; height: 360px; background: linear-gradient(180deg, #eef0f3, #e2e5ea); }
.hz .zone-dessin svg { width: 100%; height: 100%; }
.hz .jaune-champ { fill: #f2e33a; stroke: #b9a81a; }
.hz .champ { cursor: pointer; }
.hz .champ:hover rect { stroke: #1f5ccc; stroke-width: 3; }
.hz .panneau-bas { position: absolute; left: 0; right: 0; bottom: 0; top: 456px; background: linear-gradient(180deg, #4b4f56, #3a3d43); display: grid; grid-template-columns: 100px 1fr 1fr 130px; gap: 10px; padding: 12px; }
.hz .col-icones { display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: #cfd6e0; }
.hz .col-icones i { width: 70px; height: 70px; border-radius: 12px; background: linear-gradient(180deg, #6e747d, #50555d); display: grid; place-items: center; font-style: normal; font-size: 30px; }
.hz .tuile { border-radius: 10px; background: linear-gradient(180deg, #c7ced8, #8f98a5); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 18px; color: #1d2128; }
.hz .tuile .mat { width: 150px; height: 180px; border-radius: 10px; background: linear-gradient(135deg, #f3f6fb, #a8b6cb 70%, #3c6ad8); position: relative; box-shadow: inset -10px 0 20px rgba(0,0,0,.2); }
.hz .tuile .mat b { position: absolute; right: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; background: #2f6fd8; color: #fff; display: grid; place-items: center; font-size: 20px; }
.hz .tuile .choix { display: flex; flex-direction: column; gap: 8px; }
.hz .tuile .choix button { min-width: 150px; padding: 9px 12px; border-radius: 8px; border: 1px solid #6f7884; background: #e8ecf1; font-size: 15px; text-align: left; display: flex; gap: 10px; align-items: center; }
.hz .tuile .choix button.sel { background: #2f6fd8; color: #fff; border-color: #1b4fb0; }
.hz .tuile .choix svg { width: 34px; height: 22px; }
.hz .gros { border: 0; border-radius: 12px; background: linear-gradient(180deg, #7b828c, #575d66); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; }
.hz .gros svg { width: 64px; height: 50px; }
.hz .gros.actif { background: linear-gradient(180deg, #3d7ef0, #1f5ccc); }
.hz .popup { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 640px; height: 700px; background: #f4f6f8; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.45); overflow: hidden; }
.hz .popup .ptitre { height: 64px; background: linear-gradient(180deg, #5b6068, #464a51); color: #7fb2ff; display: flex; align-items: center; justify-content: center; font-size: 21px; position: relative; }
.hz .popup .ptitre .sortie { position: absolute; right: 14px; top: 10px; width: 44px; height: 44px; border: 0; background: #fff; border-radius: 6px; font-size: 22px; }
.hz .popup .onglets { display: flex; gap: 6px; padding: 10px 20px 0; background: repeating-linear-gradient(135deg, #e9edf1 0 10px, #f4f6f8 10px 20px); }
.hz .popup .onglets span { padding: 10px 26px; border-radius: 8px 8px 0 0; background: #e2e6ea; color: #8a94a2; }
.hz .popup .onglets span.on { background: #fff; color: #2f6fd8; }
.hz .popup .vue { margin: 0 20px; height: 470px; background: #2d3036; border-radius: 6px; position: relative; overflow: hidden; }
.hz .popup .vue svg { width: 100%; height: 100%; }
.hz .popup .pied { display: flex; justify-content: space-between; align-items: center; padding: 16px 30px; }
.hz .popup .pied .bleu { background: #2f6fd8; color: #fff; padding: 12px 22px; border-radius: 4px; font-size: 20px; border: 0; }
.hz .popup .pied i { width: 64px; height: 50px; border-radius: 6px; background: #dfe7f5; display: grid; place-items: center; font-style: normal; font-size: 22px; }
.hz .message { position: absolute; left: 50%; top: 110px; transform: translateX(-50%); background: #fff9d2; border: 2px solid #e6c400; padding: 10px 18px; border-radius: 6px; font-size: 18px; z-index: 4; white-space: nowrap; }
.hz .message.orange { background: #ef7b2b; border-color: #c95c10; color: #fff; }
.hz .clavier-num { position: absolute; z-index: 9; background: #4a4f56; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.45); padding: 14px; display: grid; grid-template-columns: repeat(3, 70px); gap: 8px; }
.hz .camera-cercle { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hz .colonne-blocage { position: absolute; right: 0; top: 340px; bottom: 0; width: 220px; background: #3a3d43; display: flex; flex-direction: column; gap: 10px; padding: 10px; }
.hz .colonne-blocage button { flex: 1; border: 0; border-radius: 8px; background: linear-gradient(180deg, #6a7079, #4c5159); color: #fff; font-size: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.hz .colonne-blocage button.bloquer { flex: 1.6; background: linear-gradient(180deg, #e9edf2, #b8c0cb); color: #1d2128; font-weight: 700; }
.hz .cycle { position: absolute; inset: 96px 0 0 0; background: linear-gradient(180deg, #e8ebef, #cfd4db); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.hz .cycle .barre { width: 70%; height: 22px; border-radius: 11px; background: #fff; overflow: hidden; border: 1px solid #9aa3ae; }
.hz .cycle .barre i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f6fd8 0 80%, #e03c3c 80%); }
.hz .bandeau-orange { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; background: #ef7b2b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; }

/* ------------------------------------------------------------------ FRONTOFOCOMÈTRE */
.ff { background: #1e2a33; color: #fff; font-family: "Segoe UI", sans-serif; }
.ff .tete { height: 60px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: #2a3946; }
.ff .cible { position: absolute; left: 30px; top: 80px; width: 470px; height: 470px; border-radius: 50%; background: radial-gradient(circle, #45e0e6, #18b3c1); overflow: hidden; }
.ff .cible svg { width: 100%; height: 100%; }
.ff .tableau { position: absolute; right: 30px; top: 90px; width: 280px; display: flex; flex-direction: column; gap: 10px; }
.ff .tableau div { display: flex; justify-content: space-between; align-items: center; background: #f2f6f8; color: #1a2630; padding: 10px 16px; border-radius: 8px; font-size: 26px; font-weight: 600; }
.ff .tableau div small { font-size: 16px; color: #2a8ec9; }
.ff .etat { position: absolute; right: 30px; bottom: 30px; width: 280px; padding: 14px; text-align: center; border-radius: 10px; font-size: 22px; font-weight: 700; background: #ffcc33; color: #3a2b00; }
.ff .etat.ok { background: #38d07a; color: #053018; }
.ff .touches { position: absolute; left: 30px; bottom: 6px; display: flex; gap: 12px; }
.ff .touches span { width: 100px; height: 26px; border-radius: 4px; background: #f3c641; display: block; }
