/* BizCore V272.2 — Finance → Journal, entry view, manual journal, Opening Balances, Account Ledger (mockups JN_1 – JN_5).
   Shares the Chart of Accounts register pieces (css/coa.css: toolbar, table, windows). Journal accent: indigo #3730a3. */
#page-journal .jn-shell,#page-ledger .jn-shell,#page-finreports .jn-shell,#page-expenses .jn-shell,#page-assets .jn-shell,#page-prepaid .jn-shell,#page-receivables .jn-shell{display:flex;flex-direction:column;gap:var(--bc-ui-panel-gap,5px);min-width:0}
#page-journal .coa-strip,#page-ledger .coa-strip,#page-finreports .coa-strip,#page-expenses .coa-strip,#page-assets .coa-strip,#page-prepaid .coa-strip,#page-receivables .coa-strip{margin:var(--bc-ui-panel-gap,5px) 0 0}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-toolbar{display:flex;align-items:center;gap:8px;height:var(--bc-ui-toolbar-height,48px);padding:0 8px;background:#fff;border:1px solid var(--bc-ui-card-border,#e1e7ef);border-radius:10px;min-width:0}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-toolbar>*{flex-shrink:0}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-toolbar>.coa-search{flex-shrink:1}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-sp{flex:1 1 auto}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-count{font-size:13px;color:#64748b;white-space:nowrap}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-ctl,:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-toolbar select{height:34px!important;border:1px solid var(--bc-ui-input-border,#cbd5e1);background:var(--bc-ui-input-background,#f8fafc);border-radius:8px;padding:0 26px 0 10px;font:inherit;font-size:13px!important;color:#334155;max-width:200px}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-search{width:200px;padding-right:10px}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-ico{width:34px;height:34px;border:1px solid var(--bc-ui-input-border,#cbd5e1);background:#fff;border-radius:8px;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:17px}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-ico[disabled]{opacity:.45;cursor:default}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-toolbar>.btn{height:34px;min-height:34px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-seg{display:flex;background:#eef2f7;border-radius:8px;padding:3px;gap:2px}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-seg button{border:0;background:none;padding:0 13px;height:28px;border-radius:6px;font:inherit;font-size:13px;color:#475569;cursor:pointer;white-space:nowrap}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-seg button.on{background:#fff;color:#3730a3;font-weight:500;box-shadow:0 1px 2px rgba(15,23,42,.1)}
#page-journal .bc-split{display:inline-flex;position:relative}
#page-journal .bc-split>.btn{height:34px;min-height:34px;margin:0;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
#page-journal .bc-split-main{border-radius:8px 0 0 8px!important;padding:0 14px!important}
#page-journal .bc-split-caret{border-radius:0 8px 8px 0!important;padding:0!important;width:32px;justify-content:center;border-left:1px solid rgba(255,255,255,.35)!important}
#page-journal .bc-split-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:80;width:310px;background:#fff;border:1px solid #dfe5ec;border-radius:10px;box-shadow:0 12px 30px rgba(15,23,42,.16);padding:6px}
#page-journal .bc-split-menu[hidden]{display:none}
#page-journal .bc-split-menu button{display:flex;flex-direction:column;align-items:flex-start;width:100%;border:0;background:none;text-align:left;padding:9px 11px;border-radius:7px;cursor:pointer;font:inherit;color:#0f172a}
#page-journal .bc-split-menu button:hover:not([disabled]){background:#eef4fb}
#page-journal .bc-split-menu button b{font-size:12.5px;font-weight:600}
#page-journal .bc-split-menu button small{font-size:11.5px;color:#64748b}
#page-journal .bc-split-menu button[disabled]{opacity:.45;cursor:default}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-tbl{background:#fff;border:1px solid var(--bc-ui-card-border,#e1e7ef);border-radius:10px;overflow:auto;max-height:calc(100vh - 56px - 112px - 48px - 40px)}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-tbl table{width:100%;border-collapse:separate;border-spacing:0}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-tbl th{position:sticky;top:0;z-index:2;height:39px;background:var(--blue-pale,#ebf3fb);font-size:12px;font-weight:500;color:#475569;text-align:left;padding:0 12px;white-space:nowrap;border-bottom:1px solid #e9eef4}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-tbl td{font-size:14px;color:#111827;padding:6px 12px;height:38px;border-bottom:1px solid #e9eef4}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .num{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-none{padding:40px;text-align:center;color:#64748b}
#page-journal .jn-r{cursor:pointer}
#page-journal .jn-r:hover td{background:#f8fbff}
#page-journal .jn-r.draft td{background:#fffbeb}
.jn-no{white-space:nowrap;color:var(--blue-mid,#2e75b6);font-weight:500}
.jn-no a{color:inherit;text-decoration:none}
.jn-narr{max-width:420px}
.jn-job{font-size:12px;color:var(--blue-mid,#2e75b6)}
.jn-sub{font-size:12px;color:#64748b}
.jn-src{display:inline-block;font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:6px;white-space:nowrap}
.jn-src.s-man{background:#e0e7ff;color:#3730a3}.jn-src.s-rev{background:#fee2e2;color:#991b1b}.jn-src.s-ob{background:#fef3c7;color:#92400e}.jn-src.s-auto{background:#ccfbf1;color:#0f766e}
.pill.jn-st{display:inline-block;font-size:12px;font-weight:500;padding:4px 10px;border-radius:999px}
.jn-st.rev{background:#fee2e2;color:#991b1b}.jn-st.rv{background:#ede9fe;color:#5b21b6}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) tr.cls td{background:#f4f7fb;font-weight:600;color:var(--blue,#173a5e)}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) tr.grp td{font-weight:500;color:#334155;background:#fbfcfe}
:is(#page-journal,#page-ledger,.coa-modal) tr.jn-tot td{font-weight:700;border-top:2px solid #cbd5e1;background:#f8fafc}

/* entry view (JN_2) */
.jn-view{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px}
.jn-doc{background:#fff;border:1px solid #e1e7ef;border-radius:10px;padding:22px 24px}
.jn-hdr{display:flex;justify-content:space-between;border-bottom:2px solid #3730a3;padding-bottom:12px;margin-bottom:14px}
.jn-hdr h2{font-size:19px;color:#3730a3;margin:0}
.jn-co{color:#475569;font-size:13px}.jn-meta{text-align:right;font-size:13px;color:#475569;line-height:1.7}.jn-meta b{color:#111827;font-weight:500}
.jn-narration{font-size:13px;color:#475569;margin-bottom:12px}.jn-narration b{color:#111827;font-weight:500}
.jn-lines{width:100%;border-collapse:collapse}
.jn-lines th{background:#eef2ff;font-size:12px;font-weight:500;color:#475569;text-align:left;padding:8px}
.jn-lines td{font-size:13.5px;padding:8px;border-bottom:1px solid #e9eef4;vertical-align:top}
.jn-foot{margin-top:14px;font-size:12px;color:#64748b}
.jn-panel{display:flex;flex-direction:column;gap:12px}
.jn-pc{background:#fff;border:1px solid #e1e7ef;border-radius:10px;padding:13px}
.jn-pc h4{font-size:11.5px;color:#64748b;font-weight:600;margin:0 0 8px;text-transform:uppercase;letter-spacing:.04em}
.jn-kv{display:flex;justify-content:space-between;font-size:13px;padding:3px 0}.jn-kv span:first-child{color:#64748b}
.jn-chips{display:flex;gap:6px;flex-wrap:wrap}
.jn-chip{font:inherit;font-size:12px;border:1px solid #c7d2fe;background:#eef2ff;color:#3730a3;border-radius:999px;padding:4px 10px;cursor:pointer}
.jn-act{font-size:12.5px;color:#334155;padding:2px 0}
.jn-vt{font-variant-numeric:tabular-nums}
.mono{font-variant-numeric:tabular-nums;color:#475569}

/* manual journal (JN_3) */
.jn-ed{display:flex;flex-direction:column;gap:10px}
.jn-bar{display:grid;grid-template-columns:170px 190px 1fr 200px;gap:14px}
.jn-grid table{width:100%;border-collapse:collapse}
.jn-grid th{font-size:12px;font-weight:500;color:#475569;text-align:left;padding:6px;background:var(--blue-pale,#ebf3fb)}
.jn-grid td{padding:5px 4px}
.jn-in{width:100%;height:34px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:7px;padding:0 9px;font:inherit;font-size:13px;color:#111827}
.jn-in.num{text-align:right}
.jn-in.need{border-color:#f59e0b;background:#fffbeb}
.jn-in:focus{outline:none;border-color:var(--blue-mid,#2e75b6);background:#fff;box-shadow:0 0 0 3px rgba(46,117,182,.15)}
.jn-add{margin:8px 4px 0}.jn-hint{margin-left:10px;font-size:12px}
.jn-totals{display:flex;justify-content:flex-end;gap:28px;padding:10px 12px;font-size:14px;border-top:2px solid #e2e8f0}
.jn-totals b{font-variant-numeric:tabular-nums}.jn-totals .ok{color:#16a34a}.jn-totals .bad{color:#b42318}
.jn-actrow{display:flex;gap:12px;align-items:center;margin-bottom:8px}

/* Opening Balances (JN_4) */
.jn-obsum{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:5px}
.jn-obsum div{background:#fff;border:1px solid #e1e7ef;border-radius:10px;padding:12px 14px}
.jn-obsum b{display:block;font-size:20px;color:var(--blue,#173a5e);font-variant-numeric:tabular-nums}
.jn-obsum b.ok{color:#16a34a}.jn-obsum b.bad{color:#b45309}
.jn-obsum span{font-size:12px;color:#64748b}
.jn-ob .jn-in{max-width:150px;height:30px;display:inline-block}
.jn-ob tr.drv td{background:#fbfcfe}
.jn-obadd{display:flex;gap:12px;align-items:center;padding:10px 12px}
#page-journal .coa-warn{display:flex;align-items:center;gap:10px;border-radius:10px;padding:9px 14px;font-size:13px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}
#page-journal .coa-err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:10px;padding:9px 14px;font-size:12.5px}

/* Account Ledger (JN_5) */
.jl-card{background:#fff;border:1px solid #e1e7ef;border-radius:10px;padding:14px 18px;display:flex;gap:28px;align-items:center;margin-top:5px}
.jl-nm{font-size:18px;font-weight:600;color:var(--blue,#173a5e)}
.jl-k b{display:block;font-size:19px;font-variant-numeric:tabular-nums;color:#111827;white-space:nowrap}
.jl-k b small{font-size:11px;color:#64748b}
.jl-k b.dr{color:#15803d}.jl-k b.cr{color:#b42318}
.jl-k span{font-size:12px;color:#64748b}
#page-ledger .jl-acc{max-width:340px!important;min-width:260px}
#page-ledger td.num small{color:#64748b;font-size:11px}
@media (max-width:1320px){ :is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-count{display:none} :is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-search{width:150px} }
@media (max-width:1100px){
  :is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-toolbar{height:auto;flex-wrap:wrap;padding:7px 8px}
  .jn-view{grid-template-columns:1fr}.jn-bar{grid-template-columns:1fr 1fr}
  .jl-card{flex-wrap:wrap;gap:14px}.jn-obsum{grid-template-columns:1fr 1fr}
  #page-journal .bc-split-main span{display:none}
}
@media (max-width:760px){
  :is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-strip .bc5-other{grid-template-columns:repeat(2,minmax(0,1fr))}
  :is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .coa-strip{flex-direction:column}
  #jn-table th:nth-child(5),#jn-table td:nth-child(5),#jn-table th:nth-child(3),#jn-table td:nth-child(3){display:none}
  #jl-table th:nth-child(3),#jl-table td:nth-child(3),#jl-table th:nth-child(5),#jl-table td:nth-child(5){display:none}
  .jn-bar{grid-template-columns:1fr}
}

.jn-ed>*{flex-shrink:0}
.jn-date{white-space:nowrap}
#jn-table .jn-src+.coa-muted{white-space:nowrap}
:is(#page-journal,#page-ledger,#page-finreports,#page-expenses,#page-assets,#page-prepaid,#page-receivables) .bc-date-btn{height:34px;border:1px solid var(--bc-ui-input-border,#cbd5e1)!important;background:var(--bc-ui-input-background,#f8fafc)!important;border-radius:8px;font:inherit;font-size:13px!important;color:#334155!important;padding:0 10px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.jn-lines .num,.jn-lines th.num{text-align:right}
/* V272.3 automatic postings */
.jn-banner{display:flex;align-items:center;gap:10px;background:#fff7ed;border:1px solid #fdba74;color:#9a3412;border-radius:10px;padding:9px 12px;margin:0 0 10px;font-size:13px}
.jn-banner>i{font-size:18px;color:#ea580c}.jn-banner>span{flex:1}.jn-banner .btn{white-space:nowrap}
.jn-banner.run{background:#f0fdfa;border-color:#5eead4;color:#0f766e}.jn-banner.run>i{color:#0d9488;animation:jn-spin 1s linear infinite}
@keyframes jn-spin{to{transform:rotate(360deg)}}
#jn-np-table td{vertical-align:top}
/* V272.4 Purchases Pending */
.jn-pp-sum{display:flex;gap:18px;flex-wrap:wrap;margin:10px 0;font-size:13px;color:#475569}.jn-pp-sum b{color:#0f172a}
.jn-old td:nth-child(2),.jn-pp-sum .jn-old b{color:#b45309;font-weight:600}.jn-unk,.jn-unk b{color:#b91c1c}
.jn-pp-set{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;color:#475569}.jn-pp-set .jn-in{width:80px}
#jn-pp-table .num,#jn-pp-table th:nth-child(7),#jn-pp-table th:nth-child(9){text-align:right}
/* V272.5 type-to-search pickers in Finance */
#page-ledger #jl-acc-pk{min-width:280px;max-width:360px}
#page-ledger #jl-job-pk{min-width:150px;max-width:190px}
#jn-e-lines .bc-picker{min-width:0;width:100%}
#jn-e-lines td:first-child .bc-picker{min-width:240px}
.bc-picker.bc-pk-need .rct-pick-search,.bc-picker.bc-pk-need .rct-pick-chosen{border-color:#f59e0b!important;background:#fffbeb}
.bc-picker.bc-pk-miss .rct-pick-search{border-color:#fdba74!important;background:#fff7ed}
.bc-picker.bc-pk-bad .rct-pick-search,.bc-picker.bc-pk-bad .rct-pick-chosen{border-color:#ef4444!important}
.rct-pick-opt mark,.bc-lk-table mark{background:#fde68a;color:inherit;padding:0 1px;border-radius:2px}
/* V272.5 Financial Reports */
#page-finreports .fr-toolbar{flex-wrap:nowrap}
#page-finreports .coa-seg{display:flex;background:#eef2f7;border-radius:8px;padding:3px;gap:2px;flex:0 0 auto}
#page-finreports .coa-seg button{border:0;background:none;padding:0 13px;height:28px;border-radius:6px;font:inherit;font-size:13px;color:#475569;cursor:pointer;white-space:nowrap}
#page-finreports .coa-seg button.on{background:#fff;color:var(--blue,#173a5e);font-weight:500;box-shadow:0 1px 2px rgba(15,23,42,.1)}
#page-finreports #fr-job-pk{min-width:150px;max-width:200px}
#page-finreports .fr-zero{white-space:nowrap}
#page-finreports .fr-num{font-size:19px}
.fr-doc{max-width:900px;margin:0 auto}
.fr-hdr{display:flex;justify-content:space-between;align-items:flex-start}
.fr-sar{font-size:11.5px;color:#94a3b8}
.fr-tbl{width:100%;border-collapse:collapse;margin-top:14px;font-size:13px}
.fr-tbl th{background:#eef2ff;text-align:left;padding:8px 10px;font-size:11.5px;text-transform:uppercase;letter-spacing:.03em;color:#3730a3}
.fr-tbl td{padding:6px 10px;border-bottom:1px solid #f1f5f9}
.fr-tbl .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.fr-tbl .mono{color:#64748b;font-variant-numeric:tabular-nums;margin-right:4px}
.fr-tbl .fr-r:not(.grp){cursor:pointer}.fr-tbl .fr-r:not(.grp):hover td{background:#f8fafc}
.fr-tbl .grp td{font-weight:600}
.fr-tbl .d2 .fr-acc{padding-left:26px}.fr-tbl .d3 .fr-acc{padding-left:42px}.fr-tbl .d4 .fr-acc{padding-left:58px}
.fr-tbl .fr-sec td{font-weight:700;color:#3730a3;padding-top:16px;border-bottom:1px solid #c7d2fe}
.fr-tbl .fr-sub td{font-weight:600;border-top:1px solid #cbd5e1;background:#fbfcfe}
.fr-tbl .fr-total td{font-weight:700;border-top:2px solid #1e293b;background:#f8fafc}
.fr-tbl .fr-net td{font-size:14px}
.fr-pct{font-weight:400;color:#64748b;font-size:12px;margin-left:6px}
.fr-ok{margin-top:12px;font-size:12.5px;color:#15803d;display:flex;align-items:center;gap:6px}
/* V272.6 Expenses */
#page-expenses #gx-table td{vertical-align:top}
#page-expenses #gx-table tr{cursor:pointer}#page-expenses #gx-table tr:hover td{background:#f8fafc}
#page-expenses #gx-table .num{text-align:right;white-space:nowrap}
.gx-pay{display:inline-block;font-size:11.5px;padding:1px 8px;border-radius:10px;background:#e0f2fe;color:#075985;font-weight:500}
.gx-pay.credit{background:#fef3c7;color:#92400e}.gx-pay.credit.done{background:#dcfce7;color:#166534}
.gx-ed .coa-seg{display:inline-flex;background:#eef2f7;border-radius:8px;padding:3px;gap:2px;margin-bottom:12px}
.gx-ed .coa-seg button{border:0;background:none;padding:0 14px;height:30px;border-radius:6px;font:inherit;font-size:13px;color:#475569;cursor:pointer}
.gx-ed .coa-seg button.on{background:#fff;color:var(--blue,#173a5e);font-weight:500;box-shadow:0 1px 2px rgba(15,23,42,.1)}
.gx-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}.gx-grid2{grid-template-columns:1fr 1fr}
.gx-grid label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:#475569}
.gx-grid label[hidden]{display:none}
.gx-lines table{width:100%}.gx-lines td{vertical-align:top}.gx-lines .num{text-align:right}
#gx-e-lines .bc-picker{min-width:0;width:100%}
.gx-vatc{display:flex;gap:4px;align-items:center}.gx-vatc .jn-in{flex:1;min-width:0}
/* V273.0: New Expense — grouped fields, labels on one line, the VAT box in line with the amount */
.gx-sec{border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px 12px;margin-bottom:10px;background:#fff}
.gx-sec-h{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#173a5e;margin-bottom:8px}
.gx-sec-h .ti{font-size:15px;color:#64748b}.gx-sec-h small{font-weight:400;text-transform:none;letter-spacing:0;color:#94a3b8}
.gx-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;align-items:end}
.gx-grid3 label{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}
.gx-grid3 label[hidden],.gx-credit-note[hidden]{display:none!important}
.gx-grid3 .gx-w2{grid-column:span 2}
.gx-lab{font-size:12.5px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gx-lab small{color:#94a3b8;font-size:11.5px;margin-left:4px}
.gx-credit-note{display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;border-radius:7px;background:#fef3c7;color:#92400e;font-size:12.5px}
.gx-ed .bc-picker{width:100%;min-width:0}
.gx-lines td{vertical-align:middle!important}
.gx-chg{display:flex;flex-direction:column;gap:4px}.gx-chg .bc-picker{width:100%}
.gx-hint{margin-left:12px;font-size:11.5px;color:#64748b;display:inline-flex;align-items:center;gap:5px}.gx-hint b{color:#334155}
.gx-lines thead th{font-size:11.5px;color:#64748b;text-transform:uppercase;letter-spacing:.03em}
@media (max-width:900px){.gx-grid3{grid-template-columns:1fr 1fr}.gx-grid3 .gx-w2{grid-column:1/-1}}
.gx-15{border:1px solid #cbd5e1;background:#f8fafc;border-radius:6px;font-size:11px;padding:0 6px;height:30px;cursor:pointer;color:#475569}
.gx-kv{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 18px;margin:4px 0 12px;font-size:13px}
.gx-kv span{display:block;font-size:11.5px;color:#64748b}.gx-kv b{font-weight:500}
.gx-h4{margin:16px 0 4px;font-size:13px;color:#3730a3}
.gx-bal{text-align:right;margin-top:8px;font-size:13.5px}.gx-note{margin-top:8px;font-size:13px;color:#475569}
@media (max-width:900px){.gx-grid{grid-template-columns:1fr 1fr}.gx-kv{grid-template-columns:1fr 1fr}}
/* V272.7 Receivables & Payables */
#page-receivables .coa-seg{display:flex;background:#eef2f7;border-radius:8px;padding:3px;gap:2px;flex:0 0 auto}
#page-receivables .coa-seg button{border:0;background:none;padding:0 13px;height:28px;border-radius:6px;font:inherit;font-size:13px;color:#475569;cursor:pointer;white-space:nowrap}
#page-receivables .coa-seg button.on{background:#fff;color:var(--blue,#173a5e);font-weight:500;box-shadow:0 1px 2px rgba(15,23,42,.1)}
.rp-asat{display:flex;align-items:center;gap:6px;font-size:13px;color:#475569;white-space:nowrap}.rp-asat .coa-ctl{width:150px}
#rp-table tbody tr{cursor:pointer}#rp-table tbody tr:hover td{background:#f8fafc}
#rp-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#rp-table .rp-name{font-weight:500}
#rp-table .rp-a1{color:#b45309}#rp-table .rp-a2{color:#c2410c}#rp-table .rp-a3{color:#b91c1c;font-weight:600}
.rp-foot{font-size:12px;margin:6px 4px}
.rp-st-bar{display:flex;align-items:flex-end;gap:10px;margin-bottom:10px;font-size:12.5px;color:#475569}.rp-st-bar label{display:flex;flex-direction:column;gap:3px}
.rp-st td{vertical-align:top}.rp-age{width:auto;margin-left:auto}
/* V272.8 VAT return, comparison */
.fr-tbl .fr-ly{color:#64748b}.fr-tbl .fr-ch.neg{color:#b91c1c}
.fr-tbl .fr-box{color:#3730a3;font-weight:700;text-align:center}
.fr-vnote{color:#475569!important}
.fr-vdocs td{font-size:12.5px}
#page-finreports #fr-vq{min-width:220px}
.fr-pr-grid{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;align-items:center;font-size:13px}
.fr-pr-list{max-height:220px;overflow:auto;font-size:12.5px;margin-top:8px}
.fr-pr-years{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 10px}
.fr-pr-years span{border:1px solid #e2e8f0;border-radius:8px;padding:4px 10px;font-size:12.5px;background:#f8fafc}
.fr-pr-years span b{color:#15803d}
#fr-shell.fr-isvat [data-bc-date="finrep"],#fr-shell.fr-isvat .fr-zero{display:none!important}
#page-finreports #fr-job-pk{min-width:130px;max-width:160px}
#page-finreports #fr-cmp{max-width:140px}
#page-finreports #fr-act{max-width:150px}
@media (max-width:1500px){#page-finreports .fr-zero span:last-child{display:none}}
#page-finreports .coa-seg button{padding:0 10px}
#page-finreports #fr-act{max-width:135px}
#page-finreports #fr-job-pk{min-width:120px;max-width:140px}
/* V273.1 statement page (approved ST_1 / ST_2 / ST_3 v3) — an A4 sheet on the page; the sheet's own look is in js/rp.js (RPS_CSS, shared with print) */
.rps-shell{display:flex;flex-direction:column;gap:10px}
.rps-bar{flex-wrap:wrap;gap:8px!important;height:auto!important;min-height:52px;padding-top:8px!important;padding-bottom:8px!important;overflow:visible!important}
.rps-bar .rps-back{height:34px}
.rps-seg{display:flex;background:#eef2f7;border-radius:8px;padding:3px;gap:2px;flex:0 0 auto}
.rps-seg button{border:0;background:none;padding:0 12px;height:28px;border-radius:6px;font:inherit;font-size:12.5px;color:#475569;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.rps-seg button.on{background:#fff;color:#173a5e;font-weight:600;box-shadow:0 1px 2px rgba(15,23,42,.1)}
.rps-seg button .ti{font-size:16px}
.rps-date{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#475569;margin-right:4px;white-space:nowrap}
.rps-date input,.rps-date .bc-date{width:140px!important;min-width:0!important}
.rps-chk{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 9px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;font-size:12.5px;color:#334155;cursor:pointer;user-select:none}
.rps-chk:has(input:checked){border-color:#c4d4e6;background:#f3f7fc}
.rps-chk input{width:15px;height:15px;accent-color:#173a5e;margin:0}
.rps-stage{background:#d9e0e8;border-radius:10px;padding:30px 22px 40px;overflow:auto;display:flex;justify-content:center;align-items:flex-start}
.rps-sheet{width:794px;min-height:1123px;margin:0 auto;background:#fff;padding:44px 48px 28px;border-radius:2px;box-shadow:0 6px 24px rgba(15,23,42,.18),0 1px 3px rgba(15,23,42,.10);display:flex;flex-direction:column;flex:0 0 auto}
.rps-sheet.land{width:1123px;min-height:794px}
.rps-sheet>.rps-doc{flex:1}
@media (max-width:900px){.rps-stage{padding:8px}.rps-sheet{padding:18px}}
