:root{
  --matte:#242628;--matte-2:#2d3033;--matte-3:#383c40;--graphite:#454a4f;--silver:#aeb4ba;--silver-2:#cfd3d6;--silver-3:#e5e7e8;--offwhite:#f1f1ef;--ink:#111315;--text:#f4f4f2;--muted:#b4b8bc;--line:rgba(207,211,214,.24);--success:#2d9b69;--warning:#d08a24;--danger:#c83b32;--info:#4c8dc7;--shadow:0 18px 48px rgba(0,0,0,.28);--soft-shadow:0 10px 28px rgba(0,0,0,.16)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Myanmar",Arial,sans-serif;background:var(--matte);color:var(--text);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.muted{color:var(--muted)}.center{text-align:center}.spacer{flex:1}.shell,.dashboard{width:min(1600px,100%);margin:auto;padding:20px}.topbar{position:sticky;top:0;z-index:20;background:rgba(36,38,40,.93);backdrop-filter:blur(18px) saturate(.8);border-bottom:1px solid var(--line)}.topbar-inner,.dash-header{display:flex;align-items:center;gap:14px;max-width:1600px;margin:auto;padding:14px 20px}.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:58px;height:58px;object-fit:contain;border-radius:16px;background:var(--matte-3);border:1px solid rgba(255,255,255,.18)}.brand strong{display:block;font-size:22px;letter-spacing:.025em}.brand small{display:block;color:var(--muted);margin-top:2px}.icon-btn{position:relative;width:52px;height:52px;border-radius:16px;border:1px solid var(--line);background:var(--matte-2);color:var(--text);font-weight:800;font-size:18px}.member-dot{position:absolute;right:8px;top:8px;width:9px;height:9px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px rgba(45,155,105,.18)}
.banner-shell{position:relative;overflow:hidden;border-radius:28px;border:1px solid var(--line);background:var(--matte-2);box-shadow:var(--soft-shadow)}.banner-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.banner-track::-webkit-scrollbar{display:none}.banner-card{position:relative;min-width:100%;height:clamp(220px,33vw,470px);scroll-snap-align:start;background:var(--matte-3)}.banner-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.94) contrast(1.02)}.banner-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,22,23,.75),rgba(20,22,23,.05) 70%)}.banner-overlay{position:absolute;z-index:2;left:5%;bottom:14%;max-width:65%;text-shadow:0 2px 12px rgba(0,0,0,.45)}.banner-overlay h1{margin:0 0 8px;font-size:clamp(28px,5vw,64px)}.banner-overlay p{margin:0;color:var(--silver-3);font-size:clamp(15px,2vw,24px)}.banner-dots{position:absolute;z-index:3;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.banner-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.4)}.banner-dot.active{width:28px;border-radius:999px;background:var(--silver-2)}
.pill-row,.tabs,.period-tabs,.payment-mix{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.pill,.tab,.period-tab,.mix-chip{border:1px solid var(--line);background:var(--matte-2);color:var(--text);border-radius:999px;padding:11px 18px;font-weight:750}.pill.active,.tab.active,.period-tab.active{background:linear-gradient(145deg,var(--silver-2),#959ba1);color:var(--ink);border-color:transparent}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 12px}.section-title h2{margin:0;font-size:27px}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card{position:relative;display:flex;flex-direction:column;min-height:330px;border:1px solid var(--line);border-radius:22px;padding:12px;background:linear-gradient(155deg,var(--matte-3),var(--matte-2));box-shadow:var(--soft-shadow);overflow:hidden}.product-card:hover{transform:translateY(-2px);transition:.18s ease}.product-card.sold{opacity:.5}.product-image{width:100%;aspect-ratio:1.35/1;object-fit:cover;border-radius:16px;background:var(--graphite)}.product-card h3{margin:14px 2px 5px;font-size:19px}.product-card p{margin:0 2px;color:var(--muted);min-height:42px}.product-footer{display:flex;align-items:center;margin-top:auto;padding-top:14px}.price{font-weight:900;color:var(--silver-2);font-size:20px}.add-btn{margin-left:auto;width:44px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:var(--silver-2);color:var(--ink);font-size:28px;line-height:1}.badge{position:absolute;z-index:2;top:22px;right:22px;padding:6px 10px;border-radius:999px;background:var(--warning);color:#171717;font-weight:900;font-size:12px}.cart-bar{position:fixed;z-index:30;left:50%;bottom:18px;transform:translateX(-50%);width:min(720px,calc(100% - 24px));display:flex;align-items:center;gap:12px;padding:15px 18px;border:1px solid rgba(255,255,255,.25);border-radius:20px;background:rgba(45,48,51,.96);backdrop-filter:blur(18px);color:var(--text);box-shadow:var(--shadow);font-weight:800}.cart-count{display:grid;place-items:center;min-width:30px;height:30px;border-radius:50%;background:var(--silver-2);color:var(--ink)}.cart-total{margin-left:auto;color:var(--silver-2)}
.modal-backdrop{position:fixed;z-index:100;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:12px;background:rgba(10,11,12,.68);backdrop-filter:blur(9px)}.modal{width:min(720px,100%);max-height:92vh;overflow:auto;border:1px solid rgba(255,255,255,.22);border-radius:26px 26px 12px 12px;padding:22px;background:linear-gradient(155deg,#3a3e42,#2b2e31);color:var(--text);box-shadow:var(--shadow)}.modal.wide{width:min(980px,100%)}.modal-header{display:flex;align-items:center;gap:14px;margin-bottom:18px}.modal-header h2{margin:0;font-size:30px}.modal-header small{color:var(--muted)}.close{margin-left:auto;width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:var(--matte-2);color:var(--text);font-size:28px}.modal-product-image{width:90px;height:90px;border-radius:18px;object-fit:cover}.field{display:flex;flex-direction:column;gap:7px;flex:1;margin:10px 0}.field label{color:var(--silver-2);font-weight:750}.field input,.field select,.field textarea,.kds-controls select{width:100%;border:1px solid rgba(207,211,214,.34);border-radius:14px;padding:13px 14px;background:#222527;color:var(--text);outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--silver-2);box-shadow:0 0 0 3px rgba(207,211,214,.12)}.row{display:flex;gap:14px;align-items:center}.row.compact{gap:7px}.option-group h4{margin:16px 0 8px}.option-list,.payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.option,.payment-choice{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:15px;padding:13px;background:rgba(25,27,29,.52)}.payment-choice{min-height:92px}.payment-choice span{display:flex;flex-direction:column;gap:4px}.payment-choice small{color:var(--muted);line-height:1.35}.payment-choice:has(input:checked),.option:has(input:checked){border-color:var(--silver-2);box-shadow:0 0 0 2px rgba(207,211,214,.13);background:rgba(82,87,92,.55)}.qty{display:flex;align-items:center;gap:12px}.qty button,.points-controls button{border:1px solid var(--line);background:var(--matte-2);color:var(--text);border-radius:12px;padding:10px 14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:14px;padding:12px 17px;background:var(--matte-2);color:var(--text);font-weight:850;text-decoration:none}.btn.primary{background:linear-gradient(145deg,var(--silver-2),#989fa5);color:var(--ink);border-color:transparent}.btn.ghost{background:var(--matte-2);color:var(--text)}.btn.success{background:var(--success);color:#fff;border-color:transparent}.btn.warning{background:var(--warning);color:#151515;border-color:transparent}.btn.danger{background:var(--danger);color:#fff;border-color:transparent}.btn.sm{padding:8px 11px;border-radius:10px;font-size:13px}.btn:disabled{opacity:.45;cursor:not-allowed}.cart-item,.ledger-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.cart-item:last-child,.ledger-row:last-child{border-bottom:0}.link-danger{border:0;background:none;color:#ff8c85}.summary-line{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid var(--line)}.summary-line.discount{color:#8de0b6}.summary-line.grand{font-size:22px}.earn-hint{padding:8px 0;color:var(--silver-2);text-align:right}.checkout-benefit,.points-panel,.notice-card,.settings-card,.member-offer,.member-hero{border:1px solid var(--line);border-radius:18px;background:rgba(25,27,29,.45);padding:15px;margin:14px 0}.points-panel{display:flex;align-items:center;justify-content:space-between;gap:15px}.points-panel div>div{color:var(--muted);margin-top:4px}.points-controls{display:flex;align-items:center;gap:8px}.points-controls input{width:110px!important;text-align:center}.login-benefit{width:100%;border:1px dashed var(--silver);border-radius:16px;padding:15px;background:rgba(45,48,51,.7);color:var(--silver-2)}.inline-error{color:#ffaaa5;padding:12px}.qr-card{text-align:center;border:1px solid var(--line);border-radius:20px;padding:18px;background:rgba(24,26,28,.5)}.qr-card img{width:min(280px,80%);aspect-ratio:1;object-fit:contain;border-radius:16px;background:var(--offwhite);padding:10px}.reference{display:inline-block;border:1px dashed var(--silver);border-radius:10px;padding:8px 12px;font:700 14px ui-monospace,monospace}.status-timeline{margin:18px 0}.status-step{display:flex;align-items:center;gap:10px;padding:8px 0;color:#777d82}.status-step .dot{width:14px;height:14px;border-radius:50%;background:#686d72}.status-step.done,.status-step.current{color:var(--text)}.status-step.done .dot,.status-step.current .dot{background:var(--success);box-shadow:0 0 0 5px rgba(45,155,105,.16)}.order-money-mini{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);padding:12px 0}.member-hero strong{font-size:32px;color:var(--silver-2)}.member-hero small{display:block;color:var(--muted)}.ledger-row .plus{color:#7de0aa}.ledger-row .minus{color:#ff9890}.empty{padding:30px;text-align:center;color:var(--muted)}.toast{position:fixed;z-index:999;left:50%;bottom:30px;transform:translateX(-50%);background:var(--silver-2);color:var(--ink);padding:12px 18px;border-radius:999px;box-shadow:var(--shadow);font-weight:800}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 30% 15%,#4a4e52 0,transparent 35%),var(--matte)}.login-card{width:min(440px,100%);border:1px solid var(--line);border-radius:24px;padding:24px;background:linear-gradient(155deg,var(--matte-3),var(--matte-2));box-shadow:var(--shadow)}.dashboard{max-width:1700px}.dash-header{padding-left:0;padding-right:0}.dash-header-actions{display:flex;gap:10px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric{border:1px solid var(--line);border-radius:20px;padding:20px;background:linear-gradient(155deg,var(--matte-3),var(--matte-2));box-shadow:var(--soft-shadow)}.metric small{color:var(--muted);font-weight:800}.metric strong{display:block;margin-top:7px;font-size:29px}.metric .trend{margin-top:6px;color:var(--muted);font-size:12px}.mix-chip{font-size:13px;padding:8px 12px}.admin-content{margin-top:18px}.order-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}.order-card{border:1px solid var(--line);border-radius:20px;padding:16px;background:linear-gradient(155deg,var(--matte-3),var(--matte-2));box-shadow:var(--soft-shadow)}.order-card.claimed{border-color:var(--warning);box-shadow:0 0 0 3px rgba(208,138,36,.12)}.order-head{display:flex;align-items:flex-start;gap:8px}.order-head h3{margin:0}.order-head .meta{margin-left:auto;text-align:right;color:var(--muted);font-size:12px}.order-lines{margin:12px 0;padding:12px;border-radius:14px;background:rgba(24,26,28,.48)}.order-lines div{margin:6px 0}.order-actions{display:flex;flex-wrap:wrap;gap:7px}.order-actions.vertical{flex-direction:column;align-items:stretch}.void-note{border-left:4px solid var(--danger);padding:9px 11px;background:rgba(200,59,50,.15);border-radius:8px}.money-breakdown{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px}.money-breakdown strong{color:var(--silver-2)}.product-table,.data-table{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--matte-2)}.product-row{display:grid;grid-template-columns:76px minmax(200px,1fr) auto auto;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:13px}.product-row:last-child,.data-row:last-child{border-bottom:0}.admin-product-image{width:68px;height:68px;border-radius:14px;object-fit:cover;background:var(--graphite)}.image-upload-btn{margin-top:8px}.price-edit{display:flex;gap:7px;align-items:center}.price-edit input{width:120px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#222527;color:var(--text)}.data-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:13px}.data-row.header{background:var(--graphite);font-weight:850}.banner-admin-card{display:grid;grid-template-columns:210px 1fr 120px;gap:15px;align-items:center;border:1px solid var(--line);border-radius:20px;padding:13px;margin:11px 0;background:var(--matte-2)}.banner-admin-card img{width:210px;height:110px;object-fit:cover;border-radius:14px}.upload-zone{border:1px dashed var(--silver);border-radius:18px;padding:18px;background:rgba(24,26,28,.35);margin:12px 0}.upload-preview{display:block;width:100%;max-height:300px;object-fit:contain;margin-top:12px;border-radius:14px}.table-cards{display:grid;gap:13px}.table-card{display:grid;grid-template-columns:180px 1fr 130px;gap:16px;align-items:center;border:1px solid var(--line);border-radius:20px;padding:14px;background:var(--matte-2)}.table-card>img{width:180px;height:180px;object-fit:contain;border-radius:15px;background:var(--offwhite)}.table-link{font:12px ui-monospace,monospace;overflow-wrap:anywhere;color:var(--muted)}.status-chip{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px}.status-chip.on{background:rgba(45,155,105,.2);color:#8de0b6}.status-chip.off{background:rgba(200,59,50,.16);color:#ffaaa5}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.settings-card{margin:0}.payment-qr-preview{display:block;width:min(280px,100%);aspect-ratio:1;object-fit:contain;border-radius:16px;background:var(--offwhite);padding:10px;margin:14px auto}
.kds{background:var(--matte);color:var(--text)}.kds-dashboard{max-width:1900px}.kds .brand small{color:var(--muted)}.kds-toolbar-btn{background:var(--silver-2)!important;color:var(--ink)!important;border:0!important}.kds-exit{background:var(--matte-3)!important;color:var(--text)!important;border:1px solid var(--silver)!important}.kds-clock{font:800 clamp(22px,3vw,38px) ui-monospace,monospace}.sound-state{padding:8px 12px;border-radius:999px;background:var(--matte-3);color:var(--muted);font-size:13px}.sound-state.on{background:rgba(45,155,105,.2);color:#8de0b6}.kds-controls{display:flex;gap:8px}.kds-controls label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13px}.kds-controls select{padding:8px;width:auto}.kds-lanes{display:grid;grid-template-columns:repeat(3,minmax(300px,1fr));gap:14px}.kds-lane{background:var(--matte-2);border:1px solid var(--line);border-radius:22px;padding:12px;min-height:72vh}.kds-lane-title{display:flex;align-items:center;justify-content:space-between;padding:5px 6px 13px;font-size:21px;font-weight:900}.lane-count{min-width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--silver-2);color:var(--ink)}.kds .order-card{background:linear-gradient(150deg,#c8cdd1,#aeb4ba);color:var(--ink);border:1px solid #e2e4e5}.kds .order-card.new-order{animation:newPulse 1s ease-in-out 4;border-color:#f0b04a}.kds .order-card.late-order{border:3px solid var(--danger)}.kds .order-card h3{font-size:23px}.kds .order-lines{background:rgba(244,244,242,.7);font-size:18px;line-height:1.5}.kds .order-head .meta{color:#3e4347}.kds-note{background:#f1dfbf;padding:10px;border-radius:10px}.kds .btn{font-size:17px;padding:12px 16px}@keyframes newPulse{50%{transform:scale(1.012);box-shadow:0 0 0 7px rgba(240,176,74,.24)}}
@media(min-width:760px){.modal-backdrop{align-items:center;padding:30px}.modal{border-radius:28px}.banner-card{min-width:100%}}
@media(min-width:1200px){.menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.kds-lanes{grid-template-columns:1fr}.kds-lane{min-height:auto}.data-row{grid-template-columns:repeat(3,minmax(0,1fr))}.data-row.header{display:none}.product-row{grid-template-columns:68px 1fr auto}.product-row .price-edit{grid-column:2/-1}.banner-admin-card{grid-template-columns:150px 1fr}.banner-admin-card img{width:150px}.banner-admin-card .order-actions{grid-column:1/-1;flex-direction:row}.table-card{grid-template-columns:150px 1fr}.table-card>img{width:150px;height:150px}.table-card .order-actions{grid-column:1/-1;flex-direction:row}}
@media(max-width:700px){.topbar-inner,.shell,.dashboard{padding-left:12px;padding-right:12px}.brand-logo{width:48px;height:48px}.brand strong{font-size:17px}.menu-grid{grid-template-columns:1fr 1fr;gap:9px}.product-card{padding:9px;min-height:245px}.product-card h3{font-size:15px}.product-card p{font-size:12px}.product-image{aspect-ratio:1.15/1}.metrics{grid-template-columns:1fr 1fr}.metric{padding:14px}.metric strong{font-size:21px}.row{align-items:stretch;flex-direction:column}.payment-grid,.option-list{grid-template-columns:1fr}.dash-header{align-items:flex-start;flex-wrap:wrap}.dash-header .spacer{display:none}.dash-header-actions{width:100%}.kds-controls{width:100%}.data-row{grid-template-columns:1fr 1fr}.banner-admin-card,.table-card{grid-template-columns:1fr}.banner-admin-card img,.table-card>img{width:100%;height:auto;max-height:260px}.product-row{grid-template-columns:58px 1fr}.product-row>.row{grid-column:1/-1;flex-direction:row}.product-row .price-edit{grid-column:1/-1}.period-tabs{padding-bottom:8px}.points-panel{align-items:stretch;flex-direction:column}.points-controls input{flex:1}.modal{padding:17px}.banner-overlay{max-width:85%}.banner-overlay h1{font-size:30px}}

/* v0.3.1 — matte black + stainless silver visual hierarchy */
:root{
  --matte:#252729;--matte-2:#303336;--matte-3:#3b3f43;--graphite:#565b60;
  --silver:#aeb4b8;--silver-2:#c5c9cc;--silver-3:#e2e4e5;--offwhite:#f2f2f0;
  --ink:#17191b;--text:#f3f3f1;--muted:#b9bdc0;--line:rgba(215,219,221,.28);
  --steel-top:#d0d3d5;--steel-mid:#b7bcc0;--steel-bottom:#9ea4a9;
}
body{background:#252729}
.topbar{background:rgba(37,39,41,.94)}

/* Customer menu: silver product panels against a matte background. */
.customer-page .menu-grid{gap:18px}
.customer-page .product-card{
  color:var(--ink);border-color:#d8dbdd;
  background:linear-gradient(145deg,var(--steel-top) 0%,var(--steel-mid) 52%,var(--steel-bottom) 100%);
  box-shadow:0 13px 30px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.48)
}
.customer-page .product-card h3{color:#17191b}
.customer-page .product-card p{color:#45494d}
.customer-page .product-card .price{color:#181a1c}
.customer-page .product-image{background:#777d82;border:1px solid rgba(255,255,255,.55)}
.customer-page .add-btn{background:#222528;color:#f4f4f2;border-color:#45494d}
.customer-page .badge{background:#d7aa4b;color:#181818}
.customer-page .pill{background:#34373a}
.customer-page .pill.active{background:linear-gradient(145deg,#d1d4d6,#9da3a8);color:#17191b}
.customer-page .cart-bar{background:rgba(55,59,62,.97);border-color:#899095}
.customer-page .modal{background:linear-gradient(150deg,#414549,#303336);border-color:#7c8287}
.customer-page .checkout-benefit,.customer-page .points-panel,.customer-page .notice-card,.customer-page .member-offer,.customer-page .member-hero{background:#292c2f;border-color:#676d72}
.customer-page .summary-line{border-color:#656a6f}

/* Compact payment selector. */
.payment-grid.compact-payment{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.payment-choice.compact{min-height:56px;padding:10px 14px;justify-content:center;background:#34383b;border:1px solid #777d82;color:#f2f2f0}
.payment-choice.compact strong{font-size:16px}
.payment-choice.compact:has(input:checked){background:linear-gradient(145deg,#d0d3d5,#a8adb1);color:#17191b;border-color:#e2e4e5;box-shadow:0 0 0 2px rgba(213,217,219,.16)}
.payment-choice.compact input{accent-color:#252729}
.payment-hint{margin:9px 2px 0;color:#c7cbce;font-size:13px;line-height:1.45}

/* Admin: use stainless panels instead of a wall of black cards. */
.admin-page .metric,.admin-page .order-card,.admin-page .banner-admin-card,.admin-page .table-card,.admin-page .settings-card{
  color:var(--ink);border-color:#d3d6d8;background:linear-gradient(145deg,var(--steel-top),var(--steel-mid) 58%,#a8adb1);
  box-shadow:0 12px 28px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.48)
}
.admin-page .metric small,.admin-page .metric .trend,.admin-page .order-head .meta,.admin-page .money-breakdown,.admin-page .table-link,.admin-page .settings-card p{color:#4b5054}
.admin-page .metric strong,.admin-page .money-breakdown strong,.admin-page .order-card h3{color:#17191b}
.admin-page .order-lines{background:rgba(244,245,244,.63);color:#222528}
.admin-page .product-table,.admin-page .data-table{background:#474b4f;border-color:#696f74}
.admin-page .product-row,.admin-page .data-row:not(.header){background:linear-gradient(145deg,#c2c6c9,#aab0b4);color:#17191b;border-color:#858b90}
.admin-page .data-row.header{background:#5a5f64;color:#f4f4f2}
.admin-page .product-row small,.admin-page .data-row small{color:#4b5054}
.admin-page .price-edit input,.admin-page .settings-card input,.admin-page .settings-card select{background:#f0f1f0;color:#17191b;border-color:#777d82}
.admin-page .tab,.admin-page .period-tab,.admin-page .mix-chip{background:#363a3d}
.admin-page .tab.active,.admin-page .period-tab.active{background:linear-gradient(145deg,#d4d7d9,#aab0b4);color:#17191b}
.admin-page .btn.ghost{background:#393d40;color:#f3f3f1;border-color:#777d82}
.admin-page .order-card .btn.ghost,.admin-page .table-card .btn.ghost,.admin-page .settings-card .btn.ghost,.admin-page .banner-admin-card .btn.ghost{background:#303336;color:#f3f3f1}
.payment-alert-chip{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#d4a74a;color:#17191b;font-weight:900;white-space:nowrap;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.btn.sound-on{background:linear-gradient(145deg,#d4d7d9,#aab0b4)!important;color:#17191b!important;border-color:transparent!important}

/* KDS lanes are graphite; order tickets are visibly stainless silver. */
.kds-lane{background:#3a3e42;border-color:#62686d}
.kds .order-card{background:linear-gradient(145deg,#d2d5d7,#aeb4b8 60%,#9ca2a7);border-color:#e5e7e8;color:#17191b}
.kds .order-lines{background:rgba(246,246,244,.72)}
.kds .kds-note{background:#e5d1a9;color:#1d1f21}
.kds-toolbar-btn{background:linear-gradient(145deg,#d4d7d9,#aab0b4)!important;color:#17191b!important}
.kds-exit{background:#45494d!important;border-color:#aeb4b8!important}

@media(max-width:700px){
  .payment-grid.compact-payment{grid-template-columns:repeat(2,minmax(0,1fr))}
  .payment-choice.compact{min-height:52px;padding:9px 7px}
  .customer-page .menu-grid{gap:11px}
  .customer-page .product-card{min-height:250px}
  .payment-alert-chip{order:3;width:100%;justify-content:center}
}
.payment-choice input[type="radio"]{width:auto!important;min-width:16px;flex:0 0 auto;margin:0}
.payment-choice.compact strong{white-space:nowrap;display:block}


/* v0.3.2 — readable point rules, sales statistics and live queue status */
.admin-page .points-rule-card h2,.admin-page .points-rule-card .field label{color:#1d2022!important}
.admin-page .points-rule-card .field small{color:#44494d;font-weight:700;line-height:1.4}
.points-rule-preview{display:grid;gap:7px;margin:14px 0;padding:14px;border:1px solid #7c8287;border-radius:15px;background:rgba(244,245,244,.58);color:#24272a}
.points-rule-preview strong{color:#111315;font-size:16px}.points-rule-preview span{font-weight:750}
.admin-page .points-save{background:#24272a;color:#f3f3f1;border-color:#52585d;width:100%}
.sales-total{display:flex;align-items:baseline;gap:9px;padding:12px 16px;border-radius:16px;background:linear-gradient(145deg,#d2d5d7,#aeb4b8);color:#17191b;border:1px solid #e4e6e7}.sales-total strong{font-size:30px}.sales-total b{margin-left:10px}
.sales-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:14px 0 20px}.sales-category-card{display:flex;flex-direction:column;gap:8px;padding:17px;border-radius:19px;border:1px solid #d8dbdd;background:linear-gradient(145deg,#d0d3d5,#aab0b4);color:#17191b;box-shadow:var(--soft-shadow)}.sales-category-card small{color:#464b4f;font-weight:800}.sales-category-card strong{font-size:26px}.sales-category-card em{font-style:normal;color:#474c50;font-size:12px}.sales-share{height:8px;border-radius:999px;background:#767c81;overflow:hidden}.sales-share i{display:block;height:100%;border-radius:inherit;background:#232628}
.sales-product-table{overflow:hidden;border:1px solid #70767b;border-radius:19px;background:#44484c}.sales-product-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(120px,1fr) 120px 150px 100px;gap:12px;align-items:center;padding:13px 15px;border-bottom:1px solid #858b90;background:linear-gradient(145deg,#c6cace,#aab0b4);color:#17191b}.sales-product-row:last-child{border-bottom:0}.sales-product-row.header{background:#555a5f;color:#f4f4f2;font-weight:900}.sales-product-row small{display:block;color:#4c5155;margin-top:3px}
.queue-status-card{display:grid;gap:8px;margin:15px 0;padding:16px 18px;border-radius:18px;border:1px solid #d7dadd;background:linear-gradient(145deg,#d0d3d5,#a9afb4);color:#17191b;text-align:left;box-shadow:0 10px 24px rgba(0,0,0,.18)}.queue-status-card strong{font-size:18px}.queue-status-card span{font-size:16px;font-weight:850}.queue-status-card small{color:#454a4e;line-height:1.45}
@media(max-width:700px){.sales-total{width:100%;flex-wrap:wrap}.sales-product-table{overflow-x:auto}.sales-product-row{min-width:760px}.queue-status-card strong{font-size:16px}}

/* v0.3.3 preparation-time controls */
.prep-type-select{min-width:170px;width:auto;padding:10px 12px;border-radius:12px;border:1px solid #747b80;background:#d0d3d5;color:#1b1d1f;font-weight:800}
/* v0.6 operation screens */
.connection-strip{padding:10px 14px;margin:8px 0 16px;border:1px solid #626b70;border-radius:10px;background:#343b3d;color:#dde7e5;font-size:13px}.connection-strip.offline{background:#71352f;color:#fff;border-color:#c9776b}
.filter-row{display:flex;gap:10px;margin:15px 0;flex-wrap:wrap}.filter-row input{flex:2;min-width:190px}.filter-row select{flex:1;min-width:140px}.filter-row .btn{flex:0 0 auto}
.record-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px;border-bottom:1px solid #92999d;background:#c6cbce;color:#161a1d}.record-row small,.pos-line small{display:block;margin-top:5px;color:#454e54}.record-row p{margin:5px 0}.record-row:last-child{border-bottom:0}.record-row .order-actions{justify-content:flex-end}
.note-attention{display:block;padding:10px;background:#f4deb1;color:#33240b;border-left:4px solid #b97e21;border-radius:6px;margin:8px 0;font-size:16px;font-weight:800;white-space:pre-wrap;overflow-wrap:anywhere}
.type-badge{display:inline-block;padding:3px 8px;border-radius:5px;background:#dde3e3;color:#182329;margin-right:8px;font-size:13px}.type-DELIVERY{background:#f3d7ad}.type-TAKEAWAY{background:#c8deef}.print-status{padding:8px 0;font-size:13px;font-weight:700}.kds .order-card .btn.ghost{background:#343b3f;color:white}
.qr-preview{display:block;max-width:280px;width:100%;margin:16px auto;background:white}.label-preview{display:block;width:320px;max-width:100%;height:auto;background:#fff;margin:20px auto;border:1px solid #8b9296}.modal p{line-height:1.6}.modal .record-row .btn{white-space:nowrap}.option-editor{overflow:auto;max-height:60vh}.option-edit-row{display:grid;grid-template-columns:90px repeat(3,1fr) 65px 70px 70px 35px;gap:6px;align-items:center;min-width:780px;padding:8px 0;border-bottom:1px solid #687075}.option-edit-row input,.option-edit-row select{padding:9px 6px}.option-edit-row input[type=checkbox]{width:auto}.period-tabs input[type=date]{width:160px;background:#e3e7e8;color:#14191d}.settings-card label{color:#20282d}.settings-card small{color:#4a545a}.settings-card form{display:grid;gap:8px}.modal .field label{color:#e6e8e9}
.pos-dashboard{max-width:1900px}.pos-types{display:flex;gap:12px;margin:15px 0}.pos-types .btn{padding:16px 35px;font-size:20px}.pos-tables{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.table-choice{min-width:100px;padding:10px;background:#c3ccce;color:#151c1f;border:2px solid transparent;border-radius:12px}.table-choice.selected{border-color:#4bad8b;background:#e8f4ed}.table-choice strong,.table-choice small{display:block}.table-choice small{font-size:12px;margin-top:4px}.pos-layout{display:grid;grid-template-columns:140px minmax(280px,1fr) 370px;gap:20px;align-items:start}.pos-categories{display:grid;gap:10px;position:sticky;top:10px}.pos-menu>.menu-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));margin-top:15px}.pos-menu .product-card{padding:12px;min-height:0;background:linear-gradient(135deg,#d7dcde,#a8b0b5);color:#1a2329}.pos-menu .product-card h3{font-size:18px;margin:10px 0 5px;color:#111b21}.pos-menu .product-card small{color:#49565e}.pos-menu .product-image{width:100%;height:130px;object-fit:cover;border-radius:12px}.pos-checkout{position:sticky;top:12px;background:#c6cdd0;color:#182026;padding:20px;border-radius:18px;border:1px solid #e6eaeb;max-height:calc(100vh - 24px);overflow:auto}.pos-checkout h2{font-size:21px;margin:0 0 15px}.pos-checkout .field label{color:#35434c}.pos-checkout input,.pos-checkout select{background:#f0f3f4;color:#1b252a;border-color:#89959c}.pos-lines{max-height:38vh;overflow:auto}.pos-line{padding:12px 0;border-bottom:1px solid #8c989f;display:grid;grid-template-columns:1fr auto;gap:6px}.pos-line small,.pos-line>div{grid-column:1/-1}.pos-line .btn{padding:6px 9px}.member-pos{margin:14px 0;padding:12px;background:#dce2e4;border-radius:10px}.pos-checkout .summary-line{color:#17212a}.pos-checkout #posSubmit{width:100%;padding:16px}.pos-checkout .empty{color:#4c5962}.counter-page .modal .field label{color:#eef1f1}.counter-page .modal .field input{color:white}.counter-page .modal{background:#363e43}.pos-checkout .btn.ghost{background:#3b454d;color:#f0f4f5}
@media(max-width:1100px){.pos-layout{grid-template-columns:100px minmax(220px,1fr) 310px;gap:12px}.pos-checkout{padding:14px}}@media(max-width:760px){.pos-layout{grid-template-columns:1fr}.pos-categories{display:flex;overflow:auto;position:static}.pos-checkout{position:static;max-height:none}.pos-lines{max-height:none}.pos-types .btn{padding:13px 18px;font-size:17px}.record-row{align-items:flex-start;flex-wrap:wrap}.record-row .order-actions{justify-content:flex-start}.dash-header{flex-wrap:wrap}.pos-menu .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.6.1: three compact choices per row in all customer languages. */
.customer-page .product-options-modal{--product-padding:16px;padding:var(--product-padding);width:min(600px,100%);overscroll-behavior:contain}
.product-options-modal .modal-header{gap:10px;margin-bottom:10px;align-items:center}
.product-options-modal .modal-header h2{font-size:21px;line-height:1.4;overflow-wrap:anywhere}
.product-options-modal .modal-header>div{min-width:0;flex:1}
.product-options-modal .modal-product-image{width:58px;height:58px;border-radius:12px;flex-shrink:0}
.product-options-modal .close{width:44px;height:44px;flex-shrink:0}
.product-options-modal .price{font-size:17px}
.product-options-modal .option-group h4{font-size:13px;line-height:1.5;margin:10px 0 5px;color:#dce0e3}
.customer-page .product-options-modal .option-list{grid-template-columns:repeat(var(--option-columns,3),minmax(0,1fr));gap:6px}
.product-options-modal .option-list .option{position:relative;min-width:0;min-height:44px;padding:7px 5px;justify-content:center;text-align:center;border-radius:10px;font-size:13px;line-height:1.5;cursor:pointer}
.product-options-modal .option-list .option input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.product-options-modal .option-list .option span{min-width:0;overflow-wrap:anywhere}
.product-options-modal .option-price{display:block;font-size:11px;opacity:.85}
.product-options-modal .option-list .option:focus-within{outline:2px solid #eef0f2;outline-offset:2px}
.product-options-modal .field{margin:10px 0;gap:5px;font-size:13px}
.product-options-modal .field input{padding:10px 12px;min-height:44px}
.product-options-modal form>.option{min-height:44px;padding:8px 10px;font-size:13px}
.product-options-modal .product-actions{position:sticky;bottom:calc(-1 * var(--product-padding));z-index:1;background:#303336;border-top:1px solid #73797e;margin:12px calc(-1 * var(--product-padding)) calc(-1 * var(--product-padding));padding:10px var(--product-padding) max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:row;align-items:center;gap:10px}
.product-options-modal .product-actions>.btn{flex:1;min-width:0;overflow-wrap:anywhere;text-align:center;font-size:14px;line-height:1.5;min-height:46px;padding:10px 8px}
.product-options-modal .qty{gap:8px;flex-shrink:0}
.product-options-modal .qty button{min-width:40px;min-height:44px;padding:8px}
html[lang=my] .product-options-modal .option{line-height:1.65}
.brand-logo{background:#fff}
.brand-logo-preview{display:block;width:150px;height:150px;object-fit:contain;background:#fff;border-radius:14px;margin:12px 0;border:1px solid #a8afb3}
.payment-review{padding:16px;border:1px solid #7d8a90;border-radius:14px;margin:12px 0}
.payment-review strong{font-size:28px;display:block;margin-top:8px}
.payment-review p{margin:6px 0}

/* v0.6.2 release and recovery feedback */
.release-badge{font-size:12px;color:#aeb9c1;font-weight:600}.brand .release-badge{display:block;font-size:11px;margin-top:2px}.release-warning{padding:12px 16px;background:#f7dc9b;color:#302513;border-bottom:1px solid #b58b39;font-size:14px}.release-warning a{color:inherit;font-weight:bold}.repair-card{max-width:700px;margin:5vh auto;padding:24px;background:#34393d;border:1px solid #8a949b;border-radius:20px}.repair-card h1{font-size:25px}.repair-card .brand-logo{width:90px;height:90px}.repair-links{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.repair-card p{line-height:1.7}.repair-card #repairStatus{white-space:pre-line}.repair-card .btn{min-height:44px}

/* Compact customer menu · M9. Staff and print layouts keep their existing styles. */
.customer-page{padding-bottom:calc(100px + env(safe-area-inset-bottom));background:#252729}
.customer-page .topbar-inner{max-width:1100px;margin:auto;padding:10px 14px;gap:10px}
.customer-page .brand{gap:9px;min-width:0}.customer-page .brand-logo{width:42px;height:42px;border-radius:12px}.customer-page .brand strong{font-size:16px;line-height:1.25}.customer-page .brand small{font-size:12px}.customer-page .release-badge{display:none}
.customer-page .icon-btn{width:42px;height:42px;min-width:42px;border-radius:13px;font-size:17px}
.customer-page #menuView{max-width:1100px;padding:12px 12px 24px}
.customer-page .connection-strip{font-size:11px;line-height:1.5;padding:6px 10px;margin:0 0 10px;border-radius:9px}
.customer-page .banner-shell{height:112px;min-height:0;border-radius:16px;margin:0 0 12px;overflow:hidden;position:relative}
.customer-page .banner-track,.customer-page .banner-card{height:112px;min-height:0}
.customer-page .banner-card img{height:112px;object-fit:cover}
.customer-page .banner-overlay{padding:14px 18px}.customer-page .banner-overlay h1{font-size:22px;margin:0 0 4px;line-height:1.2}.customer-page .banner-overlay p{font-size:12px;margin:0}.customer-page .banner-dots{bottom:7px}.customer-page .banner-dot{width:5px;height:5px;min-width:0;padding:0}
.customer-page .menu-search{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0 12px;border:1px solid var(--line);background:#303336;border-radius:12px;color:#b9bdc0}
.customer-page .menu-search>span{font-size:24px}.customer-page .menu-search input{width:100%;min-width:0;border:0;background:transparent;color:#f3f3f1;padding:10px 0;font-size:14px;min-height:44px;outline-offset:2px}
.customer-page .menu-layout{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:start;scroll-margin-top:76px}
.customer-page .category-rail{display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px;margin:0;position:sticky;top:76px;max-height:calc(100dvh - 170px);overflow-y:auto;scrollbar-width:none;padding-bottom:10px}
.customer-page .category-rail .pill{width:100%;min-height:48px;white-space:normal;overflow-wrap:anywhere;padding:10px 5px;border:0;border-radius:10px;background:transparent;color:#b9bdc0;text-align:center;font-size:12px;line-height:1.5}
.customer-page .category-rail .pill.active{background:#c5c9cc;color:#17191b;font-weight:700;box-shadow:none}
.customer-page #menuSections{min-width:0}.customer-page .section-title{margin:0;padding:4px 0 6px}.customer-page .section-title h2{font-size:16px;margin:0;line-height:1.5}.customer-page #menuSections section+section{margin-top:18px}
.customer-page .menu-grid{display:flex;flex-direction:column;gap:0}
.customer-page .product-card{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:104px;padding:12px 0;margin:0;border:0;border-bottom:1px solid rgba(215,219,221,.14);border-radius:0;box-shadow:none;background:transparent;color:#f3f3f1;overflow:visible;transform:none}
.customer-page .product-card:hover{transform:none;background:transparent;box-shadow:none}
.customer-page .product-image{width:68px;height:68px;flex:0 0 68px;aspect-ratio:1;object-fit:cover;border-radius:12px;margin:0;background:#e2e4e5}
.customer-page .product-info{flex:1;min-width:0}.customer-page .product-card h3{font-size:15px;line-height:1.45;margin:0 0 4px;overflow-wrap:anywhere;color:#f3f3f1}
.customer-page .product-card p{font-size:11px;line-height:1.5;margin:0 0 6px;color:#b9bdc0;min-height:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.customer-page .menu-new{display:inline-block;margin-left:5px;color:#c5c9cc;font-size:9px;vertical-align:middle;font-weight:400}
.customer-page .product-footer{display:flex;flex-wrap:wrap;gap:5px;align-items:center;justify-content:space-between;margin:0;padding-top:0}
.customer-page .product-card .price{font-size:14px;line-height:1.5;font-weight:650;color:#f3f3f1;white-space:nowrap}
.customer-page .product-card .add-btn{width:auto;height:auto;min-height:36px;min-width:54px;max-width:100%;border:1px solid rgba(215,219,221,.25);padding:6px 10px;font-size:11px;line-height:1.5;border-radius:18px;background:#c5c9cc;color:#17191b;box-shadow:none;overflow-wrap:anywhere}
.customer-page .product-card.sold{opacity:.5}.customer-page .product-card.sold .add-btn{background:transparent;color:#c5c9cc}
.customer-page .menu-no-results{font-size:14px;padding:28px 8px;line-height:1.7}
.customer-page .cart-bar{width:calc(100% - 24px);max-width:700px;bottom:calc(12px + env(safe-area-inset-bottom));padding:12px 16px;min-height:58px;border-radius:20px;gap:10px;font-size:14px}
.customer-page .cart-count{width:30px;height:30px;min-width:30px;display:grid;place-items:center;border-radius:50%;font-size:13px}.customer-page .cart-total{white-space:nowrap;font-size:16px}
.customer-page .product-options-modal{max-height:90dvh;border-radius:22px 22px 0 0;padding:16px;padding-bottom:0;scroll-padding-bottom:90px}
.customer-page .product-options-modal .modal-product-image{width:64px;height:64px;border-radius:12px;object-fit:cover}
.customer-page .product-options-modal .modal-header h2{font-size:19px}.customer-page .product-options-modal .product-actions{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom));margin-bottom:0;z-index:2}
html[lang=my] .customer-page .category-rail .pill{line-height:1.8;font-size:11px}html[lang=my] .customer-page .product-card h3{line-height:1.8;font-size:14px}html[lang=my] .customer-page .product-card .add-btn{line-height:1.8}
@media(max-width:359px){.customer-page .menu-layout{grid-template-columns:64px minmax(0,1fr);gap:8px}.customer-page .product-image{width:54px;height:60px;flex-basis:54px}.customer-page .product-card{gap:8px}.customer-page .product-card h3{font-size:14px}.customer-page .brand strong{font-size:14px}.customer-page .product-card .add-btn{padding:5px 8px;min-width:48px}}
@media(min-width:760px){.customer-page .menu-layout{grid-template-columns:120px minmax(0,1fr);gap:26px}.customer-page .category-rail .pill{font-size:14px}.customer-page .banner-shell,.customer-page .banner-track,.customer-page .banner-card,.customer-page .banner-card img{height:150px}.customer-page .product-card{min-height:110px}.customer-page .product-image{width:82px;height:82px;flex-basis:82px}.customer-page .product-card h3{font-size:17px}.customer-page .product-card p{font-size:13px}.customer-page .product-card .add-btn{font-size:13px;min-width:72px}.customer-page .product-options-modal{border-radius:22px}}

/* C10: compact customer checkout, including member discounts. */
.customer-page .checkout-modal{width:min(820px,100%);padding:16px;max-height:92dvh;scroll-padding:12px;border-radius:22px}
.customer-page .checkout-modal .modal-header{margin-bottom:8px;gap:8px}.customer-page .checkout-modal .modal-header h2{font-size:21px;line-height:1.35}.customer-page .checkout-modal .close{width:40px;height:40px;min-width:40px;font-size:25px}
.customer-page #checkoutForm{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;font-size:13px;line-height:1.4}
.customer-page #checkoutForm section,.customer-page #checkoutForm footer{min-width:0}
.customer-page #checkoutForm .field{margin:0 0 8px;gap:4px;min-width:0}
.customer-page #checkoutForm .field>label{font-size:12px;font-weight:600;line-height:1.5}
.customer-page #checkoutForm .field input,.customer-page #checkoutForm .field select,.customer-page #checkoutForm .field textarea{min-height:42px;padding:8px 10px;border-radius:10px;font-size:16px;line-height:1.4}
.customer-page #checkoutForm textarea{height:44px;resize:vertical;max-height:120px}
.customer-page #checkoutForm .checkout-pair,.customer-page #checkoutForm .checkout-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.customer-page #checkoutForm .checkout-contact input{font-size:16px}
.customer-page #checkoutForm .payment-grid{gap:8px}
.customer-page #checkoutForm .payment-choice.compact{padding:8px 10px;min-height:44px;border-radius:11px;gap:7px}
.customer-page #checkoutForm .payment-choice.compact strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.customer-page #checkoutForm .payment-choice.compact input{width:17px;height:17px;min-height:17px;flex:0 0 17px;margin:0}
.customer-page #checkoutForm .payment-hint{margin:7px 0 0;font-size:11px;line-height:1.5}
.customer-page #checkoutForm .checkout-benefit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0;padding:10px;border-radius:12px}
.customer-page #checkoutForm .checkout-benefit>.field{margin:0}.customer-page #checkoutForm .checkout-benefit>.field>label{min-height:36px;display:flex;align-items:end}
.customer-page #checkoutForm .checkout-benefit select,.customer-page #checkoutForm .checkout-benefit input{min-width:0}
.customer-page #checkoutForm .points-panel{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:8px;border:0;border-top:1px solid var(--line);border-radius:0;margin:0;padding:9px 0 0;background:transparent}
.customer-page #checkoutForm .points-panel>div:first-child{min-width:0;flex:1}.customer-page #checkoutForm .points-panel strong{font-size:12px;font-weight:600}.customer-page #checkoutForm #maxWalletLabel{font-size:10px;line-height:1.5;margin-top:3px}
.customer-page #checkoutForm .points-controls{gap:5px;flex:0 0 118px}.customer-page #checkoutForm .points-controls input{width:64px!important;min-width:0;min-height:40px;padding:7px 5px;border:1px solid var(--line);border-radius:8px;background:#222527;color:var(--text);font-size:16px;text-align:center}
.customer-page #checkoutForm .points-controls button{min-height:40px;padding:7px 8px;border-radius:8px;font-size:11px}
.customer-page #checkoutForm .login-benefit{font-size:12px;line-height:1.5;padding:10px;border-radius:10px;min-height:42px;margin-top:2px}
.customer-page #checkoutForm .checkout-footer{border-top:1px solid var(--line);padding-top:5px}
.customer-page #checkoutForm .summary-line{padding:6px 0;font-size:13px;border:0;line-height:1.5;align-items:center;overflow-wrap:anywhere}
.customer-page #checkoutForm .summary-line strong{white-space:nowrap}.customer-page #checkoutForm .summary-line.grand{border-top:1px solid var(--line);margin-top:2px;font-size:18px}
.customer-page #checkoutForm .earn-hint{font-size:11px;padding:3px 0 8px;line-height:1.4}
.customer-page #checkoutForm #placeOrderBtn{min-height:44px;padding:9px 14px;border-radius:11px;font-size:15px}
html[lang=my] .customer-page #checkoutForm{line-height:1.65}html[lang=my] .customer-page #checkoutForm .field>label{line-height:1.7}html[lang=my] .customer-page #checkoutForm .payment-choice strong{font-size:12px;line-height:1.8}
@media(min-width:760px){.customer-page #checkoutForm{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;align-items:start}.customer-page #checkoutForm .checkout-payment{border-left:1px solid var(--line);padding-left:20px}.customer-page #checkoutForm .checkout-footer{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;align-items:center}.customer-page #checkoutForm .earn-hint{padding-bottom:0}}
@media(max-width:359px){.customer-page .checkout-modal{padding:12px}.customer-page #checkoutForm .checkout-benefit{grid-template-columns:minmax(0,1fr)}.customer-page #checkoutForm .checkout-benefit>.field>label{min-height:0}.customer-page #checkoutForm .points-panel{flex-wrap:wrap}.customer-page #checkoutForm .points-controls{flex:0 0 118px}}

/* Payment and contact P12 */
.contact-entry{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.payment-modal{width:min(720px,100%)}
.payment-modal .modal-header{margin-bottom:14px;gap:10px}.payment-modal .modal-header h2{font-size:clamp(18px,4.5vw,27px);overflow-wrap:anywhere;margin:4px 0}
.payment-modal .qr-card{padding:16px}.payment-modal .qr-card>h3{font-size:16px;margin:14px 0 4px}
.payment-amount{display:flex;align-items:baseline;justify-content:center;gap:12px;margin-bottom:14px}.payment-amount small{color:var(--muted);font-size:14px}.payment-amount strong{font-size:30px}
.payment-layout{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:20px;align-items:center;text-align:left}
.payment-qr-block img{display:block;width:100%;height:220px;max-width:100%;object-fit:contain;background:#fff;border-radius:12px;padding:8px;margin:0 auto}
.qr-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:10px}.qr-actions .btn{min-height:44px;padding:10px 14px;font-size:14px;text-decoration:none}.qr-original{font-size:13px;color:var(--muted);text-decoration:underline}
.payment-hint{color:var(--muted);font-size:12px!important;line-height:1.6;margin:8px 0!important}.payment-details p{font-size:14px;line-height:1.6;margin:12px 0}
.payment-details dl{margin:0}.payment-details dl>div{padding:7px 0;border-bottom:1px solid var(--line)}.payment-details dt{color:var(--muted);font-size:12px}.payment-details dd{margin:3px 0 0;font-size:15px;overflow-wrap:anywhere}.payment-details dd .btn{font-size:12px;padding:7px 10px;min-height:36px;margin-left:8px}
.payment-reference{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0;font-size:12px}.payment-reference strong{overflow-wrap:anywhere}.payment-reference .btn{padding:7px 10px;font-size:12px;min-height:36px}
.payment-modal #claimPaid{width:100%;min-height:44px}.payment-modal .order-money-mini{font-size:13px;margin:12px 0}.payment-contact{display:block;text-align:center;margin:14px 0;font-size:14px;color:var(--silver-2)}
.contact-shell{max-width:620px;margin:auto;padding:24px 16px 40px}.contact-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px}.contact-toolbar a{color:var(--text)}.contact-toolbar select{background:var(--matte-2);color:var(--text);border:1px solid var(--line);padding:10px;border-radius:10px;font-size:16px;max-width:160px}
.contact-brand{display:flex;align-items:center;gap:14px;margin:20px 0}.contact-brand img{width:60px;height:60px;border-radius:16px;object-fit:contain;background:#fff}.contact-brand h1{font-size:23px;margin:0}.contact-brand p{margin:4px 0;color:var(--muted)}
.contact-card{background:var(--matte-2);border:1px solid var(--line);border-radius:18px;padding:18px;margin:14px 0}.contact-card h2{font-size:17px;margin:0 0 12px}.contact-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:8px 0}.contact-card .btn{min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px}.contact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.contact-row strong{overflow-wrap:anywhere;min-width:0}.contact-qr img{display:block;width:min(260px,100%);height:260px;object-fit:contain;background:#fff;padding:10px;border-radius:12px;margin:12px auto}.contact-empty{color:var(--muted);line-height:1.6}
@media(max-width:600px){.payment-modal{padding:16px}.payment-layout{grid-template-columns:1fr;gap:6px}.payment-qr-block img{height:190px;width:220px}.payment-amount strong{font-size:27px}.payment-details dl{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.payment-details dl>div:last-child{grid-column:1/-1}.payment-modal .qr-card{padding:12px}.customer-page .topbar-inner{gap:6px}.customer-page .topbar-inner .icon-btn{width:38px;height:40px;min-width:38px}.customer-page .topbar-inner .brand{min-width:0}.customer-page #storeName{font-size:14px}.customer-page .topbar-inner .brand-logo{width:36px;height:36px}.customer-page .topbar-inner .brand>div{min-width:0}.customer-page #tableLabel{font-size:11px}}

.payment-modal{line-height:1.45}.payment-modal .modal-header small{font-size:12px}.payment-modal .modal-header .close{flex-shrink:0}.payment-modal .payment-qr-block img{aspect-ratio:auto}
@media(max-width:600px){.payment-modal .modal-header{margin-bottom:10px}.payment-modal .payment-amount{margin-bottom:10px}.payment-qr-block img{height:175px}.payment-details dl{display:block}.payment-details dl>div{display:flex;align-items:center;gap:10px;padding:5px 0}.payment-details dt{flex:0 0 76px}.payment-details dd{flex:1;margin:0;font-size:14px}.payment-details p{margin:8px 0}.payment-reference{margin:8px 0}.payment-modal .payment-contact{margin:10px 0}}
