.ops-monthly-base .ops-monthly-controls{display:flex;gap:18px;align-items:end;flex-wrap:wrap;padding:18px}.ops-monthly-base label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#786858}.ops-monthly-base select{min-width:180px}.ops-monthly-base input{width:100%;min-width:120px}.ops-monthly-base .ops-monthly-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0 18px 18px}.ops-monthly-base .ops-monthly-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0 18px 20px}.ops-monthly-base .ops-monthly-save{display:flex;justify-content:flex-end;padding:18px;border-top:1px solid #eadfce}.ops-monthly-base [role=alert]{color:#a43d2c}.ops-monthly-base [role=status]{color:#557550}@media(max-width:800px){.ops-monthly-base .ops-monthly-fields{grid-template-columns:1fr 1fr}}


/* Same bounded, separately painted grid as the finance monthly sheet. */
.ops-monthly-base .ops-monthly-scroll{width:100%;max-height:72vh;overflow:scroll;scrollbar-gutter:stable;background:#fffdfa}
.ops-monthly-scroll::-webkit-scrollbar{-webkit-appearance:none;width:12px;height:0;display:block}
.ops-monthly-scroll::-webkit-scrollbar-track{background:#ede9e2;border-radius:6px}
.ops-monthly-scroll::-webkit-scrollbar-thumb{background:#8b8178;border:2px solid #ede9e2;border-radius:6px;min-height:30px}
.ops-monthly-scroll::-webkit-scrollbar-corner{background:#ede9e2}
@supports not selector(::-webkit-scrollbar){.ops-monthly-base .ops-monthly-scroll{scrollbar-width:auto;scrollbar-color:#8b8178 #ede9e2}}
.ops-monthly-base .ops-monthly-entry-table{--ops-platform-width:64px;--ops-shop-width:140px;--ops-group-height:46px;border-collapse:separate;border-spacing:0}
.ops-monthly-base .ops-monthly-entry-table th,.ops-monthly-base .ops-monthly-entry-table td{border:0;border-right:1px solid #e8d9cb;border-bottom:1px solid #e8d9cb;box-sizing:border-box;background:#fffdfa}
.ops-monthly-base .ops-monthly-entry-table thead th{position:sticky;top:0;z-index:2;background:#f2ece3}
.ops-monthly-base .ops-monthly-entry-table thead tr:first-child th{height:var(--ops-group-height)}
.ops-monthly-base .ops-monthly-entry-table thead tr:nth-child(2) th{top:var(--ops-group-height)}
.ops-monthly-base .ops-monthly-entry-table thead tr:first-child>th:nth-child(1),.ops-monthly-base .ops-monthly-entry-table tbody tr>td:nth-child(1):not([colspan]){position:sticky;left:0;width:var(--ops-platform-width);min-width:var(--ops-platform-width);max-width:var(--ops-platform-width);z-index:3;background:#fffdfa;box-shadow:none}
.ops-monthly-base .ops-monthly-entry-table thead tr:first-child>th:nth-child(2),.ops-monthly-base .ops-monthly-entry-table tbody tr>td:nth-child(2):not([colspan]){position:sticky;left:var(--ops-platform-width);width:var(--ops-shop-width);min-width:var(--ops-shop-width);max-width:var(--ops-shop-width);z-index:3;background:#fffdfa;box-shadow:none}
.ops-monthly-base .ops-monthly-entry-table thead tr:first-child>th:nth-child(-n+2){z-index:5;background:#f2ece3}
.ops-monthly-base .ops-monthly-entry-table thead tr:first-child>th:last-child{z-index:4;box-shadow:inset 1px 0 #e8d9cb}
.ops-monthly-base .ops-monthly-entry-table tbody tr>td:last-child:not([colspan]){z-index:2;box-shadow:inset 1px 0 #e8d9cb}
.ops-monthly-scroll:focus-visible{outline:2px solid #a78265;outline-offset:-2px}

.ops-monthly-grid{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.ops-monthly-grid .ops-monthly-scroll{order:0}
.ops-monthly-rail-wrap{order:1;flex:none;display:flex;align-items:center;padding:3px 10px;background:#fffdfa;border-top:1px solid #e8d9cb}
.ops-monthly-base input[type=range].ops-monthly-horizontal-rail{appearance:none;-webkit-appearance:none;display:block;width:100%;height:16px;min-height:16px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:ew-resize}
.ops-monthly-horizontal-rail::-webkit-slider-runnable-track{height:10px;background:#ede9e2;border-radius:6px}
.ops-monthly-horizontal-rail::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:var(--ops-rail-thumb,96px);height:10px;border:0;border-radius:6px;background:#8b8178;box-shadow:none}
.ops-monthly-horizontal-rail::-moz-range-track{height:10px;background:#ede9e2;border-radius:6px}
.ops-monthly-horizontal-rail::-moz-range-thumb{width:var(--ops-rail-thumb,96px);height:10px;border:0;border-radius:6px;background:#8b8178;box-shadow:none}
.ops-monthly-horizontal-rail:disabled{opacity:.45;cursor:default}
