/* =====================================================================
   v3 — The Nest style (16/10/2026)
   Palette from Mohab's The Nest OS: Steel Pink #BA2ABA, Spring Bud #AEED16,
   Are Blue #845EFF, Rich Black #0A0526.
   Structure stays exactly like the PowerBuilder program; only the look changes.
   ===================================================================== */
:root {
  --night: #0A0526;
  --violet: #845EFF;
  --violet-d: #6A44E8;
  --violet-50: #F3EFFF;
  --violet-100: #E6DEFF;
  --lime: #AEED16;
  --lime-50: #F3FBDF;
  --lime-ink: #3F5A00;
  --pink: #BA2ABA;
  --pink-50: #FBEAFB;
  --peach: #FFF1E6;
  --orange: #F08A24;

  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FAF9FE;
  --line: #ECE9F5;
  --line-soft: #F3F1FA;
  --text: #0A0526;
  --text-2: #5F5A73;
  --text-3: #9A95AD;
  --ink: #0A0526;
  --ink-hover: #1E1650;
  --crimson: #845EFF;      /* old accent token now points to violet */
  --crimson-50: #F3EFFF;
  --crimson-100: #E6DEFF;
  --dr: #6A44E8;           /* مدين */
  --cr: #BA2ABA;           /* دائن */
  --sec: #845EFF;
  --radius: 10px;
  --radius-lg: 14px;
  --sidebar-w: 268px;
  --display: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
}
:root[data-theme="dark"] {
  --bg: #0E0A24; --surface: #151033; --surface-2: #120D2C; --line: #26204A; --line-soft: #1E1840;
  --text: #F1EFFA; --text-2: #B3ADCB; --text-3: #7E7898;
  --ink: #F1EFFA; --ink-hover: #FFFFFF;
  --violet-50: #221A4D; --violet-100: #2E2466; --crimson-50: #221A4D; --crimson-100: #2E2466;
  --lime-50: #1F2A0A; --lime-ink: #C9F25A; --pink-50: #2E1235; --peach: #2A1C14;
  --dr: #A58BFF; --cr: #E06BE0;
}

body { background: var(--bg); }
.card { border-color: var(--line); border-radius: var(--radius-lg); box-shadow: none; }

