/* IXOBOX POS — mengikuti IXOBOX Design Guideline 2026:
   Black 60% · Ivory 25% · Brown 10% · Grey 5%; Inter (judul/CTA) + Lato (teks); ikon garis, sudut bulat, tanpa bayangan.
   Layout: rail navigasi charcoal | area kerja ivory | panel order charcoal (tablet landscape), menumpuk di layar sempit. */
@font-face{font-family:"Inter";src:url(fonts/inter-var.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Lato";src:url(fonts/lato-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Lato";src:url(fonts/lato-700.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --charcoal:#171717; --graphite:#292929; --graphite-2:#333230; --warm-gray:#77736D; --greige:#B7AEA2;
  --ivory:#F3EFE8; --ivory-2:#ECE6DC; --paper:#FBF9F5; --wood:#8A5A32; --wood-hi:#9B6739; --bronze:#A87542; --bronze-lt:#C9975F;
  --ok:#5E7F5B; --ok-bg:#E3EADF; --warn:#9A6B1F; --warn-bg:#F3E6CC; --err:#9B3B32; --err-bg:#F2DEDA; --star:#DB2828;
  --line:#DDD5C9; --line-dk:#3A3936;
  --f-head:"Inter",-apple-system,"Segoe UI",system-ui,sans-serif;
  --f-body:"Lato","Segoe UI",system-ui,sans-serif;
  --r:10px; --r-sm:7px;
  color-scheme:light;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body,#app{height:100%}
body{margin:0;background:var(--ivory);color:var(--charcoal);font-family:var(--f-body);font-size:15px;line-height:1.45;
  -webkit-font-smoothing:antialiased;overscroll-behavior:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none;padding:0}
button:disabled{cursor:not-allowed;opacity:.45}
:focus-visible{outline:2px solid var(--bronze);outline-offset:2px}
h1,h2,h3,h4{font-family:var(--f-head);margin:0;line-height:1.15;text-wrap:balance}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--warm-gray)}
.eyebrow{font-family:var(--f-head);font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--warm-gray)}
.hidden{display:none!important}
svg.ic{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--r-sm);
  font-family:var(--f-head);font-weight:700;font-size:14px;letter-spacing:.01em;white-space:nowrap}
.btn-primary{background:var(--wood);color:var(--ivory)}
.btn-primary:hover{background:var(--wood-hi)}
.btn-dark{background:var(--charcoal);color:var(--ivory)}
.btn-ghost{border:1.5px solid var(--line);background:var(--paper)}
.btn-ghost:hover{border-color:var(--greige)}
.btn-ghost-dk{border:1.5px solid var(--line-dk);color:var(--ivory)}
.btn-ghost-dk:hover{border-color:var(--warm-gray)}
.btn-danger{background:var(--err-bg);color:var(--err)}
.btn-lg{min-height:56px;font-size:16px}
.btn-block{width:100%}
.pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-family:var(--f-head);
  font-size:11.5px;font-weight:600;white-space:nowrap}
.pill-ok{background:var(--ok-bg);color:var(--ok)} .pill-warn{background:var(--warn-bg);color:var(--warn)}
.pill-err{background:var(--err-bg);color:var(--err)} .pill-neutral{background:var(--ivory-2);color:var(--graphite)}
.pill-dark{background:var(--graphite);color:var(--ivory)}
.dot{width:7px;height:7px;border-radius:50%;background:currentColor}

/* ---------- fields ---------- */
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-family:var(--f-head);font-size:12px;font-weight:600;color:var(--graphite)}
.input{height:46px;border:1.5px solid var(--line);background:var(--paper);border-radius:var(--r-sm);padding:0 12px;width:100%}
.input:focus{border-color:var(--bronze);outline:none}
textarea.input{height:auto;min-height:72px;padding:10px 12px;resize:vertical}

