:root{font-family:Inter,system-ui,sans-serif;color:#153735;background:#f4f6f3}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}aside{width:238px;background:#123d38;color:#fff;padding:34px 24px;display:flex;flex-direction:column;position:fixed;height:100vh}.brand{font-size:24px;letter-spacing:2px;font-weight:800}.brand span{display:block;font-size:12px;margin:8px 0 30px;letter-spacing:5px}aside p,aside small{color:#b0cac3;font-size:13px}nav{display:grid;gap:8px;margin-top:30px}button{cursor:pointer;border:0;border-radius:8px;padding:12px 16px;font:inherit;background:#175b4c;color:white}nav button{text-align:left;background:transparent;color:#cfdfd8}nav button.active{background:#2d5c50;color:#fff}aside small{margin-top:auto;line-height:1.8}main{margin-left:238px;width:calc(100% - 238px);padding:38px 48px}header{display:flex;align-items:center;justify-content:space-between;gap:16px}h1{font-size:34px;margin:8px 0 24px;letter-spacing:-1px}.eyebrow{font-size:11px;letter-spacing:2px;color:#68877d}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:18px}.card,.panel{background:#fff;border:1px solid #dde5df;border-radius:14px;padding:24px}.card strong{font-size:36px;display:block;margin-top:12px}.card span{color:#698078;font-size:14px}.panel{margin-top:24px}h2{font-size:20px}p{line-height:1.6}.muted{color:#768980}.toolbar{margin-bottom:20px;display:flex;gap:12px}input,select{width:100%;padding:11px;border:1px solid #cbd8d0;border-radius:7px;background:#fff;color:#153735;font:inherit}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:15px 12px;border-bottom:1px solid #e7ece7}th{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#68877d}.tablewrap{overflow:auto}.badge{background:#e7f1e9;padding:5px 9px;border-radius:30px;white-space:nowrap}.empty{padding:42px;text-align:center;color:#68877d}dialog{border:0;border-radius:16px;width:540px;max-width:95vw;padding:28px;color:#153735}dialog::backdrop{background:#15373588}label{display:block;font-size:13px;margin:14px 0}label input,label select{margin-top:7px}#formError,#message{color:#9c382f}form>button{width:100%;margin-top:15px}#close{background:#edf2ed;color:#153735}button:focus-visible{outline:3px solid #d4a634;outline-offset:3px}[hidden]{display:none!important}@media(max-width:900px){aside{position:static;width:100%;height:auto;padding:18px}body{display:block}aside small,aside p,.brand span{display:none}nav{display:flex;flex-wrap:wrap;margin-top:12px}main{margin:0;width:100%;padding:24px}.cards{grid-template-columns:repeat(2,1fr)}}

/* Identidad venezolana: azul profundo y acentos tricolor. */
:root{color:#172d4b;background:#f5f6f9;--amarillo:#f2c744;--azul:#183f78;--rojo:#c64b55}
aside{background:linear-gradient(160deg,#142c50,#0d1d36);box-shadow:4px 0 24px #142c5010;border-top:4px solid var(--amarillo)}
.brand{color:#fff}.brand::first-letter{color:var(--amarillo)}.brand span{color:var(--amarillo)}
aside p,aside small{color:#b6c5db}
nav button{color:#d4deed;border-left:3px solid transparent;border-radius:0 8px 8px 0;transition:background .15s}
nav button:hover{background:#ffffff0d}nav button.active{background:#ffffff12;border-left-color:var(--amarillo);color:#fff}
button{background:var(--azul);color:#fff;transition:background .15s,box-shadow .15s}button:hover{background:#245395}button:disabled{opacity:.6;cursor:wait}
main>header{position:relative;margin-bottom:26px;padding-bottom:12px;border-bottom:1px solid #dfe5ee}
main>header::after{content:"";position:absolute;bottom:-2px;left:0;height:3px;width:126px;background:linear-gradient(to right,var(--amarillo) 0 33.333%,var(--azul) 33.333% 66.666%,var(--rojo) 66.666%);border-radius:3px}
.eyebrow{color:#61738d}.card,.panel{border-color:#e0e5ee;box-shadow:0 4px 18px #17345404}
.card{position:relative;overflow:hidden}.card::before{content:"";position:absolute;top:0;left:24px;right:24px;height:3px;background:var(--azul);border-radius:0 0 4px 4px}
.card:first-child::before{background:var(--amarillo)}.card:nth-child(3)::before{background:var(--rojo)}.card:nth-child(4)::before{background:#7b8da7}
.card strong{color:#183858}.card span,.muted,.empty,th{color:#61718a}
input,select{border-color:#cdd6e3;color:#172d4b}input:focus,select:focus{outline:2px solid #183f7825;border-color:var(--azul)}
td,th{border-bottom-color:#e7ecf3}.badge{background:#edf2fa;color:#274f80}
dialog{color:#172d4b;box-shadow:0 24px 80px #0d1d3633}dialog::backdrop{background:#0d1d3688}
#close{background:#edf1f7;color:#172d4b}#close:hover{background:#dfe7f2}#formError,#message{color:#a83241}
button:focus-visible{outline-color:var(--amarillo)}
@media(max-width:900px){aside{border-top:0;border-bottom:3px solid transparent;border-image:linear-gradient(to right,var(--amarillo) 0 33.333%,var(--azul) 33.333% 66.666%,var(--rojo) 66.666%) 1;box-shadow:none}}

#map{height: min(65vh,650px);min-height:360px;border:1px solid #dfe5ee;border-radius:14px;z-index:0}.leaflet-popup-content button{padding:8px 12px;font-size:13px}.leaflet-container{font-family:inherit}dialog{max-height:90vh;overflow:auto}
.portal{display:block}.public-header{padding:22px 4%;background:#fff;border-top:4px solid #f2c744;border-bottom:1px solid #dfe5ee}.public-header a{color:#183f78;text-decoration:none}.public-brand{font-size:21px;font-weight:800;letter-spacing:1px}.public-brand span{display:block;font-size:10px;letter-spacing:4px;margin-top:5px}.public-main{margin:0;width:100%;padding:34px 4%}.location-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.location-filters label{margin:0}.explorer{display:grid;grid-template-columns:1fr 1.15fr;gap:24px}.explorer #map{position:sticky;top:20px;height:65vh}.listing{background:white;border:1px solid #dfe5ee;border-radius:14px;padding:24px;margin-bottom:16px}.listing h2{margin:15px 0}.listing-price{font-size:24px}.listing a{color:#183f78;font-size:13px;margin-left:12px}.consent{display:flex;gap:10px;align-items:center}.consent input{width:auto}textarea{width:100%;font:inherit;border:1px solid #cdd6e3;border-radius:8px;padding:10px}.admin-login{max-width:430px;margin:40px auto}.source-run{border-bottom:1px solid #e0e5ee;padding:10px 0}@media(max-width:900px){.location-filters{grid-template-columns:repeat(2,1fr)}.explorer{grid-template-columns:1fr}.public-header{align-items:flex-start}.public-header>div{font-size:12px}.public-header button{font-size:12px;padding:8px}.explorer #map{position:static;height:420px}}

/* Centro de actualización de fuentes */
.sources-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:18px;background:linear-gradient(125deg,#0b2d57,#174f8d);color:#fff;box-shadow:0 14px 34px rgba(10,42,82,.16)}.sources-hero h2{margin:4px 0 8px;font-size:30px}.sources-hero p{margin:0;max-width:720px}.sources-hero .eyebrow{color:#f5cb3e}.sources-hero button{white-space:nowrap;background:#f5cb3e;color:#102d52}.source-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.source-kpis article{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid #dce5f0;border-radius:14px;padding:18px 20px}.source-kpis span{font-size:12px;color:#63748b}.source-kpis strong{font-size:27px;color:#0d315c}.source-kpis .warning{border-color:#efbb74;background:#fffaf1}.capture-status{padding:13px 16px;border-radius:10px;background:#edf5ff;color:#204f82}.capture-status.running{background:#fff7dc;color:#6d5200}.capture-status.failed{background:#fff0f0;color:#9f3030}.source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.source-card header,.source-detail header,.source-history header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.source-card h2,.source-detail h2,.source-history h2{margin:2px 0 10px}.source-health{border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;background:#e5f7ed;color:#13723f}.source-health.failed{background:#ffe8e8;color:#a12626}.source-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.source-card-stats p{display:flex;flex-direction:column;gap:5px;margin:0;padding:12px;background:#f5f8fc;border-radius:10px}.source-card-stats span{font-size:11px;color:#68798f}.source-card-stats strong{font-size:22px;color:#123763}.source-detail,.source-history{margin-top:16px}.source-change-list,.source-review-list{display:grid;gap:8px}.source-change-list button,.source-review-list button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:13px 15px;border:1px solid #e0e7f0;border-radius:10px;background:#fff;color:#15375f;text-align:left}.source-change-list button:hover,.source-review-list button:hover{background:#f5f8fc}.source-change-list button span:first-child,.source-review-list button{flex-wrap:wrap}.source-change-list small,.source-review-list span{display:block;margin-top:3px;color:#718096}.price-change{font-weight:800;white-space:nowrap}.price-change.down{color:#13723f}.price-change.up{color:#ae3d3d}.source-run{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:20px;align-items:center}.source-run div{display:flex;flex-direction:column;gap:3px}.source-run span,.source-run small{color:#6f7e91}.source-run p{margin:0}.source-run.failed{background:#fff6f6}.source-history>.source-run:last-child{border-bottom:0}@media(max-width:900px){.sources-hero{align-items:flex-start;flex-direction:column}.source-kpis{grid-template-columns:repeat(2,1fr)}.source-grid{grid-template-columns:1fr}.source-run{grid-template-columns:1fr}.source-change-list button{align-items:flex-start;flex-direction:column}.price-change{white-space:normal}}@media(max-width:540px){.source-kpis{grid-template-columns:1fr}.source-card-stats{grid-template-columns:1fr}.sources-hero{padding:22px}.sources-hero button{width:100%}}
.capture-main-control{display:grid;gap:10px;width:min(330px,100%)}.capture-control-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sources-hero .secondary-action{background:#fff;color:#153d6d}.sources-hero .danger-action{background:#d55757;color:#fff}.success-button,.sources-hero .success-button{background:#198754!important;color:#fff!important}.source-progress{display:grid;gap:7px;margin:16px 0 12px}.source-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#60738a;font-size:12px}.source-progress strong{color:#173d69}.source-progress progress{display:block;width:100%;height:10px;border:0;border-radius:999px;overflow:hidden;background:#e6edf5;accent-color:#1b5f9e}.source-progress progress::-webkit-progress-bar{background:#e6edf5}.source-progress progress::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg,#1b5f9e,#2c86ca)}.source-progress progress::-moz-progress-bar{border-radius:999px;background:linear-gradient(90deg,#1b5f9e,#2c86ca)}.global-progress{margin:0}.global-progress>div{color:#dce9f7}.global-progress strong{color:#fff}.global-progress progress{height:8px}.source-card.updating{border-color:#6fa5d8;box-shadow:0 0 0 3px rgba(54,121,183,.12)}.source-card.updated{border-top:4px solid #249760}.source-card.updated .source-progress progress{accent-color:#249760}.source-card.updated .source-progress progress::-webkit-progress-value{background:#249760}.source-card.updated .source-progress progress::-moz-progress-bar{background:#249760}@media(max-width:540px){.capture-main-control{width:100%}.capture-control-buttons{grid-template-columns:1fr 1fr}}
.map-link{background:#edf2fa;color:#183f78;margin-left:8px}.map-link:hover{background:#dce6f5}.street-view-link{display:inline-block;margin:7px 5px 2px 0;color:#174b82;font-size:12px;font-weight:800}.street-view-link:hover{text-decoration:underline}.location-note{font-size:12px}.leaflet-popup-content hr{border:0;border-top:1px solid #e0e5ee;margin:12px 0}.leaflet-popup-content p{font-size:12px}
.access-hero{position:relative;isolation:isolate;min-height:calc(100vh - 101px);overflow:hidden;background:radial-gradient(ellipse at 80% 20%,#214369 0,transparent 55%),#0d223d;display:flex;align-items:center;padding:64px 7%;color:#f5f8fc}.access-map-wrap{position:absolute;z-index:-1;right:1%;top:0;bottom:0;width:68%;display:flex;align-items:center;opacity:.85}.access-map{width:100%;height:100%;max-height:820px}.access-copy{width:440px;max-width:100%}.access-copy>.eyebrow{color:#edc35e;letter-spacing:2.5px;font-size:10px}.access-copy>h2{font-size:clamp(38px,4.8vw,66px);line-height:1.06;letter-spacing:-2px;margin:24px 0;color:#fff}.access-copy>p:not(.eyebrow){color:#abc0d7;font-size:17px;line-height:1.7}.access-hero .admin-login{margin:32px 0 45px;padding:26px;background:#f9fbfe;border:1px solid #fff;border-radius:16px;box-shadow:0 20px 65px #0003;color:#172d4b;max-width:400px;border-top:3px solid #edc35e}.access-hero .admin-login h1{font-size:23px;letter-spacing:-.6px;margin:0 0 12px}.access-hero .admin-login p{font-size:14px;color:#64758a}.access-hero .admin-login button{width:100%;font-size:14px}.access-hero .admin-login .access-note{font-size:11px;text-align:center;margin-bottom:0;color:#8490a0}.access-caption{position:absolute;bottom:25px;right:5%;font-size:10px;letter-spacing:3px;color:#728eae}.access-caption::before{content:"";display:inline-block;width:20px;height:2px;background:#c64b55;vertical-align:middle;margin-right:10px}@media(max-width:700px){.access-hero{padding:38px 6%;min-height:calc(100vh - 94px)}.access-map-wrap{right:-36%;width:125%;opacity:.25}.access-copy>h2{font-size:44px}.access-copy>p:not(.eyebrow){font-size:15px}.access-hero .admin-login{margin-top:25px}.access-caption{font-size:8px;right:6%}}
.public-brand{display:inline-flex;align-items:center;gap:13px}.public-brand .brand-name{font-size:21px;letter-spacing:1px;margin:0;line-height:1.1}.public-brand .brand-name>span{font-size:10px;letter-spacing:4px;margin-top:7px}.brand-flag{width:48px;height:32px;flex:none;filter:drop-shadow(0 2px 3px #183f781a)}@media(max-width:700px){.brand-flag{width:36px;height:24px}.public-brand{gap:9px}.public-brand .brand-name{font-size:18px}.public-brand .brand-name>span{font-size:8px;letter-spacing:3px}}
.brand-flag{width:58px;height:49px;filter:none}@media(max-width:700px){.brand-flag{width:44px;height:37px}}
.radar-brand-art{display:block;width:270px;height:80px}.public-header{padding-top:10px;padding-bottom:10px}@media(max-width:700px){.radar-brand-art{width:210px;height:63px}.public-header{padding-top:10px;padding-bottom:10px}}@media(max-width:400px){.radar-brand-art{width:175px;height:53px}.public-header>div button{padding:8px;font-size:11px}}
.listing>.listing-photo,.listing>.photo-placeholder{width:calc(100% + 48px);margin:-24px -24px 20px;height:230px;border-radius:14px 14px 0 0;object-fit:cover}.photo-placeholder{display:flex;align-items:center;justify-content:center;background:#edf1f6;color:#718198;font-size:12px}.tablewrap .listing-photo,.tablewrap .photo-placeholder{width:100px;height:72px;object-fit:cover;border-radius:8px;float:left;margin-right:14px}.listing-photo{background:#edf1f6}@media(max-width:700px){.listing>.listing-photo,.listing>.photo-placeholder{height:200px}}
.gallery-dialog{width:min(1100px,94vw);max-width:94vw;padding:20px;background:#101f35;color:#fff;border:0;border-radius:18px;max-height:94vh}.gallery-dialog::backdrop{background:rgba(6,17,32,.85)}.gallery-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.gallery-dialog h2{font-size:18px;margin:0;color:#fff}.gallery-dialog button{background:#29476a;color:#fff;border:1px solid #57728e}.gallery-stage{display:flex;align-items:center;gap:12px;min-height:180px}.gallery-stage>img{width:calc(100% - 116px);height:55vh;object-fit:contain}.gallery-count{text-align:center;margin:10px}.gallery-status{font-size:14px;min-height:20px;color:#cddaea}.gallery-thumbs{display:flex;gap:8px;overflow:auto;padding:6px}.gallery-thumbs button{flex:none;padding:3px}.gallery-thumbs img{width:80px;height:56px;object-fit:cover;border-radius:4px}.gallery-thumbs button[aria-pressed=true]{border:2px solid #f4c839}.gallery-dialog button:disabled{opacity:.4}@media(max-width:600px){.gallery-dialog{padding:12px}.gallery-stage{gap:4px}.gallery-stage>img{width:calc(100% - 80px);height:45vh}.gallery-stage button{padding:8px}.gallery-thumbs img{width:64px;height:48px}}

.admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.admin-web-link{display:inline-block;padding:11px 15px;border:1px solid #b7c6d8;border-radius:8px;color:#183f78;text-decoration:none;background:#fff}.admin-web-link:hover{background:#edf2f8}.admin-web-link:focus-visible{outline:3px solid #d4a634;outline-offset:3px}@media(max-width:700px){main>header{align-items:flex-start;flex-direction:column}.admin-actions{justify-content:flex-start;width:100%}.admin-actions button,.admin-web-link{font-size:14px;padding:10px 12px}}

#listings{position:relative;max-height:75vh;overflow-y:auto;padding:4px 8px 4px 4px;scroll-behavior:smooth}.listing-selected{border:3px solid #183f78;box-shadow:0 0 0 2px #f2c744;background:#f7faff}.property-popup .listing-photo,.property-popup .photo-placeholder{width:100%;height:130px;object-fit:cover;border-radius:8px}.property-popup h3{margin:12px 0;font-size:17px}.property-popup button{margin:4px 6px 0 0;padding:9px;font-size:13px}.property-popup p{margin:8px 0}.property-popup select{max-width:100%}@media(max-width:900px){#listings{max-height:48vh}.explorer #map{height:44vh}}

.laboratory-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0;padding-bottom:16px;border-bottom:1px solid #dfe5ee}.laboratory-tabs select{width:auto}.laboratory-tabs button[aria-pressed=true]{outline:3px solid #f2c744;outline-offset:2px}.laboratory-tabs .operation-tab{background:#edf2fa;color:#183f78;font-weight:700}.laboratory-tabs .operation-tab[aria-pressed=true]{background:#183f78;color:#fff}.favorite-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0}.favorite-controls label{margin:0;flex:1;min-width:170px}.interest-green{background:#dcfce7;color:#14532d;border:2px solid #15803d}.interest-orange{background:#ffedd5;color:#7c2d12;border:2px solid #ea580c}.interest-yellow{background:#fef9c3;color:#713f12;border:2px solid #ca8a04}.interest-red{background:#fee2e2;color:#7f1d1d;border:2px solid #dc2626}
.lab-filter-panel>summary{cursor:pointer;list-style:none}.lab-filter-panel>summary::-webkit-details-marker{display:none}.filter-toggle-label{display:inline-flex;align-items:center;gap:9px;min-width:142px;justify-content:center;padding:9px 13px;border:1px solid #cdd9e7;border-radius:999px;background:#f8fafc;color:#315d91;font-size:12px;font-weight:800}.filter-toggle-label i{font-style:normal;font-size:17px;line-height:1;transition:transform .2s ease}.filter-hide{display:none}.lab-filter-panel[open] .filter-show{display:none}.lab-filter-panel[open] .filter-hide{display:inline}.lab-filter-panel[open] .filter-toggle-label i{transform:rotate(180deg)}.filter-panel-body{padding-top:4px}.filter-panel-actions{display:flex;justify-content:flex-end;margin:10px 0 -4px}.lab-filter-panel:not([open]){padding-block:18px}.lab-filter-panel:not([open]) .lab-section-heading p{display:none}.lab-filter-panel:not([open]) .lab-section-heading>div>span{width:31px;height:31px}.lab-filter-panel:not([open]) .lab-section-heading h2{font-size:16px}@media(max-width:600px){.lab-filter-panel{padding:17px 16px}.lab-section-heading{gap:10px}.filter-toggle-label{min-width:auto;padding:8px 11px}.filter-toggle-label .filter-show,.filter-toggle-label .filter-hide{font-size:0}.filter-toggle-label .filter-show::after{content:"Filtros";font-size:12px}.filter-toggle-label .filter-hide::after{content:"Cerrar";font-size:12px}.filter-panel-actions{margin-top:14px}.filter-panel-actions .clear-filters{width:100%}}

.dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 24px}.dashboard-intro h2{font-size:28px;margin:4px 0}.dashboard-intro p{margin:4px 0}.status-pill{display:inline-flex;align-items:center;white-space:nowrap;background:#e9f7ef;color:#21633f;border:1px solid #bfe3cd;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:700}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:16px}.kpi{min-height:145px;padding:22px;text-align:left;background:#fff;color:#172d4b;border:1px solid #e0e5ee;border-top:4px solid var(--azul);box-shadow:0 8px 24px #17345409}.kpi:first-child{border-top-color:var(--amarillo)}.kpi:nth-child(3){border-top-color:var(--rojo)}.kpi:hover{background:#f9fbff;transform:translateY(-2px);box-shadow:0 12px 30px #17345412}.kpi span,.kpi small{display:block;color:#6c7a8e}.kpi strong{display:block;font-size:38px;margin:12px 0}.kpi small{font-weight:700;color:#315d91}.dashboard-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dashboard-module{display:flex;flex-direction:column;min-height:330px}.dashboard-module header{align-items:flex-start}.dashboard-module h2{margin:3px 0 15px}.quiet-button{background:#edf2fa;color:#183f78;padding:9px 12px;font-size:13px}.quiet-button:hover{background:#dce6f5}.summary-list{margin:8px 0 18px}.summary-list p{display:flex;justify-content:space-between;gap:18px;margin:0;padding:12px 0;border-bottom:1px solid #e8edf4;color:#61718a}.summary-list strong{color:#183858}.professional-score{display:flex;align-items:baseline;gap:10px;padding:10px 0}.professional-score strong{font-size:38px;color:#183858}.professional-score span{color:#61718a}.dashboard-module>button:last-child{margin-top:auto}.dashboard-alert,.dashboard-ok{margin-top:auto;border-radius:9px;padding:11px 13px;font-size:13px}.dashboard-alert{background:#fff3cd;color:#725500}.dashboard-ok{background:#e9f7ef;color:#21633f}.attention{color:#a83241!important}@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.dashboard-layout{grid-template-columns:1fr 1fr}.dashboard-module:last-child{grid-column:1/-1}}@media(max-width:700px){.dashboard-intro{align-items:flex-start;flex-direction:column}.dashboard-kpis,.dashboard-layout{grid-template-columns:1fr}.dashboard-module:last-child{grid-column:auto}.kpi{min-height:120px}.dashboard-module{min-height:auto}}

/* Jerarquía del centro de control */
nav{gap:6px;margin-top:25px}.nav-group{margin:18px 0 3px;padding-left:3px;color:#7890b2;font-size:9px;font-weight:800;letter-spacing:2px}.nav-group:first-child{margin-top:0}@media(max-width:900px){.nav-group{display:none}}
.admin-brand{display:block;margin:-16px -12px 20px;padding:9px 10px 7px;border-radius:12px;background:#fff;box-shadow:0 8px 24px #0002}.admin-brand img{display:block;width:100%;height:auto}.admin-brand:focus-visible{outline:3px solid var(--amarillo);outline-offset:3px}@media(max-width:900px){.admin-brand{width:220px;margin:0 0 12px;padding:5px 8px}}
.inventory-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin-bottom:18px}.inventory-summary>div{background:#fff;border:1px solid #dfe5ee;border-radius:11px;padding:15px 17px}.inventory-summary span,.inventory-record small{display:block;color:#6c7a8e;font-size:12px}.inventory-summary strong{display:block;margin-top:5px;color:#183858;font-size:25px}.inventory-toolbar{display:grid;grid-template-columns:minmax(240px,2fr) repeat(5,minmax(135px,1fr));align-items:center}.inventory-table{padding:0}.inventory-resultbar,.inventory-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px}.inventory-resultbar{border-bottom:1px solid #e4e9f0;background:#f9fbfd}.inventory-resultbar p{margin:0;color:#62728a}.inventory-record{display:grid;grid-template-columns:68px minmax(190px,1fr);align-items:center;gap:12px}.inventory-record .listing-photo,.inventory-record .photo-placeholder{width:68px;height:54px;object-fit:cover;border-radius:7px}.inventory-record .photo-placeholder{display:grid;place-items:center;padding:5px;background:#edf1f6;color:#7a8799;font-size:9px;text-align:center}.operation-badge,.data-state{display:inline-block;white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700}.operation-badge{background:#e8eef8;color:#183f78}.operation-badge.rent{background:#fae8eb;color:#983240}.data-state.ready{background:#e9f7ef;color:#21633f}.data-state.pending{background:#fff3cd;color:#725500}.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.row-actions button{padding:8px 10px;font-size:12px}.table-link{color:#244f84;text-decoration:none;font-size:12px;font-weight:700}.inventory-pagination{border-top:1px solid #e4e9f0}.inventory-pagination button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1250px){.inventory-toolbar{grid-template-columns:repeat(3,1fr)}.inventory-toolbar input{grid-column:span 2}}@media(max-width:700px){.inventory-summary{grid-template-columns:repeat(2,1fr)}.inventory-toolbar{grid-template-columns:1fr}.inventory-toolbar input{grid-column:auto}.inventory-resultbar,.inventory-pagination{align-items:flex-start;flex-direction:column}}

/* Laboratorio 2026 */
.portal{background:#f3f6fb;color:#122b4a}.portal .public-header{position:sticky;top:0;z-index:1000;min-height:84px;padding:10px max(4%,28px);background:rgba(255,255,255,.94);border-top:3px solid #f1c644;border-bottom:1px solid #dfe6ef;box-shadow:0 8px 30px rgba(18,43,74,.07);backdrop-filter:blur(16px)}.portal .public-header>div{display:flex;align-items:center;gap:14px}.portal .public-header #account{border-radius:999px;padding:10px 16px;background:#153e72;box-shadow:0 6px 18px rgba(21,62,114,.18)}.portal .public-header #adminLink{font-size:13px;font-weight:700;padding:9px 12px;border-radius:999px}.laboratory-main{max-width:1680px;margin:auto;padding:28px max(3.5%,28px) 50px}.lab-hero{position:relative;isolation:isolate;min-height:230px;display:flex;align-items:flex-end;overflow:hidden;padding:38px 42px;margin-bottom:22px;border-radius:24px;background:linear-gradient(125deg,#0b284a 0%,#143f72 62%,#1e588d 100%);color:#fff;box-shadow:0 22px 55px rgba(14,42,76,.2)}.lab-hero h1{margin:8px 0 12px;font-size:clamp(34px,4vw,58px);line-height:1;letter-spacing:-2.2px;color:#fff}.lab-hero p{max-width:650px;margin:0;color:#c8d8eb;font-size:16px}.lab-hero .eyebrow{color:#f3ca54;font-size:10px;font-weight:800}.lab-status{position:absolute;right:28px;top:24px;padding:8px 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.09);color:#d9f5e5;font-size:11px;font-weight:700;letter-spacing:.3px}.lab-hero-mark{position:absolute;z-index:-1;right:-30px;bottom:-125px;width:360px;height:360px;border:1px solid rgba(255,255,255,.12);border-radius:50%}.lab-hero-mark span{position:absolute;inset:45px;border:1px solid rgba(255,255,255,.12);border-radius:50%}.lab-hero-mark span:nth-child(2){inset:95px}.lab-hero-mark span:nth-child(3){inset:145px}.lab-hero-mark::before,.lab-hero-mark::after{content:"";position:absolute;background:rgba(255,255,255,.12)}.lab-hero-mark::before{left:50%;top:0;width:1px;height:100%}.lab-hero-mark::after{left:0;top:50%;width:100%;height:1px}.lab-hero-mark i{position:absolute;left:68px;top:79px;width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#f1c644;box-shadow:0 0 0 10px rgba(241,198,68,.13)}.lab-filter-panel{padding:24px 26px 26px;margin-bottom:18px;border:1px solid #dfe6ef;border-radius:20px;background:#fff;box-shadow:0 12px 40px rgba(20,55,91,.07)}.lab-section-heading,.map-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.lab-section-heading>div,.map-heading>div{display:flex;align-items:center;gap:13px}.lab-section-heading>div>span,.map-heading>div>span{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#eaf1fa;color:#16447c;font-size:11px;font-weight:800}.lab-section-heading h2,.map-heading h2{margin:0;color:#153858;font-size:17px}.lab-section-heading p,.map-heading p{margin:3px 0 0;color:#738197;font-size:12px}.clear-filters{padding:9px 13px;border:1px solid #cdd9e7;border-radius:999px;background:#fff;color:#315d91;font-size:12px;font-weight:700}.clear-filters:hover{background:#eef4fb}.lab-filter-panel .laboratory-tabs{margin:20px 0 18px;padding:0;border:0}.lab-filter-panel .laboratory-tabs button{min-height:42px;border:1px solid transparent;border-radius:999px;padding:10px 17px;box-shadow:none}.lab-filter-panel .laboratory-tabs .operation-tab{background:#eef3f9;color:#31577f}.lab-filter-panel .laboratory-tabs .operation-tab[aria-pressed=true],.lab-filter-panel #favorites-tab[aria-pressed=true]{background:#153e72;color:#fff;outline:0;box-shadow:0 7px 18px rgba(21,62,114,.2)}.lab-filter-panel #favorites-tab{background:#fff6d9;color:#69500a;border-color:#f0d77d}.lab-filter-panel .location-filters{grid-template-columns:repeat(5,minmax(145px,1fr));gap:13px}.lab-filter-panel .location-filters label{color:#52657d;font-size:11px;font-weight:700}.lab-filter-panel input,.lab-filter-panel select{margin-top:7px;min-height:44px;border-color:#d7e0eb;border-radius:11px;background:#f9fbfd;color:#183858;box-shadow:inset 0 1px 2px rgba(20,55,91,.02)}.lab-filter-panel input:focus,.lab-filter-panel select:focus{outline:3px solid rgba(241,198,68,.32);border-color:#c99c15}.lab-result-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 5px 12px}.lab-result-line p{margin:0;color:#183858;font-size:13px;font-weight:700}.lab-result-line>span{color:#7b889a;font-size:11px}.laboratory-main .explorer{grid-template-columns:minmax(360px,.82fr) minmax(520px,1.35fr);gap:20px;align-items:start}.laboratory-main #listings{max-height:74vh;padding:0 8px 0 0}.laboratory-main #listings::-webkit-scrollbar{width:7px}.laboratory-main #listings::-webkit-scrollbar-thumb{border-radius:8px;background:#b8c5d5}.laboratory-main .listing{position:relative;overflow:hidden;margin:0 0 14px;padding:20px;border-color:#dfe6ef;border-radius:18px;box-shadow:0 8px 28px rgba(20,55,91,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.laboratory-main .listing:hover{transform:translateY(-2px);border-color:#bacbe0;box-shadow:0 14px 38px rgba(20,55,91,.12)}.laboratory-main .listing>.listing-photo,.laboratory-main .listing>.photo-placeholder{width:calc(100% + 40px);height:205px;margin:-20px -20px 18px;border-radius:18px 18px 0 0}.laboratory-main .listing>.badge{display:inline-flex;background:#eaf1fa;color:#16447c;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.6px}.laboratory-main .listing h2{margin:13px 0 8px;color:#102f53;font-size:19px;line-height:1.3}.laboratory-main .listing-price{display:block;margin:7px 0;color:#123d70;font-size:24px;letter-spacing:-.5px}.laboratory-main .listing p{margin:7px 0;font-size:13px}.laboratory-main .listing>p:not(.muted):not(.location-note){color:#40536b}.laboratory-main .listing .map-link{margin:9px 5px 4px 0;border-radius:999px;padding:9px 13px;background:#edf3fa;color:#194777;font-size:12px;font-weight:700}.laboratory-main .listing .favorite-controls>button{border-radius:999px;padding:9px 13px;background:#fff4cb;color:#664c00;font-size:12px;font-weight:800}.laboratory-main .listing>a{display:inline-block;margin:6px 0 0;color:#315d91;font-size:11px;font-weight:700}.laboratory-main .listing-selected{border-color:#17477d;box-shadow:0 0 0 3px #f1c644,0 16px 36px rgba(20,55,91,.15);background:#fff}.map-workspace{position:sticky;top:102px;overflow:hidden;border:1px solid #dfe6ef;border-radius:20px;background:#fff;box-shadow:0 12px 40px rgba(20,55,91,.08)}.map-workspace .map-heading{padding:17px 20px;border-bottom:1px solid #e5ebf2}.map-workspace #map{position:relative;top:auto;height:calc(74vh - 95px);min-height:480px;border:0;border-radius:0}.map-workspace #mapHint{margin:0;padding:12px 18px;background:#f9fbfd;border-top:1px solid #e5ebf2;font-size:10px}.property-popup h3{color:#122f51}.property-popup .favorite-controls>button{background:#fff4cb;color:#664c00}.leaflet-popup-content-wrapper{border-radius:15px;box-shadow:0 14px 38px rgba(15,38,67,.22)}
@media(max-width:1100px){.lab-filter-panel .location-filters{grid-template-columns:repeat(3,1fr)}.laboratory-main .explorer{grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr)}}
@media(max-width:900px){.portal .public-header{min-height:70px}.laboratory-main{padding:20px}.lab-hero{min-height:210px;padding:30px}.lab-hero-mark{right:-135px}.lab-filter-panel .location-filters{grid-template-columns:repeat(2,1fr)}.laboratory-main .explorer{grid-template-columns:1fr}.laboratory-main #listings{max-height:none;padding-right:0}.map-workspace{position:relative;top:auto;grid-row:1}.map-workspace #map{height:48vh;min-height:390px}}
@media(max-width:600px){.portal .public-header{padding:7px 14px}.portal .radar-brand-art{width:160px;height:49px}.portal .public-header>div{gap:5px}.portal .public-header #account{max-width:165px;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.portal .public-header #adminLink{display:none}.laboratory-main{padding:14px}.lab-hero{min-height:220px;align-items:flex-end;padding:25px 22px;border-radius:19px}.lab-hero h1{font-size:36px}.lab-hero p{font-size:14px}.lab-status{right:16px;top:16px}.lab-filter-panel{padding:20px 17px;border-radius:17px}.lab-section-heading{align-items:flex-start}.lab-section-heading>div>span{display:none}.clear-filters{white-space:nowrap}.lab-filter-panel .laboratory-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lab-filter-panel .laboratory-tabs button{padding:9px 7px;font-size:12px}.lab-filter-panel .laboratory-tabs select{grid-column:1/-1;width:100%}.lab-filter-panel .location-filters{grid-template-columns:1fr 1fr;gap:10px}.lab-result-line{align-items:flex-start;flex-direction:column;gap:2px}.map-workspace #map{height:410px;min-height:0}.laboratory-main .listing>.listing-photo,.laboratory-main .listing>.photo-placeholder{height:185px}}

/* Un único lenguaje visual para laboratorio y administración */
.public-space-label{margin-left:8px;padding:6px 10px;border-left:1px solid #d8e0ea;color:#66788e!important;font-size:10px!important;font-weight:800;letter-spacing:1.2px!important;text-transform:uppercase;white-space:nowrap}.admin-space-label{display:flex;flex-direction:column;margin:0 3px 22px;padding:0 4px 18px;border-bottom:1px solid rgba(255,255,255,.12)}.admin-space-label strong{color:#fff;font-size:12px;letter-spacing:1.4px;text-transform:uppercase}.admin-space-label span{margin-top:5px;color:#8fa6c4;font-size:11px}
body:not(.portal){background:#f3f6fb;color:#122b4a}body:not(.portal)>aside{width:260px;padding:22px 18px;background:linear-gradient(165deg,#0b284a,#102f55 62%,#0a203b);border:0;box-shadow:12px 0 45px rgba(14,42,76,.12)}body:not(.portal)>aside .admin-brand{margin:0 0 14px;padding:9px;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.16)}body:not(.portal)>aside nav{gap:5px;margin:0}body:not(.portal)>aside nav button{min-height:44px;padding:11px 13px;border:0;border-radius:11px;color:#bdcce0;font-size:13px;font-weight:650}body:not(.portal)>aside nav button:hover{background:rgba(255,255,255,.08);color:#fff}body:not(.portal)>aside nav button.active{background:linear-gradient(100deg,rgba(255,255,255,.15),rgba(255,255,255,.07));box-shadow:inset 3px 0 #f1c644;color:#fff}body:not(.portal)>aside .nav-group{margin:16px 0 5px;padding-left:12px;color:#6684a7;font-size:8px}body:not(.portal)>main{margin-left:260px;width:calc(100% - 260px);max-width:1700px;padding:28px 38px 52px}body:not(.portal) main>header{min-height:78px;margin:0 0 22px;padding:0 0 18px}body:not(.portal) main>header h1{margin:5px 0 0;color:#102f53;font-size:clamp(28px,3vw,40px);letter-spacing:-1.6px}body:not(.portal) main>header .eyebrow{font-size:9px;font-weight:800;color:#708198}body:not(.portal) .admin-actions a,body:not(.portal) .admin-actions button{border-radius:999px;font-weight:700}.admin-overview{position:relative;isolation:isolate;min-height:170px;overflow:hidden;align-items:flex-end;margin:0 0 18px;padding:30px 32px;border-radius:22px;background:linear-gradient(125deg,#0b284a,#174a7f);box-shadow:0 20px 50px rgba(14,42,76,.16);color:#fff}.admin-overview>div:first-child{max-width:650px}.admin-overview .eyebrow{color:#f3ca54}.admin-overview p:not(.eyebrow){margin:8px 0 7px;color:#d1deed;font-size:16px}.admin-overview small{color:#8fa9c6}.admin-overview .status-pill{align-self:flex-start;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.1);color:#d9f5e5}.admin-radar-mark{position:absolute;z-index:-1;right:-55px;bottom:-165px;width:360px;height:360px;border:1px solid rgba(255,255,255,.12);border-radius:50%}.admin-radar-mark::before,.admin-radar-mark::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.1);border-radius:50%}.admin-radar-mark::before{inset:55px}.admin-radar-mark::after{inset:115px}.admin-radar-mark i{position:absolute;left:73px;top:66px;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#f1c644;box-shadow:0 0 0 9px rgba(241,198,68,.13)}body[data-view="dashboard"] .dashboard-kpis{gap:14px}body[data-view="dashboard"] .kpi{min-height:132px;border:1px solid #dfe6ef;border-top:0;border-radius:18px;padding:20px;background:#fff;box-shadow:0 10px 32px rgba(20,55,91,.07)}body[data-view="dashboard"] .kpi::before{content:"";display:block;width:34px;height:4px;margin-bottom:17px;border-radius:4px;background:#174a7f}body[data-view="dashboard"] .kpi:first-child::before{background:#f1c644}body[data-view="dashboard"] .kpi:nth-child(3)::before{background:#c64b55}body[data-view="dashboard"] .kpi strong{font-size:34px;color:#102f53}body[data-view="dashboard"] .dashboard-layout{gap:14px}body[data-view="dashboard"] .dashboard-module{min-height:300px;margin-top:14px;border-radius:18px;box-shadow:0 10px 32px rgba(20,55,91,.06)}body:not(.portal) .inventory-summary>div,body:not(.portal) .panel{border-radius:16px;box-shadow:0 9px 30px rgba(20,55,91,.06)}body:not(.portal) input,body:not(.portal) select{min-height:44px;border-radius:10px;background:#fbfcfe}
@media(max-width:900px){body:not(.portal)>aside{position:sticky;top:0;z-index:1000;width:100%;height:auto;padding:10px 16px 9px;box-shadow:0 8px 28px rgba(14,42,76,.18)}body:not(.portal)>aside .admin-brand{display:inline-block;width:168px;margin:0 10px 8px 0;padding:5px 7px;vertical-align:middle;border-radius:11px}body:not(.portal)>aside .admin-space-label{display:inline-flex;margin:0 0 8px;padding:0 0 0 10px;border:0;border-left:1px solid rgba(255,255,255,.18);vertical-align:middle}body:not(.portal)>aside .admin-space-label span{display:block}body:not(.portal)>aside nav{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;padding:2px 0 3px;scrollbar-width:none}body:not(.portal)>aside nav::-webkit-scrollbar{display:none}body:not(.portal)>aside nav button{flex:none;min-height:38px;padding:9px 12px;border-radius:999px;white-space:nowrap}body:not(.portal)>aside nav button.active{box-shadow:none;background:#fff;color:#123b6d}body:not(.portal)>main{margin:0;width:100%;padding:20px}body:not(.portal) main>header{min-height:auto;margin-bottom:18px;padding-bottom:15px}body:not(.portal) main>header h1{font-size:30px}.admin-overview{min-height:190px;padding:27px}.admin-overview .status-pill{position:absolute;right:20px;top:20px}}
@media(max-width:600px){.public-space-label{display:none}body:not(.portal)>aside{padding:8px 12px}body:not(.portal)>aside .admin-brand{width:148px}body:not(.portal)>aside .admin-space-label strong{font-size:10px}body:not(.portal)>aside .admin-space-label span{font-size:9px}body:not(.portal)>main{padding:15px}body:not(.portal) main>header{align-items:flex-start;flex-direction:row;flex-wrap:wrap}body:not(.portal) main>header>div:first-child{width:100%}body:not(.portal) .admin-actions{width:auto}.admin-overview{min-height:210px;padding:64px 22px 24px}.admin-overview p:not(.eyebrow){font-size:14px}.admin-overview .status-pill{left:22px;right:auto}.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-kpis .kpi{min-height:115px;padding:15px}.dashboard-kpis .kpi strong{font-size:28px}.dashboard-kpis .kpi small{font-size:11px}}

/* Inventario organizado por filtros */
.inventory-filter-panel{margin-bottom:18px;padding:20px 22px 22px;border:1px solid #dfe6ef;border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(20,55,91,.06)}.inventory-filter-panel>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #e8edf3}.inventory-filter-panel h2{margin:2px 0 0;color:#153858;font-size:18px}.inventory-filter-panel .eyebrow{margin:0}.inventory-filter-panel .quiet-button{border:1px solid #d2ddea;border-radius:999px;background:#f7f9fc;white-space:nowrap}.inventory-filter-panel .inventory-toolbar{display:grid;grid-template-columns:minmax(250px,1.7fr) repeat(3,minmax(160px,1fr));gap:13px;margin:0}.inventory-filter-panel label{margin:0;color:#586b82;font-size:11px;font-weight:750}.inventory-filter-panel input,.inventory-filter-panel select{margin-top:7px;background:#f9fbfd}.inventory-filter-panel .inventory-search{grid-column:span 2}.inventory-filter-panel input:focus,.inventory-filter-panel select:focus{outline:3px solid rgba(241,198,68,.28);border-color:#c99c15}
@media(max-width:1250px){.inventory-filter-panel .inventory-toolbar{grid-template-columns:repeat(3,1fr)}.inventory-filter-panel .inventory-search{grid-column:span 2}}
@media(max-width:800px){.inventory-filter-panel .inventory-toolbar{grid-template-columns:1fr 1fr}.inventory-filter-panel .inventory-search{grid-column:1/-1}}
@media(max-width:520px){.inventory-filter-panel{padding:17px}.inventory-filter-panel>header{align-items:flex-start}.inventory-filter-panel .inventory-toolbar{grid-template-columns:1fr}.inventory-filter-panel .inventory-search{grid-column:auto}}

/* Filtros y orden personalizado de columnas */
.reorderable-table{min-width:1120px}.reorderable-table thead tr:first-child th{position:relative;padding-top:12px;padding-bottom:8px;background:#f9fbfd}.reorderable-table th[data-column]{cursor:grab;user-select:none;transition:background .15s,opacity .15s}.reorderable-table th[data-column]:hover{background:#eef4fb}.reorderable-table th[data-column]:active{cursor:grabbing}.reorderable-table th[data-column].dragging{opacity:.38;background:#dfeafa}.reorderable-table th[data-column].drop-before:before,.reorderable-table th[data-column].drop-after:after{position:absolute;top:5px;bottom:5px;width:4px;border-radius:4px;background:#1f64b5;content:""}.reorderable-table th[data-column].drop-before:before{left:-2px}.reorderable-table th[data-column].drop-after:after{right:-2px}.column-heading{display:flex;align-items:center;gap:7px;min-height:26px}.drag-handle{color:#7590ae;font-size:17px;line-height:1}.column-filter-row th{padding:7px 8px 11px;background:#f9fbfd;border-bottom:2px solid #dfe6ef}.column-filter-row input,.column-filter-row select{min-width:105px;height:34px;min-height:34px;margin:0;padding:6px 8px;border-radius:8px;background:#fff;font-size:11px;text-transform:none;letter-spacing:0}.column-filter-row input[data-column-filter="property"]{min-width:185px}.column-filter-row input[data-column-filter="price"]{width:100px;min-width:90px}.column-reset{min-width:90px;height:34px;padding:6px 9px;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#365d89;font-size:10px;font-weight:700}.inventory-resultbar p:last-child{font-size:11px}.inventory-table td{background:#fff}.inventory-table tbody tr:hover td{background:#f8fbff}

/* Origen automático de leads */
.origin-badge{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.origin-badge.manual{background:#fff3cf;color:#7a5600}.origin-badge.formulario{background:#e0f3ea;color:#176a48}.origin-badge.descubrimiento{background:#e4edff;color:#24528f}.lead-origin-note{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 10px;padding:13px 15px;border:1px solid #dce6f1;border-radius:12px;background:#f7faff}.lead-origin-note>span{font-size:12px;font-weight:800;color:#58708d}.lead-origin-note small{grid-column:1/-1;color:#6b7e94}

/* Área de exploración ampliada */
.laboratory-main .explorer{--radar-workspace-height:min(86vh,980px)}.laboratory-main #listings{height:var(--radar-workspace-height);max-height:none;padding-right:12px;scrollbar-color:#8fa5be #e8eef5;scrollbar-width:auto}.laboratory-main #listings::-webkit-scrollbar{width:12px}.laboratory-main #listings::-webkit-scrollbar-track{border-radius:10px;background:#e8eef5}.laboratory-main #listings::-webkit-scrollbar-thumb{border:2px solid #e8eef5;border-radius:10px;background:#8fa5be}.laboratory-main #listings::-webkit-scrollbar-thumb:hover{background:#607f9f}.laboratory-main .map-workspace{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:var(--radar-workspace-height)}.laboratory-main .map-workspace #map{height:100%;min-height:0}@media(max-width:900px){.laboratory-main #listings{height:auto;max-height:none;padding-right:0}.laboratory-main .map-workspace{height:auto}.laboratory-main .map-workspace #map{height:48vh;min-height:390px}}

/* Mesa de análisis: resultados compactos, búsqueda y paginación */
.lab-filter-panel .location-filters .lab-search{grid-column:span 2}.listing-workspace{height:var(--radar-workspace-height);display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;border-radius:20px}.laboratory-main .listing-workspace #listings{height:auto;min-height:0}.laboratory-main .listing{display:grid;grid-template-columns:128px minmax(0,1fr);gap:17px;padding:16px}.laboratory-main .listing-media{align-self:start}.laboratory-main .listing-media>.listing-photo,.laboratory-main .listing-media>.photo-placeholder{width:128px;height:112px;margin:0;border-radius:12px;object-fit:cover}.laboratory-main .listing-copy{min-width:0}.laboratory-main .listing h2{margin:8px 0 5px;font-size:16px}.laboratory-main .listing-value{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.laboratory-main .listing-price{margin:4px 0;font-size:20px}.laboratory-main .listing-value small{color:#60758d;font-weight:750;white-space:nowrap}.laboratory-main .listing-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.listing-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:7px}.listing-actions .favorite-controls{display:contents}.listing-actions .favorite-controls label{flex:1 1 190px}.listing-actions .favorite-controls small{flex-basis:100%}.list-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:9px 12px;border:1px solid #dfe6ef;border-top:0;background:#fff;color:#5d7189;font-size:12px}.list-pagination button{padding:8px 11px;border-radius:999px;font-size:12px}.list-pagination button:disabled{cursor:not-allowed;opacity:.42}.list-pagination[hidden]{display:none}
@media(max-width:1100px){.lab-filter-panel .location-filters .lab-search{grid-column:span 2}.laboratory-main .listing{grid-template-columns:105px minmax(0,1fr);gap:13px}.laboratory-main .listing-media>.listing-photo,.laboratory-main .listing-media>.photo-placeholder{width:105px;height:96px}.laboratory-main .listing-description{display:none}}
@media(max-width:900px){.listing-workspace{height:auto;overflow:visible}.laboratory-main .listing-workspace #listings{height:auto;max-height:850px}.list-pagination{border:1px solid #dfe6ef;border-radius:0 0 16px 16px}.map-workspace{position:sticky;top:82px;z-index:2}}
@media(max-width:600px){.lab-filter-panel .location-filters .lab-search{grid-column:1/-1}.laboratory-main .listing{grid-template-columns:88px minmax(0,1fr);gap:11px;padding:13px}.laboratory-main .listing-media>.listing-photo,.laboratory-main .listing-media>.photo-placeholder{width:88px;height:82px}.laboratory-main .listing h2{font-size:14px}.laboratory-main .listing-price{font-size:17px}.laboratory-main .listing-value{align-items:flex-start;flex-direction:column;gap:0}.listing-actions{grid-column:1/-1}.list-pagination span{text-align:center}.list-pagination button{padding:7px 9px;font-size:11px}}

/* Seguimientos: CRM operativo */
.lead-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.lead-summary>button{min-height:122px;padding:20px;text-align:left;border:1px solid #dfe6ef;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(20,55,91,.06);color:#193b61}.lead-summary>button:hover{transform:translateY(-2px);border-color:#b9cce2;box-shadow:0 15px 36px rgba(20,55,91,.1)}.lead-summary span,.lead-summary small{display:block;color:#718299}.lead-summary span{font-size:12px;font-weight:750}.lead-summary strong{display:block;margin:9px 0 5px;color:#102f53;font-size:33px}.lead-summary small{font-size:10px}.lead-summary>button:nth-child(2){border-top:4px solid #f1c644}.lead-summary>button:nth-child(3){border-top:4px solid #2f75b5}.lead-summary>button:nth-child(4){border-top:4px solid #36a36b}.lead-workspace{overflow:hidden;border:1px solid #dfe6ef;border-radius:20px;background:#fff;box-shadow:0 12px 38px rgba(20,55,91,.07)}.lead-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px 18px}.lead-workspace>header h2{margin:3px 0;color:#153858;font-size:22px}.lead-workspace>header p:not(.eyebrow){margin:5px 0 0;color:#718299;font-size:12px}.lead-workspace>header button{border-radius:999px}.lead-scope-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 24px 15px;border-bottom:1px solid #e5ebf2}.lead-scope-tabs button{flex:none;padding:9px 14px;border:1px solid #d7e1ec;border-radius:999px;background:#f8fafc;color:#45617f;font-size:12px}.lead-scope-tabs button[aria-pressed="true"]{border-color:#153e72;background:#153e72;color:#fff;box-shadow:0 6px 16px rgba(21,62,114,.2)}.lead-filters{display:grid;grid-template-columns:minmax(260px,1.7fr) repeat(3,minmax(150px,1fr));gap:12px;padding:17px 24px;background:#f8fafc}.lead-filters label{color:#5c6f86;font-size:10px;font-weight:750}.lead-filters input,.lead-filters select{margin-top:6px;background:#fff}.lead-table{margin:0;border:0;border-radius:0!important;box-shadow:none!important}.lead-resultbar{padding:13px 18px;border-bottom:1px solid #e6ebf1;color:#61758d;font-size:12px}.lead-resultbar strong{color:#153e72;font-size:16px}.lead-table table{min-width:1120px}.lead-table td{vertical-align:top}.lead-person{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lead-table td p{margin:6px 0;color:#4c627b;font-size:12px}.lead-table td small{color:#8290a1}.lead-tags{margin-top:8px}.interest-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef2f7;color:#607187;font-size:10px;font-weight:800;text-transform:uppercase}.interest-badge.alto{background:#def3e7;color:#176a48}.interest-badge.medio{background:#fff1c7;color:#795600}.interest-badge.bajo{background:#fde5df;color:#9c3d2f}.lead-date{width:max-content;padding:4px 8px;border-radius:7px;background:#edf3fa;color:#315b87!important;font-weight:750}.lead-date.overdue{background:#fde3df;color:#a43c30!important}.lead-state{min-width:142px;height:38px;min-height:38px;background:#f7f9fc!important;font-size:11px;font-weight:750}.lead-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:310px}.lead-actions>a,.lead-actions>button{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:9px;font-size:10px;font-weight:750;text-decoration:none}.lead-action{border:1px solid #d5dfeb;background:#f7f9fc;color:#244f7e}.lead-action.whatsapp{border-color:#bce3cc;background:#e5f6ec;color:#167247}.lead-empty{display:grid;place-items:center;gap:6px;min-height:220px;color:#718299}.lead-empty strong{color:#284c73;font-size:17px}
@media(max-width:1050px){.lead-summary{grid-template-columns:1fr 1fr}.lead-filters{grid-template-columns:1fr 1fr}.lead-search{grid-column:1/-1}}
@media(max-width:600px){.lead-summary{gap:9px}.lead-summary>button{min-height:104px;padding:15px}.lead-summary strong{font-size:27px}.lead-workspace>header{align-items:flex-start;flex-direction:column;padding:19px}.lead-workspace>header button{width:100%}.lead-scope-tabs{padding:0 19px 14px}.lead-filters{grid-template-columns:1fr;padding:15px 19px}.lead-search{grid-column:auto}}

/* Contacto directo de profesionales */
.professional-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.whatsapp-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border:1px solid #a9ddbf;border-radius:9px;background:#e4f6eb;color:#116b40;font-size:11px;font-weight:800;text-decoration:none}.whatsapp-button:hover{border-color:#69bd8e;background:#d5f1e1;color:#0c5934}.professional-card-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;grid-column:1/-1;padding:15px 16px;border:1px solid #cce9d8;border-radius:13px;background:#f0faf4}.professional-card-actions div{display:flex;flex-direction:column;gap:3px}.professional-card-actions strong{color:#184f36;font-size:13px}.professional-card-actions small{color:#5d7b6b;font-size:11px}.professional-card-actions .whatsapp-button{flex:none;border-color:#1f9d5a;background:#1f9d5a;color:#fff}.professional-card-actions .whatsapp-button:hover{border-color:#167b46;background:#167b46}
.danger-button{border:1px solid #e1aaa5!important;background:#fff!important;color:#a43d35!important}.danger-button:hover{border-color:#c85e54!important;background:#fcebea!important;color:#852d27!important}
@media(max-width:600px){.professional-card-actions{align-items:stretch;flex-direction:column}.professional-card-actions .whatsapp-button{width:100%}}

/* Estados de evaluación de la red profesional */
.professional-status{border:1px solid transparent;font-weight:800}.professional-status.status-candidato{border-color:#c8d9ee;background:#e8f0fa;color:#24598e}.professional-status.status-contactado{border-color:#ecd47c;background:#fff4c7;color:#785900}.professional-status.status-documentacion-pendiente{border-color:#f1bd7c;background:#fff0de;color:#8a4c08}.professional-status.status-evaluado{border-color:#d4c3ef;background:#f0e9fb;color:#65409a}.professional-status.status-aprobado{border-color:#a9ddbf;background:#e1f5e9;color:#176a48}.professional-status.status-descartado{border-color:#efbbb4;background:#fde7e3;color:#9a392e}
.professional-state-select{border-width:2px;font-weight:800;transition:border-color .15s,background .15s,color .15s}.professional-state-select.status-candidato{border-color:#9dbce0;background:#e8f0fa;color:#24598e}.professional-state-select.status-contactado{border-color:#d9bc4b;background:#fff4c7;color:#785900}.professional-state-select.status-documentacion-pendiente{border-color:#e9a754;background:#fff0de;color:#8a4c08}.professional-state-select.status-evaluado{border-color:#b99dde;background:#f0e9fb;color:#65409a}.professional-state-select.status-aprobado{border-color:#73c397;background:#e1f5e9;color:#176a48}.professional-state-select.status-descartado{border-color:#df8e84;background:#fde7e3;color:#9a392e}
.professional-category-select{min-width:150px;border:1px dashed #a8b7c8;border-radius:999px;background:#f4f7fa;color:#52677f;font-size:11px;font-weight:850;transition:border-color .15s,background .15s,color .15s}.professional-category-select.category-arquitecto{border-style:solid;border-color:#bba7df;background:#eee8fb;color:#613a98}.professional-category-select.category-albanil{border-style:solid;border-color:#e8bd73;background:#fff0d8;color:#86510c}.professional-category-select.category-empresa-de-construccion{border-style:solid;border-color:#8eb5de;background:#e4f0fb;color:#19558e}.professional-category-select.category-otra{border-style:solid;border-color:#bdc7d2;background:#edf1f5;color:#4c5e72}.professional-category-select:not(.category-):not(.category-arquitecto):not(.category-albanil):not(.category-empresa-de-construccion):not(.category-otra){border-style:solid;border-color:#7fcbbd;background:#e3f6f1;color:#176d60}
.professional-discovery{margin-top:18px;padding:24px;border-radius:18px;background:linear-gradient(125deg,#0b2d57,#174f8d);color:#fff;box-shadow:0 14px 34px rgba(10,42,82,.16)}.professional-discovery>header{align-items:flex-start}.professional-discovery h2{margin:3px 0 7px;font-size:25px;color:#fff}.professional-discovery header p:last-child{margin:0;color:#c5d7ea}.professional-discovery .eyebrow{margin:0;color:#f5cb3e}.discovery-mark{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff3d;border-radius:50%;background:#ffffff14;color:#f5cb3e;font-size:29px}.professional-discovery form{display:grid;grid-template-columns:1.35fr 1fr .8fr .8fr;gap:12px;margin-top:20px}.professional-discovery label{margin:0;color:#d9e6f3;font-size:11px;font-weight:750}.professional-discovery input,.professional-discovery select{margin-top:7px;border-color:#ffffff3d;background:#fff;color:#173454}.professional-discovery-actions{display:grid;grid-template-columns:1.25fr 1fr;grid-column:1/-1;gap:10px}.professional-discovery-actions button{margin:2px 0 0}.professional-discovery-actions button:first-child{background:#f2c744;color:#112f54;font-weight:850}.professional-discovery-actions .secondary-action{border:1px solid #ffffff45;background:#ffffff13;color:#fff}.discovery-note{margin:13px 0 0!important;color:#afc5db;font-size:11px}
.professional-search-panel{margin:18px 0 0;padding:20px 22px;border:1px solid #dfe6ef;border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(20,55,91,.06)}.professional-search-panel>header{padding-bottom:14px;border-bottom:1px solid #e8edf3}.professional-search-panel h2{margin:2px 0 0;color:#153858}.professional-search-panel .eyebrow{margin:0}.professional-search-panel .quiet-button{border:1px solid #d2ddea;border-radius:999px;background:#f7f9fc;white-space:nowrap}.professional-search-controls{display:grid;grid-template-columns:minmax(280px,2fr) minmax(180px,1fr) minmax(180px,1fr);gap:14px;margin-top:14px}.professional-search-controls label{margin:0;color:#586b82;font-size:11px;font-weight:750}.professional-search-controls input,.professional-search-controls select{margin-top:7px;background:#f9fbfd}.professional-table{margin-top:16px}.professional-resultbar{display:flex;align-items:baseline;gap:6px;padding:0 0 15px;color:#68798f}.professional-resultbar strong{color:#173d69;font-size:20px}.professional-table .empty{display:flex;flex-direction:column;gap:7px}.professional-table .empty strong{color:#173d69}@media(max-width:1000px){.professional-discovery form{grid-template-columns:1fr 1fr}.professional-search-controls{grid-template-columns:1fr 1fr}.professional-search-controls label:first-child{grid-column:1/-1}}@media(max-width:650px){.professional-discovery form,.professional-discovery-actions,.professional-search-controls{grid-template-columns:1fr}.professional-search-controls label:first-child{grid-column:auto}.professional-search-panel>header{align-items:flex-start;flex-direction:column}.professional-search-panel .quiet-button{width:100%}}
.discovery-results{margin-top:18px}.discovery-results>header{padding-bottom:15px;border-bottom:1px solid #e3eaf2}.discovery-results h2{margin:3px 0 0}.discovery-selectbar{padding:13px 0;color:#60728a}.discovery-selectbar label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:800}.discovery-selectbar input,.discovery-candidate>input{width:auto}.discovery-list{display:grid;gap:10px}.discovery-candidate{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:start;padding:15px;border:1px solid #e0e7f0;border-radius:12px;background:#fff}.discovery-candidate.existing{background:#f4f7fa}.discovery-candidate h3{margin:0 0 6px;color:#153858}.discovery-candidate p{margin:0 0 7px;color:#4f6279}.discovery-candidate small{color:#74859a}.duplicate-label{padding:5px 8px;border-radius:999px;background:#e7edf5;color:#536b86;font-size:10px;font-weight:800}.discovery-candidate-actions{display:flex;align-items:center;gap:8px}.discovery-candidate-actions a{white-space:nowrap;color:#214f83;font-size:12px;font-weight:800}.discovery-loading{display:flex;flex-direction:column;gap:7px;padding:20px;color:#173d69}.discovery-loading span{color:#67798f}@media(max-width:760px){.discovery-results>header,.discovery-candidate{grid-template-columns:1fr}.discovery-results>header{align-items:flex-start;flex-direction:column}.discovery-candidate>input{position:absolute;top:17px;right:17px}.discovery-candidate-actions{align-items:stretch;flex-direction:column}.discovery-candidate-actions button,.discovery-candidate-actions a{text-align:center}}

/* Formulario público de la red profesional */
.public-professional-link{display:inline-flex;align-items:center;min-height:38px;margin-right:6px;padding:8px 13px;border:1px solid #d4dfeb;border-radius:999px;color:#214d7d;font-size:12px;font-weight:800;text-decoration:none}.public-professional-link:hover{border-color:#9eb7d1;background:#f4f8fc}@media(max-width:700px){.public-professional-link{min-height:34px;margin-right:3px;padding:7px 9px;font-size:10px}}
.application-page{display:block;min-height:100vh;background:#eef3f8;color:#122b4a}.application-header{display:flex;align-items:center;justify-content:space-between;min-height:86px;padding:12px clamp(22px,5vw,80px);border-top:4px solid #efc53e;background:#fff;box-shadow:0 8px 30px rgba(20,55,91,.07)}.application-header img{display:block;width:190px;max-height:58px}.application-back{padding:10px 16px;border:1px solid #d3dfea;border-radius:999px;color:#204c7b;font-size:13px;font-weight:800;text-decoration:none}.application-main{display:grid;width:100%;grid-template-columns:minmax(300px,.8fr) minmax(560px,1.2fr);gap:45px;max-width:1280px;margin:0 auto;padding:58px 36px 80px}.application-intro{padding:34px 12px}.application-intro h1{max-width:600px;margin:10px 0 18px;color:#0e3157;font-size:clamp(38px,5vw,64px);letter-spacing:-2.4px;line-height:1}.application-intro>p:not(.eyebrow){max-width:570px;color:#526b85;font-size:18px;line-height:1.65}.application-steps{display:grid;gap:12px;margin:34px 0}.application-steps span{display:flex;align-items:center;gap:13px;color:#31516f;font-weight:750}.application-steps strong{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#153f72;color:#fff}.application-notice{margin-top:34px;padding:20px;border-left:4px solid #eac23c;border-radius:0 13px 13px 0;background:#fff}.application-notice p{margin:6px 0 0;color:#65788d;font-size:13px;line-height:1.5}.application-card{padding:30px;border:1px solid #dce4ed;border-radius:22px;background:#fff;box-shadow:0 22px 55px rgba(18,47,82,.1)}.application-card>header{padding-bottom:19px;border-bottom:1px solid #e7ecf2}.application-card h2{margin:4px 0 6px;color:#14395f;font-size:26px}.application-card header p:last-child{margin:0;color:#748399;font-size:12px}.application-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px;padding:24px 0 18px}.application-fields label{color:#4f647c;font-size:11px;font-weight:800}.application-fields input,.application-fields select,.application-fields textarea{width:100%;margin-top:7px;border:1px solid #ccd8e5;border-radius:10px;background:#fbfcfe}.application-fields input,.application-fields select{min-height:45px}.application-fields textarea{resize:vertical}.application-wide{grid-column:1/-1}.application-honeypot{position:absolute;left:-9999px}.application-consent{display:flex;align-items:flex-start;gap:10px;padding:15px;border-radius:12px;background:#f4f7fa;color:#52677f;font-size:12px;line-height:1.45}.application-consent input{flex:none;margin-top:3px}.application-privacy{color:#75869a;font-size:11px}.application-message{min-height:20px;color:#a23b31;font-size:12px;font-weight:750}.application-card button[type="submit"]{width:100%;min-height:48px;border-radius:11px;background:#153f72;font-weight:800}.application-card button[type="submit"]:disabled{opacity:.55}.application-success{padding:65px 25px;text-align:center}.application-success>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;border-radius:50%;background:#ddf4e7;color:#167247;font-size:28px;font-weight:900}.application-success p{max-width:520px;margin:12px auto 26px;color:#65788d;line-height:1.6}.application-success a{display:inline-flex;padding:11px 18px;border-radius:999px;background:#153f72;color:#fff;font-weight:800;text-decoration:none}
@media(max-width:900px){.application-main{grid-template-columns:1fr;gap:12px;padding-top:25px}.application-intro{padding:20px 4px}.application-intro h1{font-size:45px}.application-steps{grid-template-columns:repeat(3,1fr)}.application-steps span{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.application-header{padding:9px 15px}.application-header img{width:150px}.application-back{padding:8px 11px;font-size:11px}.application-main{padding:20px 14px 50px}.application-intro h1{font-size:38px}.application-intro>p:not(.eyebrow){font-size:15px}.application-steps{grid-template-columns:1fr}.application-steps span{align-items:center;flex-direction:row}.application-card{padding:21px 17px}.application-fields{grid-template-columns:1fr}.application-wide{grid-column:auto}}

/* Búsqueda y captura manual del laboratorio */
.laboratory-tabs .capture-tab{margin-left:auto;border:1px solid #163f73;background:#163f73;color:#fff;font-weight:800}.capture-dialog{width:min(1040px,94vw);max-width:1040px;padding:0;border:0;border-radius:24px;color:#173454;box-shadow:0 30px 90px rgba(8,28,55,.3)}.capture-dialog::backdrop{background:rgba(10,29,54,.72);backdrop-filter:blur(4px)}.capture-shell{padding:30px}.capture-shell>header{padding:0 2px 22px;border-bottom:1px solid #e1e8f0}.capture-shell h2{margin:4px 0 0;font-size:28px}.capture-close{width:42px;height:42px;padding:0;border-radius:50%;background:#edf2f8;color:#183f78;font-size:25px}.capture-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:22px}.capture-card{position:relative;margin:0;padding:24px;border:1px solid #dce5ef;border-radius:18px;background:#f8fafc}.capture-card-accent{border-top:4px solid #efc43b;background:#fff}.capture-card h3{margin:4px 0 8px;font-size:21px}.capture-card>p{margin:0 0 18px;color:#687b91}.capture-step{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e5edf7;color:#184276;font-weight:900}.capture-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.capture-card small{display:block;margin:-5px 0 15px;color:#718299}.capture-status{min-height:24px;margin:10px 0!important;font-size:13px;font-weight:750}.capture-status.success{color:#176a48}.capture-status.error{color:#a43c30}.capture-inventory{display:block;margin-top:14px;color:#164579;font-size:13px;font-weight:800;text-align:center;text-decoration:none}@media(max-width:760px){.laboratory-tabs .capture-tab{margin-left:0}.capture-shell{padding:20px 15px}.capture-grid{grid-template-columns:1fr}.capture-fields{grid-template-columns:1fr}}
.capture-shell>header>div>p:last-child{margin:8px 0 0;color:#718299}.capture-portal-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.capture-portal-links a{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid #cbd9e8;border-radius:9px;background:#f5f8fc;color:#17477f;font-size:12px;font-weight:700;text-decoration:none}.capture-portal-links a:hover{border-color:#17477f;background:#fff}.capture-update{grid-column:1/-1;background:linear-gradient(120deg,#f7faff,#eef4fb)}.capture-update-copy{display:flex;align-items:flex-start;gap:14px}.capture-update-copy h3{margin:0 0 6px}.capture-update-copy p{margin:0;color:#687b91}.capture-source-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.capture-source-summary>div{display:flex;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #dbe5ef;border-radius:11px;background:#fff}.capture-source-summary span{color:#6c7d91;font-size:13px}.capture-update-actions{display:flex;gap:10px;flex-wrap:wrap}.capture-guardrails{display:flex;gap:10px;margin-top:14px;padding:12px 14px;border-radius:10px;background:#fff8df;color:#67520c;font-size:12px}.capture-guardrails strong{white-space:nowrap}@media(max-width:760px){.capture-source-summary{grid-template-columns:1fr}.capture-source-summary>div,.capture-guardrails{align-items:flex-start;flex-direction:column}.capture-update-actions button{width:100%}}

.recover-access{width:100%;margin-top:10px;border:1px solid #b9c9dc;background:#fff;color:#174373;font-weight:800}.recover-access:hover{background:#eef4fa}

/* Mapa de Venezuela con radar animado */
.lab-hero>div:first-child{position:relative;z-index:2}.lab-hero-visual{position:absolute;z-index:1;right:38px;top:16px;width:390px;height:210px;opacity:.94}.venezuela-map{position:absolute;right:3px;top:-45px;width:310px;height:276px;filter:drop-shadow(0 12px 18px rgba(2,20,43,.2))}.venezuela-map path{fill:rgba(120,177,220,.15);stroke:rgba(187,219,243,.52);stroke-width:4}.hero-radar-scope{position:absolute;right:97px;top:21px;width:176px;height:176px;border:1px solid rgba(207,232,249,.25);border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 28px,rgba(205,232,250,.19) 29px 30px)}.hero-radar-scope::before,.hero-radar-scope::after{content:"";position:absolute;z-index:1;background:rgba(205,232,250,.17)}.hero-radar-scope::before{left:50%;top:0;width:1px;height:100%}.hero-radar-scope::after{left:0;top:50%;width:100%;height:1px}.hero-radar-scope b{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 305deg,rgba(73,181,219,.04) 320deg,rgba(102,209,233,.46) 360deg);animation:hero-radar-sweep 4.8s linear infinite;transform-origin:center}.hero-radar-scope i{position:absolute;z-index:3;left:48px;top:49px;width:10px;height:10px;border:3px solid #fff;border-radius:50%;background:#f1c644;box-shadow:0 0 0 9px rgba(241,198,68,.14),0 0 20px #f1c644;animation:hero-radar-pulse 2.1s ease-in-out infinite}.hero-radar-scope em{position:absolute;z-index:3;left:62px;top:39px;padding:3px 7px;border-radius:999px;background:rgba(5,31,61,.68);color:#fff;font-size:9px;font-style:normal;font-weight:750;letter-spacing:.2px;white-space:nowrap}.hero-radar-scope>span{position:absolute;z-index:2;width:6px;height:6px;border-radius:50%;background:#f1c644;box-shadow:0 0 10px rgba(241,198,68,.9);animation:hero-city-blink 3s ease-in-out infinite}.hero-radar-scope>span:nth-child(1){right:30px;top:62px;animation-delay:.5s}.hero-radar-scope>span:nth-child(2){right:51px;bottom:30px;animation-delay:1.2s}.hero-radar-scope>span:nth-child(3){left:30px;bottom:50px;animation-delay:1.9s}@keyframes hero-radar-sweep{to{transform:rotate(360deg)}}@keyframes hero-radar-pulse{50%{transform:scale(1.22);box-shadow:0 0 0 15px rgba(241,198,68,.05),0 0 26px #f1c644}}@keyframes hero-city-blink{0%,65%,100%{opacity:.36}75%{opacity:1}}@media(max-width:900px){.lab-hero-visual{right:-26px;opacity:.48}.lab-hero>div:first-child{max-width:72%}}@media(max-width:600px){.lab-hero{min-height:220px;padding:30px 24px}.lab-hero-visual{right:-92px;top:14px;transform:scale(.84)}.lab-hero>div:first-child{max-width:88%}.hero-radar-scope em{display:none}}@media(prefers-reduced-motion:reduce){.hero-radar-scope b,.hero-radar-scope i,.hero-radar-scope>span{animation:none}}

/* Menú superior del laboratorio */
.portal .public-header .public-menu{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin:0 0 0 auto}.portal .public-header .public-menu #account,.portal .public-header .public-menu #adminLink{min-height:auto;padding:4px 0;border:0;border-radius:0;background:transparent;color:#173f72;font-size:13px;font-weight:750;line-height:1.2;text-decoration:none;box-shadow:none}.portal .public-header .public-menu #account:hover,.portal .public-header .public-menu #adminLink:hover{color:#0b284a;text-decoration:underline;text-underline-offset:5px;background:transparent}.portal .public-header .public-menu #account:focus-visible,.portal .public-header .public-menu #adminLink:focus-visible{outline:3px solid rgba(241,198,68,.55);outline-offset:5px}.portal .public-header .public-menu #account{white-space:nowrap}@media(max-width:700px){.portal .public-header .public-menu{align-items:flex-end;flex-direction:column-reverse;gap:6px}.portal .public-header .public-menu #account,.portal .public-header .public-menu #adminLink{padding:2px 0;font-size:11px}}

/* Selector de apariencia y tema oscuro del laboratorio */
.portal .public-header .public-menu #themeToggle{min-height:auto;padding:4px 0;border:0;border-radius:0;background:transparent;color:#173f72;font-size:13px;font-weight:750;line-height:1.2;text-decoration:none;box-shadow:none}.portal .public-header .public-menu #themeToggle:hover{color:#0b284a;text-decoration:underline;text-underline-offset:5px;background:transparent}.portal .public-header .public-menu #themeToggle:focus-visible{outline:3px solid rgba(241,198,68,.55);outline-offset:5px}.portal .public-header .public-menu #themeToggle::before{content:"◐";margin-right:6px;color:#173f72}
html[data-theme="dark"]{color-scheme:dark;background:#081524}html[data-theme="dark"] body.portal{background:#0a1728;color:#d8e3f0}html[data-theme="dark"] .portal .public-header{background:rgba(9,25,44,.96);border-bottom-color:#263c57;box-shadow:0 8px 30px rgba(0,0,0,.3)}html[data-theme="dark"] .portal .public-brand{padding:3px 7px;border-radius:12px;background:#f7f9fc}html[data-theme="dark"] .portal .public-header .public-menu #account,html[data-theme="dark"] .portal .public-header .public-menu #adminLink,html[data-theme="dark"] .portal .public-header .public-menu #themeToggle{color:#dce8f6}html[data-theme="dark"] .portal .public-header .public-menu #account:hover,html[data-theme="dark"] .portal .public-header .public-menu #adminLink:hover,html[data-theme="dark"] .portal .public-header .public-menu #themeToggle:hover{color:#f3ca54}html[data-theme="dark"] .portal .public-header .public-menu #themeToggle::before{content:"☀";color:#f3ca54}
html[data-theme="dark"] .lab-filter-panel,html[data-theme="dark"] .laboratory-main .listing,html[data-theme="dark"] .map-workspace,html[data-theme="dark"] .list-pagination,html[data-theme="dark"] .capture-dialog,html[data-theme="dark"] .capture-card,html[data-theme="dark"] .capture-source-summary>div,html[data-theme="dark"] .panel{background:#111f32;border-color:#2a4059;color:#d8e3f0;box-shadow:0 12px 36px rgba(0,0,0,.22)}html[data-theme="dark"] .lab-section-heading h2,html[data-theme="dark"] .map-heading h2,html[data-theme="dark"] .lab-result-line p,html[data-theme="dark"] .laboratory-main .listing h2,html[data-theme="dark"] .laboratory-main .listing-price,html[data-theme="dark"] .property-popup h3,html[data-theme="dark"] .capture-dialog h2,html[data-theme="dark"] .capture-dialog h3{color:#edf4fc}html[data-theme="dark"] .lab-section-heading p,html[data-theme="dark"] .map-heading p,html[data-theme="dark"] .lab-result-line>span,html[data-theme="dark"] .laboratory-main .listing>p:not(.muted):not(.location-note),html[data-theme="dark"] .muted,html[data-theme="dark"] .capture-card>p,html[data-theme="dark"] .capture-shell>header>div>p:last-child,html[data-theme="dark"] .capture-update-copy p,html[data-theme="dark"] .capture-source-summary span{color:#9fb0c4}html[data-theme="dark"] .lab-section-heading>div>span,html[data-theme="dark"] .map-heading>div>span,html[data-theme="dark"] .capture-step{background:#1b3553;color:#9fc3ef}
html[data-theme="dark"] .lab-filter-panel input,html[data-theme="dark"] .lab-filter-panel select,html[data-theme="dark"] .capture-dialog input,html[data-theme="dark"] .capture-dialog select,html[data-theme="dark"] .property-popup select{background:#0b1829;border-color:#354a63;color:#e4edf7}html[data-theme="dark"] .clear-filters,html[data-theme="dark"] .filter-toggle-label,html[data-theme="dark"] .capture-portal-links a{background:#142740;border-color:#38516d;color:#bcd3ed}html[data-theme="dark"] .lab-filter-panel .laboratory-tabs .operation-tab{background:#172b44;color:#bcd3ed}html[data-theme="dark"] .lab-filter-panel #favorites-tab{background:#3b321b;color:#f6d978;border-color:#6a5623}html[data-theme="dark"] .laboratory-main .listing>.badge{background:#1b3553;color:#a9c9ed}html[data-theme="dark"] .laboratory-main .listing .map-link{background:#192e48;color:#bcd3ed}html[data-theme="dark"] .laboratory-main .listing-selected{background:#142942;border-color:#efc43b;box-shadow:0 0 0 3px rgba(239,196,59,.8),0 16px 36px rgba(0,0,0,.3)}html[data-theme="dark"] .map-workspace .map-heading{border-bottom-color:#2a4059}html[data-theme="dark"] .map-workspace #mapHint{background:#0d1b2d;border-top-color:#2a4059;color:#9fb0c4}html[data-theme="dark"] .map-workspace .leaflet-tile-pane{filter:brightness(.72) saturate(.75) contrast(1.12)}html[data-theme="dark"] .leaflet-popup-content-wrapper,html[data-theme="dark"] .leaflet-popup-tip{background:#111f32;color:#d8e3f0}html[data-theme="dark"] .leaflet-control-zoom a{background:#13263e;color:#e7eff8;border-bottom-color:#344960}html[data-theme="dark"] .leaflet-control-attribution{background:rgba(9,24,41,.82);color:#b8c8da}html[data-theme="dark"] .leaflet-control-attribution a{color:#8fbae8}html[data-theme="dark"] .capture-shell>header{border-bottom-color:#2a4059}html[data-theme="dark"] .capture-card-accent{background:#111f32;border-top-color:#efc43b}html[data-theme="dark"] .capture-update{background:linear-gradient(120deg,#111f32,#152944)}html[data-theme="dark"] .capture-close{background:#1b3553;color:#dce8f6}html[data-theme="dark"] .capture-guardrails{background:#3a311b;color:#f2d781}
@media(max-width:700px){.portal .public-header{flex-wrap:wrap}.portal .public-header .public-menu{width:100%;align-items:center;flex-direction:row;flex-wrap:wrap;gap:8px 15px}.portal .public-header .public-menu #themeToggle{padding:2px 0;font-size:11px}.portal .public-header .public-menu #themeToggle::before{margin-right:4px}html[data-theme="dark"] .portal .public-brand{padding:2px 5px}}

/* Menú y tema del panel de administración */
body:not(.portal) .admin-actions{gap:22px}body:not(.portal) .admin-actions .admin-menu-link,body:not(.portal) .admin-actions #adminThemeToggle,body:not(.portal) .admin-actions #logout{min-height:auto;padding:4px 0;border:0;border-radius:0;background:transparent;color:#173f72;font-size:13px;font-weight:750;line-height:1.2;text-decoration:none;box-shadow:none}body:not(.portal) .admin-actions .admin-menu-link:hover,body:not(.portal) .admin-actions #adminThemeToggle:hover,body:not(.portal) .admin-actions #logout:hover{color:#0b284a;text-decoration:underline;text-underline-offset:5px;background:transparent}body:not(.portal) .admin-actions #adminThemeToggle::before{content:"◐";margin-right:6px;color:#173f72}
html[data-theme="dark"] body:not(.portal){background:#081524;color:#d8e3f0}html[data-theme="dark"] body:not(.portal) main>header{border-bottom-color:#263c57}html[data-theme="dark"] body:not(.portal) main>header h1,html[data-theme="dark"] body:not(.portal) h2,html[data-theme="dark"] body:not(.portal) .card strong,html[data-theme="dark"] body:not(.portal) .kpi strong,html[data-theme="dark"] body:not(.portal) .summary-list strong,html[data-theme="dark"] body:not(.portal) .professional-score strong,html[data-theme="dark"] body:not(.portal) .inventory-summary strong{color:#edf4fc}html[data-theme="dark"] body:not(.portal) .admin-actions .admin-menu-link,html[data-theme="dark"] body:not(.portal) .admin-actions #adminThemeToggle,html[data-theme="dark"] body:not(.portal) .admin-actions #logout{color:#c9d9ea}html[data-theme="dark"] body:not(.portal) .admin-actions .admin-menu-link:hover,html[data-theme="dark"] body:not(.portal) .admin-actions #adminThemeToggle:hover,html[data-theme="dark"] body:not(.portal) .admin-actions #logout:hover{color:#f3ca54}html[data-theme="dark"] body:not(.portal) .admin-actions #adminThemeToggle::before{content:"☀";color:#f3ca54}
html[data-theme="dark"] body:not(.portal) .card,html[data-theme="dark"] body:not(.portal) .panel,html[data-theme="dark"] body:not(.portal) .kpi,html[data-theme="dark"] body:not(.portal) .inventory-summary>div,html[data-theme="dark"] body:not(.portal) .lead-workspace{background:#111f32;border-color:#2a4059;color:#d8e3f0;box-shadow:0 10px 32px rgba(0,0,0,.22)}html[data-theme="dark"] body:not(.portal) .card span,html[data-theme="dark"] body:not(.portal) .muted,html[data-theme="dark"] body:not(.portal) .empty,html[data-theme="dark"] body:not(.portal) th,html[data-theme="dark"] body:not(.portal) .summary-list p,html[data-theme="dark"] body:not(.portal) .professional-score span{color:#9fb0c4}html[data-theme="dark"] body:not(.portal) td,html[data-theme="dark"] body:not(.portal) th,html[data-theme="dark"] body:not(.portal) .summary-list p{border-bottom-color:#2a4059}html[data-theme="dark"] body:not(.portal) input,html[data-theme="dark"] body:not(.portal) select,html[data-theme="dark"] body:not(.portal) textarea{background:#0b1829;border-color:#354a63;color:#e4edf7}html[data-theme="dark"] body:not(.portal) .inventory-resultbar,html[data-theme="dark"] body:not(.portal) .lead-filters{background:#0d1b2d;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) dialog{background:#111f32;color:#d8e3f0}html[data-theme="dark"] body:not(.portal) #close,html[data-theme="dark"] body:not(.portal) .quiet-button{background:#1b3553;color:#c7dbef}html[data-theme="dark"] body:not(.portal) .lead-summary>button{background:#111f32;border-color:#2a4059;color:#d8e3f0}html[data-theme="dark"] body:not(.portal) .lead-summary strong,html[data-theme="dark"] body:not(.portal) .lead-workspace>header h2{color:#edf4fc}
html[data-theme="dark"] body:not(.portal) .source-kpis article,html[data-theme="dark"] body:not(.portal) .source-card-stats p{background:#111f32;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) .source-kpis span,html[data-theme="dark"] body:not(.portal) .source-progress>div,html[data-theme="dark"] body:not(.portal) .source-card-stats span{color:#9fb0c4}html[data-theme="dark"] body:not(.portal) .source-kpis strong,html[data-theme="dark"] body:not(.portal) .source-progress strong,html[data-theme="dark"] body:not(.portal) .source-card-stats strong{color:#edf4fc}html[data-theme="dark"] body:not(.portal) .capture-status{background:#162d49;color:#bcd4ee}html[data-theme="dark"] body:not(.portal) .capture-status.running{background:#3a3218;color:#f7db7b}html[data-theme="dark"] body:not(.portal) .capture-status.failed{background:#3f2025;color:#ffbec4}html[data-theme="dark"] body:not(.portal) .source-progress progress,html[data-theme="dark"] body:not(.portal) .source-progress progress::-webkit-progress-bar{background:#293b50}
html[data-theme="dark"] body:not(.portal) .professional-search-panel{background:#111f32;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) .professional-search-panel>header{border-bottom-color:#2a4059}html[data-theme="dark"] body:not(.portal) .professional-search-panel h2,html[data-theme="dark"] body:not(.portal) .professional-resultbar strong,html[data-theme="dark"] body:not(.portal) .professional-table .empty strong{color:#edf4fc}html[data-theme="dark"] body:not(.portal) .professional-search-controls label{color:#9fb0c4}
html[data-theme="dark"] body:not(.portal) .discovery-results>header{border-bottom-color:#2a4059}html[data-theme="dark"] body:not(.portal) .discovery-candidate{background:#0d1b2d;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) .discovery-candidate.existing{background:#172638}html[data-theme="dark"] body:not(.portal) .discovery-candidate h3,html[data-theme="dark"] body:not(.portal) .discovery-loading{color:#edf4fc}html[data-theme="dark"] body:not(.portal) .discovery-candidate p,html[data-theme="dark"] body:not(.portal) .discovery-candidate small,html[data-theme="dark"] body:not(.portal) .discovery-loading span{color:#9fb0c4}
@media(max-width:700px){body:not(.portal) .admin-actions{width:100%;justify-content:flex-end;gap:8px 15px}body:not(.portal) .admin-actions .admin-menu-link,body:not(.portal) .admin-actions #adminThemeToggle,body:not(.portal) .admin-actions #logout{padding:2px 0;font-size:11px}body:not(.portal) .admin-actions #adminThemeToggle::before{margin-right:4px}}

/* CRM profesional */
.professional-directory-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.professional-crm-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;padding:25px 28px;border-radius:18px;background:linear-gradient(120deg,#0d3159,#1b578f);color:#fff;box-shadow:0 16px 34px rgba(12,47,85,.16)}.professional-crm-intro h2{margin:4px 0 7px;color:#fff;font-size:27px}.professional-crm-intro p:not(.eyebrow){margin:0;color:#d9e8f7}.professional-crm-intro .eyebrow{color:#f1c644}.professional-crm-intro .secondary-action{flex:0 0 auto;background:#fff;color:#17477f}.professional-crm-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.professional-crm-kpis article{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid #dce5ef;border-radius:15px;background:#fff}.professional-crm-kpis span{color:#718299;font-size:13px}.professional-crm-kpis strong{color:#0e3158;font-size:29px}.professional-crm-tools{display:grid;grid-template-columns:minmax(280px,1fr) minmax(190px,280px) auto;align-items:end;gap:12px;margin-bottom:16px;padding:17px 19px;border:1px solid #dce5ef;border-radius:15px;background:#fff}.professional-crm-tools label{display:flex;flex-direction:column;gap:6px;color:#61758d;font-size:12px;font-weight:750}.professional-crm-tools input,.professional-crm-tools select{width:100%}.professional-crm-board{display:grid;grid-template-columns:repeat(6,minmax(265px,1fr));gap:14px;overflow-x:auto;padding:2px 2px 18px;scrollbar-color:#b7c8db transparent}.crm-stage{min-height:430px;border:1px solid #dce5ef;border-radius:16px;background:#eef3f8;overflow:hidden}.crm-stage>header{padding:16px;border-top:4px solid #7892ae;border-bottom:1px solid #d7e1ec;background:#fff}.crm-stage>header>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.crm-stage>header span{color:#153d6b;font-weight:850}.crm-stage>header strong{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#e7eef7;color:#153d6b}.crm-stage>header small{display:block;margin-top:5px;color:#7a8ca0}.crm-stage.stage-candidato>header{border-top-color:#2772bd}.crm-stage.stage-contactado>header{border-top-color:#d9a514}.crm-stage.stage-documentacion-pendiente>header{border-top-color:#db7a27}.crm-stage.stage-evaluado>header{border-top-color:#7659b6}.crm-stage.stage-aprobado>header{border-top-color:#27885f}.crm-stage.stage-descartado>header{border-top-color:#aa5260}.crm-stage-list{display:flex;flex-direction:column;gap:10px;padding:11px}.crm-professional-card{padding:14px;border:1px solid #d6e1ec;border-radius:13px;background:#fff;box-shadow:0 5px 14px rgba(16,46,79,.06)}.crm-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.crm-professional-card h3{margin:0 0 5px;color:#123a67;font-size:15px}.crm-professional-card p{display:-webkit-box;overflow:hidden;margin:12px 0 7px;color:#415a74;font-size:13px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.crm-professional-card>small{display:block;color:#7b8da1;font-size:11px;line-height:1.45}.crm-professional-card>label{display:flex;flex-direction:column;gap:5px;margin-top:12px;color:#697d93;font-size:11px;font-weight:800}.crm-professional-card select{width:100%;padding:8px 9px;font-size:12px}.crm-category{flex:0 0 auto;max-width:105px;padding:4px 7px;border-radius:999px;background:#fff2c8;color:#70570a;font-size:10px;font-weight:850;text-align:center}.crm-card-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.crm-card-actions a,.crm-card-actions button{min-height:32px;padding:7px 9px;font-size:11px;text-decoration:none}.crm-stage-empty{margin:12px;padding:20px 10px;color:#8293a6;font-size:12px;text-align:center}
html[data-theme="dark"] body:not(.portal) .professional-crm-intro{background:linear-gradient(120deg,#0b2a4d,#174b7b)}html[data-theme="dark"] body:not(.portal) .professional-crm-kpis article,html[data-theme="dark"] body:not(.portal) .professional-crm-tools,html[data-theme="dark"] body:not(.portal) .crm-stage>header,html[data-theme="dark"] body:not(.portal) .crm-professional-card{background:#111f32;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) .professional-crm-kpis strong,html[data-theme="dark"] body:not(.portal) .crm-stage>header span,html[data-theme="dark"] body:not(.portal) .crm-professional-card h3{color:#edf4fc}html[data-theme="dark"] body:not(.portal) .professional-crm-kpis span,html[data-theme="dark"] body:not(.portal) .professional-crm-tools label,html[data-theme="dark"] body:not(.portal) .crm-professional-card p,html[data-theme="dark"] body:not(.portal) .crm-professional-card>small{color:#9fb0c4}html[data-theme="dark"] body:not(.portal) .crm-stage{background:#0b1829;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) .crm-stage>header{border-bottom-color:#2a4059}
@media(max-width:900px){.professional-crm-kpis{grid-template-columns:repeat(2,1fr)}.professional-crm-tools{grid-template-columns:1fr 1fr}.professional-crm-tools .quiet-button{grid-column:1/-1}}@media(max-width:600px){.professional-crm-intro{align-items:flex-start;flex-direction:column;padding:22px}.professional-crm-intro .secondary-action{width:100%}.professional-crm-kpis{grid-template-columns:1fr 1fr}.professional-crm-tools{grid-template-columns:1fr}.professional-crm-tools .quiet-button{grid-column:auto}.professional-directory-actions{width:100%}.professional-directory-actions button{flex:1}.professional-crm-board{grid-template-columns:repeat(6,minmax(245px,1fr))}}
.professional-card-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.crm-focus-notice{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:13px;padding:8px 10px;border:1px solid rgba(255,255,255,.26);border-radius:10px;background:rgba(4,29,56,.28);color:#fff;font-size:12px}.crm-focus-notice button{min-height:auto;padding:3px 7px;background:transparent;color:#f4cf59;text-decoration:underline}.crm-professional-card.focused{border:2px solid #efc43b;box-shadow:0 0 0 4px rgba(239,196,59,.22),0 12px 28px rgba(16,46,79,.15)}
.professional-crm-kpis{grid-template-columns:repeat(5,1fr)}.professional-crm-kpis article.needs-attention{border-color:#efb3ab;background:#fff7f5}.professional-crm-kpis article.needs-attention strong{color:#a43b31}.professional-crm-kpis article.due-today{border-color:#efd27a;background:#fffbee}.professional-crm-kpis article.due-today strong{color:#80600a}.professional-crm-tools{grid-template-columns:minmax(260px,1.4fr) repeat(3,minmax(150px,.7fr)) auto}.crm-professional-card{cursor:grab}.crm-professional-card.dragging{opacity:.5}.crm-stage.drag-target{border:2px dashed #efc43b;background:#fff9df}.crm-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.crm-priority{padding:4px 7px;border-radius:999px;font-size:10px;font-weight:850}.crm-priority.priority-alta{background:#fde7e3;color:#9a392e}.crm-priority.priority-media{background:#fff2c8;color:#70570a}.crm-priority.priority-baja{background:#e1f5e9;color:#176a48}.crm-rating{color:#d6a60c;font-size:13px;letter-spacing:1px}.crm-next-action{display:flex;flex-direction:column;gap:2px;margin-top:10px;padding:9px 10px;border-radius:9px;background:#edf4fb;color:#174879}.crm-next-action strong{font-size:12px}.crm-next-action span{font-size:10px}.crm-next-action.overdue{background:#fde7e3;color:#96372e}.crm-next-action.today{background:#fff2c8;color:#725500}.crm-next-action.none{background:#f3f5f7;color:#7a8795}.crm-last-activity{display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:9px;padding-top:9px;border-top:1px solid #e7edf3;color:#61758d;font-size:10px}.crm-last-activity strong{color:#234c78}.crm-last-activity small{display:block;width:100%;line-height:1.35}.professional-activity-panel{grid-column:1/-1;margin:6px 0 12px;padding:17px;border:1px solid #dce5ef;border-radius:14px;background:#f7faff}.professional-activity-panel>header>div{display:flex;align-items:center;justify-content:space-between;width:100%}.professional-activity-panel>header span{color:#6c8097;font-size:10px;font-weight:850;letter-spacing:1.4px}.professional-activity-panel>header strong{color:#153d6b;font-size:12px}.professional-activity-entry{display:grid;grid-template-columns:150px 1fr auto;align-items:end;gap:10px}.professional-activity-entry label{margin:10px 0 0}.professional-activity-entry textarea{width:100%;padding:10px;border:1px solid #cbd8d0;border-radius:7px;font:inherit;resize:vertical}.professional-activity-entry button{margin-bottom:0;white-space:nowrap}.professional-activity-timeline{display:grid;gap:9px;margin-top:16px}.professional-activity-timeline article{display:grid;grid-template-columns:12px 1fr;gap:8px}.activity-dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#efc43b;box-shadow:0 0 0 3px #fff1b7}.professional-activity-timeline p{margin:2px 0;color:#425b75;font-size:12px}.professional-activity-timeline small{color:#7c8da0;font-size:10px}body[data-view="profesionales"] dialog{width:min(860px,95vw)}body[data-view="profesionales"] #fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}body[data-view="profesionales"] .professional-card-actions{grid-column:1/-1}html[data-theme="dark"] body:not(.portal) .professional-activity-panel{background:#0d1b2d;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) .professional-activity-panel>header strong,html[data-theme="dark"] body:not(.portal) .crm-last-activity strong{color:#edf4fc}html[data-theme="dark"] body:not(.portal) .crm-next-action.none{background:#17263a;color:#9fb0c4}html[data-theme="dark"] body:not(.portal) .crm-last-activity{border-top-color:#2a4059}@media(max-width:900px){.professional-crm-kpis{grid-template-columns:repeat(2,1fr)}.professional-crm-tools{grid-template-columns:1fr 1fr}.professional-crm-tools .quiet-button{grid-column:1/-1}.professional-activity-entry{grid-template-columns:1fr 1fr}.professional-activity-entry button{grid-column:1/-1}}@media(max-width:650px){body[data-view="profesionales"] #fields,.professional-activity-entry{grid-template-columns:1fr}.professional-crm-kpis{grid-template-columns:1fr 1fr}.professional-activity-entry button{grid-column:auto}}

/* CRM agenda y trabajo diario */
.crm-intro-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.crm-view-tabs{display:flex;gap:8px;margin:0 0 12px}.crm-view-tabs button{border:1px solid #cbd9e8;background:#fff;color:#214b78}.crm-view-tabs button[aria-pressed="true"]{border-color:#174b82;background:#174b82;color:#fff;box-shadow:0 7px 16px rgba(15,58,103,.16)}.crm-agenda{display:grid;gap:15px;width:100%}.crm-agenda-group{overflow:hidden;border:1px solid #dce5ef;border-radius:16px;background:#fff}.crm-agenda-group>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 19px;border-bottom:1px solid #e1e8f0;background:#f7faff}.crm-agenda-group>header h2{margin:0;color:#123a67;font-size:18px}.crm-agenda-group>header p{margin:3px 0 0;color:#718299;font-size:12px}.crm-agenda-group>header>strong{display:grid;place-items:center;min-width:31px;height:31px;border-radius:999px;background:#e5edf7;color:#153d6b}.crm-agenda-item{display:grid;grid-template-columns:150px minmax(280px,1fr) auto;align-items:center;gap:18px;padding:16px 19px;border-bottom:1px solid #e5ebf2}.crm-agenda-item:last-child{border-bottom:0}.crm-agenda-item.overdue{border-left:4px solid #c74e43}.crm-agenda-item.today{border-left:4px solid #e0b32e}.crm-agenda-date{display:flex;flex-direction:column;gap:5px}.crm-agenda-date strong{color:#163e69;font-size:13px}.crm-agenda-date span{color:#718299;font-size:11px;text-transform:capitalize}.crm-agenda-main>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.crm-agenda-main h3{margin:0;color:#123a67;font-size:16px}.crm-agenda-main p{margin:6px 0 4px;color:#344f6c;font-weight:750}.crm-agenda-main small{color:#78899d}.crm-agenda-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;max-width:390px}.crm-agenda-actions a,.crm-agenda-actions button{min-height:34px;padding:7px 10px;font-size:11px;text-decoration:none}.crm-completeness{display:flex;align-items:center;gap:8px;margin-top:9px;color:#6f8298;font-size:10px}.crm-completeness progress{width:120px;height:7px;border:0;border-radius:99px;overflow:hidden;background:#e7edf4}.crm-completeness progress::-webkit-progress-bar{background:#e7edf4}.crm-completeness progress::-webkit-progress-value{background:#2c82c9}.crm-completeness progress::-moz-progress-bar{background:#2c82c9}.crm-agenda-empty{padding:22px;color:#8191a4;text-align:center}.professional-crm-kpis{grid-template-columns:repeat(6,1fr)}
html[data-theme="dark"] body:not(.portal) .crm-view-tabs button,html[data-theme="dark"] body:not(.portal) .crm-agenda-group,html[data-theme="dark"] body:not(.portal) .crm-agenda-group>header{border-color:#2a4059;background:#111f32;color:#dce9f7}html[data-theme="dark"] body:not(.portal) .crm-agenda-item{border-bottom-color:#2a4059}html[data-theme="dark"] body:not(.portal) .crm-agenda-group>header h2,html[data-theme="dark"] body:not(.portal) .crm-agenda-date strong,html[data-theme="dark"] body:not(.portal) .crm-agenda-main h3{color:#edf4fc}html[data-theme="dark"] body:not(.portal) .crm-agenda-main p{color:#c2d1e1}html[data-theme="dark"] body:not(.portal) .crm-agenda-main small,html[data-theme="dark"] body:not(.portal) .crm-agenda-group>header p{color:#9fb0c4}
@media(max-width:1100px){.professional-crm-kpis{grid-template-columns:repeat(3,1fr)}.crm-agenda-item{grid-template-columns:130px 1fr}.crm-agenda-actions{grid-column:2;justify-content:flex-start;max-width:none}}@media(max-width:650px){.crm-intro-actions{width:100%}.crm-intro-actions button{flex:1}.professional-crm-kpis{grid-template-columns:1fr 1fr}.crm-agenda-item{grid-template-columns:1fr}.crm-agenda-actions{grid-column:auto;justify-content:flex-start}.crm-view-tabs button{flex:1}}
.market-signal{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0;padding:7px 9px;border-radius:9px;font-size:10px}.market-signal strong{font-size:10px}.market-signal span{text-align:right}.market-below{background:#e1f5e9;color:#176a48}.market-market{background:#edf4fb;color:#174879}.market-above{background:#fde7e3;color:#96372e}.property-popup .market-signal{align-items:flex-start;flex-direction:column}html[data-theme="dark"] .market-below{background:#173a2c;color:#9ee0be}html[data-theme="dark"] .market-market{background:#17314d;color:#b9d8f5}html[data-theme="dark"] .market-above{background:#41242a;color:#ffbec4}@media(max-width:600px){.market-signal{align-items:flex-start;flex-direction:column}.market-signal span{text-align:left}}
.currency-conversions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0;color:#315373;font-size:10px}.currency-conversions span{padding:4px 7px;border:1px solid #d8e3ef;border-radius:999px;background:#f7fafd;font-weight:700}.currency-conversions .current-currency{border-color:#e0b82d;background:#fff6d8;color:#173e6a}.currency-conversions small{color:#7b8ca0;font-size:9px}.property-popup .currency-conversions{align-items:flex-start}.property-popup .currency-conversions small{width:100%}html[data-theme="dark"] .currency-conversions span{border-color:#34506e;background:#15263a;color:#dce9f6}html[data-theme="dark"] .currency-conversions .current-currency{border-color:#e0b82d;background:#42391e;color:#ffe58a}
.inventory-record-open{width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;box-shadow:none;cursor:pointer}.inventory-record-open:hover,.inventory-record-open:focus-visible{background:#eef4fb;box-shadow:0 0 0 6px #eef4fb;outline:2px solid #d2a916}.inventory-record-open>span{min-width:0}.inventory-record-open strong{display:block;color:#174b82}.inventory-record-open:hover strong{text-decoration:underline}.property-preview-dialog{width:min(1180px,94vw);max-width:none;padding:0;border:0;border-radius:22px;background:#fff;box-shadow:0 30px 90px #071b35aa}.property-preview-dialog::backdrop{background:#07172db8;backdrop-filter:blur(4px)}.property-preview-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 25px;border-bottom:1px solid #e2e9f1}.property-preview-shell>header h2{max-width:900px;margin:4px 0 0;color:#12385f;font-size:23px}.property-preview-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border-radius:50%;background:#edf3fa;color:#234d78;font-size:24px}.property-preview-grid{display:grid;grid-template-columns:minmax(380px,.9fr) minmax(440px,1.1fr);min-height:610px}.property-preview-info{padding:24px;overflow:auto}.property-preview-photo .listing-photo,.property-preview-photo .photo-placeholder{width:100%;height:250px;object-fit:cover;border-radius:14px}.property-preview-photo .photo-placeholder{display:grid;place-items:center;background:#edf2f7;color:#76869a}.property-preview-badges{display:flex;gap:8px;margin:16px 0 10px}.property-preview-price{display:block;color:#123e70;font-size:28px}.property-preview-info dl{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:18px 0;border:1px solid #e0e7ef;border-radius:13px}.property-preview-info dl>div{padding:11px 13px;border-bottom:1px solid #e7edf3}.property-preview-info dl>div:nth-child(odd){border-right:1px solid #e7edf3}.property-preview-info dl>div:nth-last-child(-n+2){border-bottom:0}.property-preview-info dt{color:#7c8a9c;font-size:10px;text-transform:uppercase;letter-spacing:.8px}.property-preview-info dd{margin:4px 0 0;color:#213e5e;font-size:13px;font-weight:700}.property-preview-description h3,.property-preview-map-panel h3{margin:0 0 6px;color:#143b65}.property-preview-description p{max-height:110px;overflow:auto;color:#53677e;font-size:13px;line-height:1.55}.property-preview-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}.property-preview-actions a{color:#1d4d81;font-size:12px;font-weight:700}.property-preview-map-panel{display:flex;flex-direction:column;padding:24px;background:#f5f8fc}.property-preview-map-panel>div:first-child p{margin:0 0 14px;color:#6e8095;font-size:12px}.property-preview-map-panel #propertyPreviewMap{flex:1;min-height:510px;border:1px solid #d5e0eb;border-radius:15px;background:#e8eef5}.property-preview-map-panel .leaflet-popup-content{font-weight:700}html[data-theme="dark"] .inventory-record-open:hover,html[data-theme="dark"] .inventory-record-open:focus-visible{background:#172a40;box-shadow:0 0 0 6px #172a40}html[data-theme="dark"] .property-preview-dialog{background:#101f32;color:#dce8f5}html[data-theme="dark"] .property-preview-shell>header{border-color:#2a4059}html[data-theme="dark"] .property-preview-shell>header h2,html[data-theme="dark"] .property-preview-price,html[data-theme="dark"] .property-preview-description h3,html[data-theme="dark"] .property-preview-map-panel h3{color:#edf5fc}html[data-theme="dark"] .property-preview-info dl{border-color:#2a4059}html[data-theme="dark"] .property-preview-info dl>div{border-color:#2a4059}html[data-theme="dark"] .property-preview-info dd{color:#dce8f5}html[data-theme="dark"] .property-preview-description p{color:#aebfd1}html[data-theme="dark"] .property-preview-map-panel{background:#0c1929}@media(max-width:850px){.property-preview-grid{grid-template-columns:1fr}.property-preview-map-panel #propertyPreviewMap{min-height:380px}.property-preview-info dl{grid-template-columns:1fr}.property-preview-info dl>div,.property-preview-info dl>div:nth-child(odd){border-right:0;border-bottom:1px solid #e7edf3}.property-preview-info dl>div:last-child{border-bottom:0}}

/* Radar económico */
.economic-cover{position:relative;display:block;height:210px;margin:-20px -20px 17px;overflow:hidden;border-radius:16px 16px 0 0;background:linear-gradient(135deg,#0b2c50,#17628a);color:#fff;text-decoration:none}.economic-cover:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(5,25,48,.78))}.economic-cover img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .45s ease}.economic-cover span{position:absolute;z-index:1;left:15px;bottom:13px;padding:5px 8px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(5,31,59,.76);color:#fff;font-size:10px;font-weight:850;backdrop-filter:blur(7px)}.economic-cover:hover img{transform:scale(1.035);filter:saturate(1.08)}.economic-card{overflow:hidden}.economic-card>header{position:relative;z-index:1}@media(max-width:650px){.economic-cover{height:175px}}
.market-ticker{margin:15px 0;padding:16px 18px;border:1px solid #dce5ef;border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(20,55,91,.06)}.market-ticker>header{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:12px}.market-ticker>header .eyebrow{margin:0 0 3px}.market-ticker>header>small{color:#75899e}.market-ticker-track{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:8px}.market-quote{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:11px 12px;border:1px solid #e0e7ef;border-radius:11px;background:#f8fafc;color:#244866;text-decoration:none}.market-quote>span{grid-column:1/-1;color:#5f758c;font-size:10px;font-weight:800;text-transform:uppercase}.market-quote>strong{color:#123f6d;font-size:16px}.market-quote>strong small{font-size:9px}.market-quote>em{justify-self:end;font-size:11px;font-style:normal;font-weight:850}.market-quote>em.up{color:#16835a}.market-quote>em.down{color:#b4473f}.market-quote>em.neutral{color:#7e8d9c}.market-quote>small{grid-column:1/-1;color:#8292a3;font-size:9px}.market-quote:hover{border-color:#e0bd38;transform:translateY(-1px)}.market-disclaimer{margin:9px 0 0;color:#8494a5;font-size:9px}.market-ticker-loading,.market-ticker-error{display:flex;align-items:center;gap:12px}.market-ticker-error span{color:#8c4a43}html[data-theme="dark"] body:not(.portal) .market-ticker{border-color:#2a4059;background:#101f32}html[data-theme="dark"] body:not(.portal) .market-quote{border-color:#2a4059;background:#15263a}html[data-theme="dark"] body:not(.portal) .market-quote>strong{color:#edf5fd}@media(max-width:1250px){.market-ticker-track{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.market-ticker>header{align-items:flex-start;flex-direction:column}.market-ticker-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.market-quote{flex:0 0 170px;scroll-snap-align:start}}
.economic-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;min-height:190px;padding:31px 34px;border-radius:22px;background:linear-gradient(125deg,#0a294c,#17608a);box-shadow:0 20px 50px rgba(14,42,76,.17);color:#fff}.economic-hero>div:first-child{max-width:760px}.economic-hero .eyebrow{color:#f2c847}.economic-hero h2{margin:8px 0;color:#fff;font-size:clamp(27px,3vw,42px);letter-spacing:-1.4px}.economic-hero p:not(.eyebrow){margin:0;color:#cfdfec;font-size:15px}.economic-hero-score{display:grid;min-width:175px;padding:18px;border:1px solid #ffffff2b;border-radius:16px;background:#ffffff12}.economic-hero-score strong{color:#fff;font-size:40px}.economic-hero-score span,.economic-hero-score small{color:#c8dced}.economic-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0}.economic-kpis article{display:grid;gap:6px;padding:17px 19px;border:1px solid #dfe7ef;border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(20,55,91,.06)}.economic-kpis span{color:#71859a;font-size:12px}.economic-kpis strong{color:#143f6d;font-size:28px}.economic-tools{display:grid;grid-template-columns:minmax(320px,1.4fr) minmax(190px,.65fr) minmax(210px,.75fr) auto;align-items:end;gap:10px;margin:0 0 13px;padding:15px;border:1px solid #dce5ee;border-radius:16px;background:#fff}.economic-tools form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px}.economic-tools label{margin:0;color:#637991;font-size:11px;font-weight:750}.economic-tools input,.economic-tools select{width:100%;margin-top:5px}.economic-tools button{min-height:44px}.economic-resultbar{display:flex;align-items:baseline;gap:7px;margin:13px 2px;color:#667e96}.economic-resultbar strong{color:#123f6d;font-size:21px}.economic-resultbar small{margin-left:auto}.economic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.economic-card{position:relative;padding:20px;border:1px solid #dce5ef;border-left:5px solid #c5d2df;border-radius:17px;background:#fff;box-shadow:0 9px 30px rgba(20,55,91,.07)}.economic-card.rating-verde{border-left-color:#2a9b68}.economic-card.rating-naranja{border-left-color:#e28734}.economic-card.rating-amarillo{border-left-color:#e1bd35}.economic-card.rating-rojo{border-left-color:#c84e55}.economic-card>header,.economic-card>footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.economic-card>header>div{display:flex;gap:7px;flex-wrap:wrap}.economic-sector,.economic-impact{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850}.economic-sector{background:#e8f0fa;color:#174a7f}.economic-impact{background:#eef2f5;color:#5d7187}.economic-impact.impact-alto{background:#fff0ce;color:#7a5800}.economic-card time{color:#7b8ea2;font-size:11px}.economic-card h3{margin:15px 0 8px;color:#123a65;font-size:20px;line-height:1.25}.economic-card>p{margin:0;color:#5e748b;line-height:1.5}.economic-opportunity{margin:16px 0;padding:13px 14px;border-radius:12px;background:#edf6f2}.economic-opportunity strong{color:#176b4b;font-size:11px;text-transform:uppercase;letter-spacing:.8px}.economic-opportunity p{margin:6px 0 0;color:#315e50;font-size:13px;line-height:1.45}.economic-card details{margin-bottom:15px;padding:10px 0;border-bottom:1px solid #e5ebf1;color:#62778d;font-size:12px}.economic-card summary{cursor:pointer;color:#345777;font-weight:750}.economic-card details p{line-height:1.5}.economic-card>footer span,.economic-card>footer small{display:block}.economic-card>footer span{color:#2b4d70;font-weight:800}.economic-card>footer small{color:#8293a5}.economic-card>footer a{color:#174d83;font-size:12px;font-weight:850}.economic-rating{display:flex;align-items:center;gap:8px;margin-top:16px;padding-top:13px;border-top:1px solid #e5ebf1}.economic-rating>span{margin-right:3px;color:#75879a;font-size:11px}.economic-rating button{width:21px;height:21px;min-height:0;padding:0;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #c8d3df}.economic-rating button.verde{background:#2a9b68}.economic-rating button.naranja{background:#e28734}.economic-rating button.amarillo{background:#e1bd35}.economic-rating button.rojo{background:#c84e55}.economic-rating button.selected{box-shadow:0 0 0 3px #173f70;transform:scale(1.08)}html[data-theme="dark"] body:not(.portal) .economic-tools,html[data-theme="dark"] body:not(.portal) .economic-kpis article,html[data-theme="dark"] body:not(.portal) .economic-card{border-color:#2a4059;background:#101f32}html[data-theme="dark"] body:not(.portal) .economic-kpis strong,html[data-theme="dark"] body:not(.portal) .economic-card h3{color:#edf5fd}html[data-theme="dark"] body:not(.portal) .economic-card>p{color:#adbed0}html[data-theme="dark"] body:not(.portal) .economic-opportunity{background:#16362e}html[data-theme="dark"] body:not(.portal) .economic-opportunity p{color:#b9ddcf}@media(max-width:1050px){.economic-tools{grid-template-columns:1fr 1fr}.economic-grid{grid-template-columns:1fr}.economic-tools form{grid-column:1/-1}}@media(max-width:650px){.economic-hero{align-items:flex-start;flex-direction:column;padding:23px}.economic-hero-score{width:100%;box-sizing:border-box}.economic-kpis{grid-template-columns:1fr 1fr}.economic-tools{grid-template-columns:1fr}.economic-tools form{grid-column:auto}.economic-resultbar{align-items:flex-start;flex-wrap:wrap}.economic-resultbar small{width:100%;margin-left:0}}

.economic-capture-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:15px 18px;border:1px solid #d8e4ee;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(20,55,91,.05)}.economic-capture-bar>div{display:grid;gap:3px}.economic-capture-bar>div:last-child{justify-items:end}.economic-capture-bar strong{color:#153f6d}.economic-capture-bar span,.economic-capture-bar small{color:#6d8297;font-size:11px}.economic-capture-bar button{min-width:190px;margin-top:5px}.economic-capture-bar.is-running{border-color:#e6c85b;background:#fffdf3}.economic-capture-bar.is-running button{background:#c8a728}html[data-theme="dark"] .economic-capture-bar{border-color:#2a4059;background:#101f32}html[data-theme="dark"] .economic-capture-bar strong{color:#edf5fd}@media(max-width:700px){.economic-capture-bar{align-items:stretch;flex-direction:column}.economic-capture-bar>div:last-child{justify-items:stretch}.economic-capture-bar button{width:100%}}

/* Centro de inteligencia económico compacto */
.economic-topic-tabs{display:flex;align-items:center;gap:6px;margin:0 0 10px;padding:7px;overflow-x:auto;border:1px solid #dce5ee;border-radius:14px;background:#fff;scrollbar-width:thin}.economic-topic-tabs button{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-height:31px;padding:6px 10px;border:1px solid transparent;border-radius:999px;background:#eef3f8;color:#315675;font-size:10px;font-weight:850;box-shadow:none}.economic-topic-tabs button span{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#fff;color:#60788f;font-size:9px}.economic-topic-tabs button[aria-pressed="true"]{border-color:#164b80;background:#164b80;color:#fff}.economic-topic-tabs button[aria-pressed="true"] span{background:#ffffff2c;color:#fff}.economic-confidence{padding:5px 8px;border-radius:999px;background:#e7f5ec;color:#176744;font-size:10px;font-weight:850;text-transform:capitalize}.economic-confidence.confidence-por-verificar,.economic-confidence.confidence-propuesta{background:#fff0ce;color:#7a5800}.economic-confidence.confidence-anuncio-oficial,.economic-confidence.confidence-analisis{background:#e9eff8;color:#345879}.economic-cover{height:165px;margin:-16px -16px 13px}.economic-card{padding:16px}.economic-card h3{margin:11px 0 6px;font-size:17px}.economic-card>p{display:-webkit-box;overflow:hidden;font-size:13px;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:3}.economic-opportunity{margin:12px 0;padding:10px 11px}.economic-opportunity p{font-size:12px;line-height:1.38}.economic-card details{margin-bottom:11px;padding:7px 0}.economic-rating{margin-top:11px;padding-top:10px}.economic-card>footer span{font-size:12px}.economic-card>footer small{font-size:10px}.economic-tools{padding:11px}.economic-tools input,.economic-tools select{min-height:39px}.economic-tools button{min-height:39px}.economic-kpis article{padding:12px 15px}.economic-kpis strong{font-size:24px}html[data-theme="dark"] body:not(.portal) .economic-topic-tabs{border-color:#2a4059;background:#101f32}html[data-theme="dark"] body:not(.portal) .economic-topic-tabs button{background:#172a40;color:#c8d7e6}html[data-theme="dark"] body:not(.portal) .economic-topic-tabs button[aria-pressed="true"]{background:#2671ad;color:#fff}@media(min-width:1480px){.economic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.economic-topic-tabs{margin-inline:-3px}.economic-cover{height:155px}.economic-card{padding:15px}.economic-card>header{align-items:flex-start;flex-direction:column}.economic-card time{order:-1}}
.economic-topic-tabs button,.economic-topic-chips span{--topic:#164b80;--topic-soft:#e9f1f9;--topic-ink:#174a7f}.economic-topic-tabs .topic-empresas,.economic-topic-chips .topic-empresas,.economic-card.active-topic-empresas{--topic:#7c3aed;--topic-soft:#f1eafe;--topic-ink:#5b21b6}.economic-topic-tabs .topic-linkedin,.economic-topic-chips .topic-linkedin,.economic-card.active-topic-linkedin{--topic:#0a66c2;--topic-soft:#e5f2ff;--topic-ink:#07559f}.economic-topic-tabs .topic-petroleo,.economic-topic-chips .topic-petroleo,.economic-card.active-topic-petroleo{--topic:#b66a16;--topic-soft:#fff0d8;--topic-ink:#80470b}.economic-topic-tabs .topic-electricidad,.economic-topic-chips .topic-electricidad,.economic-card.active-topic-electricidad{--topic:#d7a900;--topic-soft:#fff7c9;--topic-ink:#715800}.economic-topic-tabs .topic-politica,.economic-topic-chips .topic-politica,.economic-card.active-topic-politica{--topic:#d14343;--topic-soft:#ffebeb;--topic-ink:#a42d2d}.economic-topic-tabs .topic-inversion,.economic-topic-chips .topic-inversion,.economic-card.active-topic-inversion{--topic:#16835f;--topic-soft:#e4f7ef;--topic-ink:#0d6648}.economic-topic-tabs .topic-tecnologia,.economic-topic-chips .topic-tecnologia,.economic-card.active-topic-tecnologia{--topic:#008a9a;--topic-soft:#e0f7f9;--topic-ink:#006874}.economic-topic-tabs button:not([aria-pressed="true"]){border-color:color-mix(in srgb,var(--topic) 20%,transparent);background:var(--topic-soft);color:var(--topic-ink)}.economic-topic-tabs button[aria-pressed="true"]{border-color:var(--topic);background:linear-gradient(135deg,var(--topic),color-mix(in srgb,var(--topic) 76%,#092c50));color:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--topic) 17%,transparent),0 7px 19px color-mix(in srgb,var(--topic) 38%,transparent)}.economic-topic-tabs button[aria-pressed="true"] span{background:#ffffff2c;color:#fff}.economic-topic-chips{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 0}.economic-topic-chips span{padding:4px 7px;border:1px solid color-mix(in srgb,var(--topic) 25%,transparent);border-radius:999px;background:var(--topic-soft);color:var(--topic-ink);font-size:9px;font-weight:850}.economic-card[class*="active-topic-"]{border-color:color-mix(in srgb,var(--topic) 45%,#dce5ef);box-shadow:0 0 0 2px color-mix(in srgb,var(--topic) 12%,transparent),0 12px 34px color-mix(in srgb,var(--topic) 21%,transparent)}html[data-theme="dark"] body:not(.portal) .economic-topic-tabs button:not([aria-pressed="true"]){background:color-mix(in srgb,var(--topic) 22%,#101f32);color:color-mix(in srgb,var(--topic) 35%,#fff)}html[data-theme="dark"] body:not(.portal) .economic-topic-tabs button[aria-pressed="true"]{background:var(--topic);color:#fff}html[data-theme="dark"] body:not(.portal) .economic-topic-chips span{background:color-mix(in srgb,var(--topic) 20%,#101f32);color:color-mix(in srgb,var(--topic) 35%,#fff)}
.economic-edit-button{flex:0 0 auto;min-height:34px;padding:7px 10px;font-size:10px}.economic-editor-dialog{width:min(980px,95vw);max-width:none;padding:0;border:0;border-radius:22px;background:#fff;box-shadow:0 32px 90px #071b35aa}.economic-editor-dialog::backdrop{background:#07172db8;backdrop-filter:blur(5px)}.economic-editor-form>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 26px;border-bottom:1px solid #e1e8f0}.economic-editor-form>header h2{margin:4px 0;color:#123b66}.economic-editor-form>header p:not(.eyebrow){margin:4px 0 0;color:#6d8196;font-size:12px}.economic-editor-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border-radius:50%;background:#edf3fa;color:#234d78;font-size:24px}.economic-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;max-height:62vh;padding:22px 26px;overflow:auto}.economic-editor-grid label{display:grid;gap:6px;color:#526b84;font-size:11px;font-weight:800}.economic-editor-grid input,.economic-editor-grid select,.economic-editor-grid textarea{box-sizing:border-box;width:100%;margin:0}.economic-editor-grid textarea{min-height:92px;padding:11px;border:1px solid #cbd8e5;border-radius:8px;font:inherit;resize:vertical}.economic-editor-flags{display:flex;align-items:center;gap:22px;grid-column:1/-1;padding:12px 14px;border-radius:12px;background:#f1f6fb}.economic-editor-flags label{display:flex;align-items:center;gap:8px;color:#173f6b}.economic-editor-flags input{width:auto}.economic-editor-error{min-height:18px;margin:0;padding:0 26px;color:#a23832;font-size:12px}.economic-editor-form>footer{display:flex;align-items:center;gap:9px;padding:18px 26px;border-top:1px solid #e1e8f0}.economic-editor-form>footer span{flex:1}.danger-button{background:#fff0ee;color:#a33b34;box-shadow:inset 0 0 0 1px #efc6c1}html[data-theme="dark"] .economic-editor-dialog{background:#101f32;color:#dce8f5}html[data-theme="dark"] .economic-editor-form>header,html[data-theme="dark"] .economic-editor-form>footer{border-color:#2a4059}html[data-theme="dark"] .economic-editor-form>header h2{color:#edf5fc}html[data-theme="dark"] .economic-editor-grid textarea{background:#0b1829;border-color:#354a63;color:#e4edf7}html[data-theme="dark"] .economic-editor-flags{background:#172a40}@media(max-width:700px){.economic-editor-grid{grid-template-columns:1fr}.economic-editor-flags{grid-column:auto;align-items:flex-start;flex-direction:column}.economic-editor-form>footer{align-items:stretch;flex-direction:column}.economic-editor-form>footer span{display:none}}
.account-leads-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:20px;background:linear-gradient(125deg,#0a294c,#17608a);color:#fff;box-shadow:0 18px 45px rgba(14,42,76,.16)}.account-leads-hero h2{margin:7px 0;color:#fff;font-size:clamp(26px,3vw,39px)}.account-leads-hero p:not(.eyebrow){margin:0;color:#ccdeeb}.account-leads-hero .eyebrow{color:#f2c847}.account-leads-hero>strong{font-size:52px}.account-lead-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0}.account-lead-kpis article{display:grid;gap:7px;padding:18px 20px;border:1px solid #dce5ef;border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(20,55,91,.05)}.account-lead-kpis span{color:#718299;font-size:12px}.account-lead-kpis strong{color:#123a67;font-size:29px}.account-leads-panel>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.account-leads-panel>header span{color:#6d8197}.account-lead-tools{display:grid;grid-template-columns:minmax(260px,1fr) minmax(190px,260px);gap:12px;margin:17px 0}.account-lead-tools label{display:grid;gap:6px;color:#667b92;font-size:11px;font-weight:800}.account-lead-tools input,.account-lead-tools select{width:100%}.account-lead-table-wrap{overflow-x:auto}.account-lead-table{min-width:1050px}.account-lead-table td:first-child{display:grid;gap:4px}.account-lead-table td:first-child a{color:#466989;font-size:12px}.account-lead-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:850}.account-lead-status.verified{background:#dcf4e7;color:#176443}.account-lead-status.pending{background:#fff0c9;color:#7b5900}.account-lead-table .quiet-button{display:inline-flex;min-height:0;padding:7px 10px;text-decoration:none;white-space:nowrap}html[data-theme="dark"] body:not(.portal) .account-lead-kpis article,html[data-theme="dark"] body:not(.portal) .account-leads-panel{background:#101f32;border-color:#2a4059}html[data-theme="dark"] body:not(.portal) .account-lead-kpis strong{color:#edf5fd}@media(max-width:850px){.account-lead-kpis{grid-template-columns:1fr 1fr}.account-lead-tools{grid-template-columns:1fr}}@media(max-width:560px){.account-leads-hero{align-items:flex-start;flex-direction:column;padding:22px}.account-lead-kpis{grid-template-columns:1fr 1fr}}
.account-lead-kpis article.attention{border-color:#efb1b1;background:#fff6f6}.account-lead-view-toggle{display:flex;gap:5px;padding:4px;border-radius:12px;background:#edf3f8}.account-lead-view-toggle button{min-height:34px;padding:7px 13px;border:0;border-radius:9px;background:transparent;color:#315879}.account-lead-view-toggle button.active{background:#164f87;color:#fff;box-shadow:0 5px 14px #123b651c}.account-lead-tools{grid-template-columns:minmax(260px,1fr) minmax(170px,230px) minmax(170px,230px)}.account-crm-pipeline{display:grid;grid-template-columns:repeat(7,minmax(245px,1fr));gap:12px;padding:4px 2px 14px;overflow-x:auto}.account-crm-column{min-height:410px;padding:11px;border:1px solid #dce6ef;border-radius:15px;background:#f4f7fa}.account-crm-column>header{display:flex;align-items:center;justify-content:space-between;padding:3px 4px 12px;border-top:3px solid #7d9db9}.account-crm-column.stage-contactado>header{border-color:#4c8fcb}.account-crm-column.stage-cualificado>header{border-color:#12a594}.account-crm-column.stage-visita>header{border-color:#d99c28}.account-crm-column.stage-negociacion>header{border-color:#8b64d8}.account-crm-column.stage-ganado>header{border-color:#2c9a61}.account-crm-column.stage-perdido>header{border-color:#bd6370}.account-crm-column>header span{display:grid;place-items:center;min-width:25px;height:25px;border-radius:999px;background:#dce6ef;color:#284e72;font-size:12px;font-weight:850}.account-crm-card{margin-bottom:9px;padding:13px;border:1px solid #d9e3ec;border-radius:13px;background:#fff;box-shadow:0 7px 20px #12395c0c;cursor:pointer}.account-crm-card:hover{border-color:#83add1;transform:translateY(-1px)}.account-crm-card>div{display:flex;align-items:center;justify-content:space-between;gap:7px}.account-crm-card h3{margin:12px 0 4px;color:#123d68;font-size:15px}.account-crm-card a{color:#56738e;font-size:11px;text-decoration:none}.account-crm-card p{min-height:34px;margin:12px 0;color:#334f6a;font-size:12px}.account-crm-card footer{display:grid;gap:4px;padding-top:10px;border-top:1px solid #edf1f5;color:#71869a;font-size:10px}.account-crm-card time.overdue,.account-lead-table .overdue{color:#b53a47;font-weight:850}.account-crm-empty{padding:35px 8px;color:#8da0b2;text-align:center}.account-priority,.account-stage{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:850}.account-priority.priority-alta{background:#ffe0e3;color:#a42536}.account-priority.priority-media{background:#fff0c9;color:#7a5800}.account-priority.priority-baja{background:#dcecf9;color:#255d8c}.account-priority.priority-none{background:#edf1f4;color:#667788}.account-stage{background:#e4edf6;color:#245981}.account-lead-table td small{display:block;margin-top:5px;color:#77899b}.account-crm-dialog{width:min(1180px,96vw);max-width:none;padding:0;border:0;border-radius:21px;box-shadow:0 30px 90px #00152d66}.account-crm-dialog::backdrop{background:#071c34b8;backdrop-filter:blur(5px)}.account-crm-shell{overflow:hidden;background:#f4f7fa}.account-crm-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px;background:linear-gradient(125deg,#082541,#155c88);color:#fff}.account-crm-shell>header h2{margin:4px 0 3px;color:#fff}.account-crm-shell>header a{color:#cfdfec}.account-crm-shell>header>div:last-child{display:flex;align-items:center;gap:9px}.account-crm-close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #ffffff3d;border-radius:50%;background:#ffffff13;color:#fff;font-size:24px}.account-crm-profile{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dbe5ee}.account-crm-profile article{display:grid;gap:5px;padding:16px 21px;background:#fff}.account-crm-profile span{color:#76899d;font-size:11px}.account-crm-profile strong{color:#163f67;font-size:14px}.account-crm-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:18px;padding:20px;max-height:70vh;overflow:auto}.account-crm-layout section{padding:20px;border:1px solid #dbe5ee;border-radius:15px;background:#fff}.account-crm-layout h3{margin:0 0 16px;color:#143f68}.account-crm-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.account-crm-fields label{display:grid;gap:6px;color:#5f748a;font-size:11px;font-weight:800}.account-crm-fields .wide{grid-column:1/-1}.account-crm-fields input,.account-crm-fields select,.account-crm-fields textarea{width:100%}.account-crm-form>section>button{margin-top:16px}.account-crm-activity{display:grid;gap:14px}.account-crm-add{display:grid;grid-template-columns:1fr 140px auto;gap:7px}.account-crm-add-note{display:grid;gap:8px}.account-task-list,.account-activity-list{display:grid;gap:7px;margin-top:13px}.account-task-list button{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:10px;border:1px solid #dce5ee;border-radius:10px;background:#f8fafc;color:#193f64;text-align:left}.account-task-list button.completed{opacity:.58}.account-task-list button.completed strong{text-decoration:line-through}.account-task-list small{color:#71869a}.account-activity-list{max-height:230px;overflow:auto}.account-activity-list article{display:grid;grid-template-columns:12px 1fr;gap:9px}.account-activity-list .activity-dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#2c8fb2}.account-activity-list p{margin:4px 0;color:#445e76}.account-activity-list small{color:#8395a6}@media(max-width:900px){.account-lead-tools{grid-template-columns:1fr}.account-crm-layout{grid-template-columns:1fr}.account-crm-profile{grid-template-columns:1fr 1fr}}@media(max-width:560px){.account-crm-shell>header{padding:19px}.account-crm-profile,.account-crm-fields{grid-template-columns:1fr}.account-crm-fields .wide{grid-column:auto}.account-crm-layout{padding:10px}.account-crm-add{grid-template-columns:1fr}.account-lead-view-toggle{width:100%}.account-leads-panel>header{align-items:flex-start;flex-direction:column}}
.account-crm-layout>aside.account-crm-activity{position:static;width:auto;height:auto;padding:0;background:transparent;color:inherit;display:grid;flex-direction:initial;min-width:0;box-shadow:none;border:0}.account-crm-layout>aside.account-crm-activity p,.account-crm-layout>aside.account-crm-activity small{color:inherit}.account-crm-form{min-width:0}.account-crm-dialog{overflow:hidden}.account-crm-shell{max-height:90vh;overflow:auto}.account-crm-layout{max-height:none;overflow:visible;align-items:start}@media(max-width:900px){.account-crm-layout>aside.account-crm-activity{display:grid}}
.account-crm-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.account-contact-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 11px;border:1px solid #ffffff45;border-radius:10px;color:#fff!important;font-size:11px;font-weight:850;text-decoration:none;white-space:nowrap}.account-contact-email{background:#ffffff19}.account-contact-whatsapp{border-color:#5cdf9b;background:#168b58}.account-contact-disabled{opacity:.55;cursor:not-allowed}.account-contact-sender{padding:8px 28px;border-bottom:1px solid #dbe5ee;background:#edf4fa;color:#5c7288;font-size:11px;text-align:right}.account-contact-sender strong{color:#174c7c}@media(max-width:700px){.account-crm-shell>header{align-items:stretch;flex-direction:column}.account-crm-header-actions{justify-content:flex-start}.account-contact-sender{text-align:left}}
