/* Financial Center. The board and its portals share the same surfaces. */
body[data-nextest-role="accountant"] {
  --fc-bg:linear-gradient(145deg,#287bc3,#2464a2 62%,#215792); --fc-shell:linear-gradient(155deg,#2869a3,#1a4b80); --fc-ink:#ffffff; --fc-sub:#e2f1ff; --fc-line:#68aee2;
  --fc-panel:var(--workspace-panel-wash,linear-gradient(transparent,transparent)),linear-gradient(155deg,#256fb1,#235d98 53%,#1e4f85);
  --fc-field:#1a497c; --fc-head:#17538d; --fc-row:#07365b40; --fc-focus:#55dffe;
  --fc-shadow:inset 0 0 13px #158dff32,0 3px 17px #00102960;
  --fc-button:linear-gradient(170deg,#1469bc,#093579 54%,#09295f);
  --fc-active:linear-gradient(165deg,#0066a8,#0755c8 55%,#083cb7);
  color:var(--fc-ink); color-scheme:dark;
}
html[data-color-mode="light"] body[data-nextest-role="accountant"] {
  --fc-bg:linear-gradient(145deg,#d1eaff,#e4f2ff 54%,#f5faff); --fc-ink:#102f55; --fc-sub:#294765; --fc-line:#91bce4;
  --fc-panel:var(--workspace-panel-wash,linear-gradient(transparent,transparent)),linear-gradient(155deg,#f8fcff,#e0efff); --fc-field:#fff; --fc-head:#cfe5fc;
  --fc-row:#1b75c318; --fc-focus:#1456b6; --fc-shadow:0 3px 13px #1e5c9a20;
  --fc-button:linear-gradient(165deg,#fff,#dcefff); color-scheme:light;
}
body[data-nextest-role="accountant"] :is(#sideDrawer,#mgrCommandBar) {
  color:#f5f9ff!important; background:var(--fc-shell)!important;color-scheme:dark;
  border-color:#2474af!important;
}
body[data-nextest-role="accountant"] :is(#sideDrawer,#mgrCommandBar) :is(#tenantName,#whoAmI,.name,.sub,.drawer-nav-item) {color:#f5f9ff!important}
body[data-nextest-role="accountant"] #drawerNav .drawer-nav-item {font-size:14px;min-height:44px}
body[data-nextest-role="accountant"] #drawerNav .drawer-nav-item.active {background:var(--fc-active)!important;border-color:#58c5ff!important}
body[data-nextest-role="accountant"] #sideDrawer .drawer-brand .sub {color:#ffc869!important}
body[data-nextest-role="accountant"] #topbarMonthWrap {display:none!important}
body[data-nextest-role="accountant"] #accBoard {container:financial-board / inline-size;display:grid;gap:14px;min-width:0;max-width:1680px;margin-inline:auto}
body[data-nextest-role="accountant"] .ac-hero {
  position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(153px,19vw,235px);overflow:hidden;
  padding:clamp(18px,3vw,42px);border:1px solid #278ad0;border-radius:15px;color:#f5f9ff;
  background:radial-gradient(ellipse at 16% 120%,#0064c3 0,transparent 55%),linear-gradient(115deg,#267bc1,#174c81 66%);
  box-shadow:inset 0 0 22px #0879ff47;
}
.ac-hero-copy {position:relative;z-index:1;max-width:62%}
body[data-nextest-role="accountant"] .ac-hero h1 {color:#fff!important;font-size:clamp(25px,4.25vw,52px);font-weight:900;margin:0;line-height:1.28}
body[data-nextest-role="accountant"] .ac-hero p {color:#e3f2ff!important;font-size:clamp(12px,1.6vw,19px);line-height:1.65;margin:8px 0 0}
.ac-hero-art {
  position:absolute;inset-block:0;inset-inline-end:0;inline-size:56%;pointer-events:none;
  background:url('/assets/accountant-hero-r47.svg') left center / auto 100% no-repeat;
  transform:scaleX(-1);
}
[dir="rtl"] .ac-hero-art {transform:none}
.ac-hero-art > * {display:none}
body[data-nextest-role="accountant"] :is(.ac-shortcuts,.ac-section:not(.ac-section-home),#accHomePeriodForm,.ac-metric-region,.ac-secondary-details,.ac-more-nav-items,#mgrModalBox) {
  background:var(--fc-panel)!important;color:var(--fc-ink)!important;border:1px solid var(--fc-line)!important;
  border-radius:14px;box-shadow:var(--fc-shadow)!important;min-width:0;
}
.ac-shortcuts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,.75fr);position:relative;z-index:2}
.ac-shortcuts > :is(button,details) {border-inline-end:1px solid var(--fc-line)!important}
.ac-shortcuts > details:last-child {border-inline-end:0!important}
body[data-nextest-role="accountant"] .ac-shortcuts > button,.ac-more-nav summary {
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;height:100%;
  margin:0;padding:10px;min-height:72px;text-align:center;font:inherit;font-size:clamp(12px,1.2vw,15px);font-weight:800;
  border:0;border-radius:0;color:var(--fc-ink)!important;background:none!important;box-shadow:none!important;cursor:pointer;
}
.ac-shortcuts img,.ac-section-heading img {width:28px;height:28px;object-fit:contain}
.ac-shortcuts > button:first-child {border-start-start-radius:13px;border-end-start-radius:13px}
.ac-more-nav {position:relative;min-width:0}
.ac-more-nav summary::-webkit-details-marker {display:none}
.ac-more-nav summary span[aria-hidden] {font-size:22px;line-height:1}
.ac-more-nav-items {position:absolute;z-index:3;inset-inline-end:0;top:100%;width:min(240px,85vw);padding:8px;display:grid;gap:6px}
.ac-board-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.ac-board-grid > .ac-section {grid-column:1/-1;min-width:0;padding:clamp(10px,1.4vw,18px);scroll-margin-top:14px}
.ac-board-grid > :is(.ac-section-cash,.ac-section-credit) {grid-column:auto}
.ac-board-grid > .ac-section-home {padding:0}
.ac-section-home > .ac-section-heading {justify-content:flex-end;margin-block-end:8px}
.ac-section-home > .ac-section-heading :is(h2,img) {display:none}
.ac-section-heading,.ac-region-heading {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-block-end:12px}
.ac-section-heading h2,.ac-region-heading h3 {font-size:clamp(16px,1.9vw,23px);font-weight:850;color:var(--fc-ink);margin:0}
.ac-section-heading button {margin:0;margin-inline-start:auto}
.ac-moves-scope,.ac-region-heading span {font-size:12px;color:var(--fc-sub);margin:0}
.acc-home,.ac-secondary-content,.acc-sec-body {display:grid;gap:12px;min-width:0}
.acc-sec-body > * {min-width:0}
.ac-metric-region,.ac-secondary-details {padding:clamp(10px,1.5vw,18px)}
body[data-nextest-role="accountant"] #accBoard .ac-secondary-details > summary {
  font-size:clamp(15px,2vw,22px);font-weight:850;cursor:pointer;
  color:var(--fc-ink);background:var(--fc-head);border-radius:8px;padding:8px 10px;
}
.ac-secondary-details summary small {font-size:12px;color:var(--fc-sub);margin-inline-start:.6em}
.ac-secondary-details[open] > summary {margin-block-end:12px}
.ac-secondary-content .ac-analytics {grid-row:1}
.ac-metrics,.ac-analytics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ac-analytics {grid-template-columns:repeat(2,minmax(0,1fr))}
.ac-analytics .ac-analytics-trend {grid-column:1/-1;grid-row:1}
.ac-analytics svg {max-width:100%;height:auto}
.ac-analytics svg text {fill:var(--fc-sub)}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) :is(.card,.ne-acc-cash-form,.ne-acc-cash-review,.ne-acc-cash-expected,.ne-acc-invoice-subsection) {
  min-width:0;color:var(--fc-ink)!important;background:var(--fc-panel)!important;border:1px solid var(--fc-line)!important;
  border-radius:12px;box-shadow:var(--fc-shadow)!important;padding:clamp(10px,1.45vw,17px);
}
body[data-nextest-role="accountant"] #roleContent #accBoard .ac-metrics > .card {
  --fc-tile:#0755ad;--fc-highlight:#67d8ff;
  position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  text-align:center!important;min-height:clamp(104px,14cqi,152px);width:100%;margin:0;
  background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--fc-highlight) 12%,transparent),transparent 61%),
    var(--workspace-kpi-wash,linear-gradient(transparent,transparent)),
    linear-gradient(148deg,var(--fc-tile),color-mix(in srgb,var(--fc-tile) 64%,#102745) 88%)!important;
  border-radius:13px;box-shadow:inset 0 1px #fff4,0 3px 10px #09244944!important;
  padding:clamp(9px,1.4cqi,15px);
  color:#fff!important;border-color:color-mix(in srgb,var(--fc-highlight) 55%,#16335d)!important;
}
body[data-nextest-role="accountant"] #roleContent #accBoard .ac-metrics > .card:nth-child(4n + 2) {--fc-tile:#08704f;--fc-highlight:#6af3b6}
body[data-nextest-role="accountant"] #roleContent #accBoard .ac-metrics > .card:nth-child(4n + 3) {--fc-tile:#7228ac;--fc-highlight:#edb9ff}
body[data-nextest-role="accountant"] #roleContent #accBoard .ac-metrics > .card:nth-child(4n + 4) {--fc-tile:#8c4a06;--fc-highlight:#ffd17a}
.ac-metrics > .card::before {
  content:'';display:block;width:32px;height:28px;flex:none;background:currentColor;color:var(--fc-highlight);
  clip-path:polygon(0 58%,20% 58%,20% 100%,0 100%,0 58%,39% 31%,59% 31%,59% 100%,39% 100%,39% 31%,79% 4%,100% 4%,100% 100%,79% 100%,79% 4%);
}
.ac-metrics > .card:nth-child(4n + 2)::before {clip-path:none;border-radius:50%;background:radial-gradient(circle,transparent 40%,currentColor 43% 55%,transparent 58%),conic-gradient(transparent 70%,currentColor 70% 99%,transparent 99%)}
.ac-metrics > .card:nth-child(4n + 4)::before {clip-path:polygon(50% 0,100% 40%,88% 40%,88% 100%,60% 100%,60% 63%,40% 63%,40% 100%,12% 100%,12% 40%,0 40%)}
body[data-nextest-role="accountant"] #accBoard .ac-metrics > .card :is(.name,.meta) {color:#ebf6ff!important;line-height:1.45;overflow-wrap:anywhere}
.ac-metrics > .card .name {font-size:clamp(12px,1.33vw,16px);font-weight:800}
.ac-metrics > .card .stat-big {font-size:clamp(19px,3.05vw,38px);font-weight:900;line-height:1.18;direction:ltr;overflow-wrap:anywhere}
.ac-metrics > .card .meta {font-size:11px;margin:0}
#accHomePeriodForm {display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,auto);align-items:end;gap:10px}
#accHomePeriodForm > :is(.name,.meta,.msg) {grid-column:1/-1}
#accHomePeriodForm .msg:empty {display:none}
#accHomePeriodForm label {display:grid;gap:4px;min-width:0;margin:0}
#accHomePeriodForm input {width:100%;margin:0}
body[data-nextest-role="accountant"] .ne-acc-cash-form {container:accountant-cash / inline-size}
body[data-nextest-role="accountant"] .ne-acc-invoice-detail {container:accountant-invoice / inline-size}
body[data-nextest-role="accountant"] :is(.ne-acc-cash-layout,.ne-acc-invoice-records) {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
  align-items:start;
}
body[data-nextest-role="accountant"] .ne-acc-invoice-records {margin-block:14px 18px}
@container accountant-cash (min-width:530px) {
  body[data-nextest-role="accountant"] .ne-acc-cash-layout {grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)}
}
@container accountant-invoice (min-width:660px) {
  body[data-nextest-role="accountant"] .ne-acc-invoice-records {grid-template-columns:repeat(2,minmax(0,1fr))}
}
body[data-nextest-role="accountant"] .ne-acc-cash-fields {
  display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;
}
.ne-acc-cash-actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body[data-nextest-role="accountant"] .ne-acc-cash-actions button {
  flex:1 1 120px;
  min-width:0;
  width:auto;
  overflow-wrap:anywhere;
}
.ne-acc-cash-fields > * {min-width:0}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) :is(.meta,.sub,.empty,.loading,label) {color:var(--fc-sub)!important;line-height:1.65}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) :is(.name,h2,h3) {color:var(--fc-ink)!important}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) :is(input:not([type=checkbox],[type=radio]),select,textarea) {
  min-height:42px;max-width:100%;color:var(--fc-ink)!important;background:var(--fc-field)!important;border:1px solid var(--fc-line)!important;border-radius:9px;
}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) button:not(.card,.danger,.ac-shortcuts > button) {
  min-height:36px;padding:6px 12px;border:1px solid var(--fc-line);border-radius:9px;
  font:inherit;font-size:13px;font-weight:750;background:var(--fc-button);color:var(--fc-ink);touch-action:manipulation;
}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) button:not(.ac-shortcuts > button):is([type=submit],:not(.secondary,.card,.danger)[data-ne-click]) {background:var(--fc-active);color:#fff}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) :focus-visible {
  outline:3px solid var(--fc-focus)!important;outline-offset:2px;
}
body[data-nextest-role="accountant"] :is(#mgrCommandBar,#sideDrawer) :focus-visible {
  outline:3px solid #ffdc85!important;outline-offset:2px;
}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) button:not(:disabled):hover {box-shadow:inset 0 0 0 1px var(--fc-focus)}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) button:disabled {opacity:.58;cursor:default}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) table {width:100%;border-collapse:collapse;font-size:13px;line-height:1.55;font-variant-numeric:tabular-nums;color:var(--fc-ink)}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) :is(th,td) {padding:8px;color:inherit;border-color:var(--fc-line);overflow-wrap:anywhere}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) th {background:var(--fc-head)!important;color:var(--fc-ink)!important;text-align:start}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) tbody tr:nth-child(even) {background:var(--fc-row)}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) tbody tr:is([tabindex],[data-ac-record]):is(:hover,:focus-visible) {background:var(--fc-head);cursor:pointer}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) .ne-acc-reconcile-warning {
  color:var(--fc-warning)!important;
  font-weight:800;
  overflow-wrap:anywhere;
}
html[data-color-mode="dark"] body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) .ne-acc-reconcile-warning {
  background-color:var(--fc-warning-fill);
}
body[data-nextest-role="accountant"] #mgrModalBox .ne-acc-invoice-status {
  display:inline-flex;align-items:center;padding:7px 14px;margin-block-end:10px;
  border:1px solid var(--fc-line);border-radius:30px;
  background:var(--fc-head);color:var(--fc-ink);font-weight:800;
}
body[data-nextest-role="accountant"] #mgrModalBox .ne-acc-invoice-status.is-review {
  background:var(--fc-warning-fill);color:var(--fc-warning);
}
body[data-nextest-role="accountant"] #mgrModalBox [data-ac-field] {
  background:var(--fc-field);
  color:var(--fc-ink);
  border-color:var(--fc-line);
}
body[data-nextest-role="accountant"] #mgrModalOverlay {background:#000c21b8!important}
body[data-nextest-role="accountant"] #mgrModalBox {overflow:auto!important;overscroll-behavior:contain}
body[data-nextest-role="accountant"] .ac-report-table {overflow-x:auto}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) .ac-table-scroll {overflow-x:auto;max-width:100%}
@container financial-board (max-width:820px) {
  .ac-board-grid > :is(.ac-section-cash,.ac-section-credit) {grid-column:1/-1}
  #accHomePeriodForm {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container financial-board (max-width:560px) {
  .ac-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ac-more-nav {grid-column:1/-1}
  .ac-more-nav summary {min-height:44px;flex-direction:row}
  .ac-metrics,.ac-analytics {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ac-analytics > .card {grid-column:1/-1}
  .ac-hero-copy {max-width:68%}
  .ac-hero-art {opacity:.75}
}
@media print {
  body[data-nextest-role="accountant"] #mgrModalBox {max-height:none!important;max-width:none!important;overflow:visible!important}
}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) [data-nextest-paging-control] {
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-block:10px;color:var(--fc-sub);font-size:13px;
}
body[data-nextest-role="accountant"] [data-nextest-paging-control] button {width:auto;margin:0}
body[data-nextest-role="accountant"] .ac-shortcuts > button:where(:first-child) img {filter:brightness(1.2)}
body[data-nextest-role="accountant"] .ac-table-scroll table,body[data-nextest-role="accountant"] .ac-report-table table {
  min-width:min(100%,24rem);font-variant-numeric:tabular-nums;
}
body[data-nextest-role="accountant"] .ac-record-fields > div {background:var(--fc-field);border-color:var(--fc-line)}
@media (max-width:560px) {
  body[data-nextest-role="accountant"] :is(.ac-record-fields,.ac-final-field dl) {grid-template-columns:1fr}
}
@media screen {
  body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) :is(.ac-table-scroll,.ac-report-table) :is(th,td) {overflow-wrap:anywhere}
  body[data-nextest-role="accountant"] #mgrModalBox :is(.ac-report-table,.ac-table-scroll) {
    max-block-size:none;
    overflow:visible;
  }
}
@media print {
  body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) [data-nextest-paging-control] {display:none!important}
  body[data-nextest-role="accountant"] :is(.ac-report-table,.ac-table-scroll) {overflow:visible!important}
}
.ac-brand-sub {display:none}
body[data-nextest-role="accountant"] #sideDrawer .manager-drawer-brand-copy .sub {display:none}
body[data-nextest-role="accountant"] #sideDrawer .ac-brand-sub {display:block;color:#ffc869;font-size:12px;font-weight:750}
body[data-nextest-role="accountant"] #heldResolveOverlay > .card {
  color:var(--fc-ink)!important;background:var(--fc-panel)!important;border:1px solid var(--fc-line)!important;
  box-shadow:var(--fc-shadow)!important;max-height:88dvh!important;overflow:auto!important;
}
body[data-nextest-role="accountant"] #heldResolveOverlay :is(input,select,textarea) {color:var(--fc-ink);background:var(--fc-field)}
body[data-nextest-role="accountant"] .ac-section-heading button {width:auto}
body[data-nextest-role="accountant"] #mgrCommandBar :is(#toolbarLanguage,#themeTopbarBtn,#logoutBtn,#accHeaderPeriodBtn) {
  background:#083464!important;color:#f5f9ff!important;border-color:#3188c7!important;
}
body[data-nextest-role="accountant"] #mgrModalOverlay:not(.hidden,[hidden],[aria-hidden="true"]) {
  display:grid!important;place-items:center;grid-template: minmax(0,1fr) / minmax(0,1fr);
  box-sizing:border-box;padding:5dvh clamp(8px,2vw,24px)!important;
}
body[data-nextest-role="accountant"] #mgrModalBox {
  width:min(100%,1200px)!important;max-block-size:min(100%,900px);align-self:center;
}
@media print {
  body[data-nextest-role="accountant"] #mgrModalOverlay:not(.hidden,[hidden],[aria-hidden="true"]) {display:block!important;padding:0!important}
  body[data-nextest-role="accountant"] #mgrModalBox {max-block-size:none;width:100%!important}
}
body[data-nextest-role="accountant"] {
  --fc-warning:#ffd075;--fc-warning-fill:#173656;--fc-sales:#5ee6ff;--fc-collections:#ffd075;
}
html[data-color-mode="light"] body[data-nextest-role="accountant"] {
  --fc-warning:#754101;--fc-warning-fill:#fff0ca;--fc-sales:#00628b;--fc-collections:#925007;
}
.ac-plot-layout {display:grid;grid-template-columns:minmax(min-content,max-content) minmax(0,1fr);direction:ltr;gap:5px}
.ac-plot-axis {display:grid;position:relative;text-align:end;color:var(--fc-ink);font-size:.8125rem;font-weight:650;font-variant-numeric:tabular-nums}
.ac-plot-axis > span {grid-area:1/1;position:relative;align-self:start;top:var(--ac-tick-top);transform:translateY(-50%)}
body[data-nextest-role="accountant"] #accBoard .ac-daily-plot {width:100%;height:clamp(210px,34cqi,290px);display:block;overflow:visible}
.ac-daily-plot .ac-chart-grid {stroke:var(--fc-line);stroke-opacity:.45;vector-effect:non-scaling-stroke}
.ac-chart-sales {--fc-series:var(--fc-sales)}
.ac-chart-collections {--fc-series:var(--fc-collections)}
.ac-daily-plot path {stroke:var(--fc-series);fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.ac-daily-plot circle {fill:var(--fc-series);stroke:var(--fc-field);stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer}
.ac-chart-drill {display:flex;flex-wrap:wrap;align-items:end;gap:8px}
.ac-chart-drill label {display:grid;gap:4px;margin:0;min-width:0}
.ac-chart-drill button {width:auto;min-height:42px!important;margin:0}
#accPaymentChart {display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#accPaymentChart > button {width:auto;margin:0}
.ac-metrics > .card .stat-big {font-variant-numeric:tabular-nums}
@container financial-board (max-width:560px) {
  .ac-chart-drill > * {flex:1 1 125px}
}
.ac-activity-list {display:grid;min-width:0;gap:7px}
body[data-nextest-role="accountant"] #roleContent .ac-activity-list > button {
  display:flex;width:100%;min-height:48px;margin:0;text-align:start;background:var(--fc-panel);
  overflow-wrap:anywhere;
}
.ac-activity-list > button > div:first-child {flex-wrap:wrap;text-align:start}

