:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#163446;background:#f2f6f8;line-height:1.55;font-size:17px}*{box-sizing:border-box}body{margin:0}header{background:#102e40;color:white;padding:16px max(20px,calc((100% - 1080px)/2));display:flex;justify-content:space-between;gap:16px;align-items:center}header a{color:white;text-decoration:none;font-size:23px;font-weight:800}header span{font-weight:400;font-size:17px}main{max-width:1100px;margin:auto;padding:26px 20px 90px}h1{font-size:clamp(28px,5vw,40px);line-height:1.15;margin:8px 0 16px}h2{font-size:24px;line-height:1.3;margin:0 0 16px}h3{font-size:20px;margin:8px 0}.eyebrow{font-size:14px;letter-spacing:.1em;font-weight:750;color:#426a78}.hero{margin-bottom:24px}.card{background:white;border:1px solid #d7e2e9;border-radius:14px;padding:24px;margin:18px 0;overflow-wrap:anywhere}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}button,.button{font:inherit;font-weight:650;min-height:52px;padding:12px 20px;border:1px solid #b7cbd7;border-radius:9px;background:white;color:#163446;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-align:center}button:disabled{opacity:.55;cursor:wait}.primary{background:#136b6d;color:white;border-color:#136b6d}.danger{color:#a3282c;border-color:#b5474a}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #cc8a1f;outline-offset:3px}label{display:grid;gap:8px;font-weight:650;margin:18px 0}input,select,textarea{font:inherit;min-height:50px;border:1px solid #a8bfce;border-radius:8px;padding:12px;width:100%;color:#163446;background:white}textarea{min-height:150px;resize:vertical}.check{display:flex;align-items:center;gap:14px;min-height:50px}.check input{width:24px;height:24px;min-height:24px;flex-shrink:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.grid .card{margin:0}.notice{padding:16px 20px;border-left:5px solid #148d8c;background:#e4f6f3;margin:20px 0;white-space:pre-line}.notice.error{border-color:#b32d35;background:#ffeded}.notice.warning{border-color:#bf8a24;background:#fff6df}.muted{color:#4d6778}.badge{display:inline-block;padding:5px 12px;border-radius:20px;background:#e6eff4;font-size:15px;font-weight:650}.badge.request{background:#fff1cb;color:#795017}.badge.good{background:#dff3e8;color:#205738}.metric{font-size:32px;font-weight:800}.photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px;margin:18px 0}figure{margin:0}figure img{max-width:100%;width:100%;height:200px;object-fit:contain;border-radius:9px;background:#f3f6f8}figcaption{font-size:15px;padding-top:8px;overflow-wrap:anywhere}.sticky{position:sticky;bottom:0;background:#f2f6f8f5;border-top:1px solid #c3d3dc;padding:16px 0;display:flex;gap:12px;flex-wrap:wrap;z-index:3}progress{width:100%;height:24px;display:block;margin-top:16px;accent-color:#136b6d}.pre{white-space:pre-wrap}details{border-top:1px solid #d7e2e9;padding-top:15px;margin-top:20px}summary{cursor:pointer;font-weight:700;min-height:44px}.bar{height:14px;max-width:100%;background:#208b83;border-radius:6px}.statline{margin:14px 0}dialog{border:1px solid #c3d3dc;border-radius:12px;max-width:900px;width:95%;max-height:90vh}dialog::backdrop{background:#102e4077}[hidden]{display:none!important}@media(max-width:600px){main{padding:20px 14px 90px}.card{padding:18px}.actions>button,.actions>.button{flex:1 1 160px}.sticky button{flex:1}.grid{grid-template-columns:1fr}header{padding:14px}.photos{grid-template-columns:1fr 1fr}}

