@font-face{font-family:Inter;src:local('Inter')}*{box-sizing:border-box}body{margin:0;background:#f3f5f9;color:#18243b;font:14px/1.5 Inter,Segoe UI,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:#285add}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.25}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:15px}.loading{padding:60px}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#111e35;color:#c3ccdb;padding:28px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:18px;font-weight:750;margin:0 12px 36px}.logo{display:grid;place-items:center;width:35px;height:35px;background:#3566ec;color:white;border-radius:10px;font-size:21px;overflow:hidden;flex:none}.logo img{width:100%;height:100%;object-fit:contain;display:block}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#8c9dbb;font-weight:500}.nav-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#7285a5;margin:15px 14px 8px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:12px;color:#adbad0;background:none;border-radius:8px;padding:11px 13px;text-align:left}.nav button:hover{background:#1b2c48;color:#fff}.nav button.active{background:#2d5bda;color:#fff}.nav svg,.icon svg{width:19px;height:19px;flex:none}.nav .count{margin-left:auto;border-radius:5px;padding:0 6px;background:#ffffff18;font-size:11px}.sidebar-bottom{margin-top:auto;padding:24px 12px 0;font-size:12px;color:#8a9bb8}.sidebar-bottom b{display:block;color:#d4ddec;margin-bottom:4px}.topbar{height:78px;display:flex;justify-content:space-between;align-items:center;padding:0 36px;border-bottom:1px solid #e3e8f0;background:#fff;gap:20px}.topbar .subtitle{color:#768398;font-size:12px}.account{display:flex;align-items:center;gap:12px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#eaf0ff;color:#315bd6;border-radius:50%;font-weight:700}.account strong{font-size:13px}.account small{display:block;color:#7c8799;font-size:11px}.page{padding:32px 36px 48px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}.eyebrow{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:1.6px;color:#5472a4;margin-bottom:7px}.muted{color:#728098}.page-head p{margin-top:8px;color:#738096}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#2d5bda;color:#fff;padding:10px 16px;border-radius:8px;min-height:40px;font-weight:600;font-size:13px;white-space:nowrap}.btn:hover{background:#244dbd}.btn.secondary{background:#fff;color:#34435b;border:1px solid #dce3ed}.btn.secondary:hover{background:#f3f6fb}.btn.danger{background:#fff0f0;color:#b83340;border:1px solid #f1d3d6}.btn.small{padding:6px 10px;min-height:32px;font-size:12px}.link-button{background:none;color:#2c5fd5;padding:0;text-align:left;font-weight:600}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.metric{background:#fff;border:1px solid #e2e7ef;border-radius:12px;padding:21px}.metric-top{display:flex;justify-content:space-between;color:#758299;font-size:12px}.metric-icon{background:#eef3ff;color:#4269d3;border-radius:8px;padding:7px;display:flex}.metric strong{display:block;font-size:31px;letter-spacing:-1px;margin:8px 0 3px}.metric small{font-size:11px;color:#8c96a7}.panel{background:#fff;border:1px solid #e0e6ef;border-radius:12px;overflow:hidden;margin-bottom:22px}.panel-head{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f5}.panel-head p{font-size:12px;color:#7b879a;margin-top:3px}.two-cols{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:22px}.filters{padding:16px 20px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e9edf4}.filters input{max-width:340px;flex:1;min-width:160px}.filters select{width:auto;min-width:160px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}th{font-size:10px;letter-spacing:.65px;text-transform:uppercase;color:#8a94a5;font-weight:600;padding:13px 20px;background:#fafbfe;border-bottom:1px solid #edf0f5}td{padding:16px 20px;border-bottom:1px solid #eef1f6;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}td .sub{display:block;font-size:11px;color:#8490a4;margin-top:3px}.numeric{text-align:right;font-variant-numeric:tabular-nums}.name-cell{white-space:normal;min-width:190px;max-width:300px;font-weight:550}.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.2;padding:6px 9px;border-radius:5px;font-weight:550;background:#edf2f9;color:#667996;white-space:nowrap}.badge:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.badge.green{background:#e9f7f0;color:#22815e}.badge.blue{background:#edf2ff;color:#4268d0}.badge.orange{background:#fff4e4;color:#a97426}.badge.purple{background:#f2eefd;color:#8863c7}.badge.red{background:#feeeee;color:#bc5560}.empty{padding:52px 24px;text-align:center;max-width:560px;margin:auto}.empty .empty-icon{background:#eff3fb;color:#6680b3;width:58px;height:58px;border-radius:16px;display:grid;place-items:center;margin:0 auto 16px}.empty svg{width:28px;height:28px}.empty p{color:#7d899b;margin:9px 0 20px}.empty h3{font-size:17px}.steps{padding:6px 22px 18px}.step{padding:17px 0;display:flex;gap:14px;border-bottom:1px solid #edf1f6}.step:last-child{border:0}.step-index{border:1px solid #dce5f3;background:#f6f9ff;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex:none;font-size:12px;color:#6481ba}.step-index.done{color:#278360;background:#eaf7ef;border-color:#eaf7ef}.step p{font-size:12px;color:#8692a4;margin-top:3px}.activity{padding:0 22px}.activity-row{padding:15px 0;border-bottom:1px solid #edf0f5;display:flex;gap:12px;align-items:start}.activity-row:last-child{border:0}.activity-dot{height:7px;width:7px;border-radius:50%;background:#668be3;margin-top:7px;flex:none}.activity-row small{color:#8b95a5;font-size:11px}.notice{background:#eef4ff;border:1px solid #dce7fc;border-radius:9px;padding:13px 16px;color:#557199;font-size:12px;margin-bottom:20px}.notice.warning{background:#fff8e9;border-color:#f3e3bc;color:#896b35}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.board-column{background:#eaf0f7;border-radius:12px;padding:15px}.board-column>h3{display:flex;justify-content:space-between;margin-bottom:15px;font-size:13px}.job{background:white;border:1px solid #dce4f0;border-radius:9px;padding:18px;margin-bottom:12px}.job p{margin:10px 0;color:#718096;font-size:12px}.job .btn{margin-top:15px;width:100%}label{display:block;font-size:12px;font-weight:600;color:#56647a}input,select,textarea{display:block;background:white;color:#26354c;border:1px solid #d9e1ec;border-radius:7px;padding:10px 11px;width:100%;min-height:40px;margin-top:6px}input:focus,select:focus,textarea:focus{outline:2px solid #b9ccfa;border-color:#6a92ee}input[type=checkbox]{display:inline-block;width:16px;min-height:16px;height:16px;margin:0;accent-color:#2d5bda}.check{display:flex;align-items:center;gap:9px;margin-top:10px;font-weight:450}textarea{resize:vertical;min-height:80px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.full{grid-column:1/-1}dialog{border:0;padding:0;border-radius:14px;width:min(740px,calc(100% - 32px));max-height:calc(100dvh - 40px);box-shadow:0 24px 100px #13233e40;color:#18243b}dialog.wide{width:min(980px,calc(100% - 32px))}dialog::backdrop{background:#14223e70;backdrop-filter:blur(2px)}.dialog-head{padding:21px 26px;border-bottom:1px solid #e7ebf2;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:2}.dialog-head h2{font-size:20px}.close{background:#f3f6fa;border-radius:50%;width:32px;height:32px;font-size:23px;color:#69768b}.dialog-body{padding:25px 26px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px;border-top:1px solid #e7ebf2;background:#fafbfe;position:sticky;bottom:0;z-index:2}.form-error{color:#b93449;background:#fff1f3;border-radius:7px;padding:10px 13px;margin:0 0 18px;font-size:13px}.form-error:empty{display:none}.section-label{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#8590a2;margin:24px 0 12px}.order-line{display:grid;grid-template-columns:minmax(140px,1fr) 110px 80px 120px 32px;gap:9px;align-items:end;margin-bottom:12px}.order-line .close{margin-bottom:4px}.total{font-weight:750;font-size:22px;text-align:right;margin:18px 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.detail-grid span{display:block;font-size:11px;color:#8a94a5;margin-bottom:4px}.inventory-input{min-width:90px;max-width:110px;margin:0}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-brand{background:#111e35;color:#fff;padding:8vh 12%;display:flex;flex-direction:column;justify-content:center;position:relative}.auth-brand .brand{margin:0 0 60px}.auth-brand h1{font-size:44px;line-height:1.15;letter-spacing:-1.5px}.auth-brand p{color:#96a7c3;line-height:1.8;margin:24px 0;max-width:360px}.auth-feature{padding:17px 0;border-top:1px solid #ffffff12;display:flex;align-items:center;gap:15px;color:#ccdaef;font-size:13px}.auth-feature svg{width:22px;height:22px;flex:none}.auth-form-wrap{display:grid;place-items:center;padding:35px}.auth-form{width:100%;max-width:370px}.auth-form h2{font-size:27px;margin-bottom:10px}.auth-form>p{color:#8190a4;margin-bottom:28px}.auth-form label{margin-bottom:16px}.auth-form .btn{width:100%;margin-top:8px}.auth-foot{font-size:11px;color:#8b96a6;margin-top:22px;line-height:1.8}.view-note{margin:15px 0;color:#8591a4;font-size:12px}#toast{position:fixed;bottom:24px;right:24px;background:#172943;color:white;padding:13px 20px;border-radius:9px;box-shadow:0 6px 30px #10244330;z-index:100;max-width:calc(100% - 48px);display:none}.mobile-brand{display:none}
@media(min-width:1650px){.page{padding-top:40px}.metrics{gap:22px}}
@media(max-width:1100px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:25px 10px}.brand{font-size:16px}.page{padding:26px 22px}.topbar{padding:0 22px}.metrics{grid-template-columns:repeat(2,1fr)}.two-cols{grid-template-columns:1fr}.board{grid-template-columns:1fr}.auth-brand h1{font-size:35px}}
@media(max-width:720px){.shell{display:block}.sidebar{height:auto;position:relative;padding:12px 16px}.sidebar .brand{margin:0 0 12px}.brand small,.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow-x:auto;padding-bottom:3px}.nav button{white-space:nowrap;padding:9px 11px;font-size:12px}.nav button svg{width:16px}.nav .count{display:none}.topbar{height:62px;padding:0 16px}.topbar>.subtitle{font-size:11px}.account{gap:7px}.account strong{max-width:110px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account .avatar{display:none}.page{padding:22px 16px}h1{font-size:25px}.page-head{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-head>.actions{width:100%}.metrics{gap:10px}.metric{padding:15px}.metric strong{font-size:27px}.metric-top{font-size:11px}.metric-icon{display:none}.panel-head{padding:16px}.filters{padding:12px}.filters select{min-width:120px;max-width:100%}.form-grid,.detail-grid{grid-template-columns:1fr}.dialog-body{padding:20px 16px}.dialog-head{padding:18px 16px}.dialog-footer{padding:15px 16px}.order-line{grid-template-columns:minmax(0,1fr) 32px;border-bottom:1px solid #e6ebf3;padding-bottom:14px}.order-line label:first-child{grid-column:1/-1}.order-line label:nth-child(2),.order-line label:nth-child(3),.order-line label:nth-child(4){grid-column:1}.order-line .close{grid-column:2;grid-row:2/5}.auth{display:block}.auth-brand{padding:24px}.auth-brand .brand{margin:0}.auth-brand h1,.auth-brand p,.auth-feature{display:none}.auth-form-wrap{padding:42px 24px}.notice{font-size:12px}th,td{padding:13px 16px}}

.logo{background:#fff;overflow:hidden;flex:none}.logo img{width:43px;height:43px;object-fit:contain}
.workspace,.panel,.two-cols>div,.board-column{min-width:0}
@media(max-width:1100px){.two-cols,.board{grid-template-columns:minmax(0,1fr)}}

.order-line .combo{position:relative}
.combo-list{position:absolute;left:0;right:0;top:100%;z-index:40;background:#fff;border:1px solid #d5dce8;border-radius:8px;box-shadow:0 10px 28px #12315c22;max-height:230px;overflow:auto;padding:5px;margin-top:4px}
.combo-list button{display:block;width:100%;text-align:left;background:none;border:0;border-radius:6px;padding:8px 10px;cursor:pointer}
.combo-list button:hover{background:#eef3fb}
.combo-list strong{display:block;font-size:13px}
.combo-list span{font-size:11px;color:#8090a6}
