@font-face{font-family:DM Sans;src:url(dm-sans.ttf) format('truetype');font-weight:100 1000;font-display:swap}
:root{--ink:#1e302b;--forest:#203730;--orange:#b94620;--accent:#d75b2c;--muted:#58685f;--line:#dfe3da;--canvas:#f5f6f0;--white:#fff;--pale:#e9f0e7;--radius:14px;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);font-size:15px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}a{color:var(--orange);text-decoration:none;font-weight:650}a:hover{text-decoration:underline}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;min-height:42px;padding:9px 16px;font-weight:650;line-height:1.32;cursor:pointer;text-decoration:none}button:hover,.button:hover{text-decoration:none}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #de783f;outline-offset:3px}h1,h2,p{margin:0}h1{font-size:clamp(29px,3vw,42px);line-height:1.13;letter-spacing:-.048em;font-weight:680}h2{font-size:20px;font-weight:670;line-height:1.3;letter-spacing:-.035em}p{line-height:1.55}small,.muted,.hint,.lede,.subheading p,.panel>p{color:var(--muted)}small{font-size:12px}strong,b{font-weight:670}svg{flex-shrink:0}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.primary{background:var(--orange);color:#fff}.primary:hover:not(:disabled){background:#9e3818}.secondary,.iconbtn{background:#fff;color:var(--ink);border-color:#cfd8ce}.secondary:hover,.iconbtn:hover{background:var(--canvas)}.textbtn,.plain{color:var(--orange);background:transparent;padding:0;min-height:0;font-weight:650}.wide{width:100%}.below{margin-top:20px}.button,.actions{flex-wrap:wrap}.actions,.tools,.row,.heading-icon,.date,.between,.subheading,.section-head,.pay-method,.pager{display:flex;align-items:center;gap:10px}.tools,.subheading,.between,.section-head{justify-content:space-between}.section-head{margin-bottom:18px}.subheading{margin:8px 0 24px;flex-wrap:wrap}.subheading p{font-size:15px}.tools{flex-wrap:wrap;margin-bottom:16px}.actions{flex-wrap:wrap}.card,.metric{border:1px solid var(--line);border-radius:var(--radius);background:var(--white);box-shadow:0 2px 3px #20373004}.panel{padding:24px}.panel>p{margin:10px 0 16px}.panel>h2+ .scroll{margin-top:16px}.split,.master-layout,.pos-layout,.metrics,.formgrid,.filters,.purchase-line{display:grid;gap:20px;align-items:start}.split{grid-template-columns:repeat(2,minmax(0,1fr))}.master-layout{grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr)}.narrow{max-width:540px}.stack,label:not(.check){display:flex;flex-direction:column}.stack{gap:17px}label,legend{font-size:13px;font-weight:650;color:#384b40}label{gap:6px}input:not([type=radio]):not([type=checkbox]),select{width:100%;min-width:0;min-height:43px;border:1px solid #cdd6cc;border-radius:7px;background:white;color:var(--ink);padding:9px 11px;font-weight:450;font-size:14px}input::placeholder{color:#748175}input[type=checkbox],input[type=radio]{width:17px;height:17px;accent-color:var(--orange);margin:0;flex-shrink:0}.check{display:flex;align-items:center;gap:9px;font-weight:500}.formgrid{grid-template-columns:1fr 1fr;gap:14px}.filters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end;gap:15px}.filters .actions{min-height:43px}fieldset{border:0;margin:0;padding:0}legend{padding:0;margin:0 0 7px}.pay-method label{display:flex;flex-flow:row;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);padding:13px;border-radius:8px;flex:1;cursor:pointer}.pay-method label:has(input:checked){background:#fff3e9;border-color:var(--accent)}.notice{padding:12px 16px;border-radius:8px;margin:14px 0;font-size:14px}.notice.success,.green{background:#e2f0e4;color:#285a3b}.notice.error,.orange{background:#feebe3;color:#933515}.neutral{background:#ecefe9;color:#516056}.status,.source,.count{border-radius:20px;display:inline-flex;align-items:center;gap:7px;padding:4px 9px;font-size:11px;font-weight:650;white-space:nowrap}.status i{width:7px;height:7px;border-radius:99px;background:#438653}.count{background:#f0f3ee;color:#475c50}.food{color:#8e481d;background:#f9eddf}.retail{color:#345d59;background:#e6f0ed}.source{font-size:10px;line-height:1.4;padding:3px 7px}.row{min-width:0}.scroll{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:11px;font-weight:650;color:#56655b;background:#f3f5f0;white-space:nowrap}td,th{padding:12px 10px;border-bottom:1px solid #e7ebe3}td{vertical-align:middle}td small{display:block;font-size:11px;color:var(--muted);margin-top:3px}th:first-child{border-radius:5px 0 0 5px}td.num,.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:0}.empty{text-align:center;padding:30px 15px;color:var(--muted);font-size:14px}.empty-report{display:grid;justify-items:center;gap:6px}.empty-report svg{margin-bottom:6px;color:#799282}.pager{justify-content:flex-end;margin-top:16px}.pager a{font-size:12px;min-height:36px}.facts p,.receipt-lines p{display:flex;justify-content:space-between;gap:14px;margin:10px 0;font-size:14px}.facts span,.receipt-lines span{color:var(--muted)}.facts b{text-align:right}
#sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:var(--forest);color:#eaf1e8;display:flex;flex-direction:column;padding:27px 15px 16px;z-index:10}.brand{display:inline-flex;align-items:center;gap:10px;font-size:25px;font-weight:760;letter-spacing:-1.7px;line-height:1;color:inherit}.brand:hover{text-decoration:none}.brand-light{font-weight:460}.brand.authbrand{color:var(--forest)}#sidebar>.brand{padding-left:10px;margin-bottom:25px}#sidebar nav{overflow-y:auto;flex:1}.nav-group{color:#b3c2b7;text-transform:uppercase;font-size:10px;letter-spacing:.14em;font-weight:650;margin:20px 10px 8px}.navlink{display:flex;align-items:center;gap:11px;color:#e1e9df;padding:10px 12px;border-radius:7px;font-size:14px;font-weight:480;margin-bottom:3px;line-height:1.4}.navlink svg{color:#b9c9bd}.navlink:hover{background:#2c443b;text-decoration:none}.navlink.on{background:#f0ede0;color:#263c31;font-weight:650}.navlink.on svg{color:#a8421e}.identity{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:18px 3px 0;border-top:1px solid #3f554a;margin-top:14px}.identity a{color:#fff;display:flex;gap:9px;align-items:center;font-size:13px;min-width:0}.identity a>span:last-child{min-width:0}.identity b{display:block;overflow:hidden;text-overflow:ellipsis}.identity small{display:block;color:#bfcec1;font-size:11px}.avatar{width:32px;height:32px;background:#526a5a;display:grid;place-items:center;border-radius:50%;font-size:14px;font-weight:650;flex-shrink:0}.logout{background:transparent;color:#d6e1d8;min-height:34px;padding:6px}.workspace main{margin-left:220px;min-height:100vh}.topbar{height:60px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fafbf7;font-size:12px}.crumb,.crumb-arrow,.date{color:var(--muted)}.date{gap:7px}.content{max-width:1600px;margin:auto;padding:30px 32px 42px}.page-heading{margin-bottom:18px}.page-heading:has(+.subheading){margin-bottom:0}#menu-open,#shade{display:none}
.pos-layout{grid-template-columns:minmax(0,1.55fr) minmax(270px,.95fr);gap:20px}.catalog,.cart{padding:20px}.cart{position:sticky;top:15px}.heading-icon svg{color:var(--orange)}.search{display:flex;align-items:center;gap:9px;border:1px solid #cdd6cc;background:white;border-radius:8px;padding:0 12px;color:#607166}.search:focus-within{border-color:#ac5b36;box-shadow:0 0 0 2px #f1d9c9}.search input:not([type=checkbox]){border:0;padding:10px 0;outline:0!important;min-height:42px}.search kbd{font:12px monospace;color:#7d8b7e;border:1px solid var(--line);padding:1px 5px;border-radius:3px}.tools .search{min-width:min(100%,320px)}.tabs,.report-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tabs{margin:14px 0 17px}.tabs button,.report-tabs a{font-size:13px;min-height:34px;padding:7px 12px;border-radius:7px;color:#4b5b50;background:#f1f4ee}.tabs .selected,.report-tabs .selected{background:var(--forest);color:#fff}.report-tabs{margin-bottom:19px}.report-tabs a{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);text-decoration:none}.catalog-head{display:flex;justify-content:space-between;background:#f2f4ee;padding:8px 47px 8px 10px;font-size:11px;color:var(--muted);font-weight:650;border-radius:5px}.product-row{width:100%;border:0;border-bottom:1px solid #e8ebe4;display:flex;align-items:center;padding:13px 5px;border-radius:0;gap:12px;justify-content:flex-start;background:white;color:var(--ink);text-align:left}.product-row:last-child{border-bottom:0}.product-row:hover:not(:disabled){background:#fcf8f1}.product-row.in-cart .add-icon{background:#f8e5d8}.product-info{flex:1;min-width:0}.product-info>b{display:block;font-size:15px;line-height:1.35;overflow-wrap:anywhere}.meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:4px;color:var(--muted);font-size:11px;font-weight:450}.product-price{font-size:14px;white-space:nowrap}.add-icon{width:27px;height:27px;display:grid;place-items:center;background:#f8f0e8;border-radius:7px;color:var(--orange)}.cart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:190px;gap:4px;text-align:center}.cart-empty>span,.feature-icon{display:grid;place-items:center;background:#f1f4eb;color:#69816c;border-radius:16px;width:60px;height:60px;margin-bottom:9px}.cart-empty p{font-size:13px;color:var(--muted)}.cart-empty b{font-size:15px}.checkout-foot{border-top:1px dashed #cbd3c8;padding-top:15px}.checkout-foot .primary{margin-top:15px}.big-money{font-size:24px;letter-spacing:-1px}.cart-line{border-top:1px solid var(--line);padding:12px 0;font-size:13px}.cart-line .between+.between{margin-top:8px}.cart-line small{color:var(--muted)}.quantity{border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;gap:5px}.qty-btn{min-height:28px;width:28px;padding:2px;background:#f4f6f0;color:var(--ink);border:0}.quantity span{min-width:14px;text-align:center}.start-shift{padding:35px;max-width:630px}.start-shift p{margin:10px 0 20px;color:var(--muted)}
.metrics{grid-template-columns:1.3fr 1fr 1fr;gap:14px}.metric{padding:19px 20px;min-height:124px}.metric>div{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:13px}.metric strong{display:block;font-size:clamp(24px,2.4vw,35px);letter-spacing:-.055em;line-height:1.2;margin:12px 0 3px}.metric.featured{background:var(--forest);color:#fff;border-color:var(--forest)}.featured>div,.featured small{color:#d4e3d1}.featured svg{color:#f5ab78}.pay-total{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eff3ea;border:1px solid #dce6d7;border-radius:9px;padding:13px 15px;color:var(--ink);font-size:14px}.pay-total strong{font-size:20px;letter-spacing:-.035em}.panel>.pay-total{margin:15px 0}.purchase-line{grid-template-columns:2fr .75fr 1fr auto;gap:10px;align-items:end;margin-bottom:10px}.iconbtn{padding:7px;min-width:38px;font-size:20px}.receipt{max-width:440px;margin:0 auto;padding:24px 28px}.receipt-head{text-align:center;display:grid;justify-items:center;gap:4px}.receipt-head h2{font-size:29px;letter-spacing:-1.8px}.receipt-lines,.receipt .facts{border-top:1px dashed #c8d0c6;padding-top:12px;margin-top:15px}.receipt-lines>div+div{margin-top:10px}.receipt-lines small{display:block;color:var(--muted)}.receipt-lines p{margin:4px 0}.receipt-actions{justify-content:center}.authbody{min-height:100vh;background:radial-gradient(ellipse at 15% 0%,#e6ebdd,transparent 48%),#f4f4ed}.authmain{display:grid;min-height:100vh;place-items:center;padding:24px}.auth-wrap{width:min(100%,410px)}.authbrand{margin:0 0 20px 4px}.authcard{position:relative;background:#fff;border:1px solid var(--line);padding:32px;border-radius:15px;box-shadow:0 10px 28px #2a3a2510;overflow:hidden}.authcard h1{font-size:30px;letter-spacing:-1.25px}.auth-rule{margin:-32px -32px 26px;height:7px;background:repeating-linear-gradient(115deg,#cb582b 0 11px,#e78b55 11px 19px)}.authcard .lede{margin:8px 0 26px;font-size:14px}.authcard .below{display:inline-block}.authcard pre,.setup-key{display:block;padding:12px;background:#f0f3ec;border-radius:7px;overflow-wrap:anywhere;white-space:normal}.code-input,.setup-key{font-size:17px;letter-spacing:.12em}.authcard .primary{margin-top:3px;justify-content:space-between}.hint{background:#f3f5ef;padding:11px 14px;font-size:13px;border-radius:7px}dialog{width:min(440px,calc(100% - 26px));padding:22px;border:1px solid var(--line);border-radius:14px;color:var(--ink);box-shadow:0 20px 70px #0d201d33}dialog::backdrop{background:#152d2777}.stack>small{line-height:1.5}.setup-key{user-select:all}[hidden]{display:none!important}
@media(min-width:1600px){.content{padding:40px 44px}.topbar{padding:0 44px}}
@media(max-width:1150px){#sidebar{width:195px}.workspace main{margin-left:195px}.content{padding:26px 20px}.topbar{padding:0 20px}.panel,.catalog,.cart{padding:17px}.pos-layout{gap:13px;grid-template-columns:minmax(0,1.4fr) minmax(245px,.9fr)}.master-layout{grid-template-columns:1.35fr minmax(250px,1fr)}}
@media(max-width:910px){#sidebar{transform:translateX(-100%);transition:transform .16s;width:225px}.nav-open #sidebar{transform:none}.nav-open #shade{position:fixed;display:block;inset:0;border-radius:0;z-index:9;background:#152b2280}.workspace main{margin-left:0}#menu-open{display:inline-flex;min-height:33px;min-width:34px;padding:4px}.topbar{height:54px}}
@media(max-width:680px){.content{padding:20px 12px 35px}.topbar{padding:0 12px}.topbar .crumb,.topbar .crumb-arrow{display:none}.date{font-size:10px}.pos-layout,.split,.master-layout,.metrics{grid-template-columns:1fr}.cart{position:static}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{min-height:82px;padding:12px}.metric.featured{grid-column:1/-1}.metric strong{margin:5px 0}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.formgrid{grid-template-columns:1fr}.report-tabs{gap:4px}.report-tabs a{font-size:11px;padding:6px 8px}.report-tabs svg{display:none}.subheading{margin-bottom:14px}.product-row{padding:11px 1px}.purchase-line{grid-template-columns:1fr 1fr auto;border-bottom:1px solid var(--line);padding-bottom:13px}.purchase-line label:first-child{grid-column:1/-1}.button,button{min-height:42px}.authcard{padding:26px}.auth-rule{margin:-26px -26px 22px}}
@media print{body{background:white!important}.workspace main{margin:0}.content{padding:0}#sidebar,.topbar,.page-heading,.receipt-actions,.notice,#shade{display:none!important}.receipt{border:0;box-shadow:none;width:74mm;max-width:100%;padding:2mm;margin:0;color:#000}.receipt .facts p,.receipt-lines p,.receipt small{font-size:10pt}.receipt-head .status{color:#000;background:transparent}.receipt-lines>div{break-inside:avoid}@page{margin:5mm}}


.mobile-cart{display:none}
@media(max-width:680px){body:has(#pos) .content{padding-bottom:82px}.mobile-cart{display:flex;position:fixed;bottom:14px;left:12px;right:12px;z-index:4;justify-content:space-between;background:var(--forest);color:#fff;box-shadow:0 3px 14px #17352b33}.mobile-cart b{margin-left:auto}.cart-visible .mobile-cart{display:none}#keranjang{scroll-margin-top:12px}}

#pair-qr{display:block;max-width:100%;height:auto;margin:14px auto;image-rendering:pixelated}
details summary{cursor:pointer;color:var(--orange);font-weight:600;font-size:14px}

/* Selling workspace and tenant selection */
.register-page main { margin-left: 0; }
.register-page .content { max-width: none; }
.register-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 14px; }
.register-back svg { transform: rotate(180deg); }
.tenant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr)); gap: 12px; }
.tenant-tile { min-height: 78px; padding: 15px; font-size: 16px; color: var(--forest); background: #edf3e9; border: 1px solid #cedbcb; overflow-wrap: anywhere; }
.tenant-tile:hover, .tenant-tile:focus-visible { background: #dfead9; border-color: #8ba485; }
.tenant-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.tenant-heading h3 { margin: 0; font-size: 16px; }
@media (max-width: 680px) {
    .tenant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .tenant-tile { min-height: 68px; padding: 10px; }
}

/* Receipt, including the thermal print layout */
.receipt { max-width: 510px; }
.receipt-head { gap: 7px; }
.receipt-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; border-top: 1px dashed #c8d0c6; margin-top: 18px; padding-top: 14px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.receipt-meta b { color: var(--ink); }
.receipt-lines { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content; gap: 12px 14px; }
.receipt-lines > .receipt-item { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: baseline; margin: 0; }
.receipt-item b { overflow-wrap: anywhere; }
.receipt-item span, .receipt-item strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-item strong { text-align: right; }
.receipt-thanks { text-align: center; margin-top: 24px; font-size: 22px; font-weight: 750; letter-spacing: .06em; }
@supports not (grid-template-columns: subgrid) {
    .receipt-lines { display: block; }
    .receipt-lines > .receipt-item { grid-template-columns: minmax(0, 1fr) max-content max-content; gap: 10px; padding: 6px 0; }
}
@media (max-width: 480px) {
    .receipt { padding: 18px 14px; }
    .receipt-lines { gap: 10px 7px; font-size: 13px; }
}
@media print {
    .receipt { max-width: 100%; padding: 1mm; }
    .receipt-meta { font-size: 8pt; margin-top: 3mm; padding-top: 2mm; }
    .receipt-lines { gap: 2mm 1mm; font-size: 8pt; }
    .receipt .receipt-thanks { font-size: 14pt; margin-top: 4mm; }
    .receipt-lines .receipt-item { break-inside: avoid; }
}

.brand-logo { display: block; width: 36px; height: 36px; object-fit: contain; flex: 0 0 auto; border-radius: 7px; background: white; padding: 2px; }
