:root{--graphite:#292d2b;--ink:#252927;--muted:#747b77;--line:#e3e6e4;--bg:#f5f6f5;--white:#fff;--green:#356f4d;--green-light:#edf5f0;--red:#9a4b4b;--amber:#906b27}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit;color:inherit}.site-header{height:70px;background:var(--graphite);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100% - 1120px)/2));position:sticky;top:0;z-index:30}.brand{border:0;background:none;color:#fff;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;padding:0}.logo{width:38px;height:38px;border-radius:9px 9px 9px 3px;display:grid;place-items:center;background:#fff;color:var(--graphite);font-weight:800}.brand b,.brand small{display:block}.brand b{font-size:14px}.brand small{font-size:10px;color:#aeb4b1;margin-top:1px}.profile{font-size:12px;color:#d5d8d6;display:flex;gap:8px;align-items:center}.profile i{width:7px;height:7px;border-radius:50%;background:#65b47f;box-shadow:0 0 0 3px #3a4b42}.page{width:min(1080px,calc(100% - 36px));margin:0 auto;padding:48px 0 100px}.page-title{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}.overline{font-size:9px;letter-spacing:.17em;font-weight:800;color:var(--green)}h1{font-size:35px;letter-spacing:-.04em;line-height:1.1;margin:6px 0 7px}h2,h3,p{margin-top:0}.page-title p{color:var(--muted);margin:0}.btn{border:0;border-radius:9px;min-height:44px;padding:0 17px;font-weight:700;cursor:pointer}.primary{background:var(--graphite);color:#fff}.primary:hover{background:#151817}.primary:disabled{opacity:.4;cursor:not-allowed}.secondary{background:#fff;border:1px solid var(--line)}.summary{display:grid;grid-template-columns:1fr 1fr 2fr;border:1px solid var(--line);border-radius:11px;background:#eef0ef;margin-bottom:14px;overflow:hidden}.summary>div{padding:14px 18px;display:flex;align-items:baseline;border-right:1px solid #dde1de}.summary>div:last-child{border:0}.summary small{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.summary b{font-size:16px;margin-left:auto}.orders{display:grid;gap:8px}.order{width:100%;min-height:100px;padding:17px 47px 17px 18px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:left;display:flex;align-items:center;position:relative;cursor:pointer;transition:.15s}.order:hover{border-color:#bcc3bf;box-shadow:0 7px 22px rgba(31,35,33,.06);transform:translateY(-1px)}.order>div:first-child{flex:1}.order small{font-size:10px;color:var(--muted)}.order>div:first-child>small{font-family:ui-monospace,monospace;color:var(--green);font-weight:700}.order h3{font-size:15px;margin:5px 0 3px}.order p{font-size:10px;color:var(--muted);margin:0}.order-right{display:grid;grid-template-columns:110px 110px;gap:6px 15px;text-align:right;align-items:center}.order-right small{grid-column:1/3}.order>i{position:absolute;right:18px;font-size:23px;font-style:normal;color:#9da3a0}.badge{justify-self:end;padding:5px 9px;border-radius:20px;font-size:9px;font-weight:800}.badge.new{background:#edf1f7;color:#506885}.badge.confirmed{background:#f8f1df;color:var(--amber)}.badge.shipped{background:var(--green-light);color:var(--green)}.badge.cancelled{background:#f7eded;color:var(--red)}.mobile-new{display:none}.empty{text-align:center;padding:60px 20px;color:var(--muted)}.empty b{display:block;color:var(--ink);font-size:16px}.empty p{margin:5px 0 0}.flow{min-height:calc(100vh - 70px);padding-bottom:98px}.flow-header{height:104px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:17px;padding:0 max(20px,calc((100% - 980px)/2))}.flow-header h1{font-size:25px;margin:4px 0 0}.round{width:39px;height:39px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer}.steps{margin-left:auto;display:flex;align-items:center}.steps b{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#eef0ef;color:#9ba19e;font-size:10px}.steps b.on{background:var(--graphite);color:#fff}.steps i{width:30px;height:1px;background:#d9ddda}.flow-body{width:min(920px,calc(100% - 36px));margin:0 auto;padding:28px 0}.search{height:52px;background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;padding:0 15px;gap:10px;position:sticky;top:84px;z-index:10}.search>span{font-size:23px}.search input{border:0;outline:0;flex:1;background:transparent}.search small{background:#eef0ef;color:var(--muted);padding:2px 7px;border-radius:5px}.category{margin-top:25px}.category>header{display:flex;align-items:center;gap:9px;margin-bottom:8px}.category h2{font-size:16px;margin:0}.category header span{font-size:9px;background:#e8ebe9;color:var(--muted);padding:3px 7px;border-radius:10px}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product{min-height:108px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px;display:flex;align-items:center;gap:12px}.product.selected{border-color:#8baa96;box-shadow:inset 3px 0 var(--green)}.product>div:first-child{flex:1;min-width:0}.product small{font:700 9px ui-monospace,monospace;color:#929995}.product h3{font-size:13px;line-height:1.35;margin:4px 0 8px}.product p{font-size:10px;color:var(--muted);margin:0}.product p b{font-size:12px;color:var(--green)}.counter{height:36px;display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:#f8f9f8;overflow:hidden}.counter button{width:33px;height:100%;border:0;background:transparent;cursor:pointer;font-size:16px}.counter button:disabled{opacity:.25}.counter b{width:25px;text-align:center;font-size:12px}.flow-footer{position:fixed;left:0;right:0;bottom:0;z-index:25;min-height:82px;background:rgba(255,255,255,.96);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:13px max(20px,calc((100% - 920px)/2));backdrop-filter:blur(10px)}.flow-footer>div:first-child small,.flow-footer>div:first-child b{display:block}.flow-footer>div:first-child small{font-size:9px;color:var(--muted)}.flow-footer>div:first-child b{font-size:18px}.flow-footer>div:last-child{display:flex;gap:7px}.flow-footer .primary{min-width:165px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:12px}.section-title{display:flex;gap:12px;margin-bottom:18px}.section-title>span{width:27px;height:27px;border-radius:7px;background:#eef1ef;display:grid;place-items:center;font-size:11px;font-weight:800}.section-title h2{font-size:16px;margin:0 0 2px}.section-title p{font-size:10px;color:var(--muted);margin:0}.customers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.customer{min-height:84px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:13px;text-align:left;display:flex;gap:11px;cursor:pointer}.customer.selected{border-color:var(--graphite);background:#fafbfa;box-shadow:0 0 0 1px var(--graphite)}.customer>i{width:16px;height:16px;border:1px solid #adb3af;border-radius:50%;margin-top:2px}.customer.selected>i{border:5px solid var(--graphite)}.customer b,.customer span,.customer small{display:block}.customer b{font-size:12px}.customer span,.customer small{font-size:9px;color:var(--muted);margin-top:3px}.date-input{height:46px;width:min(330px,100%);border:1px solid var(--line);background:#fafbfa;border-radius:8px;padding:0 13px;font-weight:600}.review{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.review>header{padding:21px;display:flex;gap:13px;align-items:center;border-bottom:1px solid var(--line)}.review>header>span{width:36px;height:36px;border-radius:50%;background:#edf2ef;color:var(--green);display:grid;place-items:center;font-weight:800}.review header small{font-size:8px;letter-spacing:.12em;color:var(--green);font-weight:800}.review h2{font-size:17px;margin:2px 0}.review header p{margin:0;font-size:10px;color:var(--muted)}.review-list{padding:7px 21px}.review-list>div{display:grid;grid-template-columns:1fr 55px 110px;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #eceeec;font-size:11px}.review-list>div:first-child{border:0}.review-list span b,.review-list span small{display:block}.review-list span small{font-size:8px;color:var(--muted);margin-top:3px}.review-list strong,.review-list>div>b{text-align:right}.review>footer{background:#eef1ef;padding:17px 21px;display:flex;align-items:center;justify-content:space-between}.review>footer span{font-weight:700}.review>footer small{display:block;font-size:8px;color:var(--muted);font-weight:400}.review>footer>b{font-size:20px}.sync{text-align:center;color:var(--muted);font-size:9px;margin-top:12px}.overlay{position:fixed;inset:0;background:rgba(25,28,26,.45);z-index:50;display:flex;justify-content:flex-end}.drawer{height:100%;width:min(460px,100%);background:#fff;padding:24px;overflow:auto;box-shadow:-15px 0 40px rgba(0,0,0,.12)}.drawer>header{display:flex;justify-content:space-between;padding-bottom:17px;border-bottom:1px solid var(--line)}.drawer header small{font-size:8px;color:var(--green);letter-spacing:.12em;font-weight:800}.drawer h2{font-size:21px;margin:4px 0}.drawer .close{width:33px;height:33px;border:0;border-radius:50%;background:#eff1ef;font-size:20px;cursor:pointer}.drawer-info{display:grid;grid-template-columns:1.4fr 1fr;gap:8px;padding:17px 0}.drawer-info>div{background:var(--bg);border-radius:8px;padding:11px}.drawer-info small,.drawer-info b,.drawer-info span{display:block}.drawer-info small,.drawer-info span{font-size:8px;color:var(--muted)}.drawer-info b{font-size:11px;margin:4px 0}.status-field{display:block;margin-bottom:20px}.status-field>span{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.status-field select{width:100%;height:41px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 10px}.drawer-items h3{font-size:13px}.drawer-items>div{display:grid;grid-template-columns:1fr 40px 85px;gap:8px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:10px}.drawer-items span b,.drawer-items span small{display:block}.drawer-items span small{font-size:8px;color:var(--muted);margin-top:3px}.drawer-items strong,.drawer-items>div>b{text-align:right}.drawer>footer{margin-top:17px;background:var(--graphite);color:#fff;border-radius:9px;padding:15px;display:flex;justify-content:space-between;align-items:center}.drawer>footer b{font-size:18px}.toast{position:fixed;right:18px;bottom:18px;z-index:80;background:var(--graphite);color:#fff;border-radius:8px;padding:12px 16px;box-shadow:0 8px 25px rgba(0,0,0,.2);font-size:11px}.loading{height:70vh;display:grid;place-content:center;justify-items:center;color:var(--muted)}.loading .logo{background:var(--graphite);color:#fff}.setup-error{width:min(500px,calc(100% - 32px));margin:10vh auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px}.setup-error h1{font-size:23px}.setup-error p{color:var(--muted)}.setup-error a{color:var(--green);font-weight:700}
@media(max-width:700px){.site-header{height:61px;padding:0 14px}.brand small,.profile{display:none}.page{width:calc(100% - 24px);padding:28px 0 90px}.page-title{align-items:flex-start}.page-title .new-order{display:none}h1{font-size:28px}.summary{grid-template-columns:1fr 1fr}.summary>div:last-child{grid-column:1/3;border-top:1px solid #dde1de}.order{min-height:116px;padding:14px 34px 14px 13px;align-items:flex-start}.order-right{grid-template-columns:auto;gap:5px}.order-right>*{justify-self:end}.order-right small{grid-column:auto}.mobile-new{display:block;position:fixed;left:12px;right:12px;bottom:12px;width:calc(100% - 24px);z-index:20}.flow{padding-bottom:110px}.flow-header{height:88px;padding:0 12px;gap:10px}.flow-header h1{font-size:19px}.steps i{width:12px}.steps b{width:24px;height:24px}.flow-body{width:calc(100% - 24px);padding:16px 0}.search{top:73px}.product-grid,.customers{grid-template-columns:1fr}.product{min-height:101px;padding:13px}.flow-footer{min-height:97px;padding:10px 12px;align-items:flex-end}.flow-footer .primary{min-width:0}.flow-footer .btn{padding:0 11px;font-size:10px}.panel{padding:16px}.review-list{padding:5px 13px}.review-list>div{grid-template-columns:1fr 38px 82px}.review>header,.review>footer{padding:16px}.drawer{padding:18px}.drawer-info{grid-template-columns:1fr}.toast{left:12px;right:12px;bottom:12px;text-align:center}}
