@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#17251e;background:#f5f7f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--green:#174b36;--green2:#246849;--muted:#7b8981;--line:#e8ede9;--white:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.65;cursor:wait}.app-shell{min-height:100vh}.brand-mark{display:flex;align-items:center;gap:10px;font-family:Manrope,sans-serif;font-weight:800;font-size:20px;letter-spacing:-.7px;color:#153e2d}.brand-mark svg{color:#2c8059}.lite{color:#91a89b;font-weight:600}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:27px 17px 15px;display:flex;flex-direction:column;z-index:5}.sidebar .brand-mark{padding:0 8px 43px}.shop-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#9aa69e}.shop-label{padding:0 12px 13px}.sidebar nav{display:grid;gap:5px}.nav-item{height:46px;border:0;background:transparent;border-radius:9px;color:#718077;display:flex;align-items:center;gap:12px;padding:0 13px;text-align:left;font-size:14px;font-weight:600}.nav-item.active{background:#eaf4ee;color:#1b593c}.nav-count{margin-left:auto;border-radius:7px;background:#fff0dc;color:#a96318;font-size:11px;padding:3px 7px}.side-bottom{margin-top:auto;border-top:1px solid var(--line);padding:17px 1px 0;display:flex;align-items:center;gap:9px;min-width:0}.account-dot{width:35px;height:35px;border-radius:50%;background:#dceee3;color:#23573b;display:grid;place-items:center;font-weight:700;flex-shrink:0}.account-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.account-info strong{font-size:12px}.account-info span{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:135px}.main-area{margin-left:250px;min-height:100vh}.topbar{height:88px;padding:0 36px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.topbar h1{font:800 22px Manrope,sans-serif;margin:4px 0 0;letter-spacing:-.7px}.top-actions{display:flex;align-items:center;gap:11px;color:#698274;font-size:12px}.live-dot{width:7px;height:7px;border-radius:50%;background:#3db37a;box-shadow:0 0 0 4px #e4f5eb}.content{max-width:1380px;margin:auto;padding:29px 36px 20px}.welcome-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.welcome-row h2{font:800 22px Manrope,sans-serif;letter-spacing:-.7px;margin:0 0 6px}.muted{color:var(--muted)}.welcome-row p{font-size:13px;margin:0}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;border-radius:9px;padding:11px 15px;font-size:13px;font-weight:700;white-space:nowrap;transition:background .15s}.primary{background:var(--green);color:#fff}.primary:hover{background:#236344}.secondary{background:#f0f4f1;color:#354c3e}.full{width:100%;padding:13px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:13px}.stat-card{padding:18px 18px 17px;min-width:0}.stat-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;margin-bottom:17px}.stat-icon.green{color:#28744d;background:#e6f4eb}.stat-icon.blue{color:#3875bf;background:#eaf2ff}.stat-icon.purple{color:#8462bd;background:#f1ebff}.stat-icon.orange{color:#bf7c2c;background:#fff2df}.stat-label{font-size:12px;color:#7b8981;font-weight:600}.stat-value{font:800 clamp(19px,2vw,26px) Manrope,sans-serif;letter-spacing:-.8px;margin:8px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-note{font-size:11px;color:#9aa69e}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:17px;margin-bottom:18px}.panel{padding:21px 20px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.panel-head h3{font:800 15px Manrope,sans-serif;margin:0 0 5px;letter-spacing:-.25px}.small{font-size:11px;margin:0}.text-btn,.link{border:0;background:transparent;color:#28714c;font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:5px;padding:4px}.low-list{display:grid}.low-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #f0f3f0}.low-row:first-child{border-top:0}.grow{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.grow strong{font-size:12px}.grow span{font-size:10px;color:var(--muted)}.product-avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:9px;background:#eef4ef;color:#56836a;flex-shrink:0}.product-avatar.warning{background:#fff4e5;color:#c28437}.stock-pill{font-size:10px;font-weight:700;color:#a8661d;background:#fff3e2;border-radius:6px;padding:6px 8px;white-space:nowrap}.quick-actions{display:grid}.quick-actions>button{border:0;border-top:1px solid #f0f3f0;background:#fff;padding:13px 0;display:flex;align-items:center;text-align:left;gap:11px;color:#859289}.quick-actions>button:first-child{border-top:0}.quick-actions>button>span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.quick-actions strong{font-size:12px;color:#24372c}.quick-actions small{font-size:10px;color:#8a968e}.quick-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#e7f5eb;color:#2a8053}.quick-icon.blue{background:#eaf2ff;color:#4379bf}.quick-icon.purple{background:#f1ebff;color:#8663bd}.recent-panel{margin-bottom:22px}.empty{padding:24px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#6e7f73}.empty-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf5ef;color:#4a8a62;margin-bottom:12px}.empty strong{font-size:13px;color:#33493a}.empty p{font-size:11px;line-height:1.6;max-width:270px;margin:6px 0 0;color:#8a978e}.table-scroll{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;letter-spacing:.8px;color:#9aa69e;font-weight:700;padding:12px 10px;border-bottom:1px solid var(--line)}td{font-size:12px;color:#59685e;padding:13px 10px;border-bottom:1px solid #f0f3f0}tbody tr:last-child td{border-bottom:0}td strong{color:#2b3d31}.table-product{display:flex;align-items:center;gap:10px}.table-product>div:last-child{display:flex;flex-direction:column;gap:4px}.table-product strong{font-size:12px}.table-product span{font-size:10px;color:#9aa69e}.price-cell{font-weight:700;color:#285b3e}.profit-cell{font-weight:700;color:#39885b}.inventory-panel{padding:0}.inventory-toolbar{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.searchbox{display:flex;align-items:center;gap:9px;border:1px solid #e3eae5;background:#fafcfb;border-radius:8px;padding:0 11px;width:min(360px,100%);color:#8b998f}.searchbox input{border:0;outline:0;background:transparent;width:100%;padding:10px 0;font-size:12px}.status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;border-radius:20px;padding:6px 8px}.status span{width:6px;height:6px;border-radius:50%}.warning-status{background:#fff4e5;color:#a66b21}.warning-status span{background:#d99437}.good-status{background:#e9f6ed;color:#34754a}.good-status span{background:#4caa6a}.row-actions{display:flex;gap:2px}.icon-btn{border:0;background:transparent;color:#829087;display:grid;place-items:center;border-radius:7px;width:32px;height:32px;flex-shrink:0}.icon-btn:hover{background:#eff5f0;color:#285e3e}.danger-icon:hover{background:#fff0ef;color:#b64d43}.sales-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-stats .stat-card{padding:16px}.sales-stats .stat-icon{margin-bottom:10px}footer{text-align:center;color:#a1aba4;font-size:10px;padding:12px 0 5px}footer span{padding:0 5px}.modal-backdrop{position:fixed;inset:0;background:#10251c88;z-index:20;display:grid;place-items:center;padding:18px}.modal{width:min(500px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;padding:24px;box-shadow:0 22px 70px #10251c2b}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.modal-head h2{font:800 19px Manrope,sans-serif;margin:0}.stack{display:grid;gap:15px}.stack label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#405247}.stack input,.stack select{width:100%;border:1px solid #dfe7e1;border-radius:8px;padding:11px 12px;color:#263a2d;outline:none;background:#fff;font-size:13px}.stack input:focus,.stack select:focus{border-color:#4d8c67;box-shadow:0 0 0 3px #e5f2e9}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.optional{font-weight:400;color:#98a39b}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:7px}.notice{padding:10px 12px;border-radius:8px;background:#fff5e8;color:#8b5a1e;font-size:12px;line-height:1.5}.notice.subtle{background:#eff6f1;color:#567360}.error-banner,.success-toast{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:9px;font-size:12px;margin-bottom:16px}.error-banner{background:#fff0ee;color:#a63f35}.error-banner span{flex:1}.error-banner button{border:0;background:transparent;color:inherit;display:grid;place-items:center}.success-toast{position:fixed;right:25px;bottom:25px;z-index:30;background:#194a34;color:#fff;padding:13px 17px;box-shadow:0 10px 35px #183c2b30}.auth-wrap,.setup-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 10% 0%,#e6f2e9,transparent 40%),#f5f7f5}.auth-card,.setup-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:34px;width:min(440px,100%);box-shadow:0 18px 55px #2548320b}.auth-card .brand-mark,.setup-card .brand-mark{margin-bottom:29px}.auth-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:#e8f5ec;color:#246744;margin-bottom:17px}.auth-card h1,.setup-card h1{font:800 25px/1.25 Manrope,sans-serif;letter-spacing:-.8px;margin:0 0 9px}.auth-card>p,.setup-card>p{font-size:13px;line-height:1.6}.auth-card .stack{margin-top:22px}.auth-switch{text-align:center;margin:19px 0 0;font-size:12px}.tiny{text-align:center;font-size:10px!important;margin-bottom:0}.setup-card{width:min(580px,100%)}.setup-card ol{padding-left:22px;color:#4e6054;font-size:13px;line-height:1.8}.setup-card a{color:#236c48;font-weight:700}.setup-card code{font-size:11px;background:#eff4f0;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}.loading{min-height:100vh;display:grid;place-content:center;justify-items:center;color:#74877a;font-size:13px}.spinner{width:27px;height:27px;border:3px solid #dce9df;border-top-color:#286d48;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-menu,.nav-scrim{display:none}@media(max-width:1150px){.content{padding:25px 24px}.topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.stat-value{font-size:25px}}@media(max-width:760px){.sidebar{transform:translate(-100%);transition:transform .2s ease;width:260px;box-shadow:none}.sidebar.show{transform:translate(0);box-shadow:12px 0 35px #10251c18}.nav-scrim{display:block;position:fixed;inset:0;background:#10251c55;z-index:4}.main-area{margin-left:0}.topbar{height:76px;padding:0 16px;gap:10px}.mobile-menu{display:grid}.topbar>div:nth-child(2){flex:1}.topbar h1{font-size:19px}.eyebrow{font-size:8px}.content{padding:22px 15px}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-row h2{font-size:20px}.welcome-row>.primary{width:100%}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-icon{width:34px;height:34px;margin-bottom:12px}.stat-value{font-size:21px}.stat-note{font-size:10px}.panel{padding:16px 13px}.dashboard-grid{gap:12px}.panel-head{align-items:flex-start}.top-actions{gap:8px}.sync-label{display:none}.inventory-toolbar{padding:13px;align-items:stretch;flex-direction:column}.searchbox{width:100%}.sales-stats{grid-template-columns:1fr}.sales-stats .stat-card{display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:center}.sales-stats .stat-icon{grid-row:span 2;margin:0}.sales-stats .stat-value{grid-column:2;margin:2px 0}.form-grid{grid-template-columns:1fr 1fr;gap:9px}.modal{padding:20px}.auth-card,.setup-card{padding:25px 21px}.success-toast{left:15px;right:15px;bottom:15px;justify-content:center}}@media(max-width:390px){.stats-grid{grid-template-columns:1fr 1fr}.stat-value{font-size:19px}.form-grid{grid-template-columns:1fr}.top-actions{gap:2px}.welcome-row h2{font-size:19px}}.pwa-controls{position:fixed;right:18px;bottom:18px;z-index:15;display:grid;justify-items:end;gap:9px;font-family:DM Sans,sans-serif}.pwa-install-button,.pwa-update-note button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d5e6da;border-radius:999px;background:#fff;color:#174b36;padding:10px 14px;box-shadow:0 7px 24px #173d2a20;font-size:12px;font-weight:700}.pwa-install-button:hover,.pwa-update-note button:hover{background:#edf6f0}.pwa-install-help,.pwa-update-note{width:min(320px,calc(100vw - 28px));border:1px solid #e0e9e2;border-radius:13px;background:#fff;box-shadow:0 14px 38px #173d2a24;padding:14px;color:#31483a;font-size:12px;line-height:1.5}.pwa-help-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pwa-help-heading strong{font-size:13px;color:#183d2c}.pwa-help-close{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:7px;background:#f2f6f3;color:#5d7465}.pwa-install-help p{margin:10px 0 0}.pwa-install-help b{color:#234d35}.pwa-help-note{color:#748579;font-size:11px}.pwa-update-note{display:grid;gap:10px}.pwa-update-note button{justify-self:start;border-color:#174b36;background:#174b36;color:#fff;box-shadow:none}.pwa-update-note button:hover{background:#246849}.pwa-update-note button:disabled{opacity:.7}@media(max-width:420px){.pwa-controls{right:12px;bottom:12px}.pwa-install-button{padding:9px 12px;font-size:11px}.pwa-install-help,.pwa-update-note{width:min(300px,calc(100vw - 24px))}}
