/* Mis presupuestos · 3.17.4.98. Estilos delimitados para conservar el Portal actual. */
.bgt-root{--bgt-ink:#173f31;--bgt-muted:#66776e;--bgt-line:#dbe7df;--bgt-paper:#fff;--bgt-tint:#f2f8f4;color:#1b3326}.bgt-root h2,.bgt-dialog h2{margin:2px 0 7px;font-size:27px;letter-spacing:-.6px}.bgt-root h3,.bgt-dialog h3{margin:0 0 5px;font-size:17px}.bgt-root p,.bgt-dialog p{margin:6px 0 13px}.bgt-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.bgt-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#6a8b76}.bgt-top-actions{display:flex;align-items:center;gap:13px}.bgt-revision{color:#6a7e71;font-size:12px}.bgt-back{padding:0 0 10px;background:transparent;color:#53755f;font-size:12px}.bgt-root button,.bgt-dialog button{transition:background .16s,border-color .16s,box-shadow .16s}.bgt-root button:hover:not(:disabled),.bgt-dialog button:hover:not(:disabled){box-shadow:0 2px 8px #173f3114}.bgt-search,.bgt-toolbar-search{display:flex;gap:8px;min-width:240px}.bgt-search{max-width:540px;margin-bottom:20px}.bgt-search input,.bgt-toolbar-search input{flex:1;min-width:0}.bgt-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:18px}.bgt-project-card{background:#fff;border:1px solid #dbe7df;border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:7px;transition:border-color .16s,transform .16s}.bgt-project-card:hover{border-color:#90ba9e;transform:translateY(-2px)}.bgt-project-icon,.bgt-empty-icon{width:46px;height:46px;border-radius:13px;background:#e8f3ec;color:#267653;display:grid;place-items:center;font-size:26px;margin-bottom:8px}.bgt-project-card h3{overflow-wrap:anywhere;font-size:19px}.bgt-project-card>p{min-height:20px}.bgt-project-card>small{font-size:11px;color:#6b7d71;margin:7px 0}.bgt-project-card>button{margin-top:auto}.bgt-project-stats{display:flex;flex-direction:column;gap:4px}.bgt-project-stats strong{font-size:24px;letter-spacing:-.5px;color:#173f31}.bgt-project-stats span{font-size:12px;color:#66776e}.bgt-summary{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:16px;margin-bottom:24px}.bgt-summary article{border:1px solid #dbe7df;border-radius:15px;background:#fff;padding:18px 22px;display:flex;flex-direction:column;gap:6px}.bgt-summary small{color:#637a6d;font-size:12px}.bgt-summary strong{color:#244e36;font-size:23px;letter-spacing:-.6px}.bgt-summary-total{background:#173f31!important;color:#fff;border-color:#173f31!important}.bgt-summary-total strong{color:#fff;font-size:27px}.bgt-summary-total small,.bgt-summary-total span{color:#c7ddcf;font-size:12px}.bgt-tabs{display:flex;border-bottom:1px solid #d4e1d8;gap:7px;overflow:auto;margin-bottom:20px}.bgt-tabs button{background:transparent;border-radius:0;border-bottom:3px solid transparent;color:#6a7e71;padding:12px 17px;white-space:nowrap}.bgt-tabs button.active{color:#226d48;border-color:#267653}.bgt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.bgt-toolbar>div:first-child{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.bgt-toolbar>div:has(>h3){display:block}.bgt-toolbar>label{min-width:240px}.bgt-bulk{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:11px 14px;border:1px solid #dbe7df;border-radius:11px;background:#f7faf8;margin-bottom:12px}.bgt-bulk label{display:flex;align-items:center;gap:7px;margin:0;font-size:12px}.bgt-bulk input,.bgt-check-label input{width:auto;flex:none;accent-color:#267653}.bgt-bulk span{font-size:12px;color:#728477;margin-right:auto}.bgt-bulk button{font-size:12px;padding:6px 9px}.bgt-danger-quiet{background:#fff3f1;color:#ac3027}.bgt-table-wrap{max-width:100%;overflow:auto;border:1px solid #dbe7df;border-radius:12px;background:#fff}.bgt-table-wrap table{border-collapse:collapse;min-width:680px;width:100%;margin:0}.bgt-table-wrap th{font-size:11px;font-weight:800;background:#eef5f0;padding:11px 9px;text-transform:none;letter-spacing:.1px}.bgt-table-wrap td{padding:10px 9px;font-size:12px;vertical-align:middle}.bgt-table-wrap td small{display:block;color:#77877c;font-size:10px;margin-top:4px}.bgt-table-wrap td strong{font-size:12px}.bgt-table-wrap input,.bgt-table-wrap select{font-size:12px;padding:7px 8px;border-radius:6px;max-width:100%}.bgt-table-wrap td input[type=checkbox]{width:16px;height:16px;accent-color:#267653}.bgt-budget-table{table-layout:fixed;min-width:1080px!important}.bgt-budget-table th:first-child{width:35px}.bgt-budget-table th:nth-child(2){width:77px}.bgt-budget-table th:nth-child(3){width:auto;min-width:220px}.bgt-budget-table th:nth-child(4){width:57px}.bgt-budget-table th:nth-child(5){width:95px}.bgt-budget-table th:nth-child(6){width:120px}.bgt-budget-table th:nth-child(7){width:125px}.bgt-budget-table th:last-child{width:300px}.bgt-node-title{display:block;padding:0;background:transparent;text-align:left;color:#233d2d;font-size:12px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.bgt-node-title:hover{color:#267653;box-shadow:none!important;text-decoration:underline}.bgt-chapter td{background:#e4f0e8!important;color:#244b32;font-weight:750;border-top:1px solid #c9ddd0}.bgt-chapter .bgt-node-title{font-weight:800}.bgt-money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.bgt-quantity{background:#fff9df;min-width:68px}.bgt-row-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}.bgt-row-actions button{background:#edf5ef;color:#366b49;font-size:10px;border-radius:5px;padding:5px 6px;white-space:nowrap}.bgt-row-actions .bgt-danger-quiet{background:#fff1ef;color:#ae352b}.bgt-drag{font-size:18px;color:#8ba592;cursor:grab}.bgt-dragging{opacity:.5}.bgt-drop td{box-shadow:inset 0 3px #39945e!important;background:#d9efdf!important}.bgt-pager{display:flex;justify-content:center;align-items:center;gap:12px;margin:20px 0}.bgt-pager span{font-size:12px;color:#75877b}.bgt-pager button{font-size:12px}.bgt-hint{font-size:12px!important;color:#748478!important;line-height:1.65}.bgt-muted{color:#77877c;text-align:center;padding:22px!important}.bgt-empty{background:#fff;border:1px dashed #cadbd0;border-radius:16px;min-height:240px;padding:45px 24px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.bgt-empty p{max-width:520px}.bgt-empty-small{min-height:90px;padding:25px}.bgt-error{padding:18px;border:1px solid #e9c0ba;background:#fff7f5;color:#9d3026;border-radius:12px}.bgt-error button{display:block;margin-top:12px}.bgt-spinner{display:inline-block;width:24px;height:24px;border:3px solid #dcebe1;border-top-color:#267653;border-radius:50%;animation:bgt-spin .8s linear infinite;flex:none}@keyframes bgt-spin{to{transform:rotate(360deg)}}.bgt-working .bgt-root>button{pointer-events:none}.bgt-dialog{border:1px solid #d7e3db;border-radius:19px;width:min(760px,calc(100vw - 36px));max-width:none;max-height:92vh;padding:0;box-shadow:0 24px 90px #071f1a38;color:#1b3326;background:#fff;overflow:auto;z-index:100}.bgt-dialog::backdrop{background:#0b211aaa;backdrop-filter:blur(2px)}.bgt-dialog-wide{width:min(1420px,calc(100vw - 36px))}.bgt-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 27px 16px;border-bottom:1px solid #e1ebe5;background:#fff;position:sticky;top:0;z-index:2}.bgt-dialog-head h2{font-size:23px}.bgt-close{font-size:27px;font-weight:400;line-height:1;background:transparent;color:#7b8a81;padding:4px 8px}.bgt-dialog-body{padding:22px 27px}.bgt-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:22px;padding-top:17px;border-top:1px solid #e1ebe5}.bgt-dialog-actions>span:first-child{margin-right:auto;color:#76867b;font-size:12px}.bgt-dialog label{font-size:12px;font-weight:650;gap:6px}.bgt-dialog input,.bgt-dialog select,.bgt-dialog textarea{font-size:13px}.bgt-grid2,.bgt-grid3{display:grid;gap:8px 16px;align-items:start}.bgt-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.bgt-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.bgt-span2{grid-column:span 2}.bgt-callout{border:1px solid #dbe9df;background:#f1f8f3;border-radius:10px;padding:12px 15px;line-height:1.65;font-size:12px;color:#53725d;margin:12px 0 18px}.bgt-apu-heading{border:1px solid #cce0d2;background:#eaf5ee;border-radius:11px;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 17px;margin-bottom:15px}.bgt-apu-heading strong{font-size:15px;display:block;color:#244a32}.bgt-apu-heading small{display:block;color:#708676;margin-top:5px}.bgt-apu-heading>span{font-size:11px;color:#5f7d68}.bgt-apu-heading>div:last-child strong{font-size:24px}.bgt-apu-group{margin:18px 0;border:1px solid #dbe7df;border-radius:12px;overflow:hidden}.bgt-apu-group>.bgt-section-title{background:#f0f6f2;padding:10px 14px;margin:0}.bgt-apu-group .bgt-table-wrap{border:none;border-radius:0}.bgt-apu-group table{table-layout:fixed;min-width:1070px}.bgt-apu-group th:nth-child(1){width:24%}.bgt-apu-group th:nth-child(2){width:6%}.bgt-apu-group th:nth-child(3){width:13%}.bgt-apu-group th:nth-child(4){width:12%}.bgt-apu-group th:nth-last-child(4){width:11%}.bgt-apu-group th:nth-last-child(3){width:12%}.bgt-apu-group th:nth-last-child(2){width:17%}.bgt-apu-group th:last-child{width:4%}.bgt-apu-group td input{width:100%;min-width:0}.bgt-input-paper{background:#fff8d7!important;border-color:#e4d9ac!important}.bgt-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 12px}.bgt-section-title button{font-size:12px}.bgt-section-title p{font-size:12px;margin-bottom:0}.bgt-resource-candidates{display:grid;gap:7px;margin-top:15px;max-height:50vh;overflow:auto}.bgt-resource-candidates>button{display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;background:#f7fbf8;color:#284632;border:1px solid #dce8df;padding:12px 15px}.bgt-resource-candidates small{display:block;color:#708477;font-size:11px;margin-top:4px}.bgt-resource-candidates>button:hover{background:#edf6f0;border-color:#9bc3a9}.bgt-memory-tools{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin-bottom:10px}.bgt-memory-tools>label{min-width:210px;flex:1;max-width:350px}.bgt-memory-tools button{font-size:11px}.bgt-memory-table table{min-width:1740px;table-layout:fixed}.bgt-memory-table th{padding:6px 5px;text-align:center}.bgt-memory-table th>span{display:block;font-size:10px;color:#84978a}.bgt-memory-table th>input{padding:5px!important;margin-top:3px;text-align:center;font-size:10px;min-width:0;background:#fffdf0}.bgt-memory-table .bgt-memory-unit{font-size:10px;width:70%;color:#6d8575;padding:3px!important}.bgt-memory-table th:first-child{width:220px}.bgt-memory-table th:nth-last-child(4){width:160px}.bgt-memory-table th:nth-last-child(3){width:110px}.bgt-memory-table th:nth-last-child(2){width:180px}.bgt-memory-table th:last-child{width:38px}.bgt-memory-table td{padding:5px}.bgt-memory-table input{min-width:0!important;width:100%;font-variant-numeric:tabular-nums;background:#fff9df}.bgt-memory-table td:first-child input,.bgt-memory-table td:nth-last-child(2) input{background:#fff}.bgt-memory-result{text-align:right;font-variant-numeric:tabular-nums;background:#eff6f1}.bgt-memory-images{display:flex;gap:15px;flex-wrap:wrap;margin:12px 0}.bgt-memory-images figure{margin:0;width:220px;border:1px solid #d7e5dc;border-radius:12px;overflow:hidden;background:#f8fbf9}.bgt-memory-images img{width:100%;height:150px;object-fit:contain;background:#fff}.bgt-memory-images figcaption{padding:7px 10px}.bgt-memory-images label{display:flex;align-items:center;gap:7px;font-size:10px}.bgt-memory-images input{width:auto}.bgt-memory-images button{padding:3px 8px;font-size:10px}.bgt-file-button{display:inline-flex!important;cursor:pointer;background:#eaf3ee;color:#267653;padding:8px 12px;border-radius:8px}.bgt-prose{line-height:1.75;font-size:13px;max-width:100%;overflow-wrap:anywhere;padding:15px 0}.bgt-prose img{max-width:100%;height:auto}.bgt-check-label{display:flex!important;align-items:center;gap:9px!important;margin:8px 0;font-size:12px}.bgt-component-card{border:1px solid #dbe7df;background:#fff;border-radius:13px;padding:19px 21px;margin-bottom:16px}.bgt-component-card>details{border-top:1px solid #e5eee8;padding-top:12px;margin-top:17px}.bgt-component-card summary{font-size:12px;color:#446d51;margin-bottom:10px}.bgt-component-card h4{font-size:12px;color:#6a8171;margin:20px 0 9px}.bgt-badge{font-size:13px;color:#267653;background:#edf6f0;padding:6px 10px;border-radius:8px;font-weight:700}.bgt-button-row{display:flex;gap:8px;max-width:520px}.bgt-button-row select{min-width:180px}.bgt-plan-table{table-layout:fixed;min-width:750px!important}.bgt-plan-table th:first-child{width:30%}.bgt-plan-table th:last-child{width:38px}.bgt-plan-table td{padding:7px}.bgt-plan-table input{min-width:0;width:100%;background:#fffaf0}.bgt-plan-table th{font-size:10px}.bgt-add-line{margin-top:10px;font-size:11px}.bgt-percent-input{display:flex;align-items:center;position:relative}.bgt-percent-input input{padding-right:24px}.bgt-percent-input>span{position:absolute;right:9px;color:#809287;font-size:12px;pointer-events:none}.bgt-save-bar{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:14px;border:1px solid #dbe7df;border-radius:11px;background:#fff;position:sticky;bottom:12px;box-shadow:0 3px 20px #143f2510}.bgt-save-bar span{color:#718477;font-size:12px}.bgt-spacer{flex:1}.bgt-danger-zone{border-top:1px solid #e7e8e5;margin-top:28px;padding-top:25px;display:flex;align-items:center;justify-content:space-between;gap:18px}.bgt-danger-zone strong{font-size:13px}.bgt-danger-zone p{font-size:12px;margin-bottom:0}.bgt-settings{background:#fff;border:1px solid #dbe7df;border-radius:14px;padding:22px 26px}.bgt-adjust-results{display:flex;align-items:center;justify-content:center;gap:28px;border:1px solid #dbe7df;background:#f4faf6;padding:20px;border-radius:12px;margin:16px 0}.bgt-adjust-results small,.bgt-adjust-results strong{display:block}.bgt-adjust-results strong{font-size:23px;color:#24633e;margin-top:7px}.bgt-adjust-results small{color:#6f8476}.bgt-export-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.bgt-export-option{display:flex;align-items:center;text-align:left;gap:14px;padding:19px;background:#f8fbf9;border:1px solid #dce7df;color:#2c5039}.bgt-export-option:hover{border-color:#9abfa6;background:#eef7f1}.bgt-export-option>span:nth-child(2){flex:1}.bgt-export-option strong{display:block;font-size:14px;margin-bottom:6px}.bgt-export-option small{display:block;color:#718679;font-size:11px;line-height:1.6;font-weight:400}.bgt-export-icon{display:grid;place-items:center;font-size:11px;font-weight:800;border:1px solid #adcbb8;background:#eaf3ee;border-radius:8px;width:38px;height:45px;flex:none}.bgt-button-link{display:inline-block;background:#267653;color:#fff;text-decoration:none;border-radius:9px;padding:10px 15px;font-weight:700}.bgt-job{padding:14px 3px}.bgt-job-heading{display:flex;align-items:center;gap:16px;margin:8px 0 25px}.bgt-job-heading strong,.bgt-job-heading small{display:block}.bgt-job-heading small{margin-top:6px;color:#7d9083}.bgt-job progress{width:100%;height:13px;accent-color:#267653}.bgt-job>p{text-align:center;font-size:12px}.bgt-job-check{display:grid;place-items:center;border-radius:50%;background:#e4f2e9;color:#267653;width:42px;height:42px;font-size:23px}.bgt-dialog input[type=checkbox],.bgt-root input[type=checkbox]{accent-color:#267653}.bgt-working [data-bgt]:not([data-bgt=job-pause]):not([data-bgt=close-dialog]){opacity:.7}.bgt-root button:focus-visible,.bgt-dialog button:focus-visible,.bgt-dialog input:focus-visible,.bgt-root input:focus-visible{outline:3px solid #8cc5a4;outline-offset:2px}
.bgt-root input[readonly],.bgt-dialog input[readonly]{background:#f0f5f2!important;border-color:#e0e9e3!important;color:#526e5b}.bgt-basic-link{display:block;background:#edf6f0;color:#32724c;font-size:10px;padding:4px 7px;margin-top:6px;text-align:left}.bgt-apu-group td:first-child>select{font-size:10px;margin-top:4px;padding:5px}.bgt-apu-group td:first-child>small{margin-top:8px}
@media(min-width:1500px){.bgt-budget-table{min-width:1160px!important}.bgt-budget-table th:last-child{width:315px}}
@media(max-width:1050px){.bgt-toolbar{align-items:stretch;flex-direction:column;gap:12px}.bgt-toolbar-search{max-width:none}.bgt-summary strong{font-size:20px}.bgt-summary-total strong{font-size:24px}.bgt-top-actions{align-items:flex-end;flex-direction:column;gap:6px}.bgt-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.bgt-section-title{flex-wrap:wrap}.bgt-button-row{width:100%;max-width:none}.bgt-button-row select{min-width:0;flex:1}.bgt-dialog-wide{width:calc(100vw - 24px)}}
@media(max-width:650px){.bgt-root h2{font-size:24px}.bgt-top{flex-direction:column;gap:14px}.bgt-top-actions{flex-direction:row;align-items:center;justify-content:space-between;width:100%}.bgt-summary{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:17px}.bgt-summary article{padding:13px 12px;min-width:0}.bgt-summary-total{grid-column:span 2}.bgt-summary strong{font-size:17px;overflow-wrap:anywhere}.bgt-summary-total strong{font-size:25px}.bgt-summary small{font-size:11px}.bgt-tabs{gap:0}.bgt-tabs button{font-size:12px;padding:11px 12px}.bgt-toolbar>div:first-child{align-items:stretch}.bgt-toolbar>div:first-child>button{flex:1;font-size:11px}.bgt-bulk{gap:7px;padding:9px}.bgt-bulk>span{margin-left:auto;margin-right:0}.bgt-bulk>button{flex:1}.bgt-dialog{width:calc(100vw - 16px);max-height:95vh;border-radius:14px}.bgt-dialog-head{padding:17px 16px 12px;gap:10px}.bgt-dialog-head h2{font-size:20px}.bgt-dialog-body{padding:16px}.bgt-grid2,.bgt-grid3{grid-template-columns:1fr}.bgt-span2{grid-column:auto}.bgt-dialog-actions{gap:7px}.bgt-dialog-actions button{font-size:12px;padding:9px 11px}.bgt-apu-heading{align-items:flex-start;flex-direction:column;gap:10px;padding:12px}.bgt-apu-heading>div:last-child strong{font-size:23px}.bgt-memory-tools{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.bgt-memory-tools>label{grid-column:span 2;max-width:none;min-width:0}.bgt-memory-tools button{font-size:10px;padding:8px}.bgt-memory-images figure{width:calc(50% - 8px)}.bgt-memory-images img{height:115px}.bgt-export-grid{grid-template-columns:1fr}.bgt-export-option{padding:13px}.bgt-pager{gap:7px}.bgt-pager span{font-size:10px}.bgt-pager button{padding:7px 9px}.bgt-settings{padding:16px}.bgt-component-card{padding:13px}.bgt-save-bar{padding:11px;bottom:5px;gap:9px}.bgt-save-bar span{font-size:10px}.bgt-save-bar button{font-size:11px}.bgt-danger-zone{align-items:flex-start;flex-direction:column}.bgt-adjust-results{gap:11px;padding:14px 9px}.bgt-adjust-results strong{font-size:16px}.bgt-adjust-results small{font-size:10px}.bgt-project-grid{grid-template-columns:1fr}.bgt-project-card{padding:20px}.bgt-search{max-width:none}.bgt-job>p{font-size:11px}.bgt-resource-candidates>button{gap:10px}.bgt-resource-candidates>button>span:last-child{font-size:12px}}
@media(prefers-reduced-motion:reduce){.bgt-root *,.bgt-dialog *{transition:none!important;scroll-behavior:auto!important}.bgt-spinner{animation-duration:1.6s}}

.bgt-export-cost{display:inline-block;margin-top:9px;padding:3px 8px;border-radius:99px;background:#e4f2e9;color:#24633e;font-size:11px;font-weight:800}.bgt-export-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:1px solid #dbe7df;border-radius:11px;background:#f4faf6;color:#536e5e}.bgt-export-balance strong{color:#24633e}.bgt-credit-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.bgt-credit-summary>div{padding:17px;border:1px solid #dbe7df;border-radius:12px;background:#f4faf6}.bgt-credit-summary small,.bgt-credit-summary strong{display:block}.bgt-credit-summary small{color:#637a6d;margin-bottom:7px}.bgt-credit-summary strong{color:#24633e;font-size:23px}@media(max-width:500px){.bgt-credit-summary{grid-template-columns:1fr}.bgt-credit-summary strong{font-size:20px}}

/* Hoja continua de presupuesto: ocho columnas y navegación por vínculos. */
.bgt-sheet .bgt-budget-table{min-width:980px!important;table-layout:fixed}.bgt-sheet .bgt-budget-table th{width:auto!important;min-width:0!important;background:#267653;color:#fff;font-size:11px;padding:13px 9px}.bgt-sheet-item{width:105px}.bgt-sheet-text{width:85px}.bgt-sheet-description{width:auto}.bgt-sheet-unit{width:60px}.bgt-sheet-quantity{width:85px}.bgt-sheet-price{width:125px}.bgt-sheet-total{width:135px}.bgt-sheet .bgt-budget-table td{padding:11px 9px;font-size:12px}.bgt-sheet .bgt-chapter td{background:#e3f1e7!important;border-top:1px solid #bfd7c7;border-bottom:1px solid #bfd7c7}.bgt-sheet-item-label{display:flex!important;align-items:center;gap:7px;white-space:nowrap;font-size:11px;margin:0}.bgt-sheet-item-label input{flex:none}.bgt-sheet-link{padding:2px 0;background:transparent;color:#246b49;font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.bgt-sheet-link:hover{color:#173f31;box-shadow:none!important}.bgt-sheet-quantity-link{min-width:45px;background:#f2f8f4;padding:4px 8px;border-radius:6px}.bgt-sheet-unit-value{text-align:center}.bgt-sheet-text-link{display:block;margin:auto;font-size:11px}.bgt-sheet tfoot td{background:#f8fbf9;border-bottom:1px solid #dfebe3;font-weight:700}.bgt-sheet tfoot td:first-child{text-align:right}.bgt-sheet tfoot .bgt-sheet-reference td{font-size:11px;font-weight:400;color:#708277;background:#fff}.bgt-sheet tfoot .bgt-sheet-subtotal td{background:#eaf4ee;color:#244a34}.bgt-sheet tfoot .bgt-sheet-grand-total td{background:#267653!important;color:#fff;font-size:15px;padding:17px 10px}.bgt-sheet-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#718477;font-size:11px;margin:10px 2px}.bgt-organizer-tools{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:18px 0}.bgt-organizer-tools label{min-width:230px;flex:1}.bgt-organizer-tools button{margin-bottom:8px;font-size:12px}.bgt-organizer-viewport{height:min(56vh,580px);min-height:250px;overflow:auto;border:1px solid #d4e3d9;border-radius:12px;background:#fff;position:relative;overscroll-behavior:contain}#bgtOrganizerCanvas{position:relative;min-width:600px}.bgt-organizer-row{position:absolute;left:0;right:0;height:44px;display:grid;grid-template-columns:24px 100px minmax(0,1fr) 70px;align-items:center;gap:8px;padding:5px 12px;border-bottom:1px solid #e7eee9;color:#3e5d49;font-size:12px;cursor:grab}.bgt-organizer-row>span:nth-last-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bgt-organizer-row>small{color:#728779;text-align:right}.bgt-organizer-row strong{font-size:11px}.bgt-organizer-chapter{background:#edf6f0;font-weight:700}.bgt-organizer-row.is-selected{background:#d6ecdd;box-shadow:inset 3px 0 #267653}.bgt-organizer-drop{box-shadow:inset 0 3px #267653!important}.bgt-memory-focus-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0}.bgt-memory-focus-tools label{display:flex;align-items:center;gap:7px;margin:0}.bgt-memory-focus-tools input[type=checkbox]{width:auto}.bgt-memory-table{max-height:55vh;overscroll-behavior:contain}.bgt-memory-table thead{position:sticky;top:0;z-index:1}.bgt-memory-table td:first-child{position:sticky;left:0;background:#fff;z-index:1}.bgt-memory-table thead th:first-child{position:sticky;left:0;z-index:2}.bgt-memory-table.is-compact table{min-width:950px}.bgt-memory-table .bgt-memory-unused{display:none}@media(max-width:650px){.bgt-organizer-tools label{min-width:100%;order:3}.bgt-organizer-tools button{font-size:11px}.bgt-sheet .bgt-budget-table{min-width:930px!important}.bgt-sheet-item{width:96px}.bgt-sheet-price{width:115px}.bgt-sheet-total{width:125px}}

.bgt-memory-table th:last-child{width:75px}.bgt-memory-table td:last-child{white-space:nowrap}.bgt-memory-table td:last-child button{padding:4px 6px;font-size:12px;margin:1px}.bgt-memory-table.is-compact table{width:100%}.bgt-memory-table.is-compact th:not(:first-child):not(:nth-last-child(-n+4)){width:90px}
/* Filas del organizador en flujo normal: su contenido conserva altura incluso dentro del diálogo. */
.bgt-organizer-row{position:relative;left:auto;right:auto;min-height:44px;height:44px;flex:none}.bgt-organizer-viewport{height:52vh;max-height:580px;min-height:250px}.bgt-organizer-row>span:nth-last-child(2){min-width:0}.bgt-organizer-tools label select:disabled{background:#edf3ef}
.bgt-component-list th{background:#ddebf7;color:#1f4e79}.bgt-component-list td{padding:12px}.bgt-component-list td:nth-child(2) small{display:block;color:#718477;font-size:11px;margin-top:3px}.bgt-component-list tr[data-component-choice]{cursor:pointer}.bgt-component-list tr.is-selected td{background:#e2efda}.bgt-component-check{display:inline-grid;place-items:center;width:27px;height:27px;border:1px solid #c7d8cd;background:#f6faf7;border-radius:5px;font-size:17px;color:#92a299}.bgt-component-check.is-included{background:#267653;border-color:#267653;color:#fff}.bgt-component-list td:first-child{text-align:center;width:70px}.bgt-component-line-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.bgt-inline-remove{padding:1px 5px!important;background:transparent!important;color:#a43a32!important;font-size:13px!important;float:right}.bgt-excel-component{font-family:Arial,sans-serif;border:1px solid #dcdcdc;background:white;overflow:hidden}.bgt-excel-title{text-align:center;background:#2f75b5;color:white;font:bold 18.67px Arial,sans-serif;padding:14px}.bgt-excel-project{text-align:center;padding:11px;border-bottom:1px solid #dcdcdc;font-weight:bold;font-size:13px}.bgt-excel-component h4{background:#2f75b5;color:#fff;font:bold 12.67px Arial,sans-serif;padding:8px 10px;margin:18px 0 0}.bgt-component-base,.bgt-component-final{display:flex;justify-content:space-between;gap:18px;padding:12px 14px;font:bold 13px Arial,sans-serif}.bgt-component-final{background:#70ad47;color:#fff}.bgt-excel-component .bgt-table-wrap{border-radius:0;border:0}.bgt-excel-component .bgt-plan-table{min-width:1000px!important;font-size:12.67px;table-layout:fixed}.bgt-excel-component .bgt-plan-table th{background:#ddebf7;color:#1f4e79;white-space:normal;font:bold 12.67px Arial,sans-serif;text-align:center;border:1px solid #dcdcdc;padding:8px 6px}.bgt-excel-component .bgt-plan-table td{border:1px solid #dcdcdc;padding:7px 5px}.bgt-excel-component .bgt-plan-table th:first-child{width:65px}.bgt-excel-component .bgt-plan-table th:last-child{width:auto}.bgt-excel-component .bgt-plan-table input,.bgt-excel-component .bgt-plan-table select{background:#fff2cc;border:1px solid transparent;border-radius:0;padding:6px 5px;font:12.67px Arial,sans-serif;min-width:0;width:100%}.bgt-excel-component .bgt-plan-table input:focus,.bgt-excel-component .bgt-plan-table select:focus{border-color:#70ad47}.bgt-excel-aiu .bgt-aiu-table th:nth-child(2){width:24%}.bgt-excel-aiu .bgt-aiu-table th:nth-last-child(1){width:130px}.bgt-excel-aiu .bgt-aiu-table th:nth-last-child(2){width:95px}.bgt-excel-aiu .bgt-aiu-table th:nth-last-child(3){width:125px}.bgt-excel-component .bgt-excel-subtotal th,.bgt-excel-component .bgt-excel-subtotal td{background:#ddebf7;color:#1f4e79;font-weight:bold}.bgt-excel-component .bgt-add-line{margin:8px 12px}.bgt-excel-plan .bgt-plan-table{font-family:Carlito,Calibri,Arial,sans-serif;font-size:14.67px;min-width:900px!important}.bgt-excel-plan .bgt-plan-table th:nth-child(2){width:42%}.bgt-excel-plan .bgt-plan-table th:nth-child(3){width:9%}.bgt-excel-plan .bgt-plan-table th:nth-child(4){width:12%}.bgt-excel-plan .bgt-plan-table th:nth-child(5),.bgt-excel-plan .bgt-plan-table th:nth-child(6){width:15%}.bgt-excel-plan .bgt-plan-table input{font:14.67px Carlito,Calibri,Arial,sans-serif}.bgt-excel-plan .bgt-plan-section th{background:#ddebf7;color:#1f4e79}.bgt-excel-plan .bgt-plan-section th input{background:#ddebf7!important;font-weight:bold}.bgt-excel-aiu-summary th{background:#ddebf7;color:#1f4e79}.bgt-excel-aiu-summary td,.bgt-excel-aiu-summary th{font:12.67px Arial,sans-serif;border:1px solid #dcdcdc}.bgt-excel-aiu-summary .bgt-excel-total td,.bgt-excel-aiu-summary .bgt-excel-total th{background:#70ad47;color:#fff;font-weight:bold}.bgt-excel-aiu-summary input{background:#fff2cc;border-radius:0}.bgt-excel-plan>.bgt-component-line-tools{padding:0 10px}
.bgt-excel-memory{max-height:62vh;border-radius:0;border-color:#dcdcdc}.bgt-excel-memory table{width:2234px;min-width:2234px!important;font:13.33px Arial,sans-serif;table-layout:fixed}.bgt-excel-memory .bgt-memory-item{width:90px}.bgt-excel-memory .bgt-memory-location{width:180px}.bgt-excel-memory .bgt-memory-variable{width:85px}.bgt-excel-memory .bgt-memory-unit-col{width:80px}.bgt-excel-memory .bgt-memory-total-col{width:110px}.bgt-excel-memory .bgt-memory-expression-col{width:185px}.bgt-excel-memory .bgt-memory-reference-col{width:480px}.bgt-excel-memory td,.bgt-excel-memory th{border:1px solid #dcdcdc;padding:5px;text-align:center;font:13.33px Arial,sans-serif;white-space:normal}.bgt-excel-memory .bgt-memory-activity th{background:#e2efda;color:#1f381f;font-weight:bold;height:77px}.bgt-excel-memory .bgt-memory-activity th:nth-child(2){text-align:left}.bgt-excel-memory .bgt-memory-headers th{background:#c6e0b4;color:#1f1f1f;font-weight:bold;height:62px}.bgt-excel-memory .bgt-memory-headers th>span{font-size:10px;display:block;font-weight:normal}.bgt-excel-memory .bgt-memory-headers input{background:#fff2cc;margin:3px auto 0;padding:3px;font-size:11px;text-align:center}.bgt-excel-memory .bgt-memory-headers .bgt-memory-unit{width:70%;font-size:10px}.bgt-excel-memory .bgt-memory-measurement td{height:56px}.bgt-excel-memory td input,.bgt-excel-memory td textarea{background:#fff2cc!important;border:1px solid transparent;border-radius:0;width:100%;min-width:0;padding:6px 4px;font:13.33px Arial,sans-serif}.bgt-excel-memory .bgt-memory-measurement td:first-child,.bgt-excel-memory .bgt-memory-unit-value,.bgt-excel-memory .bgt-memory-result{background:#fff!important}.bgt-excel-memory .bgt-memory-result{text-align:right}.bgt-excel-memory .bgt-memory-row-tools{display:flex;justify-content:center;gap:3px;margin-top:3px}.bgt-excel-memory .bgt-memory-row-tools button{padding:1px 5px!important;font-size:12px;line-height:1.2}.bgt-excel-memory .bgt-memory-expression{display:block;color:#666;font-size:11px;overflow-wrap:anywhere;margin-top:3px}.bgt-excel-memory .bgt-memory-total th,.bgt-excel-memory .bgt-memory-total td{background:#e2efda!important;color:#1f4e1f;font-weight:bold;height:40px}.bgt-excel-memory .bgt-memory-total th{text-align:right}.bgt-excel-memory .bgt-memory-total td:first-of-type{text-align:right}.bgt-excel-memory .bgt-memory-notes td,.bgt-excel-memory .bgt-memory-notes th{background:#fafafa!important;color:#595959;height:186px}.bgt-excel-memory .bgt-memory-notes th{vertical-align:top}.bgt-excel-memory .bgt-memory-notes textarea{height:170px;resize:vertical;background:#fafafa!important}.bgt-excel-memory tr th:first-child,.bgt-excel-memory tr td:first-child{position:sticky;left:0;z-index:1}.bgt-excel-memory .bgt-memory-activity th:first-child,.bgt-excel-memory .bgt-memory-headers th:first-child{z-index:2}.bgt-excel-memory .bgt-memory-headers{position:sticky;top:0;z-index:3}
.bgt-excel-component .bgt-intervention-table{min-width:1250px!important}.bgt-intervention-table th:nth-child(2){width:24%}.bgt-intervention-table th:nth-child(8){width:32px}.bgt-intervention-table th:last-child{width:150px!important}.bgt-intervention-table th:nth-last-child(2){width:135px}.bgt-sheet .bgt-budget-table th{background:#92d050;color:#172b1b;font-family:Arial,sans-serif;font-size:13.33px}.bgt-sheet .bgt-chapter td{background:#e2efda!important;color:#1f381f;font-family:Carlito,Calibri,Arial,sans-serif;font-size:14.67px;font-weight:bold}

.bgt-sheet tbody tr[data-node-id]{height:54px}.bgt-sheet tbody .bgt-node-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:38px}.bgt-sheet-spacer td{padding:0!important;border:0!important;background:#fff!important}.bgt-sheet tbody tr[data-node-id] td{height:54px;max-height:54px}

.bgt-sheet-text{width:105px}
