*{box-sizing:border-box}html{min-height:100%;background:#06142b url('/assets/brand/pdthub-one-hub-bg.png') center/cover fixed;color:#f3f7ff;font:16px/1.4 "Segoe UI",Arial,sans-serif}body{margin:0;min-height:100vh;background:linear-gradient(120deg,rgba(2,9,24,.6),rgba(5,18,39,.27))}.shell{max-width:1800px;margin:auto;padding:18px;display:grid;gap:14px}.glass{background:linear-gradient(145deg,rgba(7,25,52,.79),rgba(5,16,37,.69));border:1px solid rgba(60,169,255,.34);box-shadow:0 14px 42px #02081388,inset 0 1px #ffffff10;backdrop-filter:blur(14px);border-radius:17px}.top{height:92px;display:flex;align-items:center;justify-content:space-between;padding:12px 24px}.brand{display:flex;gap:13px;align-items:center;color:white;text-decoration:none;font-weight:900;font-size:21px;letter-spacing:.08em}.brand img{height:61px;width:61px;object-fit:contain}.brand small{display:block;font-size:10px;color:#74c7ff;letter-spacing:.12em}.top-total{text-align:center;padding:4px 34px;border-left:1px solid #49b9ff66;border-right:1px solid #49b9ff66}.top-total small,.section-head small{display:block;color:#89bce5;letter-spacing:.12em;font-weight:700;font-size:11px}.top-total strong{font-size:28px;color:#fff;text-shadow:0 0 16px #13a8ff}.clock{min-width:120px;text-align:right;color:#b8cce4;font-variant-numeric:tabular-nums}.nav{padding:9px;display:flex;gap:8px;align-items:center}.nav-btn,.quiet,.primary,.scan button,.pay,.qty button{border:1px solid #3a95df66;border-radius:11px;padding:11px 19px;color:#eaf5ff;background:#0b2850cc;cursor:pointer;font:inherit;font-weight:700}.nav-btn.active,.primary,.scan button{background:linear-gradient(130deg,#057bc7,#0750a8);border-color:#20b8ff;box-shadow:0 0 15px #009bff45}.nav-note{margin-left:auto;color:#91acc9;font-size:13px}.layout{display:grid;grid-template-columns:minmax(360px,1.08fr) minmax(380px,.92fr);gap:14px;min-height:calc(100vh - 160px)}.left,.right{padding:20px;min-height:660px;display:flex;flex-direction:column}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}h1{font-size:25px;margin:3px 0;font-weight:700}h2{margin:5px 0}.quiet{padding:8px 12px;background:#12284788;color:#adc7e4;font-size:13px}.scan{height:58px;border:1px solid #43abfa7a;background:#03132cb8;border-radius:13px;display:flex;align-items:center;padding:5px 7px 5px 15px;gap:11px;color:#35c4ff}.scan span{font-size:25px}.scan input{background:none;border:0;outline:0;color:white;flex:1;min-width:0;font-size:16px}.scan input::placeholder{color:#91a9c2}.scan button{padding:9px 20px}.cart-head{display:flex;justify-content:space-between;margin:21px 3px 8px;color:#91b9db;font-size:11px;letter-spacing:.12em;font-weight:800}.cart{overflow:auto;flex:1;min-height:250px}.cart-row{display:grid;grid-template-columns:1fr auto;gap:6px;padding:13px 5px;border-bottom:1px solid #70aeec28}.cart-row.selected{background:#1a5a9280;border-radius:11px;padding-left:11px}.cart-name{font-weight:700}.cart-sub{font-size:13px;color:#9ab2cd}.cart-right{text-align:right;font-weight:700}.qty{display:flex;align-items:center;gap:9px;margin-top:6px}.qty button{padding:1px 10px;font-size:18px}.qty span{min-width:20px;text-align:center}.remove{border:0;background:none;color:#88a9ca;cursor:pointer}.right{gap:12px}.detail{min-height:220px;border:1px solid #64b9f13a;background:#03132c70;border-radius:15px;display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center;padding:16px}.detail.empty{display:flex;flex-direction:column;justify-content:center;text-align:center;color:#9eb4ce}.product-image{width:100%;height:185px;border-radius:12px;object-fit:cover;background:#0a2443}.image-fallback{display:grid;place-items:center;font-size:54px;color:#56bcff;background:linear-gradient(145deg,#0b2e56,#07162d)}.detail h2{font-size:24px}.detail p{margin:4px 0;color:#9db7d2}.detail-price{font-size:27px;color:#70d3ff;font-weight:800;margin-top:12px}.quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:190px;overflow:auto}.quick-card{background:#0b2446a8;border:1px solid #3d8dcc55;color:white;border-radius:12px;padding:11px;text-align:left;cursor:pointer}.quick-card:hover{border-color:#37b9ff;background:#124477a8}.quick-card b{display:block;font-size:13px}.quick-card small{color:#8eaac7}.totals{margin-top:auto;border-top:1px solid #61b4ee44;padding-top:13px}.totals>div:not(.pay-row){display:flex;justify-content:space-between;padding:5px 4px;color:#adc4dd}.totals .grand{border-radius:11px;margin:7px 0;padding:10px 12px!important;background:#06418baa;color:white!important;font-size:15px;font-weight:800}.grand b{font-size:24px;color:#fff}.pay-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.pay{font-size:19px;padding:15px}.pay.cash{background:#087947c9;border-color:#27cc82}.pay.card{background:#0753a3c9;border-color:#27aaff}.sim-note{text-align:center;color:#859fbb;font-size:11px;margin:7px 0 0}.management{padding:22px;min-height:70vh}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:13px 11px;border-bottom:1px solid #6caade2b}.table th{color:#89bce5;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.stock-low{color:#ffbd66;font-weight:800}.row-actions{display:flex;gap:5px}.row-actions button{padding:7px 10px}.hidden{display:none!important}.modal-back{position:fixed;inset:0;background:#020a16bd;display:grid;place-items:center;padding:18px;z-index:10}.modal{width:min(490px,100%);padding:25px;position:relative}.modal-x{position:absolute;right:12px;top:10px;border:0;background:none;color:#b4cce4;font-size:27px;cursor:pointer}.modal h2{margin:0 0 14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:5px;color:#aac5df;font-size:13px}.field.full{grid-column:1/-1}.field input,.field select{width:100%;border:1px solid #4c8fc566;border-radius:9px;background:#061a35;color:#fff;padding:11px;font:inherit}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.payment-total{font-size:28px;font-weight:800;color:#72d7ff;margin:4px 0 17px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#102b4e;border:1px solid #4aaeff;border-radius:12px;padding:12px 20px;box-shadow:0 8px 35px #0008;z-index:20}.empty-state{padding:32px;text-align:center;color:#95afca}@media(max-width:950px){.layout{grid-template-columns:1fr}.left,.right{min-height:auto}.cart{max-height:40vh}.right{min-height:630px}.top{padding:10px 14px}.clock{min-width:70px;font-size:13px}}@media(max-width:560px){.shell{padding:8px;gap:8px}.top{height:76px}.brand img{width:45px;height:45px}.brand{font-size:16px}.brand small{font-size:8px}.top-total{padding:4px 10px}.top-total strong{font-size:20px}.clock{display:none}.nav{overflow:auto}.nav-btn{padding:9px 12px;white-space:nowrap}.nav-note{display:none}.left,.right,.management{padding:13px}.section-head h1{font-size:21px}.section-head{align-items:flex-start}.detail{grid-template-columns:105px 1fr;min-height:160px;padding:10px;gap:10px}.product-image{height:135px}.detail h2{font-size:19px}.quick{grid-template-columns:repeat(2,minmax(0,1fr));max-height:190px}.pay{font-size:16px;padding:13px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.table th,.table td{padding:10px 7px;font-size:13px}}

.product-preview{width:112px;height:90px;object-fit:cover;border:1px solid #4c9bce66;border-radius:10px;margin-top:6px}.subhead{font-size:18px;margin:27px 0 8px;color:#d9efff}.summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 19px}.summary-card{background:#081d3abb;border:1px solid #4a9bd055;border-radius:12px;padding:15px}.summary-card small{display:block;color:#92b9d8;font-size:10px;letter-spacing:.08em;font-weight:700}.summary-card b{display:block;font-size:22px;margin-top:6px;color:#eaf7ff}.receipt{text-align:center}.receipt>img{height:46px}.receipt hr{border:0;border-top:1px dashed #72b6e24c;margin:14px 0}.receipt-line{display:flex;justify-content:space-between;gap:15px;text-align:left;padding:5px 0}.receipt-total{font-size:18px;font-weight:800}.receipt .modal-actions{justify-content:center}.badge{color:#ffcf7d;font-size:12px}.nav-btn:disabled,.primary:disabled{opacity:.55;cursor:wait}@media(max-width:720px){.summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{html,body{background:white!important;color:#111!important}.shell,.modal-back{position:static!important;padding:0!important;background:white!important}.modal-back{display:block!important}.modal{width:auto!important;max-width:80mm!important;margin:0!important;border:0!important;box-shadow:none!important;background:white!important;color:#111!important;backdrop-filter:none!important}.receipt{font:12px/1.35 Arial,sans-serif;color:#111}.receipt>img,.receipt .modal-actions,.modal-x,.no-print{display:none!important}.receipt-line{color:#111!important}.receipt-total{font-size:16px}.receipt hr{border-color:#999}.receipt p{color:#333!important}}


/* Market settings tabs, scanner-focused sale area and enlarged date/time */
.clock{min-width:230px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:0;text-align:right;color:#b8cce4}
.clock span{font-size:14px;text-transform:capitalize;letter-spacing:.025em;color:#acd7f4}
.clock strong{font-size:34px;line-height:1.08;color:#fff;font-weight:800;font-variant-numeric:tabular-nums;text-shadow:0 0 18px #13a8ff88}
.right .detail{flex:1;min-height:300px}
.quick{max-height:190px}
.quick-empty{border:1px dashed #4c91c966;border-radius:12px;padding:15px}
.settings-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:8px;border-radius:13px;background:#03132c88;border:1px solid #3a86be44}
.settings-tab{border:1px solid transparent;border-radius:10px;padding:11px 18px;background:transparent;color:#aac4df;cursor:pointer;font:inherit;font-weight:700}
.settings-tab.active{color:#fff;background:linear-gradient(130deg,#087bc0,#0750a8);border-color:#24b6ff;box-shadow:0 0 14px #009bff35}
.settings-panel{min-height:280px}
.settings-card{max-width:900px;padding:22px;border:1px solid #458ec45c;border-radius:15px;background:#061b35a8}
.settings-card>small{color:#79bde9;font-size:11px;font-weight:800;letter-spacing:.11em}
.settings-card h2{margin:4px 0 12px;font-size:22px}
.settings-description{color:#9bb7d4;margin:0 0 18px}
.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px;max-width:720px;margin:16px 0}
.settings-fields .field select{width:100%;border:1px solid #4c8fc566;border-radius:9px;background:#061a35;color:#fff;padding:12px;font:inherit}
.settings-status{min-height:22px;color:#8fc8ea;margin:8px 0}
.settings-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
.quick-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px}
.quick-choice{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #4489be55;border-radius:11px;background:#09213eaa;color:#eaf5ff;cursor:pointer}
.quick-choice input{width:19px;height:19px;accent-color:#079af0}
.quick-choice span{display:grid;gap:2px}.quick-choice small{color:#91acc9}
html[data-theme="red"] .glass{border-color:#f0607955;background:linear-gradient(145deg,rgba(52,17,32,.86),rgba(32,12,26,.8))}
html[data-theme="red"] .nav-btn.active,html[data-theme="red"] .primary,html[data-theme="red"] .scan button,html[data-theme="red"] .settings-tab.active{background:linear-gradient(130deg,#d43a57,#92243f);border-color:#ff7188}
html[data-theme="red"] .top-total strong,html[data-theme="red"] .clock strong{color:#ffe6eb;text-shadow:0 0 16px #ef4268}
html[data-theme="green"] .glass{border-color:#44bd8566;background:linear-gradient(145deg,rgba(9,40,29,.86),rgba(7,28,22,.8))}
html[data-theme="green"] .nav-btn.active,html[data-theme="green"] .primary,html[data-theme="green"] .scan button,html[data-theme="green"] .settings-tab.active{background:linear-gradient(130deg,#148253,#12613d);border-color:#4bd69a}
html[data-theme="green"] .top-total strong,html[data-theme="green"] .clock strong{color:#e3fff0;text-shadow:0 0 16px #2bbe79}
html[data-theme="dark"] .glass{border-color:#667a9a77;background:linear-gradient(145deg,rgba(21,29,44,.91),rgba(12,18,31,.87))}
html[data-theme="dark"] .nav-btn.active,html[data-theme="dark"] .primary,html[data-theme="dark"] .scan button,html[data-theme="dark"] .settings-tab.active{background:linear-gradient(130deg,#364761,#253449);border-color:#91b5dc}
html[data-theme="light"]{background:#dbe5f3 url('/assets/brand/pdthub-one-hub-bg.png') center/cover fixed;color:#172942}
html[data-theme="light"] body{background:linear-gradient(120deg,rgba(221,233,249,.54),rgba(190,210,237,.38))}
html[data-theme="light"] .glass{background:linear-gradient(145deg,rgba(238,246,255,.88),rgba(218,232,249,.86));border-color:#517cae66;color:#172942}
html[data-theme="light"] .brand,html[data-theme="light"] .cart-name,html[data-theme="light"] .quick-card,html[data-theme="light"] .settings-card h2{color:#182d49}
html[data-theme="light"] .clock strong,html[data-theme="light"] .top-total strong{color:#184f91;text-shadow:none}
html[data-theme="light"] .top-total small,html[data-theme="light"] .clock span,html[data-theme="light"] .section-head small,html[data-theme="light"] .cart-head{color:#385d84}
html[data-theme="light"] .detail,html[data-theme="light"] .scan,html[data-theme="light"] .settings-tabs,html[data-theme="light"] .settings-card,html[data-theme="light"] .quick-choice{background:rgba(245,249,255,.82);color:#172942}
html[data-theme="light"] .detail p,html[data-theme="light"] .settings-description,html[data-theme="light"] .quick-choice small{color:#536b88}
html[data-theme="light"] .field select,html[data-theme="light"] .settings-fields .field select{background:#fff;color:#172942}
html[data-theme="light"] .quick-card{background:rgba(224,237,252,.9);border-color:#5d91c466}
@media(max-width:700px){.clock{min-width:110px}.clock span{font-size:10px}.clock strong{font-size:22px}.settings-fields{grid-template-columns:1fr}.quick-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-actions{justify-content:stretch}.settings-actions button{flex:1}}
@media(max-width:560px){.clock{display:flex;min-width:88px}.clock strong{font-size:18px}.clock span{font-size:9px;max-width:100px}.top-total{padding:4px 8px}.settings-tab{padding:9px 12px}.quick-choice-grid{grid-template-columns:1fr}}

.language-select-wrap{display:flex;align-items:center;gap:10px}.language-flag{font-size:27px;line-height:1;min-width:32px;text-align:center}.language-select-wrap select{flex:1}


.quick-add-row{display:flex;align-items:flex-end;gap:12px;max-width:850px;margin:18px 0}.quick-add-row .field{flex:1}.quick-list-title{font-size:16px;color:#cde6fb;margin:20px 0 9px}.quick-button-list{display:grid;gap:8px;max-width:900px}.quick-setting-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#09213eaa;border:1px solid #4489be55;border-radius:11px}.quick-setting-number{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#0a4d83;color:white;font-weight:800}.quick-setting-name{display:grid;gap:2px;flex:1}.quick-setting-name small{color:#91acc9}.quick-setting-actions{display:flex;gap:5px}.quick-setting-actions button{min-width:38px}.quick-setting-actions button:disabled{opacity:.35;cursor:default}.quick-setting-actions .quick-remove{color:#ffd5d5;border-color:#b9565666}.quick-choice-grid{display:none}
html[data-theme="light"] .quick-list-title{color:#234567}html[data-theme="light"] .quick-setting-row{background:#f1f7ff;color:#172942}html[data-theme="light"] .quick-setting-name small{color:#536b88}
@media(max-width:560px){.quick-add-row{align-items:stretch;flex-direction:column}.quick-add-row .primary{min-height:46px}.quick-setting-row{gap:8px;padding:8px}.quick-setting-actions{gap:3px}.quick-setting-actions button{padding:7px 8px}}

.language-picker{position:relative;width:100%}.language-toggle{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #4c8fc566;border-radius:9px;background:#061a35;color:#fff;cursor:pointer;font:inherit;text-align:left}.language-flag{display:block;width:32px;height:22px;min-width:32px;object-fit:cover;border-radius:3px;border:1px solid #ffffff3a;box-shadow:0 1px 4px #0008}.language-toggle #languageName{flex:1}.language-chevron{color:#8cb5d8;font-size:18px}.language-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;max-height:300px;overflow-y:auto;padding:5px;border:1px solid #4c8fc588;border-radius:11px;background:#061a35;box-shadow:0 14px 30px #0009}.language-option{width:100%;display:flex;align-items:center;gap:12px;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:#edf6ff;text-align:left;font:inherit;cursor:pointer}.language-option:hover,.language-option[aria-pressed="true"]{background:#14518a}.language-option img{width:30px;height:20px;object-fit:cover;border-radius:3px;border:1px solid #ffffff3a;box-shadow:0 1px 4px #0007}html[data-theme="light"] .language-toggle{background:#fff;color:#172942;border-color:#7595b788}html[data-theme="light"] .language-menu{background:#f5f9ff;border-color:#7595b788}html[data-theme="light"] .language-option{color:#172942}html[data-theme="light"] .language-option:hover,html[data-theme="light"] .language-option[aria-pressed="true"]{background:#d4e7fc}
.scan-wrap{position:relative;z-index:4}.product-suggestions{position:absolute;top:calc(100% + 7px);left:0;right:0;max-height:min(360px,55vh);overflow:auto;display:grid;gap:5px;padding:7px;border:1px solid #48b5ff88;border-radius:13px;background:rgba(4,18,39,.97);box-shadow:0 14px 35px #0009;backdrop-filter:blur(12px)}.product-suggestion{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border:1px solid transparent;border-radius:9px;background:#0b2850b8;color:#eff8ff;text-align:left;cursor:pointer;font:inherit}.product-suggestion:hover,.product-suggestion:focus-visible{outline:none;border-color:#28b7ff;background:#12518a}.product-suggestion-name{font-weight:700}.product-suggestion-meta{color:#9fc4e6;font-size:13px;white-space:nowrap}.product-suggestions-empty{padding:12px;color:#a8bfd8;text-align:center}.hidden.product-suggestions{display:none}html[data-theme="light"] .product-suggestions{background:rgba(245,249,255,.98);border-color:#5b9ed5;box-shadow:0 14px 35px #17314a33}html[data-theme="light"] .product-suggestion{background:#e7f1fc;color:#172942}html[data-theme="light"] .product-suggestion:hover,html[data-theme="light"] .product-suggestion:focus-visible{background:#cfe7ff;border-color:#1688d5}html[data-theme="light"] .product-suggestion-meta,html[data-theme="light"] .product-suggestions-empty{color:#49657f}
.product-import-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.product-import-preview{margin-top:14px;padding:12px;border:1px solid #4c8fc566;border-radius:12px;background:#061a35a8}.import-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.import-summary span{color:#9fc4e6}.import-issues{margin:12px 0 0;padding-left:22px;color:#ffd38b}.import-issues li{margin:4px 0}.import-actions{margin-top:12px}html[data-theme="light"] .product-import-preview{background:#f3f8ff;color:#172942}html[data-theme="light"] .import-summary span{color:#49657f}html[data-theme="light"] .import-issues{color:#8a4b00}@media(max-width:560px){.product-import-toolbar>*{flex:1;min-height:46px}}
.cart-wrap{position:relative;flex:1;min-height:250px;display:flex;overflow:hidden;border-radius:12px}.cart-wrap .cart{position:relative;z-index:1;flex:1;min-height:250px;background:transparent}.cart-watermark{position:absolute;z-index:0;pointer-events:none;left:50%;top:50%;transform:translate(-50%,-50%);width:min(70%,270px);max-height:72%;object-fit:contain;opacity:.12;filter:grayscale(1)}.brand-logo-preview-wrap{display:flex;align-items:center;justify-content:center;min-height:92px;margin-top:14px;padding:10px;background:#061a35a8;border:1px solid #4c8fc566;border-radius:12px}.brand-logo-preview-wrap img{max-width:min(100%,300px);max-height:110px;object-fit:contain}.brand-logo-preview-wrap img.is-default-logo{opacity:.75}html[data-theme="light"] .brand-logo-preview-wrap{background:#f3f8ff;border-color:#7595b788}@media(max-width:560px){.cart-wrap,.cart-wrap .cart{min-height:220px}}
