.erp-app{container:erp/inline-size;--ink:#182f39;--muted:#526670;--border:#dbe2e0;--paper:#f5f7f5;--rail:#172f39;--amber:#f5ba75;color:var(--ink);background:var(--paper);font-family:var(--font-body-face,Arial),Inter,Arial,sans-serif;line-height:1.45;font-size:14px;color-scheme:light;text-align:left}.erp-app *{box-sizing:border-box}.erp-app button,.erp-app select{cursor:pointer}.erp-app button:focus-visible,.erp-app input:focus-visible,.erp-app select:focus-visible{outline:3px solid #4c9ba9;outline-offset:2px}.erp-app button{font:inherit}.erp-shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100svh - 78px);position:relative}.erp-side{background:var(--rail);color:#e7efee;padding:22px 12px 16px;display:flex;flex-direction:column;gap:18px}.erp-brand{display:flex;align-items:center;gap:10px;margin:0 6px 6px;min-width:0}.erp-monogram,.erp-profile{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;background:color-mix(in srgb,var(--erp-brand) 65%,#192f39);color:#fff;border:1px solid #80969f;font-size:13px;font-weight:750}.erp-brand>div{min-width:0}.erp-brand strong{font-size:15px;letter-spacing:-.02em;display:block;overflow-wrap:anywhere}.erp-brand small{display:block;font-size:11px;color:#b3c5cb}.erp-group+.erp-group{margin-top:19px}.erp-group>small{display:block;color:#a4bac1;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0 11px 5px}.erp-side nav button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;color:#d0dcde;border:0;border-radius:6px;background:transparent;padding:7px 11px;font-size:12px;font-weight:520}.erp-side nav button svg{opacity:.8;flex-shrink:0}.erp-side nav button:hover{background:#284450}.erp-side nav button[aria-current=page]{background:#345360;color:#fff;box-shadow:inset 3px 0 var(--amber)}.erp-side nav button[aria-current=page] svg{color:#ffcf8f;opacity:1}.erp-side-foot{margin-top:auto;padding:15px 7px 0;display:flex;gap:9px;align-items:center;border-top:1px solid #3a5059;color:#bdced0;font-size:11px}.erp-body{min-width:0}.erp-top{height:48px;background:#fff;border-bottom:1px solid var(--border);display:flex;gap:9px;align-items:center;padding:0 clamp(15px,3vw,40px);font-size:12px;color:var(--muted)}.erp-top b{font-weight:570;color:var(--ink)}.erp-top .erp-profile{margin-left:auto;color:#24444e;background:#e5edeb;width:30px;height:30px;font-size:10px;border:1px solid #d2dfdc;border-radius:50%}.erp-close-nav,.erp-menu{display:none}.erp-content{max-width:1590px;margin:auto;padding:clamp(16px,2.7vw,36px);display:grid;gap:19px}.erp-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.erp-edition,.erp-panel header small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:720;color:#536e72;display:flex;align-items:center;gap:7px}.erp-edition i{width:7px;height:7px;background:#468579;border-radius:50%}.erp-page-head h1{font-size:clamp(26px,3.1vw,45px);font-weight:625;letter-spacing:-.055em;line-height:1.08;margin:7px 0}.erp-page-head p{color:var(--muted);font-size:13px;margin:0}.erp-kpis{display:grid;grid-template-columns:1.85fr 1fr 1fr;gap:12px}.erp-kpi,.erp-panel,.erp-value{border:1px solid var(--border);border-radius:12px;background:white;overflow:hidden}.erp-kpi,.erp-value{position:relative;min-height:135px;padding:20px}.erp-value{isolation:isolate;color:#fcf6e9;background:linear-gradient(109deg,#1b3540 14%,#254b59);border-color:#26424d;display:flex;align-items:center}.erp-value>div{z-index:1}.erp-yard{position:absolute;right:-8px;bottom:-5px;width:45%;max-height:100%;z-index:0}.erp-metric-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:610}.erp-kpi strong,.erp-value strong{display:block;font-variant-numeric:tabular-nums;font-size:clamp(28px,3vw,43px);font-weight:650;letter-spacing:-.055em;line-height:1.2;margin:8px 0 5px}.erp-value small{color:#c7d9db;font-size:11px}.erp-value .erp-metric-label svg{color:#eec18c}.erp-kpi{text-align:left;color:var(--ink);display:flex;align-items:flex-start;flex-direction:column;justify-content:center}.erp-kpi:hover{border-color:#8ba8a6;background:#fcfdfc}.erp-kpi strong{margin:4px 0}.erp-kpi small{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px}.erp-kpi-icon{position:absolute;right:12px;bottom:15px;background:#fbf1df;color:#8b5e28;display:grid;place-items:center;width:30px;height:30px;border-radius:8px}.erp-kpi-icon.cool{background:#e6f0ed;color:#397367}.erp-panel header{padding:16px 19px;display:flex;justify-content:space-between;align-items:center;gap:10px}.erp-panel header small{font-size:9px}.erp-panel h2{font-size:20px;line-height:1.25;letter-spacing:-.04em;font-weight:630;margin:3px 0 0}.erp-panel header>svg{color:#72908d}.erp-panel footer button,.erp-text-btn{border:0;background:none;display:inline-flex;align-items:center;gap:4px;color:#315f66;font-weight:620!important;font-size:12px!important}.erp-scroll{overflow-x:auto}.erp-app table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap;text-align:left}.erp-app thead{background:#f4f7f5}.erp-app td,.erp-app th{padding:10px 14px;border-top:1px solid #e6ebe8}.erp-app td:first-child,.erp-app th:first-child{padding-left:19px}.erp-app th{font-size:10px;font-weight:620;color:#52656a;letter-spacing:.035em}.erp-app tbody tr:hover{background:#fafcfb}.erp-num{font-variant-numeric:tabular-nums}.erp-record-link{color:#224d60;border:0;background:none;font-weight:650!important;text-decoration:underline;text-decoration-color:#b4cacc;text-underline-offset:3px}.erp-status{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:600;white-space:nowrap;background:#eaf0f6;color:#38556b}.erp-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.erp-status[data-tone=amber]{background:#fbefd9;color:#815617}.erp-status[data-tone=green]{background:#e3f0e8;color:#30634b}.erp-split{display:grid;grid-template-columns:1.25fr 1fr;gap:14px}.erp-split .erp-panel{display:flex;flex-direction:column}.erp-positions,.erp-stages{padding:0 19px}.erp-position,.erp-stages>div{border-top:1px solid #e2e9e5;display:flex;align-items:center;gap:10px;padding:8px 0}.erp-position>div:first-child{display:grid}.erp-position b,.erp-stages b{font-size:12px;font-weight:600}.erp-position span,.erp-position-balance small{font-size:10px;color:#60736f}.erp-position-balance{width:32%;margin-left:auto;text-align:right}.erp-stock-bar{height:4px;background:#edf0ed;position:relative;margin:4px 0;border-radius:4px}.erp-stock-bar i{display:block;height:100%;background:#60988c;border-radius:4px}.erp-stock-bar i[data-low=true]{background:#c38d44}.erp-legend-mark,.erp-stock-bar em{width:2px;height:8px;background:#466066;display:block}.erp-stock-bar em{position:absolute;top:-2px}.erp-stages>div{font-size:12px;position:relative}.erp-step-icon{display:grid;place-items:center;background:#edf3f1;color:#47736c;width:28px;height:28px;border-radius:6px}.erp-stages b{margin-left:auto}.erp-panel footer{margin-top:auto;border-top:1px solid var(--border);padding:10px 19px;color:var(--muted);font-size:10px;display:flex;align-items:center;gap:6px}.erp-panel footer button{margin-left:auto}.erp-register{min-width:0}.erp-edit input,.erp-edit select,.erp-register header input,.erp-register select{background:white;color:var(--ink);border:1px solid #cbd6d3;border-radius:6px;padding:7px 10px;font-size:13px;max-width:100%}.erp-search{display:flex;align-items:center;gap:7px;color:#506967}.erp-register header input{width:min(230px,100%)}.erp-empty{font-size:13px;color:var(--muted);padding:16px 19px}.erp-primary{background:#264a53;color:white;border:0;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;font-size:13px!important;font-weight:610!important}.erp-primary:disabled{opacity:.6}.erp-primary:hover:enabled{background:#32636d}.erp-detail,.erp-edit{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.erp-detail{margin:0;padding:21px}.erp-detail div{border-bottom:1px solid #e0e8e3;padding:5px 0 9px}.erp-detail dt{font-size:11px;color:#526a69}.erp-detail dd{font-size:14px;margin:4px 0;color:#193c45;overflow-wrap:anywhere}.erp-edit{border:0;padding:0;margin:0}.erp-edit label{display:grid;gap:4px;min-width:0}.erp-dialog-actions{padding:0 21px 20px;display:flex;justify-content:flex-end;gap:8px}.erp-notice{font-size:13px;color:#285a4e;padding:10px 16px;background:#e5f2eb;border-radius:7px}.crm-dialog .erp-notice{margin:0 21px 15px}.erp-notice[role=alert]{color:#842f21;background:#fbefea}.erp-app[data-theme=compact]{--rail:#edf3fa;--paper:#f1f4f8;--ink:#1b3555}.erp-app[data-theme=compact] .erp-shell{display:flex;flex-direction:column}.erp-app[data-theme=compact] .erp-side{padding:10px 22px 0;border-bottom:1px solid #cedce6;gap:7px;color:#244361}.erp-app[data-theme=compact] .erp-brand small,.erp-app[data-theme=compact] .erp-group>small,.erp-app[data-theme=compact] .erp-side-foot{display:none}.erp-app[data-theme=compact] .erp-side nav{display:flex;flex-wrap:wrap;gap:4px 7px;padding-bottom:7px}.erp-app[data-theme=compact] .erp-group{display:contents}.erp-app[data-theme=compact] .erp-side nav button{color:#315170;white-space:nowrap;width:auto}.erp-app[data-theme=compact] .erp-side nav button:hover,.erp-app[data-theme=compact] .erp-side nav button[aria-current=page]{background:#d9e6f3;box-shadow:none}.erp-app[data-theme=compact] .erp-side nav button[aria-current=page] svg{color:#315170}.erp-app[data-theme=compact] .erp-value{background:linear-gradient(110deg,#203858,#36567d)}.erp-app[data-theme=compact] .erp-content{width:100%}@container erp (max-width:1040px){.erp-shell{grid-template-columns:178px minmax(0,1fr)}.erp-kpi,.erp-value{padding:14px}.erp-yard{width:39%;opacity:.85}.erp-kpi-icon{display:none}.erp-content{padding:18px}}@container erp (max-width:780px){.erp-shell{display:block}.erp-close-nav,.erp-menu{display:grid;place-items:center;background:none;border:0;color:inherit;padding:6px}.erp-close-nav{margin-left:auto}.erp-app[data-theme=compact] .erp-side,.erp-side{display:none}.erp-app[data-theme=compact] .erp-side[data-open=true],.erp-side[data-open=true]{display:flex;position:absolute;top:0;left:0;z-index:5;width:min(255px,90%);max-height:90svh;padding:18px 12px;overflow:auto;box-shadow:5px 9px 28px #112c3a35}.erp-app[data-theme=compact] .erp-side nav{display:block}.erp-app[data-theme=compact] .erp-side nav button{width:100%}.erp-content{gap:14px;padding:16px}.erp-kpis{gap:8px}.erp-kpi,.erp-value{min-height:116px}.erp-top{height:43px}.erp-page-head h1{font-size:32px}.erp-top button:focus-visible{outline-offset:0}}@container erp (max-width:560px){.erp-content{padding:14px 11px}.erp-kpis{grid-template-columns:1fr 1fr}.erp-value{grid-column:1/-1;min-height:120px;padding:17px}.erp-yard{width:44%;right:4px;opacity:1}.erp-kpi{min-height:95px}.erp-split{grid-template-columns:1fr}.erp-page-head h1{font-size:29px}.erp-panel header{padding:12px}.erp-split .erp-positions,.erp-split .erp-stages{padding:0 12px}.erp-register header{flex-wrap:wrap}.erp-primary{white-space:nowrap}.erp-edit{grid-template-columns:1fr}.erp-detail{padding:15px}.erp-app td,.erp-app th{padding:9px 11px}}.erp-mobile-supplier{display:none}@container erp (max-width:560px){.erp-queue td:nth-child(2),.erp-queue td:nth-child(3),.erp-queue th:nth-child(2),.erp-queue th:nth-child(3){display:none}.erp-queue .erp-mobile-supplier{display:block;color:var(--muted);font-size:10px}.erp-queue td:first-child,.erp-queue th:first-child{padding-left:12px}}.crm-studio[data-product=erp] .crm-mini-theme[data-variant=workspace]>i{background:#264550}.crm-studio[data-product=erp] .crm-mini-theme[data-variant=workspace] em:first-child{background:#355766}