
/* SFR Smart ERP Live QA refinement 028 — theme fidelity + stronger typography */
.sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-ink:#0f172a;
  --sfr-erp-muted:#526176;
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-theme="dark"],
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"],
html[data-sfr-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-ink:#eef5ff;
  --sfr-erp-muted:#a9b8cb;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav{
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title h1,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name strong,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi strong,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-section h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-card h2{
  color:var(--sfr-erp-ink);font-weight:900;letter-spacing:-.015em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title p,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-empty,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-empty-intel{
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title p{font-size:13px;font-weight:650;line-height:1.75}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch>span{font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi span{font-size:12px;font-weight:850}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi small{font-size:10px;font-weight:650}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item{font-size:12.5px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item.is-active{color:var(--sfr-side-blue-strong,#1d4ed8)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-status-row{color:var(--sfr-erp-ink);font-weight:650}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick{color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-status-row,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick{
  background:var(--sfr-surface-subtle);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context select,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch select{
  background:var(--sfr-surface);color:var(--sfr-erp-ink);border-color:var(--sfr-border);
}

/* SFR Smart ERP Operational Workspace 027 */
[data-sfr-navigation-mode="erp"] .sfr-a01__search[hidden]{display:none!important}
.sfr-smart-erp-sidebar-context{padding:14px 14px 10px;border-bottom:1px solid var(--sfr-border,#dbe4f2);display:grid;gap:10px}
.sfr-smart-erp-sidebar-context>div{display:flex;flex-direction:column;gap:2px}.sfr-smart-erp-sidebar-context strong{font-size:16px;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a))}.sfr-smart-erp-sidebar-context small{font-size:11px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}
.sfr-smart-erp-sidebar-context label{display:grid;gap:5px}.sfr-smart-erp-sidebar-context label>span{font-size:10px;font-weight:800;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-smart-erp-sidebar-context select{width:100%;min-width:0;border:1px solid var(--sfr-border,#dbe4f2);border-radius:10px;background:var(--sfr-surface,#fff);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));padding:9px 10px;font:inherit;font-size:12px}
.sfr-smart-erp-nav{display:flex!important;flex-direction:column;gap:8px;padding:10px 10px 16px!important;overflow:auto}.sfr-smart-erp-nav__exam,.sfr-smart-erp-nav__back{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:12px;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));text-decoration:none;background:var(--sfr-surface,#fff)}.sfr-smart-erp-nav__exam strong{display:block;font-size:12px}.sfr-smart-erp-nav__exam small{display:block;font-size:9px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-smart-erp-nav__mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#245eea;color:#fff;font-weight:900;font-size:11px}.sfr-smart-erp-nav__back{justify-content:center;color:#245eea;font-weight:800;font-size:12px}
.sfr-smart-erp-nav__items{display:grid;gap:3px;margin-top:2px}.sfr-smart-erp-nav__item{width:100%;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;border:0;border-radius:10px;padding:10px 10px;background:transparent;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font:inherit;font-size:12px;font-weight:800;text-align:start}.sfr-smart-erp-nav__item.is-active{background:color-mix(in srgb,#2f6df6 10%,transparent);color:#245eea;border-inline-end:3px solid #2f6df6}.sfr-smart-erp-nav__item[aria-disabled="true"]{opacity:.72;cursor:default}.sfr-smart-erp-nav__item small{font-size:8px;font-weight:800;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));background:var(--sfr-surface-subtle,#f1f5f9);border-radius:999px;padding:2px 6px}.sfr-smart-erp-nav__icon{display:grid;place-items:center;font-size:15px;--sfr-icon-size:18px}.sfr-smart-erp-nav__icon .sfr-icon{display:block}
.sfr-smart-erp-main{padding:18px!important;min-width:0}.sfr-smart-erp-loading,.sfr-smart-erp-error,.sfr-smart-erp-gate{min-height:55vh;display:grid;place-items:center;align-content:center;gap:12px;text-align:center;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a))}.sfr-smart-erp-loading__mark,.sfr-smart-erp-gate__mark{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#245eea;color:#fff;font-weight:900;font-size:18px}.sfr-smart-erp-gate{max-width:650px;margin:auto}.sfr-smart-erp-gate h1{margin:4px 0 0;font-size:28px}.sfr-smart-erp-gate p{margin:0;max-width:540px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-smart-erp-gate__button{margin-top:8px;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:11px;background:#245eea;color:#fff;text-decoration:none;font-weight:900}
.sfr-smart-erp-shell{display:grid;gap:16px;max-width:1480px;margin:0 auto}.sfr-smart-erp-head{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.6fr);gap:16px;align-items:stretch}.sfr-smart-erp-head__title,.sfr-smart-erp-company,.sfr-smart-erp-kpi,.sfr-smart-erp-section,.sfr-smart-erp-card{border:1px solid var(--sfr-border,#dbe4f2);background:var(--sfr-surface,#fff);border-radius:16px;box-shadow:0 8px 24px rgba(21,46,84,.04)}.sfr-smart-erp-head__title{padding:22px}.sfr-smart-erp-head__title>span{display:inline-flex;padding:4px 9px;border-radius:999px;background:color-mix(in srgb,#2f6df6 10%,transparent);color:#245eea;font-size:10px;font-weight:900}.sfr-smart-erp-head__title h1{margin:9px 0 4px;font-size:34px;line-height:1}.sfr-smart-erp-head__title p{margin:0;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-size:12px}.sfr-smart-erp-company{padding:16px 18px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.35fr) minmax(150px,.7fr);gap:16px;align-items:center}.sfr-smart-erp-company__name{display:grid;gap:3px}.sfr-smart-erp-company__name span,.sfr-smart-erp-company__meta small,.sfr-smart-erp-company__switch>span{font-size:10px;font-weight:800;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-smart-erp-company__name strong{font-size:18px}.sfr-smart-erp-company__name small{font-size:10px;color:#245eea;font-weight:800}.sfr-smart-erp-company__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sfr-smart-erp-company__meta>span{display:grid;gap:2px;padding:9px 10px;border-radius:11px;background:var(--sfr-surface-subtle,#f1f5f9)}.sfr-smart-erp-company__meta b{font-size:12px}.sfr-smart-erp-company__meta .is-ready b{color:#0d9a62}.sfr-smart-erp-company__meta .is-warning b{color:#c47a12}.sfr-smart-erp-company__switch{display:grid;gap:5px}.sfr-smart-erp-company__switch select{width:100%;min-width:0;border:1px solid var(--sfr-border,#dbe4f2);border-radius:10px;padding:9px 10px;background:var(--sfr-surface,#fff);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font:inherit;font-size:11px}
.sfr-smart-erp-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.sfr-smart-erp-kpi{padding:15px;min-height:104px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.sfr-smart-erp-kpi>div{display:flex;align-items:end;justify-content:space-between;gap:10px}.sfr-smart-erp-kpi span{font-size:11px;font-weight:800;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-smart-erp-kpi strong{font-size:24px;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a))}.sfr-smart-erp-kpi small{font-size:9px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}
.sfr-smart-erp-section{padding:15px}.sfr-smart-erp-section__title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.sfr-smart-erp-section h2,.sfr-smart-erp-card h2{font-size:15px;margin:0}.sfr-smart-erp-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.sfr-smart-erp-quick{min-height:48px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:11px;background:var(--sfr-surface-subtle,#f1f5f9);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font:inherit;font-weight:900;display:flex;align-items:center;justify-content:center;gap:8px}.sfr-smart-erp-quick small{font-size:8px;font-weight:800;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-smart-erp-quick.is-primary{border-color:#9cbafc;background:color-mix(in srgb,#2f6df6 7%,var(--sfr-surface,#fff));color:#245eea}.sfr-smart-erp-quick:disabled{opacity:.82}
.sfr-smart-erp-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sfr-smart-erp-card{padding:15px}.sfr-smart-erp-card>header{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid var(--sfr-border,#e6ebf3)}.sfr-smart-erp-status-list{display:grid;gap:7px;padding-top:10px}.sfr-smart-erp-status-row{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:10px;background:var(--sfr-surface-subtle,#f1f5f9);font-size:11px}.sfr-smart-erp-status-row strong{font-size:11px}.sfr-smart-erp-status-row.is-good strong{color:#0d9a62}.sfr-smart-erp-status-row.is-warn strong{color:#c47a12}.sfr-smart-erp-empty-intel,.sfr-smart-erp-empty{min-height:150px;display:grid;place-items:center;align-content:center;text-align:center;gap:7px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-smart-erp-empty-intel span,.sfr-smart-erp-empty span{font-size:26px;color:#5e83e7}.sfr-smart-erp-empty-intel p,.sfr-smart-erp-empty p{margin:0;max-width:560px;font-size:11px;line-height:1.8}.sfr-smart-erp-recent{min-height:185px}
@media(max-width:1180px){.sfr-smart-erp-head{grid-template-columns:1fr}.sfr-smart-erp-company{grid-template-columns:1fr 1.2fr}.sfr-smart-erp-company__switch{grid-column:1/-1}.sfr-smart-erp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.sfr-smart-erp-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sfr-smart-erp-main{padding:12px!important}.sfr-smart-erp-company{grid-template-columns:1fr}.sfr-smart-erp-company__meta{grid-template-columns:1fr}.sfr-smart-erp-kpis,.sfr-smart-erp-quick-grid,.sfr-smart-erp-grid{grid-template-columns:1fr}.sfr-smart-erp-head__title h1{font-size:28px}}
html[data-theme="dark"] .sfr-smart-erp-head__title,html[data-theme="dark"] .sfr-smart-erp-company,html[data-theme="dark"] .sfr-smart-erp-kpi,html[data-theme="dark"] .sfr-smart-erp-section,html[data-theme="dark"] .sfr-smart-erp-card,html[data-theme="dark"] .sfr-smart-erp-nav__exam,html[data-theme="dark"] .sfr-smart-erp-nav__back{box-shadow:none}

/* SFR Smart ERP Typography & Readability 029
   Scope: visual readability only. No navigation, theme state, backend or accounting logic. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-ink:#0b1220;
  --sfr-erp-ink-2:#1e293b;
  --sfr-erp-muted:#3f4b5f;
  --sfr-erp-muted-soft:#596579;
  color:var(--sfr-erp-ink);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-theme="dark"],
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"],
html[data-sfr-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-ink:#f8fafc;
  --sfr-erp-ink-2:#e6edf7;
  --sfr-erp-muted:#c6d0df;
  --sfr-erp-muted-soft:#aeb9ca;
}

/* Main hierarchy: stronger, darker, but not oversized. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title h1{
  font-size:35px;
  font-weight:900;
  line-height:1.12;
  letter-spacing:-.018em;
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title p{
  font-size:14px;
  font-weight:700;
  line-height:1.8;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>span{
  font-size:10.5px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name strong{
  font-size:20px;
  font-weight:900;
  line-height:1.35;
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch>span{
  font-size:11px;
  font-weight:800;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name small{
  font-size:10.5px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta b{
  font-size:13px;
  font-weight:850;
  color:var(--sfr-erp-ink-2);
}

/* KPI readability */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi span{
  font-size:13px;
  font-weight:800;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi strong{
  font-size:26px;
  font-weight:900;
  line-height:1.1;
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi small{
  font-size:10.5px;
  font-weight:700;
  line-height:1.55;
  color:var(--sfr-erp-muted-soft);
}

/* Section and card typography */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-section h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-card h2{
  font-size:17px;
  font-weight:900;
  line-height:1.35;
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-status-row{
  font-size:12.5px;
  font-weight:700;
  color:var(--sfr-erp-ink-2);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-status-row strong{
  font-size:12.5px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-empty-intel p,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-empty p{
  font-size:12.5px;
  font-weight:650;
  line-height:1.9;
  color:var(--sfr-erp-muted);
}

/* Quick actions: clearer button labels and secondary 'soon' marker. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick{
  font-size:13px;
  font-weight:850;
  color:var(--sfr-erp-ink-2);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick small{
  font-size:9.5px;
  font-weight:800;
  color:var(--sfr-erp-muted-soft);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick:disabled{
  opacity:1;
  cursor:not-allowed;
}

/* Same physical SFR sidebar in ERP mode: make navigation readable without making disabled modules look active. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context strong{
  font-size:17px;
  font-weight:900;
  line-height:1.35;
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context small{
  font-size:11px;
  font-weight:700;
  line-height:1.55;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context label>span{
  font-size:10.5px;
  font-weight:850;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context select{
  font-size:12.5px;
  font-weight:700;
  color:var(--sfr-erp-ink-2);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__exam strong{
  font-size:13px;
  font-weight:900;
  color:var(--sfr-erp-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__exam small{
  font-size:10px;
  font-weight:700;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__back{
  font-size:13px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item{
  font-size:13.5px;
  font-weight:800;
  line-height:1.45;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item[aria-disabled="true"]{
  opacity:1;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item[aria-disabled="true"] .sfr-smart-erp-nav__icon{
  opacity:.82;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item small{
  font-size:9px;
  font-weight:850;
  color:var(--sfr-erp-muted-soft);
  opacity:1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item.is-active{
  color:var(--sfr-side-blue-strong,#1d4ed8);
  font-weight:900;
}

/* Inputs stay crisp and consistent with the stronger text hierarchy. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch select,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context select{
  color:var(--sfr-erp-ink-2);
}

@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title h1{font-size:29px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item{font-size:13px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi strong{font-size:24px}
}

/* SFR Smart ERP High Readability & Contrast 030
   Scope: typography, text contrast, card/background separation only.
   No navigation state, backend, database, accounting, GL/TB or theme-switch logic changes. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-ink:#020617;
  --sfr-erp-ink-2:#111827;
  --sfr-erp-muted:#334155;
  --sfr-erp-muted-soft:#475569;
  --sfr-erp-border-strong:#cbd5e1;
  --sfr-erp-panel:#ffffff;
  --sfr-erp-panel-subtle:#f4f7fb;
  --sfr-erp-panel-muted:#edf2f7;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-theme="dark"],
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"],
html[data-sfr-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-ink:#f8fafc;
  --sfr-erp-ink-2:#eef2f7;
  --sfr-erp-muted:#d5deea;
  --sfr-erp-muted-soft:#bbc7d6;
  --sfr-erp-border-strong:#3a4a61;
  --sfr-erp-panel:#111827;
  --sfr-erp-panel-subtle:#182235;
  --sfr-erp-panel-muted:#202c40;
}

/* Strong baseline readability across the operational workspace. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav{
  color:var(--sfr-erp-ink-2);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main :where(p,span,small,label,button,select,option,td,th){
  text-shadow:none;
}

/* Panel separation: slightly stronger than 029 so text no longer floats on a pale field. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-section,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-card,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__exam,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__back{
  background:var(--sfr-erp-panel);
  border-color:var(--sfr-erp-border-strong);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-status-row,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item small{
  background:var(--sfr-erp-panel-subtle);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context select,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch select{
  background:var(--sfr-erp-panel);
  border-color:var(--sfr-erp-border-strong);
}

/* Main title and supporting copy. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title h1{
  color:var(--sfr-erp-ink);
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title p{
  color:var(--sfr-erp-muted);
  font-size:14.5px;
  font-weight:750;
  line-height:1.85;
}

/* Company context: make the labels genuinely readable, not decorative gray. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name strong{
  color:var(--sfr-erp-ink);
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__name span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch>span{
  color:var(--sfr-erp-muted);
  font-size:11.5px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__meta b,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company__switch select{
  color:var(--sfr-erp-ink-2);
  font-weight:800;
}

/* KPI hierarchy. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi span{
  color:var(--sfr-erp-muted);
  font-size:13.5px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi strong{
  color:var(--sfr-erp-ink);
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi small{
  color:var(--sfr-erp-muted-soft);
  font-size:11px;
  font-weight:750;
}

/* Cards, status rows, intelligence copy. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-section h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-card h2{
  color:var(--sfr-erp-ink);
  font-size:17.5px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-status-row{
  color:var(--sfr-erp-ink-2);
  font-size:13px;
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-status-row strong{
  font-size:13px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-empty-intel p,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-empty p{
  color:var(--sfr-erp-muted);
  font-size:13px;
  font-weight:700;
}

/* Quick actions: readable even when disabled / upcoming. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick{
  color:var(--sfr-erp-ink-2);
  border-color:var(--sfr-erp-border-strong);
  font-size:13.5px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick small{
  color:var(--sfr-erp-muted-soft);
  font-size:10px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick:disabled{
  opacity:1;
  color:var(--sfr-erp-ink-2);
}

/* ERP sidebar: strongest improvement requested in QA. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context strong{
  color:var(--sfr-erp-ink);
  font-size:17.5px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context label>span{
  color:var(--sfr-erp-muted);
  font-weight:800;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context select{
  color:var(--sfr-erp-ink-2);
  font-size:13px;
  font-weight:800;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__exam strong{
  color:var(--sfr-erp-ink);
  font-size:13.5px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__exam small{
  color:var(--sfr-erp-muted);
  font-size:10.5px;
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__back{
  font-size:13.5px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item{
  color:var(--sfr-erp-muted);
  font-size:14px;
  font-weight:850;
  line-height:1.5;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item[aria-disabled="true"]{
  opacity:1;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item[aria-disabled="true"] .sfr-smart-erp-nav__icon{
  opacity:1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item small{
  color:var(--sfr-erp-muted-soft);
  font-size:9.5px;
  font-weight:900;
  opacity:1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item.is-active{
  color:var(--sfr-side-blue-strong,#1d4ed8);
  font-weight:900;
}

/* Dark mode: preserve high contrast without turning the UI into pure black/white. */
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item.is-active,
html[data-sfr-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item.is-active,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-theme="dark"] .sfr-smart-erp-nav__item.is-active{
  color:#8fb4ff;
  background:rgba(47,109,246,.16);
}

@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item{font-size:13.5px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title p{font-size:14px}
}

/* SFR Smart ERP Brand + Transition 033
   Canonical ERP consumer enhancement: approved logo asset + theme/i18n transition state.
   Assets are plugin-relative so staging -> production migrations do not hard-code hosts. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-brand-blue:#0a6cff;
  --sfr-erp-brand-navy:#0d1b42;
  --sfr-erp-brand-gold:#f5b21a;
  --sfr-erp-transition-bg:linear-gradient(145deg,#f8fbff 0%,#eef5ff 48%,#ffffff 100%);
  --sfr-erp-transition-ink:#0d1b42;
  --sfr-erp-transition-muted:#4d607d;
  --sfr-erp-transition-track:#dce7f7;
  --sfr-erp-transition-panel:rgba(255,255,255,.82);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-theme="dark"],
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"],
html[data-sfr-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-transition-bg:radial-gradient(circle at 50% 38%,#0c3173 0%,#061c45 36%,#04132f 70%,#020b1d 100%);
  --sfr-erp-transition-ink:#f8fbff;
  --sfr-erp-transition-muted:#c4d2e5;
  --sfr-erp-transition-track:#173664;
  --sfr-erp-transition-panel:rgba(5,24,57,.74);
}
html[data-theme="light"] .sfr-a01[data-sfr-tool-id="business-accounting-management"],
html[data-sfr-theme="light"] .sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  --sfr-erp-transition-bg:linear-gradient(145deg,#f8fbff 0%,#eef5ff 48%,#ffffff 100%);
  --sfr-erp-transition-ink:#0d1b42;
  --sfr-erp-transition-muted:#4d607d;
  --sfr-erp-transition-track:#dce7f7;
  --sfr-erp-transition-panel:rgba(255,255,255,.82);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main{position:relative;}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-brand-icon,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__logo{
  display:block;
  flex:0 0 auto;
  background-image:url('../../brand/smart-erp/logos/smart-erp-icon.png');
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-brand{
  display:flex;align-items:center;gap:9px;min-width:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-brand>.sfr-smart-erp-brand-icon{
  width:38px;height:38px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-brand__copy{
  display:flex;flex-direction:column;gap:1px;min-width:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand{
  display:flex;align-items:center;gap:12px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>.sfr-smart-erp-brand-icon{
  width:58px;height:58px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>div{min-width:0;}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>div>span{
  display:inline-flex;padding:4px 9px;border-radius:999px;background:color-mix(in srgb,#2f6df6 10%,transparent);color:#245eea;font-size:10.5px;font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand h1{margin:7px 0 0;}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>span{display:none;}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-gate__mark.sfr-smart-erp-brand-icon{
  width:92px;height:92px;border-radius:0;background-color:transparent;font-size:0;
}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition{
  min-height:clamp(560px,calc(100dvh - 118px),860px);
  display:grid;place-items:center;
  padding:clamp(20px,4vw,54px);
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:24px;
  overflow:hidden;
  color:var(--sfr-erp-transition-ink);
  background:var(--sfr-erp-transition-bg);
  box-shadow:0 24px 70px rgba(13,27,66,.09);
  position:relative;
  isolation:isolate;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition::before,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition::after{
  content:"";position:absolute;inset:auto;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(10px);opacity:.5;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition::before{
  width:520px;height:220px;left:50%;top:28%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(10,108,255,.18),transparent 70%);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition::after{
  width:720px;height:280px;left:50%;bottom:-190px;transform:translateX(-50%);border:1px solid color-mix(in srgb,var(--sfr-erp-brand-blue) 20%,transparent);box-shadow:0 0 70px rgba(10,108,255,.12) inset;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__stage{
  width:min(760px,100%);display:grid;justify-items:center;text-align:center;gap:12px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__visual{
  width:clamp(180px,26vw,260px);aspect-ratio:1;position:relative;display:grid;place-items:center;margin-bottom:2px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__logo{
  width:100%;height:100%;filter:drop-shadow(0 18px 30px rgba(10,108,255,.22));animation:sfrErpLogoFloat 3.4s ease-in-out infinite;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__spark{
  position:absolute;width:13px;height:13px;border-radius:3px;background:linear-gradient(145deg,#ffd66b,var(--sfr-erp-brand-gold));box-shadow:0 0 16px rgba(245,178,26,.55);animation:sfrErpGoldLift 1.9s ease-in-out infinite;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__spark.s1{inset-inline-end:12%;top:20%;animation-delay:-.15s}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__spark.s2{inset-inline-end:5%;top:33%;width:10px;height:10px;animation-delay:-.55s}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__spark.s3{inset-inline-start:11%;bottom:21%;width:9px;height:9px;animation-delay:-.95s}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__spark.s4{inset-inline-start:5%;bottom:35%;width:7px;height:7px;animation-delay:-1.35s}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__brand strong{
  display:block;font-family:Inter,Cairo,sans-serif;font-size:clamp(34px,5vw,54px);font-weight:900;letter-spacing:-.035em;line-height:1;color:var(--sfr-erp-transition-ink);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__brand strong b{color:var(--sfr-erp-brand-blue);}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__brand i{
  display:block;width:150px;height:2px;margin:13px auto 0;background:linear-gradient(90deg,transparent,var(--sfr-erp-brand-gold) 35%,var(--sfr-erp-brand-gold) 65%,transparent);position:relative;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__brand i::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:var(--sfr-erp-brand-gold);left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 12px rgba(245,178,26,.4);}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition h1{margin:6px 0 0;font-size:clamp(22px,3.2vw,31px);font-weight:900;color:var(--sfr-erp-transition-ink);}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition p{margin:0;font-size:clamp(13px,1.8vw,16px);font-weight:700;color:var(--sfr-erp-transition-muted);}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__progress{
  width:min(520px,88%);height:9px;border-radius:999px;margin-top:10px;background:var(--sfr-erp-transition-track);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(38,83,145,.12);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__progress span{
  display:block;height:100%;width:38%;border-radius:inherit;background:linear-gradient(90deg,#1467ff,#15b7ff);box-shadow:0 0 18px rgba(21,183,255,.7);animation:sfrErpProgress 1.65s ease-in-out infinite;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__benefits{
  width:min(680px,100%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid color-mix(in srgb,var(--sfr-erp-transition-muted) 20%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__benefits span{
  display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;font-size:11px;font-weight:800;color:var(--sfr-erp-transition-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__benefits i{font-style:normal;color:var(--sfr-erp-brand-blue);font-size:17px;}
@keyframes sfrErpGoldLift{0%,100%{transform:translateY(8px) scale(.92);opacity:.65}50%{transform:translateY(-14px) scale(1.06);opacity:1}}
@keyframes sfrErpLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes sfrErpProgress{0%{transform:translateX(-110%)}50%{transform:translateX(105%)}100%{transform:translateX(240%)}}
html[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__progress span{animation-name:sfrErpProgressRtl;}
@keyframes sfrErpProgressRtl{0%{transform:translateX(110%)}50%{transform:translateX(-105%)}100%{transform:translateX(-240%)}}
@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition{min-height:calc(100dvh - 92px);padding:24px 14px;border-radius:18px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__benefits{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>.sfr-smart-erp-brand-icon{width:48px;height:48px}
}
@media(prefers-reduced-motion:reduce){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__logo,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__spark,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__progress span{animation:none!important;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-transition__progress span{width:70%;}
}

/* Canonical single-transition lifecycle: the server bootstrap is the Smart ERP loader
   and the central A02 runtime preserves this exact node until the ERP consumer is ready. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] > .sfr-a01__bootstrap--smart-erp[data-sfr-smart-erp-bootstrap]{
  position:fixed;inset:0;z-index:120;width:100%;min-height:100vh;min-height:100dvh;padding:0;display:block;overflow:hidden;text-align:inherit;background:var(--sfr-erp-transition-bg);opacity:1;pointer-events:auto;transition:opacity .18s ease;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] > .sfr-a01__bootstrap--smart-erp[data-sfr-smart-erp-bootstrap] > .sfr-smart-erp-transition{
  width:100%;min-height:100vh;min-height:100dvh;border:0;border-radius:0;box-shadow:none;margin:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] > .sfr-a01__bootstrap--smart-erp[data-sfr-smart-erp-bootstrap][data-sfr-erp-transition-exit="true"]{
  opacity:0;pointer-events:none;
}
@media(prefers-reduced-motion:reduce){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] > .sfr-a01__bootstrap--smart-erp[data-sfr-smart-erp-bootstrap]{transition:none!important;}
}

/* Patch 032 — Active Company Context in canonical topbar + compact dashboard hero.
   Company selection remains authoritative in the existing Smart ERP sidebar. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar{
  gap:10px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
  flex:1 1 460px;
  min-width:220px;
  max-width:560px;
  height:48px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px;
  gap:8px;
  align-items:stretch;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta{
  border:1px solid var(--sfr-border,#dbe4f2);
  background:var(--sfr-surface,#fff);
  border-radius:10px;
  box-shadow:0 4px 14px color-mix(in srgb,var(--sfr-ink,#0f172a) 5%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding-inline:14px;
  overflow:hidden;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--sfr-ink,#0f172a);
  font-size:15.5px;
  font-weight:900;
  line-height:1.2;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company small{
  flex:0 0 auto;
  color:var(--sfr-brand-700,#1d4ed8);
  font:800 9px/1.2 Inter,Cairo,sans-serif;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta{
  display:grid;
  grid-template-rows:1fr 1fr;
  overflow:hidden;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta>span{
  min-width:0;
  display:grid;
  place-items:center;
  padding:1px 6px;
  color:var(--sfr-ink,#0f172a);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta>span+span{
  border-top:1px solid var(--sfr-border,#dbe4f2);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta b{
  font:900 10.5px/1 Inter,Cairo,sans-serif;
  letter-spacing:.01em;
  white-space:nowrap;
}

/* The duplicated company/setup/switch card is removed from the dashboard.
   Keep the Smart ERP product identity, but compress it to return vertical space. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head{
  grid-template-columns:minmax(0,1fr);
  gap:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title{
  min-height:76px;
  padding:12px 18px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px 20px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand{
  min-width:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>.sfr-smart-erp-brand-icon{
  width:46px;
  height:46px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand h1{
  margin-top:4px;
  font-size:30px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>p{
  margin:0;
  max-width:none;
  align-self:center;
}

@media(max-width:1080px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    flex-basis:360px;
    max-width:440px;
    grid-template-columns:minmax(0,1fr) 82px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company small{display:none}
}
@media(max-width:820px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__breadcrumbs{max-width:126px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    flex-basis:270px;
    min-width:180px;
    grid-template-columns:minmax(0,1fr) 70px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company{padding-inline:9px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{font-size:13px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta b{font-size:9.5px}
}
@media(max-width:600px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    height:44px;
    flex:1 1 auto;
    min-width:0;
    max-width:none;
    grid-template-columns:minmax(0,1fr) 62px;
    gap:5px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-start .sfr-a01__breadcrumbs{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{font-size:12px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title{
    grid-template-columns:1fr;
    min-height:0;
    padding:12px 14px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>p{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>.sfr-smart-erp-brand-icon{width:40px;height:40px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand h1{font-size:26px}
}

/* Patch 034 — Smart ERP topbar refinement.
   Open context typography, currency/FY divider, live browser-local clock/date,
   and the product lead placed below the Smart ERP brand to free horizontal space. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
  flex-basis:590px;
  max-width:650px;
  height:48px;
  grid-template-columns:minmax(210px,1fr) 82px 116px;
  gap:9px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta{
  border:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company{
  position:relative;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:1px;
  padding:2px 14px 5px;
  overflow:hidden;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company::after{
  content:"";
  position:absolute;
  inset-inline-start:50%;
  bottom:1px;
  width:38px;
  height:2px;
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(90deg,transparent,var(--sfr-erp-brand-gold,#f5b21a) 24%,var(--sfr-erp-brand-gold,#f5b21a) 76%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company__label{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--sfr-muted,#64748b);
  font-family:Cairo,Inter,sans-serif;
  font-size:8.5px;
  font-weight:800;
  line-height:1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{
  font-family:Cairo,Inter,sans-serif;
  font-size:16.5px;
  font-weight:900;
  line-height:1.28;
  letter-spacing:-.015em;
  color:var(--sfr-ink,#0f172a);
}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{
  font-family:Inter,Cairo,sans-serif;
  letter-spacing:-.02em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta{
  display:grid;
  grid-template-rows:1fr 1fr;
  align-self:stretch;
  overflow:visible;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta>span{
  padding:1px 4px;
  background:transparent;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta>span+span{
  border-top:1px solid color-mix(in srgb,var(--sfr-ink,#0f172a) 18%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta b{
  font-family:Inter,Cairo,sans-serif;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.015em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock{
  min-width:0;
  align-self:center;
  display:grid;
  justify-items:center;
  gap:2px;
  padding-inline-start:9px;
  border-inline-start:1px solid color-mix(in srgb,var(--sfr-ink,#0f172a) 13%,transparent);
  color:var(--sfr-ink,#0f172a);
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock b{
  font:900 14px/1 Inter,Cairo,sans-serif;
  letter-spacing:.035em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{
  color:var(--sfr-muted,#64748b);
  font:800 8.5px/1.15 Inter,Cairo,sans-serif;
  letter-spacing:.01em;
}

/* Put the explanatory sentence below the Smart ERP identity instead of beside it. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title{
  min-height:76px;
  padding:9px 18px 10px;
  display:flex;
  flex-direction:column;
  align-items:start;
  justify-content:center;
  gap:2px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>.sfr-smart-erp-brand-icon{
  width:44px;
  height:44px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand h1{
  margin-top:3px;
  font-size:29px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>p{
  margin:0;
  margin-inline-start:56px;
  max-width:430px;
  color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));
  font-size:11.5px;
  font-weight:800;
  line-height:1.35;
}

@media(max-width:1080px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    flex-basis:470px;
    max-width:520px;
    grid-template-columns:minmax(180px,1fr) 74px 104px;
  }
}
@media(max-width:820px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    flex-basis:350px;
    min-width:220px;
    grid-template-columns:minmax(130px,1fr) 64px 84px;
    gap:5px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company__label{display:none;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{font-size:13.5px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock{padding-inline-start:5px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock b{font-size:12px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{font-size:7.5px;}
}
@media(max-width:600px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    height:44px;
    grid-template-columns:minmax(0,1fr) 58px 48px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company{padding-inline:5px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company::after{width:26px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{font-size:12px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{display:none;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock{padding-inline-start:3px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title{padding:9px 14px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>p{
    display:block;
    margin-inline-start:50px;
    max-width:calc(100% - 50px);
    font-size:10.5px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand>.sfr-smart-erp-brand-icon{width:40px;height:40px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand h1{font-size:25px;}
}

/* Patch 035 — Header readability refinement.
   Keep the accepted 034 composition; only improve scanability of the numeric date
   and the active-company context label using existing shared theme tokens. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company__label{
  font-size:10px;
  font-weight:900;
  line-height:1.12;
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 72%,var(--sfr-muted,#64748b));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{
  font-size:10px;
  font-weight:850;
  line-height:1.18;
  letter-spacing:.015em;
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 68%,var(--sfr-muted,#64748b));
}
@media(max-width:820px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{
    font-size:8.75px;
  }
}

/* Patch 036 — Compact Smart ERP identity card.
   Keep the product identity and explanatory line as one tight visual unit so the
   dashboard header does not reserve unused horizontal space. No runtime logic changes. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head{
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title{
  width:max-content;
  max-width:100%;
  min-height:0;
  padding:9px 16px 10px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__brand{
  width:max-content;
  max-width:100%;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>p{
  margin:0;
  margin-inline-start:0;
  width:auto;
  max-width:360px;
  text-align:start;
  font-size:11.5px;
  line-height:1.35;
}
@media(max-width:600px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title{
    width:100%;
    padding:9px 12px 10px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-head__title>p{
    display:block;
    max-width:100%;
    margin-inline-start:0;
    font-size:10.5px;
  }
}


/* Patch 037 — Executive KPI Strip.
   Reuses the existing canonical KPI markup at the top of the Smart ERP workspace,
   removes duplicated product branding from the dashboard body, and returns the
   released space to daily operational content. No parallel KPI component/runtime. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell{
  gap:12px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpis{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  overflow:hidden;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:16px;
  background:var(--sfr-surface,#fff);
  box-shadow:0 8px 24px color-mix(in srgb,var(--sfr-ink,#0f172a) 5%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi{
  min-width:0;
  min-height:82px;
  padding:11px 15px;
  gap:5px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi+.sfr-smart-erp-kpi{
  border-inline-start:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 88%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi>div{
  align-items:center;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi span{
  font-size:12px;
  font-weight:900;
  line-height:1.25;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi strong{
  font-size:23px;
  line-height:1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi small{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9.5px;
  line-height:1.25;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-section{
  margin-top:0;
}
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpis{
  box-shadow:none;
}
@media(max-width:980px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpis{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi{
    min-height:78px;
    border:1px solid var(--sfr-border,#dbe4f2);
    border-radius:13px;
    background:var(--sfr-surface,#fff);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi+.sfr-smart-erp-kpi{
    border-inline-start:1px solid var(--sfr-border,#dbe4f2);
  }
}
@media(max-width:640px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi:last-child{
    grid-column:1/-1;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi small{
    white-space:normal;
  }
}
@media(max-width:420px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpis{
    grid-template-columns:1fr;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi:last-child{
    grid-column:auto;
  }
}

/* Patch 038 — Central access foundation visual consumer.
   The same canonical Smart ERP sidebar/dashboard is filtered by server-returned
   effective capabilities. No role-specific sidebar or dashboard runtime is created. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-role-field{
  padding-top:9px;
  border-top:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 78%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-role-field select{
  font-weight:800;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-role-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:72px;
  padding:14px 18px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:16px;
  background:var(--sfr-surface,#fff);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-role-summary strong{
  color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));
  font-size:15px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-role-summary span{
  color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));
  font-size:11.5px;
  font-weight:700;
  line-height:1.55;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpis{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick-grid{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
}
@media(max-width:640px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-role-summary{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpis,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick-grid{
    grid-template-columns:repeat(auto-fit,minmax(135px,1fr));
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-kpi:last-child{
    grid-column:auto;
  }
}

/* Patch 041 — Permission-aware Accounting Workspace surface.
   Reuses the existing central Accounting/GL/TB UI classes and data APIs inside
   the canonical Smart ERP main workspace; no second accounting runtime. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main .sfr-accounting-workspace{
  max-width:100%;
  padding-top:4px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main .sfr-accounting-tabs{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main .sfr-accounting-controls .sfr-account-secondary{
  width:100%;
  min-height:38px;
}
@media(max-width:680px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main .sfr-accounting-tabs{
    grid-template-columns:1fr;
  }
}

/* Patch 043 — General Journal Voucher.
   Operational journal entry inside the canonical Smart ERP Accounting Workspace.
   Uses the central posting engine and Shared Theme Tokens; no parallel runtime. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main .sfr-accounting-tabs{
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick.is-enabled{
  cursor:pointer;
  border-color:color-mix(in srgb,var(--sfr-primary,#2563eb) 36%,var(--sfr-border,#dbe4f2));
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-quick.is-enabled:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--sfr-primary,#2563eb) 60%,var(--sfr-border,#dbe4f2));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor{
  display:grid;
  gap:14px;
  padding:16px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:16px;
  background:var(--sfr-surface,#fff);
  color:var(--sfr-ink,#0f172a);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list>header,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor h2{
  margin:0;
  font-size:20px;
  font-weight:900;
  color:var(--sfr-ink,#0f172a);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list p,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor p{
  margin:4px 0 0;
  color:var(--sfr-muted,#64748b);
  font-size:11.5px;
  font-weight:650;
  line-height:1.6;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-primary,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-secondary,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-danger,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-add-line,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-remove{
  min-height:38px;
  padding:8px 14px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:10px;
  background:var(--sfr-surface,#fff);
  color:var(--sfr-ink,#0f172a);
  font:inherit;
  font-weight:850;
  cursor:pointer;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-primary{
  border-color:var(--sfr-primary,#2563eb);
  background:var(--sfr-primary,#2563eb);
  color:#fff;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-danger{
  border-color:color-mix(in srgb,#dc2626 52%,var(--sfr-border,#dbe4f2));
  background:color-mix(in srgb,#dc2626 8%,var(--sfr-surface,#fff));
  color:#b91c1c;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-primary:disabled,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-secondary:disabled,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-add-line:disabled,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-remove:disabled{
  cursor:not-allowed;
  opacity:.55;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-message{
  padding:10px 12px;
  border:1px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 24%,var(--sfr-border,#dbe4f2));
  border-radius:10px;
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 5%,var(--sfr-surface,#fff));
  font-size:11px;
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:4px 9px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:999px;
  background:var(--sfr-soft,#f8fafc);
  color:var(--sfr-ink,#0f172a);
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-status.is-posted,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-status.is-approved{
  border-color:color-mix(in srgb,#16a34a 38%,var(--sfr-border,#dbe4f2));
  background:color-mix(in srgb,#16a34a 7%,var(--sfr-surface,#fff));
  color:#15803d;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-status.is-validated{
  border-color:color-mix(in srgb,#d97706 38%,var(--sfr-border,#dbe4f2));
  background:color-mix(in srgb,#d97706 7%,var(--sfr-surface,#fff));
  color:#b45309;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-status.is-reversed{
  border-color:color-mix(in srgb,#64748b 40%,var(--sfr-border,#dbe4f2));
  color:var(--sfr-muted,#64748b);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid{
  display:grid;
  grid-template-columns:minmax(150px,.8fr) minmax(160px,1fr) minmax(280px,2fr) minmax(120px,.65fr);
  gap:10px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid label,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-reversal-date,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-dimension{
  display:grid;
  gap:5px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid label>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-reversal-date>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-dimension>span{
  color:var(--sfr-muted,#64748b);
  font-size:9.5px;
  font-weight:800;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor select{
  width:100%;
  min-width:0;
  min-height:36px;
  padding:7px 9px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:8px;
  background:var(--sfr-surface,#fff);
  color:var(--sfr-ink,#0f172a);
  font:inherit;
  font-size:11px;
  font-weight:700;
  outline:none;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor input:focus,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor select:focus{
  border-color:var(--sfr-primary,#2563eb);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--sfr-primary,#2563eb) 13%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor input:disabled,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor select:disabled{
  opacity:.76;
  background:var(--sfr-soft,#f8fafc);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-currency-note{
  margin-top:-7px;
  font-size:9.5px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table{
  width:100%;
  overflow:visible;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:12px;
  background:var(--sfr-surface,#fff);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table table,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table td{
  padding:8px;
  border-bottom:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 82%,transparent);
  vertical-align:top;
  font-size:10.5px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table th{
  background:var(--sfr-soft,#f8fafc);
  color:var(--sfr-muted,#64748b);
  font-size:9.5px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tr:last-child td,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table tr:last-child td{
  border-bottom:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(1){width:36px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(2){width:21%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(3),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(4){width:10%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(5){width:18%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(6){width:15%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(7){width:20%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(8){width:42px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-dimensions{
  display:grid;
  gap:6px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-remove{
  width:30px;
  min-height:30px;
  padding:0;
  border-radius:8px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-add-line{
  justify-self:start;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary article{
  padding:11px 13px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:11px;
  background:var(--sfr-soft,#f8fafc);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary small{
  display:block;
  color:var(--sfr-muted,#64748b);
  font-size:9.5px;
  font-weight:800;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary strong{
  display:block;
  margin-top:4px;
  font-size:16px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary .is-pass{
  border-color:color-mix(in srgb,#16a34a 42%,var(--sfr-border,#dbe4f2));
  background:color-mix(in srgb,#16a34a 6%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary .is-fail{
  border-color:color-mix(in srgb,#d97706 40%,var(--sfr-border,#dbe4f2));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-actions{
  display:flex;
  align-items:end;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-reversal-date{
  min-width:170px;
}
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-danger{
  color:#fecaca;
}
@media(max-width:980px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table thead{
    display:none;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table table,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tbody,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tr,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td{
    display:block;
    width:100%!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tr{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:10px;
    border-bottom:1px solid var(--sfr-border,#dbe4f2);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td{
    padding:0;
    border:0;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td[data-label]::before{
    content:attr(data-label);
    display:block;
    margin-bottom:4px;
    color:var(--sfr-muted,#64748b);
    font-size:9px;
    font-weight:800;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-line-no{
    grid-column:1/-1;
    font-weight:900;
  }
}
@media(max-width:640px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor{
    padding:12px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list>header,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tr{
    grid-template-columns:1fr;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table{
    border:0;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table thead{
    display:none;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table tr{
    display:grid;
    gap:6px;
    margin-bottom:9px;
    padding:10px;
    border:1px solid var(--sfr-border,#dbe4f2);
    border-radius:10px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table td{
    display:block;
    padding:2px 0;
    border:0;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-actions{
    align-items:stretch;
    flex-direction:column;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-actions>*{
    width:100%;
  }
}

/* 045 — General Journal premium readability & professional visual hierarchy */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor{
  gap:16px;
  padding:20px;
  border-color:color-mix(in srgb,var(--sfr-border,#dbe4f2) 86%,var(--sfr-ink,#0f172a) 14%);
  border-radius:18px;
  box-shadow:var(--sfr-shadow-sm,0 1px 2px rgba(15,23,42,.05));
  font-family:var(--sfr-font-ar,"Cairo","Noto Sans Arabic",Tahoma,Arial,sans-serif);
}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list,
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor{
  font-family:var(--sfr-font-latin,Inter,system-ui,-apple-system,"Segoe UI",sans-serif);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list>header,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor-head{
  min-height:70px;
  padding:2px 2px 15px;
  border-bottom:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 86%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor h2{
  font-size:clamp(21px,1.65vw,25px);
  line-height:1.3;
  font-weight:900;
  letter-spacing:-.015em;
  color:var(--sfr-ink,#0f172a);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list p,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor p{
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 70%,var(--sfr-muted,#64748b));
  font-size:13px;
  font-weight:700;
  line-height:1.75;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-primary,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-secondary,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-danger,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-add-line{
  min-height:42px;
  padding:9px 16px;
  border-radius:11px;
  font-size:12.5px;
  font-weight:850;
  transition:transform var(--sfr-transition,180ms ease),border-color var(--sfr-transition,180ms ease),background var(--sfr-transition,180ms ease),box-shadow var(--sfr-transition,180ms ease);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-primary:not(:disabled):hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-secondary:not(:disabled):hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-add-line:not(:disabled):hover{
  transform:translateY(-1px);
  box-shadow:var(--sfr-shadow-sm,0 1px 2px rgba(15,23,42,.05));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-status{
  position:relative;
  gap:7px;
  min-height:30px;
  padding:5px 11px;
  font-size:11px;
  font-weight:900;
  border-color:color-mix(in srgb,var(--sfr-border,#dbe4f2) 78%,var(--sfr-ink,#0f172a) 22%);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-status::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:currentColor;
  opacity:.78;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid{
  gap:12px;
  padding:14px;
  border:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 86%,transparent);
  border-radius:14px;
  background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 74%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid label>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-reversal-date>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-dimension>span{
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 76%,var(--sfr-muted,#64748b));
  font-size:11.5px;
  font-weight:850;
  line-height:1.45;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor select{
  min-height:42px;
  padding:8px 10px;
  border-color:color-mix(in srgb,var(--sfr-border,#dbe4f2) 82%,var(--sfr-ink,#0f172a) 18%);
  border-radius:9px;
  color:var(--sfr-ink,#0f172a);
  font-size:12.5px;
  font-weight:750;
  line-height:1.4;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor input::placeholder{
  color:color-mix(in srgb,var(--sfr-muted,#64748b) 82%,transparent);
  opacity:1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor input:focus,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor select:focus{
  border-color:var(--sfr-primary,#2563eb);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--sfr-primary,#2563eb) 15%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor input:disabled,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor select:disabled{
  opacity:1;
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 82%,var(--sfr-muted,#64748b));
  background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 88%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-currency-note{
  margin-top:-4px;
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 66%,var(--sfr-muted,#64748b));
  font-size:11.5px;
  font-weight:700;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table{
  border-color:color-mix(in srgb,var(--sfr-border,#dbe4f2) 80%,var(--sfr-ink,#0f172a) 20%);
  border-radius:14px;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--sfr-surface,#fff) 80%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table th{
  padding:10px 9px;
  background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 86%,var(--sfr-primary,#2563eb) 3%);
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 82%,var(--sfr-muted,#64748b));
  font-size:11.5px;
  font-weight:900;
  line-height:1.45;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table td{
  padding:10px 9px;
  color:var(--sfr-ink,#0f172a);
  font-size:12.5px;
  font-weight:700;
  line-height:1.55;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table tbody tr{
  transition:background var(--sfr-transition,180ms ease);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table tbody tr:hover{
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 4%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td:nth-child(3) input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td:nth-child(4) input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary strong,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list-table bdi{
  font-family:var(--sfr-font-latin,Inter,system-ui,-apple-system,"Segoe UI",sans-serif);
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-add-line{
  justify-self:start;
  border-color:color-mix(in srgb,var(--sfr-primary,#2563eb) 32%,var(--sfr-border,#dbe4f2));
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 5%,var(--sfr-surface,#fff));
  color:color-mix(in srgb,var(--sfr-primary,#2563eb) 82%,var(--sfr-ink,#0f172a));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary{
  gap:12px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary article{
  min-height:82px;
  padding:14px 16px;
  border-color:color-mix(in srgb,var(--sfr-border,#dbe4f2) 80%,var(--sfr-ink,#0f172a) 20%);
  border-radius:13px;
  background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 82%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary small{
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 72%,var(--sfr-muted,#64748b));
  font-size:11.5px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary strong{
  margin-top:7px;
  color:var(--sfr-ink,#0f172a);
  font-size:19px;
  font-weight:900;
  line-height:1.3;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary .is-pass{
  border-width:1.5px;
  background:color-mix(in srgb,#16a34a 8%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary .is-fail{
  border-width:1.5px;
  background:color-mix(in srgb,#d97706 7%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-actions{
  gap:10px;
  padding-top:14px;
  border-top:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 82%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-message{
  padding:11px 13px;
  color:var(--sfr-ink,#0f172a);
  font-size:12.5px;
  font-weight:800;
  line-height:1.55;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-remove{
  color:color-mix(in srgb,#b91c1c 86%,var(--sfr-ink,#0f172a));
  font-weight:900;
}
@media(max-width:980px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td[data-label]::before{
    color:color-mix(in srgb,var(--sfr-ink,#0f172a) 76%,var(--sfr-muted,#64748b));
    font-size:10.5px;
    font-weight:850;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tr{
    background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 48%,var(--sfr-surface,#fff));
    border-radius:12px;
  }
}
@media(max-width:640px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor{
    padding:14px;
    gap:13px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list h2,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor h2{
    font-size:20px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-list p,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-editor p{
    font-size:12px;
  }
}

/* 046 — General Journal Excel-style lines grid.
   Scope: journal line-entry table only. Keep central Shared UI/runtime and accounting logic unchanged. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table{
  overflow:visible;
  border:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 88%,var(--sfr-ink,#0f172a) 12%);
  border-radius:6px;
  box-shadow:none;
  background:var(--sfr-surface,#fff);
  font-family:Inter,var(--sfr-font-ar,"Cairo","Noto Sans Arabic",Tahoma,Arial,sans-serif),system-ui,-apple-system,"Segoe UI",sans-serif;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table table{
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  font-family:inherit;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td{
  padding:0;
  border:0;
  border-inline-end:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 90%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 90%,transparent);
  vertical-align:middle;
  background:var(--sfr-surface,#fff);
  font-family:inherit;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:last-child,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td:last-child{
  border-inline-end:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tbody tr:last-child td{
  border-bottom:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th{
  height:34px;
  padding:6px 7px;
  background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 88%,var(--sfr-primary,#2563eb) 2%);
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 90%,var(--sfr-muted,#64748b));
  font-size:11px;
  font-weight:800;
  line-height:1.25;
  text-align:center;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tbody tr{
  min-height:42px;
  transition:background var(--sfr-transition,180ms ease);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tbody tr:hover td{
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 2.5%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-line-no{
  padding:0 6px;
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 84%,var(--sfr-muted,#64748b));
  font-family:var(--sfr-font-latin,Inter,system-ui,-apple-system,"Segoe UI",sans-serif);
  font-size:11px;
  font-weight:800;
  text-align:center;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table select{
  min-height:38px;
  height:38px;
  padding:5px 8px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--sfr-ink,#0f172a);
  box-shadow:none;
  font-family:Inter,var(--sfr-font-ar,"Cairo","Noto Sans Arabic",Tahoma,Arial,sans-serif),system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:11.5px;
  font-weight:650;
  line-height:1.2;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table input:focus,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table select:focus{
  position:relative;
  z-index:2;
  border:0;
  border-radius:0;
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 4%,var(--sfr-surface,#fff));
  box-shadow:inset 0 0 0 2px var(--sfr-primary,#2563eb);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table input:disabled,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table select:disabled{
  opacity:1;
  background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 78%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td:nth-child(3) input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td:nth-child(4) input{
  text-align:center;
  font-family:var(--sfr-font-latin,Inter,system-ui,-apple-system,"Segoe UI",sans-serif);
  font-variant-numeric:tabular-nums;
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(1){width:34px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(2){width:23%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(3),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(4){width:9%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(5){width:17%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(6){width:14%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(7){width:19%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(8){width:34px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimensions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  min-width:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimension{
  display:grid;
  grid-template-rows:14px 30px;
  gap:0;
  min-width:0;
  padding:2px 4px 3px;
  border-inline-end:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 82%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimension:last-child{
  border-inline-end:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimension>span{
  overflow:hidden;
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 72%,var(--sfr-muted,#64748b));
  font-size:8.5px;
  font-weight:750;
  line-height:14px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimension select{
  min-height:30px;
  height:30px;
  padding:2px 4px;
  font-size:10px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-remove{
  width:100%;
  min-width:0;
  min-height:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  font-family:var(--sfr-font-latin,Inter,system-ui,-apple-system,"Segoe UI",sans-serif);
  font-size:15px;
  line-height:1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-remove:not(:disabled):hover{
  background:color-mix(in srgb,#dc2626 7%,var(--sfr-surface,#fff));
}
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th{
  background:color-mix(in srgb,var(--sfr-soft,#111827) 84%,var(--sfr-primary,#2563eb) 5%);
}

/* Keep the spreadsheet layout on desktop/tablet; mobile falls back to the existing stacked cards. */
@media (min-width:681px) and (max-width:980px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table thead{display:table-header-group}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table table{display:table;width:100%!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tbody{display:table-row-group;width:auto!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table tr{display:table-row;width:auto!important;padding:0;border:0;background:transparent}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td{display:table-cell;width:auto!important;padding:0;border-inline-end:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 90%,transparent);border-bottom:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 90%,transparent)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table td[data-label]::before{display:none;content:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-line-no{font-weight:800}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimension>span{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimension{grid-template-rows:32px;padding:2px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-dimension select{height:32px;min-height:32px}
}

/* 047 — General Journal professional data-entry workflow.
   Canonical Smart ERP runtime only: autocomplete, explicit dimension columns,
   FX context, attachments, sticky totals and keyboard-first Excel behavior. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:end;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid .is-wide{grid-column:span 2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-grid-help{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:6px 16px;
  margin:2px 0 8px;
  color:color-mix(in srgb,var(--sfr-ink,#0f172a) 72%,var(--sfr-muted,#64748b));
  font-size:10.5px;
  font-weight:700;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(1){width:34px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(2){width:22%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(3),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(4){width:9%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(5){width:17%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(6){width:13%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:nth-child(n+7):not(:last-child){width:13%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table th:last-child{width:58px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-combo{position:relative;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-combo>input{
  width:100%;
  padding-inline:9px 24px;
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-combo::after{
  content:'⌄';
  position:absolute;
  inset-inline-end:7px;
  top:50%;
  transform:translateY(-52%);
  pointer-events:none;
  color:var(--sfr-muted,#64748b);
  font-size:12px;
  font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results{
  position:absolute;
  z-index:80;
  inset-inline:0 auto;
  top:calc(100% + 2px);
  width:max(100%,320px);
  max-width:min(430px,80vw);
  max-height:270px;
  overflow:auto;
  padding:4px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:8px;
  background:var(--sfr-surface,#fff);
  box-shadow:0 14px 35px rgba(15,23,42,.16);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results[hidden]{display:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results button{
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  gap:8px;
  width:100%;
  padding:7px 8px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:var(--sfr-ink,#0f172a);
  text-align:start;
  cursor:pointer;
  font:700 11px/1.3 Inter,var(--sfr-font-ar,"Cairo",sans-serif);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results button:hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results button.is-active{
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 10%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results button bdi{
  color:var(--sfr-primary,#2563eb);
  font-variant-numeric:tabular-nums;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results .is-empty{
  padding:10px;
  color:var(--sfr-muted,#64748b);
  font-size:11px;
  font-weight:700;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table [data-sfr-gj-money]{
  direction:ltr;
  text-align:end!important;
  font-family:var(--sfr-font-latin,Inter,system-ui,-apple-system,"Segoe UI",sans-serif)!important;
  font-size:12px!important;
  font-weight:800!important;
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-row-actions{
  display:flex;
  align-items:stretch;
  justify-content:center;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-duplicate,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-remove{
  width:50%;
  min-width:0;
  height:38px;
  min-height:38px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  font-family:var(--sfr-font-latin,Inter,system-ui,sans-serif);
  font-weight:800;
  cursor:pointer;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-duplicate{color:var(--sfr-primary,#2563eb);border-inline-end:1px solid var(--sfr-border,#dbe4f2)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-remove{color:#dc2626}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-table .sfr-gj-duplicate:not(:disabled):hover{background:color-mix(in srgb,var(--sfr-primary,#2563eb) 8%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary{
  position:sticky;
  bottom:0;
  z-index:12;
  margin-top:12px;
  padding:8px;
  border:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 88%,var(--sfr-primary,#2563eb) 12%);
  border-radius:10px;
  background:color-mix(in srgb,var(--sfr-surface,#fff) 96%,var(--sfr-soft,#f8fafc));
  box-shadow:0 -7px 22px rgba(15,23,42,.06);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-fx-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:8px;
  padding:9px 12px;
  border:1px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 22%,var(--sfr-border,#dbe4f2));
  border-radius:8px;
  background:color-mix(in srgb,var(--sfr-primary,#2563eb) 4%,var(--sfr-surface,#fff));
  color:var(--sfr-ink,#0f172a);
  font-size:11px;
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-fx-summary strong{
  direction:ltr;
  font-family:var(--sfr-font-latin,Inter,system-ui,sans-serif);
  font-variant-numeric:tabular-nums;
  font-size:12px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments{
  margin-top:10px;
  padding:10px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:9px;
  background:color-mix(in srgb,var(--sfr-soft,#f8fafc) 58%,var(--sfr-surface,#fff));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments h3{margin:0 0 7px;color:var(--sfr-ink,#0f172a);font-size:12px;font-weight:850}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments>div{display:flex;flex-wrap:wrap;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments article{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:7px;
  min-width:220px;
  max-width:360px;
  padding:6px 8px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:7px;
  background:var(--sfr-surface,#fff);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments a{display:flex;align-items:center;gap:6px;min-width:0;color:var(--sfr-ink,#0f172a);text-decoration:none;font-size:10.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments a strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments small{color:var(--sfr-muted,#64748b);font:700 9px/1 Inter,sans-serif;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-attachments button{border:0;background:transparent;color:#dc2626;font-size:14px;font-weight:900;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-footer-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--sfr-border,#dbe4f2);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-aux-actions,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results{box-shadow:0 14px 35px rgba(0,0,0,.4)}

@media (max-width:980px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid .is-wide{grid-column:span 2}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-grid-help{display:none}
}
@media (max-width:680px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-header-grid .is-wide{grid-column:auto}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-summary{position:static}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-footer-actions{align-items:stretch;flex-direction:column}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-aux-actions,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-actions{display:grid;grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-gj-account-results{position:fixed;inset:auto 12px 12px 12px;width:auto;max-width:none;max-height:45vh}
}

/* ========================================================================
   061 — Smart ERP Canonical Workspace Width Expansion
   Browser QA baseline: 100% zoom.
   Use the available operational canvas instead of compressing ERP tables
   inside duplicated horizontal gutters. This is scoped to Smart ERP only;
   the sidebar width and responsive mobile shell remain unchanged.
   ======================================================================== */
@media (min-width:901px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__main{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    padding-inline:6px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main{
    width:100%!important;
    max-width:none!important;
    padding-inline:6px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] :where(
    .sfr-smart-erp-shell,
    .sfr-accounting-workspace,
    .sfr-accounting-body
  ){
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
  }
}

/* ========================================================================
   063 — Smart ERP Edge-to-Edge Workspace Expansion II
   QA baseline: browser zoom 100%.
   Removes the remaining stacked desktop gutters between the canonical Smart
   ERP canvas and Accounting Workspace. Keeps a minimal 4px safety gutter at
   the shell edge and leaves the fixed sidebar/mobile behavior unchanged.
   ======================================================================== */
@media (min-width:901px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__main{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    padding-inline:0!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    padding-inline:4px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-main .sfr-accounting-workspace{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    padding-inline:0!important;
  }
}

/* Patch 068 — Smart ERP canonical topbar redesign only.
   Scope is intentionally limited to the Smart ERP header. No workspace body,
   journal grid, typography-density, accounting or sidebar behavior changes. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar{
  height:64px;
  min-height:64px;
  padding-inline:14px;
  gap:10px;
  background:color-mix(in srgb,var(--sfr-surface,#fff) 96%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 88%,transparent);
  box-shadow:0 4px 14px rgba(15,23,42,.035);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-start,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions{
  flex:0 0 auto;
  min-width:0;
  gap:6px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__breadcrumbs{
  min-height:42px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:11px;
  color:var(--sfr-brand-700,#2563eb);
  font-size:12.5px;
  font-weight:700;
  background:transparent;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__breadcrumbs strong{
  color:inherit;
  font-weight:700;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__breadcrumbs:hover{
  background:color-mix(in srgb,var(--sfr-brand-500,#3b82f6) 7%,transparent);
  border-color:color-mix(in srgb,var(--sfr-brand-500,#3b82f6) 14%,transparent);
}

/* The ERP context becomes one stable horizontal information rail. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
  flex:1 1 470px;
  min-width:360px;
  max-width:560px;
  height:50px;
  display:grid;
  grid-template-columns:minmax(180px,1.65fr) 86px 108px;
  align-items:stretch;
  gap:0;
  margin-inline:2px;
  padding:0;
  border:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 86%,transparent);
  border-radius:13px;
  overflow:hidden;
  background:color-mix(in srgb,var(--sfr-surface,#fff) 98%,var(--sfr-canvas,#f8fafc));
  box-shadow:0 2px 8px rgba(15,23,42,.025);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock{
  min-width:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:2px;
  padding:4px 14px 5px;
  overflow:hidden;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company::after{
  content:"";
  position:absolute;
  bottom:2px;
  inset-inline-start:50%;
  width:32px;
  height:2px;
  transform:translateX(-50%);
  border-radius:999px;
  background:var(--sfr-erp-brand-gold,#f5b21a);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company__label{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--sfr-muted,#64748b);
  font-family:Cairo,Inter,sans-serif;
  font-size:10px;
  font-weight:600;
  line-height:1.15;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--sfr-ink,#0f172a);
  font-family:Cairo,Inter,sans-serif;
  font-size:15.5px;
  font-weight:750;
  line-height:1.25;
  letter-spacing:normal;
}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{
  font-family:Inter,Cairo,sans-serif;
  letter-spacing:-.01em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta{
  display:grid;
  grid-template-rows:1fr 1fr;
  align-self:stretch;
  border-inline-start:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 90%,transparent);
  border-inline-end:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 90%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta>span{
  min-width:0;
  display:grid;
  place-items:center;
  padding:1px 6px;
  color:var(--sfr-ink,#0f172a);
  background:transparent;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta>span+span{
  border-top:1px solid color-mix(in srgb,var(--sfr-border,#dbe4f2) 90%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta b{
  font-family:Inter,Cairo,sans-serif;
  font-size:12px;
  font-weight:750;
  line-height:1;
  letter-spacing:.01em;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock{
  display:grid;
  place-content:center;
  justify-items:center;
  gap:3px;
  padding:3px 9px;
  color:var(--sfr-ink,#0f172a);
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock b{
  font-family:Inter,Cairo,sans-serif;
  font-size:13.5px;
  font-weight:750;
  line-height:1;
  letter-spacing:.02em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{
  color:var(--sfr-muted,#64748b);
  font-family:Inter,Cairo,sans-serif;
  font-size:9.5px;
  font-weight:550;
  line-height:1.1;
  letter-spacing:.01em;
}

/* Keep the left utility cluster compact so it never collides with ERP context. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip{
  min-height:36px;
  max-width:205px;
  padding-inline:10px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:11.5px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__icon-button{
  flex:0 0 auto;
}

html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar{
  background:color-mix(in srgb,var(--sfr-surface,#0f172a) 96%,transparent);
  box-shadow:0 4px 16px rgba(0,0,0,.14);
}
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
  background:color-mix(in srgb,var(--sfr-surface,#0f172a) 96%,var(--sfr-canvas,#020617));
}

@media(max-width:1180px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    flex-basis:410px;
    min-width:320px;
    max-width:470px;
    grid-template-columns:minmax(150px,1.5fr) 76px 96px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip{max-width:160px;}
}
@media(max-width:920px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar{gap:6px;padding-inline:9px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    flex-basis:340px;
    min-width:270px;
    max-width:390px;
    grid-template-columns:minmax(120px,1.35fr) 68px 82px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company{padding-inline:8px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company__label{font-size:8.5px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{font-size:13.5px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-meta b{font-size:10.5px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock b{font-size:12px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{font-size:8px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip{display:none;}
}
@media(max-width:700px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar{height:60px;min-height:60px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__breadcrumbs{padding-inline:7px;font-size:11.5px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
    height:46px;
    flex:1 1 auto;
    min-width:0;
    max-width:none;
    grid-template-columns:minmax(0,1fr) 58px 66px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company__label{display:none;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-company strong{font-size:12px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{display:none;}
}

/* Patch 069 — tiny date centering correction in the Smart ERP canonical header only. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{
  display:block;
  width:100%;
  text-align:center;
  direction:ltr;
  unicode-bidi:isolate;
  font-variant-numeric:tabular-nums;
  transform:translateX(1px);
}
@media(max-width:700px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-clock span{display:none;}
}

/* Patch 070 — Cash Receipt Voucher functional workspace. Uses the existing Smart ERP shell/theme tokens. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cash-bank-workspace{display:grid;gap:14px;min-width:0;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cash-bank-body{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-editor{display:grid;gap:14px;border:1px solid var(--sfr-border,#dbe4f2);background:var(--sfr-surface,#fff);border-radius:14px;padding:16px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list>header{display:flex;align-items:center;justify-content:space-between;gap:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list>header h2{margin:0 0 4px;font-size:18px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list>header p{margin:0;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-size:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list-table{overflow:auto;border:1px solid var(--sfr-border,#dbe4f2);border-radius:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list-table table{width:100%;border-collapse:collapse;min-width:760px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list-table td{padding:10px 12px;border-bottom:1px solid var(--sfr-border,#e5e7eb);text-align:start;font-size:12px;vertical-align:middle}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list-table th{background:var(--sfr-surface-subtle,#f8fafc);color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid label,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimension-block label{display:grid;gap:5px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid label.is-wide{grid-column:span 2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid label>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimension-block label>span{font-size:10px;font-weight:800;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid select,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimension-block select{width:100%;min-width:0;min-height:38px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:9px;background:var(--sfr-surface,#fff);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));padding:7px 9px;font:inherit;font-size:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-required{padding:9px 11px;border-inline-start:3px solid var(--sfr-primary,#2563eb);background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-size:11px;border-radius:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimension-block{border:1px solid var(--sfr-border,#dbe4f2);border-radius:12px;background:var(--sfr-surface-subtle,#f8fafc);padding:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimension-block h3{margin:0 0 10px;font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimension-block>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview{display:grid;gap:8px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:12px;padding:12px;background:var(--sfr-surface-subtle,#f8fafc)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview h3{margin:0;font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:10px;align-items:center;border-top:1px solid var(--sfr-border,#e5e7eb);padding-top:8px;font-size:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview-row>span{color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-fx-summary{display:flex;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid var(--sfr-border,#e5e7eb);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-attachments{display:grid;gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-attachments h3{margin:0;font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-attachments>div{display:grid;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-attachments article{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--sfr-border,#e5e7eb);border-radius:9px;background:var(--sfr-surface-subtle,#f8fafc);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-attachments article a{min-width:0;flex:1;color:var(--sfr-primary,#2563eb);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-attachments article button{border:0;background:transparent;color:var(--sfr-danger,#b91c1c);font-size:18px;cursor:pointer}
@media(max-width:1050px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimension-block>div{grid-template-columns:1fr}
}
@media(max-width:720px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list,
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-editor{padding:11px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-list>header{align-items:stretch;flex-direction:column}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid,
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-dimensions{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-header-grid label.is-wide{grid-column:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview-row{grid-template-columns:60px minmax(0,1fr);}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview-row bdi{grid-column:2}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-fx-summary{display:grid}
}

/* Patch 073 — Central ERP search + FX provenance. Functional additions use existing SFR tokens. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search{display:grid;gap:9px;margin:0 0 16px;padding:14px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:14px;background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search__head strong{font-size:14px;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search__head span{font-size:10.5px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search__box{display:flex;align-items:center;gap:9px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:11px;background:var(--sfr-surface-subtle,#f8fafc);padding:0 11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search__box>span{font-size:19px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search__box input{flex:1;min-width:0;height:42px;border:0!important;outline:0!important;background:transparent!important;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font:inherit;font-size:12.5px;box-shadow:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-results{display:grid;gap:6px;max-height:330px;overflow:auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result{display:grid;grid-template-columns:110px minmax(120px,.7fr) minmax(140px,1fr) minmax(200px,1.4fr) auto;align-items:center;gap:10px;width:100%;border:1px solid var(--sfr-border,#e5e7eb);border-radius:9px;background:var(--sfr-surface-subtle,#f8fafc);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));padding:9px 10px;text-align:start;font:inherit;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result:hover,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result:focus-visible{border-color:var(--sfr-primary,#2563eb);outline:2px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 16%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result__type{font-size:10px;font-weight:850;color:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result strong{font-size:11.5px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result>span:not(.sfr-erp-search-result__type){font-size:10.5px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result em{font-size:10.5px;font-style:normal;font-weight:800;color:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-state{padding:10px 12px;border-radius:9px;background:var(--sfr-surface-subtle,#f8fafc);font-size:11px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-state.is-error{color:var(--sfr-danger,#b91c1c)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-fx-source{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-size:9.5px;font-weight:600}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-fx-source bdi{opacity:.9}
@media(max-width:900px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result{grid-template-columns:100px minmax(110px,.8fr) minmax(130px,1fr) auto}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result>span:nth-of-type(3){display:none}}
@media(max-width:650px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search{padding:11px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-global-search__head{display:grid}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result{grid-template-columns:1fr auto;gap:5px 8px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result__type,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result>span{grid-column:1}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result strong{grid-column:1;grid-row:2}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-result em{grid-column:2;grid-row:1 / span 3;align-self:center}}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-correction-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:9px 11px;border:1px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 24%,var(--sfr-border,#dbe4f2));border-radius:9px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 6%,var(--sfr-surface,#fff));font-size:10.5px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-correction-notice strong{color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font-size:11px}

/* Patch 074R2 — Smart ERP header utility containment (rebased on post-073).
   Keep the canonical control order unchanged. The actual overflow came from the
   combined intrinsic width of Staging + account + language/format/theme controls,
   so allow the long text-bearing controls to shrink while every utility remains visible. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions{
  flex:0 1 auto;
  min-width:0;
  gap:5px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip{
  flex:0 1 152px;
  min-width:96px;
  max-width:152px;
  padding-inline:8px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip>span{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a02__account-slot{
  flex:0 1 auto;
  min-width:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a02__account-slot .sfr-account-chip{
  min-width:0;
  max-width:132px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a02__account-slot .sfr-account-chip__name{
  max-width:78px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__utility-controls{
  flex:0 0 auto;
  min-width:0;
  gap:4px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__utility-controls>.sfr-a01__icon-button{
  width:36px;
  height:36px;
  flex-basis:36px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-language-switcher__button{
  min-width:68px;
  padding-inline:8px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{
  min-width:340px;
}
@media(max-width:1180px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip{max-width:132px;flex-basis:132px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a02__account-slot .sfr-account-chip{max-width:118px;}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a02__account-slot .sfr-account-chip__name{max-width:64px;}
}
@media(max-width:920px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{min-width:270px;}
}
@media(max-width:700px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-topbar-context{min-width:0;}
}

/* Patch 074R3 — separate the theme/format/language utility cluster from the account chip.
   Preserve 074R2 containment: create a small logical gutter and reclaim the same width
   from the long Staging chip, so no control is hidden or pushed outside the topbar. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a02__account-slot + .sfr-a01__utility-controls{
  margin-inline-start:6px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a02__account-slot,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__utility-controls{
  position:relative;
  isolation:isolate;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip{
  flex-basis:146px;
  max-width:146px;
  min-width:90px;
}
@media(max-width:1180px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__topbar-actions .sfr-a01__integration-chip{
    flex-basis:126px;
    max-width:126px;
    min-width:88px;
  }
}

/* Patch 075 — Smart ERP sidebar compact width.
   Scope: Smart ERP desktop/tablet shell only. Keep the canonical sidebar,
   collapse rail and mobile drawer behavior unchanged while reclaiming more
   horizontal room for the operational workspace and topbar. */
@media (min-width:901px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"]:not([data-sfr-a01-sidebar="collapsed"]){
    --sfr-sidebar-width:clamp(224px,17vw,232px);
  }
}

/* SFR Customer & AR Foundation 080 — functional shared-workspace layer */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-workspace{display:grid;gap:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis article{display:grid;gap:6px;padding:14px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis span{font-size:11px;font-weight:800;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis strong{font-size:22px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-foundation-state p{margin:10px 0 0;color:var(--sfr-erp-muted);font-size:11px;line-height:1.8}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-customer-list>header{align-items:flex-start;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-customer-list>header p{margin:5px 0 0;color:var(--sfr-erp-muted);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-search{display:block;margin:12px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-search input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid select{width:100%;min-height:38px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:8px 10px;font:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-table-wrap{overflow:auto;border:1px solid var(--sfr-border);border-radius:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-table{width:100%;border-collapse:collapse;min-width:820px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-table td{padding:10px 11px;border-bottom:1px solid var(--sfr-border);text-align:start;font-size:11.5px;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-table th{background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-table tr:last-child td{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk{display:inline-flex;padding:3px 8px;border-radius:999px;background:var(--sfr-surface-subtle);font-size:10px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk.is-high,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk.is-default{color:var(--sfr-danger)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-editor{border:1px solid var(--sfr-border);border-radius:16px;background:var(--sfr-surface);padding:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-editor__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-editor__head span{font-size:10px;font-weight:800;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-editor__head h2{margin:3px 0 0;font-size:18px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid label{display:grid;gap:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid label>span{font-size:10px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid .sfr-ar-check{display:flex;align-items:center;gap:8px;align-self:end;min-height:38px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid .sfr-ar-check input{width:auto;min-height:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-editor__actions{display:flex;justify-content:flex-end;margin-top:14px;padding-top:12px;border-top:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-message{margin-top:10px;padding:9px 11px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle);font-size:11px;font-weight:750}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-credit-history{margin-top:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-history-list{display:grid;gap:7px;padding-top:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-history-list>div{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(0,1fr);gap:8px;padding:8px 10px;border-radius:10px;background:var(--sfr-surface-subtle);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-history-list small{color:var(--sfr-erp-muted)}
@media(max-width:1180px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-form-grid{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-editor__head{align-items:flex-start;flex-direction:column}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-history-list>div{grid-template-columns:1fr}}

/* SFR ERP 079 — central money-input validation (functional, shared Smart ERP surface). */
html[data-sfr-tool-id="business-accounting-management"] [data-sfr-money-input][aria-invalid="true"]{border-color:var(--sfr-danger,#b42318)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--sfr-danger,#b42318) 38%,transparent)!important}
html[data-sfr-tool-id="business-accounting-management"] .sfr-money-validation-message{flex:1 1 220px;min-width:0;font-size:12px;line-height:1.45;color:var(--sfr-danger,#b42318);font-weight:600}
html[data-sfr-tool-id="business-accounting-management"] .sfr-money-validation-message[hidden]{display:none!important}
/* Patch 081 — Customer Subledger functional layer */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid>div{display:grid;gap:4px;padding:10px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid span{font-size:10px;font-weight:800;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid strong{font-size:16px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid strong.is-good{color:var(--sfr-success)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid strong.is-warn{color:var(--sfr-warning)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-financial{display:grid;gap:12px;margin-top:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis--financial{grid-template-columns:repeat(4,minmax(0,1fr))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-subledger-card>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-open-items-card>header{margin-bottom:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-subledger-table{min-width:900px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-open-items-table{min-width:980px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-open-items-table tr.is-overdue td{background:color-mix(in srgb,var(--sfr-danger) 5%,var(--sfr-surface))}
@media(max-width:1000px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis--financial{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-kpis--financial{grid-template-columns:1fr}}

/* SFR Sales Invoice & AR Documents 082 — functional workspace only. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-workspace{display:grid;gap:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-list>header,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-lines-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-list>header p{margin:5px 0 0;color:var(--sfr-erp-muted);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-editor{display:grid;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid label,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line label{display:grid;gap:5px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid label>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line label>span{font-size:10px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid select,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line select{width:100%;min-height:38px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:8px 10px;font:inherit;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid .is-wide{grid-column:span 2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-lines{display:grid;gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line{display:grid;gap:8px;padding:10px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line-grid{display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(180px,1.3fr) minmax(90px,.55fr) minmax(110px,.7fr) minmax(105px,.65fr) minmax(110px,.7fr) minmax(150px,1fr);gap:8px;align-items:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line-grid .is-wide{grid-column:span 2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line>button{justify-self:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-summary article{display:grid;gap:5px;padding:10px;border:1px solid var(--sfr-border);border-radius:11px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-summary span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-summary small{font-size:10px;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-summary strong{font-size:14px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-open-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--sfr-border);border-radius:11px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-attachments{display:grid;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-attachments>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--sfr-border);border-radius:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-attachments a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1280px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-summary{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-header-grid .is-wide,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-line-grid .is-wide{grid-column:auto}}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-editor .sfr-gj-footer-actions .sfr-gj-message{margin:0;margin-inline-end:auto;align-self:center}

/* 117 — shared ERP methodology/note surface (central, reusable). */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-note{
  display:grid;
  gap:4px;
  padding:10px 12px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:10px;
  background:var(--sfr-surface-subtle,#f8fafc);
  color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));
  font-size:10.5px;
  line-height:1.75;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-note strong{
  color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));
  font-size:11px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-note p{margin:0}

/* 083 — Global ERP search palette in the canonical Smart ERP topbar. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-topbar-search{display:flex;align-items:center;flex:0 0 auto;position:relative;z-index:40}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-toggle{display:inline-grid;place-items:center;width:34px;height:34px;min-width:34px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:10px;background:var(--sfr-surface,#fff);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font:inherit;font-size:19px;line-height:1;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-toggle:hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-toggle:focus-visible{border-color:var(--sfr-primary,#2563eb);outline:2px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 14%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette{position:fixed;z-index:10030;inset-block-start:72px;inset-inline-start:50%;transform:translateX(-50%);width:min(520px,calc(100vw - 24px));max-height:min(70vh,620px);overflow:auto;padding:13px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:14px;background:var(--sfr-surface,#fff);box-shadow:0 20px 50px color-mix(in srgb,var(--sfr-erp-ink,#0f172a) 18%,transparent);display:grid;gap:9px}
[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette{transform:translateX(50%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette__head strong{font-size:13px;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette__head button{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:9px;background:var(--sfr-surface-subtle,#f8fafc);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font:inherit;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette>small{font-size:10px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette .sfr-erp-search-result{grid-template-columns:95px minmax(110px,.7fr) minmax(120px,1fr) minmax(150px,1.25fr) auto}
@media(max-width:650px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette{inset-block-start:62px;padding:10px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-search-palette .sfr-erp-search-result{grid-template-columns:1fr auto}
}

/* 083 — Customer receipt allocation; invoice settlement remains a subledger layer over the central journal truth. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-customer-hint{margin:0;padding:9px 11px;border-inline-start:3px solid var(--sfr-primary,#2563eb);border-radius:8px;background:var(--sfr-surface-subtle,#f8fafc);color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-size:10.5px;line-height:1.7}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:13px;background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation>header h3{margin:0;color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font-size:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation>header p{margin:4px 0 0;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-size:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__tools{display:flex;gap:7px;flex-wrap:wrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__table-wrap{overflow:auto;border:1px solid var(--sfr-border,#dbe4f2);border-radius:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation table{width:100%;min-width:620px;border-collapse:collapse}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation td{padding:8px 10px;border-bottom:1px solid var(--sfr-border,#dbe4f2);text-align:start;font-size:11px;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation th{background:var(--sfr-surface-subtle,#f8fafc);color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-weight:850}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation tbody tr:last-child td{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation input[data-sfr-cr-allocation]{width:130px;max-width:100%;min-height:34px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:8px;background:var(--sfr-surface,#fff);color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));padding:6px 8px;font:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:10px;background:var(--sfr-surface-subtle,#f8fafc)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__summary span{font-size:10px;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__summary strong{color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));font-size:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__summary strong.is-warn{color:var(--sfr-danger,#b42318)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-on-account{margin:0;color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));font-size:10px;line-height:1.6}
@media(max-width:720px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation>header{display:grid}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-allocation__summary{grid-template-columns:1fr}
}

/* SFR Enterprise Feedback Surface 083R6 — centered enterprise composition */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback[hidden]{display:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback{
  position:fixed;inset:0;z-index:100250;display:grid;place-items:center;padding:18px;
  font-family:inherit;color:var(--sfr-erp-ink,#0f172a);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__scrim{
  position:absolute;inset:0;background:rgba(5,18,40,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog{
  position:relative;z-index:1;width:min(530px,calc(100vw - 32px));min-height:0;padding:18px 82px 17px;
  border:1px solid var(--sfr-border,#dbe4f2);border-radius:16px;background:var(--sfr-surface,#fff);
  box-shadow:0 22px 64px rgba(3,16,36,.25);overflow:hidden;isolation:isolate;
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "title" "message" "actions";
  row-gap:3px;align-items:center;justify-items:center;text-align:center;
  animation:sfrErpFeedbackIn .18s ease-out both;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog::before{
  content:"";position:absolute;inset:0 0 auto;height:4px;background:#2f6df6;z-index:-1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-success .sfr-erp-feedback__dialog::before{background:#0d9a62}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-warning .sfr-erp-feedback__dialog::before,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-confirm .sfr-erp-feedback__dialog::before{background:#d98b17}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-error .sfr-erp-feedback__dialog::before,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-blocked .sfr-erp-feedback__dialog::before{background:#dc3b4f}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__close{
  position:absolute;inset-block-start:10px;inset-inline-end:11px;width:28px;height:28px;border:1px solid transparent;border-radius:9px;
  background:color-mix(in srgb,var(--sfr-surface-subtle,#f1f5f9) 86%,transparent);color:var(--sfr-erp-muted,#526176);cursor:pointer;
  display:grid;place-items:center;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__close:hover{
  background:var(--sfr-surface-subtle,#f1f5f9);border-color:var(--sfr-border,#dbe4f2);color:var(--sfr-erp-ink,#0f172a);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__close:active{transform:scale(.96)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__close::before{content:"×";font-size:18px;line-height:1;font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__brand{
  grid-area:brand;justify-self:center;display:inline-flex;align-items:center;gap:5px;margin:0 0 1px;padding:3px 8px;border-radius:999px;
  background:color-mix(in srgb,#2f6df6 8%,var(--sfr-surface,#fff));color:#245eea;font-size:10px;line-height:1.35;font-weight:800;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__brand .sfr-smart-erp-brand-icon{width:15px;height:15px;flex:0 0 15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__signal{
  position:absolute;inset-inline-start:21px;inset-block-start:50%;transform:translateY(-50%);
  width:54px;height:54px;margin:0;border-radius:50%;display:grid;place-items:center;border:5px solid transparent;
  font-size:27px;font-weight:950;line-height:1;background:color-mix(in srgb,#2f6df6 9%,var(--sfr-surface,#fff));
  color:#245eea;box-shadow:0 8px 22px rgba(36,94,234,.12);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-success .sfr-erp-feedback__signal{
  color:#0d9a62;background:color-mix(in srgb,#0d9a62 9%,var(--sfr-surface,#fff));border-color:color-mix(in srgb,#0d9a62 15%,transparent);box-shadow:0 8px 22px rgba(13,154,98,.13)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-warning .sfr-erp-feedback__signal,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-confirm .sfr-erp-feedback__signal{
  color:#c9790f;background:color-mix(in srgb,#d98b17 10%,var(--sfr-surface,#fff));border-color:color-mix(in srgb,#d98b17 17%,transparent);box-shadow:0 8px 22px rgba(217,139,23,.13)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-error .sfr-erp-feedback__signal,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-blocked .sfr-erp-feedback__signal{
  color:#d52d43;background:color-mix(in srgb,#dc3b4f 9%,var(--sfr-surface,#fff));border-color:color-mix(in srgb,#dc3b4f 16%,transparent);box-shadow:0 8px 22px rgba(220,59,79,.13)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog h2{
  grid-area:title;align-self:end;margin:1px 0 0;font-size:18px;line-height:1.4;font-weight:900;letter-spacing:-.01em;color:var(--sfr-erp-ink,#0f172a);text-align:center
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog p{
  grid-area:message;align-self:start;margin:0 auto;max-width:340px;font-size:13px;line-height:1.7;font-weight:600;color:var(--sfr-erp-muted,#526176);text-align:center
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions{
  grid-area:actions;margin-top:8px;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;justify-self:center
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions>button{
  min-width:98px;min-height:35px;padding-inline:17px;border-radius:9px;font-weight:800;box-shadow:none;transition:transform .15s ease,filter .15s ease,box-shadow .15s ease
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions>button:hover{filter:brightness(.98);box-shadow:0 5px 14px rgba(3,16,36,.10)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions>button:active{transform:translateY(1px)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__close:focus-visible,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions>button:focus-visible{
  outline:3px solid color-mix(in srgb,#2f6df6 28%,transparent);outline-offset:2px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-error .sfr-erp-feedback__actions [data-sfr-feedback-ok],
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-blocked .sfr-erp-feedback__actions [data-sfr-feedback-ok]{
  background:#dc3b4f;border-color:#dc3b4f;color:#fff
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-warning .sfr-erp-feedback__actions [data-sfr-feedback-ok],
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-confirm .sfr-erp-feedback__actions [data-sfr-feedback-ok]{
  background:#d98b17;border-color:#d98b17;color:#fff
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-success .sfr-erp-feedback__actions [data-sfr-feedback-ok]{
  background:#0d9a62;border-color:#0d9a62;color:#fff
}
@keyframes sfrErpFeedbackIn{from{opacity:0;transform:translateY(7px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:560px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback{padding:12px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog{
    width:100%;padding:18px 16px 16px;border-radius:15px;display:grid;grid-template-columns:1fr;
    grid-template-areas:"brand" "signal" "title" "message" "actions";gap:6px;text-align:center;justify-items:center
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__brand{justify-self:center;margin-bottom:1px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__signal{position:static;transform:none;justify-self:center;width:52px;height:52px;font-size:26px;margin:1px auto 2px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog h2{font-size:17px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog p{max-width:380px;margin:0 auto;font-size:12.75px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions{display:grid;grid-template-columns:1fr;width:100%;justify-self:stretch;margin-top:8px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions>button{width:100%;min-height:38px}
}
@media(prefers-reduced-motion:reduce){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__dialog{animation:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__close,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__actions>button{transition:none}
}

/* SFR Enterprise Feedback Surface 083R7 — shared input/confirm support for all ERP modules */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input{
  grid-area:input;width:min(360px,100%);margin:6px auto 0;display:grid;gap:5px;text-align:start;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input[hidden]{display:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input label{
  font-size:11.5px;line-height:1.45;font-weight:800;color:var(--sfr-erp-muted,#526176);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input input{
  width:100%;min-height:39px;padding:8px 11px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:9px;
  background:var(--sfr-surface,#fff);color:var(--sfr-erp-ink,#0f172a);font:inherit;font-size:13px;font-weight:650;
  outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input input:focus{
  border-color:#2f6df6;box-shadow:0 0 0 3px color-mix(in srgb,#2f6df6 16%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input input.is-invalid{
  border-color:#dc3b4f;box-shadow:0 0 0 3px color-mix(in srgb,#dc3b4f 12%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input small{
  font-size:11px;line-height:1.45;font-weight:700;color:#c93045;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-input .sfr-erp-feedback__dialog{
  grid-template-areas:"brand" "title" "message" "input" "actions";
}
@media(max-width:560px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback.is-input .sfr-erp-feedback__dialog{
    grid-template-areas:"brand" "signal" "title" "message" "input" "actions";
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-feedback__input{width:100%;}
}


/* SFR Enterprise 084 — AR Aging & Collection Intelligence */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-view-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:6px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-view-tabs button{min-height:36px;padding:8px 14px;border:0;border-radius:10px;background:transparent;color:var(--sfr-erp-muted);font:inherit;font-size:11px;font-weight:900;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-view-tabs button.is-active{background:var(--sfr-surface);color:var(--sfr-erp-ink);box-shadow:0 1px 0 color-mix(in srgb,var(--sfr-border) 80%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence{display:grid;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-loading{padding:24px;text-align:center;color:var(--sfr-erp-muted);font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px;border:1px solid var(--sfr-border);border-radius:16px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-window span{font-size:10px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero h2{margin:4px 0 5px;color:var(--sfr-erp-ink);font-size:20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero p{margin:0;max-width:760px;color:var(--sfr-erp-muted);font-size:11.5px;line-height:1.8}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-window{display:grid;gap:4px;min-width:130px;padding:10px 12px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle);text-align:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-window strong{font-size:15px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis article{display:grid;align-content:start;gap:5px;min-height:104px;padding:13px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis span{font-size:10px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis strong{font-size:20px;color:var(--sfr-erp-ink);overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis small{font-size:9.5px;color:var(--sfr-erp-muted);line-height:1.5}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-aging>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-card>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-foundation>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-methodology>header{margin-bottom:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket{display:grid;gap:7px;padding:12px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket>div{display:grid;gap:4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket small{font-size:9.5px;font-weight:800;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket strong{font-size:15px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket>b{justify-self:start;padding:3px 7px;border-radius:999px;background:var(--sfr-surface);color:var(--sfr-erp-ink);font-size:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis>div{display:grid;gap:4px;padding:9px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis span{font-size:9px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis strong{font-size:15px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-link{display:grid;gap:2px;padding:0;border:0;background:transparent;color:var(--sfr-erp-ink);font:inherit;text-align:start;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-link small,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td>small{display:block;color:var(--sfr-erp-muted);font-size:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals h3{margin:10px 0 6px;color:var(--sfr-erp-ink);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals li{padding:8px 9px;border-radius:9px;background:var(--sfr-surface-subtle);font-size:10.5px;line-height:1.6}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals li.is-risk{border-inline-start:3px solid var(--sfr-warning)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals li.is-opportunity{border-inline-start:3px solid var(--sfr-success)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals p{color:var(--sfr-erp-muted);font-size:10.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table{min-width:1180px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority{display:inline-flex;padding:3px 8px;border-radius:999px;background:var(--sfr-surface-subtle);font-size:9.5px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority.is-critical{color:var(--sfr-danger);background:color-mix(in srgb,var(--sfr-danger) 9%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority.is-high{color:var(--sfr-warning);background:color-mix(in srgb,var(--sfr-warning) 9%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority.is-medium{color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority.is-low{color:var(--sfr-success)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-foundation>header p,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-methodology p{margin:5px 0 0;color:var(--sfr-erp-muted);font-size:10.5px;line-height:1.8}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-awaiting{display:inline-flex;padding:3px 7px;border-radius:999px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font-size:9px;font-weight:850}
@media(max-width:1180px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-split{grid-template-columns:1fr}}
@media(max-width:760px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero{flex-direction:column}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-window{width:100%;box-sizing:border-box}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-view-tabs{display:grid;grid-template-columns:1fr}}


/* SFR Enterprise 084R1 — AR intelligence fit-to-container; no horizontal scrolling */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence > *,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-split,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-split > *,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table-wrap{
  min-width:0;max-width:100%;box-sizing:border-box;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table-wrap{
  overflow-x:hidden;overflow-y:visible;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table{
  width:100%;min-width:0;max-width:100%;table-layout:fixed;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table td{
  min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;vertical-align:top;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table td strong,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table td small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence .sfr-ar-table td button{
  max-width:100%;overflow-wrap:anywhere;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table{min-width:0!important;}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(1){width:17%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(2){width:8%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(3){width:6%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(4){width:10%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(5){width:10%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(6){width:7%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(7){width:10%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(8){width:21%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table th:nth-child(9){width:11%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:last-child .sfr-a02-btn{
  width:100%;min-width:0;padding-inline:7px;white-space:normal;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table th:nth-child(1){width:40%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table th:nth-child(n+2){width:20%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table th:nth-child(1){width:18%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table th:nth-child(2){width:18%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table th:nth-child(n+3){width:16%}

@media(max-width:980px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table tbody{display:block;width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table thead{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table tr{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0 0 9px;
    border:1px solid var(--sfr-border);border-radius:11px;background:var(--sfr-surface);overflow:hidden;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table tr:last-child{margin-bottom:0}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td{
    display:grid;align-content:start;gap:3px;padding:9px 10px;border-bottom:1px solid var(--sfr-border);white-space:normal;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td::before{
    content:attr(data-label);font-size:8.5px;line-height:1.3;font-weight:900;color:var(--sfr-erp-muted);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:nth-child(odd){border-inline-end:1px solid var(--sfr-border)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:first-child,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:nth-child(8),
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:nth-child(9){grid-column:1/-1;border-inline-end:0}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:nth-last-child(-n+1){border-bottom:0}
}

@media(max-width:700px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table tbody,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table tbody{display:block;width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table thead,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table thead{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table tr,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table tr{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 8px;
    border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface);overflow:hidden;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table tr:last-child,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table tr:last-child{margin-bottom:0}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table td{
    display:grid;gap:3px;padding:9px;border-bottom:1px solid var(--sfr-border);white-space:normal;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td::before,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table td::before{
    content:attr(data-label);font-size:8.5px;line-height:1.3;font-weight:900;color:var(--sfr-erp-muted);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td:nth-child(odd),
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table td:nth-child(odd){border-inline-end:1px solid var(--sfr-border)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td:first-child{grid-column:1/-1;border-inline-end:0}
}

@media(max-width:520px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table tr,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table tr,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table tr{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table td{grid-column:1!important;border-inline-end:0!important}
}

/* SFR Enterprise 084R3 — AR intelligence mobile readability polish */
@media(max-width:700px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence{gap:14px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero{padding:15px;gap:12px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero span,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-window span{font-size:11px;line-height:1.45}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero h2{font-size:19px;line-height:1.35;margin-block:5px 6px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero p{font-size:11.5px;line-height:1.8}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-window{padding:12px 14px;gap:5px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-window strong{font-size:17px}

  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis{gap:10px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis article{min-height:0;padding:14px 15px;gap:6px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis span{font-size:11px;line-height:1.45}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis strong{font-size:21px;line-height:1.3}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis small{font-size:10.5px;line-height:1.65}

  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-grid{gap:9px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket{padding:14px;gap:8px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket span,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket small{font-size:10.5px;line-height:1.5}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket strong{font-size:17px;line-height:1.3}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket>b{font-size:10.5px;padding:4px 8px}

  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis{gap:8px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis>div{padding:11px;gap:5px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis span{font-size:10px;line-height:1.45}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-kpis strong{font-size:16px}

  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-link{gap:3px;line-height:1.5}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-link small,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td>small{font-size:9.75px;line-height:1.45}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals h3{font-size:12.5px;margin-block:11px 7px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals ul{gap:7px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals li,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals p{font-size:11.25px;line-height:1.7}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signals li{padding:10px 11px}

  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority{font-size:10.25px;line-height:1.35;padding:4px 8px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table td{font-size:11.25px;line-height:1.6;padding:10px 11px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td::before,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td::before,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table td::before{font-size:9.5px;line-height:1.4;margin-bottom:1px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:last-child .sfr-a02-btn{min-height:40px;font-size:11px}

  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-foundation>header p,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-methodology p{font-size:11.25px;line-height:1.85}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-awaiting{font-size:9.75px;line-height:1.4;padding:4px 8px}
}

@media(max-width:520px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-hero{padding:14px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intel-kpis article,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-bucket{padding:13px 14px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table tr,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table tr,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table tr{margin-bottom:10px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-table td,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-provision-table td{padding:11px 12px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-priority-table td:last-child .sfr-a02-btn{min-height:42px}
}


/* SFR Enterprise 085 — AR Reconciliation & Reporting Package */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting{display:grid;gap:12px;min-width:0;max-width:100%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;border:1px solid var(--sfr-border);border-radius:16px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate h2{margin:4px 0 5px;font-size:20px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate p{margin:0;max-width:780px;color:var(--sfr-erp-muted);font-size:11.5px;line-height:1.8}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate>div>span{font-size:10px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate>strong{display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border-radius:999px;font-size:10.5px;font-weight:950;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate.is-pass>strong{color:var(--sfr-success);background:color-mix(in srgb,var(--sfr-success) 10%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate.is-review>strong{color:var(--sfr-warning);background:color-mix(in srgb,var(--sfr-warning) 10%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate.is-blocked>strong{color:var(--sfr-danger);background:color-mix(in srgb,var(--sfr-danger) 10%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis article{display:grid;gap:5px;align-content:start;min-width:0;padding:13px;border:1px solid var(--sfr-border);border-radius:13px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis span{font-size:9.5px;font-weight:850;color:var(--sfr-erp-muted);line-height:1.45}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis strong{font-size:17px;color:var(--sfr-erp-ink);overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis strong.is-good{color:var(--sfr-success)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis strong.is-warn{color:var(--sfr-warning)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-exceptions header p,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-package header p{margin:4px 0 0;color:var(--sfr-erp-muted);font-size:10.5px;line-height:1.7}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-package>header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-actions{display:flex;flex-wrap:wrap;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-selector{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:13px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-selector button{min-height:38px;padding:8px 9px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font:inherit;font-size:9.5px;font-weight:900;line-height:1.35;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-selector button.is-active{background:var(--sfr-surface);color:var(--sfr-erp-ink);border-color:color-mix(in srgb,var(--sfr-accent) 45%,var(--sfr-border));box-shadow:0 1px 0 color-mix(in srgb,var(--sfr-border) 80%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-surface{min-width:0;max-width:100%;padding-top:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-surface>h3{margin:0 0 9px;color:var(--sfr-erp-ink);font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-table-wrap{min-width:0;max-width:100%;overflow-x:hidden;overflow-y:visible}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-table{width:100%;min-width:0;max-width:100%;table-layout:fixed}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-table th,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-table td{white-space:normal;overflow-wrap:anywhere;word-break:normal;vertical-align:top}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-table td small{display:block;color:var(--sfr-erp-muted);font-size:9px;margin-top:2px}
@media(max-width:1180px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-package>header{flex-direction:column}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-gate>strong{align-self:stretch;justify-content:center}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-recon-kpis{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-selector{grid-template-columns:1fr 1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-actions{width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-actions .sfr-a02-btn{flex:1 1 150px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table tbody{display:block;width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table thead{display:none}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table tr{display:grid;grid-template-columns:1fr 1fr;margin-bottom:9px;border:1px solid var(--sfr-border);border-radius:11px;background:var(--sfr-surface);overflow:hidden}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table td{display:grid;gap:3px;padding:10px 11px;border-bottom:1px solid var(--sfr-border);white-space:normal}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table td::before{content:attr(data-label);font-size:9px;font-weight:900;color:var(--sfr-erp-muted)}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table td:nth-child(odd){border-inline-end:1px solid var(--sfr-border)}
}
@media(max-width:520px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-selector{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table tr{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-reporting .sfr-ar-report-table td{border-inline-end:0!important}}


/* SFR Enterprise Sidebar Identity 086
   Canonical ERP sidebar composition: SFR Enterprise owns the shell brand area,
   company selection is the first operational control, ERP navigation follows
   immediately, while role and platform utilities remain available without
   competing with the primary module navigation. */
@media (min-width:1041px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"]:not([data-sfr-a01-sidebar="collapsed"]){
    --sfr-sidebar-width:clamp(270px,20vw,292px);
  }
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
  min-height:92px!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:62px minmax(0,1fr) auto auto;
  align-items:center;
  gap:7px!important;
  padding:11px 12px!important;
  border-bottom:1px solid var(--sfr-border,#dbe4f2)!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-mark{
  width:62px!important;
  height:46px!important;
  flex:0 0 62px!important;
  border-radius:0!important;
  background-color:transparent!important;
  background-image:url('../../brand/sfr-enterprise/sfr-enterprise-flow-mark-user-v1.png')!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  box-shadow:none!important;
  font-size:0!important;
  letter-spacing:0!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy{
  min-width:0;
  display:flex!important;
  flex-direction:column;
  gap:2px;
  line-height:1.28!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy strong{
  color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a))!important;
  font-family:Inter,Cairo,sans-serif!important;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:-.015em!important;
  white-space:normal!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy small{
  color:var(--sfr-erp-muted,var(--sfr-muted,#64748b))!important;
  font-family:inherit!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.35!important;
  letter-spacing:0!important;
  white-space:normal!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy em{
  color:color-mix(in srgb,var(--sfr-erp-muted,var(--sfr-muted,#64748b)) 88%,transparent)!important;
  font-style:normal!important;
  font-family:inherit!important;
  font-size:8.8px!important;
  font-weight:700!important;
  line-height:1.35!important;
  white-space:normal!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-a01__icon-button{
  margin-inline-start:0!important;
  width:29px;
  min-width:29px;
  height:29px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-sidebar-context{
  padding:11px 12px 10px!important;
  gap:0!important;
  background:color-mix(in srgb,var(--sfr-surface,#fff) 78%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company-field>span{
  margin-bottom:2px;
  font-size:10.5px!important;
  font-weight:900!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-company-field select{
  min-height:40px;
  padding:8px 10px!important;
  border-radius:11px!important;
  font-size:12px!important;
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav{
  gap:7px!important;
  padding-top:7px!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__items{
  order:1;
  margin-top:0!important;
  padding:0 0 8px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item{
  min-height:40px;
  padding:8px 10px!important;
  font-size:12.5px!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav-role{
  order:2;
  padding:9px 10px;
  border-top:1px solid var(--sfr-border,#dbe4f2);
  border-bottom:1px solid var(--sfr-border,#dbe4f2);
  background:color-mix(in srgb,var(--sfr-surface-subtle,#f1f5f9) 76%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav-role .sfr-smart-erp-role-field{
  display:grid;
  gap:5px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav-role .sfr-smart-erp-role-field>span{
  color:var(--sfr-erp-muted,var(--sfr-muted,#64748b));
  font-size:10px;
  font-weight:850;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav-role select{
  width:100%;
  min-width:0;
  min-height:37px;
  padding:7px 9px;
  border:1px solid var(--sfr-border,#dbe4f2);
  border-radius:10px;
  background:var(--sfr-surface,#fff);
  color:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));
  font:inherit;
  font-size:11.5px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__utility{
  order:3;
  display:grid;
  gap:6px;
  padding-top:2px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__exam,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__back{
  margin:0!important;
}
/* Collapsed rail: preserve the canonical rail and keep only the product mark visible. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
  min-height:68px!important;
  height:68px!important;
  display:flex!important;
  justify-content:center!important;
  padding:0 8px!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-sidebar-context,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-nav-role,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-nav__utility{
  display:none!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-nav__item{
  grid-template-columns:1fr!important;
  justify-items:center;
  width:44px;
  min-height:44px;
  margin-inline:auto;
  padding:5px!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-nav__item>span:not(.sfr-smart-erp-nav__icon),
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-nav__item>small{
  display:none!important;
}
/* Mobile drawer remains full-featured even when the desktop rail had been collapsed. */
@media(max-width:1040px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"].is-mobile-nav-open .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
    min-height:88px!important;
    height:auto!important;
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    padding:10px 12px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"].is-mobile-nav-open .sfr-smart-erp-sidebar-context,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"].is-mobile-nav-open .sfr-smart-erp-nav-role,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"].is-mobile-nav-open .sfr-smart-erp-nav__utility{
    display:grid!important;
  }
}


/* SFR Enterprise Sidebar Identity 086R2 — vertical brand hierarchy
   Approved composition: product mark above SFR Enterprise name, then product
   descriptor and Smart Fin Reports affiliation. Canonical pin/collapse controls
   remain part of the shared shell and are positioned independently. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
  position:relative!important;
  min-height:148px!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:12px 38px 13px!important;
  text-align:center!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-mark{
  width:104px!important;
  height:58px!important;
  flex:0 0 58px!important;
  margin:0 auto 2px!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy{
  width:100%;
  min-width:0;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:2px!important;
  text-align:center!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy strong{
  font-size:16px!important;
  line-height:1.2!important;
  text-align:center!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy small{
  max-width:210px;
  font-size:10.5px!important;
  line-height:1.4!important;
  text-align:center!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-shell-brand-copy em{
  max-width:220px;
  margin-top:1px;
  font-size:9px!important;
  line-height:1.4!important;
  text-align:center!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-a01__pin-button{
  position:absolute!important;
  inset-block-start:9px!important;
  inset-inline-start:9px!important;
  margin:0!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-a01__icon-button:not(.sfr-a01__pin-button){
  position:absolute!important;
  inset-block-start:9px!important;
  inset-inline-end:9px!important;
  margin:0!important;
}
/* Keep the collapsed rail compact: only the approved mark remains visible. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
  min-height:68px!important;
  height:68px!important;
  padding:0 8px!important;
  justify-content:center!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-shell-brand-mark{
  width:54px!important;
  height:40px!important;
  flex:0 0 40px!important;
  margin:0!important;
}
/* Mobile drawer uses the same vertical identity instead of reverting to the old side-by-side brand. */
@media(max-width:1040px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"].is-mobile-nav-open .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
    min-height:142px!important;
    height:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:11px 36px 12px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"].is-mobile-nav-open .sfr-smart-erp-shell-brand-mark{
    width:94px!important;
    height:53px!important;
    flex:0 0 53px!important;
    margin:0 auto 2px!important;
  }
}

/* SFR Enterprise Sidebar Compact Rail 086R3
   Final sidebar refinement: reduce expanded ERP rail by ~10%, let the shared
   shell return the reclaimed width to the workspace, and keep the collapsed
   identity area mark-only so no product copy can wrap or distort. */
@media (min-width:1041px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"]:not([data-sfr-a01-sidebar="collapsed"]){
    --sfr-sidebar-width:clamp(243px,18vw,263px)!important;
  }
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
  padding-inline:28px!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-shell-brand-copy small{
  max-width:190px!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-shell-brand-copy em{
  max-width:198px!important;
}
/* Collapsed desktop rail: brand area contains the approved logo only. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
  min-height:72px!important;
  height:72px!important;
  padding:0 6px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-shell-brand-copy,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-a01__icon-button,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] [class*="brand-copy"]{
  display:none!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-a01-sidebar="collapsed"] .sfr-smart-erp-shell-brand-mark{
  display:block!important;
  width:58px!important;
  height:44px!important;
  flex:0 0 44px!important;
  margin:0!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
/* Mobile drawer remains expanded/full-featured regardless of the saved desktop rail state. */
@media(max-width:1040px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"].is-mobile-nav-open .sfr-smart-erp-shell-brand-copy{
    display:flex!important;
  }
}


/* 088 — AR reporting professionalization */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-actions .sfr-a02-btn{min-height:38px;padding-inline:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-table tbody tr:last-child td{font-weight:800;background:color-mix(in srgb,var(--sfr-surface-subtle) 82%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-panel{margin-top:14px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface);padding:14px;box-shadow:0 8px 24px color-mix(in srgb,#000 7%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-panel__head>div{display:grid;gap:3px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-panel__head span{font-size:10px;font-weight:800;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-panel__head strong{font-size:13px;color:var(--sfr-erp-ink);overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-warning{margin-bottom:10px;padding:9px 10px;border-radius:9px;border:1px solid color-mix(in srgb,#c77b00 35%,var(--sfr-border));background:color-mix(in srgb,#c77b00 8%,var(--sfr-surface));font-size:10.5px;font-weight:700;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid label{display:grid;gap:5px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid label.is-wide{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid label>span{font-size:10px;font-weight:900;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid input,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid textarea,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid select{width:100%;min-width:0;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-ink);padding:9px 10px;font:inherit;font-size:11px;line-height:1.45;outline:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid textarea{resize:vertical;min-height:86px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-panel__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
@media(max-width:720px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-actions .sfr-a02-btn{width:100%;min-height:42px;flex:none}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-grid label.is-wide{grid-column:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-email-panel__head{align-items:flex-start}
}
@media(max-width:460px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-report-actions{grid-template-columns:1fr}}

/* ========================================================================
   SFR Enterprise 100 — AR Decision Intelligence / Interactive Charts
   Canonical workspace layer; no parallel chart runtime.
   ======================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-center{
  --sfr-ar-blue:#2563eb;
  --sfr-ar-cyan:#06b6d4;
  --sfr-ar-teal:#14b8a6;
  --sfr-ar-green:#22c55e;
  --sfr-ar-amber:#f59e0b;
  --sfr-ar-orange:#f97316;
  --sfr-ar-red:#ef4444;
  --sfr-ar-violet:#8b5cf6;
  display:grid;
  gap:14px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-hero::after{
  content:"";
  position:absolute;
  inset-inline-end:-70px;
  top:-105px;
  width:280px;
  height:280px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.18) 0,rgba(6,182,212,.08) 42%,transparent 72%);
  z-index:-1;
  pointer-events:none;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px;
  align-items:stretch;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-card{
  min-width:0;
  display:grid;
  gap:13px;
  align-content:start;
  padding:16px;
  overflow:visible;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-card--wide{
  grid-column:1/-1;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head>div{
  min-width:0;
  display:grid;
  gap:4px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head>div>span{
  width:max-content;
  padding:3px 8px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(37,99,235,.11),rgba(6,182,212,.12));
  color:var(--sfr-ar-blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head h3{
  margin:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head p{
  margin:0;
  line-height:1.75;
  color:var(--sfr-erp-muted);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-reading{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:11px 12px;
  border:1px solid color-mix(in srgb,var(--sfr-ar-blue) 17%,var(--sfr-border));
  border-radius:11px;
  background:linear-gradient(135deg,rgba(37,99,235,.055),rgba(6,182,212,.035));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-reading strong{
  color:var(--sfr-ar-blue);
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-reading p{
  margin:0;
  color:var(--sfr-erp-ink);
  line-height:1.75;
}

/* Interactive hover tooltip */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] [data-sfr-ar-tip]{position:relative}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] [data-sfr-ar-tip]::after{
  content:attr(data-sfr-ar-tip);
  position:absolute;
  z-index:70;
  inset-inline-start:50%;
  bottom:calc(100% + 9px);
  transform:translateX(-50%) translateY(4px);
  min-width:190px;
  max-width:min(340px,80vw);
  width:max-content;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:9px;
  background:rgba(9,18,35,.96);
  color:#fff!important;
  box-shadow:0 12px 34px rgba(2,8,23,.26);
  font-size:11px;
  font-weight:600;
  line-height:1.65;
  white-space:normal;
  text-align:start;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] [data-sfr-ar-tip]:hover::after,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] [data-sfr-ar-tip]:focus-visible::after{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

/* Aging — vector-quality CSS segmented chart */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-viz{display:grid;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-stack{
  min-height:72px;
  display:flex;
  overflow:visible;
  gap:3px;
  padding:7px;
  border:1px solid var(--sfr-border);
  border-radius:14px;
  background:var(--sfr-surface-subtle);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment{
  appearance:none;
  min-width:0;
  flex:var(--share) 1 0;
  border:0;
  border-radius:9px;
  padding:9px 7px;
  display:grid;
  place-content:center;
  gap:3px;
  color:#fff!important;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 13px rgba(15,23,42,.08);
  transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment:hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment:focus-visible{
  transform:translateY(-2px);
  filter:saturate(1.08) brightness(1.02);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 9px 20px rgba(15,23,42,.14);
  outline:none;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment b{color:#fff!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment.is-1{background:linear-gradient(135deg,#2563eb,#06b6d4)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment.is-2{background:linear-gradient(135deg,#0891b2,#14b8a6)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment.is-3{background:linear-gradient(135deg,#84cc16,#eab308)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment.is-4{background:linear-gradient(135deg,#f59e0b,#f97316)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment.is-5,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment.is-6{background:linear-gradient(135deg,#f97316,#ef4444)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
  gap:7px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend>div{
  display:grid;
  grid-template-columns:9px minmax(0,1fr) auto;
  column-gap:7px;
  row-gap:2px;
  align-items:center;
  padding:7px 8px;
  border:1px solid var(--sfr-border);
  border-radius:9px;
  background:var(--sfr-surface-subtle);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend i{width:8px;height:28px;border-radius:999px;grid-row:1/3}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend i.is-1{background:linear-gradient(#2563eb,#06b6d4)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend i.is-2{background:linear-gradient(#0891b2,#14b8a6)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend i.is-3{background:linear-gradient(#84cc16,#eab308)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend i.is-4{background:linear-gradient(#f59e0b,#f97316)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend i.is-5,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend i.is-6{background:linear-gradient(#f97316,#ef4444)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend span{font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend strong{text-align:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-legend small{grid-column:2/4;color:var(--sfr-erp-muted)}

/* DSO versus terms */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-viz{display:grid;gap:12px;padding:8px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row{
  display:grid;
  grid-template-columns:110px minmax(0,1fr) 58px;
  gap:10px;
  align-items:center;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row>span{font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row>div{height:18px;border-radius:999px;background:var(--sfr-surface-subtle);overflow:hidden;border:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row i{display:block;height:100%;border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.24)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row i.is-dso{background:linear-gradient(90deg,#2563eb,#06b6d4)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row i.is-terms{background:linear-gradient(90deg,#8b5cf6,#6366f1)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row strong{text-align:end;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-gap{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;border-radius:10px;background:linear-gradient(135deg,rgba(37,99,235,.07),rgba(139,92,246,.06));border:1px solid var(--sfr-border)}

/* Top 10 concentration */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-metrics>article{
  display:grid;
  gap:3px;
  padding:10px 11px;
  border:1px solid var(--sfr-border);
  border-radius:11px;
  background:linear-gradient(145deg,var(--sfr-surface-subtle),color-mix(in srgb,var(--sfr-ar-blue) 4%,var(--sfr-surface)));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-metrics span{color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-metrics strong{font-size:18px;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-viz{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(190px,.55fr);
  gap:16px;
  align-items:stretch;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10{display:grid;gap:6px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-row{
  width:100%;
  appearance:none;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:var(--sfr-erp-ink);
  padding:6px 7px;
  display:grid;
  grid-template-columns:28px minmax(120px,.75fr) minmax(130px,1.3fr) 60px;
  gap:8px;
  align-items:center;
  text-align:start;
  cursor:pointer;
  transition:background .14s ease,border-color .14s ease,transform .14s ease;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-row:hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-row:focus-visible{
  background:linear-gradient(90deg,rgba(37,99,235,.07),rgba(6,182,212,.035));
  border-color:color-mix(in srgb,var(--sfr-ar-blue) 24%,var(--sfr-border));
  transform:translateX(-2px);
  outline:none;
}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-row:hover,
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-row:focus-visible{transform:translateX(2px)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-rank{
  width:25px;height:25px;display:grid;place-items:center;border-radius:8px;
  background:linear-gradient(135deg,#dbeafe,#cffafe);color:#1d4ed8;font-weight:900;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-name{min-width:0;display:grid;gap:1px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-name strong,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-name small{color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-track{height:13px;border-radius:999px;background:var(--sfr-surface-subtle);border:1px solid var(--sfr-border);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb 0%,#3b82f6 34%,#06b6d4 100%);box-shadow:0 0 13px rgba(37,99,235,.15)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-row>b{text-align:end;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi{
  display:grid;
  place-items:center;
  align-content:center;
  gap:12px;
  padding:15px;
  border:1px solid var(--sfr-border);
  border-radius:14px;
  background:linear-gradient(155deg,rgba(37,99,235,.055),rgba(139,92,246,.055));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi-ring{
  width:142px;height:142px;border-radius:50%;position:relative;display:grid;place-items:center;
  background:conic-gradient(from -90deg,#2563eb 0,#06b6d4 var(--hhi),color-mix(in srgb,var(--sfr-border) 75%,transparent) var(--hhi),color-mix(in srgb,var(--sfr-border) 75%,transparent) 100%);
  box-shadow:0 10px 24px rgba(37,99,235,.12);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi-ring::after{content:"";position:absolute;inset:13px;border-radius:50%;background:var(--sfr-surface);border:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi-ring>span{position:relative;z-index:2;display:grid;text-align:center;gap:2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi-ring strong{font-size:25px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi-ring small{font-weight:800;color:var(--sfr-ar-blue)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi p{margin:0;text-align:center;line-height:1.65;color:var(--sfr-erp-muted)}

/* Risk distribution */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz{display:grid;gap:9px;padding-top:4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row{display:grid;grid-template-columns:78px minmax(0,1fr) 58px 30px;gap:8px;align-items:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row>div{height:14px;border:1px solid var(--sfr-border);border-radius:999px;overflow:hidden;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row i{display:block;height:100%;border-radius:999px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row.is-low i{background:linear-gradient(90deg,#10b981,#22c55e)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row.is-normal i{background:linear-gradient(90deg,#2563eb,#06b6d4)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row.is-watch i{background:linear-gradient(90deg,#eab308,#f59e0b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row.is-high i{background:linear-gradient(90deg,#f97316,#ef4444)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row.is-default i{background:linear-gradient(90deg,#dc2626,#991b1b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row strong{text-align:end;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-risk-viz-row small{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--sfr-surface-subtle);border:1px solid var(--sfr-border);font-weight:800}

/* Signals */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signal-columns{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signal-columns>div{padding:11px;border:1px solid var(--sfr-border);border-radius:11px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signal-columns h3{margin:0 0 7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signal-columns ul{margin:0;padding-inline-start:18px;display:grid;gap:6px}

/* ECL policy + readiness */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-card{display:grid;gap:13px;padding:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-status{max-width:330px;padding:7px 10px;border-radius:999px;border:1px solid var(--sfr-border);font-weight:800;text-align:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-status.is-ready{background:rgba(34,197,94,.11);color:#15803d;border-color:rgba(34,197,94,.28)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-status.is-partial{background:rgba(245,158,11,.11);color:#b45309;border-color:rgba(245,158,11,.3)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-status.is-awaiting_inputs{background:rgba(37,99,235,.08);color:#1d4ed8;border-color:rgba(37,99,235,.25)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-summary article{display:grid;gap:4px;padding:10px 11px;border:1px solid var(--sfr-border);border-radius:11px;background:linear-gradient(145deg,var(--sfr-surface-subtle),rgba(139,92,246,.035))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-summary span{color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-summary strong{font-size:17px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-readiness{display:grid;grid-template-columns:minmax(0,1fr) 60px;gap:9px;align-items:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-readiness>div{height:11px;border-radius:999px;overflow:hidden;background:var(--sfr-surface-subtle);border:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-readiness i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8b5cf6,#2563eb,#06b6d4)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-readiness>span{text-align:end;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-policy{display:grid;gap:10px;border-top:1px solid var(--sfr-border);padding-top:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-policy-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-policy-head h3{margin:0 0 3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-policy-head p{margin:0;line-height:1.7;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-table input{
  width:100%;min-width:78px;box-sizing:border-box;padding:7px 8px;border:1px solid var(--sfr-border);border-radius:8px;background:var(--sfr-surface);color:var(--sfr-erp-ink);font:inherit;text-align:end
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-table input:focus{outline:2px solid rgba(37,99,235,.18);border-color:#60a5fa}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-table td:first-child small{display:block;margin-top:2px;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-viz-empty{min-height:120px;display:grid;place-items:center;border:1px dashed var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);text-align:center;padding:18px}

/* Dark: preserve semantic gradients while respecting central dark typography. */
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-rank,
body.sfr-dark .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-rank{background:linear-gradient(135deg,rgba(37,99,235,.24),rgba(6,182,212,.18));color:#bfdbfe}
html[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi-ring::after,
body.sfr-dark .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi-ring::after{background:var(--sfr-surface)}

@media(max-width:1000px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-viz{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi{grid-template-columns:auto minmax(0,1fr);justify-items:start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi p{text-align:start}
}
@media(max-width:820px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-grid{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-card--wide{grid-column:auto}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-metrics,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-stack{min-height:64px}
}
@media(max-width:620px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-policy-head{flex-direction:column}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-decision-head .sfr-a02-btn,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-policy-head .sfr-a02-btn{width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-stack{display:grid;grid-template-columns:1fr;gap:6px;background:transparent;border:0;padding:0}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-segment{min-height:48px;grid-template-columns:1fr auto;place-content:stretch;align-items:center;text-align:start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-row{grid-template-columns:90px minmax(0,1fr) 48px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-row{grid-template-columns:27px minmax(0,1fr) 50px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-top10-track{grid-column:2/4;width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-signal-columns{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi{grid-template-columns:1fr;justify-items:center}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-hhi p{text-align:center}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-summary,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-concentration-metrics{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] [data-sfr-ar-tip]::after{display:none}
}

/* ========================================================================
   SFR Enterprise 101 — AR Decision Intelligence Refinement
   Full-width aging, 30-day collection horizon, ECL chart, ratios & evidence.
   ======================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-card,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-card{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-card .sfr-ar-aging-legend{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-card .sfr-ar-aging-legend>div{min-width:0;padding:10px 11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-card .sfr-ar-aging-legend span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-card .sfr-ar-aging-legend strong{white-space:normal;overflow-wrap:anywhere;color:var(--sfr-erp-ink)}

/* 30-day cumulative collection / due curve */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast{display:grid;gap:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-stage{position:relative;min-height:285px;border:1px solid var(--sfr-border);border-radius:15px;background:linear-gradient(180deg,color-mix(in srgb,var(--sfr-surface) 96%,#2563eb 4%),var(--sfr-surface));overflow:hidden;padding:12px 14px 28px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-stage svg{display:block;width:100%;height:235px;overflow:visible}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-area{fill:url(#sfrArForecastArea101)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-line{fill:none;stroke:url(#sfrArForecastStroke101);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 5px 8px rgba(37,99,235,.14))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-axis{stroke:color-mix(in srgb,var(--sfr-border) 82%,transparent);stroke-width:1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point{position:absolute;inset-inline-start:var(--x);top:var(--y);transform:translate(-50%,-50%);appearance:none;border:0;background:transparent;padding:0;display:grid;justify-items:center;gap:5px;cursor:pointer;z-index:4;color:var(--sfr-erp-ink)}
[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point{transform:translate(50%,-50%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point i{width:17px;height:17px;border-radius:50%;border:4px solid var(--sfr-surface);box-shadow:0 0 0 3px rgba(37,99,235,.22),0 6px 14px rgba(15,23,42,.12);background:#2563eb}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point.is-2 i{background:#06b6d4;box-shadow:0 0 0 3px rgba(6,182,212,.22),0 6px 14px rgba(15,23,42,.12)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point.is-3 i{background:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.22),0 6px 14px rgba(15,23,42,.12)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point b{padding:3px 7px;border-radius:7px;background:color-mix(in srgb,var(--sfr-surface) 94%,transparent);border:1px solid var(--sfr-border);box-shadow:0 5px 16px rgba(15,23,42,.07);font-variant-numeric:tabular-nums;color:var(--sfr-erp-ink);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-labels{position:absolute;inset-inline:9%;bottom:8px;display:grid;grid-template-columns:repeat(3,1fr);text-align:center;font-weight:800;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods article{min-width:0;display:grid;gap:4px;padding:12px 13px;border:1px solid var(--sfr-border);border-radius:12px;background:linear-gradient(145deg,var(--sfr-surface-subtle),color-mix(in srgb,#06b6d4 4%,var(--sfr-surface)))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods article:nth-child(1){border-top:3px solid #2563eb}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods article:nth-child(2){border-top:3px solid #06b6d4}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods article:nth-child(3){border-top:3px solid #10b981}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods small{color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods strong{font-size:18px;color:var(--sfr-erp-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

/* Current-month vs fiscal cumulative real activity */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity>article{display:grid;gap:9px;padding:12px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity>article>span{font-weight:900;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity>article>div{display:flex;justify-content:space-between;align-items:baseline;gap:9px;padding-top:7px;border-top:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity bdi{color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity strong{color:var(--sfr-erp-ink);font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-integrity-note{padding:9px 11px;border:1px dashed color-mix(in srgb,#2563eb 35%,var(--sfr-border));border-radius:10px;background:color-mix(in srgb,#2563eb 4%,var(--sfr-surface));color:var(--sfr-erp-ink);line-height:1.75;font-weight:600}

/* ECL visual composition */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-subchart-title{margin:2px 0 0;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:18px;align-items:center;padding:12px;border:1px solid var(--sfr-border);border-radius:14px;background:linear-gradient(145deg,var(--sfr-surface-subtle),color-mix(in srgb,#8b5cf6 4%,var(--sfr-surface)))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-rows{display:grid;gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row{display:grid;grid-template-columns:110px minmax(0,1fr) 100px;gap:10px;align-items:center;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row>span{font-weight:800;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row>div{height:18px;border-radius:999px;background:var(--sfr-surface);border:1px solid var(--sfr-border);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row i{position:relative;display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4);min-width:2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row i b{position:absolute;inset-block:0;inset-inline-start:0;border-radius:999px;background:linear-gradient(90deg,#8b5cf6,#ec4899);min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row>strong{text-align:end;color:var(--sfr-erp-ink);font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-ring{--coverage:0;position:relative;width:136px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#8b5cf6 0 calc(var(--coverage)*1%),#06b6d4 calc(var(--coverage)*1%) calc(var(--coverage)*1.35%),var(--sfr-border) calc(var(--coverage)*1.35%) 100%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-ring::after{content:"";position:absolute;inset:14px;border-radius:50%;background:var(--sfr-surface);border:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-ring span{position:relative;z-index:2;display:grid;gap:2px;text-align:center;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-ring strong{font-size:22px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-ring small{font-weight:800;color:var(--sfr-erp-ink)}

/* Financial-position ratios + customer structure */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratios-card{display:grid;gap:13px;padding:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid article{min-width:0;display:grid;gap:5px;padding:11px 12px;border:1px solid var(--sfr-border);border-radius:11px;background:linear-gradient(145deg,var(--sfr-surface-subtle),color-mix(in srgb,#2563eb 3%,var(--sfr-surface)))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid small{color:var(--sfr-erp-ink);overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid strong{font-size:19px;color:var(--sfr-erp-ink);font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure{display:grid;gap:9px;padding-top:2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure h3{margin:0;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure article{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:9px 10px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure p{color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure strong{color:var(--sfr-erp-ink);font-size:17px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure small{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure p{margin:0;line-height:1.7}

@media(max-width:1050px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-ring{margin:auto}
}
@media(max-width:760px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods,
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity,
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-structure>div{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-stage{min-height:255px;padding-inline:6px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point b{font-size:10px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row{grid-template-columns:90px minmax(0,1fr) 82px}
}
@media(max-width:520px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-aging-card .sfr-ar-aging-legend{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row{grid-template-columns:1fr;gap:5px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ecl-viz-row>strong{text-align:start}
}


/* ========================================================================
   SFR Enterprise 102 — AR UX Integrity & Readability Refinement
   - Correct RTL cumulative collection step chart + chart-wide hover readings.
   - No broken financial numbers/dates in AR decision cards.
   - No page-level horizontal scrollbar in the canonical ERP workspace.
   - Decision-importance labels replace visible provenance clutter in ratios.
   - DSO card uses its decision space with real derived readings only.
   ======================================================================== */

/* Governing page-width rule: ERP page itself must never expose a horizontal scrollbar. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"]{
  max-width:100%;
  overflow-x:clip;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] :where(
  .sfr-a01__main,
  .sfr-smart-erp-main,
  .sfr-smart-erp-shell,
  .sfr-accounting-workspace,
  .sfr-accounting-body,
  .sfr-ar-intelligence,
  .sfr-ar-decision-grid,
  .sfr-smart-erp-card
){min-width:0;max-width:100%;box-sizing:border-box}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] :where(.sfr-a01__main,.sfr-smart-erp-main,.sfr-smart-erp-shell,.sfr-accounting-workspace,.sfr-accounting-body,.sfr-ar-intelligence){overflow-x:clip}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-table-wrap{max-width:100%;box-sizing:border-box}

/* Financial values and dates are atomic visual tokens: never wrap them. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-intelligence :where(
  .sfr-ar-horizon-periods strong,
  .sfr-ar-period-activity strong,
  .sfr-ar-period-activity bdi,
  .sfr-ar-ratio-grid strong,
  .sfr-ar-concentration-metrics strong,
  .sfr-ar-ecl-summary strong,
  .sfr-ar-dso-row strong,
  .sfr-ar-dso-gap strong,
  .sfr-ar-dso-summary strong
){white-space:nowrap;overflow-wrap:normal;word-break:normal}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-period-activity bdi{
  display:block;
  font-size:clamp(10px,1.05vw,11.5px);
  letter-spacing:-.025em;
  font-variant-numeric:tabular-nums;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-horizon-periods strong{font-size:clamp(14px,1.5vw,18px)}

/* 10/20/30 chart: true cumulative step path, with hover reading across the chart surface. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-area{fill:url(#sfrArForecastArea102)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-line{
  stroke:url(#sfrArForecastStroke102);
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-zones{
  position:absolute;
  inset:12px 8% 34px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  z-index:3;
  pointer-events:auto;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-zone{
  appearance:none;
  border:0;
  margin:0;
  padding:0;
  min-width:0;
  background:transparent;
  cursor:crosshair;
  color:transparent;
  outline:none;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-zone:hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-zone:focus-visible{
  background:linear-gradient(180deg,rgba(37,99,235,.025),rgba(6,182,212,.045));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-zone[data-sfr-ar-tip]::after{
  top:18px;
  bottom:auto;
  inset-inline-start:50%;
  max-width:min(290px,72vw);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point{z-index:5}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-hint{
  position:absolute;
  inset-inline-end:15px;
  top:10px;
  z-index:6;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--sfr-border);
  background:color-mix(in srgb,var(--sfr-surface) 94%,transparent);
  color:var(--sfr-erp-ink);
  font-size:10px;
  font-weight:700;
  pointer-events:none;
}

/* Ratio cards: the visible secondary line is decision importance, not provenance clutter. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid article{border-inline-start-width:4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid article.is-importance-high{border-inline-start-color:#ef4444}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid article.is-importance-medium{border-inline-start-color:#f59e0b}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid article.is-importance-limited{border-inline-start-color:#10b981}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid article.is-unavailable{border-inline-start-color:var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-ratio-grid small{font-weight:700;white-space:normal}

/* DSO: use the card's free decision space with transparent, derived readings. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  padding-top:2px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary article{
  min-width:0;
  display:grid;
  gap:5px;
  align-content:start;
  padding:11px 12px;
  border:1px solid var(--sfr-border);
  border-radius:11px;
  background:linear-gradient(145deg,var(--sfr-surface-subtle),color-mix(in srgb,#2563eb 3%,var(--sfr-surface)));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary article.is-good{border-inline-start:4px solid #10b981}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary article.is-watch{border-inline-start:4px solid #f59e0b}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary article.is-neutral{border-inline-start:4px solid #2563eb}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary small{color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary strong{font-size:14px;line-height:1.5;color:var(--sfr-erp-ink)}

@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-dso-summary{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-hint{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-zones{inset-inline:4%}
}


/* Patch 103 — pointer-anchored in-chart tooltip + collection ratio chart. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-hover-zone[data-sfr-ar-tip]::after,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-point[data-sfr-ar-tip]::after{display:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-tooltip{
  position:absolute;
  z-index:12;
  left:8px;
  top:8px;
  max-width:min(310px,72%);
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:9px;
  background:rgba(9,18,35,.96);
  color:#fff!important;
  box-shadow:0 12px 34px rgba(2,8,23,.26);
  font-size:11px;
  font-weight:700;
  line-height:1.55;
  text-align:start;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(3px);
  transition:opacity .1s ease,transform .1s ease,visibility .1s ease;
  white-space:normal;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-tooltip.is-visible{opacity:1;visibility:visible;transform:translateY(0)}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio{
  grid-column:1/-1;
  display:grid;
  gap:10px;
  margin-top:2px;
  padding:13px 14px;
  border:1px solid var(--sfr-border);
  border-radius:13px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--sfr-surface) 97%,#2563eb 3%),var(--sfr-surface));
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio header{display:grid;gap:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio header h3{margin:0;color:var(--sfr-erp-ink);font-size:14px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio header p{margin:0;color:var(--sfr-erp-ink);font-size:11px;line-height:1.7}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-row{display:grid;grid-template-columns:minmax(105px,150px) minmax(120px,1fr) 64px;gap:10px;align-items:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-row>span{font-weight:700;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-row>strong{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--sfr-erp-ink);text-align:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-track{position:relative;height:15px;border-radius:999px;background:color-mix(in srgb,var(--sfr-border) 58%,transparent);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-track>b{position:absolute;inset-block:0;inset-inline-start:0;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4);box-shadow:0 5px 13px rgba(37,99,235,.16)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-row.is-ytd .sfr-ar-collection-ratio-track>b{background:linear-gradient(90deg,#7c3aed,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-target{position:absolute;inset-block:0;inset-inline-start:var(--target);width:2px;background:color-mix(in srgb,var(--sfr-erp-ink) 58%,transparent);z-index:2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-note{padding:7px 9px;border-radius:9px;background:color-mix(in srgb,#f59e0b 8%,var(--sfr-surface));border:1px solid color-mix(in srgb,#f59e0b 24%,var(--sfr-border));color:var(--sfr-erp-ink);font-size:10.5px;line-height:1.65}
@media(max-width:720px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-row{grid-template-columns:1fr 58px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-collection-ratio-track{grid-column:1/-1;grid-row:2}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ar-forecast-tooltip{max-width:82%;font-size:10px}
}


/* ========================================================================
   SFR-PATCH-ERP-ACCOUNTING-WORKSPACE-REDESIGN-110
   Modern Accounting Workspace — canonical SFR Enterprise runtime only.
   No parallel UI/runtime. Uses Shared Theme Tokens and existing lifecycle.
   ======================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2{
  --sfr-acc-radius-xl:22px;
  --sfr-acc-radius-lg:16px;
  --sfr-acc-gap:14px;
  display:grid;
  gap:14px;
  width:100%;
  max-width:none;
  margin:0;
  padding:10px 10px 28px;
  overflow-x:clip;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-hero--v2{
  grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr);
  gap:16px;
  align-items:stretch;
  padding:22px;
  border:1px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 22%,var(--sfr-border,#dbe4f2));
  border-radius:var(--sfr-acc-radius-xl);
  background:
    radial-gradient(circle at 10% 0%,color-mix(in srgb,var(--sfr-primary,#2563eb) 12%,transparent),transparent 34%),
    linear-gradient(135deg,color-mix(in srgb,var(--sfr-surface,#fff) 96%,var(--sfr-primary,#2563eb)),var(--sfr-surface,#fff));
  box-shadow:0 10px 30px color-mix(in srgb,var(--sfr-ink,#0f172a) 7%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero__content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero__eyebrow{
  display:inline-flex;align-items:center;gap:7px;width:max-content;margin-bottom:7px;padding:5px 9px;border:1px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 25%,var(--sfr-border,#dbe4f2));border-radius:999px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb);font-size:11px;font-weight:800;letter-spacing:.01em
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero__eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--sfr-primary,#2563eb);box-shadow:0 0 0 4px color-mix(in srgb,var(--sfr-primary,#2563eb) 13%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-hero h1{margin:0;font-size:clamp(25px,2.5vw,34px);font-weight:800;line-height:1.25;letter-spacing:-.02em}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-hero p{max-width:760px;margin:7px 0 0;font-size:13.5px;font-weight:500;line-height:1.8;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-primary,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-secondary{
  min-height:39px;padding:8px 14px;border-radius:10px;font:inherit;font-size:12.5px;font-weight:750;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-primary{border:1px solid var(--sfr-primary,#2563eb);background:var(--sfr-primary,#2563eb);color:#fff;box-shadow:0 7px 16px color-mix(in srgb,var(--sfr-primary,#2563eb) 22%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-secondary{border:1px solid var(--sfr-border,#dbe4f2);background:var(--sfr-surface,#fff);color:var(--sfr-ink,#0f172a)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-primary:hover,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-secondary:hover{transform:translateY(-1px)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card{
  display:flex!important;flex-direction:column;justify-content:center;gap:5px;min-width:0;padding:16px!important;border:1px solid var(--sfr-border,#dbe4f2)!important;border-radius:17px!important;background:color-mix(in srgb,var(--sfr-surface,#fff) 92%,var(--sfr-primary,#2563eb))!important
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card>small{font-size:10px!important;font-weight:700!important;color:var(--sfr-muted,#64748b)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card>strong{font-size:16px!important;font-weight:800!important;line-height:1.4!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card>bdi{font-size:10.5px!important;font-weight:750!important;color:var(--sfr-primary,#2563eb)!important;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px;padding-top:10px;border-top:1px solid var(--sfr-border,#dbe4f2)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta>span{display:grid;gap:3px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta small{font-size:9px;color:var(--sfr-muted,#64748b);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta bdi,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta b{font-size:11px;font-weight:800;color:var(--sfr-ink,#0f172a);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta .is-pass b{color:var(--sfr-pos-text,#08785d)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta .is-fail b{color:var(--sfr-neg-text,#b42318)}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-tabs{
  display:flex!important;align-items:center;gap:5px;min-width:0;padding:5px!important;border:1px solid var(--sfr-border,#dbe4f2);border-radius:13px;background:var(--sfr-surface-soft,#f7faff);overflow-x:auto;scrollbar-width:none
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-tabs::-webkit-scrollbar{display:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-tabs button{flex:0 0 auto;min-height:36px;padding:7px 13px;border-radius:9px!important;font-size:11.5px!important;font-weight:750!important;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-tabs button.is-active{background:var(--sfr-surface,#fff);color:var(--sfr-primary,#2563eb);box-shadow:0 2px 8px color-mix(in srgb,var(--sfr-ink,#0f172a) 7%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-body{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2{display:grid;gap:14px}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis article{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:88px;padding:13px 14px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:14px;background:var(--sfr-surface,#fff);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis article::after{content:"";position:absolute;inset-inline-end:-16px;bottom:-25px;width:70px;height:70px;border-radius:50%;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 5%,transparent);pointer-events:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis small{font-size:10px!important;font-weight:650!important;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis strong{font-size:18px!important;font-weight:800!important;color:var(--sfr-ink,#0f172a);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-kpi-status span{font-size:9.5px;color:var(--sfr-muted,#64748b);line-height:1.45}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-kpi-status.is-pass{border-color:color-mix(in srgb,var(--sfr-pos-border,#74dab8) 72%,var(--sfr-border,#dbe4f2))!important;background:color-mix(in srgb,var(--sfr-pos-bg,#e9fbf5) 35%,var(--sfr-surface,#fff))!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-kpi-status.is-fail{border-color:color-mix(in srgb,var(--sfr-neg-border,#f0a7a7) 72%,var(--sfr-border,#dbe4f2))!important;background:color-mix(in srgb,var(--sfr-neg-bg,#fff1f1) 38%,var(--sfr-surface,#fff))!important}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-command-center,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-panel{border:1px solid var(--sfr-border,#dbe4f2);border-radius:var(--sfr-acc-radius-lg);background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-command-center{padding:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-command-center>header span{display:block;margin-bottom:3px;font-size:9.5px;font-weight:800;color:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-command-center h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-panel h2{margin:0;font-size:15px;font-weight:800;color:var(--sfr-ink,#0f172a)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-command-center p,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-panel p{margin:3px 0 0;font-size:10.5px;font-weight:500;line-height:1.6;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px;margin-top:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card{
  display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:9px;align-items:center;min-width:0;min-height:80px;padding:11px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:12px;background:var(--sfr-surface-soft,#f7faff);color:var(--sfr-ink,#0f172a);font:inherit;text-align:start;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--sfr-primary,#2563eb) 35%,var(--sfr-border,#dbe4f2));background:color-mix(in srgb,var(--sfr-primary,#2563eb) 4%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card.is-primary{border-color:color-mix(in srgb,var(--sfr-primary,#2563eb) 42%,var(--sfr-border,#dbe4f2));background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card__mark{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--sfr-surface,#fff);border:1px solid var(--sfr-border,#dbe4f2);color:var(--sfr-primary,#2563eb);font:800 10px/1 var(--sfr-font-latin,Inter,sans-serif);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card>span:nth-child(2){display:grid;gap:3px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card strong{font-size:11.5px;font-weight:800;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:9.5px;font-weight:500;line-height:1.45;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card em{font-size:13px;font-style:normal;color:var(--sfr-muted,#64748b)}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:10px;align-items:start}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-panel{padding:14px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-link-button{flex:0 0 auto;min-height:32px;padding:6px 10px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:9px;background:var(--sfr-surface-soft,#f7faff);color:var(--sfr-primary,#2563eb);font:inherit;font-size:10px;font-weight:750;cursor:pointer;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-list{display:grid;gap:5px;margin-top:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row{display:grid;grid-template-columns:minmax(150px,1.3fr) minmax(110px,.7fr) minmax(130px,.8fr) auto;gap:9px;align-items:center;width:100%;min-width:0;padding:9px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--sfr-ink,#0f172a);font:inherit;text-align:start;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row:hover{border-color:var(--sfr-border,#dbe4f2);background:var(--sfr-surface-soft,#f7faff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row>span{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row small{display:block;margin-bottom:2px;font-size:8.8px;font-weight:650;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row strong{font-size:10.5px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row bdi{font-size:10px;font-weight:700;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-doc small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row .sfr-accounting-status{justify-self:end;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-empty{margin-top:10px;padding:18px;border:1px dashed var(--sfr-border,#dbe4f2);border-radius:10px;color:var(--sfr-muted,#64748b);font-size:10.5px;text-align:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-badge{flex:0 0 auto;padding:5px 8px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-badge.is-pass{border-color:var(--sfr-pos-border,#74dab8);background:var(--sfr-pos-bg,#e9fbf5);color:var(--sfr-pos-text,#08785d)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-badge.is-fail{border-color:var(--sfr-neg-border,#f0a7a7);background:var(--sfr-neg-bg,#fff1f1);color:var(--sfr-neg-text,#b42318)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list{display:grid;gap:7px;margin-top:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list article{display:grid;grid-template-columns:minmax(86px,.55fr) minmax(0,1fr);column-gap:9px;row-gap:2px;align-items:center;padding:9px 10px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:10px;background:var(--sfr-surface-soft,#f7faff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list small{grid-row:1/3;font-size:9px;font-weight:700;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list strong,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list bdi{font-size:10.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list span{font-size:9px;line-height:1.45;color:var(--sfr-muted,#64748b)}

/* Keep financial values and dates on one line; solve narrow space through layout, not page scrolling. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 :where(bdi,.sfr-ledger-table td:nth-last-child(-n+5),.sfr-ledger-table th:nth-last-child(-n+5)){white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 :where(.sfr-ledger,.sfr-gj-list,.sfr-gj-editor,.sfr-trial-balance){padding:15px;border:1px solid var(--sfr-border,#dbe4f2);border-radius:var(--sfr-acc-radius-lg);background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-ledger-table{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}

@media(max-width:1180px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-hero--v2{grid-template-columns:1fr;padding:18px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta{grid-template-columns:repeat(3,minmax(90px,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row{grid-template-columns:minmax(150px,1.2fr) minmax(100px,.7fr) minmax(120px,.8fr) auto}
}
@media(max-width:680px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2{padding:7px 7px 22px;gap:10px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-hero--v2{padding:15px;border-radius:17px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-hero h1{font-size:24px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v2 .sfr-accounting-hero p{font-size:12px;line-height:1.7}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta{grid-template-columns:1fr 1fr 1fr;overflow:hidden}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v2 .sfr-accounting-kpis article{min-height:78px;padding:11px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-kpi-status{grid-column:1/-1}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-grid{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card{grid-template-columns:34px minmax(0,1fr);min-height:74px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-card em{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-panel>header{display:grid}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-link-button{width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:10px;border-color:var(--sfr-border,#dbe4f2);background:var(--sfr-surface-soft,#f7faff)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row>span:nth-child(2),
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row>span:nth-child(3){grid-column:1/2;display:flex;align-items:center;gap:6px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-recent-row .sfr-accounting-status{grid-column:2;grid-row:1;align-self:start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list article{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-truth-list small{grid-row:auto}
}
@media(max-width:430px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero__actions{display:grid;width:100%;grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-primary,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-hero-secondary{width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-company-card__meta>span:last-child{grid-column:1/-1}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-action-grid{grid-template-columns:1fr}
}


/* ========================================================================
   156 — SFR Central Icon System / Enterprise Accounting Consumer
   Central semantic icon consumer layer for the canonical Accounting Workspace.
   SVG uses currentColor so it inherits Shared Theme Tokens in Light/Dark.
   No external image runtime, font icon dependency, or duplicated navigation.
   ======================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-icon{
  display:block;width:20px;height:20px;min-width:20px;min-height:20px;overflow:visible;color:inherit;vector-effect:non-scaling-stroke
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-hero__eyebrow{
  display:inline-flex;align-items:center;gap:7px
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-hero__eyebrow::before{display:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-hero__eyebrow .sfr-accounting-icon{width:15px;height:15px;min-width:15px;min-height:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-hero-primary,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-hero-secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-hero-primary .sfr-accounting-icon,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-hero-secondary .sfr-accounting-icon{width:18px;height:18px;min-width:18px;min-height:18px}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__heading{
  display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:0
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__heading>div{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__icon{
  display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid color-mix(in srgb,var(--sfr-primary,#2563eb) 26%,var(--sfr-border,#dbe4f2));background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__icon .sfr-accounting-icon{width:22px;height:22px;min-width:22px;min-height:22px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__meta>span{position:relative;padding-inline-start:31px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__meta>span>i{
  position:absolute;inset-inline-start:9px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:17px;height:17px;color:var(--sfr-muted,#64748b);font-style:normal
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__meta>span>i .sfr-accounting-icon{width:15px;height:15px;min-width:15px;min-height:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__meta>span.is-pass>i{color:var(--sfr-positive,#15803d)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__meta>span.is-fail>i{color:var(--sfr-negative,#b91c1c)}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-tabs button{
  display:flex;align-items:center;justify-content:center;gap:8px
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-tab-icon{
  display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:var(--sfr-muted,#64748b);transition:color .16s ease,background .16s ease
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-tab-icon .sfr-accounting-icon{width:17px;height:17px;min-width:17px;min-height:17px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-tabs button.is-active .sfr-accounting-tab-icon{
  color:var(--sfr-primary,#2563eb);background:color-mix(in srgb,var(--sfr-primary,#2563eb) 10%,transparent)
}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-kpis>article{
  position:relative;padding-inline-start:48px
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-kpi-icon{
  position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-kpi-icon .sfr-accounting-icon{width:16px;height:16px;min-width:16px;min-height:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-kpi-status.is-pass .sfr-accounting-kpi-icon{color:var(--sfr-positive,#15803d);background:color-mix(in srgb,var(--sfr-positive,#15803d) 8%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-kpi-status.is-fail .sfr-accounting-kpi-icon{color:var(--sfr-negative,#b91c1c);background:color-mix(in srgb,var(--sfr-negative,#b91c1c) 8%,var(--sfr-surface,#fff))}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-action-card__mark{
  color:var(--sfr-primary,#2563eb);font-size:0
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-action-card__mark .sfr-accounting-icon{width:20px;height:20px;min-width:20px;min-height:20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-action-card>em{display:grid;place-items:center;color:var(--sfr-muted,#64748b);font-style:normal}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-action-card>em .sfr-accounting-icon{width:16px;height:16px;min-width:16px;min-height:16px}
/* RTL direction is owned by SFR Central Icon Runtime (registry-driven). */

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-heading-icon{
  display:inline-grid;place-items:center;width:28px;height:28px;margin-inline-end:7px;border-radius:9px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb);vertical-align:middle
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-heading-icon .sfr-accounting-icon{width:16px;height:16px;min-width:16px;min-height:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-row{
  grid-template-columns:28px minmax(150px,1.3fr) minmax(92px,.65fr) minmax(120px,.8fr) auto
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-symbol{
  display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 6%,var(--sfr-surface,#fff));color:var(--sfr-muted,#64748b)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-symbol .sfr-accounting-icon{width:15px;height:15px;min-width:15px;min-height:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article{
  grid-template-columns:32px minmax(0,1fr) auto
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-icon{
  grid-row:1/4;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-icon .sfr-accounting-icon{width:16px;height:16px;min-width:16px;min-height:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>small{grid-column:2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>strong{grid-column:2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>bdi,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>span:not(.sfr-accounting-truth-icon){grid-column:3;grid-row:1/4;align-self:center}

@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-row{grid-template-columns:28px minmax(0,1fr) auto}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-row>span:nth-child(3),
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-row>span:nth-child(4){grid-column:2;display:flex;align-items:center;gap:6px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-row .sfr-accounting-status{grid-column:3;grid-row:1;align-self:start}
}
@media(max-width:520px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-tabs button{justify-content:flex-start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-kpis>article{padding-inline-start:44px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__heading{grid-template-columns:38px minmax(0,1fr)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-company-card__icon{width:38px;height:38px}
}

/* 111 responsive reconciliation with the pre-110 compact mobile rules. */
@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-recent-row .sfr-accounting-recent-doc{grid-column:2;display:block!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article{grid-template-columns:30px minmax(0,1fr);align-items:start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-icon{grid-column:1;grid-row:1/4}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>small,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>strong,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>bdi,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-icons-v1 .sfr-accounting-truth-list article>span:not(.sfr-accounting-truth-icon){grid-column:2;grid-row:auto;align-self:auto}
}


/* ========================================================================
   SFR-PATCH-ERP-ACCOUNTING-COMMAND-CENTER-112
   Professional Accounting Command Center.
   Replaces card-heavy visual hierarchy with an enterprise finance console
   while preserving the canonical runtime, selectors and accounting truth.
   ======================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3{
  --sfr-acc-v3-bg:color-mix(in srgb,var(--sfr-surface,#fff) 96%,var(--sfr-primary,#2563eb) 4%);
  --sfr-acc-v3-line:color-mix(in srgb,var(--sfr-border,#dbe4f2) 86%,transparent);
  --sfr-acc-v3-shadow:0 14px 40px color-mix(in srgb,var(--sfr-ink,#0f172a) 6%,transparent);
  gap:0;
  padding:8px 8px 28px;
  background:transparent;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top{
  overflow:hidden;
  border:1px solid var(--sfr-acc-v3-line);
  border-radius:16px 16px 0 0;
  background:var(--sfr-surface,#fff);
  box-shadow:var(--sfr-acc-v3-shadow);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__main{
  display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 24px 18px;
  background:linear-gradient(100deg,color-mix(in srgb,var(--sfr-primary,#2563eb) 5%,var(--sfr-surface,#fff)),var(--sfr-surface,#fff) 46%);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__title{min-width:0;max-width:830px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__eyebrow{
  display:inline-flex;align-items:center;gap:7px;margin-bottom:7px;color:var(--sfr-primary,#2563eb);font-size:10.5px;font-weight:800;letter-spacing:.025em
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__eyebrow .sfr-accounting-icon{width:15px;height:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top h1{margin:0;color:var(--sfr-ink,#0f172a);font-size:clamp(27px,2.25vw,34px);font-weight:760;line-height:1.18;letter-spacing:-.025em}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__title>p{max-width:720px;margin:7px 0 0;color:var(--sfr-muted,#64748b);font-size:12.5px;font-weight:500;line-height:1.72}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding-top:4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-top-primary,.sfr-acc-top-secondary){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 13px;border-radius:9px;font:inherit;font-size:11.5px;font-weight:750;white-space:nowrap;cursor:pointer;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-top-primary,.sfr-acc-top-secondary) .sfr-accounting-icon{width:16px;height:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top-primary{border:1px solid var(--sfr-primary,#2563eb);background:var(--sfr-primary,#2563eb);color:#fff;box-shadow:0 7px 16px color-mix(in srgb,var(--sfr-primary,#2563eb) 20%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top-secondary{border:1px solid var(--sfr-acc-v3-line);background:var(--sfr-surface,#fff);color:var(--sfr-ink,#0f172a)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-top-primary,.sfr-acc-top-secondary):hover{transform:translateY(-1px)}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context{
  display:grid;grid-template-columns:minmax(250px,1.45fr) repeat(3,minmax(145px,.62fr));align-items:stretch;border-top:1px solid var(--sfr-acc-v3-line);background:color-mix(in srgb,var(--sfr-surface,#fff) 97%,var(--sfr-primary,#2563eb) 3%);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-context__company,.sfr-acc-context__item){position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:11px 15px;border-inline-end:1px solid var(--sfr-acc-v3-line)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-context__company,.sfr-acc-context__item):last-child{border-inline-end:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-context__company,.sfr-acc-context__item)>span{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:8px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-context__company,.sfr-acc-context__item)>span .sfr-accounting-icon{width:16px;height:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context__item.is-pass>span{color:var(--sfr-positive,#15803d);background:color-mix(in srgb,var(--sfr-positive,#15803d) 8%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context__item.is-fail>span{color:var(--sfr-negative,#b91c1c);background:color-mix(in srgb,var(--sfr-negative,#b91c1c) 8%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-context__company,.sfr-acc-context__item)>div{display:grid;gap:1px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context small{color:var(--sfr-muted,#64748b);font-size:8.8px;font-weight:650;line-height:1.4}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--sfr-ink,#0f172a);font-size:11px;font-weight:780;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context__company>bdi{margin-inline-start:auto;padding:4px 6px;border:1px solid var(--sfr-acc-v3-line);border-radius:6px;color:var(--sfr-muted,#64748b);font-size:9px;font-weight:750;white-space:nowrap}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-nav-wrap{border-inline:1px solid var(--sfr-acc-v3-line);background:var(--sfr-surface,#fff);box-shadow:0 10px 24px color-mix(in srgb,var(--sfr-ink,#0f172a) 3%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tabs{display:flex!important;gap:0!important;margin:0!important;padding:0 13px!important;border:0!important;border-top:1px solid var(--sfr-acc-v3-line)!important;border-radius:0!important;background:var(--sfr-surface,#fff)!important;overflow:auto;box-shadow:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-height:45px!important;padding:8px 14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--sfr-muted,#64748b)!important;font-size:10.5px!important;font-weight:720!important;box-shadow:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tabs button::after{content:"";position:absolute;inset-inline:11px;bottom:0;height:2px;border-radius:2px;background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tabs button.is-active{color:var(--sfr-primary,#2563eb)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tabs button.is-active::after{background:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tab-icon{width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important;color:inherit!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tab-icon .sfr-accounting-icon{width:15px;height:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-body{padding:14px 0 0!important}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-overview-v3{display:grid;gap:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse{
  display:grid;grid-template-columns:minmax(190px,1.2fr) repeat(4,minmax(115px,.72fr)) minmax(190px,1.05fr);align-items:stretch;overflow:hidden;border:1px solid var(--sfr-acc-v3-line);border-radius:13px;background:var(--sfr-surface,#fff);box-shadow:0 8px 26px color-mix(in srgb,var(--sfr-ink,#0f172a) 4%,transparent)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse>*{min-width:0;padding:13px 14px;border-inline-end:1px solid var(--sfr-acc-v3-line)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse>*:last-child{border-inline-end:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__lead{display:flex;align-items:center;gap:10px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 4%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__lead>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:var(--sfr-primary,#2563eb);color:#fff}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__lead .sfr-accounting-icon{width:18px;height:18px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__lead>div,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state>div{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse small{color:var(--sfr-muted,#64748b);font-size:8.7px;font-weight:650;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse strong{display:flex;align-items:baseline;gap:5px;min-width:0;color:var(--sfr-ink,#0f172a);font-size:13px;font-weight:780;line-height:1.35;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse strong em{color:var(--sfr-muted,#64748b);font-size:8px;font-style:normal;font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__metric{display:grid;align-content:center;gap:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state{display:flex;align-items:center;gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state>span{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state>span .sfr-accounting-icon{width:17px;height:17px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state.is-pass>span{background:color-mix(in srgb,var(--sfr-positive,#15803d) 9%,var(--sfr-surface,#fff));color:var(--sfr-positive,#15803d)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state.is-fail>span{background:color-mix(in srgb,var(--sfr-negative,#b91c1c) 9%,var(--sfr-surface,#fff));color:var(--sfr-negative,#b91c1c)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state strong{font-size:10.5px;white-space:normal}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-dashboard{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.62fr);gap:14px;align-items:stretch}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] :where(.sfr-acc-operations,.sfr-acc-health,.sfr-acc-activity){min-width:0;border:1px solid var(--sfr-acc-v3-line);border-radius:13px;background:var(--sfr-surface,#fff);box-shadow:0 8px 24px color-mix(in srgb,var(--sfr-ink,#0f172a) 4%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-operations{padding:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-section-head>div{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-section-head span{display:block;margin-bottom:2px;color:var(--sfr-primary,#2563eb);font-size:8.7px;font-weight:800;text-transform:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-section-head h2{margin:0;color:var(--sfr-ink,#0f172a);font-size:15px;font-weight:780;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-section-head p{margin:4px 0 0;color:var(--sfr-muted,#64748b);font-size:9.5px;font-weight:500;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-list{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--sfr-acc-v3-line);border-radius:10px;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:67px;padding:10px 11px;border:0;border-inline-end:1px solid var(--sfr-acc-v3-line);border-bottom:1px solid var(--sfr-acc-v3-line);background:var(--sfr-surface,#fff);color:var(--sfr-ink,#0f172a);font:inherit;text-align:start;cursor:pointer;transition:background .14s ease,box-shadow .14s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row:nth-child(2n){border-inline-end:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row:nth-last-child(-n+2){border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row:hover{background:color-mix(in srgb,var(--sfr-primary,#2563eb) 3.5%,var(--sfr-surface,#fff));box-shadow:inset 3px 0 0 var(--sfr-primary,#2563eb)}
[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row:hover{box-shadow:inset -3px 0 0 var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row.is-primary{background:color-mix(in srgb,var(--sfr-primary,#2563eb) 5%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon{width:18px;height:18px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__body{display:grid;gap:3px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__body strong{font-size:10.8px;font-weight:780;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__body small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--sfr-muted,#64748b);font-size:8.7px;font-weight:500;line-height:1.45}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__go{display:grid;place-items:center;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__go .sfr-accounting-icon{width:14px;height:14px}
/* RTL direction is owned by SFR Central Icon Runtime (registry-driven). */

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health{display:flex;flex-direction:column;padding:16px;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__top{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;padding-bottom:13px;border-bottom:1px solid var(--sfr-acc-v3-line)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__icon .sfr-accounting-icon{width:21px;height:21px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health.is-pass .sfr-acc-health__icon{background:color-mix(in srgb,var(--sfr-positive,#15803d) 9%,var(--sfr-surface,#fff));color:var(--sfr-positive,#15803d)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health.is-fail .sfr-acc-health__icon{background:color-mix(in srgb,var(--sfr-negative,#b91c1c) 9%,var(--sfr-surface,#fff));color:var(--sfr-negative,#b91c1c)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__top small{color:var(--sfr-muted,#64748b);font-size:8.6px;font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__top h2{margin:2px 0 4px;color:var(--sfr-ink,#0f172a);font-size:14px;font-weight:800;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__top p{margin:0;color:var(--sfr-muted,#64748b);font-size:9px;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts{display:grid;margin-top:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts>div{display:grid;grid-template-columns:26px minmax(72px,.62fr) minmax(0,1fr);column-gap:8px;row-gap:1px;align-items:center;padding:9px 0;border-bottom:1px solid var(--sfr-acc-v3-line)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts>div:last-child{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts>div>span{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 5%,var(--sfr-surface,#fff));color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts .sfr-accounting-icon{width:14px;height:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts small{color:var(--sfr-muted,#64748b);font-size:8.4px;font-weight:650}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts strong{overflow:hidden;text-overflow:ellipsis;color:var(--sfr-ink,#0f172a);font-size:9.8px;font-weight:780;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__facts :where(bdi,em){grid-column:3;color:var(--sfr-muted,#64748b);font-size:8px;font-style:normal;line-height:1.4}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__difference{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:9px 10px;border:1px solid color-mix(in srgb,var(--sfr-negative,#b91c1c) 28%,var(--sfr-acc-v3-line));border-radius:8px;background:color-mix(in srgb,var(--sfr-negative,#b91c1c) 5%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__difference small{color:var(--sfr-muted,#64748b);font-size:8.5px;font-weight:650}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-health__difference strong{color:var(--sfr-negative,#b91c1c);font-size:10px;font-weight:800;white-space:nowrap}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity{padding:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-section-head--row{align-items:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-text-button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 8px;border:0;background:transparent;color:var(--sfr-primary,#2563eb);font:inherit;font-size:9px;font-weight:750;white-space:nowrap;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-text-button .sfr-accounting-icon{width:13px;height:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-list{overflow:hidden;border:1px solid var(--sfr-acc-v3-line);border-radius:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(95px,.55fr) minmax(125px,.7fr) auto 18px;align-items:center;gap:10px;width:100%;min-width:0;padding:9px 11px;border:0;border-bottom:1px solid var(--sfr-acc-v3-line);background:var(--sfr-surface,#fff);color:var(--sfr-ink,#0f172a);font:inherit;text-align:start;cursor:pointer;transition:background .14s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row:last-child{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row:hover{background:color-mix(in srgb,var(--sfr-primary,#2563eb) 3%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc{display:grid;grid-template-columns:31px minmax(0,1fr);align-items:center;gap:9px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 6%,var(--sfr-surface,#fff));color:var(--sfr-primary,#2563eb);font-style:normal}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i .sfr-accounting-icon{width:15px;height:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>span{display:grid;gap:1px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row small{display:block;color:var(--sfr-muted,#64748b);font-size:8px;font-weight:600;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row strong{font-size:9.8px;font-weight:780;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row :where(bdi){font-size:9px;font-weight:700;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__go{display:grid;place-items:center;color:var(--sfr-muted,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__go .sfr-accounting-icon{width:13px;height:13px}

/* Align ledger, trial balance and journal views with the professional console. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-ledger,.sfr-gj-list,.sfr-gj-editor,.sfr-trial-balance){padding:17px!important;border:1px solid var(--sfr-acc-v3-line)!important;border-radius:13px!important;background:var(--sfr-surface,#fff)!important;box-shadow:0 8px 24px color-mix(in srgb,var(--sfr-ink,#0f172a) 4%,transparent)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-ledger-head,.sfr-ledger-account-head,.sfr-gj-list>header,.sfr-gj-editor-head){padding-bottom:12px;border-bottom:1px solid var(--sfr-acc-v3-line)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-ledger-head h2,.sfr-ledger-account-head h2,.sfr-gj-list h2,.sfr-gj-editor h2){font-size:16px!important;font-weight:780!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-table{margin-top:12px;border:1px solid var(--sfr-acc-v3-line);border-radius:10px;background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-table table{border-collapse:separate;border-spacing:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-table thead th{position:sticky;top:0;z-index:2;background:color-mix(in srgb,var(--sfr-surface,#fff) 95%,var(--sfr-primary,#2563eb) 5%);font-size:8.7px;font-weight:760}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-table tbody tr:hover{background:color-mix(in srgb,var(--sfr-primary,#2563eb) 2.5%,var(--sfr-surface,#fff))}

@media(max-width:1180px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context{grid-template-columns:minmax(220px,1.3fr) repeat(3,minmax(120px,.65fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse{grid-template-columns:minmax(170px,1.1fr) repeat(2,minmax(120px,.7fr)) minmax(170px,1fr)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__metric:nth-of-type(4),.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__metric:nth-of-type(5){display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-dashboard{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)}
}
@media(max-width:900px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__main{display:grid;gap:14px;padding:18px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__actions{justify-content:flex-start;padding:0}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-context__company,.sfr-acc-context__item){border-bottom:1px solid var(--sfr-acc-v3-line)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-dashboard{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse{grid-template-columns:1fr 1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__lead{grid-column:1/-1}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state{grid-column:1/-1;border-top:1px solid var(--sfr-acc-v3-line)}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row{grid-template-columns:minmax(170px,1.35fr) minmax(90px,.6fr) minmax(115px,.7fr) auto}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__go{display:none}
}
@media(max-width:680px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3{padding:5px 5px 20px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top{border-radius:13px 13px 0 0}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__main{padding:15px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top h1{font-size:24px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__title>p{font-size:11px;line-height:1.65}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-top__actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-top-primary,.sfr-acc-top-secondary){width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-acc-context{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 :where(.sfr-acc-context__company,.sfr-acc-context__item){border-inline-end:0}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tabs{padding:0 7px!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-accounting-tabs button{min-height:43px!important;padding:7px 10px!important;font-size:9.6px!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__lead,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-pulse__state{grid-column:1/-1}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-list{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row{border-inline-end:0;border-bottom:1px solid var(--sfr-acc-v3-line)!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row:last-child{border-bottom:0!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] :where(.sfr-acc-operations,.sfr-acc-health,.sfr-acc-activity){border-radius:11px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] :where(.sfr-acc-operations,.sfr-acc-health,.sfr-acc-activity){padding:13px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-section-head--row{display:grid}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-text-button{padding-inline:0;justify-self:start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-list{border:0;display:grid;gap:7px;overflow:visible}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:10px;border:1px solid var(--sfr-acc-v3-line)!important;border-radius:9px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc{grid-column:1;grid-row:1}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row>.sfr-accounting-status{grid-column:2;grid-row:1;align-self:start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__date,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__amount{grid-column:1/3;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:5px;border-top:1px solid var(--sfr-acc-v3-line)}
}


/* ==========================================================================
   SFR ERP 130 — Journal detail readability + bidi integrity
   Keep monetary values atomic while allowing descriptive/account text to wrap.
   ========================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines{
  max-width:100%;
  overflow:visible!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(3),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines th:nth-child(3),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(4),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines th:nth-child(4){
  white-space:normal!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(3),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(4){
  min-width:0;
  overflow-wrap:anywhere;
  word-break:normal;
  line-height:1.55!important;
  vertical-align:top;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(4){
  unicode-bidi:plaintext;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(1),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(2),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(5),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(6),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines th:nth-child(1),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines th:nth-child(2),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines th:nth-child(5),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines th:nth-child(6){
  white-space:nowrap!important;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(5),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:nth-child(6){
  font-family:var(--sfr-erp-font-latin,Inter,sans-serif)!important;
  font-variant-numeric:tabular-nums lining-nums;
  text-align:end;
}
@media(min-width:761px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines table{
    width:100%;
    max-width:100%;
    table-layout:fixed;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines :is(th,td):nth-child(1){width:6%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines :is(th,td):nth-child(2){width:14%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines :is(th,td):nth-child(3){width:22%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines :is(th,td):nth-child(4){width:38%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines :is(th,td):nth-child(5),
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines :is(th,td):nth-child(6){width:10%}
}
@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-journal-lines td:last-child{
    display:grid;
    grid-template-columns:minmax(110px,38%) 1fr;
    gap:8px;
    padding:5px 0;
  }
}

/* 134R1 — General Ledger account-statement readability.
   Scope: canonical Account Ledger transaction table only.
   Keep dates/documents/amounts atomic; allow source/narrative text to wrap inside its own columns. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table{
  overflow-x:hidden!important;
  overflow-y:visible;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table table{
  width:100%;
  min-width:0;
  table-layout:fixed;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td){
  box-sizing:border-box;
  vertical-align:top;
  min-width:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td):nth-child(1){width:11%;white-space:nowrap!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td):nth-child(2){width:17%;white-space:nowrap!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td):nth-child(3){width:13%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td):nth-child(4){width:29%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td):nth-child(5),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td):nth-child(6){width:9%;white-space:nowrap!important;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table :is(th,td):nth-child(7){width:12%;white-space:nowrap!important;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table .sfr-ledger-document{
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  vertical-align:top;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table tbody td{
  padding-block:11px;
}
@media(max-width:780px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table{
    overflow-x:auto!important;
    overscroll-behavior-inline:contain;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-workspace-v3 .sfr-ledger-transaction-table table{
    min-width:760px;
  }
}


/* ==========================================================================
   156R2 — SFR Central Icon System live optical correction
   Renderer is central/inline. These rules only size icons for the canonical
   ERP consumer and improve icon wells in dense Dark/Light surfaces.
   ========================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon{
  inline-size:28px;block-size:28px;display:grid;place-items:center;border-radius:9px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon .sfr-icon{
  --sfr-icon-size:20px;display:block;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__item.is-active .sfr-smart-erp-nav__icon{
  background:color-mix(in srgb,var(--sfr-primary) 9%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row{
  grid-template-columns:42px minmax(0,1fr) 18px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon{
  width:42px;height:42px;border-radius:10px;
  background:color-mix(in srgb,var(--sfr-surface-subtle,var(--sfr-surface)) 88%,transparent);
  border:1px solid var(--sfr-acc-v3-line);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon{
  width:23px;height:23px;min-width:23px;min-height:23px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__go .sfr-accounting-icon{
  width:15px;height:15px;min-width:15px;min-height:15px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc{
  grid-template-columns:34px minmax(0,1fr);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i{
  width:34px;height:34px;border-radius:9px;
  background:color-mix(in srgb,var(--sfr-surface-subtle,var(--sfr-surface)) 88%,transparent);
  border:1px solid var(--sfr-acc-v3-line);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i .sfr-accounting-icon{
  width:19px;height:19px;min-width:19px;min-height:19px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__go .sfr-accounting-icon{
  width:14px;height:14px;min-width:14px;min-height:14px;
}
@media(max-width:760px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon .sfr-icon{--sfr-icon-size:20px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon{width:40px;height:40px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon{width:22px;height:22px;min-width:22px;min-height:22px}
}


/* ==========================================================================
   156R3 — Vivid Enterprise consumer optics
   Colors remain exclusively in the central icon theme. This consumer only
   provides size/space suitable for the brighter canonical renderer.
   ========================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon .sfr-icon{--sfr-icon-size:21px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon{width:24px;height:24px;min-width:24px;min-height:24px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i .sfr-accounting-icon{width:20px;height:20px;min-width:20px;min-height:20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i{overflow:visible}


/* ==========================================================================
   156R4 — Luminous Filled consumer optics
   Central colors only; consumer adds presentation emphasis for key surfaces.
   ========================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon .sfr-icon,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i .sfr-accounting-icon,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-kpi-card__icon .sfr-accounting-icon,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-summary-card__icon .sfr-accounting-icon{
  border-radius:12px;
  padding:2px;
  background:color-mix(in srgb,var(--sfr-icon-accent) 10%, transparent);
  border:1px solid color-mix(in srgb,var(--sfr-icon-accent) 18%, transparent);
  box-shadow:0 1px 1px color-mix(in srgb,var(--sfr-icon-accent) 10%, transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon .sfr-icon{--sfr-icon-size:22px;padding:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon{width:25px;height:25px;min-width:25px;min-height:25px;padding:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i .sfr-accounting-icon{width:21px;height:21px;min-width:21px;min-height:21px}
[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon .sfr-icon,
[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon,
[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i .sfr-accounting-icon,
[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-kpi-card__icon .sfr-accounting-icon,
[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-summary-card__icon .sfr-accounting-icon,
.sfr-a01[data-sfr-a01-theme="dark"][data-sfr-tool-id="business-accounting-management"] .sfr-smart-erp-nav__icon .sfr-icon,
.sfr-a01[data-sfr-a01-theme="dark"][data-sfr-tool-id="business-accounting-management"] .sfr-acc-command-row__icon .sfr-accounting-icon,
.sfr-a01[data-sfr-a01-theme="dark"][data-sfr-tool-id="business-accounting-management"] .sfr-acc-activity-row__doc>i .sfr-accounting-icon,
.sfr-a01[data-sfr-a01-theme="dark"][data-sfr-tool-id="business-accounting-management"] .sfr-acc-kpi-card__icon .sfr-accounting-icon,
.sfr-a01[data-sfr-a01-theme="dark"][data-sfr-tool-id="business-accounting-management"] .sfr-acc-summary-card__icon .sfr-accounting-icon{
  background:color-mix(in srgb,var(--sfr-icon-accent) 14%, transparent);
  border-color:color-mix(in srgb,var(--sfr-icon-accent) 28%, transparent);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--sfr-icon-accent) 10%, transparent),0 0 7px color-mix(in srgb,var(--sfr-icon-accent) 10%, transparent);
}

/* ==========================================================================
   162 — Cash & Banking Command Center + Employee Cash Advances
   Canonical ERP consumer only. Uses existing SFR tokens and runtime surfaces.
   ========================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-command{
  --sfr-bank-line:var(--sfr-border,#dbe4f2);
  --sfr-bank-surface:var(--sfr-surface,#fff);
  --sfr-bank-soft:var(--sfr-surface-subtle,#f5f8fc);
  --sfr-bank-ink:var(--sfr-erp-ink,var(--sfr-ink,#0f172a));
  --sfr-bank-muted:var(--sfr-erp-muted,var(--sfr-muted,#64748b));
  display:grid;gap:14px;min-width:0;width:100%;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,300px);gap:18px;align-items:center;
  padding:20px 22px;border:1px solid color-mix(in srgb,var(--sfr-primary,#2f6df6) 34%,var(--sfr-bank-line));
  border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--sfr-primary,#2f6df6) 6%,var(--sfr-bank-surface)),color-mix(in srgb,#14b8a6 4%,var(--sfr-bank-surface)));
  box-shadow:0 10px 28px color-mix(in srgb,var(--sfr-primary,#2f6df6) 7%,transparent);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero>div{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero>div>span{display:block;margin-bottom:5px;color:var(--sfr-primary,#2f6df6);font-size:11px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero h1{margin:0;color:var(--sfr-bank-ink);font-size:27px;line-height:1.25;font-weight:900;letter-spacing:-.015em}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero p{margin:7px 0 0;color:var(--sfr-bank-muted);font-size:13px;line-height:1.75;font-weight:650}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero aside{
  min-width:0;display:grid;gap:4px;padding:12px 14px;border:1px solid var(--sfr-bank-line);border-radius:13px;background:color-mix(in srgb,var(--sfr-bank-surface) 92%,transparent)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero aside small{color:var(--sfr-bank-muted);font-size:10px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero aside strong{color:var(--sfr-bank-ink);font-size:15px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero aside bdi{color:var(--sfr-primary,#2f6df6);font-size:10px;font-weight:850;white-space:nowrap}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-tabs{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important;padding:6px!important;margin:0!important;
  border:1px solid var(--sfr-bank-line)!important;border-radius:14px!important;background:var(--sfr-bank-surface)!important;overflow:hidden!important
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-tabs button{
  min-height:42px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:var(--sfr-bank-muted)!important;
  font:inherit!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important;cursor:pointer
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-tabs button:hover{background:var(--sfr-bank-soft)!important;color:var(--sfr-bank-ink)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-tabs button.is-active{
  background:color-mix(in srgb,var(--sfr-primary,#2f6df6) 10%,var(--sfr-bank-surface))!important;color:var(--sfr-primary,#2f6df6)!important;border-color:color-mix(in srgb,var(--sfr-primary,#2f6df6) 38%,var(--sfr-bank-line))!important;
  box-shadow:inset 0 -2px 0 var(--sfr-primary,#2f6df6)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cash-bank-body{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-overview,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-list,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-editor,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-editor{
  min-width:0;padding:18px;border:1px solid var(--sfr-bank-line);border-radius:16px;background:var(--sfr-bank-surface)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpis{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi{
  min-width:0;min-height:112px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:14px 15px;
  border:1px solid var(--sfr-bank-line);border-radius:13px;background:linear-gradient(180deg,var(--sfr-bank-surface),var(--sfr-bank-soft))
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi>span{color:var(--sfr-bank-muted);font-size:11px;font-weight:850;line-height:1.45}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi>strong{color:var(--sfr-bank-ink);font-size:21px;font-weight:900;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi>small{color:var(--sfr-bank-muted);font-size:9.5px;font-weight:650;line-height:1.5}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-risk{border-color:color-mix(in srgb,#dc2626 38%,var(--sfr-bank-line));background:color-mix(in srgb,#dc2626 5%,var(--sfr-bank-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-risk>strong{color:#b42318}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-good{border-color:color-mix(in srgb,#15966b 32%,var(--sfr-bank-line));background:color-mix(in srgb,#15966b 5%,var(--sfr-bank-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-good>strong{color:#0e7a57}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention{
  margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:10px
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention>article{
  min-width:0;padding:14px 15px;border:1px solid var(--sfr-bank-line);border-radius:13px;background:var(--sfr-bank-soft)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention h3{margin:0 0 7px;color:var(--sfr-bank-ink);font-size:13px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention p{margin:0;color:var(--sfr-bank-muted);font-size:11px;line-height:1.7}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-outstanding{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-outstanding span{
  display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid var(--sfr-bank-line);border-radius:999px;background:var(--sfr-bank-surface);color:var(--sfr-bank-ink);font-size:10.5px;font-weight:850;white-space:nowrap;font-variant-numeric:tabular-nums
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-basis-note{margin-top:12px;padding:9px 11px;border-radius:10px;background:var(--sfr-bank-soft);color:var(--sfr-bank-muted);font-size:10px;line-height:1.65}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-section-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-section-head h2,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-section-head h3{margin:0;color:var(--sfr-bank-ink);font-size:18px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-section-head h3{font-size:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-section-head p{margin:4px 0 0;color:var(--sfr-bank-muted);font-size:11px;line-height:1.6}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-list .sfr-bank-overview{padding:0;border:0;background:transparent;margin-bottom:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-list .sfr-cr-list-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-list .sfr-cr-list-table table{min-width:820px;width:100%;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-list .sfr-cr-list-table :is(th,td){white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-list tr.is-overdue{background:color-mix(in srgb,#dc2626 4%,var(--sfr-bank-surface))}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline{
  margin:14px 0;padding:13px 14px;border:1px solid var(--sfr-bank-line);border-radius:13px;background:var(--sfr-bank-soft);overflow:hidden
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline h3{margin:0 0 12px;color:var(--sfr-bank-ink);font-size:12px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline>div{display:grid;grid-template-columns:repeat(6,minmax(86px,1fr));gap:0;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline span{position:relative;display:grid;justify-items:center;gap:6px;color:var(--sfr-bank-muted);font-size:9.5px;font-weight:800;text-align:center;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline span:before{content:"";position:absolute;top:5px;inset-inline-start:-50%;width:100%;height:2px;background:var(--sfr-bank-line);z-index:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline span:first-child:before{display:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline i{position:relative;z-index:1;width:12px;height:12px;border-radius:50%;border:2px solid var(--sfr-bank-line);background:var(--sfr-bank-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline span.is-done:before{background:color-mix(in srgb,var(--sfr-primary,#2f6df6) 65%,var(--sfr-bank-line))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline span.is-done i{border-color:var(--sfr-primary,#2f6df6);background:var(--sfr-primary,#2f6df6)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline span.is-current{color:var(--sfr-bank-ink);font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline span.is-reversed i{border-color:#b42318;background:#b42318}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-account-link{
  margin-top:10px;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 11px;border:1px dashed color-mix(in srgb,var(--sfr-primary,#2f6df6) 38%,var(--sfr-bank-line));border-radius:11px;background:color-mix(in srgb,var(--sfr-primary,#2f6df6) 4%,var(--sfr-bank-surface))
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-account-link span{color:var(--sfr-bank-muted);font-size:10px;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-editor-kpis{margin:14px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-editor-kpis .sfr-bank-kpi{min-height:88px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-editor-kpis .sfr-bank-kpi strong{font-size:17px}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlements{margin-top:16px;padding-top:15px;border-top:1px solid var(--sfr-bank-line)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-lines{display:grid;gap:9px;margin:12px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line{
  display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(220px,1.8fr) minmax(130px,.75fr) minmax(150px,1fr);gap:8px;align-items:end;padding:10px;border:1px solid var(--sfr-bank-line);border-radius:11px;background:var(--sfr-bank-soft)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line label{min-width:0;display:grid;gap:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line label>span{color:var(--sfr-bank-muted);font-size:10px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line :is(input,select){min-width:0;width:100%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview>span{display:grid;gap:4px;padding:10px;border:1px solid var(--sfr-bank-line);border-radius:10px;background:var(--sfr-bank-soft)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview small{color:var(--sfr-bank-muted);font-size:9px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview strong{color:var(--sfr-bank-ink);font-size:13px;font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-close-check{display:flex!important;align-items:center!important;gap:8px!important;min-height:42px;padding:8px 10px;border:1px solid var(--sfr-bank-line);border-radius:10px;background:var(--sfr-bank-soft)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-close-check input{width:auto!important;margin:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-close-check span{margin:0!important}

/* Existing receipt/payment lists inherit the stronger banking shell without changing their accounting lifecycle. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-command .sfr-cr-list,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-command .sfr-cp-list,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-command .sfr-cr-editor,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-command .sfr-cp-editor{
  border:1px solid var(--sfr-bank-line);border-radius:16px;background:var(--sfr-bank-surface);padding:16px;min-width:0
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-command .sfr-cr-list-table{border-radius:12px;overflow:auto;overscroll-behavior-inline:contain}

@media(max-width:1100px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line{grid-template-columns:1fr 1fr}
}
@media(max-width:780px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-command{gap:10px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero{grid-template-columns:1fr;padding:16px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-hero h1{font-size:23px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpis,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-editor-kpis,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-section-head{align-items:stretch;flex-direction:column}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-section-head button{width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline{overflow-x:auto;overscroll-behavior-inline:contain}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-timeline>div{min-width:650px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-account-link{align-items:stretch;flex-direction:column}
}
@media(max-width:520px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-tabs,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpis,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-editor-kpis,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-overview,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-list,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-editor,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-editor{padding:12px}
}
[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-risk>strong{color:#ff8d86}
[data-theme="dark"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-good>strong{color:#71dfb7}

/* 162R0 alignment corrections for generated banking markup. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention>div{
  min-width:0;padding:14px 15px;border:1px solid var(--sfr-bank-line);border-radius:13px;background:var(--sfr-bank-soft)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention>div>span{display:block;color:var(--sfr-bank-muted);font-size:10px;font-weight:850;margin-bottom:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention>div>strong{display:block;color:var(--sfr-bank-ink);font-size:12px;font-weight:900;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-attention.is-warning>div:first-child{border-color:color-mix(in srgb,#dc2626 32%,var(--sfr-bank-line));background:color-mix(in srgb,#dc2626 4%,var(--sfr-bank-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-outstanding{margin-top:0!important;display:block!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-outstanding>strong{font-variant-numeric:tabular-nums;white-space:normal}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-outstanding bdi{white-space:nowrap}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-check{
  display:flex!important;align-items:center!important;gap:8px!important;min-height:42px;padding:8px 10px;border:1px solid var(--sfr-bank-line);border-radius:10px;background:var(--sfr-bank-soft)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-check input{width:auto!important;margin:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-check span{margin:0!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line>button{align-self:end;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-tools{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:8px 0 12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-tools>span{max-width:760px;color:var(--sfr-bank-muted);font-size:10px;line-height:1.6}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview>h3{grid-column:1/-1;margin:0 0 2px;color:var(--sfr-bank-ink);font-size:12px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview>.sfr-cr-preview-row{display:grid!important;gap:4px!important;padding:10px!important;border:1px solid var(--sfr-bank-line)!important;border-radius:10px!important;background:var(--sfr-bank-soft)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview>.sfr-cr-preview-row>span{color:var(--sfr-bank-muted);font-size:9px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview>.sfr-cr-preview-row>strong{color:var(--sfr-bank-ink);font-size:13px;font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums}


@media(max-width:1100px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line{grid-template-columns:1fr 1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-line>button{width:100%}
}
@media(max-width:780px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview{grid-template-columns:1fr 1fr!important}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-tools{align-items:stretch;flex-direction:column}
}
@media(max-width:520px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-advance-settlement-preview{grid-template-columns:1fr!important}
}


/* ==========================================================================
   163 — Cash & Bank GL Balances in Overview
   Derived from canonical General Ledger base amounts; no parallel balance store.
   ========================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balances{
  min-width:0;margin-top:14px;padding:16px;border:1px solid var(--sfr-bank-line);
  border-radius:14px;background:var(--sfr-bank-surface)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-asof{
  display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:6px 9px;border:1px solid var(--sfr-bank-line);
  border-radius:999px;background:var(--sfr-bank-soft);color:var(--sfr-bank-muted);font-size:9.5px;font-weight:800;white-space:nowrap
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:13px 0
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals>article{
  min-width:0;display:grid;gap:5px;padding:11px 12px;border:1px solid var(--sfr-bank-line);
  border-radius:11px;background:var(--sfr-bank-soft)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals span{
  color:var(--sfr-bank-muted);font-size:10px;font-weight:850
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals strong{
  min-width:0;color:var(--sfr-bank-ink);font-size:17px;line-height:1.25;font-weight:900;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals>article.is-negative{
  border-color:color-mix(in srgb,var(--sfr-danger,#dc2626) 34%,var(--sfr-bank-line));
  background:color-mix(in srgb,var(--sfr-danger,#dc2626) 5%,var(--sfr-bank-surface))
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals>article.is-negative strong{
  color:var(--sfr-danger,#b42318)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-table{
  max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--sfr-bank-line);
  border-radius:11px;background:var(--sfr-bank-surface)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-table table{
  width:100%;min-width:760px;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-table :is(th,td){
  padding:9px 10px;border-bottom:1px solid var(--sfr-bank-line);text-align:start;vertical-align:middle;white-space:nowrap
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-table th{
  color:var(--sfr-bank-muted);font-size:9.5px;font-weight:900;background:var(--sfr-bank-soft)
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-table td{
  color:var(--sfr-bank-ink);font-weight:650
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-table tbody tr:last-child td{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-table tr.is-negative{
  background:color-mix(in srgb,var(--sfr-danger,#dc2626) 4%,var(--sfr-bank-surface))
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-negative-label{
  display:inline-block;margin-inline-start:6px;color:var(--sfr-danger,#b42318);font-size:9px;font-weight:900
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-basis{
  margin:9px 1px 0;color:var(--sfr-bank-muted);font-size:9.5px;line-height:1.65;font-weight:650
}
@media (max-width:900px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balances{padding:12px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-totals{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-balance-asof{align-self:flex-start}
}

/* SFR-ERP-EMPLOYEE-ADVANCE-KPIS-LIQUIDITY-CLARITY-164 */
.sfr-bank-balance-formula{margin:8px 0 14px;padding:8px 12px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.20));border-radius:10px;background:var(--sfr-surface-soft,rgba(82,132,255,.045));font-size:12px;font-weight:700;color:var(--sfr-text-secondary,#53627a);text-align:center}
.sfr-advance-kpi-overview .sfr-bank-kpi.is-warning{border-color:rgba(202,138,4,.35);background:rgba(202,138,4,.055)}
@media (max-width:720px){.sfr-bank-balance-formula{font-size:11.5px;text-align:start}}

/* SFR-ERP-BANK-RECONCILIATION-165 */
.sfr-br-list,.sfr-br-editor{display:grid;gap:14px}.sfr-br-list-table,.sfr-br-scroll{overflow:auto;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.2));border-radius:12px;background:var(--sfr-surface,#fff)}.sfr-br-list-table table,.sfr-br-scroll table{width:100%;border-collapse:collapse;min-width:780px}.sfr-br-list-table th,.sfr-br-list-table td,.sfr-br-scroll th,.sfr-br-scroll td{padding:10px 9px;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.15));text-align:start;vertical-align:middle;white-space:nowrap}.sfr-br-list-table th,.sfr-br-scroll th{font-size:12px;color:var(--sfr-text-secondary,#64748b);background:var(--sfr-surface-soft,rgba(82,132,255,.04))}.sfr-br-list-table td,.sfr-br-scroll td{font-size:13px}.sfr-br-list-table tr:last-child td,.sfr-br-scroll tr:last-child td{border-bottom:0}.sfr-br-list-table td.is-negative{color:var(--sfr-danger,#b42318);font-weight:800}.sfr-br-header-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.sfr-br-metrics{display:grid;gap:10px}.sfr-br-metrics .sfr-bank-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.sfr-br-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;align-items:start}.sfr-br-panel{display:grid;gap:10px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.2));border-radius:14px;padding:14px;background:var(--sfr-surface,#fff);min-width:0}.sfr-br-panel>header,.sfr-br-adjustment>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sfr-br-panel h3,.sfr-br-adjustment h3{margin:0 0 4px;font-size:15px}.sfr-br-panel p,.sfr-br-adjustment p{margin:0;color:var(--sfr-text-secondary,#64748b);font-size:12px}.sfr-br-tools{display:flex;gap:8px;flex-wrap:wrap}.sfr-br-add-row{display:grid;grid-template-columns:140px minmax(180px,1fr) 150px 150px auto;gap:8px}.sfr-br-add-row input,.sfr-br-panel select,.sfr-br-adjustment select,.sfr-br-adjustment input{min-height:38px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.28));border-radius:9px;background:var(--sfr-input-bg,var(--sfr-surface,#fff));color:var(--sfr-text,#142033);padding:7px 9px}.sfr-br-scroll tr.is-matched{background:rgba(22,163,74,.035)}.sfr-br-scroll tr.is-unmatched{background:rgba(217,119,6,.025)}.sfr-br-scroll td small{display:block;margin-top:3px;color:var(--sfr-text-secondary,#64748b);font-size:10.5px}.sfr-br-scroll td button+button,.sfr-br-scroll td select+button{margin-inline-start:5px}.sfr-br-scroll select{max-width:260px}.sfr-br-adjustment{display:grid;gap:12px;border:1px solid rgba(59,130,246,.28);border-radius:14px;padding:14px;background:rgba(59,130,246,.045)}.sfr-link-button{border:0;background:none;color:var(--sfr-link,#175cd3);font-weight:800;padding:0;cursor:pointer}.sfr-br-editor .sfr-bank-kpi strong{white-space:nowrap}
@media(max-width:1100px){.sfr-br-columns{grid-template-columns:1fr}.sfr-br-metrics .sfr-bank-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-br-header-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.sfr-br-header-grid{grid-template-columns:1fr}.sfr-br-metrics .sfr-bank-kpis{grid-template-columns:1fr 1fr}.sfr-br-add-row{grid-template-columns:1fr}.sfr-br-panel>header,.sfr-br-adjustment>header{flex-direction:column}.sfr-br-tools{width:100%}}

/* SFR-ERP-CASH-INSTRUMENTS-RECONCILIATION-REDESIGN-166 */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.20));border-radius:14px;background:var(--sfr-surface-soft,rgba(82,132,255,.035));min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section h3{margin:0 0 4px;font-size:15px;color:var(--sfr-text,#142033)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section p{margin:0;max-width:760px;color:var(--sfr-text-secondary,#64748b);font-size:11.5px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-add{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-rows{display:grid;gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-row{display:grid;gap:10px;padding:12px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.20));border-radius:12px;background:var(--sfr-surface,#fff);min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-row-head{display:flex;align-items:center;gap:9px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-row-head>strong{font-size:12.5px;color:var(--sfr-text,#142033);margin-inline-end:auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-remove{border:0;background:transparent;color:var(--sfr-danger,#b42318);font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-grid label{display:grid;gap:5px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-grid label>span{font-size:10.5px;font-weight:800;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-grid :is(input,select){width:100%;min-width:0;min-height:38px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.28));border-radius:9px;background:var(--sfr-input-bg,var(--sfr-surface,#fff));color:var(--sfr-text,#142033);padding:7px 9px;font:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16));color:var(--sfr-text-secondary,#64748b);font-size:10.5px;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section>footer strong{color:var(--sfr-text,#142033);font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-legacy-note{grid-column:1/-1;padding:8px 10px;border-radius:8px;background:var(--sfr-surface-soft,rgba(82,132,255,.05));color:var(--sfr-text-secondary,#64748b);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-cr-preview-row.is-total{border-top:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));padding-top:9px;margin-top:4px}

/* Bank reconciliation V2: setup -> evidence -> matching -> exceptions -> decision. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2{gap:12px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup{display:grid;gap:10px;padding:14px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.20));border-radius:14px;background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-title>div{display:grid;gap:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-title span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-title small{color:var(--sfr-text-secondary,#64748b);font-size:10.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-title strong{font-size:14px;color:var(--sfr-text,#142033)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-core-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));border-radius:11px;background:var(--sfr-border-subtle,rgba(93,116,152,.18))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge>div{display:grid;gap:4px;padding:9px 10px;background:var(--sfr-surface,#fff);min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge span{font-size:9.5px;color:var(--sfr-text-secondary,#64748b);font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge strong{font-size:12.5px;color:var(--sfr-text,#142033);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench{display:grid;gap:12px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-panel{padding:12px;min-width:0;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-scroll{max-height:460px;overflow:auto;overscroll-behavior:contain;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-scroll table{min-width:720px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-ledger-panel .sfr-br-scroll table{min-width:840px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-match-control{display:flex;align-items:center;gap:5px;min-width:220px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-match-control select{min-width:0;max-width:220px;flex:1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exceptions{display:grid;gap:10px;padding:13px;border:1px solid color-mix(in srgb,var(--sfr-warning,#d97706) 28%,var(--sfr-border-subtle,rgba(93,116,152,.2)));border-radius:13px;background:color-mix(in srgb,var(--sfr-warning,#d97706) 4%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exceptions.is-clear{border-color:color-mix(in srgb,var(--sfr-success,#16a34a) 25%,var(--sfr-border-subtle,rgba(93,116,152,.2)));background:color-mix(in srgb,var(--sfr-success,#16a34a) 3%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exceptions>header h3{margin:0 0 3px;font-size:14px;color:var(--sfr-text,#142033)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exceptions>header p{margin:0;font-size:11px;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-list{display:grid;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:9px 10px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16));border-radius:9px;background:var(--sfr-surface,#fff);min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-list>article>div:first-child{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-list strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-list span{font-size:10px;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-na{color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2{max-width:100%;overflow:hidden}
@media(max-width:1120px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-core-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-columns{grid-template-columns:1fr}
}
@media(max-width:720px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-title{flex-direction:column}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-add{justify-content:flex-start;width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-grid{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-ci-section>footer{align-items:flex-start;flex-direction:column}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-core-kpis,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge{grid-template-columns:1fr}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-list>article{grid-template-columns:1fr;align-items:flex-start}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-actions{justify-content:flex-start}
}


/* SFR-ERP-BANK-RECONCILIATION-GRID-UX-167 */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));border-radius:12px;background:var(--sfr-surface-soft,rgba(82,132,255,.035))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-head>div{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-head strong{font-size:12.5px;color:var(--sfr-text,#142033)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-head span{font-size:10.5px;color:var(--sfr-text-secondary,#64748b);line-height:1.5}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-columns{display:grid;gap:0;align-items:stretch;min-width:0;direction:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter{position:relative;display:flex;align-items:center;justify-content:center;min-width:12px;cursor:col-resize;touch-action:none;user-select:none;outline:none;background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter::before{content:"";position:absolute;inset-block:10px;inset-inline-start:50%;width:2px;transform:translateX(-50%);border-radius:999px;background:var(--sfr-border-subtle,rgba(93,116,152,.35));transition:background .15s ease,width .15s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter:hover::before,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter:focus-visible::before{width:4px;background:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter i{width:7px;height:34px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.32));border-radius:999px;background:var(--sfr-surface,#fff);box-shadow:0 1px 3px rgba(15,23,42,.08);z-index:1;pointer-events:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-panel{height:100%;padding:0;overflow:hidden;border-radius:13px;display:grid;grid-template-rows:auto minmax(0,1fr)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-statement-panel{grid-template-rows:auto auto minmax(0,1fr)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-panel>header{padding:12px 12px 10px;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.14));background:var(--sfr-surface,#fff);gap:10px;flex-wrap:wrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-tools .sfr-account-secondary{min-height:30px;padding:5px 8px;font-size:9.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-count{display:inline-flex;align-items:center;gap:2px;padding:5px 8px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));border-radius:999px;color:var(--sfr-text-secondary,#64748b);font-size:9.5px;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-count b{color:var(--sfr-text,#142033);font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-add-row{margin:10px 12px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll{margin:10px 12px 12px;max-height:520px;overflow:auto;border-radius:9px;overscroll-behavior:contain;background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll .sfr-br-sheet{table-layout:fixed;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll .sfr-br-sheet :is(th,td){box-sizing:border-box;border-inline-end:1px solid var(--sfr-border-subtle,rgba(93,116,152,.12));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll .sfr-br-sheet :is(th,td):last-child{border-inline-end:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll .sfr-br-sheet thead th{position:sticky;top:0;z-index:4;padding:7px 7px 6px;background:var(--sfr-surface-soft,#f8fafc);vertical-align:top;overflow:visible}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-th-label{position:relative;display:flex;align-items:center;min-height:21px;padding-inline-end:8px;font-size:9.5px;font-weight:900;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-th-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-col-resizer{position:absolute;inset-block:-7px;inset-inline-end:-7px;width:12px;cursor:col-resize;touch-action:none;user-select:none;z-index:8}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-col-resizer::after{content:"";position:absolute;inset-block:5px;inset-inline-end:5px;width:1px;background:var(--sfr-border-subtle,rgba(93,116,152,.36))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-col-resizer:hover::after{width:2px;background:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-head-filter{display:block;width:100%;min-width:0;height:27px;margin-top:4px;padding:3px 6px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.24));border-radius:6px;background:var(--sfr-input-bg,var(--sfr-surface,#fff));color:var(--sfr-text,#142033);font:inherit;font-size:9.5px;outline:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-head-filter:focus{border-color:color-mix(in srgb,var(--sfr-primary,#2563eb) 60%,var(--sfr-border-subtle));box-shadow:0 0 0 2px color-mix(in srgb,var(--sfr-primary,#2563eb) 10%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll tr[hidden]{display:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll td{height:39px;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll td[data-sfr-br-cell="description"],.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll td[data-sfr-br-cell="party"]{white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-match-control{min-width:0;width:100%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-match-control select{max-width:none;min-width:0;flex:1}
@media(max-width:1120px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-columns{grid-template-columns:1fr!important;gap:12px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter{display:none}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-panel{height:auto}
}
@media(max-width:720px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-head{align-items:flex-start;flex-direction:column}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-head .sfr-account-secondary{width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-tools{justify-content:flex-start;width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll{max-height:420px}
}


/* SFR-ERP-BANK-RECONCILIATION-DRAG-MATCH-168 */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-v3{display:grid;gap:8px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheetbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 8px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16));border-radius:9px;background:var(--sfr-surface,#fff);min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-legend,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-legend span{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-legend span::before{content:"";width:7px;height:7px;border-radius:2px;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 48%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-legend span.is-ledger::before{background:color-mix(in srgb,var(--sfr-success,#16a34a) 45%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-legend i{font-style:normal;color:var(--sfr-text-tertiary,#94a3b8)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-actions .sfr-account-secondary{min-height:29px;padding:4px 7px;font-size:9.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-shared-add{margin:0;padding:8px;border:1px dashed var(--sfr-border-subtle,rgba(93,116,152,.25));border-radius:8px;background:var(--sfr-surface-soft,rgba(82,132,255,.025))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-columns{border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));border-radius:10px;overflow:hidden;background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-panel{min-width:0;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;display:block!important;overflow:hidden!important;background:var(--sfr-surface,#fff)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-statement-panel{background:color-mix(in srgb,var(--sfr-primary,#2563eb) 2.5%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-ledger-panel{background:color-mix(in srgb,var(--sfr-success,#16a34a) 2.25%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-panel .sfr-br-grid-scroll{margin:0;max-height:540px;border-radius:0;background:transparent;scrollbar-gutter:stable}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet{border-collapse:separate!important;border-spacing:0!important;background:transparent;font-size:10.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet :is(th,td){height:34px!important;padding:5px 7px!important;border-inline-end:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16))!important;border-block-end:1px solid var(--sfr-border-subtle,rgba(93,116,152,.14))!important;vertical-align:middle!important;white-space:nowrap!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet thead th{top:0!important;padding:0 6px!important;height:34px!important;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 5%,var(--sfr-surface,#fff))!important;color:var(--sfr-text,#142033)!important;box-shadow:inset 0 -1px 0 var(--sfr-border-subtle,rgba(93,116,152,.2))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-ledger-panel .sfr-br-sheet thead th{background:color-mix(in srgb,var(--sfr-success,#16a34a) 4.5%,var(--sfr-surface,#fff))!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-th-label{min-height:33px!important;padding-inline-end:36px!important;font-size:10px!important;font-weight:850!important;color:var(--sfr-text,#142033)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-filter-menu{position:absolute;inset-inline-end:10px;top:6px;z-index:14}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-filter-menu summary{display:grid;place-items:center;width:21px;height:21px;border:1px solid transparent;border-radius:4px;cursor:pointer;color:var(--sfr-text-tertiary,#94a3b8);font-size:13px;line-height:1;list-style:none;user-select:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-filter-menu summary::-webkit-details-marker{display:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-filter-menu summary:hover,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-filter-menu[open] summary,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-filter-menu.has-filter summary{border-color:var(--sfr-border-subtle,rgba(93,116,152,.28));background:var(--sfr-surface,#fff);color:var(--sfr-primary,#2563eb)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-filter-menu>div{position:absolute;top:25px;inset-inline-end:0;width:180px;padding:7px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.25));border-radius:7px;background:var(--sfr-surface,#fff);box-shadow:0 10px 25px rgba(15,23,42,.14)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-head-filter{display:block!important;width:100%!important;height:30px!important;margin:0!important;padding:4px 7px!important;border-radius:5px!important;font-size:10px!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-col-resizer{inset-block:0!important;inset-inline-end:-6px!important;width:12px!important;height:34px!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-col-resizer::after{inset-block:3px!important;height:28px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter{min-width:10px!important;background:color-mix(in srgb,var(--sfr-border-subtle,rgba(93,116,152,.2)) 36%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter::before{inset-block:0!important;width:1px!important;background:var(--sfr-border-subtle,rgba(93,116,152,.32))!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter i{width:5px!important;height:42px!important;border:0!important;background:color-mix(in srgb,var(--sfr-primary,#2563eb) 24%,var(--sfr-surface,#fff))!important;box-shadow:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-drag-amount{cursor:grab;font-weight:850;font-variant-numeric:tabular-nums;transition:background .12s ease,box-shadow .12s ease,color .12s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-drag-amount:active{cursor:grabbing}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet tr.is-drag-source td,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-drag-amount.is-drag-source{background:color-mix(in srgb,var(--sfr-danger,#dc2626) 10%,var(--sfr-surface,#fff))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sfr-danger,#dc2626) 34%,transparent);color:var(--sfr-danger,#b91c1c)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-drag-amount.is-drop-match{background:color-mix(in srgb,var(--sfr-success,#16a34a) 10%,var(--sfr-surface,#fff))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sfr-success,#16a34a) 34%,transparent);color:color-mix(in srgb,var(--sfr-success,#16a34a) 88%,var(--sfr-text,#142033))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-drag-amount.is-drop-hover{background:color-mix(in srgb,var(--sfr-success,#16a34a) 18%,var(--sfr-surface,#fff))!important;box-shadow:inset 0 0 0 2px var(--sfr-success,#16a34a)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-drag-amount.is-drop-pending{opacity:.62;pointer-events:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-empty{min-height:180px;display:grid;place-items:center;color:var(--sfr-success,#16a34a);font-size:12px;font-weight:850}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-pill,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-tray>summary{display:inline-flex;align-items:center;gap:5px;min-height:29px;padding:4px 8px;border:1px solid color-mix(in srgb,var(--sfr-success,#16a34a) 24%,var(--sfr-border-subtle));border-radius:6px;background:color-mix(in srgb,var(--sfr-success,#16a34a) 5%,var(--sfr-surface,#fff));color:var(--sfr-success,#15803d);font-size:9.5px;font-weight:850;cursor:pointer;list-style:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-tray{position:relative}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-tray>summary::-webkit-details-marker{display:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-tray>div{position:absolute;z-index:40;top:34px;inset-inline-end:0;width:min(540px,82vw);max-height:320px;overflow:auto;padding:6px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.22));border-radius:8px;background:var(--sfr-surface,#fff);box-shadow:0 14px 32px rgba(15,23,42,.16)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-tray article{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(90px,.8fr) auto;align-items:center;gap:8px;padding:6px;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.12));font-size:9.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-tray article:last-child{border-bottom:0}
@media(max-width:1120px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-columns{border:0;background:transparent;gap:8px!important}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-panel{border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16))!important;border-radius:8px!important}
}
@media(max-width:760px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheetbar{align-items:flex-start;flex-direction:column}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-actions{width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-matched-tray>div{position:fixed;inset-inline:12px;top:20vh;width:auto;max-height:58vh}
}


/* SFR-ERP-BANK-RECONCILIATION-SPREADSHEET-UX-169 */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-columns{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-panel{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-panel .sfr-br-grid-scroll{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;max-width:100%!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-grid-scroll .sfr-br-sheet{table-layout:fixed!important;width:100%!important;min-width:0!important;max-width:100%!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet :is(th,td){min-width:0!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet td[data-sfr-br-cell="amount"],
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet td[data-sfr-br-cell="date"],
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet td[data-sfr-br-cell="document"]{font-variant-numeric:tabular-nums!important;white-space:nowrap!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet th:last-child .sfr-br-col-resizer{display:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-col-resizer{cursor:col-resize!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-col-resizer:hover::after{width:3px!important;background:var(--sfr-primary,#2563eb)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter{flex:0 0 10px!important;width:10px!important;min-width:10px!important;max-width:10px!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-toast{position:fixed;z-index:2147482000;inset-inline-start:50%;bottom:28px;transform:translate(-50%,12px);display:flex;align-items:center;justify-content:center;min-width:220px;max-width:min(520px,calc(100vw - 32px));padding:10px 14px;border:1px solid color-mix(in srgb,var(--sfr-success,#16a34a) 30%,var(--sfr-border-subtle));border-radius:10px;background:color-mix(in srgb,var(--sfr-success,#16a34a) 10%,var(--sfr-surface,#fff));color:color-mix(in srgb,var(--sfr-success,#16a34a) 86%,var(--sfr-text,#142033));box-shadow:0 12px 30px rgba(15,23,42,.18);font-size:12px;font-weight:850;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-toast.is-visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1120px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v2 .sfr-br-columns{grid-template-columns:1fr!important;gap:8px!important;overflow:visible!important}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-splitter{display:none!important}
}


/* SFR-ERP-BANK-RECONCILIATION-MIRROR-4COL-UX-170 */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet-panel .sfr-br-sheet :is(th,td){text-align:start!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet td[data-sfr-br-cell="amount"]{text-align:end!important;font-weight:900!important;background:color-mix(in srgb,var(--sfr-surface,#fff) 94%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-statement-panel .sfr-br-sheet td[data-sfr-br-cell="amount"],
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-ledger-panel .sfr-br-sheet td[data-sfr-br-cell="amount"]{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sfr-primary,#2563eb) 7%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet tbody tr[data-sfr-br-detail-row]{cursor:default}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-sheet tbody tr[data-sfr-br-detail-row]:hover td:not(.sfr-br-drag-amount){background:color-mix(in srgb,var(--sfr-primary,#2563eb) 3%,transparent)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail{position:relative;padding:9px 38px 9px 10px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));border-radius:8px;background:var(--sfr-surface,#fff);box-shadow:0 7px 20px rgba(15,23,42,.06)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail article{display:grid;gap:2px;min-width:0;padding:6px 8px;border-radius:6px;background:var(--sfr-surface-soft,#f8fafc)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail article span{font-size:9px;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail article strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;color:var(--sfr-text,#142033)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail-close{position:absolute;inset-inline-end:8px;top:8px;width:24px;height:24px;border:1px solid var(--sfr-border-subtle,rgba(93,116,152,.2));border-radius:6px;background:var(--sfr-surface,#fff);color:var(--sfr-text-secondary,#64748b);cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-toast.is-error{border-color:color-mix(in srgb,var(--sfr-danger,#dc2626) 32%,var(--sfr-border-subtle))!important;background:color-mix(in srgb,var(--sfr-danger,#dc2626) 8%,var(--sfr-surface,#fff))!important;color:color-mix(in srgb,var(--sfr-danger,#b91c1c) 88%,var(--sfr-text,#142033))!important}
@media(max-width:900px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-row-detail>div{grid-template-columns:1fr}}


/* SFR-ERP-BANK-RECONCILIATION-FLAT-POLISH-171
   Flat financial workspace around the approved 170 twin spreadsheet.
   The spreadsheet grids themselves are intentionally not restyled here. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4{
  display:grid;gap:0;min-width:0;max-width:100%;overflow:hidden;background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-page-head{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;
  min-height:0;padding:0 0 12px;margin:0;border:0;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-back{align-self:start;margin-top:2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-page-title{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-page-title>span{font-size:10px;font-weight:850;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-page-title h2{margin:0;font-size:clamp(18px,1.35vw,22px);line-height:1.3;color:var(--sfr-text,#142033)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-page-title p{margin:2px 0 0;max-width:860px;font-size:10.5px;line-height:1.6;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-head-side{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:wrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-head-actions :is(.sfr-gj-primary,.sfr-gj-secondary,.sfr-gj-danger){min-height:34px;padding:6px 10px;border-radius:7px;font-size:10.5px}

/* Setup becomes a flat operational strip, not a card. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-setup{
  display:grid;gap:9px;padding:11px 0 12px;margin:0;border:0;border-radius:0;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16));background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-setup-title{align-items:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-setup-title>div{display:flex;align-items:baseline;gap:8px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-setup-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-setup-title :is(span,small){font-size:9.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid{grid-template-columns:minmax(190px,1.35fr) repeat(4,minmax(118px,.8fr)) minmax(170px,1.25fr);gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid label{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid label>span{font-size:9px;font-weight:800;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid :is(input,select){min-height:34px;padding:6px 8px;border-radius:7px;font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid .is-wide{grid-column:auto}

/* One flat summary band: separators provide hierarchy instead of cards. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-metrics{display:grid;gap:0;padding:0;margin:0;background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:0;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16));background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis>.sfr-bank-kpi{
  min-width:0;display:grid;gap:2px;padding:10px 13px;border:0!important;border-inline-start:1px solid var(--sfr-border-subtle,rgba(93,116,152,.14))!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis>.sfr-bank-kpi:first-child{border-inline-start:0!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis>.sfr-bank-kpi span{font-size:9px;font-weight:800;color:var(--sfr-text-secondary,#64748b)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis>.sfr-bank-kpi strong{font-size:14px;line-height:1.35;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:hidden;border:0;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.14));border-radius:0;background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge>div{
  min-width:0;display:grid;gap:2px;padding:7px 10px;border-inline-start:1px solid var(--sfr-border-subtle,rgba(93,116,152,.12));background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge>div:first-child{border-inline-start:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge span{font-size:8.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge strong{font-size:11px}

/* Readiness is a status line, not a notification card. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-metrics>.sfr-bank-attention,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4>.sfr-bank-attention{
  display:block!important;margin:0;padding:0;border:0;background:transparent!important
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-metrics>.sfr-bank-attention>div,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4>.sfr-bank-attention>div{
  display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:7px 10px;border:0!important;border-radius:0!important;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.13))!important;background:transparent!important
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-metrics>.sfr-bank-attention>div>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4>.sfr-bank-attention>div>span{margin:0;font-size:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-metrics>.sfr-bank-attention>div>strong,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4>.sfr-bank-attention>div>strong{font-size:10.5px;text-align:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-bank-attention.is-clear>div{box-shadow:inset 3px 0 0 color-mix(in srgb,var(--sfr-success,#16a34a) 70%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-bank-attention.is-warning>div{box-shadow:inset 3px 0 0 color-mix(in srgb,var(--sfr-warning,#d97706) 72%,transparent)}
html[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-bank-attention.is-clear>div{box-shadow:inset -3px 0 0 color-mix(in srgb,var(--sfr-success,#16a34a) 70%,transparent)}
html[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-bank-attention.is-warning>div{box-shadow:inset -3px 0 0 color-mix(in srgb,var(--sfr-warning,#d97706) 72%,transparent)}

/* Tooling is a compact control rail immediately above the approved grids. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-workbench-v3{display:grid;gap:8px;padding-top:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-sheetbar{
  display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 0 8px;border:0;border-radius:0;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.14));background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-sheet-actions{gap:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-sheet-actions>.sfr-account-secondary{min-height:30px;padding:4px 7px;border-radius:6px;font-size:9.5px}

/* Row details are an inline disclosure band. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-row-detail{
  padding:8px 36px 8px 0;border:0;border-radius:0;border-top:1px solid var(--sfr-border-subtle,rgba(93,116,152,.14));border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.14));background:transparent;box-shadow:none
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-row-detail article{padding:5px 7px;border-radius:0;background:transparent;border-inline-start:1px solid var(--sfr-border-subtle,rgba(93,116,152,.12))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-row-detail article:first-child{border-inline-start:0}

/* Exceptions and adjustments become flat secondary sections. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-exceptions{
  display:grid;gap:7px;padding:11px 0 0;margin-top:2px;border:0;border-radius:0;border-top:1px solid var(--sfr-border-subtle,rgba(93,116,152,.16));background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-exceptions.is-clear{border-color:var(--sfr-border-subtle,rgba(93,116,152,.16));background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-exception-list{gap:0;border-top:1px solid var(--sfr-border-subtle,rgba(93,116,152,.12))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-exception-list>article{
  grid-template-columns:minmax(0,1fr) auto auto;gap:10px;padding:8px 2px;border:0;border-radius:0;border-bottom:1px solid var(--sfr-border-subtle,rgba(93,116,152,.12));background:transparent
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-adjustment{
  display:grid;gap:9px;padding:11px 0 0;margin-top:2px;border:0;border-radius:0;border-top:1px solid var(--sfr-border-subtle,rgba(93,116,152,.18));background:transparent
}

@media(max-width:1180px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-page-head{grid-template-columns:auto minmax(0,1fr)}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-head-side{grid-column:1/-1;justify-content:space-between;padding-top:6px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid .is-wide{grid-column:span 3}
}
@media(max-width:760px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-page-head{grid-template-columns:1fr;align-items:start}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-back{justify-self:start}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-head-side{grid-column:auto;display:grid;justify-content:stretch}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-head-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid{grid-template-columns:1fr 1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid .is-wide{grid-column:1/-1}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis{grid-template-columns:1fr 1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis>.sfr-bank-kpi:nth-child(odd){border-inline-start:0!important}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge{grid-template-columns:1fr 1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge>div:nth-child(odd){border-inline-start:0}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-sheetbar{align-items:flex-start;flex-direction:column}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-sheet-actions{width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-exception-list>article{grid-template-columns:1fr;align-items:start}
}
@media(max-width:520px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-header-grid .is-wide{grid-column:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-core-kpis>.sfr-bank-kpi{border-inline-start:0!important}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-bridge>div{border-inline-start:0}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v4 .sfr-br-head-actions{grid-template-columns:1fr}
}


/* SFR-PATCH-ERP-BANK-RECONCILIATION-UI-MODEL-ONE-172
   Model-One visual language around the approved 170/171 reconciliation spreadsheets.
   No spreadsheet selector is redefined below. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6{
  --br-v6-blue:var(--sfr-brand-600,#2563eb);
  --br-v6-ink:var(--sfr-ink,#111827);
  --br-v6-muted:var(--sfr-muted,#64748b);
  --br-v6-border:var(--sfr-border,#dbe4ef);
  --br-v6-soft:var(--sfr-surface-subtle,#f8fafc);
  display:grid;gap:14px;padding:8px 14px 16px;min-width:0;max-width:100%;overflow:hidden;
  font-family:var(--sfr-font-ar,"Cairo","Noto Sans Arabic",Tahoma,Arial,sans-serif)
}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6{font-family:var(--sfr-font-latin,"Inter",system-ui,sans-serif)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-page-head-v6{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:6px 0 2px;border:0;background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-title-v6{min-width:0;display:grid;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-title-v6 h2{margin:0;color:var(--br-v6-ink);font-size:clamp(25px,2vw,31px);line-height:1.28;font-weight:900;letter-spacing:-.02em}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-title-v6 p{margin:0;max-width:820px;color:var(--br-v6-muted);font-size:12.5px;line-height:1.75;font-weight:600}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-doc-v6{flex:0 0 230px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--br-v6-border);border-radius:14px;background:var(--sfr-surface,#fff);box-shadow:0 4px 14px rgba(15,23,42,.025)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-doc-v6>div{display:grid;gap:3px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-doc-v6 strong{font:850 15px/1.2 var(--sfr-font-latin,"Inter",system-ui,sans-serif);color:var(--br-v6-ink);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-doc-v6 small{font-size:10px;font-weight:700;color:var(--br-v6-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-doc-v6 .sfr-gj-status{flex:0 0 auto;font-size:10px}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-v6{display:grid;gap:9px;padding:0;border:0;background:transparent;box-shadow:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-primary{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(150px,.72fr) minmax(150px,.72fr);gap:12px;align-items:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-secondary{display:grid;grid-template-columns:minmax(150px,.68fr) minmax(150px,.68fr) minmax(260px,1.64fr);gap:12px;align-items:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-v6 label{display:grid;gap:6px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-v6 label>span{display:flex;align-items:center;gap:6px;color:var(--br-v6-muted);font-size:10.5px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-v6 label>span b{font:inherit;color:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-v6 :is(input,select){width:100%;min-height:43px;padding:9px 12px;border:1px solid var(--br-v6-border);border-radius:8px;background:var(--sfr-surface,#fff);color:var(--br-v6-ink);font-size:12.5px;font-weight:700;outline:0;box-shadow:0 1px 2px rgba(15,23,42,.02)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-v6 :is(input,select):focus{border-color:color-mix(in srgb,var(--br-v6-blue) 62%,var(--br-v6-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--br-v6-blue) 10%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bank-field>small,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-functional-note{color:var(--br-v6-muted);font-size:9.5px;font-weight:600;line-height:1.5}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-functional-note{display:block;margin-top:-1px}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-action-row-v6{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid color-mix(in srgb,var(--br-v6-border) 82%,transparent);border-bottom:1px solid color-mix(in srgb,var(--br-v6-border) 82%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-actionbar-v6{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-action-row-v6 :is(.sfr-gj-primary,.sfr-gj-secondary,.sfr-gj-danger,.sfr-account-secondary){min-height:40px;padding:8px 14px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11.5px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-action-row-v6 .sfr-gj-primary{background:linear-gradient(180deg,color-mix(in srgb,var(--br-v6-blue) 92%,#fff),var(--br-v6-blue));border-color:var(--br-v6-blue);box-shadow:0 4px 10px color-mix(in srgb,var(--br-v6-blue) 16%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-ui-icon{width:17px;height:17px;display:inline-block;flex:0 0 17px;color:currentColor}

.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-metrics-v6{display:grid;gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-core-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0;border:0;background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-core-kpis>.sfr-bank-kpi{min-width:0;display:flex;align-items:flex-start;gap:12px;padding:14px 15px;border:1px solid var(--br-v6-border)!important;border-radius:12px;background:var(--sfr-surface,#fff);box-shadow:0 5px 14px rgba(15,23,42,.035);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-icon{width:39px;height:39px;flex:0 0 39px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--br-v6-blue) 8%,var(--sfr-surface,#fff));color:var(--br-v6-blue)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-good .sfr-br-kpi-icon{background:color-mix(in srgb,var(--sfr-success,#16a34a) 9%,var(--sfr-surface,#fff));color:var(--sfr-success,#16a34a)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-risk .sfr-br-kpi-icon{background:color-mix(in srgb,var(--sfr-danger,#dc2626) 8%,var(--sfr-surface,#fff));color:var(--sfr-danger,#dc2626)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-bank-kpi.is-warn .sfr-br-kpi-icon{background:color-mix(in srgb,var(--sfr-warning,#d97706) 9%,var(--sfr-surface,#fff));color:var(--sfr-warning,#d97706)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-body{min-width:0;display:grid;gap:4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-body span{color:var(--br-v6-muted);font-size:10.5px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-body strong{color:var(--br-v6-ink);font:850 17px/1.22 var(--sfr-font-latin,"Inter",system-ui,sans-serif);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-body small{color:var(--br-v6-muted);font-size:9.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-bridge{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--br-v6-border);border-radius:10px;background:var(--sfr-surface,#fff);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-bridge>div{display:grid;gap:3px;padding:9px 12px;border-inline-start:1px solid var(--br-v6-border);background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-bridge>div:first-child{border-inline-start:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-bridge span{font-size:9px;color:var(--br-v6-muted);font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-bridge strong{font:800 11px/1.25 var(--sfr-font-latin,"Inter",system-ui,sans-serif);color:var(--br-v6-ink);white-space:nowrap}

/* Keep surrounding secondary sections visually compatible with Model One; grids remain untouched. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-metrics>.sfr-bank-attention{margin:0;border-radius:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-exceptions,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-adjustment{border-color:var(--br-v6-border);border-radius:12px;background:var(--sfr-surface,#fff);box-shadow:none}

@media(max-width:1180px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-core-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-primary,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-secondary .is-wide{grid-column:1/-1}
}
@media(max-width:820px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-page-head-v6{display:grid;grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-doc-v6{width:100%;max-width:360px;flex-basis:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-action-row-v6{align-items:stretch;flex-direction:column}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-actionbar-v6{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-actionbar-v6>*{width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-core-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-bridge{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6{padding-inline:8px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-title-v6 h2{font-size:23px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-primary,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-secondary,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-actionbar-v6,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-core-kpis,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v6 .sfr-br-bridge{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-setup-secondary .is-wide{grid-column:auto}
}


/* SFR-PATCH-ERP-BANK-RECONCILIATION-LIVE-TARGET-UI-173
   Real implementation of the approved visual target around the locked reconciliation spreadsheets. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7{
  --br7-blue:var(--sfr-brand-600,#2563eb);
  --br7-blue-soft:color-mix(in srgb,var(--br7-blue) 7%,var(--sfr-surface,#fff));
  --br7-ink:var(--sfr-ink,#0f172a);
  --br7-muted:var(--sfr-muted,#64748b);
  --br7-border:color-mix(in srgb,var(--sfr-border,#dbe4ef) 90%,transparent);
  --br7-soft:color-mix(in srgb,var(--sfr-surface-subtle,#f8fafc) 92%,var(--sfr-surface,#fff));
  display:grid;gap:12px;min-width:0;max-width:100%;padding:4px 14px 18px;overflow-x:hidden;
  font-family:var(--sfr-font-ar,"Cairo","Noto Sans Arabic",Tahoma,Arial,sans-serif);
}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7{font-family:var(--sfr-font-latin,"Inter",system-ui,sans-serif)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-ui-icon{width:17px;height:17px;display:block;flex:0 0 17px;color:currentColor}

/* Target hierarchy: title/document/status on the right, command bar on the left. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-v7{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:8px 0 12px;border-bottom:1px solid var(--br7-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-heading-v7{display:grid;gap:5px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-heading-line-v7{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-heading-line-v7 h2{margin:0;color:var(--br7-ink);font-size:25px;line-height:1.25;font-weight:900;letter-spacing:-.02em}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-heading-line-v7>strong{font:850 16px/1.25 var(--sfr-font-latin,"Inter",system-ui,sans-serif);color:var(--br7-ink);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-heading-line-v7 .sfr-gj-status{font-size:10px;font-weight:850;padding:5px 10px;border-radius:999px;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-heading-v7>p{margin:0;max-width:760px;color:var(--br7-muted);font-size:11.5px;line-height:1.8;font-weight:600}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-actions-v7{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;max-width:58%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-actions-v7 :is(.sfr-gj-primary,.sfr-gj-secondary,.sfr-gj-danger,.sfr-account-secondary){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 12px;border-radius:7px;font-size:11px;font-weight:800;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-actions-v7 .sfr-gj-primary{background:var(--br7-blue);border-color:var(--br7-blue);box-shadow:0 3px 9px color-mix(in srgb,var(--br7-blue) 16%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-actions-v7 button:disabled{opacity:.48;box-shadow:none}

/* Bank + period metadata row. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-v7{display:grid;grid-template-columns:minmax(320px,1.45fr) minmax(320px,1fr);gap:20px;align-items:end;padding:2px 0 4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-v7 label{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-account-v7{display:grid;gap:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-account-v7>span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-label-v7{display:flex;align-items:center;gap:7px;color:var(--br7-muted);font-size:10.5px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-account-v7>span b,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-label-v7 b{font:inherit;color:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-account-v7 select,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7 input{width:100%;min-height:40px;padding:8px 11px;border:1px solid var(--br7-border);border-radius:7px;background:var(--sfr-surface,#fff);color:var(--br7-ink);font-size:12px;font-weight:750;outline:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-account-v7 select:focus,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7 input:focus{border-color:color-mix(in srgb,var(--br7-blue) 65%,var(--br7-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--br7-blue) 9%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-account-v7 small{color:var(--br7-muted);font-size:9.5px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7{display:grid;grid-template-columns:1fr 12px 1fr;gap:8px;align-items:end;position:relative;padding-top:20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-label-v7{position:absolute;inset-block-start:0;inset-inline-start:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7 label{display:grid;gap:4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7 label>span{color:var(--br7-muted);font-size:9px;font-weight:750}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7>i{width:12px;height:1px;background:var(--br7-border);align-self:center;margin-top:17px}

/* Real, necessary statement inputs kept secondary and compact. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(150px,.65fr) minmax(260px,1.7fr);gap:10px 12px;padding:10px 12px;border:1px solid var(--br7-border);border-radius:9px;background:var(--br7-soft)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7 label{display:grid;gap:4px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7 label>span{font-size:9.5px;font-weight:750;color:var(--br7-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7 input{width:100%;min-height:34px;padding:6px 9px;border:1px solid color-mix(in srgb,var(--br7-border) 92%,transparent);border-radius:6px;background:var(--sfr-surface,#fff);color:var(--br7-ink);font-size:11px;font-weight:700;outline:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7>small{grid-column:1/-1;color:var(--br7-muted);font-size:9px;line-height:1.45;font-weight:600}

/* Target-style segmented KPI strip: one surface, six real metrics. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-metrics-v7{display:grid;gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-strip-v7{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--br7-border);border-radius:11px;background:var(--sfr-surface,#fff);overflow:hidden;box-shadow:0 2px 8px rgba(15,23,42,.025)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 11px;border-inline-start:1px solid var(--br7-border);background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7:first-child{border-inline-start:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7 .sfr-br-kpi-icon{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;color:var(--br7-blue);background:var(--br7-blue-soft)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7.is-good .sfr-br-kpi-icon{color:var(--sfr-success,#16a34a);background:color-mix(in srgb,var(--sfr-success,#16a34a) 9%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7.is-warn .sfr-br-kpi-icon{color:var(--sfr-warning,#d97706);background:color-mix(in srgb,var(--sfr-warning,#d97706) 9%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7.is-risk .sfr-br-kpi-icon{color:var(--sfr-danger,#dc2626);background:color-mix(in srgb,var(--sfr-danger,#dc2626) 8%,var(--sfr-surface,#fff))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7 .sfr-br-kpi-body{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7 .sfr-br-kpi-body span{font-size:9px;line-height:1.35;font-weight:750;color:var(--br7-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7 .sfr-br-kpi-body strong{font:850 14px/1.25 var(--sfr-font-latin,"Inter",system-ui,sans-serif);font-variant-numeric:tabular-nums;color:var(--br7-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7.is-risk .sfr-br-kpi-body strong{color:var(--sfr-danger,#dc2626)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7 .sfr-br-kpi-body small{font-size:8.5px;font-weight:650;color:var(--br7-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--br7-border);border-radius:8px;background:var(--br7-soft);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border-inline-start:1px solid var(--br7-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7>div:first-child{border-inline-start:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7 span{font-size:8.8px;font-weight:700;color:var(--br7-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7 strong{font:800 10.5px/1.2 var(--sfr-font-latin,"Inter",system-ui,sans-serif);color:var(--br7-ink);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-inline-warning-v7{display:flex;align-items:flex-start;gap:9px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--sfr-warning,#d97706) 28%,var(--br7-border));border-radius:8px;background:color-mix(in srgb,var(--sfr-warning,#d97706) 5%,var(--sfr-surface,#fff));color:var(--sfr-warning,#d97706)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-inline-warning-v7>div{display:grid;gap:1px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-inline-warning-v7 strong{font-size:10px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-inline-warning-v7 span{font-size:9px;color:var(--br7-muted)}

/* Workbench shell only. Spreadsheet markup / colgroups / cells are intentionally untouched. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-workbench-v7{display:grid;gap:8px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheetbar-v7{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid var(--br7-border);border-bottom:1px solid var(--br7-border);background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheet-legend{display:flex;align-items:center;gap:7px;color:var(--br7-muted);font-size:9.5px;font-weight:750;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheet-legend span{display:inline-flex;align-items:center;gap:4px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheet-legend b{color:var(--br7-blue)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-legend-icon{width:14px!important;height:14px!important;color:var(--br7-blue)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheet-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheet-actions :is(button,.sfr-br-matched-pill,.sfr-br-matched-tray>summary){min-height:31px;padding:5px 8px;border-radius:6px;font-size:9.5px;font-weight:750;display:inline-flex;align-items:center;gap:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheet-actions .sfr-br-ui-icon{width:14px;height:14px;flex-basis:14px}

/* Secondary real-data sections below the approved grids. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-lower-v7{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:10px;margin-top:2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exceptions,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-adjustment{margin:0;border:1px solid var(--br7-border);border-radius:9px;background:var(--sfr-surface,#fff);box-shadow:none;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exceptions>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-adjustment>header{padding:10px 12px;border-bottom:1px solid var(--br7-border);background:var(--br7-soft)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exceptions h3,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-adjustment h3{margin:0;font-size:12px;font-weight:850;color:var(--br7-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exceptions header p,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-adjustment header p{margin:2px 0 0;font-size:9px;color:var(--br7-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-list{display:grid}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:8px 11px;border-bottom:1px solid var(--br7-border);border-radius:0;background:transparent}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-list>article:last-child{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-list>article>div:first-child{display:grid;gap:1px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-list strong{font-size:10px;color:var(--br7-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-list span{font-size:8.7px;color:var(--br7-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-list>article>b{font:850 11px/1.2 var(--sfr-font-latin,"Inter",system-ui,sans-serif);white-space:nowrap;color:var(--br7-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-actions{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-exception-actions button{min-height:29px;padding:4px 7px;border-radius:6px;font-size:8.8px;white-space:nowrap}

@media(max-width:1220px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-strip-v7{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7:nth-child(4){border-inline-start:0;border-top:1px solid var(--br7-border)}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7:nth-child(n+5){border-top:1px solid var(--br7-border)}
}
@media(max-width:940px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-v7{display:grid;grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-actions-v7{max-width:none}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-v7{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7 .is-wide{grid-column:1/-1}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheetbar-v7{align-items:stretch;flex-direction:column}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7 .sfr-br-sheet-actions{justify-content:flex-start}
}
@media(max-width:620px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-editor-v7{padding-inline:8px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-heading-line-v7 h2{font-size:22px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-actions-v7{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-command-actions-v7>*{width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-secondary-fields-v7,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-strip-v7,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7:nth-child(n){border-inline-start:0;border-top:1px solid var(--br7-border)}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-kpi-v7:first-child{border-top:0}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7>div,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7>div:first-child{border-inline-start:0;border-top:1px solid var(--br7-border)}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-bridge-v7>div:first-child{border-top:0}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-context-dates-v7>i{display:none}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-list>article{grid-template-columns:1fr!important}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-br-exception-actions{flex-wrap:wrap!important}
}

/* ======================================================================
 * SFR Enterprise Accounting Golden Visual v2.4 — Patch 174
 * Canonical runtime: #accounting -> accountingOverviewMarkup()
 * Visual source: SFR Enterprise Accounting Golden Reference 1448x1086.
 * This block consumes central enterprise tokens; no parallel runtime/UI.
 * ====================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]{
  --sfr-canvas:var(--sfr-ent-canvas,#F7F9FC);
  --sfr-surface:var(--sfr-ent-surface,#FFFFFF);
  --sfr-surface-subtle:var(--sfr-ent-surface-soft,#FBFCFE);
  --sfr-ink:var(--sfr-ent-text,#0B1F44);
  --sfr-muted:var(--sfr-ent-text-secondary,#64779A);
  --sfr-border:var(--sfr-ent-border,#E4EAF3);
  --sfr-sidebar-width:241px;
  --sfr-header-height:76px;
  --sfr-content-max:none;
  background:var(--sfr-ent-canvas,#F7F9FC);
  color:var(--sfr-ent-text,#0B1F44);
  overflow-x:clip;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__workspace{min-width:0;overflow-x:clip}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__main{
  width:100%;max-width:none;margin:0;padding:12px 14px 30px;overflow-x:clip;
}

/* Golden global header — exact desktop calibration: 76px. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar{
  min-width:0;height:76px;padding:0 14px;gap:14px;justify-content:flex-start;
  background:var(--sfr-ent-surface,#fff);border-bottom:1px solid var(--sfr-ent-border,#E4EAF3);
  box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
}
@media(min-width:1041px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-start{display:none!important}
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden{order:1;position:relative;flex:0 1 480px;width:min(480px,40vw);min-width:310px;margin:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden .sfr-erp-search-toggle{
  width:100%;height:48px;display:flex;align-items:center;gap:10px;padding:0 15px;border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:10px;background:var(--sfr-ent-surface,#fff);color:var(--sfr-ent-text-secondary,#64779A);box-shadow:0 3px 12px rgba(14,38,79,.025);cursor:text
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden .sfr-erp-search-icon{width:22px;height:22px;color:#163C82;flex:0 0 22px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-search-toggle__placeholder{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;color:var(--sfr-ent-text-muted,#8797B4);text-align:start}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden .sfr-erp-search-palette{inset-inline:0 auto;top:54px;width:min(520px,calc(100vw - 28px));z-index:120}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-actions{order:2;gap:6px;flex:0 0 auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-actions :is(button,.sfr-a01__icon-button){width:42px;height:42px;min-width:42px;border-radius:9px;color:#173C7D;background:transparent;border:1px solid transparent;box-shadow:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-actions :is(button,.sfr-a01__icon-button):hover{background:var(--sfr-ent-surface-soft,#FBFCFE);border-color:var(--sfr-ent-border,#E4EAF3)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-context--golden{order:3;direction:ltr;display:flex;align-items:center;gap:12px;flex:0 0 auto;margin-inline-start:auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company--golden{
  position:relative;width:224px;height:52px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:6px 10px;border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:10px;background:var(--sfr-ent-surface,#fff);box-shadow:0 3px 12px rgba(14,38,79,.035);direction:rtl;overflow:hidden;cursor:pointer
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#1765F2;background:#F0F6FF;border:1px solid #DCEAFF}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__icon .sfr-accounting-icon{width:22px;height:22px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__copy{min-width:0;display:grid;gap:1px;text-align:right;line-height:1.35}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:800;color:var(--sfr-ent-text-strong,#071B3E)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__copy small{font-size:9.5px;font-weight:600;color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company--golden select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden{display:flex;gap:12px;direction:ltr}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden>span{width:106px;height:48px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 9px;border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:9px;background:var(--sfr-ent-surface,#fff);color:var(--sfr-ent-text-strong,#071B3E);box-shadow:0 3px 12px rgba(14,38,79,.025)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-style:normal;color:#1765F2;background:#EFF5FF}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden>span:last-child i{color:#1FA640;background:#EAF8ED}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden i .sfr-accounting-icon{width:17px;height:17px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden b{font:800 12px/1.2 var(--sfr-font-latin,Inter,sans-serif);white-space:nowrap}

/* Context Dashboard — physical left summary / right main in RTL reference. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-v4{margin:0;padding:0;min-width:0;background:transparent;color:var(--sfr-ent-text,#0B1F44)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-v4 .sfr-accounting-body{margin:0!important;padding:0!important;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout{display:grid;grid-template-columns:clamp(210px,calc(100% - 878px),265px) minmax(0,1fr);gap:14px;align-items:start;min-width:0;width:100%;direction:ltr}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout>.sfr-acc-golden-summary{grid-column:1;direction:rtl}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout>.sfr-acc-golden-main{grid-column:2;direction:rtl}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout,.sfr-a01[data-sfr-tool-id="business-accounting-management"][dir="ltr"] .sfr-accounting-golden-layout{direction:rtl}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout>.sfr-acc-golden-summary,.sfr-a01[data-sfr-tool-id="business-accounting-management"][dir="ltr"] .sfr-accounting-golden-layout>.sfr-acc-golden-summary{grid-column:1;direction:ltr}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout>.sfr-acc-golden-main,.sfr-a01[data-sfr-tool-id="business-accounting-management"][dir="ltr"] .sfr-accounting-golden-layout>.sfr-acc-golden-main{grid-column:2;direction:ltr}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-main{display:grid;gap:10px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-panel,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary{border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:10px;background:var(--sfr-ent-surface,#fff);box-shadow:var(--sfr-ent-panel-shadow,0 8px 24px rgba(14,38,79,.045));min-width:0}

/* Left contextual summary rail — adaptive 210–265px; yields >=864px main workspace when the live shell is tighter. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary{height:944px;display:flex;flex-direction:column;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary>header{padding:16px 18px 13px;border-bottom:1px solid var(--sfr-ent-border-soft,#EDF1F7);min-height:126px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary>header h2{margin:0;font-size:17px;line-height:1.35;font-weight:800;color:var(--sfr-ent-text-strong,#071B3E)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary>header p{margin:3px 0 13px;font-size:10.5px;font-weight:600;color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-health{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:4px 10px;border-radius:8px;font-size:10.5px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-health.is-good{color:#13873B;background:#EAF7ED}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-health.is-warn{color:#A76600;background:#FFF3DE}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-health .sfr-accounting-icon{width:14px;height:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list{flex:1;min-height:0;padding:0 16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list article{min-height:91px;display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:10px;border-bottom:1px solid var(--sfr-ent-border-soft,#EDF1F7)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list article:last-child{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list article>div{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list small{font-size:9.5px;font-weight:800;color:#1666DC}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list strong{font-size:11.5px;font-weight:800;color:var(--sfr-ent-text-strong,#071B3E);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list bdi{font:700 9.5px/1.35 var(--sfr-font-latin,Inter,sans-serif);color:var(--sfr-ent-text-secondary,#64779A);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list em{font-style:normal;font-size:8.7px;font-weight:500;line-height:1.35;color:var(--sfr-ent-text-muted,#8797B4);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-icon{grid-column:2;grid-row:1;width:46px;height:46px;display:grid;place-items:center;border:1px solid #DDE9FA;border-radius:50%;background:#F5F9FF;color:#1666E5}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-icon .sfr-accounting-icon{width:23px;height:23px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-periods{height:46px;margin:12px 16px 14px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #D7E4F7;border-radius:8px;background:var(--sfr-ent-surface,#fff);color:#096BFF;font-size:11px;font-weight:800;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-periods .sfr-accounting-icon{width:18px;height:18px}

/* Hero + 6 exact vertical quick-action cards. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-hero{height:340px;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-page-head{height:82px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:11px 17px;border-bottom:1px solid var(--sfr-ent-border-soft,#EDF1F7);text-align:start}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-page-head h1{margin:0 0 2px;font-size:26px;line-height:1.25;font-weight:700;letter-spacing:-.02em;color:var(--sfr-ent-text-strong,#071B3E);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-page-head p{margin:0;max-width:720px;font-size:12.5px;line-height:1.55;font-weight:500;color:var(--sfr-ent-text-secondary,#64779A);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-block{padding:9px 16px 14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-head{height:31px;display:flex;align-items:center;gap:6px;margin-bottom:7px;color:#146BFF}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-head>span{display:grid;place-items:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-head .sfr-accounting-icon{width:18px;height:18px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-head h2{margin:0;font-size:15px;line-height:1.25;font-weight:800;color:var(--sfr-ent-text-strong,#071B3E)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-head p{display:none;margin:0;font-size:9px;color:var(--sfr-ent-text-muted,#8797B4)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-grid{display:grid;grid-template-columns:repeat(6,126px);gap:12px;justify-content:center;direction:rtl;min-width:0}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-grid{direction:ltr}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick{position:relative;width:126px;height:190px;display:flex;flex-direction:column;align-items:center;padding:18px 13px 12px;border:0;border-radius:14px;color:#fff;text-align:center;overflow:hidden;box-shadow:0 8px 18px rgba(24,79,155,.11);cursor:pointer;transition:transform 160ms ease,box-shadow 160ms ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.16),transparent 45%);pointer-events:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick:hover:not(.is-disabled){transform:translateY(-2px);box-shadow:0 11px 22px rgba(24,79,155,.16)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick.is-disabled{filter:saturate(.72);opacity:.68;cursor:not-allowed}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick.is-purple{background:linear-gradient(180deg,#8E66FC 0%,#7C51F1 48%,#653CE3 100%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick.is-blue{background:linear-gradient(180deg,#3890FD 0%,#1E79FA 48%,#0162EF 100%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick.is-green{background:linear-gradient(180deg,#55C362 0%,#39AD52 48%,#1D9B47 100%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick.is-orange{background:linear-gradient(180deg,#FEB508 0%,#F69B04 50%,#E58B02 100%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick.is-pink{background:linear-gradient(180deg,#F35EA4 0%,#E04E98 50%,#C73683 100%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick.is-cyan{background:linear-gradient(180deg,#20B7E0 0%,#05A3D0 50%,#24A6D7 100%)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick__icon{height:45px;display:grid;place-items:center;margin-bottom:8px;color:#fff}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick__icon .sfr-accounting-icon{width:40px;height:40px;stroke-width:1.7}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick>strong{position:relative;z-index:1;margin:0 0 5px;font-size:14.5px;line-height:1.3;font-weight:700;color:#fff;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick>small{position:relative;z-index:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:34px;font-size:10.5px;line-height:1.6;font-weight:500;color:rgba(255,255,255,.91)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick__go{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.17);box-shadow:0 4px 10px rgba(0,0,0,.08)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick__go .sfr-accounting-icon{width:15px;height:15px;color:#fff}
html[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick__go .sfr-accounting-icon{transform:scaleX(-1)}

/* Analytics panel — quiet cards, charts and hierarchy. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics{height:284px;padding:12px 16px 14px;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-section-head{min-height:45px;display:flex;align-items:flex-start;gap:8px;color:#6B58F4}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-section-head>span{display:grid;place-items:center;margin-top:2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-section-head .sfr-accounting-icon{width:19px;height:19px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-section-head h2{margin:0;font-size:17px;line-height:1.25;font-weight:800;color:var(--sfr-ent-text-strong,#071B3E)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-section-head p{margin:2px 0 0;font-size:9.8px;font-weight:500;color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;direction:rtl}
html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-grid{direction:ltr}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card{height:207px;display:flex;flex-direction:column;min-width:0;padding:11px 12px 9px;border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:9px;background:var(--sfr-ent-surface,#fff);box-shadow:0 3px 12px rgba(14,38,79,.025);overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card h3{margin:0 0 7px;font-size:11.5px;line-height:1.3;font-weight:800;color:var(--sfr-ent-text-strong,#071B3E);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi>strong{margin:4px 0 1px;font:800 18px/1.3 var(--sfr-font-latin,Inter,sans-serif);color:var(--sfr-ent-text-strong,#071B3E);text-align:center}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi>strong small{font-size:9px;font-weight:700;color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi>p{margin:0;text-align:center;font-size:8.8px;font-weight:600;color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card>button{margin-top:auto;align-self:stretch;height:28px;border:0;border-top:1px solid var(--sfr-ent-border-soft,#EDF1F7);background:transparent;color:#096BFF;font-size:9.7px;font-weight:800;text-align:start;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-donut-layout{flex:1;display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:8px;direction:ltr;min-height:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-donut{position:relative;width:86px;height:86px;border-radius:50%;background:conic-gradient(var(--sfr-ent-analytics-1,#1677FF) 0 var(--sfr-d1),var(--sfr-ent-analytics-2,#18B7A0) var(--sfr-d1) var(--sfr-d2),var(--sfr-ent-analytics-3,#F5A000) var(--sfr-d2) var(--sfr-d3),var(--sfr-ent-analytics-4,#E83D8F) var(--sfr-d3) var(--sfr-d4),var(--sfr-ent-analytics-5,#6C4DE6) var(--sfr-d4) 100%);box-shadow:inset 0 0 0 1px rgba(13,75,159,.04)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-donut.is-empty{background:#EDF2F8}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-donut::after{content:"";position:absolute;inset:16px;border-radius:50%;background:var(--sfr-ent-surface,#fff);box-shadow:0 0 0 1px var(--sfr-ent-border-soft,#EDF1F7)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-donut>span{position:absolute;z-index:2;inset:0;display:grid;place-content:center;text-align:center;line-height:1.15;color:var(--sfr-ent-text-strong,#071B3E)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-donut strong{font:800 11px/1.1 var(--sfr-font-latin,Inter,sans-serif)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-donut small{margin-top:2px;font:700 7.5px/1 var(--sfr-font-latin,Inter,sans-serif);color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend{display:grid;gap:6px;min-width:0;direction:rtl}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend>span{display:grid;grid-template-columns:7px minmax(0,1fr) 28px;gap:4px;align-items:center;min-width:0;font-size:7.8px;color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend>span>i{width:6px;height:6px;border-radius:50%;background:var(--sfr-ent-analytics-1,#1677FF)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend>span>i.is-2{background:var(--sfr-ent-analytics-2,#18B7A0)}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend>span>i.is-3{background:var(--sfr-ent-analytics-3,#F5A000)}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend>span>i.is-4{background:var(--sfr-ent-analytics-4,#E83D8F)}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend>span>i.is-5{background:var(--sfr-ent-analytics-5,#6C4DE6)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-legend em{font-style:normal;text-align:end;font-weight:800;color:var(--sfr-ent-text-secondary,#64779A)}
/* Accounting golden: Top Expenses readability lock — keep outer analytics card geometry unchanged. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses{padding-inline:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut-layout{grid-template-columns:70px minmax(0,1fr);gap:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut{width:68px;height:68px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut::after{inset:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut strong{font-size:10.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend{gap:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend>span{grid-template-columns:6px minmax(0,1fr) 24px;gap:3px;min-height:18px;font-size:9.6px;line-height:1.25}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend>span>i{width:6px;height:6px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal;font-size:9.6px;line-height:1.25;font-weight:650;color:var(--sfr-ent-text-primary,#0B1F44)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend em{font-size:9.3px;line-height:1.2;font-weight:800;color:var(--sfr-ent-text-secondary,#64779A);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-bars{height:66px;display:flex;align-items:flex-end;justify-content:center;gap:3px;margin:10px 5px 4px;padding:4px 4px 0;border-bottom:1px solid var(--sfr-ent-border-soft,#EDF1F7)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-bars i{width:3px;height:var(--sfr-bar,24%);min-height:7px;border-radius:2px 2px 0 0;background:linear-gradient(180deg,#45A7FF,#5E5DF5);opacity:.9}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-bars.is-empty i{height:12%;background:#DCE5F1}

/* Recent activity — dense Excel-like grid; data-grid toolbar intentionally suppressed on this compact overview only. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity{height:300px;padding:10px 16px 11px;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-acc-golden-section-head{min-height:45px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap{width:100%;min-width:0;border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:8px;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap table{width:100%;border-collapse:collapse;background:var(--sfr-ent-surface,#fff);font-size:10px;color:var(--sfr-ent-text,#0B1F44)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap thead th{height:31px;padding:5px 7px;background:#F7F9FD;border-bottom:1px solid var(--sfr-ent-border,#E4EAF3);color:#30496F;font-size:9px;font-weight:800;white-space:nowrap;text-align:start}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap tbody td{height:31px;padding:4px 7px;border-bottom:1px solid var(--sfr-ent-border-soft,#EDF1F7);font-size:9.6px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap tbody tr:last-child td{border-bottom:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap tbody tr:hover{background:#FBFDFF}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap .is-number{text-align:end;font-family:var(--sfr-font-latin,Inter,sans-serif);font-weight:700;color:#1E3D72}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-doc{padding:0;border:0;background:transparent;color:#096BFF;font:800 9.4px/1.2 var(--sfr-font-latin,Inter,sans-serif);cursor:pointer;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-desc,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-source{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-open{width:24px;height:24px;display:grid;place-items:center;margin:auto;border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:7px;background:var(--sfr-ent-surface,#fff);color:#234B8A;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-open .sfr-accounting-icon{width:13px;height:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-empty{text-align:center!important;color:var(--sfr-ent-text-muted,#8797B4)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-accounting-status{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:20px;padding:2px 7px;border-radius:999px;font-size:8px;font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-accounting-status.is-posted{color:#188544;background:#EAF8EF}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-accounting-status.is-draft{color:#2B6FD6;background:#ECF4FF}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-accounting-status.is-validated,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-accounting-status.is-approved{color:#B56A00;background:#FFF2DC}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-accounting-status.is-reversed{color:#B83B4A;background:#FFECEE}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-pagination{height:38px;display:flex;align-items:flex-end;justify-content:flex-start;gap:6px;direction:rtl}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-pagination button{width:30px;height:28px;display:grid;place-items:center;border:1px solid var(--sfr-ent-border,#E4EAF3);border-radius:7px;background:var(--sfr-ent-surface,#fff);color:#385277;font:750 10px/1 var(--sfr-font-latin,Inter,sans-serif);cursor:pointer}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-pagination button.is-active{border-color:#096BFF;background:#096BFF;color:#fff;box-shadow:0 4px 10px rgba(9,107,255,.18)}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-pagination button:disabled{opacity:.4;cursor:default}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-erp-data-grid-toolbar{display:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity .sfr-erp-data-grid-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}

/* Dark is the same identity translated by tokens, not a separate design. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-theme="dark"] .sfr-acc-golden-table-wrap thead th{background:var(--sfr-ent-surface-soft,#0E263F);color:var(--sfr-ent-text-secondary,#B8C7DA)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-theme="dark"] .sfr-acc-golden-table-wrap tbody tr:hover{background:var(--sfr-ent-surface-soft,#0E263F)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-theme="dark"] .sfr-acc-golden-summary-icon{border-color:#204467;background:#102A47;color:#73ADFF}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-theme="dark"] .sfr-acc-golden-donut::after{background:var(--sfr-ent-surface,#0B1E34)}

/* Responsive rules follow v2.4: no page-level horizontal scroll. */
@media(max-width:1365px) and (min-width:1041px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]{--sfr-sidebar-width:220px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout{grid-template-columns:240px minmax(0,1fr)}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-hero{height:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick{width:100%;height:174px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics{height:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary{height:auto;min-height:900px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden{min-width:240px;flex-basis:360px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company--golden{width:190px}
}
@media(max-width:1040px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__main{padding:12px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout{display:flex;flex-direction:column;gap:12px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout>.sfr-acc-golden-summary,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-accounting-golden-layout>.sfr-acc-golden-main{width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-main{order:1}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary{order:0;height:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list article{min-height:78px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-hero,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity{height:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick{width:100%;height:178px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar{height:76px;gap:8px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden{flex:1 1 auto;min-width:0;width:auto}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-context--golden{display:none}
}
@media(max-width:767px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-page-head{height:auto;min-height:78px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-page-head h1{font-size:23px;white-space:normal}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-page-head p{white-space:normal}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick{height:170px;padding-top:14px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick__icon .sfr-accounting-icon{width:36px;height:36px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-grid{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card{height:190px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-summary-list{grid-template-columns:1fr}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-table-wrap{max-width:100%}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-activity{padding-inline:10px}
}
@media(max-width:520px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__main{padding:9px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar{height:60px;padding:0 9px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden .sfr-erp-search-toggle{height:40px}
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-quick>small{font-size:9.5px}
}


/* ======================================================================
 * SFR Enterprise Accounting Compact Main Rail — Patch 180
 * Approved experiment: reclaim ~50% of the expanded desktop sidebar width
 * for the accounting workspace while preserving the current card geometry.
 * Canonical route only: #accounting. Mobile drawer remains full width.
 * ====================================================================== */
@media (min-width:1041px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]){
    --sfr-sidebar-width:122px!important;
  }
  html[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__workspace{
    margin-right:var(--sfr-sidebar-width)!important;
    margin-left:0!important;
  }
  html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__workspace{
    margin-left:var(--sfr-sidebar-width)!important;
    margin-right:0!important;
  }

  /* Keep the contextual accounting rail near its already-approved live width;
     the newly reclaimed shell width therefore goes to the main workspace. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-accounting-golden-layout{
    grid-template-columns:220px minmax(0,1fr)!important;
  }

  /* Compact expanded rail. Do not touch the canonical 76px collapsed rail. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) > .sfr-a01__sidebar{
    width:122px!important;
    min-width:122px!important;
    max-width:122px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
    min-height:88px!important;
    height:88px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    padding:8px 25px 7px!important;
    overflow:hidden!important;
    text-align:center!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-shell-brand-mark{
    width:62px!important;
    height:34px!important;
    flex:0 0 34px!important;
    margin:0 auto!important;
    background-size:contain!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-shell-brand-copy{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-shell-brand-copy strong{
    display:block!important;
    max-width:100%!important;
    font-size:11.5px!important;
    line-height:1.15!important;
    font-weight:800!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-shell-brand-copy :is(small,em){
    display:none!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-a01__pin-button{
    width:22px!important;height:22px!important;min-width:22px!important;
    inset-block-start:5px!important;inset-inline-start:4px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-a01__icon-button:not(.sfr-a01__pin-button){
    width:22px!important;height:22px!important;min-width:22px!important;
    inset-block-start:5px!important;inset-inline-end:4px!important;
  }

  /* Company switching is already present in the accounting top bar; removing
     its duplicate sidebar block preserves functionality and keeps this narrow rail legible. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-sidebar-context{
    display:none!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav{
    padding:8px 6px 10px!important;
    gap:5px!important;
    overflow-x:hidden!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__items{
    gap:3px!important;
    padding-bottom:6px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__item[data-sfr-erp-module],
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-enterprise-work-center-nav{
    min-height:48px!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    gap:5px!important;
    padding:6px 5px!important;
    border-radius:9px!important;
    font-size:10.6px!important;
    font-weight:700!important;
    line-height:1.3!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__item[data-sfr-erp-module] > span:not(.sfr-smart-erp-nav__icon),
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-enterprise-work-center-nav > span:not(.sfr-smart-erp-nav__icon){
    min-width:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__item[data-sfr-erp-module] .sfr-smart-erp-nav__icon,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-enterprise-work-center-nav .sfr-smart-erp-nav__icon{
    width:22px!important;height:22px!important;min-width:22px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__item .sfr-smart-erp-nav__svg{
    width:18px!important;height:18px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__item[data-sfr-erp-module] small{
    display:none!important;
  }

  /* Preserve role switching and utility destinations at readable compact sizes. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav-role{
    margin-top:auto!important;
    padding:6px 5px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav-role .sfr-smart-erp-role-field{
    gap:3px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav-role .sfr-smart-erp-role-field>span{
    font-size:8.6px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav-role select{
    min-height:30px!important;
    padding:4px 5px!important;
    font-size:9.3px!important;
    border-radius:8px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__utility{
    gap:4px!important;
    padding-top:5px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__exam,
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__back{
    min-height:34px!important;
    gap:5px!important;
    padding:5px 6px!important;
    border-radius:8px!important;
    font-size:9.4px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__exam .sfr-smart-erp-nav__mark{
    width:25px!important;height:25px!important;min-width:25px!important;
    font-size:8px!important;border-radius:7px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__exam strong{
    font-size:9.4px!important;line-height:1.2!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]) .sfr-smart-erp-nav__exam small{
    display:none!important;
  }
}

/* ======================================================================
 * SFR Enterprise Accounting Compact Main Rail — Patch 181
 * Reopen-safety fix for Patch 180: the canonical desktop collapse trigger
 * must remain visible and clickable while the 76px rail is collapsed.
 * Scope: live accounting route only; no mobile-drawer or workspace changes.
 * ====================================================================== */
@media (min-width:1041px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"]{
    min-height:112px!important;
    height:112px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    padding:8px 6px!important;
    overflow:hidden!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-smart-erp-shell-brand-mark{
    display:block!important;
    width:52px!important;
    height:38px!important;
    flex:0 0 38px!important;
    margin:0!important;
    background-size:contain!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] .sfr-a01__pin-button{
    display:none!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] [data-a01-collapse]{
    display:grid!important;
    place-items:center!important;
    position:static!important;
    inset:auto!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(191,219,254,.30)!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.10)!important;
    color:#F5F9FF!important;
    cursor:pointer!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:4!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] [data-a01-collapse]:hover{
    background:rgba(59,130,246,.28)!important;
    border-color:rgba(147,197,253,.60)!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-sidebar="collapsed"] .sfr-a01__brand[data-sfr-erp-shell-brand="enterprise"] [data-a01-collapse]:focus-visible{
    outline:2px solid #93C5FD!important;
    outline-offset:2px!important;
  }
}

/* ======================================================================
 * SFR Enterprise Accounting Workspace Reclaim — Patch 182
 * Fixes shell reservation after the compact sidebar experiment:
 * expanded accounting rail = 122px, collapsed rail = 76px, and the
 * workspace must consume every remaining desktop pixel without retaining
 * the former 241px reservation. Mobile drawer behavior is unchanged.
 * ====================================================================== */
@media (min-width:1041px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"]:not([data-sfr-a01-sidebar="collapsed"]){
    --sfr-sidebar-width:122px!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-sidebar="collapsed"]{
    --sfr-sidebar-width:76px!important;
  }

  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] > .sfr-a01__sidebar{
    width:var(--sfr-sidebar-width)!important;
    min-width:var(--sfr-sidebar-width)!important;
    max-width:var(--sfr-sidebar-width)!important;
  }

  html[dir="rtl"] .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__workspace{
    width:auto!important;
    max-width:none!important;
    margin-right:var(--sfr-sidebar-width)!important;
    margin-left:0!important;
  }
  html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__workspace{
    width:auto!important;
    max-width:none!important;
    margin-left:var(--sfr-sidebar-width)!important;
    margin-right:0!important;
  }
}

/* ======================================================================
 * SFR Enterprise Accounting Header Alignment — Patch 183
 * Scope: #accounting desktop topbar only.
 * Goal: one stable row with no overlap: Company/FY/Currency | actions | search.
 * Search owns the flexible width; company and financial context stay readable.
 * ====================================================================== */
@media (min-width:1041px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar{
    display:grid!important;
    grid-template-columns:auto auto minmax(220px,1fr);
    grid-template-areas:"context actions search";
    align-items:center;
    justify-content:stretch;
    column-gap:10px;
    direction:ltr;
    min-width:0;
    overflow:visible;
  }

  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-context--golden{
    grid-area:context;
    order:initial;
    display:flex;
    align-items:center;
    justify-self:start;
    gap:8px;
    margin:0!important;
    min-width:0;
    max-width:none;
    flex:none;
    direction:ltr;
  }

  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company--golden{
    width:clamp(190px,15.4vw,220px);
    height:48px;
    flex:0 0 auto;
    padding:5px 9px;
    grid-template-columns:34px minmax(0,1fr);
    gap:8px;
    direction:rtl;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__icon{
    width:32px;
    height:32px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__icon .sfr-accounting-icon{
    width:20px;
    height:20px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__copy strong{
    font-size:12.5px;
    line-height:1.25;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company__copy small{
    font-size:9px;
    line-height:1.25;
  }

  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    direction:ltr;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden>span{
    width:clamp(82px,7vw,104px);
    height:48px;
    flex:0 0 auto;
    gap:7px;
    padding:0 8px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden i{
    width:26px;
    height:26px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden i .sfr-accounting-icon{
    width:16px;
    height:16px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden b{
    font-size:11.5px;
  }

  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-actions{
    grid-area:actions;
    order:initial;
    justify-self:center;
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    gap:5px;
    min-width:max-content;
    margin:0;
    direction:rtl;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-actions :is(button,.sfr-a01__icon-button){
    width:40px;
    height:40px;
    min-width:40px;
    flex:0 0 40px;
  }

  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden{
    grid-area:search;
    order:initial;
    justify-self:stretch;
    width:100%!important;
    min-width:0!important;
    max-width:none;
    flex:none;
    margin:0;
    direction:rtl;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-topbar-search--golden .sfr-erp-search-toggle{
    width:100%;
    min-width:0;
  }
}

/* Compact desktop: preserve all controls, shrink fixed context before search. */
@media (min-width:1041px) and (max-width:1199px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar{
    grid-template-columns:auto auto minmax(180px,1fr);
    column-gap:6px;
    padding-inline:10px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-context--golden{
    gap:6px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-company--golden{
    width:180px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden{
    gap:5px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-smart-erp-topbar-meta--golden>span{
    width:78px;
    padding-inline:5px;
    gap:5px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-actions{
    gap:3px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-a01__topbar-actions :is(button,.sfr-a01__icon-button){
    width:36px;
    height:36px;
    min-width:36px;
    flex-basis:36px;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-erp-search-toggle__placeholder{
    font-size:11px;
  }
}

/* ======================================================================
 * SFR Enterprise Accounting Top Expenses Target-Match Rebuild — Patch 189
 * Scope: #accounting only; central live CSS.
 * Target: approved visual reference — real donut on the left, total centered
 * inside the donut, legend on the right, no watermark/behind-text behavior.
 * ====================================================================== */
@media (min-width:1041px){
  /* Preserve approved Quick Action geometry and readable descriptive copy. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-quick>small{
    color:rgba(255,255,255,.98)!important;
    opacity:1!important;
    font-weight:600;
    text-shadow:0 1px 1px rgba(2,20,55,.18);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-quick.is-disabled>small{
    color:rgba(255,255,255,.94)!important;
  }

  /* Top Expenses follows the approved reference composition. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.3fr);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses{
    position:relative;
    padding:11px 8px 9px;
    overflow:hidden;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses>h3{
    margin:0;
    font-size:11.5px;
    line-height:1.28;
    font-weight:800;
    color:var(--sfr-ent-text-strong,#071B3E);
    text-align:start;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-expense-period{
    position:absolute;
    inset-block-start:11px;
    inset-inline-end:10px;
    z-index:2;
    margin:0;
    font-size:9.4px;
    line-height:1.2;
    font-weight:600;
    color:var(--sfr-ent-text-secondary,#64779A);
    text-align:start;
    white-space:nowrap;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut-layout{
    flex:1;
    display:grid;
    grid-template-columns:90px minmax(0,1fr);
    align-items:center;
    gap:11px;
    margin-top:17px;
    min-height:0;
    direction:ltr;
    overflow:visible;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut{
    position:relative;
    inset:auto;
    width:86px;
    height:86px;
    transform:none;
    border-radius:50%;
    opacity:1;
    pointer-events:none;
    background:conic-gradient(
      var(--sfr-ent-analytics-1,#1677FF) 0 var(--sfr-d1),
      var(--sfr-ent-analytics-2,#18B7A0) var(--sfr-d1) var(--sfr-d2),
      var(--sfr-ent-analytics-3,#F5A000) var(--sfr-d2) var(--sfr-d3),
      var(--sfr-ent-analytics-4,#E83D8F) var(--sfr-d3) var(--sfr-d4),
      var(--sfr-ent-analytics-5,#6C4DE6) var(--sfr-d4) 100%
    )!important;
    box-shadow:inset 0 0 0 1px rgba(13,75,159,.05)!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut.is-empty{
    background:var(--sfr-ent-border-soft,#EDF1F7)!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut::before{
    content:none!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut::after{
    content:"";
    position:absolute;
    inset:16px;
    border-radius:50%;
    background:var(--sfr-ent-surface,#fff);
    box-shadow:0 0 0 1px var(--sfr-ent-border-soft,#EDF1F7);
    opacity:1;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut>span{
    position:absolute;
    z-index:2;
    inset:0;
    display:grid!important;
    place-content:center;
    text-align:center;
    line-height:1.12;
    color:var(--sfr-ent-text-strong,#071B3E);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut strong{
    font:800 11.5px/1.08 var(--sfr-font-latin,Inter,sans-serif);
    color:var(--sfr-ent-text-strong,#071B3E);
    white-space:nowrap;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut small{
    margin-top:3px;
    font:700 7.8px/1 var(--sfr-font-latin,Inter,sans-serif);
    color:var(--sfr-ent-text-secondary,#64779A);
    white-space:nowrap;
  }

  /* Legend is independent from the chart and mirrors the target rows. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend{
    display:grid;
    align-content:center;
    gap:4px;
    min-width:0;
    width:100%;
    margin:0;
    padding:0;
    direction:rtl;
  }
  html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend{
    direction:ltr;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend>span{
    display:grid;
    grid-template-columns:7px minmax(0,1fr) 30px;
    align-items:center;
    column-gap:4px;
    min-height:18px;
    padding:0;
    background:transparent;
    border-radius:0;
    font-size:9.8px;
    line-height:1.2;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend>span>i{
    width:7px;
    height:7px;
    border-radius:50%;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend b{
    display:block;
    min-width:0;
    overflow:visible;
    text-overflow:clip;
    white-space:nowrap;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
    font-size:9.8px;
    line-height:1.2;
    font-weight:650;
    letter-spacing:0;
    color:var(--sfr-ent-text-secondary,#64779A);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend em{
    justify-self:end;
    align-self:center;
    min-width:30px;
    text-align:end;
    font-size:9.8px;
    line-height:1.2;
    font-weight:800;
    font-variant-numeric:tabular-nums;
    color:var(--sfr-ent-text-secondary,#64779A);
    white-space:nowrap;
  }
  html[dir="ltr"] .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend em{
    justify-self:start;
    text-align:start;
  }

  .sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-analytics-card.is-expenses>button{
    margin-top:auto;
    text-align:start;
  }
}

/* Patch 190: desktop expense labels stay on one line. The expenses card receives
 * a slightly larger grid share and the donut/gap are reduced; font size is preserved. */
/* Patch 191: Top Expenses donut is calibrated to the same 86px visual diameter
 * and 16px inner cutout as the peer Asset Distribution donut. Text/legend geometry stays unchanged. */
/* Patch 192: analytics spacing polish — preserve donut geometry, increase chart/legend breathing room
 * and align legend label/percentage baselines with tabular numeric percentages. */

/* Patch 193: move the Top Expenses period label to the opposite top edge on desktop
 * (the approved red-marked position) while preserving the chart/legend vertical rhythm. */

/* On narrower responsive layouts, preserve readability before forcing any overflow. */
@media (max-width:1040px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-expense-period{
    margin:2px 0 5px;
    font-size:9.4px;
    color:var(--sfr-ent-text-secondary,#64779A);
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut-layout{
    grid-template-columns:86px minmax(0,1fr);
    gap:8px;
    direction:ltr;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut{
    position:relative;
    inset:auto;
    transform:none;
    width:82px;
    height:82px;
    opacity:1;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-donut>span{
    display:grid!important;
  }
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-expenses .sfr-acc-golden-legend{
    direction:rtl;
  }
}

/* ======================================================================
 * SFR Enterprise Accounting AR/AP Monthly Comparison — Patch 194
 * Scope: accounting Golden analytics only.
 * Data: current balance + prior five month-end snapshots from canonical GL.
 * ====================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change{
  min-height:31px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:1px;
  margin:0;
  text-align:center;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change>span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-height:15px;
  font:800 10.2px/1.15 var(--sfr-font-latin,Inter,sans-serif);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change>small{
  font-size:8.4px;
  line-height:1.15;
  font-weight:600;
  color:var(--sfr-ent-text-secondary,#64779A);
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change.is-increase>span{color:var(--sfr-success,#18A64A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change.is-decrease>span{color:var(--sfr-danger,#E64545)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change.is-flat>span,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change.is-neutral>span{color:var(--sfr-ent-text-secondary,#64779A)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-bars{
  height:58px;
  gap:5px;
  margin:4px 8px 3px;
  padding:4px 7px 0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-bars i{
  width:4px;
  min-height:7px;
  opacity:.92;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-bars.is-receivables i{
  background:linear-gradient(180deg,#8CCBFF,#2F8DFF);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-bars.is-payables i{
  background:linear-gradient(180deg,#A891FF,#6C4DE6);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-bars i.is-missing{
  height:10%!important;
  background:var(--sfr-ent-border,#E4EAF3)!important;
  opacity:.7;
}
@media (max-width:1040px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-analytics-card.is-kpi .sfr-acc-golden-kpi-change>small{white-space:normal;text-align:center}
}


/* ======================================================================
 * SFR Enterprise Accounting Follow-up + Posted Operations — Patch 196
 * Scope: #accounting overview only. Uses canonical posted journal truth.
 * New lower information architecture:
 *   1) Follow-up & analytics (alerts / top-moving accounts / daily summary)
 *   2) Full-width recent posted accounting operations feed
 * No parallel accounting store and no page-level horizontal overflow.
 * ====================================================================== */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-followup{
  min-height:176px;
  height:auto;
  padding:11px 14px 12px;
  overflow:hidden;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
  margin-bottom:9px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-head .sfr-acc-golden-section-head{
  flex:1 1 auto;
  min-width:0;
  margin:0;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-tabs{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:4px;
  padding:3px;
  border:1px solid var(--sfr-ent-border-soft,#EDF1F7);
  border-radius:9px;
  background:var(--sfr-ent-surface-soft,#FBFCFE);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-tabs button{
  min-height:30px;
  padding:5px 10px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--sfr-ent-text-secondary,#64779A);
  font:700 10px/1.2 var(--sfr-font-ar,Cairo,sans-serif);
  white-space:nowrap;
  cursor:pointer;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-tabs button:hover{
  color:var(--sfr-ent-text-strong,#071B3E);
  background:var(--sfr-ent-surface,#fff);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-tabs button.is-active{
  color:#fff;
  background:linear-gradient(135deg,var(--sfr-ent-link,#096BFF),#075AD3);
  box-shadow:0 3px 9px rgba(9,107,255,.18);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-body{
  min-width:0;
  min-height:100px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts>article{
  min-width:0;
  min-height:96px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:10px 11px;
  border:1px solid var(--sfr-ent-border-soft,#EDF1F7);
  border-radius:10px;
  background:var(--sfr-ent-surface-soft,#FBFCFE);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts>article>span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#EAF8EF;
  color:var(--sfr-success,#18A64A);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts>article.is-warning>span{
  background:#FFF3E0;
  color:var(--sfr-warning,#E79719);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts .sfr-accounting-icon{
  width:18px;
  height:18px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts>article>div{
  min-width:0;
  display:grid;
  gap:2px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts small{
  color:var(--sfr-ent-text-secondary,#64779A);
  font-size:9.6px;
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts strong{
  color:var(--sfr-ent-text-strong,#071B3E);
  font:800 17px/1.15 var(--sfr-font-latin,Inter,sans-serif);
  font-variant-numeric:tabular-nums;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-alerts em{
  color:var(--sfr-ent-text-muted,#8797B4);
  font-size:8.8px;
  font-style:normal;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-accounts{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-accounts>button{
  min-width:0;
  min-height:100px;
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:start;
  gap:5px 7px;
  padding:9px;
  border:1px solid var(--sfr-ent-border-soft,#EDF1F7);
  border-radius:10px;
  background:var(--sfr-ent-surface-soft,#FBFCFE);
  color:inherit;
  text-align:start;
  cursor:pointer;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-accounts>button:hover{
  border-color:#CFE0FA;
  background:var(--sfr-ent-surface,#fff);
  box-shadow:0 5px 14px rgba(14,38,79,.045);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-rank{
  grid-row:1 / span 2;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#EEF5FF;
  color:#096BFF;
  font:800 9.5px/1 var(--sfr-font-latin,Inter,sans-serif);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-account,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-movement{
  min-width:0;
  display:grid;
  gap:1px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-account strong{
  color:var(--sfr-ent-text-strong,#071B3E);
  font-size:10px;
  line-height:1.35;
  font-weight:750;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-account small,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-movement small{
  color:var(--sfr-ent-text-muted,#8797B4);
  font-size:8.2px;
  font-weight:600;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-movement strong{
  color:#096BFF;
  font:800 9.4px/1.25 var(--sfr-font-latin,Inter,sans-serif);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-daily{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-daily>article{
  min-width:0;
  min-height:96px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  gap:2px 8px;
  padding:10px 11px;
  border:1px solid var(--sfr-ent-border-soft,#EDF1F7);
  border-radius:10px;
  background:var(--sfr-ent-surface-soft,#FBFCFE);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-daily>article>span{
  grid-row:1 / span 2;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#096BFF;
  background:#EEF5FF;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-daily .sfr-accounting-icon{width:17px;height:17px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-daily small{
  color:var(--sfr-ent-text-secondary,#64779A);
  font-size:9.2px;
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-daily strong{
  color:var(--sfr-ent-text-strong,#071B3E);
  font:800 18px/1.1 var(--sfr-font-latin,Inter,sans-serif);
  font-variant-numeric:tabular-nums;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-followup-empty{
  min-height:96px;
  display:grid;
  place-items:center;
  border:1px dashed var(--sfr-ent-border,#E4EAF3);
  border-radius:10px;
  color:var(--sfr-ent-text-muted,#8797B4);
  font-size:10px;
  font-weight:650;
}

/* Full-width recent posted accounting operations feed. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations{
  height:auto;
  min-height:248px;
  padding:10px 14px 11px;
  overflow:visible;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations .sfr-acc-golden-table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations table{
  width:100%;
  min-width:0;
  table-layout:fixed;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations :is(th,td):nth-child(1){width:11%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations :is(th,td):nth-child(2){width:17%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations :is(th,td):nth-child(3){width:17%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations :is(th,td):nth-child(4){width:29%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations :is(th,td):nth-child(5){width:12%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations :is(th,td):nth-child(6){width:14%}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations tbody td{
  height:40px;
  padding-inline:8px;
  vertical-align:middle;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations td.is-number,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations td:nth-child(2),
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations td:nth-child(6){
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations td.is-number{
  color:var(--sfr-ent-text-strong,#071B3E);
  font-weight:750;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-golden-operations .sfr-acc-golden-desc{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--sfr-ent-text,#0B1F44);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-user{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--sfr-ent-text-secondary,#64779A);
  font-weight:650;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  min-height:21px;
  padding:3px 7px;
  border-radius:999px;
  background:#EEF5FF;
  color:#1765F2;
  font-size:8.7px;
  font-weight:800;
  white-space:nowrap;
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type.is-receipt{background:#EAF8EF;color:#188544}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type.is-payment{background:#FFF2DC;color:#B56A00}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type.is-sales{background:#E9F3FF;color:#1765F2}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type.is-purchase{background:#F2EDFF;color:#6C4DE6}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type.is-credit-note,
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type.is-debit-note{background:#EAF8F6;color:#147F70}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"] .sfr-acc-op-type.is-reversal{background:#FFECEE;color:#B83B4A}

/* Dark translation uses the same geometry and semantic hierarchy. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-theme="dark"] :is(.sfr-acc-followup-tabs,.sfr-acc-followup-alerts>article,.sfr-acc-followup-accounts>button,.sfr-acc-followup-daily>article){
  background:var(--sfr-ent-surface-soft,#0E263F);
  border-color:var(--sfr-ent-border,#1D3856);
}
.sfr-a01[data-sfr-tool-id="business-accounting-management"][data-sfr-erp-active-module="accounting"][data-sfr-a01-theme="dark"] .sfr-acc-followup-tabs button:hover{background:var(--sfr-ent-surface,#0B1E34)}

@media(max-width:1180px) and (min-width:768px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-head{align-items:flex-start;flex-direction:column;gap:8px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-tabs{max-width:100%}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-accounts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-daily{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-alerts{grid-template-columns:1fr}
}
@media(max-width:767px){
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-followup{padding-inline:10px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-head{align-items:stretch;flex-direction:column;gap:8px}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-tabs{width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-followup-tabs button{flex:0 0 auto}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] :is(.sfr-acc-followup-alerts,.sfr-acc-followup-accounts,.sfr-acc-followup-daily){grid-template-columns:1fr}
  /* Six semantic columns cannot remain legible on phone width; keep overflow inside the data viewport only. */
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-operations .sfr-acc-golden-table-wrap{overflow-x:auto;scrollbar-width:thin}
  .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-acc-golden-operations table{min-width:720px}
}


/* Patch 214 — SFR Enterprise centralized non-blocking Toast/Flash foundation. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast-region{position:fixed;z-index:2147481200;inset-block-start:76px;inset-inline-end:18px;display:grid;gap:8px;width:min(390px,calc(100vw - 28px));pointer-events:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:start;gap:9px;padding:11px 11px 11px 10px;border:1px solid var(--sfr-erp-border);border-radius:12px;background:color-mix(in srgb,var(--sfr-erp-surface) 96%,transparent);color:var(--sfr-erp-text-main);box-shadow:0 14px 38px rgba(3,16,36,.16);backdrop-filter:blur(14px);pointer-events:auto;opacity:0;transform:translateY(-7px) scale(.985);transition:opacity .16s ease,transform .16s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast.is-visible{opacity:1;transform:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast.is-leaving{opacity:0;transform:translateY(-5px) scale(.99)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast::before{content:"";position:absolute;inset-block:8px;inset-inline-start:0;width:3px;border-radius:999px;background:var(--sfr-erp-primary)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast.is-success::before{background:#0d9a62}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast.is-warning::before{background:#d98b17}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast:is(.is-error,.is-blocked)::before{background:#dc3b4f}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast__signal{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--sfr-erp-primary) 9%,var(--sfr-erp-surface));font:800 16px/1 Inter,Cairo,sans-serif}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast.is-success .sfr-erp-toast__signal{color:#087a4e;background:color-mix(in srgb,#0d9a62 11%,var(--sfr-erp-surface))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast.is-warning .sfr-erp-toast__signal{color:#a5670d;background:color-mix(in srgb,#d98b17 12%,var(--sfr-erp-surface))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast:is(.is-error,.is-blocked) .sfr-erp-toast__signal{color:#b42335;background:color-mix(in srgb,#dc3b4f 11%,var(--sfr-erp-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast__body{min-width:0;padding-top:1px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast__body strong{display:block;margin:0 0 2px;font-size:12.5px;font-weight:800}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast__body p{margin:0;color:var(--sfr-erp-text-secondary);font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast__close{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--sfr-erp-text-muted);font:500 17px/1 Inter,Cairo,sans-serif;cursor:pointer}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast__close:hover{background:var(--sfr-erp-surface-muted);color:var(--sfr-erp-text-main)}
@media(max-width:620px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast-region{inset-block-start:66px;inset-inline:10px;width:auto}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast{grid-template-columns:30px minmax(0,1fr) 26px;padding:10px}}
@media(prefers-reduced-motion:reduce){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-erp-toast{transition:none}}


/* 292 — Customer 360: organized progressive-disclosure customer master inside the canonical ERP workspace. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360{display:grid;gap:12px;padding:0;overflow:hidden}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px 16px;background:linear-gradient(135deg,color-mix(in srgb,var(--sfr-primary,#245eea) 8%,var(--sfr-surface)),var(--sfr-surface));border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__identity{min-width:0;display:grid;gap:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__eyebrow{font-size:10px;font-weight:900;color:var(--sfr-primary,#245eea);letter-spacing:.02em}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__identity h2{margin:0;font-size:22px;line-height:1.25;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__identity p{margin:0;max-width:760px;color:var(--sfr-erp-muted);font-size:11px;line-height:1.75}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__identity small{color:var(--sfr-erp-muted);font-size:10px;font-weight:750}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:440px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tag{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border:1px solid var(--sfr-border);border-radius:999px;background:var(--sfr-surface);color:var(--sfr-erp-ink);font-size:10px;font-weight:850;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tag.is-status{border-color:color-mix(in srgb,var(--sfr-success,#0d9a62) 35%,var(--sfr-border));color:var(--sfr-success,#0d9a62)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__toolbar{display:flex;justify-content:flex-end;padding:0 20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360>.sfr-ar-message{margin:0 20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section{min-width:0;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface);padding:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section.is-wide{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section.is-accent{border-color:color-mix(in srgb,var(--sfr-primary,#245eea) 25%,var(--sfr-border));background:linear-gradient(180deg,color-mix(in srgb,var(--sfr-primary,#245eea) 3%,var(--sfr-surface)),var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section>header{padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section h3{margin:0;color:var(--sfr-erp-ink);font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section header p{margin:4px 0 0;color:var(--sfr-erp-muted);font-size:10.5px;line-height:1.6}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section-note{margin-bottom:10px;padding:8px 10px;border-radius:10px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font-size:10px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section .sfr-ar-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section .sfr-ar-form-grid .is-wide{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360>.sfr-ar-editor__actions{margin:2px 20px 18px;padding-top:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__domain{display:grid;gap:10px;margin-top:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__domain-head{padding:2px 2px 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__domain-head h2{margin:0;color:var(--sfr-erp-ink);font-size:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__domain-head p{margin:4px 0 0;color:var(--sfr-erp-muted);font-size:10.5px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__domain .sfr-ar-financial{margin-top:0}
@media(max-width:980px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__hero{flex-direction:column}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tags{justify-content:flex-start;max-width:none}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__sections{grid-template-columns:1fr}}
@media(max-width:620px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__hero{padding:15px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__toolbar,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__sections{padding-left:15px;padding-right:15px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360>.sfr-ar-message{margin-left:15px;margin-right:15px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section .sfr-ar-form-grid{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__section .sfr-ar-form-grid .is-wide{grid-column:auto}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360>.sfr-ar-editor__actions{margin-left:15px;margin-right:15px}}


/* 293 — Customer 360 clean profile: general information first, specialized details behind Shared UI tabs. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__body{display:grid;gap:14px;padding:0 20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__general{min-width:0;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface);padding:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__general>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel>header{padding:0 0 10px;margin:0 0 12px;border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__general h3,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel h3{margin:0;color:var(--sfr-erp-ink);font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__general header p,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel header p{margin:4px 0 0;color:var(--sfr-erp-muted);font-size:10.5px;line-height:1.6}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__general .sfr-ar-form-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel .sfr-ar-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__profile{display:grid;gap:10px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tabs.sfr-ar-view-tabs{margin:0;padding:5px;background:color-mix(in srgb,var(--sfr-surface-subtle) 85%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tabs.sfr-ar-view-tabs button{min-height:34px;padding:7px 12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel{min-width:0;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface);padding:15px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel.is-commercial{border-color:color-mix(in srgb,var(--sfr-primary,#245eea) 22%,var(--sfr-border));background:linear-gradient(180deg,color-mix(in srgb,var(--sfr-primary,#245eea) 2.5%,var(--sfr-surface)),var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__financial,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__history{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__financial .sfr-ar-financial{margin-top:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__history .sfr-ar-history{margin-top:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360>.sfr-ar-editor__actions{margin-top:0}
@media(max-width:760px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tabs.sfr-ar-view-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tabs.sfr-ar-view-tabs button{min-width:0;white-space:normal}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__general .sfr-ar-form-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel .sfr-ar-form-grid{grid-template-columns:1fr}}
@media(max-width:620px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__body{padding-left:15px;padding-right:15px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__general,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__panel{padding:13px}}
@media(max-width:430px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tabs.sfr-ar-view-tabs{grid-template-columns:1fr}}


/* 295 — Sales settings UX refinement over Post-294 commercial controls */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-view-tabs{margin:0 0 12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings{display:grid;gap:12px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid var(--sfr-border);border-radius:16px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero>div:first-child{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__eyebrow{display:block;margin-bottom:4px;color:var(--sfr-erp-muted);font-size:10px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings h2,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings h3,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings h4,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings h5{margin:0;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings h2{font-size:18px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings p{margin:5px 0 0;color:var(--sfr-erp-muted);font-size:11px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero-counts{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero-counts>span{padding:7px 10px;border:1px solid var(--sfr-border);border-radius:999px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font-size:10px;font-weight:850;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__tabs.sfr-ar-view-tabs{margin:0;padding:5px;background:color-mix(in srgb,var(--sfr-surface-subtle) 88%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-panel[hidden]{display:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-overview{display:grid;gap:12px;padding:16px;border:1px solid var(--sfr-border);border-radius:16px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-overview__intro{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-metrics article{display:grid;gap:7px;min-height:82px;padding:14px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-metrics span{font-size:10px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-metrics strong{font-size:20px;line-height:1;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-section{display:grid;gap:12px;padding:16px;border:1px solid var(--sfr-border);border-radius:16px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-section>header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:10px;border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-list{display:grid;gap:10px;margin:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-card,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-segment-card,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-rebate-card{min-width:0;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-card__main{display:grid;grid-template-columns:minmax(170px,1.35fr) minmax(150px,.8fr);gap:10px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-segment-card>header,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-rebate-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--sfr-border);background:color-mix(in srgb,var(--sfr-surface) 75%,transparent);border-radius:14px 14px 0 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-segment-card>header span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-rebate-card>header span{display:block;margin-bottom:3px;color:var(--sfr-erp-muted);font-size:9px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-segment-card>header h4,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-rebate-card>header h4{font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-segment-card__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-rebate-card__body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-group{display:grid;gap:9px;min-width:0;padding:11px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-group h5{font-size:10px;font-weight:950}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-group__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-field{display:grid;gap:5px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-field.is-wide{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-field>span{font-size:9px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-field input,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-field select{box-sizing:border-box;min-width:0;width:100%;height:36px;border:1px solid var(--sfr-border);border-radius:9px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:0 9px;font:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-card__tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-switch{position:relative;display:inline-flex;align-items:center;gap:7px;cursor:pointer;user-select:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-switch input{position:absolute;opacity:0;pointer-events:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-switch>span{position:relative;display:block;width:34px;height:19px;border:1px solid var(--sfr-border);border-radius:999px;background:var(--sfr-surface);transition:.18s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-switch>span:after{content:"";position:absolute;top:2px;inset-inline-start:2px;width:13px;height:13px;border-radius:50%;background:var(--sfr-erp-muted);transition:.18s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-switch input:checked+span{background:color-mix(in srgb,var(--sfr-accent) 20%,var(--sfr-surface));border-color:color-mix(in srgb,var(--sfr-accent) 48%,var(--sfr-border))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-switch input:checked+span:after{inset-inline-start:17px;background:var(--sfr-accent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-switch b{font-size:9px;color:var(--sfr-erp-muted);white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-remove{min-width:34px;width:34px;height:34px;padding:0;border-radius:9px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__actions{position:sticky;bottom:10px;z-index:6;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px;border:1px solid var(--sfr-border);border-radius:14px;background:color-mix(in srgb,var(--sfr-surface) 94%,transparent);box-shadow:0 8px 24px color-mix(in srgb,var(--sfr-erp-ink) 9%,transparent);backdrop-filter:blur(10px)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__actions>div{display:grid;gap:4px;min-width:260px;max-width:480px;flex:1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__actions input{box-sizing:border-box;width:100%;min-height:36px;border:1px solid var(--sfr-border);border-radius:9px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:7px 10px;font:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__actions small{font-size:9px;color:var(--sfr-erp-muted)}
@media(max-width:1100px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-rebate-card__body{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero{align-items:flex-start}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero-counts{max-width:340px}}
@media(max-width:850px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero{display:grid}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__hero-counts{justify-content:flex-start;max-width:none}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-metrics,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-segment-card__body{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-card{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-card__tools{justify-content:space-between}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__tabs.sfr-ar-view-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__tabs.sfr-ar-view-tabs button{min-width:0;white-space:normal}}
@media(max-width:580px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-card__main,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-setting-group__grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-metrics{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-section>header{display:grid}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings-section>header .sfr-a02-btn{justify-self:start}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__tabs.sfr-ar-view-tabs{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__actions{position:static;display:grid}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__actions>div{min-width:0;max-width:none}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-settings__actions .sfr-a02-btn{width:100%}}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-aging__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-aging__grid article{padding:12px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-aging__grid span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-rebate span{display:block;color:var(--sfr-erp-muted);font-size:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-aging__grid strong,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-rebate strong{display:block;color:var(--sfr-erp-ink);margin-top:4px;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-financial-actions{display:flex;justify-content:flex-end;margin-top:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-reminder-link{display:grid;gap:2px;background:transparent;border:0;color:var(--sfr-primary,#245eea);text-align:inherit;cursor:pointer;padding:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-reminder-link small{color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-reminder-modal{position:fixed;inset:0;z-index:99990;display:grid;place-items:center;padding:20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-reminder-modal__backdrop{position:absolute;inset:0;background:rgba(5,12,28,.48)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-reminder-modal__panel{position:relative;width:min(920px,96vw);max-height:82vh;overflow:auto;border-radius:16px;background:var(--sfr-surface);border:1px solid var(--sfr-border);box-shadow:0 22px 60px rgba(0,0,0,.22);padding:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-reminder-log>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-reminder-status.is-sent{color:var(--sfr-success,#198754)}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-reminder-status.is-failed{color:var(--sfr-danger,#dc3545)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-upload{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:10px;align-items:end;margin-bottom:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-upload label{display:grid;gap:5px;min-width:0}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-upload label span{font-size:10px;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-list{display:grid;gap:8px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px;border:1px solid var(--sfr-border);border-radius:12px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-list article>div:first-child{display:grid;gap:3px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-list span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-list small{font-size:10px;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-rebate{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;padding:12px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle)}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-rebate>header{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-rebate .is-good{color:var(--sfr-success,#198754)}
@media(max-width:1050px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-aging__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-upload{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-aging__grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-rebate,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-doc-upload{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-customer-360__tabs.sfr-ar-view-tabs{grid-template-columns:1fr 1fr}}


/* 296 — Sales role-aware cockpit and progressive module surfaces. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-module-head{margin-bottom:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-view-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 12px;padding:5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-view-tabs button{min-width:0;min-height:38px;justify-content:center;text-align:center;white-space:normal}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-surface{display:grid;gap:14px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-hero,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-surface>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border:1px solid var(--sfr-border);border-radius:16px;background:linear-gradient(135deg,color-mix(in srgb,var(--sfr-primary,#245eea) 5%,var(--sfr-surface)),var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-hero span{font-size:10px;font-weight:800;color:var(--sfr-primary,#245eea)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-hero h1,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-surface>header h2{margin:3px 0 0;font-size:20px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-hero p,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-surface>header p{margin:5px 0 0;max-width:760px;color:var(--sfr-erp-muted);font-size:11px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpi{display:grid;gap:7px;min-width:0;padding:14px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpi>span{font-size:10px;color:var(--sfr-erp-muted);font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpi>strong{font-size:18px;color:var(--sfr-erp-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpi>small{font-size:9px;color:var(--sfr-erp-muted);line-height:1.5}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpi.is-warn{border-color:color-mix(in srgb,#d97706 35%,var(--sfr-border));background:color-mix(in srgb,#f59e0b 4%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-grid{display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr);gap:12px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-grid>.sfr-smart-erp-card,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-breakdown,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-top-customers,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-recent{min-width:0;margin:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-attention-list{display:grid;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-attention-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-ink);text-align:start;cursor:pointer}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-attention-list strong.is-warn,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-attention-list strong.is-bad{color:#b45309}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-findings{display:grid;gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-findings article{display:grid;grid-template-columns:24px 1fr;align-items:start;gap:9px;padding:9px 10px;border-radius:10px;background:var(--sfr-surface-subtle);border:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-findings article>span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-weight:900;background:color-mix(in srgb,var(--sfr-primary,#245eea) 10%,transparent);color:var(--sfr-primary,#245eea)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-findings article.is-warn>span{background:color-mix(in srgb,#f59e0b 12%,transparent);color:#b45309}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-findings p{margin:2px 0 0;font-size:10.5px;line-height:1.6;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-source-note{padding:0 4px;color:var(--sfr-erp-muted);font-size:9.5px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid>article,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid>article{min-width:0;padding:14px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid header span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid article>span{font-size:9px;color:var(--sfr-erp-muted);font-weight:800}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid h3,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid h3{margin:3px 0 10px;font-size:15px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid dl{display:grid;gap:7px;margin:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid dl>div{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--sfr-border);padding-top:6px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid dt{color:var(--sfr-erp-muted);font-size:9px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid dd{margin:0;color:var(--sfr-erp-ink);font-size:10px;text-align:end}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid strong{display:block;font-size:17px;color:var(--sfr-erp-ink);white-space:nowrap}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid small{display:block;margin-top:5px;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-readiness-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-readiness-notes>div{padding:10px 12px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font-size:10px;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-readiness{display:grid;gap:7px;padding:14px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface)}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-readiness h3{margin:0 0 4px}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-readiness>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-more-grid article{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-width:0;min-height:150px;padding:15px;border:1px solid var(--sfr-border);border-radius:14px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-more-grid h3{margin:0;color:var(--sfr-erp-ink);font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-more-grid p{margin:6px 0 0;color:var(--sfr-erp-muted);font-size:11px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-more-grid .sfr-a02-btn{align-self:flex-start}

@media(max-width:1100px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-report-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-more-grid{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-view-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-view-tabs button{white-space:normal}}
@media(max-width:620px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-hero,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-surface>header{align-items:flex-start;flex-direction:column}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-cockpit-kpis,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-policy-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-channel-grid,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-readiness-notes{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-view-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-view-tabs{grid-template-columns:1fr}}

/* 297 — Sales Operational Core: quotations + sales orders inside canonical Sales Operations */
.sfr-sales-operation-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 14px;padding:6px;border:1px solid var(--sfr-border,#dbe4ef);border-radius:14px;background:var(--sfr-surface,#fff)}
.sfr-sales-operation-tabs button{min-width:0;border:0;background:transparent;border-radius:10px;padding:9px 10px;font:inherit;color:var(--sfr-text-muted,#64748b);cursor:pointer;text-align:center;white-space:normal}.sfr-sales-operation-tabs button.is-active{background:var(--sfr-accent-soft,#eef5ff);color:var(--sfr-accent,#1d4ed8);font-weight:700}
.sfr-sales-commercial-editor>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.sfr-sales-commercial-editor>header span{font-size:12px;color:var(--sfr-text-muted,#64748b)}
.sfr-sales-commercial-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.sfr-sales-commercial-fields label,.sfr-sales-commercial-memo{display:grid;gap:6px;font-size:12px;color:var(--sfr-text-muted,#64748b)}.sfr-sales-commercial-fields label.is-wide{grid-column:span 2}.sfr-sales-commercial-fields input,.sfr-sales-commercial-fields select,.sfr-sales-commercial-memo textarea,.sfr-sales-commercial-line input{min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--sfr-border,#dbe4ef);background:var(--sfr-input-bg,var(--sfr-surface,#fff));color:var(--sfr-text,#172033);border-radius:10px;padding:10px 12px;font:inherit}.sfr-sales-commercial-memo{margin-top:14px}.sfr-sales-commercial-memo textarea{min-height:78px;resize:vertical}
.sfr-sales-commercial-lines{display:grid;gap:8px;margin:10px 0}.sfr-sales-commercial-line{display:grid;grid-template-columns:minmax(220px,2fr) minmax(90px,.6fr) minmax(110px,.7fr) minmax(110px,.7fr) auto;gap:8px;align-items:center;padding:10px;border:1px solid var(--sfr-border,#dbe4ef);border-radius:12px;background:var(--sfr-surface-subtle,rgba(127,127,127,.035))}.sfr-sales-commercial-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid var(--sfr-border,#dbe4ef)}
.sfr-ar-table td small{display:block;margin-top:3px;color:var(--sfr-text-muted,#64748b);font-size:11px}
@media(max-width:980px){.sfr-sales-commercial-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-sales-commercial-line{grid-template-columns:minmax(160px,1.5fr) repeat(3,minmax(90px,.7fr)) auto}}
@media(max-width:640px){.sfr-sales-commercial-fields{grid-template-columns:1fr}.sfr-sales-commercial-fields label.is-wide{grid-column:auto}.sfr-sales-commercial-line{grid-template-columns:1fr 1fr}.sfr-sales-commercial-line input:first-child{grid-column:1/-1}.sfr-sales-commercial-line .sfr-a02-btn{grid-column:1/-1}.sfr-sales-commercial-editor>header{align-items:stretch;flex-direction:column}.sfr-sales-commercial-actions{justify-content:stretch}.sfr-sales-commercial-actions .sfr-a02-btn{flex:1 1 auto}}
@media(max-width:760px){.sfr-sales-operation-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.sfr-sales-operation-tabs{grid-template-columns:1fr}}

/* 298 — Sales Invoice Excel Grid + central accounting/operations mappings */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid-block{display:grid;gap:8px;min-width:0;margin-top:4px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid-block .sfr-sales-lines-head{padding:0 2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid-block .sfr-sales-lines-head h3{margin:0;font-size:13px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid-block .sfr-sales-lines-head p{margin:3px 0 0;font-size:10px;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid{border-collapse:separate;border-spacing:0;min-width:100%;font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid th{height:34px;padding:6px 8px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font-size:9px;font-weight:900;white-space:nowrap;border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid td{height:40px;padding:0;border-bottom:1px solid var(--sfr-border);border-inline-end:1px solid color-mix(in srgb,var(--sfr-border) 72%,transparent);background:var(--sfr-surface);vertical-align:middle}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid tbody tr:hover td{background:color-mix(in srgb,var(--sfr-accent) 3%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid input,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid select{box-sizing:border-box;width:100%;height:39px;min-width:0;border:0!important;border-radius:0!important;background:transparent!important;color:var(--sfr-erp-ink);padding:6px 8px;font:inherit;outline:none;box-shadow:none!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid input:focus,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid select:focus{background:color-mix(in srgb,var(--sfr-accent) 7%,var(--sfr-surface))!important;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--sfr-accent) 70%,transparent)!important;position:relative;z-index:1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid input[readonly]{font-weight:850;text-align:end;color:var(--sfr-erp-ink);background:var(--sfr-surface-subtle)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-grid-rowno{width:48px;text-align:center!important;color:var(--sfr-erp-muted);font-weight:800;background:var(--sfr-surface-subtle)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-grid-actions{text-align:center!important;background:var(--sfr-surface-subtle)!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-grid-actions .sfr-gj-remove{margin:auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-grid-add{justify-self:start;margin-top:2px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid-block .sfr-erp-data-grid-toolbar{margin:0;border-radius:10px 10px 0 0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid-block .sfr-erp-data-grid-scroll{border:1px solid var(--sfr-border);border-radius:0 0 12px 12px;max-width:100%;overflow:auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid article{position:relative;display:grid;align-content:start;gap:7px;min-height:126px;padding:13px;border:1px solid var(--sfr-border);border-radius:13px;background:var(--sfr-surface-subtle);min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid article>span,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid label>span{display:block;margin-bottom:5px;font-size:9px;font-weight:900;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid select{box-sizing:border-box;width:100%;height:38px;border:1px solid var(--sfr-border);border-radius:9px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:0 9px;font:inherit;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid strong{font-size:12px;color:var(--sfr-erp-ink);overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid small{font-size:9px;line-height:1.55;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid em{justify-self:start;margin-top:auto;padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--sfr-success,#16a34a) 10%,var(--sfr-surface));color:var(--sfr-success,#15803d);font-size:8px;font-style:normal;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid em.is-reserved{background:color-mix(in srgb,var(--sfr-warning,#d97706) 10%,var(--sfr-surface));color:var(--sfr-warning,#b45309)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid article.is-readonly{background:color-mix(in srgb,var(--sfr-accent) 3%,var(--sfr-surface-subtle))}
@media(max-width:850px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-accounting-map__grid{grid-template-columns:1fr}}
@media(max-width:680px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid-block .sfr-erp-data-grid-hint{display:none}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-invoice-grid{font-size:10px}}

/* 299 — Professional Sales Invoice + balanced Export/Shipping editor */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-panel{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid var(--sfr-border);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--sfr-primary,#245eea) 3%,var(--sfr-surface)),var(--sfr-surface));min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:10px;border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-panel>header span:first-child{font-size:9px;font-weight:900;letter-spacing:.04em;color:var(--sfr-primary,#245eea)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-panel h3{margin:2px 0 0;font-size:14px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-panel p{margin:4px 0 0;max-width:760px;font-size:9.5px;line-height:1.55;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:30px;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--sfr-warning,#d97706) 9%,var(--sfr-surface));border:1px solid color-mix(in srgb,var(--sfr-warning,#d97706) 28%,var(--sfr-border));color:var(--sfr-warning,#b45309)!important;font-size:9px!important;font-weight:900!important;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid label{display:grid;align-content:start;gap:5px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid label.is-wide{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid label>span{font-size:9px;font-weight:800;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid input,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid select,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--sfr-border);border-radius:9px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:8px 9px;font:inherit;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid input,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid select{height:38px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid textarea{min-height:66px;resize:vertical;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid input:focus,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid select:focus,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid textarea:focus{border-color:color-mix(in srgb,var(--sfr-primary,#245eea) 68%,var(--sfr-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--sfr-primary,#245eea) 10%,transparent);background:color-mix(in srgb,var(--sfr-primary,#245eea) 2%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid :disabled{opacity:.72;cursor:not-allowed;background:var(--sfr-surface-subtle)}
@media(max-width:1100px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-panel>header{flex-direction:column}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-export-grid label.is-wide{grid-column:auto}}


/* 300 — Sales invoice workflow rebuild: clean operator surface, smart item search, price matrix. */
.sfr-sales-editor .sfr-sales-lines-head{display:none!important}
.sfr-sales-customer-first{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(340px,1.05fr);gap:12px;align-items:end;margin:12px 0}
.sfr-sales-customer-first>.is-customer{display:grid;gap:6px}.sfr-sales-customer-first select{min-height:42px}
.sfr-sales-credit-state{border:1px solid var(--sfr-border,#dbe3ee);border-radius:11px;padding:8px 12px;background:var(--sfr-surface,#fff);display:flex;justify-content:space-between;gap:14px;align-items:center;min-height:42px;box-sizing:border-box}.sfr-sales-credit-state.is-ok{border-color:color-mix(in srgb,var(--sfr-success,#16a34a) 24%,var(--sfr-border,#dbe3ee))}.sfr-sales-credit-state.is-blocked{border-color:color-mix(in srgb,var(--sfr-danger,#dc2626) 28%,var(--sfr-border,#dbe3ee))}.sfr-sales-credit-signal{display:flex;align-items:center;gap:8px;white-space:nowrap}.sfr-sales-credit-signal strong{font-size:12px;font-weight:900;color:var(--sfr-erp-ink)}.sfr-sales-credit-signal>span{font-size:11px;font-weight:850;color:var(--sfr-erp-muted)}.sfr-sales-credit-dot{width:10px;height:10px;border-radius:50%;flex:0 0 10px;background:var(--sfr-erp-muted);box-shadow:0 0 0 3px color-mix(in srgb,var(--sfr-erp-muted) 12%,transparent)}.sfr-sales-credit-state.is-ok .sfr-sales-credit-dot{background:var(--sfr-success,#16a34a);box-shadow:0 0 0 3px color-mix(in srgb,var(--sfr-success,#16a34a) 13%,transparent)}.sfr-sales-credit-state.is-blocked .sfr-sales-credit-dot{background:var(--sfr-danger,#dc2626);box-shadow:0 0 0 3px color-mix(in srgb,var(--sfr-danger,#dc2626) 13%,transparent)}.sfr-sales-credit-state.is-ok .sfr-sales-credit-signal>span{color:var(--sfr-success,#15803d)}.sfr-sales-credit-state.is-blocked .sfr-sales-credit-signal>span{color:var(--sfr-danger,#b91c1c)}.sfr-sales-credit-metrics{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.sfr-sales-credit-metrics span{font-size:10px;color:var(--sfr-erp-muted);white-space:nowrap}.sfr-sales-credit-metrics bdi{font-weight:800;color:var(--sfr-erp-ink)}
.sfr-sales-compact-head{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin:12px 0}.sfr-sales-compact-head label{display:grid;gap:5px}.sfr-sales-compact-head span{font-size:12px;font-weight:700;opacity:.72}
.sfr-sales-invoice-grid-block{position:relative;margin-top:12px;border:1px solid var(--sfr-border,#dbe3ee);border-radius:12px;overflow:auto;background:var(--sfr-surface,#fff)}.sfr-sales-grid-gate{padding:10px 14px;border-bottom:1px solid var(--sfr-border,#dbe3ee);font-weight:700;background:var(--sfr-surface-2,#f8fafc)}.sfr-sales-grid-gate.is-warn{color:#a16207}.sfr-sales-grid-gate.is-danger{color:#b91c1c}
.sfr-sales-invoice-grid{min-width:1060px;width:100%;border-collapse:separate;border-spacing:0}.sfr-sales-invoice-grid th,.sfr-sales-invoice-grid td{padding:0;border-inline-end:1px solid var(--sfr-border,#e2e8f0);border-bottom:1px solid var(--sfr-border,#e2e8f0);vertical-align:middle}.sfr-sales-invoice-grid th{padding:9px 10px;font-size:12px;white-space:nowrap;background:var(--sfr-surface-2,#f8fafc)}.sfr-sales-invoice-grid td input,.sfr-sales-invoice-grid td select{width:100%;min-height:38px;border:0!important;border-radius:0!important;background:transparent!important;padding:7px 9px;box-shadow:none!important}.sfr-sales-invoice-grid td input[readonly]{opacity:.78}.sfr-sales-grid-rowno{width:52px;text-align:center;padding:0 8px!important}.sfr-sales-grid-actions{width:52px;text-align:center}
.sfr-sales-item-cell{position:relative;overflow:visible!important}.sfr-sales-item-picker{position:relative}.sfr-sales-item-results{position:absolute;z-index:80;inset-inline-start:0;top:calc(100% + 2px);width:min(520px,78vw);max-height:320px;overflow:auto;background:var(--sfr-surface,#fff);border:1px solid var(--sfr-border,#cbd5e1);border-radius:10px;box-shadow:0 14px 34px rgba(15,23,42,.16);display:none}.sfr-sales-item-results.is-open{display:block}.sfr-sales-item-results button{width:100%;border:0;border-bottom:1px solid var(--sfr-border,#e2e8f0);background:transparent;padding:10px 12px;display:flex;justify-content:space-between;gap:14px;text-align:start;cursor:pointer}.sfr-sales-item-results button:hover,.sfr-sales-item-results button:focus{background:var(--sfr-surface-2,#f8fafc)}.sfr-sales-item-results button:disabled{cursor:not-allowed;opacity:.72}.sfr-sales-item-results button.is-unpriced{background:color-mix(in srgb,var(--sfr-warning,#b7791f) 5%,var(--sfr-surface,#fff))}.sfr-sales-item-results button span{display:grid;gap:2px}.sfr-sales-item-results small{opacity:.68}.sfr-sales-price-missing{color:var(--sfr-warning,#a16207);font-size:11px}.sfr-sales-item-empty{padding:14px;text-align:center;opacity:.7}.sfr-sales-item-empty.is-error{color:var(--sfr-danger,#b91c1c);opacity:1}
.sfr-sales-pricing-controls{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-bottom:14px}.sfr-sales-pricing-controls label{display:grid;gap:5px}.sfr-sales-price-grid-wrap{overflow:auto;border:1px solid var(--sfr-border,#dbe3ee);border-radius:12px}.sfr-sales-price-grid{width:100%;min-width:760px;border-collapse:separate;border-spacing:0}.sfr-sales-price-grid th,.sfr-sales-price-grid td{border-inline-end:1px solid var(--sfr-border,#e2e8f0);border-bottom:1px solid var(--sfr-border,#e2e8f0);padding:8px 10px}.sfr-sales-price-grid th{background:var(--sfr-surface-2,#f8fafc);white-space:nowrap}.sfr-sales-price-grid input{width:100%;min-width:90px}.sfr-sales-price-actions{display:flex;justify-content:flex-end;margin-top:12px}
@media(max-width:900px){.sfr-sales-customer-first{grid-template-columns:1fr}.sfr-sales-compact-head{grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-sales-pricing-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sfr-sales-compact-head,.sfr-sales-pricing-controls{grid-template-columns:1fr}.sfr-sales-credit-state{align-items:flex-start;flex-direction:column;gap:7px}.sfr-sales-credit-metrics{justify-content:flex-start;gap:7px 12px}}

/* 306R8 — Governed sales-price overrides: company policy → active price-list lock → user capability. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance article{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:10px 12px;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance article>div{display:grid;gap:3px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance strong{font-size:11px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance small{font-size:9px;line-height:1.45;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance article.is-disabled{opacity:.68}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance .sfr-sales-settings-switch{flex:0 0 auto}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-price-cell{position:relative;min-width:118px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-price-cell input:not([readonly]):not(:disabled){font-weight:850;color:var(--sfr-erp-ink);cursor:text}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-price-cell input{padding-bottom:13px!important}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-price-status{display:none;position:absolute;z-index:2;inset-inline-start:8px;bottom:1px;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:850;line-height:1.2;color:var(--sfr-warning,#b7791f);pointer-events:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-price-status.is-visible{display:block}
@media(max-width:760px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-pricing-governance{grid-template-columns:1fr}}


/* 306R9 — Quick Customer Create inside the canonical Sales Invoice workspace. */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-quick-customer{display:grid;gap:14px;min-width:0;padding:16px;border:1px solid var(--sfr-border);border-radius:16px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:12px;border-bottom:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-head>div{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-head span{display:block;margin-bottom:4px;color:var(--sfr-erp-muted);font-size:12px;font-weight:900}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-head h2{margin:0;color:var(--sfr-erp-ink);font-size:20px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-head p{margin:5px 0 0;color:var(--sfr-erp-muted);font-size:13px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-progress{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-progress i{height:4px;border-radius:999px;background:var(--sfr-surface-subtle);border:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-progress i.is-active{background:color-mix(in srgb,var(--sfr-accent) 72%,var(--sfr-surface));border-color:color-mix(in srgb,var(--sfr-accent) 58%,var(--sfr-border))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid label{display:grid;gap:6px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid label.is-wide{grid-column:1/-1}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid label>span{font-size:12px;font-weight:850;color:var(--sfr-erp-muted)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid input,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid select{box-sizing:border-box;width:100%;min-width:0;height:42px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:0 11px;font:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid input:focus,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid select:focus{outline:none;border-color:color-mix(in srgb,var(--sfr-accent) 62%,var(--sfr-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--sfr-accent) 10%,transparent)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-note{padding:10px 12px;border:1px solid var(--sfr-border);border-radius:11px;background:var(--sfr-surface-subtle);color:var(--sfr-erp-muted);font-size:12px;line-height:1.65}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--sfr-border)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicates{display:grid;gap:10px;padding:12px;border:1px solid color-mix(in srgb,var(--sfr-warning,#b7791f) 34%,var(--sfr-border));border-radius:12px;background:color-mix(in srgb,var(--sfr-warning,#b7791f) 5%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicates>header>div{display:flex;gap:10px;align-items:flex-start}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicates>header>div>span{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--sfr-warning,#b7791f) 16%,var(--sfr-surface));color:var(--sfr-warning,#b7791f);font-weight:950}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicates h3{margin:0;color:var(--sfr-erp-ink);font-size:13px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicates p{margin:3px 0 0;color:var(--sfr-erp-muted);font-size:12px;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicate-list{display:grid;gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicate-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicate-list article>div{display:grid;gap:2px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicate-list strong{font-size:12px;color:var(--sfr-erp-ink)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicate-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sfr-erp-muted);font-size:11px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-create-anyway{justify-self:start}
@media(max-width:720px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-head{flex-direction:column}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-grid label.is-wide{grid-column:auto}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-duplicate-list article{align-items:flex-start;flex-direction:column}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-actions{align-items:stretch;flex-direction:column-reverse}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-sales-qc-actions>*{width:100%}}