/* Solicitud de administración: se distingue de una mantención programada */
.notice.request-note{border-color:#c9922a;background:#fff6e4}

/* Ficha del equipo (Generador / Sala de bombas) dentro de la ruta */
.rf-list .rf-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #e1e9ee}
.rf-head{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:12px 0 16px}
.rf-head dt{font-weight:700;color:#426a78}.rf-head dd{margin:0}
.rf-item{padding:14px 0;border-top:1px solid #e1e9ee}
.rf-item.rf-abnormal{background:#fff4f1;margin:0 -12px;padding:14px 12px;border-radius:8px}
.rf-label{font-weight:650;margin-bottom:8px}
.rf-seg{display:flex;gap:8px;flex-wrap:wrap}
.rf-opt{display:block;margin:0}
.rf-opt input{position:absolute;opacity:0;width:1px;height:1px}
.rf-opt span{display:inline-flex;align-items:center;justify-content:center;min-width:78px;min-height:52px;padding:0 18px;border:1px solid #a8bfce;border-radius:9px;background:#fff;font-weight:700;cursor:pointer}
.rf-opt input:focus-visible+span{outline:3px solid #cc8a1f;outline-offset:2px}
.rf-yes input:checked+span{background:#1f7a4d;border-color:#1f7a4d;color:#fff}
.rf-no input:checked+span{background:#b32d35;border-color:#b32d35;color:#fff}
.rf-na input:checked+span{background:#5f7484;border-color:#5f7484;color:#fff}
.rf-na input:checked+span{background:#5b6f7c;border-color:#5b6f7c;color:#fff}
.rf-opt input:disabled+span{cursor:default;opacity:.8}
.rf-meas{display:flex;align-items:center;gap:10px;max-width:360px}.rf-meas select{width:auto;min-width:110px}.rf-meas span{font-weight:700;min-width:44px;white-space:nowrap}
.rf-more{margin-top:10px;padding-top:8px;border-top:0}
.rf-more summary{font-weight:600;color:#426a78;min-height:40px}
.rf-photo{display:inline-flex;align-items:center;margin-top:10px}
.rf-sign{border-top:1px solid #e1e9ee;padding:12px 0}
.rf-pad{width:100%;height:auto;aspect-ratio:3/1;border:2px dashed #a8bfce;border-radius:10px;background:#fff;touch-action:none}
.rf-pad-img{max-width:100%;height:120px;object-fit:contain;background:#fff;border:1px solid #d7e2e9;border-radius:8px}
@media(max-width:600px){.rf-list .rf-row{flex-direction:column;align-items:stretch}.rf-opt{flex:1}.rf-opt span{width:100%;min-width:0}}

/* «Equipos» (levantamiento) arriba de la ruta */
.rt-equipos{display:flex;align-items:center;gap:16px;width:100%;min-height:96px;margin:4px 0 8px;padding:16px 20px;border:0;border-radius:16px;background:#306c18;color:#fff;text-align:left;justify-content:flex-start;box-shadow:0 6px 18px #0a2c4318}
.rt-equipos>span:first-child{font-size:34px}.rt-equipos b{display:block;font-size:26px}.rt-equipos small{display:block;font-size:17px;font-weight:500;opacity:.92}
.rt-equipos[aria-expanded="true"]{border-radius:16px 16px 0 0;margin-bottom:0}
.rt-eq-list{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.rt-eq-list h3{margin-top:18px}
.rt-eq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.rt-eq{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:96px;text-align:left;justify-content:center}
.rt-eq b{font-size:20px}.rt-eq span{font-weight:500;font-size:16px;color:#365466}.rt-eq small{font-size:14px}
@media(max-width:600px){.rt-eq-grid{grid-template-columns:1fr}}
.rt-code{border:2px solid #306c18;border-radius:12px;padding:6px 14px;margin:10px 0;background:#f3f9ef}.rt-code-preview{font-size:20px;margin:6px 0 10px}.rt-code-preview b{font-size:24px;color:#225929}
/* Horómetro: última lectura y horas de prueba */
.rf-hint{margin:6px 0 0;font-size:.95rem;color:#3c4a57}
.rf-hint:empty{display:none}
.rf-hint.rf-warn{color:#8a1c1c;font-weight:600}
/* Cabecera ZUREX: Volver · logo · Salir (25/10/2026) */
header.rt-head{background:#fff;color:#0B2D5B;border-bottom:1px solid #E4E7EB;padding:10px max(14px,calc((100% - 1080px)/2));display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;position:sticky;top:0;z-index:5}
.rt-back{justify-self:start;display:inline-flex;align-items:center;gap:4px;min-height:48px;padding:0 14px 0 6px;border:1px solid #D5DCE4;border-radius:12px;color:#0B2D5B!important;font-size:17px!important;font-weight:700!important;text-decoration:none}
.rt-back svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.rt-logo{justify-self:center;display:flex}.rt-logo img{height:34px;width:auto;display:block}
.rt-out{justify-self:end;min-height:48px;padding:0 16px;color:#0B2D5B;border-color:#D5DCE4;border-radius:12px}
.rt-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rt-title{margin:4px 0 0;font-size:15px;font-weight:700;color:#5B6B7B}
.rt-dl h2{color:#0B2D5B;margin-bottom:6px}
.rt-all{display:flex;align-items:center;gap:14px;margin:18px 0 8px;padding:12px 16px;border-radius:12px;background:#EDF1F7;color:#0B2D5B;font-weight:800;min-height:56px;cursor:pointer}
.rt-sites{display:grid;gap:10px}
.rt-site{display:flex;align-items:center;gap:14px;margin:0;padding:12px 16px;min-height:62px;border:1px solid #E4E7EB;border-radius:12px;background:#fff;cursor:pointer;font-weight:700}
.rt-site:has(input:checked){border-color:#0B2D5B;background:#F4F7FB;box-shadow:inset 4px 0 0 #0B2D5B}
.rt-site:has(input:disabled){opacity:.55;cursor:not-allowed}
.rt-site small{display:block;font-weight:500;color:#8a1c1c;font-size:14px}
.rt-all input,.rt-site input{width:26px;height:26px;min-height:26px;flex-shrink:0;accent-color:#0B2D5B}
.rt-note{font-size:15px;margin:14px 0 0}
.rt-go{width:100%;margin-top:16px;min-height:58px;font-size:18px;background:#0B2D5B;border-color:#0B2D5B;border-radius:12px}
@media(max-width:420px){.rt-logo img{height:28px}.rt-back{padding-right:10px}}
/* Línea gráfica ZUREX en todas las pantallas de la ruta (igual al inicio de Terreno) */
body.rt-brand{background:#F5F6F8;color:#1B2733}
body.rt-brand main{padding-top:14px}
body.rt-brand .card{background:#fff;border:1px solid #E4E7EB;border-radius:14px;box-shadow:0 1px 2px #0B2D5B0d,0 4px 14px #0B2D5B0a}
body.rt-brand h1,body.rt-brand h2,body.rt-brand h3{color:#0B2D5B}
body.rt-brand .eyebrow{color:#5B6B7B;letter-spacing:.04em}
body.tech-readable.rt-brand :is(button,.button){border:1px solid #D5DCE4;border-radius:12px;background:#fff;color:#0B2D5B}
body.tech-readable.rt-brand :is(button.primary,a.primary,.button.primary){background:#0B2D5B;border-color:#0B2D5B;color:#fff}
body.tech-readable.rt-brand :is(button.primary,a.primary):hover{background:#123d78}
body.tech-readable.rt-brand button.danger{color:#a3282c;border-color:#e3b9bb}
body.rt-brand .badge{background:#EDF1F7;color:#0B2D5B}
body.rt-brand .badge.good{background:#e3f2e9;color:#1d5a37}
body.rt-brand .badge.request{background:#fff1cb;color:#795017}
body.rt-brand .rt-equipos{background:#0B2D5B;box-shadow:0 6px 18px #0B2D5B26}
body.rt-brand .rt-code{border-color:#0B2D5B;background:#F4F7FB}
body.rt-brand .sticky{background:#ffffffef;border-top:1px solid #E4E7EB;backdrop-filter:blur(6px)}
body.rt-brand .notice{border-left-color:#0B2D5B;background:#EDF1F7}
body.rt-brand .notice.error{border-color:#b32d35;background:#ffeded}
body.rt-brand .notice.warning{border-color:#bf8a24;background:#fff6df}
body.rt-brand progress{accent-color:#0B2D5B}
body.rt-brand .bar{background:#0B2D5B}
body.rt-brand input,body.rt-brand select,body.rt-brand textarea{border-color:#C9D2DC;border-radius:10px}
body.tech-readable.rt-brand header.rt-head :is(.rt-back,.rt-out){min-height:48px;font-size:17px;padding:0 14px}
body.tech-readable.rt-brand button.rt-equipos{background:#0B2D5B;color:#fff;border:0;border-radius:14px}
body.tech-readable.rt-brand button.rt-equipos small{color:#fff}
.rt-equipos>span.rt-eq-ic{flex:0 0 52px;width:52px;height:52px;border-radius:12px;background:#ffffff1f;display:grid;place-items:center;font-size:0}
.rt-eq-ic svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* Acceso directo a las fichas desde la actividad */
.rt-fichas{display:grid;gap:10px;margin:14px 0}
body.tech-readable.rt-brand button.rt-ficha{display:flex;align-items:center;gap:14px;width:100%;justify-content:flex-start;text-align:left;min-height:74px;padding:12px 16px;background:#0B2D5B;border-color:#0B2D5B;color:#fff;border-radius:12px}
body.tech-readable.rt-brand button.rt-ficha.done{background:#fff;color:#0B2D5B;border-color:#9fc5ae}
.rt-ficha b{display:block;font-size:19px}.rt-ficha small{display:block;font-size:15px!important;font-weight:500;opacity:.9}
.rt-ficha-ic{flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:#ffffff26;display:grid;place-items:center;font-weight:800}
.rt-ficha.done .rt-ficha-ic{background:#e3f2e9;color:#1d5a37}
.rt-ficha:not(.done) .rt-ficha-ic::before{content:"";width:18px;height:22px;border:2px solid #fff;border-radius:3px}
/* Ficha: puntos que faltan, en rojo */
.rf-item.rf-missing{border:2px solid #c62828!important;background:#fff5f5;border-radius:12px;padding:10px 12px}
.rf-need{margin:0 0 6px;color:#b71c1c;font-weight:700;font-size:16px!important}
.rf-missing-input{border:2px solid #c62828!important;background:#fff5f5}
/* Aviso emergente */
.rf-toast{position:fixed;left:50%;bottom:calc(150px + env(safe-area-inset-bottom));transform:translate(-50%,20px);opacity:0;transition:opacity .25s,transform .25s;z-index:50;width:max-content;max-width:min(92vw,520px);box-sizing:border-box;padding:16px 22px;border-radius:14px;font-size:19px;font-weight:700;box-shadow:0 10px 30px #0B2D5B40;text-align:center;pointer-events:none}
.rf-toast.on{opacity:1;transform:translate(-50%,0)}
.rf-toast-ok{background:#0B2D5B;color:#fff}
.rf-toast-error{background:#b71c1c;color:#fff}
@media (prefers-reduced-motion:reduce){.rf-toast{transition:none}}
/* Barra inferior de la ficha más compacta */
body.tech-readable.rt-brand .sticky{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0}
body.tech-readable.rt-brand .sticky button{min-height:52px;font-size:17px;padding:8px 10px;margin:0}
body.tech-readable.rt-brand .sticky button.primary{grid-column:1/-1}
/* Acta BECI */
body.rt-brand .rt-acta{border:2px solid #c62828}
body.rt-brand .rt-acta.ok{border:1px solid #9fc5ae;background:#f4fbf6}
.rt-acta-state{font-weight:700;color:#b71c1c}.rt-acta.ok .rt-acta-state{color:#1d5a37}
.rt-acta-line{font-weight:700;color:#b71c1c;margin:6px 0}.rt-acta-line.ok{color:#1d5a37}
/* Lo que impide finalizar: enlaces a cada registro */
.rt-issues ul{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
body.tech-readable.rt-brand button.rt-issue{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;min-height:52px;padding:10px 14px;background:#fff;border:1px solid #e3b9bb;color:#8a1c1c;border-radius:10px;font-size:17px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.rt-issue span{font-size:24px;text-decoration:none}
/* Barra de carga de fotografías */
.zx-pp{position:fixed;inset:0;z-index:70;display:grid;place-items:center;background:#0B2D5B33;padding:16px}
.zx-pp-card{width:min(92vw,460px);background:#fff;border-radius:16px;padding:20px 22px;box-shadow:0 14px 40px #0B2D5B40}
.zx-pp-title{display:block;color:#0B2D5B;font-size:19px;margin-bottom:12px}
.zx-pp-track{height:18px;border-radius:10px;background:#EDF1F7;overflow:hidden}
.zx-pp-fill{height:100%;width:0;background:#0B2D5B;border-radius:10px;transition:width .2s}
.zx-pp-text{margin:10px 0 0;font-size:17px!important;color:#3c4a57}.zx-pp-pct{font-weight:800;color:#0B2D5B}
@media (prefers-reduced-motion:reduce){.zx-pp-fill{transition:none}}
/* Ruta recibida */
body.rt-brand .rt-done{border:0;background:linear-gradient(160deg,#0B2D5B,#123d78);color:#fff;padding:22px}
body.rt-brand .rt-done h2{color:#fff;margin:0;font-size:26px}
.rt-done p{margin:2px 0 0;color:#dfe7f2}
.rt-done-head{display:flex;align-items:center;gap:16px}
.rt-done-ic{flex:0 0 56px;height:56px;border-radius:50%;background:#2e9e5b;display:grid;place-items:center;box-shadow:0 0 0 6px #ffffff1f}
.rt-done-ic svg{width:32px;height:32px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.rt-done-list{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 12px;padding:0}
.rt-done-list li{background:#ffffff14;border-radius:12px;padding:10px;text-align:center;font-size:15px;color:#dfe7f2}
.rt-done-list b{display:block;font-size:26px;color:#fff}
.rt-done-steps{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:17px;font-weight:600}
body.rt-brand .rt-done details{border-top:1px solid #ffffff2e;margin-top:14px;padding-top:10px}
.rt-done summary{color:#fff}.rt-done code{word-break:break-all;color:#dfe7f2;font-size:13px}
/* Inicio simple de la ruta (26-10-2026) */
.rt-simple{display:grid;gap:14px;margin-bottom:16px}
.rt-where{margin:0;display:grid;gap:2px}.rt-where b{font-size:20px;color:#102e40}.rt-where span{font-size:15px;color:#475467}
.rt-ots{display:grid;gap:12px}
.rt-ot{display:grid;gap:4px;width:100%;text-align:left;min-height:84px;padding:18px 20px;border-radius:16px;border:2px solid #0B2D5B;background:#0B2D5B;color:#fff;cursor:pointer}
.rt-ot b{font-size:20px;line-height:1.25}.rt-ot small{font-size:15px;opacity:.9}
.rt-ot[aria-expanded=true]{border-radius:16px 16px 0 0}
.rt-ot-obs{background:#fff;color:#0B2D5B}
.rt-ot:focus-visible{outline:3px solid #2EA04A;outline-offset:3px}
.rt-ot-list{margin-top:-12px;padding:14px;border:2px solid #0B2D5B;border-top:0;border-radius:0 0 16px 16px;background:#fff;display:grid;gap:10px}
.rt-finish button{width:100%;min-height:56px;font-size:18px}
.rt-finish #finishBox{display:flex;flex-direction:column;gap:10px}
.rt-finish #finishEmpty{min-height:48px;font-size:16px;background:#fff;color:#16325c;border:2px solid #16325c}
.rt-site-done{margin:0;padding:14px 16px;border-radius:12px;background:#e7f5ec;color:#14532d;font-weight:700;font-size:17px;border:1px solid #9fd3b2}
.rt-sitepick button.rt-site-ok i{color:#14532d;font-weight:700}
.rt-more>summary{cursor:pointer;padding:14px 4px;font-weight:700;font-size:16px;color:#0B2D5B}
#home .rt-ots button.rt-ot{display:grid;justify-items:start;text-align:left;background:#0B2D5B;color:#fff;border:2px solid #0B2D5B;min-height:84px;padding:18px 20px;border-radius:16px;width:100%}
#home .rt-ots button.rt-ot[aria-expanded=true]{border-radius:16px 16px 0 0}
#home .rt-ots button.rt-ot small{color:#fff}
#home .rt-ots button.rt-ot-obs{background:#fff;color:#0B2D5B}
#home .rt-ots button.rt-ot-obs small{color:#475467}
#home .rt-ot-list .rt-ficha{background:#F2F6FB;color:#0B2D5B;border:2px solid #D0D5DD}
#home .rt-ot-list .rt-ficha small{color:#475467}
#home .rt-ots button.rt-ot{justify-content:start;align-content:center;place-content:center start}
#home .rt-ot-list .rt-ficha .rt-ficha-ic{border:2px solid #0B2D5B;background:#fff;color:#2EA04A}
/* Orden de trabajo comentarios y observaciones (26-10-2026) */
.wo h2{margin:12px 0 0}.wo .wo-head{margin:16px 0}
.wo-head select{min-height:48px;font-size:17px;width:100%;max-width:420px}
.wo-type{border:0;padding:0;margin:16px 0;display:grid;gap:10px}
.wo-type legend{font-weight:700;font-size:18px;margin-bottom:8px;color:#0B2D5B}
.wo-opt{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 16px;border:2px solid #D0D5DD;border-radius:12px;background:#fff;font-size:18px;cursor:pointer}
.wo-opt input{width:24px;height:24px;accent-color:#0B2D5B}
.wo-opt:has(input:checked){border-color:#0B2D5B;background:#EEF3FA;font-weight:700}
.wo-notes{display:grid;gap:8px;font-weight:700;font-size:18px;color:#0B2D5B}
.wo-notes textarea{font:400 17px/1.5 system-ui,sans-serif;padding:12px;border:2px solid #D0D5DD;border-radius:12px;min-height:180px}
.wo-signs{margin-top:16px;display:grid;gap:16px}
.wo-sign h3{margin:0 0 6px;font-size:17px}.wo-sign h3 small{font-weight:400;color:#475467}
.wo-sign label{display:grid;gap:4px;margin-bottom:8px}.wo-sign input{min-height:48px;font-size:17px;padding:8px 12px;border:2px solid #D0D5DD;border-radius:10px}
.wo-who{margin:0 0 8px;font-weight:700}
.wo-save{margin-top:20px}.wo-save .primary{min-height:56px;font-size:18px;flex:1}
#home .rt-ot-list .wo-new{min-height:56px;font-size:17px}
/* Realizar mantenimiento (26-10-2026) */
.rt-start h2{margin-top:0}
.rt-today{list-style:none;margin:12px 0 16px;padding:0;display:grid;gap:10px}
.rt-today li{display:grid;gap:2px;padding:12px 14px;border:2px solid #D0D5DD;border-radius:12px;background:#fff}
.rt-today li b{font-size:18px;color:#0B2D5B}.rt-today li span{font-size:15px;color:#475467}
.rt-today li.busy{opacity:.7;border-style:dashed}
.rt-go-big{width:100%;min-height:60px;font-size:20px}
.rt-none{font-size:18px;font-weight:700;color:#0B2D5B}
.rt-manual{margin:12px 0}.rt-manual>summary{cursor:pointer;padding:12px 4px;font-weight:700;color:#475467}
#progress progress{width:100%;height:18px}
/* Grupo de mantenimiento en levantamiento (26-10-2026) */
.rt-grp{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;font-size:12px;font-weight:800;color:#fff;vertical-align:middle}
.rt-grp-RS{background:#B42318}.rt-grp-RH{background:#1D4ED8}.rt-grp-GEN{background:#B54708}.rt-grp-SB{background:#0B2D5B}
.rt-grp-fixed{font-size:17px;margin:12px 0}
.rt-grp-pick{margin:14px 0}
/* Órdenes de trabajo por grupo (26-10-2026, etapa C1) */
.rt-otask{border:2px solid #D0D5DD;border-radius:14px;padding:14px;background:#fff;display:grid;gap:10px}
.rt-otask-em{border-color:#B42318;background:#FEF3F2}
.rt-otask-head{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.rt-otask-head b{flex-basis:100%;font-size:18px;color:#0B2D5B}
.rt-otask-head small{flex-basis:100%;color:#475467;font-size:15px}
.rt-otask-lbl{margin:0;font-weight:700;color:#344054}
.rt-otask-eq{display:grid;gap:8px}
.rt-otask .rt-grp{margin-left:0;font-size:13px;padding:3px 9px}
.rt-grp-none{background:#B54708}.rt-grp-em{background:#B42318}
.rt-ot-list>.rt-otask+.rt-otask{margin-top:4px}
#home .rt-ots button.rt-ot-otros{background:#fff;color:#0B2D5B}
#home .rt-ots button.rt-ot-otros small{color:#475467}
.rt-obs-manual{margin-bottom:12px}
.rt-obs-manual button.rt-ot{display:grid;justify-items:start;text-align:left;width:100%;min-height:72px;padding:14px 18px;border-radius:14px;border:2px solid #D0D5DD;background:#fff;color:#0B2D5B}
/* Comentarios y observaciones automáticos (26-10-2026) */
.rt-obs-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rt-obs-list li{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px 12px;border:1px solid #D0D5DD;border-radius:10px;background:#fff}
.rt-obs-list li b{flex-basis:100%;color:#0B2D5B}.rt-obs-list li .rt-obs-txt{flex-basis:100%;color:#344054}
/* Etapa F1 (26-10-2026), ajuste visual tras prueba en tablet real: 4 tarjetas SB · GEN · RS · RH */
.rt-where{margin:0;display:grid;gap:2px}.rt-where>b{font-size:22px;color:#0B2D5B;line-height:1.25}.rt-where>span{font-size:16px;color:#475467}
.rt-sites-more{margin-top:4px}.rt-sites-more summary{font-size:16px;color:#344054;cursor:pointer;min-height:auto}.rt-sites-more p{margin:6px 0 0;font-size:16px;color:#475467}
body.tech-readable .rt-where>span,body.tech-readable .rt-sites-more summary,body.tech-readable .rt-sites-more p{font-size:16px}
.rt-sitepick{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin}
body.tech-readable #home .rt-sitepick button{flex:0 0 auto;min-height:48px;padding:8px 16px;border-radius:999px;border:2px solid #D0D5DD;background:#fff;color:#0B2D5B;font-size:17px;font-weight:700;white-space:nowrap;overflow-wrap:normal}
body.tech-readable #home .rt-sitepick button[aria-pressed=true]{background:#0B2D5B;border-color:#0B2D5B;color:#fff}
.rt-sitepick i{font-style:normal;display:inline-block;min-width:24px;margin-left:6px;padding:1px 7px;border-radius:999px;background:#EEF2F6;color:#0B2D5B;font-size:14px}
.rt-sitepick [aria-pressed=true] i{background:#fff}
.rt-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.tech-readable #home .rt-cards button.rt-card{--g:#0B2D5B;--gt:#EEF2F8;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;width:100%;min-height:0;padding:14px;text-align:left;border-radius:16px;border:2px solid #D0D5DD;background:#fff;color:#101828;cursor:pointer;font-size:17px;line-height:1.3;white-space:normal;overflow-wrap:normal;word-break:normal}
body.tech-readable #home .rt-cards button.rt-card-GEN{--g:#B54708;--gt:#FFF4E5}
body.tech-readable #home .rt-cards button.rt-card-RS{--g:#B42318;--gt:#FEF0EE}
body.tech-readable #home .rt-cards button.rt-card-RH{--g:#1D4ED8;--gt:#EEF3FF}
body.tech-readable #home .rt-cards button.rt-card[aria-expanded=true]{border-color:var(--g);box-shadow:0 0 0 2px var(--g)}
body.tech-readable #home .rt-cards button.rt-card.is-na{background:#F7F8FA}
body.tech-readable #home .rt-cards button.rt-card.is-done{border-color:#2EA04A}
.rt-card:focus-visible{outline:3px solid #2EA04A;outline-offset:3px}
.rt-card-head{display:flex;align-items:center;gap:12px;min-width:0}
.rt-card-code{flex:0 0 auto;display:grid;place-items:center;width:64px;height:64px;border-radius:14px;background:var(--g);color:#fff;font-size:22px;font-weight:900;letter-spacing:.02em;white-space:nowrap}
.rt-card.is-na .rt-card-code{background:#98A2B3}
.rt-card-title{display:grid;gap:5px;justify-items:start;min-width:0;flex:1}
.rt-card-title b{font-size:19px;line-height:1.2;color:#0B2D5B}
.rt-card-check{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#2EA04A;color:#fff;font-weight:900;font-size:18px}
.rt-card-chip{font-size:13px;font-weight:800;padding:2px 10px;border-radius:999px;white-space:nowrap;line-height:1.5}
.rt-chip-must{background:#0B2D5B;color:#fff}.rt-chip-opt{background:#fff;color:#344054;border:1px solid #98A2B3}.rt-chip-na{background:#EAECF0;color:#475467}
.rt-card-n{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.rt-card-n>span{display:grid;justify-items:center;padding:6px 2px;border-radius:10px;background:#F2F4F7;color:#475467;font-size:13px;line-height:1.2;text-align:center}
.rt-card-n i{font-style:normal;font-size:24px;font-weight:800;color:#101828;line-height:1.1}
.rt-card-n .n-ok{background:#ECFDF3}.rt-card-n .n-ok i{color:#1D5A37}
.rt-card-n .n-imp{background:#FFFAEB}.rt-card-n .n-imp i{color:#B54708}
.rt-card-msg{display:block;padding:8px 10px;border-radius:10px;background:#F2F4F7;color:#475467;font-size:15px;font-weight:600;line-height:1.3}
.rt-card-msg.rt-msg-miss{background:#FEF3F2;color:#B42318}
.rt-card-note{font-size:14px;color:#475467}
.rt-card-em{align-self:flex-start;font-size:13px;font-weight:800;color:#fff;background:#B42318;border-radius:999px;padding:2px 10px}
.rt-card-list{margin-top:0;border-radius:16px;border-top:2px solid #0B2D5B}
.rt-card-list-GEN{border-color:#B54708}.rt-card-list-RS{border-color:#B42318}.rt-card-list-RH{border-color:#1D4ED8}
@media (max-width:560px){.rt-card-code{width:52px;height:52px;font-size:19px;border-radius:12px}.rt-card-head{gap:10px}.rt-card-title b{font-size:17px}body.tech-readable #home .rt-cards button.rt-card{padding:12px;gap:10px}.rt-card-n i{font-size:21px}.rt-card-n>span{font-size:12px}}
@media (max-width:380px){.rt-cards{grid-template-columns:1fr}}
.rt-visits{display:grid;gap:10px}.rt-visits h2{margin:4px 0 0;font-size:19px;color:#0B2D5B}
.rt-visit{display:grid;gap:6px;padding:14px 16px;border-radius:14px;border:2px solid #D0D5DD;background:#fff}
.rt-visit-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.rt-visit-head b{font-size:17px;color:#101828}
.rt-visit-st{font-weight:800;font-size:14px;padding:3px 10px;border-radius:999px;background:#F2F4F7;color:#344054}
.rt-visit>small{color:#475467;font-size:14px}
.rt-visit-ok{border-color:#2EA04A;background:#F4FBF6}.rt-visit-ok .rt-visit-st{background:#1D5A37;color:#fff}
.rt-visit-imp{border-color:#B54708;background:#FFFAEB}.rt-visit-imp .rt-visit-st{background:#B54708;color:#fff}
.rt-visit-acta{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding-top:8px;border-top:1px solid #EAECF0;font-weight:700;color:#B42318}
.rt-visit-acta.ok{color:#1D5A37}.rt-visit-acta.wait{color:#475467;font-weight:600}
#home .rt-visit-acta button{min-height:48px;padding:0 18px;border-radius:12px;font-weight:700}
#home .rt-visit-acta.need button{background:#B42318;color:#fff;border:2px solid #B42318}
#home .rt-visit-acta.wait button{background:#fff;color:#0B2D5B;border:2px solid #0B2D5B}
#home .rt-visit-acta.ok button{background:#fff;color:#1D5A37;border:2px solid #1D5A37}
.rt-imp-help{margin:-4px 0 10px;font-size:14px}
/* Ficha (27-10-2026): última medición, número no válido y aviso al terminar */
.rf-last{color:#475467;font-size:15px;margin:6px 0 0}
.rf-meas input.rf-bad-num{border-color:#B42318;box-shadow:0 0 0 3px rgba(180,35,24,.15)}
.rf-done-sheet{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center;background:rgba(16,24,40,.45);padding:16px}
.rf-done-box{width:100%;max-width:560px;display:grid;gap:12px;padding:22px;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(16,24,40,.25)}
.rf-done-t{margin:0;font-size:22px;font-weight:800;color:#1D5A37}
.rf-done-t span{display:inline-grid;place-items:center;width:34px;height:34px;margin-right:8px;border-radius:50%;background:#2EA04A;color:#fff;font-size:20px}
.rf-done-box p{margin:0;color:#344054}
body.tech-readable .rf-done-box button{width:100%;min-height:56px;font-size:19px}
body.tech-readable .rf-done-box button.primary{background:#0B2D5B;color:#fff;border-color:#0B2D5B}
/* Un centro a la vez (27-10-2026) */
.rt-here{font-size:14px;font-weight:700;color:#475467;letter-spacing:.01em}
body.tech-readable .rt-where small.rt-here{font-size:14px}
.rt-sitepick-box{border:2px solid #D0D5DD;border-radius:14px;background:#fff;padding:0 12px}
.rt-sitepick-box summary{cursor:pointer;padding:12px 2px;font-weight:700;color:#0B2D5B;font-size:17px}
body.tech-readable .rt-sitepick-box summary{font-size:17px}
.rt-sitepick-box summary span{font-weight:500;color:#475467;font-size:15px}
.rt-sitepick-box .rt-sitepick{flex-wrap:wrap;padding:0 0 12px}
.rt-sitepick-box .rt-sitepick i{background:#EEF2F6}
body.tech-readable .rf-done-box p.rf-done-t{font-size:22px}
/* Tarjetas RS y RH (27-10-2026): solo equipos del grupo; por definir aparte */
.rt-none-eq{margin:4px 0;padding:10px 12px;border-radius:10px;background:#F2F4F7;color:#344054;font-weight:600}
body.tech-readable #home button.rt-add-eq{width:100%;min-height:52px;background:#fff;color:#0B2D5B;border:2px dashed #0B2D5B;border-radius:12px;font-weight:700}
.rt-undef{border:2px solid #FEC84B;border-radius:12px;background:#FFFCF5;padding:0 12px}
.rt-undef summary{cursor:pointer;padding:12px 2px;font-weight:700;color:#93370D}
.rt-undef .rt-otask-eq{padding-bottom:12px}
/* Revisión del gabinete (Informe E1, 27-10-2026): columnas de la Orden de Trabajo. */
.rt-cab{margin:14px 0;padding:14px 14px 6px;border:1px solid #c9d7e1;border-radius:12px;background:#f7fafc}
.rt-cab h3{margin:0 0 4px;font-size:1.1rem;color:#102e40}
.rt-cab>.muted{margin:0 0 8px}
.rt-cab-row{padding:12px 0;border-top:1px solid #e1e9ee}
.rt-cab-row.is-bad{background:#fff4f1;margin:0 -14px;padding:12px 14px}
.rt-cab-name{margin:0 0 8px;font-weight:700}
.rt-cab-q{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
.rt-cab-q label{margin:0;max-width:9.5rem}
.rt-cab-q input{width:100%;min-height:52px;font-size:1.15rem;text-align:center}
.rt-cab-seg .rf-opt span{flex-direction:column;gap:0;min-width:104px;font-size:1.25rem;line-height:1.1}
.rt-cab-seg .rf-opt span small{font-size:.78rem;font-weight:600}
body.tech-readable #editor .rt-cab-seg .rf-opt span{overflow-wrap:normal}
.rt-cab-fault{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding:8px 10px;border-radius:9px;background:#fde2df;color:#8a1c24;font-weight:650}
.rt-cab-fault.ok{background:#e6f4ec;color:#1f5e3d}
.rt-cab-fault button{min-height:44px}
.rt-cab-btns{display:flex;gap:8px;flex-wrap:wrap}
.rt-photo-pair{display:flex;gap:10px}
.rt-photo-pair .rt-photo-btn{flex:1 1 0}
body.tech-readable #editor .rt-cab-fault button{overflow-wrap:normal}
.rt-cab-otros{display:block;padding:12px 0 8px;border-top:1px solid #e1e9ee;margin:0}
.rt-cab-seg{flex:1 1 15rem;flex-wrap:nowrap}
.rt-cab-seg .rf-opt{flex:1 1 0}
.rt-cab-seg .rf-opt span{width:100%;min-width:0;padding:0 10px}
.rt-cab-seg .rf-opt span small{white-space:nowrap}
.rt-cab-q label{flex:0 0 8.5rem}
/* MP eventual (27-10-2026): azul; las emergencias siguen en rojo. */
.rt-otask-mp{border-color:#175CD3;background:#F5F8FF}
.rt-grp-mp{background:#175CD3}
.rt-card-mp{align-self:flex-start;font-size:13px;font-weight:800;color:#fff;background:#175CD3;border-radius:999px;padding:2px 10px}

/* Trabajo nuevo de hoy en otro centro (30-10-2026) */
body.tech-readable #home .rt-addsite{border:2px solid #0B2D5B;background:#eef3fb;margin:10px 0}body.tech-readable #home .rt-addsite h2{margin:0 0 6px;font-size:20px}body.tech-readable #home .rt-addsite .rt-go-big{overflow-wrap:normal}

/* ===== Ficha del equipo (31-10-2026 · «autorizo ficha de equipo») ===== */
.rt-direct #home{display:none!important}
.rt-direct-wait{text-align:center;padding:40px 20px}.rt-direct-wait h2{margin:0}
.rt-ficha{padding:14px 16px 0}
.rt-fh{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-bottom:8px}
.rt-fcode{font-weight:800;font-size:16px;color:#fff;background:#64748b;border-radius:9px;padding:9px 11px;white-space:nowrap;align-self:start}
.rt-g-RS{background:#B42318}.rt-g-RH{background:#1D4ED8}.rt-g-GEN{background:#B54708}.rt-g-SB{background:#0B2D5B}.rt-g-AR,.rt-g-EST{background:#5b6b7a}
.rt-ft{min-width:0}.rt-ft h2{margin:0;font-size:22px;line-height:1.2;color:#0B2D5B;overflow-wrap:anywhere}.rt-ft p{margin:3px 0 0;color:#425c6d;font-size:15px}
.rt-ref{border:0;padding:0;background:none;cursor:pointer;border-radius:10px;overflow:hidden;width:84px;height:84px;box-shadow:0 0 0 2px #dfe7ec}.rt-ref img{width:100%;height:100%;object-fit:cover;display:block}
.rt-ref.big{grid-column:1/-1;width:100%;height:auto;max-height:70vh}.rt-ref.big img{object-fit:contain;max-height:70vh;background:#0b1620}
.rt-fstate{margin:0 0 12px;padding:9px 12px;border-radius:10px;background:#fff7e6;border:1px solid #f1d39a;color:#7a4b00;font-weight:700;font-size:15px}
.rt-fstate.ok{background:#eaf6ee;border-color:#b7dfc3;color:#14532D}
.rt-fset{border:0;padding:0;margin:0;min-width:0}
.rt-fgrid{display:grid;grid-template-columns:1fr;gap:0 20px}
@media(min-width:700px){.rt-fgrid{grid-template-columns:1fr 1fr}}
.rt-fcol{min-width:0}
.rt-fw{display:block;margin:0 0 10px}.rt-flabel{display:block;font-size:12.5px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:#5f7484;margin:0 0 4px}
.rt-fw input,.rt-fw textarea{width:100%;font:inherit;font-size:17px;padding:11px 12px;border:1px solid #cfd9e0;border-radius:10px;background:#fff;box-sizing:border-box;margin:0}
.rt-fw textarea{min-height:88px;resize:vertical}
.rt-f2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rt-fblock{margin:0 0 12px}
.rt-cond{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rt-cond-opt{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;min-height:58px;padding:8px 4px;border:2px solid #D0D5DD;border-radius:12px;background:#fff;font-weight:800;font-size:14.5px;line-height:1.2;cursor:pointer;color:#425c6d}
.rt-cond-opt input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.rt-cond-opt.ok:has(input:checked){border-color:#15803d;background:#eaf6ee;color:#14532D}
.rt-cond-opt.warn:has(input:checked){border-color:#e0a526;background:#fff7e6;color:#7a4b00}
.rt-cond-opt.bad:has(input:checked){border-color:#b71c1c;background:#fdecea;color:#8a1f11}
.rt-cond-opt:has(input:focus-visible){outline:3px solid #0B2D5B;outline-offset:2px}
.rt-switch{display:flex;align-items:center;gap:12px;min-height:58px;padding:8px 14px;border:2px solid #D0D5DD;border-radius:12px;background:#fff;margin:0 0 12px;cursor:pointer;font-size:17px}
.rt-switch{position:relative}.rt-switch input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.rt-sw{flex:none;width:52px;height:30px;border-radius:999px;background:#cbd5e1;position:relative;transition:background .15s}.rt-sw::after{content:'';position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.rt-switch:has(input:checked){border-color:#15803d;background:#eaf6ee}.rt-switch:has(input:checked) .rt-sw{background:#15803d}.rt-switch:has(input:checked) .rt-sw::after{transform:translateX(22px)}
.rt-switch:has(input:focus-visible){outline:3px solid #0B2D5B;outline-offset:2px}
.rt-photo-btn{width:100%;min-height:56px;font:inherit;font-size:17px;font-weight:800;border:2px dashed #0B2D5B;border-radius:12px;background:#F4F7FB;color:#0B2D5B;cursor:pointer;margin:0 0 10px}
.rt-photo-btn i{font-style:normal;background:#0B2D5B;color:#fff;border-radius:999px;padding:2px 9px;margin-left:6px}
.rt-ficha .rt-grp-pick .muted{display:none}.rt-ficha .rt-grp-pick legend{font-size:12.5px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:#5f7484}
.rt-ficha .rt-grp-fixed{display:none}
.rt-ficha .rt-code{margin:0 0 12px}
.rt-fsticky{display:flex;gap:10px;grid-template-columns:none}.rt-fsticky button{flex:1;margin:0}.rt-fsticky .primary{flex:1.6}.rt-fsticky .rt-branch{border:2px solid #0B2D5B;color:#0B2D5B;background:#fff;font-weight:800}.rt-fsticky .rt-anular{border:2px solid #B42318;color:#B42318;background:#fff;font-weight:800}
@media(max-width:520px){.rt-cond{grid-template-columns:1fr}.rt-fsticky{flex-wrap:wrap}.rt-fsticky .rt-branch{flex:1 0 100%;order:-1}}
body.tech-readable .rt-ficha .rt-cond-opt,body.tech-readable .rt-ficha .rt-branch,body.tech-readable .rt-ficha .rt-anular,body.tech-readable .rt-photo-btn{overflow-wrap:normal}
body.tech-readable.rt-brand .sticky.rt-fsticky{display:flex;gap:10px;grid-template-columns:none}
body.tech-readable.rt-brand .sticky.rt-fsticky button{flex:1 1 0;min-width:0}
body.tech-readable.rt-brand .sticky.rt-fsticky button.rt-anular,body.rt-brand .sticky.rt-fsticky button.rt-anular{border:2px solid #B42318;color:#B42318;background:#fff;font-weight:800}
body.tech-readable.rt-brand .sticky.rt-fsticky button.primary{flex:1.6 1 0;grid-column:auto}
@media(max-width:520px){body.tech-readable.rt-brand .sticky.rt-fsticky{flex-wrap:wrap}body.tech-readable.rt-brand .sticky.rt-fsticky .rt-branch{flex:1 0 100%;order:-1}}
.rt-ficha .rt-grp-pick{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:0;padding:0;margin:0 0 12px}.rt-ficha .rt-grp-pick legend{grid-column:1/-1;padding:0;margin:0 0 4px}
.rt-ficha .rt-grp-pick .wo-opt{margin:0;min-height:52px;font-size:16px;font-weight:800}
.rt-ficha .rt-grp-pick .wo-opt:has(input:checked){border-color:#0B2D5B;background:#F4F7FB}
.rt-ficha .rt-cab>.muted{display:none}
/* Autoguardado (31-10-2026) */
.rt-saved{margin:8px 0 0;min-height:22px;font-size:14px;font-weight:700;color:#15803d;text-align:right}.rt-saved.warn{color:#B54708}

/* Limpieza «Mi ruta» (31-10-2026) */
.rt-where .rt-solo{display:block;width:fit-content;margin-top:8px;padding:5px 12px;border-radius:999px;background:#EDF1F7;color:#0B2D5B;font-style:normal;font-weight:700;font-size:16px}
.rt-simple #equiposBtn{margin:14px 0 0}.rt-simple #equipos{margin-top:10px}
.rt-tools .rt-saved{margin:0 0 10px;text-align:left;color:#14532D;font-weight:700}
.rt-tools{padding:14px 16px}
/* Botón verde «+» y carpetas/subcarpetas de equipos (31-10-2026, «autorizo botón agregar») */
body.tech-readable .rt-fab,.rt-fab{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));z-index:40;width:64px;height:64px;min-height:0;padding:0;border:0;border-radius:50%;background:#0B6E4F;color:#fff;font:400 40px/1 system-ui;display:grid;place-items:center;box-shadow:0 8px 22px #0B6E4F66;cursor:pointer;transition:transform .2s;overflow-wrap:normal}
.rt-fab.open{transform:rotate(45deg)}.rt-fab:focus-visible{outline:3px solid #0B2D5B;outline-offset:3px}
.rt-fab-menu{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(98px + env(safe-area-inset-bottom));z-index:40;display:grid;gap:8px;min-width:240px}.rt-fab-menu[hidden]{display:none}
body.tech-readable .rt-fab-menu button,.rt-fab-menu button{min-height:54px;padding:10px 18px;border-radius:14px;border:1px solid #D4D9DF;background:#fff;color:#16202B;font:700 18px system-ui;text-align:left;box-shadow:0 6px 18px #0B2D5B26;cursor:pointer;overflow-wrap:normal}
.rt-branch-pick{position:fixed;inset:auto 0 0 0;max-height:80vh;z-index:45;display:flex;flex-direction:column;gap:10px;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -10px 40px #0005}.rt-branch-pick[hidden]{display:none}
.rt-bp-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.rt-bp-head b{font-size:19px;color:#0B2D5B}
body.tech-readable .rt-bp-head button,.rt-bp-head button{width:46px;height:46px;min-height:0;padding:0;border-radius:50%;border:1px solid #D4D9DF;background:#fff;font-size:20px}
.rt-branch-pick input{min-height:48px;padding:8px 12px;border:1px solid #C9D2DE;border-radius:10px;font-size:17px}
.rt-bp-list{overflow:auto;display:grid;gap:6px}
body.tech-readable .rt-bp-list button,.rt-bp-list button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:54px;padding:8px 12px;border:1px solid #E4E7EB;border-radius:10px;background:#F8FAFC;text-align:left;overflow-wrap:normal}.rt-bp-list button[hidden]{display:none}
.rt-bp-list span{font-size:15px;color:#5f7484}
.rt-eq-node{display:flex;flex-direction:column;gap:6px}
body.tech-readable .rt-eq-subt,.rt-eq-subt{align-self:flex-start;min-height:40px;padding:6px 12px;border-radius:999px;border:1px solid #C9D2DE;background:#F4F7FB;color:#0B2D5B;font:700 15px system-ui;overflow-wrap:normal}
.rt-eq-sub{display:grid;gap:6px;margin-left:18px;padding-left:10px;border-left:2px solid #C9D2DE}.rt-eq-sub[hidden]{display:none}
.rt-eq-child{background:#FBFCFD}.rt-fold{font-style:normal}
#equipos{padding-bottom:90px}
/* Visita por centro (02-11-2026): red seca / húmeda dentro de la visita. */
.rt-net-badge{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:800;vertical-align:middle}
.rt-net-badge.rt-net-done{background:#dcfce7;color:#166534}.rt-net-badge.rt-net-deferred{background:#fef3c7;color:#92400e}
.rt-ficha.rt-net-deferred .rt-ficha-ic{background:#f59e0b;color:#fff}.rt-ficha.rt-net-done .rt-ficha-ic{background:#16a34a;color:#fff}
.rt-otask-net .rt-otask-head small b{color:#102e40}
.rt-maint{margin:10px 0}.rt-maint-opts .rt-cond-opt{min-height:48px}.rt-maint-hint{margin:6px 0 0;font-size:13px;color:#5f7484}.rt-maint-reason{margin-top:8px}
/* Próxima visita (etapa 3): pendiente de la visita anterior */
.rt-net-badge.rt-net-pending{background:#fee2e2;color:#991b1b}.rt-ficha.rt-net-pending .rt-ficha-ic{background:#B42318;color:#fff}
.rt-maint-prev{margin:6px 0 0;padding:8px 10px;border-radius:8px;background:#fef3c7;color:#92400e;font-size:14px;font-weight:600}.rt-card-prev{color:#B42318;font-weight:700}

/* Una sola tarjeta por centro (09-11-2026, vc1): los 4 grupos como filas dentro de una tarjeta. */
.rt-cards.rt-visitcard{display:block}
body.tech-readable #home .rt-cards.rt-visitcard{display:block;background:#fff;border:2px solid #D0D5DD;border-radius:16px;overflow:hidden}
.rt-vc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 10px}
.rt-vc-title{display:grid;gap:2px;min-width:0}.rt-vc-title b{font-size:19px;line-height:1.2;color:#0B2D5B}.rt-vc-title small{font-size:14px;color:#475467}
.rt-vc-count{flex:0 0 auto;font-size:15px;font-weight:800;color:#0B2D5B;background:#EEF2F8;border-radius:999px;padding:4px 12px;white-space:nowrap}.rt-vc-count.ok{background:#ECFDF3;color:#1D5A37}
.rt-vc-bar{height:8px;margin:0 16px 12px;border-radius:999px;background:#EAECF0;overflow:hidden}.rt-vc-bar i{display:block;height:100%;background:#2EA04A;border-radius:999px}
.rt-vc-rows{border-top:1px solid #EAECF0}
body.tech-readable #home .rt-cards.rt-visitcard button.rt-card{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 44px 12px 16px;border:0;border-bottom:1px solid #EAECF0;border-radius:0;box-shadow:none;position:relative}
body.tech-readable #home .rt-cards.rt-visitcard button.rt-card:last-child{border-bottom:0}
body.tech-readable #home .rt-cards.rt-visitcard button.rt-card::after{content:'›';position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:28px;line-height:1;color:#98A2B3}
body.tech-readable #home .rt-cards.rt-visitcard button.rt-card[aria-expanded=true]{background:var(--gt);box-shadow:inset 4px 0 0 var(--g)}
body.tech-readable #home .rt-cards.rt-visitcard button.rt-card.is-na{background:#F9FAFB}
body.tech-readable #home .rt-cards.rt-visitcard button.rt-card.is-done{background:#F6FEF9}
.rt-visitcard .rt-card-head{flex:1 1 220px}
.rt-visitcard .rt-card-code{width:48px;height:48px;font-size:17px;border-radius:12px}
.rt-visitcard .rt-card-title{grid-auto-flow:row}.rt-visitcard .rt-card-title b{font-size:18px}
.rt-visitcard .rt-card-check{width:28px;height:28px;font-size:16px}
.rt-visitcard .rt-card-n{display:flex;flex-wrap:wrap;gap:6px;flex:0 1 auto}
.rt-visitcard .rt-card-n>span{display:inline-flex;align-items:baseline;gap:4px;padding:4px 10px;font-size:14px;border-radius:999px}
.rt-visitcard .rt-card-n i{font-size:17px}
.rt-visitcard .rt-card-msg{padding:4px 10px;font-size:14px;border-radius:999px}
.rt-visitcard .rt-card-em,.rt-visitcard .rt-card-mp{align-self:center}
@media (max-width:560px){.rt-visitcard .rt-card-head{flex-basis:100%}.rt-visitcard .rt-card-n,.rt-visitcard .rt-card-msg,.rt-visitcard .rt-card-note,.rt-visitcard .rt-card-em,.rt-visitcard .rt-card-mp{margin-left:60px}.rt-vc-title b{font-size:17px}}
/* vd1 (10-11-2026): rutas por día, visita atrasada con su fecha, cambiar fecha y regla de foto en la ficha. */
.rt-vc-day{justify-self:start;margin-top:6px;padding:8px 12px;min-height:40px;border:1px solid #b9c7d6;border-radius:10px;background:#fff;color:#0B2D5B;font-size:14px;font-weight:600}
body.tech-readable #home .rt-vc-day{overflow-wrap:normal;font-size:15px;min-height:44px}
.rt-start-past{border-left:6px solid #b54708}.rt-start-past h2{color:#93370d}
.rt-openroutes{border-left:6px solid #0B2D5B}.rt-openroutes h2{margin-top:0;font-size:18px}.rt-openroutes .actions button{text-align:left}
.rf-photo-rule{margin:6px 0 10px;padding:8px 12px;border-radius:10px;background:#eef4ff;color:#1d3b6b;font-size:15px}
/* en1 (10-11-2026): cotejo en línea · número aparte, copia solo en este aparato. */
.rt-fname{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:0 12px;align-items:end}
.rt-fname .rt-fnum input{text-align:center;font-weight:700;font-size:18px}
.rt-fsn{grid-column:1/-1;display:flex;align-items:center;gap:10px;min-height:44px;margin:-2px 0 10px;font-size:16px;color:#17303f}
.rt-fsn input{width:24px;height:24px;flex:none}
.rt-localcopy{border-left:6px solid #b54708}.rt-localcopy button{margin-top:10px;min-height:44px;padding:0 14px;border-radius:10px;border:1px solid #b54708;background:#fff;color:#93370d;font-weight:700}
/* mp1 (11-11-2026): lo guardado en ZUREX del último cotejo, a la vista al reabrir un equipo ya cotejado */
.rt-zurex{margin:0 0 12px;padding:12px 14px;border-radius:10px;background:#eef4fb;border:1px solid #bcd2ec;border-left:6px solid #0B2D5B;color:#16202B;font-size:15px;line-height:1.45}
.rt-zurex p{margin:6px 0 0}
.rt-zurex-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.rt-zurex-photos img{width:120px;height:120px;object-fit:cover;border-radius:8px;border:1px solid #bcd2ec;display:block;background:#fff}
.rt-zurex-nophoto{display:flex;align-items:center;justify-content:center;width:120px;height:120px;border:1px dashed #bcd2ec;border-radius:8px;font-size:13px;text-align:center;padding:6px}
.rt-zurex-hint{font-size:13px;color:#4a5a6b}
/* Revisión del gabinete guardada (12-11-2026, gc1) */
.rt-zurex-photos a{display:block;width:120px;text-decoration:none;color:#16202B}
.rt-zurex-photos a small{display:block;margin-top:3px;font-size:12px;line-height:1.25;font-weight:700;color:#8a1f1f}
.rt-zurex-cab{overflow-wrap:anywhere}


/* Ficha guardada primero (12-11-2026, «autorizo ficha en la tablet»): vista de solo lectura de un equipo ya cotejado, como la ficha de la oficina. */
.rt-fstate.changed{background:#fff1e0;border-color:#f0b46a;color:#7a3b00}
.rt-fview h3{margin:18px 0 8px;font-size:17px;color:#0B2D5B;border-bottom:2px solid #dfe7ec;padding-bottom:5px}
.rt-fv-by{margin:0 0 4px;font-size:15px;color:#425c6d}
.rt-fv-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.rt-fv-photos a{display:block;text-decoration:none;color:#16202B}
.rt-fv-photos img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;border:1px solid #c9d6de;display:block;background:#f4f7f9}
.rt-fv-photos small{display:block;margin-top:4px;font-size:13px;line-height:1.25;font-weight:700;color:#425c6d}
.rt-fv-photos small.is-bad{color:#8a1f1f}.rt-fv-photos small i{font-style:normal;font-weight:500;color:#5b6b7a}
.rt-fv-dl{margin:0;display:grid;grid-template-columns:1fr;gap:0}
.rt-fv-dl>div{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #e6edf1;align-items:baseline}
.rt-fv-dl dt{margin:0;font-size:14px;font-weight:700;color:#5b6b7a}
.rt-fv-dl dd{margin:0;font-size:17px;color:#16202B;overflow-wrap:anywhere}
.rt-fv-dl>div.is-bad dd{color:#8a1f1f;font-weight:700}
.rt-fv-nd{color:#8a5a00;font-style:italic}
.rt-fv-cond{display:inline-block;padding:3px 10px;border-radius:999px;font-size:15px;background:#eef2f5;color:#16202B}
.rt-fv-cond.c-operational{background:#e3f2e9;color:#14532D}.rt-fv-cond.c-needs_attention{background:#fff1d6;color:#7a4b00}.rt-fv-cond.c-unavailable{background:#fde4e1;color:#8a1f1f}
.rt-fv-wait{margin:4px 0;font-size:15px;color:#425c6d}
.rt-fv-sug,.rt-cab-sug{margin:8px 0;padding:9px 12px;border-radius:10px;background:#fff7e6;border:1px dashed #d9a441;color:#7a4b00;font-size:14px;line-height:1.4}
.rt-fv-miss{margin:16px 0 6px;padding:10px 12px;border-radius:10px;background:#fff7e6;border:1px solid #f1d39a;color:#7a4b00;font-size:15px}
.rt-fv-miss.ok{background:#eaf6ee;border-color:#b7dfc3;color:#14532D;font-weight:700}.rt-fv-miss:empty{display:none}
@media(min-width:760px){.rt-fv-dl{grid-template-columns:1fr 1fr;column-gap:28px}}

/* Red por excepción (13-11-2026, «autorizo red por excepción»): novedad por equipo, estado anotado y declaración «Revisé todos». */
.rt-net-badge.rt-net-fault{background:#fee2e2;color:#991b1b}.rt-net-badge.rt-net-fixed{background:#dcfce7;color:#166534}
.rt-ficha.rt-net-fault .rt-ficha-ic{background:#B42318;color:#fff}.rt-ficha.rt-net-fixed .rt-ficha-ic{background:#16a34a;color:#fff}
.rt-net-cond{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f5;color:#425c6d}
.rt-net-cond.c-needs_attention{background:#fff1d6;color:#7a4b00}.rt-net-cond.c-unavailable{background:#fde4e1;color:#8a1f1f}.rt-net-cond.c-operational{background:#e3f2e9;color:#14532D}
.rt-net-review{margin:12px 0;padding:12px;border-radius:12px;border:2px dashed #9db4c4;background:#f6f9fb;display:grid;gap:8px}
.rt-net-review .rt-net-all{min-height:56px;font-size:17px;width:100%}
.rt-net-review small{color:#425c6d;font-size:14px}
.rt-net-review.ok{border:2px solid #86c79b;background:#eaf6ee}.rt-net-review.ok b{color:#14532D;font-size:17px}.rt-net-review.ok button{justify-self:start;min-height:44px}
.rt-card-rev{font-weight:700;color:#7a4b00}.rt-card-rev.ok{color:#14532D}
.rt-maint-opts{grid-template-columns:repeat(2,1fr)}.rt-maint-hint b{display:inline}.rt-maint-opts .rt-cond-opt.bad span{color:#8a1f1f}
/* Foto a la vista en cada punto de la ficha de sala de bombas / generador (13-11-2026). */
.rf-more summary{list-style:none}.rf-more summary::-webkit-details-marker{display:none}
.rf-more-btn{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border:1px solid #9db4c4;border-radius:10px;background:#fff;color:#0B2D5B;font-weight:700}
.rf-more[open] .rf-more-btn{background:#eef4ff}
/* Presiones en psi (18-11-2026): equivalencia en psi bajo la lectura del manómetro. */
.rf-psi{font-weight:700;color:#0B2D5B;min-height:1em}.rf-meas select{min-width:170px}
/* Horómetro en horas y minutos (hm1, 19-11-2026). */
.rf-hm{max-width:420px}.rf-hm input[data-mh]{width:130px;flex:none}.rf-hm input[data-mm]{width:80px;flex:none;text-align:center}.rf-hm span{min-width:0}
/* ta1 (26-11-2026): tareas realizadas del acta */
.rt-acta-tasks{margin-top:12px;border-top:1px solid #d6e0e5;padding-top:10px}
.rt-acta-tasks ol{margin:6px 0 0 18px;padding:0}
.rt-acta-task{display:flex;gap:8px;align-items:center;margin:6px 0}
.rt-acta-task .n{min-width:22px;font-weight:bold;color:#1b7f4a;text-align:right}
.rt-acta-task input{flex:1;min-height:44px}
.rt-acta-task button{min-width:44px;min-height:44px}
#actaTaskAdd{margin-top:6px;min-height:44px}
