@font-face{font-family:'RF Dewi';src:url('fonts/RFDewi-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'RF Dewi';src:url('fonts/RFDewi-Semibold.ttf') format('truetype');font-style:normal;font-weight:500 600;font-display:swap}
@font-face{font-family:'RF Dewi';src:url('fonts/RFDewi-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
/* Calm operational UI. The approved ERP behavior and data model are unchanged. */
body.brand-theme{--bg:#f7f8fa;--paper:#fff;--ink:#242932;--muted:#707986;--line:#e9ebef;--green:#52746a;--lime:#edf3f0;--red:#b85355;--amber:#9b743d;font-family:'RF Dewi',Arial,sans-serif;font-size:14px;line-height:1.55;font-synthesis:none;background:var(--bg);color:var(--ink)}
.brand-theme button,.brand-theme input,.brand-theme textarea,.brand-theme select{font-family:'RF Dewi',Arial,sans-serif;font-synthesis:none}
.brand-theme .app{grid-template-columns:228px minmax(0,1fr)}
.brand-theme aside{width:228px;padding:26px 15px 20px;background:#fff;color:var(--ink);border-right:1px solid var(--line);overflow-y:auto}
.brand-theme .brand{display:flex;align-items:center;gap:10px;padding:0 11px 26px;margin:0 0 15px;border-bottom:1px solid var(--line);color:var(--ink);font-size:18px;letter-spacing:-.5px}
.brand-theme .brand img{width:34px;height:34px;object-fit:contain;flex-shrink:0}
.brand-theme .brand-name{font-size:17px;letter-spacing:-.4px;line-height:1.15;font-weight:600}
.brand-theme .brand-name span{display:block;font-size:10px;letter-spacing:.25px;font-weight:400;color:var(--muted);margin-top:5px}
.brand-theme nav{gap:4px}.brand-theme nav button{background:transparent;border:1px solid transparent;border-radius:7px;padding:10px 12px;color:#727985;font-size:12px;min-height:39px;gap:10px;font-weight:400}
.brand-theme nav button:hover{background:#f6f7f9;color:#333b47}
.brand-theme nav button.active{color:#3c6256;background:#eef4f0;border-color:#e6eee9;font-weight:600}
.brand-theme nav svg{width:17px;height:17px;flex-shrink:0;opacity:.85}
.brand-theme .navlabel{font-size:9px;letter-spacing:1.2px;margin:24px 12px 10px;color:#707986}
.brand-theme .sidefoot{padding:18px 10px 0;margin-top:auto;border-color:var(--line);font-size:11px;color:#7d8490}
.brand-theme .avatar{background:#edf1f4;color:#5f6a76;border:1px solid #e1e6eb;font-size:12px;font-weight:500;width:31px;height:31px}
.brand-theme header{height:auto;min-height:68px;background:#fff;border-bottom:1px solid var(--line);padding:16px 30px;gap:15px}
.brand-theme .crumb{font-size:11px;color:#707986}.brand-theme .crumb .linkbtn{font-size:11px}
.brand-theme .headright{gap:10px;flex-wrap:wrap;justify-content:flex-end}.brand-theme .headright select{border:1px solid var(--line);border-radius:6px;background:#fff;font-size:11px;padding:7px 9px;max-width:245px;min-height:32px}
.brand-theme .demo{border:1px solid #e4e8ed;border-radius:5px;background:#f9fafb;color:#707986;font-size:9px;letter-spacing:.3px;padding:4px 6px}
.brand-theme .content{padding:30px 30px 55px;max-width:1640px}
.brand-theme h1,.brand-theme h2,.brand-theme h3{font-family:'RF Dewi',Arial,sans-serif;text-transform:none;color:var(--ink);font-weight:600}
.brand-theme h1{font-size:26px;letter-spacing:-.7px;line-height:1.25;margin-bottom:8px}
.brand-theme h2{font-size:16px;letter-spacing:-.3px;line-height:1.4}.brand-theme h3{font-size:14px;letter-spacing:-.1px}
.brand-theme .eyebrow{font-size:9px;font-weight:400;letter-spacing:1.2px;color:#707986;margin-bottom:7px}
.brand-theme .pagehead{gap:20px;margin-bottom:24px}.brand-theme .pagehead .muted{font-size:12px;max-width:790px;line-height:1.7}
.brand-theme button{border:1px solid #e1e5e9;background:#fff;color:#59616e;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:500;box-shadow:0 1px 2px #182b2903}
.brand-theme button:hover{border-color:#c8d5ce;background:#f6f8f7;color:#3b5149}
.brand-theme button.primary{background:#52746a;border-color:#52746a;color:white}.brand-theme button.primary:hover{background:#426257;border-color:#426257}
.brand-theme button.small{padding:6px 9px;font-size:11px}.brand-theme button.ghost{border-color:transparent;background:transparent;box-shadow:none}
.brand-theme button:focus-visible,.brand-theme input:focus-visible,.brand-theme select:focus-visible,.brand-theme textarea:focus-visible,.brand-theme a:focus-visible{outline:2px solid #86a496;outline-offset:3px}
.brand-theme .hero{background:#f0f4f2;border:1px solid #e0e8e3;border-radius:10px;padding:20px 23px;color:#52655c;box-shadow:none;gap:20px;margin-bottom:23px}
.brand-theme .hero h2{font-size:18px;text-transform:none;font-weight:500;letter-spacing:-.3px;max-width:680px;margin-bottom:8px}
.brand-theme .hero p{font-size:12px;color:#7d8982;line-height:1.65}.brand-theme .hero .eyebrow{color:#707986;font-size:9px}
.brand-theme .hero button{background:#fff;color:#52746a;border:1px solid #d3dfd7;white-space:nowrap;font-size:11px}.brand-theme .hero button:hover{background:#e7efe9}
.brand-theme .flow{margin:21px 0 25px}.brand-theme .flow span{font-size:10px;border-color:#dfe4e1;color:#707986;border-top-width:1px;padding-top:9px}
.brand-theme .flow span:before{background:#d5ddd7;width:6px;height:6px;top:-4px}.brand-theme .flow span:nth-child(4){border-color:#7f9d8c;color:#5a7768;font-weight:500}.brand-theme .flow span:nth-child(4):before{background:#7f9d8c}
.brand-theme .metrics{gap:14px;margin-bottom:22px}.brand-theme .metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px 19px;box-shadow:0 2px 3px #182b2902}
.brand-theme .metric:hover{background:#fff;border-color:#cbd7d0}.brand-theme .metric b{font-family:'RF Dewi',Arial,sans-serif;font-weight:500;font-size:31px;line-height:1.25;letter-spacing:-.9px;color:#333b44;font-variant-numeric:tabular-nums;margin-bottom:7px}
.brand-theme .metric span{font-size:11px;color:#707986}.brand-theme .metric em{font-size:10px;color:#71907f;margin-top:7px;display:block}
.brand-theme .panel{border:1px solid var(--line);border-radius:9px;padding:21px;background:white;box-shadow:none}.brand-theme .panelhead{gap:12px;margin-bottom:18px}
.brand-theme .barrow{font-size:11px;margin:15px 0;grid-template-columns:130px 1fr 75px}.brand-theme .bar{height:7px;background:#f0f2f4;border:0;border-radius:4px}.brand-theme .bar i{background:#a6bcb0!important;border-radius:4px}.brand-theme .bar i[style*="#a63e32"],.brand-theme .bar i[style*="#ac5542"]{background:#c98a83!important}
.brand-theme .issue{border-color:#eef0f3;padding:14px 0;gap:11px}.brand-theme .issue .dot{background:#cbb38f;width:5px;height:5px}.brand-theme .issue b{font-weight:500;font-size:12px}.brand-theme .issue p{font-size:11px;color:#707986;line-height:1.65}
.brand-theme .notice{background:#faf7f1;color:#707986;border-left:2px solid #d2be9f;border-radius:0 6px 6px 0;padding:12px 15px;font-size:12px}.brand-theme .notice.success{background:#f2f7f3;border-left-color:#707986;color:#6e8976}
.brand-theme .tablewrap{border:1px solid var(--line);border-radius:9px;background:#fff}.brand-theme table{font-size:12px}.brand-theme th{background:#fafbfc;border-color:#e9edf0;color:#707986;font-size:10px;font-weight:500;padding:13px 15px}.brand-theme td{padding:15px;border-color:#eef0f3}.brand-theme tbody tr:hover{background:#fafcfb}
.brand-theme .linkbtn{border:0;padding:0;color:#4d6f62;font-size:12px;font-weight:500;box-shadow:none;background:transparent}.brand-theme .linkbtn:hover{color:#314f43;background:transparent;text-decoration:underline;text-underline-offset:3px}
.brand-theme .sub{font-size:10px;color:#707986;line-height:1.6}.brand-theme .topnote{font-size:10px;line-height:1.7;color:#707986}.brand-theme .num{font-variant-numeric:tabular-nums}
.brand-theme .tag{background:#f3f4f6;color:#707986;border:1px solid #e9ecef;border-radius:4px;padding:2px 6px;font-size:10px;line-height:1.6}.brand-theme .tag.green{background:#eef5ef;color:#6d8e76;border-color:#e3eee5}.brand-theme .tag.amber{background:#faf5ec;color:#707986;border-color:#f1e8d9}.brand-theme .tag.red{background:#fbf0ef;color:#b47670;border-color:#f3e3e0}
.brand-theme .badge{background:#f6f8fa;color:#707986;border-color:#e6ebf0;border-radius:4px;font-size:9px}.brand-theme .progress{background:#f0f3f2;height:4px}.brand-theme .progress i{background:#9db7a6}
.brand-theme .tabs{border-color:#e5e9ed;gap:23px;margin-bottom:22px}.brand-theme .tabs button{border:0;border-bottom:2px solid transparent;padding:12px 0;border-radius:0;color:#707986;font-size:12px;box-shadow:none;background:transparent}.brand-theme .tabs button.active{border-color:#648572;color:#52735e;font-weight:500}.brand-theme .tabs button:hover{background:transparent;color:#52665a}
.brand-theme label{font-weight:500;font-size:12px;color:#606875}.brand-theme input,.brand-theme textarea,.brand-theme select{border:1px solid #e0e5eb;border-radius:6px;background:#fff;color:#4b5562;font-size:12px;padding:9px 11px}.brand-theme input::placeholder,.brand-theme textarea::placeholder{color:#707986}.brand-theme input:focus,.brand-theme select:focus,.brand-theme textarea:focus{border-color:#707986}.brand-theme input[type=checkbox]{accent-color:#6b8a77}.brand-theme input[type=file]{background:#fafbfc;font-size:11px}
.brand-theme .toolbar{gap:9px;margin-bottom:18px}.brand-theme .item{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px;gap:16px}.brand-theme .item h3{font-size:14px;font-weight:500}.brand-theme .item p{font-size:11px;color:#707986}
.brand-theme .product{background:#f3f5f4;border:1px solid #edf0ee;border-radius:8px}.brand-theme .product svg path{stroke:#87948c;fill:#f7f9f7}.brand-theme .product svg path+path{fill:none}.brand-theme .product svg path:last-child{fill:#d5e2d8}
.brand-theme .route b{background:#f4f6f5;color:#707986;border:1px solid #e8eeea;padding:4px 7px;font-size:10px;border-radius:4px}.brand-theme .route b.done{background:#edf4ee;border-color:#dce9de;color:#719078}
.brand-theme .column{background:#f1f3f6;border:1px solid #e9edf1;border-radius:9px;padding:11px;min-height:270px}.brand-theme .column>h3{font-size:11px;font-weight:500;padding:8px 4px 14px;color:#7b8592;text-transform:none}.brand-theme .column:nth-child(2)>h3{color:#707986}
.brand-theme .task{background:#fff;border:1px solid #e5e9ee;border-radius:7px;padding:14px;margin-bottom:10px;box-shadow:0 2px 3px #1d2b3a03}.brand-theme .task h3{font-size:12px;line-height:1.55;font-weight:500}.brand-theme .task p{font-size:10px;line-height:1.7;color:#707986}.brand-theme .task footer{border-top:1px solid #f0f2f4;padding-top:10px}.brand-theme .task .tag{font-size:9px}.brand-theme .task .linkbtn{font-size:11px}
.brand-theme .empty{background:#fcfcfd;border-color:#dfe5e9;border-radius:8px;color:#707986;font-size:12px}.brand-theme .chip{background:#f0f4f1;color:#7a8e7e;border-radius:4px;font-size:11px}
.brand-theme dialog{background:#fff;color:var(--ink);border:1px solid #e4e9ed;border-radius:12px;box-shadow:0 24px 100px #25334324}.brand-theme dialog::backdrop{background:#25313f66;backdrop-filter:blur(2px)}
.brand-theme .modalhead{background:#fff;border-color:#edf0f3;padding:20px 24px}.brand-theme .modalhead h2{font-size:18px}.brand-theme .modalbody{padding:24px}.brand-theme .modalfoot{background:#fafbfc;border-color:#e9edf0}.brand-theme #itemForm section.panel{background:#fafbfc!important}.brand-theme .modalhead .ghost{min-width:34px;border-color:#e9edf1;color:#707986}
.brand-theme .listrow{border-color:var(--line)}.brand-theme .checks .check{font-size:12px}.brand-theme .check span:first-child{color:#789681}.brand-theme .check.bad span:first-child{color:#bc8171}
.brand-theme .toast{background:#3f5549;color:#fff;border-radius:8px;box-shadow:0 5px 22px #24382c1a;font-size:12px}.brand-theme a{color:#648373}.brand-theme .printdoc{font-family:'RF Dewi',Arial,sans-serif;color:#354238;border-color:var(--line)}
.brand-theme .audit{max-width:1050px}.brand-theme .sourcelist{font-size:13px}.brand-theme .step>b{font-size:15px;color:#7b9885;background:#eff5f0;width:29px;height:29px;border-radius:7px;display:grid;place-items:center}
@media(min-width:1700px){body.brand-theme{font-size:14px}.brand-theme .content{padding-top:34px}.brand-theme h1{font-size:28px}}
@media(max-width:1150px){.brand-theme aside{width:205px;padding:22px 12px}.brand-theme .app{grid-template-columns:205px minmax(0,1fr)}.brand-theme .content{padding:25px 23px 50px}.brand-theme header{padding:15px 23px}.brand-theme nav button{padding:10px;font-size:11px}.brand-theme .brand{padding-left:8px;padding-right:0;gap:8px}.brand-theme .brand-name{font-size:16px}.brand-theme .brand-name span{font-size:9px}.brand-theme .hero{padding:19px}.brand-theme h1{font-size:24px}.brand-theme .metric{padding:16px}.brand-theme .metric b{font-size:28px}}
@media(max-width:760px){.brand-theme .app{display:block}.brand-theme aside{position:static;width:auto;padding:17px 16px;border-right:0;border-bottom:1px solid var(--line);display:block;overflow:visible}.brand-theme .brand{padding:0;margin:0;border:0;gap:10px}.brand-theme .brand img{width:32px;height:32px}.brand-theme .brand-name{font-size:17px}.brand-theme .brand-name span{display:block;font-size:9px;margin-top:4px}.brand-theme nav{gap:4px;margin-top:15px;padding-bottom:4px;overflow-x:auto}.brand-theme nav button{white-space:nowrap;font-size:12px;min-height:42px;padding:10px 12px}.brand-theme .navlabel,.brand-theme .sidefoot{display:none}.brand-theme header{padding:12px 16px;min-height:0}.brand-theme .headright{width:100%;gap:8px;justify-content:flex-start}.brand-theme .headright select{max-width:100%;font-size:12px;min-height:38px}.brand-theme .demo{font-size:9px}.brand-theme .crumb{display:block;font-size:10px;max-width:85px}.brand-theme .content{padding:24px 16px 45px}.brand-theme h1{font-size:24px}.brand-theme h2{font-size:16px}.brand-theme .hero{padding:18px;box-shadow:none}.brand-theme .hero h2{font-size:17px}.brand-theme .hero p{font-size:12px}.brand-theme .hero button{white-space:normal}.brand-theme .flow span{font-size:10px}.brand-theme .metric{padding:15px 13px}.brand-theme .metric b{font-size:28px}.brand-theme .metric span{font-size:11px}.brand-theme .panel{padding:17px}.brand-theme .item{padding:15px;gap:12px}.brand-theme .item h3{font-size:14px}.brand-theme .item p{font-size:12px}.brand-theme .tabs{gap:20px}.brand-theme .tabs button{font-size:12px}.brand-theme button{font-size:13px;min-height:43px}.brand-theme button.small{font-size:11px}.brand-theme input,.brand-theme textarea,.brand-theme select{font-size:16px}.brand-theme label,.brand-theme .check,.brand-theme .notice{font-size:13px}.brand-theme .tag{font-size:10px}.brand-theme .topnote{font-size:11px}.brand-theme .column>h3{font-size:12px}.brand-theme .task h3{font-size:14px}.brand-theme .task p{font-size:12px}.brand-theme .modalbody{padding:18px}.brand-theme .modalhead,.brand-theme .modalfoot{padding:16px}.brand-theme .barrow{font-size:11px;grid-template-columns:100px 1fr 75px}.brand-theme .tablewrap table{font-size:12px}.brand-theme .printdoc{padding:10px}}
@media print{body.brand-theme{background:#fff;color:#000}.brand-theme .jobpage{break-after:page}.brand-theme .jobpage:last-child{break-after:auto}.brand-theme th{background:#eee;color:#000}.brand-theme .printdoc{border:0}}
