@media screen{
html body[data-active-page="cashierPage"] #cashierPage #marketCustomerDesk{margin-top:0!important;padding:12px!important;border:1px solid #b8cdeb!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 8px #183c6a08!important}
#marketCustomerDesk h3{font-size:14px;margin:0 0 12px;color:#274f83}
#marketCustomerDesk label{display:grid;gap:6px;font-size:11px;color:#476385;margin-bottom:8px}
#marketCustomerDesk input{width:100%;height:40px;min-width:0;border:1px solid #b9cde7;border-radius:8px;background:#fff;color:#233f64;padding:8px 10px;box-sizing:border-box;font-size:13px}
#marketCustomerDesk input:focus{outline:2px solid #a9cbfa;border-color:#407fd8}
#deskCustomerResults{display:grid;gap:5px;max-height:185px;overflow:auto}
#deskCustomerResults>button{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px;border:1px solid #cedcf0;background:#f2f7ff;color:#294b76;border-radius:8px;text-align:start}
#deskCustomerResults>button small{direction:ltr}
#marketCustomerDesk .desk-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#marketCustomerDesk .desk-actions button{min-height:42px;padding:8px 6px;border:1px solid #b7cdee;border-radius:9px;background:#edf4ff;color:#1d579f;font-size:12px;font-weight:600;box-shadow:none}
#marketCustomerDesk button:disabled{opacity:.45;cursor:not-allowed}
#marketCustomerDesk .desk-actions button:hover:not(:disabled){background:#dceaff;border-color:#7ca8e8}
#deskCustomerClear{padding:4px 7px;font-size:10px;color:#a03247;background:#fff5f6;border:1px solid #ebcbd2;border-radius:6px}
#marketCustomerDesk [hidden]{display:none!important}
html body #detailModal.market-desk-modal:not(.is-hidden){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:18px!important;background:#071326b8!important;z-index:1000!important;box-sizing:border-box;overflow:auto!important}
html body[data-active-page="cashierPage"] #detailModal.market-desk-modal .detail-modal-card{position:relative!important;inset:auto!important;transform:none!important;width:min(660px,100%)!important;max-width:660px!important;max-height:calc(100dvh - 36px)!important;height:auto!important;min-height:0!important;overflow:auto!important;margin:auto!important;padding:20px!important;border:1px solid #c5d5eb!important;border-radius:16px!important;box-sizing:border-box}
html body #detailModal.market-desk-modal #detailModalBody{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;overflow:visible!important}
html body #detailModal.market-desk-modal .detail-modal-card>.section-title-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
html body #detailModal.market-desk-modal h2{font-size:19px!important}
.market-desk-popup .desk-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.market-desk-popup label{display:grid;gap:6px;font-size:12px}
.market-desk-popup :is(input,select){width:100%;min-height:40px;box-sizing:border-box;border:1px solid #bccfe8;border-radius:8px;padding:8px;color:#233e61;background:#fff}
.market-desk-popup p{font-size:11px;line-height:1.7;color:#607895}
.desk-records{display:grid;gap:7px;margin-top:12px;max-height:55dvh;overflow:auto}
.desk-records>button{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px;border:1px solid #cbdaed;background:#f5f8fe;color:#2a476d;border-radius:9px;text-align:start}
.desk-records small{display:block;font-size:10px;margin-top:6px;direction:ltr}
.desk-pager{display:flex;justify-content:center;gap:12px;align-items:center;margin-top:12px}
.desk-pager button,.desk-ticket-actions button{min-height:38px;padding:7px 12px;border:1px solid #b6cdea;border-radius:8px;background:#edf4ff;color:#22569b}
.desk-ticket-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.market-desk-popup .desk-ticket{width:min(360px,100%)!important;margin:12px auto!important;color:#172033!important;background:#fff!important;padding:12px!important;border:1px solid #d0dbea!important;border-radius:8px!important;box-sizing:border-box}
.market-desk-popup .desk-ticket table{width:100%;border-collapse:collapse;font-size:11px}
.market-desk-popup .desk-ticket :is(td,th){padding:6px 3px;border-bottom:1px solid #d9e1eb;text-align:right}
.market-desk-popup .desk-ticket .receipt-totals>div{display:flex;justify-content:space-between;gap:8px;padding:5px 0}
.market-desk-popup .desk-ticket .receipt-meta{display:flex;flex-direction:column;gap:5px;font-size:11px}
html body #detailModal.market-payment-popup .pos-customer-strip{display:none!important}
.desk-payment-customer{padding:9px 11px;border:1px solid #c7d9ef;border-radius:9px;background:#eef5ff;color:#2c507b;font-size:12px;margin:8px 0}
html[data-pos-theme="dark"] body #cashierPage #marketCustomerDesk{background:#132941!important;border-color:#3d5e82!important}
html[data-pos-theme="dark"] body #marketCustomerDesk :is(h3,label){color:#c7ddf8}
html[data-pos-theme="dark"] body #marketCustomerDesk .desk-actions button{background:#1b3a60;color:#d6e8ff;border-color:#41658e}
@media(max-width:480px){.market-desk-popup .desk-form{grid-template-columns:1fr}html body[data-active-page="cashierPage"] #detailModal.market-desk-modal .detail-modal-card{padding:14px!important}}
}
@media print{body[data-print-mode="receipt"] .desk-ticket{width:76mm!important;max-width:76mm!important;margin:0 auto!important;padding:2mm!important;border:0!important;color:#000!important;background:#fff!important}body[data-print-mode="receipt"] .desk-ticket-actions{display:none!important}}

.desk-customer-card-info{display:block;font-size:10px;font-weight:normal;color:#617b9b;margin-top:4px;line-height:1.6}
