:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#202d3a;background:#f6f7f9;font-synthesis:none;--accent:#e75d38;--muted:#7d8793;--line:#e8ebef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:11px 16px;background:#edf0f3;color:#2e3b49;font-weight:600}button:hover{filter:brightness(.97)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--accent);color:white}.secondary{background:white;border:1px solid var(--line)}.wide{width:100%}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:750;letter-spacing:-.5px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:5px;color:#8b939d}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--accent);color:white;font-size:26px;font-weight:800}.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#182d2b;color:white;padding:70px 12%;display:flex;flex-direction:column;justify-content:center}.login-story .brand{margin-bottom:90px}.login-story h1{font-size:clamp(32px,4vw,58px);line-height:1.18;font-weight:650;letter-spacing:-2px;margin:0 0 26px}.login-story p{color:#b3c6c1;line-height:1.8;max-width:360px}.story-tag{margin-top:55px;font-size:12px;color:#c3d9cd;border-top:1px solid #38504b;padding-top:24px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-form form{max-width:350px;width:100%}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:750}h2{font-size:24px;letter-spacing:-.7px}.login-form p,small{color:var(--muted);line-height:1.6}.login-form small{font-size:11px}label{display:block;font-size:12px;font-weight:600;margin:15px 0;color:#52606e}input,select,textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dce1e7;border-radius:8px;background:#fff;margin-top:6px;color:#283545;font-size:13px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #e75d3814}textarea{min-height:75px}#shell{min-height:100vh}#shell:not([hidden]){display:flex}aside{width:236px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:32px 18px;display:flex;flex-direction:column;z-index:3}aside .brand{font-size:20px;margin:0 7px 43px}.nav-label{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#a0a7b0;margin:0 15px 12px}nav button{display:flex;align-items:center;gap:13px;text-align:left;width:100%;background:none;margin:4px 0;font-weight:500;font-size:13px;padding:13px 15px;color:#74808d}nav button svg{width:18px;height:18px}nav button.active{background:#fff0e9;color:#cf4c28;font-weight:650}.sidebar-bottom{margin-top:auto;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:24px;font-size:12px}.avatar{background:#f4e9dc;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:11px;color:#9b7044}#identity small{display:block;font-size:10px}.icon-button{padding:7px 9px;background:none;font-size:18px}.sidebar-bottom .icon-button{margin-left:auto}main{margin-left:236px;width:calc(100% - 236px)}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{font-size:12px;color:#84909a}.breadcrumb span{padding:0 13px;color:#bac2ca}.breadcrumb b{color:#3c4855;font-weight:500}.connection{font-size:11px;background:#eef8f2;border:1px solid #d8eddf;color:#40865f;border-radius:25px;padding:6px 11px;display:flex;align-items:center;gap:6px}.connection i{background:#5baf7a;width:6px;height:6px;border-radius:50%}.connection.down{background:#fff0ed;color:#bf422b}.offline{background:#fff2d8;color:#8c5a12;padding:12px 36px;font-size:12px}#view{padding:32px 36px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.page-heading h1{font-size:27px;letter-spacing:-.8px;margin:0 0 8px;font-weight:700}.page-heading p{font-size:12px;color:#8b939d;margin:0}.actions{display:flex;gap:9px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:20px}.stat label{margin:0 0 12px;font-size:11px;font-weight:500;color:#8a939e}.stat strong{font-size:25px;font-weight:650;letter-spacing:-.7px}.stat small{display:block;margin-top:10px;font-size:10px}.panel{background:white;border:1px solid var(--line);border-radius:13px;margin-bottom:20px;overflow:hidden}.panel-title{padding:19px 22px;border-bottom:1px solid #f0f1f4;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:650}.panel-content{padding:20px}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:20px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{font-size:9px;letter-spacing:.7px;font-weight:650;text-align:left;color:#8a949f;background:#fafbfc;padding:13px 20px}td{padding:16px 20px;border-bottom:1px solid #f1f3f5}tbody tr:last-child td{border-bottom:0}td small{display:block;font-size:10px}td.number,th.number{text-align:right}td button{font-size:10px;padding:7px 9px}.badge{display:inline-block;padding:5px 9px;border-radius:6px;font-size:10px;background:#edf3fa;color:#5680a8;font-weight:550}.badge.orange{background:#fff1e6;color:#cb813c}.badge.green{background:#eaf5ef;color:#4d8a69}.badge.red{background:#ffedeb;color:#c05c54}.badge.gray{background:#f0f1f3;color:#7d8693}.empty{padding:45px;text-align:center;color:#8b96a1;font-size:13px}.search-row{display:flex;gap:12px;margin-bottom:20px}.search-row input{max-width:420px;margin:0}.search-row select{max-width:190px;margin:0}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:17px}.product-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.product-image{height:115px;background:#f0eee7;display:flex;align-items:center;justify-content:center;color:#8f9e8a}.product-image svg{width:48px;height:48px;stroke-width:1}.product-card:nth-child(3n+2) .product-image{background:#eaf0f2;color:#8b9fa5}.product-card:nth-child(3n+3) .product-image{background:#f3ebe6;color:#b29989}.product-info{padding:17px}.product-info h3{font-size:13px;margin:9px 0}.product-info .price{color:var(--accent);font-weight:700;font-size:17px;margin:12px 0}.product-info small{font-size:10px}.product-info button{margin-top:12px;width:100%;font-size:11px}.notice{padding:12px 15px;background:#fff7e9;border:1px solid #f0e3c7;border-radius:8px;color:#987445;font-size:12px;line-height:1.6;margin:15px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.muted{color:var(--muted);font-size:12px}.error{color:#c34b43;font-size:12px;white-space:pre-wrap}.order-line{border:1px solid var(--line);border-radius:10px;padding:16px;margin:15px 0}.group{background:#f8f9fb;padding:12px;margin:12px 0;border-radius:8px}.group h4{font-size:12px;margin:0 0 10px}.allocation{display:grid;grid-template-columns:1.4fr .7fr .8fr 28px;gap:8px;align-items:end;margin:7px 0}.allocation select,.allocation input{font-size:11px;padding:9px;margin:0}.allocation .direct-fields{grid-column:1/4;display:flex;gap:8px}.allocation .direct-fields[hidden]{display:none}.add-small{font-size:10px;padding:7px 10px;background:white;border:1px dashed #d0d7dd;color:#788693}.detail-kv{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;font-size:12px}.detail-kv small{display:block;font-size:10px;margin-bottom:8px}.status-list{padding:0 20px}.status-item{padding:17px 0;border-bottom:1px solid var(--line);font-size:12px;display:flex;justify-content:space-between;gap:10px}.status-item:last-child{border:0}.status-item small{display:block;font-size:10px;margin-top:5px}.link{background:none;padding:0;color:var(--accent);font-size:12px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:19px;margin:0}dialog{padding:0;border:0;border-radius:15px;max-height:90vh;width:min(850px,94vw);box-shadow:0 20px 90px #192d3b33}dialog::backdrop{background:#20313b70;backdrop-filter:blur(2px)}#modal-body{padding:8px 25px 25px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:8;background:#243c34;color:white;padding:13px 25px;border-radius:10px;font-size:12px;max-width:90vw}.mobile{display:none}[hidden]{display:none!important}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}#view{padding:25px}.detail-kv{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.login-screen{grid-template-columns:1fr}.login-story{padding:30px}.login-story .brand{margin-bottom:30px}.login-story h1{font-size:32px}.login-story p,.story-tag{display:none}.login-form{padding:35px 25px}aside{transform:translateX(-100%);transition:transform .2s}aside.open{transform:translateX(0);box-shadow:20px 0 60px #0002}main{margin:0;width:100%}.mobile{display:block}.topbar{padding:0 15px;height:64px;gap:10px}.breadcrumb{margin-right:auto;font-size:10px}.breadcrumb span{padding:0 6px}.connection{font-size:9px;padding:5px 7px}#view{padding:23px 16px}.page-heading{align-items:flex-start}.page-heading h1{font-size:23px}.page-heading p{line-height:1.5;max-width:230px}.page-heading button{font-size:11px;padding:10px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:21px}.form-grid{grid-template-columns:1fr}.allocation{grid-template-columns:1fr .6fr 28px}.allocation select.source{grid-column:1/3}.allocation .direct-fields{grid-column:1/3;flex-direction:column}.allocation .remove{grid-row:1;grid-column:3}.detail-kv{gap:12px}.cards{grid-template-columns:repeat(2,1fr);gap:10px}.product-image{height:90px}.product-info{padding:12px}.product-info h3{line-height:1.5}.search-row{flex-wrap:wrap}}
.stat strong{font-size:clamp(18px,1.7vw,25px);white-space:nowrap}@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr}}
