:root{font-family:Segoe UI,Arial,sans-serif;color:#1f2937;background:#f3f6f9}*{box-sizing:border-box}body{margin:0}.topbar{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:14px 24px;background:#172033;color:#fff}.brand{font-weight:700;font-size:18px}.topbar nav{display:flex;gap:16px;flex-wrap:wrap}.topbar a{color:#fff;text-decoration:none}.container{max-width:1280px;margin:auto;padding:24px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.card{background:#fff;border:1px solid #dce3ea;border-radius:12px;padding:20px;margin-bottom:18px;box-shadow:0 2px 8px #0000000a}.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stats-5{grid-template-columns:repeat(5,minmax(0,1fr))}.stats b{font-size:26px;display:block}.stats span,.muted,.hint,small{color:#64748b}.button,button{display:inline-block;border:0;border-radius:8px;background:#172033;color:#fff;padding:11px 16px;text-decoration:none;font-weight:600;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#e2e8f0;color:#1f2937}.link{background:transparent;color:#334155;padding:4px 7px}.danger{color:#b91c1c}label{display:block;font-weight:600;margin:10px 0}input,select,textarea{width:100%;margin-top:6px;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px}.login{width:min(430px,100%)}.flash{padding:12px 14px;border-radius:8px;margin-bottom:14px;background:#e2e8f0}.flash.error{background:#fee2e2}.flash.ok{background:#dcfce7}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px;border-bottom:1px solid #e5e7eb;white-space:nowrap;vertical-align:top}.wrap-cell{white-space:normal;min-width:280px}.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#e2e8f0;font-size:12px;font-weight:700}.badge.fiscal{background:#dcfce7}.grid{display:grid;grid-template-columns:1fr 1.4fr;gap:18px}.summary-grid{grid-template-columns:1fr 1fr}.total{font-size:20px}.wrap{overflow-wrap:anywhere}.compact-form{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;align-items:end}.compact-form label{margin:0}.pay-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e5e7eb}.inline{display:inline}.status-line{padding-top:12px;border-top:1px solid #e5e7eb}.concept-card{border-top:1px solid #dce3ea;padding:18px 0}.concept-card:first-of-type{border-top:0}.concept-head{display:flex;justify-content:space-between;gap:18px}.concept-head h3{margin:0 0 5px;font-size:16px}.money{text-align:right;min-width:160px}.money span,.money small,.money strong{display:block}.money strong{font-size:22px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.assignment-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:10px}.method{margin:0;max-width:220px}.assignment-row{display:grid;grid-template-columns:2fr 1fr auto;gap:8px;margin:8px 0}.assignment-row select,.assignment-row input{margin:0}.assignment-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}.assignment-summary{margin-left:auto;color:#475569}.summary-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.summary-numbers div{padding:12px;border:1px solid #e2e8f0;border-radius:8px}.summary-numbers span,.summary-numbers b{display:block}.summary-numbers b{font-size:20px}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.catalog-list{list-style:none;padding:0;margin:18px 0 0}.catalog-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #e5e7eb}.catalog-list small{display:block}.readonly{background:#f8fafc;border-radius:8px;padding:10px 14px;margin-top:10px}.final-card{border-width:2px}@media(max-width:900px){.stats-5{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-grid{grid-template-columns:1fr}.compact-form{grid-template-columns:1fr 1fr}.compact-form button{grid-column:1/-1}.summary-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.topbar,.page-head,.concept-head{align-items:flex-start;flex-direction:column}.container{padding:16px}.grid,.stats,.stats-5,.summary-grid,.form-row,.summary-numbers{grid-template-columns:1fr}.topbar nav{gap:10px}.compact-form{grid-template-columns:1fr}.assignment-row{grid-template-columns:1fr 1fr auto}.assignment-summary{width:100%;margin-left:0}.money{text-align:left}.table-wrap{border-radius:8px}}
.bulk-tools{display:grid;grid-template-columns:auto minmax(220px,1fr) auto minmax(220px,1fr) auto;gap:10px;align-items:end;padding:14px;border:1px solid #dbe4ee;border-radius:10px;background:#f8fafc;margin-bottom:14px}.bulk-tools label{margin:0}.check-label{display:flex;align-items:center;gap:8px;font-weight:600}.check-label input{width:auto;margin:0}.concept-title-line{display:flex;gap:10px;align-items:flex-start;min-width:0}.concept-title-line h3{overflow-wrap:anywhere}.concept-fields{margin-top:10px}.assignment-simple{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1.4fr) auto;gap:12px;align-items:end;margin-top:8px}.assignment-simple label{margin:0}.assignment-status{padding:10px 0;color:#475569;min-width:0}.zero-concept{background:#fafafa;border-radius:8px;padding-left:12px;padding-right:12px}.zero-note{margin:10px 0;padding:9px 11px;border-radius:8px;background:#f1f5f9;color:#475569;font-weight:600}.save-all-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:2px solid #dce3ea;padding-top:16px;margin-top:8px}.method-select{max-width:320px}.assignment-actions{margin-top:14px}
@media(max-width:1000px){.bulk-tools{grid-template-columns:1fr 1fr}.bulk-tools .check-label{grid-column:1/-1}.assignment-simple{grid-template-columns:1fr 1fr}.assignment-simple button{grid-column:1/-1}}
@media(max-width:700px){.bulk-tools,.assignment-simple{grid-template-columns:1fr}.bulk-tools .check-label,.assignment-simple button{grid-column:auto}.save-all-bar{align-items:stretch;flex-direction:column}.save-all-bar button{width:100%}}
.close-checklist{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0;font-size:.95rem}.close-checklist span{padding:8px 10px;border:1px solid #d8dee8;border-radius:8px;background:#f8fafc}
.section-block{margin:6px 0 16px}.general-block{border:1px solid #dbe4ee;border-radius:10px;padding:16px;background:#f8fafc}.detail-block{margin-top:24px;border-top:2px solid #cbd5e1;padding-top:18px}.section-title-wrap{margin-bottom:10px}.section-title{margin:0 0 4px;font-size:18px}.section-title-wrap .muted{margin:0}.bulk-section h4{margin:4px 0 8px;font-size:15px}.bulk-divider{height:1px;background:#cbd5e1;margin:18px 0}.bulk-tools-classification{grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;margin-bottom:0}.bulk-tools-assignment{grid-template-columns:minmax(260px,1fr) auto;margin-bottom:0}.bulk-tools-classification,.bulk-tools-assignment{padding:0;border:0;background:transparent}.bulk-tools-classification button,.bulk-tools-assignment button{white-space:nowrap}
@media(max-width:900px){.bulk-tools-classification,.bulk-tools-assignment{grid-template-columns:1fr}.bulk-tools-classification button,.bulk-tools-assignment button{width:100%}}
.field-divider{height:1px;background:#d6dee8;margin:16px 0 12px}
.stats-4{grid-template-columns:repeat(4,minmax(0,1fr))}.pending-stats .card{margin-bottom:0}.pending-filter-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:12px;align-items:end}.pending-filter-row label{margin:0}.filters-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px}.filters-grid label{margin:0}.filter-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.filters-grid .filter-actions{grid-column:1/-1}.filters-card{padding-bottom:16px}tfoot th{font-size:1rem}
@media(max-width:1000px){.stats-4{grid-template-columns:repeat(2,minmax(0,1fr))}.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pending-filter-row{grid-template-columns:1fr 1fr}.pending-filter-row .filter-actions{grid-column:1/-1}}
@media(max-width:700px){.stats-4,.filters-grid,.pending-filter-row{grid-template-columns:1fr}.pending-filter-row .filter-actions{grid-column:auto}.filter-actions .button,.filter-actions button{width:100%;text-align:center}}

/* MVP-09: nueva identidad visual; los formularios y operaciones conservan su estructura. */
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#203047;background:#f5f7fb}body.new-shell{display:flex;min-height:100vh;background:#f5f7fb}.sidebar{position:sticky;top:0;height:100vh;width:252px;flex:0 0 252px;background:#12253c;color:#f5f8fc;display:flex;flex-direction:column;padding:28px 16px 18px;z-index:20}.sidebar-brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:white;padding:2px 8px 38px}.brand-symbol{display:grid;place-items:center;background:#37c7a2;color:#123246;border-radius:12px;width:40px;height:40px;font-size:24px;font-weight:900}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand strong{font-size:14px;white-space:nowrap}.sidebar-brand small{font-size:11px;color:#a8bdd2;margin-top:5px}.nav-caption{color:#7590aa;font-size:10px;font-weight:800;letter-spacing:1.7px;padding:0 14px 14px}.side-nav{display:grid;gap:6px}.side-nav a{display:flex;align-items:center;gap:14px;color:#b8c8da;text-decoration:none;padding:13px 15px;border-radius:11px;font-size:14px;font-weight:600}.side-nav a span{font-size:19px;width:22px;text-align:center}.side-nav a:hover,.side-nav a.active{background:#26435c;color:white}.side-nav a.active{box-shadow:inset 3px 0 #42d6ac}.sidebar-bottom{margin-top:auto;border-top:1px solid #2b4157;padding:20px 5px 0;display:flex;align-items:center;gap:10px}.user-bubble{width:35px;height:35px;border-radius:50%;background:#345c75;display:grid;place-items:center;font-weight:800}.user-details{flex:1;min-width:0}.user-details b,.user-details small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-details b{font-size:12px}.user-details small{color:#91a9bf;font-size:11px;margin-top:4px}.logout-link{color:#a7bdd0;text-decoration:none;font-size:21px}.workspace{flex:1;min-width:0}.workspace-header{height:68px;background:#fff;border-bottom:1px solid #e6ebf1;display:flex;align-items:center;gap:12px;padding:0 34px}.breadcrumb{font-size:13px;color:#7b899b}.breadcrumb b{color:#263b51}.header-caption{margin-left:auto;font-size:12px;color:#93a1b1}.workspace .container{max-width:1550px;margin:0 auto;padding:34px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:850;color:#1f9e83;margin-bottom:10px}.hero-head{margin-bottom:25px}.page-head h1{font-size:29px;letter-spacing:-.8px;margin:0 0 9px;color:#182d42}.page-head .muted{margin:0;font-size:13px}.header-actions{display:flex;gap:10px;flex-wrap:wrap}.new-shell .button,.new-shell button:not(.mobile-menu){background:#167f71;border-radius:9px;padding:11px 17px}.new-shell .button.secondary{background:#eaf0f5;color:#2b4156}.new-shell .card{border:1px solid #e7edf3;box-shadow:0 4px 18px #23354d08;border-radius:15px}.modern-stats{gap:13px;margin-bottom:23px}.metric{text-decoration:none;color:inherit;min-width:0;padding:21px!important;border-top:3px solid #dbe9ee!important}.metric:nth-child(3){border-top-color:#f2bf64!important}.metric:nth-child(4){border-top-color:#61b9d4!important}.metric:nth-child(5){border-top-color:#36b89a!important}.metric span{font-size:12px;color:#6b7b8c}.metric b{font-size:32px;margin:12px 0 9px;color:#18344b;letter-spacing:-1px}.metric .metric-money{font-size:24px;white-space:nowrap}.metric small{font-size:11px;color:#91a0ae}.dashboard-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.55fr);gap:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.section-heading h2{margin:0;font-size:19px;color:#1b3449}.quick-links{display:grid;gap:8px}.quick-links a{display:flex;align-items:center;gap:14px;text-decoration:none;color:#203047;padding:13px 8px;border-radius:10px}.quick-links a:hover{background:#f1f7f8}.quick-links a>span:nth-child(2){flex:1}.quick-links b,.quick-links small{display:block}.quick-links b{font-size:13px}.quick-links small{font-size:11px;margin-top:5px;color:#8292a1}.quick-links strong{color:#7c9eaa}.quick-icon{background:#e9f7f4;border-radius:11px;width:42px;height:42px;display:grid;place-items:center;color:#14846f;font-size:20px}.text-action{color:#14846f;font-size:12px;text-decoration:none;font-weight:700}.new-shell th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#8190a0;background:#f9fbfd}.new-shell td{font-size:13px}.row-primary{font-weight:700;text-decoration:none;color:#203f53}.row-secondary{display:block;font-size:11px;margin-top:5px}.new-shell .badge{background:#eef2f6;color:#506478}.new-shell .badge.status-closed{background:#e4f7ef;color:#18765d}.new-shell .badge.status-ready{background:#e4f2ff;color:#2467a4}.expense-filter{display:grid;grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) auto;gap:14px;align-items:end}.expense-filter label{margin:0}.situation.xml-missing{display:inline-block;padding:6px 10px;border-radius:8px;background:#fff3dc;color:#9a6016;font-weight:700}.mobile-menu,.mobile-overlay{display:none}[hidden]{display:none!important}
@media(max-width:1250px){.modern-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:900px){.sidebar{position:fixed;left:-270px;transition:left .2s}.menu-open .sidebar{left:0}.mobile-menu{display:inline-block;background:transparent;border:0;font-size:23px;padding:6px;cursor:pointer}.menu-open .mobile-overlay{display:block;position:fixed;inset:0;background:#0b1e3277;z-index:10}.workspace-header{padding:0 18px}.workspace .container{padding:22px}.modern-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-filter{grid-template-columns:1fr 1fr}.expense-filter .filter-actions{grid-column:1/-1}}@media(max-width:600px){.modern-stats,.expense-filter{grid-template-columns:1fr}.header-caption{display:none}.workspace .container{padding:16px}.hero-head{align-items:stretch}.header-actions .button{flex:1;text-align:center}.metric b{font-size:27px}}

/* MVP-11 - experiencia visual de clasificación, sin cambios en lógica */
.expense-hero{background:linear-gradient(110deg,#fff,#f1f9f7);border:1px solid #e0eeeb;border-radius:17px;padding:23px 25px;margin-bottom:18px}.expense-hero .badge{margin:4px}.expense-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:22px}.progress-item{display:flex;align-items:center;gap:11px;padding:15px 13px;border:1px solid #e6edf2;border-radius:13px;background:#fff;min-width:0}.progress-icon{flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e8edf2;color:#60758a;font-size:13px;font-weight:800}.progress-item.done .progress-icon{background:#d9f7eb;color:#137d61}.progress-item.active{border-color:#a4ded0;background:#f4fcf9}.progress-item.active .progress-icon{background:#137f70;color:white}.progress-item b,.progress-item small{display:block}.progress-item b{font-size:12px;color:#213b50}.progress-item small{font-size:11px;margin-top:4px}.expense-overview>.card{border-top:3px solid #8acfc0}.expense-overview>.card h2{font-size:17px;margin-top:0}.classification-workspace{padding:26px!important}.classification-workspace>.page-head{border-bottom:1px solid #e6eef1;padding-bottom:17px}.classification-workspace .general-block{background:linear-gradient(140deg,#f0faf7,#f8fbfd);border-color:#cfece3;padding:22px;border-radius:14px}.classification-workspace .general-block .section-title{color:#125f58;font-size:19px}.classification-workspace .bulk-section h4{color:#2b5263}.classification-workspace .bulk-tools button{background:#e1f2ed!important;color:#126b5c!important}.classification-workspace .detail-block{border-top:0;margin-top:32px;padding:16px 0 4px}.classification-workspace .detail-block .section-title{font-size:20px}.classification-workspace .concept-card{background:#fff;border:1px solid #e4eaf0;border-radius:13px;padding:19px;margin:12px 0;box-shadow:0 3px 14px #18344b08}.classification-workspace .concept-head{padding-bottom:13px;border-bottom:1px solid #edf1f5}.classification-workspace .concept-head h3{color:#193d50;font-size:15px;line-height:1.45}.classification-workspace .money strong{color:#137e70;font-size:23px}.classification-workspace .concept-fields{grid-template-columns:1fr 1fr 1.4fr;gap:13px}.classification-workspace .concept-fields label{font-size:12px;color:#526a7b}.classification-workspace .assignment-simple{padding:12px 14px;background:#f7fafc;border-radius:10px}.classification-workspace .save-all-bar{position:sticky;bottom:12px;z-index:5;background:#fff;border:1px solid #d9e9e5;border-left:4px solid #168b79;box-shadow:0 9px 30px #12304720;padding:14px 17px;border-radius:12px}.expense-final{border-color:#d1e8e1!important;background:linear-gradient(160deg,#fff,#f7fcfa)}.expense-final h2{color:#1b584f}.expense-final .summary-numbers div{background:#fff}.expense-final .summary-numbers b{color:#1b5e57}.new-shell .classification-workspace .secondary{background:#eaf0f5;color:#25465a}.new-shell .classification-workspace .save-all-bar button{background:#137f70}.new-shell .expense-final button{background:#137f70}@media(max-width:1100px){.expense-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.classification-workspace .concept-fields{grid-template-columns:1fr 1fr}}@media(max-width:650px){.expense-progress,.classification-workspace .concept-fields{grid-template-columns:1fr}.classification-workspace{padding:15px!important}.expense-hero{padding:17px}.classification-workspace .concept-card{padding:13px}.classification-workspace .save-all-bar{bottom:5px}.classification-workspace .assignment-simple{padding:10px}}

/* MVP-12: compact workbench */
.workspace-v12{padding:22px!important}.workspace-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:16px}.workspace-heading h2{margin:3px 0}.workbench{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:16px;align-items:start}.workbench-list{border:1px solid #dce5e9;border-radius:14px;overflow:hidden;background:#fff}.workbench-list-header{display:flex;justify-content:space-between;padding:14px 17px;background:#f3f7f9}.workbench-item{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:14px 12px;background:#fff;color:#233443;border:0;border-bottom:1px solid #e7eef1;border-radius:0;cursor:pointer}.workbench-item:hover{background:#f3faf7}.workbench-item.selected{background:#eaf5f1;border-left:4px solid #1b9378;padding-left:8px}.item-number{background:#e5edf0;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}.item-main{flex:1;min-width:0}.item-main strong{display:block;font-size:13px;line-height:1.4}.item-main small{display:block;color:#687986;margin-top:4px}.item-total{white-space:nowrap}.workbench-editor{background:#edf6f2;border:1px solid #cfe5dc;border-radius:14px;padding:18px;position:sticky;top:15px}.workbench-mode{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin-bottom:16px}.workbench-mode label{display:flex;gap:5px;align-items:center}.workbench-panel{display:none}.workbench-panel.is-active{display:block}.workbench-panel-head{border-bottom:1px solid #cadbd4;padding-bottom:12px;margin-bottom:15px}.workbench-panel-head small{color:#52786c}.workbench-panel-head h3{font-size:15px;line-height:1.4;margin:7px 0}.workbench-panel-head b{font-size:21px}.workbench-fields{display:grid;gap:10px}.workbench-fields h4{margin:4px 0}.workbench-fields label{display:block}.workbench-fields select{width:100%}.workbench-divider{height:1px;background:#c8dbd2;margin:6px 0}.workbench-save{width:100%;margin-top:18px}.workbench-hint{font-size:12px;color:#52685d}.prorratear-btn{width:100%}@media(max-width:850px){.workbench{grid-template-columns:1fr}.workbench-editor{position:static}.workspace-heading{align-items:flex-start}.item-main strong{font-size:12px}}

/* MVP-13: lectura consistente y contrastes de acciones */
.new-shell .workbench-item{background:#fff!important;color:#233443!important;border-left:4px solid transparent;padding-left:8px}
.new-shell .workbench-item:hover{background:#f1f8f6!important}
.new-shell .workbench-item.selected{background:#e0f4ec!important;border-left-color:#168774!important}
.new-shell .workbench-item .item-main small{color:#607383!important}
.new-shell .workbench-item .item-total{color:#163d4b!important}
.new-shell .workbench-item.selected .item-number{background:#137f70;color:white}
.new-shell .prorratear-btn{background:#fff0ed!important;color:#b43d37!important;border:1px solid #f0b3ac;font-weight:800}
.new-shell .prorratear-btn:hover{background:#ffe1db!important}
.new-shell .pay-row .link.danger{color:#f5d95c!important;font-weight:800;background:#167f71!important;padding:5px 9px;border-radius:6px}
.new-shell .pay-row .link.danger:hover{background:#0d6259!important}
.workbench-panel .readonly{margin-top:12px}

/* MVP14: opciones de alcance sin saltos de línea innecesarios */
.classification-scope label, .scope-switch label {white-space:nowrap;}
@media(max-width:520px){.classification-scope label,.scope-switch label{white-space:normal;}}
.file-actions{display:flex;gap:10px;flex-wrap:wrap}

/* MVP-15: lists show 12 visible rows with internal scrolling */
.records-scroll{max-height:650px;overflow:auto;position:relative}
.records-scroll thead th{position:sticky;top:0;z-index:2;background:#f4f7f9}
.catalog-scroll{max-height:460px;overflow:auto}
.catalog-scroll thead th{position:sticky;top:0;background:#f4f7f9;z-index:1}
.provider-table{width:100%;font-size:.85rem}
.provider-table td,.provider-table th{padding:10px;border-bottom:1px solid #e5ebef;text-align:left}
.proveedor-fila[hidden]{display:none}
.history-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.history-filter label{min-width:240px}

/* MVP-19: compact, focused catalog administration */
.cfg-heading{align-items:center}.cfg-access{font-size:12px;color:#127a6c;background:#e8f6f2;border:1px solid #bfe9de;border-radius:100px;padding:9px 13px;white-space:nowrap}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#168675;margin-bottom:7px}.cfg-layout{display:grid;grid-template-columns:minmax(205px,245px) minmax(0,1fr);gap:18px;align-items:start}.cfg-sidebar{background:white;border:1px solid #dfe8ed;border-radius:17px;padding:18px 10px}.cfg-sidebar-title{padding:4px 13px 15px;font-size:11px;letter-spacing:.13em;font-weight:800;color:#8092a1}.cfg-nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;text-align:left;padding:10px 13px;border:0;background:transparent;color:#334b5e;border-radius:10px;font-size:14px;font-weight:650;cursor:pointer}.cfg-nav-item:hover{background:#f2f7f7}.cfg-nav-item.active{background:#e5f4f0;color:#086b60;box-shadow:inset 3px 0 #148576}.cfg-nav-icon{font-size:18px;width:23px;text-align:center}.cfg-nav-chevron{margin-left:auto;font-size:21px;color:#8ba0aa}.cfg-sidebar-note{border-top:1px solid #e4ebef;margin:16px 12px 0;padding-top:14px;font-size:12px;line-height:1.55;color:#7c8d9d}.cfg-main{min-width:0}.cfg-main-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 14px}.cfg-main-header h2{margin:0;font-size:25px;color:#1c3449}.cfg-main-hint{color:#8292a3;font-size:12px}.cfg-panel[hidden]{display:none!important}.cfg-panel>.card{margin:0!important;box-shadow:none}.cfg-panel>.card h2{display:none}.cfg-panel>.card{border:1px solid #dfe8ed;border-radius:16px;padding:22px}.cfg-panel .catalog-scroll{max-height:510px;overflow:auto}.cfg-panel .catalog-list{max-height:430px;overflow:auto;margin-top:20px}.cfg-panel .provider-table{width:100%}.cfg-panel form{max-width:800px}.cfg-panel form button{margin-top:7px}.cfg-panel .catalog-list li{gap:12px}.cfg-panel .catalog-list form button{margin:0}.cfg-panel label{min-width:0}.cfg-panel input,.cfg-panel select{max-width:100%}@media(max-width:820px){.cfg-layout{grid-template-columns:1fr}.cfg-sidebar{display:flex;overflow-x:auto;gap:5px;padding:8px}.cfg-sidebar-title,.cfg-sidebar-note,.cfg-nav-chevron{display:none}.cfg-nav-item{width:auto;flex:0 0 auto;white-space:nowrap}.cfg-main-hint{display:none}}@media(max-width:520px){.cfg-access{display:none}.cfg-panel>.card{padding:14px}.cfg-main-header h2{font-size:21px}}

/* MVP-20: catalogs as records first, right-side editor */
.cfg20-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:18px;align-items:start;position:relative}.cfg20-nav{background:#fff;border:1px solid #dce5eb;border-radius:15px;padding:12px}.cfg20-caption{padding:10px 13px;font-size:11px;letter-spacing:.13em;font-weight:800;color:#73899a}.cfg20-tab{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;min-height:45px;padding:10px 12px;border:0;border-radius:9px;background:#fff!important;color:#244054!important;font-weight:650;font-size:13px}.cfg20-tab span{color:#8095a4;font-size:19px}.cfg20-tab:hover{background:#eef6f4!important}.cfg20-tab.active{background:#167f70!important;color:#fff!important}.cfg20-tab.active span{color:#fff}.cfg20-navnote{border-top:1px solid #e6edf1;margin:12px 6px 0;padding:13px 5px;color:#6d8392;font-size:12px;line-height:1.5}.cfg20-content{min-width:0}.cfg20-section[hidden],.cfg20-editor[hidden],.cfg20-shade[hidden]{display:none!important}.cfg20-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.cfg20-head h2{font-size:25px;margin:0}.cfg20-head h3{margin:0}.cfg20-head p{margin:5px 0 0}.cfg20-primary{background:#137f70!important;color:#fff!important;border:1px solid #137f70!important;white-space:nowrap}.cfg20-primary:hover{background:#096657!important}.cfg20-tablecard{border:1px solid #dfe8ee;border-radius:15px;background:#fff;padding:18px;margin-bottom:16px}.cfg20-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:10px}.cfg20-tools label{margin:0;flex:1;min-width:160px;font-size:12px}.cfg20-tools label:nth-child(2){flex:0 0 145px}.cfg20-count{color:#71879a;font-size:12px;padding-bottom:13px}.cfg20-list{max-height:625px;overflow-y:auto}.cfg20-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e9eff3;padding:13px 5px;min-height:68px}.cfg20-row[hidden]{display:none}.cfg20-record{flex:1;min-width:0}.cfg20-record strong,.cfg20-record small{display:block;overflow-wrap:anywhere}.cfg20-record strong{font-size:13px;color:#193c50}.cfg20-record small{font-size:12px;margin-top:4px}.cfg20-status{background:#e5f6ed;color:#176b53;border-radius:50px;padding:5px 9px;font-size:11px;font-weight:750;white-space:nowrap}.cfg20-status.is-off{background:#f0f2f4;color:#6e7f8c}.cfg20-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.cfg20-actions form{margin:0}.cfg20-plain,.cfg20-state{font-size:12px;padding:8px 10px;background:#e9f0f4!important;color:#234358!important}.cfg20-state.is-off{background:#fff1ef!important;color:#a93b33!important}.cfg20-subcard{margin-top:16px}.cfg20-empty{padding:15px}.cfg20-parameters{max-width:620px}.cfg20-editor{position:absolute;right:0;top:0;z-index:15;width:min(420px,100%);background:#fff;border:1px solid #cbdedc;border-radius:15px;padding:21px;box-shadow:0 12px 35px #1d344326;max-height:80vh;overflow-y:auto}.cfg20-editing .cfg20-content{pointer-events:auto}.cfg20-shade{position:absolute;inset:0;z-index:10;background:#16334925;border-radius:15px}.cfg20-editor-top{display:flex;align-items:start;justify-content:space-between;gap:10px;border-bottom:1px solid #e1e9ed;padding-bottom:13px;margin-bottom:13px}.cfg20-editor-top small{color:#168675;letter-spacing:.12em;font-weight:800}.cfg20-editor-top h3{margin:6px 0 0}.cfg20-close{background:#eef2f5!important;color:#284253!important;font-size:21px;padding:4px 12px}.cfg20-editor label{font-size:13px;margin:12px 0}.cfg20-editor input,.cfg20-editor select{width:100%}.cfg20-readonly{background:#eef2f5}.cfg20-editor-footer{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid #e3ebef;padding-top:16px;margin-top:20px}.cfg20-help{font-size:12px;color:#536d7b;line-height:1.5;background:#eef7f4;border-radius:8px;padding:11px}@media(max-width:900px){.cfg20-layout{grid-template-columns:1fr}.cfg20-nav{display:flex;gap:4px;overflow-x:auto}.cfg20-caption,.cfg20-navnote{display:none}.cfg20-tab{width:auto;flex:0 0 auto}.cfg20-editor{position:relative;width:100%;max-height:none;margin-bottom:15px}.cfg20-editing .cfg20-content{pointer-events:auto}.cfg20-shade{display:none!important}}@media(max-width:570px){.cfg20-head{align-items:flex-start;flex-direction:column}.cfg20-head .cfg20-primary{width:100%}.cfg20-row{align-items:flex-start;flex-wrap:wrap}.cfg20-record{flex:1 1 65%}.cfg20-actions{width:100%}.cfg20-tools label:nth-child(2){flex:1}.cfg20-tablecard{padding:12px}}

/* MVP-21: preserve edit panel interactions; backdrop blocks background only */
.cfg20-editing .cfg20-section{pointer-events:none}
.cfg20-editing .cfg20-editor{pointer-events:auto}

.cfg21-subtools label:nth-child(2){flex:1 1 190px}

/* MVP-22: accion destructiva diferenciada */
.cfg20-delete-form{display:inline-flex;margin:0}
.cfg20-delete{border:1px solid #b91c1c;background:#c62828;color:#ffffff;border-radius:9px;padding:9px 11px;cursor:pointer;font-weight:700}
.cfg20-delete:hover{background:#a61d24;color:#ffffff}

/* MVP-24: colores de acciones consistentes en clasificaciones y subclasificaciones */
.new-shell .cfg20-actions .cfg20-delete,
.new-shell .cfg20-actions .cfg20-delete-form button.cfg20-delete{background:#c62828!important;color:#fff!important;border:1px solid #b91c1c!important;}
.new-shell .cfg20-actions .cfg20-delete:hover{background:#a61d24!important;color:#fff!important;}
.new-shell .cfg20-actions .cfg20-state.is-off{background:#fff1ef!important;color:#a93b33!important;border-color:transparent!important;}

/* MVP-26: captura manual ejecutiva y depuración selectiva */
.manual-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.manual-head h1{margin:6px 0;font-size:30px;letter-spacing:-.8px}.manual-head .muted{margin:0;max-width:760px}.manual-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.manual-main{min-width:0}.manual-card{padding:26px 30px;margin-bottom:20px;border:1px solid #e1e8f0;box-shadow:0 5px 24px #172b4a09}.manual-section-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}.manual-step{width:38px;height:38px;border-radius:12px;background:#e3f8f1;color:#0d856b;display:grid;place-items:center;font-size:13px;font-weight:800;flex-shrink:0}.manual-section-head h2{font-size:19px;letter-spacing:-.3px;margin:0 0 5px}.manual-section-head p{color:#64748b;font-size:13px;margin:0}.manual-fields{display:grid;gap:14px}.manual-fields.cols-2{grid-template-columns:1fr 1fr}.manual-card label{font-size:13px;color:#34435a;margin:0 0 17px}.manual-card input,.manual-card select{margin-top:7px;min-height:43px;border:1px solid #d5dfeb;background:#fbfdff}.manual-card input:focus,.manual-card select:focus{outline:2px solid #7ddac5;outline-offset:1px;border-color:#17a889}.manual-card input[type=file]{padding:9px}.req{color:#d45252}.optional{color:#8b99aa;font-size:11px;font-weight:500}.manual-new-provider{padding:16px 18px 3px;border:1px solid #bfe8dd;border-radius:12px;background:#f4fcf9;margin:0 0 20px}.manual-new-provider small{display:block;margin-bottom:12px}.manual-total-entry{display:flex;gap:24px;align-items:center;padding:17px 20px;border:1px solid #d6ebe7;background:#f5fcfa;border-radius:13px;margin-bottom:20px}.manual-total-entry label{margin:0;flex:0 0 260px}.manual-total-entry input{font-size:24px;font-weight:800;color:#102f3b;background:white}.manual-total-note{font-size:13px;color:#557b79;max-width:230px}.manual-mode{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #edf0f5;margin-bottom:18px}.manual-mode strong{font-size:14px}.manual-mode p{font-size:12px;color:#64748b;margin:4px 0 0}.manual-switch{position:relative;display:block!important;width:49px;height:28px;flex:0 0 49px;margin:0!important}.manual-switch input{opacity:0;position:absolute;width:100%;height:100%;margin:0}.manual-switch span{position:absolute;inset:0;border-radius:30px;background:#bdc9d5;cursor:pointer;transition:.2s}.manual-switch span:before{content:'';position:absolute;width:20px;height:20px;top:4px;left:4px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:.2s}.manual-switch input:checked+span{background:#159f80}.manual-switch input:checked+span:before{transform:translateX(21px)}.manual-table-head,.manual-concept-row{display:grid;grid-template-columns:minmax(0,1fr) 160px 40px;gap:10px;align-items:center}.manual-table-head{font-size:10px;color:#71839b;font-weight:800;letter-spacing:1px;margin:0 0 8px}.manual-concept-row{margin:0 0 10px}.manual-concept-row input{margin:0}.manual-remove{background:#fff1f0;color:#c53737;border:1px solid #ffdbd7;padding:0;width:38px;height:42px}.manual-remove:hover{background:#fddbd8}.manual-add{margin:7px 0 18px}.manual-balance{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px;border-radius:12px;background:#f4f7fb}.manual-balance>div{padding:10px}.manual-balance small,.manual-balance strong{display:block}.manual-balance strong{font-size:19px;color:#203047;margin-top:7px}.manual-balance .manual-difference{border-radius:9px;background:#fff1ec}.manual-balance .manual-difference strong{color:#bd4d2d}.manual-balance .manual-difference.is-ok{background:#e1f8ed}.manual-balance .manual-difference.is-ok strong{color:#167d5d}.manual-message{font-size:13px;color:#a65b26;margin:10px 0 0}.manual-help{color:#71839b;font-size:12px;margin:0}.manual-side{position:sticky;top:24px}.manual-summary{border:1px solid #d8e6e7;padding:24px}.manual-summary h3{margin:10px 0 14px}.manual-summary-amount{font-size:32px;font-weight:800;letter-spacing:-1px;color:#0e816d;margin:8px 0 22px}.manual-summary-row{display:flex;justify-content:space-between;gap:8px;padding:11px 0;border-bottom:1px solid #e9eef3;font-size:13px}.manual-summary-row span{color:#71839b}.manual-summary-divider{height:14px}.manual-save{width:100%;background:#138c75;color:#fff;padding:14px}.manual-save:hover{background:#087661}.manual-cancel{display:block;text-align:center;padding:13px;text-decoration:none;color:#62758a;font-size:13px}.manual-summary-foot{color:#8593a5;font-size:12px;line-height:1.6;margin:8px 0 0}.manual-delete-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 20px;border-color:#f0d6d6;background:#fffdfd}.manual-delete-toolbar strong,.manual-delete-toolbar small{display:block}.manual-delete-toolbar small{margin-top:4px}.manual-delete-actions{display:flex;align-items:center;gap:14px}.manual-delete-actions span{font-size:12px;color:#687c90}.delete-expenses-btn{background:#bc2d35;color:white}.delete-expenses-btn:hover{background:#a3202a}.delete-confirm-panel{background:#fff8f7;border:1px solid #f1b8b3;border-radius:12px;padding:20px 24px;margin-bottom:16px}.delete-confirm-panel p{color:#7d4542;line-height:1.5}.delete-confirm-panel label{max-width:360px}.delete-confirm-actions{display:flex;gap:10px}.expense-check,#select-all-expenses{width:17px;height:17px;accent-color:#bf2e37;margin:0}.expense-check:disabled{opacity:.3}
@media(max-width:1050px){.manual-layout{grid-template-columns:1fr}.manual-side{position:static}.manual-summary{max-width:none}.manual-summary-amount{margin-bottom:12px}}@media(max-width:650px){.manual-head{flex-direction:column}.manual-card{padding:20px}.manual-fields.cols-2{grid-template-columns:1fr;gap:0}.manual-total-entry{display:block}.manual-total-entry label{display:block}.manual-total-note{margin-top:12px}.manual-table-head,.manual-concept-row{grid-template-columns:minmax(0,1fr) 110px 36px}.manual-balance{grid-template-columns:1fr}.manual-delete-toolbar{align-items:flex-start;flex-direction:column}.manual-delete-actions{flex-wrap:wrap}}

.manual-field-disabled{opacity:.45}.manual-field-disabled input{background:#eef1f5;cursor:not-allowed}

/* MVP-29: uniformidad de acciones y navegación contextual */
.page-head > .header-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.expense-return-bar { display:flex; align-items:center; gap:18px; margin:0 0 16px; flex-wrap:wrap; }
.manual-field-disabled { opacity:.55; }
.manual-field-disabled input:disabled { cursor:not-allowed; background:#f0f3f6; }

/* MVP-30: filtros compactos, bandeja paginada y expediente ordenado */
.new-shell .expense-filter{display:grid;grid-template-columns:minmax(200px,2.4fr) minmax(170px,1.5fr) minmax(120px,.75fr) auto;align-items:end;gap:12px}
.new-shell .expense-filter .filter-actions{grid-column:auto;flex-wrap:nowrap;gap:7px;white-space:nowrap}
.new-shell .expense-filter label,.new-shell .pending-filter-row label{font-size:12px;color:#597185}
.new-shell .expense-filter input,.new-shell .expense-filter select,.new-shell .pending-filter-row select{height:43px;margin-top:6px}
.new-shell .filters-card{padding:17px 20px}
.new-shell .situation.needs-action{display:inline-block;padding:7px 10px;border-radius:8px;background:#fff3dc;color:#9a6016;font-weight:650;white-space:normal}
.new-shell .situation.is-complete{color:#50736a;font-weight:500;white-space:normal}
.pagination-card{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:-5px 0 19px;padding:12px 16px;background:white;border:1px solid #e5edf1;border-radius:12px;color:#64748b;font-size:12px}
.pagination-links{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.pagination-links a{padding:7px 11px;text-decoration:none;color:#236c64;border-radius:8px;border:1px solid #dce9e6}.pagination-links a.current{background:#147d6f;color:white;border-color:#147d6f}.pagination-count{font-size:12px;color:#7a8b9c;text-align:right;margin:-7px 0 15px}
.xml-inline-card{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:15px 19px!important}.xml-inline-card h2{font-size:16px;margin:0 0 4px}.xml-inline-card .muted{font-size:12px;margin:0}.xml-inline-card form{flex:1;max-width:580px}.xml-inline-controls{display:flex;gap:10px;align-items:center}.xml-inline-controls input{margin:0;min-width:150px}.xml-inline-controls button{white-space:nowrap}
.report-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.report-filter-heading strong{font-size:15px;color:#24445b}.report-filter-heading small{display:block;margin-top:4px;font-weight:400}.report-filter-heading>span{font-size:10px;letter-spacing:1.1px;color:#1b8b7b;font-weight:800}
.new-shell .report-filters-grid{grid-template-columns:repeat(4,minmax(155px,1fr));gap:10px 13px}.new-shell .report-filters-grid label{font-size:12px;color:#587085}.new-shell .report-filters-grid select,.new-shell .report-filters-grid input{height:42px;margin-top:5px}.new-shell .report-filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:5px}.new-shell .report-filter-actions .button,.new-shell .report-filter-actions button{font-size:12px;padding:10px 13px}.camera-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:7px}.camera-controls .button{font-size:12px;padding:8px 12px}.camera-controls small{font-size:11px}
@media(max-width:1250px){.new-shell .expense-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.new-shell .expense-filter .filter-actions{grid-column:1/-1}.new-shell .report-filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.new-shell .expense-filter,.new-shell .report-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xml-inline-card form{max-width:none}.xml-inline-controls{flex-wrap:wrap}}
@media(max-width:570px){.new-shell .expense-filter,.new-shell .report-filters-grid{grid-template-columns:1fr}.new-shell .expense-filter .filter-actions{flex-wrap:wrap}.pagination-card{align-items:flex-start}.xml-inline-controls{display:grid;grid-template-columns:1fr}.report-filter-heading>span{display:none}}

/* MVP31: barra de filtros de reportes con acciones separadas y jerarquía visual. */
.new-shell .report-refined{padding:20px 22px 18px;border:1px solid #e0e9f0;background:linear-gradient(180deg,#fff 0%,#fbfdfe 100%)}
.new-shell .report-refined .report-filter-heading{padding-bottom:14px;margin-bottom:17px;border-bottom:1px solid #e9eff4}
.new-shell .report-refined .report-filter-heading strong{font-size:17px;color:#183d50}
.new-shell .report-refined-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px}
.new-shell .report-refined-grid label{font-weight:600;color:#476277}
.new-shell .report-refined-grid select,.new-shell .report-refined-grid input{background:#fff;border-radius:9px}
.new-shell .report-refined-actions{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid #e9eff4;margin-top:5px;padding-top:16px;flex-wrap:wrap}
.report-action-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.report-emit-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:13px;padding:12px 14px;background:#f1f7f7;border:1px solid #dcebea;border-radius:10px}
.report-emit-row form{margin:0}.report-emit-row p{margin:0;font-size:12px;flex:1}
@media(max-width:1050px){.new-shell .report-refined-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.new-shell .report-refined-grid{grid-template-columns:1fr}.new-shell .report-refined-actions{align-items:stretch}.report-action-group{width:100%}.report-action-group .button,.report-action-group button{flex:1;text-align:center}}

/* MVP-41: selección explícita de movimientos */
.workbench-pick{appearance:auto!important;flex:0 0 17px;width:17px;height:17px;accent-color:#138474;cursor:pointer;margin:0 1px 0 0!important}
.workbench-selection-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:15px;font-size:12px;color:#47675d}
.workbench-selection-tools button{font-size:12px;padding:7px 10px;width:auto}
.workbench-mode{border-bottom:1px solid #c8dbd2;padding-bottom:12px}
/* Encabezados de grupos de Configuración más distinguibles */
.cfg20-nav .cfg20-caption{background:#e8f2f0;color:#126e63;border-left:4px solid #168b78;border-radius:6px;padding:10px 9px;margin:14px 4px 6px;font-weight:850;letter-spacing:.055em;font-size:11px}
.cfg20-nav .cfg20-caption:first-child{margin-top:3px}

/* MVP-42: selección de pendientes integrada en el encabezado. */
.workbench-list-title{display:flex;align-items:center;gap:18px}
.workbench-all{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;cursor:pointer}
.workbench-all input,.workbench-pick{width:17px;height:17px;accent-color:#148c77;flex-shrink:0}
.workbench-pick-placeholder{width:17px;flex-shrink:0}
.workbench-selection-status{font-size:12px;font-weight:650;color:#197d6c;padding:0 0 12px;border-bottom:1px solid #c8dbd2;margin-bottom:14px}
@media(max-width:600px){.workbench-list-header{gap:6px;flex-wrap:wrap}.workbench-list-title{gap:12px}}

/* MVP-54: paneles de reportes responsivos */
.mvp54-report-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,2fr);gap:16px;align-items:start;margin-bottom:16px}
.mvp54-report-layout>.card{min-width:0;margin:0}
.mvp54-report-layout .report-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mvp54-report-layout .report-filter-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}
.mvp54-dashboard-panel label{display:block;margin:18px 0}.mvp54-dashboard-panel select{width:100%}
@media(max-width:1050px){.mvp54-report-layout{grid-template-columns:1fr}}
@media(max-width:580px){.mvp54-report-layout .report-filters-grid{grid-template-columns:1fr}.mvp54-report-layout .report-action-group{flex-wrap:wrap}.mvp54-report-layout .button{max-width:100%}}

/* MVP-55: disposición solicitada por operaciones (panel izquierdo 60%). */
.new-shell .report-mock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.new-shell .report-mock-grid .report-field{min-width:0}
.new-shell .report-mock-grid label{font-weight:600;color:#476277;font-size:12px}
.new-shell .report-mock-grid input,.new-shell .report-mock-grid select{width:100%;min-width:0;background:#fff;border-radius:9px}
.report-from{grid-column:1;grid-row:1}.report-to{grid-column:2;grid-row:1}.report-account{grid-column:3;grid-row:1}.report-consult{grid-column:4;grid-row:1}
.report-responsible{grid-column:1/3;grid-row:2}.report-category{grid-column:3;grid-row:2}.report-clear{grid-column:4;grid-row:2}
.report-requester{grid-column:1/3;grid-row:3}.report-company{grid-column:3;grid-row:3}.report-excel{grid-column:4;grid-row:3}
.report-supplier{grid-column:1/3;grid-row:4}.report-status{grid-column:3;grid-row:4}.report-follow{grid-column:4;grid-row:4}
.report-pdf{grid-column:1/3;grid-row:5;border-top:1px solid #e9eff4;padding-top:14px}
.new-shell .report-mock-grid .report-action{min-width:0}.new-shell .report-mock-grid .report-action .button,.new-shell .report-mock-grid .report-action button{font-size:12px;white-space:normal;text-align:center;display:block;width:100%;padding:11px 5px}
.new-shell .report-mock-grid .report-action .button{background:#e9f0f5;color:#17324d}
.new-shell .report-mock-grid .report-consult button{background:#178476}
.new-shell .report-mock-grid .report-pdf .button{width:auto;display:inline-block;padding:10px 14px}
@media(max-width:1350px){.new-shell .report-mock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.new-shell .report-mock-grid>*{grid-column:auto!important;grid-row:auto!important}.new-shell .report-mock-grid .report-pdf{grid-column:1/-1!important}}
@media(max-width:580px){.new-shell .report-mock-grid{grid-template-columns:1fr}.new-shell .report-mock-grid>*{grid-column:1!important}}

/* MVP-56: PDF actions in the open space beneath the dashboard */
.mvp54-report-layout{grid-template-rows:auto auto;align-items:stretch}
.mvp54-report-layout .report-filters-card{grid-column:1;grid-row:1/3}
.mvp54-report-layout .mvp54-dashboard-panel{grid-column:2;grid-row:1}
.mvp54-report-layout .report-pdf-side-panel{grid-column:2;grid-row:2;align-self:stretch}
.report-pdf-side-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:16px}
.report-pdf-side-actions form{margin:0}
.report-pdf-side-actions .button,.report-pdf-side-actions button{white-space:normal;text-align:left}
.report-pdf-note{font-size:12px;line-height:1.45;margin-top:12px}
@media(max-width:1050px){.mvp54-report-layout{grid-template-columns:1fr}.mvp54-report-layout .report-filters-card,.mvp54-report-layout .mvp54-dashboard-panel,.mvp54-report-layout .report-pdf-side-panel{grid-column:1;grid-row:auto}}

/* MVP-58: dos documentos PDF en mitades iguales del panel derecho. */
.report-pdf-side-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;width:100%}
.report-pdf-side-actions>a,.report-pdf-side-actions>form{min-width:0;width:100%;margin:0}
.report-pdf-side-actions .button,.report-pdf-side-actions button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:54px;box-sizing:border-box;padding:8px 7px;text-align:center;font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
@media(max-width:460px){.report-pdf-side-actions{grid-template-columns:1fr}}
