/* Focused additions to the existing responsive POS design. */
[hidden]{display:none!important}
.manual-details .manual-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.22fr)}
.manual-actions .btn{white-space:normal;text-align:center;line-height:1.4}
#manual-local-save{width:100%;margin-top:12px}
.local-order,.withdraw-row{border:1px solid var(--line,#303e49);border-radius:14px;padding:16px;overflow-wrap:anywhere}
.local-order{display:flex;justify-content:space-between;gap:12px;align-items:center}
.physical-receipt-editor textarea{font-family:ui-monospace,monospace;line-height:1.6}
.physical-receipt-editor .placeholder-grid{max-height:220px;overflow:auto}
.gateway-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:20px;align-items:start}
.gateway-layout>.card{min-width:0}.withdraw-list{display:grid;gap:14px}.balance-card{display:grid;gap:8px;background:var(--bg,#101719)}
#gateway-fields{display:grid;gap:14px}#gateway-settings{max-width:1200px}#gateway-fields .feature-option{justify-content:flex-start}
.qris-dialog>.card{width:min(520px,95vw)}.qris-checkout{text-align:center;display:grid;justify-items:center;gap:10px;width:100%;min-width:0}.qris-checkout h2{margin:0}.qris-checkout p{margin:4px 0}.qris-amount{font-size:clamp(28px,7vw,40px);color:var(--accent,#f99e20)}
.qris-image{padding:16px;border-radius:16px;background:#fff;margin:12px 0;max-width:100%}.qris-image img,.qris-image canvas{width:240px;max-width:100%;height:auto}.qris-actions{justify-content:center;flex-wrap:wrap}.qris-checkout .notice{max-width:100%;overflow-wrap:anywhere}.note-toggle{text-align:left}.wa-status.offline{color:var(--accent,#f9a11d)}
.cart-dock{flex-wrap:wrap}.cart-dock [data-action=qris-resume]{font-size:.75rem}
@media(max-width:850px){.gateway-layout{grid-template-columns:1fr}.local-order{display:block}.local-order>.row{margin-top:12px}.manual-details .manual-actions{grid-template-columns:1fr}}
/* Operational revisions: compact controls and responsive editors. */
.wa-input{display:flex;align-items:center;position:relative}.wa-input input{width:100%;padding-right:104px}.wa-input .btn{position:absolute;right:7px;min-height:30px;padding:6px 12px;font-size:12px}.customer-methods{display:flex;flex-wrap:wrap;gap:16px;border:1px solid var(--border);border-radius:12px;padding:14px}.customer-methods legend{padding:0 6px}.customer-methods label{display:flex;align-items:center;gap:8px}.checkout-totals{display:grid;gap:9px;font-size:.9rem;padding:14px 0;border-top:1px solid var(--border)}.checkout-totals>div{display:flex;justify-content:space-between;gap:16px}.last-order-dock>div{display:grid;gap:4px}.last-order-dock strong{font-size:1.15rem}.last-order-dock small{font-size:.75rem}.finance-value{display:block;font-size:1.9rem;margin:12px 0;color:var(--accent)}.waiter-item,.wage-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding:16px 0}.waiter-item p{margin-bottom:0}.receipt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.receipt-cards .card{background:var(--bg)}.word-dialog>.card{width:min(1100px,96vw);max-width:none}.word-home{position:sticky;top:0;background:var(--card);border:1px solid var(--border);padding:14px;border-radius:10px;z-index:2;display:grid;gap:10px}.word-home select{max-width:100%;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:6px}.word-home label{display:flex;gap:8px;align-items:center;font-size:12px}.receipt-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-width:0}.receipt-editor-grid>section{min-width:0}.receipt-paper{color:#000;background:#fff;padding:12px;min-height:180px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:monospace;max-width:100%;box-sizing:border-box}.receipt-paper[contenteditable]{outline:2px solid #426783;min-height:300px}.receipt-preview-wrap{background:#080d13;padding:16px;overflow:auto;border-radius:10px}.receipt-paper img{max-width:100%}.receipt-preview-dialog>.card{width:min(480px,94vw)}#trx-settings fieldset{border:0;padding:0;margin:0}#mobile-role-defaults details{border:1px solid var(--border);border-radius:8px;padding:12px}#mobile-role-defaults summary{cursor:pointer;font-weight:600}#mobile-role-defaults .menu-access-grid{margin-top:14px}.fee-checkout{display:grid;gap:14px;text-align:center}.fee-checkout .qris-image{margin:auto}.qris-checkout .checkout-totals{width:100%;text-align:left}
@media(max-width:700px){.receipt-cards,.receipt-editor-grid{grid-template-columns:1fr}.waiter-item{flex-wrap:wrap}.waiter-item .btn{width:100%}.word-home .row{gap:6px}.word-home{position:relative}.word-dialog>.card{padding:16px}.last-order-dock{gap:10px}.last-order-dock .btn{padding:10px;font-size:.8rem}.last-order-dock strong{font-size:1rem}.wage-row{align-items:flex-start}.finance-value{font-size:1.6rem}}

.delivery-status{display:flex;flex-direction:column;align-items:flex-start;gap:4px;white-space:normal}.delivery-status small{font-weight:400}

.finance-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px;margin:16px 0}.finance-metrics>.card{min-width:0}.finance-value{overflow-wrap:anywhere}.finance-details{margin:0}.finance-details>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:baseline;border-bottom:1px solid var(--border);padding:14px 0}.finance-details dt{overflow-wrap:anywhere}.finance-details dd{margin:0;text-align:right;white-space:nowrap}@media(max-width:480px){.finance-details>div{grid-template-columns:minmax(0,1fr) auto;gap:10px;font-size:.85rem}}

/* Customer mobile fluid hardening: scoped only to visitor/customer UI. */
.customer-content{
  width:min(100%,1180px);
  margin-inline:auto;
  padding-inline:max(12px,env(safe-area-inset-left));
  padding-right:max(12px,env(safe-area-inset-right));
  box-sizing:border-box;
}
.customer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));}
.customer-hero h1{font-size:clamp(1.35rem,6vw,2rem);}
.customer-hero p,.customer-product p{font-size:clamp(.86rem,3.4vw,1rem);}
.customer-product-info h2{font-size:clamp(1rem,4vw,1.3rem);}
.customer-location strong{font-size:clamp(.95rem,3.8vw,1.15rem);}
.customer-product .qty-control button,.customer-product button{min-width:44px;min-height:44px;}
.customer-cart-dialog{max-height:min(92dvh,720px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(16px,env(safe-area-inset-bottom));}
.cart-dock{width:min(calc(100% - 24px),560px);margin-inline:auto;bottom:max(8px,env(safe-area-inset-bottom));}
@media (max-width:360px){
  .customer-content{padding-inline:10px;}
  .customer-grid{gap:.6rem;}
  .customer-product{min-width:0;}
  .customer-product-info h2{font-size:1rem;}
}
@media (min-width:361px) and (max-width:600px){.customer-grid{gap:.75rem;}}

.gateway-integration{display:grid;gap:1rem;margin-top:1rem}
.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.integration-list{display:grid;gap:.55rem}
.integration-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem .8rem;border:1px solid rgba(127,127,127,.18);border-radius:.75rem;background:rgba(127,127,127,.035)}
.integration-row code{display:block;overflow-wrap:anywhere;font-size:.78rem;margin-top:.2rem}
.integration-row small{display:block}
.integration-check{display:grid;gap:.18rem;padding:.65rem .75rem;border:1px solid rgba(127,127,127,.18);border-radius:.7rem}
.integration-check span{font-size:.82rem}
.integration-check small{color:inherit;opacity:.7}
.integration-meta{display:flex;flex-wrap:wrap;gap:.55rem;margin:.7rem 0;font-size:.78rem;opacity:.82}
@media(max-width:760px){.integration-grid{grid-template-columns:1fr}.integration-row{align-items:flex-start}.integration-row .btn{flex:0 0 auto}}

