:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#111827;background-color:#111827;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{margin:0;display:flex;flex-direction:column}#root{flex:1;min-height:0;overflow:hidden}.app-signature{flex-shrink:0;padding:.35rem 1rem;text-align:center;font-size:.75rem;color:#9ca3af;background-color:#111827;border-top:1px solid #1f2937}.app-signature a{color:#e5e7eb;text-decoration:none}.app-signature a:hover{text-decoration:underline}a{color:inherit}.app-root{height:100%;display:flex;flex-direction:column;overflow:hidden;background-color:#f3f4f6;color:#111827}.app-header{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:#111827;color:#f9fafb;box-shadow:0 1px 3px #0f172a66}.app-header-title h1{margin:0;font-size:1.25rem}.app-header-subtitle{margin:.1rem 0 0;font-size:.875rem;color:#9ca3af}.app-tabs{display:flex;gap:.5rem}.tab-button{border-radius:9999px;border:1px solid transparent;padding:.4rem .9rem;font-size:.875rem;background-color:transparent;color:#e5e7eb;text-decoration:none;display:inline-flex;align-items:center}.tab-button:hover{border-color:#9ca3af}.tab-button-active{background-color:#f9fafb;color:#111827}.app-main{flex:1;min-height:0;display:flex;overflow:hidden;gap:1rem}.page{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;background-color:#fff;box-shadow:0 1px 2px #0f172a14;overflow:hidden}.map-page{flex-direction:row;min-height:0}@media(max-width:768px){.map-page{flex-direction:column}.map-main{flex:1;min-height:0}.details-panel-mobile{width:100%;flex-shrink:0;border-left:none;border-top:1px solid #e5e7eb}.details-panel-actions-only{display:flex;flex-direction:column;align-items:stretch;gap:.5rem;padding:.5rem .75rem;max-height:none;overflow:visible}.details-mobile-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:100%}.details-mobile-title{flex:1;min-width:0;font-size:.875rem;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.details-panel-actions-only .details-actions{flex:1;flex-wrap:nowrap;gap:.35rem}.details-panel-actions-only .details-actions .primary-button,.details-panel-actions-only .details-actions .secondary-button{flex:1;padding:.5rem .35rem;font-size:.75rem;text-align:center}.app-main{padding:.5rem}.editor-page{padding:.75rem}.editor-form-wrapper{padding:.5rem}}.map-main{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.map-empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2rem 1.5rem;text-align:center}.map-empty-state h2{margin:0;font-size:1.25rem;color:#111827}.map-empty-state p{margin:0;max-width:28rem;font-size:.9rem;line-height:1.5;color:#4b5563}.map-empty-state-button{margin-top:.5rem;text-decoration:none}.map-toolbar{flex-shrink:0;display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem;padding:.5rem .75rem;border-bottom:1px solid #e5e7eb;background-color:#f9fafb}.map-toolbar-hint{font-size:.8125rem;color:#6b7280}.map-view-switch{position:relative;display:inline-flex;align-items:center;gap:.625rem;cursor:pointer;-webkit-user-select:none;user-select:none}.map-view-switch:has(.map-view-switch-input:disabled){opacity:.55;cursor:not-allowed}.map-view-switch-input{position:absolute;opacity:0;width:0;height:0}.map-view-switch-track{position:relative;width:2.25rem;height:1.25rem;border-radius:999px;background-color:#d1d5db;transition:background-color .15s ease}.map-view-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:1rem;height:1rem;border-radius:50%;background-color:#fff;box-shadow:0 1px 2px #00000026;transition:transform .15s ease}.map-view-switch-input:checked+.map-view-switch-track{background-color:#3b82f6}.map-view-switch-input:checked+.map-view-switch-track:after{transform:translate(1rem)}.map-view-switch-input:focus-visible+.map-view-switch-track{outline:2px solid #93c5fd;outline-offset:2px}.map-view-switch-label{font-size:.875rem;font-weight:500;color:#374151}.map-container{flex:1;min-height:0;overflow:hidden}.map-container .react-flow{width:100%;height:100%}.map-container .react-flow__pane{touch-action:none}.map-container .react-flow__edge{pointer-events:none}.details-panel{flex-shrink:0;min-height:0;border-left:1px solid #e5e7eb;padding:1rem;display:flex;flex-direction:column;gap:.75rem;overflow-y:auto}@media(min-width:769px){.details-panel{width:320px;background-color:#f9fafb}}@media(max-width:768px){.details-panel.details-panel-mobile--bloqueada{background-color:#d1d5db}.details-panel.details-panel-mobile--desbloqueada{background-color:#f3f4f6}.details-panel.details-panel-mobile--en-curso{background-color:#dbeafe}.details-panel.details-panel-mobile--regularizada{background-color:#fde68a}.details-panel.details-panel-mobile--finalizada{background-color:#dcfce7}}.details-panel-body{display:flex;flex-direction:column;gap:.75rem}.details-panel-section{display:flex;flex-direction:column;gap:.5rem}.details-panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;flex-shrink:0}.details-panel-header h2{margin:0;font-size:1.05rem;line-height:1.35}.details-subtitle{margin:0;font-size:.875rem;color:#4b5563}.details-optativa-toggle{display:flex;align-items:center;gap:.5rem;font-size:.875rem;cursor:pointer}.details-optativa-toggle input{width:auto}.details-warning{padding:.75rem;border-radius:.5rem;background-color:#fef3c7;border:1px solid #facc15;font-size:.875rem}.details-list{list-style:none;padding:0;margin:.25rem 0 0;display:flex;flex-direction:column;gap:.25rem}.details-list li{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.875rem}.details-empty{font-size:.875rem;color:#6b7280}.details-actions{display:flex;flex-wrap:wrap;gap:.5rem}.primary-button{border-radius:.375rem;border:1px solid transparent;padding:.35rem .8rem;font-size:.875rem;font-weight:500;background-color:#2563eb;color:#f9fafb;cursor:pointer}.primary-button:hover{background-color:#1d4ed8}.primary-button:disabled{background-color:#9ca3af;cursor:not-allowed}.secondary-button{border-radius:.375rem;border:1px solid #d1d5db;padding:.35rem .8rem;font-size:.875rem;font-weight:500;background-color:#fff;color:#111827;cursor:pointer}.secondary-button:hover{background-color:#f3f4f6}.secondary-button:disabled{color:#9ca3af;border-color:#e5e7eb;cursor:not-allowed}.danger-button{background-color:#dc2626;border-color:#dc2626}.danger-button:hover{background-color:#b91c1c}.danger-button:disabled{background-color:#9ca3af;border-color:#9ca3af}.pill{display:inline-flex;align-items:center;border-radius:9999px;padding:.1rem .5rem;background-color:#e5e7eb;font-size:.75rem}.pill-small{font-size:.7rem}.editor-page{padding:1rem;min-height:0;min-width:0;overflow:hidden}.editor-main{display:flex;flex-direction:column;gap:.75rem;height:100%;min-width:0}.editor-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.editor-header-actions{display:flex;flex-wrap:wrap;gap:.5rem}.editor-tabs-scroll{position:relative;flex-shrink:0}.editor-tabs-scroll:before,.editor-tabs-scroll:after{content:"";position:absolute;top:0;bottom:1px;width:1.75rem;z-index:1;pointer-events:none;opacity:0;transition:opacity .2s ease}.editor-tabs-scroll:before{left:0;background:linear-gradient(to right,#ffffff 15%,transparent)}.editor-tabs-scroll:after{right:0;background:linear-gradient(to left,#ffffff 15%,transparent)}.editor-tabs-scroll--start:before,.editor-tabs-scroll--end:after{opacity:1}.editor-tabs{display:flex;gap:.25rem;border-bottom:1px solid #e5e7eb;flex-shrink:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#d1d5db transparent}.editor-tab-button{margin-bottom:-1px;border:none;border-bottom:2px solid transparent;padding:.5rem .9rem;font-size:.875rem;font-weight:500;background:none;color:#6b7280;cursor:pointer;flex-shrink:0;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center}.editor-tab-button:hover{color:#111827}.editor-tab-button-active{color:#2563eb;border-bottom-color:#2563eb}.editor-tab-label-short{display:none}@media(max-width:768px){.editor-tab-button{padding:.55rem .5rem;font-size:.8125rem;justify-content:center;text-align:center;margin-bottom:0}.editor-tab-label-full{display:none}.editor-tab-label-short{display:inline}.editor-tabs-scroll:before,.editor-tabs-scroll:after{display:none}.editor-tabs{display:grid;grid-template-columns:1fr 1fr;overflow:visible;scroll-snap-type:none;padding-bottom:0;gap:0;border-bottom:1px solid #e5e7eb}.editor-tab-button:nth-child(odd){border-right:1px solid #e5e7eb}.editor-tab-button:nth-child(-n+2){border-bottom:1px solid #e5e7eb}.editor-tab-button-active{background-color:#eff6ff}}.editor-content{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}.editor-table-wrapper{flex:1;min-height:0;min-width:0;border-radius:.75rem;border:1px solid #e5e7eb;background-color:#fff;overflow:auto;-webkit-overflow-scrolling:touch}.editor-form-wrapper{flex:1;min-height:0;min-width:0;border-radius:.75rem;border:1px solid #e5e7eb;background-color:#f9fafb;padding:.75rem;overflow:auto;-webkit-overflow-scrolling:touch}.editor-table{width:max-content;min-width:100%;border-collapse:collapse;font-size:.875rem}.editor-table th,.editor-table td{padding:.4rem .5rem;border-bottom:1px solid #e5e7eb;text-align:left}.editor-table th{background-color:#f9fafb;position:sticky;top:0;z-index:1}.editor-table tbody tr:hover{background-color:#f9fafb}.editor-table tbody tr.is-editing{background-color:#eff6ff}.editor-table tbody tr.is-editing:hover{background-color:#dbeafe}.editor-table-actions{width:1%;white-space:nowrap;text-align:center}.table-action-group{display:flex;gap:.35rem}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border-radius:.375rem;border:1px solid #d1d5db;background-color:#fff;color:#4b5563;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.icon-button svg{width:1rem;height:1rem}.icon-button:hover{background-color:#f3f4f6;border-color:#9ca3af;color:#111827}.icon-button:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.icon-button-danger:hover{background-color:#fef2f2;border-color:#fca5a5;color:#b91c1c}.editor-form{display:flex;flex-direction:column;gap:.75rem;min-width:0}.form-field{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;min-width:0}.form-field input,.form-field select{width:100%;max-width:100%;box-sizing:border-box;border-radius:.375rem;border:1px solid #d1d5db;padding:.35rem .5rem;font-size:.875rem}.form-field select:not([multiple]){max-width:16rem;min-height:2.25rem;padding-right:1.75rem;background-color:#fff;cursor:pointer}.form-field select[multiple]{min-height:120px}.form-field small{color:#6b7280}.form-field-inline{flex-direction:row;align-items:center;gap:.5rem}.form-field-inline input[type=checkbox]{width:auto}.form-actions{display:flex;gap:.5rem;flex-wrap:wrap}.alert{padding:.6rem .75rem;border-radius:.5rem;font-size:.85rem}.alert-error{background-color:#fef2f2;border:1px solid #ef4444;color:#7f1d1d}.alert-success{background-color:#f0fdf4;border:1px solid #22c55e;color:#14532d}.alert-info{background-color:#eff6ff;border:1px solid #60a5fa;color:#1e3a8a;line-height:1.45}.alert-link{color:#1d4ed8;font-weight:500;text-decoration:underline}.alert-link:hover{color:#1e40af}.import-panel{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:1rem;padding:.25rem}.import-panel-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.import-panel-header h3{margin:0;font-size:1.05rem}.import-step h4{margin:0 0 .35rem;font-size:.9rem}.import-step-desc{margin:0 0 .6rem;font-size:.85rem;color:#4b5563;line-height:1.45}.import-prompt-preview{margin-top:.75rem}.import-prompt-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;margin-top:.5rem}.import-prompt-hint{margin:0;color:#b45309}.import-prompt-textarea{margin-top:0;font-size:.75rem;user-select:all;-webkit-user-select:all}.import-prompt-preview summary{font-size:.85rem;color:#2563eb;cursor:pointer}.import-prompt-preview summary:hover{text-decoration:underline}.import-textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:12rem;border-radius:.5rem;border:1px solid #d1d5db;padding:.6rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;line-height:1.4;resize:vertical}.import-error-list{margin:.5rem 0 0;padding-left:1.1rem}.import-panel-actions{display:flex;gap:.5rem;flex-wrap:wrap}.link-button{border:none;padding:0;margin:0;background:none;color:#2563eb;cursor:pointer;font-size:.8rem}.link-button:hover{text-decoration:underline}.link-danger{color:#b91c1c}.settings-panel{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:1.25rem;padding:.25rem}.settings-section{padding:1rem;border:1px solid #e5e7eb;border-radius:.5rem;background-color:#fff}.settings-section h4{margin:0 0 .35rem;font-size:.95rem}.settings-desc{margin:0 0 .75rem;font-size:.85rem;color:#4b5563;line-height:1.45}.settings-section-danger{border-color:#fecaca;background-color:#fef2f2}.settings-section-muted{border-color:#e5e7eb;background-color:#f9fafb}.settings-desc-inline{margin:0}.settings-alias-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}.settings-alias{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.9rem;color:#111827}.modal-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;background-color:#11182773}.modal-dialog{width:min(100%,24rem);padding:1.25rem;border-radius:.75rem;background-color:#fff;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.modal-title{margin:0 0 .5rem;font-size:1.05rem}.modal-message{margin:0 0 1rem;font-size:.9rem;color:#4b5563;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}
