:root{--brand:#8c1d24;--gold:#d7a449;--bg:#f8f9fb;--surface:#fff;--text:#252729;--muted:#7b8188;--stroke:#e7e8eb;--green:#138466;--red:#bd3747;--shadow:0 8px 32px #1a203008}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d7a44980;outline-offset:2px}a{color:var(--brand)}.app{min-height:100vh;display:flex}.side{width:225px;background:#fff;border-right:1px solid var(--stroke);height:100vh;position:sticky;top:0;padding:22px 13px;display:flex;flex-direction:column;gap:22px;flex-shrink:0}.identity{display:flex;align-items:center;gap:10px;padding:2px 10px 18px;border-bottom:1px solid var(--stroke)}.logo{width:40px;height:40px;border-radius:12px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:23px;font-weight:850;flex-shrink:0;overflow:hidden}.logo img{width:100%;height:100%;object-fit:cover}.identity strong{display:block;font-size:15px;line-height:1.1;letter-spacing:-.4px}.identity small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.side-nav{display:grid;gap:4px}.navbtn{width:100%;display:flex;align-items:center;gap:12px;border:0;background:transparent;border-radius:11px;padding:12px 14px;text-align:left;color:#626870;font-weight:650}.navbtn .ic{font-size:19px;line-height:1;width:22px;text-align:center}.navbtn:hover{background:#f8f4f3}.navbtn.sel{color:var(--brand);background:#fbf0f0}.sidefoot{margin-top:auto;padding:13px 9px;border-top:1px solid var(--stroke);color:var(--muted);font-size:11px;line-height:1.6}.page{min-width:0;flex:1;display:flex;flex-direction:column}.top{height:71px;background:#fff;border-bottom:1px solid var(--stroke);padding:0 31px;display:flex;align-items:center;justify-content:space-between;gap:12px}.top-title{font-size:17px;font-weight:780;letter-spacing:-.5px}.top-right{display:flex;align-items:center;gap:10px}.eyebrow{color:var(--muted);font-size:11px}.chip{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:6px 10px;background:#f6f6f7;color:#5f656d;font-size:11px;font-weight:700}.chip.warn{background:#fff4df;color:#925c04}.chip.positive{background:#e6f6ef;color:#1d7b56}.content{width:min(1270px,100%);padding:29px 32px 120px;margin:0 auto;flex:1}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}.sectionhead h1{font-size:27px;font-weight:810;margin:0 0 4px;letter-spacing:-1px}.sectionhead p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.row{display:flex;align-items:center;gap:11px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap{flex-wrap:wrap}.gap6{gap:6px}.gap16{gap:16px}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.strong{font-weight:780}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.grid{display:grid;gap:14px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.cols2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--stroke);border-radius:15px;padding:20px;min-width:0}.kpi-label{font-size:12px;color:var(--muted)}.kpi-value{font-size:24px;font-weight:790;letter-spacing:-.8px;margin-top:10px}.kpi-sub{font-size:11px;color:var(--muted);margin-top:8px}.btn{border:1px solid transparent;background:var(--brand);color:#fff;padding:11px 16px;border-radius:11px;font-size:13px;font-weight:720;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.btn:hover:not(:disabled){filter:brightness(.95)}.btn.secondary{border-color:var(--stroke);background:#fff;color:#363b40}.btn.soft{background:#fbefef;color:var(--brand)}.btn.gold{background:var(--gold);color:#3c2317}.btn.smallbtn{padding:8px 10px;font-size:12px;border-radius:9px}.btn.iconbtn{padding:8px 10px;min-width:35px}.btn.full{width:100%}.tabs{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tab{padding:9px 14px;border-radius:10px;border:1px solid transparent;color:#656a70;font-weight:700;background:transparent;font-size:12px}.tab.active{background:#fff;color:var(--brand);border-color:var(--stroke);box-shadow:0 2px 8px #00000008}.tab:hover{background:#fff}.pillgroup{display:flex;gap:6px;flex-wrap:wrap}.pill{background:#fff;border:1px solid var(--stroke);padding:8px 13px;border-radius:99px;color:#646970;font-size:12px;font-weight:700}.pill.active{background:var(--brand);color:#fff;border-color:var(--brand)}.input{background:#fff;width:100%;border:1px solid #dee0e4;border-radius:10px;padding:11px 12px;color:var(--text);min-height:42px;outline:none}.input:focus{border-color:var(--brand)}textarea.input{min-height:90px;resize:vertical}.field{display:grid;gap:6px}.field label{font-size:12px;font-weight:700;color:#50555d}.field small{font-size:11px;color:var(--muted)}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.span2{grid-column:1/-1}.search{max-width:360px;position:relative}.search input{padding-left:36px}.search:before{content:'⌕';font-size:22px;color:#9a9fa5;position:absolute;left:12px;top:8px}.divider{height:1px;background:var(--stroke);margin:16px 0}.simple-list{display:grid}.lineitem{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--stroke)}.lineitem:last-child{border-bottom:0}.lineitem strong{font-size:13px}.lineitem small{color:var(--muted);display:block;margin-top:4px;font-size:11px}.shortcut{display:flex;align-items:center;gap:13px;border:1px solid var(--stroke);background:#fff;border-radius:13px;text-align:left;padding:15px;width:100%}.shortcut .circle{width:38px;height:38px;display:grid;place-items:center;background:#fff4e1;border-radius:11px;font-size:19px}.shortcut strong{font-size:13px}.shortcut small{color:var(--muted);font-size:11px;display:block;margin-top:4px}.shortcut:hover,.tile:hover{border-color:#d4b5b4;box-shadow:0 4px 12px #8c1d2410}.notice{border:1px solid #eedfc7;background:#fffaf1;color:#765a2e;border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.6}.notice.info{background:#f2f6fb;border-color:#dfebf5;color:#536273}.notice.good{background:#ebf9f1;border-color:#d1efde;color:#216c4d}.notice.error{background:#fff1f1;border-color:#f3d3d6;color:#9f3940}.empty{padding:33px 20px;text-align:center;color:var(--muted);background:#fff;border:1px dashed #d9dade;border-radius:12px;font-size:12px;line-height:1.65}.empty .big{font-size:29px;margin-bottom:9px}.poslayout{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:16px;align-items:start}.productgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}.tile{border:1px solid var(--stroke);border-radius:13px;background:#fff;padding:15px;text-align:left;min-height:115px;display:flex;flex-direction:column;justify-content:space-between;gap:9px;transition:border .12s}.tile .topline{display:flex;align-items:center;justify-content:space-between}.tile .symbol{background:#f8f5f0;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;font-size:20px}.tile strong{font-size:12px;line-height:1.35}.tile .price{font-size:12px;font-weight:790;color:var(--brand)}.tile .desc{font-size:10px;color:var(--muted)}.cart{position:sticky;top:15px}.cartrows{max-height:290px;overflow:auto}.cartrow{padding:13px 0;border-bottom:1px solid var(--stroke)}.cartrow:last-child{border:0}.cartrow-title{font-size:13px;font-weight:780}.cartrow-details{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.55}.cart-actions{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.step{display:flex;align-items:center;gap:9px}.step button{border:1px solid var(--stroke);background:#fff;width:29px;height:29px;border-radius:8px;font-weight:800;color:var(--brand);font-size:17px}.step span{font-size:13px;font-weight:760;min-width:19px;text-align:center}.total{font-size:24px;font-weight:820;letter-spacing:-.5px}.bottomnav{display:none}.overlay{position:fixed;z-index:50;inset:0;background:#15202985;display:flex;align-items:center;justify-content:center;padding:14px}.dialog{background:#fff;border-radius:19px;width:min(640px,100%);max-height:min(92dvh,900px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 15px 60px #0002}.dialog.wide{width:min(760px,100%)}.dialog-head{padding:19px 21px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--stroke)}.dialog-head h2{font-size:18px;letter-spacing:-.4px;margin:0}.dialog-main{padding:20px 21px;overflow:auto;min-height:0}.dialog-foot{padding:14px 21px;border-top:1px solid var(--stroke);display:flex;align-items:center;justify-content:flex-end;gap:8px}.close{border:0;background:#f3f4f5;border-radius:10px;width:34px;height:34px;font-size:20px}.modrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--stroke)}.modrow:last-child{border:0}.modtitle{font-size:12px;font-weight:710}.modprice{font-size:11px;color:var(--muted);margin-top:4px}.modgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:21px}.sticky-total{background:#faf8f5;border-radius:12px;padding:13px;margin-top:12px}.tablebox{background:#fff;border:1px solid var(--stroke);border-radius:14px;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:13px 15px;border-bottom:1px solid var(--stroke);vertical-align:middle}th{font-weight:740;color:#7b8086;background:#fdfdfd;font-size:11px;white-space:nowrap}tr:last-child td{border-bottom:0}th.right,td.right{text-align:right}td .hint{font-size:11px;color:var(--muted);margin-top:3px}.tag{font-size:10px;color:#646970;background:#f4f5f6;border-radius:99px;padding:5px 8px;display:inline-block;font-weight:700}.tag.green{background:#e4f6ed;color:#167250}.tag.red{background:#fbe9eb;color:#a43847}.tag.gold{background:#fff4dc;color:#986016}.inline-actions{display:flex;justify-content:flex-end;align-items:center;gap:5px}.linkbtn{border:0;background:transparent;color:var(--brand);font-size:12px;font-weight:760;padding:6px}.subtlebox{background:#f8f9fa;border-radius:12px;padding:13px}.toast{position:fixed;z-index:70;top:19px;right:18px;border-radius:12px;background:#253b31;color:#fff;padding:13px 18px;font-weight:700;box-shadow:var(--shadow);font-size:12px;max-width:390px}.toast.bad{background:#a73540}.mini-formline{display:grid;grid-template-columns:1.4fr .8fr .9fr 36px;gap:7px;align-items:center;margin-bottom:9px}.mini-recipe{display:grid;grid-template-columns:1.3fr .8fr 36px;gap:7px;margin-bottom:8px}.color-dot{height:24px;width:24px;border-radius:7px;border:1px solid var(--stroke)}.labelcheck{display:flex;align-items:center;gap:9px;font-weight:660;font-size:12px}.labelcheck input{width:17px;height:17px;accent-color:var(--brand)}.muted-bg{background:#f7f7f9;padding:12px;border-radius:11px}.btn-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.simple-rule{border:0;border-top:1px solid var(--stroke);margin:14px 0}details summary{cursor:pointer;color:var(--brand);font-weight:720;font-size:12px;padding:7px 0}details[open]>summary{margin-bottom:10px}.report-line{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px 0;border-bottom:1px solid var(--stroke)}.report-line:last-child{border:0}.report-line.total-line{font-size:15px;font-weight:800;border-top:2px solid var(--stroke)}.bargraph{height:9px;border-radius:99px;background:#f0f0f2;overflow:hidden}.bargraph>span{display:block;height:100%;background:var(--brand)}@media(max-width:1120px){.poslayout{grid-template-columns:minmax(0,1fr) 305px}.productgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:810px){.side{display:none}.top{height:65px;padding:0 16px}.content{padding:20px 15px 110px}.sectionhead h1{font-size:23px}.poslayout{display:block}.cart{position:static;margin-top:14px}.productgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--stroke);padding:6px 6px calc(6px + env(safe-area-inset-bottom));z-index:15;justify-content:space-between}.bottomnav button{border:0;background:transparent;flex:1;display:grid;justify-items:center;gap:2px;font-size:10px;color:#84888f;padding:6px 1px;border-radius:8px}.bottomnav button .ic{font-size:20px}.bottomnav button.sel{color:var(--brand);background:#fcf0f0}.top-right .chip{display:inline-flex;font-size:9px;padding:6px 7px;white-space:nowrap}}@media(max-width:580px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card{padding:15px}.kpi-value{font-size:19px}.cols2,.cols3,.formgrid{grid-template-columns:1fr}.span2{grid-column:auto}.tile{padding:12px;min-height:100px}.productgrid{gap:8px}.sectionhead{gap:8px}.dialog{max-height:94dvh;border-radius:16px}.dialog-head{padding:15px}.dialog-main{padding:14px}.dialog-foot{padding:12px 14px}.modgrid{grid-template-columns:1fr}.mini-formline{grid-template-columns:1.1fr .6fr .8fr 32px;gap:4px}.mini-formline .input{padding:8px 5px;font-size:11px;min-width:0}.btn{font-size:12px}.report-line{font-size:12px}.top-title{font-size:15px}.cartrows{max-height:none}}@media(prefers-reduced-motion:no-preference){.tile,.btn,.shortcut{transition:.15s ease}button:active:not(:disabled){transform:scale(.99)}}
.mobilecartbar{display:none}@media(max-width:810px){.cart{display:none}.mobilecartbar{display:flex;position:fixed;bottom:69px;left:12px;right:12px;align-items:center;justify-content:space-between;background:var(--brand);border:0;border-radius:14px;padding:12px 16px;color:#fff;box-shadow:0 6px 30px #401b2240;z-index:18;text-align:left}.mobilecartbar b,.mobilecartbar strong{font-weight:800;font-size:14px}.mobilecartbar small{display:block;color:#fff9;font-size:10px;margin-top:3px}.content{padding-bottom:175px}}

/* V5 mobile-first UI refinement */
:root{--bg:#f8f6f4;--stroke:#eae5e3;--radius:15px}
body{letter-spacing:-.1px} .card,.tile,.shortcut,.tablebox{box-shadow:0 2px 12px #27131306}
.content{max-width:1120px} .top{height:64px}.top-title{font-size:17px}
.btn,.input,.tab,.pill{min-height:43px}.btn:active,.tile:active{transform:scale(.985)}
.sectionhead h1{font-size:24px;letter-spacing:-.6px}.sectionhead{margin-bottom:15px}
.tabs.finance-tabs{display:flex;overflow:auto;flex-wrap:nowrap;scrollbar-width:none;padding-bottom:8px;margin-top:5px;gap:7px}
.finance-tabs .tab{border:1px solid var(--stroke);background:#fff;white-space:nowrap;flex-shrink:0;border-radius:10px;padding:10px 14px}
.finance-tabs .tab.active{border-color:var(--brand);background:var(--brand);color:white;box-shadow:none}
.shop-intro{background:white;border:1px solid var(--stroke);border-radius:17px;padding:16px;margin:7px 0 13px}
.shop-heading{font-size:18px;letter-spacing:-.5px;font-weight:800}
.shop-date{display:flex;gap:9px;align-items:center;margin:16px 0}.shop-date label{color:var(--muted);font-size:12px;font-weight:700}.shop-date .input{flex:1;min-width:0}.shop-date .btn{white-space:nowrap}
.shop-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.shop-summary>div{min-width:0;background:#f8f7f7;padding:13px 11px;border-radius:12px;display:grid;gap:7px}
.shop-summary span{font-size:11px;color:var(--muted)}.shop-summary strong{font-size:15px;white-space:nowrap;letter-spacing:-.3px}
.shop-filters{margin:12px 0;flex-wrap:nowrap;overflow:auto;padding-bottom:5px;scrollbar-width:none}.shop-filters .pill{white-space:nowrap}
.shop-filter{display:grid;gap:6px;max-width:400px;margin:8px 0 15px}.shop-filter label{font-size:12px;color:var(--muted);font-weight:700}
.store-group{border:1px solid var(--stroke);border-radius:16px;background:#fff;margin:0 0 14px;overflow:hidden}
.store-head{display:flex;align-items:center;gap:12px;padding:14px 15px;background:#fffaf6;border-bottom:1px solid #f2e9e1}
.store-ico{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f5e9e4;color:var(--brand);font-size:21px;flex-shrink:0}
.store-name{flex:1;min-width:0;display:grid;gap:2px}.store-name strong{font-size:14px}.store-name small{color:var(--muted);font-size:11px}
.store-items{padding:0 15px}.shop-item{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid #f0eeee;min-width:0}.shop-item:last-child{border:0}
.shop-item-check{border:1.5px solid #ded8d8;border-radius:9px;width:28px;height:28px;flex-shrink:0;display:grid;place-items:center;font-weight:900;color:#b4afaf}
.shop-item-check.is-done{background:#ecf8ef;border-color:#64b387;color:#1f8753}.shop-item-check.is-skip{background:#f4f4f4}
.shop-item-main{flex:1;display:grid;gap:4px;min-width:0}.shop-item-main strong{font-size:14px;line-height:1.28}.shop-item-main small{font-size:11px;color:var(--muted);line-height:1.4}.shop-item-main .delta.high{color:#b33a46}.shop-item-main .delta.low{color:#198861}
.btn.shop-action{background:var(--brand);color:white}.shop-item .btn{padding:10px 12px;min-height:40px;font-size:11px}
.note-lite{color:#767675;font-size:11px;line-height:1.6;margin:14px 0}
.store-settings{display:grid;gap:9px;max-height:53dvh;overflow:auto}.store-setting-row{display:flex;align-items:center;gap:10px}.store-setting-row label{width:65px;flex-shrink:0;font-size:12px;color:var(--muted)}
.realize-info strong{font-size:20px}.realize-info{margin-bottom:16px}.budget-fixed{background:#fcf6ee;border:1px solid #f2e6d1;padding:14px;border-radius:12px;display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.budget-fixed span{font-size:12px;color:#78634a}.budget-fixed strong{font-size:17px;white-space:nowrap}.price-actual{font-size:24px;font-weight:800;height:56px;color:var(--brand)}.txt-red{color:#b33a46}.txt-green{color:#198861}
.stock-details{border:1px solid var(--stroke);border-radius:12px;padding:12px;margin-top:16px}.stock-details summary{cursor:pointer;font-weight:750;color:#5b5e64}.stock-details .field{margin-top:12px}
.stock-search{margin:12px 0 13px}.stockcards,.lite-list{display:grid;gap:9px}.stockcard,.lite-row{display:flex;align-items:center;gap:11px;padding:13px 14px;background:#fff;border:1px solid var(--stroke);border-radius:13px;min-width:0}.roundicon,.lite-avatar{flex-shrink:0;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#faf0ee;color:var(--brand);font-size:18px;font-weight:800}.lite-detail{flex:1;min-width:0;display:grid;gap:5px}.lite-detail strong{font-size:13px}.lite-detail small{font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.lite-side{display:grid;gap:7px;text-align:right}.lite-side b{font-size:12px}
@media(max-width:810px){.content{padding:15px 12px 125px}.top{height:61px;padding:0 14px}.top-title{font-size:16px;max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottomnav{box-shadow:0 -4px 25px #0000000d;min-height:65px;padding:5px 4px calc(6px + env(safe-area-inset-bottom))}.bottomnav button{font-size:10px;min-height:50px;padding:6px 1px}.bottomnav button .ic{font-size:22px}.sectionhead h1{font-size:22px}.sectionhead p{font-size:11px}.cart{display:none}.productgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{min-height:104px}.shop-intro{padding:13px 12px}.store-items{padding:0 12px}.store-head{padding:13px 12px}.dialog{position:fixed;bottom:0;max-height:96dvh;width:100%;border-radius:19px 19px 0 0;margin:0}.overlay{align-items:flex-end;padding:0}.dialog-head{padding:15px 17px}.dialog-main{padding:18px 16px 18px}.dialog-foot{padding:12px 15px calc(12px + env(safe-area-inset-bottom));background:#fff}.dialog-foot .btn{min-height:47px}.tab,.pill{font-size:12px}.shop-heading{font-size:18px}}
@media(max-width:430px){.top-right .btn{padding:9px 8px;font-size:11px}.shop-summary strong{font-size:13px}.shop-summary>div{padding:12px 8px}.shop-date{flex-wrap:wrap}.shop-date label{width:100%}.shop-date .input{width:145px}.shop-item{gap:8px}.shop-item-main strong{font-size:13px}.shop-item .btn{padding:9px 10px}.stockcard{padding:12px 10px;gap:9px}.stockcard .btn{padding:9px 10px}.lite-row{padding:12px 10px;gap:8px}}

/* V6 — Navigasi ringkas terinspirasi kemudahan penggunaan POS mobile; tidak mengubah mesin transaksi V5. */
:root{--headerheight:68px}
.top{height:var(--headerheight);padding:0 23px;background:#fff;position:sticky;top:0;z-index:13;box-shadow:0 1px 12px #30202009}
.top-page{display:flex;align-items:center;gap:10px;min-width:0}
.top-page .crumb{font-size:12px;color:var(--muted)}
.top-page .top-page-title{font-size:15px;font-weight:800;color:#353030}
.top-brand{display:none}
.side{width:213px;padding:16px 12px 14px;gap:15px}
.side .identity{padding:8px 7px 15px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.side .logo{width:132px;height:76px;border-radius:12px;display:grid;place-items:center;background:#fff7f2;padding:4px;border:1px solid #f4e7dd}
.side .logo img{object-fit:contain;width:100%;height:100%}
.side .identity strong{font-size:15px;letter-spacing:-.2px}
.side .identity small{font-size:10px}
.side .navbtn{min-height:47px;border-radius:12px;gap:12px;padding:11px 12px}
.nav-glyph{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px}
.nav-glyph svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.side-nav .navbtn.sel{background:#f7e8e6;color:var(--brand)}
.side-nav .navbtn:hover{background:#f9f1ee}
.side-settings{margin-top:auto;border-top:1px solid var(--stroke);padding:14px 5px 2px}
.side-settings .navbtn{min-height:40px;font-size:12px}
.sidefoot{margin:0;border:0;padding:4px 9px;font-size:10px}
.top-right .top-demo{border-radius:99px;background:#f9f2e7;color:#87642d;padding:7px 10px;font-weight:700;font-size:10px}
.top-role{border:1px solid var(--stroke);background:white;color:#494949;border-radius:24px;font-size:12px;font-weight:750;padding:8px 12px}
.mobile-header-menu{display:none}
.brand-lockup{display:flex;align-items:center;gap:8px;min-width:0}
.brand-illustration{background:#fff8f2;border:1px solid #f2e6de;padding:2px;border-radius:10px;width:75px;height:48px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.brand-illustration img{width:100%;height:100%;object-fit:contain}
.brand-copy{min-width:0;display:grid;gap:3px;text-align:left}
.brand-copy strong{font-size:12px;color:#3c2924;line-height:1.12;letter-spacing:-.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}
.brand-copy small{color:var(--muted);font-size:10px;line-height:1.15;max-width:135px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.mobile-header-menu{border:1px solid #e9deda;background:#fff;border-radius:11px;min-width:39px;height:39px;align-items:center;justify-content:center;color:var(--brand)}
.mobile-header-menu .nav-glyph{width:22px;height:22px}
.mobilebar .bar-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;line-height:1}
.mobilebar .bar-content span{font-size:10px;font-weight:730;white-space:nowrap}
.mobilebar button{min-width:0}
.mobilebar button .nav-glyph{width:22px;height:22px}
.mobilebar button .nav-glyph svg{width:22px;height:22px}
.mobilebar button.nav-pos .nav-glyph{width:37px;height:32px;display:grid;place-items:center;background:var(--brand);color:#fff;border-radius:11px;box-shadow:0 3px 10px #8c1d2440}
.mobilebar button.nav-pos .nav-glyph svg{width:20px;height:20px}
.mobilebar button.sel:not(.nav-pos) .bar-content{color:var(--brand)}
.mobilebar button.sel:not(.nav-pos) .nav-glyph{background:#fbefed;border-radius:9px;width:32px;height:30px}
.mobilebar .nav-pos .bar-content>span:last-child{color:var(--brand)}
.mobilebar .nav-pos:not(.sel) .nav-glyph{background:#f7ecea;color:var(--brand);box-shadow:none}
.quick-menu{display:grid;gap:7px}
.quick-menu-heading{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:#989194;margin:10px 0 5px;font-weight:820}
.quick-menu-heading:first-child{margin-top:0}
.quick-link{width:100%;border:1px solid #ebe8e8;border-radius:13px;padding:13px;display:flex;gap:13px;align-items:center;background:#fff;text-align:left;color:#363333}
.quick-link:active{background:#fff6f2}
.quick-icon{width:39px;height:39px;background:#fbf0ec;border-radius:11px;display:grid;place-items:center;color:var(--brand);flex-shrink:0}
.quick-icon svg{width:21px;height:21px}
.quick-link-main{flex:1;min-width:0;display:grid;gap:3px}
.quick-link-main b{font-size:13px}
.quick-link-main small{font-size:11px;color:var(--muted)}
.quick-link .arrow{font-size:19px;color:#b1a4a4}
.account-card{border:1px solid #f1e9e5;background:#fff7f4;padding:12px 13px;border-radius:13px;display:flex;align-items:center;gap:12px;margin-bottom:12px}
.account-card .avatar{width:37px;height:37px;background:#f2e3de;color:var(--brand);border-radius:99px;display:grid;place-items:center}
.account-card b{display:block;font-size:13px}.account-card small{color:var(--muted);font-size:11px}
.settings-logo-review{display:flex;align-items:center;gap:11px;border-radius:12px;background:#faf7f4;border:1px solid #efe2de;padding:10px 12px;margin-bottom:14px}
.settings-logo-review img{width:104px;height:64px;object-fit:contain;background:white;border-radius:8px;padding:3px}
.settings-logo-review strong{font-size:12px}.settings-logo-review small{font-size:11px;color:var(--muted)}
@media(min-width:811px){.bottomnav{display:none!important}}
@media(max-width:810px){
 :root{--headerheight:66px}
 .top{height:var(--headerheight);padding:0 12px;box-shadow:0 2px 14px #332a250d}
 .top-page{display:none}.top-brand{display:flex;flex:1;min-width:0;border:0;background:none;text-align:left;padding:0}
 .top-right{gap:7px}.top-right .top-demo,.top-right .top-role,.top-right .desktop-settings{display:none!important}
 .mobile-header-menu{display:flex}
 .bottomnav.mobilebar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(68px + env(safe-area-inset-bottom));min-height:0;background:white;border-top:1px solid #eee4e1;box-shadow:0 -4px 16px #402c2810;z-index:20;padding:5px 8px calc(5px + env(safe-area-inset-bottom));align-items:stretch;gap:3px}
 .mobilebar button{display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:12px;color:#78767a;padding:4px 2px;min-height:50px}
 .mobilebar button.sel{background:transparent}
 .mobilebar button.nav-pos.sel{background:transparent}
 .content{padding:14px 12px calc(145px + env(safe-area-inset-bottom))}
 .mobilecartbar{bottom:calc(76px + env(safe-area-inset-bottom));border-radius:12px;left:12px;right:12px}
 .sectionhead{margin-bottom:16px}.sectionhead h1{font-size:21px}
 .dialog-main{padding:13px 15px}.dialog-head{padding:13px 15px}
 .quick-menu{gap:6px}
}
@media(max-width:360px){.brand-illustration{width:61px}.brand-copy strong{font-size:11px;max-width:132px}.brand-copy small{font-size:9px}.top{padding:0 8px}.mobile-header-menu{min-width:36px}}


/* V7: Satu tombol navigasi kiri-atas di samping logo. Konsisten di ponsel & desktop. */
:root{--headerheight:66px}
.side,.bottomnav,.mobilebar,.top-page,.mobile-header-menu{display:none!important}
.app{display:block;min-height:100dvh}
.page{width:100%;min-height:100dvh;display:flex;flex-direction:column}
.top{height:var(--headerheight);padding:0 19px;display:flex;align-items:center;gap:9px;position:sticky;top:0;background:#fff;z-index:22;border-bottom:1px solid #eee6e2;box-shadow:0 2px 10px #30202008;justify-content:flex-start}
.drawer-trigger{height:43px;width:43px;flex:0 0 43px;border:1px solid #eadbd6;border-radius:13px;display:grid;place-items:center;background:#fff;color:var(--brand);cursor:pointer;transition:background .15s}
.drawer-trigger:hover,.drawer-trigger:focus-visible{background:#fbefec;outline:2px solid transparent}
.drawer-trigger .nav-glyph{width:23px;height:23px}.drawer-trigger svg{width:23px;height:23px}
.top-brand{display:flex;flex:1;min-width:0;align-items:center;background:transparent;border:0;text-align:left;padding:0;cursor:pointer}
.brand-lockup{display:flex;gap:9px;min-width:0;align-items:center}
.brand-illustration{width:72px;height:49px;flex:0 0 72px;border:1px solid #f0e3dc;border-radius:10px;background:#fff8f2;padding:3px;overflow:hidden;display:grid;place-items:center}
.brand-illustration img{width:100%;height:100%;object-fit:contain}
.brand-copy{min-width:0;display:grid;gap:4px}.brand-copy strong{font-size:13px;line-height:1.15;color:#342725;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.brand-copy small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.top-right{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.top-right .top-demo{font-size:10px;background:#fcf7ee;color:#8b6a33}
.header-pos{border:0;border-radius:11px;min-height:39px;padding:0 12px;background:var(--brand);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;display:flex;align-items:center;gap:5px;cursor:pointer}
.header-pos .nav-glyph{width:18px;height:18px}.header-pos svg{width:18px;height:18px}
.header-pos.is-active{background:#f5e8e5;color:var(--brand)}
.header-account{width:39px;height:39px;border:1px solid var(--stroke);border-radius:11px;display:grid;place-items:center;background:#fff;color:#605355;cursor:pointer}
.header-account .nav-glyph{width:19px;height:19px}.header-account svg{width:19px;height:19px}
.content{padding:24px 25px 55px;max-width:1140px}
.drawer-scrim{position:fixed;inset:0;background:rgba(26,20,20,.47);z-index:58;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s;border:0;width:100%;cursor:default}
.app-drawer{position:fixed;top:0;left:0;bottom:0;z-index:59;width:min(338px,88vw);max-width:100%;background:#fff;box-shadow:8px 0 28px #260c1729;display:flex;flex-direction:column;transform:translateX(-105%);visibility:hidden;transition:transform .22s ease,visibility .22s;overflow:hidden}
body.drawer-open .drawer-scrim{opacity:1;visibility:visible;pointer-events:auto}
body.drawer-open .app-drawer{transform:translateX(0);visibility:visible}
body.drawer-open{overflow:hidden}
.drawer-header{display:flex;gap:11px;align-items:center;padding:17px 15px 15px;border-bottom:1px solid var(--stroke);min-height:82px}
.drawer-brand{display:flex;gap:10px;align-items:center;flex:1;min-width:0}
.drawer-mark{width:74px;height:52px;background:#fff9f3;border:1px solid #f1e6e0;padding:3px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}
.drawer-mark img{max-width:100%;max-height:100%;object-fit:contain}
.drawer-brand-copy{min-width:0}.drawer-brand-copy strong{font-size:13px;line-height:1.25;display:block;white-space:normal;color:#312522}.drawer-brand-copy small{color:#8e7f78;font-size:11px}
.drawer-close{height:35px;width:35px;flex:0 0 35px;border-radius:10px;border:1px solid var(--stroke);background:#fff;color:#605052;font-size:21px;cursor:pointer}
.drawer-list{padding:13px 11px;display:flex;flex-direction:column;gap:4px;flex:1;overflow:auto;overscroll-behavior:contain}
.drawer-label{font-size:10px;color:#978b89;font-weight:850;letter-spacing:.7px;text-transform:uppercase;padding:14px 13px 5px}
.drawer-label:first-child{padding-top:3px}
.drawer-item{width:100%;height:47px;display:flex;align-items:center;gap:12px;border:0;border-radius:12px;background:transparent;color:#393739;padding:0 13px;text-align:left;font-size:13px;font-weight:700;cursor:pointer}
.drawer-item .nav-glyph{color:#866e6c;flex:0 0 23px}.drawer-item span.drawer-item-title{flex:1}.drawer-item.active{background:#f8e9e5;color:var(--brand)}
.drawer-item.active .nav-glyph{color:var(--brand)}.drawer-item:hover{background:#fbf1ef}
.drawer-divider{height:1px;background:#eee9e6;margin:9px 13px 3px}
.drawer-footer{border-top:1px solid var(--stroke);padding:11px 14px 15px;background:#fdfbfa}
.drawer-footer .drawer-item{height:42px}.drawer-footer .demo-note{font-size:10px;color:#988b89;padding:7px 13px 0}
.drawer-hint{display:none}
@media(max-width:810px){
 :root{--headerheight:65px}
 .top{padding:0 11px;gap:7px}
 .drawer-trigger{height:41px;width:41px;flex-basis:41px;border-radius:12px}
 .brand-illustration{width:65px;height:46px;flex-basis:65px}
 .brand-lockup{gap:7px}
 .brand-copy strong{font-size:12px;max-width:175px}.brand-copy small{font-size:10px;max-width:155px}
 .top-right{gap:5px}.top-right .top-demo,.top-right .top-role{display:none!important}
 .header-pos{height:38px;min-height:38px;padding:0 10px;font-size:11px}.header-pos .nav-glyph{display:none}
 .header-account{width:38px;height:38px}
 .content{padding:14px 12px 23px}
 .mobilecartbar{bottom:calc(14px + env(safe-area-inset-bottom));left:12px;right:12px;z-index:18}
 .content:has(.mobilecartbar){padding-bottom:calc(104px + env(safe-area-inset-bottom))}
 .shop-item .btn{min-height:38px}
}
@media(max-width:370px){
 .top{padding:0 8px;gap:6px}
 .drawer-trigger{height:37px;width:37px;flex-basis:37px}
 .brand-illustration{width:55px;height:41px;flex-basis:55px}
 .brand-copy strong{font-size:11px;max-width:115px}.brand-copy small{font-size:9px;max-width:105px}
 .header-pos{padding:0 8px;font-size:10px}
 .header-account{height:36px;width:36px}
}
@media(min-width:811px){.content{padding:28px 30px 50px}.top-brand .brand-copy strong{font-size:15px;max-width:300px}.brand-illustration{width:83px;height:51px;flex-basis:83px}.drawer-hint{display:block;font-size:11px;color:#9b8b86;margin-left:8px}}
@media(prefers-reduced-motion:reduce){.app-drawer,.drawer-scrim{transition:none}}


/* V9: standard mobile actions and inline filters */
:root{--dock-h:77px}
.bottomnav{display:none!important}
.page .content{padding-bottom:calc(var(--dock-h) + 54px)}
.action-dock{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:24;display:flex;gap:4px;align-items:stretch;width:min(680px,calc(100% - 28px));padding:6px;background:rgba(255,255,255,.98);border:1px solid #e9e2df;box-shadow:0 10px 36px rgba(60,32,28,.13);border-radius:21px;min-height:68px;backdrop-filter:blur(10px)}
.dock-action{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-radius:15px;background:transparent;color:#716768;min-height:54px;padding:7px 3px;cursor:pointer;font-family:inherit;font-weight:750}
.dock-action:disabled{opacity:.40;cursor:not-allowed}
.dock-action.is-current{background:#faeeec;color:var(--brand)}
.dock-action.dock-primary{background:var(--brand);color:#fff}
.dock-action.dock-primary:disabled{background:#ddc6c5}
.dock-icon{height:24px;display:grid;place-items:center}
.dock-svg,.action-dock .nav-glyph svg{height:22px;width:22px;display:block}
.dock-label{font-size:11px;line-height:1.1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.date-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;min-width:172px;padding:0 13px;border:1px solid #dfd3cd;border-radius:13px;background:#fff;color:#362a28;font-size:13px;font-weight:800;cursor:pointer;font-family:inherit}
.date-filter-trigger .dock-svg{width:19px;height:19px;color:var(--brand)}
.date-filter-trigger .date-chevron{margin-left:auto;color:#9d8782;font-size:18px}
.shop-date-label{font-size:12px;color:var(--muted);font-weight:750}
.shop-date{gap:10px;flex-wrap:wrap}
.shop-date .date-filter-trigger{flex:1;min-width:170px}
.report-period{min-height:40px;min-width:145px;padding:0 10px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin:2px 0 18px;gap:10px}
.cal-head strong{font-size:17px;color:#302726;text-transform:capitalize}
.cal-step{width:43px;height:43px;display:grid;place-items:center;border:1px solid #e8dcd7;border-radius:13px;background:#fff;color:var(--brand);font-size:28px;cursor:pointer}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.cal-weekday{display:grid;place-items:center;font-size:11px;font-weight:700;color:#9a8f8d;min-height:28px}
.cal-day{min-width:0;aspect-ratio:1 / 1;min-height:37px;border:0;border-radius:11px;background:transparent;font-weight:700;font-size:13px;cursor:pointer;color:#332e2d}
.cal-day.chosen,.cal-month.chosen{background:var(--brand);color:white}
.cal-day.is-today:not(.chosen){border:1px solid var(--brand);color:var(--brand)}
.cal-today{margin-top:19px}
.cal-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.cal-month{min-height:57px;border-radius:13px;border:1px solid #eee1dc;background:#fff;color:#443431;cursor:pointer;font-family:inherit;font-weight:750}
.date-filter-trigger:focus-visible,.dock-action:focus-visible,.cal-day:focus-visible,.cal-month:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media(max-width:810px){
 :root{--dock-h:78px}
 .action-dock{bottom:0;left:0;transform:none;width:100%;max-width:none;border-radius:17px 17px 0 0;padding:7px 7px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px rgba(60,32,28,.10);min-height:calc(72px + env(safe-area-inset-bottom))}
 .dock-action{min-height:51px;padding:6px 2px}
 .dock-label{font-size:10px}
 .page .content{padding-bottom:calc(103px + env(safe-area-inset-bottom))}
 .mobilecartbar{bottom:calc(91px + env(safe-area-inset-bottom))!important;z-index:18}
 .content:has(.mobilecartbar){padding-bottom:calc(185px + env(safe-area-inset-bottom))}
 .shop-date{display:flex;align-items:center;flex-wrap:nowrap;margin:10px 0 12px}
 .shop-date-label{display:none}
 .shop-date .date-filter-trigger{width:100%;flex:1;min-width:0}
 .shop-date .desktop-add-item{display:none}
 .shop-filters{margin-top:8px}
 .shop-filters .pill{display:inline-flex!important}
 .shop-filter{max-width:none}
 .shop-filter label{font-size:11px}
 .date-filter-trigger{min-height:46px}
 .report-period{min-height:40px}
}
@media(max-width:350px){.dock-label{font-size:9.2px}.action-dock{padding-left:3px;padding-right:3px}.dock-action{gap:3px}.dock-icon{height:21px}.dock-svg,.action-dock .nav-glyph svg{height:20px;width:20px}}


/* V9: action dock is a toolbar, not a secondary filter strip */
.action-dock:has(> .dock-action:only-child){max-width:460px}
.action-dock:has(> .dock-action:only-child) .dock-action,
.action-dock:has(> .dock-action:nth-child(2):last-child) .dock-action{flex-direction:row;gap:10px}
.action-dock:has(> .dock-action:only-child) .dock-label,
.action-dock:has(> .dock-action:nth-child(2):last-child) .dock-label{font-size:13px}
.shop-filters .pill{display:inline-flex}
@media(max-width:680px){
 .action-dock:has(> .dock-action:only-child){max-width:none}
 .shop-filters{gap:6px;flex-wrap:nowrap;overflow-x:auto}
 .shop-filters .pill{display:inline-flex!important;min-width:max-content}
}