/* ---------- full-screen entry (pair / lock / open shift) ---------- */
.entry{min-height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);background:var(--charcoal)}
.entry-brand{padding:48px;display:flex;flex-direction:column;justify-content:space-between;gap:28px;color:var(--ivory);
  background:linear-gradient(160deg,#77736D 0%,#292929 38%,#171717 100%)}
.entry-brand img{width:120px;height:auto}
.entry-brand h1{font-size:clamp(34px,4.4vw,52px);font-weight:800;letter-spacing:-.02em;max-width:9ch}
.entry-brand p{color:var(--greige);max-width:38ch;margin:12px 0 0}
.entry-brand .rule{width:56px;height:2px;background:var(--bronze);margin:20px 0}
.entry-panel{background:var(--ivory);padding:40px clamp(20px,5vw,64px);display:flex;flex-direction:column;justify-content:center;gap:22px}
.entry-panel h2{font-size:28px;font-weight:800}
.entry-form{display:flex;flex-direction:column;gap:14px;max-width:420px}
.qr-img{width:220px;height:220px;image-rendering:pixelated;background:#fff;border-radius:var(--r-sm)}
.outlet-list{display:flex;flex-direction:column;gap:18px;max-height:max(220px,calc(100vh - 360px));overflow:auto;padding-right:4px}
.outlet-loc{display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:560px}
.outlet-dist{float:right;margin-left:8px;font-size:12px;font-weight:600;color:var(--bronze)}
.outlet-list .emp b{width:100%}
.outlet-group{display:flex;flex-direction:column;gap:8px}
.outlet-list .emp-grid{max-width:none;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
.demo-note{font-size:13px;color:var(--warm-gray);border-top:1px solid var(--line);padding-top:12px;max-width:420px}

.emp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;max-width:560px}
.emp{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px;border:1.5px solid var(--line);background:var(--paper);
  border-radius:var(--r);text-align:left}
.emp[aria-pressed="true"]{border-color:var(--charcoal);background:var(--charcoal);color:var(--ivory)}
.emp b{font-family:var(--f-head);font-size:14px}
.emp span{font-size:12px;color:var(--warm-gray)}
.emp[aria-pressed="true"] span{color:var(--greige)}

.pinpad{display:grid;grid-template-columns:repeat(3,76px);gap:10px}
.pinpad button{height:62px;border-radius:var(--r);background:var(--paper);border:1.5px solid var(--line);font-family:var(--f-head);font-size:22px;font-weight:600}
.pinpad button:active{background:var(--ivory-2)}
.pin-dots{display:flex;gap:12px;height:18px;align-items:center}
.pin-dots i{width:13px;height:13px;border-radius:50%;border:1.5px solid var(--warm-gray)}
.pin-dots i.on{background:var(--charcoal);border-color:var(--charcoal)}
.pin-err{color:var(--err);font-size:13px;min-height:18px}

/* ---------- app shell ---------- */
.shell{height:100%;display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:60px minmax(0,1fr)}
.rail{grid-row:1/3;background:var(--charcoal);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:6px}
.rail .logo{width:46px;margin:2px 0 14px}
.rail button{width:60px;min-height:58px;border-radius:var(--r);color:var(--greige);display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:4px;font-family:var(--f-head);font-size:10.5px;font-weight:600;position:relative}
.rail button:hover{color:var(--ivory)}
.rail button[aria-current="page"]{background:var(--graphite);color:var(--ivory)}
.rail button[aria-current="page"]::before{content:"";position:absolute;left:-8px;top:14px;bottom:14px;width:3px;border-radius:2px;background:var(--bronze)}
.rail .badge{position:absolute;top:6px;right:8px;min-width:18px;height:18px;border-radius:9px;background:var(--bronze);color:var(--charcoal);
  font-size:10.5px;display:grid;place-items:center;padding:0 4px}
.rail .spacer{flex:1}
.topbar{display:flex;align-items:center;gap:14px;padding:0 18px;border-bottom:1px solid var(--line);background:var(--paper);min-width:0}
.topbar .outlet{display:flex;flex-direction:column;min-width:0}
.topbar .outlet b{font-family:var(--f-head);font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .outlet span{font-size:12px;color:var(--warm-gray)}
.topbar .grow{flex:1}
.op{display:flex;align-items:center;gap:8px;padding:6px 10px 6px 6px;border-radius:999px;border:1.5px solid var(--line)}
.op .av{width:28px;height:28px;border-radius:50%;background:var(--charcoal);color:var(--ivory);display:grid;place-items:center;font-family:var(--f-head);font-size:12px;font-weight:700}
.op b{font-size:13px;font-family:var(--f-head)} .op span{font-size:11.5px;color:var(--warm-gray)}
.clock{font-family:var(--f-head);font-weight:600;font-size:14px}
main.view{min-height:0;overflow:hidden;display:flex}

/* ---------- kasir ---------- */
.kasir{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 400px;min-height:0}
.catalog{display:flex;flex-direction:column;min-height:0;padding:16px 18px 0;gap:12px}
.cat-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.search{position:relative;flex:1;min-width:200px}
.search .ic{position:absolute;left:12px;top:13px;color:var(--warm-gray)}
.search input{padding-left:40px}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.chip{height:36px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--paper);font-family:var(--f-head);
  font-size:13px;font-weight:600;white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--charcoal);border-color:var(--charcoal);color:var(--ivory)}
.items{flex:1;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px;align-content:start;padding-bottom:18px}
.item{display:flex;flex-direction:column;gap:6px;text-align:left;padding:14px;min-height:118px;border-radius:var(--r);background:var(--paper);
  border:1.5px solid var(--line);position:relative}
.item:hover{border-color:var(--greige)}
.item:active{background:var(--ivory-2)}
.item .t{font-family:var(--f-head);font-weight:700;font-size:14.5px;line-height:1.2}
.item .p{font-family:var(--f-head);font-weight:700;color:var(--bronze);font-size:15px;margin-top:auto}
.item .m{display:flex;gap:6px;flex-wrap:wrap;font-size:11.5px;color:var(--warm-gray)}
.item .kind{position:absolute;top:12px;right:12px;width:8px;height:8px;border-radius:2px}
.kind-service{background:var(--charcoal)} .kind-extra{background:var(--greige)} .kind-product{background:var(--bronze)}

.cart{background:var(--charcoal);color:var(--ivory);display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
.cart>*{min-width:0}
.cart-head{padding:14px 16px;border-bottom:1px solid var(--line-dk);display:flex;flex-direction:column;gap:10px}
.cart-head .row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cart-head h3{font-size:16px;font-weight:700}
.cust-btn{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:var(--r-sm);border:1.5px dashed var(--line-dk);text-align:left;color:var(--greige)}
.cust-btn.set{border-style:solid;color:var(--ivory)}
.cust-btn b{font-family:var(--f-head);font-size:14px;display:block} .cust-btn span{font-size:12px;color:var(--greige)}
.lines{flex:1;overflow-y:auto;padding:4px 16px}
.empty-cart{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--warm-gray);text-align:center;padding:24px}
.line{padding:12px 0;border-bottom:1px solid var(--line-dk);display:flex;flex-direction:column;gap:7px}
.line.child{padding-left:16px;border-left:2px solid var(--graphite-2);margin-left:4px}
.line-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.line-top b{font-family:var(--f-head);font-size:14px;font-weight:600}
.line-top .amt{font-family:var(--f-head);font-weight:700;color:var(--bronze-lt);white-space:nowrap}
.line-top s{color:var(--warm-gray);font-size:12px;margin-right:6px}
.line-ctl{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.mini{height:30px;padding:0 10px;border-radius:999px;border:1.5px solid var(--line-dk);font-size:12px;font-family:var(--f-head);font-weight:600;
  display:inline-flex;align-items:center;gap:5px;color:var(--ivory)}
.mini.need{border-color:var(--bronze);color:var(--bronze-lt)}
.mini .ic{width:15px;height:15px}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line-dk);border-radius:999px;height:30px}
.qty button{width:30px;height:28px;color:var(--ivory);font-size:16px}
.qty span{min-width:22px;text-align:center;font-family:var(--f-head);font-size:13px}
.cart-foot{padding:12px 16px 16px;border-top:1px solid var(--line-dk);display:flex;flex-direction:column;gap:10px}
.promo-row{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.promo-chip{height:32px;padding:0 12px;border-radius:999px;border:1.5px solid var(--line-dk);font-size:12px;font-family:var(--f-head);font-weight:600;
  white-space:nowrap;color:var(--greige)}
.promo-chip[aria-pressed="true"]{border-color:var(--bronze);color:var(--charcoal);background:var(--bronze-lt)}
.sum{display:grid;grid-template-columns:1fr auto;gap:3px 12px;font-size:13.5px;color:var(--greige)}
.sum .v{text-align:right;font-variant-numeric:tabular-nums;color:var(--ivory)}
.sum .total{font-family:var(--f-head);font-size:22px;font-weight:800;color:var(--ivory);padding-top:6px}
.sum .total.v{color:var(--bronze-lt)}
.cart-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}

/* ---------- queue board ---------- */
.page{flex:1;overflow-y:auto;padding:18px}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.page-head h2{font-size:24px;font-weight:800}
.board{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:14px;align-items:start}
.col{background:var(--ivory-2);border-radius:var(--r);padding:12px;display:flex;flex-direction:column;gap:10px;min-height:200px}
.col-h{display:flex;justify-content:space-between;align-items:center;padding:2px 4px}
.col-h h3{font-size:14px;font-weight:700}
.ticket{background:var(--paper);border-radius:var(--r-sm);border:1.5px solid var(--line);padding:12px;display:flex;flex-direction:column;gap:8px}
.ticket .tno{font-family:var(--f-head);font-weight:800;font-size:13px;letter-spacing:.02em}
.ticket .who{font-family:var(--f-head);font-weight:700;font-size:15px}
.ticket ul{margin:0;padding:0;list-style:none;font-size:13px;display:flex;flex-direction:column;gap:3px}
.ticket li{display:flex;justify-content:space-between;gap:8px}
.ticket li span:last-child{color:var(--warm-gray);white-space:nowrap}
.ticket .acts{display:flex;gap:6px;flex-wrap:wrap}
.ticket .acts .btn{min-height:36px;padding:0 12px;font-size:12.5px}
.ticket .meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--warm-gray)}

/* ---------- tables / lists ---------- */
.card{background:var(--paper);border:1.5px solid var(--line);border-radius:var(--r);padding:16px}
.tbl-wrap{overflow-x:auto;background:var(--paper);border:1.5px solid var(--line);border-radius:var(--r)}
table{border-collapse:collapse;width:100%;font-size:13.5px}
th{font-family:var(--f-head);font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--warm-gray);text-align:left;
  padding:10px 12px;border-bottom:1.5px solid var(--line);white-space:nowrap}
