:root{--bg:#f4f6f8;--panel:#fff;--text:#18222e;--muted:#687482;--line:#dfe5ea;--accent:#164b73;--accent2:#0e3554;--red:#b42318;--redbg:#fee4e2;--green:#067647;--greenbg:#dcfae6;--yellow:#946200;--yellowbg:#fff3cd;--blue:#175cd3;--bluebg:#dbeafe;--gray:#475467;--graybg:#eaecf0}
*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}.layout{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{background:var(--accent2);color:white;padding:24px 16px;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 26px}.brand-mark{width:42px;height:42px;border-radius:10px;background:white;color:var(--accent2);display:grid;place-items:center;font-weight:800}.brand strong{display:block;font-size:18px}.brand span{display:block;font-size:11px;opacity:.7;margin-top:2px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{padding:12px 14px;border-radius:8px;color:#d9e8f3}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(255,255,255,.12);color:#fff}.side-note{position:absolute;bottom:24px;left:24px;font-size:12px;opacity:.65}.main{padding:26px 30px;overflow:hidden}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.topbar h1{margin:0;font-size:28px}.topbar p{margin:4px 0 0;color:var(--muted);font-size:14px}.btn{border:0;background:var(--accent);color:white;padding:10px 16px;border-radius:8px;cursor:pointer;font-weight:600;display:inline-block}.btn.secondary{background:white;color:var(--accent);border:1px solid var(--line)}.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:20px}.cards.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:17px;min-height:112px}.card span,.card small{display:block;color:var(--muted);font-size:12px}.card strong{display:block;font-size:29px;margin:10px 0 5px}.card.red{border-top:4px solid var(--red)}.card.yellow{border-top:4px solid #eaaa08}.card.blue{border-top:4px solid var(--blue)}.grid-2{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-bottom:20px;overflow:hidden}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}.panel-title h2{font-size:17px;margin:0}.panel-title span,.panel-title a{color:var(--muted);font-size:12px}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:12px 14px;border-bottom:1px solid #edf0f2;text-align:left;white-space:nowrap}th{font-size:11px;text-transform:uppercase;color:var(--muted);background:#fafbfc;letter-spacing:.03em}tr:last-child td{border-bottom:0}.clickable{cursor:pointer}.clickable:hover{background:#f7fafc}.pill{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700}.pill.red{color:var(--red);background:var(--redbg)}.pill.green{color:var(--green);background:var(--greenbg)}.pill.yellow{color:var(--yellow);background:var(--yellowbg)}.pill.blue{color:var(--blue);background:var(--bluebg)}.pill.gray{color:var(--gray);background:var(--graybg)}.activity-list{display:flex;flex-direction:column}.activity{padding:12px 17px;border-bottom:1px solid #edf0f2;display:flex;justify-content:space-between;gap:12px}.activity:hover{background:#f8fafc}.activity strong,.activity span{display:block}.activity strong{font-size:12px}.activity span,.activity time{font-size:11px;color:var(--muted);margin-top:4px}.filter-panel{padding:14px 16px}.filters{display:grid;grid-template-columns:minmax(280px,2fr) minmax(180px,1fr) minmax(170px,1fr) auto auto;gap:10px}.filters input,.filters select{border:1px solid var(--line);border-radius:8px;padding:10px 11px;background:white;color:var(--text);min-width:0}.equipment-head{padding:22px;display:grid;grid-template-columns:1fr 2fr;gap:20px}.equipment-head h2{font-size:30px;margin:2px 0}.equipment-head h3{margin:0;color:var(--muted);font-weight:500}.eyebrow{font-size:11px;color:var(--muted);text-transform:uppercase}.equipment-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.equipment-meta div{border:1px solid var(--line);border-radius:9px;padding:12px}.equipment-meta span,.equipment-meta strong{display:block}.equipment-meta span{font-size:11px;color:var(--muted);margin-bottom:4px}.dense td,.dense th{padding:10px 11px}.subtext{display:block;color:var(--muted);font-size:10px;margin-top:3px}.empty{text-align:center;color:var(--muted);padding:30px}
@media(max-width:1150px){.cards{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:800px){.layout{grid-template-columns:1fr}.sidebar{height:auto;position:static}.sidebar nav{flex-direction:row;overflow:auto}.side-note{display:none}.main{padding:18px}.cards,.cards.compact{grid-template-columns:repeat(2,1fr)}.topbar{align-items:flex-start}.equipment-head{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.topbar p{display:none}}
/* V2 */
.top-actions{display:flex;gap:9px}.cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card.green{border-top:4px solid var(--green)}.btn.mini{padding:6px 10px;font-size:11px;border-radius:6px}.link{color:var(--accent);text-decoration:none}.link:hover{text-decoration:underline}.inline-actions{margin-top:16px}.grid-form{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.task-summary{align-self:start}.details-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0;padding:8px 18px 18px}.details-grid div{padding:12px;border-bottom:1px solid #edf0f2}.details-grid span,.details-grid strong{display:block}.details-grid span{color:var(--muted);font-size:11px;margin-bottom:5px}.form-panel{overflow:visible}.form-panel.centered{max-width:760px;margin-left:auto;margin-right:auto}.form-stack{display:flex;flex-direction:column;gap:14px;padding:18px}.form-stack label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:var(--text)}.form-stack input,.form-stack select,.form-stack textarea,.inline-form input,.inline-form select{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 11px;background:#fff;color:var(--text);font:inherit}.form-stack textarea{resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:6px}.note{background:#eef6fb;border:1px solid #cae1f1;border-radius:10px;padding:13px 15px;color:#375166;font-size:12px;margin-bottom:20px}.note.inside{margin:0 18px 18px}.selected-equipment{padding:12px;background:#f6f9fb;border:1px solid var(--line);border-radius:8px}.selected-equipment strong,.selected-equipment span{display:block}.selected-equipment span{color:var(--muted);font-size:12px;margin-top:3px}.wrap{white-space:normal;min-width:220px;line-height:1.35}.wrap.wide{min-width:300px;max-width:420px}.inline-form{display:grid;grid-template-columns:130px 220px auto;gap:6px;min-width:450px}.inline-form input,.inline-form select{padding:6px 8px;font-size:11px}.filters-short{grid-template-columns:minmax(320px,2fr) minmax(200px,1fr) auto auto}.filters-anom{grid-template-columns:minmax(300px,2fr) 170px 170px auto auto auto}.users-grid{grid-template-columns:1.4fr .6fr}.activity time{white-space:nowrap}.cards.compact .card{min-height:92px}
@media(max-width:1150px){.cards-4{grid-template-columns:repeat(2,1fr)}.grid-form,.users-grid{grid-template-columns:1fr}.filters-anom{grid-template-columns:1fr 1fr 1fr}.filters-anom .btn{width:100%}}
@media(max-width:800px){.top-actions{display:none}.cards-4{grid-template-columns:repeat(2,1fr)}.details-grid{grid-template-columns:1fr}.inline-form{grid-template-columns:1fr;min-width:230px}.filters-short,.filters-anom{grid-template-columns:1fr}}
/* V3 */
.user-menu{display:flex;align-items:center;gap:10px;padding-left:8px;border-left:1px solid var(--line)}.user-menu a:first-child{display:flex;flex-direction:column;line-height:1.1}.user-menu strong{font-size:12px}.user-menu span{font-size:10px;color:var(--muted);margin-top:3px}.user-menu .logout{font-size:11px;color:var(--red)}
.mobile-nav{display:none}.route-banner{background:#eaf4fb;border:1px solid #bfd9ec;border-radius:12px;padding:15px 18px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:16px}.route-banner span,.route-banner small{display:block;color:var(--muted);font-size:11px}.route-banner strong{display:block;font-size:17px;margin:3px 0}.route-head{display:flex;justify-content:space-between;align-items:center;padding:20px}.route-head h2{margin:3px 0 5px;font-size:24px}.route-head p{margin:0;color:var(--muted);font-size:13px}.route-head-actions{display:flex;align-items:center;gap:9px}.danger{background:var(--red)!important}.route-context{background:#fff7dc;border:1px solid #f0d98c;border-radius:9px;padding:11px 14px;margin-bottom:14px;display:flex;gap:10px;align-items:center}.route-context span{font-size:12px;color:var(--muted)}
.my-route-filter{display:flex;align-items:end;gap:10px}.my-route-filter label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted)}.my-route-filter input{border:1px solid var(--line);border-radius:8px;padding:9px 10px}.route-mobile-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px;margin-bottom:14px;display:flex;justify-content:space-between;gap:18px;align-items:center}.route-mobile-card:hover{border-color:#a8c7dc}.route-mobile-card span,.route-mobile-card p{color:var(--muted);font-size:12px}.route-mobile-card h2{margin:5px 0;font-size:20px}.route-progress{text-align:right;display:flex;flex-direction:column}.route-progress strong{font-size:28px}.route-progress span{font-size:11px}.route-progress em{font-style:normal;font-size:10px;font-weight:700;margin-top:6px;color:var(--accent)}.empty-state{text-align:center;padding:40px}.empty-state h2{margin:0 0 8px}.empty-state p{color:var(--muted)}
.mobile-link{padding:12px 16px;display:flex;justify-content:space-between;align-items:center}.mobile-link span,.mobile-link strong{display:block}.mobile-link span{font-size:11px;color:var(--muted);margin-bottom:4px}.mobile-link strong{font-size:12px;word-break:break-all}.mobile-link img{width:78px;height:78px}.qr-sheet{max-width:760px;margin:0 auto;padding:30px;display:grid;grid-template-columns:260px 1fr;gap:30px;align-items:center}.qr-label{border:2px solid #111;border-radius:8px;padding:14px;text-align:center;background:white}.qr-label img{width:180px;height:180px}.qr-title{font-size:14px;font-weight:800}.qr-tag{font-size:26px;font-weight:900;margin-top:5px}.qr-name{font-size:11px;font-weight:700;margin-top:3px}.qr-area{font-size:9px;color:#555;margin-top:4px}.qr-actions{display:flex;flex-direction:column;gap:10px}.qr-actions p,.qr-actions small{font-size:12px;color:var(--muted);line-height:1.45;word-break:break-word}
.alert{padding:11px 13px;border-radius:8px;font-size:12px}.alert.error{background:#fee4e2;color:#912018;border:1px solid #f5b7b2}.alert.success{background:#dcfae6;color:#05603a;border:1px solid #a6efc1}.inside-alert{margin:14px 18px 0}.login-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(145deg,#0e3554,#164b73);padding:20px}.login-card{width:min(430px,100%);background:white;border-radius:16px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.login-brand{display:flex;align-items:center;gap:13px;margin-bottom:18px}.login-brand .brand-mark{background:var(--accent2);color:white}.login-brand h1{margin:0;font-size:24px}.login-brand p{margin:2px 0 0;color:var(--muted);font-size:12px}.login-form{padding:0}.btn.big{padding:12px 16px;font-size:14px}.login-help{margin-top:18px;padding:13px;background:#f6f8fa;border:1px solid var(--line);border-radius:9px;display:flex;flex-direction:column;gap:3px;font-size:12px}.login-help small{color:var(--muted);margin-top:5px}.account-grid{grid-template-columns:1fr 1fr}.user-actions{display:flex;gap:6px;align-items:center}.reset-form{display:flex;gap:5px}.reset-form input{width:120px;border:1px solid var(--line);border-radius:6px;padding:6px;font-size:11px}.route-filters{grid-template-columns:170px 1fr 180px auto auto auto}.report-filters{grid-template-columns:180px 1fr auto auto}.report-cards{grid-template-columns:repeat(6,1fr)}
@media(max-width:1000px){.route-filters,.report-filters{grid-template-columns:1fr 1fr}.report-cards{grid-template-columns:repeat(3,1fr)}.qr-sheet{grid-template-columns:1fr}.qr-label{max-width:280px;margin:auto}}
@media(max-width:800px){body{padding-bottom:64px}.sidebar{display:none}.main{padding:14px}.topbar{margin-bottom:14px}.topbar h1{font-size:22px}.top-actions{display:flex}.top-actions>.btn{display:none}.user-menu{border:0;padding:0}.user-menu .logout{display:none}.user-menu a:first-child span{display:none}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;z-index:50;background:#0e3554;color:white;border-top:1px solid rgba(255,255,255,.15);padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{text-align:center;padding:13px 3px;font-size:10px;color:#dceaf3}.route-banner{align-items:flex-start}.route-head{align-items:flex-start;flex-direction:column}.route-head-actions{width:100%;flex-wrap:wrap}.route-mobile-card{align-items:flex-start}.route-progress strong{font-size:22px}.mobile-link{align-items:flex-start;gap:10px}.mobile-link img{width:72px;height:72px}.route-filters,.report-filters{grid-template-columns:1fr}.report-cards{grid-template-columns:repeat(2,1fr)}.account-grid{grid-template-columns:1fr}.my-route-filter{align-items:stretch;flex-direction:column}.mobile-tasks thead{display:none}.mobile-tasks,.mobile-tasks tbody,.mobile-tasks tr,.mobile-tasks td{display:block;width:100%}.mobile-tasks tr{padding:12px;border-bottom:1px solid var(--line)}.mobile-tasks td{border:0;padding:4px 2px;white-space:normal}.mobile-tasks td:first-child{display:none}.mobile-tasks td:last-child{padding-top:10px}.mobile-tasks td:last-child .btn{width:100%;text-align:center}.qr-sheet{padding:18px}.user-actions{flex-direction:column;align-items:stretch}.reset-form{flex-direction:column}.reset-form input{width:150px}}
@media print{.sidebar,.topbar,.mobile-nav,.qr-actions{display:none!important}.layout{display:block}.main{padding:0}.qr-sheet{border:0!important;display:block;margin:0}.qr-label{width:70mm;height:auto;margin:10mm auto}.qr-label img{width:45mm;height:45mm}}

/* V3.3 - Programacion compacta */
.program-filter-panel{padding:10px 12px;margin-bottom:12px}
.program-filters{grid-template-columns:minmax(250px,2fr) minmax(150px,.9fr) minmax(150px,.9fr) auto auto;gap:8px}
.program-filters input,.program-filters select{padding:8px 9px;font-size:12px}
.program-filters .btn{padding:8px 13px;font-size:12px}
.program-panel{margin-bottom:12px}
.program-title{padding:10px 12px}
.program-title h2{font-size:15px}
.program-table-wrap{overflow-x:hidden;max-width:100%}
.program-table{width:100%;table-layout:fixed;font-size:11px}
.program-table th,.program-table td{padding:7px 7px;white-space:normal;vertical-align:middle;line-height:1.18;overflow-wrap:anywhere}
.program-table th{font-size:9px;letter-spacing:.015em}
.program-table th:nth-child(1){width:7%}
.program-table th:nth-child(2){width:8%}
.program-table th:nth-child(3){width:10%}
.program-table th:nth-child(4){width:20%}
.program-table th:nth-child(5){width:12%}
.program-table th:nth-child(6){width:17%}
.program-table th:nth-child(7){width:19%}
.program-table th:nth-child(8){width:7%}
.program-table .pill{font-size:9px;padding:3px 6px;white-space:nowrap}
.program-table .program-tag strong{font-size:10.5px;white-space:nowrap}
.program-table .program-equipment,.program-table .program-area{font-size:10.5px}
.program-table .program-activity strong,.program-table .program-lube strong{display:block;font-size:10px;line-height:1.15}
.program-table .subtext{font-size:9px;line-height:1.13;margin-top:2px;color:var(--muted)}
.program-action,.program-action-head{position:sticky;right:0;background:#fff;z-index:2;text-align:center;box-shadow:-6px 0 8px -9px rgba(0,0,0,.55)}
.program-action-head{background:#fafbfc;z-index:3}
.program-table tr:hover .program-action{background:#f7fafc}
.program-execute{padding:6px 8px!important;font-size:9.5px!important;white-space:nowrap}

@media(min-width:801px) and (max-width:1300px){
  .main{padding:16px 18px}
  .program-table{font-size:10px}
  .program-table th,.program-table td{padding:6px 5px}
  .program-table .program-equipment,.program-table .program-area{font-size:9.5px}
  .program-table .program-activity strong,.program-table .program-lube strong{font-size:9.5px}
  .program-table .subtext{font-size:8.5px}
}

@media(max-width:800px){
  .program-filters{grid-template-columns:1fr}
  .program-table-wrap{overflow:visible}
  .program-table,.program-table tbody,.program-table tr,.program-table td{display:block;width:100%}
  .program-table thead{display:none}
  .program-table tr{padding:9px 10px;border-bottom:1px solid var(--line)}
  .program-table td{border:0;padding:3px 2px;white-space:normal}
  .program-table.mobile-tasks td:first-child{display:block}
  .program-table .program-status{padding-bottom:5px}
  .program-table .program-date::before{content:'Próxima: ';font-size:9px;color:var(--muted);font-weight:700}
  .program-table .program-tag::before{content:'TAG: ';font-size:9px;color:var(--muted);font-weight:700}
  .program-table .program-equipment::before{content:'Equipo: ';font-size:9px;color:var(--muted);font-weight:700}
  .program-table .program-area::before{content:'Área: ';font-size:9px;color:var(--muted);font-weight:700}
  .program-table .program-activity::before{content:'Actividad: ';font-size:9px;color:var(--muted);font-weight:700}
  .program-table .program-lube::before{content:'Lubricación: ';font-size:9px;color:var(--muted);font-weight:700}
  .program-action{position:static;box-shadow:none;background:transparent;padding-top:8px!important}
  .program-action .btn{display:block;width:100%;text-align:center;padding:9px!important;font-size:11px!important}
}

/* V4 - separacion de rutas de motores */
.program-filters{grid-template-columns:minmax(240px,2fr) minmax(130px,.8fr) minmax(135px,.85fr) minmax(135px,.85fr) auto auto}
.route-filters{grid-template-columns:160px 150px minmax(170px,1fr) 160px auto auto auto}
.motor-route-info{display:none;background:#eef6fb;border:1px solid #cae1f1;border-radius:9px;padding:11px 12px;font-size:12px;line-height:1.4}
.motor-route-info .pill{margin-left:8px}.motor-route-info .link{margin-left:8px}
.motor-owner-panel{overflow:visible}.motor-owner-form{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:10px;align-items:end;padding:18px}
.motor-owner-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}
.motor-owner-form select{border:1px solid var(--line);border-radius:8px;padding:10px 11px;background:white;color:var(--text)}
@media(max-width:1100px){.route-filters{grid-template-columns:1fr 1fr}.program-filters{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:800px){.program-filters,.route-filters,.motor-owner-form{grid-template-columns:1fr}.motor-route-info .pill,.motor-route-info .link{margin-left:0;margin-top:6px}}

/* V4.2 - selección manual de actividades y creación de rutas */
.bulk-route-panel{padding:9px 12px;margin-bottom:10px;position:sticky;top:8px;z-index:12;box-shadow:0 5px 18px rgba(22,55,85,.08)}
.bulk-route-left,.bulk-route-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bulk-route-left{margin-bottom:7px}
.bulk-route-fields label{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:var(--muted);margin:0}
.bulk-route-fields input,.bulk-route-fields select{padding:6px 7px;font-size:10.5px;min-height:31px}
.bulk-route-fields input[type=date]{width:130px}
.bulk-route-fields select{width:205px}
.bulk-route-fields .bulk-notes{flex:1;min-width:180px}
.bulk-route-fields .bulk-notes input{width:100%}
.bulk-route-help{font-size:9.5px;color:var(--muted);margin-top:6px;line-height:1.25}
.bulk-select-all{font-size:10.5px;display:flex;align-items:center;gap:5px}
.task-checkbox,.bulk-select-all input{width:15px;height:15px;accent-color:#0d527c;cursor:pointer}
.bulk-program-table th:nth-child(1){width:3%}
.bulk-program-table th:nth-child(2){width:7%}
.bulk-program-table th:nth-child(3){width:8%}
.bulk-program-table th:nth-child(4){width:9%}
.bulk-program-table th:nth-child(5){width:18%}
.bulk-program-table th:nth-child(6){width:11%}
.bulk-program-table th:nth-child(7){width:17%}
.bulk-program-table th:nth-child(8){width:20%}
.bulk-program-table th:nth-child(9){width:7%}
.program-check,.program-check-head{text-align:center;padding-left:3px!important;padding-right:3px!important}
.selected-row td{background:#f1f8fc!important}
.selected-row .program-action{background:#f1f8fc!important}
.bulk-alert{margin-bottom:10px}
.alert.success{background:#e8f6ee;border:1px solid #badfc8;color:#17663a;padding:10px 12px;border-radius:10px;margin-bottom:10px}
@media(max-width:1100px){.bulk-route-panel{position:static}.bulk-route-fields select{width:180px}}
@media(max-width:800px){
  .bulk-route-left,.bulk-route-fields{display:grid;grid-template-columns:1fr}
  .bulk-route-fields label{display:grid;grid-template-columns:1fr}
  .bulk-route-fields input,.bulk-route-fields select,.bulk-route-fields input[type=date]{width:100%}
  .program-check{display:flex!important;align-items:center;gap:6px}
  .program-check::after{content:'Seleccionar';font-size:9px;color:var(--muted);font-weight:700}
}

/* V4.3 - Detalle de ruta compacto y sin desplazamiento horizontal */
.route-head-compact{padding:14px 16px;margin-bottom:12px;gap:12px}
.route-head-compact .route-head-main{min-width:0}
.route-head-compact h2{font-size:20px;line-height:1.2;margin:2px 0 4px;overflow-wrap:anywhere}
.route-head-compact p{font-size:11.5px;line-height:1.3}
.route-head-compact .route-head-actions{flex:0 0 auto;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.route-metrics{gap:10px;margin-bottom:12px}
.route-metrics .card{min-height:74px;padding:11px 13px}
.route-metrics .card strong{font-size:24px;margin:6px 0 0}
.route-note{padding:9px 12px;margin-bottom:12px}
.route-detail-panel{margin-bottom:12px}
.route-detail-title{padding:10px 12px}
.route-detail-title h2{font-size:15px}
.route-detail-wrap{overflow-x:hidden;max-width:100%}
.route-detail-table{width:100%;table-layout:fixed;font-size:10.5px}
.route-detail-table th,.route-detail-table td{padding:7px 6px;white-space:normal;vertical-align:middle;line-height:1.16;overflow-wrap:anywhere}
.route-detail-table th{font-size:8.5px;letter-spacing:.01em}
.route-detail-table th:nth-child(1){width:3%}
.route-detail-table th:nth-child(2){width:8%}
.route-detail-table th:nth-child(3){width:23%}
.route-detail-table th:nth-child(4){width:14%}
.route-detail-table th:nth-child(5){width:24%}
.route-detail-table th:nth-child(6){width:20%}
.route-detail-table th:nth-child(7){width:3.5%}
.route-detail-table th:nth-child(8){width:7.5%}
.route-detail-table .pill{font-size:8.5px;padding:3px 6px;white-space:nowrap}
.route-detail-table strong{font-size:10.2px;line-height:1.12}
.route-detail-table .subtext{font-size:8.7px;line-height:1.12;margin-top:2px;overflow-wrap:anywhere}
.route-pos,.route-shutdown{text-align:center}
.route-shutdown{font-size:10px;font-weight:700}
.route-action,.route-action-head{position:sticky;right:0;background:#fff;z-index:2;text-align:center;box-shadow:-7px 0 8px -10px rgba(0,0,0,.6)}
.route-action-head{background:#fafbfc;z-index:3}
.route-detail-table tr:hover .route-action{background:#f7fafc}
.route-execute{padding:6px 7px!important;font-size:9px!important;white-space:nowrap}

@media(min-width:801px) and (max-width:1350px){
  .route-head-compact{padding:12px 13px}
  .route-head-compact h2{font-size:18px}
  .route-metrics .card{min-height:68px;padding:9px 11px}
  .route-metrics .card strong{font-size:21px}
  .route-detail-table{font-size:9.7px}
  .route-detail-table th,.route-detail-table td{padding:6px 4px}
  .route-detail-table strong{font-size:9.3px}
  .route-detail-table .subtext{font-size:8px}
  .route-detail-table .pill{font-size:8px;padding:3px 5px}
  .route-execute{padding:5px 6px!important;font-size:8.5px!important}
}

@media(max-width:800px){
  .route-detail-wrap{overflow:visible}
  .route-detail-table,.route-detail-table tbody,.route-detail-table tr,.route-detail-table td{display:block;width:100%}
  .route-detail-table thead{display:none}
  .route-detail-table tr{padding:9px 10px;border-bottom:1px solid var(--line)}
  .route-detail-table td{border:0;padding:3px 2px;white-space:normal;text-align:left}
  .route-detail-table.mobile-tasks td:first-child{display:none}
  .route-status{padding-bottom:5px!important}
  .route-equipment::before{content:'TAG / Equipo: ';font-size:9px;color:var(--muted);font-weight:700}
  .route-location::before{content:'Ubicación: ';font-size:9px;color:var(--muted);font-weight:700}
  .route-activity::before{content:'Actividad: ';font-size:9px;color:var(--muted);font-weight:700}
  .route-lube::before{content:'Lubricación: ';font-size:9px;color:var(--muted);font-weight:700}
  .route-shutdown::before{content:'Detención: ';font-size:9px;color:var(--muted);font-weight:700}
  .route-action{position:static;box-shadow:none;background:transparent;padding-top:8px!important}
  .route-action .btn{display:block;width:100%;text-align:center;padding:9px!important;font-size:11px!important}
}

/* V4.4 - filtro adicional por tipo de actividad */
.program-filters{grid-template-columns:minmax(220px,1.8fr) minmax(110px,.7fr) minmax(125px,.8fr) minmax(135px,.9fr) minmax(120px,.8fr) auto auto}
@media(max-width:1250px){.program-filters{grid-template-columns:1.5fr 1fr 1fr 1fr}.program-filters .btn{width:100%}}
@media(max-width:800px){.program-filters{grid-template-columns:1fr}}

/* V4.5 - selección masiva y por cantidad */
.bulk-quantity-select{display:flex;align-items:center;gap:5px;padding-left:4px;border-left:1px solid var(--line)}
.bulk-quantity-select label{font-size:10.5px;font-weight:700;color:var(--muted)}
.bulk-quantity-select input{width:78px;padding:5px 7px;border:1px solid var(--line);border-radius:6px;font-size:10.5px;min-height:29px}
.bulk-quantity-select input:disabled{background:#f3f5f7;color:var(--muted)}
@media(max-width:800px){.bulk-quantity-select{border-left:0;padding-left:0;display:grid;grid-template-columns:auto 80px 1fr}.bulk-quantity-select .btn{width:100%}}


/* V4.6 - selección múltiple por tipo de actividad */
.program-filter-panel{overflow:visible;position:relative;z-index:20}
.activity-multiselect{position:relative;min-width:0;font-size:12px;color:var(--text)}
.activity-multiselect summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:36px;border:1px solid var(--line);border-radius:8px;padding:8px 9px;background:#fff;cursor:pointer;user-select:none;white-space:nowrap;overflow:hidden}
.activity-multiselect summary::-webkit-details-marker{display:none}
.activity-multiselect summary span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.activity-multiselect[open] summary{border-color:var(--accent);box-shadow:0 0 0 2px rgba(13,82,124,.09)}
.multi-chevron{font-size:13px;color:var(--muted);flex:0 0 auto;transition:transform .15s ease}
.activity-multiselect[open] .multi-chevron{transform:rotate(180deg)}
.multi-select-menu{position:absolute;top:calc(100% + 5px);left:0;min-width:250px;max-width:330px;width:max-content;z-index:80;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 10px 24px rgba(24,46,67,.16);padding:7px;max-height:300px;overflow:auto}
.multi-select-menu label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;padding:7px 8px;border-radius:6px;font-size:11.5px!important;font-weight:500!important;cursor:pointer;color:var(--text)!important;line-height:1.2}
.multi-select-menu label:hover{background:#f1f6f9}
.multi-select-menu input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px;margin:0;accent-color:#0d527c;padding:0!important}
.multi-select-all{background:#f7fafc}
.multi-divider{height:1px;background:var(--line);margin:5px 3px}
.route-activity-multiselect{width:100%;font-weight:400}
.route-activity-multiselect summary{min-height:42px;padding:10px 11px;font-size:13px}
.route-activity-multiselect .multi-select-menu{left:0;right:auto;min-width:min(360px,100%);max-width:100%;width:100%}
@media(max-width:800px){
  .activity-multiselect{width:100%}
  .multi-select-menu{position:static;width:100%;max-width:none;min-width:0;margin-top:5px;box-shadow:none}
  .activity-multiselect summary{min-height:42px;font-size:13px}
}

/* V4.7 - Reasignación segura de rutas */
.route-reassign-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin:10px 0}
.route-reassign-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.route-reassign-copy span,.route-reassign-current{font-size:.82rem;color:var(--muted,#637184)}
.route-reassign-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.route-reassign-form select{min-width:220px;max-width:320px;padding:8px 10px}
@media(max-width:900px){.route-reassign-panel{align-items:stretch;flex-direction:column}.route-reassign-form{width:100%}.route-reassign-form select{min-width:0;max-width:none;flex:1 1 210px}}

/* V4.8 - Mantenedor maestro */
.maint-cards .maint-role{font-size:18px;margin-top:18px}.maint-top-grid{grid-template-columns:1fr 1.25fr}.maint-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.maint-form-grid label,.task-maint-grid label{margin:0}.maint-span{grid-column:1/-1}.maint-lube-new{display:grid;grid-template-columns:1.2fr 1fr auto;gap:8px;padding:14px 16px;border-bottom:1px solid var(--line)}.maint-lube-new input,.maint-lube-row input,.maint-lube-row select{border:1px solid var(--line);border-radius:7px;padding:8px 9px;min-width:0}.maint-lube-list{max-height:430px;overflow:auto}.maint-lube-row{display:grid;grid-template-columns:1.4fr 1fr 105px 125px auto;gap:6px;padding:8px 12px;border-bottom:1px solid #edf0f2;align-items:center}.maint-breadcrumb{display:flex;justify-content:space-between;gap:10px;margin:-4px 0 12px;font-size:12px}.maint-breadcrumb a{color:var(--accent);font-weight:600}.task-maint-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.task-maint-span{grid-column:1/-1}.maint-task-list{padding:8px 12px 14px}.maint-task-card{border:1px solid var(--line);border-radius:9px;background:#fff;margin:8px 0;overflow:hidden}.maint-task-card summary{cursor:pointer;list-style:none;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.maint-task-card summary::-webkit-details-marker{display:none}.maint-task-card summary>div{display:flex;gap:9px;align-items:center;min-width:0}.maint-task-card summary strong{font-size:12px}.maint-task-card summary span{font-size:11px;color:var(--muted)}.maint-task-card summary b{font-size:11px;color:var(--accent)}.maint-task-card[open] summary{background:#f6f9fb;border-bottom:1px solid var(--line)}.maint-task-edit{padding:12px}.form-stack label small{font-weight:400;color:var(--muted);font-size:10px}
@media(max-width:1150px){.maint-top-grid{grid-template-columns:1fr}.task-maint-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maint-lube-row{grid-template-columns:1fr 1fr 100px 120px auto}}
@media(max-width:800px){.maint-form-grid,.task-maint-grid{grid-template-columns:1fr}.maint-lube-new,.maint-lube-row{grid-template-columns:1fr}.maint-task-card summary{align-items:flex-start;flex-direction:column}.maint-task-card summary>div{flex-wrap:wrap}.maint-breadcrumb{flex-direction:column}}

/* V4.9 - Actividades fuera de ruta + descarga matriz */
.my-route-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.maint-actions-top{display:flex;justify-content:flex-end;margin:0 0 10px}
.offroute-search,.offroute-equipment{margin-bottom:12px}
.offroute-equipment .form-stack{max-width:none}
.offroute-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.offroute-fieldset{border:1px solid var(--line);border-radius:9px;padding:10px 12px;margin:0}
.offroute-fieldset legend{padding:0 6px;font-size:12px;font-weight:700;color:var(--text)}
.offroute-fieldset .choice,.update-plan{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;font-weight:600;margin:4px 0}
.offroute-fieldset input[type=radio],.update-plan input[type=checkbox]{width:16px;height:16px;accent-color:#0d527c}
.offroute-source{border:1px solid #e4e9ee;background:#fafcfd;border-radius:9px;padding:10px 12px}
.offroute-panel{margin-top:12px}
.offroute-panel .panel-title{padding:10px 12px}
@media(max-width:800px){.offroute-grid{grid-template-columns:1fr}.my-route-toolbar{align-items:stretch}.my-route-toolbar>.btn{width:100%;text-align:center}.maint-actions-top{justify-content:stretch}.maint-actions-top .btn{width:100%;text-align:center}}


/* V5.0 - Inspecciones: temperatura y limpieza */
.inspection-fields{border:1px solid var(--border,#d7dde5);border-radius:10px;padding:12px;background:#f8fafc;margin:4px 0 8px}.inspection-title{font-weight:700;margin-bottom:9px}.inspection-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.inspection-grid label{min-width:0}@media(max-width:700px){.inspection-grid{grid-template-columns:1fr}}


/* V5.1 - Plan de lubricación compacto, sin desplazamiento horizontal */
.plan-panel{overflow:visible}
.plan-detail-wrap{overflow:hidden;max-width:100%}
.plan-detail-table{width:100%;table-layout:fixed;font-size:10.5px}
.plan-detail-table th,.plan-detail-table td{padding:8px 7px;white-space:normal;vertical-align:middle;line-height:1.18;overflow-wrap:anywhere}
.plan-detail-table th{font-size:9.5px}
.plan-detail-table strong{display:block;font-size:10.5px;line-height:1.15}
.plan-detail-table .subtext{font-size:8.8px;line-height:1.15;margin-top:2px}
.plan-detail-table .pill{font-size:9px;padding:3px 6px;white-space:nowrap}
.plan-col-status{width:7.5%}.plan-col-component{width:17%}.plan-col-activity{width:14%}.plan-col-lube{width:24%}.plan-col-frequency{width:8%}.plan-col-last{width:9%}.plan-col-next{width:9%}.plan-col-action{width:8.5%}
.plan-status,.plan-frequency,.plan-last,.plan-next{text-align:left;white-space:nowrap!important}
.plan-action-head,.plan-action{text-align:right}
.plan-action{position:sticky;right:0;background:#fff;z-index:2;box-shadow:-5px 0 8px -8px rgba(0,0,0,.35);white-space:nowrap!important}
.plan-action-head{position:sticky;right:0;background:#fafbfc;z-index:3}
.plan-detail-table tr:hover .plan-action{background:#f7fafc}
.plan-execute{padding:6px 8px!important;font-size:9px!important;white-space:nowrap}
.plan-panel-title{padding:12px 14px}
.plan-panel-title h2{font-size:16px}

@media(min-width:801px) and (max-width:1350px){
  .plan-detail-table{font-size:9.4px}
  .plan-detail-table th,.plan-detail-table td{padding:6px 4px}
  .plan-detail-table th{font-size:8.6px}
  .plan-detail-table strong{font-size:9.2px}
  .plan-detail-table .subtext{font-size:7.8px}
  .plan-detail-table .pill{font-size:8px;padding:3px 5px}
  .plan-execute{padding:5px 6px!important;font-size:8.3px!important}
  .plan-col-status{width:7%}.plan-col-component{width:17%}.plan-col-activity{width:14%}.plan-col-lube{width:24%}.plan-col-frequency{width:8%}.plan-col-last{width:9%}.plan-col-next{width:9%}.plan-col-action{width:9%}
}

@media(max-width:800px){
  .plan-detail-wrap{overflow:visible}
  .plan-detail-table,.plan-detail-table tbody,.plan-detail-table tr,.plan-detail-table td{display:block;width:100%}
  .plan-detail-table colgroup,.plan-detail-table thead{display:none}
  .plan-detail-table tr{padding:9px 10px;border-bottom:1px solid var(--line)}
  .plan-detail-table td{border:0;padding:3px 2px;white-space:normal!important;text-align:left}
  .plan-status{padding-bottom:5px!important}
  .plan-component::before{content:'Componente / Punto: ';font-size:9px;color:var(--muted);font-weight:700}
  .plan-activity::before{content:'Actividad / Método: ';font-size:9px;color:var(--muted);font-weight:700}
  .plan-lube::before{content:'Lubricación: ';font-size:9px;color:var(--muted);font-weight:700}
  .plan-frequency::before{content:'Frecuencia: ';font-size:9px;color:var(--muted);font-weight:700}
  .plan-last::before{content:'Última: ';font-size:9px;color:var(--muted);font-weight:700}
  .plan-next::before{content:'Próxima: ';font-size:9px;color:var(--muted);font-weight:700}
  .plan-action{position:static;box-shadow:none;background:transparent;padding-top:8px!important}
  .plan-action .btn{display:block;width:100%;text-align:center;padding:9px!important;font-size:11px!important}
}

/* V5.2 - Buscador global de equipos para Fuera de Ruta */
.offroute-live-search{display:grid;gap:8px}.search-status{font-size:.86rem;color:var(--muted,#667085);min-height:20px}.equipment-search-results{display:grid;gap:7px}.equipment-search-item{width:100%;border:1px solid #d7dee7;background:#fff;border-radius:10px;padding:10px 12px;text-align:left;display:grid;grid-template-columns:minmax(110px,.7fr) minmax(150px,1.5fr) minmax(130px,1fr);gap:8px;align-items:center;color:#183246;cursor:pointer}.equipment-search-item strong{font-size:.9rem}.equipment-search-item span{font-size:.9rem;font-weight:600;min-width:0}.equipment-search-item small{font-size:.78rem;color:#667085;min-width:0}.equipment-search-item:hover,.equipment-search-item:focus{border-color:#3b82a0;background:#f5fafc;outline:2px solid transparent}.muted-help{font-size:.82rem;color:#667085;align-self:center}
@media(max-width:700px){.equipment-search-item{grid-template-columns:1fr;padding:11px 12px;gap:2px}.equipment-search-item strong{font-size:.95rem}.equipment-search-item span{font-size:.9rem}.equipment-search-item small{font-size:.8rem}.offroute-search .panel-title{align-items:flex-start}.offroute-live-search input{font-size:16px;min-height:44px}}

/* V5.4 - flujo continuo de ruta */
.route-context-flow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.route-context-flow>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.route-flow-progress{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
.route-flow-progress strong{font-size:1.15rem}
.route-flow-progress span{font-size:.82rem;opacity:.8}
.compact-alert{margin-top:8px;margin-bottom:8px}
.route-flow-actions{position:sticky;bottom:0;background:var(--panel,#fff);padding-top:8px;padding-bottom:4px;z-index:3}
@media(max-width:720px){.route-flow-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.route-flow-actions .btn:last-child{grid-column:1/-1;min-height:48px;font-size:1rem}.route-context-flow{align-items:flex-start}.route-flow-progress{width:100%;justify-content:space-between}}

/* V6.5 - historial por rango de fechas */
.history-filters{grid-template-columns:minmax(260px,1.8fr) 145px 145px minmax(160px,1fr) minmax(160px,1fr) minmax(150px,.9fr) auto auto;align-items:end}
.date-filter{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:700;color:var(--muted)}
.date-filter input{width:100%;min-height:38px}
.history-download{grid-column:1/-1;text-align:center}
@media(max-width:1250px){.history-filters{grid-template-columns:1fr 1fr 1fr 1fr}.history-download{grid-column:auto}}
@media(max-width:800px){.history-filters{grid-template-columns:1fr}.history-download{grid-column:auto;width:100%}}

/* V6.7 - Anomalías fuera de ruta con estructura operativa */
.anomaly-operational-table th:nth-child(1){min-width:90px}.anomaly-operational-table th:nth-child(2){min-width:170px}.anomaly-operational-table th:nth-child(3){min-width:145px}.anomaly-operational-table th:nth-child(4){min-width:120px}.anomaly-operational-table th:nth-child(5){min-width:120px}.anomaly-operational-table th:nth-child(6){min-width:260px}.anomaly-operational-table td{vertical-align:top}.anomaly-operational-table .subtext{display:block;margin-top:3px}

/* V6.8 - rango semanal de programación */
.program-date-range{display:flex;gap:6px;align-items:end;flex-wrap:wrap;min-width:330px}
.program-date-range label{font-size:12px;font-weight:700;color:var(--muted,#607085);display:flex;flex-direction:column;gap:3px}
.program-date-range input[type=date]{min-width:132px;padding:9px 10px}
@media(max-width:900px){.program-date-range{width:100%;min-width:0}.program-date-range label{flex:1 1 140px}.program-date-range input[type=date]{width:100%;min-width:0}}


/* V6.11: Programación con fechas siempre visibles, sin controles superpuestos */
.program-filters {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:end}
.program-filters>input[name="q"]{grid-column:span 4;min-width:0}
.program-filters>select[name="area"]{grid-column:span 2}
.program-filters>select[name="tipo"]{grid-column:span 2}
.program-filters>.activity-multiselect{grid-column:span 4;min-width:0}
.program-filters>.program-date-range{grid-column:span 8;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:8px;min-width:0;align-items:end}
.program-filters>.program-date-range label{display:flex;flex-direction:column;min-width:0;width:100%;font-size:12px;font-weight:650}
.program-filters>.program-date-range input[type="date"]{display:block;width:100%;min-width:0;max-width:none;min-height:40px;box-sizing:border-box;line-height:1.3}
.program-filters>.program-date-range .btn{min-height:40px;white-space:nowrap}
.program-filters>select[name="estado"]{grid-column:span 2;min-width:0}
.program-filters>button[type="submit"]{grid-column:span 1;min-height:40px}
.program-filters>a.btn{grid-column:span 1;min-height:40px;text-align:center;line-height:20px}
@media(max-width:1400px){
  .program-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
  .program-filters>input[name="q"],.program-filters>.program-date-range{grid-column:1/-1}
  .program-filters>select[name="area"],.program-filters>select[name="tipo"],.program-filters>.activity-multiselect{grid-column:span 1}
  .program-filters>.activity-multiselect{grid-column:span 2}
  .program-filters>select[name="estado"]{grid-column:span 2}
  .program-filters>button[type="submit"],.program-filters>a.btn{grid-column:span 1}
}
@media(max-width:850px){
  .program-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .program-filters>input[name="q"],.program-filters>.program-date-range{grid-column:1/-1}
  .program-filters>select[name="area"],.program-filters>select[name="tipo"],.program-filters>.activity-multiselect{grid-column:span 1}
  .program-filters>.activity-multiselect{grid-column:1/-1}
  .program-filters>.program-date-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .program-filters>.program-date-range .btn{white-space:normal}
  .program-filters>select[name="estado"]{grid-column:1/-1}
}
@media(max-width:480px){
  .program-filters{grid-template-columns:minmax(0,1fr)}
  .program-filters>*{grid-column:1/-1!important}
  .program-filters>.program-date-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .program-filters>.program-date-range label{grid-column:span 1}
  .program-filters>.program-date-range .btn{grid-column:span 1}
}
/* V6.11: gráficos de consumo de lubricantes, sin recursos externos */
.consumption-filters{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr)) repeat(3,minmax(150px,1fr)) minmax(140px,1fr) auto;gap:10px;align-items:end}
.consumption-filters .date-filter{font-size:12px}
.consumption-filters .date-filter select,.consumption-filters .date-filter input{padding:9px;border:1px solid var(--line);border-radius:8px;background:white;min-height:41px;width:100%;min-width:0}
.consumption-filters .btn{min-height:41px;text-align:center}
.consumption-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}
.consumption-kpis .card{min-height:95px}
.consumption-kpis strong{font-size:25px}
.consumption-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.consumption-bars{padding:16px 19px}
.consumption-bar-row{margin:12px 0}
.consumption-bar-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;align-items:baseline;margin-bottom:6px}
.consumption-bar-head span{min-width:0;overflow-wrap:anywhere}
.consumption-bar-head strong{white-space:nowrap}
.consumption-bar-track{background:#e7eef6;border-radius:999px;height:11px;overflow:hidden}
.consumption-bar-track span{height:100%;background:linear-gradient(90deg,#16a085,#1976ae);border-radius:999px;display:block;min-width:1px}
.consumption-note{padding:13px 16px;border-radius:10px;background:#eef7fb;font-size:13px;line-height:1.55;margin-bottom:16px}
.consumption-exports{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}
.consumption-exports .btn{min-height:39px}
.consumption-table td{white-space:normal;overflow-wrap:anywhere}
@media(max-width:1300px){.consumption-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.consumption-charts{grid-template-columns:1fr}}
@media(max-width:800px){.consumption-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.consumption-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.consumption-filters{grid-template-columns:minmax(0,1fr)}.consumption-kpis{grid-template-columns:1fr 1fr}.consumption-exports .btn{width:100%}}

/* V6.12 · Panel ejecutivo de consumo. Estilos acotados para no cambiar otras vistas. */
.exec-dashboard{--exec-navy:#102a43;--exec-deep:#0b2238;--exec-ink:#162b40;--exec-muted:#668198;--exec-green:#18ae87;--exec-cyan:#60c4d6;--exec-orange:#f1ac5c;--exec-line:#e2eaf0;max-width:1700px;margin:0 auto 28px;font-family:Segoe UI,Arial,sans-serif;color:var(--exec-ink)}
.exec-dashboard button,.exec-dashboard input,.exec-dashboard select{font:inherit}
.exec-hero{border-radius:19px;padding:29px 32px;background:radial-gradient(circle at 82% 14%,rgba(31,176,154,.27),transparent 26%),linear-gradient(118deg,#0b243e 0%,#153c57 66%,#135c6a 100%);color:white;display:flex;align-items:center;justify-content:space-between;gap:28px;overflow:hidden;position:relative;margin-bottom:16px}
.exec-hero::after{content:"";position:absolute;right:-100px;bottom:-180px;width:330px;height:330px;border:1px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none}
.exec-hero-copy,.exec-hero-actions{position:relative;z-index:1;min-width:0}.exec-hero-copy{max-width:760px}
.exec-eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:800;color:#9ce8dc;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.exec-signal{width:8px;height:8px;background:#40d1ae;border-radius:100%;box-shadow:0 0 0 4px rgba(64,209,174,.15)}
.exec-divider{color:#6c93a8}
.exec-hero h2{font-size:clamp(25px,3vw,38px);letter-spacing:-1.3px;font-weight:800;margin:16px 0 7px;line-height:1.1}.exec-title-dot{color:#51d2b7}
.exec-hero p{font-size:13px;color:#c4d8e4;max-width:610px;margin:0;line-height:1.6}
.exec-hero-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.exec-hero-meta>span{font-size:9px;letter-spacing:1.1px;font-weight:700;color:#9bb6c6;padding:8px 11px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:8px}
.exec-hero-meta strong{color:white;margin-left:8px;letter-spacing:0;font-size:11px}
.exec-hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:190px}
.exec-report-label{font-weight:800;letter-spacing:1.6px;font-size:10px;color:#9ec8d0;text-align:center;margin-bottom:4px}
.exec-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:41px;padding:10px 17px;border-radius:10px;border:1px solid transparent;text-align:center;font-size:12px!important;font-weight:750!important;cursor:pointer;transition:background .16s ease,transform .16s ease;white-space:nowrap;text-decoration:none}
.exec-button-light{background:#fff;color:#103c50;border-color:#fff}.exec-button-outline{background:rgba(255,255,255,.07);color:#fff;border-color:rgba(255,255,255,.29)}
.exec-button-dark{background:#104361;color:white;border-color:#104361}.exec-button:focus-visible,.exec-clean:focus-visible{outline:3px solid #54d4bf;outline-offset:3px}
@media(hover:hover){.exec-button:hover{transform:translateY(-1px)}.exec-button-light:hover{background:#e9f9f6}.exec-button-dark:hover{background:#0a344d}}
.exec-filters{display:grid;grid-template-columns:repeat(2,minmax(120px,.85fr)) repeat(2,minmax(145px,1fr)) minmax(160px,1.35fr) minmax(130px,1fr) auto;gap:10px;align-items:end;border:1px solid var(--exec-line);border-radius:15px;background:#fff;padding:14px;margin-bottom:17px}
.exec-filter-title{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:3px}.exec-filter-title strong{font-size:13px}.exec-filter-title small{color:var(--exec-muted);font-size:11px}
.exec-filters label{display:flex;flex-direction:column;font-size:10px;letter-spacing:.2px;font-weight:750;gap:6px;min-width:0;color:#486175}
.exec-filters label input,.exec-filters label select{font-size:12px;width:100%;min-width:0;max-width:100%;background:#f9fbfd;color:#263c4e;border:1px solid #d9e5ed;border-radius:8px;padding:10px;min-height:40px}
.exec-filters .exec-filter-actions{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:110px}.exec-filters .exec-filter-actions .exec-button{width:100%;padding:10px 12px}
.exec-clean{font-size:10px;color:#536e85;text-decoration:underline;text-underline-offset:2px}
.exec-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:25px}
.exec-kpi{border-radius:15px;background:#fff;border:1px solid var(--exec-line);padding:17px 18px;min-height:168px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;position:relative;overflow:hidden}
.exec-kpi::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#5abfb0}
.exec-kpi-volume::before{background:#159d94}.exec-kpi-mass::before{background:#3a8ac4}.exec-kpi-count::before{background:#7b83d2}.exec-kpi-quality::before{background:#e6a555}
.exec-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.exec-kpi-top>span:first-child{font-weight:800;color:#60778b;letter-spacing:1.1px;font-size:9px}.exec-kpi-symbol{display:grid;place-items:center;width:26px;height:26px;background:#eef6f7;color:#267f8a;border-radius:7px;font-size:13px}
.exec-kpi strong{font-weight:800;letter-spacing:-1.1px;color:#0d2d45;font-size:clamp(27px,2.6vw,37px);line-height:1.1;display:block;overflow-wrap:anywhere}.exec-kpi strong em{font-size:15px;margin-left:6px;color:#7892a5;font-style:normal;letter-spacing:0}
.exec-kpi small{display:block;font-size:12px;margin-top:6px;color:#5f7689}
.exec-kpi-bottom{font-size:10px;color:#8296a6;border-top:1px solid #edf2f5;padding-top:11px;line-height:1.35}
.exec-kpi-pin{display:inline-block;width:6px;height:6px;background:#25b38d;border-radius:50%;margin-right:3px}
.exec-quality-track{height:6px;border-radius:99px;background:#edf2f5;overflow:hidden;margin-top:-5px}.exec-quality-track>span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#24bb98,#5bd2b5)}
.exec-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:22px 2px 12px}
.exec-section-overline{color:#218c89;font-weight:800;font-size:9px;letter-spacing:1.8px}.exec-section-title h3{margin:4px 0 0;font-size:21px;letter-spacing:-.5px}.exec-section-meta{font-size:11px;color:#69859a}
.exec-unit-section{margin-bottom:24px}.exec-unit-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px;padding:0 2px}
.exec-unit-intro{display:flex;align-items:center;gap:11px;min-width:0}.exec-unit-icon{height:41px;min-width:41px;padding:0 4px;display:grid;place-items:center;color:white;font-size:14px;font-weight:800;background:#146a73;border-radius:12px}
.exec-unit-kicker{font-size:9px;letter-spacing:1.1px;color:#6c8497;font-weight:800}.exec-unit-heading h3{margin:3px 0 0;font-size:24px;line-height:1.1;letter-spacing:-.5px}.exec-unit-heading h3 small{font-size:13px;color:#8197a5}.exec-unit-caption{font-size:11px;color:#8192a1}
.exec-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.exec-panel{border:1px solid var(--exec-line);border-radius:14px;background:white;padding:18px 20px;min-width:0}
.exec-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.exec-panel-label{display:block;font-size:9px;font-weight:800;color:#268d8f;letter-spacing:1.4px;margin-bottom:5px}
.exec-panel h4{font-size:15px;font-weight:750;color:#152d42;margin:0;letter-spacing:-.2px}.exec-pill{font-size:10px;font-weight:800;color:#5b7c8c;padding:6px 9px;background:#eff6f7;border-radius:999px;white-space:nowrap}
.exec-rank{display:flex;align-items:center;gap:12px;margin-bottom:15px}.exec-rank:last-child{margin-bottom:2px}.exec-rank-index{font-size:11px;color:#90a4b1;font-weight:800;min-width:20px}.exec-rank-main{min-width:0;flex:1}.exec-rank-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:7px;min-width:0}
.exec-rank-label>span{font-size:11px;font-weight:650;color:#274056;min-width:0;overflow-wrap:anywhere}.exec-rank-label strong{font-size:11px;color:#1a3b51;white-space:nowrap}
.exec-track{height:7px;width:100%;background:#ecf2f5;border-radius:99px;overflow:hidden}.exec-track>span{display:block;height:100%;border-radius:99px}.exec-track-primary{background:linear-gradient(90deg,#1f9e86,#5fd4b0)}.exec-track-secondary{background:linear-gradient(90deg,#326ba8,#79b9e0)}
.exec-share{font-size:11px;font-weight:700;color:#597588;min-width:44px;text-align:right}
.exec-feature-secondary .exec-panel{min-height:288px}.exec-trend{display:flex;align-items:stretch;justify-content:space-between;gap:8px;min-height:188px;padding:8px 0 0}
.exec-trend-item{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;text-align:center}.exec-trend-value{font-size:9px;color:#567487;font-weight:750;max-width:100%;overflow-wrap:anywhere}
.exec-trend-column{height:135px;width:100%;max-width:52px;background:linear-gradient(to top,#f1f7fa,#fff);border-radius:6px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.exec-trend-column span{display:block;width:72%;background:linear-gradient(180deg,#33b9ae,#206ba6);border-radius:6px 6px 2px 2px;min-height:0}
.exec-trend-label{font-size:9px;font-weight:650;color:#7d93a4;min-height:25px;max-width:100%;line-height:1.2;overflow-wrap:anywhere}
.exec-chart-foot{font-size:10px;color:#93a0ac;margin:8px 0 0;border-top:1px solid #eff3f7;padding-top:9px}
.exec-origin-stack{height:14px;border-radius:99px;background:#eaf2f6;display:flex;overflow:hidden;margin:5px 0 15px}.exec-origin-stack span{height:100%;flex-shrink:0}
.exec-origin-ruta{background:#19ae92}.exec-origin-fuera_ruta{background:#3d88bc}.exec-origin-directa{background:#f2ad62}
.exec-origin-legend>div{display:grid;grid-template-columns:9px minmax(0,1fr) auto 45px;align-items:center;gap:8px;font-size:10px;margin:10px 0;color:#60788c}
.exec-origin-key{width:8px;height:8px;display:inline-block;border-radius:2px}.exec-origin-legend strong{color:#1c364b;white-space:nowrap}.exec-origin-legend small{text-align:right;font-size:10px}
.exec-area-block{margin-top:16px;padding-top:11px;border-top:1px solid #eaf1f4}.exec-area-block h5{font-size:11px;text-transform:uppercase;letter-spacing:.7px;margin:0 0 10px;color:#526f84}
.exec-area-item{display:grid;grid-template-columns:minmax(0,1fr) auto 46px;gap:10px;padding:6px 0;font-size:10px;border-bottom:1px dashed #eef2f4}.exec-area-item:last-child{border:0}.exec-area-item span{overflow-wrap:anywhere;color:#48657a}.exec-area-item strong{color:#254358;white-space:nowrap}.exec-area-item small{text-align:right;color:#6c8e9e;font-size:10px}
.exec-methodology{display:flex;gap:12px;padding:15px 17px;border:1px solid #d7e8e8;background:#edf7f6;border-radius:12px;margin:17px 0}.exec-method-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;background:#d6ece6;color:#168775;border-radius:50%;font-weight:800}
.exec-methodology strong{display:block;font-size:12px;color:#194c50}.exec-methodology p{font-size:11px;color:#446f75;line-height:1.6;margin:4px 0 0}
.exec-zero-state{background:white;border:1px dashed #c8dbe0;border-radius:16px;padding:42px 28px;text-align:center}.exec-zero-icon{display:grid;place-items:center;width:50px;height:50px;background:#eaf5f3;color:#2a938d;border-radius:14px;margin:0 auto 15px;font-size:25px}
.exec-zero-state h3{font-size:18px;margin:0}.exec-zero-state p{max-width:570px;margin:10px auto 20px;color:#78919c;font-size:13px;line-height:1.5}
.exec-details{background:#fff;border:1px solid var(--exec-line);border-radius:13px;margin:18px 0;overflow:hidden}.exec-details summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 18px;list-style:none}.exec-details summary::-webkit-details-marker{display:none}.exec-details summary strong{display:block;font-size:14px;color:#17384c}.exec-details summary small{display:block;color:#899ca9;margin-top:3px;font-size:10px}
.exec-details-toggle{color:#147488;font-weight:700;font-size:12px;white-space:nowrap}.exec-detail-export{display:flex;flex-wrap:wrap;gap:9px;padding:11px 18px;border-top:1px solid #ebf0f3;background:#f7fafc}.exec-detail-export a{font-size:11px;color:#176b88;text-decoration:underline}.exec-table{font-size:11px}.exec-table td{white-space:normal;overflow-wrap:anywhere}.exec-table th{white-space:nowrap}.exec-table-foot{font-size:10px;color:#778d9e;line-height:1.5;padding:11px 18px}
.exec-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#889eac;padding:6px 3px 20px}.exec-footer b{color:#18aa90}
@media(max-width:1500px){.exec-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.exec-filter-actions{align-self:end}.exec-kpi{padding:15px}.exec-feature-grid{gap:11px}}
@media(max-width:1100px){.exec-hero{padding:24px}.exec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.exec-feature-grid{grid-template-columns:1fr}.exec-trend-column{height:145px}.exec-trend{min-height:200px}}
@media(max-width:720px){.exec-hero{display:block;padding:22px}.exec-hero-actions{flex-direction:row;align-items:center;flex-wrap:wrap;margin-top:16px}.exec-report-label{width:100%;text-align:left}.exec-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.exec-filter-actions{grid-column:1/-1;flex-direction:row!important;justify-content:space-between}.exec-filter-actions .exec-button{max-width:240px}.exec-section-meta,.exec-unit-caption{display:none}.exec-panel{padding:14px}.exec-kpi{min-height:155px}.exec-section-title h3{font-size:19px}.exec-footer{flex-wrap:wrap}}
@media(max-width:400px){.exec-hero h2{letter-spacing:-.6px}.exec-hero-actions>.exec-button{width:100%}.exec-filters{grid-template-columns:1fr}.exec-filter-title{display:block}.exec-filter-title small{display:block;margin-top:5px}.exec-kpis{grid-template-columns:1fr}.exec-kpi{min-height:128px}.exec-rank{gap:7px}.exec-share{min-width:34px;font-size:10px}.exec-rank-label{gap:7px;flex-wrap:wrap}.exec-origin-legend>div{grid-template-columns:8px minmax(0,1fr) auto 33px;gap:5px}.exec-trend-label{font-size:8px}}
@media print{
  @page{size:A4 landscape;margin:11mm}
  body{background:white!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-size:10px}
  .sidebar,.mobile-nav,.topbar,.exec-filters,.exec-hero-actions,.exec-details,.exec-clean{display:none!important}
  .layout{display:block!important;min-height:0!important}.main{padding:0!important;overflow:visible!important}.exec-dashboard{max-width:none!important;margin:0!important}
  .exec-hero{padding:16px 22px!important;min-height:104px;border-radius:8px;margin-bottom:10px!important}.exec-hero h2{font-size:27px!important;margin:9px 0 5px}.exec-hero p{font-size:10px}.exec-hero-meta{margin-top:10px}.exec-hero-meta>span{padding:4px 6px;font-size:8px}
  .exec-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px}.exec-kpi{padding:12px!important;min-height:110px!important;break-inside:avoid}.exec-kpi strong{font-size:24px!important}.exec-kpi-bottom{padding-top:5px}
  .exec-section-title{margin:14px 0 8px}.exec-section-title h3{font-size:18px}.exec-unit-section{break-before:auto;break-inside:avoid-page}.exec-unit-section + .exec-unit-section{break-before:page}
  .exec-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-bottom:9px!important}
  .exec-panel{padding:12px 15px!important;break-inside:avoid}.exec-panel-heading{margin-bottom:9px}.exec-panel h4{font-size:12px}.exec-rank{margin-bottom:8px}.exec-rank-label{margin-bottom:3px}.exec-track{height:6px}.exec-trend{min-height:115px}.exec-trend-column{height:78px}.exec-feature-secondary .exec-panel{min-height:0}.exec-area-item{padding:3px 0}.exec-origin-legend>div{margin:4px 0}
  .exec-methodology{padding:10px;margin:11px 0;break-inside:avoid}.exec-methodology p{font-size:9px}.exec-footer{padding:2px 0 0}.exec-zero-state{padding:20px}
}

/* LubriControl V7.2: interfaz de terreno, controles táctiles y PWA */
.mobile-offline-warning[hidden], .lc-m-no-results[hidden], .lc-m-install[hidden], .lc-m-task[hidden]{display:none!important}
.mobile-offline-warning{position:sticky;top:0;background:#be3b35;color:#fff;padding:12px 16px;z-index:48;font-weight:750;font-size:13px;text-align:center}
.lc-mobile{max-width:920px;margin:0 auto 44px;font-family:inherit;--lc-ink:#15344a;--lc-muted:#617c8f;--lc-teal:#108d88;--lc-soft:#eff5f8;color:var(--lc-ink)}
.lc-m-hero{border-radius:21px;background:linear-gradient(125deg,#133f5f 0%,#0d3451 65%,#095563 100%);padding:26px;color:white;box-shadow:0 12px 28px rgba(13,57,87,.11)}
.lc-m-kicker{font-size:10px;letter-spacing:1.7px;color:#97ced1;font-weight:850;text-transform:uppercase;overflow-wrap:anywhere}.lc-live-dot{display:inline-block;height:7px;width:7px;border-radius:50%;background:#40d6b1;margin-right:4px}
.lc-m-hero-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.lc-m-hero h2{font-size:29px;line-height:1.13;margin:12px 0 6px;letter-spacing:-.5px;color:white}.lc-m-hero p{color:#bed4df;margin:0;font-size:13px;line-height:1.45}.lc-m-badge{border-radius:100px;border:1px solid #477d90;color:#cce7ee;padding:7px 10px;font-weight:750;font-size:9px;letter-spacing:.3px;overflow-wrap:anywhere}
.lc-m-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:23px}.lc-m-stats>div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:14px 13px;min-width:0}.lc-m-stats b{display:block;color:white;font-size:25px;line-height:1.1}.lc-m-stats span{display:block;color:#bfd5df;font-size:10px;margin-top:7px;line-height:1.3}
.lc-m-network{font-size:11px;color:#a4e5d4;margin-top:15px}.lc-m-network.is-offline{color:#ffd9cf;font-weight:700}
.lc-m-toolbar{display:flex;align-items:end;justify-content:space-between;gap:8px;margin:28px 2px 13px}.lc-m-toolbar-bottom{margin-top:32px}.lc-m-overline{font-size:9px;font-weight:850;letter-spacing:1.7px;color:#208e92}.lc-m-toolbar h3{margin:5px 0 0;font-size:21px;line-height:1.1;color:#16374f}.lc-m-small-link{font-size:11px;font-weight:750;text-decoration:none;color:#1b6c85;white-space:nowrap}.lc-m-muted{color:#728998;font-size:11px}
.lc-m-routes{display:grid;gap:11px}.lc-m-route{display:block;text-decoration:none;background:#fff;border:1px solid #dbe6ed;border-radius:16px;padding:19px 20px;color:#174057;transition:box-shadow .15s,border-color .15s}.lc-m-route:focus-visible,.lc-m-route:hover{border-color:#3896a7;box-shadow:0 6px 18px rgba(15,64,90,.07)}.lc-m-route-top,.lc-m-route-foot,.lc-m-progress-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.lc-m-route-type{font-size:9px;color:#127c82;font-weight:900;letter-spacing:1.1px}.lc-m-route-date{font-size:10px;color:#708797;font-weight:750;white-space:nowrap}.lc-m-route h4{font-size:17px;letter-spacing:-.2px;line-height:1.3;margin:9px 0 5px;color:#193a50}.lc-m-route p{font-size:11px;color:#698596;line-height:1.4;margin:0}.lc-m-progress{margin-top:16px}.lc-m-progress-label{font-size:11px;margin-bottom:8px}.lc-m-progress-label b{color:#254a5e}.lc-m-progress-label span{color:#2b7484;font-weight:900}.lc-m-progress-track{height:7px;background:#e9f1f5;border-radius:99px;overflow:hidden}.lc-m-progress-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#149fa2,#32c8a1)}.lc-m-route-foot{font-size:11px;border-top:1px solid #edf2f5;padding-top:13px;margin-top:16px}.lc-m-route-foot strong{color:#516f81}.lc-m-route-foot span{color:#087b8b;font-weight:850}
.lc-m-empty{text-align:center;padding:31px 23px;background:#fff;border:1px dashed #b9d4e1;border-radius:17px}.lc-m-empty-icon{display:grid;place-items:center;background:#e4f6ef;color:#148764;font-size:28px;width:55px;height:55px;border-radius:50%;margin:auto}.lc-m-empty h3{margin:15px 0 6px;font-size:17px}.lc-m-empty p{font-size:12px;line-height:1.5;color:#66869b}
.lc-m-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lc-m-quick a{border-radius:14px;border:1px solid #dce7ed;background:white;padding:18px 16px;color:#16435c;text-decoration:none;display:flex;flex-direction:column;gap:5px;min-height:123px;min-width:0}.lc-m-quick a strong{font-size:13px;overflow-wrap:anywhere}.lc-m-quick a small{color:#78909b;font-size:10px}.lc-m-quick-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#e6f4f6;color:#13788b;font-size:24px;font-weight:bold;margin-bottom:3px}
.lc-m-install-card{display:flex;gap:11px;align-items:center;background:#e8f4f3;border:1px solid #c7e6e2;border-radius:15px;padding:16px;margin-top:24px}.lc-m-install-symbol{color:#137d87;font-size:23px}.lc-m-install-card div{flex:1;min-width:0}.lc-m-install-card strong{font-size:12px;display:block;color:#14555e}.lc-m-install-card p{font-size:11px;line-height:1.5;color:#557b81;margin:4px 0 0}.lc-m-install{border:0;background:#106c79;color:white;padding:11px 13px;font-size:12px;border-radius:9px;font-weight:800;cursor:pointer}
.lc-m-back{display:inline-block;color:#257383;font-size:12px;font-weight:750;margin:0 0 12px;text-decoration:none;padding:9px 0}.lc-m-hero-small{padding:22px}.lc-m-hero-small h2{font-size:21px;line-height:1.3}.lc-m-hero-small .lc-m-progress-label b,.lc-m-hero-small .lc-m-progress-label span,.lc-m-hero-small .lc-m-route-foot strong,.lc-m-hero-small .lc-m-route-foot span{color:#e6f2f8}.lc-m-progress-light .lc-m-progress-track{background:#35617c}.lc-m-progress-light .lc-m-progress-track i{background:#32d2b0}.lc-m-week{margin-top:8px!important}
.lc-m-actions{display:flex;gap:9px;margin-top:13px}.lc-m-primary,.lc-m-secondary{display:grid;place-items:center;text-decoration:none;font-size:12px;font-weight:750;border-radius:11px;min-height:48px;padding:12px;flex:1;text-align:center}.lc-m-primary{color:#fff;background:#167d86}.lc-m-secondary{color:#195773;background:#fff;border:1px solid #d8e5eb}
.lc-m-search-label{display:block;font-size:11px;font-weight:750;color:#55798a;margin-bottom:11px}.lc-m-search-label input{display:block;width:100%;margin-top:7px;min-height:46px;border:1px solid #cbdde5;border-radius:11px;padding:13px;background:white;color:#1a3c51;font-size:16px;box-sizing:border-box}
.lc-m-toggle{display:grid;grid-template-columns:1fr 1fr;background:#e5eff4;border-radius:11px;padding:4px;gap:4px;margin:14px 0}.lc-m-toggle button{font-size:11px;font-weight:850;padding:11px;border:0;border-radius:8px;background:transparent;color:#647f8e;cursor:pointer}.lc-m-toggle button.is-active{background:white;color:#125d72;box-shadow:0 1px 3px #b2cbd6}
.lc-m-task-list{display:grid;gap:10px}.lc-m-task{background:#fff;border:1px solid #dce7ee;border-radius:15px;padding:17px}.lc-m-task-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.lc-m-task-top strong{font-size:13px;overflow-wrap:anywhere}.lc-m-pending,.lc-m-done{font-size:9px;font-weight:900;letter-spacing:.1px;padding:5px 8px;border-radius:9px;white-space:nowrap}.lc-m-pending{background:#fff2d8;color:#995400}.lc-m-done{background:#e0f3ec;color:#117350}.lc-m-task h4{font-size:14px;margin:11px 0 5px;color:#183e56}.lc-m-task p{font-size:11px;color:#6b8492;margin:0 0 11px}.lc-m-task-detail{display:flex;gap:6px;flex-wrap:wrap;font-size:11px;color:#43687a}.lc-m-task-detail strong{color:#196f7a}.lc-m-task-lube{font-size:11px;color:#577487;padding:10px 0;margin-top:8px;border-top:1px solid #ebf1f5;display:flex;justify-content:space-between;gap:8px;overflow-wrap:anywhere}.lc-m-task-lube span{white-space:nowrap}.lc-m-task-button{display:grid;place-items:center;min-height:46px;border-radius:9px;background:#185c7b;color:white;text-decoration:none;font-size:13px;font-weight:850;margin-top:10px}.lc-m-task-button-secondary{background:#eaf2f5;color:#236179}.lc-m-no-results{padding:23px;text-align:center;font-size:13px;color:#567789}
@media(max-width:800px){.lc-mobile{padding-bottom:12px}.lc-m-hero h2{font-size:25px}.lc-m-route{padding:17px}.lc-m-route-date{font-size:9px}.lc-mobile .form-stack input,.lc-mobile .form-stack select{font-size:16px}.lc-m-badge{max-width:135px}}
@media(max-width:380px){.lc-m-hero{padding:19px}.lc-m-hero h2{font-size:23px}.lc-m-stats>div{padding:12px 8px}.lc-m-stats b{font-size:20px}.lc-m-stats span{font-size:9px}.lc-m-quick{grid-template-columns:1fr}.lc-m-hero-row{align-items:flex-start}.lc-m-badge{font-size:8px}}
@media print{.lc-m-install-card,.lc-m-actions,.lc-m-search-label,.lc-m-toggle,.lc-m-task-button{display:none!important}}
