:root{
  --bg:#f2f1ef;
  --surface:#ffffff;
  --surface-2:#f7f6f4;
  --surface-3:#eceae7;
  --ink:#252326;
  --muted:#777276;
  --muted-2:#a29da1;
  --line:#ddd9d6;
  --line-strong:#c8c2bf;
  --brand:#672b46;
  --brand-2:#7f3a59;
  --brand-soft:#f1e7ec;
  --green:#2f765e;
  --green-soft:#e8f2ed;
  --amber:#956a22;
  --amber-soft:#f6eedf;
  --red:#a24a4a;
  --red-soft:#f7e9e9;
  --blue:#466b87;
  --blue-soft:#e8eff4;
  --shadow-sm:0 1px 2px rgba(37,35,38,.04),0 6px 20px rgba(37,35,38,.035);
  --shadow-md:0 2px 4px rgba(37,35,38,.04),0 18px 44px rgba(37,35,38,.08);
  --radius:18px;
  --sidebar:232px;
}
*{box-sizing:border-box}
html{background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;scroll-behavior:smooth}
body{margin:0;min-height:100dvh;background:var(--bg)}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit}
.icon{width:20px;height:20px;flex:0 0 auto}
.app-shell{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);z-index:40;display:flex;flex-direction:column;padding:20px 14px 16px;background:#232124;color:#fff;border-right:1px solid #302d31}
.brand-lockup{display:flex;align-items:center;gap:11px;padding:4px 8px 25px}
.brand-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;color:#29262a;font-weight:950;font-size:1rem;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.brand-lockup b{display:block;font-size:.9rem;letter-spacing:.08em}
.brand-lockup small{display:block;margin-top:3px;color:#9f999e;font-size:.58rem;font-weight:750;letter-spacing:.12em}
.app-nav{display:grid;gap:5px}
.app-nav button{display:flex;align-items:center;gap:12px;width:100%;min-height:45px;padding:0 13px;border:0;border-radius:12px;background:transparent;color:#aaa4a9;text-align:left;font-size:.84rem;font-weight:720;transition:.18s ease}
.app-nav button:hover{background:#2e2b2f;color:#fff}
.app-nav button.active{background:#f5f3f4;color:#242125;box-shadow:0 8px 28px rgba(0,0,0,.16)}
.app-nav button.active .icon{color:var(--brand)}
.sidebar-foot{display:flex;align-items:center;gap:9px;margin-top:auto;padding:14px 10px 2px;color:#c7c2c6}
.sidebar-foot .sync-dot{width:8px;height:8px;border-radius:50%;background:#71c296;box-shadow:0 0 0 4px rgba(113,194,150,.12)}
.sidebar-foot b{display:block;font-size:.68rem}
.sidebar-foot small{display:block;margin-top:2px;color:#8f898e;font-size:.6rem}
.app-main{grid-column:2;min-width:0}
.app-topbar{position:sticky;top:0;z-index:30;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px clamp(18px,3vw,38px);background:rgba(242,241,239,.92);border-bottom:1px solid rgba(200,194,191,.75);backdrop-filter:blur(22px)}
.topbar-title h1{margin:0;font-size:1.08rem;letter-spacing:-.02em}
.topbar-title p{margin:3px 0 0;color:var(--muted);font-size:.76rem}
.topbar-actions{display:flex;align-items:center;gap:8px}
.mode-badge,.synthetic-chip,.mode-link{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;font-size:.64rem;font-weight:850;letter-spacing:.08em;text-decoration:none;white-space:nowrap}
.mode-badge.official{background:#252326;color:#fff}
.mode-badge.tester{background:#fff0c9;color:#6e4e06;border:1px solid #efd48e}
.synthetic-chip{background:#fff;border:1px solid var(--line);color:#6f686d}
.mode-link{background:var(--brand-soft);color:var(--brand)}
.workspace{padding:22px clamp(14px,2.6vw,34px) 54px}
.view-stack{display:grid;gap:16px;max-width:1600px;margin:0 auto}
.section-kicker{display:block;color:var(--brand-2);font-size:.62rem;font-weight:900;letter-spacing:.12em}
.surface{min-width:0;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}
.surface-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.surface-head h2{margin:3px 0 0;font-size:1.14rem;letter-spacing:-.025em}
.surface-head p{margin:5px 0 0;color:var(--muted);font-size:.78rem;line-height:1.45}
.counter,.linearity-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);color:#666064;font-size:.65rem;font-weight:800;white-space:nowrap}
.linearity-chip{border-color:#cce2d7;background:var(--green-soft);color:var(--green)}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.kpi-card{position:relative;overflow:hidden;min-height:112px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}
.kpi-card:after{content:"";position:absolute;inset:auto -26px -42px auto;width:90px;height:90px;border-radius:50%;background:var(--surface-3);opacity:.55}
.kpi-card.accent:after{background:var(--brand-soft)}
.kpi-card.quality:after{background:var(--green-soft)}
.kpi-card span{display:block;color:var(--muted);font-size:.7rem;font-weight:750}
.kpi-card strong{position:relative;z-index:1;display:block;margin:8px 0 2px;font-size:1.85rem;letter-spacing:-.05em}
.kpi-card small{position:relative;z-index:1;color:#777176;font-size:.68rem;line-height:1.35}
.command-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.68fr);gap:14px}
.map-surface{padding:14px}
.map-surface>.surface-head{padding:4px 4px 0}
.live-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:.62rem;font-weight:900;letter-spacing:.07em}
.live-pill i{width:7px;height:7px;border-radius:50%;background:#3e9a75;box-shadow:0 0 0 4px rgba(62,154,117,.13);animation:pulse 1.8s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 7px rgba(62,154,117,0)}}
.map-canvas{height:510px;border:1px solid var(--line);border-radius:15px;background:#e9e7e3;overflow:hidden}
.map-canvas.tall{height:620px}
.leaflet-container{font-family:inherit;background:#e7e5e1}
.leaflet-control-zoom a{color:var(--ink)!important;border-color:var(--line)!important}
.leaflet-control-attribution{font-size:9px!important;background:rgba(255,255,255,.86)!important}
.map-key{display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding:10px 5px 0;color:var(--muted);font-size:.65rem}
.map-key span{display:inline-flex;align-items:center;gap:6px}
.key-dot{width:8px;height:8px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 0 1px #bbb}
.key-dot.completed{background:var(--green)}
.key-dot.current{background:#272428}
.key-dot.pending{background:#fff}
.key-building{display:grid;place-items:center;width:14px;height:14px;color:var(--brand);font-style:normal;font-size:.72rem}
.map-fallback{height:100%;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;color:var(--muted)}
.simulation-controls{display:grid;grid-template-columns:auto 42px 100px minmax(120px,1fr) 40px;gap:10px;align-items:center;margin-top:12px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.simulation-controls.compact{grid-template-columns:auto 42px 92px minmax(100px,1fr) 40px}
.day-switch{display:flex;gap:4px;padding:3px;border-radius:10px;background:#e8e5e3}
.day-switch button{min-height:34px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:.7rem;font-weight:800}
.day-switch button small{display:none}
.day-switch button.active{background:#fff;color:var(--ink);box-shadow:0 1px 7px rgba(0,0,0,.08)}
.play-control{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:#252326;color:#fff}
.play-control .icon{width:18px}
.clock{display:grid}
.clock b{font-size:.84rem}
.clock span{margin-top:2px;color:var(--muted);font-size:.58rem;white-space:nowrap}
.timeline-range{width:100%;accent-color:var(--brand)}
.timeline-value{font-size:.7rem;font-weight:900;text-align:right}
.command-rail{display:grid;align-content:start;gap:14px}
.compact-surface{padding:15px}
.team-list{display:grid;gap:7px}
.team-card{display:grid;grid-template-columns:38px minmax(0,1fr) 50px;gap:10px;align-items:center;width:100%;padding:10px;border:1px solid transparent;border-radius:13px;background:transparent;text-align:left;color:var(--ink);transition:.16s ease}
.team-card:hover{background:var(--surface-2)}
.team-card.active{border-color:var(--line-strong);background:var(--surface-2)}
.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--team);color:#fff;font-size:.68rem;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.avatar.large{width:42px;height:42px;border-radius:14px}
.team-copy{min-width:0}
.team-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem}
.team-copy small{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.6rem}
.team-copy em{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#494448;font-size:.62rem;font-style:normal}
.team-progress{text-align:right}
.team-progress>b{display:block;font-size:.7rem}
.team-progress i{display:block;width:46px;height:4px;margin-top:6px;border-radius:99px;background:#ddd9d6;overflow:hidden}
.team-progress i span{display:block;height:100%;border-radius:99px;background:var(--team)}
.selected-summary{display:grid;gap:14px}
.summary-head{display:flex;align-items:center;gap:10px}
.summary-head h3{margin:2px 0 0;font-size:.92rem}
.summary-head p{margin:2px 0 0;color:var(--muted);font-size:.68rem}
.mini-label{display:block;color:var(--brand-2);font-size:.56rem;font-weight:900;letter-spacing:.11em}
.current-address{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:12px;border-radius:13px;background:var(--surface-2)}
.current-address>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#fff;color:var(--brand);border:1px solid var(--line)}
.current-address small{display:block;color:var(--muted);font-size:.54rem;font-weight:850;letter-spacing:.08em}
.current-address b{display:block;margin-top:3px;font-size:.84rem}
.current-address p{margin:3px 0 0;color:var(--muted);font-size:.63rem;line-height:1.35}
.summary-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.summary-actions button{min-height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:.67rem;font-weight:850}
.summary-actions button:first-child{border-color:#2b282b;background:#2b282b;color:#fff}
.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.quality-surface,.activity-surface{min-height:212px}
.score-ring{--score:50;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:conic-gradient(var(--green) calc(var(--score)*1%),#e6e2df 0);color:var(--green);font-size:.66rem;font-weight:900;position:relative}
.score-ring:before{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}
.score-ring{isolation:isolate}.score-ring::after{content:attr(data-score)}
.score-ring{color:transparent}.score-ring::before{z-index:-1}.score-ring{font-size:0}.score-ring span{font-size:.66rem;color:var(--green)}
.score-ring:not(:has(span)){font-size:.66rem;color:var(--green)}
.quality-bars{display:grid;gap:12px}
.quality-bars>div{display:grid;grid-template-columns:145px 1fr 42px;gap:10px;align-items:center}
.quality-bars span{color:var(--muted);font-size:.7rem}
.quality-bars i{height:7px;border-radius:99px;background:#e9e6e3;overflow:hidden}
.quality-bars i b{display:block;height:100%;border-radius:99px;background:var(--green)}
.quality-bars strong{font-size:.68rem;text-align:right}
.activity-list{display:grid}
.activity-list article{display:grid;grid-template-columns:42px 10px 1fr;gap:8px;align-items:start;padding:7px 0;border-bottom:1px solid #eeeae8}
.activity-list article:last-child{border-bottom:0}
.activity-list time{color:var(--muted);font-size:.62rem}
.activity-list p{margin:0;font-size:.68rem;line-height:1.4}
.activity-dot{width:7px;height:7px;margin-top:3px;border-radius:50%;background:var(--brand)}
.activity-dot.review{background:var(--green)}.activity-dot.route{background:var(--blue)}.activity-dot.data{background:var(--amber)}
.route-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:2px 2px 0}
.route-heading h2{margin:4px 0 0;font-size:1.55rem;letter-spacing:-.035em}
.route-heading p{margin:5px 0 0;color:var(--muted);font-size:.78rem}
.route-stats{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.route-stats span{min-width:82px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);font-size:.62rem;text-align:center}
.route-stats b{display:block;color:var(--ink);font-size:.84rem}
.route-team-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.route-team-tabs button,.field-team-strip button{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);text-align:left}
.route-team-tabs button>i{width:8px;height:32px;border-radius:99px;background:var(--team)}
.route-team-tabs button span,.field-team-strip button>span:last-child{min-width:0}
.route-team-tabs button b,.field-team-strip button b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem}
.route-team-tabs button small,.field-team-strip button small{display:block;margin-top:3px;color:var(--muted);font-size:.6rem}
.route-team-tabs button.active,.field-team-strip button.active{border-color:#aaa3a7;background:#f8f7f6;box-shadow:var(--shadow-sm)}
.routes-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.65fr);gap:14px}
.route-map-surface{align-self:start}
.route-plan{padding:15px;max-height:750px;overflow:hidden;display:flex;flex-direction:column}
.route-list{display:grid;gap:5px;overflow:auto;padding-right:2px}
.route-row{display:grid;grid-template-columns:34px minmax(0,1fr) 42px 96px 18px;gap:8px;align-items:center;width:100%;padding:9px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--ink);text-align:left}
.route-row:hover{background:var(--surface-2)}
.route-row.current{border-color:#c9c2c5;background:#f6f4f5}
.route-row.done .route-sequence{background:var(--green);color:#fff}
.route-row.pending{opacity:.68}
.route-sequence{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#eae7e5;font-size:.62rem;font-weight:900}
.route-address b{display:block;font-size:.71rem}
.route-address small{display:block;margin-top:2px;color:var(--muted);font-size:.58rem}
.visit-badge{display:inline-grid;place-items:center;min-width:37px;height:25px;padding:0 6px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:.62rem;font-weight:900}
.visit-badge.large{height:31px;min-width:48px;font-size:.7rem}
.route-result{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.6rem}
.route-row .icon{width:15px;color:var(--muted)}
.field-team-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.field-team-strip button .avatar{width:34px;height:34px}
.field-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(340px,1fr) minmax(280px,.78fr);gap:14px;align-items:start}
.field-device{padding:17px;background:#272428;color:#fff;border-color:#272428;box-shadow:0 25px 70px rgba(37,35,38,.22)}
.field-status{display:flex;align-items:center;justify-content:space-between;color:#c9c3c8;font-size:.62rem}
.field-status span{display:inline-flex;align-items:center;gap:7px}
.field-status i{width:7px;height:7px;border-radius:50%;background:#70c29a;box-shadow:0 0 0 4px rgba(112,194,154,.12)}
.field-route-title{padding:25px 2px 18px}
.field-route-title small{color:#a9a2a7;font-size:.58rem;font-weight:850;letter-spacing:.1em}
.field-route-title h2{margin:5px 0 3px;font-size:2rem;letter-spacing:-.05em}
.field-route-title p{margin:0;color:#b9b3b7;font-size:.72rem}
.next-stop-card{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:14px;border-radius:16px;background:#fff;color:var(--ink)}
.property-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--brand-soft);color:var(--brand)}
.next-stop-card small{color:var(--muted);font-size:.53rem;font-weight:850;letter-spacing:.09em}
.next-stop-card h3{margin:3px 0 0;font-size:1rem}
.next-stop-card p{margin:3px 0 0;color:var(--muted);font-size:.62rem}
.field-context{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}
.field-context div{padding:10px;border-radius:12px;background:#343136}
.field-context span{display:block;color:#aaa3a8;font-size:.54rem}
.field-context b{display:block;margin-top:4px;font-size:.65rem}
.field-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
.field-actions button,.open-record{min-height:43px;border:0;border-radius:12px;font-size:.68rem;font-weight:900}
.field-actions button:first-child{background:#fff;color:#262327}
.field-actions button:last-child{background:#4a444a;color:#fff}
.open-record{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding:0 13px;background:transparent;color:#d7d1d5;border:1px solid #49444a}
.open-record .icon{width:15px}
.field-queue,.evidence-panel{padding:15px}
.queue-list{display:grid;gap:5px}
.queue-row{display:grid;grid-template-columns:30px 1fr 38px;gap:9px;align-items:center;width:100%;padding:10px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--ink);text-align:left}
.queue-row:hover{background:var(--surface-2)}
.queue-row.current{border-color:#c9c2c5;background:#f6f4f5}
.queue-row.done>span{background:var(--green);color:#fff}
.queue-row>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eae7e5;font-size:.6rem;font-weight:900}
.queue-row b{display:block;font-size:.7rem}
.queue-row small{display:block;margin-top:2px;color:var(--muted);font-size:.58rem}
.queue-row em{font-style:normal;font-size:.62rem;font-weight:850;text-align:right}
.record-schema{display:grid;gap:9px}
.record-schema article{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid #eeeae8}
.record-schema article:last-child{border-bottom:0}
.record-schema span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:.58rem;font-weight:900}
.record-schema b{display:block;font-size:.72rem}
.record-schema p{margin:3px 0 0;color:var(--muted);font-size:.62rem;line-height:1.4}
.executive-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:14px}
.executive-primary{padding:22px;background:#29262a;color:#fff;border-color:#29262a}
.executive-primary .section-kicker{color:#d7bac7}
.executive-lead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:26px}
.executive-lead small{color:#a9a3a7;font-size:.58rem;font-weight:850;letter-spacing:.09em}
.executive-lead h2{margin:6px 0 2px;font-size:2.8rem;letter-spacing:-.06em}
.executive-lead p{margin:0;color:#c7c1c5;font-size:.76rem}
.margin-block{text-align:right}
.margin-block strong{display:block;font-size:1.85rem;letter-spacing:-.05em}
.margin-block span{color:#aaa4a8;font-size:.65rem}
.executive-note{margin-top:22px;padding-top:13px;border-top:1px solid #454045;color:#aca6aa;font-size:.66rem}
.executive-quality{display:flex;align-items:center;gap:18px}
.quality-dial{display:grid;place-items:center;width:92px;height:92px;flex:0 0 auto;border-radius:50%;background:conic-gradient(var(--green) calc(var(--value)*1%),#e7e3e0 0);position:relative}
.quality-dial:after{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.quality-dial span{position:relative;z-index:1;font-size:1.1rem;font-weight:900;color:var(--green)}
.executive-quality small{color:var(--muted);font-size:.58rem;font-weight:850;letter-spacing:.09em}
.executive-quality h3{margin:5px 0 3px;font-size:1.1rem}
.executive-quality p{margin:0;color:var(--muted);font-size:.68rem;line-height:1.45}
.executive-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.option-list{display:grid;gap:13px}
.option-row{display:grid;grid-template-columns:165px 1fr 50px;gap:12px;align-items:center}
.option-row span{display:block;font-size:.72rem;font-weight:800}
.option-row small{display:block;margin-top:2px;color:var(--muted);font-size:.56rem}
.option-track{height:10px;border-radius:999px;background:#ebe8e6;overflow:hidden}
.option-track i{display:block;height:100%;border-radius:inherit;background:var(--option)}
.option-row>b{text-align:right;font-size:.68rem}
.rejection-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rejection-grid article{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.rejection-grid strong{display:block;font-size:1.55rem;letter-spacing:-.05em}
.rejection-grid span{display:block;margin-top:3px;font-size:.7rem;font-weight:800}
.rejection-grid small{display:block;margin-top:7px;color:var(--muted);font-size:.58rem;line-height:1.4}
.reasons-surface{padding:18px}
.reason-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.reason-columns>article{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.reason-title{display:flex;align-items:center;gap:9px;margin-bottom:13px}
.reason-title>i{width:7px;height:32px;border-radius:99px;background:var(--option)}
.reason-title b{display:block;font-size:.7rem}
.reason-title small{display:block;margin-top:2px;color:var(--muted);font-size:.56rem}
.mini-bar{display:grid;grid-template-columns:minmax(90px,1.1fr) 1fr 34px;gap:7px;align-items:center;margin-top:8px}
.mini-bar span{font-size:.57rem;color:#5f595d}
.mini-bar>i{height:6px;border-radius:99px;background:#e2dedb;overflow:hidden}
.mini-bar>i b{display:block;height:100%;border-radius:inherit;background:var(--option)}
.mini-bar strong{font-size:.57rem;text-align:right}
.metric-pairs{display:grid;gap:8px}
.metric-pairs article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px;border-radius:12px;background:var(--surface-2)}
.metric-pairs span{color:var(--muted);font-size:.67rem}
.metric-pairs b{font-size:.72rem}
.warning-surface p{margin:0;padding:10px 0;border-bottom:1px solid #eeeae8;color:#625c60;font-size:.68rem;line-height:1.45}
.warning-surface p:last-child{border-bottom:0}
.data-pipeline{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.data-pipeline article{position:relative;display:grid;grid-template-columns:30px 1fr;gap:8px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}
.data-pipeline article:not(:last-child):after{content:"";position:absolute;right:-10px;top:50%;width:10px;height:1px;background:var(--line-strong)}
.data-pipeline>article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:.57rem;font-weight:900}
.data-pipeline b{display:block;font-size:.68rem}
.data-pipeline p{margin:3px 0 0;color:var(--muted);font-size:.57rem;line-height:1.35}
.data-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}
.source-list{display:grid;gap:7px}
.source-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:11px;align-items:center;padding:10px;border-radius:12px;background:var(--surface-2)}
.source-list b{display:block;font-size:.7rem}
.source-list small{display:block;margin-top:2px;color:var(--muted);font-size:.57rem}
.source-list span,.source-list em{font-size:.62rem;font-style:normal;font-weight:800;white-space:nowrap}
.source-list em{color:var(--green)}
.record-preview dl{display:grid;grid-template-columns:120px 1fr;margin:0;border:1px solid var(--line);border-radius:13px;overflow:hidden}
.record-preview dt,.record-preview dd{margin:0;padding:9px 11px;border-bottom:1px solid #ece8e6;font-family:"SFMono-Regular",Consolas,monospace;font-size:.62rem}
.record-preview dt{background:var(--surface-2);color:var(--muted)}
.record-preview dd{overflow-wrap:anywhere}
.data-rule{display:flex;align-items:center;justify-content:space-between;gap:20px}
.data-rule h2{margin:4px 0 0;font-size:1.35rem;letter-spacing:-.035em}
.rule-equation{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.rule-equation span,.rule-equation b{padding:8px 10px;border-radius:10px;background:var(--surface-2);font-size:.65rem}
.rule-equation b{background:#29262a;color:#fff}
.rule-equation i{color:var(--muted);font-style:normal}
.lab-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #ead59f;border-radius:17px;background:#fff7df}
.lab-banner h2{margin:4px 0 2px;font-size:1.35rem}
.lab-banner p{margin:0;color:#766441;font-size:.7rem}
.lab-banner button{display:inline-flex;align-items:center;gap:7px;min-height:39px;padding:0 13px;border:1px solid #d6bc78;border-radius:11px;background:#fff;color:#614a13;font-size:.67rem;font-weight:850}
.lab-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.control-list{display:grid;gap:10px}
.control-list>label{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px;border-radius:12px;background:var(--surface-2);font-size:.69rem}
.control-list select{min-width:100px;padding:7px;border:1px solid var(--line);border-radius:9px;background:#fff}
.switch-row b{display:block;font-size:.69rem}.switch-row small{display:block;margin-top:2px;color:var(--muted);font-size:.58rem}
.switch-row input{width:38px;height:21px;accent-color:var(--brand)}
.lab-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.lab-actions button{min-height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:.65rem;font-weight:850}
.test-log{display:grid;gap:5px;margin-top:12px;max-height:150px;overflow:auto}
.test-log article{display:grid;grid-template-columns:42px 1fr;gap:8px;padding:8px;border-radius:10px;background:var(--surface-2)}
.test-log time{color:var(--muted);font-size:.58rem}.test-log p{margin:0;font-size:.62rem}
.empty-copy{color:var(--muted);font-size:.68rem}
.qa-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.qa-list p{display:flex;align-items:center;gap:8px;margin:0;padding:9px;border-radius:10px;background:var(--surface-2);font-size:.62rem}
.qa-list i.ok{width:8px;height:8px;border-radius:50%;background:var(--green)}
.state-preview{margin:0;padding:13px;border-radius:12px;background:#29262a;color:#e9e3e7;font:600 .65rem/1.55 "SFMono-Regular",Consolas,monospace;overflow:auto}
.record-drawer{position:fixed;inset:0 0 0 auto;z-index:70;width:min(430px,100%);padding:18px;background:#fff;border-left:1px solid var(--line);box-shadow:-24px 0 70px rgba(37,35,38,.18);transform:translateX(102%);transition:transform .26s cubic-bezier(.22,.61,.36,1);overflow:auto}
.record-drawer.open{transform:translateX(0)}
.drawer-backdrop{position:fixed;inset:0;z-index:60;background:rgba(33,30,33,.26);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:.2s ease}
.drawer-backdrop.show{opacity:1;pointer-events:auto}
.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.drawer-head h2{margin:8px 0 2px;font-size:1.35rem;letter-spacing:-.035em}
.drawer-head p{margin:0;color:var(--muted);font-size:.68rem}
.drawer-head>button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink)}
.property-chip{display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-size:.62rem;font-weight:850}
.property-chip .icon{width:16px}
.drawer-status{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;margin-top:16px;padding:13px;border-radius:13px;background:var(--surface-2)}
.status-dot{width:9px;height:9px;border-radius:50%;background:#bbb}.status-dot.done{background:var(--green)}.status-dot.current{background:#252326}.status-dot.pending{background:#b8b2b5}
.drawer-status small{display:block;color:var(--muted);font-size:.54rem;letter-spacing:.08em}.drawer-status b{display:block;margin-top:2px;font-size:.78rem}
.drawer-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.drawer-metrics article{padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff}
.drawer-metrics span{display:block;color:var(--muted);font-size:.56rem}.drawer-metrics b{display:block;margin-top:4px;font-size:1rem}
.drawer-section{margin-top:17px}.drawer-section-head{margin-bottom:9px;color:#514b4f;font-size:.68rem;font-weight:850}
.drawer-dl{display:grid;grid-template-columns:1fr auto;gap:8px 14px;margin:0;padding:12px;border-radius:13px;background:var(--surface-2);font-size:.65rem}
.drawer-dl dt{color:var(--muted)}.drawer-dl dd{margin:0;font-weight:800;text-align:right}
.unit-details{margin-top:15px;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}
.unit-details summary{display:flex;align-items:center;justify-content:space-between;padding:12px;cursor:pointer;font-size:.68rem;font-weight:850;list-style:none}
.unit-details summary::-webkit-details-marker{display:none}
.unit-details summary b{display:grid;place-items:center;min-width:27px;height:24px;border-radius:99px;background:var(--surface-2);font-size:.6rem}
.unit-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 10px 10px}
.unit-card{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;border-radius:10px;background:var(--surface-2);border-left:3px solid #bdb7ba}
.unit-card.reviewed{border-color:var(--green)}.unit-card.interview{border-color:var(--blue)}.unit-card.no-answer{border-color:var(--amber)}.unit-card.visited{border-color:var(--brand)}
.unit-card b{display:block;font-size:.62rem}.unit-card small{display:block;margin-top:2px;color:var(--muted);font-size:.53rem}.unit-card>span{font-size:.58rem;font-weight:850}
.record-timeline{display:grid;gap:0}
.record-timeline article{display:grid;grid-template-columns:12px 1fr;gap:9px;position:relative;padding:0 0 14px}
.record-timeline article:not(:last-child):before{content:"";position:absolute;left:4px;top:9px;bottom:-2px;width:1px;background:var(--line)}
.record-timeline i{position:relative;z-index:1;width:9px;height:9px;margin-top:3px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #fff}
.record-timeline .muted-event i{background:#aaa4a8}
.record-timeline b{display:block;font-size:.65rem}.record-timeline p{margin:3px 0 0;color:var(--muted);font-size:.58rem;line-height:1.4}
.drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}
.drawer-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:41px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:.65rem;font-weight:850}
.drawer-actions button:first-child{background:#29262a;color:#fff;border-color:#29262a}
.drawer-actions .icon{width:16px}
.leaflet-node-wrap,.leaflet-team-wrap{background:transparent!important;border:0!important}
.map-node{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#fff;color:var(--team);border:2px solid var(--team);box-shadow:0 2px 7px rgba(0,0,0,.2);font-size:.58rem;font-weight:950;transition:.15s ease}
.map-node.building{border-radius:7px;font-size:.67rem}
.map-node.done{background:var(--team);color:#fff}
.map-node.current{background:#252326;color:#fff;border-color:#fff;box-shadow:0 0 0 3px var(--team),0 4px 12px rgba(0,0,0,.25)}
.map-node.pending{background:#fff;color:var(--team)}
.map-node.muted-route{opacity:.68}
.map-node.selected{opacity:1}
.map-team-marker{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--team);color:#fff;border:3px solid #fff;box-shadow:0 7px 18px rgba(0,0,0,.25);font-size:.65rem;font-weight:950}
.map-team-marker i{position:absolute;bottom:-4px;left:50%;width:8px;height:8px;background:var(--team);border-right:2px solid #fff;border-bottom:2px solid #fff;transform:translateX(-50%) rotate(45deg)}
.toast{position:fixed;right:20px;bottom:20px;z-index:100;max-width:min(360px,calc(100% - 32px));padding:12px 14px;border-radius:12px;background:#252326;color:#fff;box-shadow:var(--shadow-md);font-size:.7rem;font-weight:800;opacity:0;transform:translateY(14px);pointer-events:none;transition:.2s ease}
.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1180px){:root{--sidebar:82px}.brand-lockup{justify-content:center;padding-inline:0}.brand-lockup>span:last-child{display:none}.app-nav button{justify-content:center;padding:0}.app-nav button span{display:none}.sidebar-foot{justify-content:center}.sidebar-foot>span:last-child{display:none}.command-layout,.routes-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}.field-layout{grid-template-columns:minmax(270px,.85fr) minmax(330px,1.15fr)}.evidence-panel{grid-column:1/-1}}
@media(max-width:960px){.command-layout,.routes-layout,.executive-hero,.data-grid{grid-template-columns:1fr}.command-rail{grid-template-columns:1fr 1fr}.map-canvas,.map-canvas.tall{height:480px}.field-layout{grid-template-columns:1fr 1fr}.evidence-panel{grid-column:auto}.route-plan{max-height:none}.route-list{max-height:540px}.reason-columns{grid-template-columns:1fr}.data-pipeline{grid-template-columns:repeat(3,1fr)}.data-pipeline article:nth-child(3):after{display:none}.lab-grid{grid-template-columns:1fr}}
@media(max-width:760px){:root{--sidebar:0px;--radius:16px}.app-shell{display:block;padding-bottom:72px}.sidebar{position:fixed;inset:auto 0 0 0;width:auto;height:68px;z-index:80;display:block;padding:7px 10px;background:rgba(35,33,36,.96);border:0;border-top:1px solid #3a363b;backdrop-filter:blur(18px)}.brand-lockup,.sidebar-foot{display:none}.app-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;height:100%}html[data-mode="tester"] .app-nav{grid-template-columns:repeat(4,1fr)}.app-nav button{min-height:52px;display:flex;flex-direction:column;gap:3px;border-radius:10px;font-size:.52rem}.app-nav button span{display:block}.app-nav button .icon{width:17px;height:17px}.app-nav button.active{background:#f3f1f2;color:#272428}.app-main{min-width:0}.app-topbar{min-height:64px;padding:10px 13px}.topbar-title h1{font-size:.92rem}.topbar-title p{display:none}.synthetic-chip{display:none}.mode-link{display:none}.mode-badge{font-size:.57rem;padding-inline:8px}.workspace{padding:12px 10px 28px}.view-stack{gap:10px}.kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.kpi-card{min-height:95px;padding:13px}.kpi-card strong{font-size:1.45rem}.kpi-card small{font-size:.58rem}.surface{padding:13px}.command-rail{grid-template-columns:1fr}.map-surface{padding:8px}.map-surface>.surface-head{padding:4px 5px 0}.map-canvas,.map-canvas.tall{height:410px;border-radius:13px}.map-key{gap:9px;font-size:.58rem}.simulation-controls,.simulation-controls.compact{grid-template-columns:1fr 42px 80px 40px;gap:7px;padding:8px}.day-switch{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}.day-switch button{width:100%}.timeline-range{grid-column:1/4}.timeline-value{grid-column:4}.clock span{display:none}.insight-grid,.executive-grid{grid-template-columns:1fr}.quality-bars>div{grid-template-columns:115px 1fr 38px}.route-heading{display:block}.route-stats{justify-content:flex-start;margin-top:10px}.route-team-tabs,.field-team-strip{display:flex;overflow:auto;padding-bottom:2px}.route-team-tabs button,.field-team-strip button{min-width:185px}.field-layout{grid-template-columns:1fr}.field-device{order:1}.field-queue{order:2}.evidence-panel{order:3}.executive-lead{display:block}.margin-block{text-align:left;margin-top:18px}.executive-quality{padding:16px}.quality-dial{width:78px;height:78px}.option-row{grid-template-columns:115px 1fr 42px;gap:8px}.rejection-grid{grid-template-columns:1fr}.reason-columns{gap:8px}.data-pipeline{display:flex;overflow:auto}.data-pipeline article{min-width:220px}.data-pipeline article:after{display:none!important}.source-list article{grid-template-columns:1fr auto}.source-list em{grid-column:1/-1}.data-rule{display:block}.rule-equation{justify-content:flex-start;margin-top:15px}.lab-banner{display:block}.lab-banner button{margin-top:12px}.qa-list{grid-template-columns:1fr}.record-drawer{inset:auto 0 0 0;width:100%;max-height:88dvh;border-left:0;border-top:1px solid var(--line);border-radius:22px 22px 0 0;transform:translateY(102%)}.record-drawer.open{transform:translateY(0)}.unit-grid{grid-template-columns:1fr 1fr}.toast{right:12px;bottom:82px}}
@media(max-width:430px){.kpi-grid{grid-template-columns:1fr 1fr}.kpi-card{min-height:88px}.map-canvas,.map-canvas.tall{height:370px}.team-card{grid-template-columns:35px minmax(0,1fr) 45px}.quality-bars>div{grid-template-columns:95px 1fr 34px}.route-row{grid-template-columns:30px minmax(0,1fr) 36px 15px}.route-result{display:none}.field-context{grid-template-columns:1fr}.field-actions{grid-template-columns:1fr}.executive-hero{grid-template-columns:1fr}.option-row{grid-template-columns:100px 1fr 38px}.unit-grid{grid-template-columns:1fr}.drawer-metrics{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Three-role demo */
.role-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px}
.role-overview h2{margin:3px 0 5px;font-size:1.35rem;letter-spacing:-.035em}
.role-overview p{max-width:760px;margin:0;color:var(--muted);font-size:.72rem;line-height:1.5}
.role-overview-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.role-overview-tags span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);color:#5e575b;font-size:.58rem;font-weight:850;white-space:nowrap}
.field-profile{display:grid;grid-template-columns:minmax(250px,1fr) minmax(360px,1.4fr) auto;gap:18px;align-items:center;padding:17px 18px}
.profile-identity{display:flex;align-items:center;gap:12px;min-width:0}
.profile-avatar{width:48px!important;height:48px!important;border-radius:15px!important;font-size:.82rem!important}
.profile-identity h2{margin:3px 0 2px;font-size:1.12rem;letter-spacing:-.025em}
.profile-identity p{margin:0;color:var(--muted);font-size:.65rem}
.profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.profile-facts article{padding:9px 10px;border-radius:11px;background:var(--surface-2);min-width:0}
.profile-facts span{display:block;color:var(--muted);font-size:.52rem;text-transform:uppercase;letter-spacing:.07em}
.profile-facts b{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.65rem}
.online-copy{color:var(--green)}
.field-mode-switch{display:flex;padding:4px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}
.field-mode-switch button{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:.62rem;font-weight:850;white-space:nowrap}
.field-mode-switch button .icon{width:15px}
.field-mode-switch button.active{background:#fff;color:var(--ink);box-shadow:var(--shadow-sm)}
.brigadista-layout{display:grid;grid-template-columns:minmax(300px,.64fr) minmax(430px,1.2fr) minmax(270px,.62fr);gap:14px;align-items:start}
.brigadista-map-panel{padding:10px}.brigadista-map-panel>.surface-head{padding:5px 5px 0}.map-canvas.brigadista-map{height:460px}
.field-data-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 19px}
.field-data-strip h2{margin:3px 0 0;font-size:1.05rem;letter-spacing:-.025em}
.field-data-items{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.field-data-items span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;background:var(--surface-2);color:#625b5f;font-size:.58rem;font-weight:750}
.field-data-items b{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:var(--brand-soft);color:var(--brand);font-size:.52rem}
.capture-header{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:start;padding:22px 0 15px}
.capture-header>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #4b464c;border-radius:10px;background:#343136;color:#fff;transform:rotate(180deg)}
.capture-header>button .icon{width:16px}.capture-header small{color:#aaa3a8;font-size:.55rem;font-weight:850;letter-spacing:.09em}
.capture-header h3{margin:4px 0 2px;font-size:1.35rem;letter-spacing:-.035em}.capture-header p{margin:0;color:#b9b3b7;font-size:.64rem}
.capture-step{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:start;margin-top:10px}
.capture-step>span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#fff;color:#252226;font-size:.58rem;font-weight:900}
.capture-step b,.capture-step small{display:block}.capture-step b{font-size:.68rem}.capture-step small{margin-top:2px;color:#a9a3a7;font-size:.55rem;line-height:1.35}
.capture-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}
.capture-option{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 10px;border:1px solid #4b464c;border-radius:10px;background:#343136;color:#d8d2d6;font-size:.59rem;font-weight:750;text-align:left}
.capture-option i{width:8px;height:8px;border:2px solid #8f878c;border-radius:50%}.capture-option.active{border-color:#fff;background:#fff;color:#252226}.capture-option.active i{border-color:var(--green);background:var(--green)}
.capture-evidence{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px}.capture-evidence button{min-height:36px;border:1px dashed #5c565c;border-radius:10px;background:transparent;color:#c8c2c6;font-size:.58rem;font-weight:800}
.capture-note{display:block;margin-top:10px}.capture-note>span{display:block;margin-bottom:5px;color:#aaa3a8;font-size:.55rem;font-weight:800}.capture-note textarea{width:100%;resize:none;padding:10px;border:1px solid #4b464c;border-radius:10px;background:#343136;color:#fff;font:inherit;font-size:.62rem;outline:none}.capture-note textarea:focus{border-color:#b7aeb3}
.capture-consent{display:flex;align-items:flex-start;gap:9px;margin-top:10px;padding:10px;border-radius:10px;background:#343136}.capture-consent input{margin-top:2px;accent-color:var(--green)}.capture-consent b,.capture-consent small{display:block}.capture-consent b{font-size:.61rem}.capture-consent small{margin-top:2px;color:#aaa3a8;font-size:.53rem;line-height:1.35}
.capture-save{width:100%;min-height:43px;margin-top:10px;border:0;border-radius:11px;background:#fff;color:#272428;font-size:.65rem;font-weight:900}
.executive-interpretation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.interpretive-card{padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.interpretive-card.primary{background:#29262a;color:#fff;border-color:#29262a}.interpretive-card.quality{background:#edf6f1;border-color:#d6e9de}
.interpretive-card>span{font-size:.54rem;font-weight:900;letter-spacing:.09em;color:var(--muted)}.interpretive-card.primary>span{color:#c9bdc3}.interpretive-card strong{display:block;margin-top:8px;font-size:1.45rem;letter-spacing:-.045em}.interpretive-card p{margin:6px 0 0;color:var(--muted);font-size:.61rem;line-height:1.42}.interpretive-card.primary p{color:#c9c2c6}
.decision-list{display:grid;gap:8px}.decision-list article{display:grid;grid-template-columns:10px 1fr;gap:10px;padding:11px;border-radius:12px;background:var(--surface-2)}.decision-list i{width:8px;height:8px;margin-top:4px;border-radius:50%;background:var(--amber)}.decision-list i.review{background:var(--blue)}.decision-list i.coverage{background:var(--green)}.decision-list b{font-size:.68rem}.decision-list p{margin:3px 0 0;color:var(--muted);font-size:.59rem;line-height:1.4}.data-pipeline.compact article{padding:11px}.data-pipeline.compact p{font-size:.56rem}
@media(max-width:1180px){.field-profile{grid-template-columns:1fr 1.5fr}.field-mode-switch{grid-column:1/-1;width:max-content}.brigadista-layout{grid-template-columns:minmax(280px,.72fr) minmax(380px,1.28fr)}.field-queue{grid-column:1/-1}.executive-interpretation-grid{grid-template-columns:1fr 1fr}}
@media(max-width:960px){.field-profile{grid-template-columns:1fr}.profile-facts{grid-template-columns:repeat(4,1fr)}.field-mode-switch{grid-column:auto}.brigadista-layout{grid-template-columns:1fr 1fr}.field-queue{grid-column:1/-1}.field-data-strip{display:block}.field-data-items{justify-content:flex-start;margin-top:12px}.role-overview{display:block}.role-overview-tags{justify-content:flex-start;margin-top:12px}}
@media(max-width:760px){.field-profile{padding:14px}.profile-facts{grid-template-columns:1fr 1fr}.field-mode-switch{display:grid;grid-template-columns:1fr 1fr;width:100%}.brigadista-layout{grid-template-columns:1fr}.field-device{order:1}.brigadista-map-panel{order:2}.field-queue{order:3}.map-canvas.brigadista-map{height:390px}.field-data-strip{padding:15px}.field-data-items{display:grid;grid-template-columns:1fr 1fr}.executive-interpretation-grid{grid-template-columns:1fr 1fr}.capture-options{grid-template-columns:1fr}.role-overview-tags{display:none}}
@media(max-width:430px){.executive-interpretation-grid{grid-template-columns:1fr}.field-data-items{grid-template-columns:1fr}.capture-evidence{grid-template-columns:1fr}}
.sidebar{z-index:1200}.app-topbar{z-index:1000}.drawer-backdrop{z-index:2100}.record-drawer{z-index:2200}.toast{z-index:2300}

/* Geospatial operations v4 */
.profile-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.gps-mode-switch{display:flex;padding:4px;border:1px solid var(--line);border-radius:13px;background:#eef3f7}
.gps-mode-switch button{min-height:36px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:#62717e;font-size:.6rem;font-weight:900;white-space:nowrap}
.gps-mode-switch button.active{background:#fff;color:#1766a6;box-shadow:var(--shadow-sm)}
.map-stage{position:relative;overflow:hidden;border-radius:15px}
.territory-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f2e8ed;color:var(--brand);font-size:.55rem;font-weight:950;letter-spacing:.08em}
.gps-hud{position:absolute;left:14px;bottom:14px;z-index:650;display:grid;grid-template-columns:minmax(145px,1fr) 48px;gap:9px;width:min(390px,calc(100% - 28px));padding:12px;border:1px solid rgba(255,255,255,.78);border-radius:16px;background:rgba(31,30,34,.92);color:#fff;box-shadow:0 18px 45px rgba(24,24,28,.28);backdrop-filter:blur(18px)}
.gps-target span,.gps-target b,.gps-target small{display:block}.gps-target span{color:#a8d4ff;font-size:.51rem;font-weight:950;letter-spacing:.1em}.gps-target b{margin-top:4px;font-size:.88rem}.gps-target small{margin-top:3px;color:#bab6bc;font-size:.56rem}
.gps-compass{grid-row:1/3;grid-column:2;display:grid;place-items:center;align-content:center;width:46px;height:46px;border:1px solid #55515a;border-radius:50%;background:#29272c}.gps-compass i{display:block;color:#6bb3f4;font-style:normal;font-size:1.05rem;line-height:1;transform:rotate(var(--bearing));transition:transform .25s ease}.gps-compass span{margin-top:2px;color:#b8b3ba;font-size:.5rem;font-weight:900}
.gps-readout{grid-column:1/-1;display:grid;grid-template-columns:74px 74px 1fr;gap:6px}.gps-readout article{min-width:0;padding:7px 8px;border-radius:9px;background:#39363d}.gps-readout span,.gps-readout b{display:block}.gps-readout span{color:#aaa4ac;font-size:.48rem;text-transform:uppercase;letter-spacing:.06em}.gps-readout b{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.58rem}
.geofence-state,.device-geofence,.drawer-geofence,.capture-geo{--geo:#b47a24;--geo-bg:rgba(180,122,36,.16);display:flex;align-items:center;gap:8px;border:1px solid color-mix(in srgb,var(--geo) 42%,transparent);background:var(--geo-bg)}
.geofence-state{grid-column:1/-1;min-height:34px;padding:7px 9px;border-radius:10px;color:#f7f4f6;font-size:.57rem;font-weight:850}.geofence-state i,.device-geofence i,.drawer-geofence>i{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:var(--geo);box-shadow:0 0 0 4px color-mix(in srgb,var(--geo) 18%,transparent)}
.geofence-state.allowed,.device-geofence.allowed,.drawer-geofence.allowed,.capture-geo.allowed{--geo:#3bb47b;--geo-bg:rgba(59,180,123,.15)}
.geofence-state.outside,.device-geofence.outside,.drawer-geofence.outside,.capture-geo.outside{--geo:#d85a5a;--geo-bg:rgba(216,90,90,.16)}
.geofence-state.warning,.device-geofence.warning,.drawer-geofence.warning,.capture-geo.warning{--geo:#d79738;--geo-bg:rgba(215,151,56,.16)}
.simulate-arrival{grid-column:1/-1;min-height:34px;border:1px solid #57525a;border-radius:10px;background:transparent;color:#e0dbe0;font-size:.56rem;font-weight:850}
.next-stop-card code{display:block;margin-top:6px;color:#8ec2f4;font-family:"SFMono-Regular",Consolas,monospace;font-size:.54rem}
.device-geofence{min-height:36px;margin-top:9px;padding:8px 10px;border-radius:10px;color:#f2eef1;font-size:.58rem;font-weight:850}
.field-actions button:disabled{opacity:.36;cursor:not-allowed}
.capture-geo{justify-content:space-between;padding:10px;border-radius:11px;color:#fff}.capture-geo>div span,.capture-geo>div b,.capture-geo>div small{display:block}.capture-geo>div span{color:#b8b1b7;font-size:.5rem;font-weight:900;letter-spacing:.08em}.capture-geo>div b{margin-top:3px;font-size:.64rem}.capture-geo>div small{margin-top:3px;color:#aea8ae;font-size:.51rem;line-height:1.35}.capture-geo-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--geo);color:#fff;font-style:normal;font-weight:950}
.capture-save:disabled{background:#4b464d;color:#999299;cursor:not-allowed}.capture-arrival{width:100%;min-height:38px;margin-top:7px;border:1px solid #5b555d;border-radius:10px;background:transparent;color:#d8d2d7;font-size:.58rem;font-weight:850}
.leaflet-node-wrap,.leaflet-team-wrap,.leaflet-gps-wrap{background:transparent!important;border:0!important}
.map-node{display:flex;align-items:center;justify-content:center;gap:2px;width:100%;height:100%;padding:0 4px;border-radius:9px;background:#fff;color:var(--team);border:2px solid var(--team);box-shadow:0 3px 9px rgba(0,0,0,.2);font-size:.55rem;font-weight:950;line-height:1;transition:.15s ease}
.map-node span{display:block}.map-node small{display:block;padding:2px 3px;border-radius:4px;background:color-mix(in srgb,var(--team) 13%,#fff);font-size:.31rem;letter-spacing:.03em}
.map-node.building{border-radius:6px}.map-node.done{background:var(--team);color:#fff}.map-node.done small,.map-node.current small{background:rgba(255,255,255,.18)}.map-node.current{background:#252326;color:#fff;border-color:#fff;box-shadow:0 0 0 3px var(--team),0 5px 14px rgba(0,0,0,.28)}.map-node.pending{background:#fff;color:var(--team)}.map-node.muted-route{padding:0;border-radius:50%;opacity:.58}.map-node.selected{opacity:1}
.gps-puck{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#2677c9;border:4px solid #fff;box-shadow:0 4px 14px rgba(24,80,130,.34)}.gps-puck:before{content:"";position:absolute;inset:-8px;border:2px solid rgba(38,119,201,.36);border-radius:50%;animation:gps-pulse 1.7s ease-out infinite}.gps-puck>i{width:9px;height:9px;border-radius:50%;background:#fff}.gps-puck>span{position:absolute;top:-13px;color:#2677c9;font-size:.9rem;font-weight:950;transform-origin:50% 31px}.gps-puck.demo{background:#246fae}.gps-puck.live{background:#1f9b6b}.gps-puck.outside{background:#b64747}.gps-puck.outside:before{border-color:rgba(182,71,71,.4)}
@keyframes gps-pulse{0%{transform:scale(.75);opacity:.9}100%{transform:scale(1.45);opacity:0}}
.territory-tooltip{padding:6px 9px!important;border:0!important;border-radius:9px!important;background:#28262a!important;color:#fff!important;box-shadow:0 8px 24px rgba(0,0,0,.24)!important;font-size:.58rem!important;font-weight:850!important}.territory-tooltip:before{display:none!important}
.leaflet-control-attribution{font-size:9px!important;background:rgba(255,255,255,.82)!important}
.drawer-geofence{padding:11px 12px;border-radius:12px;margin:12px 0}.drawer-geofence>div span,.drawer-geofence>div b,.drawer-geofence>div small{display:block}.drawer-geofence>div span{color:var(--muted);font-size:.5rem;font-weight:900;letter-spacing:.08em}.drawer-geofence>div b{margin-top:3px;font-size:.7rem}.drawer-geofence>div small{margin-top:3px;color:var(--muted);font-size:.55rem}
.coordinate-card{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.coordinate-card b,.coordinate-card span,.coordinate-card small{display:block}.coordinate-card b{font-family:"SFMono-Regular",Consolas,monospace;font-size:.74rem}.coordinate-card span{margin-top:5px;font-size:.62rem;font-weight:800}.coordinate-card small{margin-top:4px;color:var(--muted);font-size:.54rem;line-height:1.4}
@media(max-width:1180px){.profile-controls{grid-column:1/-1;justify-content:flex-start}.gps-hud{width:min(360px,calc(100% - 24px))}}
@media(max-width:760px){.profile-controls{display:grid;grid-template-columns:1fr;gap:7px}.gps-mode-switch,.field-mode-switch{display:grid;grid-template-columns:1fr 1fr;width:100%}.map-stage{border-radius:13px}.gps-hud{left:8px;bottom:8px;width:calc(100% - 16px);padding:9px;grid-template-columns:minmax(120px,1fr) 42px}.gps-compass{width:40px;height:40px}.gps-readout{grid-template-columns:60px 60px 1fr}.gps-readout article{padding:6px}.gps-target b{font-size:.78rem}.gps-target small{font-size:.51rem}.geofence-state{min-height:31px}.simulate-arrival{min-height:31px}.field-queue .queue-row small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.territory-chip{display:none}}
@media(max-width:430px){.gps-readout{grid-template-columns:1fr 1fr}.gps-readout article:last-child{grid-column:1/-1}.gps-hud{border-radius:13px}.map-node{font-size:.5rem}.capture-geo{align-items:flex-start}.drawer-geofence{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.gps-puck:before{animation:none}}

/* Final map polish v6: retina cartography, crisp parcels and readable live teams */
.leaflet-container{background:#ebeae6;isolation:isolate;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}
.leaflet-tile{image-rendering:auto!important;backface-visibility:hidden;transform:translateZ(0)}
.leaflet-overlay-pane svg{shape-rendering:geometricPrecision;overflow:visible}
.leaflet-marker-pane .leaflet-team-wrap{transition:transform .18s linear!important;will-change:transform}
.leaflet-marker-pane .leaflet-node-wrap{transition:transform .14s ease-out!important;will-change:transform}
.map-team-marker{position:relative;display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,var(--team) 88%,#fff),var(--team));color:#fff;border:3px solid #fff;box-shadow:0 8px 24px rgba(31,28,32,.32),0 0 0 2px color-mix(in srgb,var(--team) 62%,transparent);font-size:.69rem;font-weight:950;letter-spacing:.02em}
.map-team-marker.selected{box-shadow:0 10px 28px rgba(31,28,32,.38),0 0 0 4px color-mix(in srgb,var(--team) 27%,transparent)}
.map-team-marker span{position:relative;z-index:3;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.map-team-marker i{position:absolute;inset:-8px;border:2px solid color-mix(in srgb,var(--team) 45%,transparent);border-radius:50%;background:transparent;animation:team-pulse 2s ease-out infinite}
.map-team-marker b{position:absolute;inset:-9px;transform:rotate(var(--heading));transform-origin:center;pointer-events:none}
.map-team-marker b:after{content:"";position:absolute;top:-2px;left:50%;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:9px solid var(--team);filter:drop-shadow(0 1px 1px rgba(255,255,255,.9));transform:translateX(-50%)}
@keyframes team-pulse{0%{transform:scale(.78);opacity:.9}100%{transform:scale(1.32);opacity:0}}
.map-node{box-sizing:border-box;background:#fff;border-color:var(--team);box-shadow:0 3px 10px rgba(31,28,32,.22);font-variant-numeric:tabular-nums;white-space:nowrap}
.map-node.selected{outline:1px solid rgba(255,255,255,.92);outline-offset:1px}
.map-node.current{box-shadow:0 0 0 3px color-mix(in srgb,var(--team) 45%,transparent),0 7px 17px rgba(31,28,32,.3)}
.map-node.muted-route{width:100%;height:100%;min-width:0;padding:0;border-width:2px;background:var(--team);box-shadow:0 2px 5px rgba(31,28,32,.18)}
.parcel-tooltip,.team-tooltip{border:0!important;border-radius:10px!important;background:rgba(37,34,38,.95)!important;color:#fff!important;box-shadow:0 10px 28px rgba(24,22,25,.28)!important;font-size:.58rem!important;font-weight:850!important;letter-spacing:.01em!important;padding:7px 9px!important}
.parcel-tooltip:before,.team-tooltip:before{border-top-color:rgba(37,34,38,.95)!important}
.gps-puck{background:linear-gradient(145deg,color-mix(in srgb,var(--team) 75%,#3a9bea),var(--team));border-width:3px}
.gps-puck>b{position:relative;z-index:2;color:#fff;font-size:.59rem;font-weight:950;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.gps-puck>span{z-index:3}
.leaflet-control-zoom{border:0!important;box-shadow:0 8px 24px rgba(31,28,32,.16)!important}
.leaflet-control-zoom a{width:34px!important;height:34px!important;line-height:34px!important;background:rgba(255,255,255,.95)!important}
.leaflet-control-attribution{border-radius:7px 0 0 0!important;color:#777176!important;backdrop-filter:blur(8px)}
@media(max-width:760px){.map-team-marker{font-size:.62rem}.leaflet-control-zoom a{width:32px!important;height:32px!important;line-height:32px!important}.parcel-tooltip,.team-tooltip{font-size:.54rem!important}}
@media(prefers-reduced-motion:reduce){.map-team-marker i{animation:none}.leaflet-marker-pane .leaflet-team-wrap{transition:none!important}}
.key-parcel{display:inline-block;width:14px;height:10px;border:1.5px solid var(--brand);border-radius:3px;background:rgba(114,47,79,.08);transform:skewY(-8deg)}
.leaflet-overlay-pane svg,.leaflet-parcel-pane svg,.leaflet-route-pane svg{shape-rendering:geometricPrecision}

/* RED CHM v7 · character markers, progressive parcels and pro workspaces */
.brigadista-character{position:relative;display:inline-grid;place-items:center;flex:0 0 auto;line-height:1;filter:drop-shadow(0 5px 7px rgba(28,25,29,.2));transform-origin:50% 100%}
.brigadista-character svg{display:block;width:100%;height:100%;overflow:visible}
.brigadista-character.map-marker,.brigadista-character.gps-marker{width:100%;height:100%;animation:brigadista-walk .72s ease-in-out infinite alternate}
.brigadista-character.list{width:30px;height:42px}.brigadista-character.selected{width:42px;height:56px}.brigadista-character.profile{width:42px;height:56px}.brigadista-character.tiny{width:26px;height:36px;filter:none}
.brigadista-shadow{fill:rgba(27,24,28,.17)}.brigadista-leg{fill:#3d4652}.brigadista-shoe{fill:#252326}.brigadista-body{fill:#f3f1ee}.brigadista-vest{fill:var(--team)}.brigadista-vest-line{fill:none;stroke:rgba(255,255,255,.8);stroke-width:1.1}.brigadista-badge{fill:#fff}.brigadista-initials{fill:var(--team);font-family:Metropolis,Arial,sans-serif;font-size:4px;font-weight:950}.brigadista-arm{fill:#eab78e}.brigadista-face{fill:#f3c6a2}.brigadista-hair{fill:#3b2c2c}.brigadista-cap{fill:var(--team)}.brigadista-cap-brim{fill:color-mix(in srgb,var(--team) 77%,#111)}.brigadista-eye{fill:#30292b}.brigadista-smile{fill:none;stroke:#8e4f51;stroke-width:1;stroke-linecap:round}
.map-brigadista,.gps-brigadista{position:relative;width:100%;height:100%;display:grid;place-items:center;pointer-events:none}
.map-brigadista .brigadista-heading,.gps-brigadista .brigadista-heading{position:absolute;left:50%;bottom:-2px;width:14px;height:14px;transform:translateX(-50%) rotate(var(--heading));transform-origin:center;border-radius:50%;border-top:2px solid var(--team);opacity:.8}
.map-brigadista .brigadista-heading:after,.gps-brigadista .brigadista-heading:after{content:"";position:absolute;top:-4px;left:4px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:5px solid var(--team)}
.map-brigadista.selected:before,.gps-brigadista:before{content:"";position:absolute;left:50%;bottom:0;width:25px;height:8px;border-radius:50%;background:color-mix(in srgb,var(--team) 20%,transparent);transform:translateX(-50%);animation:brigadista-pulse 1.6s ease-out infinite}
.gps-brigadista.live:before{background:rgba(31,155,107,.24)}.gps-brigadista.outside{filter:grayscale(.65)}
@keyframes brigadista-walk{from{transform:translateY(0) rotate(-.5deg)}to{transform:translateY(-1.8px) rotate(.5deg)}}
@keyframes brigadista-pulse{0%{transform:translateX(-50%) scale(.65);opacity:.8}100%{transform:translateX(-50%) scale(1.65);opacity:0}}
.predio-number{display:flex;align-items:baseline;justify-content:center;gap:2px;width:100%;height:100%;color:var(--predio-color);font-variant-numeric:tabular-nums;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff,0 2px 4px rgba(0,0,0,.18);pointer-events:auto}
.predio-number span{font-size:.65rem;font-weight:950;letter-spacing:-.03em}.predio-number small{font-size:.34rem;font-weight:950;text-transform:uppercase}.predio-number.current span{font-size:.74rem}.predio-number.muted{opacity:0}.predio-number.done{color:var(--team)}
.leaflet-node-wrap{background:transparent!important;border:0!important}.leaflet-parcel-pane path{vector-effect:non-scaling-stroke;transition:stroke .18s ease,stroke-width .18s ease,fill-opacity .18s ease}.parcel-tooltip,.team-tooltip{border-radius:9px!important;padding:6px 8px!important;background:rgba(34,32,35,.93)!important}
.command-titlebar,.executive-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:4px 2px 2px}
.command-titlebar h2,.executive-titlebar h2{margin:4px 0 3px;font-size:1.65rem;letter-spacing:-.045em}.command-titlebar p,.executive-titlebar p{margin:0;color:var(--muted);font-size:.7rem}
.command-status{display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.58rem;font-weight:800}.command-status i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(35,130,96,.12)}.command-status b{padding-left:7px;border-left:1px solid var(--line)}
.command-metric-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}.command-metric-strip article{padding:13px 15px;border-right:1px solid var(--line)}.command-metric-strip article:last-child{border:0}.command-metric-strip span,.command-metric-strip b,.command-metric-strip small{display:block}.command-metric-strip span{color:var(--muted);font-size:.53rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.command-metric-strip b{margin-top:5px;font-size:1.15rem;letter-spacing:-.04em}.command-metric-strip small{margin-top:2px;color:#8b8589;font-size:.54rem}
.command-cockpit{position:relative;min-height:620px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#e9e8e4;box-shadow:0 22px 65px rgba(35,31,36,.12)}.command-map{height:620px;border:0;border-radius:0}
.command-map-label{position:absolute;z-index:650;top:16px;left:290px;padding:10px 13px;border:1px solid rgba(255,255,255,.78);border-radius:12px;background:rgba(255,255,255,.86);backdrop-filter:blur(18px);box-shadow:0 8px 26px rgba(37,33,38,.12)}.command-map-label span,.command-map-label b,.command-map-label small{display:block}.command-map-label b{margin-top:3px;font-size:.76rem}.command-map-label small{margin-top:2px;color:var(--muted);font-size:.52rem}
.command-team-dock,.command-selection-dock{position:absolute;z-index:660;border:1px solid rgba(255,255,255,.82);background:rgba(255,255,255,.9);backdrop-filter:blur(20px);box-shadow:0 16px 45px rgba(34,30,35,.16)}.command-team-dock{top:16px;left:16px;width:260px;padding:10px;border-radius:15px}.command-selection-dock{top:16px;right:16px;width:274px;padding:13px;border-radius:15px}
.dock-head{display:flex;align-items:center;justify-content:space-between;padding:2px 3px 8px}.dock-head span{color:var(--muted);font-size:.5rem;font-weight:900;letter-spacing:.09em}.dock-head b{font-size:.56rem}.command-team-dock .team-list{display:grid;gap:3px}.command-team-dock .team-card{grid-template-columns:34px minmax(0,1fr);min-height:54px;padding:5px 7px;border:0;border-radius:10px;background:transparent}.command-team-dock .team-card.active{background:#f2efef;box-shadow:none}.command-team-dock .team-progress{grid-column:2}.command-team-dock .team-copy b{font-size:.62rem}.command-team-dock .team-copy small,.command-team-dock .team-copy em{font-size:.5rem}
.summary-head{display:flex;align-items:center;gap:9px}.summary-head h3{margin:2px 0;font-size:.82rem}.summary-head p{margin:0;color:var(--muted);font-size:.54rem}.summary-current{display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.summary-current>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#29262a;color:#fff;font-size:.58rem;font-weight:950}.summary-current small,.summary-current b,.summary-current p{display:block}.summary-current small{color:var(--muted);font-size:.47rem;font-weight:900}.summary-current b{margin-top:2px;font-size:.66rem}.summary-current p{margin:2px 0 0;color:var(--muted);font-size:.5rem}
.summary-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.summary-actions button{min-height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:.55rem;font-weight:850}.summary-actions button:first-child{background:#29262a;color:#fff;border-color:#29262a}
.command-map-key{position:absolute;z-index:650;left:16px;bottom:98px;display:flex;gap:9px;padding:7px 9px;border-radius:10px;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);font-size:.5rem;font-weight:800}.command-map-key span{display:flex;align-items:center;gap:4px}.command-map-key .outline{width:11px;height:8px;border:2px solid #b8b4b7;border-radius:2px}.command-map-key .outline.current{border-color:#202126}.command-map-key .outline.completed{border-color:var(--brand)}
.command-playback{position:absolute;z-index:650;left:16px;right:16px;bottom:14px}.command-playback .simulation-controls{border:1px solid rgba(255,255,255,.82);background:rgba(255,255,255,.92);backdrop-filter:blur(18px);box-shadow:0 12px 34px rgba(31,28,32,.13)}
.command-insight-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.command-quality,.command-activity{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}.command-quality h3,.command-activity h3{margin:3px 0 0;font-size:.78rem}.quality-inline{display:flex;gap:12px}.quality-inline span{color:var(--muted);font-size:.54rem}.quality-inline b{color:var(--ink)}.command-activity h3{max-width:480px;font-size:.64rem;line-height:1.4}.command-activity time{font-size:.58rem;font-weight:900}
.compact-profile{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.3fr) auto;gap:16px;align-items:center;padding:10px 14px;border:1px solid var(--line);border-radius:15px;background:#fff}.compact-profile .profile-facts{grid-template-columns:repeat(3,1fr)}.compact-profile .profile-facts article{padding:7px 9px}.compact-profile .profile-controls{justify-self:end}.compact-team-strip{gap:5px}.compact-team-strip button{min-width:155px;padding:4px 9px 4px 5px}.compact-team-strip button.active{background:#fff}
.brigadista-workspace{border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 22px 62px rgba(35,31,36,.1)}.field-map-stage{height:650px;border-radius:0;overflow:hidden}.map-canvas.brigadista-map{height:650px;border-radius:0}
.field-map-title{position:absolute;z-index:650;top:14px;left:14px;padding:8px 11px;border:1px solid rgba(255,255,255,.8);border-radius:11px;background:rgba(255,255,255,.88);backdrop-filter:blur(16px)}.field-map-title span,.field-map-title b{display:block}.field-map-title span{font-size:.73rem;font-weight:900}.field-map-title b{margin-top:2px;color:var(--muted);font-size:.5rem}
.capture-dock{position:absolute;z-index:690;top:14px;right:14px;width:276px;padding:12px;border:1px solid rgba(255,255,255,.82);border-radius:15px;background:rgba(36,34,38,.94);color:#fff;backdrop-filter:blur(20px);box-shadow:0 18px 48px rgba(28,25,29,.24)}.capture-dock.expanded{width:318px;max-height:610px;overflow:auto}
.capture-dock-route span,.capture-dock-route b,.capture-dock-route small{display:block}.capture-dock-route span{color:#c7bdc2;font-size:.49rem;font-weight:900;letter-spacing:.08em}.capture-dock-route b{margin-top:4px;font-size:.86rem}.capture-dock-route small{margin-top:3px;color:#aca5aa;font-size:.55rem}
.dock-geofence{display:flex;align-items:center;gap:7px;margin-top:9px;padding:7px 8px;border-radius:9px;background:#353239;font-size:.53rem;font-weight:800}.dock-geofence i{width:7px;height:7px;border-radius:50%;background:#d79738}.dock-geofence.allowed i{background:#3bb47b}.dock-geofence.outside i{background:#d85a5a}
.capture-dock-actions{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:9px}.capture-dock-actions button{min-height:36px;padding:0 12px;border:1px solid #575159;border-radius:9px;background:transparent;color:#fff;font-size:.57rem;font-weight:900}.capture-dock-actions button:first-child{background:#fff;color:#272428;border-color:#fff}.capture-dock-actions button:disabled{opacity:.35}
.capture-dock-head{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:start}.capture-dock-head>button{display:grid;place-items:center;width:28px;height:28px;border:1px solid #545057;border-radius:8px;background:transparent;color:#fff}.capture-dock-head .icon{width:14px}.capture-dock-head span,.capture-dock-head b,.capture-dock-head small{display:block}.capture-dock-head span{color:#bdb5ba;font-size:.48rem;font-weight:900;letter-spacing:.08em}.capture-dock-head b{margin-top:3px;font-size:.75rem}.capture-dock-head small{margin-top:2px;color:#aaa3a8;font-size:.52rem}
.capture-options.compact{grid-template-columns:1fr;gap:4px;margin-top:9px}.capture-options.compact .capture-option{min-height:31px}.capture-evidence.compact{margin-top:8px}.capture-note.compact{margin-top:8px}.capture-consent.compact{margin-top:8px;padding:7px}.capture-dock .capture-geo{margin-top:9px;padding:8px}.capture-dock .capture-save{min-height:38px}
.field-playback{padding:9px 11px;border-top:1px solid var(--line)}.field-playback .simulation-controls{padding:0;border:0;background:transparent}
.route-strip{display:flex;align-items:center;gap:4px;padding:9px 11px;border-top:1px solid var(--line);overflow:auto}.route-strip>div{min-width:88px;padding-right:9px;border-right:1px solid var(--line)}.route-strip>div span,.route-strip>div b{display:block}.route-strip>div span{color:var(--muted);font-size:.45rem;font-weight:900;letter-spacing:.08em}.route-strip>div b{margin-top:2px;font-size:.56rem}
.route-strip-item{display:grid;place-items:center;min-width:42px;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted)}.route-strip-item span{font-size:.61rem;font-weight:950}.route-strip-item small{font-size:.43rem}.route-strip-item.done{border-color:color-mix(in srgb,var(--brand) 45%,var(--line));color:var(--brand)}.route-strip-item.current{background:#29262a;color:#fff;border-color:#29262a}.route-strip-item.pending{opacity:.68}
.executive-titlebar>div:last-child{text-align:right}.executive-titlebar>div:last-child span,.executive-titlebar>div:last-child b{display:block}.executive-titlebar>div:last-child span{color:var(--muted);font-size:.5rem;text-transform:uppercase;letter-spacing:.08em}.executive-titlebar>div:last-child b{margin-top:4px;font-size:.62rem}
.executive-cockpit{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);border-radius:20px;overflow:hidden;background:#29262a;color:#fff;box-shadow:0 22px 65px rgba(35,31,36,.16)}.executive-main-result{padding:28px 30px}.executive-main-result>span{color:#cdbfc6;font-size:.54rem;font-weight:900;letter-spacing:.1em}.executive-main-result h1{margin:12px 0 2px;font-size:3.5rem;letter-spacing:-.065em}.executive-main-result>p{margin:0;color:#c9c2c6;font-size:.74rem}.result-margin{display:flex;align-items:baseline;gap:10px;margin-top:24px}.result-margin strong{font-size:1.6rem}.result-margin span{color:#bbb4b8;font-size:.62rem}.executive-main-result>small{display:block;margin-top:18px;padding-top:12px;border-top:1px solid #484349;color:#aaa3a7;font-size:.55rem}
.executive-confidence{display:flex;align-items:center;gap:16px;padding:24px;border-left:1px solid #484349;background:#322f34}.executive-confidence>div:last-child>span{color:#a9d6c0;font-size:.51rem;font-weight:900;letter-spacing:.09em}.executive-confidence h3{margin:5px 0 4px;font-size:.9rem}.executive-confidence p{margin:0;color:#b9b2b6;font-size:.58rem;line-height:1.45}
.executive-statline{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #484349}.executive-statline article{padding:13px 17px;border-right:1px solid #484349}.executive-statline article:last-child{border:0}.executive-statline span,.executive-statline b,.executive-statline small{display:block}.executive-statline span{color:#aaa3a7;font-size:.49rem;text-transform:uppercase;letter-spacing:.08em}.executive-statline b{margin-top:4px;font-size:1rem}.executive-statline small{margin-top:2px;color:#8e888c;font-size:.48rem}
.executive-main-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:10px}.executive-panel{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.executive-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.executive-panel-head span{color:var(--muted);font-size:.5rem;font-weight:900;letter-spacing:.09em}.executive-panel-head h3{margin:4px 0 0;font-size:.95rem}.executive-panel-head>b{padding:6px 8px;border-radius:999px;background:var(--surface-2);font-size:.5rem}.pro-bars .option-row{padding:9px 0;border-bottom:1px solid #eee}.pro-bars .option-row:last-child{border:0}
.executive-insight{display:grid;grid-template-columns:9px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.executive-insight:last-child{border:0}.executive-insight>i{width:8px;height:8px;margin-top:4px;border-radius:50%;background:var(--green)}.executive-insight.warning>i{background:var(--amber)}.executive-insight b{font-size:.66rem}.executive-insight p{margin:3px 0 0;color:var(--muted);font-size:.57rem;line-height:1.45}
.executive-trace{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 17px;border:1px solid var(--line);border-radius:15px;background:#fff}.executive-trace h3{margin:3px 0 0;font-size:.8rem}.trace-line{display:flex;align-items:center;gap:5px}.trace-line article{display:flex;align-items:center;gap:5px;padding:7px 8px;border-radius:9px;background:var(--surface-2)}.trace-line article:not(:last-child):after{content:"→";margin-left:5px;color:#aaa}.trace-line span{color:var(--brand);font-size:.47rem;font-weight:950}.trace-line b{font-size:.52rem}
@media(max-width:1100px){.command-team-dock{width:225px}.command-map-label{left:255px}.command-selection-dock{width:245px}.compact-profile{grid-template-columns:1fr 1.2fr}.compact-profile .profile-controls{grid-column:1/-1;justify-self:start}.executive-main-grid{grid-template-columns:1fr}.trace-line{overflow:auto;max-width:70%}}
@media(max-width:800px){.command-titlebar,.executive-titlebar{align-items:flex-start}.command-titlebar p,.executive-titlebar p{display:none}.command-metric-strip{grid-template-columns:1fr 1fr}.command-metric-strip article:nth-child(2){border-right:0}.command-metric-strip article:nth-child(-n+2){border-bottom:1px solid var(--line)}.command-cockpit{display:grid;min-height:0;overflow:visible;background:transparent;box-shadow:none;border:0}.command-map{height:500px;border:1px solid var(--line);border-radius:16px}.command-map-label{left:10px;top:10px}.command-team-dock,.command-selection-dock{position:relative;inset:auto;width:auto;margin-top:8px}.command-team-dock .team-list{display:flex;overflow:auto}.command-team-dock .team-card{min-width:195px}.command-selection-dock{padding:11px}.command-map-key{left:10px;bottom:auto;top:448px}.command-playback{position:relative;inset:auto;margin-top:8px}.command-insight-row{grid-template-columns:1fr}.compact-profile{grid-template-columns:1fr}.compact-profile .profile-facts{grid-template-columns:repeat(3,1fr)}.field-map-stage,.map-canvas.brigadista-map{height:570px}.capture-dock{top:10px;right:10px;width:230px}.capture-dock.expanded{width:min(310px,calc(100% - 20px));max-height:540px}.gps-hud{left:10px;bottom:10px;width:250px}.gps-readout article:nth-child(3){display:none}.gps-readout{grid-template-columns:1fr 1fr}.executive-cockpit{grid-template-columns:1fr}.executive-confidence{border-left:0;border-top:1px solid #484349}.executive-statline{grid-template-columns:1fr 1fr}.executive-statline article:nth-child(2){border-right:0}.executive-statline article:nth-child(-n+2){border-bottom:1px solid #484349}.executive-titlebar>div:last-child{display:none}.executive-trace{display:block}.trace-line{max-width:none;margin-top:10px;overflow:auto}.reason-columns{grid-template-columns:1fr}}
@media(max-width:520px){.command-status span{display:none}.command-cockpit .command-map{height:460px}.command-map-key{top:408px}.command-team-dock .team-card{min-width:175px}.quality-inline{display:grid;gap:3px}.command-quality,.command-activity{align-items:flex-start}.compact-profile .profile-facts{grid-template-columns:1fr 1fr}.compact-profile .profile-facts article:last-child{grid-column:1/-1}.compact-team-strip button{min-width:135px}.field-map-stage,.map-canvas.brigadista-map{height:600px}.field-map-title{top:8px;left:8px}.capture-dock.compact-dock{top:8px;right:8px;width:185px;padding:9px}.capture-dock.expanded{top:8px;right:8px;width:calc(100% - 16px);max-height:578px}.gps-hud{left:8px;bottom:8px;width:180px;padding:8px}.gps-hud .gps-readout{display:none}.gps-hud .simulate-arrival{min-height:28px}.gps-target small{display:none}.route-strip{padding:7px 8px}.route-strip-item{min-width:38px;height:37px}.executive-main-result{padding:22px}.executive-main-result h1{font-size:2.8rem}.executive-confidence{padding:18px}.executive-statline article{padding:11px}.executive-panel{padding:14px}.trace-line article{min-width:max-content}}
@media(prefers-reduced-motion:reduce){.brigadista-character.map-marker,.brigadista-character.gps-marker,.map-brigadista.selected:before,.gps-brigadista:before{animation:none}}
.leaflet-overlay-pane path{vector-effect:non-scaling-stroke;transition:stroke .18s ease,stroke-width .18s ease,fill-opacity .18s ease}
@media(max-width:800px){.command-view,.command-cockpit,.command-cockpit>*{min-width:0;max-width:100%;box-sizing:border-box}.command-cockpit{width:100%;overflow:hidden}.command-map{width:100%!important;max-width:100%!important}.command-team-dock,.command-selection-dock{width:100%;max-width:100%;overflow:hidden}.command-team-dock .team-list{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}.command-team-dock .team-card{flex:0 0 195px}.command-playback{width:100%;max-width:100%}.command-playback .simulation-controls{max-width:100%;box-sizing:border-box}}
@media(max-width:520px){.command-team-dock .team-card{flex-basis:170px}.command-map-label{max-width:170px}.command-playback .simulation-controls{grid-template-columns:1fr 38px 68px 34px}.command-playback .day-switch{grid-column:1/-1}}

/* RED CHM v8 · official cadastral geometry */
.geo-layer-control{position:absolute;z-index:675;top:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:5px;border:1px solid rgba(255,255,255,.9);border-radius:12px;background:rgba(255,255,255,.93);box-shadow:0 10px 30px rgba(29,27,31,.14);backdrop-filter:blur(18px)}
.geo-layer-control button{display:flex;align-items:center;gap:5px;min-height:29px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#777176;font-size:.51rem;font-weight:900;white-space:nowrap}.geo-layer-control button i{width:7px;height:7px;border:1px solid currentColor;border-radius:2px}.geo-layer-control button.active{background:#28262a;color:#fff}.geo-layer-control button.passive{pointer-events:none}.geo-layer-control>span{padding:0 7px;color:#777176;font-size:.48rem;white-space:nowrap}
.cadastre-tooltip{border:0!important;border-radius:8px!important;background:rgba(37,34,38,.94)!important;color:#fff!important;box-shadow:0 8px 22px rgba(24,22,25,.22)!important;font-size:.52rem!important;font-weight:800!important;padding:6px 8px!important}.cadastre-tooltip:before{display:none!important}
.cadastre-popup span,.cadastre-popup b,.cadastre-popup small,.cadastre-popup em{display:block}.cadastre-popup span{color:#722f4f;font-size:.48rem;font-weight:950;letter-spacing:.08em}.cadastre-popup b{margin-top:4px;font-size:.75rem}.cadastre-popup small{margin-top:2px;color:#777176;font-size:.55rem}.cadastre-popup dl{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:10px 0;font-size:.54rem}.cadastre-popup dt{color:#888}.cadastre-popup dd{margin:0;font-weight:800}.cadastre-popup em{color:#888;font-size:.48rem;font-style:normal}
.leaflet-cadastre-pane canvas{filter:none!important;image-rendering:auto!important}
.leaflet-parcel-pane path.parcel-timing{filter:drop-shadow(0 0 3px rgba(114,47,79,.28));stroke-linecap:round;animation:parcel-live-pulse 1.4s ease-in-out infinite alternate}.leaflet-parcel-pane path.parcel-complete{stroke-linecap:round}
@keyframes parcel-live-pulse{from{filter:drop-shadow(0 0 1px rgba(114,47,79,.18))}to{filter:drop-shadow(0 0 5px rgba(114,47,79,.38))}}
@media(max-width:760px){.geo-layer-control{top:8px;left:auto;right:8px;transform:none;max-width:calc(100% - 16px)}.geo-layer-control>span{display:none}.geo-layer-control button{padding:0 7px;font-size:.48rem}}


/* RED CHM v9 — Tiempo Territorial */
:root{--ink:#19191b;--paper:#f7f7f4;--map-glass:rgba(250,250,247,.91);--signal:#722f4f;--signal-soft:rgba(114,47,79,.12);--quiet:#969195}
.command-view,.brigadista-view{letter-spacing:-.005em}
.command-titlebar,.field-profile{border-color:rgba(35,32,36,.08)}
.command-map-label{padding:9px 11px;border:1px solid rgba(255,255,255,.9);border-radius:11px;background:var(--map-glass);box-shadow:0 8px 26px rgba(31,28,32,.08);backdrop-filter:blur(18px)}
.command-map-label small{display:none}
.command-team-dock{border-color:rgba(255,255,255,.82);background:rgba(250,250,247,.9);backdrop-filter:blur(22px);box-shadow:0 12px 34px rgba(31,28,32,.1)}
.command-selection-dock{border-color:rgba(255,255,255,.82);background:rgba(250,250,247,.93);backdrop-filter:blur(22px);box-shadow:0 12px 34px rgba(31,28,32,.1)}
.command-map-key{padding:6px 8px;border:1px solid rgba(255,255,255,.8);border-radius:9px;background:rgba(250,250,247,.82);backdrop-filter:blur(16px)}
.geo-layer-control{border-color:rgba(255,255,255,.88);background:rgba(250,250,247,.91);box-shadow:0 8px 25px rgba(31,28,32,.09)}
.geo-layer-control button{min-height:27px}.geo-layer-control button.active{background:var(--ink)}
.capture-dock{border-color:rgba(255,255,255,.75);background:rgba(27,27,30,.92);box-shadow:0 16px 42px rgba(20,18,21,.18)}
.parcel-timer-dock{border-color:rgba(255,255,255,.84)!important;background:rgba(250,250,247,.93)!important;backdrop-filter:blur(20px);box-shadow:0 12px 36px rgba(31,28,32,.1)!important}
.leaflet-cadastre-pane canvas{opacity:.82}
.leaflet-parcel-pane path{vector-effect:non-scaling-stroke}
.leaflet-parcel-pane path.parcel-timing{stroke-width:5.2!important;filter:drop-shadow(0 0 4px rgba(114,47,79,.3));animation:territorial-breathe 1.2s ease-in-out infinite alternate}
.leaflet-parcel-pane path.parcel-complete{stroke-width:2.4!important;opacity:.86}
@keyframes territorial-breathe{from{filter:drop-shadow(0 0 1px rgba(114,47,79,.15))}to{filter:drop-shadow(0 0 6px rgba(114,47,79,.38))}}
.cadastre-tooltip{font-size:.5rem!important;font-weight:780!important}
.map-canvas{background:#eeeee9}
.leaflet-control-attribution{font-size:8px!important;opacity:.62;background:rgba(250,250,247,.82)!important;backdrop-filter:blur(10px)}
.executive-view .surface,.executive-panel{border-color:rgba(255,255,255,.08)}
@media(max-width:800px){
  .command-view,.brigadista-view{height:auto;min-height:calc(100dvh - 74px)}
  .command-titlebar{padding:10px 12px}.command-titlebar h2{font-size:1rem}
  .command-metric-strip{display:none}
  .command-cockpit{min-height:calc(100dvh - 145px)}
  .command-map{height:calc(100dvh - 145px)!important;min-height:520px}
  .command-team-dock{position:absolute;left:8px;right:8px;top:auto;bottom:72px;width:auto;margin:0;padding:6px;overflow:hidden}
  .command-team-dock .dock-head{display:none}.command-team-dock .team-list{display:flex;gap:5px}.command-team-dock .team-card{min-width:142px;padding:6px}
  .command-selection-dock{display:none}.command-insight-row{display:none}
  .command-playback{position:absolute;left:8px;right:8px;bottom:8px;margin:0}
  .command-map-key{display:none}
  .geo-layer-control{top:8px;right:8px;left:auto;transform:none}
  .geo-layer-control button.passive,.geo-layer-control>span{display:none}
  .field-profile{padding:9px 10px}.field-profile .profile-facts{display:none}.field-team-strip{display:none}
  .field-map-stage,.map-canvas.brigadista-map{height:calc(100dvh - 180px)!important;min-height:570px}
  .route-strip{display:none}
  .gps-hud{width:180px}
}

/* RED CHM v10 — responsive application shell */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{min-height:100dvh}
.app-shell{min-height:100dvh;max-width:100vw;overflow:hidden}
.workspace{min-width:0;max-width:100%;overflow:hidden}
.command-view,.brigadista-view{width:100%;max-width:100%;min-height:0}
.command-cockpit,.field-map-stage{position:relative;min-width:0;overflow:hidden}
.map-canvas,#map{width:100%!important;max-width:100%!important;box-sizing:border-box}
.command-map{height:clamp(560px,calc(100dvh - 190px),920px)!important}
.map-canvas.brigadista-map{height:clamp(560px,calc(100dvh - 210px),900px)!important}
.command-team-dock,.command-selection-dock,.command-playback,.capture-dock,.parcel-timer-dock,.gps-hud,.geo-layer-control{box-sizing:border-box}
.command-team-dock{max-height:calc(100% - 145px);overflow:auto;overscroll-behavior:contain}
.command-selection-dock{max-height:calc(100% - 145px);overflow:auto;overscroll-behavior:contain}
.command-playback{max-width:calc(100% - 32px)}
.capture-dock{max-width:min(340px,calc(100% - 24px))}
.parcel-timer-dock{max-width:min(280px,calc(100% - 24px))}
.gps-hud{max-width:min(260px,calc(100% - 24px))}
.leaflet-container{font-family:inherit}
.leaflet-control-container .leaflet-bottom{bottom:max(6px,env(safe-area-inset-bottom))}
@media(max-width:1100px){
 .command-team-dock{width:190px}.command-selection-dock{width:210px}
 .command-map-label{max-width:190px}.command-map-label small{display:none}
}
@media(max-width:800px){
 body{padding:0!important}
 .app-shell{height:100dvh;min-height:100dvh}
 .workspace{height:calc(100dvh - 64px);padding:0!important}
 .command-view,.brigadista-view{height:100%;min-height:0;display:flex;flex-direction:column}
 .command-titlebar{flex:0 0 auto;margin:0;padding:9px 12px;border-radius:0;border-left:0;border-right:0}
 .command-titlebar .title-meta,.command-titlebar p{display:none}
 .command-cockpit{flex:1 1 auto;min-height:0;height:auto!important;border-radius:0!important}
 .command-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border-radius:0!important}
 .command-map-label{top:8px;left:8px;max-width:145px;padding:7px 9px}
 .command-map-label .section-kicker{font-size:.43rem}.command-map-label b{font-size:.66rem}
 .geo-layer-control{top:8px!important;right:8px!important;left:auto!important;max-width:170px}
 .geo-layer-control button{min-height:25px;padding:0 6px;font-size:.45rem}
 .command-team-dock{left:8px!important;right:8px!important;bottom:74px!important;top:auto!important;width:auto!important;max-height:68px!important;padding:5px!important;border-radius:12px!important;overflow-x:auto!important;overflow-y:hidden!important}
 .command-team-dock .team-list{display:flex!important;gap:5px!important;width:max-content}
 .command-team-dock .team-card{width:132px!important;min-width:132px!important;height:56px;overflow:hidden}
 .command-team-dock .team-card small,.command-team-dock .team-card .team-progress{display:none}
 .command-selection-dock,.command-map-key,.command-insight-row{display:none!important}
 .command-playback{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;height:58px;margin:0!important;border-radius:13px!important}
 .simulation-controls{height:100%;align-items:center}
 .field-profile{flex:0 0 auto;margin:0!important;padding:8px 10px!important;border-radius:0!important;border-left:0!important;border-right:0!important}
 .field-profile .profile-facts,.field-team-strip,.route-strip{display:none!important}
 .field-tabs{flex:0 0 auto;margin:0!important;padding:6px 8px!important}
 .field-map-stage{flex:1 1 auto;min-height:0!important;height:auto!important;border-radius:0!important}
 .map-canvas.brigadista-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border-radius:0!important}
 .field-map-title{top:8px!important;left:8px!important;max-width:150px;padding:7px 9px!important}
 .gps-hud{top:50px!important;left:8px!important;width:170px!important;padding:7px 9px!important;border-radius:11px!important}
 .parcel-timer-dock{left:8px!important;bottom:86px!important;width:190px!important;padding:7px 9px!important}
 .capture-dock{right:8px!important;bottom:86px!important;width:170px!important;padding:7px 9px!important}
 .capture-dock-actions{gap:4px}.capture-dock-actions button{min-height:30px;padding:0 7px}
 .leaflet-control-zoom{display:none}
 .leaflet-control-attribution{max-width:180px;font-size:7px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:430px){
 .workspace{height:calc(100dvh - 58px)}
 .command-titlebar h2{font-size:.9rem}
 .command-team-dock{bottom:68px!important}
 .command-playback{height:52px}
 .geo-layer-control button.passive,.geo-layer-control>span{display:none!important}
 .capture-dock{width:150px!important}
 .parcel-timer-dock{width:174px!important}
 .gps-hud{width:155px!important}
}
@media(max-height:700px) and (max-width:800px){
 .command-titlebar{display:none!important}
 .workspace{height:calc(100dvh - 58px)}
 .field-profile{display:none!important}
 .field-tabs{position:absolute;z-index:800;top:8px;left:8px;background:rgba(250,250,247,.9);border-radius:10px;padding:4px!important}
 .gps-hud{top:48px!important}
}

/* v10.1 mobile brigadista viewport correction */
@media(max-width:800px){
 .brigadista-view{position:relative!important;height:100%!important;min-height:0!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;overflow:hidden!important}
 .brigadista-view .field-profile{grid-row:1}
 .brigadista-view .field-tabs{grid-row:2}
 .brigadista-view .field-map-stage{grid-row:3;position:relative!important;height:100%!important;min-height:0!important;overflow:hidden!important}
 .brigadista-view .map-canvas.brigadista-map{position:absolute!important;inset:0!important;height:100%!important;min-height:100%!important;max-height:100%!important}
 .brigadista-view .capture-dock{bottom:12px!important}
 .brigadista-view .parcel-timer-dock{bottom:12px!important;left:8px!important}
 .brigadista-view .gps-hud{top:8px!important}
}
@media(max-width:430px){
 .brigadista-view .field-profile{max-height:62px;overflow:hidden}
 .brigadista-view .field-tabs{min-height:38px}
 .brigadista-view .capture-dock{bottom:10px!important}
 .brigadista-view .parcel-timer-dock{bottom:10px!important}
}

/* v10.2 definitive mobile viewport */
@media(max-width:800px){
 .app-shell{display:block!important;height:100dvh!important}
 .workspace{position:fixed!important;inset:0 0 58px 0!important;width:100vw!important;height:auto!important;min-height:0!important;overflow:hidden!important;padding:0!important}
 .brigadista-view{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;overflow:hidden!important}
 .brigadista-view .field-profile{position:absolute!important;z-index:760;top:0;left:0;right:0;height:58px!important;max-height:58px!important;margin:0!important;background:rgba(250,250,247,.94);backdrop-filter:blur(18px)}
 .brigadista-view .field-tabs{position:absolute!important;z-index:770;top:62px!important;left:8px!important;width:auto!important;margin:0!important;padding:4px!important;border-radius:10px!important;background:rgba(250,250,247,.92);backdrop-filter:blur(18px);box-shadow:0 6px 20px rgba(31,28,32,.08)}
 .brigadista-view .field-map-stage{position:absolute!important;inset:58px 0 0 0!important;width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important;border:0!important;border-radius:0!important}
 .brigadista-view .map-canvas.brigadista-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important}
 .brigadista-view .field-map-title{top:50px!important;left:8px!important}
 .brigadista-view .gps-hud{top:92px!important;left:8px!important}
 .brigadista-view .capture-dock{right:8px!important;bottom:10px!important}
 .brigadista-view .parcel-timer-dock{left:8px!important;bottom:10px!important}
 .command-view{position:absolute!important;inset:0!important;height:100%!important;overflow:hidden!important}
 .command-view .command-titlebar{height:58px!important;max-height:58px!important;overflow:hidden}
 .command-view .command-cockpit{position:absolute!important;inset:58px 0 0 0!important;height:auto!important}
}

/* v10.3 compact mobile overlays */
@media(max-width:800px){
 .brigadista-view .capture-dock{top:auto!important;height:auto!important;max-height:118px!important;min-height:0!important;overflow:hidden!important;padding:7px 8px!important}
 .brigadista-view .capture-dock-route{margin:0!important}.brigadista-view .capture-dock-route span{font-size:.42rem!important}.brigadista-view .capture-dock-route b{font-size:.58rem!important;line-height:1.1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brigadista-view .capture-dock-route small{font-size:.45rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .brigadista-view .capture-dock-actions{margin-top:5px!important}.brigadista-view .capture-dock-actions button{height:28px!important;min-height:28px!important;font-size:.48rem!important}
 .brigadista-view .parcel-timer-dock{height:auto!important;max-height:112px!important;min-height:0!important;overflow:hidden!important;padding:7px 8px!important}
 .brigadista-view .gps-hud{height:auto!important;max-height:100px!important;overflow:hidden!important}
}

/* RED CHM v10.4 — Mando map-first + executive responsive */
.command-cockpit{display:block!important;position:relative!important}
.command-map{width:100%!important}
.command-team-dock{z-index:660}
.command-selection-dock{z-index:660}
.command-playback{z-index:670}
.team-card{cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.team-card:hover{transform:translateY(-1px)}
.team-card.selected{border-color:rgba(114,47,79,.4);background:rgba(114,47,79,.07)}
@media(min-width:801px){
 .command-view{height:calc(100dvh - 100px);min-height:680px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}
 .command-titlebar{margin-bottom:8px}
 .command-metric-strip{margin-bottom:8px}
 .command-cockpit{min-height:0!important;height:100%!important}
 .command-map{position:absolute!important;inset:0!important;height:100%!important;min-height:0!important;border-radius:18px!important}
 .command-team-dock{top:14px!important;bottom:14px!important;left:14px!important;width:210px!important;max-height:none!important;overflow:auto!important}
 .command-selection-dock{top:14px!important;bottom:auto!important;right:14px!important;width:230px!important;max-height:calc(100% - 110px)!important}
 .command-playback{left:240px!important;right:250px!important;bottom:14px!important;width:auto!important;max-width:none!important}
 .command-map-label{left:240px!important;top:14px!important}
 .geo-layer-control{top:14px!important}
 .command-insight-row{margin-top:8px;min-height:0}
}
@media(max-width:800px){
 .command-view{position:absolute!important;inset:0!important;height:100%!important;display:block!important;overflow:hidden!important}
 .command-view .command-titlebar{position:absolute!important;z-index:760;top:0;left:0;right:0;height:54px!important;max-height:54px!important;padding:7px 10px!important;background:rgba(250,250,247,.94);backdrop-filter:blur(18px)}
 .command-view .command-metric-strip{display:none!important}
 .command-view .command-cockpit{position:absolute!important;inset:54px 0 0 0!important;height:auto!important;min-height:0!important}
 .command-view .command-map{position:absolute!important;inset:0!important;height:100%!important;min-height:0!important}
 .command-team-dock{top:auto!important;left:8px!important;right:8px!important;bottom:70px!important;width:auto!important;height:62px!important;max-height:62px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:4px!important}
 .command-team-dock .team-list{display:flex!important;width:max-content!important;gap:4px!important}
 .command-team-dock .team-card{width:122px!important;min-width:122px!important;height:52px!important;padding:5px!important}
 .command-team-dock .team-card .team-name{font-size:.55rem!important}.command-team-dock .team-card small{display:none!important}
 .command-playback{left:8px!important;right:8px!important;bottom:8px!important;height:54px!important}
 .command-map-label{top:8px!important;left:8px!important}
 .command-selection-dock,.command-insight-row{display:none!important}
}
@media(max-width:800px){
 .executive-view{padding:8px!important;display:block!important;overflow-y:auto!important;max-height:calc(100dvh - 66px)!important}
 .executive-view .executive-hero,.executive-view .surface,.executive-view .executive-panel{border-radius:13px!important}
 .executive-view .executive-grid,.executive-view .executive-layout,.executive-view .executive-bottom-grid{grid-template-columns:1fr!important}
 .executive-view h2{font-size:1.05rem!important}.executive-view h3{font-size:.82rem!important}
 .executive-view .metric-value,.executive-view .big-number{font-size:1.35rem!important}
}

/* v10.5 — fix real iPhone in-app browser viewport */
@media(max-width:800px){
 html,body{height:100%!important;min-height:100%!important;overflow:hidden!important}
 .app-shell{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important}
 .workspace{position:absolute!important;inset:0 0 64px 0!important;width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important}
 .bottom-nav,.app-nav{position:absolute!important;z-index:2000!important;left:0!important;right:0!important;bottom:0!important;height:64px!important;margin:0!important;padding-bottom:env(safe-area-inset-bottom)!important}
 .command-view{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important}
 .command-view .command-titlebar{position:absolute!important;z-index:900!important;top:0!important;left:0!important;right:0!important;height:52px!important;min-height:52px!important;max-height:52px!important;margin:0!important;padding:7px 12px!important}
 .command-view .command-cockpit{position:absolute!important;inset:52px 0 0 0!important;width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important}
 .command-view .command-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important}
 .command-team-dock{position:absolute!important;left:8px!important;right:8px!important;bottom:66px!important;top:auto!important;width:auto!important;height:58px!important;max-height:58px!important;min-height:0!important;padding:4px!important;overflow-x:auto!important;overflow-y:hidden!important}
 .command-playback{position:absolute!important;left:8px!important;right:8px!important;bottom:6px!important;top:auto!important;width:auto!important;height:54px!important;min-height:54px!important;max-height:54px!important;margin:0!important}
 .command-map-label{top:8px!important}.geo-layer-control{top:8px!important}
}
\n.command-route-menu{position:absolute;z-index:850;top:8px;left:8px;right:8px;display:flex;gap:6px}.route-menu-scroll{display:flex;gap:5px;overflow-x:auto}.route-start-button{height:40px;background:#722f4f;color:#fff;border:0;border-radius:10px;padding:0 12px}.command-team-dock{display:none!important}\n
/* RED CHM v11 · Mando route menu */
.command-route-menu{position:absolute;z-index:850;top:8px;left:8px;right:8px;display:flex;align-items:center;gap:6px;pointer-events:none}
.route-menu-scroll{display:flex;align-items:center;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:none;pointer-events:auto;padding:1px}
.route-menu-scroll::-webkit-scrollbar{display:none}
.command-route-menu .team-card{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;width:auto!important;min-width:108px!important;height:40px!important;padding:4px 7px!important;border:1px solid rgba(255,255,255,.92)!important;border-radius:10px!important;background:rgba(250,250,247,.96)!important;box-shadow:0 6px 18px rgba(31,28,32,.1)!important;backdrop-filter:blur(18px);overflow:hidden}
.command-route-menu .team-card small,.command-route-menu .team-card em,.command-route-menu .team-progress{display:none!important}
.command-route-menu .team-card b{font-size:.55rem!important;line-height:1!important;white-space:nowrap}
.command-route-menu .team-card.active{background:#242326!important;color:#fff!important;border-color:#242326!important}
.route-start-button{pointer-events:auto;flex:0 0 auto;height:40px;padding:0 12px;border:0;border-radius:10px;background:#722f4f;color:#fff;font:inherit;font-size:.54rem;font-weight:900;white-space:nowrap;box-shadow:0 7px 20px rgba(114,47,79,.22)}
.command-team-dock{display:none!important}
.command-map-label,.geo-layer-control{top:56px!important}
@media(max-width:800px){
  .command-route-menu{top:6px;left:6px;right:6px;gap:4px}
  .command-route-menu .team-card{min-width:88px!important;height:36px!important;padding:3px 5px!important}
  .command-route-menu .team-card b{font-size:.49rem!important}
  .route-start-button{height:36px;padding:0 8px;font-size:.48rem}
  .command-map-label{display:none!important}
  .geo-layer-control{top:48px!important;right:7px!important}
}

/* RED CHM v12 · mobile Brigadista and critical executive */
.field-route-sheet{display:none}.executive-v12{gap:12px}.executive-v12-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:4px 2px}.executive-v12-header h2{max-width:840px;margin:5px 0 4px;font-size:1.65rem;letter-spacing:-.045em}.executive-v12-header p{max-width:830px;margin:0;color:var(--muted);font-size:.68rem;line-height:1.55}.executive-cut{min-width:118px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:right}.executive-cut span,.executive-cut b,.executive-cut small{display:block}.executive-cut span{color:var(--muted);font-size:.47rem;font-weight:900}.executive-cut b{margin-top:3px;font-size:.9rem}.executive-cut small{color:var(--green);font-size:.5rem}.executive-v12-hero{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:10px}.executive-signal-card,.executive-human-card{padding:20px;border-radius:18px}.executive-signal-card{background:#29262a;color:#fff}.executive-signal-card>span,.executive-human-card>span{font-size:.48rem;font-weight:900;letter-spacing:.1em}.executive-signal-card>span{color:#d7bac7}.executive-signal-main{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:20px}.executive-signal-main h3{margin:0;font-size:2rem}.executive-signal-main p{margin:4px 0 0;color:#c7c1c5;font-size:.62rem}.executive-signal-main strong{font-size:1.8rem;text-align:right}.executive-signal-main strong small{display:block;color:#aaa3a7;font-size:.48rem}.executive-signal-foot{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.executive-signal-foot span{padding:6px 8px;border:1px solid #49444a;border-radius:999px;color:#d7d1d4;font-size:.5rem}.executive-caveat{margin:15px 0 0;padding-top:12px;border-top:1px solid #484349;color:#aaa3a7;font-size:.52rem;line-height:1.5}.executive-human-card{border:1px solid var(--line);background:#fff}.executive-human-card>span{color:var(--brand)}.executive-human-card h3{margin:18px 0 8px;font-size:1.35rem;line-height:1.18}.executive-human-card>p{margin:0;color:var(--muted);font-size:.64rem;line-height:1.55}.executive-human-card>div{margin-top:17px;padding:11px;border-radius:12px;background:var(--surface-2)}.executive-human-card b,.executive-human-card small{display:block}.executive-human-card b{font-size:.57rem}.executive-human-card small{margin-top:4px;color:var(--muted);font-size:.54rem;line-height:1.45}.executive-section{padding:17px;border:1px solid var(--line);border-radius:17px;background:#fff}.executive-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:13px}.executive-section-head span{color:var(--brand);font-size:.48rem;font-weight:900}.executive-section-head h3{margin:4px 0 0;font-size:.93rem}.executive-section-head>small{color:var(--muted);font-size:.5rem}.executive-insight-v12-grid,.executive-public-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.executive-insight-v12,.executive-public-grid article{padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}.executive-insight-v12>div{display:flex;align-items:baseline;justify-content:space-between}.executive-insight-v12>div span{color:var(--muted);font-size:.44rem;font-weight:900}.executive-insight-v12>div strong{font-size:1.12rem}.executive-insight-v12 h4,.executive-public-grid h4{margin:12px 0 5px;font-size:.67rem}.executive-insight-v12 p,.executive-public-grid p{margin:0;color:var(--muted);font-size:.54rem;line-height:1.5}.executive-insight-v12>small,.executive-public-grid small{display:block;margin-top:10px;padding-top:8px;border-top:1px solid var(--line);font-size:.49rem}.executive-public-grid article>div strong,.executive-public-grid article>div span{display:block}.executive-public-grid article>div strong{font-size:1.35rem}.executive-public-grid article>div span{color:var(--muted);font-size:.47rem}.executive-discrepancy-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.executive-discrepancy-list article{display:grid;grid-template-columns:32px 1fr;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px}.executive-discrepancy-list article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#29262a;color:#fff;font-size:.5rem}.executive-discrepancy-list h4{margin:1px 0 4px;font-size:.65rem}.executive-discrepancy-list p{margin:0;color:var(--muted);font-size:.54rem;line-height:1.5}.executive-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.executive-action-grid article{padding:14px;border-radius:13px;background:#29262a;color:#fff}.executive-action-grid span{color:#d7bac7;font-size:.46rem;font-weight:900}.executive-action-grid h4{margin:12px 0 5px;font-size:.7rem}.executive-action-grid p{margin:0;color:#c0b9bd;font-size:.54rem;line-height:1.5}.executive-source-note{padding:12px 14px;border-radius:12px;background:#eceae7;color:#696469;font-size:.51rem;line-height:1.55}
@media(max-width:1100px){.executive-insight-v12-grid,.executive-public-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.brigadista-view .field-map-title{display:none!important}.brigadista-view .gps-hud{top:10px!important;left:8px!important;width:min(244px,calc(100% - 16px))!important;max-width:244px!important;min-height:116px!important;max-height:none!important;overflow:visible!important;padding:10px!important;grid-template-columns:minmax(0,1fr) 52px!important;z-index:740!important}.brigadista-view .gps-compass{width:48px!important;height:48px!important;justify-self:end!important;align-self:start!important;overflow:visible!important}.brigadista-view .gps-target b{font-size:.75rem!important}.brigadista-view .gps-target small{display:block!important;font-size:.48rem!important}.brigadista-view .geofence-state{min-height:30px!important;padding:6px 8px!important;font-size:.5rem!important}.brigadista-view .capture-dock.compact-dock{top:auto!important;right:8px!important;bottom:146px!important;width:142px!important;max-height:112px!important;z-index:750!important}.brigadista-view .capture-dock.compact-dock .dock-geofence{display:none!important}.brigadista-view .field-playback,.brigadista-view .route-strip{display:none!important}.field-route-sheet{position:absolute;z-index:745;left:8px;right:8px;bottom:8px;display:block;padding:9px;border:1px solid rgba(255,255,255,.86);border-radius:15px;background:rgba(250,250,247,.95);box-shadow:0 14px 38px rgba(28,25,29,.18);backdrop-filter:blur(20px)}.field-route-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.field-route-sheet-head span,.field-route-sheet-head b,.field-route-sheet-head small{display:block}.field-route-sheet-head span{color:var(--brand);font-size:.43rem;font-weight:900}.field-route-sheet-head b{font-size:.66rem}.field-route-sheet-head small{color:var(--muted);font-size:.47rem}.field-route-sheet-head>button{height:32px;padding:0 10px;border:0;border-radius:9px;background:#722f4f;color:#fff;font-size:.5rem;font-weight:900}.field-route-days{display:flex;gap:4px;margin-top:7px}.field-route-days button{height:25px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font-size:.46rem;font-weight:850}.field-route-days button.active{background:#29262a;color:#fff}.field-next-stops{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr);gap:5px;margin-top:7px;overflow-x:auto;scrollbar-width:none}.field-next-stop{padding:7px 8px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left}.field-next-stop span,.field-next-stop b,.field-next-stop small{display:block}.field-next-stop span{color:var(--brand);font-size:.42rem;font-weight:900}.field-next-stop b{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.58rem}.field-next-stop small{color:var(--muted);font-size:.44rem}.field-next-stop.current{background:#29262a;color:#fff}.executive-v12{padding:8px!important;overflow-y:auto!important;max-height:calc(100dvh - 66px)!important}.executive-v12-header{display:block}.executive-v12-header h2{font-size:1.15rem}.executive-cut{display:none}.executive-v12-hero,.executive-insight-v12-grid,.executive-public-grid,.executive-discrepancy-list,.executive-action-grid{grid-template-columns:1fr}.executive-signal-card,.executive-human-card{padding:16px}.executive-section{padding:13px}.executive-section-head{display:block}.executive-section-head>small{display:block;margin-top:4px}}
@media(max-width:380px){.brigadista-view .gps-hud{width:220px!important}.brigadista-view .capture-dock.compact-dock{width:128px!important}.field-next-stops{grid-auto-columns:104px}}

/* RED CHM v12.1 · compact iPhone GPS HUD */
@media(max-width:800px){
  .brigadista-view .gps-hud{
    top:10px!important;
    bottom:auto!important;
    height:auto!important;
    min-height:116px!important;
    max-height:132px!important;
    overflow:visible!important;
    align-content:start!important;
  }
  .brigadista-view .gps-compass{
    position:relative!important;
    inset:auto!important;
    flex:0 0 auto!important;
  }
  .brigadista-view .field-route-sheet{
    bottom:max(8px,env(safe-area-inset-bottom))!important;
  }
}
