@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--orange:#ef6948;--ink:#26322f;--muted:#89908e;--line:#edf0ed;--bg:#f6f7f9;--green:#367960}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:1px solid var(--line);background:white;color:inherit;padding:12px 17px;border-radius:9px;font-weight:600;transition:.15s}button:hover{filter:brightness(.97);transform:translateY(-1px)}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--orange);border-color:var(--orange);color:white}button.ghost{background:transparent;border:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:27px;letter-spacing:-1px}h2{font-size:17px;letter-spacing:-.4px}h3{font-size:15px}small,.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 20px;position:fixed;width:228px;height:100vh;display:flex;flex-direction:column;z-index:5}.brand{font-family:Manrope;font-size:27px;font-weight:800;letter-spacing:-1px;display:flex;gap:9px;align-items:center}.brand span{display:grid;place-items:center;width:34px;height:34px;background:var(--orange);color:white;border-radius:12px;font-size:25px}.brand i{font-style:normal;color:var(--orange)}.store{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px 10px;border-radius:10px;margin:30px 0}.store em{font-style:normal;font-size:21px;background:#fff2eb;padding:8px;border-radius:8px}.store b{font-size:12px}.label{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#9a9f9d;margin:12px 13px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{border:0;background:none;text-align:left;font-weight:500;color:#7b8381;display:flex;align-items:center;gap:12px;padding:13px 15px}.nav button.active{background:#fff0eb;color:#e96745;font-weight:700}.nav svg{width:19px;height:19px}.sidebar-bottom{margin-top:auto}.help{padding:18px 15px;background:#f6f8f6;border-radius:12px;margin-bottom:20px}.help p{font-size:12px;color:#8b938f;line-height:1.6;margin:8px 0}.avatar{width:35px;height:35px;border-radius:50%;display:inline-grid;place-items:center;background:#f4d9c4;color:#7f563e;font-size:12px;font-weight:700;flex-shrink:0}.user{display:flex;align-items:center;gap:10px;font-size:12px}.workspace{grid-column:2;min-width:0}.topbar{height:82px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.search{display:flex;gap:10px;align-items:center;color:#a0a5a2}.search input{border:0;outline:none;width:240px;background:transparent}.top-actions{display:flex;align-items:center;gap:18px}.top-actions button{font-size:12px}.divider{height:25px;width:1px;background:var(--line)}.main{padding:30px 34px;max-width:1700px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:15px}.heading p{color:var(--muted);margin-top:9px;font-size:13px}.eyebrow{color:var(--orange);font-size:10px;letter-spacing:2px;font-weight:800;margin-bottom:10px}.actions{display:flex;gap:9px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:23px}.stat,.panel{background:white;border:1px solid var(--line);border-radius:13px}.stat{padding:20px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8b918f}.stat-icon{padding:8px;background:#fff2eb;color:var(--orange);border-radius:9px;display:grid;place-items:center}.stat-icon svg{width:18px;height:18px}.stat strong{font:800 29px Manrope;display:block;margin:11px 0}.stat small{font-size:10px}.positive{color:#4f9270;font-size:10px;font-weight:700;margin-right:6px}.grid-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px;margin-bottom:22px}.panel{padding:23px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.panel-head p{font-size:11px;color:var(--muted);margin-top:6px}.badge{font-size:10px;color:var(--green);background:#eaf5ee;padding:6px 9px;border-radius:6px;font-weight:700}.badge.orange{background:#fff1e8;color:#d98743}.legend{display:flex;gap:18px;color:var(--muted);font-size:10px}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--orange);margin-right:6px}.dot.light{background:#edd7cb}.chart{height:215px;width:100%;display:block}.chart text{font:10px 'DM Sans';fill:#a2a9a5}.chart-foot{display:flex;justify-content:space-between;padding:14px 0 0;border-top:1px solid var(--line);margin-top:10px;font-size:11px;color:var(--muted)}.chart-foot b{color:var(--ink)}.program-banner{background:#fff3eb;border:1px solid #fbe6d8;border-radius:10px;padding:18px;position:relative;overflow:hidden;margin-bottom:16px}.program-banner h3{font-size:19px;margin:9px 0}.program-banner p{font-size:11px;color:#a47e69;line-height:1.7;max-width:80%}.program-banner .bigicon{position:absolute;right:10px;bottom:9px;font-size:64px;opacity:.8;transform:rotate(-14deg)}.rule{display:flex;align-items:center;gap:11px;margin:14px 0;font-size:12px}.rule-icon{padding:9px;background:#f6f7f9;border-radius:8px}.rule small{display:block;font-size:10px;margin-top:4px}.progress{height:6px;background:#f0f0ec;border-radius:6px;overflow:hidden}.progress i{height:100%;display:block;background:var(--orange);border-radius:6px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{text-align:left;font-size:10px;color:#929a96;background:#fafbf9;font-weight:500;padding:13px}td{padding:14px 13px;border-bottom:1px solid #f1f3f0}tr:last-child td{border:0}.person{display:flex;align-items:center;gap:10px}.person .avatar{width:31px;height:31px;font-size:10px}.person small{display:block;font-size:10px;margin-top:4px}.rank{color:#a2a6a4;font-weight:700}.rank.top{color:#c79548}.table-progress{display:flex;align-items:center;gap:8px}.table-progress .progress{width:55px}.text-btn{padding:0;background:none;border:0;color:var(--orange);font-size:11px}.wide{width:100%}.two{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.filters{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.filters button.active{background:var(--orange);color:white;border-color:var(--orange)}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product{background:white;border:1px solid var(--line);border-radius:12px;padding:15px}.product-art{height:120px;border-radius:9px;background:#f5f0eb;display:grid;place-items:center;font-size:65px;margin-bottom:16px}.product p{margin:7px 0 13px;font-size:12px;color:var(--orange);font-weight:700}.product button{width:100%;font-size:12px}.cart-row{display:flex;justify-content:space-between;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.qty{display:flex;align-items:center;gap:10px}.qty button{padding:3px 9px}.summary{background:#fafbf9;padding:18px;border:1px dashed #dce1db;border-radius:10px;margin:18px 0}.summary div{display:flex;justify-content:space-between;font-size:12px;margin:8px 0}.summary .total{border-top:1px solid var(--line);padding-top:14px;font-size:16px;font-weight:700}.field{display:block;margin-bottom:18px;font-size:12px;font-weight:600}.field input,.field select{display:block;width:100%;margin-top:8px;border:1px solid #dfe4de;border-radius:8px;padding:12px;background:white;color:var(--ink)}.field small{display:block;margin-top:6px;line-height:1.5;font-weight:400}.check{display:flex;align-items:center;gap:9px;font-size:12px;margin:16px 0}.milestone{display:grid;grid-template-columns:70px 1fr 35px;gap:10px;align-items:end}.milestone .field{margin-bottom:12px}.milestone button{margin-bottom:12px;padding:12px 0}.note{padding:13px;background:#fff7ed;border-radius:8px;font-size:11px;color:#a4784c;line-height:1.7}.mobile-shell{max-width:420px;margin:0 auto;background:#fafbf9;min-height:100vh;padding-bottom:90px;box-shadow:0 10px 90px #29332312}.mobile-head{background:#fff;padding:24px;display:flex;justify-content:space-between;align-items:center}.mobile-main{padding:24px}.mobile-main h1{font-size:26px;line-height:1.4}.mobile-main>p{color:var(--muted);font-size:12px;margin-top:9px}.loyalty{margin:23px 0;background:#ec704d;color:white;border-radius:20px;padding:25px;position:relative;overflow:hidden}.loyalty::before{content:'';position:absolute;width:180px;height:180px;border:35px solid #ffffff0c;border-radius:50%;right:-80px;top:-40px}.loyalty h2{font-size:22px;margin:9px 0}.loyalty p{opacity:.8;font-size:12px}.stamps{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0}.stamp{border:1px dashed #ffffff75;border-radius:50%;aspect-ratio:1;display:grid;place-items:center;color:#fff9;font-size:17px}.stamp.filled{background:#fff2df;color:var(--orange);border:0}.stamp.reward{border-color:#ffe3a5;color:#ffe3a5}.loyalty-foot{display:flex;justify-content:space-between;font-size:11px;border-top:1px solid #ffffff30;padding-top:17px}.mobile-tabs{position:fixed;bottom:0;max-width:420px;width:100%;background:white;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:12px 5px;z-index:10}.mobile-tabs button{border:0;font-size:10px;color:var(--muted);display:grid;gap:5px;justify-items:center;padding:5px 15px}.mobile-tabs .active{color:var(--orange)}.mobile-tabs svg{width:20px;height:20px}.reward-card{background:white;border:1px solid var(--line);border-radius:13px;padding:17px;display:flex;align-items:center;gap:14px;margin:13px 0}.reward-art{background:#fff3e9;padding:12px;border-radius:10px;font-size:26px}.reward-card p{font-size:11px;color:var(--muted);margin-top:6px}.reward-card button{margin-left:auto;font-size:11px;padding:8px}.demo{font-size:10px;color:#a29b91;background:#f4f0e9;padding:8px 12px;border-radius:6px}.mobile-top-demo{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;background:#fff3eb;font-size:10px;color:#ba7956}.mobile-top-demo button{padding:4px 7px;font-size:10px}.receipt{max-width:330px;margin:auto;text-align:center;font-size:12px}.receipt .brand{justify-content:center;margin-bottom:15px}.receipt hr{border:0;border-top:1px dashed #cbd2cc;margin:20px 0}.receipt svg{width:170px}.receipt-row{display:flex;justify-content:space-between;margin:12px 0}.receipt h3{margin:12px}.receipt p{line-height:1.8;color:var(--muted)}dialog{border:0;border-radius:18px;padding:30px;max-width:500px;width:calc(100% - 32px);box-shadow:0 25px 100px #162b2525}dialog::backdrop{background:#17292066;backdrop-filter:blur(4px)}.close{float:right;padding:4px 10px;border:0;font-size:22px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#263d32;color:white;border-radius:10px;padding:15px 22px;z-index:50;display:none;max-width:90%;font-size:12px}.empty{padding:40px 15px;text-align:center;color:var(--muted);line-height:2}.mobile-menu{display:none}.section-gap{margin-top:22px}.subtle{font-size:11px;color:var(--muted);line-height:1.7}.customer-row{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.heading select{padding:11px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:white}.program-preview{background:#fff8f1;padding:25px;border-radius:13px}.mini-stamps{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.mini-stamps span{width:35px;height:35px;background:#ffede0;border-radius:50%;display:grid;place-items:center;color:var(--orange)}@media(min-width:1500px){.main{padding-top:40px}.chart{height:260px}}@media(max-width:1100px){.sidebar{width:190px;padding:25px 14px}.shell{grid-template-columns:190px 1fr}.main{padding:25px 22px}.topbar{padding:0 22px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:24px}.grid-main{grid-template-columns:1.5fr 1fr;gap:15px}.panel{padding:18px}.products{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.sidebar{width:70px;padding:25px 10px}.brand{font-size:0;gap:0;justify-content:center}.brand span{font-size:25px}.sidebar .store,.sidebar .label,.sidebar .nav span,.sidebar-bottom{display:none}.nav{margin-top:35px}.nav button{padding:14px;justify-content:center}.shell{grid-template-columns:70px 1fr}.stats{grid-template-columns:repeat(2,1fr)}.grid-main,.two{grid-template-columns:1fr}.search input{width:150px}.top-actions .user,.divider{display:none}.heading{align-items:flex-start}h1{font-size:23px}.heading .actions{flex-wrap:wrap;justify-content:flex-end}.heading button{font-size:11px;padding:10px}.panel-head{flex-wrap:wrap}}@media(max-width:500px){.sidebar{width:56px;padding:22px 5px}.shell{grid-template-columns:56px 1fr}.nav button{padding:12px 9px}.main{padding:23px 13px}.topbar{height:65px;padding:0 13px}.search input{width:105px;font-size:11px}.top-actions{gap:4px}.top-actions button{font-size:10px;padding:9px}.heading{display:block}.heading .actions{justify-content:flex-start;margin-top:17px}.stat{padding:13px}.stat strong{font-size:22px}.stat-top{font-size:10px}.stat small{font-size:9px}.positive{font-size:9px}.panel{padding:15px}.products{gap:10px}.product{padding:11px}.product-art{height:90px;font-size:48px}.product h3{font-size:12px}.mobile-shell{box-shadow:none}.legend{gap:7px}.chart-foot{font-size:9px}}@media print{body>*{display:none!important}dialog[open]{display:block!important;position:static;box-shadow:none;width:100%;padding:0}dialog .close,dialog .print-actions{display:none}.receipt{max-width:75mm}}
