:root{
  /* Paleta EXINOA: los nombres de variable quedaron de la versión PuntoMetric
     (navy/teal/lime) para no tocar los ~90 usos en el resto de la hoja de
     estilos; sólo cambian los valores hexadecimales.
     --navy = texto verde casi negro del logo, --teal = verde del logo,
     --lime = verde claro (fin de barras). Amarillo/naranja del sol sólo en
     detalles de marca (--sol-grad), para no confundir con el semáforo. */
  --navy:#0F2A24;--navy2:#0B3B2E;--teal:#127733;--teal2:#0B5A2C;--lime:#3FA535;
  --sol-grad:linear-gradient(90deg,#127733 0%,#3FA535 40%,#E9B80C 78%,#EF8A17 100%);
  --gray:#6B7280;--muted:#707880;--bg:#F2F4F6;--card:#FFFFFF;--line:#E4E8EB;
  --ok:#127733;--warn:#E7A529;--bad:#C94040;--shadow:0 10px 30px rgba(31,41,55,.08);
  --soft-shadow:0 4px 14px rgba(31,41,55,.06);--radius:18px;
}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#fff 0,#F2F4F6 280px);color:var(--navy);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}.hidden{display:none!important}
.topbar{position:sticky;top:0;z-index:30;min-height:68px;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#09342D 0%,#0B4A33 58%,#127733 100%);color:#fff;box-shadow:0 5px 20px rgba(31,41,55,.18)}
.topbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--sol-grad)}.topbar-brand{display:flex;align-items:center;gap:10px;cursor:pointer;min-width:0}.topbar-logo{width:44px;height:38px;flex:none;object-fit:contain;background:#fff;border-radius:11px;padding:4px 5px;box-shadow:0 2px 6px rgba(0,0,0,.18)}.brand-word{font-family:Montserrat,"Arial Black",sans-serif;font-weight:900;letter-spacing:.08em;font-size:16px;white-space:nowrap}.brand-word{color:#fff}.session-label{font-size:11px;color:#D8E6EB;margin-top:2px;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon-btn{width:42px;height:42px;border-radius:13px;border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.08);color:#fff;font-size:23px;cursor:pointer}.app{max-width:980px;margin:0 auto;padding:18px 16px calc(96px + env(safe-area-inset-bottom))}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--soft-shadow);margin-bottom:13px}.card h2,.card h3,.card h4{font-family:Montserrat,"Segoe UI",sans-serif;margin:0 0 10px;letter-spacing:-.02em}.card h3{font-size:17px}.card h4{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.hero{padding:22px 18px}.hero h1{font:900 25px/1.12 Montserrat,"Segoe UI",sans-serif;margin:0 0 7px;letter-spacing:-.03em}.muted{color:var(--muted);font-size:14px}.small{font-size:12px}.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{margin:13px 0}.field label{display:block;font-size:12px;font-weight:800;color:#344858;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;padding:13px 14px;border:1px solid #CED9DF;border-radius:12px;background:#fff;font-size:16px;color:var(--navy);outline:none;transition:.18s}.field input:focus,.field select:focus,.field textarea:focus,.stock-input:focus{border-color:var(--teal2);box-shadow:0 0 0 3px rgba(14,107,111,.12)}.field textarea{min-height:90px;resize:vertical}.btn{border:0;border-radius:12px;padding:13px 16px;font-size:14px;font-weight:850;cursor:pointer;transition:transform .12s,filter .12s,opacity .12s}.btn:active{transform:translateY(1px)}.btn.primary{color:#fff;background:linear-gradient(135deg,#1A8A3C,#0B5A2C);box-shadow:0 7px 16px rgba(18,119,51,.22)}.btn.secondary{background:#E3F1E8;color:var(--teal)}.btn.ghost{background:#F1F4F6;color:#405463}.btn.danger{background:#FCE9E9;color:#A52D2D}.btn.full{width:100%}.btn.tiny{padding:7px 9px;font-size:11px}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-row{display:flex;gap:9px;flex-wrap:wrap}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:850;background:#EEF2F4;color:#536572}.pill.ok{background:#E8F6DC;color:#427D18}.pill.bad{background:#FCE8E8;color:#A52D2D}.pill.warn{background:#FFF3DB;color:#9A6610}.pill.teal{background:#E3F1E8;color:var(--teal)}
.section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:4px 0 13px}.section-title h2{font:900 22px/1.1 Montserrat,"Segoe UI",sans-serif;margin:0;letter-spacing:-.035em}.section-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--teal);margin-bottom:4px}.page-subtitle{font-size:13px;color:var(--muted);margin-top:3px}
.pm-login{min-height:calc(100vh - 30px);display:grid;place-items:center;padding:8px 0 26px}.login-shell{width:min(430px,100%);overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:0 24px 70px rgba(31,41,55,.14)}.login-brand{padding:32px 28px 20px;text-align:center}.login-logo{display:block;width:min(270px,100%);height:auto;margin:0 auto}.login-wordmark{font:900 27px/1 Montserrat,"Segoe UI",sans-serif;letter-spacing:.08em;margin-top:10px}.login-wordmark{color:#09342D}.login-slogan{font-size:12px;color:#6C7278;margin-top:12px}.login-panel{padding:22px 26px 28px}.login-panel h1{font:900 24px Montserrat,"Segoe UI",sans-serif;text-align:center;margin:0 0 6px}.login-panel>.muted{text-align:center;display:block}.login-pin{letter-spacing:.38em!important;text-align:center;font-size:22px!important;font-weight:900!important}.login-visual{height:112px;background:linear-gradient(145deg,#09342D,#0B4A33);position:relative;overflow:hidden}.login-visual:before{content:"";position:absolute;left:-15%;right:-15%;top:-47px;height:80px;border-radius:50%;background:#fff}.login-visual:after{content:"";position:absolute;width:260px;height:130px;right:-35px;bottom:-40px;background:repeating-radial-gradient(circle at 60% 35%,rgba(80,170,180,.5) 0 1px,transparent 1.5px 12px);opacity:.45}.login-chart{position:absolute;left:30px;bottom:17px;display:flex;gap:7px;align-items:end}.login-chart i{display:block;width:13px;border-radius:4px 4px 0 0;background:#1B5E3A}.login-chart i:nth-child(1){height:20px}.login-chart i:nth-child(2){height:36px}.login-chart i:nth-child(3){height:53px}.login-chart i:nth-child(4){height:74px;background:linear-gradient(180deg,#F2C80F,#EF8A17)}
.dashboard-hero{padding:19px;background:linear-gradient(135deg,#fff,#F5FBFB);border-color:#D9E9EA}.hello{font:900 24px Montserrat,"Segoe UI",sans-serif;margin:0}.dashboard-date{color:var(--muted);font-size:13px;margin-top:3px}.route-summary{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;margin-top:16px;padding:15px;border:1px solid #DAE5E9;border-radius:16px;background:#fff}.metric-icon{width:54px;height:54px;border-radius:16px;background:#E3F1E8;color:var(--teal);display:grid;place-items:center;font-size:24px;font-weight:900}.route-summary strong{font:900 17px Montserrat,"Segoe UI",sans-serif}.route-summary .big{font:900 24px Montserrat,"Segoe UI",sans-serif}.progress{height:7px;background:#E7ECEF;border-radius:999px;overflow:hidden;margin-top:9px}.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--lime));border-radius:inherit}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.quick-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:15px;min-height:118px;cursor:pointer;box-shadow:var(--soft-shadow)}.quick-card .qicon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#E3F1E8;color:var(--teal);font-size:19px;font-weight:900;margin-bottom:10px}.quick-card strong{font:900 15px Montserrat,"Segoe UI",sans-serif;display:block}.quick-card span{font-size:12px;color:var(--muted);display:block;margin-top:4px}
.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.route-card{cursor:pointer;transition:.15s}.route-card:hover{border-color:#BBD5D6;transform:translateY(-1px)}.route-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.route-title strong{font:900 17px Montserrat,"Segoe UI",sans-serif}.route-meta{display:flex;justify-content:space-between;align-items:end;margin-top:8px}.route-meta .count{font:900 24px Montserrat,"Segoe UI",sans-serif}.client-list{display:grid;gap:10px}.client-card{padding:14px}.client-index{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;font-weight:900;flex:0 0 auto}.client-line{display:flex;gap:10px;align-items:flex-start}.client-main{min-width:0;flex:1}.client-title{font:850 15px Montserrat,"Segoe UI",sans-serif}.client-address{font-size:12px;color:var(--muted);line-height:1.4;margin-top:4px}.client-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.client-action{margin-top:10px}.status-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#94A3B8}.status-dot.done{background:var(--ok)}.status-dot.inprogress{background:var(--warn)}
.visit-identity{display:flex;gap:12px;align-items:center}.store-icon{width:55px;height:55px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;font-size:23px;font-weight:900}.visit-time{border:1px solid var(--line);border-radius:15px;padding:14px;display:flex;align-items:center;gap:12px;margin:14px 0}.clock-badge{width:42px;height:42px;border-radius:13px;background:#E3F1E8;color:var(--teal);display:grid;place-items:center;font-weight:900}.visit-time .time{font:900 25px Montserrat,"Segoe UI",sans-serif}.lab-buttons{display:grid;grid-template-columns:1fr;gap:9px}.lab-btn{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px;background:#fff;border:1px solid #D7E0E5;border-radius:13px;color:var(--navy);cursor:pointer}.lab-btn:hover{border-color:#9BC3C5}.lab-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:#E3F1E8;color:var(--teal);font-size:12px}.lab-btn strong{display:block;font:850 14px Montserrat,"Segoe UI",sans-serif}.lab-btn span{display:block;color:var(--muted);font-size:11px;margin-top:2px}.lab-btn .pill{margin-left:auto}.stock-toolbar{position:sticky;top:76px;z-index:15;background:rgba(242,244,246,.94);backdrop-filter:blur(7px);padding:0 0 9px}.stock-head{display:grid;grid-template-columns:1fr 80px;gap:12px;color:#647582;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;padding:4px 2px 7px}.product-row{display:grid;grid-template-columns:1fr 80px;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #EDF1F3}.product-row:last-child{border-bottom:0}.product-name{font-weight:850;font-size:13px}.product-desc{font-size:11px;color:var(--muted);margin-top:3px}.stock-input{width:100%;font-size:17px;padding:10px 7px;border:1px solid #CED9DF;border-radius:9px;text-align:center;color:var(--navy);outline:none}.check-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.pop-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:13px 0}.pop-check-grid label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:11px;padding:10px;font-size:12px;font-weight:800;cursor:pointer}.pop-check-grid input{width:17px;height:17px;accent-color:var(--teal)}.check-box{border:1px solid var(--line);border-radius:13px;padding:12px}.check-box label{font-weight:850;font-size:13px;display:block;margin-bottom:8px}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:5px}.segmented button{padding:9px;border:1px solid #D3DDE2;background:#fff;border-radius:8px;font-size:12px;font-weight:850;color:#556672}.segmented button.active.yes{background:var(--ok);border-color:var(--ok);color:#fff}.segmented button.active.no{background:#EDEFF1;border-color:#D8DDE0;color:#2D3D49}.notice{border-left:4px solid var(--teal);background:#EAF6F1;padding:12px;border-radius:10px;margin-bottom:12px}.sale-row label{display:flex;gap:9px;align-items:center;cursor:pointer}.sale-check{width:19px;height:19px;flex:0 0 auto;accent-color:var(--teal)}
.category-section{margin-bottom:16px}.category-section:last-child{margin-bottom:0}.category-section.hidden{display:none}.category-head{display:flex;justify-content:space-between;align-items:center;padding:9px 2px 9px 10px;border-left:3px solid #E9B80C;cursor:pointer;user-select:none}.category-head .cat-name{font:850 14px Montserrat,"Segoe UI",sans-serif;color:var(--navy)}.category-head .cat-meta{display:flex;align-items:center;gap:9px}.category-head .cat-progress{font-size:11px;color:var(--teal);font-weight:850}.category-head .chevron{transition:transform .15s;color:var(--lime);font-size:11px}.category-section.collapsed .chevron{transform:rotate(-90deg)}.category-section.collapsed .category-body{display:none}.category-mini-bar{height:4px;background:#E7ECEF;border-radius:999px;overflow:hidden;margin:0 2px 4px}.category-mini-bar>span{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--lime));border-radius:inherit}
.sticky-actions{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom));z-index:20;margin:16px 0 -4px}.sticky-actions .btn{box-shadow:0 12px 26px rgba(31,41,55,.22)}
.lab-progress-head{display:flex;justify-content:space-between;align-items:center;margin:2px 2px 12px;font-size:12px;color:var(--muted);font-weight:850}
.photo-slot{position:relative;border:1.5px dashed #CED9DF;border-radius:13px;aspect-ratio:4/3;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#F8FAFB}.photo-slot img{width:100%;height:100%;object-fit:cover}.photo-slot .photo-placeholder{font-size:12px;color:var(--muted);font-weight:800;text-align:center;padding:0 10px}.photo-slot.has-photo{border-style:solid;border-color:var(--line)}.photo-remove{position:absolute;top:6px;right:6px;width:26px;height:26px;border-radius:50%;border:0;background:rgba(31,41,55,.72);color:#fff;font-size:13px;font-weight:900;cursor:pointer;display:grid;place-items:center;z-index:2}
.photo-record{border:1px solid var(--line);border-radius:13px;padding:12px;margin-bottom:10px}.photo-record:last-child{margin-bottom:0}.photo-record-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;gap:8px;flex-wrap:wrap}.photo-thumb{position:relative;display:block;border-radius:10px;overflow:hidden;aspect-ratio:4/3;background:#F1F4F6}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.photo-thumb span{position:absolute;left:6px;bottom:6px;background:rgba(31,41,55,.72);color:#fff;font-size:10px;font-weight:850;padding:3px 7px;border-radius:999px}.photo-thumb.empty-thumb{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:11px;text-align:center;padding:8px}
.kpi-delta{margin-top:1px}.delta{font-size:10px;font-weight:900}.delta.up{color:var(--ok)}.delta.down{color:var(--bad)}.delta.flat{color:var(--muted)}
.alert-list{display:flex;flex-direction:column;gap:9px}.alert-item{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border-radius:12px;font-size:13px;line-height:1.4;background:#F8FAFB;border:1px solid var(--line)}.alert-item.bad{background:#FCEEEE;border-color:#F3CACA}.alert-item.warn{background:#FFF6E3;border-color:#F5E0AC}.alert-dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto;margin-top:4px;background:var(--muted)}.alert-item.bad .alert-dot{background:var(--bad)}.alert-item.warn .alert-dot{background:var(--warn)}
.row-click{cursor:pointer}.row-click:hover{background:#F3F7F8}.row-click.row-open{background:#E4F0EC;font-weight:700}
.product-card{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 2px;border-bottom:1px solid #EDF1F3}.product-card:last-child{border-bottom:0}.product-card.hidden{display:none}.product-card .pc-info{min-width:0;flex:1}.product-card .pc-name{font-weight:850;font-size:13px}.product-card .pc-desc{font-size:11px;color:var(--muted);margin-top:3px}.product-card .pc-prev{font-size:11px;color:#8B96A0;margin-top:2px}.product-card .pc-controls{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:0 0 auto}.product-card .pc-badges{display:flex;align-items:center;gap:5px}.stock-min-badge{font-size:10px;font-weight:900;padding:3px 7px;border-radius:999px;white-space:nowrap;background:#EAF3F4;color:var(--lime)}
.stepper{display:flex;align-items:center;border:1px solid #CED9DF;border-radius:10px;overflow:hidden;flex:0 0 auto}.stepper button{width:32px;height:32px;border:0;background:#F1F4F6;color:var(--navy);font-size:16px;font-weight:900;cursor:pointer}.stepper button:active{background:#E3E9EC}.stepper input.stock-input{width:44px;height:32px;padding:0;border:0;border-left:1px solid #CED9DF;border-right:1px solid #CED9DF;border-radius:0;text-align:center;font-size:14px}
.stock-badge{font-size:10px;font-weight:900;padding:3px 8px;border-radius:999px;white-space:nowrap;background:#EEF2F4;color:#8B96A0}.stock-badge.ok{background:#E8F6DC;color:#427D18}.stock-badge.bad{background:#FCE8E8;color:#A52D2D}
.history-card{border-left:4px solid var(--lime);background:#EAF3F4}
.kpi{cursor:pointer;transition:box-shadow .15s,transform .12s}.kpi:hover{box-shadow:var(--shadow);transform:translateY(-1px)}
@keyframes flashHighlight{0%{box-shadow:0 0 0 3px var(--teal)}100%{box-shadow:var(--soft-shadow)}}
.flash-highlight{animation:flashHighlight 1.1s ease}
.kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{background:#fff;border:1px solid var(--line);border-left:4px solid var(--line);border-radius:15px;padding:14px;min-height:96px}.kpi .kpi-icon{width:30px;height:30px;border-radius:10px;background:#E3F1E8;color:var(--teal);display:grid;place-items:center;font-weight:900;margin-bottom:8px}.kpi .value{font:900 22px Montserrat,"Segoe UI",sans-serif}.kpi .label{font-size:11px;color:var(--muted);margin-top:2px}
.kpi.sev-ok{border-left-color:var(--ok)}.kpi.sev-ok .kpi-icon{background:#E8F6DC;color:var(--ok)}
.kpi.sev-warn{border-left-color:var(--warn)}.kpi.sev-warn .kpi-icon{background:#FFF3DB;color:#9A6610}
.kpi.sev-bad{border-left-color:var(--bad)}.kpi.sev-bad .kpi-icon{background:#FCE8E8;color:var(--bad)}
.kpi[data-kpi-idx],.kpi[data-exec-kpi-idx]{cursor:pointer}.kpi.kpi-active{border-color:var(--teal2);box-shadow:0 0 0 2px rgba(30,125,68,.18)}.kpi.kpi-active .kpi-icon{background:var(--teal);color:#fff}
.kpi-help{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.5}.kpi-help b{color:var(--navy)}
.field-help{font-size:11px;color:var(--muted);margin:0 0 9px;line-height:1.4}
.donut-block{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:6px 2px}
.donut-wrap{position:relative;width:120px;height:120px;flex:0 0 auto}
.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.donut-center strong{font:900 25px Montserrat,"Segoe UI",sans-serif;line-height:1;color:var(--navy)}
.donut-center span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-top:3px}
.donut-legend{display:flex;flex-direction:column;gap:9px;flex:1;min-width:180px}
.legend-item{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--navy)}
.legend-item i{width:11px;height:11px;border-radius:3px;flex:0 0 auto}
.legend-item strong{margin-left:auto;font:900 16px Montserrat,"Segoe UI",sans-serif}
.kpi-empty{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px dashed #CED9DF;border-radius:13px;background:#F8FAFB;color:var(--muted);font-size:12px;margin-top:10px;line-height:1.4}
.kpi-empty .kpi-empty-icon{width:28px;height:28px;border-radius:9px;background:#EEF2F4;display:grid;place-items:center;flex:0 0 auto;font-weight:900;color:#8B96A0}
.report-progress{display:grid;gap:10px}.report-bar-row{display:grid;grid-template-columns:118px 1fr 45px;align-items:center;gap:10px;font-size:12px}.report-bar{height:9px;background:#E9EEF1;border-radius:999px;overflow:hidden}.report-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--lime));border-radius:inherit}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;min-width:680px;background:#fff}th,td{padding:10px;border-bottom:1px solid #EDF1F3;text-align:left;font-size:12px}th{background:#F3F7F8;color:#526571;font-size:11px;position:sticky;top:0;text-transform:uppercase;letter-spacing:.04em}.empty{padding:26px 12px;text-align:center;color:var(--muted)}.error-box{background:#FCE8E8;color:#A52D2D;border:1px solid #F3CACA;padding:11px;border-radius:10px;margin:10px 0}.success-box{background:#EAF6DF;color:#477B1D;border:1px solid #D3EABB;padding:11px;border-radius:10px;margin:10px 0}.loading{padding:34px;text-align:center;color:var(--muted)}.loading:before{content:"";display:block;width:34px;height:34px;border:3px solid #DCE7E9;border-top-color:var(--teal);border-radius:50%;margin:0 auto 12px;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.danger-text{color:var(--bad)}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,255,255,.97);border-top:1px solid #DCE5E9;display:flex;justify-content:center;padding:5px 4px max(5px,env(safe-area-inset-bottom));box-shadow:0 -5px 22px rgba(31,41,55,.06);backdrop-filter:blur(10px)}.bottom-nav button{flex:1;max-width:150px;min-width:0;border:0;background:transparent;padding:6px 4px;color:#667681;font-size:10px;font-weight:750;cursor:pointer}.bottom-nav .nav-icon{display:grid;place-items:center;margin:0 auto 2px;width:26px;height:26px;border-radius:9px;font-size:15px;font-weight:900}.bottom-nav button:hover,.bottom-nav button.active{color:var(--teal)}.bottom-nav button.active .nav-icon{background:#E3F1E8}
@media(min-width:700px){.app{padding-top:24px}.route-grid{grid-template-columns:repeat(3,1fr)}.lab-buttons{grid-template-columns:repeat(3,1fr)}.kpis{grid-template-columns:repeat(4,1fr)}.quick-grid{grid-template-columns:repeat(4,1fr)}.login-shell{margin-top:30px}.stock-toolbar{top:84px}}
@media(max-width:560px){.grid.two,.grid.three{grid-template-columns:1fr}.route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.check-grid{grid-template-columns:1fr}.app{padding-left:13px;padding-right:13px}.section-title h2{font-size:20px}.route-summary{grid-template-columns:52px 1fr auto}.metric-icon{width:46px;height:46px}.topbar{min-height:62px}.topbar-logo{width:40px;height:34px}.brand-word{font-size:14px}.session-label{max-width:180px}.stock-toolbar{top:68px}}
@media(max-width:370px){.route-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr 1fr}.brand-word{letter-spacing:.04em}.report-bar-row{grid-template-columns:90px 1fr 38px}}
.sync-pill{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:800;border-radius:999px;padding:6px 11px;cursor:pointer;white-space:nowrap;max-width:46vw;overflow:hidden;text-overflow:ellipsis;display:inline-flex;align-items:center;gap:6px}
.sync-pill.warn{background:#FFF3DB;color:#8A5B00;border-color:#F1D48A}
.sync-pill.bad{background:#FCE0E0;color:#9A2B2B;border-color:#F0BCBC}
.sync-pill.ok{background:#E3F5E9;color:#1E7D44;border-color:#BEE6CC}
.sync-pill:active{transform:translateY(1px)}
.offline-banner{position:fixed;left:0;right:0;bottom:calc(68px + env(safe-area-inset-bottom));z-index:35;background:#8A5B00;color:#fff;font-size:12px;font-weight:800;text-align:center;padding:7px 12px}

