/* Sepid Sazeh v276 — responsive standalone Treasury cheque ledger */
.check276-page{display:grid;gap:14px;direction:rtl}.check276-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.check276-summary>div,.check276-panel{border:1px solid rgba(88,150,173,.24);border-radius:16px}.check276-summary>div{padding:16px;background:rgba(18,64,79,.26);display:grid;gap:8px}.check276-summary span{font-size:12px;opacity:.76}.check276-summary strong{font-size:22px}.check276-tabs{display:flex;flex-wrap:wrap;gap:7px}.check276-tabs button{border:1px solid rgba(99,152,171,.26);border-radius:10px;padding:10px 14px;cursor:pointer;background:rgba(15,51,70,.5);color:inherit;font:inherit}.check276-tabs button.active{background:#08756b;color:white;border-color:#17b49f}.check276-panel{padding:18px}.check276-panel h3{margin:0 0 15px}.check276-inline{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-bottom:12px}.check276-inline>input{flex:2;min-width:200px}.check276-inline>select{flex:1;min-width:130px}.check276-inline label{min-width:150px;display:grid;gap:6px}.check276-hint{color:var(--muted,#91a5b4);font-size:12px;line-height:1.7}.check276-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:150px}.check276-table td{white-space:normal}.check276-table th{white-space:nowrap}.check276-table .num{white-space:nowrap}.check276-pill{display:inline-block;border:1px solid rgba(48,184,158,.35);border-radius:12px;padding:4px 8px;font-size:11px}.check276-free-grid,.check276-book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:10px}.check276-leaf,.check276-book{padding:13px;border:1px solid rgba(90,151,180,.25);border-radius:12px;background:rgba(33,86,104,.13);display:grid;gap:8px}.check276-leaf small,.check276-book span{font-size:12px;opacity:.8}.check276-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.check276-form>label{display:grid;gap:7px;font-size:13px}.check276-form>.span-2{grid-column:1/-1}.check276-switch{display:flex!important;align-items:center;flex-direction:row;gap:8px!important}.check276-switch input{width:18px;height:18px}.check276-picker{display:grid;gap:12px}.check276-picker #check276PickerRows{max-height:350px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.check276-picker-item{text-align:right;white-space:normal}.check276-picker-item[hidden]{display:none}.check276-paper-mini{width:min(100%,680px);aspect-ratio:2/1;position:relative;background:#eee5f6;color:#60457a;border-radius:8px;outline:1px solid #ad94c8;overflow:hidden;margin:14px auto}.check276-paper-mini>span{position:absolute;white-space:nowrap}.check276-template-form{display:grid;gap:12px}.check276-template-form fieldset{border:1px solid rgba(87,153,176,.25);border-radius:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}.check276-template-form legend{padding:0 8px}.check276-template-form label{display:grid;gap:5px;font-size:12px}.check276-history p{border-bottom:1px solid #71849144;padding:9px}.check276-history small{display:block;opacity:.7}.treasury-cheque-field .btn{margin-top:6px}
@media(max-width:720px){.check276-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.check276-form{grid-template-columns:1fr}.check276-picker #check276PickerRows{grid-template-columns:1fr}.check276-panel{padding:12px}.check276-inline>input,.check276-inline>select,.check276-inline label{flex:auto;width:100%;min-width:0}.check276-template-form fieldset{grid-template-columns:1fr 1fr}.check276-tabs button{flex:1 1 45%}}

/* v278: data-grid search, sort, bank filtering and seven-day dashboard */
.check278-tools{align-items:end}.check278-tools label{min-width:145px!important}.check278-tools input[type=search]{min-width:220px}.check278-scroller{overflow:auto;max-width:100%}.check278-table{min-width:1020px}.check278-table th{vertical-align:top;white-space:nowrap}.check278-sort{display:flex;gap:6px;align-items:center;justify-content:flex-start;width:100%;font:inherit;color:inherit;background:none;border:0;text-align:right;cursor:pointer;padding:5px 2px}.check278-sort:hover{color:#22c8b5}.check278-head-search th{padding:4px}.check278-head-search .input{width:100%;min-width:82px;max-width:170px;font-size:11px;padding:6px 8px}.check278-head-search .input:focus{outline:1px solid #16b8a6}.check278-danger{color:#ff9e9e!important;border-color:rgba(250,125,125,.4)!important}.check278-sync{display:block;font-size:10px;color:#ecc280;white-space:normal}.check278-form-actions{display:flex;justify-content:flex-start}.check278-upcoming{margin:18px 0;padding:18px;border:1px solid rgba(80,170,160,.3);border-radius:16px}.check278-upcoming-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}.check278-upcoming h3{margin:0;font-size:16px}.check278-upcoming table{width:100%;border-collapse:collapse}.check278-upcoming th,.check278-upcoming td{padding:8px 10px;border-bottom:1px solid rgba(100,140,155,.2);text-align:right}.check278-upcoming th{font-size:12px;color:#80c7c3}
@media(max-width:720px){.check278-tools input[type=search],.check278-tools label,.check278-tools .btn{width:100%;min-width:0}.check278-upcoming{padding:12px}.check278-upcoming .table-wrap{overflow:auto}.check278-upcoming table{min-width:680px}}

.check278-audit{display:grid;gap:10px}.check278-audit article{border:1px solid rgba(112,151,166,.25);border-radius:10px;padding:12px;display:grid;gap:8px}.check278-audit small{color:#8eaeb9}.check278-audit pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8}

/* v279: compact checkbook master/detail and maturity report */
.check279-add{white-space:nowrap;min-height:38px}
.check279-books-list{display:grid;gap:8px;margin:14px 0}
.check279-book-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid rgba(94,153,176,.27);border-radius:11px;background:rgba(18,57,78,.22)}
.check279-book-item.selected{border-color:#18b69e;background:rgba(13,100,91,.21)}
.check279-book-item>div{display:grid;gap:4px}.check279-book-item strong{font-size:14px}.check279-book-item small{font-size:12px;opacity:.75}
.check279-book-detail{margin-top:16px;padding:14px;border:1px solid rgba(79,167,166,.27);border-radius:12px;background:rgba(9,40,56,.22)}
.check279-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.check279-head h3{margin:0 0 4px}
.check279-book-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}.check279-book-tools label{display:grid;gap:5px;min-width:175px}.check279-book-tools small{opacity:.75;margin-right:auto}
.check279-leaves-table,.check279-maturities{min-width:860px}.check279-leaves-table td,.check279-maturities td{vertical-align:middle}.check279-state-free{border-color:rgba(38,202,153,.5);color:#80e8c5}.check279-state-void{border-color:rgba(247,165,100,.5);color:#ffd0a6}
.check279-report-filters{padding:10px 0}.check279-report-filters label{min-width:170px}.check279-monthly-report{border-top:1px solid rgba(108,155,165,.22);padding-top:12px;margin-top:20px}.check279-monthly-report summary{cursor:pointer;font-size:13px;padding:6px}.check279-monthly-report .check276-inline{padding:13px}
@media(max-width:720px){.check279-book-item{padding:10px;flex-wrap:wrap}.check279-book-item button{width:100%}.check279-book-tools label{width:100%}.check279-head .btn{width:auto}}

/* 1.13.280 — in-cell column search and payment-style icon actions */
.check280-toolbar{gap:10px;align-items:center}.check280-toolbar-spacer{flex:1}.check280-grid-title{display:flex;justify-content:space-between;align-items:center;margin:8px 0;font-size:12px;color:var(--muted,#95afba)}
.check280-th{min-width:118px;position:relative;vertical-align:middle!important;background:inherit}.check280-th-head{display:flex;align-items:center;gap:3px;width:100%;min-height:32px}.check280-search-trigger{flex:1;min-width:0;border:0;background:transparent;color:inherit;font:inherit;text-align:right;cursor:text;padding:6px;display:flex;align-items:center;gap:7px}.check280-search-trigger:hover,.check280-search-trigger:focus-visible{color:#57e6d0}.check280-sort{border:1px solid transparent;display:grid;place-items:center;min-width:30px;min-height:29px;border-radius:6px;cursor:pointer;background:transparent;color:#75c9bc;font-size:14px}.check280-sort:hover,.check280-sort:focus-visible{border-color:rgba(51,214,183,.6);background:rgba(35,189,157,.15)}.check280-sort .ui-icon{width:15px;height:15px}.check280-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#1dd8aa;flex:none}.check280-filtered{box-shadow:inset 0 -2px 0 #1bd9a9}.check280-inline-editor[hidden]{display:none!important}.check280-th.is-open{background:color-mix(in srgb,var(--primary,#0f655e) 22%,#0f2636);border-color:rgba(40,221,193,.5)}.check280-th.is-open .check280-search-trigger{display:none}.check280-inline-editor{display:flex;align-items:center;gap:3px;padding:3px 1px;min-width:0;background:transparent}.check280-inline-editor input{flex:1;min-width:74px;max-width:220px;background:rgba(13,45,58,.65)!important;color:inherit;border:1px solid #1fa994!important;border-radius:6px;padding:6px 7px!important;font-size:12px}.check280-clear{display:grid;place-items:center;border:0;background:none;color:#a2bdc6;cursor:pointer;width:26px;height:30px;padding:0}.check280-actions{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;justify-content:flex-start}.check280-action{display:grid!important;place-items:center!important;width:32px;min-width:32px;height:32px;padding:0!important;border-radius:8px!important;line-height:1;transition:background .15s,transform .15s}.check280-action:hover{transform:translateY(-1px);background:rgba(31,190,168,.16)}.check280-action-danger:hover{color:#ff8d91!important;border-color:#eb7376!important}.check280-actions-th{min-width:190px;text-align:center}.check280-ledger{min-width:1080px}.check280-ledger td{white-space:nowrap!important;vertical-align:middle}.check280-ledger .check276-actions{min-width:0}.check280-excel-actions{flex:none}.check280-excel-btn{padding:0!important;border:0!important}.check280-template{white-space:nowrap;align-self:center}.check280-import-preview{display:grid;gap:10px;max-height:60vh;overflow:auto}.check280-import-preview table{min-width:740px}.check280-import-error{color:#ffa2a8}.check280-import-preview .btn-primary{justify-self:start}.check280-leaves-table td{vertical-align:middle}
@media(max-width:760px){.check280-toolbar{align-items:stretch}.check280-toolbar-spacer{display:none}.check280-excel-actions{justify-content:flex-start}.check280-actions{gap:2px}.check280-action{width:29px;min-width:29px;height:29px}.check280-th{min-width:115px}.check280-actions-th{min-width:190px}}
@media(prefers-reduced-motion:reduce){.check280-action{transition:none!important}}
/* v280 visual polish: outlined compact actions and contained mobile data table */
.check280-action.btn{background:rgba(11,43,61,.65)!important;border:1px solid rgba(92,154,172,.4)!important;color:#bfdae5!important;box-shadow:none!important}
.check280-action.btn:hover{background:rgba(24,120,112,.28)!important;border-color:#18bfa6!important;color:#efffff!important}
.check280-action-danger.btn:hover{background:rgba(154,58,64,.22)!important;border-color:#ef7f87!important;color:#ffc4c9!important}
.check280-actions-th{background:rgba(24,56,73,.17)}
.check280-grid-title .btn{background:transparent;border-color:rgba(89,160,175,.35)}
.check280-ledger .check280-th{color:#bdd7df}
.check276-page,#check276Content,.check276-panel,.check278-scroller{min-width:0;max-width:100%;box-sizing:border-box}
.check278-scroller{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
@media(max-width:760px){.check276-page{overflow-x:clip}.check276-panel{overflow-x:hidden}.check278-scroller{overflow-x:auto;max-width:100%;}.check280-toolbar .check279-add{width:100%;min-width:0}.check280-toolbar>input{min-width:0!important;max-width:100%;}}

/* v281: cheque settlement and financial reporting */
.check281-manager,.check281-admin-dashboard{min-width:0;overflow:hidden}.check281-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.check281-title label{display:grid;gap:5px;min-width:125px;font-size:12px}.check281-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.check281-kpis button{display:flex;flex-direction:column;align-items:stretch;text-align:right;gap:7px;background:linear-gradient(130deg,rgba(14,78,98,.30),rgba(18,94,89,.12));border:1px solid rgba(88,181,180,.30);color:inherit;border-radius:13px;padding:18px;cursor:pointer}.check281-kpis button:hover{border-color:#32c4ad;background:rgba(27,114,106,.25)}.check281-kpis strong{font-size:clamp(17px,2vw,26px);font-variant-numeric:tabular-nums;color:#d4fff4}.check281-kpis small{font-size:11px;opacity:.78}.check281-plot{margin-top:22px;border-top:1px solid rgba(112,175,184,.20);padding-top:18px}.check281-chart-legend{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:12px 0;color:var(--text-muted,#9bbdc3);font-size:12px}.check281-dot{width:10px;height:10px;display:inline-block;border-radius:3px;margin-left:5px}.check281-dot.issued,.check281-bar.issued{background:linear-gradient(0deg,#2d8eee,#6fcaff)}.check281-dot.passed,.check281-bar.passed{background:linear-gradient(0deg,#00a995,#7ce7ca)}.check281-chart-scroll{width:100%;overflow-x:auto;scrollbar-width:thin}.check281-chart{height:220px;display:flex;gap:8px;align-items:flex-end;padding:8px 10px 0;border-bottom:1px solid rgba(100,170,170,.28);min-width:690px}.check281-monthcol{height:210px;min-width:45px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;cursor:help}.check281-monthcol>small{font-size:10px;color:#b9d7e5}.check281-monthcol>strong{font-size:10px;color:#b4cbd4;font-weight:500;white-space:nowrap}.check281-bars{height:165px;display:flex;align-items:flex-end;justify-content:center;gap:3px;width:100%}.check281-bar{display:block;width:37%;max-width:18px;min-width:6px;border-radius:5px 5px 0 0;transition:height .3s ease;box-shadow:0 0 11px rgba(46,161,205,.15)}.check281-monthcol:hover .check281-bar{filter:brightness(1.32)}.check281-dashboard-chart{padding-top:6px}.check281-admin-dashboard .check281-chart{height:170px}.check281-admin-dashboard .check281-monthcol{height:165px}.check281-admin-dashboard .check281-bars{height:118px}.check281-admin-dashboard .check281-bar{transform:scaleY(.70);transform-origin:bottom}.check281-admin-dashboard{margin-bottom:16px}.check281-admin-dashboard .btn{margin-top:6px}
@media(max-width:700px){.check281-kpis{grid-template-columns:1fr}.check281-title label{width:100%}.check281-chart-legend{gap:12px}.check281-kpis button{padding:13px}}

.check279-add .ui-icon{width:18px;height:18px;vertical-align:middle}.check279-add{min-width:42px;max-width:46px;min-height:38px;display:inline-flex;align-items:center;justify-content:center}

/* v283: full-page cheque leaf dossier, separate from the checkbook list */
.check283-detail-page{max-width:100%;min-width:0;direction:rtl;display:block}
.check283-detail-page .check276-panel{border:1px solid rgba(52,185,166,.33);border-radius:16px;background:linear-gradient(135deg,rgba(16,83,94,.10),rgba(16,38,65,.08));padding:20px}
.check283-detail-page .check279-head{border-bottom:1px solid rgba(100,160,176,.20);padding-bottom:14px}
.check283-detail-page .check279-head h3{font-size:18px}
.check283-detail-page .check279-book-tools{padding:8px 0}
.check283-detail-page .check278-scroller{border:1px solid rgba(110,166,177,.19);border-radius:11px}
.check283-detail-page .check279-leaves-table{width:100%;min-width:860px}
.check283-report-state{padding:16px;border:1px dashed rgba(92,166,180,.35);border-radius:12px;display:grid;gap:10px;justify-items:start}
.check283-report-error{color:#f4a8a8;margin:0;line-height:1.8}
.check283-dossier{max-height:68vh;overflow:auto;display:grid;gap:11px}
.check283-dossier-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;border:1px solid rgba(69,170,159,.3);background:rgba(23,116,106,.11);padding:13px;border-radius:12px}
.check283-dossier-summary strong{grid-column:1/-1;font-size:15px}
.check283-dossier-summary span{font-size:12px}
.check283-dossier-event{padding:12px;border:1px solid rgba(94,156,174,.24);border-radius:11px;display:grid;gap:7px}
.check283-dossier-event small{font-size:11px;opacity:.72}
.check283-dossier-event pre{font-size:11px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:left;margin:0}
@media(max-width:720px){.check283-detail-page .check276-panel{padding:12px}.check283-detail-page .check279-head{align-items:stretch}.check283-dossier-summary{grid-template-columns:1fr}}

/* v287 - readable full-width management monthly breakdown and drill-down */
#modalHost .check287-modal{width:min(1180px,calc(100vw - 36px));max-width:1180px;max-height:92vh;overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(68,197,180,.36);box-shadow:0 25px 80px rgba(0,0,0,.45)}
#modalHost .check287-modal .modal-head{flex:none;padding:18px 22px;font-size:17px}
#modalHost .check287-modal .modal-body{min-height:0;flex:1;overflow-y:auto;padding:22px}
#modalHost .check287-modal .modal-foot{flex:none;padding:14px 22px}
.check287-view{display:grid;gap:18px;min-width:0;direction:rtl;font-size:14px;color:inherit}
.check287-view h3{font-size:20px;line-height:1.5;margin:0;color:inherit}.check287-view p{color:var(--muted,#a5c3cc);font-size:13px;line-height:1.8;margin:5px 0}
.check287-intro,.check287-detail-head{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.check287-totals{display:flex;gap:12px;flex-wrap:wrap}.check287-totals>div{min-width:170px;background:rgba(20,106,103,.22);border:1px solid rgba(40,190,164,.30);border-radius:12px;padding:12px 18px;display:grid;gap:6px}.check287-totals small{font-size:12px;color:#a2cecd}.check287-totals strong{font-size:23px;color:#dcfff5;font-variant-numeric:tabular-nums}.check287-totals strong small{font-size:12px}
.check287-tablewrap{overflow:auto;max-height:min(58vh,640px);border:1px solid rgba(93,161,181,.32);border-radius:12px;scrollbar-width:thin}.check287-table{width:100%;border-collapse:collapse;min-width:680px;text-align:right;line-height:1.65;font-size:14px}.check287-table th,.check287-table td{padding:13px 16px;vertical-align:middle;border-bottom:1px solid rgba(103,165,182,.15);white-space:nowrap}.check287-table thead th{background:#154355;color:#def9fa;position:sticky;top:0;z-index:2;font-size:13px}.check287-table tbody tr:nth-child(even){background:rgba(57,115,136,.08)}.check287-table tbody tr:hover{background:rgba(28,171,148,.10)}.check287-table tfoot th{background:rgba(16,111,102,.25);color:#cefff0;font-weight:700}.check287-table .check287-num{text-align:center;font-size:15px}.check287-money{font-weight:650;font-variant-numeric:tabular-nums}.check287-month-link{border:0;color:#8ff2d5;background:transparent;cursor:pointer;text-align:right;font:inherit;font-weight:750;padding:4px}.check287-month-link:hover{text-decoration:underline;color:#e2fff5}.check287-month-link span{opacity:.7;margin-right:8px}.check287-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.check287-toolbar .btn{display:inline-flex;align-items:center;gap:7px;min-height:39px}.check287-detail-totals{justify-content:flex-start}.check287-detail-table{min-width:880px}.check287-note{border-top:1px solid rgba(115,169,180,.17);padding-top:12px}.check287-error{color:#ffb6b6}
@media(max-width:720px){#modalHost .check287-modal{width:100%!important;max-width:100%!important;max-height:94dvh!important}#modalHost .check287-modal .modal-head{padding:12px 15px;font-size:14px}#modalHost .check287-modal .modal-body{padding:13px}.check287-view{font-size:13px;gap:12px}.check287-view h3{font-size:17px}.check287-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px}.check287-totals>div{min-width:0;padding:12px}.check287-totals strong{font-size:17px;overflow-wrap:anywhere}.check287-toolbar{width:100%}.check287-toolbar button{flex:1;justify-content:center}.check287-table th,.check287-table td{padding:10px 12px}.check287-tablewrap{max-height:54dvh}}
/* v287 contrast isolation: avoid low-contrast inherited light modal palette in dark Treasury UI */
#modalHost .check287-modal{background:#0b2233!important;color:#e8f2f5!important}
#modalHost .check287-modal .modal-head,#modalHost .check287-modal .modal-foot{background:#102c3d!important;border-color:rgba(111,166,184,.28)!important;color:#e8f2f5!important}
#modalHost .check287-modal .modal-head strong{color:#f0fbfd!important;font-size:17px!important}
#modalHost .check287-modal .modal-body{background:#0b2233!important;color:#e8f2f5!important}
#modalHost .check287-modal .btn:not(.btn-primary){background:#173449!important;color:#dceef5!important;border-color:#416577!important}
#modalHost .check287-modal .btn:not(.btn-primary):hover{background:#25516a!important;color:#fff!important}
#modalHost .check287-modal .btn-primary{background:#087f75!important;color:#fff!important;border:1px solid #1bbaa6!important}
#modalHost .check287-modal .check287-tablewrap{background:#0c293b!important;color:#e6f2f5!important}
#modalHost .check287-modal .check287-table tbody td{background:transparent!important;color:#dcecf2!important}
#modalHost .check287-modal .check287-table tbody tr:nth-child(odd){background:#102d40!important}
#modalHost .check287-modal .check287-table tbody tr:nth-child(even){background:#17374a!important}
#modalHost .check287-modal .check287-table tbody tr:hover{background:#214f54!important}
#modalHost .check287-modal .check287-table tfoot th{background:#13524d!important;color:#ecfff8!important}
#modalHost .check287-modal .check287-totals>div{background:#123c41!important;border-color:#237d76!important}
#modalHost .check287-modal .check287-totals strong{color:#f0fff9!important}
#modalHost .check287-modal .check287-totals small{color:#a9dbd7!important}
#modalHost .check287-modal .check287-month-link{color:#6ee7cb!important}
#modalHost .check287-modal .check287-view h3{color:#f2fbfc!important}
#modalHost .check287-modal .check287-view p{color:#a9c9d2!important}

/* v288 - unified fiscal-year chart controls on management and dashboard. */
.check288-year-control{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap;color:#b6d8df;font-size:12px;font-weight:650;white-space:nowrap}
.check288-year-control .select{min-width:116px;width:auto;min-height:38px;padding:6px 12px;border-radius:10px;border:1px solid rgba(64,186,170,.42);background:#102d3e;color:#ecfaf9;font-weight:700;direction:rtl;font-variant-numeric:tabular-nums;cursor:pointer}
.check288-year-control .select:focus-visible{outline:2px solid #50dfc7;outline-offset:2px}
.check288-year-control option{background:#102d3e;color:#ecfaf9}
.check288-chart-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.check288-chart-head h4{margin:0;font-size:15px;color:inherit}
.check281-title .check288-year-control{margin-inline-start:auto}
@media(max-width:700px){.check288-chart-head{align-items:stretch}.check288-year-control{width:100%;justify-content:space-between}.check288-year-control .select{min-width:132px}.check281-title .check288-year-control{margin-inline-start:0}}

/* v290 checkbook actions */
.check290-book-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.check290-delete-book{display:inline-flex;align-items:center;gap:6px;color:#ffb6b6;border-color:rgba(222,112,112,.35)}
.check290-delete-book:disabled{opacity:.4;cursor:not-allowed}
.check290-delete-book .ui-icon{width:15px;height:15px}
@media(max-width:640px){.check290-book-actions{width:100%;justify-content:flex-start}}

/* v291 - compact responsive checkbooks and incoming-cheque management */
.check291-books-panel{padding:16px!important}
.check291-section-title{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}
.check291-section-title h3{margin:0;font-size:16px}
.check291-count{display:inline-grid;place-items:center;min-width:29px;height:28px;padding:0 8px;border:1px solid rgba(45,196,176,.32);border-radius:9px;background:rgba(14,105,102,.15);color:#9ee9d9;font-weight:700}
.check279-books-list.check291-books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 0}
.check279-book-item.check291-book-item{min-width:0;min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid rgba(85,145,166,.38);border-radius:13px;background:linear-gradient(145deg,rgba(17,61,79,.72),rgba(12,40,58,.82))}
.check279-book-item.check291-book-item:hover{border-color:rgba(50,211,184,.65);background:rgba(16,69,82,.88)}
.check291-book-item .check291-book-main{display:grid;gap:9px;min-width:0;flex:1}
.check291-book-item .check291-book-main strong{display:block;font-size:13px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text,#e5f4f5)}
.check291-book-stats{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.check291-book-stats span{border:1px solid rgba(84,142,161,.24);border-radius:7px;background:rgba(12,33,50,.44);color:#b9d6df;padding:3px 6px;font-size:10px;white-space:nowrap}
.check291-book-stats .check291-free-count{color:#88e9c9;border-color:rgba(55,189,151,.25)}
.check291-book-item .check291-book-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;width:auto;flex:none}
.check291-book-actions .check291-icon-btn{display:grid!important;place-items:center!important;min-width:35px!important;width:35px!important;height:35px!important;padding:0!important;border:1px solid rgba(94,159,180,.48)!important;border-radius:9px!important;background:rgba(14,46,66,.95)!important;color:#9fdcdd!important}
.check291-book-actions .check291-icon-btn:hover:not(:disabled){color:#e8fff9!important;border-color:#2ed5ac!important;background:rgba(14,125,108,.3)!important}
.check291-book-actions .check291-icon-btn:focus-visible{outline:2px solid #46e7c7;outline-offset:2px}
.check291-book-actions .check291-icon-btn .ui-icon{width:17px;height:17px}
.check291-book-actions .check291-danger{color:#f5a3b1!important}
.check291-book-actions .check291-danger:hover:not(:disabled){color:#ffd0d7!important;border-color:#e46f87!important;background:rgba(152,35,63,.25)!important}
.check291-book-actions .check291-icon-btn:disabled{opacity:.27;cursor:not-allowed}
.check291-received-manager .check281-plot{margin-top:18px}
.check291-received-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.check291-received-kpis button{min-width:0}
@media(max-width:1180px){.check279-books-list.check291-books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.check279-books-list.check291-books-grid{grid-template-columns:1fr}.check279-book-item.check291-book-item{min-height:80px;flex-wrap:nowrap;padding:11px}.check291-book-actions .check291-icon-btn{width:35px!important;min-width:35px!important}.check291-received-kpis{grid-template-columns:1fr}}
/* v291: keep the extra incoming transfer action fully inside the ledger's operations cell. */
.check280-ledger .check280-actions-th,.check280-ledger td:last-child{min-width:254px}