@media (max-width:560px) {
  body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox) :is(input,select,textarea) {font-size:16px!important}
}
@media (max-height:550px) and (orientation:landscape) {
  body[data-nextest-role="accountant"] .ac-hero {min-height:112px;padding-block:14px}
  body[data-nextest-role="accountant"] .ac-shortcuts > button,.ac-more-nav summary {min-height:52px}
  .ac-more-nav-items {max-height:45dvh;overflow:auto;overscroll-behavior:contain}
}

/* Keep semantic metric colors distinct from the user's global button accent. */
html body[data-nextest-role="accountant"] #roleContent #accBoard .ac-metrics > button.card .stat-big {color:#fff!important}
html body[data-nextest-role="accountant"] #roleContent #accBoard .ac-shortcuts > button {
  background:transparent!important;color:var(--fc-ink)!important;
}
html body[data-nextest-role="accountant"] #roleContent #accBoard .ac-shortcuts :is(button[aria-current="location"],.ac-more-current > summary) {
  background:var(--fc-active)!important;color:#fff!important;
}

body[data-nextest-role="accountant"] :is(.ac-section-my_moves,.ac-section-requests_log,.ac-section-financial_reports) .ac-section-heading {
  padding-block-end:10px;border-block-end:1px solid var(--fc-line);
}
body[data-nextest-role="accountant"] #roleContent .nx-record-list > button {
  padding:8px 10px!important;background:var(--fc-field)!important;color:var(--fc-ink)!important;
}
body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) :is(.ac-report-table,.ac-table-scroll) {
  max-block-size:min(52dvh,420px);overflow:auto;overscroll-behavior:contain;
}
@media print {
  body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) :is(.ac-report-table,.ac-table-scroll) {max-block-size:none;overflow:visible}
}

