.reportes-rentabilidad{display:flex;width:min(1760px,calc(100vw - 24px));min-height:850px;margin:12px auto 32px;border:1px solid #dce6f2;border-radius:18px;overflow:hidden;background:#edf3f8;color:#10213d;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.reportes-rentabilidad__pdf-export{position:fixed;top:0;left:-20000px;width:1360px;pointer-events:none;opacity:1;z-index:-1;background:#fff;color:#10213d;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.reportes-rentabilidad__pdf-capture{width:1360px;padding:22px;box-sizing:border-box;background:#fff}.reportes-rentabilidad__pdf-capture+.reportes-rentabilidad__pdf-capture{margin-top:32px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__panel--wide{grid-column:1 / -1}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-chart,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vertical-chart{min-height:250px}.reportes-rentabilidad__sidebar{width:215px;min-width:215px;padding:24px 16px;background:linear-gradient(180deg,#1d385d,#172f4e);color:#fff;display:flex;flex-direction:column;gap:24px}.reportes-rentabilidad__sidebar-title{display:flex;flex-direction:column;gap:4px;padding:10px 10px 18px;border-bottom:1px solid rgba(255,255,255,.12)}.reportes-rentabilidad__sidebar-title span{font-size:.84rem;font-weight:900;letter-spacing:.12em}.reportes-rentabilidad__sidebar-title small{color:#ffffff94;font-size:.72rem;font-weight:600}.reportes-rentabilidad__nav{display:flex;flex-direction:column;gap:8px}.reportes-rentabilidad__nav-item{width:100%;min-height:46px;border:0;border-radius:9px;padding:10px 12px;display:flex;align-items:center;gap:11px;background:transparent;color:#ffffffc4;font-size:.9rem;font-weight:750;text-align:left;cursor:pointer;transition:.18s ease}.reportes-rentabilidad__nav-item:hover{color:#fff;background:#ffffff14}.reportes-rentabilidad__nav-item.is-active{color:#fff;background:#ffffff26;box-shadow:inset 3px 0 #67a4ff}.nav-icon{width:22px;min-width:22px;display:inline-flex;justify-content:center;color:#9ec6ff;font-weight:900}.reportes-rentabilidad__sidebar-info{margin-top:auto;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#ffffff12;display:flex;flex-direction:column;gap:4px}.reportes-rentabilidad__sidebar-info span,.reportes-rentabilidad__sidebar-info small{color:#ffffffa1;font-size:.72rem;font-weight:700}.reportes-rentabilidad__sidebar-info strong{color:#fff;font-size:1.45rem}.sidebar-divider{height:1px;margin:9px 0;background:#ffffff1f}.reportes-rentabilidad__main{min-width:0;flex:1;padding:20px 22px 28px;background:linear-gradient(180deg,#edf4f9,#eaf1f7)}.reportes-rentabilidad__header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:14px}.reportes-rentabilidad__eyebrow{display:inline-flex;padding:6px 10px;margin-bottom:8px;border-radius:999px;background:#dfe9fa;color:#2454c7;font-size:.7rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.reportes-rentabilidad__header h1{margin:0;color:#102c56;font-size:clamp(2rem,2.5vw,2.8rem);font-weight:850;line-height:1.08;letter-spacing:-.04em}.reportes-rentabilidad__subtitle{margin:8px 0 0;color:#62738d;font-size:.88rem}.reportes-rentabilidad__header-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.reportes-rentabilidad__export-actions{display:flex;gap:8px;flex-wrap:wrap}.reportes-rentabilidad__back{height:42px;padding:0 16px;border:1px solid #c6d7ef;border-radius:12px;background:#f5f8fc;color:#17345f;font-size:.82rem;font-weight:800;cursor:pointer}.reportes-rentabilidad__excel-btn,.reportes-rentabilidad__pdf-btn,.reportes-rentabilidad__upload{position:relative;min-width:150px;height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:0;font-size:.83rem;font-weight:850;cursor:pointer;white-space:nowrap}.reportes-rentabilidad__excel-btn{background:linear-gradient(135deg,#1d7f4d,#2ca36d);color:#fff}.reportes-rentabilidad__pdf-btn{background:linear-gradient(135deg,#9a2b2b,#c74848);color:#fff;gap:8px}.reportes-rentabilidad__pdf-btn:disabled{opacity:.75;cursor:not-allowed}.reportes-rentabilidad__report-dropdown{position:relative}.reportes-rentabilidad__report-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;min-width:180px;padding:6px;border:1px solid #d5e0ef;border-radius:12px;background:#fff;box-shadow:0 12px 28px #1b385d2e}.reportes-rentabilidad__report-menu button{width:100%;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:#17345f;font-size:.8rem;font-weight:750;text-align:left;cursor:pointer}.reportes-rentabilidad__report-menu button:hover{background:#edf4ff;color:#2455d8}.reportes-rentabilidad__btn-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:reports-spin .8s linear infinite}.reportes-rentabilidad__upload{background:linear-gradient(135deg,#2455d8,#2678ed);color:#fff}.reportes-rentabilidad__upload input,.reportes-rentabilidad__empty-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.reportes-rentabilidad__status-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.reportes-rentabilidad__status-left,.reportes-rentabilidad__status-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.reportes-rentabilidad__file-pill,.reportes-rentabilidad__rows-pill,.reportes-rentabilidad__legend{min-height:34px;padding:7px 12px;display:inline-flex;align-items:center;border:1px solid #d3e0f2;border-radius:999px;background:#ffffff8c;color:#385b92;font-size:.75rem;font-weight:750}.reportes-rentabilidad__rows-pill{color:#20765f;background:#edf9f5;border-color:#cceadf}.reportes-rentabilidad__clear{border:0;background:transparent;color:#af4545;font-size:.74rem;font-weight:800;cursor:pointer}.reportes-rentabilidad__filters-toggle{padding:6px 11px;border:1px solid #cbd9ec;border-radius:8px;background:#fff;color:#2457a6;font-size:.74rem;font-weight:800;cursor:pointer;transition:background .15s ease,border-color .15s ease}.reportes-rentabilidad__filters-toggle:hover{border-color:#8eadd8;background:#f3f7fd}.reportes-rentabilidad__loading-box{margin-bottom:18px;padding:16px;border:1px solid #dae5f5;border-radius:14px;background:#fff}.reportes-rentabilidad__loading-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:12px}.reportes-rentabilidad__loading-head>div:nth-child(2){display:flex;flex-direction:column}.reportes-rentabilidad__loading-head span{color:#7b8ca5;font-size:.72rem}.reportes-rentabilidad__loading-head b{color:#245bd4}.reportes-rentabilidad__spinner{width:27px;height:27px;border:3px solid #dce8fb;border-top-color:#2467df;border-radius:50%;animation:reports-spin .8s linear infinite}.reportes-rentabilidad__initial-loading{min-height:320px;margin-bottom:18px;border:1px dashed #b6cae9;border-radius:16px;background:#ffffff80;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}.reportes-rentabilidad__initial-loading .reportes-rentabilidad__spinner{width:38px;height:38px;border-width:4px}.reportes-rentabilidad__initial-loading strong{color:#17345f;font-size:1rem}.reportes-rentabilidad__initial-loading span{color:#62738d;font-size:.85rem}@keyframes reports-spin{to{transform:rotate(360deg)}}.reportes-rentabilidad__progress-bar{height:9px;overflow:hidden;border-radius:999px;background:#e9f0fa}.reportes-rentabilidad__progress-bar span{height:100%;display:block;background:linear-gradient(90deg,#2661df,#5ca4f5)}.reportes-rentabilidad__error{margin-bottom:18px;padding:13px 16px;border:1px solid #fecaca;border-radius:12px;background:#fff1f2;color:#b91c1c;font-weight:750}.reportes-rentabilidad__empty-state{min-height:390px;padding:50px 24px;border:1px dashed #b6cae9;border-radius:16px;background:#ffffff80;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.empty-icon{width:62px;height:62px;margin-bottom:14px;border-radius:16px;display:grid;place-items:center;background:#e4edfb;color:#275bc7;font-size:2rem}.reportes-rentabilidad__empty-state h2{margin:0 0 8px;color:#18365f}.reportes-rentabilidad__empty-state p{margin:0 0 20px;color:#687b96}.reportes-rentabilidad__empty-upload{position:relative;min-width:180px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#2563eb;color:#fff;font-weight:800}.reportes-rentabilidad__filters{display:grid;grid-template-columns:repeat(3,minmax(190px,1fr));gap:14px;margin-bottom:18px}.reportes-rentabilidad__filter{padding:13px 14px;border:1px solid #dbe5f2;border-radius:13px;background:#ffffffe6}.reportes-rentabilidad__filter label{display:block;margin-bottom:7px;color:#4b6388;font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.reportes-rentabilidad__filter select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbd9ec;border-radius:9px;background:#fff;color:#18325b;font-weight:700}.reportes-rentabilidad__metrics{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px;margin-bottom:18px}.reportes-rentabilidad__metric-card{min-width:0;padding:17px 16px 15px;border:1px solid #dce5f1;border-radius:13px;background:#fff}.reportes-rentabilidad__metric-label{margin-bottom:9px;color:#6c7f9c;font-size:.68rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.reportes-rentabilidad__metric-value{overflow:hidden;font-size:clamp(1.25rem,1.7vw,1.75rem);font-weight:900;line-height:1.12;text-overflow:ellipsis}.reportes-rentabilidad__metric-value--green{color:#159068}.reportes-rentabilidad__metric-value--orange{color:#d66a00}.reportes-rentabilidad__metric-value--blue{color:#2453d4}.reportes-rentabilidad__metric-value--purple{color:#7b3cf2}.reportes-rentabilidad__metric-helper{margin-top:8px;color:#7a8aa2;font-size:.73rem;font-weight:650}.reportes-rentabilidad__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reportes-rentabilidad__panel,.reportes-rentabilidad__table-panel{min-width:0;padding:17px;border:1px solid #dfe7f1;border-radius:14px;background:#fffffff7}.reportes-rentabilidad__panel--wide{grid-column:1 / -1}.reportes-rentabilidad__panel-header{margin-bottom:16px}.reportes-rentabilidad__panel-header span,.reportes-rentabilidad__section-kicker{display:block;margin-bottom:3px;color:#7287a5;font-size:.65rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.reportes-rentabilidad__panel-header h2{margin:0;color:#17345e;font-size:1rem}.reportes-rentabilidad__comparison{display:flex;flex-direction:column;gap:15px}.reportes-rentabilidad__comparison-legend{display:flex;justify-content:flex-end;gap:16px}.reportes-rentabilidad__comparison-legend span{display:flex;align-items:center;gap:6px;color:#64758f;font-size:.7rem;font-weight:750}.legend-dot{width:9px;height:9px;border-radius:50%}.legend-dot--sales{background:#269773}.legend-dot--costs{background:#e17b1b}.reportes-rentabilidad__comparison-chart{display:flex;align-items:stretch;gap:10px;height:250px;padding:4px 4px 16px}.reportes-rentabilidad__comparison-axis{display:flex;flex-direction:column;justify-content:space-between;flex:0 0 auto;width:48px;margin:40px 0 46px;text-align:right}.reportes-rentabilidad__comparison-axis span{color:#93a3ba;font-size:.64rem;font-weight:700;white-space:nowrap;transform:translateY(-50%)}.reportes-rentabilidad__comparison-axis span:last-child{transform:translateY(50%)}.reportes-rentabilidad__comparison-plot{display:flex;align-items:flex-end;justify-content:center;gap:26px;flex:1;overflow-x:auto;padding-left:6px}.reportes-rentabilidad__comparison-col{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;min-width:74px;gap:8px}.reportes-rentabilidad__comparison-values{display:flex;flex-direction:column;align-items:center;gap:2px;height:30px;justify-content:flex-end}.reportes-rentabilidad__comparison-values strong{font-size:.7rem;font-weight:850}.reportes-rentabilidad__comparison-value--sale{color:#138768}.reportes-rentabilidad__comparison-value--cost{color:#d96b00}.reportes-rentabilidad__comparison-bars{display:flex;align-items:flex-end;gap:4px;height:150px;padding-bottom:2px;border-bottom:1px solid #c9d5e6;background-image:repeating-linear-gradient(to top,rgba(37,66,107,.08) 0,rgba(37,66,107,.08) 1px,transparent 1px,transparent 25%)}.reportes-rentabilidad__comparison-track{width:20px;height:100%;overflow:hidden;background:transparent;display:flex;align-items:flex-end}.reportes-rentabilidad__comparison-track>div{width:100%;min-height:2px;border-radius:3px 3px 0 0;transition:height .2s ease-in-out,filter .15s ease-in-out}.reportes-rentabilidad__comparison-col:hover .reportes-rentabilidad__comparison-track>div{filter:brightness(1.08)}.reportes-rentabilidad__comparison-sale{background:#1fa17c}.reportes-rentabilidad__comparison-cost{background:#e88a1f}.reportes-rentabilidad__comparison-label{color:#526782;font-size:.72rem;font-weight:700;white-space:nowrap}.reportes-rentabilidad__vchart{display:flex;align-items:flex-end;gap:16px;height:240px;overflow-x:auto;padding:4px 4px 6px}.reportes-rentabilidad__vchart-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:0 0 auto;min-width:58px;height:100%;gap:6px}.reportes-rentabilidad__vchart-value{color:#263d5f;font-size:.68rem;font-weight:850;white-space:nowrap}.reportes-rentabilidad__vchart-track{flex:1;width:26px;border-radius:999px;overflow:hidden;background:#edf2f8;display:flex;align-items:flex-end}.reportes-rentabilidad__vchart-fill{width:100%;min-height:2px;border-radius:999px 999px 0 0}.reportes-rentabilidad__vchart-fill--green{background:linear-gradient(0deg,#138a6a,#50c3a1)}.reportes-rentabilidad__vchart-fill--blue{background:linear-gradient(0deg,#2765df,#6ba8ef)}.reportes-rentabilidad__vchart-fill--purple{background:linear-gradient(0deg,#7540dc,#a978f2)}.reportes-rentabilidad__vchart-label{max-width:76px;overflow:hidden;color:#415978;font-size:.68rem;font-weight:750;white-space:nowrap;text-overflow:ellipsis;text-align:center}.reportes-rentabilidad__donut-layout{display:grid;grid-template-columns:170px 1fr;gap:20px;align-items:center}.reportes-rentabilidad__donut{position:relative;width:165px;height:165px;border-radius:50%;display:grid;place-items:center}.reportes-rentabilidad__donut:after{content:"";position:absolute;top:23px;right:23px;bottom:23px;left:23px;border-radius:50%;background:#fff}.reportes-rentabilidad__donut-hole{z-index:2;display:flex;flex-direction:column;align-items:center}.reportes-rentabilidad__donut-hole strong{font-size:1.45rem;color:#173961}.reportes-rentabilidad__donut-hole span{color:#6f8198;font-size:.62rem;font-weight:800;text-transform:uppercase}.reportes-rentabilidad__donut-legend{display:flex;flex-direction:column;gap:9px}.reportes-rentabilidad__donut-item{display:flex;align-items:center;gap:9px}.reportes-rentabilidad__donut-dot{width:10px;min-width:10px;height:10px;border-radius:50%}.reportes-rentabilidad__donut-copy{min-width:0;width:100%;display:flex;justify-content:space-between;gap:8px;font-size:.72rem;font-weight:750}.reportes-rentabilidad__donut-copy span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.reportes-rentabilidad__table-wrap{width:100%;overflow-x:auto}.reportes-rentabilidad__table-panel table{width:100%;min-width:900px;border-collapse:collapse}.reportes-rentabilidad__table-panel th,.reportes-rentabilidad__table-panel td{padding:11px 10px;border-bottom:1px solid #e6ecf3;color:#3d526f;font-size:.78rem}.reportes-rentabilidad__table-panel th{background:#f2f6fb;color:#4a607d;font-size:.66rem;font-weight:900;text-transform:uppercase}.income-value{color:#148061!important;font-weight:800}.cost-value{color:#c9650b!important;font-weight:800}.reportes-rentabilidad__details-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:15px}.reportes-rentabilidad__details-toolbar h2{margin:0;color:#17345e}.reportes-rentabilidad__details-toolbar p{margin:6px 0 0;color:#77889e;font-size:.75rem}.reportes-rentabilidad__details-filters{display:flex;align-items:end;gap:14px;margin-bottom:16px}.reportes-rentabilidad__details-filters .reportes-rentabilidad__filter{width:min(440px,100%)}.reportes-rentabilidad__details-selection{min-height:67px;padding:13px 15px;display:flex;flex-direction:column;justify-content:center;border:1px solid #d5e5f4;border-radius:13px;background:#f3f8fd}.reportes-rentabilidad__details-selection strong{color:#1a4f86;font-size:.78rem;font-weight:900;text-transform:uppercase}.reportes-rentabilidad__details-selection span{margin-top:4px;color:#667f9d;font-size:.74rem;font-weight:700}.reportes-rentabilidad__search-box{width:min(400px,100%)}.reportes-rentabilidad__search-box input{width:100%;min-height:42px;padding:9px 13px;border:1px solid #ccd9e9;border-radius:9px}.reportes-rentabilidad__detail-table{min-width:1700px!important}.reportes-rentabilidad__account-table{min-width:980px!important}.reportes-rentabilidad__account-table th:first-child,.reportes-rentabilidad__account-table td:first-child{min-width:135px}.reportes-rentabilidad__account-table th:nth-child(2),.reportes-rentabilidad__account-table td:nth-child(2){min-width:260px}.reportes-rentabilidad__account-table .numeric{min-width:140px;text-align:right;white-space:nowrap}.reportes-rentabilidad__account-total{background:#edf6ff;color:#174f8b!important;font-weight:900}.reportes-rentabilidad__table-empty{padding:28px!important;color:#71829a!important;font-size:.8rem!important;font-weight:700;text-align:center}.reportes-rentabilidad__table-panel td small{display:block;margin-top:3px;color:#8796aa;font-size:.66rem}.detail-comment{max-width:330px}.type-income,.type-cost{display:inline-flex;padding:4px 7px;border-radius:6px;font-size:.62rem;font-weight:900}.type-income{background:#e8f8f2;color:#168263}.type-cost{background:#fff2e6;color:#bf630d}.reportes-rentabilidad__pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px}.reportes-rentabilidad__pagination span{color:#71839b;font-size:.75rem}.reportes-rentabilidad__pagination>div{display:flex;gap:8px}.reportes-rentabilidad__pagination button{height:36px;padding:0 12px;border:1px solid #cfdaea;border-radius:8px;background:#fff;color:#294a76;font-size:.73rem;font-weight:800;cursor:pointer}.reportes-rentabilidad__pagination button:disabled{opacity:.4;cursor:default}.gross-margin-view{display:flex;flex-direction:column;gap:18px}.gross-margin-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:18px;border:1px solid #dce6f1;border-radius:14px;background:#fff}.gross-margin-toolbar h2{margin:0;color:#14345e;font-size:1.35rem}.gross-margin-toolbar p{margin:6px 0 0;color:#71829a;font-size:.8rem}.gross-margin-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.gross-toggle{display:flex;padding:3px;border:1px solid #d2deec;border-radius:10px;background:#edf2f7}.gross-toggle button{min-height:38px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#65768d;font-size:.76rem;font-weight:800;cursor:pointer}.gross-toggle button.active{background:#fff;color:#2457ba;box-shadow:0 2px 8px #2241681a}.gross-margin-controls select{min-height:44px;padding:0 12px;border:1px solid #ccd9e8;border-radius:9px;background:#fff;color:#304b6d;font-weight:700}.gross-contract-filter{position:relative}.gross-contract-filter__summary{min-height:42px;padding:0 12px;border:1px solid #ccd9e8;border-radius:9px;background:#fff;color:#304b6d;display:flex;align-items:center;gap:12px;font-size:.76rem;font-weight:750;cursor:pointer;list-style:none}.gross-contract-filter__summary::-webkit-details-marker{display:none}.gross-contract-filter__summary:after{content:"▾";color:#557398}.gross-contract-filter__summary b{color:#2457ba}.gross-contract-filter[open] .gross-contract-filter__summary{border-color:#8eadd8}.gross-contract-filter__panel{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:min(460px,calc(100vw - 40px));max-height:min(68vh,620px);overflow:auto;padding:14px;border:1px solid #d5e0ed;border-radius:12px;background:#fff;box-shadow:0 14px 36px #14345e33}.gross-contract-filter__actions{position:sticky;top:-14px;z-index:1;margin:-14px -14px 12px;padding:12px 14px;border-bottom:1px solid #e3eaf3;background:#fff;display:flex;align-items:center;gap:8px}.gross-contract-filter__actions span{flex:1;color:#71829a;font-size:.7rem}.gross-contract-filter__actions button{padding:6px 9px;border:1px solid #d2deec;border-radius:7px;background:#f5f8fc;color:#2457ba;font-size:.7rem;font-weight:750;cursor:pointer}.gross-contract-filter__actions button:disabled{opacity:.5;cursor:default}.gross-contract-filter__sector{min-width:0;margin:0 0 12px;padding:10px;border:1px solid #e1e8f1;border-radius:9px}.gross-contract-filter__sector legend{padding:0 5px;color:#17345f;font-size:.74rem;font-weight:850}.gross-contract-filter__group+.gross-contract-filter__group{margin-top:9px}.gross-contract-filter__group>strong{display:block;margin-bottom:5px;color:#6a7c93;font-size:.66rem;letter-spacing:.04em}.gross-contract-filter__options{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:4px 8px}.gross-contract-filter__option{min-width:0;display:flex;align-items:center;gap:6px;color:#304b6d;font-size:.7rem;cursor:pointer}.gross-contract-filter__option input{accent-color:#2457ba}.gross-contract-filter__option input:disabled{cursor:default}.gross-contract-filter__error{margin:0 0 12px;color:#b91c1c;font-size:.72rem}.gross-contract-filter__error button{padding:3px 7px;border:1px solid #fecaca;border-radius:6px;background:#fff;color:#b91c1c;font:inherit;font-weight:750;cursor:pointer}.gross-contract-filter__error button:disabled{opacity:.6;cursor:default}.reportes-rentabilidad__gross-card{border:1px solid #dce5ef;border-radius:14px;overflow:hidden;background:#fff}.reportes-rentabilidad__gross-header{display:flex;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid #e3e9f0;background:linear-gradient(135deg,#17365f,#224b7b);color:#fff}.reportes-rentabilidad__gross-header span{color:#bdd2ee;font-size:.67rem;font-weight:900;letter-spacing:.08em}.reportes-rentabilidad__gross-header h2{margin:4px 0;color:#fff;font-size:1.15rem}.reportes-rentabilidad__gross-header p{margin:0;color:#d8e5f5;font-size:.78rem}.gross-legend{display:flex;flex-direction:column;justify-content:center;gap:5px;text-align:right}.gross-margin-table{width:100%;min-width:1100px;border-collapse:collapse}.gross-filter-note{margin:0;padding:0 12px 10px;color:#71829a;font-size:.7rem}.gross-column-filter{display:flex;flex-direction:column;align-items:flex-end;gap:5px;text-align:right}.gross-column-filter span{white-space:nowrap}.gross-column-filter select{width:100%;max-width:145px;min-height:28px;padding:3px 6px;border:1px solid #cbd9e8;border-radius:6px;background:#fff;color:#304b6d;font-size:.64rem;font-weight:650;text-transform:none}.gross-margin-table th{padding:12px 11px;background:#e9eff7;border-bottom:2px solid #c8d5e4;color:#314b6b;font-size:.68rem;font-weight:900;text-align:left;text-transform:uppercase}.gross-margin-table td{padding:10px 11px;border-bottom:1px solid #e4e9ef;color:#354d6a;font-size:.78rem}.gross-margin-table .gross-empty-selection{padding:28px 16px;color:#71829a;text-align:center}.gross-margin-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.gross-group-row{background:#eaf1f8}.gross-group-row td{border-top:2px solid #ccd8e5;font-weight:850;color:#173c69}.gross-contract-row td:first-child{background:#fafbfd}.gross-contract-row td:nth-child(2){padding-left:25px}.gross-total-row{background:#183b66}.gross-total-row td{padding-top:14px;padding-bottom:14px;border:0;color:#fff;font-weight:900}.gross-profitability{font-size:.9rem!important}.gross-good{color:#0d795b!important}.gross-bad{color:#b85032!important}.gross-explanation{display:grid;grid-template-columns:repeat(5,auto);gap:10px;padding:13px 15px;border:1px solid #dce5ef;border-radius:11px;background:#f6f9fc;color:#63778f;font-size:.72rem}.gross-explanation strong{color:#29486d}.reportes-rentabilidad__gross-sector-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 12px}.reportes-rentabilidad__gross-sector-tab{min-height:36px;padding:0 14px;border:1px solid #ccd9e8;border-radius:8px;background:#f5f8fc;color:#5a6f8a;font-size:.75rem;font-weight:700;cursor:pointer;transition:all .2s ease-in-out}.reportes-rentabilidad__gross-sector-tab:hover{border-color:#a8bde0;background:#ecf2f9;color:#3a5578}.reportes-rentabilidad__gross-sector-tab--active{border-color:#2457ba;background:#2457ba;color:#fff;box-shadow:0 2px 8px #2457ba33}.reportes-rentabilidad__chart-empty{min-height:160px;display:grid;place-items:center;color:#8595aa;font-size:.8rem}@media (max-width: 1200px){.reportes-rentabilidad__metrics{grid-template-columns:repeat(2,minmax(170px,1fr))}.reportes-rentabilidad__filters{grid-template-columns:repeat(2,minmax(190px,1fr))}.gross-explanation{grid-template-columns:1fr 1fr}}@media (max-width: 980px){.reportes-rentabilidad__sidebar{width:180px;min-width:180px}.reportes-rentabilidad__header{flex-direction:column}.reportes-rentabilidad__grid{grid-template-columns:1fr}.reportes-rentabilidad__panel--wide{grid-column:auto}.gross-margin-toolbar{flex-direction:column;align-items:stretch}}@media (max-width: 760px){.reportes-rentabilidad{width:calc(100vw - 12px);margin:6px;display:block}.reportes-rentabilidad__sidebar{width:auto;min-width:0;padding:10px}.reportes-rentabilidad__sidebar-title,.reportes-rentabilidad__sidebar-info{display:none}.reportes-rentabilidad__nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.reportes-rentabilidad__nav-item{padding:7px 4px;justify-content:center;font-size:.62rem}.nav-icon{display:none}.reportes-rentabilidad__main{padding:14px 11px}.reportes-rentabilidad__filters,.reportes-rentabilidad__metrics,.reportes-rentabilidad__donut-layout{grid-template-columns:1fr}.reportes-rentabilidad__donut{margin:auto}.reportes-rentabilidad__details-toolbar{flex-direction:column;align-items:stretch}.reportes-rentabilidad__details-filters{align-items:stretch;flex-direction:column}.reportes-rentabilidad__details-filters .reportes-rentabilidad__filter,.reportes-rentabilidad__search-box{width:100%}.gross-explanation{grid-template-columns:1fr}.reportes-rentabilidad__gross-header{flex-direction:column}.gross-legend{text-align:left}}.reportes-rentabilidad__filter--dropdown{position:relative;overflow:visible}.reportes-rentabilidad__dropdown{position:relative;width:100%}.reportes-rentabilidad__filter-selection{display:flex;align-items:center;gap:8px}.reportes-rentabilidad__filter-selection .reportes-rentabilidad__dropdown{min-width:0;flex:1}.reportes-rentabilidad__filter-help{position:relative;flex:0 0 auto}.reportes-rentabilidad__filter-help-button{width:20px;height:20px;padding:0;border:1px solid #9eb9df;border-radius:50%;background:#fff;color:#355b8a;font-size:.75rem;font-weight:700;cursor:help}.reportes-rentabilidad__filter-help-button:focus-visible{outline:2px solid #2f6fdb;outline-offset:2px}.reportes-rentabilidad__filter-help-tooltip{position:absolute;top:calc(100% + 8px);right:0;z-index:1001;width:230px;max-width:calc(100vw - 32px);padding:9px 11px;border-radius:7px;background:#18325b;color:#fff;font-size:.75rem;line-height:1.4;visibility:hidden}.reportes-rentabilidad__filter-help:hover .reportes-rentabilidad__filter-help-tooltip,.reportes-rentabilidad__filter-help:focus-within .reportes-rentabilidad__filter-help-tooltip{visibility:visible}.reportes-rentabilidad__dropdown-button{width:100%;min-height:42px;padding:8px 12px;border:1px solid #cbd9ec;border-radius:9px;background:#fff;color:#18325b;display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;font-size:.82rem;font-weight:750;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.reportes-rentabilidad__dropdown-button:hover{border-color:#9eb9df;background:#fbfdff}.reportes-rentabilidad__dropdown-button:focus-visible{outline:none;border-color:#2f6fdb;box-shadow:0 0 0 3px #2f6fdb24}.reportes-rentabilidad__dropdown-button>span:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.reportes-rentabilidad__dropdown-arrow{flex:0 0 auto;color:#55749f;font-size:.65rem}.reportes-rentabilidad__dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:1000;max-height:290px;padding:8px;overflow-y:auto;border:1px solid #cbd9ec;border-radius:10px;background:#fff;box-shadow:0 14px 34px #1c375b2e}.reportes-rentabilidad__dropdown-menu .reportes-rentabilidad__check-item{min-height:34px;margin:0;padding:7px 8px;border-radius:7px;display:flex;align-items:center;gap:8px;color:#334f76;font-size:.76rem;font-weight:700;letter-spacing:normal;text-transform:none;cursor:pointer}.reportes-rentabilidad__dropdown-menu .reportes-rentabilidad__check-item:hover{background:#f1f6fc}.reportes-rentabilidad__dropdown-menu .reportes-rentabilidad__check-item input{margin:0;flex:0 0 auto}.reportes-rentabilidad__dropdown-menu .reportes-rentabilidad__check-item span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (max-width: 760px){.reportes-rentabilidad__dropdown-menu{position:static;margin-top:6px;max-height:240px;box-shadow:none}}.reportes-rentabilidad__pdf-capture--chart,.reportes-rentabilidad__pdf-capture--donut{width:1360px;padding:20px;box-sizing:border-box;background:#fff}.reportes-rentabilidad__pdf-capture--chart .reportes-rentabilidad__panel,.reportes-rentabilidad__pdf-capture--donut .reportes-rentabilidad__panel{width:100%;box-sizing:border-box;background:#fff}.reportes-rentabilidad__pdf-capture--donut .reportes-rentabilidad__donut-layout{min-height:380px;align-items:center}.reportes-rentabilidad__pdf-capture--donut .reportes-rentabilidad__donut{flex:0 0 auto}.reportes-rentabilidad__pdf-capture--donut .reportes-rentabilidad__donut-legend{min-width:0}.reportes-rentabilidad__pdf-capture--panel{width:1360px;padding:22px;box-sizing:border-box;background:#fff}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__panel--wide{grid-column:1 / -1}.reportes-rentabilidad__pdf-capture{font-size:1.08rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__panel-header h2{font-size:1.18rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__panel-header span,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__section-kicker{font-size:.76rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-legend span,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__donut-item,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__hchart-label,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__hchart-value{font-size:.82rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__donut{width:220px;height:220px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__donut-hole{width:118px;height:118px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vertical-chart{min-height:320px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-chart{min-height:300px}.reportes-rentabilidad__pdf-capture--participation{width:1360px;padding:24px;box-sizing:border-box;background:#fff}.reportes-rentabilidad__pdf-capture--participation .reportes-rentabilidad__panel{width:100%;padding:24px 28px;box-sizing:border-box;background:#fff}.reportes-rentabilidad__pdf-participation-bars{display:flex;flex-direction:column;gap:13px;width:100%;padding:8px 0 4px}.reportes-rentabilidad__pdf-participation-row{display:grid;grid-template-columns:220px minmax(0,1fr) 72px;gap:15px;align-items:center;min-height:31px}.reportes-rentabilidad__pdf-participation-label{overflow:hidden;color:#2f4b71;font-size:.96rem;font-weight:800;white-space:nowrap;text-overflow:ellipsis}.reportes-rentabilidad__pdf-participation-track{height:18px;overflow:hidden;border-radius:999px;background:#e7eef7}.reportes-rentabilidad__pdf-participation-fill{height:100%;min-width:4px;border-radius:inherit}.reportes-rentabilidad__pdf-participation-fill--venta{background:#269773}.reportes-rentabilidad__pdf-participation-fill--margen{background:#2f6fdb}.reportes-rentabilidad__pdf-participation-value{color:#18365f;font-size:.96rem;font-weight:900;text-align:right}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__panel{padding:24px 28px}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__panel:not(.reportes-rentabilidad__panel--wide){grid-column:1 / -1;border:1px solid #d5e1ef;border-radius:16px;box-shadow:0 5px 16px #1b385d1a}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__vchart{display:flex;flex-wrap:nowrap;align-items:stretch;gap:8px;height:360px;min-height:360px;overflow:visible;padding:8px 4px 10px}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__vchart-col{min-width:0;flex:1 1 0;height:100%}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__vchart-label{max-width:100%;font-size:.64rem}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__vchart-value{font-size:.68rem}.reportes-rentabilidad__pdf-capture--panel .reportes-rentabilidad__vchart-track{width:20px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__panel-header{margin-bottom:22px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__panel-header h2{font-size:1.36rem;line-height:1.2}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__panel-header span,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__section-kicker{font-size:.84rem;letter-spacing:.08em}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-legend span{font-size:.86rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-value--sale,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-value--cost,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-label,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vchart-value,.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vchart-label{font-size:.88rem;font-weight:800}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-chart{min-height:350px;height:350px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vchart{min-height:360px;height:360px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vchart-track{min-height:260px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-axis span{font-size:1rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-values strong{font-size:1.28rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-col{min-width:150px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-label{font-size:1.08rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__comparison-track{width:28px}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vchart-value{font-size:1.18rem}.reportes-rentabilidad__pdf-capture .reportes-rentabilidad__vchart-label{max-width:120px;font-size:1rem}
