@import "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&display=swap";.sidebar{background:var(--bg-subtle);border-right:1px solid var(--border);z-index:10;border-radius:0;flex-direction:column;flex-shrink:0;width:240px;height:100vh;display:flex}.sidebar-header{padding:var(--sp-4) var(--sp-5);border-bottom:1px solid var(--border);align-items:center;height:64px;display:flex}.logo-container{flex-direction:column;gap:2px;display:flex}.logo-brand{letter-spacing:-.02em;align-items:center;gap:4px;font-size:1.25rem;display:flex}.logo-kaos{color:var(--text-1);font-weight:800}.logo-capital{color:var(--text-2);font-weight:300}.logo-partnership{align-items:center;gap:4px;margin-top:1px;display:flex}.logo-x{color:var(--text-3);font-size:.75rem;font-weight:400;line-height:1}.logo-epic{color:#f97316;text-transform:uppercase;letter-spacing:.15em;font-size:.65rem;font-weight:600;line-height:1}.sidebar-nav{padding:var(--sp-3) var(--sp-3);flex-direction:column;flex:1;gap:1px;display:flex;overflow-y:auto}.nav-section-label{font-size:var(--text-xs);color:var(--text-3);letter-spacing:.07em;text-transform:uppercase;padding:var(--sp-3) var(--sp-3) var(--sp-1);margin-top:var(--sp-2);font-weight:500}.nav-section-label:first-child{margin-top:0}.nav-item{align-items:center;gap:var(--sp-3);padding:.4375rem var(--sp-3);border-radius:var(--radius-md);color:var(--text-2);font-size:var(--text-base);cursor:pointer;text-align:left;background:0 0;border:none;width:100%;font-weight:400;line-height:1.4;transition:background .1s,color .1s;display:flex;position:relative}.nav-item:hover{color:var(--text-1);background:#0000000a}.nav-item.active{color:var(--text-1);background:#0000000f;font-weight:500}.nav-item.active:before{content:"";background:var(--brand);border-radius:0 2px 2px 0;width:2px;height:50%;position:absolute;top:25%;left:0}.nav-item-chevron{color:var(--text-3);margin-left:auto}.nav-item-copilot{margin-top:var(--sp-2);color:var(--brand-on);border:1px solid var(--border);border-radius:var(--radius-md)}.nav-item-copilot:hover{background:var(--brand-subtle);color:var(--brand-on);border-color:#7c5af333}.sidebar-footer{padding:var(--sp-3) var(--sp-3);border-top:1px solid var(--border)}.app-header{height:64px;padding:0 var(--sp-6);background:var(--surface-1);border-bottom:1px solid var(--border);z-index:20;flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.fondo-switcher{align-items:center;gap:var(--sp-3);padding:var(--sp-1) var(--sp-2);margin-left:calc(-1 * var(--sp-2));border-radius:var(--radius-md);cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;height:40px;transition:background .15s;display:flex;position:relative}.fondo-switcher:hover{background:#00000008}.switcher-chevron{color:var(--text-3);transition:transform .15s}.switcher-chevron.open{transform:rotate(180deg)}.fondo-dropdown{background:var(--surface-2);border:1px solid var(--border-md);border-radius:var(--radius-lg);min-width:320px;box-shadow:var(--shadow-lg);z-index:100;position:absolute;top:calc(100% + 6px);left:0;overflow:hidden}.fondo-option{padding:var(--sp-3) var(--sp-4);cursor:pointer;border-bottom:1px solid var(--border);transition:background .1s}.fondo-option:last-child{border-bottom:none}.fondo-option:hover{background:#0000000a}.fondo-option.active{background:var(--brand-subtle);border-left:2px solid var(--brand)}.fondo-option-main{justify-content:space-between;align-items:center;margin-bottom:.25rem;display:flex}.fondo-option-sub{font-size:var(--text-xs);color:var(--text-2);justify-content:space-between;display:flex}.badge-sm{font-size:var(--text-xs);border-radius:var(--radius-sm);padding:2px 6px;font-weight:500}.context-info{flex-direction:column;gap:1px;display:flex}.context-label{font-size:var(--text-xs);color:var(--text-3);letter-spacing:.04em;text-transform:uppercase;line-height:1}.context-name{font-size:var(--text-sm);color:var(--text-1);font-weight:600;line-height:1.2}.header-right{align-items:center;gap:var(--sp-4);display:flex}.search-bar{align-items:center;gap:var(--sp-2);background:var(--bg-subtle);padding:.3125rem var(--sp-3);border-radius:var(--radius-md);border:1px solid #0000;width:260px;height:36px;transition:all .15s;display:flex}.search-bar:focus-within{background:var(--surface-1);border-color:var(--brand-subtle);box-shadow:0 0 0 2px #f973161a}.search-bar input{color:var(--text-1);font-size:var(--text-sm);background:0 0;border:none;outline:none;width:100%;font-family:inherit}.search-bar input::placeholder{color:var(--text-3)}.icon-btn{color:var(--text-2);cursor:pointer;padding:var(--sp-1);border-radius:var(--radius-md);background:0 0;border:none;justify-content:center;align-items:center;width:32px;height:32px;transition:color .15s;display:flex;position:relative}.badge-indicator{background:var(--danger);border:1.5px solid var(--bg-subtle);color:#fff;border-radius:99px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 2px;font-size:10px;font-weight:700;line-height:1;display:flex;position:absolute;top:2px;right:2px}.notif-wrapper,.notification-btn{position:relative}.notif-dropdown{background:var(--surface-2);border:1px solid var(--border-md);border-radius:var(--radius-lg);width:360px;box-shadow:var(--shadow-lg);z-index:200;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden}.notif-header{padding:var(--sp-3) var(--sp-4);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;display:flex}.notif-mark-all{font-size:var(--text-xs);color:var(--brand-on);cursor:pointer;padding:var(--sp-1) var(--sp-2);background:0 0;border:none}.notif-mark-all:hover{color:var(--brand)}.icon-btn-tiny{color:var(--text-2);cursor:pointer;padding:var(--sp-1);border-radius:var(--radius-sm);background:0 0;border:none;align-items:center;transition:all .1s;display:flex}.icon-btn-tiny:hover{color:var(--text-1);background:#0000000d}.notif-list{max-height:340px;overflow-y:auto}.notif-item{align-items:flex-start;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);cursor:pointer;border-bottom:1px solid var(--border);transition:background .1s;display:flex;position:relative}.notif-item:last-child{border-bottom:none}.notif-item:hover{background:#0000000a}.notif-item.no-leida{background:var(--brand-subtle)}.notif-icon-wrap{border-radius:var(--radius-sm);background:#0000000d;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:1px;display:flex}.notif-body{flex:1;min-width:0}.notif-titulo{font-size:var(--text-sm);color:var(--text-1);margin-bottom:2px;font-weight:600;line-height:1.3}.notif-desc{font-size:var(--text-xs);color:var(--text-2);margin-bottom:3px;line-height:1.4}.notif-tiempo{font-size:var(--text-xs);color:var(--text-3);line-height:1}.notif-dot{background:var(--brand);border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:5px}.notif-footer{padding:var(--sp-2) var(--sp-4);border-top:1px solid var(--border);text-align:center}.notif-ver-todas{font-size:var(--text-xs);color:var(--text-2);cursor:pointer;padding:var(--sp-1);background:0 0;border:none}.notif-ver-todas:hover{color:var(--brand-on)}.user-profile{align-items:center;gap:var(--sp-2);padding-left:var(--sp-2);border-left:none;height:32px;display:flex}.user-info{flex-direction:column;gap:1px;display:flex}.user-name{font-size:var(--text-sm);color:var(--text-1);font-weight:600;line-height:1.2}.user-role{font-size:var(--text-xs);color:var(--text-3);line-height:1}.kpi-card-c{gap:var(--sp-2);padding:var(--sp-5) var(--sp-6);background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;transition:border-color .15s;display:flex;position:relative;overflow:hidden}.kpi-card-c:hover{border-color:var(--border-md)}.kpi-accent-success:after,.kpi-accent-warning:after,.kpi-accent-danger:after,.kpi-accent-brand:after,.kpi-accent-action:after{content:"";width:3px;height:100%;position:absolute;top:0;left:0}.kpi-accent-success:after{background:var(--success)}.kpi-accent-warning:after{background:var(--warning)}.kpi-accent-danger:after{background:var(--danger)}.kpi-accent-brand:after{background:var(--brand)}.kpi-accent-action:after{background:var(--action)}.kpi-card-c-header{justify-content:space-between;align-items:center;display:flex}.kpi-card-c-icon{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--text-2);background:#0000000f;flex-shrink:0;justify-content:center;align-items:center;display:flex}.kpi-card-c-icon.icon-success{background:var(--success-subtle);color:var(--success-on)}.kpi-card-c-icon.icon-warning{background:var(--warning-subtle);color:var(--warning-on)}.kpi-card-c-icon.icon-danger{background:var(--danger-subtle);color:var(--danger-on)}.kpi-card-c-icon.icon-brand{background:var(--brand-subtle);color:var(--brand-on)}.kpi-card-c-icon.icon-action{background:var(--action-subtle);color:var(--action)}.kpi-card-c-value{color:var(--text-1);line-height:1}.kpi-card-c-sub{font-size:var(--text-xs);color:var(--text-2);margin-top:var(--sp-1);line-height:1.35}.kpi-card-c-body{margin-top:var(--sp-2);padding-top:var(--sp-2);border-top:1px solid var(--border)}.kpi-progress{background:#00000012;border-radius:2px;width:100%;height:4px;overflow:hidden}.kpi-progress-fill{border-radius:2px;height:100%;transition:width .4s}.kpi-progress-fill.success{background:var(--success)}.kpi-progress-fill.warning{background:var(--warning)}.kpi-progress-fill.danger{background:var(--danger)}.kpi-progress-fill.brand{background:var(--brand)}.kpi-progress-fill.action{background:var(--action)}.kpi-card-c.compact{padding:var(--sp-3) var(--sp-4);gap:var(--sp-1)}.home-view{gap:var(--sp-8);flex-direction:column;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.kpi-grid{gap:var(--sp-5);grid-template-columns:repeat(4,1fr);display:grid}.home-avance{gap:var(--sp-2);flex-direction:column;display:flex}.home-alerts-row{align-items:center;gap:var(--sp-4);display:flex}.home-alert-count{flex-direction:column;align-items:center;gap:2px;display:flex}.home-alert-num{font-size:var(--text-xl);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:700;line-height:1}.home-alert-label{font-size:var(--text-xs);color:var(--text-3);text-transform:uppercase;letter-spacing:.04em}.home-alert-divider{background:var(--border);width:1px;height:2rem}.benchmark-strip{align-items:center;gap:var(--sp-4);padding:var(--sp-3) var(--sp-5);background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);flex-wrap:wrap;display:flex}.benchmark-divider{background:var(--border-md);flex-shrink:0;width:1px;height:28px}.benchmark-item{flex-direction:column;flex-shrink:0;gap:2px;display:flex}.benchmark-item-highlight .benchmark-value{color:var(--brand-on)}.benchmark-label{font-size:var(--text-xs);color:var(--text-3);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;font-weight:500}.benchmark-value{font-size:var(--text-sm);color:var(--text-1);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:700}.home-risk-callout{justify-content:space-between;align-items:center;gap:var(--sp-4);padding:var(--sp-4) var(--sp-5);background:var(--danger-subtle);border:1px solid #dc262633;border-left:3px solid var(--danger);border-radius:var(--radius-md);display:flex}.home-main-grid{gap:var(--sp-5);grid-template-columns:2fr 1.4fr 1.2fr;align-items:start;display:grid}.ranking-list{gap:var(--sp-2);flex-direction:column;display:flex}.ranking-item{align-items:center;gap:var(--sp-4);padding:var(--sp-3) var(--sp-4);background:var(--surface-3);border-radius:var(--radius-md);border:1px solid var(--border);transition:background .15s;display:flex}.ranking-item:hover{background:var(--surface-hover)}.ranking-pos{font-size:var(--text-lg);color:var(--text-3);text-align:center;font-variant-numeric:tabular-nums;width:20px;font-weight:700}.ranking-info{flex-direction:column;flex:1;gap:2px;display:flex}.ranking-info h4{font-size:var(--text-sm);color:var(--text-1);margin:0;font-weight:600}.causa-dominante{color:var(--warning);font-weight:500}.ranking-metrics{align-items:center;gap:var(--sp-4);display:flex}.metric{flex-direction:column;align-items:flex-end;display:flex}.metric .label{font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.04em;color:var(--text-3)}.metric .value{font-weight:700;font-size:var(--text-sm);font-variant-numeric:tabular-nums}.score-badge{width:36px;height:36px;font-weight:700;font-size:var(--text-sm);color:#fff;font-variant-numeric:tabular-nums;border:1px solid #0000001f;border-radius:50%;justify-content:center;align-items:center;display:flex}.decisions-queue .card-header{margin-bottom:var(--sp-4)}.decisions-list{gap:var(--sp-3);flex-direction:column;display:flex}.decision-card{padding:var(--sp-4);gap:var(--sp-2);flex-direction:column;display:flex}.decision-border-success{border-left:2px solid var(--success)!important}.decision-border-warning{border-left:2px solid var(--warning)!important}.decision-header,.decision-meta{justify-content:space-between;align-items:center;display:flex}.decision-actions{gap:var(--sp-2);display:flex}.events-feed .card-header{margin-bottom:var(--sp-4)}.events-list{flex-direction:column;display:flex}.event-item{align-items:flex-start;gap:var(--sp-3);padding:var(--sp-2) 0;border-bottom:1px solid var(--border);display:flex}.event-item:last-child{border-bottom:none}.event-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-top:5px}.event-dot.sev-alta{background:var(--danger)}.event-dot.sev-media{background:var(--warning)}.event-dot.sev-baja{background:var(--text-3)}.event-dot.sev-success{background:var(--success)}.event-dot.sev-info{background:var(--brand)}.event-icon{flex-shrink:0;margin-top:2px}.event-content{flex:1}.home-projects-table{flex-direction:column;gap:0;display:flex}.home-proj-thead{gap:var(--sp-3);padding:0 var(--sp-3) var(--sp-2);font-size:var(--text-xs);color:var(--text-3);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border);margin-bottom:var(--sp-2);grid-template-columns:1fr 80px 90px 110px 80px;font-weight:500;display:grid}.home-proj-row{gap:var(--sp-3);padding:var(--sp-3);border-radius:var(--radius-md);cursor:pointer;grid-template-columns:1fr 80px 90px 110px 80px;align-items:center;transition:background .12s;display:grid}.home-proj-row:hover{background:var(--surface-3)}.home-proj-info{flex-direction:column;gap:2px;display:flex}.home-proj-name{font-size:var(--text-sm);color:var(--text-1);font-weight:600}.home-proj-meta{font-size:var(--text-xs);color:var(--text-3)}.home-proj-avance{flex-direction:column;align-items:flex-end;display:flex}.text-right{text-align:right}.home-hito-item{align-items:flex-start;gap:var(--sp-3);padding:var(--sp-3) 0;border-bottom:1px solid var(--border);display:flex}.home-hito-item:last-child{border-bottom:none}.home-hito-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:6px}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.portfolio-view{flex-direction:column;gap:1.5rem;display:flex}.kaos-table th{text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);border-bottom:1px solid var(--border-color);background:#0f172a4d;padding:1rem 1.25rem;font-size:.75rem;font-weight:500}.kaos-table tr:hover td{background:#ffffff05}.clickable-row{cursor:pointer}.cell-project{flex-direction:column;gap:.15rem;display:flex}.progress-cell{flex-direction:column;gap:.35rem;min-width:140px;display:flex}.progress-values{justify-content:space-between;align-items:center;display:flex}.kaos-progress-bar{background:#ffffff14;border-radius:3px;width:100%;height:6px;position:relative;overflow:hidden}.bar{border-radius:3px;height:100%;position:absolute;top:0;left:0}.bar.reportado{z-index:1;background:#ef444459}.bar.verificado{background:var(--epic-brand);z-index:2;box-shadow:0 0 8px #8b5cf699}.capital-cell{flex-direction:column;gap:.2rem;display:flex}.mini-bar{background:#00000014;border-radius:2px;width:80px;height:4px;overflow:hidden}.score-dot{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:.85rem;font-weight:600;display:flex}.score-dot.high{background:var(--danger);box-shadow:0 0 10px #ef444466}.score-dot.med{background:var(--warning)}.score-dot.low{background:var(--success)}.filter-select{min-width:130px;padding:.4rem .75rem;font-size:.82rem}.kaos-input{border:1px solid var(--border-color);border-radius:var(--radius-md);color:var(--text-primary);background:#0f172acc;outline:none;width:100%;padding:.5rem 1rem;font-size:.875rem;transition:border-color .2s}.kaos-input:focus{border-color:var(--epic-brand)}.search-bar{border:1px solid var(--border-color);border-radius:var(--radius-md);align-items:center;gap:.5rem;width:260px;padding:.5rem 1rem;display:flex}.portfolio-tabs{border-bottom:1px solid var(--border-color);gap:.5rem;padding-bottom:0;display:flex}.mapa-container{min-height:400px}.mapa-layout{grid-template-columns:300px 1fr;align-items:start;gap:2rem;margin-top:1rem;display:grid}.colombia-map{border-radius:var(--radius-md,12px);border:1px solid #ffffff0d;width:100%;height:450px;display:block;overflow:hidden;box-shadow:0 4px 20px #0003}.colombia-svg{display:none}.leaflet-container{font-family:inherit}.leaflet-popup-content-wrapper{background:var(--surface-1,#1e293b);color:#fff;border-radius:8px;box-shadow:0 10px 25px #00000080}.leaflet-popup-tip{background:var(--surface-1,#1e293b)}.leaflet-tooltip{background:#fff;border:none;border-radius:6px;padding:6px 10px;box-shadow:0 4px 15px #0003}.mapa-legend-panel{flex-direction:column;gap:.75rem;display:flex}.mapa-project-card{flex-direction:column;gap:.25rem;padding:.75rem 1rem;transition:border-color .2s;display:flex}.mapa-project-card:hover{border-color:var(--epic-brand)!important}.bg-danger{background:var(--danger);color:#fff}.bg-warning{background:var(--warning);color:#03070f}.table-container{padding:0;overflow-x:auto}.table-container .kaos-table th,.table-container .kaos-table td{padding:.85rem 1rem}.project-view{flex-direction:column;gap:1.5rem;display:flex}.project-tags{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.grid-2col{grid-template-columns:3fr 2fr;gap:1.5rem;display:grid}.curve-card .card-header{margin-bottom:0}.custom-legend{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.legend-item{transition:opacity .2s}.legend-item.disabled{opacity:.35}.timeline{flex-direction:column;gap:0;padding-left:.5rem;display:flex}.timeline-item{padding-bottom:1.5rem;padding-left:2rem;position:relative}.timeline-item:last-child{padding-bottom:0}.timeline-item:before{content:"";background:var(--border-color);width:2px;position:absolute;top:22px;bottom:0;left:9px}.timeline-item:last-child:before{display:none}.marker{background:var(--surface-color);border:2px solid var(--border-color);z-index:2;border-radius:50%;width:20px;height:20px;position:absolute;top:4px;left:0}.timeline-item.past .marker{background:var(--success);border-color:var(--success)}.timeline-item.active .marker{background:var(--epic-brand);border-color:var(--epic-brand)}.timeline-item.future .marker{background:var(--surface-hover);border-color:var(--border-color)}.pulse-epic{animation:2s infinite pulse;box-shadow:0 0 #8b5cf6b3}@keyframes pulse{0%{box-shadow:0 0 #8b5cf6b3}70%{box-shadow:0 0 0 10px #8b5cf600}to{box-shadow:0 0 #8b5cf600}}.content h4{margin:0;font-size:.9rem}.alert-box{align-items:flex-start;gap:.5rem;display:flex}.evm-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.evm-metric{border-radius:var(--radius-md);background:#0f172a66;flex-direction:column;gap:.25rem;padding:.75rem 1rem;display:flex}.evm-label{text-transform:uppercase;color:var(--text-secondary);letter-spacing:.04em;font-size:.72rem}.evm-value{font-size:1.5rem;font-weight:700}.proyeccion-box{border-radius:var(--radius-md);background:#0f172a66;padding:.75rem 1rem}.capitulos-table{flex-direction:column;gap:0;display:flex}.capitulo-header-row{text-transform:uppercase;color:var(--text-secondary);letter-spacing:.04em;border-bottom:1px solid var(--border-color);grid-template-columns:2fr 1.2fr 1.5fr 1fr .8fr;gap:.5rem;margin-bottom:.5rem;padding:.5rem 0;font-size:.7rem;display:grid}.capitulo-row{border-bottom:1px solid #0000000d;grid-template-columns:2fr 1.2fr 1.5fr 1fr .8fr;align-items:center;gap:.5rem;padding:.6rem 0;display:grid}.capitulo-row:last-child{border-bottom:none}.cap-progress{flex-direction:column;gap:.25rem;display:flex}.mini-progress-bar{background:#00000014;border-radius:2px;width:100%;height:4px;overflow:hidden}.salud-list{flex-direction:column;gap:.75rem;display:flex}.salud-item{border-radius:var(--radius-md);background:#0f172a4d;padding:.75rem}.evidencia-list{flex-direction:column;gap:.6rem;max-height:400px;display:flex;overflow-y:auto}.evidencia-item{flex-direction:column;gap:.2rem;padding:.75rem;display:flex}.evidencia-meta{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.text-accent{color:var(--accent-primary)}.btn-epic{background-color:var(--epic-brand);color:#fff}.btn-outline{border:1px solid var(--border-color);color:var(--text-primary);background:0 0}.risk-view{flex-direction:column;gap:1.5rem;display:flex}.grid-2col-risk{grid-template-columns:2fr 1fr;align-items:start;gap:1.5rem;display:grid}.risk-tabs{border-bottom:1px solid var(--border-color);gap:.5rem;display:flex}.score-breakdown{flex-direction:column;gap:1.1rem;display:flex}.breakdown-item{flex-direction:column;gap:.3rem;display:flex}.progress-mini{width:100%}.bar-bg{background:#00000014;border-radius:3px;width:100%;height:6px}.bar-fill{border-radius:3px;height:100%}.score-note{border-radius:var(--radius-md);border-left:3px solid var(--epic-brand);background:#0f172a66;padding:.75rem}.kaos-table{border-collapse:collapse;text-align:left;width:100%}.kaos-table th{text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary);border-bottom:1px solid var(--border-color);padding:.75rem 1rem;font-size:.75rem}.kaos-table td{vertical-align:middle;border-bottom:1px solid #0000000d;padding:.85rem 1rem}.kaos-table tr:last-child td{border-bottom:none}.decisiones-list{flex-direction:column;gap:.75rem;display:flex}.decision-registro{padding:1rem}.critical-item{border-bottom:1px solid #0000000d;flex-direction:column;gap:.15rem;padding:.6rem 0;display:flex}.critical-item:last-child{border-bottom:none}.btn-epic:hover{background:#7c3aed}.dev-profile-view{flex-direction:column;gap:1.5rem;display:flex}.profile-header{justify-content:space-between;align-items:center;display:flex}.dev-avatar{border-radius:var(--radius-lg);background:#8b5cf626;border:1px solid #8b5cf64d;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.profile-kpis{border-left:1px solid var(--border-color);gap:2.5rem;padding-left:2.5rem;display:flex}.kpi{flex-direction:column;display:flex}.kpi .label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.25rem;font-size:.72rem}.kpi .value{font-size:1.5rem}.grid-2col-dev{grid-template-columns:3fr 2fr;gap:1.5rem;display:grid}.milestone-stats{flex-direction:column;gap:.5rem;display:flex}.stat-row{border-radius:var(--radius-md);background:#0f172a66;border:1px solid #ffffff08;justify-content:space-between;align-items:center;padding:.65rem 1rem;display:flex}.risk-notice,.success-notice{border-radius:var(--radius-md);padding:.75rem}.risk-notice{border-left:3px solid var(--danger);background:#ef444414}.success-notice{background:var(--success-subtle);border-left:3px solid var(--success)}.insufficient-notice{align-items:center;gap:.75rem;display:flex}.productividad-detalles{border-top:1px solid var(--border-color);padding-top:.75rem}.prod-row{border-bottom:1px solid #0000000d;justify-content:space-between;padding:.4rem 0;display:flex}.prod-row:last-child{border-bottom:none}.alertas-historial{flex-direction:column;gap:0;display:flex}.alerta-hist-item{border-bottom:1px solid #0000000f;padding:.75rem 0}.alerta-hist-item:last-child{border-bottom:none}.intelligence-view{flex-direction:column;gap:1.5rem;display:flex}.intel-tabs{border-bottom:1px solid var(--border-color);gap:.5rem;display:flex}.grid-2col-intel{grid-template-columns:3fr 2fr;align-items:start;gap:1.5rem;display:grid}.analysis-item{align-items:flex-start;gap:.75rem;display:flex}.pt-3{padding-top:.75rem}.desviaciones-list{flex-direction:column;gap:1rem;display:flex}.desviacion-item{flex-direction:column;gap:.25rem;display:flex}.color-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.mini-bar-wide{background:#0000000f;border-radius:3px;width:100%;height:6px;overflow:hidden}.comparador-selector{align-items:center;display:flex}.comp-separator{justify-content:center;align-items:center;padding-top:5rem;display:flex}.comp-kpis{border-top:1px solid var(--border-color);gap:1rem;margin-top:.75rem;padding-top:.75rem;display:flex}.comp-kpi{border-radius:var(--radius-md);background:#0f172a66;flex-direction:column;flex:1;align-items:center;gap:.2rem;padding:.5rem;display:flex}.mb-1{margin-bottom:.25rem}.bg-epic-light{background:var(--epic-brand-subtle)}.bg-danger-light{background:var(--danger-subtle)}.icon-wrapper{border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.certification-view{gap:var(--sp-8);flex-direction:column;display:flex}.cert-kpi-row{gap:var(--sp-5);grid-template-columns:repeat(4,1fr);display:grid}.cert-kpi{gap:var(--sp-1);flex-direction:column;display:flex}.cert-layout{gap:var(--sp-5);grid-template-columns:1fr 360px;align-items:start;display:grid}.cert-list-panel{min-width:0}.cert-table-head{gap:var(--sp-3);padding:0 var(--sp-3) var(--sp-2);font-size:var(--text-xs);color:var(--text-3);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border);margin-bottom:var(--sp-1);grid-template-columns:140px 1fr 130px 80px 130px;font-weight:500;display:grid}.cert-table-row{gap:var(--sp-3);padding:var(--sp-3);border-radius:var(--radius-md);cursor:pointer;border:1px solid #0000;grid-template-columns:140px 1fr 130px 80px 130px;align-items:center;transition:background .12s;display:grid}.cert-table-row:hover{background:var(--surface-3)}.cert-table-row.selected{background:var(--brand-subtle);border-color:#7c5af32e}.cert-id-mono{font-family:JetBrains Mono,Fira Code,monospace;font-size:var(--text-xs);color:var(--brand-on);background:var(--brand-subtle);border-radius:var(--radius-sm);white-space:nowrap;padding:2px 6px}.cert-detail-panel{position:sticky;top:0}.cert-detail-grid{flex-direction:column;gap:0;display:flex}.cert-detail-row{padding:var(--sp-3) 0;border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:var(--sp-4);display:flex}.cert-detail-row:last-child{border-bottom:none}.cert-detail-label{font-size:var(--text-xs);color:var(--text-3);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;flex-shrink:0;font-weight:500}.agent-view{flex-direction:column;height:calc(100vh - 56px);margin:-2rem;display:flex;overflow:hidden}.agent-layout{grid-template-columns:220px 1fr;height:100%;display:grid;overflow:hidden}.agent-sidebar{background:var(--bg-subtle);border-right:1px solid var(--border);padding:var(--sp-3) var(--sp-3);gap:var(--sp-1);flex-direction:column;display:flex;overflow:hidden}.new-chat-btn{align-items:center;gap:var(--sp-2);width:100%;padding:.4375rem var(--sp-3);border:1px solid var(--border-md);border-radius:var(--radius-md);color:var(--text-1);font-size:var(--text-sm);cursor:pointer;margin-bottom:var(--sp-3);background:0 0;font-weight:500;transition:background .1s,border-color .1s;display:flex}.new-chat-btn:hover{border-color:var(--border-hi);background:#0000000d}.sidebar-section-label{font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.07em;color:var(--text-3);padding:var(--sp-3) var(--sp-2) var(--sp-1)}.conv-list{flex-direction:column;flex:1;gap:1px;display:flex;overflow-y:auto}.conv-item{align-items:center;gap:var(--sp-2);padding:.375rem var(--sp-3);border-radius:var(--radius-md);cursor:pointer;transition:background .1s;display:flex}.conv-item:hover{background:#0000000d}.conv-item.active{background:#00000012}.conv-icon{color:var(--text-3);flex-shrink:0}.conv-item.active .conv-icon{color:var(--brand-on)}.conv-text{flex:1;min-width:0}.conv-title{font-size:var(--text-sm);color:var(--text-1);white-space:nowrap;text-overflow:ellipsis;font-weight:400;line-height:1.3;overflow:hidden}.conv-item.active .conv-title{font-weight:500}.conv-time{font-size:var(--text-xs);color:var(--text-3);margin-top:1px;line-height:1}.sidebar-bottom{border-top:1px solid var(--border);padding-top:var(--sp-3);margin-top:var(--sp-2)}.sidebar-model-tag{align-items:center;gap:var(--sp-2);font-size:var(--text-xs);color:var(--text-3);padding:0 var(--sp-2);display:flex}.agent-main{background:var(--bg-base);flex-direction:column;display:flex;overflow:hidden}.agent-home{padding:var(--sp-8) var(--sp-8) 0;justify-content:center;align-items:center;gap:var(--sp-6);flex-direction:column;flex:1;display:flex;overflow-y:auto}.home-logo{align-items:center;gap:var(--sp-3);text-align:center;flex-direction:column;display:flex}.home-avatar{background:var(--surface-2);border:1px solid var(--border-md);border-radius:var(--radius-lg);justify-content:center;align-items:center;width:48px;height:48px;display:flex}.home-title{font-size:var(--text-xl);color:var(--text-1);letter-spacing:-.02em;margin:0;font-weight:700}.home-subtitle{font-size:var(--text-base);color:var(--text-2);text-align:center;max-width:420px;margin:0;line-height:1.55}.home-context-bar{align-items:center;gap:var(--sp-2);background:var(--surface-1);border:1px solid var(--border-md);border-radius:var(--radius-md);padding:.375rem var(--sp-3);transition:border-color .15s;display:flex}.home-context-bar:focus-within{border-color:var(--brand)}.context-select{color:var(--text-1);font-size:var(--text-sm);cursor:pointer;background:0 0;border:none;outline:none;min-width:180px;font-family:inherit}.context-select option{background:var(--surface-2)}.home-prompts-grid{gap:var(--sp-3);width:100%;max-width:780px;padding-bottom:var(--sp-4);grid-template-columns:repeat(3,1fr);display:grid}.home-prompt-card{align-items:flex-start;gap:var(--sp-3);padding:var(--sp-4);background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);cursor:pointer;text-align:left;transition:background .15s,border-color .15s;display:flex}.home-prompt-card:hover{background:var(--surface-hover);border-color:var(--border-md)}.home-prompt-icon{border-radius:var(--radius-sm);background:#0000000f;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.home-prompt-text{flex-direction:column;gap:3px;display:flex}.home-prompt-label{font-size:var(--text-sm);color:var(--text-1);font-weight:600;line-height:1.3}.home-prompt-desc{font-size:var(--text-xs);color:var(--text-2);line-height:1.4}.chat-history{padding:var(--sp-6) var(--sp-8);gap:var(--sp-4);flex-direction:column;flex:1;display:flex;overflow-y:auto}.message-wrapper{gap:var(--sp-3);max-width:80%;display:flex}.message-wrapper.user{flex-direction:row-reverse;align-self:flex-end}.msg-avatar{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border-md);width:28px;height:28px;color:var(--brand-on);flex-shrink:0;justify-content:center;align-items:center;display:flex}.message-bubble{padding:var(--sp-3) var(--sp-4);border-radius:var(--radius-lg);font-size:var(--text-base);line-height:1.6}.message-bubble.assistant{background:var(--surface-1);border:1px solid var(--border);border-top-left-radius:var(--radius-sm)}.message-bubble.user{background:var(--brand-subtle);border-top-right-radius:var(--radius-sm);border:1px solid #7c5af32e}.message-bubble p.spacer{height:var(--sp-2)}.code-inline{background:var(--bg-inset);border-radius:var(--radius-sm);color:var(--info-on);padding:1px 5px;font-family:JetBrains Mono,Fira Code,monospace;font-size:.82em}.message-bubble.typing{padding:var(--sp-3);align-items:center;gap:4px;display:flex}.dot{background:var(--text-3);border-radius:50%;width:5px;height:5px;animation:1.4s ease-in-out infinite both bounce}.dot:first-child{animation-delay:-.32s}.dot:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{opacity:.5;transform:scale(0)}40%{opacity:1;transform:scale(1)}}.chat-input-area{padding:var(--sp-4) var(--sp-8) var(--sp-5);background:var(--bg-base);border-top:1px solid var(--border)}.chat-input-area.home-input{padding:var(--sp-3) var(--sp-12) var(--sp-6);background:0 0;border-top:none;align-self:center;width:100%;max-width:780px}.input-box{background:var(--surface-1);border:1px solid var(--border-md);border-radius:var(--radius-lg);transition:border-color .15s;display:flex;overflow:hidden}.input-box:focus-within{border-color:var(--brand)}.input-box input{padding:var(--sp-3) var(--sp-4);color:var(--text-1);font-size:var(--text-base);background:0 0;border:none;flex:1;font-family:inherit}.input-box input:focus{outline:none}.input-box input::placeholder{color:var(--text-3)}.send-btn{border:none;border-left:1px solid var(--border);padding:0 var(--sp-4);color:var(--text-2);cursor:pointer;background:0 0;justify-content:center;align-items:center;transition:color .15s,background .15s;display:flex}.send-btn:hover:not(:disabled){color:var(--brand-on);background:var(--brand-subtle)}.send-btn:disabled{color:var(--text-3);cursor:not-allowed}.input-disclaimer{font-size:var(--text-xs);color:var(--text-3);text-align:center;margin:var(--sp-2) 0 0}.audit-view{flex-direction:column;gap:1.5rem;display:flex}.grid-2col-audit{grid-template-columns:2fr 1fr;align-items:start;gap:1.5rem;display:grid}.audit-tabs{border-bottom:1px solid var(--border-color);gap:.5rem;display:flex}.tab-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:.55rem 1.1rem;font-size:.875rem;font-weight:500;transition:all .2s}.audit-log{flex-direction:column;padding-left:.5rem;display:flex}.audit-item{min-height:110px;display:flex}.audit-connector{justify-content:center;width:40px;display:flex;position:relative}.connector-line{background:var(--border-color);width:2px;position:absolute;top:0;bottom:0}.audit-item:last-child .connector-line{height:24px;bottom:auto}.connector-node{background:var(--surface-color);border:2px solid var(--text-secondary);width:22px;height:22px;color:var(--text-secondary);z-index:2;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:14px}.audit-item:first-child .connector-node{border-color:var(--success);color:var(--success)}.audit-content{flex:1;margin-bottom:1.25rem;padding:.875rem}.audit-details{flex-direction:column;gap:.2rem;margin-bottom:.6rem;display:flex}.detail-row{align-items:center;gap:.5rem;display:flex}.hash-box{border-radius:var(--radius-sm);background:#0000004d;border:1px solid #0000000f;align-items:center;gap:.4rem;padding:.4rem .6rem;display:flex}.hash-string{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-family:monospace;font-size:.7rem;overflow:hidden}.hash-chain-link{margin-top:.25rem;padding-left:.25rem;font-family:monospace}.icon-btn-small{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;align-items:center;display:flex}.icon-btn-small:hover{color:var(--text-primary)}.audit-stats{flex-direction:column;gap:0;display:flex}.audit-stat-row{border-bottom:1px solid #0000000d;justify-content:space-between;align-items:center;padding:.6rem 0;display:flex}.audit-stat-row:last-child{border-bottom:none}.derivation-tree{flex-direction:column;align-items:center;display:flex}.tree-node{border:1px solid var(--border-color);border-radius:var(--radius-md);flex-direction:column;gap:.5rem;width:100%;padding:1rem;display:flex}.tree-line{background:var(--border-color);width:2px;height:20px}.integrity-check-item{padding:.75rem}.comparador-grid{grid-template-columns:1fr 80px 1fr;align-items:start;gap:1rem;display:grid}.comparador-col{flex-direction:column;display:flex}.comparador-header{border-radius:var(--radius-md);border:1px solid;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.6rem 1rem;display:flex}.comparador-metrics{flex-direction:column;gap:.5rem;display:flex}.comp-metric{border-radius:var(--radius-md);background:#0f172a66;justify-content:space-between;align-items:center;padding:.5rem;display:flex}.comparador-delta{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding-top:4rem;display:flex}.delta-value{font-size:1.5rem;font-weight:700}.mt-1{margin-top:.25rem}.text-lg{font-size:1.25rem}.bg-success-light{background:var(--success-subtle)}.card-header{justify-content:space-between;align-items:center;display:flex}.search-bar{border:1px solid var(--border-color);border-radius:var(--radius-md);align-items:center;gap:.5rem;padding:.4rem .75rem;display:flex}.search-bar input{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;font-size:.82rem}.btn{border-radius:var(--radius-md);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.4rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;display:inline-flex}.kaos-input{background:var(--bg-inset);border:1px solid var(--border-color);border-radius:var(--radius-md);color:var(--text-primary);outline:none;padding:.5rem 1rem;font-size:.875rem}.reports-view{flex-direction:column;gap:1.5rem;display:flex}.reports-layout{grid-template-columns:340px 1fr;align-items:start;gap:1.5rem;display:grid}.reports-layout:not(.with-preview){grid-template-columns:380px 1fr}.reports-config-panel,.report-config{flex-direction:column;display:flex}.report-preview-panel{border:1px solid var(--border-color);border-radius:var(--radius-lg);flex-direction:column;gap:0;display:flex;overflow:hidden}.preview-toolbar{background:var(--epic-brand-subtle);border-bottom:1px solid var(--border-epic);justify-content:space-between;align-items:center;padding:.6rem 1rem;display:flex}.report-preview{background:#0f1622;flex-direction:column;gap:1.5rem;max-height:75vh;padding:2rem;display:flex;overflow-y:auto}.rpt-header{border-bottom:2px solid var(--epic-brand);justify-content:space-between;align-items:center;padding-bottom:1.25rem;display:flex}.rpt-logos{align-items:center;gap:.5rem;display:flex}.rpt-logo-epic{letter-spacing:.08em;color:var(--epic-brand);font-size:1.1rem;font-weight:900}.rpt-logo-sep{color:var(--text-secondary);font-size:1rem}.rpt-logo-kaos{color:#fff;font-size:1.1rem;font-weight:700}.rpt-title-block{text-align:center}.rpt-title{letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.95rem;font-weight:800}.rpt-subtitle{color:var(--text-secondary);margin-top:.25rem;font-size:.78rem}.rpt-seal{background:var(--success-subtle);border-radius:var(--radius-md);border:1px solid #16a34a33;align-items:center;gap:.5rem;padding:.4rem .75rem;display:flex}.rpt-section{flex-direction:column;gap:.75rem;display:flex}.rpt-section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary);border-bottom:1px solid #00000012;align-items:center;gap:.4rem;margin:0;padding-bottom:.4rem;font-size:.72rem;display:flex}.rpt-commentary{background:var(--epic-brand-subtle);border-left:3px solid var(--epic-brand);border-radius:0 var(--radius-md) var(--radius-md) 0;padding:.75rem;font-style:italic;line-height:1.6}.rpt-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;display:grid}.rpt-kpi{background:var(--surface-3);border-radius:var(--radius-md);border:1px solid #00000012;flex-direction:column;gap:.25rem;padding:.75rem 1rem;display:flex}.rpt-kpi-label{letter-spacing:.05em;text-transform:uppercase;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:500;line-height:1.3}.rpt-kpi-value{letter-spacing:-.015em;font-size:1.25rem;font-weight:700;line-height:1.1}.rpt-table{border-collapse:collapse;width:100%;font-size:.8rem}.rpt-table th{text-align:left;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #0000001a;padding:.4rem .6rem;font-size:.68rem}.rpt-table td{border-bottom:1px solid #0000000d;padding:.5rem .6rem}.rpt-table tr:last-child td{border-bottom:none}.rpt-table tr:hover td{background:#ffffff05}.rpt-badge{border-radius:9999px;padding:.15rem .45rem;font-size:.68rem;font-weight:600;display:inline-block}.rpt-badge-ok{background:var(--success-subtle);color:var(--success)}.rpt-badge-warning{background:var(--warning-subtle);color:var(--warning)}.rpt-badge-danger{background:var(--danger-subtle);color:var(--danger)}.rpt-alerta-section{border-radius:var(--radius-md);background:#f59e0b0a;border:1px solid #f59e0b26;padding:.875rem}.rpt-alerta-title{color:var(--warning)!important}.rpt-alerta-item{border-bottom:1px solid #0000000d;padding:.5rem 0}.rpt-alerta-item:last-child{border-bottom:none}.rpt-footer{color:var(--text-secondary);border-top:1px solid #00000014;flex-direction:column;gap:.25rem;padding-top:1rem;font-size:.7rem;display:flex}.reports-list{flex-direction:column;gap:.75rem;display:flex}.report-item{flex-direction:column;padding:.875rem;display:flex}.kaos-input,.kaos-textarea{border:1px solid var(--border-color);width:100%;color:var(--text-primary);border-radius:var(--radius-md);background:#0f172a80;outline:none;padding:.65rem .875rem;font-family:inherit;font-size:.875rem;transition:border-color .2s}.info-box{background:var(--epic-brand-subtle);border:1px dashed var(--border-epic);border-radius:var(--radius-md);align-items:flex-start;gap:.6rem;padding:.75rem;display:flex}.badge{border-radius:9999px;align-items:center;padding:.2rem .5rem;font-size:.72rem;font-weight:500;display:inline-flex}.btn-outline:disabled{opacity:.4;cursor:not-allowed}.admin-view{flex-direction:column;gap:1.5rem;display:flex}.fade-in{animation:.4s ease-in-out fadeIn}.header-actions{justify-content:space-between;align-items:flex-start;display:flex}.admin-tabs{border-bottom:1px solid var(--border-color);gap:.5rem;display:flex}.tab-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:.4rem;margin-bottom:-1px;padding:.55rem 1.1rem;font-size:.875rem;font-weight:500;transition:all .2s;display:inline-flex}.tab-btn:hover{color:var(--text-primary)}.tab-btn.active{color:var(--epic-brand);border-bottom-color:var(--epic-brand)}.grid-2col-admin{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}.fondo-card{flex-direction:column;gap:1rem;display:flex}.fondo-header{justify-content:space-between;align-items:center;display:flex}.fondo-icon{background:var(--epic-brand-subtle);border:1px solid var(--border-epic);border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.fondo-kpis{border-radius:var(--radius-md);background:#0f172a59;border:1px solid #0000000d;gap:2rem;padding:.75rem 1rem;display:flex}.fondo-kpi{flex-direction:column;gap:.2rem;display:flex}.kpi-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em;font-size:.68rem;font-weight:500}.kpi-value{letter-spacing:-.02em;font-size:1.5rem;font-weight:700;line-height:1.1}.portafolios-section{border-top:1px solid var(--border-color);padding-top:.75rem}.portafolios-list{flex-direction:column;gap:.5rem;display:flex}.portafolio-item{flex-direction:column;gap:.2rem;padding:.6rem .875rem;display:flex}.permissions-matrix{border:1px solid var(--border-color);border-radius:var(--radius-md);font-size:.82rem;overflow:hidden}.matrix-header{background:var(--epic-brand-subtle);border-bottom:1px solid var(--border-color);grid-template-columns:2fr repeat(4,1fr);display:grid}.matrix-row{border-bottom:1px solid #0000000d;grid-template-columns:2fr repeat(4,1fr);display:grid}.matrix-row:last-child{border-bottom:none}.matrix-row-alt{background:#0f172a40}.matrix-cell{justify-content:center;align-items:center;padding:.55rem .75rem;display:flex}.matrix-cell.matrix-label{border-right:1px solid var(--border-color);justify-content:flex-start}.usuarios-list{flex-direction:column;gap:.5rem;display:flex}.usuario-row{align-items:center;gap:.75rem;padding:.6rem .875rem;display:flex}.usuario-avatar{background:var(--epic-brand-subtle);width:32px;height:32px;color:var(--epic-brand-light);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;display:flex}.flex-col-tiny{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.settings-list{flex-direction:column;gap:1.5rem;display:flex}.setting-item{justify-content:space-between;align-items:center;gap:1rem;display:flex}.setting-info h4{margin:0 0 .25rem;font-size:.95rem}.setting-control{align-items:center;gap:.5rem;display:flex}.milestones-config{flex-direction:column;gap:1rem;display:flex}.milestone-editor{border-left:3px solid var(--epic-brand);padding:1rem}.form-group{flex-direction:column;gap:.35rem;display:flex}.form-group label{color:var(--text-secondary);font-size:.8rem;font-weight:500}.flex-col{flex-direction:column;gap:1rem;display:flex}.flex-row{align-items:center;gap:.5rem;display:flex}.h-full{height:100%}.m-0{margin:0}.ml-auto{margin-left:auto}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.p-3{padding:.75rem}.text-white{color:#fff}.bg-epic{background:var(--epic-brand)}.badge{white-space:nowrap;border-radius:9999px;align-items:center;padding:.2rem .5rem;font-size:.72rem;font-weight:500;display:inline-flex}.badge-outline{border:1px solid var(--border-color);color:var(--text-secondary)}.card-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.btn{border-radius:var(--radius-md);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.4rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .2s;display:inline-flex}.btn-epic{background:var(--epic-brand);color:#fff}.btn-epic:hover{opacity:.9}.btn-primary{background:var(--epic-brand);color:#fff}.btn-outline:hover{background:#0000000f}.kaos-input{background:var(--bg-inset);border:1px solid var(--border-color);border-radius:var(--radius-md);color:var(--text-primary);outline:none;width:100%;padding:.5rem 1rem;font-size:.875rem}.icon-btn-small{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:.2rem;display:flex}.icon-btn-small:hover{color:var(--text-primary);background:#0000000f}.copilot-floating-container{z-index:9999;align-items:center;gap:1rem;display:flex;position:fixed;bottom:2rem;right:2rem}.copilot-label{background:var(--surface-1,#fff);color:var(--text-2,#475569);font-size:var(--text-sm,.875rem);box-shadow:var(--shadow-md,0 4px 12px #0000001a);border:1px solid var(--border-md,#0000001f);white-space:nowrap;pointer-events:none;border-radius:20px;padding:.5rem 1rem;font-weight:500;animation:.3s fadeIn}.copilot-floating-btn{color:#fff;width:60px;height:60px;box-shadow:var(--shadow-lg,0 8px 24px #00000024);cursor:pointer;background:#f97316;border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .3s cubic-bezier(.25,.8,.25,1);display:flex;position:relative}.copilot-floating-btn:hover{background:#ea580c;transform:translateY(-5px)scale(1.05);box-shadow:0 12px 28px #f973164d}.copilot-floating-btn.active{background:var(--surface-1,#fff);color:var(--text-1,#0f172a);border:1px solid var(--border-md,#0000001f);box-shadow:var(--shadow-md,0 4px 12px #0000001a);transform:rotate(90deg)}.copilot-window{background:var(--surface-1,#fff);border:1px solid var(--border-md,#0000001f);border-radius:var(--radius-lg,12px);width:360px;height:550px;box-shadow:var(--shadow-lg,0 8px 24px #00000024);z-index:9998;flex-direction:column;animation:.3s cubic-bezier(.16,1,.3,1) slideUp;display:flex;position:fixed;bottom:6.5rem;right:2rem;overflow:hidden}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}.copilot-header{border-bottom:1px solid var(--border,#00000014);background:var(--surface-2,#f8fafc);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.copilot-header h3{font-size:var(--text-md,1rem);color:var(--text-1,#0f172a);margin:0;font-weight:600}.icon-btn{color:var(--text-2,#475569);cursor:pointer;border-radius:var(--radius-sm,4px);background:0 0;border:none;justify-content:center;align-items:center;padding:.25rem;transition:all .2s;display:flex}.icon-btn:hover{color:var(--text-1,#0f172a);background:var(--surface-hover,#eef2f7)}.copilot-body{background:var(--bg-base,#f8fafc);flex-direction:column;flex:1;display:flex;overflow-y:auto}.chat-view{gap:1.25rem;padding:1.25rem}.message{gap:.5rem;max-width:90%;animation:.3s fadeIn;display:flex}.message.user{flex-direction:row-reverse;align-self:flex-end}.message.assistant{align-self:flex-start}.message-avatar{color:#f97316;background:#f973161a;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:2px;display:flex}.message-bubble{border-radius:var(--radius-lg,12px);font-size:var(--text-sm,.875rem);padding:.75rem 1rem;line-height:1.5}.message.assistant .message-bubble{background:var(--surface-1,#fff);border:1px solid var(--border,#00000014);color:var(--text-1,#0f172a);box-shadow:var(--shadow-sm,0 1px 3px #00000014);border-top-left-radius:2px}.message.user .message-bubble{color:#fff;box-shadow:var(--shadow-sm,0 1px 3px #00000014);background:#f97316;border-top-right-radius:2px}.message-bubble p{margin:0}.typing-indicator-container{align-items:center}.typing-indicator{background:var(--surface-1,#fff);border:1px solid var(--border,#00000014);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-sm,0 1px 3px #00000014);border-top-left-radius:2px;gap:4px;padding:.6rem .8rem;display:flex}.typing-indicator span{background-color:#f97316;border-radius:50%;width:6px;height:6px;animation:1.4s ease-in-out infinite both typing}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{opacity:.5;transform:scale(0)}40%{opacity:1;transform:scale(1)}}.history-view{background:var(--surface-1,#fff);gap:.25rem;padding:.5rem}.history-item{border-radius:var(--radius-md,8px);cursor:pointer;border:1px solid #0000;align-items:center;gap:1rem;padding:1rem;transition:all .2s;display:flex}.history-item:hover{background:var(--surface-hover,#eef2f7);border-color:var(--border,#00000014)}.history-item-icon{border-radius:var(--radius-sm,4px);background:var(--bg-subtle,#f1f5f9);color:#f97316;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.history-item-content{flex-direction:column;flex:1;gap:.2rem;display:flex}.history-item-content h4{font-size:var(--text-sm,.875rem);color:var(--text-1,#0f172a);margin:0;font-weight:500}.history-item-content span{font-size:var(--text-xs,.75rem);color:var(--text-3,#94a3b8)}.copilot-body::-webkit-scrollbar{width:6px}.copilot-body::-webkit-scrollbar-track{background:0 0}.copilot-body::-webkit-scrollbar-thumb{background:#0000001a;border-radius:10px}.copilot-body::-webkit-scrollbar-thumb:hover{background:#0003}.copilot-suggestions{flex-direction:column;gap:.5rem;margin-top:auto;display:flex}.suggestion-chip{background:var(--surface-1,#fff);border:1px solid var(--border-md,#0000001f);color:var(--text-2,#475569);border-radius:var(--radius-sm,4px);font-size:var(--text-xs,.75rem);text-align:left;cursor:pointer;box-shadow:var(--shadow-sm,0 1px 3px #00000014);padding:.5rem .8rem;transition:all .2s}.suggestion-chip:hover{color:#ea580c;background:#f973160d;border-color:#f973164d;transform:translate(4px)}.copilot-footer{border-top:1px solid var(--border,#00000014);background:var(--surface-1,#fff);align-items:center;gap:.5rem;padding:1rem;display:flex}.copilot-footer .kaos-input{border-radius:var(--radius-xl,20px);flex:1}.send-btn{color:#fff;cursor:pointer;background:#f97316;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.send-btn:hover:not(:disabled){background:#ea580c;transform:scale(1.05)}.send-btn:disabled{background:var(--bg-inset,#e2e8f0);color:var(--text-4,#cbd5e1);cursor:not-allowed}:root{--bg-base:#f8fafc;--bg-subtle:#f1f5f9;--bg-inset:#e2e8f0;--surface-1:#fff;--surface-2:#f8fafc;--surface-3:#f1f5f9;--surface-hover:#eef2f7;--surface-color:var(--surface-1);--bg-color:var(--bg-base);--brand:#7c5af3;--brand-dim:#6d47f0;--brand-on:#5b3dd4;--brand-subtle:#7c5af312;--epic-brand:var(--brand);--epic-brand-dark:var(--brand-dim);--epic-brand-light:var(--brand-on);--epic-brand-subtle:var(--brand-subtle);--action:#2563eb;--action-hover:#1d4ed8;--action-subtle:#2563eb12;--success:#16a34a;--success-on:#15803d;--success-subtle:#16a34a12;--warning:#d97706;--warning-on:#92400e;--warning-subtle:#d9770612;--danger:#dc2626;--danger-on:#991b1b;--danger-subtle:#dc262612;--info:#2563eb;--info-on:#1e40af;--info-subtle:#2563eb12;--text-1:#0f172a;--text-2:#475569;--text-3:#94a3b8;--text-4:#cbd5e1;--text-primary:var(--text-1);--text-secondary:var(--text-2);--text-muted:var(--text-3);--border:#00000014;--border-md:#0000001f;--border-hi:#0000002e;--border-color:var(--border);--border-bright:var(--border-md);--border-epic:#7c5af34d;--sp-1:.25rem;--sp-2:.5rem;--sp-3:.75rem;--sp-4:1rem;--sp-5:1.25rem;--sp-6:1.5rem;--sp-8:2rem;--sp-10:2.5rem;--sp-12:3rem;--text-xs:.6875rem;--text-sm:.75rem;--text-base:.875rem;--text-md:1rem;--text-lg:1.125rem;--text-xl:1.375rem;--text-2xl:1.75rem;--text-3xl:2.25rem;--text-4xl:3rem;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--shadow-sm:0 1px 3px #00000014;--shadow-md:0 4px 12px #0000001a;--shadow-lg:0 8px 24px #00000024}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:var(--text-base);background-color:var(--bg-base);color:var(--text-1);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-weight:400;line-height:1.5}h1{font-size:var(--text-xl);letter-spacing:-.02em;font-weight:700;line-height:1.2}h2{font-size:var(--text-lg);letter-spacing:-.015em;font-weight:600;line-height:1.3}h3{font-size:var(--text-md);letter-spacing:-.01em;font-weight:600;line-height:1.35}h4{font-size:var(--text-base);font-weight:600;line-height:1.4}h5{font-size:var(--text-sm);letter-spacing:.05em;text-transform:uppercase;color:var(--text-2);font-weight:500;line-height:1.5}h1,h2,h3,h4{color:var(--text-1)}a{color:var(--brand-on);text-decoration:none;transition:color .15s}a:hover{color:var(--brand)}.numeric,[data-numeric]{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;letter-spacing:var(--tracking-tight,-.02em)}.kpi-hero{font-size:var(--text-4xl);letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:800;line-height:1}.kpi-lg{font-size:var(--text-3xl);letter-spacing:-.035em;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:700;line-height:1}.kpi-md{font-size:var(--text-2xl);letter-spacing:-.025em;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:700;line-height:1.05}.kpi-sm{font-size:var(--text-xl);letter-spacing:-.018em;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:600;line-height:1.1}.kpi-label{font-size:var(--text-xs);letter-spacing:.07em;text-transform:uppercase;color:var(--text-2);font-weight:500}.kpi-delta{font-size:var(--text-sm);font-variant-numeric:tabular-nums;align-items:center;gap:.2rem;font-weight:600;display:inline-flex}.kpi-delta.pos{color:var(--success-on)}.kpi-delta.neg{color:var(--danger-on)}.kpi-delta.neu{color:var(--text-2)}.card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--sp-6)}.card:hover{border-color:var(--border-md);background:var(--surface-hover)}.card-elevated{background:var(--surface-2);border:1px solid var(--border-md);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.card-inset{background:var(--surface-3);border:1px solid var(--border);border-radius:var(--radius-sm);padding:var(--sp-3) var(--sp-4)}.glass-panel{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg)}.app-container{height:100vh;display:flex;overflow:hidden}.main-content{padding:var(--sp-8);gap:var(--sp-6);background:var(--bg-base);flex-direction:column;flex:1;display:flex;overflow-y:auto}.btn{justify-content:center;align-items:center;gap:var(--sp-2);padding:.4375rem var(--sp-4);border-radius:var(--radius-md);font-size:var(--text-sm);cursor:pointer;white-space:nowrap;letter-spacing:.01em;border:1px solid #0000;font-weight:500;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.btn-primary{background:var(--action);color:#fff;border-color:var(--action)}.btn-primary:hover{background:var(--action-hover);border-color:var(--action-hover)}.btn-epic{background:var(--brand);color:#fff;border-color:var(--brand)}.btn-epic:hover{background:var(--brand-dim);border-color:var(--brand-dim)}.btn-outline{border-color:var(--border-md);color:var(--text-1);background:0 0}.btn-outline:hover{background:var(--surface-hover);border-color:var(--border-hi)}.btn-danger{background:var(--danger-subtle);color:var(--danger-on);border-color:#dc262640}.btn-danger:hover{background:#dc262624}.btn-sm{padding:.3125rem var(--sp-3);font-size:var(--text-xs)}.btn-xs{padding:.1875rem var(--sp-2);font-size:var(--text-xs)}.badge{align-items:center;gap:var(--sp-1);border-radius:var(--radius-sm);font-size:var(--text-xs);letter-spacing:.02em;padding:.1875rem .5rem;font-weight:500;display:inline-flex}.badge-success{background:var(--success-subtle);color:var(--success-on)}.badge-warning{background:var(--warning-subtle);color:var(--warning-on)}.badge-danger{background:var(--danger-subtle);color:var(--danger-on)}.badge-info{background:var(--info-subtle);color:var(--info-on)}.badge-brand{background:var(--brand-subtle);color:var(--brand-on)}.badge-neutral{color:var(--text-2);background:#0000000d}.badge-outline{border:1px solid var(--border-md);color:var(--text-2);background:0 0}.status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.status-dot.success{background:var(--success-on)}.status-dot.warning{background:var(--warning-on)}.status-dot.danger{background:var(--danger-on)}.status-dot.neutral{background:var(--text-3)}.flex-row{align-items:center;display:flex}.flex-col{flex-direction:column;display:flex}.justify-between{justify-content:space-between}.flex-1{flex:1}.w-full{width:100%}.gap-1{gap:var(--sp-1)}.gap-2{gap:var(--sp-2)}.gap-3{gap:var(--sp-3)}.gap-4{gap:var(--sp-4)}.gap-6{gap:var(--sp-6)}.gap-8{gap:var(--sp-8)}.text-success{color:var(--success-on)}.text-warning{color:var(--warning-on)}.text-danger{color:var(--danger-on)}.text-brand{color:var(--brand-on)}.text-info{color:var(--info-on)}.text-muted{color:var(--text-3)}.text-secondary{color:var(--text-2)}.text-epic{color:var(--brand-on)}.bg-success{background:var(--success-subtle)}.bg-warning{background:var(--warning-subtle)}.bg-danger{background:var(--danger-subtle)}.bg-brand{background:var(--brand-subtle)}.bg-epic{background:var(--brand);color:#fff}.border-success{border-color:#16a34a4d!important}.border-warning{border-color:#d977064d!important}.border-danger{border-color:#dc26264d!important}.border-epic{border-color:var(--border-epic)!important}.text-xs{font-size:var(--text-xs)}.text-sm{font-size:var(--text-sm)}.text-base{font-size:var(--text-base)}.text-md{font-size:var(--text-md)}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-mono{font-family:JetBrains Mono,Fira Code,monospace}.uppercase{text-transform:uppercase;letter-spacing:.06em}.card-header{margin-bottom:var(--sp-4);justify-content:space-between;align-items:center;display:flex}.form-group{gap:var(--sp-2);flex-direction:column;display:flex}.form-group label{font-size:var(--text-sm);color:var(--text-2);font-weight:500}.mt-2{margin-top:var(--sp-2)}.mt-3{margin-top:var(--sp-3)}.mt-4{margin-top:var(--sp-4)}.mr-1{margin-right:var(--sp-1)}.pb-2{padding-bottom:var(--sp-2)}.text-center{text-align:center}.border-top{border-top:1px solid var(--border)}.border-bottom{border-bottom:1px solid var(--border)}.border-dashed{border-style:dashed}.justify-end{justify-content:flex-end}.italic{font-style:italic}.kaos-input,.kaos-textarea{background:var(--bg-inset);border:1px solid var(--border-md);border-radius:var(--radius-md);width:100%;color:var(--text-1);padding:.4375rem var(--sp-3);font-size:var(--text-base);outline:none;font-family:inherit;line-height:1.5;transition:border-color .15s}.kaos-input:focus,.kaos-textarea:focus{border-color:var(--brand)}.kaos-input::placeholder,.kaos-textarea::placeholder{color:var(--text-3)}.kaos-input option{background:var(--surface-2)}.kaos-textarea{resize:vertical}.info-box{background:var(--brand-subtle);padding:var(--sp-3) var(--sp-4);border-radius:var(--radius-md);gap:var(--sp-3);border:1px solid #7c5af32e;align-items:flex-start;display:flex}:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:var(--radius-sm)}button:disabled,input:disabled{opacity:.4;cursor:not-allowed}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#00000024;border-radius:99px}::-webkit-scrollbar-thumb:hover{background:#00000038}