/* Financial Center visual refinement for dense figures and international labels. */
body[data-nextest-role="accountant"] #accBoard .ac-hero {
  border-color:#62addb;box-shadow:inset 0 1px #d8f5ff3d,0 8px 24px #0a285946;
}
body[data-nextest-role="accountant"] #accBoard .ac-hero h1 {text-wrap:balance;line-height:1.18}
body[data-nextest-role="accountant"] #accBoard .ac-hero p {text-wrap:pretty;line-height:1.6}
body[data-nextest-role="accountant"] #accBoard .ac-shortcuts img {
  width:30px;height:30px;filter:drop-shadow(0 1px 2px #092a6066);
}
body[data-nextest-role="accountant"] #accBoard .ac-shortcuts span {line-height:1.45;overflow-wrap:anywhere}
body[data-nextest-role="accountant"] #accBoard :is(.ac-region-heading,.ac-section-heading) {row-gap:5px}
body[data-nextest-role="accountant"] #accHomePeriodForm {gap:clamp(8px,1.35vw,16px)}
body[data-nextest-role="accountant"] #accHomePeriodForm > .name {font-size:clamp(16px,1.52vw,21px);font-weight:850}
body[data-nextest-role="accountant"] #roleContent #accHomePeriodForm > .meta {
  margin:0;
  padding:8px 10px;
  border-inline-start:3px solid var(--fc-line);
  border-radius:6px;
  background:var(--fc-field);
  color:var(--fc-ink)!important;
  font-size:clamp(.875rem,1.1vw,.9375rem);
  line-height:1.65;
  text-align:start;
  overflow-wrap:anywhere;
}
body[data-nextest-role="accountant"] #accHomePeriodForm button[type="submit"] {
  min-height:42px;background:var(--fc-active)!important;color:#fff!important;border-color:#5bb8ff!important;
}
body[data-nextest-role="accountant"] #accBoard .ac-metrics > .card .stat-big {font-size:clamp(21px,3.1vw,39px);line-height:1.23;letter-spacing:0}
body[data-nextest-role="accountant"] #accBoard .ac-metrics > .card .name {text-wrap:balance}
body[data-nextest-role="accountant"] #accBoard .ac-metrics > .card .meta {line-height:1.5}
body[data-nextest-role="accountant"] #accBoard .ac-analytics .ac-chart-grid {stroke-opacity:.54}
body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) :is(th,td) {
  font-size:clamp(12px,1.05vw,14px);line-height:1.5;
}
body[data-nextest-role="accountant"] #accBoard .nx-record-list button .name {font-weight:800}
body[data-nextest-role="accountant"] #mgrModalBox :is(.ac-record-fields,.ac-final-field) {line-height:1.6;overflow-wrap:anywhere}
@container financial-board (max-width:560px) {
  body[data-nextest-role="accountant"] #accBoard .ac-hero-art {inline-size:66%;opacity:.6}
  body[data-nextest-role="accountant"] #accBoard .ac-metrics > .card .stat-big {font-size:clamp(20px,5.8cqi,29px)}
}

