*{box-sizing:border-box} :root{--ink:#182720;--muted:#7c8981;--line:#e8ede9;--green:#1c7656;--green-dark:#155b43;--bg:#f5f7f5;--white:#fff;--soft:#edf5f0}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:#13251f;color:#fff;padding:27px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 29px}.brand-mark{width:38px;height:38px;border-radius:12px;background:#d8f0df;color:#16573e;display:grid;place-items:center;font:800 22px Manrope}.brand b{display:block;font:800 17px Manrope;letter-spacing:-.5px}.brand small{font-size:9px;letter-spacing:1.5px;color:#91a89a}.shop-chip{display:flex;align-items:center;gap:10px;padding:12px;background:#20382e;border:1px solid #345043;border-radius:12px;margin-bottom:27px}.shop-avatar{width:31px;height:31px;border-radius:9px;background:#d8e9dd;color:#1c7656;display:grid;place-items:center}.shop-chip b,.shop-chip small{display:block}.shop-chip b{font-size:12px}.shop-chip small{font-size:10px;color:#9cb0a3;margin-top:3px}.online-dot{width:7px;height:7px;border-radius:50%;background:#6dd6a0;margin-left:auto}.nav{display:grid;gap:6px}.nav-link{border:0;background:transparent;color:#a9bbb0;text-align:left;padding:12px 13px;border-radius:9px;font-weight:600;display:flex;align-items:center;gap:13px}.nav-link span{font-size:18px;width:19px;text-align:center}.nav-link:hover,.nav-link.active{background:#294438;color:#fff}.sidebar-bottom{margin-top:auto}.help-card{background:#20382e;border:1px solid #345043;padding:16px;border-radius:13px}.help-icon{color:#b6e5c4;font-size:22px}.help-card b{display:block;margin:8px 0 5px}.help-card p{color:#a7b9ae;font-size:11px;line-height:1.6;margin:0 0 10px}.text-button{border:0;background:none;color:var(--green);font-weight:700;font-size:12px;padding:4px 0}.help-card .text-button{color:#b9e7c6}.side-foot{font-size:9px;letter-spacing:1.3px;color:#6e8879;margin:19px 5px 0}.side-foot span{padding:0 5px}.main{margin-left:248px;padding:0 38px 55px;max-width:1700px}.topbar{height:91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:29px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#91a097}.topbar h1{font:800 23px Manrope;margin:5px 0 0;letter-spacing:-.7px}.top-actions{display:flex;gap:12px;align-items:center}.icon-btn{height:38px;width:38px;border:1px solid var(--line);border-radius:10px;background:white;color:#496054;font-size:18px}.owner-pill{border:1px solid var(--line);background:white;border-radius:30px;padding:5px 13px 5px 6px;display:flex;align-items:center;gap:9px;text-align:left}.owner-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e4f1e8;color:#246c4c;font-weight:800}.owner-pill b,.owner-pill small{display:block}.owner-pill b{font-size:11px}.owner-pill small{font-size:9px;color:var(--muted);margin-top:2px}.view{display:none}.view.active{display:block}.welcome-row,.section-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}.welcome-row h2,.section-intro h2{font:800 21px Manrope;margin:0 0 6px;letter-spacing:-.7px}.welcome-row h2 span{color:#d69c37}.welcome-row p,.section-intro p{margin:0;color:var(--muted);font-size:12px}.btn{border:0;border-radius:9px;padding:11px 16px;font-weight:700;font-size:12px}.btn-primary{background:var(--green);color:white;box-shadow:0 4px 10px #1c765622}.btn-primary:hover{background:var(--green-dark)}.btn-secondary{background:#edf3ef;color:#315a46;border:1px solid #dce9df}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card,.panel{background:white;border:1px solid var(--line);border-radius:13px}.stat-card{padding:17px 18px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#68776e;font-size:11px;font-weight:600}.stat-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;font-size:16px}.green{background:#e9f5ed;color:#268153}.blue{background:#eaf1fa;color:#477bb8}.amber{background:#fff4df;color:#c08a27}.violet{background:#f1edfa;color:#8064ad}.stat-card strong{display:block;font:800 25px Manrope;margin:13px 0 4px;letter-spacing:-.8px}.stat-card small{font-size:10px;color:#99a39d}.content-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:16px;margin-bottom:16px}.panel{padding:18px 19px;margin-bottom:16px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}.panel-head h3{font:800 14px Manrope;margin:0 0 5px}.panel-head p{font-size:10px;color:#98a29c;margin:0}.badge{font-size:9px;letter-spacing:.7px;font-weight:800;border-radius:20px;padding:6px 9px;white-space:nowrap}.badge-soft{background:#f2f5f3;color:#829087}.badge-green{background:#eaf5ed;color:#28794f}.chart{height:190px;display:flex;align-items:flex-end;gap:12px;padding:10px 8px 0;border-bottom:1px solid #e9eeea}.chart-col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}.chart-bar-wrap{height:145px;width:100%;display:flex;align-items:flex-end;justify-content:center}.chart-bar{width:min(34px,70%);background:#dcebe1;border-radius:6px 6px 2px 2px;min-height:3px;position:relative}.chart-bar.today{background:#23835d}.chart-label{font-size:9px;color:#9aa59e}.chart-value{font-size:9px;color:#6c7d72}.compact-list{display:grid;gap:11px}.compact-item{display:flex;align-items:center;gap:10px}.product-dot{width:32px;height:32px;border-radius:9px;background:#f0f5f1;color:#59836a;display:grid;place-items:center}.compact-item div:nth-child(2){flex:1}.compact-item b{display:block;font-size:11px}.compact-item small{color:#9aa49e;font-size:9px}.stock-count{font-size:10px;font-weight:700;color:#bd7e2d}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#9aa49e;font-size:9px;letter-spacing:.8px;font-weight:800;padding:0 12px 11px;border-bottom:1px solid #edf0ed}td{padding:12px;border-bottom:1px solid #f0f2f0;font-size:11px;color:#58675e}tbody tr:last-child td{border-bottom:0}td b{color:#28382e;font-size:11px}.empty-state{text-align:center;color:#9ba69f;padding:25px!important}.date-control{display:grid;gap:5px}.date-control label{font-size:9px;color:#98a49b;font-weight:800;letter-spacing:.8px}.date-control input,.toolbar input,.toolbar select,.form-grid input,.form-grid select,.full-label input,.field input,.field select{border:1px solid #e3eae5;background:#fff;border-radius:8px;padding:10px 11px;outline:none;color:#2b3a31}.date-control input:focus,input:focus,select:focus{border-color:#8ab89b;box-shadow:0 0 0 3px #e6f2e9}.sales-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.summary-tile{background:#eaf3ed;border:1px solid #dcebe0;padding:13px 16px;border-radius:11px}.summary-tile span{display:block;color:#698073;font-size:10px}.summary-tile strong{display:block;font:800 19px Manrope;margin-top:5px;color:#205e43}.two-col{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label,.full-label,.field{display:grid;gap:6px;font-size:10px;font-weight:700;color:#718077}.form-grid input,.form-grid select,.full-label input,.field input,.field select{width:100%;font-size:11px;font-weight:400}.divider{height:1px;background:#edf0ed;margin:17px 0}.line-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:11px}.sale-line{display:grid;grid-template-columns:minmax(120px,1fr) 65px 85px 26px;gap:7px;align-items:center;margin-bottom:8px}.sale-line select,.sale-line input{width:100%;min-width:0;border:1px solid #e3eae5;border-radius:7px;padding:9px 7px;font-size:10px;background:white}.remove-line{border:0;background:#fff0ed;color:#bd6558;border-radius:7px;height:29px}.bill-total{border-top:1px solid #edf0ed;margin:15px 0;padding-top:13px;display:flex;justify-content:space-between;align-items:center;color:#66766c;font-size:11px}.bill-total strong{font:800 21px Manrope;color:#205e43}.full-label{margin:12px 0}.full-btn{width:100%;margin-top:8px}.reconcile-box{background:#f1f6f2;border-radius:10px;padding:14px;margin-bottom:15px}.reconcile-box span{display:block;color:#77867c;font-size:10px}.reconcile-box strong{display:block;font:800 24px Manrope;color:#205e43;margin-top:5px}.reconcile-result{padding:11px;border-radius:8px;background:#f5f7f5;color:#7d8981;font-size:10px;line-height:1.5;margin-top:11px}.reconcile-result.good{background:#eaf6ed;color:#267447}.reconcile-result.bad{background:#fff1e9;color:#a65d2e}.tip-box{background:#fff9eb;border:1px solid #f5ebd2;border-radius:9px;padding:12px;margin-top:19px}.tip-box b{font-size:10px;color:#a77b2e}.tip-box p{font-size:10px;line-height:1.5;color:#907e5d;margin:5px 0 0}.toolbar{display:flex;gap:10px;margin-bottom:14px}.toolbar input{width:min(360px,100%);font-size:11px}.toolbar select{font-size:11px}.status{font-size:9px;font-weight:800;border-radius:20px;padding:5px 8px}.status.ok{background:#eaf5ed;color:#328052}.status.low{background:#fff5e4;color:#b27c25}.status.out{background:#fff0ed;color:#ba6255}.row-actions{display:flex;gap:8px}.mini-btn{border:0;background:#f0f4f1;color:#51705c;border-radius:6px;padding:6px 8px;font-size:10px;font-weight:700}.mini-btn.danger{background:#fff0ed;color:#b65c50}.customer-cell{display:flex;align-items:center;gap:9px}.customer-avatar{width:29px;height:29px;border-radius:50%;background:#edf4ef;color:#367653;display:grid;place-items:center;font-size:10px;font-weight:800}.insight-banner{background:#173b2b;color:white;border-radius:13px;padding:20px;display:flex;gap:14px;align-items:center;margin-bottom:16px}.sparkle{font-size:30px;color:#c6e7ce}.insight-banner b{font:700 14px Manrope}.insight-banner p{margin:5px 0 0;color:#b6cbbd;font-size:10px}.insight-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin-bottom:16px}.insight-card{background:white;border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;gap:12px}.insight-symbol{width:34px;height:34px;border-radius:10px;background:#edf5ef;color:#337b51;display:grid;place-items:center;font-size:17px;flex-shrink:0}.insight-card h4{margin:1px 0 6px;font:800 12px Manrope}.insight-card p{margin:0;color:#75837a;font-size:10px;line-height:1.6}.disclaimer{font-size:10px;color:#9aa49e;line-height:1.5}.modal-backdrop{position:fixed;inset:0;background:#10231dcc;display:none;align-items:center;justify-content:center;padding:18px;z-index:20}.modal-backdrop.show{display:flex}.modal{width:min(470px,100%);background:white;border-radius:15px;padding:22px;box-shadow:0 20px 70px #0003}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal-head h3{font:800 19px Manrope;margin:5px 0}.close-btn{border:0;background:#f0f3f1;border-radius:8px;width:30px;height:30px;font-size:20px;color:#627269}.modal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-form-grid .wide{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.toast{position:fixed;right:25px;bottom:25px;background:#173b2b;color:white;padding:12px 17px;border-radius:9px;box-shadow:0 8px 25px #0002;font-size:11px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;z-index:30}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1050px){.main{padding:0 22px 40px}.sidebar{width:215px}.main{margin-left:215px}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:12px;display:block}.brand{padding:0 5px 10px}.shop-chip,.sidebar-bottom{display:none}.nav{display:flex;overflow-x:auto;gap:4px}.nav-link{white-space:nowrap;padding:9px 11px;font-size:11px}.nav-link span{font-size:14px}.main{margin:0;padding:0 14px 35px}.topbar{height:75px;margin-bottom:20px}.topbar h1{font-size:20px}.owner-pill{display:none}.welcome-row,.section-intro{align-items:flex-start;flex-direction:column}.stat-grid{gap:9px}.stat-card{padding:13px}.stat-card strong{font-size:21px}.content-grid,.two-col{grid-template-columns:1fr}.sales-summary{gap:7px}.summary-tile{padding:11px}.summary-tile strong{font-size:16px}.insight-grid{grid-template-columns:1fr}.sale-line{grid-template-columns:minmax(100px,1fr) 55px 70px 25px}.form-grid{grid-template-columns:1fr 1fr}.panel{padding:14px}.chart{gap:5px}.chart-value{font-size:8px}.toolbar{flex-wrap:wrap}.toolbar input{width:100%}}
.support-chat{position:fixed;right:24px;bottom:24px;z-index:19}.support-launcher{width:58px;height:58px;border:0;border-radius:50%;background:var(--green);color:#fff;font-size:25px;font-weight:700;box-shadow:0 8px 24px #10231e40}.support-launcher:hover{background:var(--green-dark)}.support-panel{position:absolute;right:0;bottom:72px;width:min(360px,calc(100vw - 28px));height:min(480px,calc(100vh - 110px));background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 55px #10231e30;display:flex;flex-direction:column;overflow:hidden}.support-panel[hidden]{display:none}.support-header{background:#173b2b;color:#fff;padding:15px 17px;display:flex;justify-content:space-between;align-items:center}.support-header strong,.support-header small{display:block}.support-header strong{font-size:14px}.support-header small{margin-top:3px;color:#b6cbbd;font-size:10px}.support-close{width:30px;height:30px;border:0;border-radius:8px;background:#ffffff20;color:#fff;font-size:22px}.support-messages{flex:1;overflow:auto;padding:15px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.support-message{max-width:88%;padding:10px 12px;border-radius:12px;font-size:12px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.support-bot{background:#f0f5f1;color:#34463a;border-bottom-left-radius:4px}.support-user{align-self:flex-end;background:#1c7656;color:#fff;border-bottom-right-radius:4px}.support-action{display:block;margin-top:9px;padding:7px 10px;border:1px solid #cfe2d4;border-radius:8px;background:white;color:#1c7656;font-size:11px;font-weight:700}.support-form{display:flex;gap:8px;padding:11px;border-top:1px solid var(--line)}.support-form input{flex:1;min-width:0;border:1px solid #e3eae5;border-radius:9px;padding:10px;font-size:12px;outline:none}.support-form input:focus{border-color:#8ab89b;box-shadow:0 0 0 3px #e6f2e9}.support-form button{border:0;border-radius:9px;padding:0 13px;background:var(--green);color:#fff;font-size:11px;font-weight:700}.support-form button:disabled{opacity:.6;cursor:wait}@media(max-width:760px){.support-chat{right:14px;bottom:14px}.support-launcher{width:54px;height:54px}}