/* ITQAN v70.0.69 — final full-screen report workspace reference. */
body.itq68-trial-focus .app-shell{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:64px 48px minmax(0,1fr)!important;grid-template-areas:"top" "menu" "main"!important;min-height:100vh!important}
body.itq68-trial-focus .titlebar{height:64px!important;min-height:64px!important;border-bottom:1px solid rgba(224,182,83,.8)!important}
body.itq68-trial-focus .menubar{height:48px!important;min-height:48px!important;border-bottom:2px solid #d7a330!important}
body.itq68-trial-focus .quickbar,body.itq68-trial-focus .itqan45-sidebar,body.itq68-trial-focus .statusbar{display:none!important}
body.itq68-trial-focus .content{grid-area:main!important;padding:0!important;background:#f2f7fb!important;min-width:0!important}
body.itq68-trial-focus .workspace-window{min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.itq68-trial-focus .workspace-window>.page-head{display:none!important}
body.itq68-trial-focus .workspace-body{padding:0!important}
body.itq68-trial-focus .workspace-body>#v7025EntityReportPanel,body.itq68-trial-focus .workspace-body>.report-tabs{display:none!important}
body.itq68-trial-focus #report-trial{display:block!important;margin:0!important;padding:0!important}
body.itq68-trial-focus #report-trial~.report-pane{display:none!important}
#report-trial.itq68-trial-pane{padding:0!important;background:#f2f7fb!important;border:0!important}
.itq68-trial{--navy:#06385d;--navy-deep:#052c4b;--navy-light:#0b5c94;--gold:#d59a12;--gold2:#f0c34c;--gold-soft:#fff3c9;--green:#0a9569;--blue:#0b80c6;--purple:#4330bb;--red:#db2e2e;--line:#cbd9e6;direction:rtl;color:#102d49;background:linear-gradient(180deg,#f6faff 0,#eef5fa 100%);min-height:calc(100vh - 112px);font-family:inherit;padding:14px 18px 18px}.itq68-trial *{box-sizing:border-box}.itq68-trial button,.itq68-trial input,.itq68-trial select{font:inherit}.itq68-head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:66px}.itq68-title{display:flex;align-items:center;gap:12px}.itq68-title-icon{width:52px;height:52px;border-radius:12px;background:linear-gradient(145deg,#fff8df,#f6d87d);color:#9a6a03;border:1px solid #e5bd48;display:grid;place-items:center;font-size:31px;box-shadow:0 5px 15px rgba(178,126,11,.14)}.itq68-title h2{margin:0;font-size:28px;font-weight:1000;color:#0b3152}.itq68-title p{margin:4px 0 0;color:#71869a;font-size:12px;font-weight:700}.itq68-head-tools{display:flex;align-items:center;gap:14px}.itq68-crumb{font-size:11px;color:#506b82;font-weight:850}.itq68-crumb span{color:#c28c12;margin:0 4px}.itq68-actions-row{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 10px}.itq68-btn{min-height:38px;border:1px solid #bfd0df;border-radius:8px;background:#fff;color:#163b59;padding:8px 14px;font-weight:900;cursor:pointer;box-shadow:0 2px 7px rgba(6,48,80,.06)}.itq68-btn:hover{border-color:#d1a028;background:#fff9e6}.itq68-btn.gold,.itq68-btn.reports{background:linear-gradient(180deg,#f4cb5b,#d69a16);border-color:#c58a0b;color:#12334d;box-shadow:0 4px 12px rgba(185,126,8,.18)}.itq68-btn.reports{min-width:130px}.itq68-filters{display:grid;grid-template-columns:1fr 1fr 1fr 1.15fr;gap:10px;padding:10px 12px;background:#fff;border:1px solid #d8e4ee;border-radius:12px;box-shadow:0 4px 16px rgba(7,48,78,.06);margin-bottom:10px}.itq68-filters label{display:block;margin:0 0 4px;font-size:11px;font-weight:950;color:#304e68}.itq68-filters input,.itq68-filters select{width:100%;height:39px;border:1px solid #bed0e0!important;border-radius:8px!important;background:#fbfdff!important;color:#163b59!important;padding:0 10px!important;outline:0!important}.itq68-filters input:focus,.itq68-filters select:focus{border-color:#d3a02a!important;box-shadow:0 0 0 3px rgba(211,160,42,.12)!important}.itq68-filter-search{height:39px;border:1px solid #bed0e0;border-radius:8px;background:#fbfdff;display:flex;align-items:center;padding:0 10px}.itq68-filter-search:focus-within{border-color:#d3a02a;box-shadow:0 0 0 3px rgba(211,160,42,.12)}.itq68-filter-search span{font-size:22px;color:#174e78}.itq68-filter-search input{border:0!important;box-shadow:none!important;background:transparent!important;height:36px!important;min-height:0!important}
.itq68-workspace{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:12px;direction:ltr;align-items:start}.itq68-report-main,.itq68-side{direction:rtl;min-width:0}.itq68-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.itq68-kpi{min-height:92px;border-radius:11px;color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 8px 20px rgba(8,44,73,.14);overflow:hidden;position:relative}.itq68-kpi:after{content:"";position:absolute;width:115px;height:115px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-42px;top:-38px}.itq68-kpi-icon{width:52px;height:52px;border:1px solid rgba(255,255,255,.42);border-radius:50%;display:grid;place-items:center;font-size:25px;background:rgba(0,0,0,.08);z-index:1}.itq68-kpi>div:last-child{flex:1;z-index:1}.itq68-kpi span{font-size:13px;font-weight:900}.itq68-kpi strong{display:block;font-size:27px;line-height:1.05;margin-top:7px;direction:ltr;text-align:right;font-variant-numeric:tabular-nums}.itq68-kpi small{display:block;margin-top:4px;font-size:10.5px}.itq68-kpi.count{background:linear-gradient(135deg,#4b36d1,#302193)}.itq68-kpi.debit{background:linear-gradient(135deg,#e1a715,#b97900);box-shadow:0 8px 22px rgba(190,128,4,.23)}.itq68-kpi.credit{background:linear-gradient(135deg,#0b8ad6,#06619b)}.itq68-kpi.balance{background:linear-gradient(135deg,#0aa776,#087a58)}.itq68-kpi.bad{background:linear-gradient(135deg,#e34e4e,#aa2222)}
.itq68-report-card{background:#fff;border:1px solid #d6e2ec;border-radius:12px;overflow:hidden;box-shadow:0 5px 18px rgba(7,47,78,.06)}.itq68-report-card-head{min-height:52px;padding:8px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid #d6e2ec}.itq68-report-card-head h3{margin:0;color:#123b59;font-size:16px;font-weight:1000}.itq68-report-card-head>div{display:flex;align-items:center;gap:10px;color:#45627a;font-size:11px;flex-wrap:wrap}.itq68-report-card-head label{display:flex;align-items:center;gap:6px}.itq68-report-card-head select{height:32px!important;min-height:0!important;border:1px solid #c5d4e0!important;border-radius:7px!important;padding:0 7px!important}.itq68-refresh{width:34px;height:32px;border:1px solid #bcd0df;border-radius:7px;background:#eef7ff;color:#0a5d93;font-size:19px;cursor:pointer}.itq68-table-shell{overflow:auto;background:#fff}.itq68-table{width:100%;min-width:960px;border-collapse:collapse;table-layout:fixed;font-size:12.5px}.itq68-table th{height:42px;background:linear-gradient(180deg,#0b466f,#073659);color:#fff;border-inline-start:1px solid rgba(255,255,255,.22);border-bottom:2px solid #e0ac31;padding:8px 10px;font-weight:950;white-space:nowrap;position:sticky;top:0;z-index:2}.itq68-table th[data-col=code]{width:120px}.itq68-table th[data-col=name]{width:240px}.itq68-table th[data-col=type]{width:135px}.itq68-table th[data-col=note]{width:185px}.itq68-table th[data-col=debit],.itq68-table th[data-col=credit],.itq68-table th[data-col=balance]{width:140px}.itq68-table th[data-col=actions]{width:85px}.itq68-table th .sort{opacity:.72;font-size:10px;margin-inline-start:5px}.itq68-table td{height:34px;padding:6px 9px;border:1px solid #d4e0ea;background:#fbfdff;color:#173650}.itq68-table tbody tr:nth-child(even):not(.group) td{background:#f0f6fb}.itq68-table tbody tr:not(.group){cursor:pointer}.itq68-table tbody tr:not(.group):hover td{background:#fff7dc}.itq68-table tr.group td{background:linear-gradient(90deg,#ffe8a0,#fff5d1)!important;color:#102f4b;font-weight:1000;border-color:#e7c15c}.itq68-code{direction:ltr;text-align:center;font-weight:900;font-variant-numeric:tabular-nums}.itq68-name>div{padding-inline-start:calc(var(--depth) * 16px);font-weight:850}.itq68-note{font-size:11px;color:#668096!important}.itq68-num{direction:ltr;text-align:center;font-variant-numeric:tabular-nums}.itq68-num.negative{color:#df1e1e!important;font-weight:1000}.itq68-type{display:inline-block;padding:3px 9px;border-radius:999px;font-size:10.5px;font-weight:900;border:1px solid #b8d6f2;background:#e9f4ff;color:#14598c;white-space:nowrap}.itq68-type.liability{background:#fff0e4;color:#a85816;border-color:#f1c89e}.itq68-type.equity{background:#eee9ff;color:#563ba5;border-color:#cec0f3}.itq68-type.revenue{background:#e8f8ef;color:#0e7a4b;border-color:#b9e6cf}.itq68-type.expense{background:#fff0f0;color:#b93636;border-color:#efc3c3}.itq68-actions{text-align:center}.itq68-icon-btn{width:30px;height:26px;border-radius:7px;border:1px solid #b9d3e9;background:#e6f3ff;color:#0b548b;cursor:pointer;font-weight:900}.itq68-icon-btn.collapse{background:#fff1bd;border-color:#d9ae3e;color:#6b4b00}.itq68-table tfoot td{height:43px;background:#07385f!important;color:#fff!important;border-color:#315b7d;font-size:14px}.itq68-table tfoot .total{color:#f4c956!important;font-weight:1000}.itq68-empty{text-align:center;padding:28px!important;color:#71869a!important}.itq68-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;color:#4d657b;font-size:11.5px;border-top:1px solid #d8e3ec}.itq68-pages{display:flex;gap:5px;align-items:center;direction:ltr}.itq68-pages button{min-width:32px;height:30px;border:1px solid #cbd9e6;background:#fff;border-radius:6px;color:#153a59;font-weight:900;cursor:pointer}.itq68-pages button.active{background:#07385f;color:#f3c759;border-color:#07385f}.itq68-pages button:disabled{opacity:.4;cursor:default}
.itq68-side{display:grid;gap:10px}.itq68-side-card{background:#fff;border:1px solid #d6e2ec;border-radius:11px;overflow:hidden;box-shadow:0 5px 18px rgba(7,47,78,.06)}.itq68-side-card>header{min-height:43px;padding:9px 11px;border-bottom:1px solid #e0e8ef;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(180deg,#fff,#fbfdff)}.itq68-side-card h3{margin:0;color:#173d5a;font-size:14px;font-weight:1000}.itq68-side-card header button{border:0;background:transparent;color:#0a70ad;font-size:10.5px;font-weight:900;cursor:pointer}.itq68-side-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px}.itq68-side-metric{min-height:72px;border-radius:8px;padding:8px 9px;position:relative;border:1px solid transparent}.itq68-side-metric span{display:block;font-size:10px;font-weight:900}.itq68-side-metric b{display:block;direction:ltr;text-align:right;font-size:16px;margin-top:5px}.itq68-side-metric i{position:absolute;left:8px;bottom:7px;font-style:normal;font-size:18px;opacity:.8}.itq68-side-metric.assets{background:#edf6ff;border-color:#d5e9fb;color:#155c91}.itq68-side-metric.liabilities{background:#fff0f1;border-color:#f4d7da;color:#b33a45}.itq68-side-metric.equity{background:#f0ecff;border-color:#ded5fa;color:#5b43a4}.itq68-side-metric.revenue{background:#ecf9f2;border-color:#d2eedf;color:#08794d}.itq68-journals,.itq68-alerts{padding:5px 8px 8px}.itq68-journal{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;border:0;border-bottom:1px solid #edf1f4;background:#fff;padding:8px 2px;cursor:pointer;text-align:right}.itq68-journal:hover{background:#fff9e9}.itq68-journal-badge{padding:3px 6px;border-radius:5px;font-size:9px;font-weight:900;white-space:nowrap}.itq68-journal-badge.general{background:#fff0c9;color:#8b6105}.itq68-journal-badge.receipt{background:#e7f7ee;color:#0a7447}.itq68-journal-badge.payment{background:#e8f2ff;color:#17649d}.itq68-journal-badge.sales{background:#eeeaff;color:#5c42a8}.itq68-journal-badge.purchase{background:#fff0e5;color:#a65c1c}.itq68-journal-text{min-width:0}.itq68-journal-text b{display:block;font-size:10.5px;color:#24445e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.itq68-journal-text small{display:block;margin-top:3px;font-size:9.5px;color:#8394a3;direction:ltr;text-align:right}.itq68-journal-doc{color:#0b5d93}.itq68-alert{width:100%;display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:7px;border:0;border-bottom:1px solid #edf1f4;background:#fff;padding:8px 2px;color:#304d65;text-align:right;cursor:pointer;font-size:10.5px}.itq68-alert:hover{background:#fff9e9}.itq68-alert .dot{width:7px;height:7px;border-radius:50%;background:#d4a12c}.itq68-alert.critical .dot{background:#dd3636}.itq68-alert.warning .dot{background:#ef8c22}.itq68-alert.attention .dot{background:#e2b02f}.itq68-alert b{min-width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f1f4f7;color:#193e5b;font-size:10px}.itq68-side-empty{padding:18px 8px;text-align:center;color:#8595a4;font-size:11px}
.itq68-loading{padding:45px;text-align:center;background:#fff;border-radius:12px;border:1px solid #e1e8ef;color:#31536f}.itq68-loading.small{padding:22px;border:0}.itq68-error{padding:16px;background:#fff0f0;border:1px solid #efb7b7;color:#a12222;border-radius:10px}.itq68-modal{position:fixed;inset:0;z-index:2147483640;background:rgba(5,27,45,.58);display:grid;place-items:center;padding:20px;direction:rtl}.itq68-modal-card{width:min(720px,96vw);max-height:90vh;background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 28px 80px rgba(0,0,0,.3);display:flex;flex-direction:column}.itq68-modal-card>header{background:linear-gradient(105deg,#07385f,#0b4d7c);color:#fff;padding:13px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #dba526}.itq68-modal-card>header button{background:transparent;border:0;color:#fff;font-size:24px;cursor:pointer}.itq68-modal-body{padding:18px;overflow:auto}.itq68-check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.itq68-check,.itq68-option-list label{border:1px solid #d9e4ed;border-radius:8px;padding:10px 12px;background:#f8fbfd;font-weight:800}.itq68-option-list{display:grid;gap:10px}.itq68-modal-actions{display:flex;justify-content:flex-start;gap:8px;margin-top:17px}.itq68-report-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.itq68-report-links button{min-height:44px;border:1px solid #d5e1eb;border-radius:9px;background:#f8fbfd;color:#153b5b;font-weight:900;cursor:pointer}.itq68-report-links button:hover{border-color:#d3a136;background:#fff8e4}.itq68-journal-detail{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.itq68-journal-detail>div{border:1px solid #dce6ee;border-radius:8px;background:#f7fafc;padding:9px}.itq68-journal-detail span{display:block;font-size:10px;color:#708495}.itq68-journal-detail b{display:block;margin-top:4px;color:#153b59}.itq68-journal-description{padding:10px 12px;background:#fff8e5;border:1px solid #eed18d;border-radius:8px;color:#5f4a18}.itq68-modal-table{overflow:auto;border:1px solid #d4e0e9;border-radius:8px}.itq68-modal-table table{width:100%;border-collapse:collapse}.itq68-modal-table th{background:#0a3e65!important;color:#fff!important;padding:8px!important}.itq68-modal-table td{padding:7px!important;border:1px solid #dce5ec!important;background:#fff!important}
@media(max-width:1350px){.itq68-workspace{grid-template-columns:minmax(0,1fr) 260px}.itq68-side-metrics{grid-template-columns:1fr}.itq68-kpi strong{font-size:22px}}
@media(max-width:1120px){.itq68-workspace{grid-template-columns:1fr}.itq68-side{grid-template-columns:repeat(3,1fr)}.itq68-kpis{grid-template-columns:repeat(2,1fr)}.itq68-filters{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.itq68-trial{padding:9px}.itq68-head{align-items:flex-start;flex-direction:column}.itq68-head-tools{width:100%;justify-content:space-between;flex-wrap:wrap}.itq68-actions-row{display:grid;grid-template-columns:repeat(2,1fr)}.itq68-filters,.itq68-kpis,.itq68-side{grid-template-columns:1fr}.itq68-btn{width:100%}.itq68-report-card-head{align-items:flex-start;flex-direction:column}.itq68-pager{flex-direction:column}.itq68-check-grid,.itq68-journal-detail{grid-template-columns:1fr}}
@media print{body.itq68-print-trial .titlebar,body.itq68-print-trial .menubar,body.itq68-print-trial .quickbar,body.itq68-print-trial .page-head,body.itq68-print-trial .report-tabs,body.itq68-print-trial .itq68-actions-row,body.itq68-print-trial .itq68-side,body.itq68-print-trial .itq68-pager,body.itq68-print-trial #report-balance,body.itq68-print-trial .report-pane:not(#report-trial){display:none!important}body.itq68-print-trial #report-trial{display:block!important}.itq68-trial{background:#fff;padding:0}.itq68-workspace{grid-template-columns:1fr}.itq68-filters{border:0;box-shadow:none}.itq68-kpi{box-shadow:none}.itq68-table-shell{overflow:visible}.itq68-table{min-width:0;font-size:9px}.itq68-table th,.itq68-table td{padding:4px 5px;height:auto}.itq68-kpis{grid-template-columns:repeat(4,1fr)}}
/* v70.0.69 focused shell polish: replace the pale legacy report chrome while Trial Balance is active. */
body.itq68-trial-focus .titlebar{background:linear-gradient(105deg,#032d4d 0%,#06395e 58%,#052b49 100%)!important;color:#fff!important;box-shadow:0 4px 16px rgba(3,35,59,.2)!important}
body.itq68-trial-focus .titlebar .top-brand strong,body.itq68-trial-focus .titlebar .top-actions,body.itq68-trial-focus .titlebar .top-actions b{color:#fff!important}
body.itq68-trial-focus .titlebar .top-brand small,body.itq68-trial-focus .titlebar .user-role{color:#f1c85d!important}
body.itq68-trial-focus .titlebar .mark{background:linear-gradient(145deg,#f4cf62,#c78b0c)!important;color:#092e4b!important;border:0!important}
body.itq68-trial-focus .titlebar button{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important}
body.itq68-trial-focus .titlebar .v1100-search-trigger,body.itq68-trial-focus .titlebar [class*="search"]{background:rgba(4,35,58,.72)!important;color:#eaf4fb!important;border:1px solid rgba(232,190,77,.45)!important}
body.itq68-trial-focus .menubar{background:linear-gradient(180deg,#07365a,#052d4c)!important;color:#fff!important;box-shadow:0 2px 8px rgba(3,35,59,.14)!important}
body.itq68-trial-focus .menubar button,body.itq68-trial-focus .menubar .menu-button,body.itq68-trial-focus .menubar .top-menu-button{color:#f6fbff!important;background:transparent!important}
body.itq68-trial-focus .menubar button:hover,body.itq68-trial-focus .menubar .menu-button:hover,body.itq68-trial-focus .menubar .top-menu-button:hover,body.itq68-trial-focus .menubar .active{background:linear-gradient(180deg,#f2ca5d,#d79b16)!important;color:#0e314c!important;border-radius:7px!important}


/* v70.0.69 — FINAL upper-shell repair + unmistakable gold identity.
   The :has() path is intentional: it keeps the focus shell active even when
   another legacy script removes a body helper class after the Trial Balance
   has already rendered. Chrome/Edge versions used by ITQAN support :has(). */
body.itq68-report-focus,
body:has(#report-trial.active .itq68-trial){background:#eef4f8!important}

/* Collapse every legacy report layer above the new report while Trial Balance is active. */
body.itq68-report-focus .quickbar,
body.itq68-report-focus .v1100-quickbar,
body.itq68-report-focus .itqan45-sidebar,
body.itq68-report-focus .statusbar,
body.itq68-report-focus .v1100-statusbar,
body.itq68-report-focus .workspace-window>.page-head,
body.itq68-report-focus .workspace-window>.v1100-page-head,
body.itq68-report-focus .workspace-body>#v7025EntityReportPanel,
body.itq68-report-focus .workspace-body>.v7025-report-panel,
body.itq68-report-focus .workspace-body>.report-tabs,
body.itq68-report-focus .workspace-body>.tabs.report-tabs,
body:has(#report-trial.active .itq68-trial) .quickbar,
body:has(#report-trial.active .itq68-trial) .v1100-quickbar,
body:has(#report-trial.active .itq68-trial) .itqan45-sidebar,
body:has(#report-trial.active .itq68-trial) .statusbar,
body:has(#report-trial.active .itq68-trial) .v1100-statusbar,
body:has(#report-trial.active .itq68-trial) .workspace-window>.page-head,
body:has(#report-trial.active .itq68-trial) .workspace-window>.v1100-page-head,
body:has(#report-trial.active .itq68-trial) .workspace-body>#v7025EntityReportPanel,
body:has(#report-trial.active .itq68-trial) .workspace-body>.v7025-report-panel,
body:has(#report-trial.active .itq68-trial) .workspace-body>.report-tabs,
body:has(#report-trial.active .itq68-trial) .workspace-body>.tabs.report-tabs{display:none!important}

/* Force a two-row navy application shell: brand/search/user + principal navigation, then report. */
body.itq68-report-focus .app-shell,
body:has(#report-trial.active .itq68-trial) .app-shell{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:64px 48px minmax(0,1fr)!important;grid-template-areas:"top" "menu" "main"!important;min-height:100vh!important;background:#eef4f8!important}
body.itq68-report-focus .content,
body:has(#report-trial.active .itq68-trial) .content{grid-area:main!important;padding:0!important;margin:0!important;background:#eef4f8!important;overflow:auto!important}
body.itq68-report-focus .workspace-window,
body:has(#report-trial.active .itq68-trial) .workspace-window{min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.itq68-report-focus .workspace-body,
body:has(#report-trial.active .itq68-trial) .workspace-body{padding:0!important;margin:0!important;background:transparent!important}

/* Rebuild the real top application header instead of leaving pale legacy chrome. */
body.itq68-report-focus .titlebar,
body:has(#report-trial.active .itq68-trial) .titlebar{grid-area:top!important;height:64px!important;min-height:64px!important;padding:0 22px!important;background:linear-gradient(100deg,#041f35 0%,#06385d 53%,#041f35 100%)!important;color:#fff!important;border:0!important;border-bottom:2px solid #e0ae32!important;box-shadow:0 4px 18px rgba(3,29,48,.22)!important}
body.itq68-report-focus .titlebar .mark,
body:has(#report-trial.active .itq68-trial) .titlebar .mark{background:linear-gradient(145deg,#ffe083,#d49a19)!important;color:#092f4d!important;border:1px solid #f6cd62!important;box-shadow:0 4px 14px rgba(217,159,27,.28)!important}
body.itq68-report-focus .titlebar .top-brand strong,
body:has(#report-trial.active .itq68-trial) .titlebar .top-brand strong{color:#fff!important}
body.itq68-report-focus .titlebar .top-brand small,
body.itq68-report-focus .titlebar .user-role,
body:has(#report-trial.active .itq68-trial) .titlebar .top-brand small,
body:has(#report-trial.active .itq68-trial) .titlebar .user-role{color:#f4ca5e!important}
body.itq68-report-focus .titlebar button,
body:has(#report-trial.active .itq68-trial) .titlebar button{background:rgba(255,255,255,.07)!important;color:#fff!important;border:1px solid rgba(240,190,67,.34)!important}
body.itq68-report-focus .menubar,
body:has(#report-trial.active .itq68-trial) .menubar{grid-area:menu!important;min-height:48px!important;height:48px!important;padding:0 15px!important;background:linear-gradient(180deg,#07395f,#052d4c)!important;border:0!important;border-bottom:2px solid #d8a52b!important;box-shadow:0 3px 12px rgba(4,33,54,.13)!important}
body.itq68-report-focus .menubar button,
body.itq68-report-focus .menubar .menu-button,
body.itq68-report-focus .menubar .top-menu-button,
body:has(#report-trial.active .itq68-trial) .menubar button,
body:has(#report-trial.active .itq68-trial) .menubar .menu-button,
body:has(#report-trial.active .itq68-trial) .menubar .top-menu-button{color:#f7fbff!important;background:transparent!important;border-radius:0!important;border-bottom:3px solid transparent!important}
body.itq68-report-focus .menubar button:hover,
body.itq68-report-focus .menubar .menu-button:hover,
body.itq68-report-focus .menubar .top-menu-button:hover,
body.itq68-report-focus .menubar .active,
body:has(#report-trial.active .itq68-trial) .menubar button:hover,
body:has(#report-trial.active .itq68-trial) .menubar .menu-button:hover,
body:has(#report-trial.active .itq68-trial) .menubar .top-menu-button:hover,
body:has(#report-trial.active .itq68-trial) .menubar .active{background:linear-gradient(180deg,#f2ca5b,#d39913)!important;color:#0a2d49!important;border-bottom-color:#8c6206!important}

/* Gold is now a visible structural identity, not a tiny accent. */
.itq68-trial{--gold:#d7a01b;--gold2:#f5cc59;--gold-strong:#bd7f05;--gold-soft:#fff0b9;padding-top:10px!important;background:linear-gradient(180deg,#f8fbfe 0,#edf4f9 100%)!important}
.itq68-head{padding:2px 3px 9px;border-bottom:2px solid #ddb03c;margin-bottom:8px}
.itq68-title-icon{background:linear-gradient(145deg,#fff3bd,#e5ad27)!important;border:1px solid #c98a08!important;color:#714a00!important;box-shadow:0 5px 16px rgba(190,127,4,.22)!important}
.itq68-title h2{color:#092f4d!important}
.itq68-title h2:after{content:"";display:inline-block;width:48px;height:4px;border-radius:4px;margin-inline-start:10px;background:linear-gradient(90deg,#d89e14,#f1c955);vertical-align:middle}
.itq68-btn{border-color:#c8d7e3!important}
.itq68-btn:hover{border-color:#c48b0c!important;background:#fff7db!important}
.itq68-btn.gold,.itq68-btn.reports{background:linear-gradient(180deg,#f5cd5d,#d79d17)!important;border-color:#b97b05!important;color:#092f4d!important;box-shadow:0 5px 15px rgba(184,119,5,.22)!important}
.itq68-btn.side-toggle{background:#fff9e7!important;border-color:#dcb24b!important;color:#6f4a04!important}
.itq68-filters{border-top:3px solid #dfa927!important;box-shadow:0 6px 18px rgba(7,48,78,.07)!important}
.itq68-filters label{color:#143c5a!important}
.itq68-filters label:before{content:"";display:inline-block;width:6px;height:6px;border-radius:2px;background:#dda826;margin-inline-end:6px;vertical-align:1px}
.itq68-kpi.debit{background:linear-gradient(135deg,#e7b329 0%,#c38505 100%)!important;border:1px solid #f0cb61!important;box-shadow:0 9px 24px rgba(184,120,4,.28)!important}
.itq68-report-card{border-top:3px solid #d9a11c!important}
.itq68-report-card-head{background:linear-gradient(180deg,#fffdf7,#fff7df)!important;border-bottom:1px solid #e5c66f!important}
.itq68-report-card-head h3{color:#123852!important}.itq68-report-card-head h3:before{content:"";display:inline-block;width:5px;height:20px;border-radius:5px;background:#d69a12;margin-inline-end:7px;vertical-align:-5px}
.itq68-table th{background:linear-gradient(180deg,#0b466f,#062f50)!important;border-bottom:3px solid #e0aa2c!important}
.itq68-table tbody tr:not(.group):hover td{background:#fff4c9!important}
.itq68-table tr.group td{background:linear-gradient(90deg,#e4ad2c 0%,#f4ce65 48%,#ffe8a3 100%)!important;color:#102f4b!important;border-color:#ca8d0a!important;border-top:2px solid #bd7f05!important;border-bottom:2px solid #d6a025!important;font-weight:1000!important}
.itq68-table tr.group .itq68-code,.itq68-table tr.group .itq68-num{color:#0b2e49!important}
.itq68-icon-btn.collapse{background:#07385f!important;color:#f4c956!important;border-color:#07385f!important;box-shadow:inset 0 0 0 1px rgba(244,201,86,.28)!important}
.itq68-table tfoot td{background:linear-gradient(180deg,#073d66,#052f50)!important;border-top:3px solid #dca526!important}.itq68-table tfoot .total{color:#ffd96e!important}
.itq68-pages button.active{background:#d69a12!important;color:#092f4d!important;border-color:#b77704!important}
.itq68-side-card{border-top:3px solid #d9a11c!important}.itq68-side-card>header{background:linear-gradient(180deg,#fffdf8,#fff5d8)!important;border-bottom-color:#e3c262!important}.itq68-side-card h3{color:#183a51!important}
.itq68-journal:hover,.itq68-alert:hover{background:#fff5cf!important}

/* Optional full-width table mode. */
body.itq68-side-hidden .itq68-workspace{grid-template-columns:minmax(0,1fr)!important}
body.itq68-side-hidden .itq68-side{display:none!important}
body.itq68-side-hidden .itq68-btn.side-toggle{background:linear-gradient(180deg,#f5cd5d,#d79d17)!important;color:#092f4d!important;border-color:#b97b05!important}

@media(max-width:900px){
  body.itq68-report-focus .app-shell,body:has(#report-trial.active .itq68-trial) .app-shell{grid-template-rows:58px 44px minmax(0,1fr)!important}
  body.itq68-report-focus .titlebar,body:has(#report-trial.active .itq68-trial) .titlebar{height:58px!important;min-height:58px!important;padding:0 10px!important}
  body.itq68-report-focus .menubar,body:has(#report-trial.active .itq68-trial) .menubar{height:44px!important;min-height:44px!important}
}
/* Hard isolation: while Trial Balance is the active report, only its pane is allowed
   inside the legacy report workspace. This removes any entity-search/header/tabs
   injected by older report modules regardless of their exact class name. */
body.itq68-report-focus .workspace-body> :not(#report-trial),
body:has(#report-trial.active .itq68-trial) .workspace-body> :not(#report-trial){display:none!important}
body.itq68-report-focus .content .page-head,
body:has(#report-trial.active .itq68-trial) .content .page-head{display:none!important}

/* v70.0.69 — final polish validated against the real v70.0.65 screen. */
/* Legacy report chrome is hidden by both body-state CSS and reversible JS markers. */
[data-itq68-legacy-hidden="1"]{display:none!important}
body.itq68-report-focus .workspace-body> :not(#report-trial),
body.itq68-trial-focus .workspace-body> :not(#report-trial){display:none!important}
body.itq68-report-focus .workspace-window> :not(.workspace-body),
body.itq68-trial-focus .workspace-window> :not(.workspace-body){display:none!important}
body.itq68-report-focus .v480-workspace> :not(.workspace-body):not(.v480-workspace-body),
body.itq68-trial-focus .v480-workspace> :not(.workspace-body):not(.v480-workspace-body){display:none!important}

/* Make the report begin directly below the real application navigation. */
body.itq68-report-focus .content,
body.itq68-trial-focus .content{padding:0!important;margin:0!important}
body.itq68-report-focus .workspace-window,
body.itq68-trial-focus .workspace-window{margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
body.itq68-report-focus .workspace-body,
body.itq68-trial-focus .workspace-body{padding:0!important;margin:0!important}
.itq68-trial{padding:10px 14px 14px!important}
.itq68-head{min-height:58px!important;margin-bottom:6px!important;padding-bottom:7px!important}
.itq68-actions-row{margin:4px 0 8px!important}
.itq68-filters{margin-bottom:8px!important;padding:8px 10px!important}

/* Strong, unmistakable gold hierarchy for parent/group accounts. */
.itq68-table tr.group td{
  background:linear-gradient(90deg,#e7ad24 0%,#f3c852 34%,#ffdf83 68%,#fff0bc 100%)!important;
  color:#082b47!important;
  border-top:2px solid #b97800!important;
  border-bottom:2px solid #c98a08!important;
  border-inline-color:#dfb341!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.46),inset 0 -1px 0 rgba(137,86,0,.12)!important;
  font-weight:1000!important;
}
.itq68-table tr.group:hover td{
  background:linear-gradient(90deg,#dea018 0%,#efbe3f 36%,#ffd56b 70%,#ffe9aa 100%)!important;
}
.itq68-table tr.group .itq68-name>div,
.itq68-table tr.group .itq68-code,
.itq68-table tr.group .itq68-num,
.itq68-table tr.group .itq68-note{color:#092d49!important;font-weight:1000!important}
.itq68-table tr.group .itq68-name>div:before{
  content:"";display:inline-block;width:6px;height:22px;border-radius:4px;background:#8d5d00;margin-inline-end:8px;vertical-align:-6px;box-shadow:0 0 0 1px rgba(255,255,255,.25)
}
/* Child-row hover stays distinct from structural gold parent rows. */
.itq68-table tbody tr:not(.group):hover td{background:#fff9e9!important;box-shadow:inset 0 1px 0 #f4d67b,inset 0 -1px 0 #f4d67b!important}

/* Clearer expand/collapse and ledger buttons. */
.itq68-icon-btn{width:32px!important;height:28px!important;border-radius:8px!important;font-size:13px!important;line-height:1!important}
.itq68-icon-btn.collapse{
  width:34px!important;height:30px!important;background:linear-gradient(180deg,#0a466f,#052f50)!important;
  color:#ffd969!important;border:2px solid #d9a31e!important;font-size:20px!important;font-weight:1000!important;
  box-shadow:0 2px 7px rgba(6,47,80,.18),inset 0 0 0 1px rgba(255,219,111,.15)!important
}
.itq68-icon-btn.collapse:hover{background:linear-gradient(180deg,#0d5788,#07395e)!important;transform:translateY(-1px)}

/* Reliable sticky table header: the table gets its own viewport. */
.itq68-table-shell{
  max-height:clamp(330px,calc(100vh - 360px),680px)!important;
  overflow:auto!important;
  scrollbar-gutter:stable both-edges;
  overscroll-behavior:contain;
}
.itq68-table thead th{position:sticky!important;top:0!important;z-index:8!important;box-shadow:0 2px 0 #d99f17!important}
.itq68-table tfoot td{position:sticky!important;bottom:0!important;z-index:7!important;border-top:4px solid #dfa91f!important;background:linear-gradient(180deg,#083f68,#052d4b)!important}
.itq68-table tfoot td:first-child{border-inline-start-color:#dfa91f!important}

/* Better column balance: more room for account name, less for description. */
.itq68-table th[data-col=code]{width:108px!important}
.itq68-table th[data-col=name]{width:285px!important}
.itq68-table th[data-col=type]{width:118px!important}
.itq68-table th[data-col=note]{width:145px!important}
.itq68-table th[data-col=debit],.itq68-table th[data-col=credit],.itq68-table th[data-col=balance]{width:125px!important}
.itq68-table th[data-col=actions]{width:72px!important}
body.itq68-side-hidden .itq68-table th[data-col=name]{width:330px!important}
body.itq68-side-hidden .itq68-table th[data-col=note]{width:160px!important}

/* Side panel toggle must look intentional and preserve user's preference. */
.itq68-btn.side-toggle{min-width:150px!important;transition:.15s ease!important}
body.itq68-side-hidden .itq68-btn.side-toggle{background:linear-gradient(180deg,#f5ce5d,#d69710)!important;color:#082c48!important;border-color:#ad7000!important}

/* Keep the primary financial identity navy + gold; red is reserved for negative balances. */
.itq68-num.negative{color:#d91f1f!important;font-weight:1000!important}
.itq68-table tbody td:not(.negative){--itq68-no-red:1}

@media(max-width:1200px){
  .itq68-workspace{grid-template-columns:minmax(0,1fr) 250px!important}
  .itq68-table-shell{max-height:calc(100vh - 350px)!important}
}
@media(max-width:900px){
  .itq68-table-shell{max-height:none!important;overflow:auto!important}
  .itq68-table thead th{position:sticky!important;top:0!important}
  .itq68-table tfoot td{position:static!important}
}

/* v70.0.69 — integrated table toolbar + production-shell cleanup. */
/* The three report filters are now a clean row. Search belongs to the table, not to a previous panel. */
.itq68-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.itq68-table-toolbar{
  min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:8px 10px;background:linear-gradient(180deg,#fffdf8 0%,#fff8e6 100%);
  border-bottom:1px solid #e6c873;direction:rtl
}
.itq68-table-search{
  width:min(540px,48%);min-width:320px;height:38px;display:flex;align-items:center;gap:8px;
  padding:0 11px;background:#fff;border:1px solid #c8d7e3;border-radius:9px;
  box-shadow:inset 0 1px 2px rgba(8,45,72,.03)
}
.itq68-table-search:focus-within{border-color:#d59a12;box-shadow:0 0 0 3px rgba(213,154,18,.13)}
.itq68-table-search>span{font-size:21px;line-height:1;color:#986900;font-weight:900;flex:0 0 auto}
.itq68-table-search input{
  width:100%!important;height:34px!important;min-height:0!important;padding:0 3px!important;border:0!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:#143a58!important
}
.itq68-table-search input:focus{border:0!important;box-shadow:none!important}
.itq68-table-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#405e76;font-size:11.5px}
.itq68-table-tools strong{white-space:nowrap;color:#173c59}
.itq68-table-tools label{display:flex;align-items:center;gap:7px;white-space:nowrap;font-weight:800}
.itq68-table-tools select{height:32px!important;min-height:0!important;padding:0 8px!important;border-radius:7px!important}

/* Do not leave any legacy report page-head above the professional report. */
body.itq68-report-focus .page-head,
body.itq68-report-focus .v480-page-head,
body.itq68-report-focus .v1100-page-head,
body.itq68-trial-focus .page-head,
body.itq68-trial-focus .v480-page-head,
body.itq68-trial-focus .v1100-page-head{display:none!important}
body.itq68-report-focus #v7025EntityReportPanel,
body.itq68-trial-focus #v7025EntityReportPanel,
body.itq68-report-focus .report-tabs,
body.itq68-trial-focus .report-tabs{display:none!important}

/* Extra specificity: parent accounts must be unmistakably gold even if a legacy runtime injects table styles later. */
body.itq68-report-focus #report-trial .itq68-table tbody tr.itq68-row.group>td,
body.itq68-trial-focus #report-trial .itq68-table tbody tr.itq68-row.group>td{
  background:#f3c957!important;
  background-image:linear-gradient(90deg,#e0a31c 0%,#f0bd3b 32%,#ffd86f 67%,#ffedb2 100%)!important;
  color:#092d49!important;border-top:2px solid #ad7100!important;border-bottom:2px solid #c48400!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(118,72,0,.16)!important
}
body.itq68-report-focus #report-trial .itq68-table tbody tr.itq68-row.group:hover>td,
body.itq68-trial-focus #report-trial .itq68-table tbody tr.itq68-row.group:hover>td{
  background:#eab331!important;background-image:linear-gradient(90deg,#d4920d,#e9b128 36%,#f9cc55 70%,#ffe49a 100%)!important
}

@media(max-width:1100px){
  .itq68-table-toolbar{align-items:stretch;flex-direction:column}
  .itq68-table-search{width:100%;min-width:0}
  .itq68-table-tools{justify-content:space-between}
}
@media(max-width:760px){
  .itq68-filters{grid-template-columns:1fr!important}
}


/* v70.0.69 — final shell cleanup + high-contrast totals. */
/* Do not rely only on JS body classes: Chromium :has() keeps the legacy report header hidden
   for as long as the professional Trial Balance exists in the active report pane. */
body:has(#report-trial .itq68-trial) .workspace-window>.page-head,
body:has(#report-trial .itq68-trial) .v480-page-head,
body:has(#report-trial .itq68-trial) .v1100-page-head,
body:has(#report-trial .itq68-trial) [class*="page-head"][class*="v1100"],
body:has(#report-trial .itq68-trial) #v7025EntityReportPanel,
body:has(#report-trial .itq68-trial) .report-tabs,
body:has(#report-trial .itq68-trial) .v7025-report-tabs,
body:has(#report-trial .itq68-trial) .v7044-report-tabs,
body:has(#report-trial .itq68-trial) .quickbar,
body:has(#report-trial .itq68-trial) .v480-quickbar,
body:has(#report-trial .itq68-trial) .v1100-quickbar,
body:has(#report-trial .itq68-trial) .itqan45-sidebar,
body:has(#report-trial .itq68-trial) .statusbar{display:none!important}
body:has(#report-trial .itq68-trial) .app-shell{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:64px 48px minmax(0,1fr)!important;
  grid-template-areas:"top" "menu" "main"!important;
}
body:has(#report-trial .itq68-trial) .content{padding:0!important;margin:0!important}
body:has(#report-trial .itq68-trial) .workspace-window,
body:has(#report-trial .itq68-trial) .workspace-body{padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}

/* Footer totals: numbers are pure white for readability. Gold is reserved for the label/accent. */
.itq68-table tfoot td{background:linear-gradient(180deg,#073f68 0%,#052c4b 100%)!important;border-top:4px solid #dca31f!important;color:#fff!important}
.itq68-table tfoot td.itq68-num.total{
  color:#fff!important;
  font-weight:1000!important;
  font-size:15px!important;
  letter-spacing:.15px;
  text-shadow:0 1px 1px rgba(0,0,0,.28)!important;
}
.itq68-table tfoot .itq68-total-label strong{color:#ffd96e!important;font-weight:1000!important;font-size:15px!important}

/* v70.0.69 — final adoption polish: soft champagne-gold hierarchy + dedicated total bar. */
/* Parent rows remain clearly grouped, but the gold is deliberately softer and less saturated. */
body.itq68-report-focus #report-trial .itq68-table tbody tr.itq68-row.group>td,
body.itq68-trial-focus #report-trial .itq68-table tbody tr.itq68-row.group>td,
body:has(#report-trial .itq68-trial) #report-trial .itq68-table tbody tr.itq68-row.group>td{
  background:#f6e5b3!important;
  background-image:linear-gradient(90deg,#efd598 0%,#f4dfad 34%,#f8e9c6 68%,#fff6e2 100%)!important;
  border-top:2px solid #c79a32!important;
  border-bottom:2px solid #d4ad51!important;
  border-inline-color:#e1c77f!important;
  color:#082d49!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),inset 0 -1px 0 rgba(109,75,12,.07)!important;
}
body.itq68-report-focus #report-trial .itq68-table tbody tr.itq68-row.group:hover>td,
body.itq68-trial-focus #report-trial .itq68-table tbody tr.itq68-row.group:hover>td,
body:has(#report-trial .itq68-trial) #report-trial .itq68-table tbody tr.itq68-row.group:hover>td{
  background:#f1dca2!important;
  background-image:linear-gradient(90deg,#e8ca82 0%,#efd79a 38%,#f5e3b4 72%,#fff1d2 100%)!important;
}

/* Compact the account-details header and toolbar to gain vertical room. */
.itq68-report-card-head{min-height:46px!important;padding:6px 10px!important}
.itq68-table-toolbar{min-height:46px!important;padding:6px 9px!important;gap:10px!important}
.itq68-table-search{height:36px!important}
.itq68-table-search input{height:32px!important}

/* Replace the fragile table footer with a dedicated, always-readable grand-total bar. */
.itq69-grand-total{
  display:flex;align-items:stretch;justify-content:space-between;gap:0;
  min-height:58px;background:linear-gradient(180deg,#073f68 0%,#052c4b 100%);
  border-top:4px solid #c99b39;color:#fff;box-shadow:0 -2px 8px rgba(3,32,54,.10);
  direction:rtl;position:relative;z-index:6
}
.itq69-grand-title{
  min-width:220px;display:flex;align-items:center;gap:10px;padding:10px 18px;
  color:#f1cf79;font-size:16px;font-weight:1000;border-inline-start:1px solid rgba(255,255,255,.16)
}
.itq69-grand-title>span{font-size:25px;line-height:1;color:#e8bd58;font-weight:1000}
.itq69-grand-metrics{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));flex:1;direction:rtl}
.itq69-grand-metrics>div{
  display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;
  border-inline-start:1px solid rgba(255,255,255,.15);white-space:nowrap
}
.itq69-grand-metrics small{color:#dce9f3;font-size:11px;font-weight:800}
.itq69-grand-metrics b{
  color:#fff!important;font-size:17px;font-weight:1000;line-height:1;
  direction:ltr;font-variant-numeric:tabular-nums;text-shadow:0 1px 1px rgba(0,0,0,.28)
}
.itq69-grand-metrics .difference b{color:#8ff0ca!important}
.itq69-grand-metrics .difference.bad b{color:#ffb7b7!important}

/* The scrolling viewport ends before the totals bar, so totals never overlap or wash out. */
.itq68-table-shell{max-height:clamp(320px,calc(100vh - 410px),650px)!important;border-bottom:0!important}
.itq68-table tfoot{display:none!important}
.itq68-pager{background:#fff!important}

/* At narrower desktop widths, prefer the accounting table over the optional side summary unless user has an explicit preference. */
@media(max-width:1250px){
  .itq68-table th[data-col=name]{width:300px!important}
}
@media(max-width:900px){
  .itq69-grand-total{flex-direction:column}
  .itq69-grand-title{min-width:0;justify-content:center;border-inline-start:0;border-bottom:1px solid rgba(255,255,255,.15)}
  .itq69-grand-metrics{grid-template-columns:1fr}
  .itq69-grand-metrics>div{justify-content:space-between;border-inline-start:0;border-top:1px solid rgba(255,255,255,.12)}
}

@media print{
  .itq69-grand-total{background:#fff!important;color:#111!important;border:2px solid #173a58!important;box-shadow:none!important;break-inside:avoid}
  .itq69-grand-title,.itq69-grand-title>span{color:#8d6200!important}
  .itq69-grand-metrics small,.itq69-grand-metrics b,.itq69-grand-metrics .difference b,.itq69-grand-metrics .difference.bad b{color:#111!important;text-shadow:none!important}
}
