@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{color-scheme:light;--bg: #f3efe8;--bg-alt: #e7ecf7;--panel: rgba(255, 255, 255, .82);--panel-border: rgba(19, 31, 58, .12);--text: #102033;--muted: #5e6a7d;--primary: #0f5b7a;--primary-strong: #093244;--accent: #d97c2b;--danger: #b42318;--success: #067647;--shadow: 0 18px 60px rgba(16, 32, 51, .12);font-family:Manrope,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;color:var(--text);background:radial-gradient(circle at top left,rgba(15,91,122,.18),transparent 28%),radial-gradient(circle at 85% 15%,rgba(217,124,43,.16),transparent 22%),linear-gradient(135deg,var(--bg),var(--bg-alt))}button,input,select{font:inherit}button{cursor:pointer;border:none}.app-shell{width:min(1440px,calc(100vw - 32px));margin:0 auto;padding:32px 0 48px}.hero{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:24px}.hero h1{margin:0 0 .5rem;font-size:1.75rem;font-weight:800;line-height:1.2;letter-spacing:-.02em}.hero-copy{max-width:62ch;color:var(--muted);font-size:1.05rem;line-height:1.6}.hero-badge{padding:14px 18px;border-radius:999px;background:#0f5b7a14;border:1px solid rgba(15,91,122,.18);color:var(--primary-strong);font-weight:700;box-shadow:var(--shadow)}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-size:.74rem;font-weight:800}.status-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.alert-banner{margin:0 0 18px;padding:12px 14px;border-radius:14px;border:1px solid transparent;font-weight:700}.alert-banner--error{background:#b423181a;border-color:#b4231840;color:var(--danger)}.alert-banner--success{background:#0676471a;border-color:#06764740;color:var(--success)}.budget-form-section{margin-bottom:18px}.view-switcher{display:inline-flex;gap:10px;padding:8px;margin-bottom:18px;border-radius:999px;background:#ffffff80;border:1px solid rgba(16,32,51,.08)}.view-tab{padding:10px 16px;border-radius:999px;background:transparent;color:var(--primary-strong);font-weight:800}.view-tab.active{background:var(--primary-strong);color:#fff}.view-tab:disabled{opacity:.45;cursor:not-allowed}.input-view,.results-view{display:grid;gap:18px;width:100%;min-width:0}.full-width-card{width:100%}.upload-card-shell{padding:0}.upload-card{display:grid;gap:14px;width:100%;padding:22px;align-content:start}.upload-card .panel-header{margin-bottom:0}.upload-card .panel-copy{margin:0;max-width:60ch}.upload-card .file-input{border-style:dashed;border-color:#10203333;background:#ffffffbf}.upload-card .file-status{margin-top:0;font-weight:700}.upload-card-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:6px;padding-top:16px;border-top:1px solid rgba(16,32,51,.08)}.results-toolbar{display:flex;padding:20px;justify-content:space-between;align-items:end;gap:18px;width:100%;min-width:0}.results-grid{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.results-grid .left-column,.results-grid .right-column{width:100%}.metric-card,.panel{background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--panel-border);border-radius:24px;box-shadow:var(--shadow)}.metric-card{padding:18px 20px}.metric-card p,.metric-card span{margin:0;color:var(--muted)}.metric-card strong{display:block;margin:10px 0 8px;font-size:1.4rem}.workspace-grid{padding:20px;animation:fade-up .5s ease both;gap:18px;width:100%;min-width:0}.left-column,.right-column{display:grid;gap:18px;align-content:start;min-width:0}.right-column{flex:1.2;min-width:0}.panel{padding:20px;animation:fade-up .5s ease both;width:100%;min-width:0}.panel-header{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:14px}.panel h2{margin:6px 0 0;font-size:1.2rem}.panel-copy,.helper-text,.muted{color:var(--muted)}.pill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#d97c2b1f;color:#8b4b08;font-weight:800}.file-input,.grid-form input,.grid-form select,.budget-search input,.inline-input{width:100%;border:1px solid rgba(16,32,51,.14);border-radius:14px;background:#ffffffe6;color:var(--text);padding:12px 14px}.file-input::file-selector-button{background:var(--primary-strong);color:#fff;border:none;padding:8px 12px;border-radius:8px}.file-status,.empty-state{margin-top:12px;padding:12px 14px;border-radius:14px;background:#0f5b7a14;color:var(--primary-strong)}.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid-form label{display:grid;gap:8px;font-weight:600}.button-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.primary-button,.secondary-button{padding:13px 14px;border-radius:14px;font-weight:800;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.primary-button{background:linear-gradient(135deg,var(--primary),var(--primary-strong));color:#fff}.secondary-button{background:#1020330d;color:var(--primary-strong);border:1px solid rgba(16,32,51,.1)}.primary-button:hover,.secondary-button:hover{transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.panel--cta{max-width:300px;margin:0 auto;text-align:center;flex-direction:column;align-items:center;min-height:50px;justify-content:center}.cta-wrapper{display:flex;justify-content:center;margin-top:20px}.flow-feedback{margin-top:16px;display:flex;flex-direction:column;gap:8px}.table-wrap{overflow-x:auto;border-radius:18px;border:1px solid rgba(16,32,51,.1);max-height:320px;width:100%;min-width:0}table{width:max-content;border-collapse:collapse;min-width:100%;table-layout:fixed}.results-grid .json-preview,.results-grid .empty-state,.results-grid .table-wrap,.results-grid .panel,.results-grid .upload-card-shell{max-width:100%;min-width:0}.results-grid .table-wrap{min-height:460px;max-height:460px}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid rgba(16,32,51,.08);font-size:.92rem;vertical-align:middle}.cell-text{display:block;overflow:hidden;max-width:100%}.cell-text--truncate{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.description-cell,.description-col,.description-cell[data-column=Texto_Mediciones],.description-col[data-column=Texto_Mediciones]{width:300px;min-width:250px;max-width:400px;white-space:normal;word-break:break-word}th{position:sticky;top:0;background:#f3efe8f2;z-index:1;color:var(--primary-strong)}.price-cell{color:var(--danger);font-weight:700}.price-cell .inline-input{color:var(--text);font-weight:700}.price-cell .inline-input--alert,.inline-input--alert{color:var(--danger)}.inline-input{padding:8px 10px;min-width:100px}.json-preview{margin:0;padding:16px;border-radius:16px;background:#102033f5;color:#dfe7f3;overflow:auto;max-height:320px;font-size:.83rem}.budget-search{display:grid;grid-template-columns:1fr auto;gap:12px}@keyframes fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1080px){.workspace-grid,.status-row,.hero,.results-toolbar{grid-template-columns:1fr;display:grid}.hero{align-items:start}.results-grid{grid-template-columns:1fr}}@media(max-width:720px){.app-shell{width:min(100vw - 20px,1440px);padding-top:18px}.view-switcher{width:100%;justify-content:space-between}.grid-form,.button-row,.upload-card-actions,.budget-search{grid-template-columns:1fr}}.topnav{position:sticky;top:0;z-index:1000;background:#ffffffd9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(16,32,51,.08)}.topnav-inner{max-width:1440px;margin:0 auto;padding:12px 24px;display:flex;justify-content:space-between;align-items:center}.topnav-links{display:flex;gap:14px}.topnav-links a{text-decoration:none;color:var(--primary-strong);font-weight:700;padding:8px 12px;border-radius:10px}.topnav-links a.active{background:var(--primary-strong);color:#fff}.topnav-logo{display:flex;align-items:center;gap:10px;text-decoration:none}.topnav-brand{font-size:1rem;font-weight:700;color:var(--text);letter-spacing:-.01em}.app-main{min-height:calc(100vh - 120px)}.app-footer{width:100%;display:flex;justify-content:center;align-items:center;padding:24px 0;border-top:1px solid rgba(16,32,51,.08);background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.footer-logo{opacity:.9;transition:opacity .2s ease}.footer-logo:hover{opacity:1}.filter-row{margin-bottom:16px;flex-wrap:wrap;gap:8px}.filter-shell{position:sticky;top:12px;z-index:20;display:flex;flex-direction:column;gap:12px;padding:14px 16px;margin-bottom:18px;border:1px solid rgba(16,32,51,.08);border-radius:18px;background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 26px #0a16230f}.filter-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:end;gap:12px}.filter-control{width:100%;display:flex;flex-direction:column;gap:6px}.filter-control__label{font-size:12px;font-weight:600;color:var(--muted-text, #5f6b7a)}.filter-control__inline{display:flex;align-items:center;gap:8px}.filter-control__input,.filter-control__number{min-height:42px;border-radius:12px;border:1px solid rgba(16,32,51,.14);background:#fff;color:var(--text-color, #102033);padding:0 12px;font:inherit;outline:none}.filter-control__input{width:100%}.filter-control__number{width:92px;text-align:right}.filter-control__range{flex:1 1 auto;accent-color:var(--primary-strong)}.filter-control__unit{min-width:16px;font-weight:600;color:var(--muted-text, #5f6b7a)}.filter-summary{display:flex;flex-wrap:wrap;gap:12px 20px;padding:10px 12px;border:1px solid rgba(16,32,51,.08);border-radius:14px;background:#ffffffb8;color:var(--muted-text, #5f6b7a);font-size:13px}.filter-help{margin:0 0 12px;color:var(--muted-text, #5f6b7a);font-size:13px;line-height:1.5}@media(max-width:900px){.filter-shell{position:static;top:auto}.filter-toolbar{grid-template-columns:1fr;align-items:stretch}}.active-filter{background:var(--primary-strong);color:#fff;border:1px solid var(--primary-strong)}.filter-row button{transition:all .2s ease}.filter-row button:hover{transform:translateY(-1px)}.loading-overlay{position:fixed;inset:0;background:#ffffffb3;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.spinner{width:48px;height:48px;border:5px solid #ddd;border-top:5px solid #093244;border-radius:50%;animation:spin .9s linear infinite;margin-bottom:12px}.filter-row .secondary-button:hover{background:inherit;color:inherit;transform:none;box-shadow:none}.filter-row .active-filter{background:var(--primary-strong);color:#fff;border:1px solid var(--primary-strong)}.alert-slot{margin:12px 0}.alert-banner-placeholder{height:48px}.semaforo-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-weight:600;font-size:12px;text-transform:capitalize}.semaforo--verde{background:#81f587;color:#000}.semaforo--amarillo{background:#f8ee61;color:#1a1a1a}.semaforo--rojo{background:#f17b7b;color:#fff}.semaforo--azul{background-color:#95daf5;color:#0f172a}.workflow-panel{margin-top:1.5rem}.home-tabs{display:flex;gap:.75rem;margin-bottom:1.5rem}.home-tab{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:999px;padding:.65rem 1.2rem;font-weight:600;cursor:pointer;transition:all .2s ease}.home-tab:hover{background:#f9fafb}.home-tab--active{background:#9bbcf5;border-color:#9bbcf5;color:#292929}.tab-content{border-top:1px solid #eaecf0;padding-top:1.25rem}.tab-content h3{margin-bottom:.5rem}.tab-content p{color:#667085;margin-bottom:1.25rem}.dashboard-page{display:flex;flex-direction:column;gap:1.5rem}.dashboard-panel--narrow{width:min(500px,100%);max-width:fit-content;align-self:center}.dashboard-panel--wide-chart{width:100%;align-self:stretch}.dashboard-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem 0}.dashboard-hero h1{margin:0 0 .5rem;font-size:1.75rem;font-weight:800;line-height:1.2;letter-spacing:-.02em}.dashboard-hero p{margin:.5rem 0 0;color:#667085}.eyebrow{margin:0 0 .35rem!important;font-size:.8rem;font-weight:700;color:#98a2b3;text-transform:uppercase;letter-spacing:.08em}.dashboard-actions{display:flex;gap:.75rem}.secondary-button{border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:.75rem;padding:.75rem 1rem;font-weight:700;cursor:pointer}.secondary-button:hover{background:#f9fafb}.context-panel{margin-top:-.5rem}.context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.context-grid div,.detected-columns div{border:1px solid #eaecf0;border-radius:.9rem;padding:1rem;background:#fff}.context-grid span,.detected-columns span,.kpi-card span{display:block;margin-bottom:.35rem;font-size:.8rem;color:#667085}.context-grid strong,.detected-columns strong{color:#101828;word-break:break-word}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.kpi-card{border:1px solid #eaecf0;border-radius:1rem;padding:1.25rem;background:#fff;box-shadow:0 1px 2px #1018280a}.kpi-card strong{display:block;font-size:1.5rem;color:#101828}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.dashboard-grid>.panel{height:100%}.chapter-list{display:flex;flex-direction:column;gap:1rem}.chapter-row{border-bottom:1px solid #eaecf0;padding-bottom:1rem}.chapter-row:last-child{border-bottom:0;padding-bottom:0}.chapter-row__header,.chapter-row__meta{display:flex;align-items:center;justify-content:space-between;gap:1rem}.chapter-row__header strong{color:#101828}.chapter-row__header span{font-weight:700}.chapter-row__meta{margin-top:.35rem;font-size:.85rem;color:#667085}.progress-track{height:.55rem;margin-top:.6rem;overflow:hidden;border-radius:999px;background:#f2f4f7}.progress-bar{height:100%;border-radius:999px;background:#ffbc0d}.detected-columns{display:flex;flex-direction:column;gap:.75rem}.muted{color:#667085}.table-scroll{width:100%;overflow-x:auto}.dashboard-table{width:100%;border-collapse:collapse;font-size:.9rem}.dashboard-table th{position:sticky;top:0;background:#f9fafb;color:#344054;text-align:left;font-weight:700;border-bottom:1px solid #eaecf0;padding:.75rem;white-space:nowrap}.dashboard-table td{border-bottom:1px solid #eaecf0;padding:.75rem;color:#475467;vertical-align:top;white-space:nowrap}.empty-dashboard{max-width:720px;margin:3rem auto;text-align:center}.empty-dashboard h1{margin-top:0}@media(max-width:900px){.dashboard-hero{flex-direction:column}.context-grid,.dashboard-kpis,.dashboard-grid{grid-template-columns:1fr}}:root{--chart-1: #4f8f9f;--chart-2: #d08a45;--chart-3: #6f7f90;--chart-4: #5f9f7a;--chart-5: #7b8fc9;--chart-6: #b1749c}.bar-chart{display:flex;flex-direction:column;gap:1rem}.bar-item{display:flex;flex-direction:column;gap:.45rem}.bar-item__label,.bar-item__meta{display:flex;align-items:center;justify-content:space-between;gap:1rem}.bar-item__label strong{color:#101828;font-size:.95rem}.bar-item__label span{color:#344054;font-weight:700}.bar-item__meta{color:#667085;font-size:.8rem}.bar-track{width:100%;height:.7rem;overflow:hidden;border-radius:999px;background:#f2f4f7}.bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#ffbc0d,#da291c)}.donut-layout{display:grid;grid-template-columns:220px 1fr;align-items:center;gap:1rem}.donut-chart{width:220px;height:220px}.donut-total-label{fill:#667085;font-size:.7rem;font-weight:700;text-transform:uppercase}.donut-total-value{fill:#101828;font-size:.8rem;font-weight:800}.donut-legend{display:flex;flex-direction:column;gap:.8rem}.legend-row{display:flex;align-items:flex-start;gap:.65rem}.legend-dot{width:.8rem;height:.8rem;margin-top:.2rem;flex:0 0 auto;border-radius:999px}.legend-row strong{display:block;color:#101828;font-size:.9rem}.legend-row small{display:block;margin-top:.15rem;color:#667085}.top-items-list{display:flex;flex-direction:column;gap:.75rem}.top-item{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:1rem;padding:.9rem;border:1px solid #eaecf0;border-radius:.9rem;background:#fff}.top-item__rank{width:36px;height:36px;display:grid;place-items:center;border-radius:999px;background:#fff7d6;color:#7a4b00;font-weight:800}.top-item__content strong{display:block;color:#101828}.top-item__content span{display:block;margin-top:.2rem;color:#667085;font-size:.85rem}.top-item__amount{color:#101828;font-weight:800;white-space:nowrap}.summary-table td,.summary-table th{text-align:right}.summary-table td:first-child,.summary-table th:first-child{text-align:left}@media(max-width:900px){.donut-layout{grid-template-columns:1fr}.donut-chart{margin:0 auto}.top-item{grid-template-columns:36px 1fr}.top-item__amount{grid-column:2}}.preview-header{align-items:flex-start;gap:1rem}.panel-subtitle{margin:.25rem 0 0;color:#667085;font-size:.9rem}.preview-count{flex:0 0 auto;border-radius:999px;background:#fff7d6;color:#7a4b00;padding:.45rem .8rem;font-size:.85rem;font-weight:800}.preview-table-wrapper{max-height:560px;overflow:auto;border:1px solid #eaecf0;border-radius:1rem}.preview-table{min-width:1100px}.preview-table th{position:sticky;top:0;z-index:2;background:#f9fafb}.preview-table th,.preview-table td{max-width:280px;padding:.85rem 1rem;vertical-align:middle}.data-table th,.data-table td,.data-table .cell-text,.data-table .cell-text--truncate,.data-table .inline-input{text-align:right}.data-table .price-cell .cell-text,.data-table .price-cell .cell-text--truncate{color:var(--danger);font-weight:700}.preview-table tbody tr:hover{background:#fffbeb}.row-number-column{width:56px;min-width:56px;max-width:56px;text-align:center!important;color:#667085;background:#fcfcfd;font-weight:700}.numeric-cell{text-align:right;font-variant-numeric:tabular-nums;font-weight:700;color:#101828;white-space:nowrap}.description-cell{min-width:340px;max-width:520px;white-space:normal!important;line-height:1.35}.budget-name-cell{min-width:220px;font-weight:700;color:#101828;background:#fffbeb}.preview-table td:not(.description-cell){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-note{margin-top:1rem}.file-upload-card{width:100%}.file-input{display:none}.file-dropzone{display:flex;align-items:center;justify-content:center;min-height:150px;width:100%;border:2px dashed #d0d5dd;border-radius:1rem;background:#fcfcfd;cursor:pointer;transition:border-color .2s ease,background .2s ease}.file-dropzone:hover{border-color:#ffbc0d;background:#fffbeb}.file-dropzone-content{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:1.5rem;text-align:center}.file-dropzone-content strong{color:#101828;font-size:1rem}.file-dropzone-content span{color:#667085;font-size:.9rem}.multi-file-list{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.multi-file-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #eaecf0;border-radius:.9rem;padding:.85rem 1rem;background:#fff}.multi-file-item strong{display:block;color:#101828}.multi-file-item span{display:block;margin-top:.15rem;color:#667085;font-size:.85rem}.chapter-comparison__item{border:1px solid var(--border-color, #e5e7eb);border-radius:18px;padding:1.25rem;background:#fff;box-shadow:0 1px 2px #1018280a}.spread-chart{display:grid;gap:1rem}.spread-chart__item{display:grid;gap:.45rem}.spread-chart__scale{position:relative;height:12px;border-radius:999px;background:#eef2f7;overflow:hidden}.spread-chart__scale span{position:absolute;left:0;top:0;height:100%;border-radius:999px}.spread-chart__scale span:nth-child(1){background:var(--chart-3)}.spread-chart__scale span:nth-child(2){background:var(--chart-2)}.spread-chart__scale span:nth-child(3){background:var(--chart-1);opacity:.45}.home-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.home-selector__option{border:1px solid var(--border-color, #e5e7eb);border-radius:18px;padding:2rem;background:#fff;text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.home-selector__option:hover{transform:translateY(-2px);border-color:var(--primary-color, #2563eb);box-shadow:0 16px 32px #0f172a14}.home-selector__option span{display:block;font-size:1.35rem;font-weight:700;margin-bottom:.5rem}.home-selector__option small{display:block;color:var(--muted-color, #64748b);line-height:1.4}.input-view--single{grid-template-columns:1fr}.analysis-file-list{display:grid;gap:.85rem;margin-top:1rem}.analysis-file-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);align-items:center;gap:1rem;border:1px solid var(--border-color, #e5e7eb);border-radius:14px;padding:.85rem 1rem;background:#fff}.analysis-file-row strong,.analysis-file-row small{display:block}.analysis-file-row small{color:var(--muted-color, #64748b);margin-top:.2rem}.analysis-file-row select,.modal-card select{width:100%;border:1px solid var(--border-color, #e5e7eb);border-radius:10px;padding:.7rem .8rem;background:#fff}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:1rem;background:#0f172a73}.modal-card{width:min(520px,100%);border-radius:18px;padding:1.5rem;background:#fff;box-shadow:0 24px 64px #0f172a3d}.modal-card h2{margin-top:0}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1.25rem}@media(max-width:760px){.home-selector,.analysis-file-row{grid-template-columns:1fr}}.analysis-file-row input,.modal-card input,.analysis-constructor-input{width:100%;border:1px solid var(--border-color, #e5e7eb);border-radius:10px;padding:.7rem .8rem;background:#fff;font:inherit;text-transform:uppercase}.analysis-file-row input::placeholder,.modal-card input::placeholder,.analysis-constructor-input::placeholder{text-transform:none}.comparison-chart-layout{display:grid;gap:1rem}.dashboard-kpis .kpi-card small{display:block;margin-top:.35rem;color:var(--muted-color, #64748b);font-size:.82rem;font-weight:500}.budget-legend{display:flex;flex-wrap:wrap;gap:.75rem 1rem;margin-bottom:1rem}.legend-row{display:inline-flex;align-items:center;gap:.55rem}.budget-legend__item{padding:.5rem .7rem;border:1px solid var(--border-color, #e5e7eb);border-radius:999px;background:#fff;align-items:flex-start}.legend-dot{width:.75rem;height:.75rem;flex:0 0 auto;border-radius:999px}.budget-legend__item strong{display:block;line-height:1.1}.budget-legend__item small{display:block;margin-top:.15rem;color:var(--muted-color, #64748b);font-size:.72rem}.bar-chart{display:grid;gap:1rem}.bar-item{display:grid;gap:.45rem}.bar-item__label{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.bar-item__label strong{min-width:0}.bar-item__label span{color:var(--muted-color, #64748b);white-space:nowrap}.bar-item__label--value-only{justify-content:flex-end}.bar-item__note{margin:0;color:var(--muted-color, #64748b);font-size:.82rem}.bar-track{width:100%;height:.85rem;overflow:hidden;border-radius:999px;background:#eef2f7}.bar-fill{height:100%;min-width:6px;border-radius:999px;background-image:none}.chart-scroll{scrollbar-gutter:stable}.chart-scroll--bars{max-height:24rem;overflow-y:auto;padding-right:.35rem}.chart-scroll--chapters{display:grid;gap:1rem;max-height:34rem;overflow-y:auto;padding-right:.35rem}.vertical-chart{display:grid;grid-auto-columns:minmax(7.5rem,9rem);grid-auto-flow:column;align-items:end;gap:1rem;min-height:18rem;overflow-x:auto;overflow-y:hidden;padding:.75rem 0 .6rem}.vertical-chart--categories{grid-auto-columns:minmax(8rem,10rem);min-height:17rem}.vertical-chart__item{display:grid;grid-template-rows:auto minmax(12rem,1fr) auto;gap:.55rem;height:100%;text-align:center}.vertical-chart__item strong{min-height:1.25rem;font-size:.9rem;line-height:1.2;white-space:nowrap}.vertical-chart__item span{height:2.95rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;color:var(--muted-color, #64748b);font-size:.82rem;line-height:1.2;word-break:break-word}.vertical-chart__track{display:flex;align-items:end;justify-content:center;min-height:12rem;border-radius:14px;background:#eef2f7;overflow:hidden}.vertical-chart__fill{width:min(56px,70%);min-height:6px;border-radius:14px 14px 0 0}.chapter-comparison{display:grid;gap:1rem}.chapter-comparison__item{border:1px solid var(--border-color, #e5e7eb);border-radius:16px;padding:1rem;background:#fff}.chapter-comparison__header{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.chapter-comparison__header span{color:var(--muted-color, #64748b)}.chapter-comparison__budgets{display:grid;gap:.75rem}.chapter-comparison__budget{display:grid;gap:.35rem}.deviation-comparison .bar-fill{opacity:.9}.comparison-chart .bar-fill,.chapter-comparison .bar-fill{background-image:none}.subchapter-comparison{display:grid;gap:1rem}.subchapter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem}.subchapter-card{border:1px solid var(--border-color, #e5e7eb);border-left:4px solid var(--primary, #ffbc0d);border-radius:10px;padding:.65rem .7rem;background:#fff;box-shadow:0 1px 2px #1018280a}.subchapter-card__title{margin:0 0 .5rem;font-size:.73rem;font-weight:600;color:#101828;line-height:1.3;min-height:1.9rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hbar-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.35rem;margin-bottom:.22rem}.hbar-track{height:.28rem;border-radius:999px;background:#eef2f7;overflow:hidden}.hbar-fill{height:100%;border-radius:999px;min-width:4px;transition:width .3s ease}.hbar-value{font-size:.66rem;font-weight:600;color:#344054;white-space:nowrap}@media(max-width:1100px){.subchapter-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.subchapter-grid{grid-template-columns:1fr}}.spread-chart__scale span{background-image:none}.cheapest-comparison{display:grid;gap:1.25rem}.cheapest-comparison__baseline{display:inline-grid;width:fit-content;gap:.2rem;padding:.85rem 1rem;border:1px solid var(--border-color, #e5e7eb);border-radius:14px;background:#fff}.cheapest-comparison__baseline span,.cheapest-comparison__baseline small{color:var(--muted-color, #64748b)}.cheapest-comparison__baseline strong{font-size:1.1rem}.cheapest-comparison__table{margin-top:.25rem}.summary-table{width:100%;table-layout:fixed}.summary-table th,.summary-table td{padding:.75rem 1rem;vertical-align:top}.summary-table th:first-child,.summary-table td:first-child{width:34%;max-width:34%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.summary-table th:not(:first-child),.summary-table td:not(:first-child){white-space:nowrap;text-align:right}.summary-table th:nth-child(5),.summary-table td:nth-child(5),.summary-table th:nth-child(6),.summary-table td:nth-child(6){text-align:left}.price-range-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem 1.4rem}.range-row{display:flex;flex-direction:column;gap:.28rem}.range-row__name{margin:0;font-size:.76rem;font-weight:600;color:#101828;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2rem}.range-row__track{display:flex;height:.42rem;border-radius:999px;background:#eef2f7;overflow:hidden}.range-row__base-fill{height:100%;background:var(--chart-1);border-radius:999px 0 0 999px;flex-shrink:0;min-width:0}.range-row__spread-fill{height:100%;background:var(--chart-2);border-radius:0 999px 999px 0;flex-shrink:0;min-width:4px;opacity:.75}.range-row__meta{display:flex;align-items:center;justify-content:space-between;gap:.2rem;font-size:.67rem;font-weight:600;line-height:1.2}.range-row__label--min{color:var(--chart-1);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.range-row__label--max{color:var(--chart-2);flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.range-row__spread-badge{flex-shrink:0;background:#f3ede4;color:#7a5230;border-radius:999px;padding:.1rem .4rem;font-size:.63rem;font-weight:700;white-space:nowrap}@media(max-width:900px){.price-range-grid{grid-template-columns:1fr}}.dashboard-panel--chapter-comparison .chapter-comparison__item,.dashboard-panel--chapter-deviation .chapter-comparison__item{border-left:5px solid var(--primary)}.dashboard-panel--price-range .range-row{border-left:3px solid var(--primary);padding-left:.5rem}.deviation-list{display:grid;gap:.85rem}.deviation-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem}@media(max-width:700px){.deviation-grid{grid-template-columns:1fr}}.deviation-card{display:grid;gap:.85rem}.deviation-card__header{align-items:flex-start;margin-bottom:0}.deviation-card__header div{display:grid;gap:.2rem}.deviation-card__chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.65rem}.deviation-chip{display:flex;justify-content:space-between;align-items:center;gap:.75rem;border-radius:12px;padding:.65rem .75rem;font-size:.82rem}.deviation-chip span{color:inherit;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deviation-chip strong{white-space:nowrap}.deviation-chip--low{background:#e8f3ee;color:#2f7d5b}.deviation-chip--medium{background:#fff2df;color:#b66a21}.deviation-chip--high{background:#f9e6ea;color:#b0445f}@media(max-width:760px){.price-range-card__header,.chapter-comparison__header{flex-direction:column}.price-range-card__range{flex-direction:column;align-items:flex-start;gap:.25rem}}.panel--priority{border:1px solid rgba(15,91,122,.18);box-shadow:0 18px 50px #0f5b7a14}.chapter-comparison__item,.price-range-card{box-shadow:none}.vertical-chart,.vertical-chart--categories{grid-auto-columns:minmax(6rem,7rem)}.app-footer{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 0}.footer-version{font-size:12px;color:#8a8a8a}.numeric-cell{text-align:right;font-variant-numeric:tabular-nums}.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem;margin-top:2rem}.hub-card{border:1.5px solid var(--panel-border);border-radius:20px;padding:1.75rem;background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--shadow);text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:.5rem;min-height:180px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.hub-card:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:0 20px 60px #3b82f61f}.hub-card__icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#3b82f61a;color:var(--primary);margin-bottom:.5rem;flex-shrink:0}.hub-card__icon svg{width:22px;height:22px}.hub-card__title{display:block;font-size:1.15rem;font-weight:700;color:var(--text);letter-spacing:-.01em}.hub-card__desc{display:block;color:var(--muted);font-size:.875rem;line-height:1.5;flex:1}.hub-card__count{display:inline-flex;align-items:center;margin-top:.75rem;padding:4px 10px;border-radius:999px;background:#3b82f614;color:var(--primary-strong, var(--primary));font-size:.75rem;font-weight:700}.page-header{display:flex;flex-direction:column;gap:.5rem;margin-bottom:2rem}.page-header__title{font-size:1.75rem;font-weight:800;color:var(--text);letter-spacing:-.02em;margin:0;line-height:1.2}.back-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .9rem;border-radius:8px;font-size:.875rem;font-weight:600;color:var(--muted);background:transparent;border:1px solid var(--panel-border);cursor:pointer;transition:color .15s,border-color .15s,background .15s;margin-bottom:1.25rem}.back-btn:hover{color:var(--primary);border-color:var(--primary);background:#3b82f60d}.back-btn svg{width:16px;height:16px;flex-shrink:0}.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:1rem;font-size:.875rem}.breadcrumb__item{display:flex;align-items:center}.breadcrumb__sep{margin:0 .4rem;color:var(--muted)}.breadcrumb__link{text-decoration:none;color:var(--primary);font-weight:600}.breadcrumb__link:hover{text-decoration:underline}.breadcrumb__current{color:var(--muted)}.module-breadcrumb-wrapper{width:min(1440px,calc(100vw - 32px));margin:20px auto 0;padding:0 16px}.hub-section{margin-bottom:2.5rem}.hub-section__title{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0 0 1rem}.hub-section__empty{color:var(--muted);font-size:.875rem;padding:.5rem 0 1rem}.hub-card--empty{opacity:.55;cursor:default}.hub-card--empty:hover{transform:none;border-color:var(--panel-border);box-shadow:var(--shadow)}.hub-card__coming-soon{display:inline-flex;align-items:center;margin-top:.75rem;padding:3px 9px;border-radius:999px;background:#5e6a7d1a;color:var(--muted);font-size:.72rem;font-weight:700}.dept-root{display:flex;flex-direction:column;min-height:100vh}.dept-layout{display:flex;height:calc(100vh - 52px);overflow:hidden}.sidebar{width:240px;flex-shrink:0;background:var(--panel);border-right:1px solid var(--panel-border);display:flex;flex-direction:column;padding:.5rem;overflow:hidden;gap:.125rem;transition:width .2s ease-in-out}.sidebar--collapsed{width:48px;padding:.5rem 0}.sidebar__toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:8px;border:none;background:transparent;color:var(--muted);cursor:pointer;transition:background .15s,color .15s;margin:0 auto .25rem}.sidebar__toggle:hover{background:#0000000f;color:var(--text)}.sidebar__toggle svg{width:18px;height:18px;flex-shrink:0}.sidebar__content{display:flex;flex-direction:column;flex:1;overflow:hidden;opacity:1;transition:opacity .15s ease-out;min-width:0;padding-top:.25rem}.sidebar--collapsed .sidebar__content{opacity:0;pointer-events:none}@media(prefers-reduced-motion:reduce){.sidebar,.sidebar__content{transition:none}}.sidebar__back{display:flex;align-items:center;gap:.4rem;padding:.45rem .75rem;border-radius:8px;color:var(--muted);text-decoration:none;font-size:.875rem;font-weight:600;transition:color .15s,background .15s;margin-bottom:.75rem}.sidebar__back:hover{color:var(--text);background:#0000000a}.sidebar__back svg{width:14px;height:14px;flex-shrink:0}.sidebar__group{margin-bottom:.5rem}.sidebar__group-label{display:block;padding:.2rem .75rem .4rem;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.sidebar__dept-link{display:block;padding:.45rem .75rem;border-radius:6px;color:var(--text);text-decoration:none;font-size:.875rem;font-weight:500;transition:background .15s,color .15s}.sidebar__dept-link:not(.sidebar__dept-link--disabled):hover{background:#0f5b7a12;color:var(--primary)}.sidebar__dept-link--active{background:#0f5b7a1a;color:var(--primary);font-weight:700}.sidebar__dept-link--disabled{color:var(--muted);cursor:default;opacity:.55}.sidebar__app-link{display:block;padding:.35rem .75rem .35rem 1.75rem;border-radius:6px;color:var(--muted);text-decoration:none;font-size:.825rem;transition:background .15s,color .15s}.sidebar__app-link:hover{background:#0f5b7a0f;color:var(--primary)}.sidebar__app-link--active{color:var(--primary);font-weight:600}.dept-content{flex:1;min-width:0;overflow-y:auto}.update-banner{position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%);z-index:9000;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem .75rem 1.1rem;background:var(--primary-strong);color:#fff;border-radius:14px;box-shadow:0 12px 40px #09324466;font-size:.875rem;font-weight:600;animation:banner-in .25s ease both;max-width:calc(100vw - 2.5rem);white-space:nowrap}@keyframes banner-in{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.update-banner__body{display:flex;align-items:center;gap:.5rem}.update-banner__body svg{width:18px;height:18px;flex-shrink:0;color:#4ade80}.update-banner__actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.update-banner__btn{border:none;border-radius:8px;padding:.4rem .85rem;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;transition:opacity .15s}.update-banner__btn:disabled{opacity:.6;cursor:not-allowed}.update-banner__btn--primary{background:#fff;color:var(--primary-strong)}.update-banner__btn--primary:hover:not(:disabled){opacity:.9}.update-banner__btn--dismiss{background:transparent;color:#ffffffb3;padding:.4rem .5rem}.update-banner__btn--dismiss:hover:not(:disabled){color:#fff}.sidebar__search-wrap{position:relative;margin-bottom:.75rem}.sidebar__search-icon{position:absolute;left:.6rem;top:50%;transform:translateY(-50%);width:14px;height:14px;color:var(--muted);pointer-events:none;flex-shrink:0}.sidebar__search-input{width:100%;border:1px solid var(--panel-border);border-radius:8px;background:#fff9;color:var(--text);padding:.4rem 2rem .4rem 1.85rem;font:inherit;font-size:.8rem;outline:none;transition:border-color .15s,background .15s}.sidebar__search-input:focus{border-color:var(--primary);background:#ffffffe6}.sidebar__search-input::placeholder{color:var(--muted)}.sidebar__search-clear{position:absolute;right:.4rem;top:50%;transform:translateY(-50%);width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--muted);cursor:pointer;border-radius:4px;padding:0;transition:color .15s}.sidebar__search-clear:hover{color:var(--text)}.sidebar__search-clear svg{width:12px;height:12px}.sidebar__search-results{display:flex;flex-direction:column;gap:.15rem;overflow-y:auto;flex:1}.sidebar__search-empty{padding:.5rem .75rem;font-size:.8rem;color:var(--muted)}.sidebar__search-item{display:flex;align-items:center;gap:.5rem;padding:.45rem .6rem;border-radius:6px;text-decoration:none;border:none;background:transparent;color:var(--text);font:inherit;font-size:.825rem;cursor:pointer;text-align:left;width:100%;transition:background .12s,color .12s}.sidebar__search-item:hover{background:#0f5b7a12;color:var(--primary)}.sidebar__search-item svg{width:15px;height:15px;flex-shrink:0;color:var(--muted)}.sidebar__search-item--dept{font-weight:600}.sidebar__search-item--dept svg{color:var(--primary)}.sidebar__search-item--app div{display:flex;flex-direction:column;min-width:0}.sidebar__search-item-label{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__search-item-dept{font-size:.72rem;color:var(--muted);margin-top:1px}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{background:var(--panel);border:1px solid var(--panel-border);border-radius:20px;padding:48px 44px 44px;width:100%;max-width:400px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.login-logo{display:flex;align-items:center;gap:10px;margin-bottom:32px}.login-logo img{height:36px;width:36px;object-fit:contain;border-radius:8px}.login-logo span{font-size:1.1rem;font-weight:800;color:var(--primary-strong);letter-spacing:-.02em}.login-title{margin:0 0 6px;font-size:1.6rem;font-weight:800;color:var(--text);letter-spacing:-.03em}.login-subtitle{margin:0 0 28px;font-size:.9rem;color:var(--muted)}.login-form{display:flex;flex-direction:column;gap:16px}.login-field{display:flex;flex-direction:column;gap:6px}.login-field label{font-size:.82rem;font-weight:600;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.login-field input{background:#ffffffb3;border:1.5px solid var(--panel-border);border-radius:10px;padding:11px 14px;font-size:.95rem;color:var(--text);outline:none;transition:border-color .15s}.login-field input:focus{border-color:var(--primary);background:#fff}.login-field input:disabled{opacity:.6}.login-error{margin:0;padding:10px 14px;background:#b4231812;border:1px solid rgba(180,35,24,.2);border-radius:8px;font-size:.85rem;color:var(--danger)}.login-btn{margin-top:4px;background:var(--primary);color:#fff;border-radius:10px;padding:12px;font-size:.95rem;font-weight:700;letter-spacing:.01em;transition:background .15s,opacity .15s}.login-btn:hover:not(:disabled){background:var(--primary-strong)}.login-btn:disabled{opacity:.55;cursor:not-allowed}.topnav-inner{display:flex;align-items:center;justify-content:space-between}.topnav-logout{font-size:.8rem;font-weight:600;color:var(--muted);background:transparent;padding:6px 12px;border-radius:8px;border:1px solid var(--panel-border);transition:color .15s,background .15s}.topnav-logout:hover{color:var(--danger);background:#b423180f;border-color:#b4231833}.login-loading{min-height:100vh;display:flex;align-items:center;justify-content:center}.login-spinner{display:block;width:32px;height:32px;border:3px solid rgba(15,91,122,.15);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.lic-resumen{display:flex;flex-wrap:wrap;align-items:center;gap:22px;padding:14px 22px;margin-bottom:20px;border-radius:14px;background:#0f5b7a0f;font-size:.95rem}.lic-filtros-wrap{margin-bottom:18px}.lic-filtros{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px}.lic-comunidades{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 14px;border-radius:12px;background:#0f5b7a0d}.lic-check{display:inline-flex;align-items:center;gap:5px;font-size:.86rem;font-weight:600;cursor:pointer;white-space:nowrap}.lic-check input{cursor:pointer}.lic-mini-btn{padding:3px 11px;border-radius:999px;border:1px solid rgba(15,91,122,.3);background:transparent;color:var(--primary-strong);font-size:.78rem;font-weight:700;cursor:pointer}.lic-mini-btn:hover{background:#0f5b7a1a}mark.hl{background:#ffe27a;color:inherit;padding:0 1px;border-radius:3px}.lic-filtros .inline-input{width:auto;flex:1 1 180px;min-width:140px}.lic-filtros input[type=number]{flex:0 1 150px}.badge-nueva{display:inline-block;margin-right:8px;padding:2px 9px;border-radius:999px;background:#1f8a4c;color:#fff;font-size:.72rem;font-weight:800;vertical-align:middle}.lic-tags{display:flex;flex-wrap:wrap;gap:8px}.lic-tag{display:inline-flex;align-items:center;gap:4px;padding:5px 11px;border-radius:999px;background:#0f5b7a17;color:var(--primary-strong);font-size:.82rem;font-weight:700;white-space:nowrap}.lic-tag--precio{background:#d97c2b24;color:#8b4b08}.app-gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:24px}.app-gate-card{background:var(--panel);border:1px solid var(--panel-border);border-radius:20px;box-shadow:var(--shadow);padding:48px 40px 40px;max-width:400px;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}.app-gate-logo{height:60px;width:auto;margin-bottom:4px;border-radius:8px;object-fit:contain}.app-gate-text{display:flex;flex-direction:column;gap:8px}.app-gate-title{margin:0;font-size:1.375rem;font-weight:800;color:var(--text);letter-spacing:-.03em}.app-gate-desc{margin:0;font-size:.9rem;color:var(--muted);line-height:1.6}.app-gate-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 32px;border-radius:10px;background:var(--primary);color:#fff;font-size:.9375rem;font-weight:700;cursor:pointer;transition:background .15s;margin-top:6px}.app-gate-btn:hover{background:var(--primary-strong)}.app-gate-btn:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.app-gate-hint{margin:0;font-size:.8125rem;color:var(--muted)}.app-gate-hint a{color:var(--primary-strong);font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:4px;border-bottom:1px solid var(--primary)}.app-gate-hint a:hover{color:var(--primary)}
