/* V90 workspace: shared visual rules for staff screens. Print and POS keep their own layouts. */
.erp-skip{position:absolute;left:-9999px;top:8px;z-index:250;background:#fff;color:#12253a;padding:10px 16px;border-radius:8px}
.erp-skip:focus{left:12px}.erp-menu-close{display:none}.erp-header-account{display:flex;gap:10px;align-items:center;margin-left:auto}
.erp-page-context{display:grid;gap:3px;min-width:0}.erp-page-context strong{font-size:16px;font-weight:650;line-height:1.2}.erp-page-context span{font-size:11px;color:#697885}
@media screen {
body.erp-shell{--erp-ink:#202c35;--erp-sub:#66757f;--erp-border:#e4e8eb;--erp-canvas:#f6f7f9;--erp-accent:var(--brand-primary,#176c48);--line:var(--erp-border);--text:var(--erp-ink);--muted:var(--erp-sub);background:var(--erp-canvas);color:var(--erp-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}
.erp-shell .sidebar{width:244px!important;left:0!important;top:0;bottom:0;transform:none;z-index:90;background:#fff!important;color:#45515b;border-right:1px solid var(--erp-border);box-shadow:none;display:flex!important;flex-direction:column;overflow:hidden!important;pointer-events:auto;transition:transform .18s ease}
.erp-shell .brand{padding:23px 19px!important;border-bottom:1px solid var(--erp-border);flex:0 0 auto}
.erp-shell .brand-row{gap:10px!important;align-items:center}
.erp-shell .brand-logo{width:38px!important;height:38px!important;flex:none;padding:0!important;object-fit:contain;border-radius:9px!important;box-shadow:none}
.erp-shell .brand h2{font-size:16px!important;font-weight:730;line-height:1.25!important;margin:0 0 4px!important;letter-spacing:-.03em;color:#22372d;overflow-wrap:anywhere}
.erp-shell .brand p{font-size:11px!important;line-height:1.3!important;color:#7a8580;margin:0}
.erp-shell .nav{padding:16px 12px!important;overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#d1d8d3 transparent}
.erp-shell .nav .nav-link{display:flex;align-items:center;gap:10px!important;min-height:42px;font-size:13px!important;font-weight:540!important;line-height:1.35;margin:3px 0!important;padding:10px 12px!important;border-radius:8px!important;color:#52605a!important;background:transparent;box-shadow:none}
.erp-shell .nav .nav-link:before{display:none!important}
.erp-shell .nav .nav-link:hover{background:#f3f6f3;color:#183f2b!important}
.erp-shell .nav .nav-link.active{background:#e9f3ed!important;color:#164e32!important;font-weight:720!important;box-shadow:none}
.erp-shell .nav-icon,.erp-shell .nav-group-icon{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;background:transparent!important;color:inherit!important;border-radius:0}
.erp-shell .nav svg{width:19px;height:19px;flex:none}
.erp-shell .nav-group{border:0;background:none!important;border-radius:8px;margin:5px 0}
.erp-shell .nav-group>summary{display:grid;grid-template-columns:20px 1fr 14px;align-items:center;gap:10px;min-height:43px;padding:10px 12px;color:#52605a;font-size:13px;font-weight:580;line-height:1.35;border-radius:8px;cursor:pointer}
.erp-shell .nav-group>summary:hover{background:#f3f6f3}.erp-shell .nav-group>summary b{font-size:13px;color:#99a39e}
.erp-shell .nav-group-links{padding:0 0 3px 17px;border-left:1px solid #e4eae6;margin-left:20px}
.erp-shell .nav-group-links .nav-link{min-height:37px;font-size:12px!important;padding:8px 10px!important;gap:8px!important}
.erp-shell .nav-group-links .nav-icon{display:none}
.erp-shell .nav-account-links{margin-top:20px;padding-top:12px;border-top:1px solid var(--erp-border)}
.erp-shell .credit{color:#8a9690;border-color:#e4e8eb;font-size:10px!important;padding:12px 20px!important}
.erp-shell:not(.pos-invoice-mode) .main{margin-left:244px!important;width:calc(100% - 244px)!important;min-width:0;min-height:100vh;padding-bottom:0}
.erp-shell .topbar{display:flex;align-items:center;gap:24px;position:sticky;top:0;z-index:35;height:76px!important;min-height:76px;padding:12px 30px!important;background:#fff;box-shadow:none;border-bottom:1px solid var(--erp-border);flex-wrap:nowrap}
.erp-shell .menuBtn{display:none!important}.erp-shell.pos-invoice-mode .menuBtn{display:grid!important;place-items:center;width:44px;height:44px;flex:none}.erp-shell .mobile-brand{display:none}
.erp-shell .erp-page-context{flex:0 1 240px;overflow:hidden}.erp-shell .erp-page-context strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:680}.erp-shell .erp-page-context span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#77847c}
.erp-shell .top-search{min-width:150px;flex:1;max-width:490px;order:0}
.erp-search-label{display:flex;align-items:center;gap:8px;padding:0 11px;background:#f6f8f7;border:1px solid #e5eae7;border-radius:9px;color:#859087;min-width:0}
.erp-search-label svg{width:17px;flex:none}.erp-shell .top-search input{border:0;box-shadow:none;background:transparent;min-height:39px;height:39px;padding:8px 0;min-width:0;font-size:12px;color:#33483c;max-width:none}
.erp-search-label:focus-within{outline:2px solid #9dbba9;outline-offset:1px}.erp-search-label kbd{white-space:nowrap;font-family:inherit;font-size:9px;border:1px solid #dfe6e0;padding:2px 4px;border-radius:4px}
.erp-shell .admin-notify-btn{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;background:#fff;border:1px solid #e6ebe7;border-radius:10px;box-shadow:none;color:#68776e;position:relative}
.erp-shell .admin-notify-btn em{top:-4px;right:-4px;font-size:9px;min-width:15px;height:15px}
.erp-shell .accountBtn{display:flex;align-items:center;gap:9px;padding:3px;background:none;border:0;border-radius:9px;min-width:0}
.erp-shell .accountBtn span{display:block;font-size:12px;line-height:1.4;font-weight:680;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.erp-shell .accountBtn small{display:block;color:#8a958e;font-size:10px;font-weight:450}
.erp-shell .accountBtn b{display:grid;place-items:center;flex:none;width:36px;height:36px;min-width:36px;border-radius:10px;box-shadow:none;background:#eaf2ed;color:#286247;font-size:12px}
.erp-shell:not(.pos-invoice-mode) .content{width:100%;max-width:1510px;margin:auto;padding:28px 30px 50px!important;min-width:0}
.erp-shell:not(.pos-invoice-mode) .page-section-head{align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:22px}
.erp-shell:not(.pos-invoice-mode) .page-title{font-size:clamp(24px,2.1vw,31px)!important;line-height:1.2;margin:0 0 6px;font-weight:720;letter-spacing:-.035em}
.erp-shell:not(.pos-invoice-mode) .subtitle{font-size:13px;line-height:1.55;color:#68776f;max-width:74ch;margin:0}
.erp-shell:not(.pos-invoice-mode) .card,.erp-shell:not(.pos-invoice-mode) .report-hero,.erp-shell:not(.pos-invoice-mode) .table-wrap{border:1px solid var(--erp-border);box-shadow:0 2px 4px #142d2110;border-radius:12px;background:#fff}
.erp-shell:not(.pos-invoice-mode) .card{padding:22px!important;min-width:0}.erp-shell:not(.pos-invoice-mode) .card h2{font-size:16px;line-height:1.3;font-weight:670;letter-spacing:-.015em;margin:0 0 18px}
.erp-shell:not(.pos-invoice-mode) .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:41px;padding:10px 15px;border-radius:8px;font-size:12px;font-weight:650;line-height:1.25;white-space:normal;box-shadow:none;transform:none;cursor:pointer}
.erp-shell:not(.pos-invoice-mode) .btn-primary{background:var(--erp-accent)!important;color:#fff}
.erp-shell:not(.pos-invoice-mode) .btn-light{background:#fff;color:#44534b;border:1px solid #dce4de}
.erp-shell:not(.pos-invoice-mode) .btn-warn{background:#fff7e4;color:#925a0d;border:1px solid #f4e5bf}
.erp-shell:not(.pos-invoice-mode) .btn-danger{background:#fff0ee;color:#af4236;border:1px solid #f8d6d1}
.erp-shell:not(.pos-invoice-mode) .btn:disabled{opacity:.5;cursor:not-allowed}.erp-shell:not(.pos-invoice-mode) .btn:hover{transform:none;filter:brightness(.98)}
.erp-shell:not(.pos-invoice-mode) .input,.erp-shell:not(.pos-invoice-mode) select,.erp-shell:not(.pos-invoice-mode) textarea{min-height:43px;padding:10px 12px;border:1px solid #dce4de;border-radius:8px;box-shadow:none;background:#fff;font-size:13px;max-width:100%;min-width:0}
.erp-shell:not(.pos-invoice-mode) .form-grid{gap:16px}.erp-shell:not(.pos-invoice-mode) .form-grid label{font-size:12px;color:#546057;font-weight:600}
.erp-shell:not(.pos-invoice-mode) .form-grid label span{margin-bottom:7px}.erp-shell input[type=checkbox]{accent-color:var(--erp-accent)}
.erp-shell:not(.pos-invoice-mode) .badge{font-size:10px;font-weight:650;padding:4px 8px;line-height:1.5;border-radius:6px}.erp-shell:not(.pos-invoice-mode) .qty-pill{padding:5px 9px;font-size:12px;border-radius:7px;background:#eaf4ed;color:#2b6343;font-weight:650}
.erp-shell:not(.pos-invoice-mode) .table-wrap{overflow:auto;max-width:100%;overscroll-behavior-inline:contain}
.erp-shell:not(.pos-invoice-mode) .table-wrap th{font-size:10px;font-weight:680;letter-spacing:.045em;background:#f8faf9;color:#78847c;padding:13px 14px;border-bottom:1px solid #e4eae6}
.erp-shell:not(.pos-invoice-mode) .table-wrap td{font-size:13px;line-height:1.6;color:#45534a;padding:14px;border-bottom:1px solid #edf1ee}
.erp-shell:not(.pos-invoice-mode) .table-wrap tbody tr:last-child td{border-bottom:0}.erp-shell:not(.pos-invoice-mode) .table-wrap td b{font-weight:640;color:#293d31}.erp-shell:not(.pos-invoice-mode) .table-wrap tr:hover td{background:#fcfdfc}
.erp-shell:not(.pos-invoice-mode) .grid{gap:18px}.erp-shell:not(.pos-invoice-mode) .report-strip{gap:12px}.erp-shell:not(.pos-invoice-mode) .report-chip{padding:18px;border-radius:12px;box-shadow:none;border-color:var(--erp-border)}
.erp-shell:not(.pos-invoice-mode) .report-chip span{font-size:10px;font-weight:650;color:#7c877f}.erp-shell:not(.pos-invoice-mode) .report-chip b{font-weight:720;font-size:24px;line-height:1.3;overflow-wrap:anywhere}
.erp-shell .erp-overview-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.erp-overview-head h1{margin:3px 0 6px;font-size:29px;letter-spacing:-.035em;font-weight:730}.erp-overview-head p,.erp-overview-head small{margin:0;color:#7e8a81;font-size:12px}.erp-overview-head small{font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.erp-shell .erp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
.erp-shell .erp-metric{background:#fff;border:1px solid var(--erp-border);border-radius:12px;padding:20px;display:grid;gap:9px;min-width:0;box-shadow:0 2px 4px #142d2107}
.erp-shell .erp-metric>span{color:#77867c;font-size:11px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:10px}.erp-metric>span svg{color:#9db3a6;width:18px;height:18px}
.erp-shell .erp-metric>strong{font-size:clamp(21px,2.1vw,29px);letter-spacing:-.035em;font-weight:720;color:#253e2e;line-height:1.25;overflow-wrap:anywhere}.erp-shell .erp-metric>small{font-size:11px;color:#6f7d73}
.erp-shell .erp-quick-actions{display:flex;gap:8px;flex-wrap:wrap}.erp-shell .erp-quick-actions .btn svg{width:16px;height:16px}
.erp-more-metrics{margin:0 0 22px}.erp-more-metrics>summary{color:#5f7164;font-size:12px;font-weight:600;cursor:pointer;min-height:30px}.erp-more-metrics .erp-kpis{margin:10px 0 0}.erp-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.erp-panel-head h2{margin:0!important}.erp-panel-head a{font-size:11px;font-weight:650;color:#38784e}
.erp-shell .erp-dashboard-panels{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px}.erp-shell .erp-dashboard-panels .table-wrap{border:0;box-shadow:none}
.erp-shell .director-head{margin:0 0 25px}.erp-shell .director-head h1{font-size:29px;font-weight:720;letter-spacing:-.035em}.erp-shell .director-kpis{gap:14px}.erp-shell .director-kpis article{border-radius:12px;box-shadow:none;border-color:var(--erp-border)}.erp-shell .director-links a{font-size:13px;border-radius:9px;min-height:48px}.erp-shell .director-invoice{border:0;border-bottom:1px solid #edf1ee;border-radius:0;padding:14px 0;font-size:12px}
.erp-shell .mobile78-head{margin-bottom:20px}.erp-shell .mobile78-head h1{font-size:26px;font-weight:720;letter-spacing:-.035em}.erp-shell .mobile78-actions{gap:9px}.erp-shell .mobile78-actions a{font-size:12px;min-height:46px;border-radius:9px;box-shadow:none}.erp-shell .mobile78-kpis article{border-radius:12px;box-shadow:none}.erp-shell .mobile78-kpis strong{font-weight:720}.erp-shell .mobile78-row{padding:14px 0}
.erp-shell .log83-list article{border-color:var(--erp-border);border-radius:12px;padding:18px;gap:11px;box-shadow:none}.erp-shell .log83-row-top label b{font-size:12px}.erp-shell .log83-status{font-size:10px;background:#eef4ef;color:#487253;padding:4px 7px;border-radius:6px}.erp-shell .log83-list article>strong{font-size:14px;font-weight:680}.erp-shell .log83-row-bottom{padding-top:12px;border-top:1px solid #edf1ee}.erp-shell .log83-list small{font-size:11px;line-height:1.6}.erp-shell .log83-filter{flex-wrap:wrap;gap:10px}.erp-shell .log83-filter label{font-weight:600;font-size:11px}.erp-sheet-builder>summary{font-size:14px;font-weight:650;cursor:pointer;min-height:24px}.erp-sheet-builder[open]>summary{margin-bottom:12px}.erp-sheet-hint{font-size:11px;color:#7e8c81}.erp-sheet-builder .btn{margin-top:8px}.erp-count{font-size:11px;font-weight:600;color:#78897d}
.erp-search-form>label{display:block;font-size:12px;font-weight:600;color:#63786a;margin-bottom:9px}.erp-search-form>div{display:flex;gap:10px}.erp-search-results{margin-top:20px}.erp-result{display:grid;gap:5px;padding:15px 0;border-bottom:1px solid #edf1ee;font-size:13px}.erp-result strong{font-weight:650}.erp-result>span{font-size:11px;color:#79877f}
.erp-shell .bottom-nav{display:none}.erp-shell.pos-invoice-mode .bottom-nav{display:none!important}.erp-shell .mobile-shade{display:none!important;pointer-events:none}.erp-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #5c93c3;outline-offset:2px}
.erp-shell.pos-invoice-mode .sidebar{transform:translateX(-101%)}.erp-shell.pos-invoice-mode.menu-open .sidebar{transform:translateX(0)}.erp-shell.pos-invoice-mode .erp-menu-close{display:grid}.erp-shell.pos-invoice-mode.menu-open .mobile-shade{display:block!important;pointer-events:auto}
.erp-menu-close{position:absolute;top:5px;right:5px;place-items:center;width:40px;height:40px;border:0;border-radius:8px;background:#f2f5f3;color:#637568;cursor:pointer;z-index:2}
.erp-shell .mobile-shade{position:fixed;inset:0;z-index:80;background:#192d2690;backdrop-filter:blur(2px)}
}
@media screen and (min-width:1101px){.erp-shell:not(.pos-invoice-mode) .sidebar{transform:none!important}.erp-shell:not(.pos-invoice-mode) .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-shell:not(.pos-invoice-mode) .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media screen and (max-width:1280px){.erp-shell .erp-dashboard-panels{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-shell .erp-dashboard-panels>section:last-child{grid-column:1/-1}.erp-shell .topbar{gap:16px}.erp-search-label kbd{display:none}.erp-shell .accountBtn span{display:none}}
@media screen and (max-width:1100px){
.erp-shell .sidebar{width:min(86vw,292px)!important;transform:translateX(-101%)}.erp-shell.menu-open .sidebar{transform:translateX(0)}.erp-shell.menu-open .mobile-shade{display:block!important;pointer-events:auto}.erp-shell.menu-open{overflow:hidden}.erp-shell .erp-menu-close{display:grid}
.erp-shell:not(.pos-invoice-mode) .main{margin-left:0!important;width:100%!important}.erp-shell .menuBtn{display:grid!important;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #e3e9e5;background:#fff;color:#50685a;border-radius:9px}
.erp-shell .erp-page-context{flex:0 1 230px}.erp-shell .topbar{gap:15px;padding:11px 22px!important}.erp-shell:not(.pos-invoice-mode) .content{padding:24px 22px 102px!important}
.erp-shell .bottom-nav{position:fixed;display:flex!important;align-items:stretch;left:0;right:0;bottom:0;z-index:45;background:#fff;border-top:1px solid #e4eae6;height:calc(64px + env(safe-area-inset-bottom))!important;min-height:64px;padding:5px 8px calc(5px + env(safe-area-inset-bottom))!important;box-shadow:0 -3px 20px #24372808}
.erp-shell .bottom-nav a{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;border-radius:8px;font-size:10px;line-height:1.3;font-weight:550;color:#87948a;padding:3px}
.erp-shell .bottom-nav svg{width:20px;height:20px}.erp-shell .bottom-nav a.active{color:#216a42;background:#ecf5ef;font-weight:650}
.erp-shell .erp-kpis{gap:10px}.erp-shell .erp-metric{padding:16px}.erp-shell .erp-metric>strong{font-size:23px}
}
@media screen and (max-width:700px){
.erp-shell .topbar{height:auto!important;min-height:68px;padding:12px 14px!important;gap:10px;flex-wrap:wrap;padding-top:max(12px,env(safe-area-inset-top))!important}
.erp-shell .erp-page-context{flex:1;max-width:none}.erp-shell .erp-page-context strong{font-size:14px}.erp-shell .erp-page-context span{font-size:10px}.erp-shell .erp-header-account{gap:6px;margin-left:0}.erp-shell .accountBtn{padding:0}.erp-shell .accountBtn b{width:32px;height:32px;min-width:32px;font-size:11px}.erp-shell .admin-notify-btn{width:32px;height:32px;min-width:32px}
.erp-shell .top-search{order:5;flex:0 0 100%;max-width:none;min-width:0;margin-top:1px}.erp-shell .top-search input{font-size:16px}.erp-search-label{width:100%}
.erp-shell:not(.pos-invoice-mode) .content{padding:20px 14px calc(90px + env(safe-area-inset-bottom))!important}.erp-shell:not(.pos-invoice-mode) .page-title{font-size:24px!important}.erp-shell:not(.pos-invoice-mode) .subtitle{font-size:12px}
.erp-shell:not(.pos-invoice-mode) .card{padding:16px!important}.erp-shell:not(.pos-invoice-mode) .card h2{font-size:15px}.erp-shell:not(.pos-invoice-mode) .btn{min-height:44px;font-size:14px}.erp-shell:not(.pos-invoice-mode) .input,.erp-shell:not(.pos-invoice-mode) select,.erp-shell:not(.pos-invoice-mode) textarea{font-size:16px}
.erp-shell .erp-overview-head{display:grid;gap:15px;margin-bottom:18px}.erp-overview-head h1{font-size:26px}.erp-shell .erp-kpis{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.erp-shell .erp-metric{padding:14px;gap:8px}.erp-shell .erp-metric>strong{font-size:22px}.erp-shell .erp-metric>span{font-size:11px}.erp-shell .erp-metric>span svg{display:none}.erp-shell .erp-metric>small{font-size:11px}.erp-shell .erp-dashboard-panels{grid-template-columns:1fr}.erp-shell .erp-dashboard-panels>section:last-child{grid-column:auto}.erp-shell .erp-quick-actions{display:grid;grid-template-columns:1fr 1fr}.erp-shell .erp-quick-actions .btn{padding:10px;min-width:0}.erp-shell .log83-filter{display:grid;grid-template-columns:1fr auto;align-items:end}.erp-shell .log83-filter label{min-width:0}.erp-shell .log83-filter .erp-log-search{grid-column:1/-1}.erp-shell .log83-list{grid-template-columns:1fr}.erp-shell .table-mobile td>*{max-width:none}
.erp-shell .director-head{display:grid;gap:12px}.erp-shell .director-head h1{font-size:26px}.erp-shell .mobile78-head>a{font-size:11px}.erp-shell .director-links{grid-template-columns:1fr}.erp-shell .erp-search-form>div{display:grid;grid-template-columns:1fr auto}.erp-shell .erp-search-form .btn{padding:10px}.erp-shell .erp-more-metrics{margin-bottom:17px}
}
@media(prefers-reduced-motion:reduce){.erp-shell *{scroll-behavior:auto!important;transition:none!important}}
@media print{.erp-skip,.erp-menu-close,.erp-header-account,.erp-page-context{display:none!important}.erp-overview-head{margin-bottom:12px}.erp-kpis{display:grid;grid-template-columns:repeat(4,1fr)}.erp-metric{border:1px solid #ddd;padding:10px}.erp-metric>*{display:block}.erp-metric svg{display:none}}

/* Sign-in is a separate layout with the same type and colour system. */
body.erp-login{margin:0;background:#fff;color:#23392c;font:14px/1.5 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.erp-login *{box-sizing:border-box}.erp-login-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1fr);min-height:100vh;min-height:100dvh}
.erp-login-intro{background:#f0f5f1;padding:42px clamp(32px,5vw,88px);display:flex;flex-direction:column;justify-content:space-between;gap:70px;border-right:1px solid #e2eae4}.erp-login-wordmark{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700}.erp-login-wordmark img{width:44px;height:44px;object-fit:contain}.erp-login-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#6c8474;font-weight:650}.erp-login-intro h2{font-size:clamp(30px,3.5vw,52px);line-height:1.15;letter-spacing:-.05em;margin:20px 0;color:#244b33;font-weight:670}.erp-login-intro p{font-size:16px;color:#6f8275;max-width:330px;line-height:1.7}.erp-login-capabilities{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px;max-width:360px}.erp-login-capabilities span{padding:7px 11px;border:1px solid #dbe5dd;border-radius:7px;font-size:11px;color:#5e7566;background:#ffffff70}.erp-login-intro>small{font-size:11px;color:#7c8c80}
.erp-login-form-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:60px 28px 24px}.erp-login-card{width:100%;max-width:370px;margin:auto}.erp-login-card h1{font-size:30px;line-height:1.2;letter-spacing:-.035em;margin:0 0 9px;font-weight:670}.erp-login-card>p{color:#7a887e;margin:0 0 30px;font-size:13px}.erp-login-mobile-brand{display:none}.erp-login-card form{display:flex;flex-direction:column}.erp-login-card form>label:not(.erp-login-remember){font-size:12px;color:#485e50;font-weight:600;margin:18px 0 8px}.erp-login-card form>label:first-of-type{margin-top:0}.erp-login-card input:not([type=checkbox]){width:100%;min-width:0;height:48px;padding:11px 12px;border:1px solid #d9e3dc;border-radius:8px;background:#fff;color:#23392c;font:inherit}.erp-password-field{position:relative}.erp-password-field input{padding-right:65px!important}.erp-password-field button{position:absolute;top:4px;right:4px;bottom:4px;min-width:54px;background:transparent;border:0;color:#567561;font:600 11px system-ui;cursor:pointer;border-radius:6px}.erp-login-remember{display:flex;gap:9px;align-items:center;font-size:11px;color:#748378;margin:18px 0 23px;cursor:pointer}.erp-login-remember input{width:16px;height:16px;accent-color:var(--brand-primary,#176c48);margin:0}.erp-login-submit{display:flex;align-items:center;justify-content:center;gap:14px;height:48px;width:100%;border:0;border-radius:8px;color:#fff;background:var(--brand-primary,#176c48);font:600 13px system-ui;cursor:pointer}.erp-login-submit:hover{filter:brightness(.95)}.erp-login-card>p.erp-login-help{font-size:11px;line-height:1.65;margin:19px 0 26px;color:#8a978e}.erp-login-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:19px;border-top:1px solid #e8eeea;font-size:11px}.erp-login-links a{color:#477454}.erp-login-form-panel footer{font-size:10px;color:#a2aca5;margin-top:35px;text-align:center}.erp-login :is(a,button,input):focus-visible{outline:3px solid #5c93c3;outline-offset:2px}
@media(max-width:800px){.erp-login-shell{grid-template-columns:1fr}.erp-login-intro{display:none}.erp-login-form-panel{padding:max(35px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom))}.erp-login-mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:42px;font-size:15px;font-weight:650;color:#31523d}.erp-login-mobile-brand img{width:37px;height:37px;object-fit:contain}.erp-login-card h1{font-size:28px}.erp-login-card input:not([type=checkbox]){font-size:16px}}
@media screen{
.erp-shell .mobile78-actions a{display:flex;align-items:center;gap:9px}.erp-shell .mobile78-actions svg{width:18px;height:18px;flex:none}
.erp-shell .settings-hub-nav{position:static;box-shadow:none;background:#fff;border-radius:11px;padding:7px;gap:5px}.erp-shell .settings-hub-nav button{border-radius:7px;min-height:54px;background:#f7f9f8}.erp-shell .settings-hub-nav button>span{font-weight:650;font-size:12px}.erp-shell .settings-hub-nav button.active{background:#e9f3ed;color:#205638;box-shadow:none;border-color:#d3e6d9}.erp-shell .settings-hub-nav button.active>small{color:#6b8274}.erp-shell .settings-hub-nav button>b{background:transparent;color:#609174}.erp-shell .settings-tool{box-shadow:none;border-radius:10px}.erp-shell .settings-tool:hover{transform:none}.erp-shell .settings-tool>span{font-weight:650}.erp-shell .settings-admin-overview{box-shadow:none;border-radius:12px;background:#fff}.erp-shell .settings-sticky-save{border-radius:10px;box-shadow:0 3px 12px #1b38200f}
}
@media screen and (max-width:1100px){.erp-shell .sidebar .brand{padding-right:42px!important}.erp-shell .settings-sticky-save{bottom:calc(74px + env(safe-area-inset-bottom))}}

/* V90 records, editors and responsive interaction rules. */
@media screen{
.erp-shell .sidebar{height:100vh;height:100dvh;max-height:100dvh}.erp-shell .sidebar .nav{min-height:0}.erp-shell [hidden]{display:none!important}
.erp-shell .content>:last-child{margin-bottom:0}.erp-shell .tabs,.erp-page-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #dde5e0;margin:0 0 20px;padding:0 0 5px;background:transparent;box-shadow:none}.erp-shell .tabs a,.erp-page-tabs a{padding:11px 14px;border-radius:7px;font-size:13px;font-weight:600;color:#6a7c70;background:none;min-height:42px}.erp-shell .tabs a.active,.erp-page-tabs a[aria-current=page]{background:#eaf3ed;color:#205c3a;box-shadow:none}
.erp-shell .btn-row{flex-wrap:wrap;gap:8px}.erp-shell .form-grid{align-items:end}.erp-shell .form-grid label{min-width:0}.erp-shell .form-grid .full{grid-column:1/-1}.erp-shell .input[readonly]{background:#f4f6f5!important;color:#718277}.erp-shell .input:disabled{background:#f4f6f5!important;opacity:.7}
.erp-shell .table-wrap{scrollbar-width:thin;scrollbar-color:#b5c6bb #f2f6f3;isolation:isolate}.erp-shell .table-wrap:focus-visible{outline:2px solid #86a991;outline-offset:3px}.erp-shell .table-wrap table{table-layout:auto;border-collapse:separate;border-spacing:0;width:100%}.erp-shell .table-wrap .erp-wide-table{min-width:calc(var(--erp-columns,7)*110px)}
.erp-shell .table-wrap .erp-action-col{position:sticky;right:0;background:#fff;z-index:2;min-width:86px;box-shadow:-1px 0 #e6ece8}.erp-shell .table-wrap th.erp-action-col{background:#f8faf9;z-index:3}.erp-shell .table-wrap td{vertical-align:top;overflow-wrap:normal}.erp-shell .erp-money{white-space:nowrap;font-variant-numeric:tabular-nums}.erp-shell .erp-number{text-align:right}.erp-shell .erp-cell-meta{display:block;color:#6c7b71;font-size:11px;margin-top:5px}.erp-shell .erp-print-cell{display:none}
.erp-register-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px}.erp-register-summary>div{background:#fff;border:1px solid #e0e7e3;border-radius:11px;padding:18px 20px;display:grid;gap:7px}.erp-register-summary span{font-size:12px;color:#6f8175}.erp-register-summary strong{font-size:clamp(19px,1.65vw,25px);color:#263e30;letter-spacing:-.025em;font-weight:680;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.erp-filter-primary{display:grid;grid-template-columns:minmax(220px,2fr) minmax(135px,1fr) minmax(135px,1fr) auto;gap:13px;align-items:end}.erp-register-filters label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#576b5e}.erp-filter-more{margin-top:15px}.erp-filter-more>summary{font-size:12px;color:#5c7865;font-weight:600;cursor:pointer;min-height:30px}.erp-filter-more .form-grid{margin-top:8px}.erp-filter-reset{font-size:11px;color:#6c8274;display:inline-block;margin-top:12px;text-decoration:underline}
.erp-register-caption{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:19px 0 11px;color:#5f7367;font-size:12px}.erp-register-caption small{font-size:11px;color:#7b8b81}.erp-shell .erp-ledger-table{min-width:880px!important}.erp-shell .erp-ledger-table th{white-space:nowrap}.erp-record-link{font-size:13px;font-weight:700;color:#235f3b;white-space:nowrap;display:inline-block;min-height:26px}.erp-record-link:hover{text-decoration:underline}.erp-date{display:block;white-space:nowrap;font-size:11px;color:#77867c;margin-top:5px}.erp-date span{margin-left:4px}.erp-credit-tag{display:inline-block;font-size:10px;color:#84683d;background:#faf4e6;border-radius:4px;padding:2px 6px;margin-top:7px}.erp-record-customer{min-width:190px;max-width:310px}.erp-record-customer strong,.erp-record-customer small{display:block}.erp-record-customer small{color:#77867b;font-size:11px;line-height:1.6;margin-top:3px}.erp-record-customer strong{font-size:13px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.erp-pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 0;color:#728276;font-size:12px}.erp-pagination>div{display:flex;gap:8px}.erp-pagination [aria-disabled=true]{opacity:.45;cursor:default}.erp-empty-state{text-align:center;padding:25px 15px;color:#748478}.erp-empty-state strong{font-size:15px;color:#445c4c}.erp-empty-state p{font-size:12px;margin:7px 0 14px}
.erp-product-identity{display:flex;align-items:flex-start;gap:12px;min-width:200px}.erp-product-identity img{width:48px;height:48px;object-fit:contain;background:#f6f8f7;border:1px solid #e9eeeb;border-radius:8px;flex:none}.erp-record-actions{display:flex;gap:6px;flex-wrap:wrap;max-width:150px}.erp-record-options>summary{font-size:11px;cursor:pointer;padding:7px;color:#6e8074}.erp-record-options[open]{min-width:140px}
.erp-shell .erp-variant-editor table,.erp-shell .erp-variant-editor tbody,.erp-shell .erp-variant-editor tr,.erp-shell .erp-variant-editor td{display:block;width:100%;min-width:0;border:0;background:none;box-shadow:none;padding:0}.erp-shell .erp-variant-editor thead{display:none}.erp-shell .erp-variant-editor tr{padding:18px;border:1px solid #dfe7e1;border-radius:11px;background:#fbfcfb;margin:0 0 15px}.erp-variant-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.erp-variant-heading strong{font-size:14px}.erp-variant-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.erp-variant-fields label{display:grid;gap:6px;min-width:0;font-size:12px;color:#59705f;font-weight:550}.erp-variant-fields .erp-field-wide{grid-column:span 2}.erp-variant-fields img{object-fit:contain;border:1px solid #dde6e0;border-radius:7px}.erp-variant-fields .erp-variant-check{display:flex;align-items:center;gap:9px;grid-column:span 2}.erp-editor-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap;margin-top:18px}.erp-editor-actions .btn:first-child{margin-right:auto}
.erp-shell .settings-sticky-save[hidden]{display:none!important}.erp-shell .kpi,.erp-shell .report-chip{box-shadow:none;border-radius:11px;border:1px solid #e0e7e3;background:#fff}.erp-shell .kpi b{font-size:clamp(20px,2vw,28px);font-weight:680;overflow-wrap:anywhere}.erp-shell .report-hero{background:#fff;box-shadow:none;border:1px solid #e0e7e3;border-radius:12px}.erp-shell .report-hero h1{letter-spacing:-.03em}.erp-shell :is(.access-group,.customer-card,.record-card,.news-card){box-shadow:none;border-radius:11px}.erp-shell .record-actions{display:flex;flex-wrap:wrap;gap:8px}
}
@media screen and (max-width:1100px){
.erp-filter-primary{grid-template-columns:minmax(180px,2fr) 1fr 1fr}.erp-filter-primary>button{grid-column:1/-1;justify-self:end;min-width:100px}.erp-variant-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.erp-shell .sidebar{z-index:120}.erp-shell .mobile-shade{z-index:110}.erp-shell .topbar{z-index:40}
}
@media screen and (max-width:900px){
.erp-shell .table-mobile{border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}.erp-shell .table-mobile table,.erp-shell .table-mobile tbody{display:block!important;width:100%!important;min-width:0!important}.erp-shell .table-mobile thead{display:none!important}.erp-shell .table-mobile tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px;margin-bottom:12px!important;padding:15px!important;border:1px solid #e0e7e2!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important}.erp-shell .table-mobile tbody td{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:4px;padding:8px 0!important;border:0!important;width:auto!important;min-width:0!important;max-width:none!important;text-align:left!important;font-size:13px!important;overflow-wrap:anywhere;white-space:normal}.erp-shell .table-mobile tbody td:before{content:attr(data-label);color:#7a8a7f;font-weight:500;font-size:10px;line-height:1.4;text-transform:none;flex:none!important;text-align:left}.erp-shell .table-mobile tbody td.erp-record-title,.erp-shell .table-mobile tbody td.erp-record-customer,.erp-shell .table-mobile tbody td:first-child,.erp-shell .table-mobile tbody td[colspan]{grid-column:1/-1}.erp-shell .table-mobile tbody td.erp-action-col{position:static;grid-column:1/-1;box-shadow:none;background:transparent;border-top:1px solid #ecf0ed!important;margin-top:6px;padding-top:12px!important}.erp-shell .table-mobile tbody td.erp-action-col:before,.erp-shell .table-mobile tbody td[colspan]:before{display:none}.erp-shell .table-mobile tfoot{display:table-footer-group}.erp-shell .table-mobile tfoot tr{display:table-row}.erp-shell .table-mobile tfoot th{font-size:12px;white-space:normal}.erp-shell .table-mobile tbody td.erp-print-cell{display:none!important}.erp-shell .erp-ledger-table tbody td.erp-record-title{display:block!important;border-bottom:1px solid #eef2ef!important;padding-bottom:10px!important}.erp-shell .erp-ledger-table td.erp-record-title:before{display:none}.erp-shell .erp-record-link{font-size:15px}.erp-shell .erp-date{float:right;margin-top:3px}.erp-shell .erp-credit-tag{margin:4px 0}.erp-shell .erp-record-customer strong{font-size:14px}.erp-shell .erp-record-customer{max-width:none}.erp-shell .erp-money strong{font-weight:650}.erp-shell .erp-record-actions{max-width:none;width:100%}.erp-shell .table-mobile .erp-empty-state{width:100%;padding:20px 4px}
}
@media screen and (max-width:700px){
.erp-shell .tabs,.erp-page-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:7px;margin-bottom:15px}.erp-shell .tabs a,.erp-page-tabs a{white-space:nowrap;padding:10px 12px;font-size:12px}.erp-register-summary{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:15px}.erp-register-summary>div{padding:14px}.erp-register-summary>div:last-child{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.erp-register-summary span{font-size:11px}.erp-register-summary strong{font-size:20px}.erp-filter-primary{grid-template-columns:1fr 1fr;gap:12px}.erp-filter-primary>.erp-filter-search{grid-column:1/-1}.erp-filter-primary>button{justify-self:stretch;grid-column:1/-1}.erp-register-caption{align-items:flex-start;flex-direction:column;gap:4px}.erp-shell .erp-variant-editor tr{padding:14px}.erp-variant-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.erp-editor-actions{display:grid;grid-template-columns:1fr 1fr}.erp-editor-actions>template{display:none}.erp-editor-actions .btn{width:100%;margin:0!important}.erp-editor-actions .btn:last-child{grid-column:1/-1}.erp-shell .erp-date{float:none}.erp-shell .log83-two,.erp-shell .mobile78-panels,.erp-shell .grid-3{grid-template-columns:1fr}.erp-shell .page-section-head .btn-row{width:100%}.erp-shell .target-plan-hero,.erp-shell .target-plan-head{flex-wrap:wrap;gap:12px}.erp-shell .settings-sticky-save{position:static;margin:0 0 15px;width:100%}.erp-shell .settings-hub-nav{grid-template-columns:repeat(7,minmax(130px,1fr))}
}
@media screen and (max-width:380px){.erp-variant-fields{grid-template-columns:1fr}.erp-variant-fields .erp-field-wide,.erp-variant-fields .erp-variant-check{grid-column:auto}.erp-register-summary strong{font-size:18px}.erp-shell .table-mobile tbody tr{gap:0 10px}}
@media print{.erp-page-tabs,.erp-register-filters,.erp-pagination,.erp-editor-actions,.erp-register-caption{display:none!important}.erp-register-summary{display:flex;gap:20px;margin:10px 0}.erp-register-summary>div{flex:1}.erp-register-summary span,.erp-register-summary strong{display:block}.erp-money,.erp-record-link{white-space:nowrap}.erp-print-cell{display:table-cell!important}.erp-action-col{position:static!important;box-shadow:none!important}.erp-record-customer small,.erp-date,.erp-cell-meta{display:block}}

/* Customer shop, account, orders and updates use the same readable spacing. */
@media screen{
.v62-store-body,.v61-portal-body{font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#293c32;background:#f6f8f7}.v62-store-body :is(input,select,textarea),.v61-portal-body :is(input,select,textarea){font-family:inherit}.v62-product-card,.v61-account-card,.v61-cart-card,.v61-checkout-card{border:1px solid #e0e7e2!important;border-radius:12px!important;box-shadow:none!important}.v62-product-card:hover{transform:none!important;box-shadow:0 4px 16px #2547320d!important}.v62-product-info h3{font-size:14px!important;line-height:1.45!important}.v62-product-info p{font-size:11px!important;line-height:1.6!important}.v62-product-info>small{font-size:10px!important}.v62-price b{font-size:19px!important}.v62-price small,.v62-price del,.v62-stock-line{font-size:11px!important}.v62-add input,.v62-add button,.v62-coming,.v62-card-action{min-height:44px!important;height:auto!important;font-size:12px!important;border-radius:7px!important}.v62-category-bar a{min-height:42px;font-size:12px!important;display:inline-flex;align-items:center;border-radius:7px}.v62-products{border-radius:13px!important;box-shadow:none!important}.v62-cart-head h2{font-size:20px!important}.v62-cart-head span{font-size:12px!important}.v62-cart-lines b{font-size:13px!important}.v62-cart-lines small,.v62-cart-lines span{font-size:11px!important}.v62-cart-lines strong{font-size:12px!important}.v62-store-body :is(a,button,input,select,textarea,summary):focus-visible,.v61-portal-body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #658d74;outline-offset:2px}.v63-drawer-panel>header>a{min-width:44px;min-height:44px}.v62-access-strip,.v62-wholesale-lock{border-radius:11px!important;box-shadow:none!important}.v62-wholesale-lock h2{font-size:15px!important}.v62-wholesale-lock p,.v62-wholesale-lock a,.v62-access-copy small,.v62-access-buttons a{font-size:12px!important;line-height:1.55!important}.v62-wholesale-lock a,.v62-access-buttons a{min-height:42px;display:inline-flex;align-items:center}.v62-account-form label,.v61-account-form label{font-size:12px!important}.v62-account-form button,.v61-account-form button{min-height:46px}.v62-product-img img{object-fit:contain}
}
@media screen and (max-width:700px){
.v62-main,.v61-store-main{padding-left:12px!important;padding-right:12px!important}.v62-product-grid{gap:10px!important}.v62-product-info{padding:10px!important}.v62-product-info h3{font-size:13px!important}.v62-product-info p{font-size:11px!important}.v62-product-info>small{font-size:10px!important}.v62-price b{font-size:17px!important}.v62-add{grid-template-columns:48px minmax(0,1fr)!important}.v62-add input{font-size:16px!important;min-width:0}.v62-card-action,.v62-add button{white-space:normal;line-height:1.4!important;padding:8px!important}.v62-account-form :is(input,select,textarea),.v61-account-form :is(input,select,textarea){font-size:16px!important;min-height:46px!important}.v62-banner h1{font-size:22px!important;line-height:1.2!important}.v62-banner p{font-size:12px!important;line-height:1.5!important}.v62-banner{height:auto!important;min-height:165px!important;padding:18px!important}.v62-banner a{font-size:12px!important;min-height:40px;display:inline-flex;align-items:center}.v62-cart-lines article{grid-template-columns:45px minmax(0,1fr) 64px!important}.v62-cart-lines strong{grid-column:2/-1}.v62-product-img{height:135px!important}.v62-product-img img{max-height:120px!important}.v63-mobile-nav a span{font-size:11px!important}.v62-wholesale-lock{grid-template-columns:1fr!important}.v62-wholesale-lock>div:first-child{display:none}.v62-access-buttons{flex-wrap:wrap!important;overflow:visible!important}
}

/* V91 reliability + mobile workflow refinements */
@media screen and (min-width:1101px){
  body.erp-shell:not(.pos-invoice-mode) .sidebar{pointer-events:auto!important;visibility:visible!important;transform:none!important}
  body.erp-shell:not(.pos-invoice-mode) .main{margin-left:244px!important;width:calc(100% - 244px)!important}
  body.erp-shell:not(.pos-invoice-mode) .mobile-shade{display:none!important;pointer-events:none!important}
}
.erp-shell .nav a,.erp-shell .nav summary{pointer-events:auto!important}
.payment-proof-field{display:grid;gap:6px;padding:10px 12px 12px}.payment-proof-field span{font-size:12px;font-weight:650;color:#546057}.payment-proof-field .input{background:#fff}
.page-sales_visits .grid-2{grid-template-columns:minmax(420px,1.15fr) minmax(320px,.85fr)}
.page-sales_visits textarea{min-height:110px}
@media screen and (max-width:900px){.page-sales_visits .grid-2{grid-template-columns:1fr}.page-sales_visits .content{padding-bottom:102px!important}}