body[data-nextest-role="accountant"] #accBoard .ac-shortcuts .ac-shortcut-icon {
  display:block;width:32px;height:32px;flex:none;color:var(--fc-ink);
}
body[data-nextest-role="accountant"] #accBoard .ac-shortcuts [aria-current="location"] .ac-shortcut-icon {color:#fff}

/* Report headers and final records share the active financial palette. */
body[data-nextest-role="accountant"] .acc-report-header {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding-block:8px 12px;
  border-block-end:1px solid var(--fc-line);
}
body[data-nextest-role="accountant"] .acc-report-header .name {flex:1 1 180px}
body[data-nextest-role="accountant"] .acc-report-header button {width:auto;margin:0;min-height:40px}
body[data-nextest-role="accountant"] :is(.ac-record-fields,.ac-final-field dl) {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));
  gap:9px;
  margin-block:12px;
}
body[data-nextest-role="accountant"] :is(.ac-record-fields,.ac-final-field dl)>div {
  min-width:0;
  padding:10px;
  border:1px solid var(--fc-line);
  border-radius:10px;
  background:var(--fc-field);
  color:var(--fc-ink);
}
body[data-nextest-role="accountant"] :is(.ac-record-fields,.ac-final-field) dt {color:var(--fc-sub)}
body[data-nextest-role="accountant"] :is(.ac-record-fields,.ac-final-field) dd {margin:4px 0 0;overflow-wrap:anywhere}
body[data-nextest-role="accountant"] .ac-record-fields dd button {width:100%;text-align:start;min-height:44px}
body[data-nextest-role="accountant"] .acc-sec-body>div:has(>table) {max-width:100%;overflow-x:auto}
body[data-nextest-role="accountant"] .ac-report-table tr[data-ac-record] {cursor:pointer}
body[data-nextest-role="accountant"] .ac-report-table tr[data-ac-record]:hover {background:var(--fc-head)}
body[data-nextest-role="accountant"] #sideDrawer .drawer-user {background:var(--fc-shell);border-color:var(--fc-line)}
@media print {
  body[data-nextest-role="accountant"] .acc-report-header button {display:none!important}
  body[data-nextest-role="accountant"] .acc-sec-body>div:has(>table) {overflow:visible}
}