/* ---------- frame: full-height night sidebar, no top bar ---------- */
.app { grid-template-columns: var(--sidebar-w) 1fr; grid-template-rows: auto; }
.mbar { display: none; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 10px;
  background: var(--night); color: #fff; border: 0; padding: 22px 14px 14px; overflow: hidden;
}
.sidebar nav { flex: 1; overflow-y: auto; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; scrollbar-color: #2B2457 transparent; }
.brand { display: flex; align-items: center; gap: 10px; width: auto; padding: 0 6px 6px; }
.brand img { height: 44px; }
.brand .name { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; color: #fff; letter-spacing: -.5px; }
.brand .name b { color: var(--lime); }
.brand .name small { display: block; font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: .14em; color: #A9A3C6; margin-top: 6px; }

.sidebar .dalel { width: 100%; max-width: none; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #fff; height: 38px; }
.sidebar .dalel i { color: var(--lime) !important; }
.sidebar .dalel .yr { background: var(--lime); color: var(--night); }
.sidebar .search { width: 100%; max-width: none; flex: none; background: transparent; border-color: rgba(255, 255, 255, .12); color: #A9A3C6; height: 38px; }
.sidebar .search kbd { background: transparent; border-color: rgba(255, 255, 255, .2); color: #A9A3C6; }

/* nav */
.nav-home, .nav-sec { margin-bottom: 2px; }
.nav-sec > button, .nav-home a { color: #FFFFFF; font-weight: 700; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; }
.nav-sec > button:hover, .nav-home a:hover { background: rgba(255, 255, 255, .06); }
.nav-sec > button i.ti, .nav-home a i.ti, .ico i.ti { color: var(--lime); font-size: 19px; }
.ico { width: auto; height: auto; background: none !important; }
.nav-sec .count { margin-inline-start: auto; background: var(--lime); color: var(--night); border-radius: 999px; padding: 0 8px; font-size: 11px; font-weight: 800; line-height: 18px; }
.nav-sec > button .chev, .nav-group > button .chev { color: rgba(255, 255, 255, .4); }
.nav-sec.open > button { background: rgba(255, 255, 255, .05); }
.nav-sec.open > .nav-items { margin-inline-start: 18px; padding-inline-start: 6px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.nav-item, .nav-group > button { color: rgba(255, 255, 255, .72); padding: 7px 12px; border-radius: 9px; font-size: 13.5px; }
.nav-item:hover, .nav-group > button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active, .nav-home a.active { background: var(--violet); color: #fff; font-weight: 700; box-shadow: none; }
.nav-item.ready::after { background: var(--lime); }
.nav-item.active.ready::after { background: #fff; }

.side-foot { border-top: 1px solid rgba(255, 255, 255, .1); padding: 12px 6px 0; font-size: 12px; color: #A9A3C6; }
.side-foot .who { display: flex; align-items: center; gap: 8px; }
.side-foot .avatar { width: 30px; height: 30px; font-size: 12px; border: 0; cursor: pointer; background: var(--violet); color: #fff; }
.side-foot .faint-l { color: #7E7898; }
.foot-btns { margin-inline-start: auto; display: flex; gap: 6px; }
.pill-btn { height: 28px; min-width: 34px; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pill-btn:hover { border-color: var(--lime); color: var(--lime); }
.foot-links { margin-top: 8px; }
.foot-links a { color: var(--lime); }

/* ---------- page header ---------- */
.main { padding: 30px 34px 56px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ph-icon { display: none; }
.eyebrow { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--violet); text-transform: uppercase; }
.page-title { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1.2; margin: 4px 0 2px; letter-spacing: -.3px; color: var(--text); }
.page-sub { color: var(--text-2); font-size: 14px; margin: 0; }
.head-actions { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- buttons, inputs, badges ---------- */
.btn { height: 40px; border-radius: 10px; font-weight: 700; border-color: var(--line); }
.btn.primary { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn.primary:hover { background: var(--violet-d); border-color: var(--violet-d); }
.btn.dark { background: var(--night); border-color: var(--night); color: #fff; padding: 0 18px; }
:root[data-theme="dark"] .btn.dark { background: #fff; color: var(--night); border-color: #fff; }
.btn.soft { background: var(--violet-50); color: var(--violet-d); }
.btn.bell { width: 42px; padding: 0; position: relative; border: 1.5px solid var(--violet); color: var(--violet); }
.btn.bell .dot { position: absolute; top: -8px; inset-inline-start: -8px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--lime); color: var(--night); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid var(--bg); }
.btn.sm { height: 32px; border-radius: 8px; }
.input, .select { height: 40px; border-radius: 10px; border-color: var(--line); }
.input:focus, .select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(132, 94, 255, .15); }
.badge { border-radius: 7px; font-weight: 700; }
.badge.ok { background: var(--lime-50); color: var(--lime-ink); }
.badge.warn { background: var(--peach); color: #C2620F; }
.badge.brand, .badge.info { background: var(--violet-50); color: var(--violet-d); }
.tbadge { background: color-mix(in srgb, var(--tc) 12%, var(--surface)); color: color-mix(in srgb, var(--tc) 85%, var(--text)); border-radius: 7px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 8px; white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- cards with colored top border (Nest columns) ---------- */
.card-head { border-bottom: 0; background: var(--violet-50); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 12px 18px; }
.card-title { font-family: var(--display); font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.card-title::before { display: none; }
.card.top { border-top: 3px solid var(--k, var(--violet)); }

/* KPIs like Nest member cards: big heavy number */
.kpi { border-top: 3px solid var(--k); background: var(--surface); border-radius: var(--radius-lg); padding: 18px 20px; }
.kpi .lbl { font-size: 13px; font-weight: 700; color: var(--text); }
.kpi .lbl .ki { width: 12px; height: 12px; border-radius: 50%; background: var(--k); display: inline-block; flex: none; }
.kpi .lbl .ki i { display: none; }
.kpi .val { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--text); margin: 8px 0 2px; }
.kpi .val small { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-3); }
.kpi .delta { color: var(--text-2); }
.quick a { border-radius: 12px; border-color: var(--line); --q: var(--violet); }
.quick a i { color: var(--q); background: color-mix(in srgb, var(--q) 12%, var(--surface)); width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.quick a:hover { border-color: var(--violet); background: var(--violet-50); }
.alert-row { margin: 8px 12px; border: 0; border-inline-start: 3px solid var(--a, var(--orange)); border-radius: 0 10px 10px 0; background: var(--peach); }
:root[dir="rtl"] .alert-row, [dir="rtl"] .alert-row { border-radius: 10px 0 0 10px; }
.alerts { padding: 4px 0 8px; }

/* hero (home) becomes a night banner with lime + violet */
.hero { background: var(--night); border-radius: 18px; padding: 24px 28px; color: #fff; position: relative; overflow: hidden; margin-bottom: 20px; }
.hero::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; inset-inline-start: -90px; top: -160px; background: radial-gradient(circle, rgba(132, 94, 255, .55), transparent 65%); }
.hero::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; inset-inline-start: 160px; bottom: -150px; background: radial-gradient(circle, rgba(186, 42, 186, .45), transparent 65%); opacity: 1; }
.hero .hi { font-family: var(--display); font-weight: 900; font-size: 26px; margin: 0; position: relative; }
.hero .hi b { color: var(--lime); }
.hero .sub { color: #B9B3D6; margin: 4px 0 16px; position: relative; }
.hero .chips { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .chip { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 10px 14px; min-width: 150px; }
.hero .chip .l { font-size: 12px; color: #B9B3D6; }
.hero .chip .v { font-family: var(--display); font-size: 22px; font-weight: 900; }
.hero .chip.lime .v { color: var(--lime); }
.hero .acts { position: absolute; inset-inline-end: 28px; bottom: 24px; display: flex; gap: 8px; z-index: 1; }
.hero .btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.hero .btn.white { background: var(--lime); border-color: var(--lime); color: var(--night); }

/* ---------- tables ---------- */
.tbl th { background: var(--violet-50); color: #4B3F8F; border-bottom: 0; font-weight: 700; }
:root[data-theme="dark"] .tbl th { color: #CFC4FF; }
.tbl td { border-bottom: 1px solid var(--line-soft); }
.tbl tbody tr:nth-child(even) td { background: transparent; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl tfoot td { background: var(--violet-50); border-top: 2px solid var(--violet); }
.group-row td { background: var(--lime-50) !important; color: var(--lime-ink); font-weight: 800; border-top: 0; }
.dr, .tbl td.c-m, .tbl td.dr-col { color: var(--dr); font-weight: 700; }
.cr, .tbl td.c-d, .tbl td.cr-col { color: var(--cr); font-weight: 700; }
.bal-side.d { color: var(--dr); } .bal-side.c { color: var(--cr); }

/* ---------- journal ---------- */
.status-steps .st { border-radius: 999px; }
.status-steps .st.now { background: var(--violet); border-color: var(--violet); color: #fff; }
.status-steps .st.done { background: var(--lime-50); color: var(--lime-ink); }
.jv-head { background: var(--surface-2); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.lines-tbl .rn span { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: var(--violet-50); color: var(--violet-d); font-weight: 800; }
.lines-tbl tr.sel td { background: var(--violet-50) !important; }
.lines-tbl input[data-f="m"] { background: color-mix(in srgb, var(--dr) 6%, transparent); color: var(--dr); font-weight: 700; }
.lines-tbl input[data-f="c"] { background: color-mix(in srgb, var(--cr) 6%, transparent); color: var(--cr); font-weight: 700; }
.lines-tbl .cell:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(132, 94, 255, .15); }
.totals-bar { background: var(--surface-2); border-top: 1px solid var(--line); }
.totals-bar .t .v { font-family: var(--display); font-weight: 900; font-size: 20px; }
.totals-bar .t.dr .v { color: var(--dr); } .totals-bar .t.cr .v { color: var(--cr); }
.side-panel .card-head { background: var(--violet-50); }
.tools button i { color: var(--violet); }
.attach { border-color: var(--violet-100); background: var(--surface-2); }
.picker .opt.hl, .picker .opt:hover { background: var(--violet-50); }

/* ---------- statement ---------- */
.acc-hero { background: var(--surface); }
.acc-hero .code { background: var(--lime); color: var(--night); font-weight: 800; }
.acc-hero .nm { font-family: var(--display); font-weight: 900; font-size: 22px; }
.sum-cards > div { border-top: 3px solid var(--s); background: var(--surface); }
.sum-cards .l { color: var(--text-2); }
.sum-cards .v { font-family: var(--display); font-weight: 900; font-size: 22px; }

/* ---------- drawer / modal / toast ---------- */
.toast { background: var(--night); }
.toast i { color: var(--lime); }
.modal .res.hl, .modal .res:hover { background: var(--violet-50); }
.placeholder i { color: var(--violet); }

/* ---------- mobile ---------- */
@media (max-width: 1024px) {
  .app { grid-template-columns: 1fr; }
  .mbar { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; gap: 8px; height: 56px; padding: 0 12px; background: var(--night); color: #fff; }
  .mbar .icon-btn { color: #fff; }
  .mbar .icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .mbrand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 900; font-size: 20px; margin-inline-end: auto; }
  .mbrand img { height: 32px; }
  .mbrand b { color: var(--lime); }
  .sidebar { position: fixed; top: 0; bottom: 0; height: 100%; inset-inline-start: 0; width: min(300px, 86vw); z-index: 65; transform: translateX(105%); transition: transform .2s ease; }
  [dir="ltr"] .sidebar { transform: translateX(-105%); }
  .sidebar.show { transform: none; }
  .main { padding: 20px 18px 96px; }
}
@media (max-width: 720px) {
  .page-title { font-size: 28px; }
  .head-actions { width: 100%; margin-inline-start: 0; }
  .head-actions .btn .lbl { display: none; }
  .kpi .val { font-size: 22px; }
  .hero { padding: 20px; }
  .hero .acts { position: static; margin-top: 14px; }
  .hero .chip { min-width: 0; flex: 1 1 40%; }
}
@media print {
  .sidebar, .mbar, .head-actions { display: none !important; }
  .app { display: block; }
}

/* ---------- shared screen blocks (ui.js) ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 14px; }
.form-grid.pad { padding: 16px 18px; }
.drawer .form-grid { grid-template-columns: 1fr 1fr; }
.field.chk { justify-content: flex-end; }
.field.chk span { display: flex; align-items: center; gap: 8px; height: 40px; font-weight: 600; }
.note-row { background: var(--peach); border-inline-start: 3px solid var(--orange); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 13.5px; color: var(--text); }
.note-row.ok { background: var(--lime-50); border-color: #7DB30A; color: var(--lime-ink); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.tool-ico { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--k) 14%, var(--surface)); color: var(--k); font-size: 20px; }
.filters { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.lvl-1 td { font-weight: 800; }
.lvl-2 td:nth-child(2) { padding-inline-start: 22px; }
.lvl-3 td:nth-child(2) { padding-inline-start: 36px; }
.lvl-4 td:nth-child(2) { padding-inline-start: 50px; }
@media (max-width: 720px) { .drawer .form-grid { grid-template-columns: 1fr; } }
.ph-text { min-width: 0; flex: 1 1 260px; }
.page-title, .eyebrow, .page-sub { overflow-wrap: anywhere; }
#main { min-width: 0; overflow-x: clip; }
.sum-cards > div { min-width: 0; }
@media (max-width: 720px) {
  .sum-cards { grid-template-columns: 1fr 1fr !important; }
  .sum-cards .v { font-size: 16px; overflow-wrap: anywhere; }
  .sum-cards > div { padding: 12px; }
  .sum-cards > div:nth-child(odd) { border-inline-start: 0; }
  .sum-cards > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
.aziz-tag { position: fixed; bottom: 14px; inset-inline-end: 14px; z-index: 70; background: var(--lime); color: var(--night); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(10, 5, 38, .25); display: flex; align-items: center; gap: 6px; }
@media (max-width: 720px) { .aziz-tag { bottom: 70px; } }
@media print { .aziz-tag { display: none; } }

/* ---------- account form: chain of upper levels + collapsible groups ---------- */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.chain-it b { color: var(--violet); }
.acc-sec { border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; background: var(--surface); }
.acc-sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-weight: 700; }
.acc-sec > summary::-webkit-details-marker { display: none; }
.acc-sec > summary i.ti:first-child { color: var(--violet); }
.acc-sec > summary .chev { margin-inline-start: auto; color: var(--text-3); transition: transform .15s; }
.acc-sec[open] > summary { border-bottom: 1px solid var(--line-soft); background: var(--violet-50); border-radius: 12px 12px 0 0; }
.acc-sec[open] > summary .chev { transform: rotate(180deg); }
.acc-sec > .form-grid { padding: 14px; }
.grp-card { border-top: 3px solid var(--violet); }

/* ---------- comfort: wider definition panel, bigger inputs and text (17/10/2026) ---------- */
body { font-size: 15px; }
.drawer { width: min(820px, 100vw); }
.drawer .dh { padding: 16px 22px; }
.drawer .dh strong { font-size: 19px !important; }
.drawer .db { padding: 20px 22px; font-size: 15.5px; }
.drawer .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.drawer .field label { font-size: 14px; }
.drawer .input, .drawer .select { height: 48px; font-size: 16px; padding: 0 14px; border-radius: 11px; }
.drawer textarea.input { height: auto; padding: 10px 14px; font-size: 16px; }
.drawer .field.chk span { height: 48px; font-size: 15.5px; }
.drawer .field.chk input { width: 19px; height: 19px; }
.drawer .chain { font-size: 14.5px; padding: 10px 14px; }
.drawer .acc-sec > summary { font-size: 15.5px; padding: 13px 16px; }
.drawer .acc-sec > .form-grid { padding: 16px; }
.drawer .btn { height: 44px; font-size: 15px; padding: 0 18px; }
@media (max-width: 720px) {
  .drawer .form-grid { grid-template-columns: 1fr; }
}

/* account form: code on its own row, bold Arabic/English names */
.drawer #af [name="code"] { max-width: 320px; font-weight: 700; letter-spacing: .5px; }
.drawer #af [name="name"], .drawer #af [name="ename"] { font-weight: 700; font-size: 17px; }

/* tables: bold headers; chart of accounts list: bold wide name, narrow tax no., checkbox look */
.tbl th { font-weight: 800; font-size: 13px; color: var(--text); }
.acc-list td.c-name { font-weight: 700; min-width: 340px; }
.acc-list .c-tax { width: 30ch; max-width: 30ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-list .c-chk { text-align: center; width: 92px; }
.cbx { display: inline-flex; width: 20px; height: 20px; border: 1.5px solid #C9C3DF; border-radius: 5px; align-items: center; justify-content: center; background: var(--surface); vertical-align: middle; }
.cbx.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.cbx i.ti { font-size: 14px; }
.acc-list .c-lvl { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* chart of accounts list: fixed column widths so the name column takes the free space */
.acc-list { table-layout: fixed; min-width: 1150px; }
.acc-list th:nth-child(1) { width: 120px; }
.acc-list th.c-name { width: auto; }
.acc-list th.c-lvl { width: 210px; }
.acc-list th.c-tax { width: 30ch; }
.acc-list th:nth-child(5) { width: 110px; }
.acc-list th.c-chk { width: 96px; }
.acc-list th:nth-child(9) { width: 70px; }
.acc-list th:nth-child(10) { width: 150px; }
.acc-list th:nth-child(11) { width: 60px; }
.acc-list td { overflow: hidden; text-overflow: ellipsis; }
.acc-list td.c-name { font-weight: 800; font-size: 15.5px; color: var(--text); white-space: normal; }

.acc-list { min-width: 1340px; }
.acc-list th:nth-child(1) { width: 100px; }
.acc-list th.c-lvl { width: 170px; }
.acc-list .c-tax { font-size: 13px; }
.acc-list th.c-tax { width: 30ch; }
.acc-list th:nth-child(5) { width: 90px; }
.acc-list th.c-chk { width: 78px; }
.acc-list th:nth-child(9) { width: 56px; }
.acc-list th:nth-child(10) { width: 110px; }
.acc-list th:nth-child(11) { width: 48px; }

/* report tables scroll inside themselves; column titles stay on top, totals stay at the bottom */
.table-wrap.fit { overflow: auto; overscroll-behavior: contain; }
.table-wrap.fit .tbl thead th { position: sticky; top: 0; z-index: 3; box-shadow: 0 1px 0 var(--line); }
.table-wrap.fit .tbl tfoot td { position: sticky; bottom: 0; z-index: 3; box-shadow: 0 -1px 0 var(--line); }
.acc-list { min-width: 1220px; }
.acc-list th:nth-child(1) { width: 120px; }
.acc-list th:nth-child(10) { width: 96px; }
