
#lankapos{--lp-bg:light-dark(#f3f6fa,#151c29);--lp-panel:light-dark(#ffffff,#202a3a);--lp-ink:light-dark(#17263e,#edf3ff);--lp-muted:light-dark(#617086,#acbad0);--lp-border:light-dark(#e3e9f1,#354359);--lp-blue:light-dark(#2255da,#91b2ff);--lp-soft:light-dark(#edf2ff,#2d4068);font-family:Inter,Arial,sans-serif;color:var(--lp-ink);background:var(--lp-bg);border-radius:16px;overflow:hidden}
#lankapos *{box-sizing:border-box}#lankapos button,#lankapos input,#lankapos select{font:inherit}#lankapos button{cursor:pointer;color:inherit}#lankapos button:disabled{opacity:.45;cursor:default}#lankapos .lp-shell{display:grid;grid-template-columns:174px minmax(0,1fr)}#lankapos aside{background:var(--lp-panel);padding:22px 12px;border-right:1px solid var(--lp-border)}#lankapos .lp-brand{padding:0 10px 20px;font-weight:500;color:var(--lp-blue)}#lankapos small{display:block;color:var(--lp-muted);margin-top:5px}#lankapos .lp-group{color:var(--lp-muted);padding:16px 10px 7px}#lankapos nav button{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:10px;border-radius:8px;margin:2px 0}#lankapos nav button.active{background:var(--lp-soft);color:var(--lp-blue)}#lankapos i,#lankapos svg{width:17px;height:17px;flex-shrink:0}#lankapos header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:var(--lp-panel);padding:18px 22px;border-bottom:1px solid var(--lp-border)}#lankapos .lp-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#lankapos .lp-heading{font-weight:500}#lankapos .lp-badge{background:var(--lp-soft);color:var(--lp-blue);padding:6px 9px;border-radius:6px}#lankapos .lp-button{border:1px solid var(--lp-border);background:var(--lp-panel);padding:11px 13px;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;gap:7px}#lankapos .lp-primary{background:var(--lp-blue);color:light-dark(#fff,#14243f);border-color:var(--lp-blue)}#lankapos .lp-body{padding:20px}#lankapos .lp-pos{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:16px;align-items:start}#lankapos input,#lankapos select{width:100%;min-width:0;border:1px solid var(--lp-border);border-radius:8px;background:var(--lp-panel);padding:12px;color:var(--lp-ink)}#lankapos .lp-search{position:relative;margin-bottom:14px}#lankapos .lp-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}#lankapos .lp-tabs button{padding:8px 11px;border:1px solid var(--lp-border);border-radius:7px;background:var(--lp-panel)}#lankapos .lp-tabs button.active{color:var(--lp-blue);background:var(--lp-soft);border-color:var(--lp-blue)}#lankapos .lp-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#lankapos .lp-product{border:1px solid var(--lp-border);border-radius:11px;background:var(--lp-panel);padding:12px;text-align:left;min-width:0}#lankapos .lp-picture{display:flex;align-items:center;justify-content:center;background:var(--lp-bg);border-radius:7px;height:66px;margin-bottom:12px}#lankapos .lp-picture svg{width:32px;height:32px;color:var(--lp-blue)}#lankapos .lp-price{color:var(--lp-blue);margin:12px 0 5px;font-weight:500}#lankapos .lp-cart{background:var(--lp-panel);border:1px solid var(--lp-border);border-radius:12px;padding:16px}#lankapos .lp-cart-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}#lankapos .lp-cart-item{padding:15px 0;border-bottom:1px solid var(--lp-border)}#lankapos .lp-item-top{display:flex;justify-content:space-between;gap:10px}#lankapos .lp-quantity{display:flex;align-items:center;gap:12px;margin-top:10px}#lankapos .lp-quantity button{width:32px;height:32px;border:1px solid var(--lp-border);border-radius:6px;background:var(--lp-bg)}#lankapos .lp-line{display:flex;justify-content:space-between;gap:10px;margin:13px 0}#lankapos .lp-total{padding-top:12px;border-top:1px dashed var(--lp-border);font-weight:500}#lankapos .lp-full{width:100%}#lankapos .lp-note{color:var(--lp-muted);margin-top:12px}#lankapos .lp-foot{padding:12px 20px;border-top:1px solid var(--lp-border);color:var(--lp-muted);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}#lankapos .lp-panel{background:var(--lp-panel);padding:18px;border:1px solid var(--lp-border);border-radius:11px}#lankapos .lp-module-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}#lankapos h2,#lankapos h3{margin:0;font-weight:500}#lankapos .lp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}#lankapos .lp-stat-value{margin-top:12px;font-weight:500;color:var(--lp-blue)}#lankapos .lp-table{overflow:auto}#lankapos table{border-collapse:collapse;width:100%;text-align:left}#lankapos th,#lankapos td{padding:14px 10px;border-bottom:1px solid var(--lp-border);font-weight:400}#lankapos th{color:var(--lp-muted)}#lankapos .lp-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#lankapos .lp-option{text-align:left;border:1px solid var(--lp-border);background:var(--lp-panel);padding:16px;border-radius:9px}#lankapos #lp-notice:empty{display:none}#lankapos #lp-notice{padding:12px 20px;background:var(--lp-soft);color:var(--lp-blue)}#lankapos .lp-payment{margin-top:15px;padding-top:15px;border-top:1px solid var(--lp-border)}#lankapos label{display:block;margin-bottom:8px}#lankapos .lp-payment label{margin-top:12px}
@media(max-width:900px){#lankapos .lp-shell{grid-template-columns:150px minmax(0,1fr)}#lankapos .lp-pos{grid-template-columns:minmax(0,1fr) 255px}#lankapos .lp-products{grid-template-columns:repeat(2,minmax(0,1fr))}#lankapos .lp-body{padding:12px}}
@media(max-width:720px){#lankapos .lp-shell{grid-template-columns:1fr}#lankapos aside{border-right:0;border-bottom:1px solid var(--lp-border);padding:12px}#lankapos .lp-brand{padding:0 0 12px}#lankapos nav{display:flex;flex-wrap:wrap;gap:4px}#lankapos nav button{width:auto;margin:0}#lankapos .lp-group{display:none}#lankapos .lp-pos{grid-template-columns:1fr}#lankapos .lp-products{grid-template-columns:repeat(3,minmax(0,1fr))}#lankapos .lp-stats{grid-template-columns:1fr}#lankapos header{padding:14px}}
@media(max-width:430px){#lankapos .lp-products,#lankapos .lp-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#lankapos nav button{padding:8px}#lankapos nav svg{display:none}}
#lankapos .lp-space{margin-top:16px}#lankapos .lp-space-bottom{margin-bottom:14px}#lankapos .lp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#lankapos .lp-form-grid label{min-width:0;margin:0}#lankapos .lp-form-grid input,#lankapos .lp-form-grid select{margin-top:7px}#lankapos .lp-panel .lp-panel{border:0;padding:0}#lankapos .lp-table{margin-top:14px}#lankapos .lp-panel h3{overflow-wrap:anywhere}#lankapos strong{font-weight:500}#lankapos nav button{padding:8px 9px}#lankapos .lp-group{padding-top:12px}#lankapos .lp-module-title h2{font-size:inherit}#lankapos input[type=file]{max-width:100%}#lankapos .lp-form-grid input[type=hidden]{display:none}#lankapos .lp-cart .lp-panel{padding:12px}#lankapos .lp-cart .lp-form-grid{grid-template-columns:1fr}#lankapos [hidden]{display:none!important}#lankapos .lp-shell>div{min-width:0}#lankapos td{overflow-wrap:anywhere}#lankapos .lp-panel{min-width:0}#lankapos .lp-table table{min-width:420px}#lankapos .lp-cart .lp-table table{min-width:230px}
@media(max-width:430px){#lankapos .lp-form-grid{grid-template-columns:1fr}#lankapos .lp-pos{min-width:0}#lankapos .lp-product{padding:9px}#lankapos header .lp-row{gap:6px}#lankapos aside nav button{padding:8px 6px}}
html{color-scheme:light}body{margin:0;background:#f3f6fa;font:14px/1.5 Arial,sans-serif}#lankapos{border-radius:0;min-height:100vh}#lankapos h2{font-size:21px}#lankapos h3{font-size:16px}#lankapos .lp-main{min-width:0}#lankapos .lp-notification{padding:12px 20px;background:#edf2ff;color:#1d47b3;overflow-wrap:anywhere}#lankapos .lp-notification:empty{display:none}#lankapos .lp-error{color:#9f2323;background:#fff0ee}#lankapos .lp-muted{color:#617086}#lankapos .lp-form-grid label{display:block}#lankapos textarea{width:100%;min-height:75px;padding:10px;border:1px solid #e3e9f1;border-radius:8px;font:inherit}#lankapos .lp-dialog{margin-top:16px}#lankapos .lp-table{max-width:100%;overflow:auto}#lankapos .lp-table td,#lankapos .lp-table th{white-space:normal;max-width:300px;min-width:90px}#lankapos .lp-pages{display:flex;gap:8px;margin-top:14px;align-items:center}#lankapos button:disabled{opacity:.5}#lankapos .lp-cart{position:sticky;top:12px}#lankapos .lp-cart input{padding:8px}#lankapos .lp-cart-line{padding:12px 0;border-bottom:1px solid #e3e9f1}#lankapos .lp-line-controls{display:flex;gap:6px;margin-top:8px;align-items:center}#lankapos .lp-line-controls input{width:90px}#lankapos .lp-picture img{max-width:100%;max-height:70px;object-fit:contain}#lankapos details>summary{cursor:pointer;padding:8px 0;color:#2255da}.auth{max-width:390px;margin:8vh auto;padding:30px;background:white;border:1px solid #dce4ef;border-radius:14px}.auth label{display:block;margin-top:18px}.auth input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #dce4ef;border-radius:7px;font:inherit}.auth button{width:100%;margin-top:24px;padding:13px;background:#2255da;color:white;border:0;border-radius:7px;font:inherit}.auth .error{color:#a12424}.receipt{max-width:720px;margin:auto;padding:20px}.receipt table{width:100%;border-collapse:collapse}.receipt td,.receipt th{text-align:left;padding:8px;border-bottom:1px solid #ddd}.receipt .actions{margin:20px 0}
@media(max-width:720px){#lankapos .lp-cart{position:static}}
@media print{body{background:white}#lankapos{display:none!important}.receipt .actions{display:none!important}.receipt{padding:0;max-width:80mm;font-size:11px}.receipt td,.receipt th{padding:4px}.no-print{display:none!important}}
/* v2 store workspace */
:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192b46;background:#f3f6fb}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #81a9ff;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:3px solid #e4edff;border-color:#567be7!important}button:disabled{opacity:.5;cursor:not-allowed}a{color:#2455cc}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:#708098}.muted{font-size:13px;line-height:1.65;color:#718097}
#lankapos{--lp-bg:#f3f6fb;--lp-panel:#fff;--lp-ink:#192b46;--lp-muted:#708098;--lp-border:#e5ebf3;--lp-blue:#2858d7;--lp-soft:#edf3ff;border-radius:0;min-height:100vh;font-family:inherit;font-size:14px;line-height:1.5}#lankapos .lp-shell{grid-template-columns:240px minmax(0,1fr)}#lankapos aside{height:100vh;position:sticky;top:0;overflow-y:auto;background:#102444;border:0;padding:28px 16px;color:#bac9e0;scrollbar-width:thin}#lankapos .lp-brand{display:flex;align-items:center;gap:11px;color:#fff;padding:0 4px 26px;font-size:14px;font-weight:700;line-height:1.35}#lankapos .lp-brand small{font-size:9px;letter-spacing:1.6px;color:#91a4c2;margin-top:7px}.brand-icon{display:grid;place-items:center;width:42px;height:44px;border-radius:12px;background:#315fdb;font-size:17px;flex-shrink:0}#lankapos .lp-group{font-size:9px;letter-spacing:1.6px;font-weight:700;color:#8297b6;padding:24px 12px 8px}#lankapos nav button{font-size:13px;color:#c8d4e7;padding:11px 14px;margin:3px 0;border-radius:9px;transition:background .15s}#lankapos nav button:hover{background:#1d365b;color:#fff}#lankapos nav button.active{background:#2b5cd8;color:#fff;box-shadow:0 5px 16px #07183244}#lankapos header{padding:18px 30px;min-height:84px;background:#ffffffed}#lankapos #heading{font-size:19px;font-weight:700}#lankapos #store-label{font-size:12px}#lankapos #user-label{font-size:12px;color:#64748b}#lankapos #branch-status{background:#eaf7f1;border-color:#d5ebdf;color:#247555;font-size:12px;font-weight:650}#lankapos .lp-body{padding:28px 30px;max-width:1900px;margin:auto}#lankapos .lp-panel{border-radius:16px;padding:22px;box-shadow:0 3px 15px #23395e03}#lankapos .lp-panel h3{font-size:16px;font-weight:700}#lankapos h2{font-size:24px;font-weight:750;letter-spacing:-.6px}#lankapos .lp-button{font-weight:600;border-radius:9px;padding:11px 16px;font-size:13px;white-space:nowrap}#lankapos .lp-primary{background:#2858d7;color:#fff;box-shadow:0 3px 9px #2858d721}#lankapos .lp-button:hover{filter:brightness(.97)}#lankapos label{font-size:12px;font-weight:600;color:#51617a}#lankapos input,#lankapos select,#lankapos textarea{margin-top:7px;min-height:43px;font-size:14px;font-weight:400;border:1px solid #dce4ef;border-radius:9px;background:#fff;padding:11px 12px;color:#192b46;width:100%;box-sizing:border-box}#lankapos textarea{min-height:90px;resize:vertical}#lankapos .lp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}#lankapos .lp-tabs{border-bottom:1px solid #e0e7f1;gap:6px;padding-bottom:12px}#lankapos .lp-tabs button{border:0;background:transparent;color:#708098;padding:10px 16px;font-weight:600}#lankapos .lp-tabs button.active{background:#e7efff;color:#2355cc}#lankapos .lp-table{padding:0;border-radius:13px;overflow:auto}#lankapos th{background:#f8fafd;text-transform:capitalize;font-size:11px;letter-spacing:.4px;font-weight:700;color:#6c7c93;white-space:nowrap}#lankapos td{font-size:13px}#lankapos th,#lankapos td{padding:15px 18px}#lankapos tbody tr:hover{background:#fafcff}#lankapos .lp-notification:not(:empty){padding:14px 30px;background:#e8f6ed;color:#256741;border-bottom:1px solid #d4e8db}#lankapos .lp-error:not(:empty){background:#fff0ed;color:#a33a2c}#lankapos .lp-pos{grid-template-columns:minmax(0,1fr) 370px;gap:24px}#lankapos .lp-products{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:15px}#lankapos .lp-product{border-radius:14px;padding:15px;transition:box-shadow .2s,transform .2s}#lankapos .lp-product:hover:not(:disabled){box-shadow:0 8px 20px #213d7012;transform:translateY(-2px);border-color:#7c9ce8}#lankapos .lp-picture{height:100px;background:linear-gradient(140deg,#edf3ff,#f6f9fe);color:#557bbe;font-size:28px}#lankapos .lp-product>span:not(.lp-picture){font-weight:650}#lankapos .lp-price{font-size:20px;font-weight:750}#lankapos .lp-cart{position:sticky;top:20px;border-radius:17px;padding:22px;box-shadow:0 5px 25px #19345b06}#lankapos .lp-cart-head{padding-bottom:17px;border-bottom:1px solid #e4ebf3}#lankapos .lp-cart-head strong{font-size:15px}#lankapos .lp-cart-line{padding:15px 0;border-bottom:1px solid #edf0f5}#lankapos .lp-line-controls{display:flex;gap:8px;align-items:center}#lankapos .lp-line-controls input{width:95px}#lankapos .lp-total strong{font-size:22px;color:#163b88}#lankapos .lp-foot{font-size:11px;padding:17px 30px}#lankapos .lp-note{font-size:12px;line-height:1.6}#lankapos .mobile-menu{display:none}
.dashboard-welcome{display:flex;justify-content:space-between;align-items:center;margin:0 0 22px;gap:16px}.dashboard-welcome h2{margin-top:9px!important}.dashboard-welcome p{color:#7b89a0;margin:7px 0 0}.dashboard-filters{display:flex;align-items:end;gap:12px;background:#fff;border:1px solid #e5ebf3;border-radius:13px;padding:14px 18px;margin-bottom:22px}.dashboard-filters label{flex:1;margin:0!important}.dashboard-filters button{height:43px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.metric{padding:23px;background:#fff;border:1px solid #e4eaf2;border-radius:15px}.metric small{font-weight:600;font-size:12px;margin:0!important}.metric strong{display:block;font-size:26px;letter-spacing:-.8px;margin:13px 0 6px;line-height:1.2}.metric>span{font-size:11px;color:#8994a7}.metric:first-child{background:#2453cb;border-color:#2453cb;color:#fff}.metric:first-child small,.metric:first-child>span{color:#d5e1ff!important}.branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0 24px}.branch-summary{border:1px solid #e0e8f1;border-radius:17px;padding:24px;background:#fff}.branch-number{display:inline-grid;place-items:center;width:43px;height:43px;background:#eef3ff;border-radius:12px;color:#3565d7;font-size:15px;font-weight:700}.branch-summary h3{font-weight:700!important}.status-dot{margin-left:auto;color:#52846b;font-size:11px;background:#edf8f0;padding:5px 9px;border-radius:20px}.branch-sales{font-size:27px;display:block;margin-top:23px;letter-spacing:-.6px}.branch-detail{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 0;margin:12px 0;border-top:1px solid #edf0f5}.branch-detail span{color:#7d8a9f;font-size:11px}.branch-detail b{display:block;color:#384b69;font-weight:600;font-size:13px;margin-top:3px}.dashboard-bottom{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px;margin-top:24px;align-items:start}.dashboard-bottom .lp-panel{min-width:0}.top-product{display:grid;grid-template-columns:26px 1fr auto;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #edf0f5;font-size:12px}.rank{color:#90a0b8;font-size:13px}.sales-bar{background:#eff3fa;height:5px;border-radius:8px;margin-top:9px;width:90%}.sales-bar i{display:block;height:5px;border-radius:8px;background:#6291ef;width:auto!important;max-width:100%}.sales-bar i[style]{width:var(--bar,100%)!important}.empty-state{padding:38px 16px;text-align:center;color:#8290a7;font-size:13px}#branch-dialog{border:0;border-radius:22px;padding:30px;max-width:720px;width:calc(100% - 48px);color:#192b46;box-shadow:0 30px 100px #0a1c4555}#branch-dialog::backdrop{background:#0c214878;backdrop-filter:blur(5px)}#branch-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}#branch-dialog h2{margin:8px 0;font-size:26px;letter-spacing:-.6px}#branch-dialog p{font-size:13px;line-height:1.6;color:#718097}.branch-choice{border:1px solid #e0e8f3;border-radius:15px;padding:22px}.branch-choice label{display:block;font-size:12px;color:#63738a}.branch-choice input{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #dce5f0;border-radius:9px;margin:9px 0 16px}.branch-choice button,#branch-dialog .lp-button{padding:11px 17px;border-radius:9px;border:1px solid #dce5f0;background:white;color:#274269;font-weight:600}.branch-choice button.lp-primary{background:#2858d7;color:white;border-color:#2858d7}#branch-error{color:#ad352d!important}
.login-page{min-height:100vh;display:grid;place-items:center;background:#eff3f9;padding:40px;box-sizing:border-box}.login-shell{display:grid;grid-template-columns:1.08fr 1fr;width:100%;max-width:1080px;min-height:650px;border-radius:28px;overflow:hidden;box-shadow:0 30px 90px #15315912;background:#fff}.login-story{position:relative;overflow:hidden;background:linear-gradient(145deg,#102749,#173e75);color:#fff;padding:55px 48px;display:flex;flex-direction:column}.store-mark{font-size:28px;font-weight:800;letter-spacing:-2px;margin-bottom:80px}.store-mark span{color:#6c9dff;margin-left:4px}.login-story .eyebrow{color:#9dbdec;font-size:10px}.login-story h1{font-size:40px;font-weight:700;line-height:1.22;letter-spacing:-1.5px;margin:20px 0}.login-story h1>span{color:#8bb6ff}.login-story>p{font-size:15px;color:#b7cbe7;line-height:1.8;margin:0}.login-tiles{display:flex;gap:28px;margin-top:auto;padding-top:60px;z-index:1}.login-tiles div{border-top:1px solid #ffffff33;padding-top:17px;flex:1}.login-tiles strong{font-size:16px;display:block}.login-tiles span{font-size:11px;color:#acc4e8;display:block;margin-top:8px}.login-orbit{position:absolute;width:300px;height:300px;border:1px solid #ffffff0a;border-radius:50%;right:-190px;top:60px;box-shadow:0 0 0 35px #ffffff03,0 0 0 70px #ffffff03}.login-form{padding:75px 52px 32px;display:flex;flex-direction:column;justify-content:center}.login-welcome h2{font-size:29px;letter-spacing:-1px;margin:15px 0}.login-welcome p{color:#8692a5;font-size:13px;line-height:1.7;margin-bottom:32px}.login-form label{display:block;font-size:12px;font-weight:650;margin:21px 0 9px;color:#4e6079}.login-form input{padding:15px;width:100%;box-sizing:border-box;border:1px solid #dce4ee;border-radius:10px;font-size:14px;background:#fbfcfe;color:#192b46}.password-wrap{position:relative}.password-wrap input{padding-right:64px}.password-wrap button{position:absolute;right:12px;top:14px;padding:3px;background:none;border:0;color:#6e7f98;font-size:12px}.login-submit{margin-top:29px;width:100%;display:flex;justify-content:space-between;padding:16px 20px;background:#2858d7;color:white;border:0;border-radius:10px;font-size:14px;font-weight:600;box-shadow:0 7px 18px #2858d725}.login-help{font-size:11px;color:#929bad;text-align:center;margin:23px 0 40px}.login-powered{text-align:center;font-size:10px;color:#9ba6b7;margin-top:auto;padding-top:25px}.login-powered strong{font-weight:600;color:#7689a6}.login-error{padding:13px;background:#fff0ee;color:#a4382f;border-radius:9px;font-size:13px}
#receipt:not(:empty){position:fixed;inset:0;background:#10244488;z-index:100;overflow:auto;padding:40px 20px;box-sizing:border-box;backdrop-filter:blur(3px)}#receipt .receipt{background:#fff;margin:auto;padding:38px;max-width:650px;border-radius:17px;box-shadow:0 20px 70px #0002;font-size:13px}#receipt .actions{display:flex;gap:12px;margin-top:24px}#receipt button{padding:12px 17px;border:1px solid #dbe5f2;border-radius:9px;background:#eef3ff;color:#2455cc}
@media(min-width:1500px){#lankapos .lp-pos{grid-template-columns:minmax(0,1fr) 410px}}
@media(max-width:1200px){#lankapos .lp-shell{grid-template-columns:205px minmax(0,1fr)}#lankapos .lp-body{padding:22px}#lankapos .lp-pos{grid-template-columns:minmax(0,1fr) 320px}.metric-grid{grid-template-columns:1fr 1fr}.dashboard-bottom{grid-template-columns:1fr}.dashboard-filters{flex-wrap:wrap}.dashboard-filters label{min-width:130px}}
@media(max-width:900px){.login-page{padding:20px}.login-story{padding:40px 30px}.login-story h1{font-size:32px}.login-form{padding:50px 30px 25px}#lankapos .lp-pos{grid-template-columns:1fr}#lankapos .lp-cart{position:static}.branch-grid{grid-template-columns:1fr}}
@media(max-width:720px){#lankapos .lp-shell{grid-template-columns:1fr}#lankapos aside{display:none;position:fixed;z-index:30;width:235px;box-sizing:border-box;height:100vh}body.nav-open #lankapos aside{display:block}#lankapos nav{display:block}#lankapos nav button{width:100%}#lankapos .lp-group{display:block}#lankapos .mobile-menu{display:inline-flex;margin-right:10px}#lankapos header{padding:14px 16px}#lankapos .lp-body{padding:18px 14px}.dashboard-welcome{align-items:start}.dashboard-welcome h2{font-size:22px!important}.metric{padding:18px}.metric strong{font-size:23px}#lankapos .lp-form-grid{grid-template-columns:1fr}#branch-dialog{padding:22px;box-sizing:border-box}.login-shell{grid-template-columns:1fr;max-width:500px}.login-story{padding:30px}.store-mark{margin-bottom:30px}.login-story h1{font-size:30px}.login-story>p,.login-tiles{display:none}.login-form{padding:35px 30px}.login-powered{margin-top:0}.login-help{margin-bottom:15px}#lankapos #user-label{display:none}.dashboard-filters{padding:12px}.dashboard-filters label{min-width:40%}#receipt:not(:empty){padding:20px 10px}#receipt .receipt{padding:24px}.dashboard-bottom .lp-panel{padding:17px}}
@media print{body{background:white}#lankapos,#branch-dialog{display:none!important}#receipt:not(:empty){position:static;padding:0;background:white;overflow:visible;backdrop-filter:none}#receipt .receipt{box-shadow:none;border-radius:0;margin:0 auto;padding:10px;max-width:100%;color:black}#receipt .actions{display:none!important}}

/* TCS 2.0.1: password controls and billing clarity */
.tcs-password{display:flex;position:relative;width:100%;align-items:center}.tcs-password input{padding-right:48px!important;margin:0!important}.tcs-password button{position:absolute;right:5px;border:0;background:transparent;color:#456286;cursor:pointer;width:40px;height:40px;display:grid;place-items:center}.tcs-password button:focus-visible{outline:2px solid #2855d9;border-radius:8px}.tcs-password button[aria-pressed=true]{color:#2355dc;background:#eaf0ff;border-radius:8px}.tcs-sidebar-logo{width:51px;height:51px;object-fit:contain;background:white;border-radius:10px;flex-shrink:0}.tcs-store-mark{display:flex;align-items:center;gap:18px;margin-bottom:36px!important}.tcs-store-mark img{width:100px;height:100px;object-fit:contain;background:white;border-radius:16px}.tcs-store-mark strong{font-size:35px;color:white}.login-story h1{font-size:34px}.lp-cart{position:sticky;top:18px;border-top:4px solid #2855d9!important;box-shadow:0 12px 36px #122b5110}.lp-cart-head{align-items:center;gap:12px}.lp-cart-head strong{font-size:17px}.tcs-empty-cart{text-align:center;padding:28px 12px;margin:16px 0;border:1px dashed #cfdaed;border-radius:13px;background:#f7f9fd}.tcs-empty-cart strong{font-size:17px}.tcs-empty-cart p{font-size:13px;line-height:1.8;color:#6d7e98}.tcs-shift-prompt{background:#eef4ff;padding:12px;border-radius:10px;margin:12px 0}.tcs-shift-prompt p{margin:0 0 9px}.lp-line-controls{display:flex;flex-wrap:wrap;gap:7px}.lp-line-controls input{width:85px!important;min-width:60px}.lp-cart-line{padding:15px 0;border-bottom:1px solid #e5ebf5}.lp-cart-line>.lp-line{margin:5px 0 10px}.lp-total{background:#f0f5ff;border-radius:10px;padding:16px!important;margin-top:18px}.lp-button:disabled{opacity:.5;cursor:not-allowed}@media(min-width:1100px){.lp-pos{grid-template-columns:minmax(0,1fr) 440px!important}}@media(max-width:800px){.lp-cart{position:static}.tcs-store-mark img{width:70px;height:70px}.login-story h1{font-size:27px}}
.tcs-price-flag{display:inline-block;background:#fff4e5;color:#8a4b00;border:1px solid #f3d19c;border-radius:6px;padding:3px 7px;font-size:12px;font-weight:600}.tcs-line-warning{display:block;margin:0 0 8px;color:#a33a2c;background:#fff0ed;border-radius:7px;padding:6px 9px;font-size:12px}.tcs-cash-summary{margin:12px 0;display:grid;gap:0;border:1px solid #e3e9f1;border-radius:10px;overflow:hidden}.tcs-cash-summary div{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #edf0f5}.tcs-cash-summary div:last-child{border-bottom:0}.tcs-cash-summary dt{color:#4b5d78}.tcs-cash-summary dd{margin:0;font-variant-numeric:tabular-nums;text-align:right}.tcs-cash-total{background:#f0f5ff;font-weight:600}.tcs-cash-total dd{color:#163b88;font-size:18px}.lp-cart input:disabled,.lp-cart textarea:disabled{opacity:.6}
/* ---- 2.1.0 scan-first POS workspace ---- */
body.pos-mode{overflow:hidden}
body.pos-mode #lankapos{display:none!important}
#pos-app:empty{display:none}
.pos-shell{position:fixed;inset:0;display:flex;flex-direction:column;background:#eef2f8;color:#192b46;font-size:14px;z-index:50}
.pos-head{display:flex;align-items:center;gap:14px;padding:8px 16px;background:#fff;border-bottom:1px solid #dfe6f0;flex-wrap:wrap}
.pos-brand{display:flex;align-items:center;gap:10px;padding-right:14px;border-right:1px solid #e3e9f1}
.pos-brand img{width:44px;height:44px;object-fit:contain;border-radius:9px;background:#fff}
.pos-brand strong{display:block;font-size:20px;line-height:1.1;color:#163b88}
.pos-brand small{color:#5c6d88}
.pos-title h1{margin:0;font-size:22px;line-height:1.1}
.pos-title small{color:#7a8aa3}
.pos-title{flex:1 1 auto;min-width:120px}
.pos-chip{display:flex;align-items:center;gap:10px;padding:7px 12px;border:1px solid #dbe4f2;border-radius:10px;background:#f7f9fd;text-align:left;font:inherit;color:inherit}
.pos-chip strong{display:block;font-size:14px}
.pos-chip small{display:block;color:#6d7e98;font-size:11px}
.pos-chip-btn{cursor:pointer}
.pos-chip-btn:hover{background:#eef4ff;border-color:#b9cdf3}
.pos-chip-icon{font-size:18px;color:#2855d9}
.pos-caret{color:#6d7e98}
.pos-exit{display:flex;flex-direction:column;align-items:center;line-height:1.1;border-color:#c9d6ea}
.pos-exit small{color:#6d7e98;font-size:10px}
#pos-notice{margin:0;border-radius:0;padding:6px 16px;min-height:0}
#pos-notice:empty{display:none}
.pos-body{flex:1 1 auto;display:grid;grid-template-columns:minmax(0,7fr) minmax(320px,3fr);gap:14px;padding:12px 16px;min-height:0}
.pos-left{display:flex;flex-direction:column;min-height:0;min-width:0}
.pos-right{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto}
.pos-scan-row{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}
.pos-scan{flex:1 1 320px;display:flex;align-items:center;gap:10px;background:#fff;border:2px solid #2855d9;border-radius:12px;padding:0 14px;min-height:52px}
.pos-scan-icon{font-family:monospace;letter-spacing:-2px;color:#2855d9;font-size:20px}
.pos-scan input{flex:1;border:0;outline:0;font-size:17px;padding:12px 0;background:transparent;min-width:0}
.pos-scan.pos-scanning{border-color:#f0a020}
.pos-keys{display:flex;gap:8px;flex-wrap:wrap}
.pos-key{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:72px;padding:6px 10px;border:1px solid #d6dfec;border-radius:10px;background:#fff;font:inherit;color:#243b5e;cursor:pointer;line-height:1.15}
.pos-key b{color:#2855d9;font-size:13px}
.pos-key:hover{background:#eef4ff}
.pos-key:disabled{opacity:.5;cursor:not-allowed}
.pos-count{font-style:normal;background:#2855d9;color:#fff;border-radius:10px;padding:0 6px;font-size:11px;margin-left:4px}
.pos-items-head{display:flex;align-items:center;justify-content:space-between;margin:12px 0 8px}
.pos-items-head h2{margin:0;font-size:18px}
.pos-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;background:#fff;border:1px solid #dfe6f0;border-radius:12px}
.pos-table{width:100%;border-collapse:collapse}
.pos-table th{position:sticky;top:0;background:#f4f7fc;text-align:left;font-size:12px;color:#5c6d88;padding:10px 12px;border-bottom:1px solid #e3e9f1;z-index:1}
.pos-table td{padding:10px 12px;border-bottom:1px solid #edf0f5;vertical-align:middle}
.pos-table td small{display:block;color:#7a8aa3;font-size:12px}
.pos-table code{font-size:12px;color:#425474}
.pos-num{text-align:right;white-space:nowrap}
.pos-row-issue td{background:#fff8f6}
.pos-qty{display:flex;align-items:center;gap:4px}
.pos-qty input{width:74px;text-align:center;padding:6px}
.pos-qty .lp-button{padding:6px 10px}
.pos-icon{padding:6px 9px}
.pos-danger{color:#a33a2c}
.pos-empty{padding:60px 20px;text-align:center;color:#6d7e98}
.pos-empty strong{display:block;font-size:20px;color:#243b5e;margin-bottom:8px}
.pos-card{background:#fff;border:1px solid #dfe6f0;border-radius:12px;padding:14px}
.pos-card-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.pos-card-head h3{margin:0;flex:1;font-size:16px}
.pos-card-icon{color:#2855d9}
.pos-bill-no{font-weight:600;color:#2855d9;font-size:13px}
.pos-kv{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #f0f3f8}
.pos-kv b{font-variant-numeric:tabular-nums}
.pos-grand{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:12px 14px;background:#eef4ff;border-radius:10px;font-weight:600}
.pos-grand b{font-size:24px;color:#163b88}
.pos-grand-muted b{font-size:14px;color:#6d7e98;font-weight:500}
.pos-customer{margin:6px 0}
.pos-customer-meta{font-size:12px;margin:6px 0}
.pos-ok{color:#1c7c3a}
.pos-customer-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.pos-customer-actions .lp-button{padding:6px 10px;font-size:13px}
#pos-extra summary{cursor:pointer;color:#2855d9;margin:6px 0}
#pos-extra label{display:block;margin:6px 0;font-size:13px}
#pos-extra input,#pos-extra textarea{width:100%;box-sizing:border-box}
.pos-check{display:flex;align-items:center;gap:8px}
.pos-check input{width:auto!important}
.pos-pay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pos-pay{padding:10px;border:1px solid #d6dfec;border-radius:10px;background:#fff;font:inherit;cursor:pointer;color:#243b5e}
.pos-pay.active{border-color:#2855d9;background:#eef4ff;font-weight:600;box-shadow:inset 0 0 0 1px #2855d9}
#pos-pay-fields label{display:block;margin:8px 0;font-size:13px}
#pos-pay-fields input{width:100%;box-sizing:border-box;font-size:16px}
.pos-change{background:#edf9f0;border-radius:8px;padding:8px 10px;color:#1c7c3a;font-weight:600}
.pos-due{background:#fff4e5;border-radius:8px;padding:8px 10px;color:#8a4b00;font-weight:600}
.pos-actions{display:flex;gap:8px;margin:12px 0 8px}
.pos-actions .lp-button{flex:1;padding:12px}
.pos-complete{font-size:16px}
.pos-complete small{opacity:.7;font-size:11px;margin-left:6px}
.pos-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 16px;background:#fff;border-top:1px solid #dfe6f0;font-size:12px;color:#6d7e98;flex-wrap:wrap}
.pos-hints{display:flex;gap:12px;flex-wrap:wrap}
.pos-hints kbd{display:inline-block;border:1px solid #cfd8e6;border-radius:5px;padding:1px 6px;margin-right:4px;background:#f7f9fd;font-family:inherit;color:#2855d9}
.pos-dialog{border:0;border-radius:14px;padding:0;max-width:min(560px,94vw);width:100%;box-shadow:0 20px 70px #0004}
.pos-dialog::backdrop{background:#10244488;backdrop-filter:blur(2px)}
.pos-dialog:has(.pos-modal-wide){max-width:min(860px,94vw)}
.pos-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e3e9f1}
.pos-modal-head h2{margin:0;font-size:18px}
.pos-modal-body{padding:16px 18px;max-height:78vh;overflow:auto}
.pos-modal-body label{display:block;margin:10px 0;font-size:13px}
.pos-modal-body input:not([type=checkbox]),.pos-modal-body select,.pos-modal-body textarea{width:100%;box-sizing:border-box}
.pos-modal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.pos-results{display:flex;flex-direction:column;gap:6px;margin:10px 0;max-height:52vh;overflow:auto}
.pos-result{display:block;width:100%;text-align:left;padding:10px 12px;border:1px solid #dfe6f0;border-radius:10px;background:#fff;font:inherit;cursor:pointer}
.pos-result:hover{background:#eef4ff}
.pos-result small{display:block;color:#6d7e98;font-size:12px}
.pos-held{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dfe6f0;border-radius:10px}
.pos-held small{display:block;color:#6d7e98;font-size:12px}
.pos-held>div:last-child{display:flex;gap:6px}
.pos-counter-row.active{background:#eef4ff;border-color:#b9cdf3}
.pos-phone{display:flex;gap:6px}
.pos-phone select{width:130px!important;flex:0 0 auto}
.pos-dupes{margin-top:10px;padding:10px;border:1px dashed #f3d19c;border-radius:10px;background:#fff8ec}
.pos-receipt-wrap{max-height:50vh;overflow:auto;border:1px solid #e3e9f1;border-radius:10px;padding:10px}
.pos-receipt-wrap .receipt{box-shadow:none;padding:10px;max-width:100%}
#pos-modal-error:empty{display:none}
#pos-modal-error{margin:8px 0}
@media(max-width:1100px){.pos-body{grid-template-columns:minmax(0,3fr) minmax(300px,2fr)}.pos-col-barcode{display:none}}
@media(max-width:820px){.pos-shell{position:fixed;overflow:auto}.pos-body{display:flex;flex-direction:column;overflow:auto;padding:10px}.pos-left{min-height:40vh}.pos-table-wrap{max-height:42vh}.pos-right{overflow:visible}.pos-title{display:none}.pos-hints{display:none}.pos-col-disc{display:none}.pos-head{gap:8px;padding:8px 10px}.pos-chip small{display:none}.pos-brand{padding-right:8px}.pos-brand small{display:none}.pos-exit small{display:none}}
@media(max-width:480px){.pos-table td,.pos-table th{padding:8px 6px}.pos-qty input{width:56px}.pos-pay-grid{grid-template-columns:1fr 1fr}.pos-col-price{display:none}.pos-table td small{white-space:normal}.pos-icon{padding:6px 7px}.pos-head{row-gap:6px}}
.pos-actions{position:sticky;bottom:0;background:#fff;padding-top:6px}
@media print{body.pos-mode #pos-app{display:none!important}html,:root{background:#fff}}
.pos-txn{margin:0;padding:8px 16px;background:#fff1ec;border-bottom:1px solid #f1c3b5;color:#8a2c14;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.pos-txn[hidden]{display:none}
.pos-row-actions{display:flex;gap:8px}
.pos-consent{margin-top:10px!important}
.pos-customer-meta .lp-button{padding:4px 8px;font-size:12px;margin-left:4px}
/* ---- 2.1.2 POS design system: one scope (#pos-app) for the workspace AND its body-mounted dialog ---- */
#pos-app{--pos-navy:#163b88;--pos-blue:#2855d9;--pos-blue-dark:#1e45b8;--pos-soft:#eef4ff;--pos-ink:#192b46;--pos-muted:#5f6f88;--pos-line:#dbe3ef;--pos-line-soft:#edf1f7;--pos-danger:#b3261e;--pos-danger-soft:#fdeceb;--pos-ok:#1c7c3a;--pos-ok-soft:#e9f7ee;--pos-warn:#8a4b00;--pos-warn-soft:#fff4e5;--pos-radius:10px;--pos-focus:0 0 0 3px #2855d94d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--pos-ink)}
#pos-app *,#pos-app *::before,#pos-app *::after{box-sizing:border-box}
#pos-app button,#pos-app input,#pos-app select,#pos-app textarea{font:inherit;color:inherit}
#pos-app .lp-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 14px;border:1px solid var(--pos-line);border-radius:var(--pos-radius);background:#fff;color:var(--pos-ink);font-weight:500;line-height:1.2;cursor:pointer;transition:background .12s,border-color .12s,box-shadow .12s;text-decoration:none;white-space:nowrap}
#pos-app .lp-button:hover:not(:disabled){background:var(--pos-soft);border-color:#b9cdf3}
#pos-app .lp-button:focus-visible,#pos-app .pos-key:focus-visible,#pos-app .pos-pay:focus-visible,#pos-app .pos-chip-btn:focus-visible,#pos-app .pos-result:focus-visible,#pos-app summary:focus-visible{outline:0;box-shadow:var(--pos-focus);border-color:var(--pos-blue)}
#pos-app .lp-button:disabled{opacity:.5;cursor:not-allowed}
#pos-app .lp-button.lp-primary{background:var(--pos-blue);border-color:var(--pos-blue);color:#fff;font-weight:600;box-shadow:0 2px 6px #2855d933}
#pos-app .lp-button.lp-primary:hover:not(:disabled){background:var(--pos-blue-dark);border-color:var(--pos-blue-dark)}
#pos-app .lp-button.pos-danger{color:var(--pos-danger);border-color:#efc9c5;background:#fff}
#pos-app .lp-button.pos-danger:hover:not(:disabled){background:var(--pos-danger-soft);border-color:#e6aca6}
#pos-app .lp-button.pos-danger-solid{background:var(--pos-danger);border-color:var(--pos-danger);color:#fff;font-weight:600}
#pos-app .lp-button.pos-danger-solid:hover:not(:disabled){background:#931f18}
#pos-app input:not([type=checkbox]):not([type=radio]),#pos-app select,#pos-app textarea{width:100%;min-height:40px;padding:8px 11px;border:1px solid #cdd7e6;border-radius:8px;background:#fff;color:var(--pos-ink);transition:border-color .12s,box-shadow .12s}
#pos-app textarea{min-height:64px;resize:vertical}
#pos-app input:focus,#pos-app select:focus,#pos-app textarea:focus{outline:0;border-color:var(--pos-blue);box-shadow:var(--pos-focus)}
#pos-app input:disabled,#pos-app select:disabled,#pos-app textarea:disabled{background:#f3f5f9;color:#8a97ab;cursor:not-allowed}
#pos-app input[aria-invalid=true],#pos-app textarea[aria-invalid=true]{border-color:var(--pos-danger);box-shadow:0 0 0 3px #b3261e26}
#pos-app input[type=checkbox]{width:18px;height:18px;accent-color:var(--pos-blue);margin:0;flex:0 0 auto}
#pos-app input::-ms-reveal,#pos-app input::-ms-clear{display:none}
#pos-app label{display:block;font-size:13px;font-weight:500;color:#34496a}
#pos-app label>input,#pos-app label>select,#pos-app label>textarea,#pos-app label>.pos-phone,#pos-app label>.tcs-password{margin-top:4px}
#pos-app .pos-check{display:flex;align-items:center;gap:9px;font-weight:500;color:var(--pos-ink);cursor:pointer}
#pos-app .muted,#pos-app .pos-hint{font-size:12.5px;line-height:1.5;color:var(--pos-muted);margin:4px 0}
#pos-app .pos-hint[hidden]{display:none}
#pos-app .pos-field-error{display:block;margin:4px 0 0;color:var(--pos-danger);font-size:12.5px;font-weight:500}
#pos-app code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;background:#f3f6fb;border-radius:5px;padding:1px 5px;color:#35507c}
#pos-app .lp-badge,#pos-app .pos-badge:not(:empty){display:inline-block;background:var(--pos-soft);color:var(--pos-blue);border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600}
#pos-app .pos-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#pos-app .tcs-price-flag{display:inline-block;background:var(--pos-warn-soft);color:var(--pos-warn);border:1px solid #f3d19c;border-radius:6px;padding:2px 7px;font-size:12px;font-weight:600;line-height:1.45}
#pos-app .lp-notification{margin:0;padding:8px 16px;background:var(--pos-ok-soft);color:#205b37;border-bottom:1px solid #cfe7d8;font-size:13.5px}
#pos-app .lp-notification:empty{display:none}
#pos-app .lp-notification.lp-error,#pos-app .lp-error:not(:empty){background:var(--pos-danger-soft);color:#8f2019;border-color:#f1c7c3}
#pos-app #pos-modal-error{border-radius:8px;border:1px solid #f1c7c3;margin:10px 0 0}
#pos-app .pos-head{gap:12px;padding:8px 16px;box-shadow:0 1px 0 #e3e9f1}
#pos-app .pos-chip{min-height:48px}
#pos-app .pos-icon-btn{min-width:40px;padding:8px}
#pos-app .pos-exit{min-height:48px;border-color:#c9d6ea}
#pos-app .pos-scan{box-shadow:0 1px 3px #16305a14}
#pos-app .pos-scan input,#pos-app .pos-scan input:focus{border:0;box-shadow:none;min-height:0;padding:12px 0;background:transparent}
#pos-app .pos-key{min-height:52px;min-width:76px;border-radius:var(--pos-radius);border-color:var(--pos-line);background:#fff}
#pos-app .pos-key:hover:not(:disabled){border-color:#b9cdf3}
#pos-app .pos-table th{font-weight:600;letter-spacing:.01em}
#pos-app .pos-table tbody tr:hover td{background:#f8faff}
#pos-app .pos-qty{gap:6px}
#pos-app .pos-qty .lp-button{min-width:36px;min-height:36px;padding:4px 8px;font-size:16px}
#pos-app .pos-qty input{width:84px;min-height:36px;text-align:center;padding:4px 6px;font-variant-numeric:tabular-nums}
#pos-app .pos-line-actions{white-space:nowrap;text-align:right}
#pos-app .pos-icon{min-width:34px;min-height:34px;padding:4px 8px;margin-left:4px}
#pos-app .pos-after{font-weight:400;font-size:12px}
#pos-app .pos-col-gross,#pos-app .pos-col-disc{color:#445a7c}
#pos-app .pos-card{box-shadow:0 1px 3px #16305a0f}
#pos-app .pos-kv{align-items:baseline;font-size:13.5px}
#pos-app .pos-kv span{color:#4f6080}
#pos-app .pos-kv-sub span,#pos-app .pos-kv-sub b{font-size:12.5px;font-weight:500}
#pos-app .pos-kv-pending b{color:#8a4b00}
#pos-app .pos-customer .pos-kv b{text-align:right;overflow-wrap:anywhere}
#pos-app .pos-customer-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;line-height:1.4}
#pos-app .pos-customer-meta .lp-button,#pos-app .pos-customer-actions .lp-button{min-height:32px;padding:5px 10px;font-size:12.5px;margin:0}
#pos-app #pos-extra{margin:8px 0;border:1px solid var(--pos-line-soft);border-radius:var(--pos-radius);background:#fafcff}
#pos-app #pos-extra summary{padding:9px 12px;margin:0;font-weight:600;border-radius:var(--pos-radius)}
#pos-app #pos-extra[open] summary{border-bottom:1px solid var(--pos-line-soft)}
#pos-app .pos-extra-body{padding:6px 12px 12px;display:grid;gap:8px}
#pos-app #pos-extra label{margin:0}
#pos-app #delivery-details{display:grid;gap:8px;padding:10px;border-radius:8px;background:#fff;border:1px dashed #c9d6ea}
#pos-app #delivery-details[hidden]{display:none}
#pos-app .pos-pay{min-height:44px;border-radius:var(--pos-radius);border-color:var(--pos-line);font-weight:500}
#pos-app .pos-pay:hover{background:var(--pos-soft)}
#pos-app #pos-pay-fields label{margin:10px 0 6px}
#pos-app #pos-pay-fields input{font-size:17px;min-height:46px;font-variant-numeric:tabular-nums}
#pos-app .pos-actions{margin:12px 0 6px;padding-bottom:4px}
#pos-app .pos-actions .lp-button{min-height:50px;font-size:15px}
#pos-app .pos-actions .pos-complete{font-size:16px}
#pos-app .pos-pay-note{display:block}
#pos-app .pos-modal-head{gap:12px;background:#fbfcfe;border-radius:14px 14px 0 0}
#pos-app .pos-modal-head .lp-button{min-width:36px;min-height:36px;padding:4px 8px;font-size:18px;line-height:1}
#pos-app .pos-modal-body>p{margin:0 0 10px;line-height:1.5}
#pos-app .pos-modal-body label{margin:12px 0 0}
#pos-app .pos-modal-actions{margin-top:16px;align-items:center}
#pos-app .pos-results{gap:8px}
#pos-app .pos-result{border-radius:var(--pos-radius);border-color:var(--pos-line);padding:10px 12px}
#pos-app .pos-held{align-items:flex-start;border-color:var(--pos-line);background:#fff;gap:14px}
#pos-app .pos-held-main{min-width:0}
#pos-app .pos-held-main small{margin-top:2px;overflow-wrap:anywhere}
#pos-app .pos-held-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end;flex:0 0 auto;max-width:55%}
#pos-app .pos-ref{display:inline-block;font-family:ui-monospace,Consolas,monospace;font-size:12px;background:var(--pos-soft);color:var(--pos-navy);border-radius:6px;padding:1px 6px;margin-right:4px}
#pos-app .pos-estimate{color:#8a4b00!important}
#pos-app .pos-confirm-text{font-size:13px;color:var(--pos-danger);font-weight:500}
#pos-app .pos-confirm{margin-top:12px;padding:12px;border-radius:var(--pos-radius);border:1px solid #f1c7c3;background:var(--pos-danger-soft)}
#pos-app .pos-confirm p{margin:0 0 8px}
#pos-app .pos-dupes{border-radius:var(--pos-radius)}
#pos-app .pos-counter-row{align-items:center}
#pos-app .pos-phone{gap:8px}
#pos-app .pos-phone select{width:120px!important}
#pos-app .pos-consent{margin-top:14px!important;padding:10px;border-radius:8px;background:#f7f9fd;border:1px solid var(--pos-line-soft)}
#pos-app .tcs-password{display:flex;position:relative;align-items:center;width:100%}
#pos-app .tcs-password input{padding-right:50px!important;margin:0}
#pos-app .tcs-password button{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:34px;border:0;border-radius:7px;background:transparent;color:#456286;display:grid;place-items:center;cursor:pointer}
#pos-app .tcs-password button:hover{background:var(--pos-soft)}
#pos-app .tcs-password button:focus-visible{outline:0;box-shadow:var(--pos-focus)}
#pos-app .tcs-password button[aria-pressed=true]{color:var(--pos-blue);background:#e3ecff}
#pos-app .pos-tender{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:var(--pos-ok-soft);color:#205b37;font-size:13px}
#pos-app .pos-receipt-wrap{background:#f6f8fc;border-color:var(--pos-line);padding:14px}
#pos-app .pos-receipt-wrap .receipt{background:#fff;border:1px solid var(--pos-line-soft);border-radius:8px;box-shadow:none;margin:0 auto;max-width:560px;padding:18px 20px;font-size:13px;color:#111}
.receipt .rc-head{text-align:center;margin-bottom:10px}
.receipt .rc-head h2{margin:0 0 2px;font-size:18px}
.receipt .rc-head p{margin:0;color:#444;font-size:12px}
.receipt .rc-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;margin:8px 0 10px;padding:8px 0;border-top:1px dashed #999;border-bottom:1px dashed #999;font-size:12px}
.receipt .rc-meta div{display:flex;gap:6px;min-width:0}
.receipt .rc-meta dt{color:#555;flex:0 0 auto}
.receipt .rc-meta dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.receipt table.rc-items,.receipt table.rc-totals{width:100%;border-collapse:collapse}
.receipt .rc-items th{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:#555;border-bottom:1px solid #999;padding:4px 3px;text-align:left}
.receipt .rc-items td{padding:5px 3px;border-bottom:1px solid #e5e5e5;vertical-align:top}
.receipt .rc-name{overflow-wrap:anywhere;word-break:break-word}
.receipt .rc-num,.receipt .rc-items th.rc-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.receipt .rc-totals{margin-top:8px}
.receipt .rc-totals th{text-align:left;font-weight:500;padding:3px;color:#333}
.receipt .rc-totals td{text-align:right;padding:3px;font-variant-numeric:tabular-nums;white-space:nowrap}
.receipt .rc-grand th,.receipt .rc-grand td{font-size:15px;font-weight:700;border-top:1px solid #333;border-bottom:1px solid #333;padding:6px 3px}
.receipt .rc-foot{text-align:center;margin:12px 0 0;font-size:12px;color:#333}
@media(min-width:1500px){#pos-app .pos-body{grid-template-columns:minmax(0,7fr) minmax(400px,3fr)}}
@media(max-width:1100px){#pos-app .pos-col-gross{display:none}}
@media(max-width:820px){#pos-app .pos-keys{width:100%}#pos-app .pos-key{flex:1 1 60px;min-width:0}#pos-app .pos-actions{position:sticky;bottom:0;z-index:2;background:#fff;box-shadow:0 -6px 12px #fff}}
@media(max-width:480px){#pos-app .pos-head{gap:8px;padding:8px 10px}#pos-app .pos-title{display:none}#pos-app .pos-brand{border-right:0;padding-right:0}#pos-app .pos-chip{min-height:42px;padding:5px 9px}#pos-app .pos-col-disc{display:none}#pos-app .pos-qty input{width:52px}#pos-app .pos-qty .lp-button{min-width:32px}#pos-app .pos-held{flex-direction:column}#pos-app .pos-held-actions{max-width:none;justify-content:flex-start}.receipt .rc-meta{grid-template-columns:1fr}}
@page thermal80{size:80mm 297mm;margin:3mm}
@media print{
 html,body,:root{background:#fff!important}
 body #pos-app{display:none!important}
 body[data-print-size] #receipt:not(:empty){position:static!important;inset:auto;background:#fff!important;padding:0!important;overflow:visible!important;backdrop-filter:none!important}
 body[data-print-size] #receipt .receipt{box-shadow:none!important;border:0!important;border-radius:0!important;background:#fff!important;color:#000!important;margin:0 auto!important}
 body[data-print-size="a4"] #receipt .receipt{max-width:180mm!important;padding:0!important;font-size:12px!important}
 body[data-print-size="80"] #receipt .receipt{page:thermal80;width:72mm!important;max-width:72mm!important;padding:0!important;font-size:11px!important}
 .receipt tr,.receipt .rc-meta div{break-inside:avoid}
}
/* 2.1.2 layout: the checkout bar (grand total + Hold + Review/Complete) never scrolls away */
#pos-app [hidden]{display:none!important}
#pos-app .pos-right{overflow:hidden;gap:0;padding-right:0}
#pos-app .pos-right-scroll{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:0 4px 12px 0;overscroll-behavior:contain}
#pos-app .pos-checkout{flex:0 0 auto;background:#fff;border:1px solid #dfe6f0;border-radius:12px;padding:10px 12px;box-shadow:0 -2px 10px #16305a14}
#pos-app .pos-checkout-total{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:0 2px 8px}
#pos-app .pos-checkout-total span{font-weight:600;color:#34496a}
#pos-app .pos-checkout-total b{font-size:24px;color:var(--pos-navy);font-variant-numeric:tabular-nums}
#pos-app .pos-checkout-total b.pos-pending{font-size:14px;font-weight:500;color:var(--pos-muted)}
#pos-app .pos-checkout .pos-actions{position:static;margin:0;padding:0;background:transparent;box-shadow:none}
#pos-app .pos-checkout .pos-actions .lp-button{min-height:48px}
#pos-app .pos-pay-grid{gap:6px}
#pos-app .pos-pay{min-height:38px;padding:6px 8px;font-size:13.5px}
#pos-app #pay-cash,#pos-app #pay-card{scroll-margin:24px}
#pos-app .pos-card{padding:12px 14px}
#pos-app .pos-kv{padding:5px 0}
#pos-app .pos-table th:nth-child(2){width:26%}
#pos-app .pos-table td:nth-child(2) strong{display:block;line-height:1.3}
#pos-app .pos-qty input{width:68px}
@media(max-width:820px){#pos-app .pos-right{overflow:visible}#pos-app .pos-right-scroll{overflow:visible;padding:0}#pos-app .pos-checkout{position:sticky;bottom:0;z-index:3;margin-top:10px}}
#pos-app .pos-qty input:not([type=checkbox]):not([type=radio]){width:68px;flex:0 0 68px;min-width:0;text-align:center}
#pos-app .pos-card .pos-grand{margin-top:8px;padding:8px 12px}
#pos-app .pos-card .pos-grand b{font-size:18px}
@media(max-width:480px){#pos-app .pos-qty input:not([type=checkbox]):not([type=radio]){width:50px;flex-basis:50px}}
@media(max-width:820px){#pos-app .pos-checkout{position:fixed;left:8px;right:8px;bottom:8px;margin:0;z-index:20}#pos-app .pos-shell{padding-bottom:132px}#pos-app .pos-checkout-total b{font-size:20px}#pos-app .pos-checkout .pos-actions .lp-button{min-height:44px}}
#pos-app .pos-table code{white-space:nowrap}
/* ---- 2.1.3: management sidebar — brand stays, navigation scrolls on its own; the page never crops the shell ---- */
@media(min-width:721px){
 #lankapos .lp-shell{min-height:100vh;min-height:100dvh;align-items:start}
 #lankapos aside{position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding-bottom:12px}
 #lankapos aside .lp-brand{flex:0 0 auto}
 #lankapos aside nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:16px;margin-right:-6px;padding-right:6px}
}
/* 2.1.3-rc3: #lankapos must not be a scroll container, or the sticky sidebar sticks to #lankapos (which never scrolls) and
   leaves the viewport on long pages. overflow:clip clips like hidden without creating a scroll container; browsers without
   clip support fall back to visible (the grid already keeps content inside with min-width:0). */
#lankapos{overflow:visible;overflow:clip}
/* Mobile keeps the original off-canvas drawer: fixed, full viewport height, scrolling on its own. */
@media(max-width:720px){#lankapos aside{position:fixed;top:0;left:0;height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain}}
/* staff form: POS counter assignment + role capabilities */
#lankapos .lp-checks{grid-column:1/-1;border:1px solid var(--lp-border,#e5ebf3);border-radius:10px;padding:10px 14px;margin:0}
#lankapos .lp-checks legend{font-size:13px;font-weight:600;padding:0 6px}
#lankapos .lp-check{display:inline-flex;align-items:center;gap:8px;margin:6px 18px 6px 0;font-weight:500}
#lankapos .lp-check input{width:18px;height:18px}
#lankapos .lp-role-caps{grid-column:1/-1;background:#f4f7fd;border:1px solid #e0e8f5;border-radius:10px;padding:10px 14px;font-size:13px}
#lankapos .lp-role-caps p{margin:4px 0 0;color:#40516d}
/* core reports */
.lp-core-report{padding:18px 20px}
.lp-core-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid #e3e9f1;padding-bottom:10px;margin-bottom:12px}
.lp-core-head h2{margin:2px 0 0;font-size:20px}
.lp-core-scope{display:flex;flex-direction:column;gap:2px;font-size:12.5px;color:#40516d}
.lp-core-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin:0 0 14px}
.lp-core-summary div{border:1px solid #e3e9f1;border-radius:9px;padding:8px 10px;background:#fbfcfe}
.lp-core-summary small{display:block;color:#5f6f88;font-size:12px}
.lp-core-summary b{font-size:16px;font-variant-numeric:tabular-nums}
.lp-core-report h3{margin:16px 0 4px;font-size:15px}
.lp-core-table table{width:100%;border-collapse:collapse;font-size:13px}
.lp-core-table th,.lp-core-table td{padding:6px 8px;border-bottom:1px solid #edf1f7;text-align:left;vertical-align:top}
.lp-core-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.lp-core-table tfoot td{border-top:2px solid #c9d6ea;background:#f6f8fc}
.lp-core-notes{margin-top:14px}
@page reportpage{size:A4 landscape;margin:10mm}
@media print{
 body[data-print-size="report"] #receipt:not(:empty){position:static!important;inset:auto;background:#fff!important;padding:0!important;overflow:visible!important;backdrop-filter:none!important}
 body[data-print-size="report"] #receipt .lp-core-report{page:reportpage;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;max-width:none!important;color:#000;background:#fff!important;font-size:10.5px}
 body[data-print-size="report"] .lp-core-summary div{background:#fff!important}
 body[data-print-size="report"] .lp-core-table table{font-size:10px}
 body[data-print-size="report"] .lp-core-table thead{display:table-header-group}
 body[data-print-size="report"] .lp-core-table tr{break-inside:avoid}
 body[data-print-size="report"] .lp-core-table tfoot td{background:#fff!important}
}
/* report print preview: shown on screen in the #receipt overlay, only the report is printed */
#receipt:has(.lp-core-preview){z-index:1000}
#receipt .lp-core-preview{max-width:1200px;margin:0 auto}
#receipt .lp-core-preview .lp-core-report{background:#fff;border-radius:14px;box-shadow:0 20px 70px #0003}
#receipt .lp-core-preview .actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:#fff;border-radius:12px;padding:10px 14px;margin-bottom:10px;position:sticky;top:0;z-index:1}
#receipt .lp-core-preview .actions small{color:#40516d}
@media print{body[data-print-size="report"] #receipt .lp-core-preview{max-width:none;margin:0}body[data-print-size="report"] #receipt .lp-core-preview .actions{display:none!important}}

/* 2.1.4 FEFO guidance in the POS */
#pos-app .pos-fefo{display:block;color:#40516d;font-size:12px}
#pos-app .pos-fefo-warn{display:block}
#pos-app .pos-fefo-warn .pos-fefo-use{padding:3px 8px;font-size:12px;margin-left:4px}
#pos-app .pos-result.pos-fefo-first{border-color:#2f9e6b}
#pos-app .pos-batch-expired{opacity:.55;cursor:not-allowed}

/* 2.1.5: single checkbox fields in forms (e.g. "No expiry"): box and text on one line, full row */
#lankapos .lp-form-grid label.tcs-check{display:flex;flex-direction:row;align-items:center;gap:10px;grid-column:1/-1;margin:0;font-weight:600}
#lankapos .lp-form-grid label.tcs-check input{width:18px;height:18px;margin:0;flex:0 0 auto}

/* 2.1.5-rc2: DEMO environment marker. Management: static strip at the top of the main column (the sticky sidebar is untouched).
   POS mode: fixed strip above the POS shell. Receipts: .rc-demo line, also printed. */
#tcs-demo-strip{background:#b3261e;color:#fff;font:700 13px/1.4 Arial,sans-serif;text-align:center;padding:6px 12px;letter-spacing:.2px}
#tcs-demo-banner{display:none}
body.pos-mode.tcs-demo #tcs-demo-banner{display:block;position:fixed;top:0;left:0;right:0;height:26px;z-index:60;background:#b3261e;color:#fff;font:700 13px/26px Arial,sans-serif;text-align:center}
body.pos-mode.tcs-demo .pos-shell{top:26px}
.rc-demo{margin:0 0 6px;padding:4px;border:2px solid #000;font-weight:700;text-align:center;font-size:12px}
@media print{#tcs-demo-banner,#tcs-demo-strip{display:none!important}.rc-demo{display:block!important}}
/* 2.1.5-rc5: one invoice/receipt layout (POS receipt, A4/PDF, 80 mm, Sales & returns reprint). Presentation only. */
.receipt{color:#111;font-family:Arial,Helvetica,sans-serif;line-height:1.4}
.receipt .rc-head{display:flex;align-items:center;gap:14px;text-align:left;margin:0 0 10px;padding:0 0 10px;border-bottom:2px solid #111}
.receipt .rc-logo{width:58px;height:58px;object-fit:contain;flex:0 0 auto}
.receipt .rc-store{min-width:0}
.receipt .rc-head h2{margin:0;font-size:19px;line-height:1.2;color:#111}
.receipt .rc-head p{margin:2px 0 0;color:#333;font-size:12px;overflow-wrap:anywhere}
.receipt .rc-doc{margin-left:auto;text-align:right;flex:0 0 auto}
.receipt .rc-doc strong{display:block;font-size:11px;letter-spacing:.14em;color:#555}
.receipt .rc-doc span{display:block;font-size:17px;font-weight:700;white-space:nowrap}
.receipt .rc-status{margin:0 0 8px;padding:5px;border:2px solid #000;font-weight:700;text-align:center;letter-spacing:.04em}
.receipt .rc-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 18px;margin:0 0 12px;padding:0;border:0;font-size:12px}
.receipt .rc-meta div{display:flex;gap:8px;min-width:0}
.receipt .rc-meta dt{color:#555;flex:0 0 64px}
.receipt .rc-meta dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.receipt table.rc-items{width:100%;border-collapse:collapse;table-layout:auto}
.receipt .rc-items thead{display:table-header-group}
.receipt .rc-items th{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:#333;background:#f1f3f6;border-top:1px solid #111;border-bottom:1px solid #111;padding:5px 6px;text-align:left;white-space:nowrap}
.receipt .rc-items td{padding:6px;border-bottom:1px solid #ddd;vertical-align:top;font-size:12.5px}
.receipt .rc-items .rc-no{width:22px;color:#555;text-align:right;padding-right:4px}
.receipt .rc-name{overflow-wrap:anywhere;word-break:break-word;width:52%}
.receipt .rc-sub{display:block;color:#555;font-size:11px}
.receipt .rc-num,.receipt .rc-items th.rc-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.receipt .rc-count{margin:6px 0 0;font-size:11px;color:#555}
.receipt .rc-sum{display:flex;justify-content:flex-end;margin-top:6px;break-inside:avoid}
.receipt table.rc-totals{width:auto;min-width:58%;border-collapse:collapse;margin:0}
.receipt .rc-totals th{text-align:left;font-weight:400;padding:3px 12px 3px 0;color:#222;font-size:12.5px}
.receipt .rc-totals td{text-align:right;padding:3px 0;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12.5px}
.receipt .rc-totals th small{color:#555}
.receipt .rc-grand th,.receipt .rc-grand td{font-size:15px;font-weight:700;border-top:2px solid #111;border-bottom:1px solid #111;padding:6px 12px 6px 0}
.receipt .rc-grand td{padding-right:0}
.receipt .rc-balance th,.receipt .rc-balance td{font-weight:700;border-top:1px solid #999;padding-top:5px}
.receipt .rc-foot{text-align:center;margin:14px 0 0;padding-top:8px;border-top:1px dashed #999;font-size:12px;color:#333}
.receipt .rc-staff:empty{display:none}
.receipt .rc-staff{margin-top:14px}
.receipt tr,.receipt .rc-meta div{break-inside:avoid}
/* 80 mm thermal: compact, black and white, two-line items so no column is clipped */
.receipt.receipt-80{width:72mm;max-width:72mm;font-size:11px;line-height:1.3;color:#000}
.receipt-80 .rc-demo{font-size:10.5px;padding:3px}
.receipt-80 .rc-head{flex-direction:column;gap:3px;text-align:center;padding-bottom:6px;margin-bottom:6px;border-bottom:1px dashed #000}
.receipt-80 .rc-logo{width:24mm;height:auto;filter:grayscale(1)}
.receipt-80 .rc-head h2{font-size:14px}
.receipt-80 .rc-head p{font-size:10.5px;color:#000}
.receipt-80 .rc-status{font-size:11px;padding:3px}
.receipt-80 .rc-meta{grid-template-columns:1fr;gap:1px;font-size:10.5px;margin-bottom:6px}
.receipt-80 .rc-meta dt{flex-basis:17mm;color:#000}
.receipt-80 .rc-items th{background:none;font-size:10px;color:#000;padding:2px 0;border-top:1px dashed #000;border-bottom:1px dashed #000}
.receipt-80 .rc-items td{font-size:11px;padding:1px 0;border:0}
.receipt-80 .rc-items .rc-l1 td{padding-top:4px;font-weight:600;width:auto}
.receipt-80 .rc-items .rc-l2 td{padding-bottom:3px;border-bottom:1px dotted #777}
.receipt-80 .rc-items .rc-l2 td:last-child{padding-left:6px;vertical-align:bottom}
.receipt-80 .rc-sub{color:#000;font-size:10px}
.receipt-80 .rc-count{font-size:10px;color:#000;margin-top:4px}
.receipt-80 .rc-sum{display:block}
.receipt-80 table.rc-totals{width:100%;min-width:0}
.receipt-80 .rc-totals th,.receipt-80 .rc-totals td{font-size:11px;color:#000;padding:2px 0}
.receipt-80 .rc-totals th{padding-right:6px}
.receipt-80 .rc-grand th,.receipt-80 .rc-grand td{font-size:13px;border-top:1px solid #000;border-bottom:1px solid #000;padding:4px 0}
.receipt-80 .rc-balance th,.receipt-80 .rc-balance td{border-top:1px dashed #000}
.receipt-80 .rc-foot{font-size:10.5px;color:#000;border-top:1px dashed #000;margin-top:8px;padding-top:5px}
#receipt .receipt.receipt-80{margin:0 auto;padding:4mm}
@media print{
 body[data-print-size="a4"] #receipt .receipt{max-width:186mm!important}
 body[data-print-size="80"] #receipt .receipt{page:thermal80;width:72mm!important;max-width:72mm!important;padding:0!important;font-size:11px!important}
 .receipt .rc-items th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
/* 2.1.6-rc1: search bars, return preview, similar-product dialog */
.lp-search-form{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;padding:14px 16px}
.lp-search-form label{flex:1 1 280px;margin:0}
.lp-search-form small{flex-basis:100%}
.lp-hint{margin:4px 2px 10px}
#refund-preview h3{margin:0 0 4px}
table.refund-preview{border-collapse:collapse;margin-top:6px;min-width:min(100%,480px)}
table.refund-preview th{text-align:left;font-weight:500;color:#40516d;padding:4px 18px 4px 0}
table.refund-preview td{text-align:right;padding:4px 0;font-variant-numeric:tabular-nums}
#receipt .similar-box{max-width:760px}
#receipt .similar-box h2{margin-top:0}
/* 2.1.7: the primary print button stays highlighted inside the reprint overlay */
#receipt .actions .lp-button.lp-primary{background:#2455cc;border-color:#2455cc;color:#fff}
/* 2.1.8: cash received / change rows (stored values only) */
.receipt .rc-tender th,.receipt .rc-tender td{font-size:12px;color:#333}
.receipt-80 .rc-tender th,.receipt-80 .rc-tender td{font-size:10.5px;color:#000}
/* 2.1.8-rc3: invoice-item picker for returns (wraps long product names; keyboard selectable) */
.lp-pick{position:relative}
.lp-pick-list{position:absolute;left:0;right:0;top:100%;z-index:40;margin:4px 0 0;padding:4px;list-style:none;background:#fff;border:1px solid #cfd9e8;border-radius:10px;box-shadow:0 12px 30px #16305a26;max-height:320px;overflow-y:auto;overflow-x:hidden}
.lp-pick-list li{display:block;padding:7px 10px;border-radius:7px;cursor:pointer;white-space:normal;overflow-wrap:anywhere;line-height:1.35;font-weight:400}
.lp-pick-list li+li{border-top:1px solid #eef2f8}
.lp-pick-list li[aria-selected=true],.lp-pick-list li:hover{background:#edf3ff}
.lp-pick-list .lp-pick-top{display:block;font-size:13px;color:#192b46}
.lp-pick-list .lp-pick-name{display:block;font-size:13.5px;color:#0f1f38}
.lp-pick-list .lp-pick-meta{display:block;font-size:11.5px;color:#708098}
.lp-pick-list .lp-pick-empty{cursor:default;color:#708098}
/* 2.1.8-rc3: printable reports keep each section heading with its table; the supplier statement prints compactly so a short statement
   fits on one page. Long tables break between rows; the column header repeats, rows and totals are printed once. */
@media print{
 body[data-print-size="report"] .lp-core-print h3,body[data-print-size="report"] .lp-core-print .lp-core-count{break-after:avoid;page-break-after:avoid}
 body[data-print-size="report"] .lp-core-print .lp-core-total td{border-top:2px solid #9aa9c0;background:#fff!important}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-head{padding-bottom:4px;margin-bottom:6px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-head h2{font-size:15px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-scope span{font-size:9.5px;line-height:1.3}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-section>p.muted:not(.lp-core-count){font-size:9.5px;margin:0 0 2px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0 0 6px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-summary div{padding:3px 6px;border-radius:5px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-summary small{font-size:8.5px;line-height:1.25;display:block}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-summary b{font-size:11px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] h3{margin:7px 0 2px;font-size:11.5px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-count{margin:0 0 2px;font-size:8.5px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-table table{font-size:9px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-table th,body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-table td{padding:2px 5px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .lp-core-notes{font-size:8px;line-height:1.3;margin-top:6px}
 body[data-print-size="report"] .lp-core-print[data-report-type="supplier_statement"] .rc-demo{margin:0 0 4px}
}
.lp-pick-list .lp-pick-loading{cursor:default;color:#708098;font-style:italic}
/* 2.1.9-rc3: the 2.1.9 reports (stock write-offs, slow-moving stock) print as compactly as the supplier statement, so a short report fits
   on one page; long reports still break between rows (column header repeated, rows and totals printed once). The totals row stays with
   the last data row instead of starting a new page on its own. */
@media print{
 body[data-print-size="report"] .lp-core-print .lp-core-total{break-before:avoid;page-break-before:avoid}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-head{padding-bottom:4px;margin-bottom:6px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-head h2{font-size:15px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-scope span{font-size:9px;line-height:1.3}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-section>p.muted:not(.lp-core-count){font-size:9px;margin:0 0 2px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0 0 6px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-summary div{padding:3px 6px;border-radius:5px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-summary small{font-size:8px;line-height:1.25;display:block}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-summary b{font-size:10.5px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) h3{margin:6px 0 2px;font-size:11px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-count{margin:0 0 2px;font-size:8.5px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-table table{font-size:9px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-table th,body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-table td{padding:2px 5px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .lp-core-notes{font-size:7.5px;line-height:1.3;margin-top:5px}
 body[data-print-size="report"] .lp-core-print:is([data-report-type="write_offs"],[data-report-type="slow_moving"],[data-report-type="customer_statement"]) .rc-demo{margin:0 0 4px}
}
/* 2.1.9-rc3: dashboard slow-moving panel spans the full width under the two panels */
.dashboard-bottom .dash-slow{grid-column:1/-1}
/* 2.1.9-rc3: price labels (no barcode). Sizes come from --lw / --lh (mm). */
#receipt .lp-label-preview{max-width:1100px;margin:0 auto}
#receipt .lp-label-preview .actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:#fff;border-radius:12px;padding:10px 14px;margin-bottom:10px;position:sticky;top:0;z-index:1}
#receipt .lp-labels{display:flex;flex-wrap:wrap;gap:2mm;background:#fff;padding:6mm;border-radius:12px}
.lp-label{width:var(--lw);height:var(--lh);box-sizing:border-box;border:0.3mm dashed #9aa9c0;padding:1.2mm 1.6mm;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;text-align:center}
.lp-label-store{font-size:calc(var(--lh)*.085);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lp-label-name{font-size:min(calc(var(--lh)*.12),calc(var(--lw)*.075));font-weight:700;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lp-label-pack{font-size:calc(var(--lh)*.09);line-height:1.1}
.lp-label-price{font-size:min(calc(var(--lh)*.22),calc(var(--lw)*.12));font-weight:800;line-height:1.05;white-space:nowrap}
.lp-label-mrp{font-size:calc(var(--lh)*.085);line-height:1.1}
@media print{
 body[data-print-size="labels"] #receipt .lp-label-preview{max-width:none;margin:0}
 body[data-print-size="labels"] #receipt .lp-label-preview .actions{display:none!important}
 body[data-print-size="labels"] #receipt .lp-labels{padding:0;border-radius:0}
 body[data-print-size="labels"] #receipt .lp-labels[data-mode="sheet"]{page:tcslabelsheet}
 body[data-print-size="labels"] #receipt .lp-labels[data-mode="sheet"] .lp-label{break-inside:avoid}
 body[data-print-size="labels"] #receipt .lp-labels[data-mode="roll"]{display:block;gap:0}
 body[data-print-size="labels"] #receipt .lp-labels[data-mode="roll"] .lp-label{page:tcslabelroll;break-after:page;border:0}
 body[data-print-size="labels"] #receipt .lp-labels[data-mode="roll"] .lp-label:last-child{break-after:auto}
}
#lankapos .lp-label-warn{color:#8a5a00;font-weight:600}