body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox,#heldResolveOverlay) {
  --text:var(--fc-ink);
  --muted:var(--fc-sub);
  --border:var(--fc-line);
}
body[data-nextest-role="accountant"] .ac-payment-plot {
  display:block;
  inline-size:min(100%,160px);
  block-size:auto;
}
body[data-nextest-role="accountant"] .ac-ratio-track {
  block-size:7px;
  background:color-mix(in srgb,var(--fc-line) 25%,var(--fc-field));
  border-radius:8px;
  overflow:hidden;
}
body[data-nextest-role="accountant"] .ac-ratio-fill {
  inline-size:var(--fc-ratio);
  block-size:100%;
  background:var(--fc-sales);
}
body[data-nextest-role="accountant"] #accBoard .ac-secondary-details[open] > summary {
  padding-block-end:9px;
  border-block-end:1px solid var(--fc-line);
}
body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) :is(.ac-table-scroll,.ac-report-table) {
  scrollbar-width:thin;
}

/* Theme tokens for native controls and table content outside the main overview. */
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox,#heldResolveOverlay,#nextestThemeOverlay) {
  --theme-text:var(--fc-ink);
  --theme-muted:var(--fc-sub);
  --theme-border:var(--fc-line);
  --theme-panel:var(--fc-field);
  --theme-bg-2:var(--fc-field);
  --text:var(--fc-ink);
  --muted:var(--fc-sub);
  --border:var(--fc-line);
}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox,#heldResolveOverlay) :is(input,textarea)::placeholder {
  color:var(--fc-sub);
  opacity:1;
}
body[data-nextest-role="accountant"] :is(#roleContent,#mgrModalBox,#heldResolveOverlay) .tabs .tab.active {
  background:var(--fc-field);
  color:var(--fc-ink);
  border-color:var(--fc-line);
}

