/* V122 · Total del período y libro de cálculo limpio, sin tocar los módulos móviles */
@media(min-width:941px){
  #gastos #expenseMonthKpis,#gastos .v121-expense-more{display:none!important}
  #gastos .topbar{gap:10px!important}
  #gastos .v122-period-total{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 18px;background:#f2f8fa;border:1px solid #dce9ee;border-radius:13px;margin-top:0}
  #gastos .v122-period-total span{font-size:13px;font-weight:750;color:#516e7e;letter-spacing:.015em}
  #gastos .v122-period-total strong{font-size:clamp(25px,2.9vw,35px);font-weight:850;line-height:1.1;color:#163c50;font-variant-numeric:tabular-nums}
}
/* Conserva diseño móvil previamente aprobado. */
.v122-sar-recovery{background:#f8fbfd;border:1px solid #d8e5eb;border-radius:12px;padding:15px 17px;margin:9px 0 17px;color:#21475b}
.v122-sar-recovery strong{font-size:14px}
.v122-sar-recovery p{margin:8px 0;font-size:12px;color:#526c7b;line-height:1.5}
.v122-sar-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:11px 0}
.v122-sar-file-label{cursor:pointer;display:inline-flex;align-items:center}
.v122-sar-note{border-left:3px solid #a5c6d7;padding:8px 10px!important;background:#f0f6fa}
#taxRegisteredCard .panel-head{gap:12px;align-items:center}
#taxRegisteredCard .table-wrap{max-height:none!important;overflow:auto!important}
#taxRegisteredCard #taxTable tr{display:table-row!important;visibility:visible!important}
/* Libro abierto como hoja de cálculo, sin tarjetas de indicadores ni bloques ejecutivos. */
#bcOverlay{padding:0!important;background:white!important}
#bcOverlay .bc-panel{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;border:0!important;box-shadow:none!important;--bc-zoom:1}
#bcOverlay .bc-head.v121-sheet-title{height:58px!important;min-height:58px!important;padding:8px 16px!important;border-bottom:1px solid #e2e6e9!important;background:#fff!important}
#bcOverlay .v121-sheet-document h2{font-size:18px!important;color:#29353b!important;font-weight:500!important}
#bcOverlay .v121-sheet-document p{font-size:11px!important;margin:2px 0 0!important}
#bcOverlay .v121-sheet-logo{width:36px!important;height:36px!important;border-radius:5px!important;font-size:24px!important;background:#198653!important}
#bcOverlay .v121-sheet-menus{height:31px!important;min-height:31px!important;padding:0 14px!important}
#bcOverlay .v121-menu>summary{font-size:12px!important;padding:6px 9px!important}
#bcOverlay .v121-sheet-ribbon{min-height:39px!important;height:39px!important;padding:4px 13px!important;background:#f8f9fa!important}
#bcOverlay .v121-editor-note{font-size:11px!important;font-weight:400!important;color:#657078!important}
#bcOverlay .bc-toolbar{min-height:40px!important;height:40px!important;padding:4px 12px!important;gap:9px!important;background:#fff!important;flex-wrap:nowrap!important}
#bcOverlay .bc-toolbar .bc-action-group{flex:0 0 auto!important}
#bcOverlay .bc-toolbar .bc-action-group button{font-size:11px!important;padding:5px 9px!important;min-height:28px!important}
#bcOverlay .bc-quickfilters{display:flex!important;flex:1 1 100px!important;min-width:0!important;justify-content:flex-end!important;gap:6px!important}
#bcOverlay .bc-filter{height:29px!important;min-height:29px!important;border-radius:5px!important;padding:4px 8px!important;font-size:11px!important}
#bcOverlay .bc-filter-search{max-width:250px!important;min-width:120px!important}
#bcOverlay .bc-filter-month{width:138px!important}
#bcOverlay .bc-toolbar .bc-clear{min-height:29px!important;padding:4px 10px!important}
#bcOverlay .bc-formulabar{height:34px!important;min-height:34px!important;padding:3px 8px!important}
#bcOverlay .bc-formulabar input{height:27px!important;font-size:12px!important}
#bcOverlay .bc-note-bar,#bcOverlay .bc-summary-strip{display:none!important}
#bcOverlay .bc-table-holder{min-height:0!important;flex:1 1 auto!important;background:#fff!important}
#bcOverlay .bc-sheet{width:max-content!important;min-width:100%!important;table-layout:fixed!important;zoom:var(--bc-zoom)!important}
#bcOverlay .bc-sheet thead tr.bc-letters th{font-size:11px!important;font-weight:500!important;text-align:center!important;background:#f8f9fa!important;height:26px!important;padding:3px 9px!important;color:#64707a!important}
#bcOverlay .bc-sheet thead tr:not(.bc-letters) th{background:#f3f5f6!important;font-size:12px!important;color:#43515b!important;font-weight:650!important;height:30px!important;padding:5px 10px!important;top:26px!important}
#bcOverlay .bc-sheet tbody tr{height:30px!important}
#bcOverlay .bc-sheet td,#bcOverlay .bc-sheet tbody th{height:30px!important;min-width:146px!important;font-size:12px!important;border-color:#e1e4e7!important;line-height:1.2!important}
#bcOverlay .bc-sheet .bc-index{min-width:44px!important;width:44px!important;max-width:44px!important;background:#f8f9fa!important;color:#687781!important;font-weight:500!important}
#bcOverlay .bc-sheet .bc-cell input{height:29px!important;min-width:142px!important;padding:4px 9px!important;font-size:12px!important;color:#263740!important}
#bcOverlay .bc-sheet td.bc-cell{padding:0!important}
#bcOverlay .bc-sheet tbody tr:nth-child(even),#bcOverlay .bc-sheet tbody tr:nth-child(odd){background:white!important}
#bcOverlay .bc-sheet tbody tr:hover{background:#f3f9f5!important}
#bcOverlay .bc-workbook-nav{order:0!important;height:41px!important;min-height:41px!important;background:#edf0f3!important;border-top:1px solid #dadfe3!important;border-bottom:0!important;padding:3px 10px 0!important}
#bcOverlay .bc-workbook-nav .bc-tab{min-height:32px!important;font-size:11px!important;padding:7px 12px!important}
#bcOverlay .bc-foot{height:39px!important;min-height:39px!important;padding:4px 10px!important;background:#fff!important;gap:7px!important;flex-wrap:nowrap!important}
#bcOverlay .bc-foot #bcMessage{font-size:10px!important;max-width:470px!important;max-height:29px!important;overflow:hidden!important}
#bcOverlay .bc-foot>div:last-child{gap:4px!important}
#bcOverlay .bc-foot button{padding:5px 8px!important;font-size:10.5px!important;border-radius:5px!important}
#bcOverlay .bc-foot .bc-primary{background:#188452!important}
#bcOverlay .bc-review{max-height:130px!important}
@media(max-width:940px){#bcOverlay .bc-toolbar{flex-wrap:wrap!important;height:auto!important;min-height:40px!important}#bcOverlay .bc-quickfilters{flex-basis:100%!important}#bcOverlay .bc-panel{height:100dvh!important}#bcOverlay .bc-foot{height:auto!important;flex-wrap:wrap!important}}

/* V124: restore explicit Excel and document evidence actions on desktop. */
@media(min-width:941px){
 #gastos>.excel-import-card,#gastos>.invoice-zip-card{margin:12px 0!important;padding:16px 20px!important;border-radius:18px!important}
 #gastos>.excel-import-card .panel-head,#gastos>.invoice-zip-card .panel-head{margin-bottom:8px!important}
 #gastos>.excel-import-card h3,#gastos>.invoice-zip-card h3{font-size:16px!important}
 #gastos #v124ExpensePreviewBtn{font-size:12px!important}
}
