:root{font-family:Inter,Pyidaungsu,system-ui,sans-serif;color:#172b2a;background:#f4f8f6;font-synthesis:none;text-rendering:optimizeLegibility;font-weight:400;--ink:#172b2a;--muted:#64748b;--line:#e2e8f0;--teal:#0f766e;--teal-dark:#0b5e58;--teal-soft:#d1fae5;--bg:#f4f8f6;--panel:#fff;--warning:#c17b1b;--danger:#c94a4a;--shadow:0 8px 26px rgba(26,54,63,.055)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:248px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:24px 16px 16px}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 27px}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--teal);color:#fff;display:grid;place-items:center;box-shadow:0 6px 16px #0f766e33}.brand strong{display:block;font-size:21px;letter-spacing:-.8px;color:var(--ink)}.brand strong span{color:var(--teal)}.brand small{display:block;font-size:9px;letter-spacing:1.45px;color:#94a1a6;font-weight:800;margin-top:1px}.mobile-close{display:none!important;margin-left:auto}.store-chip{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:11px 12px;font-size:12px;font-weight:700;color:#4a5e66;margin-bottom:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-dot{width:7px;height:7px;min-width:7px;border-radius:50%;background:#24ad78;box-shadow:0 0 0 3px #24ad781f}.nav-caption{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#a0adb2;padding:0 12px;margin:0 0 9px}.nav-list{display:flex;flex-direction:column;gap:5px}.nav-item{width:100%;border:0;background:transparent;color:#718189;border-radius:9px;display:flex;align-items:center;gap:12px;padding:12px;text-align:left;font-size:12px;font-weight:600;transition:.18s}.nav-item:hover{background:#f5f9f9;color:var(--teal)}.nav-item.active{background:var(--teal-soft);color:var(--teal);font-weight:800}.nav-item span:nth-child(2){flex:1}.nav-count{font-size:10px;background:var(--teal);color:#fff;padding:2px 7px;border-radius:12px}.sidebar-bottom{margin-top:auto}.offline-card{border:1px solid #e3efec;background:#f7fbfa;border-radius:11px;padding:11px;display:flex;align-items:center;gap:9px}.offline-icon{width:31px;height:31px;display:grid;place-items:center;color:var(--teal);background:#e3f2ef;border-radius:9px}.offline-card div:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1}.offline-card strong{font-size:11px}.offline-card small{font-size:9px;color:var(--muted)}.version{display:block;text-align:center;color:#a6b1b5;font-size:9px;letter-spacing:1px;margin-top:15px}.main-area{margin-left:248px;min-height:100vh}.topbar{height:83px;background:#ffffffeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;position:sticky;top:0;z-index:15}.topbar-left{display:flex;align-items:center;gap:13px}.topbar h1{margin:3px 0 0;font-size:20px;letter-spacing:-.5px}.eyebrow{font-size:9px;letter-spacing:1.2px;font-weight:800;color:#a0adb2}.topbar-actions{display:flex;align-items:center;gap:14px}.connection-pill{display:flex;align-items:center;gap:8px;background:#f1f8f6;border:1px solid #e1efeb;border-radius:30px;padding:8px 11px;font-size:10px;font-weight:700;color:#438478}.avatar{width:34px;height:34px;background:#d8eeea;color:#0f766e;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:12px}.icon-btn{width:31px;height:31px;display:inline-grid;place-items:center;border:0;background:transparent;color:#829198;border-radius:8px}.icon-btn:hover{background:#f0f5f5;color:var(--teal)}.danger-icon:hover{background:#fff0f0;color:var(--danger)}.menu-toggle{display:none}.content-area{padding:27px 35px 42px;max-width:1600px;margin:0 auto}.page-stack{display:flex;flex-direction:column;gap:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2{margin:0;font-size:18px;letter-spacing:-.3px}.section-heading p{margin:5px 0 0;color:var(--muted);font-size:11px}.subtle-count{font-size:10px;color:#8b9aa0;font-weight:700}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 14px;border:1px solid transparent;font-size:11px;font-weight:800;transition:.18s;white-space:nowrap}.button-primary{color:#fff;background:var(--teal);box-shadow:0 5px 12px #0f766e24}.button-primary:hover{background:var(--teal-dark);transform:translateY(-1px)}.button-primary:disabled{transform:none;box-shadow:none}.button-outline{background:#fff;border-color:#dce6e8;color:#51646b}.button-outline:hover{border-color:#a9d4cd;color:var(--teal);background:#f8fcfb}.button-danger{background:#fff4f3;border-color:#f5d7d4;color:#c34b46}.button-danger:hover{background:#ffe9e7}.welcome-banner{min-height:140px;padding:26px 30px;border-radius:16px;background:linear-gradient(105deg,#0d6c65,#13867c 65%,#1d9b8f);color:#fff;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative}.welcome-banner:after{content:"";position:absolute;width:260px;height:260px;right:110px;top:-155px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 24px #ffffff0a,0 0 0 48px #ffffff09}.welcome-kicker{font-size:8px;letter-spacing:2px;font-weight:800;color:#bfe5df}.welcome-banner h2{font-size:22px;margin:8px 0 5px;letter-spacing:-.5px}.welcome-banner p{font-size:11px;color:#d1ece8;margin:0}.welcome-decoration{width:90px;height:90px;border-radius:27px;background:#ffffff21;display:grid;place-items:center;color:#ffffffd1;transform:rotate(-8deg);z-index:1;margin-right:35px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 17px 14px;box-shadow:var(--shadow);min-width:0}.metric-primary{background:#f0faf8;border-color:#d9efeb}.metric-head{display:flex;align-items:center;justify-content:space-between;color:#718189;font-size:10px;font-weight:700}.metric-head>div{width:30px;height:30px;border-radius:9px;background:#f1f6f6;display:grid;place-items:center;color:#77918f}.metric-primary .metric-head>div{background:#dcefeb;color:var(--teal)}.metric-alert{background:#fff5e8!important;color:#bd812c!important}.metric-card>strong{display:block;font-size:20px;letter-spacing:-.7px;margin:10px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-card>small{display:block;font-size:9px;color:#89989d}.metric-foot{display:flex;align-items:center;gap:4px;border-top:1px solid rgba(120,150,150,.13);margin-top:12px;padding-top:9px;color:#829197;font-size:9px}.metric-primary .metric-foot{color:var(--teal)}.metric-link{border:0;background:transparent;padding:0;margin-top:8px;color:var(--teal);font-size:9px;font-weight:800;display:flex;align-items:center;gap:3px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:18px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.panel-heading h3{font-size:13px;margin:0}.panel-heading p{font-size:10px;color:var(--muted);margin:4px 0 0}.period-switch{display:flex;gap:3px;padding:3px;background:#f1f5f5;border-radius:8px}.period-switch button{border:0;background:transparent;color:#87969b;border-radius:6px;padding:6px 10px;font-size:9px;font-weight:800}.period-switch button.active{background:#fff;color:var(--teal);box-shadow:0 1px 4px #0f282814}.bar-chart{height:190px;display:flex;align-items:stretch;gap:clamp(5px,1.2vw,16px);padding:11px 2px 0}.bar-column{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px}.bar-track{height:100%;width:min(28px,70%);background:#f3f7f7;border-radius:6px 6px 3px 3px;display:flex;align-items:flex-end;overflow:hidden}.bar-fill{width:100%;background:linear-gradient(180deg,#2ca99a,#0f766e);border-radius:6px 6px 2px 2px;min-height:0;transition:height .3s}.bar-column small{font-size:8px;color:#8a999e;white-space:nowrap}.dashboard-chart{height:185px}.low-stock-panel{display:flex;flex-direction:column}.warning-text{color:#c48a35}.low-stock-list{display:flex;flex-direction:column;gap:13px;min-height:130px}.low-stock-row{display:flex;align-items:center;gap:9px}.low-stock-row>div:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.low-stock-row strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.low-stock-row small{font-size:8px;color:#94a0a4}.low-stock-row>b{font-size:10px}.table-product-icon{width:33px;height:33px;border-radius:9px;background:#f0f6f5;color:#6b9891;display:grid;place-items:center;flex-shrink:0}.panel-link{display:flex;align-items:center;gap:4px;background:transparent;border:0;border-top:1px solid var(--line);padding:13px 0 0;margin-top:auto;color:var(--teal);font-size:10px;font-weight:800}.recent-panel{padding-bottom:8px}.recent-panel .panel-heading{margin-bottom:10px}.text-button{border:0;background:transparent;color:var(--teal);font-size:10px;font-weight:800;display:inline-flex;align-items:center;gap:5px}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f8fafb;color:#849298;font-size:9px;font-weight:800;letter-spacing:.4px;padding:12px 13px;border-bottom:1px solid var(--line)}td{padding:12px 13px;border-bottom:1px solid #f0f3f4;font-size:10px;color:#586b72}tbody tr:last-child td{border-bottom:0}td strong{color:#273b43}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;color:var(--teal)}.tag{display:inline-flex;align-items:center;border-radius:20px;padding:4px 8px;background:#f0f4f5;color:#64787e;font-size:8px;font-weight:800}.tag-success{background:#e9f7f1;color:#27855d}.tag-warn{background:#fff5e6;color:#ad7628}.tag-danger{background:#fff0ef;color:#c14e49}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:18px;align-items:start}.pos-products-panel{min-width:0}.toolbar{display:flex;gap:10px;margin:17px 0}.search-box{height:39px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e2e9eb;border-radius:9px;padding:0 12px;color:#92a1a6;flex:1;min-width:100px}.search-box:focus-within{border-color:#9dcfc8;box-shadow:0 0 0 3px #0f766e0f}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:10px;color:var(--ink)}.search-box input::-moz-placeholder{color:#a7b2b6}.search-box input::placeholder{color:#a7b2b6}.select-control{height:39px;border:1px solid #e2e9eb;border-radius:9px;background:#fff;padding:0 10px;color:#65777d;font-size:10px;outline:0}.category-select{max-width:155px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:11px}.product-tile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;min-height:147px;transition:.18s;box-shadow:0 4px 15px #1a363f06}.product-tile:hover:not(:disabled){border-color:#9ccdc6;transform:translateY(-2px);box-shadow:0 8px 20px #0f766e14}.product-tile-icon{height:34px;width:34px;border-radius:10px;background:#edf6f4;color:var(--teal);display:grid;place-items:center;margin-bottom:10px}.product-tile>strong{font-size:11px;line-height:1.45;min-height:30px;color:#263d45}.product-sku{font-size:8px;color:#99a6aa;margin-top:3px}.product-tile-bottom{width:100%;margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:4px}.product-tile-bottom>b{font-size:10px;color:var(--teal)}.product-tile-bottom>span{font-size:8px;font-weight:800}.out-of-stock{filter:grayscale(.5)}.stock-ok{color:#31866a}.stock-warning{color:#c3842a;font-weight:800}.cart-panel{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);position:sticky;top:100px;overflow:hidden}.cart-title{padding:17px 17px 13px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.cart-title h2{display:flex;gap:8px;align-items:center;font-size:13px;margin:0}.cart-title h2 svg{color:var(--teal)}.cart-title p{font-size:9px;color:var(--muted);margin:4px 0 0}.cart-customer{padding:13px 16px;border-bottom:1px solid var(--line)}.cart-customer>label,.form-panel label,.modal-card label{display:flex;flex-direction:column;gap:6px;color:#586a71;font-size:10px;font-weight:700}.cart-customer input,.form-panel input,.form-panel select,.form-panel textarea,.modal-card input,.modal-card select{width:100%;border:1px solid #e1e8e9;border-radius:8px;padding:10px;color:var(--ink);font-size:10px;outline:0;background:#fff}.cart-customer input:focus,.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus,.modal-card input:focus,.modal-card select:focus{border-color:#9bcec7;box-shadow:0 0 0 3px #0f766e0f}.payment-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}.payment-switch button{border:1px solid #e4eaeb;background:#fff;border-radius:7px;padding:8px;color:#819096;font-size:9px;font-weight:800;display:flex;gap:6px;align-items:center;justify-content:center}.payment-switch button.selected{border-color:#a6d3cb;color:var(--teal);background:#f0f8f6}.payment-switch button:disabled{opacity:.55;cursor:not-allowed}.payment-switch-hint{display:block;margin-top:6px;color:#65757c;font-size:9px;line-height:1.45}.payment-switch-warning{color:#a05a00}.cart-items{max-height:330px;overflow:auto;padding:0 15px}.cart-empty{min-height:170px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#a5b1b5;text-align:center}.cart-empty svg{color:#bdcbc9}.cart-empty strong{font-size:10px;color:#64777d}.cart-empty span{font-size:9px}.cart-line{border-bottom:1px solid #eff2f3;padding:12px 0}.cart-line-top{display:flex;align-items:flex-start;justify-content:space-between}.cart-line-top>div{display:flex;flex-direction:column;gap:3px}.cart-line-top strong{font-size:10px;color:#334850}.cart-line-top small{font-size:8px;color:#9aa7ab}.price-mode{display:flex;align-items:center;gap:4px;margin-top:8px}.price-mode button{border:1px solid #e6ecec;background:#fff;border-radius:5px;padding:4px 7px;color:#819096;font-size:8px}.price-mode button.active{background:#eaf6f3;border-color:#c6e2dc;color:var(--teal);font-weight:800}.price-mode>span{margin-left:auto;color:#71858b;font-size:9px;font-weight:700}.cart-line-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:9px}.cart-line-bottom>strong{font-size:10px}.qty-control{display:flex;align-items:center;border:1px solid #e6ecec;border-radius:6px;overflow:hidden}.qty-control button{width:25px;height:23px;border:0;background:#f7f9f9;color:#71858b;display:grid;place-items:center}.qty-control button:hover{color:var(--teal);background:#e9f5f2}.qty-control b{min-width:25px;text-align:center;font-size:9px}.held-section{border-top:1px dashed #dfe8e7;background:#fbfdfd;padding:10px 15px}.held-heading{display:flex;justify-content:space-between;color:#819096;font-size:9px;font-weight:800;margin-bottom:6px}.held-heading b{color:var(--teal)}.held-row{display:flex;align-items:center;justify-content:space-between;padding:5px 0;font-size:9px;color:#62767c}.held-row button{border:0;background:#eaf6f3;color:var(--teal);border-radius:5px;padding:5px 7px;font-size:8px;font-weight:800}.cart-summary{padding:14px 16px;background:#fbfcfc;border-top:1px solid var(--line)}.cart-summary>div:not(.discount-row){display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#78878d;margin-bottom:8px}.cart-summary>div b{color:#41555d}.discount-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:11px 0}.discount-row label{font-size:9px;color:#7a898f}.discount-row input{width:110px;border:1px solid #e4eaea;border-radius:6px;padding:7px 8px;text-align:right;font-size:9px;outline:0}.total-row{border-top:1px solid #e8eeee;padding-top:11px;margin-top:8px!important;color:#324a51!important}.total-row>strong{font-size:17px;color:var(--teal)}.checkout-button{width:100%;margin-top:6px;padding:12px}.cart-note{display:block;text-align:center;color:#9aa6aa;font-size:8px;margin-top:8px}.mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.mini-stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px;display:flex;align-items:center;gap:11px;box-shadow:var(--shadow)}.mini-stat-icon{width:34px;height:34px;border-radius:10px;background:#edf6f4;color:var(--teal);display:grid;place-items:center}.mini-stat-icon.warning{background:#fff5e9;color:#bd8434}.mini-stat>div:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}.mini-stat small{font-size:9px;color:#859399}.mini-stat strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel .table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.table-toolbar .search-box{max-width:360px}.table-product{display:flex;align-items:center;gap:9px}.table-product>span:last-child{display:flex;flex-direction:column;gap:4px}.table-product strong{font-size:10px}.table-product small{font-size:8px;color:#96a3a7}.table-actions{display:flex;align-items:center;gap:6px}.small-action{border:1px solid #e2eaea;background:#fff;color:#60767c;border-radius:6px;padding:6px 8px;font-size:8px;font-weight:800}.small-action:hover{color:var(--teal);border-color:#aad4cd}.sales-summary-chip{border:1px solid #dcece8;background:#f1f8f6;color:#49867d;border-radius:30px;padding:8px 12px;font-size:9px;font-weight:800;display:flex;align-items:center;gap:7px}.two-column-layout{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(0,1.25fr);gap:15px;align-items:start}.form-panel{display:flex;flex-direction:column;gap:13px}.form-panel .panel-heading{margin-bottom:4px}.panel-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:10px;background:#eaf5f2;color:var(--teal)}.form-panel label{gap:7px}.form-panel input,.form-panel select,.form-panel textarea{font-weight:500}.form-panel textarea{resize:vertical}.expense-list{display:flex;flex-direction:column}.expense-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eff2f3}.expense-row:last-child{border-bottom:0}.expense-badge{width:34px;height:34px;border-radius:10px;background:#f2f6f6;color:#738c90;display:grid;place-items:center}.expense-details{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.expense-details strong{font-size:10px}.expense-details small{font-size:8px;color:#8d9a9f}.expense-amount{display:flex;align-items:center;gap:6px;color:#c16f5b;font-size:10px;font-weight:800;white-space:nowrap}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:15px}.chart-panel{min-height:270px}.chart-legend{display:flex;align-items:center;gap:6px;color:#87969b;font-size:9px}.chart-legend i{width:7px;height:7px;background:var(--teal);border-radius:2px}.category-bars{display:flex;flex-direction:column;gap:16px;padding-top:4px}.category-bar-row>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:9px;color:#6c7e84}.category-bar-row b{font-size:9px;color:#42575e}.category-track{height:8px;background:#f1f5f5;border-radius:20px;overflow:hidden}.category-fill{height:100%;background:#14877b;border-radius:20px}.fill-1{background:#53a9a0}.fill-2{background:#7dbbb1}.fill-3{background:#a0c9c1}.fill-4{background:#c2dad4}.analytics-note,.security-note{display:flex;gap:12px;align-items:flex-start;background:#f6faf9;border-color:#e3efec;box-shadow:none;color:#49877e}.analytics-note>div,.security-note>div{flex:1}.analytics-note strong,.security-note strong{font-size:10px;color:#426d68}.analytics-note p,.security-note p{font-size:9px;line-height:1.7;color:#718981;margin:5px 0 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.field-hint{font-size:8px;color:#a0abad;font-weight:400}.backup-card{border:1px solid #e8eeee;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.backup-card>div{display:flex;flex-direction:column;gap:5px;min-width:0}.backup-card strong{font-size:10px}.backup-card small{font-size:8px;color:#849399;line-height:1.5}.backup-warning{display:flex;align-items:flex-start;gap:8px;border-radius:8px;padding:11px;background:#fff9ed;color:#a77c36;font-size:8px;line-height:1.6}.backup-warning svg{flex-shrink:0}.danger-zone{border-top:1px solid #f0e6e5;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.danger-zone>div{display:flex;flex-direction:column;gap:5px}.danger-zone strong{font-size:10px;color:#b85a54}.danger-zone small{font-size:8px;color:#929da1}.security-note{background:#fffaf1;border-color:#f2e9d9;color:#ad8443}.security-note strong{color:#96713a}.security-note p{color:#877b68}.empty-state{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px 16px;color:#9eaaae;gap:8px}.empty-icon{width:48px;height:48px;background:#f0f6f5;color:#7ba29d;border-radius:15px;display:grid;place-items:center}.empty-state strong{font-size:11px;color:#52676e}.empty-state p{font-size:9px;color:#92a0a4;margin:0 0 4px;max-width:280px;line-height:1.6}.modal-backdrop{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;background:#0c1f2366;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:18px}.modal-card{width:min(590px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 80px #09202640}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-header h2{font-size:17px;margin:0}.modal-header p{font-size:9px;color:#839196;margin:5px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid .span-2{grid-column:span 2}.modal-card label{gap:6px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.toast{position:fixed;z-index:100;bottom:22px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;background:#183b3e;color:#fff;border-radius:10px;padding:11px 15px;box-shadow:0 10px 30px #0c2a2a33;font-size:10px;max-width:calc(100vw - 30px);animation:toast-in .2s ease-out}.toast svg{color:#7dd5b2;flex-shrink:0}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.receipt-print-area,.sidebar-backdrop{display:none}@media (max-width:1180px){.sidebar{width:220px}.main-area{margin-left:220px}.content-area{padding-left:24px;padding-right:24px}.topbar{padding:0 24px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-layout{grid-template-columns:minmax(0,1fr) 330px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}@media (max-width:920px){.pos-layout{grid-template-columns:1fr}.cart-panel{position:static;max-width:none}.cart-items{max-height:260px}.analytics-grid,.settings-grid,.two-column-layout,.dashboard-grid{grid-template-columns:1fr}.low-stock-panel{min-height:230px}.mobile-close{display:inline-grid!important}.menu-toggle{display:inline-grid}.sidebar{transform:translate(-100%);transition:transform .25s ease;box-shadow:12px 0 40px #122d321f}.sidebar.sidebar-open{transform:translate(0)}.sidebar-backdrop{display:block;position:fixed;z-index:25;top:0;right:0;bottom:0;left:0;border:0;background:#0e202352}.main-area{margin-left:0}.topbar{height:73px}.content-area{padding-top:22px}}@media (max-width:600px){.topbar{padding:0 14px}.topbar h1{font-size:16px}.eyebrow{font-size:7px}.topbar-actions{gap:8px}.connection-pill{font-size:0;padding:9px}.connection-pill .live-dot{width:8px;height:8px}.install-btn{padding:8px;font-size:0}.install-btn svg{margin:0}.avatar{width:30px;height:30px}.content-area{padding:17px 13px 28px}.page-stack{gap:14px}.welcome-banner{min-height:125px;padding:20px;border-radius:13px}.welcome-banner h2{font-size:19px}.welcome-banner p{font-size:9px;max-width:220px;line-height:1.6}.welcome-decoration{width:58px;height:58px;margin:0 3px 0 0;border-radius:19px}.welcome-decoration svg{width:32px}.dashboard-stats{gap:9px}.metric-card{padding:13px}.metric-card>strong{font-size:15px}.metric-head{font-size:9px}.metric-head>div{width:26px;height:26px}.metric-foot{font-size:8px}.panel{padding:14px;border-radius:11px}.section-heading h2{font-size:15px}.section-heading p{font-size:9px;line-height:1.5}.section-heading>.button{padding:9px 10px;font-size:9px}.section-heading{align-items:flex-start}.dashboard-grid{gap:12px}.bar-chart{height:160px;gap:5px}.dashboard-chart{height:155px}.bar-track{width:70%}.bar-column small{font-size:7px}.panel-heading h3{font-size:12px}.panel-heading p{font-size:9px}.mini-stats{grid-template-columns:1fr 1fr;gap:8px}.mini-stat{padding:10px;gap:8px}.mini-stat-icon{width:29px;height:29px}.mini-stat small{font-size:8px}.mini-stat strong{font-size:11px}.mini-stats .mini-stat:last-child:nth-child(odd){grid-column:span 2}.toolbar{gap:7px}.search-box{height:37px;padding:0 9px}.search-box input{font-size:9px}.category-select{max-width:116px;height:37px;font-size:9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-tile{min-height:135px;padding:11px}.product-tile>strong{font-size:10px}.product-tile-bottom>b{font-size:9px}.product-tile-bottom>span{font-size:7px}.cart-title{padding:13px}.cart-customer{padding:11px 13px}.cart-items{padding:0 13px}.cart-summary{padding:12px 13px}.table-wrap{margin:0 -2px}th,td{padding:10px 9px;font-size:9px}.table-toolbar .search-box{max-width:none}.table-toolbar{flex-wrap:wrap}.table-actions{gap:3px}.small-action{padding:6px}.sales-summary-chip{font-size:8px;padding:7px 9px}.two-column-layout{gap:12px}.backup-card{align-items:flex-start;flex-direction:column}.backup-card .button{width:100%}.form-grid{grid-template-columns:1fr 1fr;gap:10px}.modal-card{padding:17px;border-radius:13px}.modal-header h2{font-size:15px}.modal-card label{font-size:9px}.modal-card input,.modal-card select{font-size:10px;padding:9px}.toast{bottom:14px;font-size:9px;width:-moz-max-content;width:max-content;max-width:calc(100vw - 24px)}.period-switch button{padding:6px 8px}.expense-row{gap:8px}.expense-amount{font-size:9px}.connection-pill{gap:0}.topbar-left{gap:7px}}@media print{body{background:#fff!important}.app-shell>*:not(.receipt-print-area){display:none!important}.receipt-print-area{display:block!important;position:static!important;width:100%!important}.receipt-paper{margin:0 auto;padding:4mm 3mm;color:#000;font-family:Arial,sans-serif;font-size:10pt;box-sizing:border-box}.receipt-paper-58{width:58mm}.receipt-paper-80{width:80mm}.receipt-paper h2{text-align:center;font-size:15pt;margin:0 0 7px}.receipt-paper p{font-size:9pt;margin:4px 0;overflow-wrap:anywhere}.receipt-paper hr{border:0;border-top:1px dashed #333;margin:8px 0}.receipt-item,.receipt-total{display:flex;justify-content:space-between;gap:8px;margin:5px 0;font-size:9pt}.receipt-grand{font-weight:700;font-size:12pt;border-top:1px solid #000;padding-top:7px}.receipt-footer{text-align:center;margin-top:14px!important}.receipt-test-title{text-align:center;font-weight:900;letter-spacing:1px}@page{size:auto;margin:0}}.heading-actions{display:flex;align-items:center;gap:8px}.csv-export-row{border:1px solid #e8eeee;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.csv-export-row>strong{font-size:10px;color:#51666d}.csv-export-row>div{display:flex;gap:6px;flex-wrap:wrap}.csv-export-row .button{padding:7px 9px;font-size:8px}@media (max-width:600px){.heading-actions{flex-wrap:wrap;justify-content:flex-end}.heading-actions .button{font-size:8px;padding:8px 9px}.csv-export-row{align-items:flex-start;flex-direction:column}.csv-export-row>div{width:100%}.csv-export-row .button{flex:1}}.business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}.inline-search{width:min(250px,45vw);height:35px;border:1px solid #e1e9eb;border-radius:8px;padding:0 10px;font-size:10px;color:var(--ink);outline:none}.inline-search:focus{border-color:#9bcfc6;box-shadow:0 0 0 3px #0f766e12}.ledger-balance{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dceee9;background:#f5fbf9;border-radius:9px;padding:12px;color:#68817e;font-size:10px}.ledger-balance strong{font-size:13px;color:var(--teal);text-align:right}.expiry-notice{display:flex;align-items:flex-start;gap:12px;background:#fffaf1;border-color:#f0e5d0;color:#ae8137;box-shadow:none}.expiry-notice>svg{flex-shrink:0;margin-top:1px}.expiry-notice>div{flex:1}.expiry-notice strong{font-size:10px;color:#96713a}.expiry-notice p{font-size:9px;line-height:1.7;color:#877b68;margin:5px 0 0}.cloud-panel{display:flex;flex-direction:column;gap:13px}.cloud-status{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e5eded;border-radius:10px;background:#f8fbfb}.cloud-status>div{flex:1;min-width:0}.cloud-status strong{display:block;font-size:10px;color:#344b52}.cloud-status small{display:block;font-size:8px;color:#849399;margin-top:4px}.cloud-actions{display:flex;flex-wrap:wrap;gap:8px}.cloud-help{padding:12px;border:1px dashed #dce7e8;border-radius:9px;background:#fbfdfd;color:#71848a;font-size:9px;line-height:1.7}.cloud-help strong{color:#4d686e}.cloud-error{padding:10px 12px;border:1px solid #f1d9d7;border-radius:8px;background:#fff7f6;color:#b54c47;font-size:9px;line-height:1.6}.cloud-email{font-size:10px;color:var(--teal);font-weight:800}@media (max-width:920px){.business-grid{grid-template-columns:1fr}}@media (max-width:600px){.business-grid{gap:12px}.inline-search{width:100%;max-width:100%}.panel-heading:has(.inline-search){align-items:stretch;flex-direction:column}.cloud-actions .button{flex:1}.ledger-balance{align-items:flex-start;flex-direction:column}.ledger-balance strong{text-align:left}}.nav-list{overflow-y:auto;min-height:0;padding-right:2px}.analytics-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.cash-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.cash-summary-grid>div{border:1px solid var(--line);border-radius:10px;padding:13px;display:flex;flex-direction:column;gap:6px}.cash-summary-grid small{color:var(--muted);font-size:9px}.cash-summary-grid strong{font-size:13px;color:var(--ink)}@media (max-width:920px){.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.cash-summary-grid{grid-template-columns:1fr}.cash-summary-grid>div{padding:10px}.cash-summary-grid strong{font-size:12px}}.branch-switcher,.branch-single-pill{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 11px;border:1px solid #dce7e8;border-radius:10px;background:#fff;color:#496168;font-size:10px;font-weight:700;white-space:nowrap}.branch-switcher select{max-width:170px;border:0;outline:0;background:transparent;color:#30464e;font:inherit;cursor:pointer}.branch-single-pill small{padding:3px 6px;border-radius:999px;background:#eef7f4;color:#0f766e;font-size:8px;font-weight:800}.branch-list{display:flex;flex-direction:column;gap:8px}.branch-list-item{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e6edef;border-radius:10px;background:#fff;min-width:0}.branch-list-item.branch-current{border-color:#9bcfc6;background:#f4fbf9}.branch-list-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#edf6f4;color:#0f766e;flex-shrink:0}.branch-list-info{flex:1;min-width:0}.branch-list-info>strong{display:block;color:#30464e;font-size:11px}.branch-list-info>small{display:block;margin-top:3px;color:#839399;font-size:8px;overflow-wrap:anywhere}.branch-list-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.branch-list-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.branch-list-actions .small-action{display:grid;place-items:center;min-width:29px;height:29px;padding:0}.branch-list-actions .danger-action{color:#b84c46}.branch-category-form{display:flex;align-items:flex-end;gap:10px;margin-bottom:14px}.branch-category-input{flex:1;min-width:0}.category-management-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.category-management-item{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e7edef;border-radius:9px;min-width:0}.category-management-item.category-disabled{opacity:.58;background:#f7f9f9}.category-color-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.category-management-info{flex:1;min-width:0}.category-management-info strong{display:block;font-size:10px;color:#344b52}.category-management-info small{display:block;margin-top:3px;font-size:8px;color:#849399}@media (max-width:760px){.branch-switcher,.branch-single-pill{min-height:34px;padding:0 8px;max-width:46vw}.branch-switcher select{max-width:105px}.branch-single-pill span{max-width:90px;overflow:hidden;text-overflow:ellipsis}.branch-single-pill small{display:none}.category-management-list{grid-template-columns:1fr}.branch-category-form{align-items:stretch;flex-direction:column}.branch-category-form .button{align-self:flex-start}}.stock-receiving-form{gap:16px}.receiving-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:5px;padding-bottom:10px;border-bottom:1px solid var(--line)}.receiving-lines-heading strong{display:block;font-size:12px;color:var(--ink)}.receiving-lines-heading small{display:block;margin-top:4px;color:var(--muted);font-size:9px}.receiving-lines{display:grid;gap:11px}.receiving-line-card{border:1px solid #e3ebed;border-radius:12px;padding:13px;background:#fcfefe;display:grid;gap:11px;min-width:0}.receiving-line-title{display:flex;justify-content:space-between;align-items:center}.receiving-line-title strong{font-size:11px;color:#365058}.receiving-line-card label{display:flex;flex-direction:column;gap:6px;color:#5e737a;font-size:9px;font-weight:700;min-width:0}.receiving-line-card input:not([type=checkbox]),.receiving-line-card select{width:100%;height:36px;border:1px solid #e0e8ea;border-radius:8px;background:#fff;padding:0 9px;color:var(--ink);font:inherit;font-size:10px;outline:none;min-width:0}.receiving-line-card input:focus,.receiving-line-card select:focus{border-color:#9bcfc6;box-shadow:0 0 0 3px #0f766e12}.receiving-mode{display:flex!important;align-items:center;flex-direction:row!important;gap:8px!important;border-radius:8px;padding:8px 10px;background:#f1f8f6;color:#3d746b!important;font-size:9px!important}.receiving-mode input{accent-color:#0f766e;width:15px;height:15px}.receiving-new-product{padding:10px;background:#f7fbfa;border-radius:9px}.receiving-selected-product{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:#f4f8f8;border-radius:8px;color:#71848a;font-size:8px}.receiving-selected-product b{color:#42636a;font-size:9px}.receiving-price-fields{padding:10px;background:#f7fbfa;border:1px solid #e5f0ed;border-radius:9px}.receiving-price-fields input{font-weight:700!important;color:#0f766e!important}.receiving-price-fields label{font-size:9px}.receiving-line-values{padding-top:10px;border-top:1px dashed #dce6e8}.receiving-line-values input[readonly]{background:#f0f5f5;color:#436168;font-weight:800}.receiving-total-row{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid #dceee9;border-radius:10px;background:#f5fbf9}.receiving-total-row>div{display:flex;flex-direction:column;gap:5px}.receiving-total-row small{color:#718782;font-size:9px}.receiving-total-row strong{color:#0f766e;font-size:14px}.receiving-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.receipt-details{min-width:80px;color:#0f766e;font-size:9px}.receipt-details summary{cursor:pointer;font-weight:800}.receipt-details>div{min-width:190px;padding:8px 10px;background:#f6f9f9;border:1px solid #e5eded;border-radius:8px;margin-top:6px}.receipt-details p{font-size:8px;line-height:1.55;margin:3px 0;color:#536a70}.receipt-details small{font-size:8px;color:#849399}@media (max-width:760px){.receiving-lines-heading{align-items:stretch;flex-direction:column}.receiving-lines-heading .button{align-self:flex-start}.receiving-total-row{flex-direction:column}.receiving-actions{display:grid;grid-template-columns:1fr}.receiving-actions .button{width:100%}.receiving-selected-product{align-items:flex-start;flex-direction:column}.receiving-line-card{padding:10px}}.profile-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:15px;align-items:start}.profile-side-column{gap:15px;min-width:0}.profile-panel{min-width:0}.profile-image-row{display:flex;align-items:center;gap:14px;padding:13px;border:1px dashed #d5e7e2;border-radius:12px;background:#f7fbf9}.shop-logo-preview,.owner-avatar-preview{width:78px;height:78px;flex:0 0 78px;border:1px solid #dce9e5;background:#e9f5f1;color:#0f766e;display:grid;place-items:center;overflow:hidden}.shop-logo-preview{border-radius:13px}.owner-avatar-preview{border-radius:50%}.shop-logo-preview img,.owner-avatar-preview img,.avatar-button img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.profile-image-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.profile-image-actions strong{font-size:11px;color:var(--ink)}.profile-image-actions small{font-size:8px;line-height:1.5;color:var(--muted)}.profile-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:5px}.profile-account-status{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dcece8;background:#f3faf7;border-radius:10px;color:#0f766e}.profile-account-status>div{display:flex;flex-direction:column;gap:4px;min-width:0}.profile-account-status strong{font-size:10px}.profile-account-status small{font-size:9px;color:#66827c;overflow-wrap:anywhere}.profile-account-meta{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 10px;padding:12px;border:1px solid var(--line);border-radius:9px;font-size:9px;overflow-wrap:anywhere}.profile-account-meta span{color:var(--muted)}.profile-account-meta strong,.profile-account-meta code{color:var(--ink);font-size:9px}.profile-auth-form{gap:11px}.profile-auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.text-link{border:0;background:transparent;padding:3px 0;color:var(--teal);font-size:9px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.avatar-button{border:0;padding:0;overflow:hidden;flex:0 0 34px}.avatar-button:focus-visible{outline:3px solid rgba(20,184,166,.35);outline-offset:2px}.receipt-shop-logo{display:block;max-width:24mm;max-height:18mm;-o-object-fit:contain;object-fit:contain;margin:0 auto 7px}.receipt-shop-extra{text-align:center;font-weight:700}@media (max-width:920px){.profile-grid{grid-template-columns:1fr}}@media (max-width:600px){.profile-image-row{align-items:flex-start}.shop-logo-preview,.owner-avatar-preview{width:66px;height:66px;flex-basis:66px}.profile-form-actions .button{width:100%}.profile-account-meta{grid-template-columns:82px minmax(0,1fr)}}.brand-mark img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:inherit}:root{color-scheme:light;--color-primary-50: #ecfdf5;--color-primary-100: #d1fae5;--color-primary-500: #10b981;--color-primary-600: #059669;--color-primary-700: #047857;--color-primary-800: #065f46;--color-primary-900: #064e3b;--color-accent: #f59e0b;--color-bg: #f6fbf8;--color-surface: #ffffff;--color-surface-soft: #f7fbfa;--color-surface-muted: #eef6f2;--color-border: #d7e5df;--color-border-strong: #7c948d;--color-text: #0f2e27;--color-text-muted: #5b6b66;--color-success: #15803d;--color-warning: #b45309;--color-error: #b91c1c;--color-info: #0369a1;--color-focus: #0d9488;--color-on-primary: #ffffff;--ink: var(--color-text);--muted: var(--color-text-muted);--line: var(--color-border);--teal: var(--color-primary-700);--teal-dark: var(--color-primary-800);--teal-soft: var(--color-primary-100);--bg: var(--color-bg);--panel: var(--color-surface);--panel-soft: var(--color-surface-soft);--panel-muted: var(--color-surface-muted);--warning: var(--color-warning);--danger: var(--color-error);--shadow: 0 8px 26px rgba(15,46,39,.06)}:root[data-theme=dark]{color-scheme:dark;--color-primary-50: #06251d;--color-primary-100: #0c3a2e;--color-primary-500: #10b981;--color-primary-600: #10b981;--color-primary-700: #34d399;--color-primary-800: #6ee7b7;--color-primary-900: #a7f3d0;--color-accent: #fbbf24;--color-bg: #071a16;--color-surface: #0f231e;--color-surface-soft: #122a23;--color-surface-muted: #163029;--color-border: #24463d;--color-border-strong: #3c6b5e;--color-text: #e6f5ef;--color-text-muted: #a7bdb6;--color-success: #4ade80;--color-warning: #fbbf24;--color-error: #f87171;--color-info: #38bdf8;--color-focus: #5eead4;--color-on-primary: #052e22;--ink: var(--color-text);--muted: var(--color-text-muted);--line: var(--color-border);--teal: var(--color-primary-700);--teal-dark: var(--color-primary-800);--teal-soft: var(--color-primary-100);--bg: var(--color-bg);--panel: var(--color-surface);--panel-soft: var(--color-surface-soft);--panel-muted: var(--color-surface-muted);--warning: var(--color-warning);--danger: var(--color-error);--shadow: 0 10px 28px rgba(0,0,0,.24)}:root[data-theme=dark] body,:root[data-theme=dark] .app-shell{background:var(--bg);color:var(--ink)}:root[data-theme=dark] .sidebar,:root[data-theme=dark] .topbar,:root[data-theme=dark] .panel,:root[data-theme=dark] .metric-card,:root[data-theme=dark] .cart-panel,:root[data-theme=dark] .modal-card,:root[data-theme=dark] .product-tile,:root[data-theme=dark] .branch-list-item,:root[data-theme=dark] .category-management-item,:root[data-theme=dark] .receiving-line-card,:root[data-theme=dark] .profile-account-meta,:root[data-theme=dark] .backup-card,:root[data-theme=dark] .csv-export-row,:root[data-theme=dark] .store-chip,:root[data-theme=dark] .branch-switcher,:root[data-theme=dark] .branch-single-pill,:root[data-theme=dark] .cart-customer,:root[data-theme=dark] .cart-line,:root[data-theme=dark] .cart-summary,:root[data-theme=dark] .stock-card,:root[data-theme=dark] .cash-summary-grid>div{background:var(--panel);color:var(--ink);border-color:var(--line);box-shadow:var(--shadow)}:root[data-theme=dark] .topbar{background:#111c2eeb}:root[data-theme=dark] .brand strong,:root[data-theme=dark] .topbar h1,:root[data-theme=dark] .section-heading h2,:root[data-theme=dark] .panel-heading h3,:root[data-theme=dark] .metric-card>strong,:root[data-theme=dark] .branch-list-info>strong,:root[data-theme=dark] .category-management-info strong,:root[data-theme=dark] .profile-image-actions strong,:root[data-theme=dark] .profile-account-meta strong,:root[data-theme=dark] .profile-account-meta code,:root[data-theme=dark] .receiving-line-title strong,:root[data-theme=dark] .low-stock-row strong,:root[data-theme=dark] .cart-title h2,:root[data-theme=dark] .cart-line strong,:root[data-theme=dark] .product-tile>strong,:root[data-theme=dark] .table-product strong{color:var(--ink)}:root[data-theme=dark] .nav-item{color:#9aabba}:root[data-theme=dark] .nav-item:hover{background:#172b40;color:#5eead4}:root[data-theme=dark] .nav-item.active{background:#123c38;color:#5eead4}:root[data-theme=dark] .store-chip,:root[data-theme=dark] .branch-switcher,:root[data-theme=dark] .branch-single-pill{color:#c5d2dc}:root[data-theme=dark] .branch-switcher select{color:var(--ink)}:root[data-theme=dark] .nav-caption,:root[data-theme=dark] .eyebrow,:root[data-theme=dark] .subtle-count,:root[data-theme=dark] .metric-head,:root[data-theme=dark] .metric-card>small,:root[data-theme=dark] .metric-foot,:root[data-theme=dark] .section-heading p,:root[data-theme=dark] .panel-heading p,:root[data-theme=dark] .low-stock-row small,:root[data-theme=dark] .branch-list-info>small,:root[data-theme=dark] .category-management-info small,:root[data-theme=dark] .profile-image-actions small,:root[data-theme=dark] .profile-account-meta span,:root[data-theme=dark] .receiving-lines-heading small,:root[data-theme=dark] .receiving-total-row small,:root[data-theme=dark] .empty-state p,:root[data-theme=dark] .empty-state,:root[data-theme=dark] .modal-header p,:root[data-theme=dark] .version,:root[data-theme=dark] .cart-note,:root[data-theme=dark] .table-product small,:root[data-theme=dark] .receipt-details small{color:var(--muted)}:root[data-theme=dark] .button-outline,:root[data-theme=dark] .icon-btn,:root[data-theme=dark] .text-button,:root[data-theme=dark] .metric-link,:root[data-theme=dark] .text-link,:root[data-theme=dark] .panel-link{color:#b7c8d3}:root[data-theme=dark] .button-outline{background:var(--panel-soft);border-color:var(--line)}:root[data-theme=dark] .button-outline:hover{background:var(--panel-muted);border-color:#397d75;color:#5eead4}:root[data-theme=dark] .button-primary{background:#0f766e;color:#fff}:root[data-theme=dark] .button-primary:hover{background:#0d8b80}:root[data-theme=dark] .button-danger{background:#3a2028;color:#faa;border-color:#65343e}:root[data-theme=dark] .welcome-banner{background:linear-gradient(110deg,#07564f,#0f766e 58%,#15998c)}:root[data-theme=dark] .metric-primary{background:#123c38;border-color:#1e5a51}:root[data-theme=dark] .metric-primary .metric-head>div,:root[data-theme=dark] .metric-primary .metric-foot{color:#5eead4}:root[data-theme=dark] .metric-head>div,:root[data-theme=dark] .table-product-icon,:root[data-theme=dark] .product-tile-icon,:root[data-theme=dark] .mini-stat-icon,:root[data-theme=dark] .panel-icon,:root[data-theme=dark] .empty-icon,:root[data-theme=dark] .branch-list-icon,:root[data-theme=dark] .offline-icon{background:#1a3143;color:#77cfc4}:root[data-theme=dark] .offline-card,:root[data-theme=dark] .cloud-status,:root[data-theme=dark] .cloud-help,:root[data-theme=dark] .receiving-selected-product,:root[data-theme=dark] .receiving-new-product,:root[data-theme=dark] .profile-image-row,:root[data-theme=dark] .profile-account-status,:root[data-theme=dark] .receiving-mode,:root[data-theme=dark] .receiving-total-row,:root[data-theme=dark] .ledger-balance,:root[data-theme=dark] .backup-warning,:root[data-theme=dark] .security-note{background:var(--panel-soft);border-color:var(--line);color:var(--muted)}:root[data-theme=dark] .profile-account-status{color:#5eead4}:root[data-theme=dark] .profile-account-status small{color:#9ac7be}:root[data-theme=dark] .receiving-mode{color:#9be6dc!important}:root[data-theme=dark] .receiving-price-fields{background:#132a36;border-color:#28524e}:root[data-theme=dark] .receiving-price-fields input{color:#5eead4!important}:root[data-theme=dark] .receiving-total-row{border-color:#28524e}:root[data-theme=dark] .receiving-total-row strong,:root[data-theme=dark] .ledger-balance strong{color:#5eead4}:root[data-theme=dark] .branch-list-item.branch-current{background:#123c38;border-color:#276d63}:root[data-theme=dark] .category-management-item.category-disabled{background:#182538}:root[data-theme=dark] .period-switch,:root[data-theme=dark] .payment-switch,:root[data-theme=dark] .price-mode,:root[data-theme=dark] .qty-control{background:#1b2b40}:root[data-theme=dark] .period-switch button.active,:root[data-theme=dark] .payment-switch button.selected,:root[data-theme=dark] .price-mode button.active{background:#0f766e;color:#fff}:root[data-theme=dark] .bar-track,:root[data-theme=dark] .category-track{background:#243449}:root[data-theme=dark] .product-tile:hover{border-color:#397d75;background:#14283a}:root[data-theme=dark] .product-tile.out-of-stock{opacity:.55}:root[data-theme=dark] .table-wrap{border-color:var(--line)}:root[data-theme=dark] table th{background:#17263a;color:#aebdca;border-color:var(--line)}:root[data-theme=dark] table td{color:#dce6ed;border-color:var(--line)}:root[data-theme=dark] table tbody tr:hover{background:#17283b}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .search-box,:root[data-theme=dark] .inline-search,:root[data-theme=dark] .select-control,:root[data-theme=dark] .modal-card input,:root[data-theme=dark] .modal-card select,:root[data-theme=dark] .modal-card textarea,:root[data-theme=dark] .form-panel input,:root[data-theme=dark] .form-panel select,:root[data-theme=dark] .form-panel textarea,:root[data-theme=dark] .receiving-line-card input:not([type=checkbox]),:root[data-theme=dark] .receiving-line-card select{background:#0e1929;color:var(--ink);border-color:#304258}:root[data-theme=dark] input::-moz-placeholder,:root[data-theme=dark] textarea::-moz-placeholder{color:#718399}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#718399}:root[data-theme=dark] input:focus,:root[data-theme=dark] select:focus,:root[data-theme=dark] textarea:focus{border-color:#2dd4bf}:root[data-theme=dark] .connection-pill{background:#123c38;border-color:#245b53;color:#9fe7dc}:root[data-theme=dark] .tag{background:#1b2b40;color:#bdcbd7}:root[data-theme=dark] .tag-success{background:#123c32;color:#86efac}:root[data-theme=dark] .tag-warn{background:#3c3020;color:#f4cc80}:root[data-theme=dark] .danger-zone{border-color:#47313a}:root[data-theme=dark] .danger-zone strong{color:#fb9a9a}:root[data-theme=dark] .receipt-details>div{background:#17263a;border-color:var(--line)}:root[data-theme=dark] .receipt-details p{color:#c4d0da}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink);font:inherit;font-size:10px;font-weight:800;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.theme-toggle:hover{border-color:#8bc9be;color:var(--teal);transform:translateY(-1px)}.theme-toggle:focus-visible{outline:3px solid rgba(20,184,166,.28);outline-offset:2px}.mobile-bottom-nav{display:none}@media (max-width:920px){.mobile-bottom-nav{position:fixed;z-index:24;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px 9px calc(7px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--line);box-shadow:0 -8px 24px #0e282d14;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}:root[data-theme=dark] .mobile-bottom-nav{background:#111c2ef5;box-shadow:0 -8px 24px #0000003d}.mobile-bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:49px;padding:5px 2px;border:0;border-radius:10px;background:transparent;color:#7d8e96;font:inherit;font-size:9px;font-weight:700}.mobile-bottom-nav button.active{background:#e4f5f0;color:#0f766e}:root[data-theme=dark] .mobile-bottom-nav button{color:#9aabba}:root[data-theme=dark] .mobile-bottom-nav button.active{background:#123c38;color:#5eead4}.mobile-bottom-nav button b{position:absolute;top:1px;right:calc(50% - 24px);min-width:16px;padding:1px 4px;border-radius:20px;background:#0f766e;color:#fff;font-size:8px}.content-area{padding-bottom:102px}}@media (max-width:600px){.theme-toggle{min-height:32px;width:34px;padding:0;border-radius:9px}.theme-toggle span{display:none}.topbar-actions{gap:6px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}:root[data-theme=dark] .cart-title,:root[data-theme=dark] .cart-items,:root[data-theme=dark] .held-section,:root[data-theme=dark] .cart-customer,:root[data-theme=dark] .cart-summary,:root[data-theme=dark] .table-toolbar,:root[data-theme=dark] .toolbar,:root[data-theme=dark] .search-box,:root[data-theme=dark] .form-panel,:root[data-theme=dark] .settings-grid .panel,:root[data-theme=dark] .analytics-note,:root[data-theme=dark] .stock-receiving-form,:root[data-theme=dark] .profile-panel{color:var(--ink)}:root[data-theme=dark] .cart-customer label,:root[data-theme=dark] .form-panel label,:root[data-theme=dark] .modal-card label,:root[data-theme=dark] .receiving-line-card label,:root[data-theme=dark] .cart-summary span,:root[data-theme=dark] .cart-customer>label{color:#b7c6d2}:root[data-theme=dark] .cart-line,:root[data-theme=dark] .held-row,:root[data-theme=dark] .expense-row,:root[data-theme=dark] .supplier-row,:root[data-theme=dark] .customer-row,:root[data-theme=dark] .low-stock-row,:root[data-theme=dark] .cash-summary-grid>div,:root[data-theme=dark] .receiving-line-values{border-color:var(--line)}:root[data-theme=dark] .receiving-line-values input[readonly]{background:#1b2b40;color:#c7d6df}:root[data-theme=dark] .metric-alert{background:#4a351b!important;color:#f4ca7b!important}:root[data-theme=dark] .warning-text,:root[data-theme=dark] .stock-warning{color:#f2bd63}:root[data-theme=dark] .stock-ok{color:#65d6ae}:root[data-theme=dark] .table-product-icon{background:#1a3143;color:#77cfc4}:root[data-theme=dark] .modal-backdrop{background:#010812b8}:root[data-theme=dark] .toast{background:#143b39;color:#effffb}:root[data-theme=dark] .profile-image-row{border-color:#304758}:root[data-theme=dark] .shop-logo-preview,:root[data-theme=dark] .owner-avatar-preview{background:#1a3143;border-color:#304758;color:#5eead4}:root[data-theme=dark] .profile-auth-links .text-link{color:#5eead4}:root[data-theme=dark] .danger-zone small{color:#a4b1bf}:root[data-theme=dark] select option{background:#111c2e;color:#e8f0f5}:root[data-theme=dark] ::-moz-selection{background:#0f766e;color:#fff}:root[data-theme=dark] ::selection{background:#0f766e;color:#fff}:root[data-theme=dark] :focus-visible{outline-color:#2dd4bf}@media (max-width:600px){.topbar{padding:0 10px}.topbar .eyebrow{display:none}.topbar h1{font-size:15px;margin:0}.topbar-actions .branch-switcher svg{display:none}.branch-switcher{padding:0 6px;gap:0}.branch-switcher select{max-width:23vw}.topbar-actions .avatar-button{display:none}.topbar-left{min-width:0;flex:1 1 auto}.topbar-left>div{min-width:0}.topbar h1{max-width:44vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{flex:0 0 auto}.branch-switcher,.branch-single-pill{max-width:36vw}}@media (max-width:920px){.topbar{padding:0 12px}.topbar .eyebrow{display:none}.topbar h1{margin:0;font-size:18px;max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{gap:6px}.topbar-actions .branch-switcher svg{display:none}.branch-switcher{padding:0 6px;gap:0}.connection-pill{font-size:0;padding:9px;gap:0}.install-btn{padding:8px;font-size:0}.install-btn svg{margin:0}.topbar-actions .avatar-button{display:none}.theme-toggle{min-height:32px;width:34px;padding:0;border-radius:9px}.theme-toggle span{display:none}}.profile-upload-status{display:flex;flex-direction:column;gap:7px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);color:var(--muted);font-size:9px;line-height:1.45}.profile-upload-status-line{display:flex;align-items:center;gap:7px;min-width:0}.profile-upload-status-line span{flex:1;min-width:0}.profile-upload-status-line strong{font-variant-numeric:tabular-nums;color:var(--ink)}.profile-upload-status.is-local{border-color:#b8e6d3;background:#f0fbf5;color:#16734d}.profile-upload-status.is-error{border-color:#f3c4c4;background:#fff4f4;color:#b42318}.profile-upload-status.is-working{border-color:#b9dfda;background:#f2fbf9;color:#0f766e}.profile-upload-track{height:6px;border-radius:999px;background:#64748b2e;overflow:hidden}.profile-upload-track span{display:block;width:36%;height:100%;border-radius:inherit;background:#0f766e}.profile-upload-track.is-indeterminate span{animation:local-image-saving 1.15s ease-in-out infinite}@keyframes local-image-saving{0%{transform:translate(-110%)}to{transform:translate(290%)}}:root[data-theme=dark] .profile-upload-status{background:var(--panel-soft);border-color:var(--line);color:var(--muted)}:root[data-theme=dark] .profile-upload-status.is-local{background:#123a2d;border-color:#22664b;color:#8ce0b2}:root[data-theme=dark] .profile-upload-status.is-error{background:#3d2228;border-color:#71343e;color:#ffb4b4}:root[data-theme=dark] .profile-upload-status.is-working{background:#123c38;border-color:#276d63;color:#9be6dc}:root[data-theme=dark] .profile-upload-status-line strong{color:var(--ink)}:root[data-theme=dark] .profile-upload-track{background:#263449}:root[data-theme=dark] .profile-upload-track span{background:#2dd4bf}.profile-banner-preview{width:148px;max-width:42%;height:76px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft);color:var(--muted);flex:0 0 auto}.profile-banner-preview img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.profile-banner-row{align-items:center}.welcome-banner.has-shop-banner:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#052d2ce0,#052d2c61);z-index:1}.welcome-banner-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;z-index:0}.welcome-banner-copy{position:relative;z-index:2}.welcome-banner.has-shop-banner .welcome-decoration{z-index:2}.access-gate{min-height:100vh;display:grid;place-items:center;padding:22px;background:var(--page-bg,#f4f8f6);color:var(--ink)}.access-gate-card{width:min(620px,100%);padding:26px;display:flex;flex-direction:column;gap:14px}.access-gate-card h1{margin:0;font-size:22px}.access-gate-card p{margin:0;color:var(--muted);line-height:1.7}.access-gate-progress{display:flex;align-items:center;gap:11px}.public-login-spinner.is-brand{width:18px;height:18px;flex-basis:18px;border-color:#0f766e38;border-top-color:#0f766e}.access-uid{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);min-width:0}.access-uid code{overflow-wrap:anywhere;font-size:12px}.access-gate-card .cloud-help{line-height:1.8;overflow-wrap:anywhere}.team-access-panel{display:flex;flex-direction:column;gap:15px}.team-create-form{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--panel-soft)}.team-branch-picker{display:flex;flex-direction:column;gap:9px;color:var(--ink);font-size:12px;font-weight:700}.team-branch-options{display:flex;flex-wrap:wrap;gap:8px}.team-branch-options label{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel);font-size:11px;font-weight:600}.team-branch-options input{accent-color:#0f766e}.team-list-heading{margin-top:4px}.team-member-list{display:flex;flex-direction:column;gap:8px}.team-member-row{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.team-member-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--panel-soft);color:var(--primary,#0f766e);flex:0 0 auto}.team-member-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.team-member-main strong{font-size:12px;color:var(--ink)}.team-member-main small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.team-member-actions{display:flex;gap:5px;flex:0 0 auto}:root[data-theme=dark] .access-gate{background:#0b1220}:root[data-theme=dark] .team-branch-options label{background:#111c2e;border-color:#263449;color:#dbe7ee}:root[data-theme=dark] .team-create-form{background:#111c2e}@media (max-width:600px){.access-gate-card{padding:18px}.team-member-row{flex-wrap:wrap}.team-member-main{min-width:calc(100% - 60px)}.team-member-actions{margin-left:auto}}.auto-sync-status{display:grid;gap:6px;margin-top:12px;padding:12px 14px;border:1px solid var(--line, #dbe5e1);border-radius:12px;background:var(--surface-soft, #f7faf9);color:var(--text, #17332e)}.auto-sync-status-title{display:flex;align-items:center;gap:8px;font-size:13px}.auto-sync-status>small{color:var(--muted, #64748b);line-height:1.55}.auto-sync-synced .auto-sync-status-title{color:#0f766e}.auto-sync-offline .auto-sync-status-title,.auto-sync-conflict .auto-sync-status-title,.auto-sync-error .auto-sync-status-title{color:#b45309}.auto-sync-conflict,.auto-sync-error{border-color:#f0c7a7}.team-single-branch-select{display:flex;align-items:center;gap:9px;max-width:420px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--muted)}.team-single-branch-select select,.team-member-branch-assignment select{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;padding:4px 2px}.team-member-branch-assignment{display:flex;align-items:center;gap:7px;max-width:320px;font-size:10px;color:var(--muted)}.team-member-branch-assignment select{border:1px solid var(--line);border-radius:8px;padding:6px 8px;background:var(--panel-soft)}.team-member-branch-warning{color:#b45309!important;font-weight:700}.printer-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 2px;padding:9px 0;border-top:1px solid var(--line)}.printer-tools label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:9px;font-weight:700}.printer-tools select,.printer-settings-card select{height:32px;border:1px solid var(--line);border-radius:8px;padding:0 8px;background:#fff;color:var(--ink);font-size:9px}.printer-test-button{padding:7px 10px;font-size:9px}.printer-settings-card{display:flex;flex-direction:column;gap:9px;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fbfdfc}.printer-settings-card>div{display:flex;flex-direction:column;gap:4px}.printer-settings-card strong{font-size:10px;color:var(--ink)}.printer-settings-card small,.printer-settings-card p{font-size:8px;color:var(--muted);line-height:1.65;margin:0}.printer-settings-card .button{align-self:flex-start}.checkout-result-card{width:min(430px,100%);text-align:center;padding:25px}.checkout-result-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#e9f8f1;color:#16815f}.checkout-result-heading h2{font-size:18px;margin:0;color:var(--ink)}.checkout-result-heading p{font-size:10px;line-height:1.6;color:var(--muted);margin:7px 0 16px}.checkout-result-total{display:flex;flex-direction:column;gap:5px;padding:17px 12px;border:1px solid #dcece7;background:#f5fbf8;border-radius:12px}.checkout-result-total small{font-size:9px;color:#718981}.checkout-result-total strong{font-size:25px;color:var(--teal);letter-spacing:-.5px}.checkout-result-total span{font-size:8px;color:#8b9b98}.checkout-result-meta{display:flex;justify-content:center;gap:8px;margin:12px 0;color:var(--muted);font-size:9px}.checkout-result-meta span{padding:5px 9px;border-radius:20px;background:#f1f5f4}.checkout-result-items{margin-top:12px;border:1px solid var(--line);border-radius:11px;padding:11px 12px;text-align:left;background:var(--panel)}.checkout-result-items-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px;border-bottom:1px solid var(--line)}.checkout-result-items-heading strong{font-size:10px;color:var(--ink)}.checkout-result-items-heading small{font-size:8px;color:var(--muted)}.checkout-result-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line)}.checkout-result-item:last-child{border-bottom:0;padding-bottom:2px}.checkout-result-item-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.checkout-result-item-info strong{font-size:10px;color:var(--ink);overflow-wrap:anywhere}.checkout-result-item-info small{font-size:8px;line-height:1.45;color:var(--muted)}.checkout-result-item>b{font-size:10px;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}.checkout-result-breakdown{display:grid;gap:6px;padding:11px 3px 0;text-align:left}.checkout-result-breakdown>div{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:var(--muted)}.checkout-result-breakdown b{color:var(--ink);font-variant-numeric:tabular-nums}.checkout-result-breakdown .checkout-result-breakdown-total{border-top:1px solid var(--line);padding-top:8px;margin-top:2px;font-weight:800;color:var(--teal)}.checkout-result-breakdown-total b{color:var(--teal);font-size:12px}.checkout-result-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}.checkout-result-actions .button{justify-content:center;width:100%;min-height:42px}.checkout-result-note{display:block;margin-top:12px;font-size:8px;line-height:1.6;color:#8b999d}:root[data-theme=dark] .checkout-result-total{background:var(--panel-soft);border-color:var(--line)}:root[data-theme=dark] .checkout-result-total strong{color:var(--color-primary-800)}:root[data-theme=dark] .checkout-result-total small,:root[data-theme=dark] .checkout-result-total span{color:var(--muted)}:root[data-theme=dark] .checkout-result-meta span{background:var(--panel-muted);color:var(--ink)}:root[data-theme=dark] .checkout-result-note{color:var(--muted)}:root[data-theme=dark] .mini-stat{background:var(--panel);border-color:var(--line)}:root[data-theme=dark] .mini-stat strong{color:var(--ink)}:root[data-theme=dark] .mini-stat small{color:var(--muted)}.receipt-item-detailed{align-items:flex-start}.receipt-item-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.receipt-item-info strong{font-size:9pt;font-weight:700;overflow-wrap:anywhere}.receipt-item-info small{font-size:7.2pt;line-height:1.35;color:#333;overflow-wrap:anywhere}.receipt-item-detailed>b{white-space:nowrap;font-size:8.5pt}@media (max-width:600px){.checkout-result-card{padding:20px}.checkout-result-total strong{font-size:22px}.printer-tools{flex-wrap:wrap}.printer-tools label{flex:1}}.barcode-field-control{display:flex;align-items:center;gap:7px;min-width:0}.barcode-field-control input{flex:1;min-width:0}.barcode-camera-button{height:36px;padding:0 10px;white-space:nowrap;flex-shrink:0}.barcode-pos-toolbar .search-box{flex:1;min-width:180px}.barcode-pos-toolbar .search-box input{min-width:0}.barcode-inline-camera{width:32px;height:30px;display:grid;place-items:center;flex:0 0 32px;border:0;border-left:1px solid var(--line);background:transparent;color:var(--teal);cursor:pointer}.barcode-inline-camera:hover{background:var(--panel-muted);border-radius:7px}.barcode-scan-hint{display:block;margin:-5px 0 10px 2px;color:var(--muted);font-size:8px;line-height:1.5}.barcode-scanner-backdrop{z-index:90}.barcode-scanner-card{width:min(520px,100%)}.barcode-scanner-card .modal-header h2{display:flex;align-items:center;gap:7px}.barcode-camera-frame{position:relative;overflow:hidden;width:100%;aspect-ratio:4/3;border-radius:12px;background:#071312;border:1px solid #24433f;display:grid;place-items:center}.barcode-camera-video{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.barcode-camera-guide{position:absolute;left:7%;right:7%;top:34%;height:32%;border:2px solid rgba(45,212,191,.95);border-radius:10px;box-shadow:0 0 0 999px #00000021;pointer-events:none}.barcode-camera-status,.barcode-camera-error{font-size:10px;line-height:1.6;margin:10px 0 0;color:var(--muted)}.barcode-camera-error{color:#bd4b42;background:#fff3f1;border:1px solid #f5d5d0;padding:10px 12px;border-radius:9px}:root[data-theme=dark] .barcode-camera-error{color:#ffaaa1;background:#3a2026;border-color:#673139}:root[data-theme=dark] .barcode-inline-camera{color:var(--teal);border-left-color:var(--line)}@media (max-width:600px){.barcode-pos-toolbar{align-items:stretch;flex-wrap:wrap}.barcode-pos-toolbar .search-box{flex:1 1 100%;max-width:none}.barcode-pos-toolbar .category-select{max-width:none;flex:1}.barcode-scanner-card{padding:14px}.barcode-camera-frame{aspect-ratio:3/4;max-height:58vh}.barcode-camera-guide{left:5%;right:5%;height:28%;top:36%}.barcode-field-control{align-items:stretch}.barcode-camera-button{padding:0 8px}}.team-member-uid{display:flex;align-items:center;flex-wrap:wrap;gap:6px;word-break:break-all}.team-member-uid code{font-size:9px;color:var(--ink);background:var(--panel-soft);padding:3px 5px;border-radius:5px}.team-copy-uid{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--teal);font-size:8px;font-weight:800;padding:2px 4px}.access-membership-help{display:flex;flex-direction:column;gap:9px;text-align:left}.access-membership-help p{margin:0;line-height:1.65}.access-membership-help>code{display:block;overflow-wrap:anywhere;word-break:break-word;background:var(--panel-soft);padding:9px;border-radius:8px}.access-copy-actions{display:flex;flex-wrap:wrap;gap:8px}@media (max-width:600px){.pos-layout-mobile-split{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(145px,38%) minmax(0,1fr);gap:8px;height:calc(100dvh - 193px - env(safe-area-inset-bottom));min-height:420px;overflow:hidden;align-items:stretch}.pos-layout-mobile-split .pos-products-panel{min-height:0;display:flex;flex-direction:column;overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px;box-shadow:var(--shadow)}.pos-layout-mobile-split .pos-products-panel>.section-heading{flex:0 0 auto;margin-bottom:2px;align-items:center}.pos-layout-mobile-split .pos-products-panel>.section-heading p{display:none}.pos-layout-mobile-split .barcode-pos-toolbar{flex:0 0 auto;margin:8px 0 4px;gap:6px}.pos-layout-mobile-split .barcode-scan-hint{flex:0 0 auto;font-size:8px;line-height:1.35;margin:0 0 5px}.pos-layout-mobile-split .product-grid{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:2px 2px 8px}.pos-layout-mobile-split .product-tile{min-height:105px;padding:9px}.pos-layout-mobile-split .product-tile-icon{width:25px;height:25px;margin-bottom:4px}.pos-layout-mobile-split .product-tile-icon svg{width:16px;height:16px}.pos-layout-mobile-split .cart-panel{position:relative;top:auto;min-height:0;max-height:none;height:100%;display:flex;flex-direction:column;overflow:hidden;border-radius:12px}.pos-layout-mobile-split .cart-title{flex:0 0 auto;padding:8px 11px}.pos-layout-mobile-split .cart-title h2{font-size:11px}.pos-layout-mobile-split .cart-title p{font-size:8px;margin-top:2px}.pos-layout-mobile-split .cart-customer{flex:0 0 auto;padding:7px 10px}.pos-layout-mobile-split .cart-customer>label{font-size:8px;gap:3px}.pos-layout-mobile-split .cart-customer input{padding:7px 8px;font-size:10px}.pos-layout-mobile-split .payment-switch{margin-top:5px;gap:5px}.pos-layout-mobile-split .payment-switch button{padding:6px;font-size:8px}.pos-layout-mobile-split .cart-items{flex:1 1 auto;min-height:42px;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:0 10px}.pos-layout-mobile-split .cart-empty{min-height:56px;padding:8px}.pos-layout-mobile-split .cart-empty svg{width:20px;height:20px}.pos-layout-mobile-split .cart-line{padding:7px 0}.pos-layout-mobile-split .cart-line-top strong{font-size:9px}.pos-layout-mobile-split .price-mode{margin-top:4px}.pos-layout-mobile-split .cart-line-bottom{margin-top:5px}.pos-layout-mobile-split .cart-summary{flex:0 0 auto;position:relative;bottom:auto;z-index:2;padding:8px 10px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 14px #1432320f}.pos-layout-mobile-split .cart-summary>div:not(.discount-row){font-size:9px;margin-bottom:4px}.pos-layout-mobile-split .discount-row{margin:5px 0;gap:6px}.pos-layout-mobile-split .discount-row input{width:86px;padding:5px 7px}.pos-layout-mobile-split .total-row{padding-top:6px;margin-top:5px!important}.pos-layout-mobile-split .total-row>strong{font-size:15px}.pos-layout-mobile-split .printer-tools{display:none}.pos-layout-mobile-split .checkout-button{position:sticky;bottom:0;min-height:40px;margin-top:5px;padding:8px;width:100%;box-shadow:0 4px 12px #0f766e33}.pos-layout-mobile-split .cart-note{font-size:7px;margin-top:4px}.main-area:has(.pos-layout-mobile-split){height:100dvh;min-height:100dvh;overflow:hidden;display:flex;flex-direction:column}.main-area:has(.pos-layout-mobile-split) .topbar{flex:0 0 73px}.main-area:has(.pos-layout-mobile-split) .content-area{flex:1 1 auto;min-height:0;overflow:hidden;padding:8px 10px calc(82px + env(safe-area-inset-bottom))}}.cloud-diagnostics-card{margin-top:16px;padding:16px;border:1px solid var(--border, #dbe5e2);border-radius:14px;background:var(--panel-muted, rgba(148,163,184,.06))}.cloud-diagnostics-card .panel-heading{margin-bottom:12px}.cloud-diagnostics-card .panel-heading h4{margin:0 0 4px}.cloud-diagnostics-card .panel-heading p{margin:0;color:var(--muted, #64748b);font-size:12px;line-height:1.6}.cloud-diagnostics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.cloud-diagnostics-grid>div{padding:10px;border-radius:10px;background:var(--surface, #fff);border:1px solid var(--border, #dbe5e2);min-width:0}.cloud-diagnostics-grid small{display:block;color:var(--muted, #64748b);font-size:11px}.cloud-diagnostics-grid strong{display:block;margin-top:4px;font-size:20px;font-variant-numeric:tabular-nums}.cloud-diagnostics-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.small-action-danger{color:#b42318!important;border-color:#f2b8b5!important}@media (max-width: 700px){.cloud-diagnostics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.cloud-diagnostics-breakdown{margin:10px 0;padding:10px;background:var(--surface, #fff);border:1px solid var(--border, #dbe5e2);border-radius:10px}.cloud-diagnostics-breakdown>strong{display:block;margin-bottom:6px;font-size:12px}.cloud-diagnostics-breakdown>div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;color:var(--muted, #64748b);font-size:11px}.cloud-diagnostics-breakdown b{color:var(--foreground, #18312f);font-variant-numeric:tabular-nums}.cashier-cloud-sales-state{display:flex;align-items:center;gap:10px;margin:8px 0;padding:9px 11px;border:1px solid var(--border,#dbe5e2);border-radius:11px;background:var(--panel-muted,rgba(148,163,184,.06));min-width:0}.cashier-cloud-sales-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:var(--surface,#fff)}.cashier-cloud-sales-copy{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}.cashier-cloud-sales-copy strong{font-size:11px;line-height:1.4}.cashier-cloud-sales-copy small{color:var(--muted,#64748b);font-size:10px;line-height:1.45}.cashier-cloud-sales-state .button{flex:0 0 auto;padding:7px 9px;font-size:10px}.cashier-cloud-sales-state.tone-success{border-color:#10b98140}.cashier-cloud-sales-state.tone-success .cashier-cloud-sales-icon{color:#059669}.cashier-cloud-sales-state.tone-warning{border-color:#d9993661;background:#d9993612}.cashier-cloud-sales-state.tone-warning .cashier-cloud-sales-icon{color:#b7791f}.cashier-cloud-sales-state.tone-danger{border-color:#dc505066;background:#dc50500f}.cashier-cloud-sales-state.tone-danger .cashier-cloud-sales-icon{color:#c24141}@keyframes cashier-cloud-spin{to{transform:rotate(360deg)}}.cashier-cloud-sales-state .spin{animation:cashier-cloud-spin 1s linear infinite}@media (max-width:520px){.cashier-cloud-sales-state{gap:7px;padding:8px}.cashier-cloud-sales-copy small{font-size:9px}.cashier-cloud-sales-state .button{padding:7px 8px}}@media (max-width: 600px){.pos-layout-mobile-split .printer-tools{display:none!important}.pos-layout-mobile-split .checkout-button{position:static!important;inset:auto!important;transform:none!important;text-shadow:none!important;box-shadow:none!important;display:flex;width:100%;min-height:44px;margin:8px 0 0;padding:10px 12px;line-height:1.25;white-space:normal;overflow:visible;isolation:isolate}.pos-layout-mobile-split .cart-summary{display:flex;flex:0 0 auto;flex-direction:column;position:relative;overflow:visible;gap:0;z-index:3;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.pos-layout-mobile-split .cart-note{margin:5px 0 0;line-height:1.4}}.team-member-receiver-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px!important;margin-top:9px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);cursor:pointer}.team-member-receiver-toggle input{width:16px!important;height:16px!important;min-height:16px;margin:2px 0 0;accent-color:var(--teal);flex:0 0 auto}.team-member-receiver-toggle span{display:flex;flex-direction:column;gap:3px}.team-member-receiver-toggle strong{font-size:9px;color:var(--ink)}.team-member-receiver-toggle small{font-size:8px;color:var(--muted);line-height:1.45}.shipment-management{gap:14px}.shipment-info-banner{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;border:1px solid rgba(20,145,128,.2);border-radius:12px;background:var(--teal-soft);color:var(--ink)}.shipment-info-banner>svg{flex:0 0 auto;color:var(--teal);margin-top:2px}.shipment-info-banner strong{font-size:11px}.shipment-info-banner p{margin:4px 0 0;color:var(--muted);font-size:9px;line-height:1.55}.shipment-form{gap:13px}.shipment-branch-grid{margin-bottom:4px}.shipment-draft-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0}.shipment-draft-header>strong{font-size:11px}.shipment-draft-list{display:flex;flex-direction:column;gap:9px}.shipment-draft-row{display:grid;grid-template-columns:27px minmax(190px,1fr) minmax(130px,170px) 34px;align-items:end;gap:8px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft)}.shipment-row-number{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--teal-soft);color:var(--teal);font-size:9px;font-weight:800;align-self:center}.shipment-draft-row label{display:flex;flex-direction:column;gap:5px;font-size:9px;color:var(--muted)}.shipment-draft-row select,.shipment-draft-row input{width:100%;min-width:0;min-height:36px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:var(--panel);color:var(--ink);font:inherit;font-size:10px}.shipment-draft-row .small-action{width:32px;height:32px;align-self:center}.shipment-price-snapshot{grid-column:2/5;display:flex;flex-wrap:wrap;gap:6px 12px;color:var(--muted);font-size:8px;line-height:1.45}.shipment-price-snapshot strong{color:var(--teal);font-size:10px;font-weight:800}.shipment-batch-warning{grid-column:2/5;color:var(--danger);font-size:8px;line-height:1.45;font-weight:600}.shipment-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:5px}.shipment-form-footer small{color:var(--muted);font-size:8px;line-height:1.5;max-width:420px}.shipment-form-footer .button{white-space:nowrap}.shipment-history-heading{margin-top:8px}.shipment-card{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--panel);box-shadow:var(--shadow)}.shipment-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.shipment-card-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}.shipment-card-head>div>strong{font-size:11px;color:var(--ink)}.shipment-card-head>div>small{font-size:8px;color:var(--muted)}.shipment-card-head .tag{max-width:58%;white-space:normal;text-align:center;line-height:1.3}.shipment-history-meta{display:flex;flex-wrap:wrap;gap:6px 13px;color:var(--muted);font-size:8px}.shipment-note{margin:0;color:var(--muted);font-size:9px;line-height:1.45}.shipment-items-list{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.shipment-receive-line,.shipment-history-line{display:flex;flex-direction:column;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.shipment-receive-line:last-child,.shipment-history-line:last-child{border-bottom:0}.shipment-product-meta,.shipment-history-line>div:first-child{display:flex;flex-direction:column;gap:3px}.shipment-product-meta strong,.shipment-history-line>div:first-child strong{font-size:10px;color:var(--ink)}.shipment-product-meta small,.shipment-history-line>div:first-child small{font-size:8px;color:var(--muted)}.shipment-receive-inputs{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:8px}.shipment-receive-inputs label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:8px}.shipment-receive-inputs input{width:100%;min-width:0;min-height:34px;border:1px solid var(--line);border-radius:8px;padding:6px 8px;background:var(--panel-soft);color:var(--ink);font:inherit;font-size:10px}.shipment-received-summary,.shipment-history-quantities{display:flex;flex-wrap:wrap;gap:6px 12px;color:var(--muted);font-size:8px}.shipment-received-summary strong,.shipment-history-quantities strong{color:var(--teal)}.shipment-receive-footer,.shipment-receipt-review{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.shipment-receive-footer>label{flex:1;display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:8px}.shipment-receive-footer textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--panel-soft);color:var(--ink);font:inherit;font-size:9px;resize:vertical}.shipment-receipt-review>div{display:flex;flex-direction:column;gap:4px}.shipment-receipt-review strong{font-size:9px;color:var(--ink)}.shipment-receipt-review small{font-size:8px;color:var(--muted)}.shipment-receipt-review .button{white-space:nowrap}.shipment-status-note{display:flex;align-items:center;gap:7px;padding:9px 10px;border-radius:9px;background:var(--panel-soft);color:var(--muted);font-size:8px;line-height:1.45}.shipment-status-note svg{flex:0 0 auto}.shipment-status-note.shipment-success{background:var(--teal-soft);color:var(--teal)}:root[data-theme=dark] .shipment-draft-row{background:var(--panel-soft)}@media (max-width:600px){.team-member-receiver-toggle{padding:8px}.shipment-info-banner{padding:11px}.shipment-draft-row{grid-template-columns:24px minmax(0,1fr) 32px;gap:7px;padding:9px}.shipment-row-number{width:22px;height:22px}.shipment-product-select,.shipment-qty-select{grid-column:2/3}.shipment-draft-row .small-action{grid-column:3;grid-row:1/3}.shipment-price-snapshot{grid-column:2/4;font-size:7px}.shipment-batch-warning{grid-column:2/4}.shipment-draft-header .button{padding:8px 9px;font-size:8px}.shipment-form-footer,.shipment-receipt-review{align-items:stretch;flex-direction:column}.shipment-form-footer .button,.shipment-receipt-review .button{width:100%;justify-content:center}.shipment-receive-inputs{grid-template-columns:1fr 1fr}.shipment-line-note{grid-column:1/3}.shipment-card{padding:11px}}.held-toggle{width:100%;border:0;background:transparent;padding:0;cursor:pointer;text-align:left;display:flex;align-items:center;gap:8px}.held-toggle span{flex:1 1 auto;min-width:0}.held-toggle svg{flex:0 0 auto;transition:transform .18s ease}.held-toggle .held-chevron-open{transform:rotate(180deg)}.held-list{max-height:150px;overflow-y:auto;overscroll-behavior:contain}.payment-confirm-card{width:min(440px,100%);max-height:min(90dvh,760px);overflow-y:auto;text-align:left}.payment-confirm-total{display:flex;flex-direction:column;align-items:center;gap:5px;padding:16px 12px;border:1px solid #dcece7;border-radius:12px;background:#f5fbf8;text-align:center}.payment-confirm-total small{color:#718981;font-size:10px}.payment-confirm-total strong{color:var(--teal);font-size:26px;letter-spacing:-.5px}.payment-confirm-total span{color:var(--muted);font-size:9px}.payment-cash-field{display:flex;flex-direction:column;gap:7px;margin-top:14px;color:var(--ink);font-size:11px;font-weight:800}.payment-cash-field input{min-height:48px;padding:11px 12px;font-size:18px;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}.payment-shortfall,.payment-change,.payment-credit-note{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding:12px;border-radius:10px;font-size:11px}.payment-shortfall{border:1px solid #f1c7c3;background:#fff5f4;color:#9f3934}.payment-shortfall strong{font-size:12px}.payment-shortfall span,.payment-credit-note span{line-height:1.55}.payment-shortfall .button{align-self:stretch;margin-top:4px;min-height:42px}.payment-change{flex-direction:row;align-items:center;justify-content:space-between;border:1px solid #d6eee5;background:#f1faf6;color:#367963}.payment-change strong{font-size:17px;font-variant-numeric:tabular-nums}.payment-credit-note{border:1px solid #e4eaf2;background:#f6f8fc;color:#52667b}.payment-confirm-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:8px;margin-top:16px}.payment-confirm-actions .button{min-height:44px;white-space:normal;line-height:1.35}.payment-confirm-footnote{display:block;margin-top:10px;color:var(--muted);font-size:9px;line-height:1.5;text-align:center}@media (max-width: 920px){body:has(.pos-layout-mobile-split){height:100dvh;min-height:100dvh;overflow:hidden}.app-shell:has(.pos-layout-mobile-split){height:100dvh;min-height:0;overflow:hidden}.main-area:has(.pos-layout-mobile-split){height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}.main-area:has(.pos-layout-mobile-split) .topbar{flex:0 0 70px;height:70px;min-height:70px;position:relative}.main-area:has(.pos-layout-mobile-split) .content-area{flex:1 1 auto;min-height:0;width:100%;max-width:none;overflow:hidden;padding:8px 10px calc(76px + env(safe-area-inset-bottom))}.pos-layout-mobile-split{width:100%;height:100%;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(170px,37%) minmax(0,1fr);gap:8px;align-items:stretch}.pos-layout-mobile-split .pos-products-panel{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden;padding:9px;touch-action:pan-y}.pos-layout-mobile-split .pos-products-panel>.section-heading{flex:0 0 auto;margin-bottom:1px}.pos-layout-mobile-split .pos-products-panel>.section-heading p{display:none}.pos-layout-mobile-split .barcode-pos-toolbar{flex:0 0 auto;margin:6px 0 4px;gap:6px}.pos-layout-mobile-split .barcode-pos-toolbar .search-box{min-width:0;height:42px}.pos-layout-mobile-split .barcode-pos-toolbar .category-select{height:38px;max-width:100%}.pos-layout-mobile-split .barcode-scan-hint{flex:0 0 auto;margin:0 0 4px;font-size:8px;line-height:1.3}.pos-layout-mobile-split .cashier-cloud-sales-state{flex:0 0 auto;margin:3px 0 5px}.pos-layout-mobile-split .product-grid{flex:1 1 0;min-height:0;height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:2px 2px 8px}.pos-layout-mobile-split .product-tile{min-width:0;min-height:94px;padding:8px;touch-action:manipulation;-webkit-tap-highlight-color:rgba(15,118,110,.14);-webkit-user-select:none;-moz-user-select:none;user-select:none}.pos-layout-mobile-split .product-tile:active:not(:disabled){transform:scale(.985);border-color:var(--teal)}.pos-layout-mobile-split .product-tile-icon{width:25px;height:25px;margin-bottom:3px}.pos-layout-mobile-split .product-tile-icon svg{width:16px;height:16px}.pos-layout-mobile-split .product-tile>strong{min-height:0;font-size:10px}.pos-layout-mobile-split .product-sku{font-size:8px}.pos-layout-mobile-split .product-tile-bottom{padding-top:5px;gap:3px;flex-wrap:wrap}.pos-layout-mobile-split .cart-panel{position:relative;inset:auto;top:auto;height:100%;min-height:0;max-height:none;display:flex;flex-direction:column;overflow:hidden;border-radius:12px}.pos-layout-mobile-split .cart-title{flex:0 0 auto;min-height:43px;padding:7px 10px}.pos-layout-mobile-split .cart-title h2{font-size:11px}.pos-layout-mobile-split .cart-title p{margin-top:2px;font-size:8px}.pos-layout-mobile-split .cart-customer{flex:0 0 auto;padding:6px 9px}.pos-layout-mobile-split .cart-customer>label{gap:2px;font-size:8px}.pos-layout-mobile-split .cart-customer input{min-height:36px;padding:6px 8px;font-size:11px}.pos-layout-mobile-split .payment-switch{margin-top:5px;gap:5px}.pos-layout-mobile-split .payment-switch button{min-height:36px;padding:6px;font-size:9px;touch-action:manipulation}.pos-layout-mobile-split .cart-items{flex:1 1 0;min-height:36px;height:0;max-height:none;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:0 9px}.pos-layout-mobile-split .cart-empty{min-height:54px;padding:7px}.pos-layout-mobile-split .cart-empty svg{width:20px;height:20px}.pos-layout-mobile-split .cart-line{padding:7px 0}.pos-layout-mobile-split .cart-line-top strong{font-size:10px}.pos-layout-mobile-split .price-mode{margin-top:4px}.pos-layout-mobile-split .cart-line-bottom{margin-top:5px}.pos-layout-mobile-split .qty-control button{width:32px;height:32px;touch-action:manipulation}.pos-layout-mobile-split .held-section{flex:0 0 auto;padding:6px 10px;max-height:96px;overflow:hidden}.pos-layout-mobile-split .held-section-open{max-height:132px}.pos-layout-mobile-split .held-toggle{min-height:28px;font-size:9px}.pos-layout-mobile-split .held-list{max-height:92px;overflow-y:auto}.pos-layout-mobile-split .held-row{min-height:29px;gap:8px}.pos-layout-mobile-split .held-row button{min-height:28px;padding:5px 8px}.pos-layout-mobile-split .cart-summary{display:flex;flex:0 0 auto;flex-direction:column;position:relative;bottom:auto;z-index:3;overflow:visible;gap:0;padding:7px 9px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -4px 12px #1432320f}.pos-layout-mobile-split .cart-summary>div:not(.discount-row){font-size:9px;margin-bottom:3px}.pos-layout-mobile-split .discount-row{margin:4px 0;gap:6px}.pos-layout-mobile-split .discount-row input{width:84px;min-height:31px;padding:4px 7px}.pos-layout-mobile-split .total-row{padding-top:5px;margin-top:4px!important}.pos-layout-mobile-split .total-row>strong{font-size:15px}.pos-layout-mobile-split .printer-tools,.pos-layout-mobile-split .cart-note{display:none!important}.pos-layout-mobile-split .checkout-button{position:static!important;inset:auto!important;display:flex;flex:0 0 auto;width:100%;min-height:46px;margin:6px 0 0;padding:10px 12px;line-height:1.25;white-space:normal;overflow:visible;transform:none!important;text-shadow:none!important;box-shadow:none!important;isolation:isolate;touch-action:manipulation}.payment-confirm-card{padding:18px}.payment-confirm-actions{grid-template-columns:1fr}.payment-confirm-actions .button{width:100%}}@media (max-width: 600px) and (max-height: 740px){.pos-layout-mobile-split{grid-template-rows:minmax(145px,33%) minmax(0,1fr)}.pos-layout-mobile-split .pos-products-panel{padding:7px}.pos-layout-mobile-split .barcode-scan-hint{display:none}.pos-layout-mobile-split .cart-customer{padding:5px 8px}.pos-layout-mobile-split .cart-summary{padding-top:5px}.pos-layout-mobile-split .checkout-button{min-height:42px}}@media (max-width: 920px){body:has(.pos-layout-mobile-split){height:100dvh;min-height:100dvh;overflow:hidden}.app-shell:has(.pos-layout-mobile-split){height:100dvh;min-height:0;overflow:hidden}.main-area:has(.pos-layout-mobile-split){height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}.main-area:has(.pos-layout-mobile-split) .topbar{flex:0 0 68px;height:68px;min-height:68px;position:relative}.main-area:has(.pos-layout-mobile-split) .content-area{flex:1 1 0;height:0;min-height:0;width:100%;max-width:none;overflow:hidden;padding:7px 9px calc(68px + env(safe-area-inset-bottom))}.pos-layout-mobile-split{width:100%;height:100%;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(205px,43%) minmax(0,1fr);gap:7px;align-items:stretch}.pos-layout-mobile-split .pos-products-panel{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden;padding:8px;touch-action:pan-y}.pos-layout-mobile-split .pos-products-panel>.section-heading{flex:0 0 auto;margin-bottom:1px}.pos-layout-mobile-split .pos-products-panel>.section-heading p{display:none}.pos-layout-mobile-split .barcode-pos-toolbar{flex:0 0 auto;margin:5px 0 4px;gap:5px}.pos-layout-mobile-split .barcode-pos-toolbar .search-box{min-width:0;height:40px}.pos-layout-mobile-split .barcode-pos-toolbar .category-select{height:35px}.pos-layout-mobile-split .barcode-scan-hint{display:none}.pos-layout-mobile-split .cashier-cloud-sales-state{flex:0 0 auto;min-height:34px;margin:2px 0 4px;padding:5px 7px;gap:6px}.pos-layout-mobile-split .cashier-cloud-sales-icon{width:24px;height:24px;flex-basis:24px}.pos-layout-mobile-split .cashier-cloud-sales-copy{gap:0}.pos-layout-mobile-split .cashier-cloud-sales-copy strong{font-size:9px}.pos-layout-mobile-split .cashier-cloud-sales-copy small{font-size:8px;line-height:1.25}.pos-layout-mobile-split .cashier-cloud-sales-state .button{padding:5px 6px;font-size:8px}.pos-layout-mobile-split .product-grid{flex:1 1 0;min-height:0;height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:2px 2px 7px}.pos-layout-mobile-split .product-tile{min-width:0;min-height:98px;padding:8px;display:flex;flex-direction:column;justify-content:flex-start;touch-action:manipulation;pointer-events:auto;-webkit-tap-highlight-color:rgba(15,118,110,.16);-webkit-user-select:none;-moz-user-select:none;user-select:none}.pos-layout-mobile-split .product-tile:active:not(:disabled){transform:scale(.985);border-color:var(--teal)}.pos-layout-mobile-split .product-tile-icon{width:23px;height:23px;margin-bottom:2px}.pos-layout-mobile-split .product-tile-icon svg{width:15px;height:15px}.pos-layout-mobile-split .product-tile>strong{min-height:0;font-size:10px}.pos-layout-mobile-split .product-sku{font-size:8px}.pos-layout-mobile-split .product-tile-bottom{padding-top:4px;gap:3px;flex-wrap:wrap}.pos-layout-mobile-split .cart-panel{position:relative;inset:auto;top:auto;height:100%;min-height:0;max-height:none;display:flex;flex-direction:column;overflow:hidden;border-radius:12px}.pos-layout-mobile-split .cart-title{flex:0 0 auto;min-height:40px;padding:6px 9px}.pos-layout-mobile-split .cart-title h2{font-size:11px}.pos-layout-mobile-split .cart-title p{margin-top:1px;font-size:8px}.pos-layout-mobile-split .cart-customer{flex:0 0 auto;padding:5px 8px}.pos-layout-mobile-split .cart-customer>label{gap:2px;font-size:8px}.pos-layout-mobile-split .cart-customer input{min-height:33px;padding:5px 7px;font-size:10px}.pos-layout-mobile-split .payment-switch{margin-top:4px;gap:5px}.pos-layout-mobile-split .payment-switch button{min-height:32px;padding:5px;font-size:9px;touch-action:manipulation}.pos-layout-mobile-split .cart-items{flex:1 1 0;min-height:35px;height:0;max-height:none;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;padding:0 8px}.pos-layout-mobile-split .cart-empty{min-height:50px;padding:6px}.pos-layout-mobile-split .cart-empty svg{width:19px;height:19px}.pos-layout-mobile-split .cart-line{padding:6px 0}.pos-layout-mobile-split .cart-line-top strong{font-size:10px}.pos-layout-mobile-split .price-mode{margin-top:3px}.pos-layout-mobile-split .cart-line-bottom{margin-top:4px}.pos-layout-mobile-split .qty-control button{width:31px;height:31px;touch-action:manipulation}.pos-layout-mobile-split .held-section{flex:0 0 auto;padding:4px 8px;max-height:38px;overflow:hidden}.pos-layout-mobile-split .held-section-open{max-height:118px}.pos-layout-mobile-split .held-toggle{min-height:28px;font-size:9px}.pos-layout-mobile-split .held-list{max-height:86px;overflow-y:auto}.pos-layout-mobile-split .held-row{min-height:28px;gap:7px}.pos-layout-mobile-split .held-row button{min-height:27px;padding:4px 7px}.pos-layout-mobile-split .cart-summary{display:flex;flex:0 0 auto;flex-direction:column;position:relative;bottom:auto;z-index:3;overflow:visible;gap:0;padding:5px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -3px 10px #1432320d}.pos-layout-mobile-split .cart-summary>div:not(.discount-row){font-size:9px;margin-bottom:2px}.pos-layout-mobile-split .discount-row{margin:3px 0;gap:6px}.pos-layout-mobile-split .discount-row input{width:78px;min-height:29px;padding:4px 6px}.pos-layout-mobile-split .total-row{padding-top:4px;margin-top:3px!important}.pos-layout-mobile-split .total-row>strong{font-size:15px}.pos-layout-mobile-split .printer-tools,.pos-layout-mobile-split .cart-note{display:none!important}.pos-layout-mobile-split .checkout-button{position:static!important;inset:auto!important;display:flex;flex:0 0 auto;width:100%;min-height:44px;margin:5px 0 0;padding:9px 10px;line-height:1.2;white-space:normal;overflow:visible;transform:none!important;text-shadow:none!important;box-shadow:none!important;isolation:isolate;touch-action:manipulation}.payment-confirm-card{padding:17px}.payment-confirm-actions{grid-template-columns:1fr}.payment-confirm-actions .button{width:100%}}@media (max-width: 600px) and (max-height: 740px){.pos-layout-mobile-split{grid-template-rows:minmax(185px,40%) minmax(0,1fr)}.pos-layout-mobile-split .pos-products-panel{padding:7px}.pos-layout-mobile-split .cart-summary{padding-top:4px}.pos-layout-mobile-split .checkout-button{min-height:42px}}.payment-exact-button{display:inline-flex;align-self:flex-start;min-height:34px;margin-top:7px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);color:var(--teal);font-size:10px;font-weight:800;touch-action:manipulation}.payment-exact-button:hover{border-color:var(--teal)}.stock-unit-page{gap:16px}.stock-unit-note{align-items:flex-start}.stock-unit-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-unit-panel,.stock-unit-registered-panel{padding:20px}.stock-unit-product-select{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr);gap:12px}.stock-unit-product-select select{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px 12px;color:var(--ink);font-size:11px}.stock-unit-selected-product{margin-top:15px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fbfdfc;display:flex;justify-content:space-between;align-items:center;gap:12px}.stock-unit-selected-product>div{display:flex;flex-direction:column;gap:4px;min-width:0}.stock-unit-selected-product strong{font-size:12px}.stock-unit-selected-product small{font-size:9px;color:var(--muted);overflow-wrap:anywhere}.stock-unit-progress{margin-top:16px}.stock-unit-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-bottom:7px}.stock-unit-progress strong{color:var(--ink)}.stock-unit-progress-track{height:8px;border-radius:99px;background:#eaf1ef;overflow:hidden}.stock-unit-progress-track span{display:block;height:100%;border-radius:99px;background:var(--teal);transition:width .2s}.stock-unit-mode-switch{display:flex;gap:8px;margin-top:18px;border-bottom:1px solid var(--line);padding-bottom:10px}.stock-unit-mode-switch button{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#62747a;padding:10px 13px;font-size:10px;font-weight:800}.stock-unit-mode-switch button.active{background:#e4f8f0;border-color:#a8e6cb;color:#087b69}.stock-unit-method-card{padding-top:17px}.stock-unit-method-card h3{font-size:12px;margin:0 0 5px}.stock-unit-method-card>p{font-size:9px;line-height:1.7;color:var(--muted);margin:0 0 13px}.stock-unit-scan-row{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;gap:8px}.stock-unit-scan-row input,.stock-unit-generate-row input{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:11px 12px;font-size:11px;color:var(--ink);background:#fff}.stock-unit-pending-heading{display:flex;justify-content:space-between;align-items:center;margin-top:17px;font-size:10px}.stock-unit-pending-heading span{color:var(--teal);font-weight:800}.stock-unit-pending-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.stock-unit-pending-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:8px;padding:5px 8px;min-width:0}.stock-unit-pending-list code{font-size:9px;overflow-wrap:anywhere}.stock-unit-empty-hint{padding:16px;border:1px dashed #d8e4e0;border-radius:9px;background:#fbfdfc;color:#84949a;font-size:10px;text-align:center;margin-top:10px}.stock-unit-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.stock-unit-actions>span{font-size:9px;color:var(--muted)}.stock-unit-generate-row{display:grid;grid-template-columns:minmax(130px,.6fr) minmax(130px,.8fr) auto;gap:10px;align-items:end}.stock-unit-generate-row label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:700;color:#52676e}.stock-unit-generate-summary{border:1px solid var(--line);border-radius:9px;padding:9px 12px;display:flex;flex-direction:column;gap:4px;min-height:39px}.stock-unit-generate-summary span{font-size:8px;color:var(--muted)}.stock-unit-generate-summary strong{font-size:12px}.stock-unit-generated-result{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.stock-unit-label-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stock-unit-label-preview>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #d5dfdc;border-radius:8px;padding:10px 5px;min-width:0;overflow:hidden;background:#fff}.unit-barcode-svg{display:block;max-width:100%;overflow:hidden}.unit-barcode-svg svg{display:block;max-width:100%;height:auto}.stock-unit-label-preview code{font-size:8px;overflow-wrap:anywhere;text-align:center}.stock-unit-registered-panel .table-wrap{max-height:360px;overflow:auto}.stock-unit-registered-panel table{font-size:10px}.stock-unit-registered-panel td,.stock-unit-registered-panel th{padding:9px 10px}.stock-unit-scan-progress{margin-top:12px}.unit-tracking-setting{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft)}.unit-tracking-setting>input{width:16px;height:16px;min-height:16px;margin-top:1px;accent-color:var(--teal);flex:0 0 auto}.unit-tracking-setting>span{display:flex;flex-direction:column;gap:3px;min-width:0}.unit-tracking-setting b{font-size:11px}.unit-tracking-setting small{font-size:9px;line-height:1.6;color:var(--muted)}@media (max-width:760px){.stock-unit-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-unit-product-select{grid-template-columns:1fr}.stock-unit-scan-row{grid-template-columns:minmax(0,1fr) auto}.stock-unit-scan-row .button-primary{grid-column:1/-1}.stock-unit-generate-row{grid-template-columns:1fr 1fr}.stock-unit-generate-row .button{grid-column:1/-1}.stock-unit-actions{align-items:stretch;flex-direction:column}.stock-unit-actions .button{width:100%}.stock-unit-label-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}.stock-unit-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.stock-unit-barcode-warning{display:flex;align-items:flex-start;gap:9px;margin-top:12px;padding:11px 12px;border:1px solid #f1dfb4;border-radius:9px;background:#fffaf0;color:#84652b;font-size:9px;line-height:1.7}.stock-unit-barcode-warning svg{flex:0 0 auto;margin-top:1px}@media (max-width:600px){.stock-unit-heading-actions{align-items:stretch;flex-direction:column}.stock-unit-heading-actions .button{justify-content:center}.stock-unit-barcode-warning{font-size:9px}}.shipment-cloud-gate{border:1px solid var(--border, #dbe5e2);border-radius:13px;padding:12px 14px;margin:0 0 16px;background:#f8fbfa;color:#25423e}.shipment-cloud-gate strong{display:block;font-size:13px;margin-bottom:4px}.shipment-cloud-gate p{margin:0;color:#647b76;font-size:12px;line-height:1.65}.shipment-cloud-ready{border-color:#a7e5c8;background:#ecfdf5}.shipment-cloud-blocked{border-color:#f2d39a;background:#fffbeb}[data-theme=dark] .shipment-cloud-gate{background:#172521;border-color:#36534c;color:#d9eee7}[data-theme=dark] .shipment-cloud-gate p{color:#a6c1b8}[data-theme=dark] .shipment-cloud-ready{background:#123329;border-color:#27684c}[data-theme=dark] .shipment-cloud-blocked{background:#382d18;border-color:#79602c}.toast-action{border:0;cursor:pointer;text-align:left;font:inherit;line-height:1.5}.toast-action:hover{background:#0f3033}.toast-action:focus-visible{outline:2px solid #7dd5b2;outline-offset:3px}.expense-workspace{display:grid;grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);gap:15px;align-items:start}.expense-policy-panel{display:flex;flex-direction:column;gap:12px}.expense-policy-controls{display:flex;align-items:flex-end;gap:12px;max-width:720px}.expense-policy-controls label{flex:1;display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:700;color:#61767b}.expense-policy-controls input{width:100%;border:1px solid var(--line);border-radius:9px;padding:10px 11px;background:#fff;color:var(--ink);font-size:12px}.expense-policy-panel .field-hint{font-size:9px;line-height:1.6}.expense-submit-hint{border:1px solid #dcece8;background:#f1f8f6;color:#4f8179;border-radius:9px;padding:10px;font-size:9px;line-height:1.55}.expense-record-panel{min-width:0}.expense-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.expense-list-toolbar select{min-width:170px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:#fff;color:var(--ink);font-size:10px}.expense-record-card{border:1px solid #e8eeee;border-radius:10px;padding:12px;margin-bottom:9px;background:#fff}.expense-record-card:last-child{margin-bottom:0}.expense-record-main{display:flex;align-items:flex-start;gap:10px}.expense-record-amount{display:flex;align-items:flex-end;flex-direction:column;gap:7px;white-space:nowrap}.expense-record-amount strong{font-size:12px;color:#b96a58}.expense-record-amount .tag{font-size:8px}.expense-review-actions{display:flex;gap:7px;justify-content:flex-end;padding-top:10px;margin-top:10px;border-top:1px solid #eff3f3}.expense-review-actions .button{padding:7px 10px;font-size:9px}.expense-record-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eff3f3;margin-top:7px;padding-top:6px}.expense-record-footer small{font-size:8px;color:#9aa6aa;overflow:hidden;text-overflow:ellipsis}.expense-rejection-note{color:#b65c55!important}@media (max-width:920px){.expense-workspace{grid-template-columns:1fr}.expense-policy-controls{align-items:stretch;flex-direction:column}}@media (max-width:600px){.expense-list-toolbar{align-items:stretch;flex-direction:column}.expense-list-toolbar select{width:100%}.expense-record-card{padding:10px}.expense-record-amount strong{font-size:10px}.expense-record-amount .tag{white-space:normal;text-align:right;max-width:110px}}.settlement-workspace{display:grid;grid-template-columns:minmax(280px,.92fr) minmax(0,1.08fr);gap:16px;align-items:start}.settlement-kpay-fields{display:grid;gap:12px;padding:14px;border:1px solid var(--border, #dbe3e8);border-radius:14px;background:var(--surface-muted, rgba(148, 163, 184, .07))}.settlement-kpay-fields>strong{font-size:.92rem}.settlement-kpay-fields label{margin:0}.settlement-hint{padding:11px 12px;border:1px solid var(--border, #dbe3e8);border-radius:11px;color:var(--muted, #64748b);font-size:.82rem;line-height:1.55;background:var(--surface-muted, rgba(148, 163, 184, .07))}.settlement-list{display:grid;gap:10px}.settlement-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--border, #dbe3e8);border-radius:13px;background:var(--surface, #fff)}.settlement-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:var(--primary, #0f766e);background:#0f766e17}.settlement-main{min-width:0;display:grid;gap:4px}.settlement-main strong{font-size:.9rem;line-height:1.4}.settlement-main small{color:var(--muted, #64748b);font-size:.76rem;overflow-wrap:anywhere}.settlement-amount{display:grid;gap:6px;justify-items:end;white-space:nowrap}.settlement-amount strong{font-size:.95rem}.inline-error,.inline-success{padding:10px 12px;border-radius:10px;font-size:.84rem;line-height:1.5}.inline-error{color:#b42318;background:#dc262614;border:1px solid rgba(220,38,38,.2)}.inline-success{color:#15803d;background:#16a34a14;border:1px solid rgba(22,163,74,.2)}@media (max-width: 900px){.settlement-workspace{grid-template-columns:1fr}}@media (max-width: 560px){.settlement-card{grid-template-columns:36px minmax(0,1fr)}.settlement-icon{width:36px;height:36px}.settlement-amount{grid-column:2;display:flex;align-items:center;justify-content:space-between;justify-items:unset;white-space:normal}}.payment-kpay-panel{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding:14px;border:1px solid #d8ebe6;border-radius:12px;background:#f6fbf9;color:var(--ink)}.payment-kpay-panel>strong{font-size:12px;color:var(--teal)}.payment-kpay-account{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:10px}.payment-kpay-account span{color:var(--muted)}.payment-kpay-account b{text-align:right;overflow-wrap:anywhere}.payment-kpay-panel .payment-cash-field{margin-top:3px}:root[data-theme=dark] .payment-kpay-panel{background:#162b2a;border-color:#31514c;color:#e5f1ee}:root[data-theme=dark] .payment-kpay-account span{color:#9fb6b0}.payment-kpay-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;border-radius:10px;background:#fff;border:1px solid #d8ebe6}.payment-kpay-qr{width:180px;height:180px;max-width:100%;-o-object-fit:contain;object-fit:contain;border-radius:6px}.payment-kpay-qr-wrap small{font-size:10px;line-height:1.5;color:#5c7772;text-align:center}.kpay-qr-editor{display:flex;gap:16px;align-items:center;margin-top:12px;padding:14px;border:1px dashed #cfe3dd;border-radius:12px;background:#f8fcfb}.kpay-qr-preview{flex:0 0 132px;width:132px;height:132px;display:grid;place-items:center;border-radius:10px;background:#fff;border:1px solid #d8ebe6;overflow:hidden}.kpay-qr-preview img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.kpay-qr-preview.empty{background:#f1f7f5;color:var(--muted);font-size:11px;text-align:center}.kpay-qr-preview.empty span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px}.kpay-qr-actions{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.kpay-qr-actions small{color:var(--muted);font-size:11px;line-height:1.55}.kpay-qr-actions .form-actions{margin-top:2px;flex-wrap:wrap}:root[data-theme=dark] .kpay-qr-editor{background:#162b2a;border-color:#31514c}:root[data-theme=dark] .kpay-qr-preview{background:#fff;border-color:#31514c}:root[data-theme=dark] .payment-kpay-qr-wrap{background:#fff;border-color:#31514c}.kpay-enable-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:11px!important;margin:0 0 6px;padding:12px 13px;border:1px solid #cfe3dd;border-radius:11px;background:#f8fcfb;cursor:pointer}.kpay-enable-toggle input{width:18px!important;height:18px!important;min-height:18px;margin:2px 0 0;accent-color:#0f766e;flex:0 0 auto}.kpay-enable-toggle span{display:flex;flex-direction:column;gap:4px}.kpay-enable-toggle strong{font-size:11px;color:var(--ink)}.kpay-enable-toggle small{font-size:10px;color:var(--muted);line-height:1.55}.kpay-enable-toggle.is-disabled{border-color:#f3d9c4;background:#fffaf3}:root[data-theme=dark] .kpay-enable-toggle{background:#162b2a;border-color:#31514c}:root[data-theme=dark] .kpay-enable-toggle.is-disabled{background:#2a2118;border-color:#6b4a2a}@media (max-width:560px){.kpay-qr-editor{flex-direction:column;align-items:stretch}.kpay-qr-preview{width:100%;height:160px;flex-basis:auto}.payment-kpay-qr{width:150px;height:150px}}.reports-page{gap:15px}.reports-heading{align-items:center}.report-filter-panel{padding:15px}.report-filter-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.report-filter-top .panel-heading{margin-bottom:0}.report-period-switch{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.report-period-switch button{white-space:nowrap}.report-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.report-filter-fields label{display:flex;flex-direction:column;gap:6px;font-size:9px;color:var(--muted);font-weight:700}.report-filter-fields input,.report-filter-fields select{height:38px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff);color:var(--ink);padding:0 10px;font:inherit;font-size:10px;min-width:0}.report-fixed-branch{border:1px solid var(--line);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:4px;justify-content:center}.report-fixed-branch small{font-size:8px;color:var(--muted)}.report-fixed-branch strong{font-size:10px;color:var(--ink)}.report-error{color:#bd514b}.report-metrics-grid,.report-secondary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.report-metric{min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel,#fff);box-shadow:0 4px 14px #0f2d3009;display:flex;flex-direction:column;gap:7px}.report-metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:9px;font-weight:700}.report-metric-top i{width:30px;height:30px;border-radius:9px;background:#edf6f4;color:#32877b;display:grid;place-items:center;font-style:normal;flex-shrink:0}.report-metric strong{font-size:clamp(13px,1.45vw,19px);line-height:1.3;color:var(--ink);font-weight:850;overflow-wrap:anywhere}.report-metric small{font-size:8px;color:var(--muted);line-height:1.4}.report-metric-green .report-metric-top i{background:#edf7f0;color:#3d9460}.report-metric-amber .report-metric-top i{background:#fff5e7;color:#bd8840}.report-metric-blue .report-metric-top i{background:#eef4fb;color:#557eaf}.report-charts-grid{align-items:stretch}.report-chart-panel{min-height:260px}.report-trend-chart{height:190px;display:flex;align-items:flex-end;gap:5px;padding:6px 3px 0;overflow-x:auto}.report-trend-column{min-width:12px;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:7px}.report-trend-track{height:160px;width:min(100%,22px);display:flex;align-items:flex-end;gap:2px;border-bottom:1px solid var(--line);position:relative}.report-trend-revenue,.report-trend-profit{width:50%;min-height:0;border-radius:4px 4px 0 0}.report-trend-revenue{background:#158879}.report-trend-profit{background:#9acbc0}.report-trend-column small{font-size:7px;color:var(--muted);white-space:nowrap;transform:rotate(-25deg);transform-origin:top center}.report-chart-legend{display:flex;gap:14px;margin-top:8px;justify-content:flex-end}.report-chart-legend span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:8px}.report-chart-legend i{display:block;width:8px;height:8px;border-radius:2px}.legend-revenue{background:#158879}.legend-profit{background:#9acbc0}.report-bars-list{display:flex;flex-direction:column;gap:14px;padding:4px 0}.report-bar-row{display:flex;flex-direction:column;gap:6px}.report-bar-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted)}.report-bar-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-bar-label strong{font-size:9px;color:var(--ink);white-space:nowrap}.report-bar-track{height:8px;background:var(--line);border-radius:20px;overflow:hidden}.report-bar-fill{height:100%;background:#16877b;border-radius:20px;min-width:0}.report-fill-1{background:#4d9f95}.report-fill-2{background:#80b9ad}.report-fill-3{background:#b49a68}.report-fill-4{background:#718fb1}.report-inline-note{font-size:8px;line-height:1.6;color:var(--muted);border-top:1px solid var(--line);padding-top:10px;margin-top:7px}.report-product-row{display:flex;flex-direction:column;gap:6px}.report-product-row>small{font-size:8px;color:var(--muted)}.report-table-panel .panel-heading h3{display:flex;align-items:center;gap:7px}.report-table-panel .panel-heading h3 svg{color:var(--teal)}.report-muted{display:block;color:var(--muted);font-size:8px;margin-top:3px}.report-settlement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.report-settlement-grid>div{border:1px solid var(--line);border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:6px;min-width:0}.report-settlement-grid small{font-size:8px;color:var(--muted)}.report-settlement-grid strong{font-size:12px;color:var(--ink);overflow-wrap:anywhere}.report-method-note{margin-top:0}@media (max-width:920px){.report-metrics-grid,.report-secondary-grid,.report-filter-fields,.report-settlement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-top{align-items:flex-start}.report-period-switch{justify-content:flex-start}}@media (max-width:600px){.report-metrics-grid,.report-secondary-grid{gap:8px}.report-metric{padding:10px;border-radius:10px}.report-metric-top{font-size:8px}.report-metric-top i{width:26px;height:26px}.report-metric strong{font-size:12px}.report-metric small{font-size:7px}.report-filter-fields{grid-template-columns:1fr 1fr;gap:8px}.report-filter-fields label{font-size:8px}.report-filter-fields input,.report-filter-fields select{height:35px;font-size:9px}.report-period-switch{width:100%}.report-period-switch button{font-size:8px;padding:6px 7px}.report-trend-chart{height:170px}.report-trend-track{height:140px}.report-settlement-grid{gap:7px}.report-settlement-grid>div{padding:9px}.report-settlement-grid strong{font-size:10px}.reports-heading{align-items:flex-start}}.branch-overview-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.branch-overview-panel{min-width:0}.branch-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.branch-overview-card{min-width:0;border:1px solid var(--line);border-radius:13px;background:var(--panel-soft);padding:15px;display:flex;flex-direction:column;gap:13px}.branch-overview-card-head{display:flex;align-items:center;gap:10px;min-width:0}.branch-overview-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:11px;background:var(--teal-soft);color:var(--teal)}.branch-overview-title{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.branch-overview-title strong{color:var(--ink);font-size:12px;overflow-wrap:anywhere}.branch-overview-title small{color:var(--muted);font-size:8px;line-height:1.45;overflow-wrap:anywhere}.branch-overview-revenue{display:flex;flex-direction:column;gap:3px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.branch-overview-revenue small{font-size:8px;color:var(--muted)}.branch-overview-revenue strong{font-size:19px;color:var(--teal);font-weight:850;overflow-wrap:anywhere}.branch-overview-revenue span{font-size:8px;color:var(--muted)}.branch-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.branch-overview-metrics>div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.branch-overview-metrics small{font-size:7px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}.branch-overview-metrics strong{font-size:12px;color:var(--ink)}.branch-overview-open{width:100%;justify-content:center;gap:7px;margin-top:auto}.branch-open-action{min-width:48px;padding:5px 8px;color:var(--teal);font-weight:800}.branch-open-action:hover{background:var(--teal-soft)}:root[data-theme=dark] .branch-overview-card{background:var(--panel-soft);border-color:var(--line)}:root[data-theme=dark] .branch-overview-revenue,:root[data-theme=dark] .branch-overview-metrics>div{background:var(--panel);border-color:var(--line)}@media (max-width:1050px){.branch-overview-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.branch-overview-grid{grid-template-columns:1fr}.branch-overview-summary-grid{gap:9px}.branch-overview-card{padding:12px}.branch-overview-metrics{gap:5px}.branch-overview-metrics>div{padding:7px 6px}}@media (max-width:430px){.branch-overview-card-head{flex-wrap:wrap}.branch-overview-card-head>.tag{margin-left:auto}.branch-overview-revenue strong{font-size:17px}.branch-overview-metrics small{font-size:6px}.branch-overview-metrics strong{font-size:11px}}.branch-overview-cart-note{align-items:center;flex-wrap:wrap}.branch-overview-cart-note>span{flex:1;min-width:180px}.branch-overview-cart-note .button{margin-left:auto;white-space:nowrap}@media (max-width:600px){.branch-overview-cart-note{align-items:flex-start}.branch-overview-cart-note .button{width:100%;margin-left:0;justify-content:center}}.shared-pricing-page .shared-pricing-summary{margin-bottom:2px}.shared-price-create-panel{border:1px solid var(--border, rgba(100,116,139,.22))}.shared-price-form-grid,.shared-price-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.shared-price-form-grid label,.shared-price-edit-grid label{display:flex;flex-direction:column;gap:6px;color:var(--text, #0f172a);font-size:13px;font-weight:650}.shared-price-form-grid input,.shared-price-edit-grid input{width:100%;min-width:0;border:1px solid var(--border, #dbe2ea);border-radius:10px;padding:10px 12px;color:var(--text, #0f172a);background:var(--surface, #fff);outline:none}.shared-price-form-grid input:focus,.shared-price-edit-grid input:focus{border-color:var(--primary, #0f766e);box-shadow:0 0 0 3px #0f766e1a}.shared-price-candidate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;margin:12px 0}.shared-price-candidate{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid var(--border, #dbe2ea);border-radius:11px;background:var(--surface, #fff);cursor:pointer}.shared-price-candidate.selected{border-color:var(--primary, #0f766e);background:#0f766e0e}.shared-price-candidate input{width:17px;height:17px;flex:0 0 auto;accent-color:var(--primary, #0f766e)}.shared-price-candidate-main,.shared-price-member-name{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.shared-price-candidate-main strong,.shared-price-member-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.shared-price-candidate-main small,.shared-price-member-name small{color:var(--muted, #64748b);font-size:11px;overflow-wrap:anywhere}.shared-price-candidate-price{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:3px}.shared-price-candidate-price b{font-size:12px}.shared-price-candidate-price small{color:var(--muted, #64748b);font-size:10px}.shared-price-group-list{display:grid;grid-template-columns:1fr;gap:14px}.shared-price-group-card{border:1px solid var(--border, #dbe2ea);border-radius:14px;padding:16px;background:var(--surface, #fff)}.shared-price-group-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.shared-price-group-header h4{margin:8px 0 3px;font-size:17px;font-weight:750;color:var(--text, #0f172a)}.shared-price-group-header p{margin:0;color:var(--muted, #64748b);font-size:12px}.shared-price-group-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:var(--primary, #0f766e);background:#0f766e17}.shared-price-save{display:flex;align-items:flex-end}.shared-price-members{display:grid;gap:8px;margin-top:14px}.shared-price-members>strong{font-size:13px;margin-bottom:2px}.shared-price-member{display:flex;align-items:center;gap:10px;border:1px solid var(--border, #e2e8f0);border-radius:10px;padding:9px 10px;min-width:0}.shared-price-member-icon{display:grid;flex:0 0 auto;place-items:center;width:32px;height:32px;border-radius:9px;color:var(--muted, #64748b);background:var(--surface-muted, #f1f5f9)}.shared-price-member-actions{display:flex;flex:0 0 auto;align-items:center;gap:7px}.shared-price-attach-actions{display:flex;justify-content:flex-end;margin-top:12px}.shared-price-attach-panel{margin-top:12px;padding:12px;border-radius:11px;background:var(--surface-muted, #f8fafc)}.shared-price-attach-panel>p{margin:0 0 10px;color:var(--muted, #64748b);font-size:12px}.empty-inline{color:var(--muted, #64748b);font-size:13px;text-align:center;padding:18px}@media (max-width: 760px){.shared-price-form-grid,.shared-price-edit-grid{grid-template-columns:1fr}.shared-price-candidate-list{grid-template-columns:1fr;max-height:420px}.shared-price-save{align-items:stretch}.shared-price-save .button{width:100%}.shared-price-member{align-items:flex-start}.shared-price-member-actions{flex-direction:column;align-items:flex-end}}.public-login-screen{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 12% 12%,rgba(13,148,136,.13),transparent 34%),radial-gradient(circle at 88% 88%,rgba(37,99,235,.08),transparent 32%),var(--bg,#f4f8f6);color:var(--ink,#172b2a)}.public-login-layout{width:min(980px,100%);min-height:570px;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.86fr);overflow:hidden;border:1px solid var(--line,#e2e8f0);border-radius:24px;background:var(--panel,#fff);box-shadow:0 24px 80px #0f2d371f}.public-login-brand-panel{position:relative;display:flex;flex-direction:column;justify-content:center;padding:clamp(30px,5vw,64px);background:linear-gradient(145deg,#0f766e,#115e59 58%,#164e63);color:#f0fdfa;overflow:hidden}.public-login-brand-panel:after{content:"";position:absolute;width:340px;height:340px;border:1px solid rgba(255,255,255,.14);border-radius:50%;right:-150px;bottom:-170px;box-shadow:0 0 0 32px #ffffff09,0 0 0 68px #ffffff06}.public-login-brand-mark{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:17px;background:#ffffff1f;color:#fff;animation:public-login-mark-glow 3.6s ease-in-out infinite}.public-login-brand-mark svg{filter:drop-shadow(0 0 0 rgba(52,211,153,0));animation:public-login-mark-icon 3.6s ease-in-out infinite}.public-login-eyebrow{margin:31px 0 9px;color:#99f6e4;font-size:10px;font-weight:900;letter-spacing:2.4px}.public-login-brand-panel h1{margin:0;color:#fff;font-size:clamp(30px,4vw,43px);line-height:1.13;font-weight:900;letter-spacing:-1.2px}.public-login-brand-copy{max-width:360px;margin:15px 0 0;color:#f0fdfad1;font-size:13px;line-height:1.9}.public-login-security-note{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin-top:52px;padding:13px 14px;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:#ffffff17;color:#ecfdf5;font-size:10px;line-height:1.7}.public-login-card{display:flex;flex-direction:column;justify-content:center;padding:clamp(26px,4vw,48px);background:var(--panel,#fff)}.public-login-card-heading{display:flex;align-items:center;gap:13px;margin-bottom:29px}.public-login-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:13px;background:#e8f6f2;color:#0f766e}.public-login-card-heading p{margin:0 0 4px;color:#0f968a;font-size:9px;font-weight:900;letter-spacing:1.6px}.public-login-card-heading h2{margin:0;color:var(--ink,#172b2a);font-size:23px;font-weight:850}.public-login-card-heading span{display:block;margin-top:5px;color:var(--muted,#64748b);font-size:12px}.public-login-form{display:grid;gap:17px}.public-login-form label{display:grid;gap:7px;color:var(--ink,#172b2a);font-size:12px;font-weight:800}.public-login-form input{width:100%;height:45px;padding:0 13px;border:1px solid var(--line,#e2e8f0);border-radius:10px;background:var(--panel,#fff);color:var(--ink,#172b2a);font:inherit;font-size:14px;outline:none;transition:border-color .15s,box-shadow .15s}.public-login-form input:focus{border-color:#0f988c;box-shadow:0 0 0 3px #0f968a1f}.public-login-form input:disabled{opacity:.65}.public-login-password-wrap{position:relative;display:block}.public-login-password-wrap input{padding-right:48px}.public-login-eye{position:absolute;top:0;right:0;width:45px;height:45px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted,#64748b);cursor:pointer}.public-login-submit{height:46px;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:3px;border:0;border-radius:10px;background:linear-gradient(100deg,#0f766e,#0d9488);color:#fff;font:inherit;font-size:12px;font-weight:850;cursor:pointer;box-shadow:0 8px 18px #0f766e2e;transition:transform .15s,filter .15s}.public-login-submit:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.public-login-submit:disabled,.public-login-reset:disabled{opacity:.55;cursor:not-allowed}.public-login-reset{display:flex;align-items:center;justify-content:center;gap:7px;margin:15px auto 0;padding:7px;border:0;background:transparent;color:#0f8076;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.public-login-alert{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:11px 12px;border:1px solid;border-radius:9px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.public-login-alert svg{flex:0 0 auto;margin-top:2px}.public-login-alert.is-error{border-color:#fecaca;background:#fff5f5;color:#b42318}.public-login-alert.is-success{border-color:#a7f3d0;background:#effdf6;color:#087443}.public-login-no-signup{display:flex;align-items:flex-start;gap:8px;margin-top:22px;padding:12px;border:1px solid var(--line,#e2e8f0);border-radius:10px;background:var(--panel-soft,#f7fbfa);color:var(--muted,#64748b);font-size:11px;line-height:1.7}.public-login-no-signup svg{flex:0 0 auto;margin-top:1px;color:#0f766e}.public-login-footer{margin-top:25px;text-align:center;color:var(--muted,#64748b);font-size:11px}.public-login-spinner{width:15px;height:15px;flex:0 0 15px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:public-login-spin .7s linear infinite}@keyframes public-login-spin{to{transform:rotate(360deg)}}.public-login-icon{animation:public-login-glow 3.6s ease-in-out infinite}.public-login-security-note svg{filter:drop-shadow(0 0 0 rgba(153,246,228,0));animation:public-login-shield-glow 3.6s ease-in-out infinite}@keyframes public-login-glow{0%,to{box-shadow:0 0 #0f766e00}50%{box-shadow:0 0 0 7px #0f766e17}}@keyframes public-login-shield-glow{0%,to{filter:drop-shadow(0 0 0 rgba(153,246,228,0))}50%{filter:drop-shadow(0 0 7px rgba(153,246,228,.55))}}@keyframes public-login-mark-glow{0%,to{box-shadow:0 0 #34d39900;border-color:#ffffff40}50%{box-shadow:0 0 0 8px #34d39929,0 0 22px #34d39952;border-color:#a7f3d08c}}@keyframes public-login-mark-icon{0%,to{filter:drop-shadow(0 0 0 rgba(52,211,153,0));transform:scale(1)}50%{filter:drop-shadow(0 0 8px rgba(52,211,153,.65));transform:scale(1.06)}}.public-login-dialog{width:min(420px,calc(100vw - 32px));padding:26px;border:1px solid var(--line,#e2e8f0);border-radius:18px;background:var(--panel,#fff);color:var(--ink,#172b2a);box-shadow:0 24px 70px #09191e47}.public-login-dialog::backdrop{background:#08181c8c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.public-login-dialog-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.public-login-dialog-heading h2{margin:0;font-size:18px;font-weight:850}.public-login-dialog-heading p{margin:5px 0 0;color:var(--muted,#64748b);font-size:12px;line-height:1.7}.public-login-dialog-form{display:grid;gap:13px}.public-login-dialog-form label{display:grid;gap:7px;font-size:12px;font-weight:800}.public-login-dialog-form input{width:100%;height:45px;padding:0 13px;border:1px solid var(--line,#e2e8f0);border-radius:10px;background:var(--panel,#fff);color:var(--ink,#172b2a);font:inherit;font-size:14px;outline:none}.public-login-dialog-form input:focus{border-color:#0f988c;box-shadow:0 0 0 3px #0f968a1f}.public-login-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:5px}.public-login-dialog-actions .public-login-submit{margin-top:0;padding:0 16px;height:42px}.public-login-dialog-cancel{height:42px;padding:0 14px;border:1px solid var(--line,#e2e8f0);border-radius:10px;background:var(--panel,#fff);color:var(--ink,#172b2a);font:inherit;font-size:12px;font-weight:750;cursor:pointer}.public-login-dialog-cancel:disabled{opacity:.55;cursor:not-allowed}:root[data-theme=dark] .public-login-dialog{border-color:#31514c;background:#12211f;color:#e5f4f1}:root[data-theme=dark] .public-login-dialog-heading p{color:#8fb3ae}:root[data-theme=dark] .public-login-dialog-form input{background:#162b2a;border-color:#31514c;color:#e5f4f1}:root[data-theme=dark] .public-login-dialog-cancel{background:#162b2a;border-color:#31514c;color:#e5f4f1}:root[data-theme=dark] .public-login-screen{background:radial-gradient(circle at 12% 12%,rgba(13,148,136,.13),transparent 34%),var(--bg,#0b1220)}:root[data-theme=dark] .public-login-icon{background:#123b38;color:#5eead4}:root[data-theme=dark] .public-login-card-heading p{color:#5eead4}:root[data-theme=dark] .public-login-alert.is-error{border-color:#7f1d1d;background:#2b1519;color:#fecaca}:root[data-theme=dark] .public-login-alert.is-success{border-color:#065f46;background:#10291f;color:#a7f3d0}:root[data-theme=dark] .public-login-reset{color:#5eead4}@media (max-width:760px){.public-login-screen{padding:10px;place-items:start center}.public-login-layout{grid-template-columns:1fr;min-height:auto;max-width:460px;border-radius:18px}.public-login-brand-panel{flex-direction:row;align-items:center;gap:12px;padding:14px 18px}.public-login-brand-mark{width:38px;height:38px;flex:0 0 38px;border-radius:11px}.public-login-eyebrow{display:none}.public-login-brand-panel h1{margin:0;font-size:20px;letter-spacing:-.4px}.public-login-brand-copy,.public-login-security-note{display:none}.public-login-card{padding:20px}.public-login-card-heading{gap:11px;margin-bottom:16px}.public-login-icon{width:40px;height:40px;flex-basis:40px;border-radius:11px}.public-login-card-heading h2{font-size:20px}.public-login-form{gap:13px}.public-login-no-signup{margin-top:16px;padding:10px}.public-login-footer{margin-top:16px}}@media (prefers-reduced-motion:reduce){.public-login-icon,.public-login-security-note svg,.public-login-brand-mark,.public-login-brand-mark svg{animation:none}.public-login-brand-mark svg{transform:none}.public-login-spinner{animation-duration:1.8s}.public-login-submit{transition:none}}.app-update-banner{position:fixed;z-index:60;left:50%;bottom:18px;transform:translate(-50%);display:flex;align-items:center;gap:12px;max-width:min(680px,calc(100vw - 24px));padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#065f46,#0f766e);color:#ecfdf5;border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 40px #064e3b47;font-size:12px;font-weight:600}.app-update-banner>span{flex:1;line-height:1.5}.app-update-actions{display:flex;gap:8px;flex-shrink:0}.app-update-banner .button-primary{background:#fff;color:#065f46;border-color:transparent}.app-update-banner .button-outline{color:#ecfdf5;border-color:#ffffff73;background:transparent}@media (max-width:600px){.app-update-banner{flex-wrap:wrap;bottom:12px;padding:11px 12px}.app-update-actions{width:100%}.app-update-actions .button{flex:1;justify-content:center}}:root{--ring: 0 0 0 3px rgba(13,148,136,.32);--ring-danger: 0 0 0 3px rgba(185,28,28,.24)}:root[data-theme=dark]{--ring: 0 0 0 3px rgba(94,234,212,.38);--ring-danger: 0 0 0 3px rgba(248,113,113,.32)}.button{border-radius:10px}.button-primary{color:var(--color-on-primary);background:var(--color-primary-700);box-shadow:0 6px 16px #0478572e}.button-primary:hover:not(:disabled){background:var(--color-primary-800)}.button-primary:focus-visible{outline:0;box-shadow:var(--ring)}.button-primary:disabled{background:#9cc9bb;color:#f0f7f4;opacity:1;box-shadow:none}.button-outline{background:var(--color-surface);border-color:var(--color-border-strong);color:var(--color-text)}.button-outline:hover:not(:disabled){border-color:var(--color-primary-600);color:var(--color-primary-700);background:var(--color-primary-50)}.button-danger{background:#fef2f2;border-color:#fecaca;color:var(--color-error)}.button-danger:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5}.button-danger:focus-visible{outline:0;box-shadow:var(--ring-danger)}:root[data-theme=dark] .button-primary{color:var(--color-on-primary);background:var(--color-primary-700)}:root[data-theme=dark] .button-primary:hover:not(:disabled){background:var(--color-primary-800)}:root[data-theme=dark] .button-primary:disabled{background:#1c4a3c;color:#7c9c90}:root[data-theme=dark] .button-outline{background:var(--color-surface-soft);border-color:var(--color-border-strong);color:var(--color-text)}:root[data-theme=dark] .button-outline:hover:not(:disabled){background:var(--color-primary-100);border-color:var(--color-primary-700);color:var(--color-primary-900)}:root[data-theme=dark] .button-danger{background:#3a1518;border-color:#7f1d1d;color:#fca5a5}:root[data-theme=dark] .button-danger:hover:not(:disabled){background:#4a1c20;border-color:#991b1b}.nav-item{border-radius:10px}.nav-item:hover{background:var(--color-surface-muted);color:var(--color-primary-700)}.nav-item.active{position:relative;background:var(--color-primary-100);color:var(--color-primary-900)}.nav-item.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:62%;border-radius:0 3px 3px 0;background:var(--color-primary-700)}:root[data-theme=dark] .nav-item{color:var(--color-text-muted)}:root[data-theme=dark] .nav-item:hover{background:var(--color-surface-muted);color:var(--color-primary-700)}:root[data-theme=dark] .nav-item.active{background:var(--color-primary-100);color:var(--color-primary-900)}:root[data-theme=dark] .nav-item.active:before{background:var(--color-primary-700)}body{background:var(--color-bg);color:var(--color-text)}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:0}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--color-focus);box-shadow:var(--ring)}button:focus-visible,a:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px}.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus,.modal-card input:focus,.modal-card select:focus,.modal-card textarea:focus,.cart-customer input:focus,.inline-search:focus,.select-control:focus{outline:0;border-color:var(--color-focus);box-shadow:var(--ring)}.search-box:focus-within{border-color:var(--color-focus);box-shadow:var(--ring)}input::-moz-placeholder,textarea::-moz-placeholder{color:#64736e;opacity:1}input::placeholder,textarea::placeholder{color:#64736e;opacity:1}:root[data-theme=dark] input::-moz-placeholder,:root[data-theme=dark] textarea::-moz-placeholder{color:#8fa8a1}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#8fa8a1}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin}th{background:var(--color-surface-muted);color:var(--color-text-muted);font-size:10px}td{color:#45594f;border-bottom-color:var(--color-border);font-size:11px}td strong{color:var(--color-text)}.mono{font-size:10px}:root[data-theme=dark] table th{background:var(--color-surface-muted);color:var(--color-text-muted);border-color:var(--color-border)}:root[data-theme=dark] table td{color:var(--color-text);border-color:var(--color-border)}:root[data-theme=dark] table tbody tr:hover{background:var(--color-surface-soft)}.tag{background:#eef2f1;color:#3f524b;font-size:9px}.tag-success{background:#dcfce7;color:#166534}.tag-warn{background:#fef3c7;color:#92400e}.tag-danger{background:#fee2e2;color:#991b1b}:root[data-theme=dark] .tag{background:var(--color-surface-muted);color:var(--color-text)}:root[data-theme=dark] .tag-success{background:#0c3a2e;color:#86efac}:root[data-theme=dark] .tag-warn{background:#3c2f10;color:#fde68a}:root[data-theme=dark] .tag-danger{background:#3a1f22;color:#fca5a5}.warning-text,.stock-warning{color:var(--color-warning)}.expense-amount{color:var(--color-error)}.metric-alert{color:#92400e!important}.backup-warning{color:#92400e}.security-note,.expiry-notice{background:#fffbeb;border-color:#fde68a;color:#92400e}.security-note strong,.expiry-notice strong{color:#78350f}.security-note p,.expiry-notice p{color:#854d0e}:root[data-theme=dark] .security-note,:root[data-theme=dark] .expiry-notice{background:var(--color-surface-soft);border-color:var(--color-border);color:var(--color-text-muted)}:root[data-theme=dark] .security-note strong,:root[data-theme=dark] .expiry-notice strong{color:var(--color-warning)}:root[data-theme=dark] .security-note p,:root[data-theme=dark] .expiry-notice p{color:var(--color-text-muted)}:root[data-theme=dark] .metric-alert{background:var(--color-surface-muted)!important;color:var(--color-warning)!important}.section-heading p{font-size:12px}.panel-heading p{font-size:11px}.field-hint,.backup-card small{color:var(--color-text-muted)}.connection-pill,.sales-summary-chip,.analytics-note{color:#0f5f54}.analytics-note strong{color:var(--color-primary-800)}.analytics-note p{color:#4b5f59}.empty-state p{color:var(--color-text-muted)}:root[data-theme=dark] .connection-pill,:root[data-theme=dark] .sales-summary-chip{background:var(--color-primary-100);border-color:var(--color-border-strong);color:var(--color-primary-900)}:root[data-theme=dark] .topbar{background:#071a16eb}:root[data-theme=dark] .mobile-bottom-nav{background:#071a16f5}:root[data-theme=dark] .metric-primary{background:var(--color-primary-100);border-color:var(--color-border-strong)}:root[data-theme=dark] .metric-head>div,:root[data-theme=dark] .table-product-icon,:root[data-theme=dark] .product-tile-icon,:root[data-theme=dark] .mini-stat-icon,:root[data-theme=dark] .panel-icon,:root[data-theme=dark] .empty-icon,:root[data-theme=dark] .branch-list-icon,:root[data-theme=dark] .offline-icon{background:var(--color-surface-muted);color:var(--color-primary-700)}:root[data-theme=dark] .period-switch,:root[data-theme=dark] .payment-switch,:root[data-theme=dark] .price-mode,:root[data-theme=dark] .qty-control,:root[data-theme=dark] .bar-track,:root[data-theme=dark] .category-track{background:var(--color-surface-muted)}:root[data-theme=dark] .period-switch button.active,:root[data-theme=dark] .payment-switch button.selected,:root[data-theme=dark] .price-mode button.active{background:var(--color-primary-100);color:var(--color-primary-900)}:root[data-theme=dark] .product-tile:hover{border-color:var(--color-primary-700);background:var(--color-surface-soft)}:root[data-theme=dark] .welcome-banner{background:linear-gradient(110deg,#064e3b,#047857 58%,#059669)}:root[data-theme=dark] .public-login-submit{background:var(--color-primary-700);color:var(--color-on-primary)}:root[data-theme=dark] .public-login-submit:hover:not(:disabled){background:var(--color-primary-800)}:root[data-theme=dark] .public-login-icon{background:var(--color-primary-100);color:var(--color-primary-700)}.public-login-brand-panel{background:linear-gradient(145deg,#047857,#065f46 58%,#064e3b)}.public-login-submit{background:linear-gradient(100deg,var(--color-primary-700),var(--color-primary-600))}.public-login-submit:focus-visible{outline:0;box-shadow:var(--ring)}.public-login-form input:focus,.public-login-dialog-form input:focus{border-color:var(--color-focus);box-shadow:var(--ring)}.public-login-icon{background:var(--color-primary-100);color:var(--color-primary-700)}.public-login-reset,.public-login-card-heading p{color:var(--color-primary-700)}:root[data-theme=dark] .public-login-card-heading p{color:var(--color-primary-700)}:root[data-theme=dark] .public-login-reset{color:var(--color-primary-700)}@media (pointer: coarse){.button,.public-login-submit,.public-login-dialog-cancel,.public-login-reset,.theme-toggle{min-height:44px}.nav-item{min-height:46px}.icon-btn,.small-action,.text-button,.panel-link,.metric-link{min-width:44px;min-height:44px}.payment-switch button,.price-mode button,.period-switch button{min-height:44px}.qty-control button{width:44px;height:44px}.form-panel input,.form-panel select,.cart-customer input,.modal-card input,.modal-card select,.search-box,.select-control,.inline-search{min-height:44px}}@media (max-width: 760px){th,td{padding:10px 11px}}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .search-box,:root[data-theme=dark] .inline-search,:root[data-theme=dark] .select-control,:root[data-theme=dark] .modal-card input,:root[data-theme=dark] .modal-card select,:root[data-theme=dark] .modal-card textarea,:root[data-theme=dark] .form-panel input,:root[data-theme=dark] .form-panel select,:root[data-theme=dark] .form-panel textarea,:root[data-theme=dark] .receiving-line-card input:not([type=checkbox]),:root[data-theme=dark] .receiving-line-card select,:root[data-theme=dark] .public-login-form input,:root[data-theme=dark] .public-login-dialog-form input{background:var(--color-surface-soft);color:var(--color-text);border-color:var(--color-border-strong)}.product-grid-more{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:12px 14px;border:1px dashed var(--color-border);border-radius:12px;background:var(--color-surface-soft);color:var(--color-text-muted);font-size:11px;font-weight:700}@media (max-width: 600px){.product-grid-more{flex-direction:column;align-items:stretch;text-align:center}.product-grid-more .button{width:100%}}@media (max-width: 640px){.table-wrap.table-cards{overflow:visible}.table-wrap.table-cards table,.table-wrap.table-cards tbody{display:block;width:100%}.table-wrap.table-cards thead{display:none}.table-wrap.table-cards tbody tr{display:block;margin-bottom:10px;padding:12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface)}.table-wrap.table-cards tbody tr:hover{background:var(--color-surface)}.table-wrap.table-cards tbody tr:last-child{margin-bottom:0}.table-wrap.table-cards td{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:6px 0;border:0;text-align:right}.table-wrap.table-cards td:before{content:attr(data-label);flex:0 0 38%;text-align:left;color:var(--color-text-muted);font-size:10px;font-weight:800;letter-spacing:.02em}.table-wrap.table-cards td:first-child{margin-bottom:6px;padding-bottom:8px;border-bottom:1px solid var(--color-border)}.table-wrap.table-cards td.table-card-wide{display:block;text-align:left}.table-wrap.table-cards td.table-card-wide:before{display:block;margin-bottom:5px}.table-wrap.table-cards td.table-card-actions{justify-content:flex-end;padding-top:8px}.table-wrap.table-cards td.table-card-actions:before{content:none}.table-wrap.table-cards td>*,.table-wrap.table-cards td span,.table-wrap.table-cards td b{min-width:0;overflow-wrap:anywhere}.table-wrap.table-cards .table-actions{justify-content:flex-end;flex-wrap:wrap}.table-wrap.table-cards .table-product{text-align:left}}.runtime-badge{position:fixed;left:12px;bottom:12px;z-index:2147483000;display:inline-flex;align-items:center;gap:7px;max-width:calc(100vw - 24px);padding:6px 11px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;pointer-events:none;box-shadow:0 8px 24px #0f172a38}.runtime-badge-dot{width:7px;height:7px;border-radius:50%;background:#fbbf24;box-shadow:0 0 0 3px #fbbf2447}.runtime-badge-emulator{background:#78350f;color:#fde68a;border:1px solid #b45309}.runtime-badge-staging{background:#0c4a6e;color:#bae6fd;border:1px solid #0284c7}.runtime-badge-production{background:#7f1d1d;color:#fecaca;border:1px solid #dc2626}@media print{.runtime-badge{display:none!important}}.statement-action{display:inline-flex;align-items:center;gap:4px}.statement-modal{width:min(720px,100%)}.statement-controls{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end;margin-bottom:14px}.statement-controls label{display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:700;color:#586a71}.statement-controls input,.statement-controls select{width:100%;border:1px solid #e1e8e9;border-radius:8px;padding:8px 9px;font-size:10px;background:#fff;color:var(--ink);outline:0}.statement-controls input:focus,.statement-controls select:focus{border-color:#9bcec7;box-shadow:0 0 0 3px #0f766e0f}.statement-preview{max-height:44vh;overflow:auto;background:#eef2f4;border:1px solid #dfe7e9;border-radius:10px;padding:14px;display:flex;justify-content:center}.statement-paper{flex-shrink:0;background:#fff;color:#000;font-family:Arial,Pyidaungsu,Noto Sans Myanmar,sans-serif;line-height:1.45;padding:4mm 3mm;border:1px solid #d7dee0;box-shadow:0 2px 10px #0f282814}.statement-paper-58{width:58mm;font-size:8pt}.statement-paper-80{width:80mm;font-size:9pt}.statement-head{display:flex;flex-direction:column;gap:2px;text-align:center;border-bottom:1px dashed #333;padding-bottom:6px}.statement-shop{font-size:1.2em;line-height:1.25}.statement-head span{font-size:.85em;overflow-wrap:anywhere}.statement-head h2{font-size:.95em;letter-spacing:.05em;margin:6px 0 0}.statement-identity{display:flex;flex-direction:column;gap:2px;padding:6px 0;border-bottom:1px solid #999}.statement-identity>div{display:flex;justify-content:space-between;gap:8px}.statement-identity span{color:#333;flex-shrink:0}.statement-identity b{text-align:right;font-weight:700;overflow-wrap:anywhere}.statement-outstanding{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #000;padding:4px 5px;margin:6px 0;font-weight:700}.statement-outstanding strong{font-size:1.1em;white-space:nowrap}.statement-lines{display:flex;flex-direction:column}.statement-line{border-bottom:1px dotted #999;padding:5px 0}.statement-line-top{display:flex;justify-content:space-between;gap:6px;font-weight:700}.statement-line-top b{white-space:nowrap}.statement-line-meta{display:flex;justify-content:space-between;gap:6px;font-size:.88em;color:#222;margin-top:2px}.statement-line-meta span:last-child{white-space:nowrap}.statement-line-note{display:block;font-size:.82em;color:#444;margin-top:2px;overflow-wrap:anywhere}.statement-empty{text-align:center;color:#555;font-size:.9em;margin:10px 0}.statement-summary{border-top:1px solid #000;margin-top:6px;padding-top:5px;display:flex;flex-direction:column;gap:2px}.statement-summary>div{display:flex;justify-content:space-between;gap:8px}.statement-summary b{white-space:nowrap}.statement-closing{border-top:1px dashed #666;margin-top:3px;padding-top:3px;font-weight:700}.statement-notes{margin-top:6px;font-size:.82em;color:#333}.statement-notes p{margin:2px 0;overflow-wrap:anywhere}.statement-footer{margin-top:8px;border-top:1px dashed #333;padding-top:5px;font-size:.8em;display:flex;flex-direction:column;gap:2px;text-align:center;color:#222}.statement-feedback{margin-top:10px;border:1px solid #dceee9;background:#f5fbf9;border-radius:8px;padding:9px 11px;color:#0f766e;font-size:10px;font-weight:700}.statement-actions{flex-wrap:wrap}.statement-print-portal{display:none}@media (max-width:600px){.statement-controls{grid-template-columns:1fr 1fr;gap:8px}.statement-controls label:nth-of-type(3){grid-column:span 2}.statement-controls>button{grid-column:1/-1}.statement-preview{padding:8px;max-height:40vh}.statement-modal{max-height:94vh}.statement-actions .button{flex:1}}@media print{.modal-backdrop,body.printing-customer-statement .app-shell{display:none!important}body.printing-customer-statement .statement-print-portal{display:block!important;position:static!important}.statement-print-portal .statement-paper{border:0;box-shadow:none;padding:3mm 2mm;color:#000}.statement-print-portal .statement-paper-58{width:58mm;font-size:8pt}.statement-print-portal .statement-paper-80{width:80mm;font-size:9pt}.statement-line,.statement-summary>div{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}}.cart-panel{display:flex;flex-direction:column;max-height:calc(100dvh - 120px)}.cart-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.cart-scroll .cart-items{flex:0 0 auto;height:auto;min-height:0;max-height:none;overflow:visible}.cart-scroll .held-section{flex:0 0 auto}.cart-summary{flex:0 0 auto;position:relative;z-index:2}@media (max-width:600px){.pos-layout-mobile-split .cart-panel{max-height:none;height:100%;overflow:hidden}.pos-layout-mobile-split .cart-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain}.pos-layout-mobile-split .cart-scroll .cart-items{flex:0 0 auto;height:auto;min-height:0;max-height:none;overflow:visible;padding:0 9px}.pos-layout-mobile-split .cart-summary{flex:0 0 auto;position:relative;bottom:auto}.pos-layout-mobile-split .checkout-button{position:static!important;inset:auto!important}}.payment-verification{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 0;font-size:10px;font-weight:700}.payment-verification .tag{margin:0}.payment-verification small{font-size:10px;color:var(--muted);font-weight:600}.payment-verify-error{margin:6px 0 0;color:#b42318;font-size:10px;font-weight:700}.return-sale-card{width:min(640px,100%)}.return-sale-body{display:grid;gap:12px}.return-sale-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#0f766e0a}.return-sale-summary span,.return-sale-summary small{font-size:10px;color:var(--muted)}.return-sale-lines{display:grid;gap:9px;max-height:46vh;overflow-y:auto;padding-right:2px}.return-sale-line{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--panel)}.return-line-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.return-line-heading small,.return-line-empty{font-size:10px;color:var(--muted)}.return-unit-list{display:grid;gap:6px;margin-top:8px}.return-unit-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid var(--line);border-radius:8px;padding:6px 8px}.return-unit-row.selected{border-color:#9bcec7;background:#0f766e0d}.return-unit-row label{flex-direction:row!important;align-items:center;gap:7px!important;margin:0}.return-unit-row input[type=checkbox]{width:auto}.return-unit-row select{width:auto;min-width:130px}.return-plain-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:8px}.return-sale-card .modal-actions{position:sticky;bottom:-22px;background:var(--panel);padding-bottom:4px}@media (max-width:600px){.return-plain-row{grid-template-columns:1fr}.return-sale-lines{max-height:none}.return-sale-card .modal-actions{bottom:-17px}}