td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
tr:last-child td{border-bottom:0}
tr.click{cursor:pointer} tr.click:hover td{background:var(--ivory)}
td.r,th.r{text-align:right;font-variant-numeric:tabular-nums}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.kv{display:grid;grid-template-columns:1fr auto;gap:8px 16px;font-size:14px}
.kv .v{text-align:right;font-variant-numeric:tabular-nums;font-family:var(--f-head);font-weight:600}
.kv .sep{grid-column:1/-1;height:1px;background:var(--line);margin:4px 0}
.kv .big{font-size:18px;font-weight:800}
.diff-ok{color:var(--ok)} .diff-bad{color:var(--err)}
.stats{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.stat{background:var(--paper);border:1.5px solid var(--line);border-radius:var(--r);padding:12px 16px;min-width:140px}
.stat b{display:block;font-family:var(--f-head);font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.stat span{font-size:12px;color:var(--warm-gray)}

/* ---------- modal ---------- */
.scrim{position:fixed;inset:0;background:rgba(23,23,23,.55);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}
.modal{background:var(--ivory);border-radius:14px;width:min(560px,100%);max-height:calc(100% - 24px);display:flex;flex-direction:column;overflow:hidden}
.modal.wide{width:min(860px,100%)}
.modal-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
.modal-h h3{font-size:18px;font-weight:800}
.modal-b{padding:18px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}
.modal-f{padding:14px 20px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.x{width:36px;height:36px;border-radius:50%;display:grid;place-items:center}
.x:hover{background:var(--ivory-2)}
.pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.pick{padding:12px;border-radius:var(--r-sm);border:1.5px solid var(--line);background:var(--paper);text-align:left;display:flex;flex-direction:column;gap:3px}
.pick b{font-family:var(--f-head);font-size:14px}
.pick span{font-size:12px;color:var(--warm-gray)}
.pick[aria-pressed="true"]{border-color:var(--charcoal);background:var(--charcoal);color:var(--ivory)}
.pick[aria-pressed="true"] span{color:var(--greige)}
.pay-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pay-methods button{height:64px;border-radius:var(--r-sm);border:1.5px solid var(--line);background:var(--paper);display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;font-family:var(--f-head);font-weight:600;font-size:13px}
.pay-methods button[aria-pressed="true"]{border-color:var(--wood);background:var(--wood);color:var(--ivory)}
.quick{display:flex;gap:8px;flex-wrap:wrap}
.quick button{height:40px;padding:0 14px;border-radius:var(--r-sm);border:1.5px solid var(--line);background:var(--paper);font-family:var(--f-head);font-weight:600;font-size:13px}
.due{display:flex;justify-content:space-between;align-items:baseline;background:var(--charcoal);color:var(--ivory);border-radius:var(--r);padding:14px 18px}
.due b{font-family:var(--f-head);font-size:28px;font-weight:800;color:var(--bronze-lt);font-variant-numeric:tabular-nums}
.paylist{display:flex;flex-direction:column;gap:6px}
.pay-box{display:flex;flex-direction:column;gap:14px}
.paylist .mini{color:var(--charcoal);border-color:var(--line)}
.paylist div{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--paper);border-radius:var(--r-sm);border:1px solid var(--line)}
.qris{display:flex;gap:16px;align-items:center;padding:14px;border:1.5px dashed var(--greige);border-radius:var(--r);background:var(--paper)}
.qr{width:120px;height:120px;flex:none;background:
  conic-gradient(var(--charcoal) 25%,transparent 0 50%,var(--charcoal) 0 75%,transparent 0) 0 0/20px 20px;border:8px solid var(--paper);
  outline:1.5px solid var(--line);border-radius:6px}

/* receipt */
.receipt{background:#fff;color:#111;font-family:ui-monospace,Menlo,monospace;font-size:12.5px;padding:18px;border-radius:6px;border:1px solid var(--line);
  max-width:340px;margin:0 auto;width:100%}
.receipt .c{text-align:center} .receipt img{width:70px;display:block;margin:0 auto 6px}
.receipt .r{display:flex;justify-content:space-between;gap:8px}
.receipt hr{border:0;border-top:1px dashed #999;margin:8px 0}

/* toast */
.toasts{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;z-index:80;width:min(440px,calc(100% - 32px))}
.toast{background:var(--charcoal);color:var(--ivory);border-radius:var(--r-sm);padding:12px 16px;font-size:14px;display:flex;gap:10px;align-items:center}
.toast.err{background:var(--err)}

@media (max-width:1000px){
  .kasir{grid-template-columns:minmax(0,1fr) 340px}
}
@media (max-width:820px){
  .k-w-queue{grid-template-columns:1fr}
  .entry{grid-template-columns:1fr}
  .entry-brand{padding:28px 20px;gap:18px}
  .entry-brand img{width:84px}
  .entry-brand h1{font-size:30px}
  .shell{grid-template-columns:1fr;grid-template-rows:56px minmax(0,1fr) 64px}
  .rail{grid-row:3;grid-column:1;flex-direction:row;justify-content:space-around;padding:4px 6px;overflow-x:auto}
  .rail .logo,.rail .spacer{display:none}
  .rail button{min-height:52px;width:auto;flex:1;min-width:56px}
  .rail button[aria-current="page"]::before{left:14px;right:14px;top:-4px;bottom:auto;width:auto;height:3px}
  .topbar{grid-column:1}
  .topbar .clock,.op span{display:none}
  .kasir{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;overflow-y:auto}
  .cart{min-height:auto}
  .lines{max-height:none}
  .board{grid-template-columns:1fr}
  .pay-methods{grid-template-columns:repeat(2,1fr)}
}
@media print{
  body *{visibility:hidden}
  .receipt,.receipt *{visibility:visible}
  .receipt{position:absolute;left:0;top:0;border:0}
}
@media (prefers-reduced-motion:no-preference){
  .btn,.chip,.item,.rail button{transition:background-color .12s,border-color .12s,color .12s}
}

/* ===================== kiosk self-service ===================== */
/* layar depan (desain user 2026-10-27): header putih, kiri sambutan, tengah antrean menunggu, kanan layanan berlangsung */
.k-welcome{height:100%;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);color:var(--ivory);position:relative;
  background:radial-gradient(120% 90% at 30% 0%,#2b2a28 0%,#171717 55%,#0d0d0d 100%)}
.k-w-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px clamp(20px,4vw,52px);background:#fff;color:var(--charcoal)}
.k-w-logo{width:64px}
.k-w-outlet{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.k-w-store{display:inline-flex;align-items:center;gap:10px;font-family:var(--f-head);font-weight:700;font-size:clamp(14px,1.3vw,17px)}
.k-w-switch{min-height:34px;padding:0 14px;font-size:13px}
.k-w-mid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.75fr);gap:clamp(18px,2.6vw,40px);min-height:0;padding:clamp(18px,3vh,30px) clamp(20px,4vw,52px)}
.k-w-solo .k-w-mid{grid-template-columns:minmax(0,560px);justify-content:center}
.k-w-main{display:flex;flex-direction:column;gap:clamp(10px,1.8vh,18px);min-height:0;overflow-y:auto;scrollbar-width:none}
.k-w-main h1{font-size:clamp(34px,4.6vw,60px);font-weight:800;letter-spacing:-.01em;line-height:1;margin-top:clamp(4px,1vh,12px)}
.k-w-sub{margin:-4px 0 0;font-family:var(--f-head);font-size:clamp(16px,1.9vw,24px);font-weight:400;color:var(--ivory)}
.k-w-sub b{font-weight:800}
.k-cta{flex:none;min-height:clamp(56px,8vh,68px);font-size:clamp(17px,1.5vw,20px);padding:0 70px 0 28px;border-radius:8px;justify-content:center;position:relative}
.k-cta-arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:44px;height:30px;border:2px solid currentColor;border-radius:999px;display:grid;place-items:center}
.k-cta-arrow svg.ic{width:22px;height:22px}
/* banner berganti: promo / produk / merek */
.k-banner{position:relative;flex:none;aspect-ratio:16/9;max-height:28vh;border:2px solid var(--ivory);border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#3a2a1c,#171717 70%)}
.k-bn-slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:clamp(16px,2.4vw,32px);opacity:0;transition:opacity .6s}
.k-bn-slide.on{opacity:1}
.k-bn-slide .eyebrow{color:var(--bronze-lt)}
.k-bn-slide b{font-family:var(--f-head);font-size:clamp(22px,2.6vw,36px);font-weight:800;line-height:1.05}
.k-bn-slide span{color:var(--greige)}
.k-bn-prod{flex-direction:row;align-items:center;gap:clamp(14px,2vw,28px)}
.k-bn-prod img{height:100%;max-width:45%;object-fit:contain}
.k-bn-prod div{display:flex;flex-direction:column;gap:6px;min-width:0}
.k-bn-prod .k-bn-price{font-family:var(--f-head);font-size:clamp(20px,2vw,28px);font-weight:800;color:var(--bronze-lt)}
.k-bn-img{padding:0}
.k-bn-img img{width:100%;height:100%;object-fit:cover}
.k-bn-brand{align-items:center;text-align:center}
.k-bn-brand img{width:38%;max-width:200px}
.k-bn-brand span{letter-spacing:.2em;font-size:13px}
/* hairstylist tersedia: ketuk → pesan dengan stylist itu */
.k-w-sty h3{font-size:clamp(14px,1.3vw,17px);font-weight:800;margin-bottom:10px}
.k-w-sty-row{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.k-w-sty-card{flex:none;width:clamp(84px,7vw,104px);border-radius:6px;overflow:hidden;background:var(--wood);color:var(--ivory);text-align:left;display:flex;flex-direction:column}
.k-w-sty-card img,.k-w-sty-init{width:100%;aspect-ratio:5/4;object-fit:cover;background:var(--ivory-2);display:grid;place-items:center;font-family:var(--f-head);font-size:26px;font-weight:800;color:var(--wood)}
.k-w-sty-info{display:flex;flex-direction:column;gap:1px;padding:6px 8px 8px}
.k-w-sty-info b{font-family:var(--f-head);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.k-w-sty-info small{font-size:10.5px;color:#f1d9a8}
.k-w-sty-info .k-w-sty-st{color:#ffd9a0}
.k-w-sty-info .k-w-sty-st.ok{color:#8fe08a}
.k-w-sty-st::before{content:"● "}
/* dua kolom antrean */
.k-w-queue{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,1.6vw,22px);min-height:0}
.k-qcol-wrap{display:flex;flex-direction:column;gap:12px;min-height:0}
.k-qcol{flex:1;min-height:0;display:flex;flex-direction:column;border:2px solid var(--ivory);border-radius:6px;overflow:hidden;background:rgba(23,23,23,.6)}
.k-qcol-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:clamp(12px,2vh,18px) 18px;background:#fff;color:var(--charcoal)}
.k-qcol-head h2{font-size:clamp(15px,1.4vw,19px);font-weight:800;cursor:default;user-select:none}
.k-qcol-head b{font-family:var(--f-head);font-size:clamp(20px,2vw,26px);font-weight:700;color:var(--bronze)}
.k-qcol-list{list-style:none;margin:0;padding:8px;display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.k-wq-empty{color:var(--greige);font-size:15px;margin:0}
.k-qcol .k-wq-empty{padding:16px}
.k-qc{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-radius:4px;background:#fff;color:var(--charcoal);cursor:pointer}
.k-qc:focus-visible,.k-qc:hover{outline:2px solid var(--bronze);outline-offset:-2px}
.k-qc-no{font-family:var(--f-head);font-size:clamp(20px,1.9vw,28px);font-weight:700;color:var(--wood);padding-right:10px;border-right:2px solid var(--charcoal);min-width:2.8ch}
.k-qc-info{display:flex;flex-direction:column;gap:1px;min-width:0}
.k-qc-info b{font-family:var(--f-head);font-size:16px;font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.k-qc-info small{font-size:13px;line-height:1.25;color:var(--warm-gray);overflow-wrap:anywhere}
.k-qc-hs{display:flex;align-items:center;gap:6px}
.k-qc-hs svg.ic{width:13px;height:13px;stroke-width:2.2}
.k-qc-info .k-qc-est{color:var(--wood)}
.k-qc-tags{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.k-qc-tag{background:var(--wood);color:#fff;font-size:11px;padding:2px 7px;border-radius:3px;text-align:center;white-space:nowrap}
.k-qc-pay{font-size:11px;font-weight:700;color:var(--err)}
.k-qc-pay.ok{color:var(--ok)}
.k-hist-btn{flex:none;min-height:52px;border-radius:6px;font-size:clamp(13px,1.1vw,15px);gap:12px}
.k-hist-due{background:var(--ivory);color:var(--err);border-radius:999px;padding:2px 10px;font-size:12px}
.k-hist{padding:0}
.k-hist .k-qc{border:1px solid var(--line)}
@media (max-width:1100px){ .k-w-mid{grid-template-columns:1fr;overflow-y:auto} .k-w-queue{min-height:70vh} .k-w-main{overflow:visible} }
.k-staff{position:absolute;right:14px;bottom:10px;color:var(--warm-gray);font-size:11px;padding:8px;opacity:.5}

.kiosk{height:100%;display:grid;grid-template-rows:76px minmax(0,1fr) 96px;background:var(--ivory)}
.k-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;border-bottom:1px solid var(--line);background:var(--paper)}
.k-logo{width:58px}
.k-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0;overflow-x:auto;scrollbar-width:none}
.k-steps li{display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;font-family:var(--f-head);font-size:13px;font-weight:600;color:var(--warm-gray);white-space:nowrap}
.k-steps li .num{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--greige);font-size:12px}
.k-steps li.now{background:var(--charcoal);color:var(--ivory)}
.k-steps li.now .num{border-color:var(--bronze);color:var(--bronze-lt)}
.k-steps li.past{color:var(--charcoal)}
.k-steps li.past .num{background:var(--greige);border-color:var(--greige);color:var(--charcoal)}
.k-body{overflow-y:auto;padding:28px clamp(16px,3vw,40px);display:flex;flex-direction:column;gap:18px}
.k-head2{display:flex;flex-direction:column;gap:6px}
.k-body h2{font-size:clamp(28px,3.4vw,40px);font-weight:800;letter-spacing:-.015em}
.k-tabs .chip{height:48px;padding:0 22px;font-size:15px}
.k-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;align-content:start}
.k-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;min-height:168px;padding:20px;border-radius:14px;
  border:2px solid var(--line);background:var(--paper)}
.k-card b{font-family:var(--f-head);font-size:20px;font-weight:700;line-height:1.15;padding-right:34px}
.k-card .muted{font-size:14px}
.k-card.on{border-color:var(--charcoal);background:var(--charcoal);color:var(--ivory)}
.k-card.on .muted{color:var(--greige)}
.k-price{font-family:var(--f-head);font-weight:800;font-size:20px;color:var(--bronze);margin-top:auto}
.k-card.on .k-price{color:var(--bronze-lt)}
.k-check{position:absolute;top:16px;right:16px;width:30px;height:30px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center}
.k-card.on .k-check{background:var(--bronze);border-color:var(--bronze);color:var(--charcoal)}
.k-av{width:52px;height:52px;border-radius:50%;background:var(--ivory-2);color:var(--charcoal);display:grid;place-items:center;font-family:var(--f-head);font-weight:800;font-size:18px;margin-bottom:4px}
.k-card.on .k-av{background:var(--graphite);color:var(--ivory)}
.k-av-img{object-fit:cover;padding:0;width:64px;height:64px}
.k-stars{color:var(--bronze)}
.k-card.on .k-stars{color:var(--bronze-lt)}
.k-card.off{opacity:.5;border-style:dashed;cursor:not-allowed}
.k-na{font-size:15px;color:var(--warm-gray)}
.k-person-h{border-top:1px solid var(--line);padding-top:8px;margin-top:2px}
.k-person-h:first-child{border-top:0;padding-top:0;margin-top:0}
.k-person-h span{font-size:13px;color:var(--warm-gray)}
.k-tickets{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.k-ticket-s{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:170px;padding:16px 20px;border:2px solid var(--line);border-radius:14px;background:var(--paper)}
.k-ticket-s b{font-family:var(--f-head);font-size:clamp(48px,7vw,72px);font-weight:800;line-height:1;letter-spacing:-.03em}
.rate-box{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px;margin-bottom:12px;border:2px solid var(--line);border-radius:12px;background:var(--ivory)}
.stars{display:flex;gap:6px}
.star{width:52px;height:52px;border-radius:50%;border:2px solid var(--line);background:var(--paper);font-size:26px;color:var(--bronze);line-height:1}
.star:hover,.star:focus-visible{background:var(--bronze);color:var(--paper);border-color:var(--bronze)}
.k-qty{display:flex;align-items:center;gap:14px;margin-top:8px}
.k-qty button{width:48px;height:48px;border-radius:50%;border:2px solid var(--line);font-size:22px;font-weight:700;background:var(--paper);color:var(--charcoal)}
.k-qty span{font-family:var(--f-head);font-size:20px;font-weight:700;min-width:20px;text-align:center}
.k-card.on .k-qty button{border-color:var(--line-dk);background:var(--graphite);color:var(--ivory)}
.k-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;border-top:1px solid var(--line);background:var(--paper)}
.k-sum{display:flex;flex-direction:column}
.k-sum span{font-size:13px;color:var(--warm-gray)} .k-sum b{font-family:var(--f-head);font-size:26px;font-weight:800}
.k-actions{display:flex;gap:10px}
.k-actions .btn-lg{min-height:64px;padding:0 30px;font-size:18px;border-radius:12px}
.k-next{min-width:200px}
.k-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,56px);align-items:start}
.k-copy{display:flex;flex-direction:column;gap:14px;min-width:0}
.k-phone{font-family:var(--f-head);font-size:clamp(32px,4vw,46px);font-weight:700;letter-spacing:.02em;padding:16px 20px;border-radius:12px;border:2px solid var(--charcoal);background:var(--paper)}
.k-phone.empty{color:var(--greige);border-color:var(--line)}
.k-hello{font-family:var(--f-head);font-weight:700;font-size:18px;color:var(--wood);min-height:24px}
.k-name{height:56px;font-size:18px}
.k-label{font-family:var(--f-head);font-weight:800;font-size:18px;margin-top:4px}
.k-h-wa{margin-top:6px}
.k-ctype{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.k-ctype-opt{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;text-align:left;padding:14px 16px;border:2px solid var(--line);border-radius:12px;background:var(--paper);color:var(--charcoal);cursor:pointer;min-height:72px}
.k-ctype-opt b{font-family:var(--f-head);font-size:18px}
.k-ctype-opt span:last-child{grid-column:2;font-size:13px;color:var(--warm-gray)}
.k-ctype-box{grid-row:1/3;width:26px;height:26px;border:2px solid var(--greige);border-radius:6px;background:var(--paper)}
.k-ctype-opt[aria-pressed="true"]{border-color:var(--wood)}
.k-ctype-opt[aria-pressed="true"] .k-ctype-box{border-color:var(--wood);background:var(--wood) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3EFE8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/18px no-repeat}
.k-ctype-hint{margin:-4px 0 0;font-size:14px;font-weight:700;color:var(--wood)}
.k-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:420px;width:100%;justify-self:center}
.k-pad button{height:84px;border-radius:14px;border:2px solid var(--line);background:var(--paper);font-family:var(--f-head);font-size:30px;font-weight:600}
.k-pad button:active{background:var(--ivory-2)}
.k-receipt{background:var(--paper);border:2px solid var(--line);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:10px}
.k-row{display:flex;justify-content:space-between;gap:16px;font-size:17px}
.k-receipt hr{border:0;border-top:1px dashed var(--greige);margin:4px 0;width:100%}
.k-disc{color:var(--ok)}
.k-promos{display:flex;flex-direction:column;gap:8px}
.k-promo-chip{height:40px;font-size:13px;color:var(--charcoal);border-color:var(--line);background:var(--paper)}
.k-total{font-family:var(--f-head);font-weight:800;font-size:26px}
.k-total span:last-child{color:var(--bronze)}
.k-pay b .k-tag{display:inline-block;vertical-align:3px;margin-left:6px;padding:2px 8px;border-radius:999px;background:var(--charcoal);color:var(--ivory);
  font-family:var(--f-head);font-size:11px;font-weight:700;letter-spacing:.08em}
/* foto item */
.k-img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:10px;margin-bottom:6px}
.item-img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:var(--r-sm)}
.k-appqr{display:flex;align-items:center;gap:18px;margin-top:10px;padding:16px;border:2px dashed var(--line);border-radius:14px;max-width:520px}
.k-appqr:empty{display:none}
.k-appqr-code{flex:none;width:150px;height:150px;background:#fff;border-radius:10px;padding:4px}
.k-appqr-code svg{width:100%;height:100%;display:block}
.k-appqr-text{display:flex;flex-direction:column;gap:4px}
.k-appqr-text b{font-family:var(--f-head);font-size:18px}
.k-add-wrap{display:flex;flex-direction:column;gap:22px}
.k-sub{font-size:16px;font-weight:700;color:var(--warm-gray);margin:0 0 10px}
.k-paychoice{display:flex;flex-direction:column;gap:12px}
.k-paychoice h3{font-size:20px}
.k-pay{display:flex;align-items:center;gap:18px;text-align:left;padding:22px;border-radius:14px;border:2px solid var(--line);background:var(--paper);min-height:96px}
.k-pay:hover{border-color:var(--charcoal)}
.k-pay svg.ic{width:34px;height:34px}
.k-pay b{font-family:var(--f-head);font-size:20px;display:block}
.k-pay span{color:var(--warm-gray);font-size:14px}
.k-pay.soon{opacity:.55;border-style:dashed}
.k-amount{font-family:var(--f-head);font-size:clamp(40px,5vw,60px);font-weight:800;color:var(--bronze)}
.k-qrbox{display:flex;flex-direction:column;align-items:center;gap:14px;background:var(--paper);border:2px solid var(--line);border-radius:16px;padding:28px}
.k-qr{width:min(300px,60vw);height:min(300px,60vw)}
.k-qr-img{background:#fff;image-rendering:pixelated;border-radius:8px}
.k-qrbox>.muted{text-align:center;max-width:320px}
.k-done{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px}
.k-ticket{font-family:var(--f-head);font-size:clamp(110px,18vw,200px);font-weight:800;line-height:1;letter-spacing:-.04em;color:var(--charcoal)}
.k-done-main{font-family:var(--f-head);font-size:clamp(20px,2.4vw,28px);font-weight:700}
@media (max-width:820px){
  .k-split{grid-template-columns:1fr}
  .kiosk{grid-template-rows:64px minmax(0,1fr) auto}
  .k-head{padding:0 14px}
  .k-steps li{padding:6px 8px;font-size:0;gap:0}
  .k-steps li .num{font-size:12px}
  .k-steps li.now{font-size:12px;gap:6px}
  .k-foot{padding:12px 14px;flex-wrap:wrap}
  .k-actions{flex:1;justify-content:flex-end}
  .k-actions .btn-lg{min-height:56px;padding:0 18px;font-size:16px}
  .k-next{min-width:0;flex:1}
  .k-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
  .k-card{min-height:140px;padding:16px}
  .k-card b{font-size:17px}
}

/* Semua tulisan KAPITAL supaya seragam (user 2026-10-26). Kolom isian tetap seperti yang diketik. */
body{text-transform:uppercase}
button,select,option,label,a{text-transform:inherit}
input,textarea{text-transform:none}
input::placeholder,textarea::placeholder{text-transform:uppercase}
/* layar pendek (MacBook ±1440×800, browser dengan toolbar): rapatkan supaya bagian bawah tidak terpotong (rapat 2026-10-27) */
html,body,#app{height:100dvh}
@media (max-height:860px) and (min-width:821px){
  .kiosk{grid-template-rows:64px minmax(0,1fr) 80px}
  .k-body{padding:18px clamp(16px,3vw,40px);gap:12px}
  .k-body h2{font-size:clamp(24px,2.6vw,32px)}
  .k-card{min-height:136px;padding:16px}
  .k-pad button{height:64px;font-size:26px}
  .k-actions .btn-lg{min-height:54px}
  .k-pay{min-height:76px;padding:16px}
  .k-ticket{font-size:clamp(90px,14vh,150px)}
  .k-w-main h1{font-size:clamp(30px,6vh,52px)}
  .k-qc{padding:8px 10px}
  .k-appqr-code{width:120px;height:120px}
}
/* ringkasan layanan sebelum bayar (MoM 27 Okt poin 11) */
.svc-sum{border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;background:var(--paper);display:flex;flex-direction:column;gap:8px}
.svc-sum-h{display:flex;justify-content:space-between;align-items:center;gap:10px}
.svc-sum-g{display:grid;grid-template-columns:96px 1fr;gap:6px 12px;font-size:14px}
.svc-sum-l{display:flex;justify-content:space-between;gap:12px}
.k-wq-pay{font-size:11px;letter-spacing:.06em;color:var(--greige)}
.k-wq-pay.ok{color:var(--bronze-lt)}
.k-sty .k-qty{margin-top:8px}
.k-card[aria-disabled="true"]{pointer-events:none}
/* papan antrean bisa diketuk → transaksi (user 2026-10-27) */
.k-wq-list li.tap{cursor:pointer}
.k-wq-list li.tap:hover,.k-wq-list li.tap:focus-visible{outline:2px solid var(--bronze);outline-offset:-2px}
.k-sheet-pay{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:12px}
.k-sheet-pay .k-qr{align-self:center}
.k-sheet-acts{display:flex;flex-direction:column;gap:8px}
.pay-next{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:var(--r)}
.pay-next.ok{background:var(--ok-bg);color:var(--ok)}
/* ketuk nomor antrean: Mulai (QR untuk HS) / Batalkan (PIN HS) / Bayar (user 2026-10-27) */
.k-two{flex-direction:row;gap:12px}
.k-two .btn{flex:1}
.k-danger{color:var(--err)}
.k-start{display:flex;align-items:center;gap:20px;padding:12px;border:2px solid var(--line);border-radius:14px;background:var(--paper)}
.k-start-qr{flex:none;width:200px;height:200px;background:#fff;border-radius:10px;padding:6px}
.k-start-qr svg{width:100%;height:100%;display:block}
.k-sheet-pay .chips{display:flex;flex-wrap:wrap;gap:8px}
/* menu tersembunyi status pembayaran (user 2026-10-27) */
.k-wq-head h2{cursor:default;user-select:none}
.pay-stat{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:8px}
.pay-stat div{display:flex;flex-direction:column;padding:12px;border:1px solid var(--line);border-radius:var(--r);background:var(--paper)}
.pay-stat b{font-family:var(--f-head);font-size:26px;font-weight:800}
.pay-stat .bad b{color:var(--err)}
.pay-tbl{width:100%;border-collapse:collapse;font-size:14px}
.pay-tbl th,.pay-tbl td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left}
.pay-tbl tr.lost td{background:var(--err-bg);color:var(--err);font-weight:700}
.k-back{align-self:stretch;margin-top:4px}

/* ---------- kiosk Layanan + Hairstylist (desain user 2026-10-28) ---------- */
.kiosk{grid-template-columns:minmax(0,1fr);grid-template-rows:72px minmax(0,1fr) 92px;--k-red:#F2382F;--k-green:#06BF5F}
.k-head{display:grid;grid-template-columns:1fr auto 1fr;border-bottom:0;background:#fff;box-shadow:0 6px 18px rgba(23,23,23,.12);position:relative;z-index:2;padding:0 clamp(16px,3.5vw,48px)}
.k-title{font-size:clamp(18px,1.8vw,22px);font-weight:800;text-align:center}
.k-cancel{justify-self:end}
button.k-cancel{min-width:clamp(120px,12vw,150px);min-height:40px;border-radius:6px;background:var(--k-red);color:#fff;font-family:var(--f-head);font-weight:700}
.k-has-side{grid-template-columns:clamp(280px,30vw,380px) minmax(0,1fr)}
.k-has-side .k-head{grid-column:1/-1}
.k-has-side .k-side{grid-column:1;grid-row:2/4}
.k-has-side .k-body,.k-has-side .k-foot{grid-column:2}
.k-side{background:linear-gradient(180deg,#171717,#262626);color:#fff;overflow-y:auto;padding:clamp(16px,3vh,28px) clamp(18px,3vw,40px);display:flex;flex-direction:column;gap:12px}
.k-side-h{font-size:clamp(18px,1.7vw,22px);font-weight:800;padding:0 0 12px 16px;margin:clamp(4px,1.2vh,12px) 0 4px;border-bottom:1.5px solid #e6e1d8}
.k-side-h:first-child{margin-top:0}
.k-side .k-ctype{display:flex;flex-direction:column;gap:12px}
.k-side .k-ctype-opt{display:flex;align-items:center;gap:16px;min-height:42px;padding:8px 16px;border:0;border-radius:4px;background:var(--ivory)}
.k-side .k-ctype-opt b{font-size:14px;font-weight:800}
.k-side .k-ctype-box{width:22px;height:22px;border:1.5px solid var(--wood);border-radius:4px;background:transparent}
.k-side .k-ctype-opt[aria-pressed="true"]{outline:2px solid var(--bronze-lt)}
.k-in{height:42px;width:100%;border:0;border-radius:4px;background:var(--ivory);color:var(--charcoal);padding:0 12px;font-size:15px}
.k-in::placeholder{color:var(--warm-gray)}
.k-side .k-hello{font-size:14px;color:var(--bronze-lt);min-height:0;margin:0}
.k-side .k-hello:empty{display:none}
.k-side .k-appqr{margin:0;max-width:none;padding:14px;gap:16px;border:1.5px dashed #8d8a85;border-radius:4px;background:#000}
.k-side .k-appqr-code{width:clamp(80px,8vw,96px);height:clamp(80px,8vw,96px);padding:2px;border-radius:2px}
.k-side .k-appqr-text{margin:0;font-size:11.5px;line-height:1.5;color:#fff}

.kiosk .k-body{padding:clamp(18px,3vh,26px) clamp(18px,3.5vw,48px);gap:clamp(16px,3vh,32px)}
.k-tabs{display:flex;flex-wrap:wrap;gap:14px}
.k-tab{min-width:clamp(110px,10vw,132px);height:40px;padding:0 18px;border:1.5px solid var(--wood);border-radius:4px;background:#fff;font-family:var(--f-head);font-size:14px;font-weight:700;color:var(--charcoal)}
.k-tab[aria-selected="true"]{background:var(--wood);color:#fff}
.k-menu{grid-template-columns:repeat(auto-fill,minmax(170px,180px));gap:18px}
.k-card.k-mcard{padding:7px 7px 14px;gap:0;min-height:0;border-radius:3px;border:2px solid transparent;background:#fff;color:var(--charcoal)}
.k-card.k-mcard.on{border-color:var(--wood);background:#fff;color:var(--charcoal)}
.k-mimg{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:0;display:block}
.k-mimg-none{background:var(--charcoal);display:grid;place-items:center}
.k-mimg-none img{width:40%}
.k-mbody{display:flex;flex-direction:column;gap:6px;padding:14px 10px 0;width:100%;flex:1}
.k-mcard b{font-size:20px;font-weight:800;line-height:1.25;padding:0}
.k-mdesc{margin:2px 0 0;font-size:11px;line-height:1.4;color:var(--warm-gray)}
.k-mdur{display:flex;align-items:center;gap:5px;margin-top:auto;padding-top:14px;font-family:var(--f-head);font-size:11px;font-weight:700}
.k-mdur svg.ic{width:13px;height:13px}
.k-mcard .k-price{margin-top:4px;font-size:21px;color:var(--wood)}
.k-mcard .k-mdur+.k-price{margin-top:4px}
.k-mcard .k-mdesc+.k-price,.k-mcard b+.k-price{margin-top:auto;padding-top:14px}
.kiosk .k-qty{gap:0;margin-top:12px;align-self:center}
.kiosk .k-qty button{width:46px;height:34px;border:0;border-radius:3px;background:var(--wood);color:#fff;font-size:20px}
.kiosk .k-qty button:disabled{opacity:1;background:var(--wood)}
.kiosk .k-qty button:disabled{filter:grayscale(.2) brightness(.9)}
.kiosk .k-qty span{min-width:42px;height:34px;display:grid;place-items:center;background:var(--ivory-2);font-size:17px}
.kiosk .k-card.on .k-qty button{border:0;background:var(--wood);color:#fff}

.k-sec-h{font-size:clamp(18px,1.7vw,22px)!important;font-weight:800;letter-spacing:0!important}
.k-sgrid{display:flex;flex-wrap:wrap;gap:16px;align-items:stretch}
.k-scard{width:clamp(150px,13vw,170px);display:flex;flex-direction:column;padding:5px;border:1px solid var(--wood);border-radius:3px;background:var(--ivory);color:var(--charcoal);cursor:pointer}
.k-scard.on{outline:3px solid var(--wood);outline-offset:-1px}
.k-scard.off{opacity:.5;border-style:dashed;cursor:not-allowed}
.k-scard-any{background:#000;border-color:#000;color:#fff}
.k-scard-any.on{outline-color:var(--bronze-lt)}
.k-s-photo{aspect-ratio:1.08;background:#e9e4dc;overflow:hidden;display:grid;place-items:center}
.k-s-photo>img{width:100%;height:100%;object-fit:cover}
.k-scard-any .k-s-photo{background:var(--graphite)}
.k-s-photo>img.k-s-logo{width:45%;height:auto;object-fit:contain}
.k-s-init{font-family:var(--f-head);font-size:40px;font-weight:800;color:var(--wood)}
.k-s-body{display:flex;flex-direction:column;gap:4px;padding:14px 10px 10px;flex:1}
.k-s-name{font-family:var(--f-head);font-size:20px;font-weight:800;line-height:1.15}
.k-s-desc{margin:4px 0 0;font-size:10.5px;line-height:1.5;color:#9a958e}
.k-s-st{font-size:10.5px;color:var(--warn)}
.k-s-st::before{content:"● "}
.k-s-st.ok{color:var(--k-green)}
.k-s-st.off{color:var(--err)}
.k-s-rate{display:flex;align-items:center;gap:6px;font-size:10.5px}
.k-s-star{color:#F5C518}
.k-s-info{display:flex;flex-direction:column;gap:2px;margin-top:auto;padding-top:22px}
.k-s-lbl{font-size:10.5px;color:var(--wood)}
.k-scard-any .k-s-lbl{color:var(--bronze-lt)}
.k-s-val{font-family:var(--f-head);font-size:11.5px;font-weight:700;margin-bottom:4px}
.k-scard .k-qty{align-self:stretch;justify-content:space-between;margin-top:10px}
.k-scard .k-qty button{width:30px;height:30px;font-size:18px}
.k-scard .k-qty span{background:none;font-size:20px;min-width:0}

.kiosk .k-foot{border-top:0;background:transparent;padding:0 clamp(18px,3.5vw,48px)}
.k-hint{margin:0;font-family:var(--f-head);font-size:14px;font-weight:700;color:var(--wood)}
.kiosk .k-actions{gap:16px}
.kiosk .k-actions .btn-lg{min-height:42px;min-width:clamp(130px,12vw,150px);padding:0 22px;font-size:15px;border-radius:6px}
.kiosk .k-actions .btn-ghost{background:#fff;border:1.5px solid var(--charcoal);color:var(--charcoal)}
.kiosk .k-actions .k-next{background:var(--k-green);color:#fff;min-width:clamp(130px,12vw,150px)}
@media (max-width:820px){
  .k-has-side{grid-template-columns:minmax(0,1fr);grid-template-rows:64px auto minmax(0,1fr) 84px;overflow-y:auto}
  .k-has-side .k-side{grid-column:1;grid-row:2}
  .k-has-side .k-body{grid-column:1;grid-row:3}
  .k-has-side .k-foot{grid-column:1;grid-row:4}
}
.kiosk .k-card.k-mcard.on .k-price{color:var(--wood)}
.k-side-h:has(+ .k-appqr:empty){display:none}
.k-side .k-in{text-transform:uppercase}
.k-in.bad{outline:2px solid #FF6B5E}
.k-in-err{margin:-6px 0 0;font-size:13px;font-weight:700;color:#FF8A7F}
.k-in-err:empty{display:none}
.k-hist-bar{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.k-hist-date{width:auto;min-width:190px;height:44px}
.k-hist-lock{display:flex;align-items:center;gap:20px;padding:16px;border:2px dashed var(--line);border-radius:12px}
.k-hist-lock .k-appqr-code{width:170px;height:170px}
.k-hist-lock b{font-family:var(--f-head);font-size:18px}

/* ---------- mockup kiosk 2026-10-28: aksen hitam, terpilih = hitam ---------- */
.kiosk{background:#E0E0E0}
.k-st{display:flex;align-items:center;justify-content:center;gap:10px}
.k-st-n{width:28px;height:28px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;font-family:var(--f-head);font-size:14px;font-weight:800;flex:none}
.k-st-t{font-family:var(--f-head);font-size:clamp(18px,1.8vw,24px);font-weight:800;margin-left:4px;white-space:nowrap}
.k-st-sep{display:grid;place-items:center;margin:0 clamp(10px,1.6vw,24px)}
.k-st-sep svg.ic{width:28px;height:28px;stroke:#000;stroke-width:2.4;fill:none}
.k-tab{border:0;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.12)}
.k-tab[aria-selected="true"]{background:#000;color:#fff}
.k-card.k-mcard{border:0;box-shadow:0 8px 16px rgba(0,0,0,.18);transition:background .15s,color .15s}
.k-card.k-mcard.on{background:#000;color:#fff;border:0}
.k-mcard .k-price,.kiosk .k-card.k-mcard.on .k-price{color:inherit}
.k-mcard.on .k-mdesc{color:#9a958e}
.kiosk .k-qty button,.kiosk .k-card.on .k-qty button,.kiosk .k-qty button:disabled{width:34px;height:34px;border:0;border-radius:2px;background:#000;color:#fff;filter:none;font-size:22px}
.kiosk .k-qty span{background:none;min-width:58px;font-size:22px}
.kiosk .k-on-dark .k-qty button,.kiosk .k-card.k-mcard.on .k-qty button,.kiosk .k-scard.on .k-qty button{background:#fff;color:#000}
.k-hint{color:#000}
/* hairstylist: kartu putih, terpilih hitam; panel kanan rincian */
.k-scard,.k-scard-any{background:#fff;border:0;color:#000;box-shadow:0 8px 16px rgba(0,0,0,.18);outline:0}
.k-scard.on,.k-scard-any.on{background:#000;color:#fff;outline:0}
.k-scard-any .k-s-photo{background:#e9e4dc}
.k-scard-any.on .k-s-photo{background:var(--graphite)}
.k-s-lbl,.k-scard-any .k-s-lbl{color:inherit;opacity:.8}
.k-s-st{color:#F28C28}
.k-s-st.ok{color:#06BF5F}
.k-s-st.rest{color:#a8a8a8}
.k-s-st.off{color:var(--k-red)}
.k-s-hours{font-family:var(--f-head);font-size:11.5px;font-weight:700}
.k-scard.off{opacity:.45;border:0}
.k-has-rinci{grid-template-columns:minmax(0,1fr) clamp(300px,28vw,380px)}
.k-has-rinci .k-head{grid-column:1/-1}
.k-has-rinci .k-rinci{grid-column:2;grid-row:2/4}
.k-has-rinci .k-body,.k-has-rinci .k-foot{grid-column:1}
.k-rinci{background:#2a2a2a;padding:clamp(16px,3vh,26px) clamp(16px,2vw,26px);display:flex;flex-direction:column;gap:clamp(16px,4vh,40px);min-height:0}
.k-rc{flex:1;min-height:0;background:#fff;color:#000;display:flex;flex-direction:column}
.k-rc-h{font-size:clamp(18px,1.7vw,22px);font-weight:800;padding:12px 24px;border-bottom:1.5px solid #000}
.k-rc-list{list-style:none;margin:0;padding:18px 24px;display:flex;flex-direction:column;gap:12px;flex:1;overflow-y:auto}
.k-rc-list li{display:flex;flex-direction:column;gap:4px;font-size:14px}
.k-rc-q{display:flex;justify-content:space-between}
.k-rc-x{text-transform:none}
.k-rc-total{display:flex;justify-content:space-between;padding:12px 24px;border-top:1.5px solid #000;font-family:var(--f-head);font-size:15px}
.k-rc-acts .k-hint{display:none}
.k-rc-acts .k-actions{display:flex;justify-content:space-between;gap:14px}
.kiosk .k-rc-acts .k-actions .btn-lg{flex:1;min-width:0;border:0}
/* layar booking selesai */
.k-is-done .k-done{gap:10px}
.k-done-lbl{font-size:13px;color:#555}
.k-is-done .k-ticket{font-size:clamp(90px,11vw,140px);font-weight:800;line-height:1;color:#000}
.k-done-hs{margin:0;font-family:var(--f-head);font-size:clamp(17px,1.6vw,20px);font-weight:800}
.k-done-min{text-transform:none}
.k-done-who{margin:0;display:flex;gap:12px;font-size:15px;color:#333}
.k-done-who b{font-family:var(--f-head)}
.k-done-pay{background:#fff;border-radius:4px;padding:6px 28px;font-size:clamp(17px,1.6vw,20px)}
.k-done-note{margin:6px 0 0;font-size:13px;line-height:1.5;color:#555;text-align:center}
.k-cd{display:flex;align-items:center;justify-content:center;gap:14px;margin:clamp(12px,4vh,40px) 0 0;font-family:var(--f-head);font-size:16px;color:#9a9a9a}
.k-cd-n{width:44px;height:44px;border-radius:50%;border:2px dotted #9a9a9a;display:grid;place-items:center;font-size:16px;color:#555}
/* papan antrean layar depan */
.k-qc-no{color:#000}
.k-qc.app .k-qc-no{color:var(--wood)}
.k-qc-tags{align-self:stretch;justify-content:space-between}
.k-qc-tag{background:#000;font-size:12px;padding:3px 9px}
.k-qc.app .k-qc-tag{background:var(--wood);min-width:56px}
.k-qc-est{font-size:12px;color:#9a9a9a}
.k-w-sty-card{background:#1f1f1f;border-radius:4px}
.k-w-sty-card.off{cursor:default}
.k-w-sty-card.off b{color:#9a9a9a}
.k-w-sty-info small,.k-w-sty-info .k-w-sty-st{color:#ddd;text-transform:uppercase}
.k-w-sty-info .k-w-sty-st.ok{color:#06BF5F}
.k-w-sty-info .k-w-sty-st.busy{color:#F5C518}
.k-w-sty-info .k-w-sty-st.rest{color:#bdbdbd}
.k-w-sty-info .k-w-sty-st.off{color:#F2382F}
/* tiket antrean: mulai / pembatalan */
.k-tk{position:fixed;inset:0;z-index:900;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#E0E0E0;color:#000;--k-red:#F2382F;--k-green:#06BF5F}
.k-tk.red{background:#171717;color:#f3efe8}
.k-tk-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:clamp(14px,3vh,24px) clamp(24px,5.5vw,72px);background:#000;color:#f3efe8;border-radius:0 0 14px 14px;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.k-tk.red .k-tk-head{background:var(--k-red)}
.k-tk-head h2,.k-tk-head b{font-family:var(--f-head);font-size:clamp(26px,3.4vw,44px);font-weight:800;line-height:1.1}
.k-tk-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(24px,6vw,90px);padding:clamp(20px,5vh,44px) clamp(24px,5.5vw,72px) 0;min-height:0;overflow-y:auto}
.k-tk-info{display:flex;flex-direction:column;gap:8px;min-width:0}
.k-tk-sec{display:flex;align-items:center;gap:14px;font-size:clamp(20px,2.2vw,28px);font-weight:800;padding-bottom:10px;border-bottom:1.5px solid currentColor;margin-bottom:6px}
.k-tk-sec+*{margin-top:4px}
.k-tk-row+.k-tk-sec{margin-top:clamp(14px,3vh,30px)}
.k-tk-sec svg.ic{width:28px;height:28px;stroke-width:2}
.k-tk-row{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:baseline}
.k-tk-row span{font-size:15px;opacity:.8}
.k-tk-row b{font-family:var(--f-head);font-size:clamp(20px,2.2vw,28px);font-weight:800}
.k-tk-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.k-tk-items li{display:grid;grid-template-columns:minmax(0,1fr) 80px auto;gap:12px;align-items:baseline;font-family:var(--f-head);font-size:clamp(20px,2.2vw,28px)}
.k-tk-items b{font-weight:800}
.k-tk-x{font-weight:800;text-transform:none}
.k-tk-qr{display:flex;flex-direction:column;align-items:center;gap:12px}
.k-tk-qr svg{width:min(100%,400px);aspect-ratio:1;background:#fff;border-radius:6px;padding:8px}
.k-tk-qr p{margin:0;text-align:center;font-size:14px;opacity:.85}
.k-tk-side{display:flex;flex-direction:column;gap:14px}
.k-tk-h{font-size:clamp(20px,2.2vw,28px);font-weight:800}
.k-tk-reasons{display:flex;flex-direction:column;gap:14px}
.k-tk-reason{display:flex;align-items:center;gap:clamp(18px,3vw,40px);min-height:56px;padding:0 16px;border:0;border-radius:4px;background:#fff;color:#000;font-family:var(--f-head);font-size:clamp(15px,1.5vw,18px);text-align:left}
.k-tk-radio{width:26px;height:26px;border-radius:50%;border:2px solid #000;flex:none;display:grid;place-items:center}
.k-tk-reason[aria-checked="true"] .k-tk-radio::after{content:"";width:14px;height:14px;border-radius:50%;background:#000}
.k-tk-reason[aria-checked="true"]{outline:3px solid var(--k-red)}
.k-tk-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:clamp(16px,3vh,28px) clamp(24px,4vw,52px) clamp(20px,5vh,40px)}
.k-tk-foot .btn{min-height:58px;min-width:clamp(180px,20vw,256px);border:0;border-radius:4px;font-family:var(--f-head);font-size:17px;font-weight:800;box-shadow:0 6px 14px rgba(0,0,0,.2)}
.k-tk-back,.k-tk-wide{background:#fff;color:#000}
.k-tk-red{background:var(--k-red);color:#fff}
.k-tk-red:disabled{opacity:.45}
.k-tk-wide{flex:1}
.k-tk-note{margin:0;font-size:14px;opacity:.8}
.k-tk-res{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(6px,2vh,16px);text-align:center;padding:20px}
.k-tk-top{margin:0;font-family:var(--f-head);font-size:clamp(20px,2.4vw,30px)}
.k-tk-big{font-family:var(--f-head);font-size:clamp(90px,12vw,150px);font-weight:800;line-height:1}
.k-tk-line{margin:0;font-family:var(--f-head);font-size:clamp(28px,3.6vw,46px);font-weight:800}
.k-tk.red .k-cd,.k-tk.red .k-cd-n{color:#bdbdbd;border-color:#bdbdbd}
@media (max-width:820px){
  .k-has-rinci{grid-template-columns:minmax(0,1fr);grid-template-rows:64px minmax(0,1fr) auto auto;overflow-y:auto}
  .k-has-rinci .k-rinci{grid-column:1;grid-row:4}
  .k-st-t{font-size:16px}
  .k-tk-body{grid-template-columns:1fr}
}
.k-welcome .k-cta{background:#fff;color:#000}
.k-qcol-head b{color:#000}
.k-hist-btn{background:#E0E0E0;color:#000}
