/* Archivo mensual: la misma jerarquia visual que el historial activo. */
#backupInboxSection{min-width:0;width:100%;max-width:1440px;overflow-y:auto;padding-bottom:20px;overscroll-behavior:contain}
#backupInboxSection .title-row h2{font-size:22px;line-height:1.35}
#backupInboxSection .backup-toolbar{display:grid;grid-template-columns:minmax(0,420px) auto auto;justify-content:start;align-items:end;gap:12px;margin:20px 0 14px}
#backupInboxSection label{min-width:0;font-size:12px;line-height:1.5}
#backupInboxSection .backup-toolbar select,#backupInboxSection input,#backupInboxSection select{max-width:100%;min-width:0;min-height:44px;box-sizing:border-box}
#backupInboxSection button{min-height:42px;white-space:normal}
#backupInboxSection .backup-range{flex:0 0 auto;border:1px solid #dce4eb;border-radius:10px;background:#fff;margin:0 0 14px}
#backupInboxSection .backup-range>summary{padding:14px 16px;cursor:pointer;font-size:12px;font-weight:600;color:#526b80}
#backupInboxSection .backup-range-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:12px;align-items:end;padding:4px 16px 16px}
#backupInboxSection .backup-range-fields label{display:grid;gap:8px;margin:0}
#backupInboxSection .backup-range-fields input{width:100%;height:46px;font:inherit;padding:10px 12px}
#backupInboxSection .backup-scope{font-size:12px;font-weight:600;line-height:1.6;color:#526b80;margin:0 0 12px;overflow-wrap:anywhere}
#backupInboxSection .backup-scope:empty,#backupInboxMessage:empty{display:none}
#backupInboxSection .backup-tabs{margin:6px 0 18px;flex-shrink:0}
#backupInboxSection .backup-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px;padding:18px;background:#fff;border:1px solid #dce4eb;border-radius:12px;flex-shrink:0}
#backupInboxSection .backup-filters label{display:grid;gap:8px;margin:0}
#backupInboxSection .backup-filters label[hidden]{display:none}
#backupInboxSection .backup-filters input,#backupInboxSection .backup-filters select{width:100%;height:46px;margin:0}
#backupInboxSection .backup-search{grid-column:auto}
#backupInboxSection .backup-table{flex:0 0 auto;min-height:280px;max-height:min(65dvh,720px);padding:8px 16px 14px;border:1px solid #dce4eb;border-radius:12px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#backupInboxSection .backup-table table{width:100%;min-width:650px;table-layout:fixed;border-collapse:separate;border-spacing:0}
#backupInboxSection .backup-table th{position:sticky;top:-8px;z-index:2;background:#fff;padding:16px 12px;border-bottom:1px solid #dce4eb}
#backupInboxSection .backup-table td{padding:16px 12px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
#backupInboxSection .backup-table th:nth-child(1){width:14%}#backupInboxSection .backup-table th:nth-child(2){width:24%}#backupInboxSection .backup-table th:nth-child(3){width:32%}#backupInboxSection .backup-table th:nth-child(4){width:30%}
#backupInboxSection .backup-table table:not([data-mobile-cards]):has(th:nth-child(10)){min-width:1400px;table-layout:auto}
#backupInboxSection .backup-table table:has(th:nth-child(10)) th{width:auto}
#backupInboxSection .sr-history-turn{display:inline-flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-width:70px;margin:0;padding:7px 9px;line-height:1.3}
#backupInboxSection .sr-history-turn strong{font-size:10px}#backupInboxSection .sr-history-turn small{font-size:9px}
#backupInboxSection .backup-turns{display:flex;flex-wrap:wrap;gap:6px}
#backupInboxSection .news-history-machine-list{display:grid;gap:8px;width:100%}
#backupInboxSection .news-history-machine{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 8px;background:#f5f7fb;border-radius:6px}
#backupInboxSection .news-history-machine-name{min-width:0;overflow-wrap:anywhere;font-size:12px}
#backupInboxSection .news-history-state{flex-shrink:0;display:inline-flex;justify-content:center;min-width:33px;padding:3px 7px;border:1px solid #dce3eb;border-radius:5px;font-size:11px;font-weight:700}
#backupInboxSection .news-history-state.ok{background:#eaf6ef;border-color:#c9e4d4;color:#216c44}#backupInboxSection .news-history-state.not-ok{background:#fff0f0;border-color:#edcbce;color:#ab3444}
#backupInboxSection .sr-day-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0!important;max-width:280px}
#backupInboxSection .sr-day-actions button{font-size:12px;padding:9px;min-width:0;min-height:42px}
#backupInboxSection .sr-pagination{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end;padding:16px 0 8px;margin:0;flex-shrink:0}
#backupInboxCount{margin-right:auto;font-size:12px;font-variant-numeric:tabular-nums}
#backupInboxSection .backup-page-size{display:flex;align-items:center;gap:8px;margin:0;font-size:11px}
#backupInboxSection #backupInboxPageSize{width:74px;min-width:74px;margin:0;padding:8px;font-size:14px}
#backupInboxPage{min-width:54px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
@media(max-width:900px){
 #backupInboxSection .backup-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:10px}
 #backupInboxSection #backupInboxOlder{grid-column:1/-1;justify-self:stretch}
 #backupInboxSection .backup-range-fields{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 12px 14px}
 #backupInboxSection .backup-range-fields button{width:100%;min-height:44px}
 #backupInboxSection .backup-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}
 #backupInboxSection .backup-filters .backup-search{grid-column:1/-1}
 #backupInboxSection input,#backupInboxSection select{font-size:16px}
 #backupInboxSection .backup-table{max-height:60dvh;padding:10px;scrollbar-gutter:auto;flex-shrink:0}
 #backupInboxSection .backup-table table[data-mobile-cards]{min-width:0!important;width:100%}
 #backupInboxSection .backup-table table[data-mobile-cards] td{min-width:0;max-width:100%}
 #backupInboxSection .backup-table table[data-mobile-cards] td:nth-child(3){display:block}
 #backupInboxSection .backup-table table[data-mobile-cards] td:nth-child(3):before{display:block;margin-bottom:8px}
 #backupInboxSection .backup-table table[data-mobile-cards] .mobile-turns{min-width:0;max-width:100%;width:100%}
 #backupInboxSection .backup-table table[data-mobile-cards] .backup-turns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:5px}
 #backupInboxSection .sr-history-turn{min-width:0;width:100%;padding:7px 4px;white-space:normal}
 #backupInboxSection .sr-day-actions{width:100%;max-width:none}
 #backupInboxSection .sr-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px}
 #backupInboxCount,#backupInboxSection .backup-page-size{grid-column:1/-1;margin:0}
 #backupInboxSection .backup-page-size{justify-content:space-between}
 #backupInboxSection #backupInboxPageSize{width:90px;font-size:16px}
 #backupInboxSection #backupInboxPrev,#backupInboxSection #backupInboxNext{width:100%;min-width:0;min-height:44px;font-size:12px;padding:9px}
}
@media(max-width:420px){#backupInboxSection .backup-toolbar{grid-template-columns:minmax(0,1fr)}#backupInboxSection .backup-range-fields{grid-template-columns:minmax(0,1fr)}#backupInboxSection .backup-range-fields label,#backupInboxSection .backup-range-fields button{grid-column:1/-1}}
