:root{font:15px/1.5 "Segoe UI",system-ui,-apple-system,sans-serif;color:#142342;background:#f4f6fb;--bg:#f4f6fb;--card:#fff;--muted:#556583;--ink:#142342;--line:#e2e8f2;--blue:#3153d7;--deep:#152556;--blue-soft:#e9efff;--radius:17px;--shadow:0 4px 18px #162b6121}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.61}a{color:var(--blue)}h1,h2,h3,p,dl{margin:0}h1,h2,h3{line-height:1.18}h2{font-size:19px;letter-spacing:-.3px}small{font-size:12px}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;top:8px;left:8px;z-index:10;background:#fff;padding:10px}:focus-visible{outline:3px solid #5274f4;outline-offset:3px}#main-content:focus{outline:none}
.shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#101d45;color:#fff;padding:28px 17px 20px;gap:24px}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.side .brand{margin-left:7px}.brand b,.brand span{display:block}.brand b{font-weight:750;font-size:20px;letter-spacing:-.45px;line-height:1.14}.brand span{font-size:9px;letter-spacing:.17em;color:#bac7ed;font-weight:750;margin-top:4px}.nav-caption{color:#a7b6e0;font-weight:700;font-size:10px;letter-spacing:.13em;margin:14px 0 -16px 12px}.side nav{display:grid;gap:6px}.nav{min-height:45px;border:0;border-radius:10px;text-align:left;background:transparent;color:#dce4ff;display:flex;align-items:center;gap:12px;padding:0 13px;font-weight:650}.nav:hover,.nav[aria-current=page]{background:#263e86;color:#fff}.nav[aria-current=page]{box-shadow:inset 3px 0 #7891ff}.side-foot{margin-top:auto;display:flex;gap:9px;align-items:center;border-top:1px solid #324368;padding:16px 0 0}.avatar{border-radius:11px;background:#2c4385;color:#e9edff;font-weight:800;min-width:36px;height:36px;display:grid;place-items:center;font-size:11px}.side-foot strong,.side-foot small{display:block;line-height:1.3}.side-foot strong{font-size:12px}.side-foot small{color:#c0cbee;font-size:11px}.signout{color:#dce4ff;margin-left:auto}
.topbar{display:flex;align-items:center;justify-content:space-between;min-height:71px;background:#fff;border-bottom:1px solid var(--line);padding:10px clamp(20px,3vw,42px);gap:10px}.crumb,.top-right,.workspace{display:flex;align-items:center;gap:9px}.crumb{font-size:13px;color:#61728f}.crumb strong{color:var(--ink);white-space:nowrap}.top-right{gap:15px}.workspace{font-weight:650;font-size:11px;color:#465776;white-space:nowrap}.workspace i{width:7px;height:7px;border-radius:50%;background:#5572e8}
main:not(.login):not(.initial){margin:auto;padding:24px clamp(20px,3vw,42px) 38px;max-width:1550px}.page-head{min-height:130px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:22px;background:linear-gradient(108deg,#13265b 0%,#1b3785 64%,#2845a2 100%);padding:26px 29px;color:#fff;position:relative;overflow:hidden;isolation:isolate}.page-head::after{content:"";position:absolute;z-index:-1;right:-25px;top:-95px;width:300px;height:300px;border:1px solid #a7baff33;border-radius:68px;transform:rotate(36deg);box-shadow:0 0 0 28px #7693ff18,0 0 0 56px #7693ff13,0 0 0 84px #7693ff09}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:800;color:#5268a7;margin-bottom:9px}.page-head .eyebrow{color:#c4d0ff}.page-head h1{font-size:clamp(27px,3.2vw,40px);letter-spacing:-.042em}.intro{font-size:13px;color:var(--muted);margin-top:7px}.page-head .intro{color:#e2eaff;font-size:14px}.page-head .primary{background:#fff;color:#263e9a;box-shadow:0 2px 12px #08123b33;flex-shrink:0}.page-head .primary:hover{background:#e9efff}
.button{min-height:39px;border:1px solid transparent;border-radius:9px;display:inline-flex;gap:7px;align-items:center;justify-content:center;padding:7px 12px;font-weight:700;text-decoration:none;font-size:13px;line-height:1.2}.button.primary{background:#3558dd;color:#fff}.button.primary:hover{background:#2848c0}.button.secondary{background:#f7f8ff;border-color:#dce4f6;color:#284497}.button.secondary:hover,.button.text-button:hover{background:#eaf0ff}.button.text-button{background:none;color:#2947a5;padding-inline:8px}.period{display:grid;gap:5px}.period>span{color:#f0f3ff;font-size:11px;font-weight:650;display:flex;align-items:center;gap:6px}.segmented{display:flex;gap:2px;background:#0b1a477d;border:1px solid #8fa6ff4d;border-radius:10px;padding:4px}.segmented button{border:0;background:none;color:#fff;white-space:nowrap;padding:7px 12px;font-weight:650;font-size:12px;border-radius:6px;min-height:34px}.segmented button[aria-pressed=true],.segmented button:hover{background:#fff;color:#233a8f}.period-note{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px;margin:12px 1px 10px}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.kpi,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.kpi{position:relative;display:grid;padding:15px 17px;gap:5px}.kpi-top{display:flex;align-items:center;gap:9px;color:#455576;font-size:13px;font-weight:700;padding-right:13px}.feature-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#e9eeff;color:#3356cc;flex-shrink:0;font-style:normal}.feature-icon.plum{background:#f2eafa;color:#884aa5}.feature-icon.green{background:#e6f6ed;color:#1c7352}.feature-icon.amber{background:#fff2d9;color:#88600d}.kpi>strong{font-size:clamp(18px,2.18vw,29px);letter-spacing:-.045em;line-height:1.15;margin-top:5px;overflow-wrap:anywhere}.kpi>small{color:var(--muted);line-height:1.3}.kpi-link{display:grid;place-items:center;position:absolute;top:14px;right:10px;border:0;border-radius:50%;height:27px;width:27px;background:#f3f6fc;color:#3955a0}.kpi-link:hover{background:#e1e8fd}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:16px;margin-bottom:16px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:17px 18px 11px}.panel-head p{color:var(--muted);font-size:12px;margin-top:5px}.panel-head .button{min-height:32px;flex-shrink:0;font-size:12px}.pipeline-head{margin:0 18px 8px;padding:9px 12px;border-radius:10px;background:#f3f6ff;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.pipeline-head span,.pipeline-head strong{color:#415584}.pipeline{display:grid;gap:1px;padding:0 13px 12px}.pipe-row{min-width:0;text-align:left;display:grid;grid-template-columns:98px 1fr 20px;gap:10px;align-items:center;border:0;background:#fff;border-radius:7px;min-height:30px;padding:3px 5px;font-size:12px}.pipe-row:hover{background:#eef2ff}.pipe-row>span:first-child{display:flex;gap:7px;align-items:center}.pipe-row>b{text-align:right}.dot,.badge i{display:inline-block;height:8px;width:8px;border-radius:50%;background:var(--stage,#64748b);flex-shrink:0}.prospecto{--stage:#5473e7;--stage-bg:#edf1fd;--stage-ink:#2946a0}.licitacion{--stage:#9a59b7;--stage-bg:#f5ecfa;--stage-ink:#723b89}.cotizacion{--stage:#c68c2c;--stage-bg:#fff5df;--stage-ink:#865b0d}.ganado{--stage:#3b9d72;--stage-bg:#e8f6ee;--stage-ink:#216947}.perdido{--stage:#c37083;--stage-bg:#fbeef1;--stage-ink:#91415b}.bar{height:7px;background:#edf0f7;border-radius:20px;overflow:hidden}.bar i{height:100%;background:var(--stage);display:block;border-radius:20px}.width-0{width:0}.width-1{width:10%}.width-2{width:20%}.width-3{width:30%}.width-4{width:40%}.width-5{width:50%}.width-6{width:60%}.width-7{width:70%}.width-8{width:80%}.width-9{width:90%}.width-10{width:100%}
.subtle-pill{background:#eff2fa;color:#405780;border:0;border-radius:20px;font-size:11px;font-weight:700;padding:5px 9px;white-space:nowrap}.feed{padding:0 18px 12px}.feed-row,.table-row,.building-card{display:flex;align-items:center;gap:10px;min-width:0;text-align:left;width:100%;background:none;border:0;padding:8px 0}.feed-row:not(:last-child),.table-row:not(:last-child){border-bottom:1px solid #edf0f7}.feed-row:hover,.table-row:hover,.building-card:hover{background:#f3f6ff}.feed-row>span:nth-last-child(2),.table-row>span:nth-child(2),.building-card>span:nth-child(2){flex:1;min-width:0}.feed-row strong,.feed-row small,.table-row strong,.table-row small,.building-card strong,.building-card small{display:block;overflow-wrap:anywhere}.feed-row strong,.table-row strong,.building-card strong{font-size:13px}.feed-row small,.table-row small,.building-card small{color:var(--muted);font-size:11px}.date-tile{font-weight:750;min-width:38px;background:#eaf0ff;color:#3551a4;border-radius:9px;text-align:center;padding:3px 0;line-height:1.15}.date-tile b{font-size:16px}.date-tile small{color:#41589c;font-size:9px;text-transform:uppercase;margin-top:2px}.table-list{padding:0 18px 10px}.table-icon{width:33px;height:33px;border-radius:8px;background:#edf1fa;display:grid;place-items:center;color:#4b60a7;flex-shrink:0}.table-row .optional{flex:1;font-size:12px;color:var(--muted)}.table-row>b{font-size:12px;white-space:nowrap}.overdue{font-size:12px;color:#863452;margin:0 18px 10px}.empty{padding:23px;color:#475a7f}.empty p{margin-top:2px;font-size:13px}
.toolbar{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 6px;align-items:center}.search{display:flex;background:white;color:#5d6a87;border:1px solid #dbe3ee;border-radius:9px;align-items:center;gap:8px;padding:0 11px;min-width:260px;max-width:440px;flex:1}.search input{border:0;background:none;min-width:0;width:100%;height:40px}.stage-filter select{background:#fff;border:1px solid #dbe3ee;border-radius:9px;padding:7px 10px;min-height:41px;color:inherit}.clear-period{display:flex;align-items:center;gap:5px}.board-note{font-size:12px;color:#465879;margin:5px 0 10px}.board-grid{display:grid;grid-template-columns:repeat(5,minmax(177px,1fr));overflow-x:auto;gap:10px;padding-bottom:10px;scroll-padding-inline:5px;scroll-snap-type:x proximity;align-items:start}.board-grid.one-col{grid-template-columns:minmax(0,1fr)}.lane{padding:7px;border-radius:13px;background:#e9eef8;min-height:142px;border:1px solid transparent;scroll-snap-align:start}.lane>header{display:flex;align-items:center;min-height:39px;gap:6px;padding:0 2px 4px}.lane h2{font-size:13px;flex:1}.lane-count{border-radius:20px;padding:2px 6px;background:var(--stage-bg);color:var(--stage-ink);font-size:10px;font-weight:800}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:none;min-width:33px;min-height:33px;padding:3px}.icon-button:hover{background:#6078bd26}.lane-body{display:grid;gap:8px}.one-col .lane-body{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))}.lane-empty{padding:8px 4px;color:var(--muted);font-size:12px}.op-card{min-width:0;background:#fff;border:1px solid #e1e7f0;border-radius:10px;padding:10px;display:grid;gap:5px}.op-card[draggable=true]{cursor:grab}.card-title{color:#23419e;display:flex;align-items:center;justify-content:space-between;gap:2px;text-align:left;min-height:24px;border:0;background:none;padding:0;font-weight:800;font-size:13px;line-height:1.2;overflow-wrap:anywhere}.card-title svg{flex-shrink:0}.mini-location,.visit-chip{color:#4e6083;display:flex;align-items:center;gap:4px;font-size:11px}.op-card p{color:#536483;font-size:12px;line-height:1.23;min-height:22px;overflow-wrap:anywhere}.op-card strong{font-size:14px}.card-foot{display:flex;flex-wrap:wrap;gap:3px;justify-content:space-between;align-items:center;border-top:1px solid #ecf0f7;padding-top:5px}.card-foot>small{color:#506180;font-size:10px;overflow-wrap:anywhere}.button.select-button{border-color:#dce4f6;color:#324c99;min-height:33px;font-size:10px;background:#f7f9ff;padding:4px 6px}.button.select-button:hover{background:#e6ecff}.lane.drop-target{border-color:#4264e7;background:#dbe6ff}.building-grid{padding:0 14px 14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(228px,100%),1fr));gap:8px}.building-card{padding:12px;border-radius:10px;border:1px solid var(--line);align-self:start}.page-head+.panel{margin-top:16px}
.initial{min-height:100vh;display:grid;place-items:center;color:#405780}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-feature{color:#fff;background:linear-gradient(135deg,#11204e,#243fa4);display:flex;flex-direction:column;justify-content:center;padding:7vw;position:relative;overflow:hidden;isolation:isolate}.login-feature .brand{position:absolute;top:35px}.login-feature .eyebrow{color:#d1dbff}.login-feature h1{font-size:clamp(32px,4.5vw,62px);letter-spacing:-.04em;max-width:520px}.login-feature>p{color:#e2eaff;margin-top:14px}.skyline{position:absolute;right:0;bottom:0;opacity:.22;display:flex;align-items:end;gap:8px;z-index:-1}.skyline i{height:160px;width:60px;border:1px solid #bfd0ff;border-radius:10px 10px 0 0;background:repeating-linear-gradient(0deg,#5777e4 0 9px,#b9cbff 9px 10px)}.skyline i:nth-child(2){height:225px}.skyline i:nth-child(3){height:125px}.skyline i:nth-child(4){height:200px}.skyline i:nth-child(5){height:270px}.login-card{display:grid;place-items:center;padding:25px}.login-content{width:min(100%,355px)}.login-content .feature-icon{margin-bottom:13px}.login-content h2{font-size:30px}.login-content>p{color:var(--muted);margin-top:7px}.login-content form{display:grid;gap:12px;margin-top:19px}.login-foot,.demo-label{font-size:12px}.login-foot{display:flex;align-items:center;gap:6px}.demo-label{display:inline-block;margin-top:10px;padding:4px 10px;background:#fff0d6;color:#714f15;border-radius:7px}
dialog{height:auto;max-height:min(88vh,920px);width:min(calc(100% - 34px),650px);border:1px solid var(--line);border-radius:18px;padding:0;box-shadow:0 20px 100px #0b17445c;background:#f8faff;color:var(--ink);overscroll-behavior:contain}dialog::backdrop{background:#101d47a0}body:has(dialog[open]){overflow:hidden}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px 21px 13px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1}.dialog-head .eyebrow{display:block;margin-bottom:4px}.dialog-head h2{font-size:25px;overflow-wrap:anywhere}.dialog-body{padding:17px 21px 23px;overflow-wrap:anywhere}.modal-close{background:#edf1fa;color:#31466e;flex-shrink:0}.detail-lead,.detail-head,.action-row,.external-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.detail-lead,.detail-head{justify-content:space-between}.detail-lead p,.detail-head small{color:var(--muted);font-size:12px;font-weight:500;margin-top:5px}.action-row,.external-links{margin:10px 0 0}.detail-block{padding:15px;margin-top:13px;border:1px solid var(--line);border-radius:12px;background:white}.detail-block h3{font-size:15px;margin-bottom:7px}.detail-head h3{margin:0}.helper{color:var(--muted);font-size:12px;margin:4px 0 9px}.data-grid,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 13px}.data-grid dt{font-size:11px;color:var(--muted)}.data-grid dd{margin:0;font-weight:650;font-size:13px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;font-size:11px;font-weight:750;padding:4px 8px;color:var(--stage-ink);background:var(--stage-bg);white-space:nowrap}.visit-list{margin-top:8px}.visit-list>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:4px 0;gap:10px}.visit-list>div:last-child{border-bottom:0}.visit-list strong,.visit-list small{display:block}.visit-list small{color:var(--muted)}.visit-list+.button{margin-top:10px}.timeline{list-style:none;margin:11px 0 0;padding:0 0 0 14px;border-left:2px solid #cdd9f5}.timeline li+li{margin-top:9px}.timeline li{position:relative}.timeline li::before{content:"";width:7px;height:7px;background:#5781e1;border-radius:50%;position:absolute;left:-19px;top:7px}.timeline strong,.timeline small{display:block}.timeline small{color:var(--muted)}.timeline p{font-size:13px;white-space:pre-wrap}
form label{display:grid;gap:4px;font-weight:700;font-size:13px;color:#344568;min-width:0}form input,form select,form textarea{min-height:41px;border:1px solid #cad6ea;border-radius:8px;padding:7px 9px;background:white;color:var(--ink);width:100%;min-width:0}form textarea{min-height:78px;resize:vertical}.dialog-body form{display:grid;gap:11px}.dialog-body form h3{margin-top:3px}.dialog-body form>.helper{margin-top:-8px}.form-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}.form-actions .form-error{flex:1;min-width:100%}.form-error{color:#943353;font-size:12px}.form-error:empty{display:none}#note-form .button{justify-self:start}
#notice{position:fixed;bottom:19px;right:20px;z-index:12;max-width:min(420px,calc(100vw - 40px));border-radius:10px;font-size:13px;pointer-events:none}#notice.visible{padding:11px 15px;color:white;background:#173c37;box-shadow:var(--shadow)}#notice.error{background:#812c46}
@media(max-width:1160px){.shell{grid-template-columns:192px minmax(0,1fr)}.kpi{padding-inline:12px}.kpi-top{font-size:12px}.kpi-link{right:8px}.topbar{padding-inline:23px}.side-foot{gap:6px}}
@media(max-width:950px){.shell{grid-template-columns:152px minmax(0,1fr)}.side{padding-inline:12px}.side .brand{margin-left:0}.side .brand img{width:32px;height:32px}.side .brand b{font-size:16px}.side .brand span{font-size:8px}.avatar{display:none}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.topbar .workspace{display:none}}
@media(max-width:690px){.shell{display:block}.side{height:auto;z-index:2;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:10px 13px 8px;gap:7px 10px}.side .brand{grid-column:1;grid-row:1}.side .brand img{width:32px;height:32px}.side .brand b{font-size:16px}.side .brand span{font-size:8px}.nav-caption{display:none}.side-foot{grid-column:2;grid-row:1;margin:0;padding:0;border:0}.side-foot>div{display:none}.signout{min-width:40px;min-height:40px}.side nav{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.nav{min-height:42px;padding:4px;justify-content:center;gap:6px;font-size:12px}.nav svg{width:16px}.nav[aria-current=page]{box-shadow:inset 0 -2px #7891ff}.topbar{min-height:43px;padding:5px 13px}.crumb{font-size:11px;gap:6px}.top-add{font-size:0;min-height:32px;padding:6px 8px}.top-add span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.top-add svg{width:17px}.topbar .workspace{display:flex;font-size:9px;gap:5px}.top-right{gap:6px}main:not(.login):not(.initial){padding:12px 12px 25px}.page-head{padding:18px 14px;border-radius:15px;min-height:0;align-items:flex-start;flex-direction:column;gap:12px}.page-head h1{font-size:28px}.page-head .intro{font-size:12px}.page-head .button{min-height:34px}.page-head .eyebrow{margin-bottom:6px}.period{display:flex;gap:8px;align-items:center}.segmented button{padding:5px 9px;min-height:31px;font-size:11px}.period-note{font-size:10px;margin:8px 0;gap:5px}.kpis{gap:8px;margin-bottom:10px}.kpi{border-radius:12px;padding:9px 10px;gap:4px}.kpi-top{font-size:11px;gap:5px;padding-right:13px;line-height:1.16}.kpi-top .feature-icon{width:28px;height:28px;border-radius:8px}.kpi-top .feature-icon svg{width:15px}.kpi-link{top:7px;right:6px;height:23px;width:23px}.kpi>strong{font-size:20px}.kpi>small{font-size:10px}.dashboard-grid{gap:10px;margin-bottom:10px}.panel-head{padding:13px 12px 8px}.panel-head h2{font-size:17px}.panel-head .button{font-size:11px;padding-inline:4px;gap:3px}.panel-head .button svg{width:14px}.pipeline-head{margin-inline:12px}.feed,.table-list{padding-inline:12px}.table-row .optional{display:none}.lane h2,.op-card p{font-size:13px}.button.select-button{min-height:41px;font-size:11px}.search{min-width:min(100%,250px)}.search input{font-size:16px}.login{display:block}.login-feature{padding:18px 20px 25px}.login-feature .brand{position:static;margin-bottom:22px}.login-feature h1{font-size:32px}.login-feature p{margin-top:6px;font-size:13px}.skyline{display:none}.login-card{padding:20px 15px 30px}form input,form textarea,form select{font-size:16px}.dialog-head,.dialog-body{padding-inline:13px}dialog{max-height:94dvh;width:calc(100% - 18px)}.dialog-head h2{font-size:21px}}
@media(max-width:360px){.period-note{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.kpi-link{right:4px}.table-row>b{white-space:normal}.data-grid{gap:7px}.segmented button{padding-inline:6px}.workspace{display:none!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.board-grid.three-cols{grid-template-columns:repeat(3,minmax(177px,1fr))}.card-amount{display:flex;align-items:baseline;justify-content:space-between;gap:5px}.card-amount small{color:var(--muted)}

/* Fase 1.0.1: superficie de seguimiento adaptable y diálogos con desplazamiento propio. */
:root{--field-line:#798baa}
form input,form select,form textarea,.search,.stage-filter select{border-color:var(--field-line)}
.search input{border:0}
.search:focus-within{outline:3px solid #5274f4;outline-offset:2px}
.search input:focus-visible{outline:none}
.period-note b,.scope-note b{color:#354976}
.scope-note{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:36px;padding:7px 10px;border:1px solid #d8e2f5;border-radius:8px;background:#edf2fd;color:#425981;font-size:12px}
.scope-note>div{display:flex;align-items:center;gap:7px;min-width:0}
.scope-note svg{flex:none}
.scope-note .clear-period{background:#fff;border:1px solid #b7c6e6;color:#2947a5;padding:5px 8px}
.mobile-stages,.mobile-board-info{display:none}
#main-content h1[tabindex="-1"]:focus{outline:none}
dialog[open]{display:flex;flex-direction:column;height:fit-content;overflow:hidden;max-height:min(88dvh,920px)}
.dialog-head{flex:none;position:static}
.dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
dialog.compact{width:min(calc(100% - 34px),460px)}
dialog.compact .dialog-body{padding-block:13px 16px}
dialog.compact #stage-fields:empty{display:none}
dialog.compact #stage-fields textarea{min-height:68px}
.modal-status{display:flex;align-items:center;gap:8px;padding:9px 11px;margin-bottom:12px;border:1px solid #9dcaba;border-radius:9px;background:#e8f6ee;color:#18583e;font-size:13px;font-weight:750}
.modal-status svg{flex:none}
@media(max-width:690px){
  html{scroll-padding-top:106px}
  .period{flex-wrap:wrap}
  .toolbar .search{max-width:none}
  .stage-filter:not(.scoped){display:none}
  .stage-filter select{font-size:16px}
  .scope-note{font-size:11px;gap:6px}
  .scope-note .clear-period{min-height:34px}
  .mobile-stages{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}
  .stage-chip{display:flex;align-items:center;justify-content:center;gap:5px;flex:1 1 101px;min-width:0;min-height:42px;padding:6px;border:1px solid #bdc9e1;border-radius:9px;background:#fff;color:#344973;font-size:12px;font-weight:700}
  .stage-chip b{background:#eef2fa;color:#3a4f75;border-radius:20px;min-width:18px;padding:1px 4px;font-size:10px}
  .stage-chip[aria-pressed=true]{border-color:var(--stage-ink);box-shadow:inset 0 0 0 1px var(--stage-ink);background:var(--stage-bg);color:var(--stage-ink)}
  .stage-chip[aria-pressed=true] b{background:#fff;color:var(--stage-ink)}
  .desktop-board-info{display:none}
  .mobile-board-info{display:inline}
  .board-grid,.board-grid.one-col,.board-grid.three-cols{grid-template-columns:minmax(0,1fr);overflow:visible;scroll-snap-type:none}
  .board-grid .lane:not(.mobile-active){display:none}
  .board-grid .lane-body{grid-template-columns:minmax(0,1fr)}
  .board-grid .lane{padding:9px}
  .board-grid .lane>header{min-height:42px}
  .board-grid .lane>header .icon-button{min-width:42px;min-height:42px}
  .op-card{padding:11px 12px;gap:7px}
  .op-card .card-title{min-height:32px;font-size:15px}
  .op-card .card-foot>small{font-size:11px}
  .op-card .button.select-button{min-height:44px;padding:6px 10px}
  dialog[open]{max-height:calc(100dvh - 20px)}
  dialog.compact{width:min(calc(100% - 22px),460px)}
}
/* 1.1: directory map and locally simulated reminders */
.geo-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:15px 0}
.geo-filter label{display:grid;gap:4px;color:#344568;font-size:12px;font-weight:750;min-width:0;flex:1}
.geo-filter label:first-child{flex:1.4}
.geo-filter input,.geo-filter select,.copy-geo input{width:100%;min-width:0;border:1px solid var(--field-line);border-radius:9px;padding:8px 10px;min-height:42px;background:#fff;color:var(--ink);font:inherit;font-size:14px}
.geo-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;align-items:start}
.geo-content{padding:0 16px 15px}.geo-caption{margin-top:8px}.map-legend,.map-legend span{display:flex;align-items:center;gap:7px}.map-legend{gap:14px;flex-wrap:wrap;font-size:12px;font-weight:700;color:#33476d}
.map-key{--pin:#677bc7;display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--pin);border:1px solid #233968;flex:none}
.cliente{--pin:#ffcf48}.cotizado{--pin:#59c593}.otro{--pin:#93a4ef}.mixto{--pin:#c3aae9}
.geo-plot{display:block;max-height:425px;width:100%;border:1px solid #c6d5eb;border-radius:12px;background:#eef3ff}
.geo-grid{stroke:#d2ddf3;stroke-width:1}.geo-north,.geo-axis{font-weight:700;font-size:12px;fill:#42577e}.geo-north path{stroke:#42577e;fill:none;stroke-width:1.7}
.geo-pin{cursor:pointer;outline:none}.pin-hit{fill:transparent}.pin-body{fill:var(--pin);stroke:#233968;stroke-width:1.6}.pin-core,.pin-count{fill:#233968}.pin-count{font-size:12px;font-weight:800}
.geo-pin:focus-visible .pin-hit,.geo-pin:hover .pin-hit,.geo-pin.active .pin-hit{stroke:#3153d7;stroke-width:2;fill:#d5dfff}
.geo-blank{min-height:160px;display:grid;place-content:center;justify-items:center;text-align:center;padding:12px;background:#f1f5ff;color:#435981;border:1px dashed #a9bce0;border-radius:12px;font-size:12px}
.geo-blank svg{margin-bottom:7px}.map-selection{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:45px;padding:8px;margin-top:9px;background:#edf2ff;border-radius:9px;color:#354976;font-size:12px;overflow-wrap:anywhere}.map-selection strong{font-size:14px}.map-selection .button{flex:none;background:#fff}
.geo-list,.reminder-list{padding:0 14px 12px}.geo-row{display:grid;gap:6px;padding:8px 6px;border-bottom:1px solid var(--line)}.geo-row:last-child{border-bottom:0}.geo-row.selected{background:#edf2ff;border-radius:8px}
.geo-row-title{display:flex;gap:8px;align-items:baseline;overflow-wrap:anywhere}.geo-row-title small{display:block;color:#455878}.geo-row-tools{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.geo-row-tools .button{min-height:38px}.geo-missing{font-size:11px;font-weight:700;color:#81511e}.map-history-note{display:block;margin:6px 0 0;color:#455878}.copy-geo{display:grid;gap:4px;margin-top:9px;color:#455878;font-weight:700;font-size:12px}
.sim-banner{display:flex;align-items:flex-start;gap:10px;margin:14px 0;padding:13px 15px;background:#edf2ff;color:#304773;border:1px solid #d3dff7;border-radius:13px;font-size:13px}.sim-banner svg{flex:none}
.reminder-head{align-items:end}.notice-filter{margin:0;flex:none}.notice-filter label{min-width:145px}
.reminder-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.reminder-row:last-child{border-bottom:0}.reminder-row p,.reminder-row small{color:#455878;display:block}
.reminder-badge{justify-self:start;white-space:normal;border-radius:20px;padding:4px 8px;background:#eef1f8;color:#384e75;font-size:11px;font-weight:750}.reminder-badge.simulado{background:#e4f5ec;color:#175b3c}.reminder-badge.omitido{background:#fff1d9;color:#764b13}.reminder-badge.cancelado{background:#fbebf0;color:#87334b}
.reminder-config{min-width:0;margin:0;border:1px solid #ccd8ee;border-radius:10px;padding:8px 12px 7px;background:#f2f6ff}.reminder-config legend{padding:0 5px;font-weight:750;color:#344568;font-size:12px}.reminder-config .reminder-toggle{display:flex;align-items:center;min-height:43px;gap:8px}.reminder-toggle input{width:19px;min-height:0;height:19px;accent-color:#3153d7}.reminder-config :disabled{opacity:.7}.reminder-config .helper{margin-bottom:2px}.free-description{white-space:pre-wrap;font-size:13px}
@media(max-width:900px){.geo-layout{grid-template-columns:1fr}.reminder-head{align-items:flex-start}.reminder-head .geo-filter{flex:none}.reminder-row{gap:8px}}
@media(max-width:690px){
  .side nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.side .nav{min-height:44px;display:flex;flex-direction:column;gap:2px;font-size:11px;padding:4px 0;white-space:nowrap}.side .nav svg{height:16px}html{scroll-padding-top:113px}
  .geo-filter{gap:8px;margin:12px 0}.geo-filter label:first-child{flex:1 0 100%}.geo-filter input,.geo-filter select{font-size:16px}.geo-content{padding:0 10px 10px}.geo-list,.reminder-list{padding:0 10px 10px}.geo-row-tools .button{min-height:44px}.geo-row{padding-block:9px}.map-selection .button{min-height:44px}
  .reminder-head{display:grid}.notice-filter{margin:3px 0}.notice-filter label:first-child{flex:1}.notice-filter .button{min-height:42px}.reminder-row{grid-template-columns:auto minmax(0,1fr);row-gap:7px}.reminder-row .feature-icon{align-self:start}.reminder-row>.button{justify-self:start;min-height:44px}.reminder-badge{justify-self:center;text-align:center}
}
.geo-boundaries path{fill:#e1e9f9;stroke:#aabdde;stroke-width:1.1}.geo-credit{font-size:11px;margin:6px 0}
.map-legend .map-key{display:inline-grid;place-items:center;width:16px;height:16px;font:800 10px/1 system-ui;color:#182e5d;font-style:normal}
/* Arrival actions and district status stay separate from commercial map markers. */
.map-selection{display:grid;align-items:start;justify-content:stretch}
.map-selection-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.arrival-control{display:grid;justify-items:start;gap:6px;margin-top:8px;min-width:0}
.arrival-control .button{min-height:44px;max-width:100%;white-space:normal}
.arrival-control .copy-geo{width:100%;min-width:0;margin-top:0}
.copy-geo[hidden],.arrival-status:empty,.district-status:empty,.district-panel .form-error:empty{display:none}
.arrival-status,.district-status{font-size:12px;color:#344568;margin:0}
.district-panel{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 14px;padding:12px 14px;overflow-wrap:anywhere}
.district-copy{flex:1 1 250px}
.district-copy h2{font-size:16px;margin:0 0 4px}
.district-copy .helper,.district-readout{margin:0}
.district-panel form{display:flex;flex-wrap:wrap;align-items:end;gap:8px}
.district-panel form select{min-width:140px}
.district-panel form button{min-height:41px}
.district-panel .district-status,.district-panel .form-error{flex-basis:100%;margin:0}
@media(max-width:690px){
  .district-panel{align-items:stretch}
  .district-panel form{width:100%}
  .district-panel form label{flex:1}
  .district-panel form select{font-size:16px;min-width:0}
  .district-panel form button,.district-panel form select{min-height:44px}
  .arrival-control .copy-geo input{font-size:16px}
}

/* Area fills encode planning only; the independent pin legend retains commercial colors. */
.district-legend,.district-legend span{display:flex;align-items:center;gap:6px}
.district-legend{flex-wrap:wrap;gap:6px 12px;margin-top:9px;color:#33476d;font-size:12px}
.district-legend strong{font-weight:750}
.district-swatch{display:inline-block;width:16px;height:12px;border:1.5px solid var(--district-line,#aabdde);background:var(--district-fill,#e1e9f9);border-radius:2px;flex:none}
.district-por_recorrer{--district-line:#714a9f;--district-fill:#efe3fb}
.district-en_recorrido{--district-line:#1d5b9b;--district-fill:#cfe8ff}
.district-recorrida{--district-line:#11786c;--district-fill:#c9eee9}
.district-swatch.district-por_recorrer{border-style:dotted}
.district-swatch.district-en_recorrido{border-style:dashed}
.district-swatch.district-selected{border:2px solid #22283b;background:transparent}
.geo-boundaries path{fill:var(--district-fill,#e1e9f9);stroke:var(--district-line,#aabdde)}
.geo-boundaries path.district-por_recorrer{stroke-dasharray:1.1 1.8}
.geo-boundaries path.district-en_recorrido{stroke-dasharray:4 2}
.geo-boundaries path.district-current{fill:none;stroke:#22283b;stroke-width:2.5;pointer-events:none;vector-effect:non-scaling-stroke}
.district-copy .district-no-shape{margin-top:4px}

/* Preview is an opt-in, independent of saved coordinates and arrival. */
.google-preview .helper{margin:0 0 7px}
#google-preview-content{scroll-margin-top:83px}
.google-preview .button{min-height:44px;margin:2px 0 8px}
.google-preview-frame{display:block;width:100%;height:clamp(260px,48vh,420px);border:1px solid var(--field-line);border-radius:10px;background:#eef3ff}
.google-preview-actions,.arrival-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.google-preview-actions .button,.arrival-actions .button{min-height:44px;max-width:100%;white-space:normal}
#map-google-notice{margin:0 14px 6px}
.geo-row-main{min-width:0;display:grid;gap:6px}
.geo-reference{color:#354976;font-size:11px;font-weight:700}
.geo-row-tools .map-location-action{background:#e6edff;color:#183f91;border:1px solid #c3d2f5;font-size:12px}
.geo-row-tools .map-location-action:hover{background:#d9e5ff}
.geo-row-tools .map-location-action svg{flex:none}
.geo-content .district-guide{margin:5px 0 8px}
.district-guide a,.map-google-note a{color:#194992;font-weight:700}
#map-google-preview{display:grid;align-content:start;gap:6px;min-width:0;padding:8px;border:1px solid #c3d2f5;border-radius:9px;background:#fff;scroll-margin-top:12px}
.map-google-header{display:flex;justify-content:space-between;align-items:flex-start;gap:6px}
#map-google-preview h3,#map-google-preview p{margin:0;overflow-wrap:anywhere}
#map-google-preview h3{font-size:14px;align-self:center}
.map-google-header button{flex:none;min-width:36px;min-height:36px;font-size:11px;padding-inline:7px}
#map-google-preview .google-preview-frame,#map-google-preview.is-loading .map-google-frame-slot:empty{height:clamp(220px,37vh,340px)}
#map-google-preview.is-loading .map-google-frame-slot:empty{background:#f1f5ff;border-radius:9px}
.map-google-note a{font-size:12px;display:inline-block;padding-block:5px}
@media(min-width:901px){
  .geo-layout:has(.geo-row-with-map){grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
  .geo-row-with-map{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);align-items:start;gap:9px}
}
@media(max-width:690px){
  #map-google-notice{margin-inline:10px}
  #map-google-preview{scroll-margin-top:158px}
  .map-google-header button{min-width:44px;min-height:44px}
}

/* Grupo Rozelf: presentation tokens only; stage, prospecting and alert meanings remain independent. */
:root{
  color:#28231e;background:#f4f1eb;
  --bg:#f4f1eb;--card:#fffdfa;--muted:#665d51;--ink:#28231e;--line:#e5dccd;
  --blue:#744f18;--deep:#251d12;--blue-soft:#f5ebd7;--field-line:#887c69;
  --gold:#e9bb5c;--gold-light:#f2cb78;--gold-dark:#79521a;--gold-pale:#f7edda;
  --focus-dark:#855515;--focus-light:#f3c86d;--surface-hover:#f9f2e6;
  --shadow:0 4px 18px #271c101c;
}
:focus-visible,.search:focus-within{outline-color:var(--focus-dark)}
.side :focus-visible,.page-head :focus-visible,.login-feature :focus-visible{outline-color:var(--focus-light)}
.shell{grid-template-columns:clamp(202px,15.4vw,278px) minmax(0,1fr)}
.side{height:100dvh;overflow-y:auto;background:linear-gradient(165deg,#1c1b18,#121211);color:#faf5ea;padding-inline:clamp(15px,1.25vw,23px);gap:24px}
.brand{gap:13px;min-width:0}
.brand img{display:block;object-fit:contain;background:#050505;border:1px solid #b885343f;border-radius:13px}
.brand b{color:#faf4e8}
.brand span{color:var(--gold);font-size:11px;letter-spacing:.18em}
.side .brand{flex-direction:column;gap:11px;margin-left:0;text-align:center}
.side .brand img{width:min(78%,192px);height:auto;aspect-ratio:44 / 45}
@media(min-width:691px){.side .brand b{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
.side .brand span{margin:0}
.nav-caption{color:#c4b8a7}
.nav{color:#f2ede5;font-weight:600}
.nav:hover,.nav[aria-current=page]{background:#332919;color:var(--gold-light)}
.nav[aria-current=page]{box-shadow:inset 3px 0 var(--gold)}
.side-foot{border-color:#493b2a}
.side-foot>div{min-width:0}
.side-foot strong{overflow-wrap:anywhere}
.side-foot small{color:#c4b8a7}
.avatar{background:#3e301d;color:var(--gold-light)}
.signout{color:#efd099;flex:none}
.signout:hover{background:#3c3122}
.topbar{background:var(--card)}
.crumb,.workspace{color:#655a4c}
.crumb>svg:first-child{color:var(--gold-dark)}
.workspace i{background:#b88939}
.page-head{
  min-height:148px;border-radius:22px;background:linear-gradient(111deg,#191817 0%,#292217 65%,#49361b 100%);
  color:#fffaf0;border:1px solid #57402566;
}
.page-head::after{
  width:430px;height:320px;right:20px;top:-123px;border:0;border-radius:0;box-shadow:none;
  background:radial-gradient(ellipse at 76% 23%,transparent 49.8%,#d9a55433 50%,transparent 50.4% 59.8%,#d9a55430 60%,transparent 60.4% 69.8%,#d9a5542c 70%,transparent 70.4%);
}
.eyebrow{color:var(--gold-dark)}
.page-head .eyebrow,.login-feature .eyebrow{color:var(--gold-light)}
.page-head .intro,.login-feature>p{color:#e9dfd1}
.button.primary,.page-head .primary{background:var(--gold);color:#271a0a;border-color:#c99b45}
.button.primary:hover,.page-head .primary:hover{background:#f3cd7b;color:#271a0a}
.button.secondary,.button.select-button{background:#fcf6ea;border-color:#ddd0ba;color:#684411}
.button.text-button,.card-title{color:#744d13}
.button.secondary:hover,.button.select-button:hover,.button.text-button:hover,.icon-button:not(.signout):hover{background:#f4e8cf}
.period>span{color:#f0dfc1}
.segmented{background:#211d18;border-color:#a384537a}
.segmented button{color:#fff7e8}
.segmented button[aria-pressed=true],.segmented button:hover{background:var(--gold);color:#271a0a}
.period-note b,.scope-note b{color:#514639}
.kpi,.panel,.op-card,.pipe-row,.detail-block,.dialog-head{background:var(--card);border-color:var(--line)}
.kpi-top,.empty{color:#554b40}
.feature-icon:not(.plum):not(.green):not(.amber),.table-icon,.date-tile,.subtle-pill,.modal-close{
  background:var(--gold-pale);color:#744e17;
}
.date-tile small{color:#744e17}
.kpi-link{background:#f7efdf;color:#79521a}
.kpi-link:hover,.pipe-row:hover,.feed-row:hover,.table-row:hover,.building-card:hover{background:var(--surface-hover)}
.pipeline-head,.scope-note,.map-selection,.geo-row.selected,.sim-banner,.reminder-config{
  background:var(--gold-pale);color:#614520;border-color:var(--line);
}
.pipeline-head span,.pipeline-head strong{color:#744e17}
.bar{background:#ede7dc}
.feed-row:not(:last-child),.table-row:not(:last-child),.card-foot,.timeline{border-color:var(--line)}
.table-row>svg,.feed-row>svg,.building-card>svg{color:#85715c}
.scope-note .clear-period{border-color:#d7c5a8;color:#744e17}
.lane{background:#eee8df}
.lane.drop-target{border-color:#a16b20;background:#f2dfb8}
.mini-location,.visit-chip,.op-card p,.card-foot>small,.board-note,.search,.geo-filter label,.geo-reference,
.geo-row-title small,.map-history-note,.copy-geo,.arrival-status,.district-status,.reminder-config legend{
  color:var(--muted);
}
dialog{background:#f8f3eb;box-shadow:0 20px 100px #160f0a75}
dialog::backdrop{background:#15110cb3}
.timeline li::before{background:#b48942}
.reminder-toggle input{accent-color:#865918}
.geo-row-tools .map-location-action{background:#fcf6ea;color:#684411;border-color:#ddd0ba}
.geo-row-tools .map-location-action:hover{background:#f4e8cf}
#map-google-preview{border-color:var(--line)}
.district-guide a,.map-google-note a{color:#744d13}
.initial{color:var(--gold-dark)}
.login-feature{background:linear-gradient(135deg,#151413,#302418 75%,#463316)}
.login-feature .brand{position:static;margin-bottom:30px}
.login-feature .brand img{width:108px;height:110px}
.login-feature .brand b{font-size:21px}
.login-card{background:var(--bg)}
.skyline i{border-color:#dcae62;background:repeating-linear-gradient(0deg,#745628 0 9px,#bc9258 9px 10px)}
@media(max-height:720px) and (min-width:691px){
  .side{gap:18px;padding-top:18px}
  .side .brand img{width:min(64%,132px)}
  .nav-caption{margin-top:7px}
}
@media(max-width:950px) and (min-width:691px){
  .shell{grid-template-columns:160px minmax(0,1fr)}
  .side .brand img{width:112px;height:auto}
  .side .brand span{font-size:9px}
  .topbar .workspace{display:flex}
}
@media(max-width:690px){
  html{scroll-padding-top:127px}
  .side{height:auto;overflow:visible;gap:7px 10px;padding:8px 12px}
  .side .brand{flex-direction:row;gap:9px;text-align:left}
  .side .brand img{width:41px;height:42px;border-radius:6px}
  .side .brand b{display:block;font-size:15px}
  .side .brand span{font-size:8px;margin-top:2px}
  .side .nav[aria-current=page]{box-shadow:inset 0 -2px var(--gold)}
  .signout{min-width:44px;min-height:44px}
  .page-head{min-height:0}
  .page-head::after{right:-162px;top:-96px;opacity:.78}
  .login-feature .brand{margin-bottom:18px}
  .login-feature .brand img{width:54px;height:55px;border-radius:8px}
  .topbar .workspace{font-size:9px}
  .topbar .top-add{min-width:38px;min-height:38px}
}
@media(max-width:360px){
  #map-district,#map-status{width:100%}
  .geo-filter:has(#map-status) label{flex:1 0 100%}
  .workspace.workspace-demo{display:flex!important;max-width:104px;white-space:normal;line-height:1.13}
  .workspace-demo i{flex:none}
  .topbar{padding-inline:10px}
}

/* Ubicaciones: un único visor, y prospección fuera del mapa. */
.location-empty{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;min-height:180px;align-content:center;padding:20px;border:1px solid var(--line);background:#faf6ed;border-radius:12px}
.location-empty h3{font-size:17px;margin:0 0 5px}
.location-empty p{font-size:13px;color:var(--muted);margin-bottom:7px;overflow-wrap:anywhere}
.map-selection h3:focus{outline:2px solid #8d6321;outline-offset:3px;border-radius:10px}
#map-selection-results{scroll-margin-top:20px}
#geo-plot-results #map-google-notice{margin:10px 0 0;line-height:1.4}
#map-google-slot:not(:empty){margin-top:10px}
#geo-plot-results #map-google-preview .google-preview-frame,#geo-plot-results #map-google-preview.is-loading .map-google-frame-slot:empty{height:clamp(320px,52vh,520px)}
#geo-plot-results #map-google-preview .google-preview-frame{width:100%;min-width:0}
.district-pill{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:3px 8px;font-size:12px;font-weight:700;border:1px solid currentColor}
.district-pill.por_recorrer{color:#643891;background:#f3e8fc}.district-pill.en_recorrido{color:#254988;background:#e7effe}.district-pill.recorrida{color:#165c4a;background:#e3f4ee}
.district-key{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:5px 0 0}
@media(max-width:900px){#map-selection-results{scroll-margin-top:120px}}
@media(max-width:690px){
 .location-empty{padding:12px;min-height:154px}
 .location-empty .feature-icon{width:34px;height:34px}
 #geo-plot-results #map-google-preview .google-preview-frame,#geo-plot-results #map-google-preview.is-loading .map-google-frame-slot:empty{height:clamp(260px,44vh,360px)}
 #map-selection-results{scroll-margin-top:158px}
}

.google-edit-input{display:grid;gap:6px}
.google-edit-input textarea{width:100%;min-width:0}
.google-edit-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:690px){.google-edit-actions .button{min-height:44px}}

.location-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.map-selection .location-actions .primary{background:#e9bb5c;color:#2b1a08}
.map-selection .location-actions .primary:hover{background:#f0cb81}
.location-actions [hidden]{display:none!important}
.location-actions .button{max-width:100%}

.google-remove:not([hidden]){padding:8px 10px;border:1px solid var(--line);border-radius:8px;margin-block:8px}

/* Location entry is optional and keeps reference and arrival visually separate. */
.location-editor{display:grid;gap:9px;min-width:0;margin:0;border:1px solid #ccd8ee;border-radius:10px;padding:8px 12px 12px}
.location-editor legend{padding:0 5px;font-size:13px;font-weight:750}
.location-editor .helper{margin:0}
.location-editor [hidden]{display:none!important}
.location-editor [aria-disabled=true]{cursor:default;opacity:.7}
.location-editor .location-confirm{display:flex;gap:8px;align-items:center;min-height:44px}
.location-confirm input{width:18px;min-height:0;height:18px;flex:none;accent-color:#3153d7}
.location-arrival{display:grid;gap:6px;border-top:1px solid #dce4f2;padding-top:9px;font-size:13px}
.map-legacy{margin-top:12px}
.map-legacy summary{cursor:pointer;padding:6px 0;font-size:13px;font-weight:700}

/* Single location action keeps the building list easy to scan. */
.map-selection h3{margin:0 0 3px;font-size:17px;overflow-wrap:anywhere}
.map-location-part{margin-top:9px;padding-top:8px;border-top:1px solid var(--line)}
.map-location-part h4{font-size:13px;margin:0 0 3px}
.map-location-part .location-actions,.map-location-footer{margin-top:7px}
.map-location-action[aria-current=true]{border-color:#86601e;font-weight:800}
