@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;450;500;550;600;650;700;750;800&display=swap');
:root{font-family:'Be Vietnam Pro',system-ui,sans-serif;color:#302e36;background:#f7f7f9;font-size:14px;--accent:#b35870;--muted:#85818c;--line:#eae8ee;--green:#24816a}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{border:0;background:none;color:inherit}a{color:var(--accent)}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-1px;font-weight:650}h2{font-size:19px;font-weight:650;letter-spacing:-.5px}h3{font-size:16px;font-weight:600}small,.sub{font-size:13px;color:var(--muted);line-height:1.7}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#302731;color:#c5bdc8;padding:30px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;padding:0 12px 32px}.brandmark{width:40px;height:40px;background:#f2d8df;color:#8d405c;border-radius:13px;display:grid;place-items:center}.brand strong{font-family:Georgia,serif;font-size:24px;color:white;font-weight:500}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#b9a9b8;margin-top:4px}.navlabel{font-size:11px;letter-spacing:1.8px;padding:12px;margin:8px 0;color:#968896}.nav{display:flex;align-items:center;gap:13px;width:100%;padding:13px 14px;border-radius:9px;margin-bottom:7px;text-align:left}.nav.active{background:#51404e;color:#ffe7ed}.nav.active:after{content:'';width:5px;height:5px;background:#edb5c3;border-radius:50%;margin-left:auto}.nav:hover{background:#443642;color:white}.sidebar-bottom{margin-top:auto}.helpbox{background:#3b303c;border:1px solid #514151;border-radius:12px;padding:15px;margin-bottom:18px}.helpbox p{font-size:13px;line-height:1.8;color:#bdb1bf;margin-top:8px}.profile{border-top:1px solid #4d3f4d;padding:20px 8px 0;display:flex;align-items:center;gap:11px}.avatar{width:36px;height:36px;border-radius:50%;background:#f0dee3;color:#9c516b;display:grid;place-items:center;font-weight:600}.profile strong{color:white;font-size:13px}.profile small{font-size:11px;color:#ae9caf;display:block}.workspace{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:12px}.breadcrumb{color:#8a8590;display:flex;align-items:center;gap:10px}.breadcrumb b{font-weight:500;color:#49434f}.top-actions{display:flex;align-items:center;gap:16px}.sync{font-size:12px;color:var(--green);display:flex;gap:7px;align-items:center}.sync i{background:currentColor;width:6px;height:6px;border-radius:50%}.branch-select{border:1px solid var(--line);border-radius:8px;padding:9px 32px 9px 12px;background-color:white;max-width:200px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777380' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.content{padding:30px 32px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.pagehead p{color:var(--muted);margin-top:8px;font-size:13px}.eyebrow{font-size:11px;letter-spacing:1.8px;color:var(--accent);margin-bottom:8px;font-weight:600}.btn{border:1px solid var(--line);background:white;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;font-weight:500;white-space:nowrap}.btn.primary{background:var(--accent);border-color:var(--accent);color:white}.btn.dark{background:#302731;border-color:#302731;color:white}.btn:hover{filter:brightness(.96)}.btn.small{padding:7px 10px;font-size:12px}.btn.full{width:100%}.icon{width:19px;height:19px;flex-shrink:0;display:inline-block;vertical-align:middle}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px}.search{display:flex;align-items:center;gap:10px;padding:11px 14px;background:white;border:1px solid var(--line);border-radius:9px;flex:1;color:#96909c}.search input{width:100%;border:0;outline:0;background:none;min-width:0}.keyboard{font-size:11px;color:#aba6b0;border:1px solid var(--line);border-radius:4px;padding:2px 5px}.chip{padding:9px 15px;border-radius:7px;border:1px solid transparent;color:#79727e;white-space:nowrap}.chip.active{color:#a64b66;background:#f5e6eb;border-color:#ecd3dc}.categories{display:flex;gap:6px;margin-bottom:23px;overflow:auto}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product{background:white;border:1px solid var(--line);padding:9px;border-radius:12px;text-align:left;transition:transform .15s,box-shadow .15s;overflow:hidden}.product:hover{transform:translateY(-3px);box-shadow:0 6px 18px #3027310d}.product-art{height:130px;border-radius:8px;position:relative;display:grid;place-items:center;overflow:hidden}.product-art:before{content:'';position:absolute;width:130px;height:130px;border:1px solid #ffffff88;border-radius:50%;left:-40px;top:-60px}.product-art svg{width:138px;height:105px;filter:drop-shadow(0 7px 5px #80533220)}.product-info{padding:12px 6px 5px}.product-info small{font-size:11px;letter-spacing:.5px}.product-info h3{font-size:13px;line-height:1.6;margin:5px 0 12px}.product-price{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600;color:#9e4964}.add{width:27px;height:27px;border-radius:7px;background:#f7edf0;display:grid;place-items:center;font-size:20px;font-weight:400}.catalog-note{margin-top:20px;font-size:12px;display:flex;align-items:center;gap:8px;color:#99919e}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{padding:20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-body{padding:20px}.bill{position:sticky;top:20px}.bill-head{padding:21px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed var(--line)}.bill-head h2{font-size:16px}.bill-head small{font-size:11px}.badge{font-size:11px;padding:5px 9px;border-radius:5px;display:inline-block;background:#e9f4ef;color:#2f8067;white-space:nowrap}.badge.pink{background:#f6e9ed;color:#a65d73}.badge.gray{background:#f1f0f3;color:#88818f}.bill-customer{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center}.bill-customer select{width:100%;border:0;background-color:white;font-size:12px;padding:5px 25px 5px 0;color:#8d8492}.cart-items{min-height:200px;max-height:330px;overflow:auto;padding:16px 18px}.empty{padding:35px 15px;text-align:center;color:#9c929f}.empty .empty-icon{display:grid;place-items:center;background:#f7f2f5;border-radius:50%;width:66px;height:66px;margin:0 auto 18px;color:#c3a3b3}.empty h3{font-size:14px;color:#736a79;margin-bottom:8px}.empty p{font-size:12px;line-height:1.8}.cart-row{display:flex;gap:9px;margin-bottom:19px}.cart-row .mini-art{width:42px;height:42px;background:#f6eaf0;border-radius:8px;display:grid;place-items:center}.cart-row .item-info{flex:1;min-width:0}.cart-row strong{font-size:12px;display:block;line-height:1.6}.cart-row small{font-size:11px}.qty{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:8px}.qty button{border:1px solid var(--line);border-radius:4px;width:23px;height:23px}.item-cost{font-size:12px;font-weight:600;text-align:right}.remove{font-size:11px;color:#9c8b9c;margin-top:10px}.bill-bottom{padding:20px;background:#fcfbfc;border-top:1px dashed var(--line)}.line{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:13px;color:#8b828f}.line strong{color:#49404f;font-weight:500}.line.total{margin-top:18px;padding-top:17px;border-top:1px solid var(--line);font-weight:600;color:#332936;align-items:center}.line.total strong{font-size:23px;color:var(--accent);font-weight:650}.payment-tabs{display:flex;background:#f0edf1;border-radius:7px;padding:4px;gap:4px;margin:18px 0}.payment-tabs button{width:50%;font-size:12px;padding:9px 4px;border-radius:5px}.payment-tabs .active{background:white;box-shadow:0 1px 4px #30273112;color:#a14d68}.cash-input{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:12px}.cash-input input{width:135px;border:1px solid var(--line);padding:9px;border-radius:6px;text-align:right}.payhint{text-align:center;font-size:10px;color:#9e94a4;margin-top:12px;line-height:1.7}.shiftbar{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;padding:13px 16px;margin-bottom:20px;font-size:12px}.shiftbar b{font-weight:600}.shiftbar .push{margin-left:auto}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat{border:1px solid var(--line);background:white;padding:22px;border-radius:11px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#8e8293;font-size:12px}.stat-icon{color:var(--accent);background:#f7edf1;padding:8px;border-radius:8px}.stat-value{font-size:25px;font-weight:600;margin-top:18px;letter-spacing:-1px}.stat small{display:block;margin-top:9px;font-size:11px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:22px;margin-bottom:22px}.chart{height:230px;padding:20px 20px 30px;position:relative;display:flex;align-items:end;justify-content:space-around;gap:12px}.chart:before{content:'';position:absolute;inset:20px 20px 30px;background:repeating-linear-gradient(to top,var(--line) 0,var(--line) 1px,transparent 1px,transparent 45px)}.bar-group{height:100%;flex:1;display:flex;align-items:end;justify-content:center;position:relative}.bar{width:70%;max-width:38px;background:#c47b90;border-radius:5px 5px 0 0;min-height:2px;z-index:1}.bar-group span{position:absolute;bottom:-20px;font-size:10px;color:#a199a6}.branchrow{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #f3f1f5;gap:10px}.branchrow small{display:block;font-size:11px}.branchrow strong{font-size:13px}.branch-icon{width:33px;height:33px;background:#f7edf1;border-radius:8px;display:grid;place-items:center;color:#ad6d81}.branch-detail{display:flex;align-items:center;gap:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:13px}th{text-align:left;padding:14px 20px;color:#9a8f9f;background:#fcfbfd;font-size:11px;font-weight:500}td{padding:16px 20px;border-top:1px solid #f1eef4}td b{font-weight:500}.table-empty{padding:45px;text-align:center;color:#9c929f;font-size:13px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.field label{font-size:12px;color:#797080}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #ded8e2;border-radius:7px;background-color:white}.field textarea{min-height:85px;resize:vertical}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.notice{padding:14px 16px;background:#fbf3e3;color:#9c7439;border-radius:8px;font-size:12px;line-height:1.8;margin-bottom:20px}.notice.green{background:#eef7f2;color:#37795f}.notice.pink{background:#f8edf2;color:#9c5b78}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}dialog{width:500px;max-width:calc(100vw - 32px);max-height:90vh;border:1px solid var(--line);border-radius:14px;padding:28px;color:#302e36;box-shadow:0 30px 100px #30273135}dialog::backdrop{background:#28222c77;backdrop-filter:blur(3px)}dialog h2{margin-bottom:8px}dialog .desc{font-size:12px;color:#9b8fa2;line-height:1.8;margin-bottom:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);max-width:90vw;background:#302731;color:white;border-radius:10px;padding:14px 22px;z-index:20;transition:transform .2s;font-size:13px;box-shadow:0 5px 20px #30273122}#toast.show{transform:translateX(-50%)}#print-area{display:none}.mobile-menu{display:none}.spacer{height:12px}.link-btn{color:var(--accent);font-size:12px}.mobile-brand{display:none}.shift-summary{background:#f8f6f9;padding:16px;border-radius:10px;margin-bottom:18px}.shift-summary .line:last-child{margin-bottom:0}.muted{color:#99909f}.text-right{text-align:right}
@media(min-width:1500px){.product-art{height:170px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pos-layout{grid-template-columns:minmax(0,1fr) 370px}}
@media(max-width:1150px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:25px 10px}.brand{padding-left:5px}.brand strong{font-size:20px}.content{padding:24px}.topbar{padding:0 24px}.pos-layout{grid-template-columns:minmax(0,1fr) 305px;gap:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:12px}.stat{padding:16px}.stat-value{font-size:21px}.breadcrumb{font-size:12px}.helpbox{display:none}}
@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:10;width:225px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 50px #30273133}.sidebar.open{transform:translateX(0)}.mobile-menu{display:block}.breadcrumb{display:none}.mobile-brand{display:block;font-family:Georgia,serif;font-size:21px;color:var(--accent)}.topbar{height:65px;padding:0 18px}.top-actions{gap:8px}.content{padding:22px 18px}.pagehead{align-items:start}h1{font-size:23px}.dashboard-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.pos-layout{grid-template-columns:minmax(0,1fr) 300px;gap:15px}.product-grid{gap:10px}.product-art{height:105px}.product-art svg{width:115px}.product-info h3{font-size:12px}.branch-select{max-width:155px;font-size:12px}.sync{font-size:10px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:620px){.pos-layout{grid-template-columns:1fr}.bill{position:static}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-art{height:135px}.pagehead .btn{font-size:11px;padding:10px}.pagehead p{font-size:12px}.form-grid{grid-template-columns:1fr;gap:0}.shiftbar{flex-wrap:wrap}.top-actions .sync span{display:none}.product-info h3{font-size:13px}.cart-items{min-height:140px}.stats{gap:10px}.stat-value{font-size:20px}.stat{padding:14px}.stat-top{font-size:11px}.stat-icon{display:none}.chart{gap:5px}dialog{padding:22px}.categories{gap:2px}.chip{padding:9px 13px}.toolbar{gap:8px}.keyboard{display:none}}
@media print{body>*{display:none!important}#print-area{display:block!important;font:12px monospace;color:black;width:72mm;padding:2mm;margin:0}#print-area h2{text-align:center;font-size:20px}#print-area p{text-align:center;margin:6px 0}#print-area table{font:11px monospace;white-space:normal}#print-area td,#print-area th{padding:5px 1px;color:black;background:white;border:0}#print-area hr{border:0;border-top:1px dashed black}#print-area .line{color:black;font:12px monospace;margin:8px 0}@page{size:80mm auto;margin:2mm}}
/* Readable task controls across desktop and phone. */
.field label,.field input,.field select,.field textarea,.product-info h3,.product-price,.cash-input,.cash-input input,.payment-tabs button{font-size:14px}.brand small{letter-spacing:1.2px}.toolbar{flex-wrap:wrap}.sidebar .nav{font-size:14px}.bill .line{font-size:14px}.sync{min-height:32px}.helpbox strong{font-size:13px}
@media(max-width:620px){.toolbar .btn{font-size:12px;padding:9px}.toolbar #report-branch{max-width:170px}.pagehead{flex-wrap:wrap}.product-info h3{font-size:14px}.product-price{font-size:14px}.stat-top{font-size:12px}}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top left,#f4dfe8,transparent 55%),#f7f7f9}.login-card{width:440px;max-width:100%;background:white;border:1px solid var(--line);border-radius:18px;padding:38px;box-shadow:0 15px 70px #3027310c}.login-card .brandmark{margin-bottom:24px;width:52px;height:52px}.login-card h1{margin:10px 0}.login-card form{margin:28px 0 20px}.login-error{font-size:14px;color:#b34860;margin-bottom:18px;line-height:1.7}.profile{flex-wrap:wrap}.profile .link-btn{font-size:12px;color:#e9bdcd;padding:8px 0}.profile strong{max-width:125px;display:block}.branch-select{max-width:245px}.topbar{gap:8px}.sub{font-size:14px}.panel{min-width:0}.login-card .field label{font-size:14px}
@media(max-width:620px){.branch-select{max-width:178px}.login-card{padding:28px}}
.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar>*{flex-shrink:0}
@media(max-height:850px){.sidebar{padding-top:20px}.brand{padding-bottom:18px}.nav{padding-top:9px;padding-bottom:9px;margin-bottom:4px}.navlabel{padding-top:8px;padding-bottom:8px;margin:4px 0}.helpbox{display:none}.profile{padding-top:14px}}

.product-art .product-photo{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;display:block}.product-art:has(.product-photo)::before{display:none}.photo-missing{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:#8e7480;font-size:12px;text-align:center;padding:16px;line-height:1.6}.product-photo+.photo-missing{display:none}.photo-failed .photo-missing{display:flex}.product-photo[hidden]{display:none}.photo-missing .icon{width:28px;height:28px}

.payment-help{font-size:13px;line-height:1.7;color:#8b6575;margin-top:12px;text-align:center}.shift-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.shift-slot{padding:18px}.shift-slot h2{margin:18px 0 8px}.shift-report-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.shift-report-stats>div{padding:16px;background:#f7f2f5;border-radius:9px;display:flex;flex-direction:column;gap:10px}.shift-report-stats span{font-size:13px;color:#8b7182}.shift-report-stats strong{font-size:21px}.shift-report-stats .report-total{grid-column:1/-1;background:#f5e5ec}.report-total strong{color:var(--accent);font-size:28px}.sync-summary{margin:20px 0}#shift-report-sync{margin-top:15px}@media(max-width:620px){.shift-slots{grid-template-columns:1fr;gap:10px}.shift-slot{padding:15px}.shift-slot h2{margin:10px 0}.shift-report-stats strong{font-size:19px}}

.print-option{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.7;margin:16px 0}.print-option input{width:18px;height:18px;accent-color:var(--accent)}

.printer-guide{margin-top:20px;font-size:13px;line-height:1.7;color:var(--muted)}.printer-guide summary{cursor:pointer;font-weight:600;color:var(--text)}.printer-guide ol{padding-left:20px}.printer-guide li{margin-bottom:12px}.printer-guide a{color:#a64968;text-decoration:underline}

.employee-actions{display:flex;gap:8px;flex-wrap:wrap}.employee-shortcut{text-align:left;align-self:flex-start;padding:4px 0;font-size:13px}

.online-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.online-layout>section{min-width:0}.online-filters{align-items:end}.online-filters label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#797080}.online-filters select{padding-right:34px;max-width:100%;font-size:14px}.online-orders th{font-size:12px}.online-orders td{vertical-align:top;font-size:14px;line-height:1.7;padding:16px}.online-orders small{font-size:13px}.online-orders .badge{font-size:12px;white-space:normal}.online-orders .online-item{min-width:225px;max-width:340px;white-space:normal}.online-item p{margin-top:8px;line-height:1.7}.online-print-badge{margin-top:9px}.online-error{white-space:normal;color:#9c5b78;max-width:225px;margin-top:8px;font-size:13px}.online-setup{position:sticky;top:20px;font-size:14px;line-height:1.8}.online-setup ol{padding-left:20px;margin:16px 0}.online-setup li{margin-bottom:12px}.online-setup .btn{white-space:normal;text-align:center}.online-setup-note{margin:18px 0 12px}.online-receipt{font-size:14px;line-height:1.75;overflow-wrap:anywhere}.online-receipt h2,.online-receipt h3,.online-receipt>p:not(.online-receipt-detail):not(.online-receipt-items){text-align:center}.online-receipt h3{font-size:15px}.online-receipt hr{border:0;border-top:1px dashed #c9c2cb;margin:16px 0}.online-receipt .online-receipt-detail,.online-receipt .online-receipt-items{margin:8px 0;text-align:left;white-space:pre-wrap}.online-receipt .line{font-size:14px;color:#5c5261}.online-detail-status{margin-top:20px}.online-layout+.sub{margin-top:20px}
@media(max-width:1250px){.online-layout{grid-template-columns:1fr}.online-setup{position:static}.online-setup ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.online-setup .btn{width:auto}}
@media(max-width:620px){.online-orders .panel-head{align-items:start;gap:12px;flex-direction:column}.online-filters label{width:100%}.online-filters select{width:100%}.online-setup ol{display:block}.online-setup .btn{width:100%}.online-orders td{padding:14px}.online-orders .online-item{min-width:200px}}
@media print{#print-area .online-receipt{font:12px monospace;line-height:1.5}#print-area .online-receipt h3{font-size:14px}#print-area .online-receipt .online-receipt-detail,#print-area .online-receipt .online-receipt-items{font:12px monospace;text-align:left;white-space:pre-wrap}#print-area .online-receipt .line{font:12px monospace;color:black}#print-area .online-receipt hr{margin:10px 0;border-color:black}}

.online-search{margin-bottom:20px}.online-order-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.online-order-actions .btn{font-size:13px;white-space:normal;text-align:left}.online-collection-status{font-size:13px;line-height:1.7;color:#2f8067;white-space:normal;margin-top:10px;max-width:310px}.online-collection-status strong{font-weight:600}.collection-detail{max-width:none;padding:14px 16px;background:#eef7f2;border-radius:8px;margin:18px 0}.collection-recovery{font-size:14px}.collection-recovery-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:15px;margin-top:12px;border-top:1px solid #e5d6b8}.collection-recovery-row>div{min-width:0;overflow-wrap:anywhere}.collection-recovery-row .btn{flex-shrink:0}.collection-order-summary{padding:16px;background:#f8f6f9;border:1px solid var(--line);border-radius:9px;font-size:14px;line-height:1.75;margin-bottom:18px}.collection-order-summary p{margin:8px 0;white-space:pre-wrap}.collection-methods{margin:20px 0 14px;padding:14px 16px;border:1px solid #ded8e2;border-radius:8px;display:flex;gap:20px;flex-wrap:wrap}.collection-methods legend{font-size:14px;font-weight:600;padding:0 5px}.collection-methods label,.collection-confirm{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.75}.collection-methods input,.collection-confirm input{width:18px;height:18px;flex-shrink:0;accent-color:var(--accent)}.collection-confirm{align-items:flex-start}.collection-confirm input{margin-top:3px}.collection-shift-panel{margin-bottom:24px}.collection-shift-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.collection-shift-note{margin:18px 0;line-height:1.8}.collection-shift-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.web-collections-table table{font-size:14px}.web-collections-table small{font-size:13px}.web-collections-table td{padding:14px}.web-collections-table th{font-size:12px}.web-collections-table{margin-top:12px}
@media(max-width:850px){.collection-shift-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.collection-recovery-row{align-items:flex-start;flex-direction:column}.collection-shift-actions>.btn{width:100%}.collection-methods{gap:14px}.online-order-actions .btn{min-width:135px}}

.online-date-toolbar{align-items:flex-end}.online-date-toolbar>label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#797080}.online-date-toolbar input{font-size:14px;min-height:44px}.online-date-toolbar .sub{padding-bottom:9px}.online-daily-identity>strong{font-size:15px;font-weight:650}.online-daily-identity small{display:inline-block;margin:4px 0}.online-daily-identity{line-height:1.85}.web-collections-table td:first-child{white-space:normal;min-width:150px}.collection-order-summary>strong{font-size:16px}
@media(max-width:620px){.online-date-toolbar>label{width:100%}.online-date-toolbar input{width:100%}.online-date-toolbar .sub{width:100%;padding-bottom:0}.online-date-toolbar>.btn{font-size:14px}}

@media print{#print-area .web-print-only{font:12pt/1.4 Tahoma,Arial,sans-serif;color:#000;overflow-wrap:anywhere}#print-area .web-print-code{font-size:20pt;font-weight:700;line-height:1.2;text-align:center;margin:0 0 14pt}#print-area .web-print-only p{font:inherit;text-align:left;margin:0 0 8pt;white-space:pre-wrap}#print-area .web-print-items{font-size:13pt;margin:12pt 0}#print-area .web-print-total{display:flex;justify-content:space-between;gap:8pt;font-size:16pt;font-weight:700;line-height:1.3;margin-top:12pt}}

.online-search-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:22px}.online-search-grid.has-cod{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.online-search-label{display:block;font-size:14px;color:#797080;margin-bottom:8px}.online-search-grid .online-search{margin-bottom:0}.online-cod-field .search{width:100%}.online-cod-field .link-btn{flex-shrink:0;font-size:14px;white-space:nowrap;padding:2px 0 2px 8px}.online-cod-field .sub{margin-top:8px;font-size:13px;line-height:1.7}.online-cod-error{color:#a13c52;font-size:14px;line-height:1.7;margin-top:7px}.online-cod-field .search:has([aria-invalid="true"]){border-color:#ba6374}.online-cod-summary{grid-column:1/-1;margin:0;font-size:14px}
@media(max-width:700px){.online-search-grid.has-cod{grid-template-columns:1fr}.online-search-grid{gap:14px}}

.online-daily-identity .order-channel{display:block;white-space:normal;overflow-wrap:anywhere;max-width:240px;margin-top:6px;font-size:13px;line-height:1.6;color:#797080}

.flash-sale{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;margin-bottom:20px;border:1px solid #edbccb;background:#fff1f5;border-radius:12px;color:#8e3153}.flash-sale strong{font-size:18px}.flash-sale p{font-size:14px;margin:6px 0 0}.sale-clock{text-align:right;flex-shrink:0}.sale-clock strong,.sale-clock small{display:block}.sale-clock strong{font-variant-numeric:tabular-nums;font-size:28px;letter-spacing:1px}.sale-clock small{font-size:14px}.flash-sale.active{background:#9c3658;color:white;border-color:#9c3658}.flash-sale.ended{background:#f4f2f5;color:#756b7a;border-color:#e0dbe4}.sale-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px;font-size:14px}.sale-label del{color:#8e8293}.sale-label span{color:#9c3658;background:#fce8ef;padding:3px 7px;border-radius:4px;font-size:13px}.item-info del{color:#93858d}@media(max-width:620px){.flash-sale{padding:15px;gap:10px}.flash-sale strong{font-size:16px}.flash-sale p{font-size:13px}.sale-clock strong{font-size:23px}.sale-clock small{font-size:13px}}

.line-price{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.item-discount{display:inline-flex;align-items:center;gap:4px;font-size:14px;margin:4px 0}.item-discount input{width:64px;min-height:40px;padding:6px;border:1px solid var(--border,#dcced6);border-radius:8px;font-size:16px}

.bank-payment{text-align:center;background:#fff;border:1px solid #eadce2;border-radius:14px;padding:16px;margin:10px 0}.bank-qr{width:min(100%,280px);margin:8px auto;background:#fff}.bank-qr svg{display:block;width:100%;height:auto}.bank-amount{display:block;font-size:28px;color:#9d3f61}.bank-payment p{font-size:15px;line-height:1.6;overflow-wrap:anywhere}

/* Keep checkout reachable in a tablet WebView, whose height excludes native app tabs. */
.bill-actions{padding:16px 20px;background:#fcfbfc;border-top:1px solid var(--line)}
.bill-actions .line.total{margin:0 0 12px;padding:0;border:0}
.bill-actions>[data-action="pay"]{min-height:48px;white-space:normal}
@media screen and (min-width:621px) and (min-height:400px){
 .pos-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden}
 .pos-shell>.sidebar{height:100%;min-height:0}
 .pos-shell>.workspace{height:100%;min-width:0;min-height:0;display:flex;flex-direction:column}
 .pos-shell .topbar,.pos-shell .pagehead,.pos-shell .shiftbar,.pos-shell .flash-sale{flex-shrink:0}
 .pos-shell .content{display:flex;flex-direction:column;flex:1 1 0;min-height:0;padding:16px 20px}
 .pos-shell .pagehead{margin-bottom:16px}
 .pos-shell .shiftbar{margin-bottom:12px}
 .pos-shell .pos-layout{flex:1 1 0;min-height:0;align-items:stretch}
 .pos-catalog{display:flex;flex-direction:column;min-width:0;min-height:0}
 .pos-catalog .toolbar,.pos-catalog .categories{flex-shrink:0;margin-bottom:12px}
 .pos-catalog #product-results{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 3px 6px}
 .pos-catalog .catalog-note{flex-shrink:0;margin-top:8px}
 .pos-shell .bill{position:static;display:flex;flex-direction:column;height:100%;max-height:100%;min-height:0}
 .bill-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
 .bill-actions{flex:0 0 auto;padding:12px 16px max(12px,env(safe-area-inset-bottom))}
 .bill-actions .payment-help{font-size:12px;line-height:1.5;margin-top:8px}
 .bill-head{padding:16px}
 .bill-customer{padding:10px 16px}
 .bill-bottom{padding:16px}
 .bill-scroll .cart-items{min-height:0;max-height:none;overflow:visible}
 .cart-row:last-child{margin-bottom:0}
}
@media screen and (min-width:621px) and (min-height:400px) and (max-height:800px){
 .pos-shell .content{padding:12px}
 .pos-shell .content>.pagehead,.pos-catalog .catalog-note,.bill-actions .payhint,.bill-actions .payment-help{display:none}
 .pos-shell .shiftbar{padding:10px 12px}
 .bill-head{padding:12px 16px}
 .bill-customer{padding:8px 12px}
}

/* Keep the confirmation dialog's In bill button outside its scrolling receipt. */
dialog[open]:has(.pos-receipt-content){display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden}
.pos-receipt-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
dialog:has(.pos-receipt-content)>#pos-print-status,dialog:has(.pos-receipt-content)>.modal-footer{flex-shrink:0}
dialog:has(.pos-receipt-content)>.modal-footer{margin-top:16px}
