:root{--paper:#f8f9f8;--surface:#fff;--ink:#24332f;--muted:#7a8580;--dark:#1b352f;--line:#e6eae8;--amber:#bb864a;--shadow:0 9px 30px rgba(26,47,40,.045)}*{box-sizing:border-box}body{font-family:'DM Sans',sans-serif;color:var(--ink);margin:0;background:var(--paper)}button,input,textarea,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin-top:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:253px;background:#fff;position:sticky;top:0;height:100vh;flex-shrink:0;border-right:1px solid var(--line);padding:31px 17px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:800;letter-spacing:1px;padding:3px 13px 42px}.brand-icon{width:45px;height:45px;display:flex;align-items:center;justify-content:center;background:#1c362e;color:#fff;font-family:Georgia,serif;font-size:17px;letter-spacing:0;border-radius:12px}.brand small{display:block;color:#b8854a;font-size:9px;letter-spacing:2.2px;margin-top:6px}.aside-label{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#abb1ad;padding:0 17px 14px}.menu{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:13px;padding:14px 17px;border:0;background:transparent;text-align:left;color:#697873;font-weight:600;border-radius:11px}.nav-item>span{font-size:18px;width:20px;text-align:center}.nav-item.active{color:#214334;background:#eaf2ec}.nav-item:hover{background:#f4f6f4}.nav-item small{margin-left:auto;color:#91a09a;font-size:11px}.side-footer{margin-top:auto;padding:19px 13px 0;border-top:1px solid var(--line);font-size:11px;font-weight:800;letter-spacing:.4px}.side-footer small{display:block;color:var(--muted);line-height:1.65;font-size:11px;font-weight:400;margin:10px 0 0}.dot{display:inline-block;background:#d49c47;width:8px;height:8px;border-radius:100%;margin-right:7px}.workspace{flex:1;min-width:0}.top{height:79px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 42px}.top-left{font-size:13px;color:#7b8581}.top-actions{display:flex;gap:18px;align-items:center}.avatar{display:grid;place-items:center;background:#e4ebe7;color:#365a4d;width:37px;height:37px;border-radius:50%;font-size:11px;font-weight:800}.content{padding:37px 42px 80px;max-width:1560px;margin:0 auto}.notice{border:1px solid #e4dfd1;border-left:4px solid #cda36b;border-radius:12px;background:#fffaf1;display:flex;gap:14px;padding:15px 20px;margin-bottom:30px;line-height:1.6}.notice>span{color:#bb9050;font-size:23px}.notice b{font-size:13px}.notice p{margin:3px 0 0;color:#776952;font-size:12px}.screen{display:none}.screen.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:31px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:#bc8a57;font-weight:800}.page-heading h1{font-family:Manrope,sans-serif;font-size:29px;letter-spacing:-1px;margin:7px 0 10px}.page-heading p{color:var(--muted);margin:0;font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:800;white-space:nowrap}.btn-primary{background:#1b3b31;color:#fff}.btn-primary:hover{background:#31594a}.btn-outline{background:#fff;color:#35554b;border-color:#d8e2dc}.btn-outline:hover{background:#f0f7f2}.btn-danger{background:#fff6f5;border-color:#efd1d1;color:#ad5959}.btn-sm{padding:9px 12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;margin-bottom:24px}.stat{border:1px solid var(--line);background:#fff;border-radius:15px;padding:26px;box-shadow:var(--shadow)}.stat span{color:#78847f;font-size:12px}.stat strong{display:block;font-size:35px;letter-spacing:-1.2px;margin:14px 0 8px;font-family:Manrope,sans-serif}.stat small{font-size:11px;color:#8e9691}.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:21px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;box-shadow:var(--shadow);margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-head h3,h3{font-size:16px;margin-bottom:5px}.panel-head p{color:var(--muted);font-size:12px;margin:0}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.quick-grid>*{background:#fafbfa;border:1px solid #edf0ee;padding:21px;text-align:left;border-radius:11px;display:flex;flex-direction:column;gap:9px;color:var(--ink)}.quick-grid>*:hover{border-color:#bbd0c2}.quick-grid span{font-size:21px;color:#658173}.quick-grid b{font-size:13px}.quick-grid small{color:var(--muted);font-size:11px}.health>div{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.health>div:last-child{border-bottom:none}.health>div>b{margin-left:auto;font-size:11px}.health-icon{display:grid;place-items:center;border-radius:50%;width:27px;height:27px}.good{background:#e7f3ea;color:#458564}.pending{background:#fff2df;color:#c8913e}.compact-products{display:grid;gap:13px}.compact-product{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:13px}.compact-product:last-child{border:0}.compact-product img{width:52px;height:52px;object-fit:contain;background:#f7f6f3;border-radius:9px}.compact-product b{font-size:12px}.compact-product small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.compact-product .price{margin-left:auto;font-weight:800;font-size:12px}.toolbar{display:flex;gap:12px;align-items:center;padding-bottom:17px;border-bottom:1px solid var(--line)}.toolbar input,.toolbar select,.form-panel input:not([type=checkbox]),.form-panel textarea,.editor input:not([type=checkbox]),.editor textarea,.editor select{min-height:43px;border:1px solid #dce4de;border-radius:9px;padding:10px 12px;color:var(--ink);background:#fff;outline:none}.toolbar input:focus,.form-panel input:focus,.editor input:focus,.form-panel textarea:focus{border-color:#8bae9a}.toolbar input{flex:1;min-width:140px}.toolbar select{max-width:260px}.result{white-space:nowrap;font-size:11px;color:var(--muted)}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-size:10px;letter-spacing:1px;color:#9aa5a0;padding:18px 12px}td{padding:13px 12px;border-top:1px solid var(--line)}.product-cell{display:flex;align-items:center;gap:12px;min-width:250px}.product-cell img{width:50px;height:50px;object-fit:contain;background:#f7f7f5;border-radius:8px}.product-cell b{display:block;max-width:400px}.product-cell small{color:#939c97;display:block;margin-top:5px}.stock-chip{display:inline-block;border-radius:20px;padding:6px 10px;font-size:10px;background:#eaf5ec;color:#598669}.stock-chip.sold{background:#fff0e7;color:#a97a54}.edit-link{border:0;background:#edf5ef;padding:9px 13px;border-radius:7px;font-size:11px;color:#32634d;font-weight:700}.table-wrap{overflow-x:auto}.table-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:17px;font-size:11px;color:var(--muted)}.table-bottom>div{display:flex;gap:8px}.link-btn{border:0;background:none;color:#426d57;font-size:12px;font-weight:800}.form-panel form{display:grid;gap:17px}.form-panel label,.editor label{display:grid;gap:7px;font-size:12px;font-weight:700}.form-panel h3{padding-top:12px}.form-panel textarea,.editor textarea{resize:vertical}.checkline{display:flex!important;align-items:center;gap:9px}.checkline input{accent-color:#2b6048;width:17px;height:17px}.form-actions{display:flex;align-items:center;gap:15px;margin-top:10px}.form-actions>span,.help{color:#838c86;font-size:12px;line-height:1.7}.preview-panel{display:flex;flex-direction:column;gap:18px;justify-content:start}.preview-panel>a{align-self:start}.mini-cart{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.mini-cart>div{display:flex;justify-content:space-between;font-size:12px;margin:15px 0}.mini-cart span{color:var(--muted)}.mini-cart .mini-total{padding-top:17px;border-top:1px solid var(--line);font-size:16px}.empty-panel{text-align:center;padding:90px 35px}.empty-icon{margin:auto auto 20px;display:grid;place-items:center;font-size:36px;border:1px solid #dfe8e2;border-radius:50%;width:100px;height:100px;color:#b6c5b9}.empty-panel p{color:var(--muted);max-width:500px;margin:auto;line-height:1.8;font-size:13px}.setting-actions{display:flex;gap:11px;flex-wrap:wrap}.notice-sub{margin-top:24px;padding:21px;border:1px solid #eee7d9;background:#fffaf2;border-radius:11px}.notice-sub p{color:#796f60;font-size:12px;line-height:1.7;margin:8px 0 0}.editor-backdrop{position:fixed;inset:0;background:rgba(14,32,23,.52);z-index:100;display:grid;place-items:center;padding:20px;overflow:auto}.editor-backdrop[hidden]{display:none}.editor{background:#fff;border-radius:20px;width:min(580px,100%);padding:28px;max-height:95vh;overflow-y:auto}.editor-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.editor-header small{color:#ba8855;font-size:10px;letter-spacing:2px}.editor-header h2{margin:5px 0 0;font-size:23px}.editor-header button{border:0;background:#f4f5f3;font-size:28px;width:37px;height:37px;border-radius:8px}.editor form{display:grid;gap:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toast{position:fixed;bottom:25px;right:25px;padding:14px 20px;background:#224637;color:white;box-shadow:0 10px 38px #102b2330;border-radius:10px;opacity:0;transform:translateY(12px);transition:.25s;pointer-events:none;z-index:110;font-size:13px}.toast.show{opacity:1;transform:translateY(0)}.mobile-toggle{display:none}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.sidebar{width:218px}.top,.content{padding-left:25px;padding-right:25px}}@media(max-width:790px){.sidebar{position:fixed;left:-265px;z-index:80;transition:left .25s;width:253px;box-shadow:20px 0 30px rgba(0,0,0,.08)}.sidebar.open{left:0}.mobile-toggle{display:block;background:none;border:0;font-size:24px}.top{height:66px;padding:0 16px}.top-actions{gap:8px}.top-actions .btn{font-size:10px;padding:10px}.content{padding:23px 16px 65px}.notice{padding:13px}.page-heading{align-items:flex-start;flex-direction:column}.two-col{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar input{width:100%;flex-basis:100%}.toolbar select{max-width:none;flex:1}.form-grid{grid-template-columns:1fr}}@media(max-width:450px){.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:27px}.quick-grid>*{padding:12px}.page-heading h1{font-size:23px}.panel{padding:16px}}
