/* Separate sticky pagination from the ledger and keep controls on one baseline. */
.os-workspace .cb-ledger-page #cb-pager-slot{top:12px;padding-bottom:14px;background:transparent}
.os-workspace .cb-ledger-page .os-entry-bar{margin:12px 0 0;border:1px solid #73b3ef30;border-radius:18px;padding:16px 20px;box-shadow:0 8px 24px #0002;flex-wrap:wrap}
.os-workspace .cashbook-ledger{border-radius:16px;clear:both}
.os-workspace .os-entry-controls{flex-wrap:wrap;gap:12px;align-items:center}
.os-workspace .os-entry-controls label{margin:0;align-items:center}
.os-workspace .os-entry-controls .mini,.os-workspace .os-entry-controls select{height:42px;min-height:42px;box-sizing:border-box}
#os-fullscreen{width:42px;height:42px;min-width:42px;font-size:25px;line-height:1;padding:6px;border-radius:12px}
.maiylon-report-dialog{width:min(700px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid #7ea9de40;border-radius:26px;background:linear-gradient(140deg,#142540f5,#0b1529fa);backdrop-filter:blur(30px);box-shadow:0 30px 90px #0007;color:#e5edf9}
.maiylon-report-dialog header{display:flex;align-items:center;gap:18px}.maiylon-report-dialog header img{width:115px;height:auto}.maiylon-report-dialog h2{font-size:21px;margin:0 0 8px}.maiylon-report-dialog p{font-size:12px;color:#a8bad4}.maiylon-report-dialog header>button{margin-left:auto;align-self:flex-start}.report-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px}.report-card-grid>div{padding:18px 14px;border-radius:16px;border:1px solid #7dace532;background:#568ad610;display:grid;gap:10px}.report-card-grid span{font-size:10px;letter-spacing:.7px;color:#b2c5df}.report-card-grid strong{font-size:18px;overflow-wrap:anywhere}.report-card-grid [data-tone=green]{background:#38d9a014;color:#78e9bb;border-color:#38d9a030}.report-card-grid [data-tone=red]{background:#f5718612;color:#ff9ca9;border-color:#f5718630}.maiylon-report-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}.maiylon-report-dialog footer button{min-width:150px;height:46px;border-radius:13px}.report-status{min-height:18px;margin-bottom:0}.report-scope{overflow-wrap:anywhere}
@media(max-width:800px){.os-workspace .cb-ledger-page #cb-pager-slot{top:78px}.os-workspace .os-entry-controls{justify-content:space-between}}
@media(max-width:540px){.maiylon-report-dialog{padding:20px}.maiylon-report-dialog header img{width:82px}.report-card-grid{grid-template-columns:1fr}.report-card-grid>div{display:flex;align-items:center;justify-content:space-between}.maiylon-report-dialog footer button{min-width:0;flex:1}.maiylon-report-dialog h2{font-size:18px}}
.os-workspace .os-frozen-table{max-height:72dvh;overflow:auto;isolation:isolate;scrollbar-width:thin;scrollbar-color:#688bb355 #0d192c}
.os-workspace .os-frozen-table table{border-collapse:separate;border-spacing:0}
.os-workspace .os-frozen-table thead th{position:sticky;top:0;z-index:5;background:#172b46!important;box-shadow:0 1px 0 #799ac03b;padding-top:18px;padding-bottom:18px}
.maiylon-report-dialog{width:min(1200px,calc(100vw - 40px));padding:26px 30px}
.maiylon-report-dialog>header>img{display:none}.maiylon-report-dialog>header{padding-bottom:18px;border-bottom:1px solid #92b5e224}
.report-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.report-tabs button{min-height:44px;padding:12px 18px!important}.report-tabs [aria-pressed=true]{background:#19bcdb24!important;border-color:#20cde55e!important;color:#a6f1ff!important}
.report-paper{margin-top:22px;background:white;color:#1b2e49;padding:28px;border-radius:20px}.report-paper header{padding-bottom:22px;border-bottom:2px solid #315dd3}.report-paper header img{width:165px}.report-paper h2{color:#1c3969;font-size:26px}.report-paper p{color:#61738d}.report-paper .report-card-grid>div{background:#f0f4fa;border:0;color:#19304d}.report-paper .report-card-grid span{color:#61738d}.report-paper [data-tone=green] strong{color:#087a47}.report-paper [data-tone=red] strong{color:#c52d48}.report-paper .report-preview-table{overflow:auto;max-height:340px;border-radius:10px;border:1px solid #dce4ef}.report-paper table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0;font-size:12px}.report-paper th,.report-paper td{padding:12px;text-align:left;white-space:pre-line;vertical-align:top;border-bottom:1px solid #e2e8f1;color:#203553;background:white}.report-paper th{position:sticky;top:0;background:#e8eef9;color:#264f91;z-index:1}.report-paper tbody tr:nth-child(even) td{background:#f7f9fc}.report-paper tfoot td{background:#e8eef9;font-weight:700}.report-paper .report-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.maiylon-report-dialog>footer{position:sticky;bottom:-26px;background:#101d32;padding:18px 0 10px}
@media(max-width:540px){.maiylon-report-dialog{padding:18px}.report-paper{padding:16px}.report-paper header{align-items:flex-start;flex-direction:column;gap:12px}.report-paper header img{width:130px}.report-tabs{gap:6px}.report-tabs button{flex:1;font-size:11px;padding:8px!important}.report-paper h2{font-size:22px}}

.modal #dayform #dayexpense.btn{background:linear-gradient(135deg,#e84c6440,#9d274230)!important;color:#ffadba!important;border:1px solid #f4778c66!important;box-shadow:inset 0 1px 0 #ffffff14,0 5px 18px #c12d4514;backdrop-filter:blur(16px)}
.modal #dayform #dayexpense.btn:hover{background:linear-gradient(135deg,#e84c6460,#9d274250)!important;border-color:#ff9aad99!important;box-shadow:0 6px 20px #c12d4528}
