:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-overviewmap .ol-viewport:hover{cursor:pointer}:root{color-scheme:light;font-family:Segoe UI,system-ui,sans-serif;line-height:1.5;color:#1f2937;background:#eef2f7}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#1e3a5f,#2563eb)}.login-card{width:min(420px,92vw);background:#fff;padding:2rem;border-radius:16px;box-shadow:0 20px 60px #0003;display:grid;gap:.85rem}.login-card h1{margin:0}.login-card p{margin:0 0 .5rem;color:#64748b}.login-card label{display:grid;gap:.35rem;font-size:.92rem}.login-card input{padding:.7rem .85rem;border:1px solid #cbd5e1;border-radius:8px}.login-card button{margin-top:.5rem;padding:.75rem;border:0;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer}.login-card small{color:#94a3b8}.crash-screen{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:linear-gradient(135deg,#1e293b,#0f172a)}.crash-card{width:min(860px,96vw);background:#fff;border-radius:18px;padding:1.5rem;box-shadow:0 24px 60px #0f172a59}.crash-eyebrow{margin-bottom:.6rem;color:#2563eb;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.crash-card h1,.crash-card h2,.crash-card p{margin-top:0}.crash-card h2{margin-top:1.25rem;font-size:1rem}.crash-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.25rem 0 .5rem}.crash-actions button{padding:.75rem 1rem;border:0;border-radius:10px;background:#2563eb;color:#fff;cursor:pointer}.crash-ghost-btn{color:#0f172a!important;border-color:#cbd5e1!important}.crash-stack{margin:0;padding:1rem;border-radius:12px;background:#0f172a;color:#e2e8f0;overflow:auto;white-space:pre-wrap;word-break:break-word;font-family:Consolas,Courier New,monospace;font-size:.82rem;line-height:1.45}.app-shell{height:100vh;display:grid;grid-template-rows:auto 1fr}.topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:.75rem 1rem;background:#0f172a;color:#fff}.topbar-brand,.topbar-center{min-width:0}.topbar-btn{padding:.45rem .85rem;border:1px solid #334155;border-radius:8px;background:#1e293b;color:#e2e8f0;cursor:pointer;font-size:.88rem;font-weight:500;transition:background .15s ease,border-color .15s ease,color .15s ease}.topbar-btn:hover{background:#334155;color:#fff}.topbar-btn-active{background:#2563eb;border-color:#3b82f6;color:#fff}.topbar-user{justify-self:end}.user-menu{position:relative}.user-menu-trigger{display:flex;align-items:center;gap:.5rem;padding:.28rem .65rem .28rem .3rem;background:#15191e;border:1px solid #3a424c;border-radius:10px;color:#f8fafc;cursor:pointer;font-size:.9rem;line-height:1;transition:background .15s ease,border-color .15s ease}.user-menu-trigger:hover{background:#1c2229;border-color:#526070}.user-avatar{width:30px;height:30px;border-radius:50%;background:#2563eb;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0;color:#fff}.user-avatar--lg{width:44px;height:44px;font-size:1.15rem}.user-name{font-weight:500;white-space:nowrap;color:#f8fafc}.user-status-badge{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px}.user-status-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2px #22c55e40;flex-shrink:0}.user-chevron{display:flex;align-items:center;color:#94a3b8;margin-left:.05rem;transition:transform .15s ease}.user-chevron--open{transform:rotate(180deg)}.user-menu-dropdown{position:absolute;top:calc(100% + .45rem);right:0;width:min(300px,calc(100vw - 1.5rem));background:#15191e;border:1px solid #2f3843;border-radius:12px;box-shadow:0 14px 36px #00000073;overflow:hidden;z-index:200;color:#cbd5e1}.user-menu-profile{display:flex;align-items:center;gap:.75rem;padding:.95rem 1rem;border-bottom:1px solid #2a323c}.user-menu-profile-text{display:flex;flex-direction:column;gap:.15rem;min-width:0}.user-menu-profile-text strong{color:#f8fafc;font-size:.98rem;font-weight:700;line-height:1.2}.user-menu-profile-text span{color:#94a3b8;font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-menu-section{padding:.75rem 1rem;border-bottom:1px solid #2a323c}.user-menu-section-title{font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8;margin-bottom:.55rem}.user-menu-online{display:flex;align-items:center;gap:.55rem;color:#cbd5e1;font-size:.88rem}.user-menu-links{display:flex;flex-direction:column;gap:.15rem;padding:.45rem}.user-menu-link,.user-menu-logout{width:100%;padding:.55rem;text-align:left;background:none;border:none;border-radius:8px;color:#cbd5e1;cursor:pointer;font-size:.9rem}.user-menu-link:hover:not(:disabled){background:#222933;color:#f8fafc}.user-menu-link:disabled{opacity:.45;cursor:not-allowed}.user-menu-footer{padding:.45rem .45rem .55rem}.user-menu-logout{color:#ef4444;font-weight:600}.user-menu-logout:hover{background:#ef44441f;color:#f87171}.topbar strong{display:block;font-size:1.05rem}.topbar-brand span{color:#94a3b8;font-size:.85rem}.workspace{display:grid;grid-template-columns:max-content 1fr;min-height:0}.workspace--sidebar-collapsed{grid-template-columns:0 1fr}.sidebar{overflow:auto;background:#fff;border-right:1px solid #dbe3ee;width:max-content;max-width:min(560px,55vw);min-width:0;display:flex;flex-direction:column;align-items:stretch;transition:border-color .2s ease}.sidebar--collapsed{overflow:hidden;border-right-color:transparent}.map-wrap{position:relative;min-height:0;overflow:hidden}.sidebar-toggle-floating{position:absolute;top:1rem;left:1rem;z-index:30;width:34px;height:34px;border:1px solid #334155;border-radius:8px;background:#0f172aeb;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;box-shadow:0 8px 20px #0f172a38}.sidebar-toggle-floating:hover{background:#1e293b}.sidebar-toggle-floating--collapsed{left:.75rem}.tools-window{position:absolute;top:1rem;left:3.9rem;z-index:28;width:min(460px,calc(100% - 5rem));background:#fffffffa;border:1px solid #dbe3ee;border-radius:14px;box-shadow:0 18px 40px #0f172a2e;overflow:hidden}.tools-window--wide{width:min(620px,calc(100% - 5rem))}.tools-window-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1rem .85rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.tools-window-header strong{display:block;color:#0f172a}.tools-window-header span{display:block;margin-top:.2rem;color:#64748b;font-size:.82rem}.tools-window-close{width:30px;height:30px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;cursor:pointer;font-size:1rem;line-height:1}.tools-window-body{display:grid;grid-template-columns:160px 1fr;min-height:220px}.tools-window-table-wrap{border-right:1px solid #e2e8f0;background:#fff}.tools-window-table{width:100%;border-collapse:collapse}.tools-window-table th{padding:.85rem .9rem;text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0}.tools-window-table td{padding:.85rem .9rem;color:#0f172a;cursor:pointer;border-bottom:1px solid #f1f5f9}.tools-window-table tbody tr:hover td{background:#f8fafc}.tools-window-row-active td{background:#eff6ff;color:#1d4ed8;font-weight:600}.tools-window-detail{padding:1rem;background:#fff}.tools-window-detail h3{margin:0;color:#0f172a;font-size:1rem}.tools-window-detail p{margin:.45rem 0 1rem;color:#475569;font-size:.9rem}.tools-window-options{display:grid;gap:.75rem}.tools-window-field{display:grid;gap:.35rem;color:#475569;font-size:.86rem}.tools-window-field select{width:100%;padding:.7rem .8rem;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a}.tools-window-option{display:flex;align-items:center;gap:.6rem;padding:.75rem .85rem;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#0f172a}.tools-window-hint{color:#64748b;font-size:.8rem;margin:0}.tools-window-conexao{gap:.9rem}.tools-window-copy-field{gap:.4rem}.tools-window-copy-row{display:flex;align-items:stretch;gap:.45rem;min-width:0}.tools-window-url{flex:1;min-width:0;padding:.55rem .7rem;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#0f172a;font-size:.75rem;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tools-window-copy-btn{flex:0 0 auto;min-width:4.5rem;padding:.45rem .75rem;border:1px solid #94a3b8;border-radius:8px;background:#fff;color:#0f172a;font-size:.78rem;font-weight:600;cursor:pointer;white-space:nowrap}.tools-window-copy-btn:hover{background:#f1f5f9;border-color:#64748b}.tools-window-steps{margin:0;padding-left:1.15rem;color:#334155;font-size:.84rem;line-height:1.45;display:grid;gap:.35rem}.tools-window-steps strong{color:#0f172a;font-weight:600}.confrontantes-modal{width:min(980px,100%);max-height:min(90vh,900px)}.confrontantes-summary{display:flex;flex-wrap:wrap;gap:.55rem 1rem;padding:.75rem 1.75rem 0;color:#475569;font-size:.82rem}.confrontantes-summary-item strong{color:#0f172a}.confrontantes-modal-body{display:grid;gap:1rem;padding-top:.85rem}.confrontantes-map-wrap{display:grid;gap:.7rem}.confrontantes-map-shell{position:relative;width:100%;height:min(46vh,400px);border:1px solid #dbe3ee;border-radius:12px;overflow:hidden;background:#1e293b}.confrontantes-map{width:100%;height:100%}.confrontantes-map-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#f8fafce0;color:#475569;font-size:.92rem;pointer-events:none}.confrontantes-map-overlay p{margin:0;padding:.75rem 1rem}.confrontantes-legend{display:flex;flex-wrap:wrap;gap:.85rem 1.1rem;color:#475569;font-size:.82rem}.confrontantes-legend span{display:inline-flex;align-items:center;gap:.4rem}.confrontantes-legend-swatch{width:14px;height:14px;border-radius:4px;border:2px solid transparent;display:inline-block}.confrontantes-legend-swatch-selected{background:#2563eb47;border-color:#2563eb}.confrontantes-legend-swatch-lote{background:#a855f738;border-color:#a855f7}.confrontantes-legend-swatch-logradouro{background:#059669;border-color:#059669;height:4px;border-radius:999px}.confrontantes-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.confrontantes-list{display:grid;gap:.55rem;max-height:220px;overflow:auto}.confrontantes-item{display:grid;gap:.2rem;padding:.7rem .8rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.confrontantes-item-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.confrontantes-badge{flex-shrink:0;padding:.1rem .45rem;border-radius:999px;background:#fef3c7;color:#92400e;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.confrontantes-badge-muted{background:#f1f5f9;color:#64748b}.confrontantes-item strong{color:#0f172a;font-size:.9rem}.confrontantes-item span{color:#64748b;font-size:.78rem}@media(max-width:800px){.confrontantes-columns{grid-template-columns:1fr}}.map{width:100%;height:100%;background:#1a1a2e}.map .ol-viewport,.map .ol-layers{width:100%;height:100%}.map .ol-layer canvas{image-rendering:auto}.map .ol-zoom{top:.75rem;left:auto;right:.75rem;bottom:auto}.map .ol-attribution{right:.5rem;bottom:.35rem}.panel{padding:1rem;border-bottom:1px solid #e2e8f0;width:max-content;min-width:100%;box-sizing:border-box}.sidebar-actions-panel{padding-bottom:.85rem}.sidebar-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.sidebar-actions .topbar-btn{display:inline-flex;align-items:center;width:100%;justify-content:center;gap:.35rem}.sidebar-actions .sidebar-icon-btn{width:42px;height:42px;padding:0;justify-self:center}.sidebar-btn-icon{font-size:.98rem;line-height:1}.panel h2{margin:0 0 .75rem;font-size:.95rem;text-transform:uppercase;letter-spacing:.04em;color:#475569}.layer-group{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;overflow:hidden;width:max-content;min-width:100%;box-sizing:border-box}.layer-group+.layer-group{margin-top:.75rem}.layer-group-header{display:flex;align-items:stretch;background:#f8fafc}.layer-group-header[draggable=true]{cursor:grab}.layer-group-drag-handle{display:inline-flex;align-items:center;color:#94a3b8;font-size:.78rem;letter-spacing:-.12em;padding:0 .15rem 0 .65rem;-webkit-user-select:none;user-select:none;flex-shrink:0}.layer-group-visibility{display:inline-flex;align-items:center;padding:0 .15rem 0 .35rem;flex-shrink:0;cursor:pointer}.layer-group-visibility input{width:.95rem;height:.95rem;cursor:pointer;accent-color:#2563eb}.layer-group-visibility input:disabled{cursor:not-allowed;opacity:.45}.layer-group-toggle{flex:1;min-width:0;border:0;background:transparent;color:#0f172a;padding:.75rem .85rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-weight:600;cursor:pointer}.layer-group-toggle:hover{background:#f1f5f9}.layer-group-delete-btn{border:0;border-left:1px solid #e2e8f0;background:transparent;color:#94a3b8;padding:0 .7rem;font-size:1.2rem;line-height:1;cursor:pointer;flex-shrink:0}.layer-group-delete-btn:hover{color:#dc2626;background:#fef2f2}.layer-group-confirm-modal{width:min(420px,100%);max-height:none}.layer-group-confirm-body{padding:1.25rem 1.5rem 1.5rem}.layer-group-confirm-body p{margin:0;color:#334155;font-size:.95rem;line-height:1.5}.layer-group-confirm-note{margin-top:.75rem!important;color:#64748b!important;font-size:.88rem!important}.layer-group-confirm-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.35rem}.layer-group-confirm-cancel,.layer-group-confirm-delete{border-radius:8px;padding:.55rem 1rem;font-size:.88rem;font-weight:600;cursor:pointer}.layer-group-confirm-cancel{border:1px solid #cbd5e1;background:#fff;color:#334155}.layer-group-confirm-cancel:hover{background:#f8fafc}.layer-group-confirm-delete{border:1px solid #dc2626;background:#dc2626;color:#fff}.layer-group-confirm-delete:hover{background:#b91c1c;border-color:#b91c1c}.layer-group-meta{display:inline-flex;align-items:center;gap:.5rem;color:#64748b;font-size:.82rem;font-weight:500}.layer-group-chevron{font-size:.85rem;color:#475569}.layer-group-body{padding:0 .85rem .75rem;border-top:1px solid #e2e8f0;background:#fff}.layer-panel-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.65rem}.layer-panel-header h2{margin:0}.layer-add-group-btn{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;padding:.3rem .6rem;font-size:.78rem;font-weight:600;cursor:pointer}.layer-add-group-btn:hover{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff}.layer-add-group-form{display:grid;grid-template-columns:1fr auto;gap:.45rem;margin-bottom:.75rem}.layer-add-group-form input{border:1px solid #cbd5e1;border-radius:8px;padding:.45rem .6rem;font-size:.85rem}.layer-add-group-form button{border:1px solid #2563eb;background:#2563eb;color:#fff;border-radius:8px;padding:.45rem .75rem;font-size:.82rem;font-weight:600;cursor:pointer}.layer-add-group-form button:disabled{opacity:.55;cursor:not-allowed}.layer-group-empty{margin:.55rem 0 0;color:#94a3b8;font-size:.78rem}.layer-arrange-hint{margin:-.15rem 0 .65rem;color:#64748b;font-size:.78rem}.layer-drag-handle{color:#94a3b8;font-size:.78rem;letter-spacing:-.12em;cursor:grab;-webkit-user-select:none;user-select:none;line-height:1;padding-top:.35rem;flex-shrink:0}.layer-row{display:grid;gap:.45rem;margin-top:.55rem;border:1px solid transparent;border-radius:8px;padding:.1rem .2rem;width:100%;box-sizing:border-box;transition:background .12s ease,border-color .12s ease,opacity .12s ease}.layer-row-main{display:flex;justify-content:space-between;align-items:center;gap:.5rem;width:100%}.layer-row-info{display:flex;align-items:center;gap:.4rem;flex:1;min-width:0}.layer-row-visibility{display:inline-flex;align-items:center;gap:.5rem;flex-shrink:0}.layer-row-name-wrap{display:inline-flex;align-items:center;gap:.35rem;flex:1;min-width:0}.layer-row-name{font-size:.9rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35;min-width:0}.layer-row-trailing{display:inline-flex;align-items:center;gap:.25rem;flex-shrink:0;margin-left:auto}.layer-properties-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:26px;padding:0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#475569;cursor:pointer;line-height:1}.layer-row[draggable=true]{cursor:grab}.layer-row--dragging{opacity:.45}.layer-row--drop-before{border-top-color:#2563eb}.layer-group--drop{outline:1px dashed #93c5fd;outline-offset:-2px}.layer-group--dragging{opacity:.45}.layer-group--drop-before{box-shadow:inset 0 3px #2563eb}.layer-group--drop-after{box-shadow:inset 0 -3px #2563eb}.layer-properties-btn:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.layer-properties-icon{display:block;flex-shrink:0}.layer-properties-modal{width:min(860px,100%)}.layer-properties-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:1rem 1.25rem;align-items:start}.layer-properties-column{margin:0;min-width:0}.layer-properties-column+.layer-properties-column{padding-left:1.15rem;border-left:1px solid #e2e8f0}@media(max-width:720px){.layer-properties-modal{width:min(520px,100%)}.layer-properties-columns{grid-template-columns:1fr;gap:.85rem}.layer-properties-column+.layer-properties-column{padding-left:0;padding-top:.85rem;border-left:0;border-top:1px solid #e2e8f0}}.layer-properties-opacity{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.65rem;margin-bottom:.85rem}.layer-properties-opacity-label{color:#475569;font-size:.84rem;white-space:nowrap}.layer-properties-opacity input[type=range]{width:100%;margin:0}.layer-properties-opacity strong{min-width:2.75rem;text-align:right;color:#0f172a;font-size:.9rem}.layer-symbology-embedded{margin-top:0;padding:0;border:0;background:transparent}.layer-symbology-embedded .layer-symbology-title{display:none}.layer-labels-editor{display:grid;gap:.65rem}.layer-labels-option{display:inline-flex;align-items:center;gap:.5rem;font-size:.88rem;color:#334155}.layer-labels-field{display:grid;gap:.35rem;font-size:.82rem;color:#475569}.layer-labels-field select{width:100%;padding:.4rem .5rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:.88rem}.layer-labels-field select:disabled{opacity:.55;cursor:not-allowed}.layer-labels-hint{margin:0;font-size:.78rem;color:#64748b;line-height:1.4}.layer-row label{display:flex;align-items:center;gap:.5rem;min-width:0}.layer-opacity{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.65rem;color:#475569;font-size:.82rem}.layer-opacity input[type=range]{width:100%;margin:0}.layer-opacity strong{min-width:2.5rem;text-align:right;color:#0f172a;font-size:.8rem}.layer-symbology{margin-top:.35rem;padding:.55rem .65rem;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;display:grid;gap:.45rem}.layer-symbology-title{font-size:.72rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.layer-symbology-hint{margin:0;font-size:.78rem;color:#64748b;line-height:1.35}.layer-symbology-mode{display:flex;flex-wrap:wrap;gap:.65rem}.layer-symbology-mode-option{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;color:#334155}.layer-symbology-fields{display:grid;gap:.45rem}.layer-symbology-field{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.5rem;font-size:.82rem;color:#475569}.layer-symbology-field-wide{grid-template-columns:auto 1fr}.layer-symbology-field input[type=color]{width:2rem;height:1.5rem;padding:0;border:1px solid #cbd5e1;border-radius:4px;background:#fff;cursor:pointer}.layer-symbology-field input[type=color]:disabled{opacity:.4;cursor:not-allowed}.layer-symbology-color-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.layer-symbology-none-option{display:inline-flex;align-items:center;gap:.4rem;color:#475569;font-size:.82rem;cursor:pointer;-webkit-user-select:none;user-select:none}.layer-symbology-none-option input{margin:0}.layer-symbology-field input[type=range]{width:100%;margin:0}.layer-symbology-icon-block{display:grid;gap:.4rem}.layer-symbology-icon-grid{display:flex;flex-wrap:wrap;gap:.3rem}.layer-symbology-icon-option-wrap{position:relative}.layer-symbology-icon-option{width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#475569;cursor:pointer;padding:0;transition:border-color .15s ease,background .15s ease,color .15s ease}.layer-symbology-icon-option:hover{border-color:#94a3b8;color:#1e293b}.layer-symbology-icon-option.is-active,.layer-symbology-icon-option-wrap.is-active .layer-symbology-icon-option{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:0 0 0 1px #2563eb}.layer-symbology-icon-option.is-custom img{width:1.35rem;height:1.35rem;object-fit:contain;display:block}.layer-symbology-icon-grid-scroll .layer-symbology-icon-option{width:2.25rem;height:2.25rem;background:#fff}.layer-symbology-icon-catalog{display:grid;gap:.3rem}.layer-symbology-icon-catalog-label{font-size:.75rem;color:#64748b;font-weight:600}.layer-symbology-icon-search{width:100%;padding:.3rem .5rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:.78rem;color:#334155}.layer-symbology-icon-more{border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:.75rem;font-weight:600;padding:.28rem .5rem;cursor:pointer}.layer-symbology-icon-grid-scroll{max-height:9.5rem;overflow:auto;padding:.2rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.layer-symbology-icon-remove{position:absolute;top:-.35rem;right:-.35rem;width:.95rem;height:.95rem;border:1px solid #fecaca;border-radius:999px;background:#fff;color:#b91c1c;font-size:.7rem;line-height:1;padding:0;cursor:pointer;display:none;align-items:center;justify-content:center}.layer-symbology-icon-option-wrap:hover .layer-symbology-icon-remove{display:inline-flex}.layer-symbology-icon-upload{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}.layer-symbology-upload-btn{display:inline-flex;align-items:center;padding:.28rem .55rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:.78rem;font-weight:600;cursor:pointer}.layer-symbology-upload-btn input[type=file]{display:none}.layer-symbology-icon-preview{width:1.6rem;height:1.6rem;object-fit:contain;border:1px solid #e2e8f0;border-radius:4px;background:#f8fafc}.layer-symbology-icon-clear{border:none;background:transparent;color:#b91c1c;font-size:.75rem;font-weight:600;cursor:pointer;padding:0}.layer-symbology-field select{width:100%;padding:.3rem .45rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:.82rem}.layer-symbology-palette{display:flex;flex-wrap:wrap;gap:.35rem}.layer-symbology-swatch-btn{width:1.25rem;height:1.25rem;border:1px solid rgba(15,23,42,.15);border-radius:4px;cursor:pointer;padding:0}.layer-category-color-input{width:1.75rem;height:1.35rem;padding:0;border:1px solid #cbd5e1;border-radius:4px;background:#fff;cursor:pointer}.layer-actions{display:inline-flex;align-items:center;gap:.2rem}.layer-actions button{width:28px;height:28px;margin-left:0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.layer-btn-active{background:#e0f2fe!important;border-color:#38bdf8!important}.layer-btn-save{background:#2563eb!important;border-color:#2563eb!important;color:#fff}.layer-icon{font-size:.85rem;line-height:1}.swatch{width:14px;height:14px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:1px solid #cbd5e1;background:#fff;vertical-align:middle}.swatch-icon img{width:12px;height:12px;object-fit:contain;display:block}.swatch-shape{border-color:transparent;background:transparent}.swatch-shape svg{display:block}.swatch-categorized{width:18px;height:14px;display:inline-grid;grid-template-columns:repeat(2,1fr);gap:1px;padding:1px;background:#fff;border:1px solid #cbd5e1;overflow:hidden}.swatch-animated{background:repeating-linear-gradient(90deg,var(--swatch-color, #0284c7) 0 4px,transparent 4px 7px);background-size:14px 14px;animation:swatch-flow .9s linear infinite}@keyframes swatch-flow{0%{background-position:0 0}to{background-position:14px 0}}.swatch-categorized-part{display:block;width:100%;height:100%;border-radius:1px}.layer-categories{margin-top:.55rem;padding:.55rem .65rem;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;display:grid;gap:.35rem}.layer-categories-title{font-size:.72rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.layer-category-item{display:flex;align-items:center;gap:.5rem;font-size:.82rem;color:#334155}.layer-category-line{width:22px;min-width:22px;border-radius:999px;display:inline-block}.legend{list-style:none;padding:0;margin:0}.legend li{display:flex;align-items:center;gap:.5rem;margin-bottom:.35rem}.edit-banner{margin-top:.75rem;padding:.65rem;background:#fef3c7;border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:.5rem}.feature-panel label{display:grid;gap:.3rem;margin-bottom:.65rem}.feature-panel input,.feature-panel select{padding:.55rem .65rem;border:1px solid #cbd5e1;border-radius:8px}.panel-header{display:flex;justify-content:space-between;align-items:center}.actions{display:flex;gap:.5rem}.actions button,.ghost,.search-bar input{border-radius:8px}.actions button,.ghost{border:1px solid #cbd5e1;background:#fff;padding:.55rem .85rem;cursor:pointer}.actions button:first-child{background:#2563eb;color:#fff;border-color:#2563eb}.danger{color:#b91c1c!important}.search-bar{position:relative;width:100%;justify-self:center}.search-bar input{width:100%;padding:.6rem .8rem;border:1px solid #334155;background:#1e293b;color:#fff}.search-results{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;color:#111;border:1px solid #cbd5e1;border-radius:8px;list-style:none;margin:0;padding:.25rem;z-index:20;max-height:260px;overflow:auto}.search-results button{width:100%;text-align:left;border:0;background:transparent;padding:.55rem;border-radius:6px;cursor:pointer}.search-results button:hover{background:#f1f5f9}.search-results small{display:block;color:#64748b;text-transform:uppercase;font-size:.7rem}.ghost{background:transparent;color:#fff;border-color:#475569}.status-bar{position:absolute;left:1rem;bottom:2.5rem;background:#0f172ae0;color:#fff;padding:.5rem .85rem;border-radius:8px;z-index:6}.map-wrap--logradouro-stats .status-bar{bottom:4.75rem}.logradouro-pavimento-bar{position:absolute;left:0;right:0;bottom:0;z-index:6;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;padding:.7rem 1rem;background:#0f172af0;color:#fff;border-top:1px solid rgba(148,163,184,.28);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.logradouro-pavimento-item{display:flex;flex-direction:column;gap:.15rem;min-width:0}.logradouro-pavimento-label{font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8}.logradouro-pavimento-value{font-size:1rem;font-weight:700;color:#f8fafc}.logradouro-pavimento-item--total .logradouro-pavimento-label{color:#cbd5e1}.logradouro-pavimento-item--total .logradouro-pavimento-value{color:#38bdf8}@media(max-width:900px){.logradouro-pavimento-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.control-panel-grid{grid-template-columns:1fr}.map-wrap--logradouro-stats .status-bar{bottom:6.5rem}}.error{color:#b91c1c;font-size:.88rem}.success-message{margin:0 0 1rem;padding:.75rem .9rem;border-radius:10px;background:#ecfdf5;border:1px solid #86efac;color:#166534;font-size:.92rem;font-weight:500}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;z-index:100;padding:1.5rem 2rem}.modal-backdrop-fixed{position:fixed;z-index:300}.modal-card{background:#fff;border-radius:14px;width:min(960px,100%);max-height:min(88vh,860px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 64px #0f172a47}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.25rem;padding:1.35rem 1.75rem;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;flex-shrink:0}.modal-header-text{min-width:0}.modal-eyebrow{display:block;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;margin-bottom:.35rem}.modal-header h2{margin:0;font-size:1.35rem;font-weight:600;color:#fff;line-height:1.25;word-break:break-word}.modal-subtitle{margin:.45rem 0 0;color:#cbd5e1;font-size:.92rem}.modal-close{width:36px;height:36px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:#ffffff14;color:#fff;font-size:1.45rem;line-height:1;cursor:pointer;flex-shrink:0;transition:background .15s ease}.modal-close:hover{background:#ffffff29}.modal-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;justify-content:flex-end}.modal-header-btn{color:#fff;border-color:#fff3;white-space:nowrap}.modal-header-btn-danger{color:#fecaca;border-color:#f8717173}.modal-header-btn-danger:hover{background:#7f1d1d59;color:#fff}.modal-tabs{display:flex;gap:0;padding:0 1.5rem;background:#e2e8f0;border-bottom:1px solid #cbd5e1;flex-shrink:0}.modal-tab{margin:0;padding:.85rem 1.15rem;border:none;border-bottom:2px solid transparent;background:transparent;color:#64748b;font-size:.88rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:color .15s ease,background .15s ease,border-color .15s ease}.modal-tab:hover{color:#0f172a;background:#ffffff80}.modal-tab-active{color:#1d4ed8;border-bottom-color:#2563eb;background:#f8fafc}.control-panel-modal{width:min(720px,100%)}.control-panel-body{padding:1.35rem 1.5rem 1.5rem;overflow:auto;background:#f8fafc}.control-panel-profile{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid #dbe3ee;border-radius:14px;background:#fff;margin-bottom:1rem}.user-avatar--xl{width:58px;height:58px;font-size:1.45rem}.user-avatar--sm{width:28px;height:28px;font-size:.8rem}.control-panel-table-wrap{background:#fff;border:1px solid #dbe3ee;border-radius:14px;overflow:hidden}.control-panel-table-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.control-panel-table-header strong{color:#0f172a;font-size:.95rem}.control-panel-table-header span{color:#64748b;font-size:.82rem}.control-panel-table-header-actions{display:inline-flex;align-items:center;gap:.75rem}.control-panel-log-filter{display:inline-flex;align-items:center;gap:.6rem}.control-panel-log-filter label{color:#475569;font-size:.8rem;font-weight:600}.control-panel-log-filter select{min-width:170px;border:1px solid #cbd5e1;border-radius:8px;padding:.42rem 2rem .42rem .65rem;color:#0f172a;background:#fff;font-size:.84rem}.control-panel-add-btn{border:1px solid #2563eb;background:#2563eb;color:#fff;border-radius:8px;padding:.4rem .75rem;font-size:.82rem;font-weight:600;cursor:pointer}.control-panel-add-btn:hover{background:#1d4ed8;border-color:#1d4ed8}.control-panel-add-form{display:grid;gap:.9rem;padding:1rem;border-bottom:1px solid #e2e8f0;background:#fff}.control-panel-add-form-header strong{display:block;color:#0f172a;font-size:.95rem}.control-panel-add-form-header p{margin:.2rem 0 0;color:#64748b;font-size:.82rem}.control-panel-add-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:.75rem;align-items:end}.control-panel-add-fields--simple{grid-template-columns:1fr auto}.control-panel-add-form-header code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#eef2ff;color:#3730a3;padding:.05rem .35rem;border-radius:4px}.control-panel-add-fields label{display:grid;gap:.35rem;color:#475569;font-size:.8rem;font-weight:600}.control-panel-add-fields input[type=text],.control-panel-add-fields input[type=password]{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:.55rem .7rem;font-size:.9rem;color:#0f172a;background:#fff}.control-panel-add-check{display:inline-flex!important;align-items:center;gap:.45rem;padding-bottom:.55rem;white-space:nowrap}.control-panel-add-actions{display:flex;justify-content:flex-end;gap:.6rem}.control-panel-add-cancel{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;padding:.5rem .9rem;font-size:.85rem;font-weight:600;cursor:pointer}.control-panel-add-cancel:hover:not(:disabled){background:#f1f5f9}.control-panel-add-cancel:disabled{opacity:.65;cursor:not-allowed}.control-panel-add-submit{border:1px solid #2563eb;background:#2563eb;color:#fff;border-radius:8px;padding:.5rem .9rem;font-size:.85rem;font-weight:600;cursor:pointer}.control-panel-add-submit:hover:not(:disabled){background:#1d4ed8}.control-panel-add-btn:disabled{opacity:.55;cursor:not-allowed;background:#94a3b8;border-color:#94a3b8}@media(max-width:720px){.control-panel-add-fields{grid-template-columns:1fr}.control-panel-table-header{flex-direction:column;align-items:flex-start}.control-panel-log-filter{flex-wrap:wrap}}.control-panel-table{width:100%;border-collapse:collapse}.control-panel-table th,.control-panel-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #eef2f7;font-size:.9rem}.control-panel-table th{color:#64748b;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;background:#fff}.control-panel-table td{color:#0f172a}.control-panel-table tr:last-child td{border-bottom:none}.control-panel-user-cell{display:inline-flex;align-items:center;gap:.55rem}.control-panel-layer-groups{display:grid;gap:1rem}.control-panel-inline-input,.control-panel-inline-select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:.45rem .6rem;font-size:.88rem;color:#0f172a;background:#fff}.control-panel-inline-input--order{max-width:88px}.control-panel-layer-groups .control-panel-add-actions{justify-content:flex-end}.control-panel-pill{display:inline-flex;padding:.18rem .5rem;border-radius:999px;background:#e2e8f0;color:#475569;font-size:.74rem;font-weight:700}.control-panel-pill--ok{background:#dcfce7;color:#166534}.control-panel-profile h3{margin:0 0 .15rem;color:#0f172a;font-size:1.1rem}.control-panel-profile p{margin:0 0 .45rem;color:#64748b;font-size:.9rem}.control-panel-status{display:inline-flex;align-items:center;gap:.45rem;color:#166534;font-size:.86rem;font-weight:600}.control-panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.control-panel-card{padding:1rem;border:1px solid #dbe3ee;border-radius:14px;background:#fff;min-height:150px}.control-panel-card strong{display:block;color:#0f172a;font-size:.96rem;margin-bottom:.5rem}.control-panel-card p{margin:0 0 .85rem;color:#64748b;font-size:.88rem;line-height:1.45}.control-panel-card span{display:inline-flex;padding:.22rem .55rem;border-radius:999px;background:#e2e8f0;color:#475569;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.lote-imovel-tabs-section{margin-top:.25rem}.lote-imovel-tabs{margin:0 0 .75rem;padding:0;background:#eef2f7;border:1px solid #dbe3ee;border-radius:10px;overflow-x:auto}.lote-imovel-tabs .modal-tab{flex:0 0 auto}.lote-imovel-tab-panel{margin-top:0}.modal-body{padding:1.25rem 1.75rem 1.75rem;overflow-y:auto;flex:1;background:#f8fafc}.modal-section{margin-bottom:1.35rem}.modal-section:last-child{margin-bottom:0}.attachment-feedback{margin-bottom:.85rem}.attachment-list{display:grid;gap:.8rem;margin-bottom:1rem}.attachment-item{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border:1px solid #dbe3ee;border-radius:12px;background:#fff}.attachment-item-content{display:grid;gap:.22rem;min-width:0}.attachment-item-content strong,.attachment-item-content span,.attachment-item-content small,.attachment-item-content p{overflow-wrap:anywhere}.attachment-item-content span,.attachment-item-content small{color:#64748b}.attachment-item-content p{margin:.2rem 0 0;color:#334155}.attachment-item-actions{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-end;gap:.5rem}.attachment-form{display:grid;gap:.75rem}.modal-section-title{margin:0 0 .85rem;font-size:.78rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#475569}.modal-section-hint{margin:0 0 .85rem;font-size:.88rem}.car-theme-legend{display:grid;gap:.65rem}.car-theme-legend-item{display:flex;align-items:flex-start;gap:.75rem;padding:.7rem .85rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px}.car-theme-swatch{width:18px;height:18px;border-radius:4px;border:1px solid rgba(15,23,42,.15);flex:0 0 auto;margin-top:2px}.car-theme-legend-text{display:flex;flex-direction:column;gap:.15rem;min-width:0}.car-theme-legend-text strong{font-size:.92rem;color:#0f172a}.car-theme-attrs-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.85rem;padding-top:.85rem;border-top:1px solid rgba(148,163,184,.35)}.car-theme-attrs-group:first-of-type{margin-top:0;padding-top:0;border-top:0}.car-theme-attrs-heading{margin-bottom:.15rem}.car-theme-attrs-item{display:flex;flex-direction:column;gap:.45rem}.car-theme-attrs-item-title{margin:0;font-size:.82rem}.iptu-summary-grid{margin-bottom:.75rem}.iptu-field-highlight .modal-value{color:#0f766e;font-size:1.05rem;font-weight:700}.iptu-units-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem}.iptu-subtitle{margin:0 0 .35rem;font-size:.92rem;color:#334155}.iptu-unit-card{padding:.85rem .95rem;border:1px solid #dbeafe;border-radius:10px;background:#f8fafc}.iptu-unit-card strong{display:block;margin-bottom:.55rem;color:#0f172a}.iptu-unit-fields{gap:.65rem}.iptu-unit-fields .modal-field{min-width:0}.iptu-notes{margin:.85rem 0 0;padding-left:1.1rem;color:#64748b;font-size:.88rem}.iptu-legal-details{margin-top:.85rem;font-size:.86rem;color:#475569}.iptu-legal-details summary{cursor:pointer;font-weight:600}.iptu-legal-details ul{margin:.5rem 0 0;padding-left:1.1rem}.dashboard-card-value--text{font-size:1.15rem;line-height:1.25}.dashboard-iptu-tab{display:flex;flex-direction:column;gap:1rem}.dashboard-iptu-search{margin:.75rem 0}.dashboard-iptu-chart{margin:.75rem 0 1rem}.dashboard-iptu-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:10px}.dashboard-iptu-table{width:100%;border-collapse:collapse;font-size:.9rem}.dashboard-iptu-table th,.dashboard-iptu-table td{padding:.65rem .8rem;border-bottom:1px solid #eef2f7;text-align:left;white-space:nowrap}.dashboard-iptu-table th{background:#f8fafc;color:#475569;font-weight:600}.dashboard-iptu-table tbody tr:hover{background:#f8fafc}.dashboard-panel-hint{margin:0 0 .75rem}.modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.modal-field{display:flex;flex-direction:column;gap:.3rem;min-width:0;padding:.75rem .9rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 2px #0f172a0a}.modal-field-wide{grid-column:1 / -1}.modal-grid-inline{display:grid;gap:.75rem}.modal-label{color:#64748b;font-size:.8rem;font-weight:600;line-height:1.35}.modal-label-row{display:inline-flex;align-items:center;gap:.2rem;max-width:100%}.field-tooltip{position:relative;display:inline-flex;flex-shrink:0}.field-tooltip-trigger{width:1rem;height:1rem;padding:0;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#64748b;font-size:.65rem;font-weight:700;font-style:italic;font-family:Georgia,Times New Roman,serif;line-height:1;cursor:help}.field-tooltip-trigger:hover,.field-tooltip-trigger:focus-visible{color:#1d4ed8;border-color:#93c5fd;outline:none}.field-tooltip-content{position:absolute;left:50%;bottom:calc(100% + .45rem);transform:translate(-50%);width:max-content;max-width:min(280px,70vw);padding:.55rem .65rem;border-radius:8px;background:#0f172a;color:#f8fafc;font-size:.75rem;font-weight:500;line-height:1.45;text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;z-index:30;box-shadow:0 8px 24px #0f172a38}.field-tooltip:hover .field-tooltip-content,.field-tooltip:focus-within .field-tooltip-content{opacity:1;visibility:visible}.modal-value{color:#0f172a;font-size:.96rem;font-weight:500;line-height:1.45;word-break:break-word}.modal-input{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:.7rem .8rem;font:inherit;color:#0f172a;background:#fff}.modal-input:disabled{background:#f8fafc;color:#64748b}.modal-textarea{min-height:110px;resize:vertical}.modal-edit-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1rem}.modal-edit-cancel{color:#0f172a;border-color:#cbd5e1}@media(max-width:768px){.modal-backdrop{padding:.75rem}.modal-card{max-height:calc(100% - 1rem)}.modal-grid{grid-template-columns:1fr}.modal-grid-inline{grid-template-columns:repeat(2,minmax(0,1fr))!important}.attachment-item{flex-direction:column}.attachment-item-actions{justify-content:flex-start}.modal-header{padding:1rem 1.1rem}.modal-body{padding:1rem 1.1rem 1.25rem}}.muted{color:#64748b;margin-top:0}.dashboard-page{overflow:auto;padding:1.5rem;background:#f8fafc}.dashboard-modal{width:min(920px,100%);height:min(78vh,720px);min-height:480px}.dashboard-modal--compact{height:auto;min-height:0;max-height:min(78vh,720px)}.dashboard-modal-body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:0;background:#f8fafc}.dashboard-modal-body--combobox,.dashboard-modal-body--grafico{overflow:hidden}.dashboard-modal-body--grafico .dashboard-tab-panel{overflow-y:auto;display:flex;flex-direction:column;min-height:0}.dashboard-tab-panel{display:grid;gap:1.25rem;flex:1;min-height:0;overflow-y:auto;padding:1.35rem 1.75rem 1.5rem}.dashboard-modal-body--combobox .dashboard-tab-panel{overflow:hidden;display:flex;flex-direction:column;padding:0}.dashboard-panel-title{margin:0 0 1rem;font-size:1.05rem;color:#0f172a}.advanced-modal{width:min(720px,100%)}.advanced-modal-body{overflow:auto;background:#f8fafc;padding:0}.advanced-print-panel{display:grid;gap:1rem;padding:1.1rem 1.25rem 1.25rem}.advanced-print-actions{display:flex;flex-wrap:wrap;gap:.75rem}.advanced-print-actions .advanced-calculadora-map-btn,.advanced-print-actions .dashboard-inconsistencia-map-btn{width:auto;min-width:180px}.advanced-tab-panel{padding:1.35rem 1.75rem 1.5rem}.advanced-calculadora-panel{padding:1rem;border:1px solid #dbe3ee;border-radius:12px;background:#fff}.advanced-calculadora-summary{display:flex;flex-wrap:wrap;gap:.45rem .75rem;margin-bottom:1rem;font-size:.78rem;color:#64748b}.advanced-calculadora-summary span{padding:.2rem .55rem;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc}.advanced-calculadora-analysis{margin-bottom:1rem;position:relative}.advanced-calculadora-analysis-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem .85rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;text-align:left;cursor:pointer}.advanced-calculadora-analysis-trigger:hover,.advanced-calculadora-analysis-trigger[aria-expanded=true]{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb1f}.advanced-calculadora-analysis-trigger-main{display:flex;align-items:flex-start;gap:.55rem;min-width:0}.advanced-calculadora-analysis-trigger-text,.advanced-calculadora-analysis-option-text{display:grid;gap:.15rem;min-width:0}.advanced-calculadora-analysis-trigger-text strong,.advanced-calculadora-analysis-option-text strong{color:#0f172a;font-size:.92rem}.advanced-calculadora-analysis-trigger-text small,.advanced-calculadora-analysis-option-text small{color:#64748b;font-size:.8rem;line-height:1.3}.advanced-calculadora-analysis-caret{color:#64748b;font-size:.85rem;flex-shrink:0}.advanced-calculadora-analysis-list{position:absolute;left:0;right:0;z-index:20;margin:.35rem 0 0;padding:.35rem;list-style:none;background:#fff;border:1px solid #dbe3ee;border-radius:10px;box-shadow:0 12px 28px #0f172a1f;max-height:280px;overflow:auto}.advanced-calculadora-analysis-option{width:100%;display:flex;align-items:flex-start;gap:.55rem;padding:.7rem .75rem;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.advanced-calculadora-analysis-option:hover,.advanced-calculadora-analysis-option-active{background:#eff6ff}.advanced-calculadora-analysis-option .dashboard-metric-option-dot,.advanced-calculadora-analysis-trigger .dashboard-metric-option-dot{margin-top:.35rem}.advanced-calculadora-combobox .dashboard-combobox-list{max-height:280px}.advanced-calculadora-selected{margin:.75rem 0 0;font-size:.88rem;color:#475569}.advanced-calculadora-selected strong{color:#0f172a}.advanced-calculadora-selected-type{margin-left:.5rem;padding:.12rem .45rem;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.advanced-calculadora-resultado{margin-top:1.25rem;padding-top:1.15rem;border-top:1px solid #e2e8f0}.advanced-calculadora-resultado-card{display:grid;gap:.35rem;padding:1rem 1.1rem;border:1px solid #dbe3ee;border-left-width:4px;border-radius:12px;background:linear-gradient(180deg,#f8fbff,#fff)}.advanced-calculadora-resultado-label{font-size:.82rem;font-weight:600;color:#475569}.advanced-calculadora-resultado-value{font-size:1.75rem;line-height:1.1;color:#0f172a;font-variant-numeric:tabular-nums}.advanced-calculadora-resultado-meta{font-size:.78rem;color:#64748b}.advanced-calculadora-actions{display:grid;gap:.65rem;margin-top:1rem}.advanced-calculadora-map-btn{width:100%;padding:.8rem 1rem;border:1px solid #2563eb;border-radius:10px;background:#2563eb;color:#fff;font-size:.92rem;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.advanced-calculadora-map-btn:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.advanced-calculadora-map-btn:disabled{opacity:.7;cursor:wait}.advanced-section+.advanced-section{margin-top:1.25rem}.advanced-section-title{margin:0 0 .85rem;font-size:1rem;color:#0f172a}.advanced-actions{display:grid;gap:.75rem}.advanced-action{display:grid;gap:.25rem;width:100%;padding:.9rem 1rem;text-align:left;border:1px solid #dbe3ee;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s ease,background .15s ease}.advanced-action:hover{border-color:#93c5fd;background:#f8fbff}.advanced-action-secondary{background:#f8fafc}.advanced-action-label{font-size:.95rem;font-weight:600;color:#0f172a}.advanced-action-hint{font-size:.84rem;color:#64748b}.advanced-info-panel{display:grid;gap:.65rem;padding:1rem;border:1px solid #dbe3ee;border-radius:10px;background:#fff}.advanced-info-row{display:flex;justify-content:space-between;gap:1rem;color:#475569;font-size:.92rem}.advanced-info-row strong{color:#0f172a}.dashboard-header{margin-bottom:1.5rem}.dashboard-header h1{margin:0 0 .35rem;font-size:1.6rem;color:#0f172a}.dashboard-message{color:#475569}.dashboard-error{color:#b91c1c}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1.5rem}.dashboard-card{background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:1.1rem 1.15rem;box-shadow:0 1px 2px #0f172a0a}.dashboard-card-primary{border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff,#fff)}.dashboard-card-warn{border-color:#fde68a;background:linear-gradient(180deg,#fffbeb,#fff)}.dashboard-card-label{display:inline-flex;align-items:center;gap:.25rem;color:#64748b;font-size:.88rem;margin-bottom:.45rem}.dashboard-card-value{display:block;font-size:1.8rem;line-height:1.1;color:#0f172a}.dashboard-card-hint{margin:.55rem 0 0;color:#64748b;font-size:.85rem}.dashboard-panel{background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:1.25rem}.dashboard-panel h2{margin:0 0 1rem;font-size:1.05rem;color:#0f172a}.dashboard-bars{display:grid;gap:1rem}.dashboard-bar-item{display:grid;gap:.45rem}.dashboard-bar-head{display:flex;justify-content:space-between;gap:1rem;color:#334155;font-size:.92rem}.dashboard-bar-track{height:10px;background:#e2e8f0;border-radius:999px;overflow:hidden}.dashboard-bar-fill{height:100%;background:linear-gradient(90deg,#2563eb,#38bdf8);border-radius:999px}.dashboard-bar-fill-alt{background:linear-gradient(90deg,#7c3aed,#c084fc)}.dashboard-search-panel{display:flex;flex-direction:column;flex:1;min-height:0;gap:1.35rem;padding:1.5rem 1.75rem 1.75rem;background:transparent}.dashboard-search-panel--compact{flex:0 1 auto;gap:1.15rem;padding-bottom:1.5rem}.dashboard-search-field{display:grid;gap:.7rem}.dashboard-search-label{font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin:0}.dashboard-search-input{width:100%;padding:.85rem 1rem;border:1px solid #cbd5e1;border-radius:12px;font-size:.95rem;color:#0f172a;background:#fff;box-shadow:0 1px 2px #0f172a0a;transition:border-color .15s ease,box-shadow .15s ease}.dashboard-search-input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #2563eb1f}.dashboard-search-input::placeholder{color:#94a3b8}.dashboard-combobox{display:flex;flex-direction:column;min-height:0}.dashboard-combobox--open{flex:1}.dashboard-combobox-results{display:flex;flex:1;min-height:0;margin-top:.15rem}.dashboard-combobox-list{flex:1;min-height:0;margin:0;padding:.45rem;list-style:none;overflow-y:auto;border:1px solid #dbe3ee;border-radius:12px;background:#fff;box-shadow:inset 0 1px 2px #0f172a08}.dashboard-combobox-option{display:grid;gap:.2rem;width:100%;padding:.8rem .9rem;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer;transition:background .12s ease,border-color .12s ease}.dashboard-combobox-option:hover,.dashboard-combobox-option-active{background:#f8fafc;border-color:#dbeafe}.dashboard-combobox-option-type{display:inline-flex;width:fit-content;padding:.12rem .5rem;border-radius:999px;background:#eff6ff;font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#1d4ed8}.dashboard-combobox-option-label{font-size:.96rem;font-weight:600;color:#0f172a}.dashboard-combobox-option-hint{font-size:.82rem;color:#64748b}.dashboard-combobox-empty,.dashboard-combobox-hint{margin:.25rem 0 0;padding:.75rem .9rem;border-radius:10px;font-size:.88rem;color:#64748b}.dashboard-combobox-empty{border:1px dashed #cbd5e1;background:#fff}.dashboard-combobox-hint{background:#f1f5f9;border:1px solid #e2e8f0}.dashboard-localidade-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;flex-shrink:0}.dashboard-localidade-cards .dashboard-card{padding:1rem 1.2rem;display:flex;flex-direction:column;justify-content:center;min-height:96px}.dashboard-localidade-cards .dashboard-card-label{margin-bottom:.5rem}.dashboard-localidade-cards .dashboard-card-value{font-size:1.7rem;line-height:1.15}.dashboard-map-actions{display:grid;gap:.5rem;flex-shrink:0}.dashboard-inconsistencias{display:grid;gap:1rem}.dashboard-inconsistencias-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.dashboard-inconsistencias-card{text-align:left;background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:1rem 1.1rem;box-shadow:0 1px 2px #0f172a0a;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.dashboard-inconsistencias-card:hover{border-color:#93c5fd}.dashboard-inconsistencias-card-active{border-color:#93c5fd;background:#eff6ff;box-shadow:0 0 0 1px #2563eb14}.dashboard-inconsistencias-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.dashboard-inconsistencias-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:flex-end}.dashboard-inconsistencias-list{display:grid;gap:.75rem}.dashboard-inconsistencia-item{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.95rem 1rem;border:1px solid #dbe3ee;border-radius:12px;background:#fff}.dashboard-inconsistencia-content{display:grid;gap:.2rem;min-width:0}.dashboard-inconsistencia-title{font-size:.98rem;color:#0f172a}.dashboard-inconsistencia-subtitle{font-size:.84rem;color:#475569}.dashboard-inconsistencia-description{margin:.15rem 0 0;font-size:.88rem;color:#64748b;line-height:1.45}.dashboard-inconsistencia-map-btn{color:#0f172a;border-color:#cbd5e1;white-space:nowrap}.dashboard-grafico-panel{display:grid;gap:1rem;min-height:0;flex:1}.dashboard-metric-container{padding:.9rem 1rem;border:1px solid #dbe3ee;border-radius:12px;background:#fff;flex-shrink:0}.dashboard-metric-title{margin:0 0 .75rem;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b}.dashboard-metric-options{display:flex;flex-direction:column;gap:.55rem}.dashboard-metric-option{display:flex;align-items:flex-start;gap:.65rem;padding:.75rem .85rem;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.dashboard-metric-option:hover{border-color:#93c5fd;background:#fff}.dashboard-metric-option-active{border-color:#93c5fd;background:#eff6ff;box-shadow:0 0 0 1px #2563eb14}.dashboard-metric-option input{margin-top:.2rem;flex-shrink:0;accent-color:#2563eb;cursor:pointer}.dashboard-metric-option-dot{width:10px;height:10px;margin-top:.35rem;border-radius:999px;flex-shrink:0}.dashboard-metric-option-text{display:grid;gap:.15rem;min-width:0}.dashboard-metric-option-text strong{font-size:.92rem;color:#0f172a}.dashboard-metric-option-text small{font-size:.78rem;color:#64748b;line-height:1.35}.dashboard-grafico-body{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;gap:1rem;min-height:0;overflow-y:auto}.dashboard-checkbox-container{display:grid;grid-template-columns:1fr;gap:1rem;padding:.85rem;border:1px solid #dbe3ee;border-radius:12px;background:#fff;flex-shrink:0}.dashboard-checkbox-group{display:flex;flex-direction:column;min-height:0;overflow:hidden}.dashboard-checkbox-group-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.45rem}.dashboard-checkbox-group-title{margin:0;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#475569}.dashboard-checkbox-group-count{font-size:.78rem;color:#64748b;font-variant-numeric:tabular-nums}.dashboard-checkbox-group-actions{display:flex;gap:.45rem;margin-bottom:.5rem}.dashboard-checkbox-action{padding:.28rem .55rem;border:1px solid #dbe3ee;border-radius:6px;background:#f8fafc;color:#475569;font-size:.75rem;font-weight:600;cursor:pointer;transition:border-color .15s ease,background .15s ease}.dashboard-checkbox-action:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.dashboard-checkbox-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem .75rem;overflow-y:auto;max-height:220px;padding-right:.2rem}.dashboard-checkbox-item{display:flex;align-items:flex-start;gap:.55rem;padding:.45rem .5rem;border-radius:8px;cursor:pointer;transition:background .12s ease}.dashboard-checkbox-item:hover{background:#f8fafc}.dashboard-checkbox-item input{margin-top:.15rem;flex-shrink:0;accent-color:#2563eb;cursor:pointer}.dashboard-checkbox-text{display:grid;gap:.1rem;min-width:0}.dashboard-checkbox-label{font-size:.86rem;font-weight:500;color:#0f172a;line-height:1.25;word-break:break-word}.dashboard-checkbox-hint{font-size:.74rem;color:#64748b}.dashboard-grafico-canvas-wrap{display:flex;flex-direction:column;flex-shrink:0;padding:1rem 1.1rem .75rem;border:1px solid #dbe3ee;border-radius:12px;background:#fff;box-shadow:0 1px 2px #0f172a0a}.dashboard-grafico-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem .75rem;margin:0 0 .75rem;font-size:.95rem;font-weight:600;color:#0f172a}.dashboard-grafico-subtitle{font-size:.8rem;font-weight:500;color:#64748b}.dashboard-grafico-canvas{width:100%}.dashboard-grafico-canvas-scroll{width:100%;overflow-x:auto;overflow-y:hidden;border-radius:8px}.dashboard-grafico-canvas-inner{min-width:100%}.dashboard-chart-tooltip{display:grid;gap:.25rem;padding:.65rem .8rem;border:1px solid #dbe3ee;border-radius:8px;background:#fff;box-shadow:0 8px 20px #0f172a1f;font-size:.84rem;color:#475569}.dashboard-chart-tooltip strong{color:#0f172a;font-size:.88rem}@media(max-width:900px){.dashboard-checkbox-container{grid-template-columns:1fr}.dashboard-checkbox-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px}}@media(max-width:600px){.dashboard-checkbox-list{grid-template-columns:1fr}}@media(max-width:900px){.topbar{grid-template-columns:1fr auto;grid-template-areas:"brand user" "center center"}.topbar-brand{grid-area:brand}.topbar-center{grid-area:center}.topbar-user{grid-area:user}}@media(max-width:900px){.workspace{grid-template-columns:1fr;grid-template-rows:auto 1fr}.workspace--sidebar-collapsed{grid-template-rows:0 1fr}.sidebar{max-height:40vh}.sidebar--collapsed{max-height:0}.tools-window{left:.75rem;width:calc(100% - 1.5rem)}.tools-window-body{grid-template-columns:1fr}.tools-window-table-wrap{border-right:0;border-bottom:1px solid #e2e8f0}}
