@media screen {
/* Reference design v116. Presentation only: no visibility, ordering or form logic. */
@media screen {
  :root {
    --design-bg:#f7f7f9; --design-surface:#fff; --design-ink:#1a1c22;
    --design-muted:#626773; --design-line:#eaeaee; --design-blue:#3d5bd9;
    --design-purple:#7c5ce0; --design-soft:#edf0fc; --design-radius:18px;
    --design-shadow:0 1px 3px rgb(26 28 34 / 5%);
  }
  body.erp-unified-design {
    --ink:var(--design-ink); --muted:var(--design-muted); --line:var(--design-line);
    --blue:var(--design-blue); --soft:var(--design-bg);
    background:var(--design-bg)!important; color:var(--design-ink);
    font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Malgun Gothic',sans-serif;
    -webkit-font-smoothing:antialiased; font-size:18px; line-height:1.6;
    accent-color:var(--design-blue);
  }
  body.erp-unified-design :is(.ledger5,.industry-erp,.inventory-page,.inventory-shell,.finance-workbench,.company-ledger) {
    --l5-ink:#1a1c22; --l5-muted:#626773; --l5-line:#eaeaee;
    --l5-accent:#3d5bd9; --l5-accent-dark:#2a44b0; --l5-deep:#12141d;
    --l5-soft:#f7f7f9; --l5-pale:#edf0fc;
    --center-ink:#1a1c22; --center-muted:#626773; --center-line:#eaeaee;
    --center-soft:#f7f7f9; --center-green:#3d5bd9; --center-radius:18px;
    --inv-ink:#1a1c22; --inv-muted:#626773; --inv-line:#eaeaee; --inv-blue:#3d5bd9;
    --work-ink:#1a1c22; --work-muted:#626773; --work-line:#eaeaee; --work-blue:#3d5bd9;
    --scr-ink:#1a1c22; --scr-muted:#626773; --scr-line:#eaeaee; --scr-blue:#3d5bd9;
  }
  body.erp-unified-design h1 {letter-spacing:-.035em;line-height:1.3}
  body.erp-unified-design :is(h2,h3) {letter-spacing:-.02em;line-height:1.4}
  body.erp-unified-design :is(.eyebrow,.section-head>a,.page-head a:not(.primary):not(.primary-btn),.helptext a) {color:var(--design-blue)}
  body.erp-unified-design :is(.muted,.helptext,.hint) {color:var(--design-muted)}
  body.erp-unified-design :is(.global-persistent-header,.workspace-tabs,.mobile-nav,.company-nav) {
    background:#fff; border-color:var(--design-line); box-shadow:var(--design-shadow);
  }
  body.erp-unified-design .global-persistent-header {
    height:auto;min-height:72px;gap:12px 20px;padding:14px 28px;flex-wrap:wrap;
  }
  body.erp-unified-design .global-persistent-header :is(.brand,.global-nav a,.global-nav button,.user,.link) {color:var(--design-ink)}
  body.erp-unified-design .global-persistent-header .brand {color:var(--design-ink)!important}
  body.erp-unified-design .global-persistent-header .ongyeol-home-mark {display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#f5c518!important;color:#142d45!important;box-shadow:0 2px 5px #142d451a}
  body.erp-unified-design .ongyeol-mark {display:block;width:32px;height:32px;flex:none}
  body.erp-unified-design .brand:hover .ongyeol-home-mark {background:#ffda47!important}
  body.erp-unified-design .brand:focus-visible {outline:3px solid #2945b8;outline-offset:4px;border-radius:14px}
  body.erp-unified-design .reference-work-menu .global-nav :is(a,button) {background:#fff!important;color:#26364a!important;border-color:#bbc7d7!important;opacity:1}
  body.erp-unified-design .reference-work-menu .global-nav :is(a,button):hover {background:#edf0fc!important;color:#2945b8!important;border-color:#2945b8!important}
  body.erp-unified-design .reference-work-menu .global-nav :is(a,button):focus-visible {outline:3px solid #2945b8;outline-offset:2px}
  body.erp-unified-design .reference-work-menu .global-nav :is(a,button) :is(span,svg) {color:inherit!important;opacity:1}
  body.erp-unified-design .workspace-tabs .workspace-tab-empty {color:#525b6d!important}
  body.erp-unified-design :is(.brand-mark,.auth-brand>i,.login-symbol) {
    background:linear-gradient(135deg,#3d5bd9,#7c5ce0);color:#fff;border-radius:12px;
  }
  body.erp-unified-design :is(.top-company-switch a,.company-nav a,.workspace-tabs a,.global-nav a,.global-nav button) {
    border-radius:99px;border-color:var(--design-line);text-decoration:none;
  }
  body.erp-unified-design .top-company-switch a {background:#fff;color:var(--design-ink)}
  body.erp-unified-design :is(.top-company-switch,.company-nav,.workspace-tabs) a:is(.active,[aria-current=page]) {
    background:var(--design-soft);color:var(--design-blue);border-color:#c8d1f4;
  }
  body.erp-unified-design .company-tp {--company-accent:#3d5bd9}
  body.erp-unified-design .company-pz {--company-accent:#0e9384}
  body.erp-unified-design .company-nw {--company-accent:#d97706}
  body.erp-unified-design .company-tpseoul {--company-accent:#7c5ce0}
  body.erp-unified-design .company-meta {--company-accent:#b94a6c}
  body.erp-unified-design .top-company-switch a>i {background:var(--company-accent,#3d5bd9);color:#fff}
  body.erp-unified-design :is(.card,.panel,.paper,.field-card,.login-card,.auth-card,.erp-install-page,
    .rep-panel,.rep-hero,.wh-quick-card,.wh-panel,.wh-card,.wh-quick-work,
    .inventory-card,.inventory-panel,.inventory-filter,.inventory-filters,
    .isolate-card,.isolate-panel,.isolate-summary,.isolate-hero,
    .accounting-card,.accounting-panel,.finance-card,.finance-panel,
    .module-card,.analysis-card,.hub-card,.easy-card,.pd-card,.store-card,
    .ledger5-history,.ledger5-entry,.cd-summary,.cd-kpi,.ledger5-customer-card,
    .erp-install-page>section,.kpis>article,.balance-cards>article,.menu-grid>a,
    .doc-list,.journal-list,.registration-card) {
    background:var(--design-surface);border:1px solid var(--design-line);
    border-radius:var(--design-radius);box-shadow:var(--design-shadow);color:var(--design-ink);
  }
  body.erp-unified-design :is(.rep-hero,.isolate-hero) :is(h1,h2,p,small) {color:var(--design-ink)}
  body.erp-unified-design :is(.rep-hero,.isolate-hero) :is(p,small) {color:var(--design-muted)}
  body.erp-unified-design :is(.ledger5-band,.cd-summary,.page-head,.hero) {
    background:#fff;color:var(--design-ink);border:1px solid var(--design-line);
    border-radius:18px;padding:24px;box-shadow:var(--design-shadow);
  }
  body.erp-unified-design .ledger5-band :is(strong,h1,dt,dd,.ledger5-band-name,.ledger5-band-clock) {color:var(--design-ink)}
  body.erp-unified-design .ledger5-band :is(small,.ledger5-band-meta,.ledger5-band-clock span) {color:var(--design-muted)}
  body.erp-unified-design :is(.ledger5-toolbar,.ledger5-entry-head,.cd-filter,.filter-bar,.filters,.search-bar) {
    background:#fff;color:var(--design-ink);border-color:var(--design-line);
  }
  body.erp-unified-design :is(.ledger5-btn,.secondary,.actions button,.filter-bar button,.filters button) {
    border-radius:99px;border:1px solid var(--design-line);background:#fff;color:var(--design-ink);
  }
  body.erp-unified-design :is(.primary,.ledger5-btn.primary,button[type=submit].primary,.next-actions a.primary) {
    background:var(--design-blue);color:#fff;border-color:var(--design-blue);border-radius:99px;
  }
  body.erp-unified-design :is(.primary,.ledger5-btn.primary):hover {background:#2a44b0;border-color:#2a44b0;color:#fff}
  body.erp-unified-design :is(.secondary,.ledger5-btn:not(.primary)):hover {background:var(--design-soft);color:#2a44b0}
  body.erp-unified-design :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=submit]):not([type=button]),select,textarea) {
    border:1px solid #c9ccd4;border-radius:11px;background:#fff;color:var(--design-ink);
  }
  body.erp-unified-design :is(input,textarea)::placeholder {color:#707581;opacity:1}
  body.erp-unified-design :is(input,select,textarea):focus-visible {outline:3px solid #dce3fc;outline-offset:1px;border-color:var(--design-blue)}
  body.erp-unified-design :is(a,button,summary):focus-visible {outline:3px solid var(--design-blue);outline-offset:3px}
  body.erp-unified-design :is(table,.table,.ledger5-table) {border-color:var(--design-line);font-variant-numeric:tabular-nums}
  body.erp-unified-design :is(table thead th,.table .th,.ledger5-table thead th) {
    background:#f7f7f9;color:#515762;border-color:var(--design-line);
  }
  body.erp-unified-design :is(table tbody td,.ledger5-table tbody td) {border-color:var(--design-line)}
  body.erp-unified-design .ledger5-entry-table .entry-row td {background:#f7f8fd;border-color:#e0e4f2}
  body.erp-unified-design .ledger5-entry-table .entry-row:focus-within td {background:#edf0fc}
  body.erp-unified-design .ledger5-entry-table td input:focus {border-color:var(--design-blue);box-shadow:0 0 0 3px #dce3fc}
  body.erp-unified-design :is(.item-results,.search-results,.autocomplete-results) {
    background:#fff;color:var(--design-ink);border-color:#c8d1f4;border-radius:12px;
    box-shadow:0 8px 24px rgb(26 28 34 / 12%);
  }
  body.erp-unified-design :is(.item-results,.search-results) button {color:var(--design-ink);background:#fff;border-color:var(--design-line)}
  body.erp-unified-design :is(.item-results,.search-results) button:is(:hover,:focus,.active,[aria-selected=true]) {background:var(--design-soft);color:#2a44b0}
  body.erp-unified-design :is(.notice,.helper) {background:var(--design-soft);color:#2a44b0;border-radius:12px}
  body.erp-unified-design :is(.notice.error,.notice.danger,.errorlist) {background:#fff0ea;color:#a53212}
  body.erp-unified-design :is(.notice.success,.notice.ok) {background:#e7f4f1;color:#09695e}
  body.erp-unified-design :is(.notice.warning,.notice.warn) {background:#fff5df;color:#825000}
  body.erp-unified-design .empty {background:#fff;color:var(--design-muted);border-color:#c9ccd4;border-radius:12px}
  body.erp-unified-design :is(.menu-grid b,.steps) {background:var(--design-soft);color:var(--design-blue)}
  body.erp-unified-design .menu-grid a:hover {border-color:#b4c0ed;box-shadow:0 4px 16px rgb(61 91 217 / 8%)}
  body.erp-unified-design :is(.pagination a,.pagination button) {border-radius:99px}
  body.erp-unified-design :is(.build-tag,.erp-build-tag) {color:var(--design-muted)}
  /* Independent book, restricted-company and administrator shells. */
  body.erp-unified-design.reference-center {
    --center-ink:#1a1c22;--center-muted:#626773;--center-line:#eaeaee;
    --center-soft:#f7f7f9;--center-green:#3d5bd9;
  }
  body.erp-unified-design.reference-center :is(.reference-v3-header,.company-book-nav,.reference-v3-topbar) {
    background:#fff;border-color:var(--design-line);color:var(--design-ink);
  }
  body.erp-unified-design.reference-center :is(.isolate-shell,.reference-book-page) {font-size:18px}
  body.erp-unified-design.reference-center :is(p,li,td,th,label,input,select,textarea,button,summary,a) {font-size:17px}
  body.erp-unified-design.reference-center :is(small,.reference-v3-eyebrow,.company-book-kpis span,.customer-book-kpis span,.product-book-kpis span) {font-size:16px}
  body.erp-unified-design .reference-v3-intro {min-width:0;overflow-wrap:anywhere}
  body.erp-unified-design.reference-center :is(.center-directory-row,.reference-v3-ledger-row,.transaction-row,.customer-compact-row,.isolated-row,.recent-ledger-row,.customer-history-row,.product-history-row) {font-size:17px}
  body.erp-unified-design.reference-center :is(.center-directory-row,.reference-v3-ledger-row,.transaction-row,.customer-compact-row,.isolated-row,.recent-ledger-row,.customer-history-row,.product-history-row) :is(b,strong) {font-size:17px}
  body.erp-unified-design.reference-center :is(.center-directory-row,.reference-v3-ledger-row,.transaction-row,.customer-compact-row,.isolated-row,.recent-ledger-row,.customer-history-row,.product-history-row) small {font-size:16px}
  body.erp-unified-design.reference-center :is(.center-directory-row,.transaction-row,.customer-compact-row,.isolated-row,.recent-ledger-row,.customer-history-row,.product-history-row).heading {font-size:16px}
  body.erp-unified-design .page-head .primary-btn {background:var(--design-blue);color:#fff;border-radius:99px}
  body.erp-unified-design :is(.finance-head,.transfer-hero,.report-center-head,.customer-title) .eyebrow {color:#e0e5ff}
  body.erp-unified-design.reference-center :is(.isolate-shell,.reference-book-page) :is(p,li,td,th,label,input,select,textarea,button,summary,a) {font-size:max(17px,1em)}
  body.erp-unified-design.reference-center :is(.company-book-nav,.reference-v3-header) a {border-radius:99px}
  body.erp-unified-design.reference-center .company-book-nav a.active {background:var(--design-soft);color:var(--design-blue)}
  body.erp-unified-design.reference-center :is(.book-kpis>a,.customer-book-kpis>div,.product-book-kpis>div,.ledger-summary>div,.reference-book-kpis article) {
    background:#fff;border-color:var(--design-line);border-radius:18px;box-shadow:var(--design-shadow);
  }
  body.erp-unified-design.reference-center :is(.book-hero,.customer-book-hero,.product-book-hero,.reference-book-hero) :is(h1,h2,strong) {color:var(--design-ink)}
  body.erp-unified-design.reference-center :is(.book-hero,.customer-book-hero,.product-book-hero,.reference-book-hero) :is(p,small,span) {color:var(--design-muted)}
  body.erp-unified-design>header:has(.header-inner) {background:#fff;color:var(--design-ink);border-bottom:1px solid var(--design-line)}
  body.erp-unified-design .header-inner :is(.brand,.user,button) {color:var(--design-ink)}
  body.erp-unified-design .header-inner nav a {background:#fff;color:var(--design-ink);border:1px solid var(--design-line)}
  body.erp-unified-design .header-inner nav a.active {background:var(--design-soft);color:var(--design-blue);border-color:#c8d1f4}
  body.erp-unified-design .header-inner .brand>span {background:linear-gradient(135deg,#3d5bd9,#7c5ce0);color:#fff}
  body.erp-unified-design>main:not(.shell) :is(p,td,th,label,input,select,textarea,button) {font-size:17px}
  body.erp-unified-design :is(.search,.sections a,.totals) {border-color:var(--design-line)}
  body.erp-unified-design .sections a {border-radius:99px}
  body.erp-unified-design .sections a.active {background:var(--design-blue);color:#fff}
  body.erp-unified-design #header {background:#fff;color:var(--design-ink);border-bottom:1px solid var(--design-line)}
  body.erp-unified-design #header :is(a,button,#site-name a) {color:var(--design-blue)}
  body.erp-unified-design :is(.module,fieldset.module,#changelist) {border:1px solid var(--design-line);border-radius:18px;background:#fff;box-shadow:var(--design-shadow)}
  body.erp-unified-design :is(.module h2,.module caption,div.breadcrumbs) {background:var(--design-soft);color:var(--design-ink)}
  body.erp-unified-design div.breadcrumbs a {color:var(--design-blue)}
  body.erp-unified-design :is(.submit-row input,.button,input[type=submit]) {border-radius:99px}
  /* Old dark headers used pale descendants. Reset both surface and text together. */
  body.erp-unified-design :is(.page-head,.hero) :is(h1,h2,h3,strong) {color:var(--design-ink)!important}
  body.erp-unified-design :is(.page-head,.hero) :is(p,small,.eyebrow) {color:var(--design-muted)!important}
  body.erp-unified-design .inventory-head-actions a {background:#fff;color:var(--design-blue)!important;border:1px solid #c8d1f4;border-radius:99px}
  body.erp-unified-design .inventory-head-actions .inventory-add-item {background:var(--design-blue);color:#fff!important}
  body.erp-unified-design .inventory-design .inventory-page-head {padding:24px;margin-bottom:20px}
  body.erp-unified-design .inventory-design .inventory-kpi-strip {margin:0 0 24px}
  body.erp-unified-design .global-persistent-header :is(.login-identity,.login-identity strong,.login-identity b,.login-identity small,.login-identity span,.brand small) {color:#626773!important}
  body.erp-unified-design .workspace-tabs :is(.workspace-tabs-title,.workspace-tab-close,.workspace-tabs-clear,.workspace-tab-text small) {color:#626773!important}
  body.erp-unified-design .workspace-tab {background:#fff!important;border-color:#b8c4d8!important;color:var(--design-ink)!important}
  body.erp-unified-design .workspace-tab a {color:var(--design-ink)!important}
  body.erp-unified-design .workspace-tab-text b {color:var(--design-ink)!important}
  body.erp-unified-design .workspace-tab.active {background:var(--design-soft)!important;border-color:var(--design-blue)!important;box-shadow:inset 0 -3px 0 var(--design-blue)}
  body.erp-unified-design .workspace-tab-company {background:var(--design-soft)!important;color:#2945b8!important;flex:0 0 auto;min-width:44px;width:auto;height:auto;min-height:32px;white-space:nowrap;word-break:keep-all;line-height:1.4;padding:4px 8px}
  body.erp-unified-design .workspace-tab-close {background:#f4f6fa!important;color:#344054!important;border-left-color:#b8c4d8;min-width:44px}
  body.erp-unified-design .workspace-tab-close:hover {background:#fee4e2!important;color:#912018!important}
  body.erp-unified-design .workspace-tab :is(a,button):focus-visible {outline:3px solid #2945b8;outline-offset:-3px}
  body.erp-unified-design .ledger5-band :is(.ledger5-band-name>span,.ledger5-band-meta,.ledger5-band-meta span) {color:#626773!important}
  body.erp-unified-design .ledger5-band .ledger5-chip.light {background:var(--design-soft);color:#455389;font-size:16px}
  body.erp-unified-design .login-identity :is(.login-identity-name,.login-identity-account,.login-identity-role) {font-size:16px;opacity:1}
  /* All company home variants share these existing structural classes. */
  body.erp-unified-design .prime-v2-main {width:min(1140px,calc(100% - 64px));padding:44px 0 90px;gap:32px}
  body.erp-unified-design .prime-v2-section-head h2 {font-size:20px}
  body.erp-unified-design .prime-v2-page-head h1 {font-size:27px}
  body.erp-unified-design .prime-v2-search-panel {padding:24px}
  body.erp-unified-design .prime-v2-link-card {padding:24px;min-height:140px}
  body.erp-unified-design .prime-v2-button--blue {background:var(--design-blue);border-color:var(--design-blue)}
  body.erp-unified-design .prime-v2-card-grid {gap:14px}
  body.erp-unified-design .prime-v2-app {background:var(--design-bg);color:var(--design-ink)}
  body.erp-unified-design .prime-v2-topbar {background:#fff;color:var(--design-ink);border-bottom:1px solid var(--design-line);box-shadow:var(--design-shadow)}
  body.erp-unified-design .prime-v2-topbar :is(.prime-v2-brand,.prime-v2-user,.prime-v2-user b,.prime-v2-user button,.prime-v2-open-tabs,.prime-v2-open-tabs b,.login-identity,.login-identity strong,.login-identity small,.login-identity span) {color:var(--design-ink)!important}
  body.erp-unified-design .prime-v2-topbar :is(.prime-v2-brand small,.prime-v2-topbar-tools nav a) {color:#626773}
  body.erp-unified-design .prime-v2-topbar-tools {border-color:var(--design-line)}
  body.erp-unified-design .prime-v2-brand-mark {background:linear-gradient(135deg,#3d5bd9,#7c5ce0);color:#fff}
  body.erp-unified-design .prime-v2-company-pill {background:#fff;border:1px solid var(--design-line);color:var(--design-ink)!important}
  body.erp-unified-design .prime-v2-company-pill.active {background:var(--design-soft);border-color:#c8d1f4;color:var(--design-blue)!important}
  body.erp-unified-design .prime-v2-company-pill i {display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:8px;background:var(--design-soft);color:var(--design-blue);font-size:14px;font-style:normal;line-height:1;white-space:nowrap}
  body.erp-unified-design .prime-v2-company-add {background:var(--design-soft);color:var(--design-blue)!important}
  body.erp-unified-design .prime-v2-user button {border-color:var(--design-line);border-radius:99px}
  body.erp-unified-design :is(.prime-v2-panel,.prime-v2-link-card,.prime-v2-shortcut,.prime-v2-search-panel) {border:1px solid var(--design-line);border-radius:18px;box-shadow:var(--design-shadow)}
  body.erp-unified-design .prime-v2-search-panel {background:#fff;color:var(--design-ink)}
  body.erp-unified-design .prime-v2-search-panel h2 {color:var(--design-ink)}
  body.erp-unified-design .prime-v2-search-panel :is(p,.prime-v2-eyebrow--light,.prime-v2-search-help) {color:#626773}
  body.erp-unified-design .prime-v2-live-results>span {color:#626773}
  body.erp-unified-design .prime-v2-search-box input {border:1px solid #c9ccd4}
  body.erp-unified-design .prime-v2-search-box a {background:var(--design-blue);color:#fff!important;border-radius:99px}
  body.erp-unified-design .prime-v2-button {border-radius:99px}
  body.erp-unified-design .prime-v2-topbar-tools nav a {border-radius:99px}
  body.erp-unified-design .prime-v2-topbar-tools nav a:is(:hover,:focus-visible) {background:var(--design-soft);color:var(--design-blue)}
  /* Preserve horizontal table/map scrolling and sticky column geometry. */
  @media (max-width:760px) {
    body.erp-unified-design .prime-v2-main {width:calc(100% - 32px);padding:28px 0 48px}
    body.erp-unified-design .global-persistent-header {padding:12px 16px;gap:12px}
    body.erp-unified-design :is(.page-head,.hero,.rep-hero,.isolate-hero,.cd-summary) {padding:18px;border-radius:16px}
    body.erp-unified-design .ledger5-band {padding:16px;border-radius:14px}
  }
  @media (prefers-reduced-motion:reduce) {
    body.erp-unified-design .menu-grid a {transition:none;transform:none}
  }
}

}
@media print {
/* Shared reference typography, without changing A4 dimensions or pagination. */
@media print {
  body.erp-unified-design {color:#1a1c22;background:#fff}
  body.erp-unified-design :is(h1,h2,h3) {letter-spacing:-.015em}
  body.erp-unified-design table {font-variant-numeric:tabular-nums}
  body.erp-unified-design :is(table thead th,.th) {border-color:#c9ccd4}
  body.erp-unified-design a {text-decoration:none}
}

}
@media screen {
/* v118: structural page contracts shared by every screen family.
   Business visibility, form order, DOM ids and print geometry are not changed. */
@media screen {
 body[data-reference-layout],body.reference-admin-layout {--reference-content:1204px;--reference-gap:14px;--reference-section:32px;--reference-radius:18px;background:#f7f7f9!important;color:#1a1c22}
 body[data-reference-layout] *,body.reference-admin-layout * {box-sizing:border-box}
 /* The same two-row application header on every company and task. */
 body[data-reference-layout]:not([data-reference-layout="dashboard"])>.topbar.global-persistent-header {
   display:block!important;width:100%;height:auto;min-height:0;padding:0!important;background:rgba(255,255,255,.97)!important;
   border:0;border-bottom:1px solid #eaeaee;box-shadow:none;position:sticky;top:0;z-index:1000;
 }
 body[data-reference-layout] .reference-app-header-inner {width:100%;max-width:1204px!important;margin:auto;padding:13px 32px 11px}
 .reference-app-identity-row {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:32px}
 .reference-app-identity-row .brand {min-width:0;gap:10px;font-size:15px;color:#1a1c22!important}
 .reference-app-identity-row .brand>span:last-child {display:flex;gap:12px;align-items:center}
 .reference-app-identity-row .brand small {margin:0;padding-left:12px;border-left:1px solid #eaeaee;font-size:12px!important;color:#626773!important;font-weight:400}
 .reference-app-identity-row .brand-mark {width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#3d5bd9,#7c5ce0);color:white}
 .reference-app-identity-row .user {display:flex;align-items:center;gap:10px;margin:0;font-size:12px;white-space:normal}
 .reference-app-identity-row .login-identity {max-width:360px;line-height:1.35}
 .reference-app-identity-row .login-identity :is(b,strong,small,span) {font-size:12px!important;color:#626773!important;overflow-wrap:anywhere}
 .reference-app-identity-row .user form {margin:0}
 .reference-app-identity-row .user button {min-height:32px;padding:5px 11px;background:white;border:1px solid #eaeaee;border-radius:99px;color:#626773;font-size:12px!important}
 .reference-app-company-row {display:flex;align-items:center;gap:12px;margin-top:11px;min-width:0}
 .reference-app-company-row>span {flex-shrink:0;font-size:12px;color:#626773}
 .reference-app-company-row .top-company-switch {display:flex;margin:0!important;gap:6px;min-width:0;max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
 .reference-app-company-row .top-company-switch a {display:inline-flex;gap:7px;align-items:center;padding:6px 13px;border:1px solid #eaeaee;border-radius:99px;background:#fff;color:#1a1c22;font-size:13px!important;white-space:nowrap;min-width:max-content}
 .reference-app-company-row .top-company-switch a.active {background:#edf0fc;color:#3d5bd9;border-color:#c8d1f4}
 .reference-app-company-row .top-company-switch a i {width:7px;height:7px;border-radius:50%;overflow:hidden;font-size:0;background:var(--company-accent,#3d5bd9)}
 .reference-work-menu {width:calc(100% - 64px);max-width:1140px;margin:14px auto 0;background:#fff;border:1px solid #eaeaee;border-radius:12px}
 .reference-work-menu>summary {padding:11px 16px;cursor:pointer;font-weight:650;color:#3d5bd9;font-size:14px}
 .reference-work-menu>summary span {font-size:12px;color:#626773;font-weight:400;margin-left:12px}
 .reference-work-menu .global-nav {display:flex!important;gap:8px;flex-wrap:wrap;overflow:visible;margin:0;padding:0 16px 16px;width:100%;max-width:100%}
 .reference-work-menu .global-nav :is(a,button) {border:1px solid #eaeaee;border-radius:99px;padding:9px 12px;min-height:40px;white-space:normal;font-size:14px!important;max-width:100%}
 .reference-work-menu .global-nav :is(span,.pictogram) {display:inline-flex}
 body[data-reference-layout="dashboard"]>.reference-work-menu {display:none}
 body[data-reference-layout]:not([data-reference-layout="dashboard"])>.workspace-tabs {position:static!important;display:flex!important;width:calc(100% - 64px);max-width:1140px;margin:10px auto 0!important;padding:8px 12px;border:1px solid #eaeaee;border-radius:12px;box-shadow:none;background:#fff}
 body[data-reference-layout]>.workspace-tabs :is(a,button) {font-size:13px!important}
 /* Common content frame: external width 1204 = 32 + 1140 + 32. */
 body[data-reference-layout]:not([data-reference-layout="dashboard"]):not([data-reference-layout="print"])>main,
 body[data-reference-layout]>.reference-bridge-v3>:is(main,.isolate-shell) {
   width:100%!important;max-width:1204px!important;margin:0 auto!important;padding:48px 32px 100px!important;min-width:0;
 }
 body[data-reference-layout]:not([data-reference-layout="dashboard"]) main.shell>:is(main,.rep-page,.farmer-page,.route-page,.statement-page,.recon-page,.product-page,.supplier-statement-page,.sales-performance-page,.wh-page,.website-page,.library-page,.document-page,.receipt-page,.mall-page,.g2b-page,.industry-erp,.prime-v2-app,.private-company-home) {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0}
 body[data-reference-layout]:not([data-reference-layout="dashboard"]) :is(.prime-v2-main,.industry-erp .isolate-shell,.industry-erp .reference-bridge-v3,.reference-book-page,.isolate-shell .reference-v3-main) {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0}
 body[data-reference-layout] :is(.prime-v2-app,.industry-erp,.reference-bridge-v3) {background:transparent!important}
 body[data-reference-layout] :is(.reference-company-tools,.company-book-nav,.industry-workspace-heading) {margin:0 0 24px;border:1px solid #eaeaee;border-radius:12px;background:white;box-shadow:none}
 .reference-company-tools>summary {padding:12px 16px;font-size:14px!important;color:#3d5bd9;cursor:pointer}
 .reference-company-tools .prime-v2-topbar-tools {width:100%;margin:0;padding:0 16px 16px;flex-wrap:wrap;border:0;min-height:0}
 .reference-company-tools .prime-v2-topbar-tools nav {display:flex;gap:8px;flex-wrap:wrap;overflow:visible;min-width:0}
 .reference-company-tools .prime-v2-topbar-tools nav a {padding:9px 12px;border:1px solid #eaeaee;border-radius:99px;color:#3d5bd9!important;font-size:14px!important}
 .reference-company-tools .prime-v2-open-tabs {display:none}
 /* Explicit component slots, independent of old page-specific colour themes. */
 body[data-reference-layout]:not([data-reference-layout="dashboard"]):not([data-reference-layout="print"]) [data-reference-region="heading"] {
   padding:0!important;margin:0 0 28px!important;min-height:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#1a1c22!important;gap:20px;max-width:100%;min-width:0;
 }
 body[data-reference-layout] [data-reference-region="heading"] :is(h1,h2,strong) {color:#1a1c22!important}
 body[data-reference-layout] [data-reference-region="heading"] h1 {font-size:27px!important;line-height:1.3;letter-spacing:-.035em;margin:6px 0 10px}
 body[data-reference-layout] [data-reference-region="heading"] h2 {font-size:21px!important;line-height:1.35}
 body[data-reference-layout] [data-reference-region="heading"] :is(p,small,.eyebrow) {color:#626773!important;line-height:1.6}
 body[data-reference-layout] [data-reference-region="heading"]>:is(div,form,nav) {min-width:0;max-width:100%}
 body[data-reference-layout] [data-reference-region="heading"] :is(.actions,.head-actions,[class$="-actions"]) {display:flex;gap:8px;flex-wrap:wrap;align-items:center}
 body[data-reference-layout] [data-reference-region="heading"]:not(:has(h1)) a:not(.primary):not([class*="primary"]):not(.inventory-add-item) {background:#fff;color:#3d5bd9!important;border-color:#eaeaee;border-radius:99px}
 body[data-reference-layout] .registration-window-head>button {background:#fff;color:#3d5bd9;border:1px solid #eaeaee;border-radius:99px;min-height:44px}
 body[data-reference-layout] .registration-window-head>div>span {color:#626773}
 body[data-reference-layout] [data-reference-region="summary"] {gap:14px!important;margin:0 0 32px!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;min-width:0}
 body[data-reference-layout] [data-reference-region="summary"]:not(.route-summary):not(.rep-flow-kpis):not(.ledger5-primary-kpis) {display:grid}
 body[data-reference-layout] [data-reference-region="summary"]>:is(article,div,a) {min-width:0;margin:0;padding:22px 24px!important;border:1px solid #eaeaee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 1px 3px rgb(26 28 34 / 5%)!important;color:#1a1c22}
 body[data-reference-layout] [data-reference-region="summary"]>:is(article,div,a)>strong {font-size:27px!important;line-height:1.3}
 body[data-reference-layout] [data-reference-region="cards"] {gap:14px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;min-width:0;margin-bottom:32px}
 body[data-reference-layout] [data-reference-region="cards"]>a,body[data-reference-layout] [data-reference-region="cards"]>article {min-width:0;padding:22px 24px!important;border:1px solid #eaeaee!important;border-radius:18px!important;background:white;box-shadow:0 1px 3px rgb(26 28 34 / 5%)!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) [data-reference-region="surface"] {margin-bottom:24px;border:1px solid #eaeaee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 1px 3px rgb(26 28 34 / 5%)!important;min-width:0;max-width:100%}
 body[data-reference-layout] [data-reference-region="surface"]>:is(header,.section-head,.panel-heading,.tab-head) {padding:22px 24px;border-bottom:1px solid #eaeaee;background:#fff;border-radius:18px 18px 0 0}
 body[data-reference-layout] [data-reference-region="filters"] {gap:14px!important;padding:20px 24px!important;margin:0 0 24px!important;background:#fff!important;border:1px solid #eaeaee!important;border-radius:18px!important;box-shadow:0 1px 3px rgb(26 28 34 / 5%);min-width:0;max-width:100%;flex-wrap:wrap}
 body[data-reference-layout] [data-reference-region="filters"] :is(input,select,textarea) {max-width:100%;min-width:0;min-height:44px;font-size:17px!important}
 body[data-reference-layout] [data-reference-region="filters"] :is(button,.primary) {min-height:44px;padding:10px 18px;border-radius:99px;background:#3d5bd9;color:white;border:1px solid #3d5bd9}
 body[data-reference-layout] main :is(.table-wrap,.table-scroll,.recon-table-wrap,.plain-table,.master-table,.customer-grid-wrap,.isolated-table-card,.source-table-scroll,.ledger5-table-wrap,.supplier-line-table,.transaction-table) {max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
 /* Ledger work is full-width inside the frame; only data tables scroll. */
 body[data-reference-layout="ledger"] .ledger5 {width:100%;max-width:100%;min-width:0;background:transparent;gap:24px}
 body[data-reference-layout="ledger"] .ledger5-band {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;background:transparent!important;border:0;padding:0;margin:0 0 28px;box-shadow:none}
 body[data-reference-layout="ledger"] .ledger5-band-identity {min-width:0}
 body[data-reference-layout="ledger"] .ledger5-band-name strong {font-size:27px!important;color:#1a1c22}
 body[data-reference-layout="ledger"] .ledger5-band-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:100%}
 body[data-reference-layout="ledger"] .ledger5-kpis {display:grid;grid-template-columns:minmax(0,3fr) minmax(190px,1fr);align-items:stretch;grid-column:1/-1;width:100%;max-width:100%;margin:0;gap:14px}
 body[data-reference-layout="ledger"] .ledger5-kpis .ledger5-primary-kpis {width:100%;margin:0!important;min-width:0}
 body[data-reference-layout="ledger"] .ledger5-day-kpis {padding:20px 24px;background:#edf0fc;border:1px solid #dce2f7;border-radius:18px;justify-content:center;gap:8px}
 body[data-reference-layout="ledger"] .ledger5-band-clock {grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px;line-height:1.4;margin-top:-8px}
 body[data-reference-layout="ledger"] .ledger5-band-name {flex-wrap:wrap;white-space:normal}
 body[data-reference-layout="ledger"] .ledger5-history,body[data-reference-layout="ledger"] .ledger5-entry {margin-left:0;margin-right:0}
 body[data-reference-layout="ledger"] .ledger5-primary-kpis {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px}
 body[data-reference-layout="ledger"] .ledger5-history,body[data-reference-layout="ledger"] .ledger5-entry {border-radius:18px;border:1px solid #eaeaee;box-shadow:0 1px 3px rgb(26 28 34 / 5%);background:white;margin-bottom:24px}
 body[data-reference-layout="ledger"] .ledger5-toolbar {padding:18px 20px;gap:12px;border-bottom:1px solid #eaeaee;flex-wrap:wrap}
 body[data-reference-layout="ledger"] .ledger5-entry-head {padding:18px 20px;gap:12px;flex-wrap:wrap}
 body[data-reference-layout="ledger"] .ledger5-entry-table td input:not([type=hidden]) {height:48px;min-height:48px;font-size:18px!important}
 body[data-reference-layout="ledger"] .ledger5-entry-table {min-width:1560px}
 body[data-reference-layout="overview"] main.shell>main.agent-center {max-width:none;margin:0;padding:0}
 body[data-reference-layout="ledger"] .ledger5-entry-table .item-results {z-index:1500}
 /* Independent/restricted company pages follow the identical header/frame. */
 body[data-reference-layout]>header:has(.header-inner) .header-inner {max-width:1204px;width:100%;padding:13px 32px 11px;display:grid;grid-template-columns:1fr auto auto;gap:10px 14px}
 body[data-reference-layout]>header .header-inner>nav {grid-row:2;grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}
 body[data-reference-layout]>header .header-inner .brand {font-size:15px}
 body[data-reference-layout]>header .header-inner .user {font-size:12px}
 body[data-reference-layout]>header .header-inner :is(.user small,.user strong,.user b,.user span) {font-size:12px!important}
 body[data-reference-layout] .reference-v3-header-inner {max-width:1204px;width:100%;height:auto!important;min-height:98px;padding:13px 32px;display:grid;grid-template-columns:1fr auto;gap:12px}
 body[data-reference-layout]>.reference-bridge-v3>.bridge-period {width:calc(100% - 64px);max-width:1140px!important;margin:20px auto 0!important;padding:16px 20px;border-radius:12px}
 body[data-reference-layout] .reference-v3-header .reference-v3-nav {grid-column:1/-1;grid-row:2;justify-content:flex-start;display:flex;flex-wrap:wrap;gap:6px}
 body[data-reference-layout] .reference-v3-header .reference-v3-nav a {border:1px solid #eaeaee;border-radius:99px;padding:8px 14px;background:white;color:#3d5bd9}
 body[data-reference-layout] .company-book-nav {width:calc(100% - 64px);max-width:1140px;margin:20px auto 0}
 body[data-reference-layout] .industry-erp .company-book-nav {width:100%;margin:0 0 24px}
 body[data-reference-layout] .company-book-nav-inner {width:100%;max-width:none;flex-wrap:wrap;padding:16px 20px;gap:12px}
 body[data-reference-layout] .company-book-nav-inner>div {display:flex;flex-wrap:wrap;gap:8px}
 body[data-reference-layout] .industry-workspace-heading {padding:16px 20px;flex-wrap:wrap;gap:12px}
 /* Consistent form, conversation and map workspaces without changing their data. */
 body[data-reference-layout="form"] main :is(.form-grid,.row2,.registration-form .form-grid,.join-fields) {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 body[data-reference-layout="form"] main :is(.registration-form,.farmer-form,.join-form,.auth-card,.panel) {padding:24px;border:1px solid #eaeaee;border-radius:18px;background:#fff}
 body[data-reference-layout="analysis"] main :is(.money-story,.money-flow-row,.statement-grid,.analysis-grid,.finance-grid) {gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-reference-layout="conversation"] :is(.team-room-page,.team-share-layout) {width:100%;max-width:none;margin:0;padding:0;background:transparent}
 body[data-reference-layout="conversation"] .team-room-card {border:1px solid #eaeaee;border-radius:18px;background:#12141d;color:#e9eaf2;box-shadow:none}
 body[data-reference-layout="conversation"] .team-room-feed {background:#12141d;color:#e9eaf2}
 body[data-reference-layout="conversation"] .team-bubble-meta :is(b,time),body[data-reference-layout="conversation"] .team-filter-empty {color:#c4c9dd}
 body[data-reference-layout="conversation"] .team-room-card :is(h2,h3,.team-empty) {color:#e9eaf2}
 body[data-reference-layout="conversation"] .team-room-card :is(input,textarea) {color:#1a1c22;background:#fff}
 body[data-reference-layout="map"] :is(.route-panel,.prime-reference-targets,.coop-directory-table-wrap) {border:1px solid #eaeaee;border-radius:18px;background:white;box-shadow:none}
 body[data-reference-layout="map"] .route-control-grid {gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-reference-layout="map"] .route-map-wrap {padding:20px}
 body[data-reference-layout="auth"] :is(.auth-card,.join-form,.join-complete,.registration-complete) {max-width:760px;margin:0 auto;padding:32px;border:1px solid #eaeaee;border-radius:18px;background:#fff;box-shadow:0 1px 3px rgb(26 28 34 / 5%)}
 body[data-reference-layout="auth"] .auth-card {max-width:560px}
 body[data-reference-layout="status"] main {min-height:60vh}
 body[data-reference-layout="status"] :is(.error-card,.offline-card) {max-width:760px;padding:32px;border:1px solid #eaeaee;border-radius:18px;background:#fff}
 /* Print pages adopt the screen frame, never change paper dimensions. */
 body[data-reference-layout="print"] :is(.print-toolbar,.a4-toolbar,.toolbar,.print-actions,.print-tools) {width:calc(100% - 32px);max-width:1140px;margin:24px auto;padding:16px 24px;border:1px solid #eaeaee;border-radius:18px;background:#fff;color:#1a1c22;display:flex;gap:12px;flex-wrap:wrap;box-shadow:0 1px 3px rgb(26 28 34 / 5%)}
 body.reference-admin-layout #header {padding:18px max(24px,calc((100vw - 1140px)/2));background:#fff;color:#1a1c22;border-bottom:1px solid #eaeaee;flex-wrap:wrap;gap:12px}
 body.reference-admin-layout #content {max-width:1204px;width:100%;padding:48px 32px 80px;margin:0 auto}
 body.reference-admin-layout :is(.module,.submit-row) {border:1px solid #eaeaee;border-radius:18px;background:white;overflow:auto}
 @media(max-width:1000px) {
   body[data-reference-layout] [data-reference-region="cards"] {grid-template-columns:repeat(2,minmax(0,1fr))!important}
   .reference-app-identity-row .brand small {display:none}
 }
 @media(max-width:760px) {
   body[data-reference-layout]:not([data-reference-layout="dashboard"])>.topbar.global-persistent-header {position:static}
   body[data-reference-layout] .reference-app-header-inner {padding:12px 16px}
   .reference-app-identity-row {align-items:flex-start;gap:12px;flex-wrap:wrap}
   .reference-app-identity-row .user {margin-left:auto;max-width:100%;flex-wrap:wrap}
   .reference-app-company-row {align-items:flex-start;flex-direction:column;gap:6px}
   .reference-app-company-row .top-company-switch {width:100%}
   .reference-work-menu,body[data-reference-layout]:not([data-reference-layout="dashboard"])>.workspace-tabs {width:calc(100% - 32px)}
   .reference-work-menu>summary span {display:block;margin:4px 0 0 16px}
   body[data-reference-layout]:not([data-reference-layout="dashboard"]):not([data-reference-layout="print"])>main,
   body[data-reference-layout]>.reference-bridge-v3>:is(main,.isolate-shell) {padding:28px 16px 124px!important}
   body[data-reference-layout] [data-reference-region="cards"] {grid-template-columns:1fr!important}
   body[data-reference-layout] [data-reference-region="summary"] {grid-template-columns:repeat(2,minmax(0,1fr))!important}
   body[data-reference-layout] [data-reference-region="summary"]>:is(article,div,a) {padding:16px!important;overflow-wrap:anywhere}
   body[data-reference-layout] [data-reference-region="summary"]>:is(article,div,a)>strong {font-size:22px!important}
   body[data-reference-layout] [data-reference-region="heading"] h1 {font-size:25px!important}
   body[data-reference-layout] [data-reference-region="heading"] .prime-v2-page-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px}
   body[data-reference-layout] .prime-v2-page-actions .prime-v2-date {grid-column:1/-1;text-align:left}
   body[data-reference-layout] .prime-v2-page-actions .prime-v2-button {width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:10px 12px}
   body[data-reference-layout] [data-reference-region="filters"] {padding:18px!important}
   body[data-reference-layout] [data-reference-region="filters"]>* {max-width:100%;min-width:0}
   body[data-reference-layout="ledger"] .ledger5-band {grid-template-columns:1fr}
   body[data-reference-layout="ledger"] .ledger5-band-actions {justify-content:flex-start}
   body[data-reference-layout="ledger"] .ledger5-primary-kpis {grid-template-columns:1fr!important}
   body[data-reference-layout="ledger"] .ledger5-kpis {grid-template-columns:1fr}
   body[data-reference-layout="form"] main :is(.form-grid,.row2,.join-fields),
   body[data-reference-layout="analysis"] main :is(.money-story,.money-flow-row,.statement-grid,.analysis-grid,.finance-grid),
   body[data-reference-layout="map"] .route-control-grid {grid-template-columns:1fr}
   body[data-reference-layout]>header:has(.header-inner) .header-inner {padding:12px 16px;grid-template-columns:1fr auto}
   body[data-reference-layout]>header .header-inner>nav {grid-row:3}
   body[data-reference-layout]>header .header-inner .user {grid-column:1/-1;grid-row:2}
   body[data-reference-layout] .reference-v3-header-inner {padding:12px 16px;grid-template-columns:1fr}
   body[data-reference-layout]>.reference-bridge-v3>.bridge-period {width:calc(100% - 32px)}
   body[data-reference-layout] .company-book-nav {width:calc(100% - 32px)}
   body[data-reference-layout] :is(.company-book-nav-inner,.industry-workspace-heading) {padding:16px}
   body.reference-admin-layout #content {padding:28px 16px 100px}
 }
}

}
@media screen {
/* v120: the approved navy/green banners and white cards, for every company.
   Screen only. No display/visibility rules, workflow ordering or data changes. */
@media screen {
 body[data-reference-layout],body.reference-admin-layout {
   --workspace-navy:linear-gradient(110deg,#1e223f,#2b315d);
   --workspace-green:linear-gradient(110deg,#173c31,#1e5343);
   --workspace-blend:linear-gradient(110deg,#1d2e50,#1d4035);
   --workspace-gold:#efba4c;--workspace-muted:#626b7c;
 }
 /* Only page headings become hero banners; table/filter/subsection headings stay compact. */
 body[data-reference-layout]:not([data-reference-layout="dashboard"]):not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1),
 body[data-reference-layout="ledger"] .ledger5-band {
   padding:28px 32px!important;margin-bottom:28px!important;background:var(--workspace-navy)!important;
   border:0!important;border-radius:20px!important;box-shadow:none!important;color:#fff!important;
 }
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) :is(h1,h2,strong),
 body[data-reference-layout="ledger"] .ledger5-band .ledger5-band-name strong {color:#fff!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) :is(p,small,.eyebrow,.prime-v2-eyebrow,.badge),
 body[data-reference-layout="ledger"] .ledger5-band :is(.ledger5-band-meta,.ledger5-band-clock,.ledger5-band-clock span) {color:#c7cce1!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) h1 {font-size:28px!important;margin:6px 0 10px!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) :is(a,button),
 body[data-reference-layout="ledger"] .ledger5-band-actions :is(a,button) {
   border:1px solid rgb(255 255 255 / 24%)!important;border-radius:99px!important;
   background:rgb(255 255 255 / 12%)!important;color:#fff!important;min-height:44px;
   padding:10px 18px!important;line-height:1.45;white-space:normal;
 }
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) p a,
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) small a {display:inline-block;min-height:0;padding:2px 8px!important;margin:3px 0}
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) a:not(.primary):not([class*="primary"]):not(.inventory-add-item):not(.prime-v2-button--blue):not(.prime-v2-button--purple) {background:rgb(255 255 255 / 12%)!important;color:#fff!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) :is(.primary,.inventory-add-item,.prime-v2-button--blue,.prime-v2-button--purple),
 body[data-reference-layout="ledger"] .ledger5-band-actions .primary {background:var(--workspace-gold)!important;color:#26362d!important;border-color:transparent!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) :is(.product-eyebrow,.wh-sub,.wh-eyebrow,.g2b-detail-eyebrow,.hint) {color:#c7cce1!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) :is(a,button) :is(strong,small) {color:inherit!important}
 /* KPI cards retain their dark text on the banner. */
 body[data-reference-layout="ledger"] .ledger5-band .ledger5-kpis :is(strong,dt,dd) {color:#1a1c22!important}
 body[data-reference-layout="ledger"] .ledger5-band .ledger5-kpis :is(small,span) {color:#626b7c!important}
 body[data-reference-layout="ledger"] .ledger5-band .ledger5-kpis {margin-top:8px}
 body[data-reference-layout="ledger"] .ledger5-band .ledger5-band-clock {margin-top:0}
 /* Company search is the green banner; results keep a readable white surface. */
 body[data-reference-layout="overview"] .prime-v2-search-panel {
   padding:28px 32px!important;border:0!important;border-radius:20px!important;
   background:var(--workspace-green)!important;color:#fff!important;margin:0 0 36px!important;
 }
 body[data-reference-layout="overview"] .prime-v2-search-panel h2 {font-size:23px!important;color:#fff!important}
 body[data-reference-layout="overview"] .prime-v2-search-panel :is(p,.prime-v2-eyebrow,.prime-v2-live-results>span) {color:#c3ded3!important}
 body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-search-box {background:transparent!important;border:0!important;padding:0;margin-top:18px;gap:12px}
 body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-search-box input {min-height:54px!important;border:1px solid #bed3cc!important;border-radius:12px!important;background:#fff!important;color:#1a1c22!important;font-size:18px!important}
 body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-search-box>a {background:var(--workspace-gold)!important;color:#26362d!important;border-radius:99px!important;min-height:48px;padding:12px 20px!important}
 body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-customer-result {background:#fff!important;color:#1a1c22!important;border:1px solid #dbe5e0!important;border-radius:12px;padding:16px!important;min-width:0}
 body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-customer-result :is(b,strong) {color:#1d5848!important}
 body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-customer-result small {color:#626b7c!important}
 /* Existing company-specific grids share one card rhythm without changing links. */
 body[data-reference-layout="overview"] :is(.prime-v2-three-grid,.metawon-v2-two-grid,.metawon-v2-operation-grid,.prime-v2-shortcut-grid,.metawon-v2-shortcut-grid,.prime-v2-my-work-grid) {gap:16px!important;align-items:stretch}
 body[data-reference-layout="overview"] :is(.prime-v2-card-grid,.metawon-v2-operation-grid,.prime-v2-my-work-grid,.prime-v2-shortcut-grid,.metawon-v2-shortcut-grid) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body[data-reference-layout="overview"] :is(.prime-v2-link-card,.prime-v2-my-work-grid>a,.prime-v2-shortcut) {background:#fff!important;color:#1a1c22!important;border:1px solid #eaeaee!important;border-radius:18px!important;padding:24px!important;min-width:0;box-shadow:0 1px 3px rgb(26 28 34 / 5%)!important}
 body[data-reference-layout="overview"] :is(.prime-v2-link-card,.prime-v2-my-work-grid>a,.prime-v2-shortcut)>:is(b,strong) {color:#232b46!important}
 body[data-reference-layout="overview"] :is(.prime-v2-link-card,.prime-v2-my-work-grid>a,.prime-v2-shortcut)>small {color:#626b7c!important;line-height:1.65}
 body[data-reference-layout="overview"] .prime-v2-shortcut--dark {background:var(--workspace-blend)!important;border:0!important}
 body[data-reference-layout="overview"] .prime-v2-shortcut--dark>:is(b,strong) {color:#fff!important}
 body[data-reference-layout="overview"] .prime-v2-shortcut--dark>small {color:#c3d4de!important}
 body[data-reference-layout="overview"] .prime-v2-section {margin-top:36px!important}
 body[data-reference-layout="overview"] .prime-v2-section-head {margin-bottom:18px!important;gap:12px;flex-wrap:wrap}
 body[data-reference-layout="overview"] .prime-v2-section-head>div {gap:10px;flex-wrap:wrap}
 body[data-reference-layout="overview"] .prime-v2-section-head p {color:#626b7c!important;line-height:1.6}
 body[data-reference-layout="overview"] .prime-v2-section-head h2 {font-size:22px!important}
 body[data-reference-layout="overview"] .prime-v2-panel>header {background:#fff!important;color:#1a1c22!important;border-bottom:1px solid #eaeaee!important}
 body[data-reference-layout="overview"] .prime-v2-panel>header h3 {font-size:19px!important;color:#1a1c22!important}
 /* Filters, forms, lists and modal tools keep the same pill/field/card design. */
 body[data-reference-layout]:not([data-reference-layout="print"]) [data-reference-region="filters"] :is(button,a.primary) {border-radius:99px!important}
 body[data-reference-layout]:not([data-reference-layout="print"]) [data-reference-region="surface"] {overflow-wrap:anywhere}
 body[data-reference-layout]:not([data-reference-layout="print"]) :is(.registration-card,.modal-card,.dialog-card) {border:1px solid #eaeaee;border-radius:18px;box-shadow:0 12px 40px rgb(30 34 63 / 12%)}
 body[data-reference-layout="conversation"] :is(.team-room-card,.team-room-feed) {background:var(--workspace-blend)!important}
 body[data-reference-layout="auth"] .auth-card h1 {color:#242a50!important}
 body.reference-admin-layout #branding h1 a {color:#242a50}
 body[data-reference-layout]:not([data-reference-layout="print"]) :is(a,button,input,select,textarea):focus-visible {outline:3px solid #8c7ce8;outline-offset:3px}
 @media(max-width:1000px) {
   body[data-reference-layout="overview"] :is(.prime-v2-card-grid,.metawon-v2-operation-grid,.prime-v2-my-work-grid,.prime-v2-shortcut-grid,.metawon-v2-shortcut-grid) {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 }
 @media(max-width:760px) {
   body[data-reference-layout]:not([data-reference-layout="dashboard"]):not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1),
   body[data-reference-layout="ledger"] .ledger5-band,body[data-reference-layout="overview"] .prime-v2-search-panel {padding:24px 20px!important}
   body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1) h1 {font-size:25px!important;overflow-wrap:anywhere}
   body[data-reference-layout]:not([data-reference-layout="print"]) main [data-reference-region="heading"]:has(h1)>:is(div,form,nav) {max-width:100%;min-width:0}
   body[data-reference-layout="overview"] :is(.prime-v2-card-grid,.metawon-v2-operation-grid,.prime-v2-my-work-grid,.prime-v2-shortcut-grid,.metawon-v2-shortcut-grid,.metawon-v2-two-grid,.prime-v2-three-grid) {grid-template-columns:1fr!important}
   body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-search-box {display:flex;flex-direction:column;align-items:stretch}
   body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-search-box input {width:100%;min-width:0}
   body[data-reference-layout="overview"] .prime-v2-search-panel .prime-v2-search-box>a {width:100%;text-align:center}
   body[data-reference-layout="overview"] :is(.prime-v2-link-card,.prime-v2-my-work-grid>a,.prime-v2-shortcut) {padding:22px!important}
 }
}

}
@media screen {
/* v123: a shared reading hierarchy, not uniform bold text or page zoom.
   Important declarations in this named layer outrank legacy unlayered inline
   screen rules. Paper previews and physical A4 output retain their geometry. */
@layer erp-reading-hierarchy {
 @media screen {
  body.erp-unified-design:not([data-reference-layout="print"]) {
   --reading-body:18px;--reading-detail:16px;--reading-heading:30px;
   font-size:var(--reading-body)!important;font-weight:500!important;line-height:1.6!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(*) {font-weight:inherit!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-dashboard-root,.prime-v2-app,.ledger5,.isolate-shell,.reference-book-page,#content) {
   font-size:var(--reading-body)!important;line-height:1.6!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(p,li,td,th,label,input,select,textarea,button,summary,dt,dd,a) {
   font-size:max(var(--reading-body),1em)!important;line-height:1.55!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(span,b,strong) {font-size:max(var(--reading-detail),1em)!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(small,.helptext,.hint,.muted,.eyebrow,[class$="-eyebrow"],.build-tag,.ledger5-band-meta,.ledger5-toolbar-note,.box-equivalent,.previous-price,.reference-dashboard-meta,.reference-resource-note) {
   font-size:var(--reading-detail)!important;font-weight:500!important;line-height:1.6!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(h1) {font-size:var(--reading-heading)!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(h2) {font-size:25px!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(h3,h4,h5,h6) {font-size:21px!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(h1,h2,h3,h4,h5,h6) {
   font-weight:800!important;line-height:1.35!important;letter-spacing:-.025em!important;overflow-wrap:anywhere;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(b,strong,th,label,dt,summary) {font-weight:700!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(button,[role="button"],nav a,.primary,.primary-btn,.prime-v2-button,.ledger5-btn,.reference-banner-action) {
   font-weight:700!important;min-height:44px;white-space:normal;overflow-wrap:anywhere;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.primary,.primary-btn,.ledger5-btn.primary,.reference-banner-action,.reference-dashboard-alert) {
   font-weight:800!important;box-shadow:0 2px 5px rgb(24 35 62 / 15%);
  }
  /* Values are a separate level above their labels; do not flatten them to body text. */
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-summary-grid strong,.reference-month-total>strong,.current-company-numbers strong,.kpi strong,.kpis strong,.kpis dd,.product-kpis strong,.inventory-kpi-strip strong,.ledger5-kpis dd,.balance-cards strong,.rep-kpi strong) {
   font-size:30px!important;font-weight:800!important;line-height:1.3!important;font-variant-numeric:tabular-nums;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-dashboard-brand strong,.prime-v2-brand strong,.ledger5-band-name strong,.reference-resource-heading h2) {font-size:22px!important;font-weight:800!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-dashboard-root,.prime-v2-app) :where(.reference-section-head p,.reference-dashboard-company-links>span,.reference-dashboard-date,.reference-dashboard-brand>span,.reference-resource-note,.prime-v2-section-head p) {color:#525b6d!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-finance-banner,.reference-independent-banner,.reference-directory-banner) p {color:#d6deed!important}
  /* Keep input and long labels usable at the new sizes. */
  body.erp-unified-design:not([data-reference-layout="print"]) :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea) {
   font-weight:600!important;min-height:48px;padding-block:10px;box-sizing:border-box;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(input,textarea)::placeholder {font-weight:500!important;opacity:1}
  body.erp-unified-design:not([data-reference-layout="print"]) .ledger5-entry-table td input:not([type="hidden"]) {height:50px!important;min-height:50px!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-dashboard-account,.reference-dashboard-brand,.reference-resource-heading,.reference-section-head,.prime-v2-panel>header) {flex-wrap:wrap;gap:10px}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-dashboard-logout button,.reference-dashboard-alert,.reference-dashboard-company-links a) {padding:10px 16px!important}
  body.erp-unified-design:not([data-reference-layout="print"]) .reference-dashboard-account .login-identity :where(span,b,strong,small) {font-size:var(--reading-detail)!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-card-heading,.reference-resource-heading)>a {white-space:normal}
  @media(max-width:760px) {
   body.erp-unified-design:not([data-reference-layout="print"]) {--reading-heading:27px}
   body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-operations,.reference-summary-grid,.reference-bottom-grid) {grid-template-columns:1fr!important}
  }
 }
}

}
@media screen {
/* v124: space for the v123 type scale, real action affordances, not page zoom.
   Named-layer priorities override historical fixed screen frames only.
   No data, permissions, control visibility or A4 paper geometry changes. */
@layer erp-spacious-workspace {
 @media screen {
  body.erp-unified-design:not([data-reference-layout="print"]) {
   --workspace-width:1680px;--workspace-gutter:clamp(16px,2.5vw,40px);
   --workspace-card-gap:24px;--workspace-card-line:#dce2ec;
   --workspace-card-shadow:0 3px 6px rgb(24 39 64 / 4%),0 10px 28px rgb(24 39 64 / 6%);
   --workspace-action-shadow:0 2px 4px rgb(24 39 64 / 8%),0 5px 12px rgb(24 39 64 / 8%);
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-dashboard-content,.reference-dashboard-topbar-inner,.reference-dashboard-company-links,.reference-app-header-inner,.reference-v3-header-inner),
  body.erp-unified-design:not([data-reference-layout="dashboard"]):not([data-reference-layout="print"])>main,
  body.erp-unified-design:not([data-reference-layout="print"])>.reference-bridge-v3>:is(main,.isolate-shell),
  body.erp-unified-design.reference-admin-layout #content {
   width:100%!important;max-width:var(--workspace-width)!important;margin-inline:auto!important;
   padding-inline:var(--workspace-gutter)!important;box-sizing:border-box;min-width:0;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-work-menu,.workspace-tabs),
  body.erp-unified-design:not([data-reference-layout="print"])>.reference-bridge-v3>.bridge-period,
  body.erp-unified-design:not([data-reference-layout="print"])>.company-book-nav {
   width:calc(100% - 2 * var(--workspace-gutter))!important;
   max-width:calc(var(--workspace-width) - 2 * var(--workspace-gutter))!important;margin-inline:auto!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"])>header .header-inner {
   max-width:var(--workspace-width)!important;padding-inline:var(--workspace-gutter)!important;
  }
  body.erp-unified-design.reference-admin-layout #header {
   padding-inline:max(var(--workspace-gutter),calc((100vw - var(--workspace-width))/2 + var(--workspace-gutter)))!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"],.prime-v2-card-grid,.metawon-v2-operation-grid,.prime-v2-my-work-grid,.prime-v2-shortcut-grid,.metawon-v2-shortcut-grid) {
   grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))!important;
   gap:var(--workspace-card-gap)!important;align-items:stretch;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="summary"],.book-kpis,.customer-book-kpis,.product-book-kpis,.ledger-summary) {
   grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))!important;gap:20px!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"], [data-reference-region="summary"])>:is(article,div,a),
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="surface"],.reference-card,.prime-v2-panel,.prime-v2-link-card,.prime-v2-shortcut,.prime-v2-my-work-grid>a,.company-profile-panel,.book-panel,.customer-year-panel,.product-year-panel,.transaction-entry-card,.payment-entry-card) {
   border:1px solid var(--workspace-card-line)!important;border-radius:20px!important;
   box-shadow:var(--workspace-card-shadow)!important;min-width:0;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"], [data-reference-region="summary"])>:is(article,div,a),
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.prime-v2-link-card,.prime-v2-shortcut,.prime-v2-my-work-grid>a) {
   padding:24px!important;height:auto!important;
  }
  /* Only actual anchors/buttons get the interactive treatment. A containing
     article with several independent destinations stays an information card. */
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"],[data-reference-region="summary"],.prime-v2-my-work-grid)>a[href],
  body.erp-unified-design:not([data-reference-layout="print"]) :where(a.prime-v2-link-card[href],a.prime-v2-shortcut[href],a.reference-card[href]) {
   cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease;
   border-color:#c7d2e8!important;box-shadow:var(--workspace-action-shadow)!important;text-decoration:none;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-section-head,.prime-v2-section-head)>a[href],
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.prime-v2-panel,.reference-resource-card)>header>a[href],
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.reference-link-list,.reference-resource-footer)>a[href] {
   display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;
   padding:10px 16px!important;border:1px solid #ccd6ed!important;border-radius:12px!important;
   background:#f3f6ff!important;color:#304caf!important;box-shadow:var(--workspace-action-shadow)!important;
   text-decoration:none;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(button:not(:disabled),a.primary[href],a.prime-v2-button[href],a.ledger5-btn[href],a.reference-banner-action[href]) {
   box-shadow:var(--workspace-action-shadow);cursor:pointer;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(a[href],button:not(:disabled),summary):focus-visible {
   outline:3px solid #4263d9!important;outline-offset:4px!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"],[data-reference-region="summary"],.prime-v2-my-work-grid)>a[href]:hover,
  body.erp-unified-design:not([data-reference-layout="print"]) :where(a.prime-v2-link-card[href],a.prime-v2-shortcut[href],a.reference-card[href]):hover {
   border-color:#7590cf!important;box-shadow:0 5px 10px rgb(24 39 64 / 8%),0 14px 32px rgb(24 39 64 / 12%)!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="heading"],.prime-v2-panel>header,.reference-section-head,.prime-v2-section-head) {
   height:auto!important;min-height:min-content;align-items:flex-start;gap:20px;flex-wrap:wrap;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"],[data-reference-region="summary"],.prime-v2-panel,.reference-card) :where(h2,h3,h4,p,dt,dd) {
   word-break:keep-all;overflow-wrap:anywhere;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.prime-v2-kpi strong,.prime-v2-kpi>div,.book-kpis strong,.customer-book-kpis strong,.product-book-kpis strong) {font-variant-numeric:tabular-nums;white-space:normal}
  /* Company work panels need space for large Korean names, not ellipses. */
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.prime-v2-dispatch-row a,.prime-v2-dispatch-row small,.prime-v2-inbound-row b,.prime-v2-inbound-row small,.prime-v2-customer-result b,.prime-v2-customer-result small) {
   white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:keep-all;overflow-wrap:anywhere;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.prime-v2-site-stats,.prime-v2-employee-facts) {
   grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr))!important;gap:12px!important;
  }
  /* Twelve-month plots scroll locally when needed; captions are never forced
     into the old 20px rows. Canvas signature pads and pictograms stay untouched. */
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.inventory-chart-grid,.stock-compare-grid,.product-two-column) {
   grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr))!important;gap:24px!important;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.monthly-flow-card,.stock-mix-card,.product-chart-scroll) {min-width:0;max-width:100%}
  body.erp-unified-design:not([data-reference-layout="print"]) .monthly-flow-chart {
   grid-template-columns:repeat(12,minmax(56px,1fr))!important;height:auto!important;min-width:0!important;
   width:100%;overflow-x:auto;overscroll-behavior-x:contain;gap:10px!important;padding-bottom:12px;
  }
  body.erp-unified-design:not([data-reference-layout="print"]) .flow-month {grid-template-rows:175px auto!important;gap:10px}
  body.erp-unified-design:not([data-reference-layout="print"]) .flow-month>b {white-space:nowrap;line-height:1.6}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.flow-legend,.product-legend) {flex-wrap:wrap;gap:12px 20px;margin-block:16px}
  body.erp-unified-design:not([data-reference-layout="print"]) .product-month-chart {grid-template-columns:repeat(12,minmax(92px,1fr))!important;gap:12px}
  body.erp-unified-design:not([data-reference-layout="print"]) .product-month {grid-template-rows:auto 124px auto auto!important;gap:10px;align-content:start}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.product-month-value,.product-month>b,.product-month>small) {white-space:nowrap;line-height:1.6}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.stock-mix-bars a,.compare-bars>span) {grid-template-columns:minmax(0,1fr) max-content!important;gap:10px 16px!important}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.stock-mix-bars a>span,.compare-bars>span>i) {grid-area:1/1}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.stock-mix-bars a>strong,.compare-bars>span>strong) {grid-area:1/2;white-space:nowrap;font-variant-numeric:tabular-nums}
  body.erp-unified-design:not([data-reference-layout="print"]) :where(.stock-mix-bars a>i,.compare-bars>span>em) {grid-area:2/1/3/-1;height:10px!important}
  @media(max-width:760px) {
   body.erp-unified-design:not([data-reference-layout="print"]) {--workspace-card-gap:18px}
   body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"],[data-reference-region="summary"],.prime-v2-card-grid,.metawon-v2-operation-grid,.prime-v2-my-work-grid,.prime-v2-shortcut-grid,.metawon-v2-shortcut-grid,.book-kpis,.customer-book-kpis,.product-book-kpis,.ledger-summary) {grid-template-columns:1fr!important}
   body.erp-unified-design:not([data-reference-layout="print"]) :where([data-reference-region="cards"],[data-reference-region="summary"])>:is(article,div,a) {padding:20px!important}
  }
  @media(prefers-reduced-motion:reduce) {
   body.erp-unified-design:not([data-reference-layout="print"]) :where(a,button) {transition:none!important}
  }
 }
}

}
@media screen {
/* Selected core shortcuts only; keep each company and role's existing scope. */
@media screen and (max-width:1024px){
 body.erp-unified-design:not(:has(.employee-bottom-nav,.wh-worker-mobile-nav,.route-fixed-bottom,.reference-layout-v117,.prime-dashboard-shell))>.mobile-nav{display:grid!important}
 body.erp-unified-design>.mobile-nav{position:fixed;top:auto;bottom:0;left:0;right:0;transform:none;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:minmax(52px,auto);align-items:stretch;gap:0;height:auto!important;max-height:45vh;overflow-y:auto;overflow-x:hidden;padding:3px 4px calc(3px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #cbd5e1}
 body.erp-unified-design>.mobile-nav>:is(a,button){display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;width:auto;min-height:52px;height:auto!important;margin:0;padding:3px 2px!important;gap:3px;background:#fff!important;color:#243c59!important;border:0!important;border-radius:8px;box-shadow:none!important;white-space:normal;overflow:visible;text-decoration:none}
 body.erp-unified-design>.mobile-nav>:is(a,button)>span{font-size:13px!important;font-weight:700;line-height:1.25;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:keep-all;overflow-wrap:anywhere;text-align:center;width:auto}
 body.erp-unified-design>.mobile-nav :is(.pictogram,.mobile-ongyeol-mark svg){display:block;width:24px;height:24px;margin:0}
 body.erp-unified-design>.mobile-nav .mobile-ongyeol-mark{display:grid;place-items:center;background:#f5c518;border-radius:7px;padding:3px;color:#142d45;width:30px!important;flex:0 0 auto}
 body.erp-unified-design>.mobile-nav .mobile-back-icon{font-size:26px!important;line-height:24px}
 body.erp-unified-design>.mobile-nav>:is(a,button):focus-visible{outline:3px solid #405ad8;outline-offset:-3px}
 body.erp-unified-design:has(>.mobile-nav){--erp-bottom:var(--erp-nav-space,calc(70px + env(safe-area-inset-bottom,0px)));padding-bottom:var(--erp-bottom)}
 @supports(height:100dvh){body.erp-unified-design>.mobile-nav{max-height:45dvh}}
 /* Avoid the native fixed-position inset retained by Kakao's iOS toolbar. */
 body.erp-unified-design>.mobile-nav.erp-inapp-bottom{position:absolute;top:var(--erp-nav-document-top);bottom:auto;transform:none}
 body.erp-unified-design>.mobile-nav.erp-inapp-bottom:not(.erp-inapp-input){visibility:visible}
 body.erp-unified-design>.mobile-nav.erp-inapp-input{visibility:hidden;pointer-events:none}
}
@media screen and (max-width:760px){
 body.erp-unified-design>.mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.erp-unified-design:has(>.mobile-nav){--erp-bottom:var(--erp-nav-space,calc(122px + env(safe-area-inset-bottom,0px)));padding-bottom:var(--erp-bottom)}
}

}
@media screen {
/* Company identity is independent of document permissions and workspace tabs. */
@media screen {
body[data-company-code="TP"]{--company-ink:#303e98;--company-tint:#eef0ff;--company-border:#b4bde8}
body[data-company-code="PZ"]{--company-ink:#176341;--company-tint:#e8f5ed;--company-border:#9fcfb4}
body[data-company-code="NW"]{--company-ink:#844608;--company-tint:#fff3df;--company-border:#e5c28d}
body[data-company-code="TPSEOUL"]{--company-ink:#66369b;--company-tint:#f3ebfc;--company-border:#ccb1e6}
body[data-company-code="META"]{--company-ink:#963653;--company-tint:#fcecf1;--company-border:#e4b4c2}
.erp-unified-design .global-persistent-header{border-top:5px solid var(--company-ink,#303e98)}
.erp-unified-design .reference-app-company-row{background:var(--company-tint,#f4f6fa)}
.top-company-switch[data-company-display="current"]>a:not(.active){display:none!important}
.company-display-toggle{flex:0 0 auto;font:inherit;font-size:13px;font-weight:700;min-height:36px;padding:5px 12px;border:1px solid var(--company-border,#ccd4df);border-radius:8px;background:#fff;color:var(--company-ink,#303e98);cursor:pointer}
.company-display-toggle:focus-visible,.company-entry-search :focus-visible{outline:3px solid #1671cf;outline-offset:3px}
.erp-unified-design .company-entry-header{margin:0 0 24px;padding:20px 24px;background:var(--company-tint,#eef0ff);border:1px solid var(--company-border,#b4bde8);border-left:8px solid var(--company-ink,#303e98);border-radius:14px;color:var(--company-ink,#303e98)}
.company-entry-identity{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.company-entry-identity h1{margin:3px 0;font-size:26px;color:inherit}.company-entry-identity small{font-size:14px}.company-entry-identity time{font-size:14px}
.company-entry-searches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.erp-unified-design #company-entry-header form.company-entry-search{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0;padding:14px;background:#fff;border:1px solid var(--company-border,#b4bde8);border-radius:10px}
.erp-unified-design #company-entry-header .company-entry-search label{display:block;margin:0;font-size:19px;font-weight:800;color:var(--company-ink,#303e98)!important}
.company-entry-search-controls{display:flex;align-items:stretch;gap:8px;min-width:0}
.erp-unified-design #company-entry-header .company-entry-search input[type="search"]{flex:1 1 0;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 12px;font-size:16px;background:#fff;color:#17243b;border:1px solid var(--company-border,#b4bde8);border-radius:7px}
.erp-unified-design #company-entry-header .company-entry-search button{flex:0 0 auto;min-height:44px;margin:0;padding:8px 16px;font-size:16px;font-weight:700;background:var(--company-ink,#303e98)!important;color:#fff!important;border:0;border-radius:7px;cursor:pointer}
.erp-unified-design #company-entry-header .company-entry-search a{align-self:flex-start;padding:4px 0!important;font-size:14px;color:var(--company-ink,#303e98)!important;background:transparent!important;text-decoration:underline}
.erp-unified-design form.inventory-valuation-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:end}
.inventory-valuation-filters label{display:flex;flex-direction:column;gap:8px;min-width:0}
.inventory-valuation-filters :is(input:not([type="checkbox"]),select){width:100%;min-width:0}
.inventory-valuation-filters label:has([type="checkbox"]){flex-direction:row;align-items:center;min-height:44px}
@media(max-width:760px){.erp-unified-design form.inventory-valuation-filters{grid-template-columns:minmax(0,1fr)}}
/* Override the shared heading reset only for this company identity panel. */
.erp-unified-design #company-entry-header{background:var(--company-tint,#eef0ff)!important;border:1px solid var(--company-border,#b4bde8)!important;border-left:8px solid var(--company-ink,#303e98)!important;border-radius:14px!important;padding:20px 24px!important;color:var(--company-ink,#303e98)!important}
.erp-unified-design #company-entry-header :is(h1,small,time){color:var(--company-ink,#303e98)!important}
.erp-unified-design #company-entry-header>p a{color:var(--company-ink,#303e98)!important;background:transparent!important}
@media(max-width:700px){.erp-unified-design #company-entry-header{padding:14px!important}.company-entry-searches{grid-template-columns:minmax(0,1fr);gap:10px}.company-entry-identity time{display:none}.company-display-toggle{font-size:12px;min-height:40px}}
}
@media print{.company-display-toggle{display:none!important}}

}