/* Customer menu and cart: navy / amber reference, isolated from staff screens. */
.customer-content{max-width:1200px;padding:24px 24px 132px;}
.customer-top{padding:18px 24px;background:#0b1928;border-bottom:1px solid #23384c;}
.customer-top .brand{max-width:1152px;color:#f8fafc;gap:12px;}
.customer-content .customer-hero{min-height:250px;margin:0;padding:36px;border:1px solid #263c51;border-radius:22px;background-color:#102235;background-image:radial-gradient(ellipse at 95% 10%,#c5932933,transparent 60%);}
.customer-content .customer-hero h1{font-size:clamp(1.8rem,3.4vw,2.8rem);line-height:1.18;max-width:720px;margin:12px 0;}
.customer-content .customer-hero p{font-size:1rem;line-height:1.65;max-width:600px;color:#a9bed6;}
.customer-content .customer-location{margin:16px 0 28px;padding:16px 20px;background:#0e1e2e;border:1px solid #29425b;border-radius:16px;gap:14px;}
.customer-content .customer-location .location-icon{width:44px;height:44px;border-radius:13px;background:#ffbf32;flex-shrink:0;}
.customer-content .customer-location small{font-size:.65rem;letter-spacing:.12em;}
.customer-content .customer-location strong{font-size:1.15rem;line-height:1.5;overflow-wrap:anywhere;}
.customer-menu-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;}
.customer-menu-heading h2{font-size:1.6rem;margin:6px 0 0;}
.customer-menu-heading>span{white-space:nowrap;color:#a9bed6;font-size:.8rem;}
.customer-content .customer-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);align-items:center;gap:16px;margin:0 0 22px;}
.customer-tools #customer-categories{min-width:0;}
.customer-content .customer-tools .tabs{gap:8px;margin:0;scrollbar-width:thin;padding:4px 0 8px;}
.customer-content .customer-tools .tab{flex-shrink:0;padding:11px 16px;border:1px solid #29405a;border-radius:12px;min-height:44px;font-size:.82rem;background:#101f30;color:#bacbe1;}
.customer-content .customer-tools .tab.active{background:#ffbf32;border-color:#ffbf32;color:#101820;}
.customer-content .customer-tools .search-box{width:100%;margin:0;min-width:0;}
.customer-content .customer-tools input{min-width:0;min-height:46px;}
.customer-content .customer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.customer-content .customer-product{border-radius:18px;background:#0e1e2e;border:1px solid #253d54;min-width:0;}
.customer-content .customer-photo .menu-photo{aspect-ratio:1.5;object-fit:cover;max-height:240px;}
.customer-content .customer-product-info{padding:18px;gap:9px;}
.customer-content .customer-product-info h2{font-size:1.05rem;line-height:1.4;overflow-wrap:anywhere;}
.customer-content .customer-product-info p{font-size:.83rem;line-height:1.5;color:#a5bad2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em;}
.customer-content .customer-product-info .price{color:#ffc13e;font-size:1.15rem;white-space:nowrap;}
.customer-content .customer-product-info>.row{margin-top:auto;gap:12px;}
.customer-content .qty-control{background:#ffbf32;border-radius:12px;}
.customer-content .qty-control button{min-width:44px;height:44px;}
.customer-content .customer-grid>.empty{grid-column:1/-1;border:1px dashed #29405a;border-radius:16px;}
.cart-dock{max-width:1152px;background:#102133f5;border-color:#806126;border-radius:18px;bottom:max(14px,env(safe-area-inset-bottom));}
.cart-dock strong{color:#ffc13e;font-size:1.65rem;}
.cart-dock .btn{background:#ffbf32;color:#101820;border-radius:12px;min-height:48px;}
.customer-icon{width:24px;height:24px;flex:0 0 24px;}
body:has(.dialog.customer-cart-dialog){overflow:hidden;}
.dialog.customer-cart-dialog{height:100dvh;max-height:none;padding:16px;overflow:hidden;background:#020b16d9;backdrop-filter:blur(8px);}
.dialog.customer-cart-dialog>.card{display:grid;gap:12px;width:min(720px,100%);max-width:720px;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:20px;background:transparent;box-shadow:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#35516a transparent;color:#f8fafc;}
.customer-cart-brand{position:sticky;top:0;z-index:3;padding:16px 22px;border:1px solid #263f57;border-radius:18px;background:#0c1b2b;flex-wrap:nowrap;}
.customer-cart-brand>.eyebrow{display:flex;align-items:center;gap:16px;color:#ffc13e;font-size:.95rem;letter-spacing:.1em;min-width:0;overflow-wrap:anywhere;line-height:1.4;}
.customer-cart-brand>button{width:44px;height:44px;flex:0 0 44px;background:#20354d;border-radius:13px;font-size:1.1rem;}
.customer-icon-tile{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px;color:#0b1825;background:linear-gradient(130deg,#ffd45d,#ffba20);}
.customer-icon-tile .customer-icon{width:27px;height:27px;}
.customer-cart-panel{border:1px solid #263f57;border-radius:18px;padding:24px;background:linear-gradient(145deg,#0b1b2b,#0c1928);min-width:0;}
.customer-cart-heading{display:flex;align-items:center;gap:16px;}
.customer-cart-heading h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.3;margin:0;letter-spacing:-.04em;}
.customer-cart-heading h2>span{color:#ffc13e;white-space:nowrap;}
.customer-cart-intro{color:#9fb9d8;font-size:.95rem;line-height:1.65;margin:16px 0 20px;}
.customer-cart-items{display:grid;gap:12px;margin-bottom:24px;}
.customer-cart-items .order-item{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:16px;align-items:center;border:1px solid #2c4861;border-radius:16px;background:#0c1b29;padding:14px;}
.customer-cart-items .menu-photo{width:80px;height:80px;border-radius:12px;object-fit:cover;}
.customer-cart-item-name{display:grid;gap:8px;min-width:0;overflow-wrap:anywhere;}
.customer-cart-item-name strong{font-size:1rem;line-height:1.4;}
.customer-cart-item-name small{font-size:.88rem;color:#8da9cc;}
.customer-cart-panel .cart-line-actions{gap:12px;min-width:0;}
.customer-cart-panel .cart-line-actions>b{font-size:1.15rem;color:#ffc13e;white-space:nowrap;}
.customer-remove{display:flex;align-items:center;justify-content:center;gap:8px;color:#ffc13e;background:#ffbd2910;border:1px solid #7d632a;border-radius:10px;padding:7px 12px;min-height:38px;font-size:.82rem;}
.customer-remove .customer-icon{width:18px;height:18px;flex-basis:18px;}
.customer-cart-panel #customer-order{gap:20px;}
.customer-cart-panel .customer-detail-field{gap:10px;color:#f0f4fb;font-size:.95rem;}
.customer-detail-field>span:first-child{display:flex;align-items:center;gap:10px;font-weight:750;}
.customer-detail-field>span:first-child>.customer-icon{color:#ffc13e;}
.customer-phone-field>span:first-child>.customer-icon{color:#5de096;}
.customer-cart-panel .field input,.customer-cart-panel .field textarea{background:#102236;border:1px solid #355472;border-radius:13px;font-size:16px;min-height:52px;padding:14px 16px;color:#e7effb;}
.customer-cart-panel .field input::placeholder,.customer-cart-panel .field textarea::placeholder{color:#7894b7;opacity:1;}
.customer-cart-panel .field input:focus,.customer-cart-panel .field textarea:focus{border-color:#ffc13e;box-shadow:0 0 0 3px #ffc13e20;}
.customer-cart-panel .wa-input{display:flex;}
.customer-cart-panel .wa-input input{padding-right:54px;}
.customer-cart-panel .wa-input .btn{min-height:38px;font-size:.75rem;background:#ffbf32;color:#102033;right:8px;padding:8px 10px;border-radius:9px;}
.wa-verified-mark{display:none;position:absolute;right:16px;top:50%;transform:translateY(-50%);background:#68df97;color:#073520;border-radius:50%;width:24px;height:24px;place-items:center;}
.wa-verified-mark .customer-icon{width:17px;height:17px;}
.customer-cart-panel .wa-checking-mark{display:none;position:absolute;right:18px;top:calc(50% - 10px);width:20px;height:20px;border:2px solid #355472;border-top-color:#5de096;border-radius:50%;animation:customer-wa-spin .8s linear infinite;}
.customer-cart-panel [data-wa-checking=true] .wa-checking-mark{display:block;}
@keyframes customer-wa-spin{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.customer-cart-panel .wa-checking-mark{animation:none;}}
[data-wa-verified=true] .wa-verified-mark{display:grid;}
.customer-cart-panel [data-wa-verified=true] .wa-input input{padding-right:54px;}
.customer-cart-panel .customer-wa-status{margin:-8px 0 2px;padding:12px 14px;border:1px solid #29465e;border-radius:12px;background:#102337;color:#a8c0dd;font-size:.8rem;line-height:1.55;}
.customer-cart-panel .customer-wa-status.is-verified{color:#a5eed6;background:#0c3537;border-color:#21685f;}
.customer-cart-panel .customer-wa-status.is-error{color:#ffc0c0;background:#3e2430;border-color:#81404a;}
.customer-note-card{display:flex;align-items:center;gap:14px;border:1px solid #2d465e;border-radius:15px;padding:16px;margin:0 0 4px;}
.customer-note-card>div{display:grid;gap:7px;flex:1;min-width:0;}
.customer-note-card strong{font-size:.94rem;}
.customer-note-card small{font-size:.78rem;color:#9fb9d8;line-height:1.5;}
.customer-note-toggle{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #ffbf32;color:#ffbf32;background:transparent;border-radius:30px;font-size:.78rem;font-weight:750;min-height:42px;padding:9px 15px;}
.customer-note-toggle .customer-icon{width:18px;height:18px;flex-basis:18px;}
.customer-cart-panel .note-panel{background:#102236;border-color:#37516c;color:#b9cce2;margin-top:-12px;}
.customer-cart-panel .customer-methods{display:block;padding:22px 0 0;border:0;border-top:1px solid #263f57;border-radius:0;margin:0;min-width:0;}
.customer-cart-panel .customer-methods legend{display:flex;align-items:center;gap:10px;color:#f0f4fb;font-size:.95rem;font-weight:750;padding:0 0 12px;float:left;width:100%;}
.customer-cart-panel .customer-methods legend .customer-icon{color:#ffc13e;}
.customer-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;clear:both;}
.customer-method-grid:has(>label:only-child){grid-template-columns:1fr;}
.customer-cart-panel .customer-method-option{display:flex;position:relative;min-width:0;gap:12px;border:2px solid #2d4661;border-radius:14px;padding:16px 12px;background:#102034;cursor:pointer;min-height:86px;}
.customer-method-option>input{position:absolute;width:1px;height:1px;opacity:0;}
.customer-method-option>span:not(.customer-method-check){display:grid;gap:6px;flex:1;min-width:0;}
.customer-method-option strong{font-size:1rem;}
.customer-method-option small{font-size:.72rem;color:#a9c1e0;line-height:1.45;}
.customer-method-option>.customer-icon{width:30px;height:30px;flex-basis:30px;}
.customer-method-check{display:grid;place-items:center;width:23px;height:23px;border:2px solid #385474;border-radius:50%;flex:0 0 23px;}
.customer-method-check .customer-icon{width:16px;height:16px;visibility:hidden;}
.customer-cart-panel .customer-method-option:has(input:checked){border-color:#ffc13e;background:#ffc13e09;}
.customer-method-option:has(input:checked)>.customer-icon{color:#ffc13e;}
.customer-method-option:has(input:checked) .customer-method-check{background:#ffc13e;border-color:#ffc13e;color:#111e2a;}
.customer-method-option:has(input:checked) .customer-method-check .customer-icon{visibility:visible;}
.customer-method-option:has(input:focus-visible){outline:3px solid #fff;outline-offset:3px;}
.customer-cart-panel .customer-price-breakdown:has(.checkout-totals){margin-top:8px;}
.customer-cart-panel .checkout-totals{padding:18px 0 0;border-color:#263f57;font-size:.85rem;color:#a9c1de;}
.customer-cart-total{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #263f57;padding-top:20px;}
.customer-cart-total>div{display:grid;gap:4px;}
.customer-cart-total small{color:#8faacb;font-size:.72rem;font-weight:750;letter-spacing:.07em;}
.customer-cart-total strong{font-size:clamp(1.7rem,4vw,2.2rem);line-height:1.2;color:#ffc13e;letter-spacing:-.04em;white-space:nowrap;}
.customer-cart-total .btn{min-height:54px;border-radius:16px;background:linear-gradient(130deg,#ffce4a,#ffb91f);color:#0b1825;padding:14px 22px;gap:12px;font-size:.95rem;}
.customer-cart-panel button:focus-visible,.customer-content button:focus-visible,.cart-dock button:focus-visible{outline:3px solid #fff;outline-offset:3px;}
@media(max-width:800px){
 .customer-content{padding:16px 16px 126px;}
 .customer-content .customer-hero{padding:26px;min-height:230px;}
 .customer-content .customer-tools{grid-template-columns:1fr;gap:10px;}
 .customer-content .customer-tools .search-box{grid-row:1;}
 .customer-content .customer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
 .customer-content .customer-product-info>.row{flex-direction:column;align-items:stretch;}
 .customer-content .qty-control{justify-content:space-between;}
}
@media(max-width:520px){
 .customer-top{padding:14px 16px;}.customer-top .brand{font-size:.85rem;}
 .customer-content .customer-hero{padding:22px;min-height:210px;border-radius:18px;}
 .customer-content .customer-hero p{font-size:.87rem;}.customer-content .customer-hero h1{font-size:1.8rem;}
 .customer-content .customer-location{margin-bottom:24px;padding:14px;}
 .customer-menu-heading h2{font-size:1.25rem;}.customer-menu-heading>span{font-size:.72rem;}
 .customer-content .customer-product-info{padding:12px;}.customer-content .customer-product-info h2{font-size:.94rem;}
 .customer-content .customer-product-info p{font-size:.75rem;}.customer-content .customer-product-info .price{font-size:1.05rem;}
 .cart-dock{padding:12px 14px;width:calc(100% - 20px);gap:10px;}.cart-dock strong{font-size:1.3rem;}
 .cart-dock .btn{padding:10px 12px;font-size:.76rem;gap:6px;}.cart-dock .btn>.customer-icon:last-child{display:none;}
 .dialog.customer-cart-dialog{padding:10px;}.dialog.customer-cart-dialog>.card{max-height:calc(100dvh - 20px);gap:8px;}
 .customer-cart-brand{padding:12px 14px;border-radius:15px;}.customer-cart-brand>.eyebrow{gap:10px;font-size:.7rem;letter-spacing:.08em;}
 .customer-icon-tile{width:38px;height:38px;flex-basis:38px;border-radius:11px;}.customer-icon-tile .customer-icon{width:23px;height:23px;}
 .customer-cart-panel{padding:18px 14px;border-radius:15px;}.customer-cart-heading{gap:10px;}.customer-cart-heading h2{font-size:1.45rem;}
 .customer-cart-intro{font-size:.8rem;line-height:1.6;margin:14px 0 16px;}
 .customer-cart-items .order-item{grid-template-columns:58px minmax(0,1fr) auto;padding:10px;gap:10px;border-radius:12px;}
 .customer-cart-items .menu-photo{width:58px;height:62px;border-radius:9px;}.customer-cart-item-name strong{font-size:.8rem;}
 .customer-cart-item-name small{font-size:.71rem;}.customer-cart-panel .cart-line-actions>b{font-size:.9rem;}
 .customer-remove{min-height:36px;padding:6px 8px;font-size:.7rem;gap:5px;}.customer-remove .customer-icon{width:15px;height:15px;flex-basis:15px;}
 .customer-cart-panel #customer-order{gap:18px;}.customer-cart-panel .customer-detail-field{font-size:.9rem;}
 .customer-note-card{padding:12px;gap:10px;flex-wrap:wrap;}.customer-note-card>div{flex-basis:calc(100% - 54px);}
 .customer-note-toggle{margin-left:48px;min-height:40px;}.customer-note-card strong{font-size:.87rem;}
 .customer-method-grid{gap:8px;}.customer-cart-panel .customer-method-option{padding:12px 10px;gap:8px;flex-wrap:wrap;}
 .customer-method-option>.customer-icon{width:24px;height:24px;flex-basis:24px;}.customer-method-option strong{font-size:.9rem;}
 .customer-method-option small{font-size:.67rem;}.customer-method-check{position:absolute;right:10px;top:12px;width:19px;height:19px;}
 .customer-method-option>span:not(.customer-method-check){flex-basis:100%;}.customer-cart-total{gap:14px;flex-wrap:wrap;}
 .customer-cart-total .btn{width:100%;min-height:50px;}.customer-cart-total strong{font-size:1.9rem;}
}
@media(max-width:359px){.customer-content{padding-inline:10px;}.customer-content .customer-grid{gap:10px;}.customer-content .customer-product-info{padding:9px;}.customer-cart-items .order-item{grid-template-columns:48px minmax(0,1fr);}.customer-cart-items .menu-photo{width:48px;height:52px;}.customer-cart-panel .cart-line-actions{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center;}}

/* Compact customer menu; reserve the real footer height even with large text. */
.customer-content{padding-bottom:calc(var(--customer-dock-height,90px) + 40px + env(safe-area-inset-bottom));}
.customer-content .customer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.customer-content .customer-product{border-radius:14px;}
.customer-content .customer-photo .menu-photo{aspect-ratio:1.85;max-height:185px;}
.customer-content .customer-product-info{padding:13px;gap:6px;}
.customer-content .customer-product-info h2{font-size:.96rem;}
.customer-content .customer-product-info p{font-size:.77rem;line-height:1.4;min-height:1.4em;margin-bottom:0;}
.customer-content .customer-product-info .price{font-size:1.02rem;}
.customer-content .customer-product-info>.row{gap:8px;}
.cart-dock{flex-wrap:nowrap;padding:10px 14px;gap:12px;}
.cart-dock>div{min-width:0;}
.cart-dock .btn{flex-shrink:0;min-height:44px;padding:10px 14px;}
.cart-dock.last-order-dock{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;}
.last-order-dock>div{gap:2px;}
.cart-dock.last-order-dock strong{font-size:1rem;line-height:1.3;}
.cart-dock.last-order-dock small{font-size:.7rem;line-height:1.35;}
.last-order-dock strong,.last-order-dock small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.last-order-dock .btn{white-space:nowrap;border-radius:10px;}
@media(max-width:1050px){.customer-content .customer-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:780px){.customer-content .customer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.customer-content .customer-product-info>.row{flex-direction:column;align-items:stretch;}}
@media(max-width:520px){
 .customer-content .customer-product-info{padding:10px;gap:5px;}.customer-content .customer-product-info h2{font-size:.88rem;line-height:1.3;}
 .customer-content .customer-product-info p{font-size:.7rem;}.customer-content .customer-product-info .price{font-size:.98rem;}
 .customer-content .customer-tools .tab{padding:9px 13px;font-size:.77rem;}
 .customer-content .customer-photo .menu-photo{aspect-ratio:1.75;}
 .cart-dock{padding:9px 11px;gap:8px;}.cart-dock .btn{font-size:.72rem;padding:9px 11px;}
 .cart-dock.last-order-dock strong{font-size:.9rem;}.cart-dock.last-order-dock small{font-size:.64rem;}
}

.attendance-record .table{min-width:1180px}.attendance-record td{vertical-align:top}.attendance-record .cell-sub{white-space:nowrap}.attendance-record td:last-child{min-width:220px;white-space:normal}

/* Administrative forms opened inside the Android shell. Regular web views retain their layout. */
.native-workspace .aside,.native-workspace .topbar,.native-workspace .sidebar-backdrop{display:none!important}
.native-workspace .shell{display:block!important;grid-template-columns:1fr!important}
.native-workspace .workspace{margin:0!important;padding:0!important;width:100%!important}
.native-workspace #content{padding:16px!important;max-width:1180px;margin:auto}
.native-workspace input,.native-workspace select,.native-workspace .btn{min-height:46px}
@media(max-width:600px){
 .native-workspace .table-scroll:has([data-native-cards]){overflow:visible}
 .native-workspace table[data-native-cards],.native-workspace table[data-native-cards] tbody{display:block;min-width:0;width:100%}
 .native-workspace table[data-native-cards] thead{display:none}
 .native-workspace table[data-native-cards] tr{display:block;border:1px solid var(--border);border-radius:16px;padding:12px;margin:12px 0;background:var(--bg)}
 .native-workspace table[data-native-cards] td{display:block;width:auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;border:0;padding:8px 0}
 .native-workspace table[data-native-cards] td::before{content:attr(data-native-label);display:block;color:var(--muted);font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:5px}
 .native-workspace table[data-native-cards] td[data-native-label=""]::before{display:none}
 .native-workspace table[data-native-cards] td .btn{margin:4px 4px 4px 0}
 .native-workspace table[data-native-cards] .cell-sub{white-space:normal}
}
.app-appearance-editor summary{cursor:pointer;padding:12px 0;font-size:1.05rem}
.app-appearance-editor[open] summary{margin-bottom:16px}
@media(max-width:600px){.app-appearance-editor .form-grid{grid-template-columns:1fr}.app-appearance-editor .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Dedicated Android shopping form: all amount fields fit the phone viewport. */
@media(max-width:640px){
 .native-workspace .purchase-items-table,.native-workspace .purchase-items-table tbody{display:block;width:100%;min-width:0}
 .native-workspace .purchase-items-table thead{display:none}
 .native-workspace .purchase-items-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;border-bottom:1px solid var(--border);padding:12px 0}
 .native-workspace .purchase-items-table td{display:block;min-width:0;width:auto;border:0;padding:0;white-space:normal}
 .native-workspace .purchase-items-table td:nth-child(1),.native-workspace .purchase-items-table td:nth-child(2){grid-column:1/-1}
 .native-workspace .purchase-items-table td:before{display:block;color:var(--muted);font-size:.75rem;margin-bottom:6px}
 .native-workspace .purchase-items-table td:nth-child(1):before{content:'Bahan'}
 .native-workspace .purchase-items-table td:nth-child(2):before{content:'Stok saat ini'}
 .native-workspace .purchase-items-table td:nth-child(3):before{content:'Jumlah beli'}
 .native-workspace .purchase-items-table td:nth-child(4):before{content:'Harga / satuan'}
 .native-workspace .purchase-items-table td:nth-child(5):before{content:'Subtotal'}
 .native-workspace .purchase-items-table td:last-child{text-align:right;align-self:end}
 .native-workspace .purchase-items-table input,.native-workspace .purchase-items-table select{width:100%;min-width:0;max-width:100%}
 .native-workspace .purchase-quantity{display:flex;flex-direction:column;align-items:stretch;gap:6px}
}