body[data-nextest-role="accountant"] #nextestThemeOverlay :is(.theme-modal,.theme-studio-modal) {
  background:var(--fc-panel)!important;
  color:var(--fc-ink)!important;
  border-color:var(--fc-line)!important;
}
body[data-nextest-role="accountant"] #nextestThemeOverlay .theme-option {
  background:var(--fc-field)!important;
  color:var(--fc-ink)!important;
  border-color:var(--fc-line)!important;
}
body[data-nextest-role="accountant"] #nextestThemeOverlay :is(.theme-option small,.theme-studio-subtitle) {
  color:var(--fc-sub)!important;
}

body[data-nextest-role="accountant"] #nextestThemeOverlay {
  --role-studio-canvas:var(--nextest-role-canvas,var(--fc-bg));
  --role-studio-panel:var(--fc-panel);
  --role-studio-control:var(--fc-field);
  --role-studio-ink:var(--fc-ink);
  --role-studio-muted:var(--fc-sub);
  --role-studio-line:var(--fc-line);
  --role-studio-focus:var(--fc-focus);
  --role-studio-success:#58dca4;
}
html[data-color-mode="light"] body[data-nextest-role="accountant"] #nextestThemeOverlay { --role-studio-success:#13704d }

@media screen {
  body[data-nextest-role="accountant"] #accBoard .ac-metrics > .card .name {
    font-size:clamp(.8125rem,1.2vw,1rem);
  }
  body[data-nextest-role="accountant"] .ac-daily-plot path {stroke-width:2.75}
  body[data-nextest-role="accountant"] .ac-daily-plot :is(path.ac-chart-collections,.ac-chart-collections path) {
    stroke-dasharray:5 3;
  }
  body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) :is(.ac-report-table,.ac-table-scroll) thead th {
    position:sticky;
    inset-block-start:0;
    z-index:1;
    box-shadow:0 1px var(--fc-line);
  }
  body[data-nextest-role="accountant"] .ac-daily-plot circle {
    stroke:var(--fc-field);
    stroke-width:1.25;
    vector-effect:non-scaling-stroke;
  }
  body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) :is(.ac-report-table,.ac-table-scroll) {
    scrollbar-color:var(--fc-line) var(--fc-field);
  }
  body[data-nextest-role="accountant"] :is(.ac-record-fields,.ac-final-field) :is(dt,dd),
  body[data-nextest-role="accountant"] .acc-report-header .name {
    overflow-wrap:anywhere;
    line-height:1.55;
  }
  body[data-nextest-role="accountant"] .acc-report-header .name {
    font-size:clamp(1rem,1.55vw,1.25rem);
  }
  body[data-nextest-role="accountant"] :is(#accBoard,#mgrModalBox) .ac-report-table tr[data-ac-record]:focus-visible {
    scroll-margin-block-start:3rem;
    outline-offset:-2px;
  }
}
@media screen and (max-width:420px) {
  body[data-nextest-role="accountant"] #accHomePeriodForm {
    grid-template-columns:minmax(0,1fr);
  }
  body[data-nextest-role="accountant"] #accHomePeriodForm :is(input,button) {
    box-sizing:border-box;
    max-inline-size:100%;
  }
}

/* Keep the account actions above the adjacent header content. */
body[data-nextest-role="accountant"] #mgrCommandBar .mgr-topbar-left {
  position:relative;
  z-index:2;
}
