@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--red:#ee3025;--ink:#151619;--muted:#83858d;--line:#ececef;--paper:#fff;--bg:#f7f7f8;--green:#12865a;--yellow:#c58a17;--blue:#4a6bc0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:13px}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:#111214;color:white;padding:25px 15px;display:flex;flex-direction:column;z-index:4}.brand{padding:0 5px 29px;border-bottom:1px solid #28292c}.brand img{display:block;width:144px;height:auto}.brand span{display:block;color:#85868c;font-size:9px;letter-spacing:1.8px;margin:9px 0 0 9px}.store-label{font-size:9px;letter-spacing:1.4px;color:#76777e;padding:27px 11px 10px}.sidebar nav{display:grid;gap:6px}.nav{border:0;background:none;color:#a7a8ad;text-align:left;padding:12px 11px;font:600 12px inherit;border-radius:6px;cursor:pointer}.nav span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:5px;margin-right:9px;font-size:15px}.nav.active{background:#28292d;color:#fff}.nav.active span{background:#ef392e;color:white}.side-foot{margin-top:auto;border-top:1px solid #2a2b2e;padding:17px 4px 0;display:flex;align-items:center;gap:10px;font-size:11px}.side-foot b,.side-foot small{display:block}.side-foot small{color:#8e8f95;margin-top:3px;font-size:10px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#303136;color:white;font-weight:700}.online{margin-left:auto;width:7px;height:7px;background:#46c485;border-radius:50%}main{margin-left:228px;min-height:100vh}.topbar{height:57px;background:white;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#777983}.breadcrumbs{display:flex;gap:11px;align-items:center}.breadcrumbs span{color:#c2c3c8}.breadcrumbs b{color:#292a2f;font-weight:600}.top-right{display:flex;align-items:center;gap:8px}.live-dot,.eyebrow i,.stock-key i,.chart-legend i{width:7px;height:7px;border-radius:50%;background:#23ae70;display:inline-block}.top-date{margin-left:14px;color:#aaa}.page{display:none;max-width:1640px;margin:auto;padding:33px 35px 44px}.active-page{display:block}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{font-size:9px;letter-spacing:1.35px;font-weight:700;color:#8b8c92;margin-bottom:8px;display:flex;align-items:center;gap:7px}.eyebrow i{background:var(--red);width:6px;height:6px}h1,h2,p{margin:0}h1{font:800 27px Manrope,sans-serif;letter-spacing:-1px} .page-heading p{color:#84858b;margin-top:6px;font-size:12px}.outline-button,.filter-button{background:white;border:1px solid #e7e7ea;border-radius:5px;color:#4d4e54;padding:10px 13px;font:600 11px 'DM Sans';cursor:pointer}.outline-button{display:flex;gap:8px;align-items:center}.outline-button:hover,.filter-button:hover{border-color:#bbb}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:19px}.metric{height:80px;background:white;border:1px solid #eeeeef;border-radius:6px;display:flex;align-items:center;padding:14px;gap:11px}.metric-icon{font-style:normal;width:31px;height:31px;border-radius:6px;display:grid;place-items:center;font:700 10px 'DM Sans';flex:none}.metric-icon.red{color:var(--red);background:#fff0ef}.metric-icon.yellow{color:var(--yellow);background:#fff7e8}.metric-icon.green{color:var(--green);background:#eaf8f0}.metric-icon.blue{color:var(--blue);background:#eff2ff}.metric small,.metric strong{display:block}.metric small{font-size:10px;color:#82838a;margin-bottom:4px}.metric strong{font:800 17px Manrope;letter-spacing:-.5px}.metric-note{margin-left:auto;font-size:9px;color:#9a9ba1;align-self:flex-end;padding-bottom:3px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 313px;gap:15px;align-items:start}.panel{background:white;border:1px solid #ececef;border-radius:6px;overflow:hidden}.catalog{min-height:590px}.section-title{padding:17px 19px 13px;display:flex;align-items:center;justify-content:space-between}.section-title h2{font:700 14px Manrope;letter-spacing:-.25px}.section-title p{font-size:10px;color:#92939a;margin-top:4px}.count-badge{font-size:9px;color:#71727a;background:#f4f4f5;padding:6px 9px;border-radius:4px}.searchline{display:flex;gap:9px;padding:0 19px 12px}.search{height:34px;display:flex;align-items:center;border:1px solid #e8e8eb;border-radius:5px;flex:1;color:#9b9ca2;padding:0 9px;gap:8px}.search>span{font-size:20px;line-height:10px}.search input{border:0;outline:none;flex:1;min-width:50px;font:11px 'DM Sans';color:#333}.search input::placeholder{color:#aaa}.search kbd{font:9px 'DM Sans';border:1px solid #eee;border-radius:3px;padding:3px 5px;color:#a8a8ad}.filter-button{display:flex;gap:8px;align-items:center;height:34px;padding:0 10px;font-size:10px}.filter-button b{color:#999}.categories{display:flex;gap:5px;padding:0 19px 12px;overflow-x:auto}.category{border:1px solid #ededf0;background:white;color:#777982;padding:6px 10px;border-radius:4px;white-space:nowrap;font:600 9px 'DM Sans';cursor:pointer}.category.active{color:#fff;background:#17181b;border-color:#17181b}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:8px;letter-spacing:.7px;color:#999aa1;font-weight:700;background:#fafafb;padding:10px 12px;border-top:1px solid #f0f0f2;border-bottom:1px solid #f0f0f2;white-space:nowrap}th:first-child,td:first-child{padding-left:19px}td{padding:11px 12px;border-bottom:1px solid #f0f0f2;font-size:10px;white-space:nowrap}tbody tr:last-child td{border-bottom:0}.product-cell{display:flex;align-items:center;gap:9px}.product-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:5px;background:#f5f5f6;font-size:16px}.product-cell b{font-size:10px;font-weight:600;display:block}.product-cell small{font-size:9px;color:#a1a2a8;display:block;margin-top:3px}.sku{font:9px 'DM Sans';color:#8a8b91}.stock-pill{display:inline-flex;align-items:center;gap:5px;background:#ecf8f1;color:#188358;border-radius:3px;padding:5px 7px;font-size:9px}.stock-pill i{width:5px;height:5px;background:currentColor;border-radius:50%}.stock-pill.low{color:#bd7912;background:#fff6e4}.price{font-weight:700;color:#37383e}.add-btn{width:26px;height:26px;border:1px solid #e6e6e9;background:#fff;border-radius:4px;color:#3d3e43;font-size:17px;cursor:pointer;line-height:1}.add-btn:hover{border-color:var(--red);color:var(--red)}.catalog-foot{border-top:1px solid #f1f1f2;padding:11px 19px;display:flex;justify-content:space-between;font-size:9px;color:#999aa0}.stock-key{display:flex;gap:5px;align-items:center}.stock-key i{width:5px;height:5px;background:#e8a832}.order{position:sticky;top:12px;min-height:520px;display:flex;flex-direction:column}.order-title{padding:17px 16px 12px}.order-title .eyebrow{font-size:8px;margin-bottom:6px}.order-title h2{font-size:13px}.cart-count{background:#f4f4f5;border-radius:4px;padding:5px 8px;font-size:9px;color:#777}.customer{padding:0 16px 13px;display:grid;gap:7px}.customer label{font-size:8px;letter-spacing:.65px;color:#85868c;font-weight:700;margin-top:6px}.customer label span{font-weight:400;color:#aaa;letter-spacing:0;margin-left:4px}.customer input,.customer select{width:100%;height:32px;border:1px solid #e8e8eb;border-radius:4px;background:white;padding:0 9px;font:10px 'DM Sans';color:#555;outline:none}.cart-items{padding:0 16px;max-height:235px;overflow:auto}.cart-row{display:grid;grid-template-columns:1fr auto;gap:4px;padding:11px 0;border-top:1px solid #f0f0f2}.cart-row b{font-size:10px}.cart-row small{font-size:9px;color:#92939a}.cart-controls{display:flex;align-items:center;gap:8px;grid-column:1 / -1;margin-top:4px}.qty-btn{width:21px;height:21px;background:white;border:1px solid #e8e8eb;border-radius:4px;cursor:pointer;color:#555}.qty-number{font-size:10px;min-width:13px;text-align:center}.cart-price{margin-left:auto;font-size:10px;font-weight:700}.remove-btn{border:0;background:none;color:#aaa;cursor:pointer;font-size:14px}.cart-empty{min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9a9ba0;text-align:center;padding:12px}.cart-empty div{font-size:22px;opacity:.65;margin-bottom:9px}.cart-empty b{color:#66676e;font-size:10px}.cart-empty span{font-size:9px;margin-top:5px}.order-bottom{margin-top:auto;padding:13px 16px 16px;border-top:1px solid #eeeef0}.total-line{display:flex;justify-content:space-between;align-items:center;margin:5px 0;color:#85868d;font-size:10px}.total-line b{color:#4c4d53;font-size:10px}.total-line.grand{margin:12px 0 14px;padding-top:11px;border-top:1px solid #eeeef0;color:#34353a;font-weight:700}.total-line.grand b{font:800 18px Manrope;color:#17181b}.finish-button{height:39px;width:100%;border:0;border-radius:4px;background:var(--red);color:white;font:700 11px 'DM Sans';cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.finish-button:disabled{background:#e3e3e6;color:#aaa;cursor:not-allowed}.finish-button:not(:disabled):hover{background:#d7261d}.finish-button span{font-size:16px}.stock-hint{display:block;text-align:center;color:#aaa;font-size:8px;margin-top:9px}.empty{padding:30px;text-align:center;color:#9a9ba0;font-size:11px}.hidden{display:none!important}.period-select{display:grid;gap:5px}.period-select span{font-size:8px;letter-spacing:.7px;font-weight:700;color:#91929a}.period-select select{height:34px;border:1px solid #e7e7ea;border-radius:5px;background:white;padding:0 9px;color:#555;font:10px 'DM Sans'}.dash-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.dash-card{background:white;border:1px solid #ececef;border-radius:6px;padding:15px}.dash-card>div{display:flex;justify-content:space-between;align-items:center}.dash-card>div>span{font-size:8px;letter-spacing:.6px;color:#85868c;font-weight:700}.dash-card>.metric-icon{width:28px;height:28px}.dash-card>strong{display:block;font:800 21px Manrope;letter-spacing:-.7px;margin:12px 0 4px}.dash-card>small{font-size:9px;color:#999aa0}.dash-grid{display:grid;grid-template-columns:1.22fr .78fr;gap:14px;margin-bottom:14px}.chart-panel,.ranking-panel{min-height:285px}.chart-panel .section-title,.ranking-panel .section-title{padding-bottom:2px}.chart-legend{font-size:9px;color:#8a8b92;display:flex;align-items:center;gap:6px}.chart-legend i{background:var(--red);width:7px;height:7px}.chart{height:205px;padding:15px 17px 27px;display:flex;align-items:stretch;gap:10px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 48px,#f1f1f2 49px,#f1f1f2 50px);margin:6px 19px 0;position:relative}.chart-bar-wrap{flex:1;display:flex;align-items:flex-end;justify-content:center;position:relative;min-width:8px}.chart-bar{width:min(27px,75%);background:#ee3025;border-radius:3px 3px 0 0;min-height:3px;opacity:.86;position:relative}.chart-bar:hover{opacity:1}.chart-label{position:absolute;bottom:-19px;font-size:8px;color:#9b9ca2}.chart-empty{width:100%;height:100%;display:grid;place-items:center;color:#9a9ba0;font-size:10px}.ranking-panel{display:flex;flex-direction:column}.trophy{color:#c69227;font-size:18px}.rank-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:13px 19px;border-top:1px solid #f0f0f2}.rank-number{width:22px;height:22px;border-radius:50%;background:#f4f4f5;color:#777;font:700 10px Manrope;display:grid;place-items:center}.rank-number.first{background:#fff5dc;color:#bb841b}.rank-person b{font-size:10px;display:block}.rank-person small{color:#999aa0;font-size:8px}.rank-value{text-align:right;font-size:10px;font-weight:700}.rank-bar{grid-column:2/4;height:3px;background:#f0f0f1;border-radius:4px;margin-top:-2px;overflow:hidden}.rank-bar i{height:100%;background:var(--red);display:block;border-radius:4px}.ranking-foot{margin-top:auto;padding:10px 19px;color:#a0a0a5;font-size:8px;border-top:1px solid #f0f0f2}.recent-panel .section-title{padding-bottom:14px}.recent-panel{margin-bottom:12px}.recent-panel td{font-size:9px}.sale-id{font-weight:700;color:#4b4c52}.sale-status{background:#eaf8f0;color:#1a8758;padding:4px 6px;border-radius:3px;font-size:8px}.local-note{font-size:9px;color:#999aa0;padding:7px 2px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:12px 17px;background:#17181b;color:white;border-radius:5px;font-size:11px;opacity:0;pointer-events:none;transition:.2s;z-index:9}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.page{padding-left:48px;padding-right:48px}.workspace{grid-template-columns:minmax(0,1fr) 350px}.metric{height:88px}td{padding-top:14px;padding-bottom:14px}.catalog{min-height:650px}}
@media(max-width:1080px){.workspace{grid-template-columns:minmax(0,1fr) 290px}.page{padding:26px 20px}.dash-grid{grid-template-columns:1fr}.ranking-panel{min-height:270px}}
@media(max-width:780px){.sidebar{width:64px;padding:16px 8px}.brand{padding:3px 0 20px}.brand img{width:48px;object-fit:cover;object-position:left;height:30px}.brand span,.store-label,.nav:not(.active){display:none}.nav{padding:8px;text-align:center;font-size:0}.nav span{margin:0}.sidebar nav{margin-top:15px}.side-foot{justify-content:center}.side-foot>div:not(.avatar),.online{display:none}main{margin-left:64px}.topbar{padding:0 15px}.top-right{font-size:0}.top-date{font-size:9px}.page{padding:22px 13px}.workspace{grid-template-columns:1fr}.order{position:static;min-height:410px}.metric-row{gap:7px}.metric{padding:9px;gap:7px;height:72px}.metric-icon{width:25px;height:25px}.metric-note{display:none}.metric small{font-size:8px}.metric strong{font-size:14px}.dash-metrics{grid-template-columns:repeat(2,1fr)}h1{font-size:23px}.dash-card{padding:11px}.dash-card>strong{font-size:18px}.page-heading p{max-width:260px;line-height:1.5}.chart{gap:4px;margin-left:12px;margin-right:12px}.chart-bar{width:65%}}
