@charset "UTF-8";
:root{--navy:#132b36;--navy-dark:#10232d;--teal:#0c8c7d;--teal-dark:#087365;--mint:#e6f4f0;--ink:#1b343d;--muted:#7c8a90;--line:#e7ecee;--bg:#f4f7f8;--white:#fff;--red:#c95858;--amber:#b27a29;--shadow:0 6px 28px #193e4a05;--radius:16px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #67c8bc;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:0;border-color:#3bb3a3;box-shadow:0 0 0 3px #0c8c7d13}button svg{flex-shrink:0}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.initial-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);gap:18px}.loading-line{width:160px;height:3px;background:var(--line);border-radius:3px;overflow:hidden}.loading-line:after{content:"";display:block;height:100%;width:40%;background:var(--teal);animation:loading 1s infinite alternate}@keyframes loading{to{transform:translateX(150%)}}.brand-mark{height:39px;width:39px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--teal);color:white;font-size:27px;font-weight:750;letter-spacing:-3px;padding-right:3px;flex-shrink:0}.brand{display:flex;gap:12px;align-items:center;color:#fff;font-size:23px;font-weight:700;letter-spacing:-.7px}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:2.6px;margin-top:3px;color:#91a9b3}.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--navy);padding:35px 21px 20px;display:flex;flex-direction:column;z-index:30}.sidebar .brand{margin:0 10px 44px}.nav-section{font-size:10px;letter-spacing:1.7px;color:#718c98;margin:0 15px 12px;font-weight:650}.nav{display:flex;flex-direction:column;gap:7px}.nav button{border:0;display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:9px;background:transparent;color:#9db0b8;text-align:left;font-size:13px;font-weight:520}.nav button.active{background:var(--teal);color:#fff;box-shadow:0 5px 15px #0000000a}.nav button:hover:not(.active){background:#ffffff08;color:#fff}.nav .icon{width:19px;height:19px}.nav-divider{height:1px;background:#ffffff0b;margin:24px 12px}.sidebar-bottom{margin-top:auto;padding-top:30px}.local-note{border:1px solid #ffffff12;border-radius:10px;padding:14px;color:#9db0b8;font-size:11px;line-height:1.7}.local-note strong{color:#d5e5e9;display:flex;align-items:center;gap:7px;font-size:12px;margin-bottom:4px}.status-dot{width:6px;height:6px;background:#54c5a4;border-radius:50%;display:inline-block}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff10;margin-top:20px;padding:19px 7px 0;color:#fff;font-size:12px}.avatar{height:35px;width:35px;display:flex;align-items:center;justify-content:center;background:#d8eee7;color:#237366;border-radius:11px;font-size:12px;font-weight:700;flex-shrink:0}.profile-copy{flex:1;min-width:0}.profile-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.profile-copy small{display:block;font-size:10px;color:#91a6af;margin-top:4px}.profile button{background:none;border:0;color:#91a6af;padding:4px}.workspace{margin-left:236px}.topbar{height:84px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.breadcrumb{font-size:12px;color:#a0a9ad;display:flex;gap:11px;align-items:center}.breadcrumb strong{color:#465c65;font-weight:550}.topbar-right{display:flex;align-items:center;gap:20px;color:#73838a;font-size:11px}.date-chip{display:flex;align-items:center;gap:8px}.date-chip .icon{width:16px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:9px;color:#70828b}.icon-btn.danger{color:var(--red)}.menu-toggle{display:none}.main{max-width:1800px;margin:0 auto;padding:31px 36px 40px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;color:var(--teal);letter-spacing:1.5px;margin-bottom:9px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.9px;font-weight:680;line-height:1.3}h2{font-size:16px;letter-spacing:-.35px;font-weight:650}h3{font-size:14px;font-weight:620}.page-heading p{font-size:12px;color:var(--muted);margin-top:9px;line-height:1.7}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:#fff;color:#4b616a;padding:11px 16px;border-radius:9px;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap;line-height:1.4}.btn .icon{width:17px;height:17px}.btn:hover{background:#f7faf9}.btn.primary{background:var(--teal);border-color:var(--teal);color:white;box-shadow:0 3px 9px #0c8c7d12}.btn.primary:hover{background:var(--teal-dark)}.btn.danger{background:#fff5f4;border-color:#f4d9d6;color:#b34f4a}.btn.small{font-size:11px;padding:8px 11px}.btn.ghost{background:transparent;border-color:transparent;color:var(--teal);padding:6px 0}.btn.full{width:100%}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.kpi{padding:21px 21px 18px}.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#76868e}.kpi-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#e9f4f1;color:#258d7f}.kpi-icon.blue{background:#edf2fb;color:#647eb8}.kpi-icon.amber{background:#fcf4e7;color:#b89754}.kpi-icon.purple{background:#f1edfa;color:#9476bc}.kpi-value{font-size:27px;letter-spacing:-1px;font-weight:680;margin:15px 0 11px;line-height:1.1;overflow-wrap:anywhere}.kpi-foot{display:flex;align-items:center;gap:5px;font-size:10px;color:#91a0a6}.kpi-foot .icon{width:12px;height:12px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:23px;margin-bottom:23px}.card-header{padding:23px 23px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.card-subtitle{font-size:11px;color:#97a2a7;margin-top:7px}.tag{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;background:var(--mint);color:#278976;font-size:10px;font-weight:600;white-space:nowrap}.tag.amber{background:#fff4dd;color:#aa7a28}.tag.red{background:#fceceb;color:#bc5e56}.tag.gray{background:#f0f3f4;color:#7d8c93}.chart-wrap{height:220px;padding:24px 23px 15px;position:relative}.chart{display:flex;height:100%;align-items:flex-end;gap:17px;padding-left:9px}.chart-column{height:100%;flex:1;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:12px}.chart-bars{width:100%;height:calc(100% - 27px);display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#eef2f4 45px,#eef2f4 46px)}.chart-bar{width:min(45px,65%);background:#c9e8e1;border-radius:6px 6px 0 0;min-height:3px;position:relative;transition:height .3s}.chart-column:last-child .chart-bar{background:var(--teal)}.chart-column small{font-size:10px;color:#8a9aa1}.chart-total{padding:15px 23px;border-top:1px solid #f0f3f4;display:flex;justify-content:space-between;font-size:11px;color:#83939a}.chart-total strong{color:var(--ink);font-weight:600}.quick-card{padding-bottom:18px}.quick-illustration{padding:25px 24px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-illustration .icon{height:65px;width:65px;color:#4caa98;background:var(--mint);padding:15px;border-radius:19px}.quick-illustration strong{font-size:30px;letter-spacing:-1px}.quick-illustration p{font-size:11px;color:var(--muted);margin-top:6px}.quick-card .btn{margin:0 23px;width:calc(100% - 46px)}.info-row{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#85949b;padding:11px 23px}.info-row strong{font-weight:600;color:#526871}.card-header.with-bottom{padding-bottom:20px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}th{font-size:10px;font-weight:600;color:#91a0a6;background:#fafcfc;padding:13px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #eff3f4;color:#5b7079}tr:last-child td{border-bottom:0}td strong{font-weight:600;color:#2b454f}td small{display:block;color:#94a1a7;font-size:10px;margin-top:5px}.right{text-align:right}.muted{color:var(--muted)}.mono{font-variant-numeric:tabular-nums}.empty{padding:52px 24px;text-align:center;color:#97a4aa}.empty .icon{width:37px;height:37px;stroke-width:1.3;margin-bottom:15px;color:#99b8b2}.empty h3{color:#617981;margin-bottom:9px}.empty p{font-size:12px;line-height:1.8;max-width:350px;margin:auto}.empty .btn{margin-top:20px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;flex-wrap:wrap}.search{position:relative;min-width:210px;flex:1;max-width:385px}.search .icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#99a8ad;width:18px}.search input{padding-left:42px}.input{width:100%;height:42px;border:1px solid #e1e8eb;border-radius:8px;background:white;padding:10px 12px;color:#304953;font-size:12px;transition:border-color .15s,box-shadow .15s}.input::placeholder{color:#a3afb4}.input.small{height:35px;font-size:11px}.filters{display:flex;gap:7px;align-items:center;overflow:auto;padding:2px 0}.chip{border:1px solid var(--line);border-radius:7px;background:#fff;color:#819199;padding:9px 13px;font-size:11px;white-space:nowrap}.chip.active{background:var(--mint);border-color:#bce2d9;color:var(--teal);font-weight:600}.count{font-size:11px;color:#8a9ba2}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:24px;align-items:start}.pos-products .toolbar{margin-bottom:15px}.pos-products .filters{margin-bottom:20px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;text-align:left;color:var(--ink);transition:box-shadow .15s,transform .15s;display:flex;flex-direction:column;position:relative;min-width:0}.product-card:hover{transform:translateY(-2px);box-shadow:0 7px 20px #183d4b0c;border-color:#b7dcd3}.product-card:disabled{opacity:.5;cursor:not-allowed;transform:none}.product-visual{height:99px;background:#eef5f1;display:flex;align-items:center;justify-content:center;border-radius:8px;position:relative;margin-bottom:13px;overflow:hidden}.product-visual:before,.product-visual:after{content:"";width:90px;height:90px;position:absolute;border:1px solid #ffffffaa;border-radius:50%;right:-20px;bottom:-43px}.product-visual:after{width:120px;height:120px;bottom:-58px;right:-35px}.product-visual .icon{height:39px;width:39px;stroke-width:1.25;color:#6e998c}.product-card:nth-child(4n+2) .product-visual{background:#f4eee5}.product-card:nth-child(4n+2) .product-visual .icon{color:#b3956e}.product-card:nth-child(4n+3) .product-visual{background:#e9eff6}.product-card:nth-child(4n+3) .product-visual .icon{color:#7a96b8}.product-card:nth-child(4n) .product-visual{background:#f1ecf4}.product-card:nth-child(4n) .product-visual .icon{color:#a08bab}.product-category{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#94a2a7;margin-bottom:6px}.product-name{font-size:12px;font-weight:600;line-height:1.5;min-height:36px;overflow-wrap:anywhere}.product-meta{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:10px}.product-price{font-size:13px;font-weight:700;color:var(--teal)}.product-stock{font-size:9px;color:#96a3a8}.add-dot{position:absolute;top:20px;right:20px;border-radius:50%;width:23px;height:23px;background:#fff;color:#5f8d80;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 9px #00000005}.add-dot .icon{width:13px;height:13px}.cart{position:sticky;top:20px}.cart-header{padding:21px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.cart-header h2{font-size:15px}.cart-subtitle{font-size:10px;color:#95a4aa;margin-top:5px}.cart-items{padding:0 20px;max-height:340px;overflow:auto;min-height:140px}.cart-item{padding:17px 0;border-bottom:1px solid #eff3f4;display:flex;gap:10px}.cart-item:last-child{border-bottom:0}.cart-item-copy{flex:1;min-width:0}.cart-item-copy strong{display:block;font-size:12px;font-weight:600;line-height:1.5}.cart-item-copy small{font-size:10px;color:#95a4aa}.cart-item-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.cart-item-bottom strong{font-size:12px;color:var(--teal)}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;overflow:hidden}.stepper button{height:25px;width:25px;border:0;background:#fafcfc;color:#7d919a;font-size:15px}.stepper span{min-width:26px;text-align:center;font-size:11px;font-weight:600;padding:0 3px}.cart-delete{border:0;background:none;color:#a7b3b8;align-self:flex-start;padding:1px}.cart-delete .icon{width:15px;height:15px}.cart-summary{padding:18px 21px;border-top:1px dashed #e1e8ea;background:#fcfdfd}.money-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#819299;margin-bottom:12px}.money-row strong{color:#3d5863;font-weight:600}.money-row.total{border-top:1px solid var(--line);padding-top:17px;font-size:14px;margin-top:16px;margin-bottom:0;color:var(--ink)}.money-row.total strong{font-size:21px;color:var(--teal);letter-spacing:-.7px}.discount-input{width:63px;text-align:right;height:30px;padding:5px 8px}.payment-box{padding:19px 21px 21px}.field-label{display:block;font-size:11px;font-weight:600;color:#687d86;margin-bottom:8px}.payment-methods{display:flex;gap:7px;margin-bottom:17px}.payment-method{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 5px;border:1px solid var(--line);background:#fff;border-radius:7px;font-size:10px;color:#81929a}.payment-method .icon{width:15px;height:15px}.payment-method.active{border-color:#8ecdc0;background:#eff8f5;color:var(--teal)}.payment-box .money-row{margin-top:12px;margin-bottom:17px}.cart-hint{font-size:9px;color:#a0adb2;text-align:center;line-height:1.7;margin-top:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#687d86;font-weight:550}.field.full{grid-column:1/-1}.field small{font-weight:400;color:#97a5ac;font-size:10px;line-height:1.6}.field textarea{height:80px;resize:vertical;line-height:1.6}.field .checkbox{height:auto;width:auto;margin:0 6px 0 0;vertical-align:middle}.notice{border-radius:9px;background:#eff8f5;border:1px solid #d8ede6;padding:13px 15px;font-size:11px;line-height:1.8;color:#5c8176;margin:17px 0}.notice.warning{background:#fff8ec;border-color:#f2e4c9;color:#a17e42}.notice.danger{background:#fff2f0;border-color:#f0d7d2;color:#b36258}.dialog{padding:0;border:1px solid var(--line);border-radius:17px;box-shadow:0 25px 100px #092b3a30;max-width:550px;width:calc(100% - 32px);max-height:calc(100vh - 48px);color:var(--ink)}.dialog.wide{max-width:800px}.dialog::backdrop{background:#0a24345e;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:22px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-header h2{font-size:17px}.dialog-body{padding:23px 25px}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.dialog .table-scroll{margin:18px -25px}.dialog .table-scroll td,.dialog .table-scroll th{padding:12px 17px}.dialog .table-scroll .input{min-width:70px}.dialog-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;font-size:11px;color:#8b9da4;margin-bottom:20px}.dialog-meta strong{display:block;color:#405d67;font-size:12px;font-weight:600;margin-top:6px}.receipt-total{margin-left:auto;max-width:280px;padding-top:15px}.receipt-total .money-row{margin-bottom:11px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:23px;align-items:start}.card-body{padding:23px}.settings-grid .card{margin-bottom:23px}.settings-grid .field{margin-bottom:15px}.settings-grid .form-grid .field{margin-bottom:0}.backup-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.backup-row:last-child{border:0}.backup-row strong{font-size:11px;font-weight:600;overflow-wrap:anywhere;display:block}.backup-row small{font-size:10px;color:#94a3aa;display:block;margin-top:5px}.path{font-size:10px;line-height:1.8;color:#8e9fa6;overflow-wrap:anywhere;margin-top:15px}.report-filters{display:flex;gap:13px;align-items:flex-end;padding:18px 21px;margin-bottom:22px;flex-wrap:wrap}.report-filters .field{min-width:160px}.report-filters .btn{height:42px}.section-gap{margin-top:23px}.table-actions{display:flex;gap:6px;justify-content:flex-end}.table-actions .icon-btn{padding:6px;border-color:#eaf0f1}.table-actions .icon{width:15px;height:15px}.product-cell{display:flex;align-items:center;gap:11px}.product-initial{height:33px;width:33px;border-radius:9px;background:#edf5f1;display:flex;align-items:center;justify-content:center;color:#6d9c8b;flex-shrink:0}.product-initial .icon{width:17px;height:17px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:var(--navy);padding:50px 60px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:550px;height:550px;border:1px solid #ffffff10;border-radius:50%;bottom:-200px;right:-210px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff03}.auth-story-copy{margin:auto 0;z-index:1;max-width:420px;padding:70px 0}.auth-story .eyebrow{color:#73c8b7}.auth-story h1{font-size:42px;letter-spacing:-1.6px;color:#fff;font-weight:600;line-height:1.25}.auth-story p{color:#91abb6;font-size:14px;line-height:1.9;margin-top:24px;max-width:360px}.auth-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}.auth-pills span{font-size:10px;padding:8px 12px;border:1px solid #ffffff1a;color:#b0c9cf;border-radius:20px}.auth-foot{font-size:10px;color:#708e9a;z-index:1}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{width:100%;max-width:350px}.auth-form h2{font-size:27px;letter-spacing:-.7px}.auth-form>p{font-size:12px;color:#93a1a8;line-height:1.8;margin:12px 0 30px}.auth-form .field{margin-bottom:18px}.auth-form .btn{margin-top:9px;padding:13px}.auth-caption{font-size:10px;color:#acb6ba;text-align:center;margin-top:22px;line-height:1.8}.toasts{position:fixed;right:23px;bottom:23px;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:min(400px,calc(100vw - 32px))}.toast{background:var(--navy);color:white;padding:15px 19px;border-radius:10px;box-shadow:0 6px 30px #0002;font-size:12px;line-height:1.6;animation:slide .15s ease-out;display:flex;align-items:center;gap:11px}.toast.error{background:#a34d48}.toast .icon{width:18px;height:18px}.error-screen{padding:80px 20px;text-align:center}.error-screen p{color:var(--muted);margin:15px 0 25px;font-size:13px}@keyframes slide{from{transform:translateY(8px);opacity:0}}#print-root{display:none}.loading-page{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted);font-size:12px}.return-line{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.return-line label{flex:1}.return-line small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.return-line input{width:80px}.inline-error{color:var(--red);font-size:11px;margin:10px 0;line-height:1.6}.footer-note{font-size:10px;color:#a1adb3;text-align:center;margin-top:28px}.permission-note{display:flex;gap:9px;align-items:center;font-size:11px;padding:12px 15px;background:#eff7f5;border-radius:9px;color:#6d9488;margin-bottom:20px}.divider{height:1px;background:var(--line);margin:20px 0}.mobile-backdrop{display:none}
.connection-dot.offline{background:#d69a43}.connection-dot.pending{background:#96a4aa}.connection-label.offline{color:#bd8b4c}.connection-banner{display:flex;align-items:flex-start;gap:10px;padding:14px 30px;background:#fff4e2;border-bottom:1px solid #f0dfc1;color:#9a7137;font-size:12px;line-height:1.7}.connection-banner .icon{flex-shrink:0;width:18px;height:18px;margin-top:2px}.connection-banner[hidden]{display:none}
@media(min-width:1500px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-visual{height:123px}.main{padding:35px 42px}.topbar{padding:0 42px}.pos-layout{grid-template-columns:minmax(0,1fr) 375px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.workspace{margin-left:210px}.main{padding:26px}.topbar{padding:0 26px}.kpi-grid{gap:12px}.kpi{padding:17px}.kpi-value{font-size:24px}.pos-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:18px}.settings-grid{grid-template-columns:1fr}.topbar-right{gap:12px}}
@media(max-width:950px){.sidebar{width:76px;padding:26px 12px 20px}.sidebar .brand{margin:0 5px 33px}.sidebar .brand>span:last-child,.nav-section,.nav button span,.local-note,.profile-copy,.profile>button{display:none}.nav button{padding:13px;justify-content:center}.nav button .icon{width:20px;height:20px}.sidebar-bottom .profile{padding:17px 0 0;justify-content:center}.nav-divider{margin:20px 5px}.workspace{margin-left:76px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-value{font-size:27px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.topbar{height:70px}.auth-story{padding:40px}.auth-story h1{font-size:34px}.auth-form-wrap{padding:35px}.topbar-right .date-chip{display:none}}
@media(max-width:760px){.main{padding:24px 19px}.topbar{padding:0 19px}.page-heading{gap:15px;margin-bottom:22px}.page-heading h1{font-size:24px}.page-heading .actions{justify-content:flex-end}.page-heading .actions .btn{padding:9px 11px;font-size:11px}.dashboard-grid{grid-template-columns:1fr}.quick-card{display:none}.pos-layout{grid-template-columns:minmax(0,1fr)}.cart{position:static}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-visual{height:85px}.auth-page{grid-template-columns:1fr}.auth-story{padding:28px 35px}.auth-story-copy{padding:32px 0 0}.auth-story h1{font-size:27px}.auth-story p,.auth-pills,.auth-foot{display:none}.auth-form-wrap{padding:35px 25px 50px}.auth-form{max-width:420px}.auth-story .brand{font-size:21px}.auth-story .brand-mark{height:32px;width:32px;font-size:23px;border-radius:9px}.auth-story .brand small{font-size:8px}.dialog{max-height:calc(100dvh - 24px)}.dialog-body{padding:20px}.dialog-header{padding:18px 20px}.dialog .table-scroll{margin-left:-20px;margin-right:-20px}.settings-grid{gap:0}.report-filters .field{flex:1;min-width:130px}.table-scroll th,.table-scroll td{padding-left:15px;padding-right:15px}}
@media(max-width:520px){.sidebar{transform:translateX(-100%);width:236px;padding:30px 20px;transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar .brand{margin:0 10px 35px}.sidebar .brand>span:last-child,.nav-section,.nav button span,.local-note,.profile-copy,.profile>button{display:block}.nav button{justify-content:flex-start;padding:12px 15px}.sidebar .profile{justify-content:flex-start}.profile>button{margin-left:auto}.workspace{margin-left:0}.menu-toggle{display:inline-flex}.topbar{height:65px}.topbar-right{gap:8px}.topbar-right>.status-dot,.topbar-right>.local-label{display:none}.breadcrumb{font-size:11px;gap:8px}.mobile-backdrop.open{display:block;position:fixed;inset:0;background:#102b3c66;z-index:25}.main{padding:22px 16px}.page-heading{flex-wrap:wrap;margin-bottom:21px}.page-heading p{font-size:11px}.page-heading .actions{justify-content:flex-start}.kpi-grid{gap:11px;margin-bottom:18px}.kpi{padding:16px 14px}.kpi-top{font-size:10px}.kpi-icon{height:28px;width:28px;border-radius:8px}.kpi-icon .icon{height:15px;width:15px}.kpi-value{font-size:23px;margin:14px 0 10px}.kpi-foot{font-size:9px}.card-header{padding:19px 18px 0}h2{font-size:14px}.chart-wrap{padding:20px 14px 13px;height:200px}.chart{gap:9px}.chart-total{padding:13px 18px;font-size:10px}.toolbar{gap:12px}.search{max-width:none;min-width:180px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{padding:11px}.product-visual{height:90px}.product-name{font-size:12px}.form-grid{grid-template-columns:1fr;gap:14px}.field.full{grid-column:auto}.dialog-meta{gap:15px}.dialog-footer{flex-wrap:wrap}.dialog-footer .btn{flex:1}.dialog-body{padding:18px}.dialog-header{padding:16px 18px}.dialog .table-scroll{margin-left:-18px;margin-right:-18px}.card-body{padding:20px}.report-filters{padding:17px;gap:12px}.report-filters .btn{flex:1}.actions{gap:7px}.chart-total{gap:10px}.auth-story{padding:25px}.auth-story h1{font-size:25px}.auth-story-copy{padding-top:25px}}
@media print{body{background:#fff;color:#000;font-family:monospace}#app,.toasts,dialog{display:none!important}#print-root{display:block;max-width:78mm;margin:0 auto;padding:5mm;font-size:10px;line-height:1.6}#print-root h1{font-size:17px;text-align:center;letter-spacing:0}#print-root h2{font-size:12px;text-align:center}#print-root p{text-align:center;margin:4px 0}#print-root .print-divider{border-top:1px dashed #000;margin:10px 0}#print-root .print-row{display:flex;justify-content:space-between;gap:8px}#print-root .print-item{margin:8px 0}#print-root .print-total{font-size:13px;font-weight:bold}.no-print{display:none!important}@page{margin:8mm}}


/* Accessible controls and compact layouts. */
:root{--muted:#637680}
.sidebar{overflow-y:auto}
.sidebar-brandrow{display:flex;align-items:flex-start;justify-content:space-between}
.sidebar-brandrow>.icon-btn{display:none}
.topbar-left{min-width:0;flex:1;flex-wrap:nowrap}
.breadcrumb{min-width:0;overflow:hidden}
.breadcrumb .icon,.breadcrumb strong{flex-shrink:0}
.store-name{display:block;min-width:0;max-width:clamp(80px,19vw,240px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.topbar-right{flex-shrink:0}
.password-control{position:relative}
.password-control>.input{padding-right:47px}
.password-toggle{position:absolute;right:4px;top:4px;padding:8px;border:0;background:transparent}
.password-toggle .icon{width:17px;height:17px}
.caps-warning{color:#946019!important;line-height:1.6}
.caps-warning[hidden],.form-error[hidden]{display:none}
.form-error{margin-top:16px;padding:12px 14px;border:1px solid #e7b9b3;border-radius:8px;background:#fff2ef;color:#953f36;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.card-subtitle,.kpi-foot,.count,.product-category,.product-stock,.cart-subtitle,.cart-hint,.cart-item-copy small,.chart-column small,.chart-total,.info-row,.path,.footer-note,.field small,td small,.backup-row small,.auth-form>p,.auth-caption,.dialog-meta{color:#627680}
th{color:#5c707b}
.field,.field-label{color:#526b76}
.input::placeholder{color:#637680}
.empty{color:#637680}
.tag{color:#176c5a}.tag.amber{color:#80590c}.tag.gray{color:#526a76}.tag.red{color:#983e37}
.notice{color:#426c5f}.notice.warning{color:#805b22}.notice.danger{color:#963f36}
.chip,.payment-method,.money-row{color:#5d7380}
.mobile-cart-jump{display:none}
#pos-cart{scroll-margin-top:22px}
.check-line{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#49636e;line-height:1.6;cursor:pointer}
.check-line input{flex-shrink:0;accent-color:var(--teal);margin:3px 0 0;width:16px;height:16px}
.check-line strong{display:block;font-size:12px;font-weight:600}
.check-line small{display:block;font-size:11px;color:#637680;margin-top:3px;line-height:1.7}
.copilot-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:23px;align-items:start}
.copilot-chat{overflow:hidden}
.copilot-chat-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;border-bottom:1px solid var(--line)}
.copilot-chat-header p{font-size:11px;color:#637680;line-height:1.7;margin-top:6px}
.copilot-messages{padding:26px 24px;min-height:330px;max-height:650px;overflow:auto;scroll-behavior:smooth}
.copilot-welcome{text-align:center;padding:24px 10px 8px;max-width:540px;margin:auto}
.copilot-orb{display:flex;width:68px;height:68px;align-items:center;justify-content:center;background:linear-gradient(140deg,#e7f6ed,#d4eee8);border:1px solid #b9dfd3;border-radius:22px;color:var(--teal);margin:0 auto 24px;box-shadow:0 8px 30px #0c8c7d12}
.copilot-orb .icon{width:31px;height:31px;stroke-width:1.4}
.copilot-welcome h2{font-size:23px;letter-spacing:-.6px}
.copilot-welcome>p{font-size:12px;line-height:1.9;color:#637680;margin:13px auto 23px;max-width:400px}
.copilot-suggestions{display:flex;flex-direction:column;gap:8px}
.copilot-suggestions .btn{white-space:normal;justify-content:space-between;text-align:left;font-weight:500;background:#fafcfb;padding:12px 14px;font-size:11px}
.copilot-suggestions .icon{order:2;color:var(--teal)}
.copilot-message{margin-bottom:24px}
.copilot-message:last-child{margin-bottom:0}
.copilot-message-author{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;margin-bottom:10px}
.copilot-message-author>.icon{width:17px;height:17px;color:var(--teal)}
.copilot-message-author small{font-weight:400;color:#637680;font-size:10px;margin-left:auto}
.copilot-message-text{font-size:13px;line-height:1.95;color:#354f5a;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px 18px;background:#f5f8f8;border-radius:0 12px 12px 12px;border:1px solid #e9eff0}
.copilot-message.from-user .copilot-message-text{background:#edf7f2;border-color:#dfefe6}
.copilot-message-context{display:block;color:#637680;font-size:10px;margin:8px 1px}
.copilot-thinking{display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px;font-size:11px;color:#637680;text-align:center;line-height:1.7}
.copilot-composer{padding:22px 24px;background:#fcfdfd;border-top:1px solid var(--line)}
.copilot-composer textarea{min-height:95px}
.copilot-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px}
.copilot-composer-footer>span{font-size:10px;color:#637680;line-height:1.7;max-width:280px}
.copilot-context-controls{padding:15px 0 0}
.copilot-context-controls>.form-grid{margin:17px 0 12px}
.copilot-context-controls>.notice{margin:12px 0}
.consent-line{padding:12px;border:1px solid #d3e8de;border-radius:8px;background:#eff8f3}
.copilot-context-preview{font-size:11px;border:1px solid var(--line);border-radius:8px;padding:13px;margin-top:15px;background:white}
.copilot-context-preview summary{font-weight:600;color:#405d67;cursor:pointer}
.copilot-context-preview p{color:#637680;margin-top:9px;line-height:1.7}
.copilot-context-preview pre{font-family:Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;line-height:1.7;font-size:11px;color:#3f5a65}
.copilot-provider{display:flex;align-items:center;gap:10px}
.copilot-provider>div{flex:1}
.copilot-provider strong{display:block;font-size:13px}
.copilot-provider small{display:block;font-size:10px;color:#637680;margin-top:5px}
.copilot-provider-mark{display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:var(--mint);color:var(--teal);border-radius:11px}
.copilot-config-form>.field,.copilot-config-form>.check-line{margin-bottom:17px}
.copilot-config-form>.btn{margin-top:5px}
.copilot-key-source{font-size:10px;line-height:1.7;color:#637680;margin:-8px 0 17px}
.copilot-disclaimer,.copilot-usage{font-size:10px;line-height:1.8;color:#637680;text-align:center;margin-top:13px}
@media(max-width:1200px){.copilot-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.copilot-chat-header,.copilot-composer{padding:19px}.copilot-messages{padding:22px 19px}.copilot-composer-footer{flex-wrap:wrap}.copilot-composer-footer>.btn{margin-left:auto}}
@media(max-width:1100px){.topbar-right>.local-label{display:none}.store-name{max-width:clamp(70px,20vw,190px)}}
@media(max-width:950px){.copilot-layout{grid-template-columns:1fr}.copilot-layout>aside{max-width:none}.copilot-layout>aside>.card>.card-body{padding:23px}.store-name{max-width:230px}}
@media(max-width:760px){.mobile-cart-jump{display:flex;position:fixed;z-index:21;left:95px;right:19px;bottom:18px;box-shadow:0 6px 25px #173b4533;white-space:normal;padding:14px 15px}.main:has(.mobile-cart-jump){padding-bottom:100px}.store-name{max-width:clamp(70px,25vw,190px)}.copilot-welcome{padding:15px 0 8px}.copilot-welcome h2{font-size:21px}}
@media(max-width:520px){.sidebar:not(.open){visibility:hidden}.sidebar.open{visibility:visible}.sidebar-brandrow>.icon-btn{display:inline-flex;background:transparent;border-color:#ffffff22;color:#b6cbd2;margin:3px 0 0}.sidebar-brandrow>.brand{margin-left:9px;margin-right:0}.topbar-left{gap:10px}.store-name{max-width:clamp(50px,24vw,115px)}.breadcrumb{gap:6px}.breadcrumb strong{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-cart-jump{left:16px;right:16px;bottom:14px}.copilot-chat-header{align-items:flex-start;flex-wrap:wrap;gap:12px}.copilot-composer-footer>.btn{width:100%}.copilot-chat-header h2{font-size:15px}.copilot-message-text{padding:14px;font-size:12px}.copilot-messages{min-height:250px}.copilot-welcome h2{font-size:20px}.connection-banner{padding:12px 16px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.network-mode{display:flex;gap:8px;flex-wrap:wrap}
.network-urls,.network-adapters,.network-checklist{margin-top:20px}
.network-urls h3,.network-adapters h3,.network-checklist h3{font-size:12px;margin-bottom:10px}
.network-url{font-size:12px;color:#225f54;background:#eff8f3;border:1px solid #d8ece3;border-radius:7px;padding:11px 12px;margin-top:7px;overflow-wrap:anywhere}
.network-adapter{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:11px}
.network-adapter strong{display:block;font-weight:600;color:#3d5864}
.network-adapter small{display:block;color:#637680;font-size:11px;margin-top:5px}
.network-checklist ol{margin:0;padding-left:18px;color:#526c78;font-size:11px;line-height:1.85}
.network-checklist li{margin-bottom:7px}

/* Registration and spreadsheet import */
.auth-switch { text-align:center; font-size:13px; color:var(--muted); line-height:1.7; }
.auth-link { background:none; border:0; padding:3px; color:var(--teal,#0f8278); font:inherit; font-weight:700; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.auth-link:focus-visible { outline:2px solid var(--teal,#0f8278); outline-offset:3px; border-radius:3px; }
.spreadsheet-form { display:grid; gap:18px; }
.spreadsheet-form h3 { margin:0; }
.spreadsheet-form .input[type=file] { padding:10px; height:auto; }
.import-preview { display:grid; gap:14px; }
.import-preview .table-scroll { max-height:340px; overflow:auto; }
.import-preview td small { display:block; margin-top:4px; max-width:280px; white-space:normal; }
.import-preview th { position:sticky; top:0; background:var(--surface,#fff); z-index:1; }

/* Import review and units */
.import-settings { border:1px solid var(--line,#dce5e8); border-radius:12px; padding:16px; }
.import-settings[open] { display:grid; gap:16px; }
.import-settings>summary { cursor:pointer; color:#244754; font-weight:700; font-size:13px; }
.import-pagination { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:12px; color:#536b77; }
.import-progress { display:flex; align-items:center; gap:14px; padding:14px; border-radius:10px; background:#edf7f5; color:#176457; font-size:13px; }
.import-progress .loading-line { flex:0 0 50px; }
.import-footer { position:sticky; bottom:-1px; z-index:2; background:white; padding:16px 0 6px; margin:0; }
.product-card.with-units { padding:0 0 12px; cursor:default; overflow:hidden; }
.product-add { display:block; position:relative; border:0; background:none; color:inherit; font:inherit; text-align:left; width:100%; padding:16px; cursor:pointer; }
.product-add:disabled { cursor:not-allowed; opacity:.62; }
.product-add .product-visual { margin-bottom:14px; }
.product-card .unit-chooser { margin:0 12px; width:calc(100% - 24px); font-size:11px; padding:8px; height:auto; }
.product-base-stock { display:block; margin:8px 12px 0; font-size:10px; color:#59727d; }
.unit-editor { display:grid; gap:16px; margin:18px 0; }
.unit-editor-row { border:1px solid var(--line,#dce5e8); border-radius:12px; padding:16px; }
.unit-editor-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.unit-editor-heading .check-line { margin:0; }
.unit-editor-fields { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:600px){.unit-editor-fields{grid-template-columns:1fr}.import-pagination{flex-wrap:wrap}.import-footer{bottom:-1px}.import-preview th{font-size:10px}}
/* VT local assistant */
.vt-assistant { position:fixed; right:24px; bottom:24px; z-index:35; font-family:inherit; }
.vt-toggle { display:flex; align-items:center; justify-content:center; width:62px; height:62px; padding:0; border:3px solid #fff; border-radius:50%; background:#087f73; color:white; cursor:pointer; box-shadow:0 5px 24px #082d3940; }
.vt-toggle:hover { background:#096c64; transform:translateY(-1px); }
.vt-logo { font-size:22px; font-weight:800; letter-spacing:-1px; }
.vt-logo.small { display:grid; place-items:center; flex:0 0 38px; height:38px; color:white; background:#078c7e; border-radius:50%; font-size:16px; }
.vt-panel { position:absolute; right:0; bottom:76px; display:flex; flex-direction:column; width:min(410px,calc(100vw - 32px)); max-height:min(690px,calc(100dvh - 120px)); background:#fff; border:1px solid #d9e6e6; border-radius:18px; box-shadow:0 12px 45px #102e3d30; overflow:hidden; }
.vt-panel>header { display:flex; align-items:center; gap:10px; padding:16px; background:#f0f8f6; border-bottom:1px solid #dae9e5; }
.vt-panel>header>div { flex:1; }
.vt-panel>header strong,.vt-panel>header small { display:block; }
.vt-panel>header small { color:#5d777b; font-size:10px; margin-top:4px; }
.vt-panel>header>.btn { padding:7px; font-size:10px; }
.vt-messages { overflow:auto; padding:16px; display:flex; flex-direction:column; gap:14px; min-height:130px; }
.vt-welcome { font-size:13px; line-height:1.7; margin:0; color:#405f6b; }
.vt-suggestions { display:flex; flex-wrap:wrap; gap:7px; }
.vt-suggestions>.btn { font-size:10px; white-space:normal; }
.vt-message { border-radius:12px; padding:12px; font-size:12px; line-height:1.7; max-width:96%; white-space:pre-wrap; overflow-wrap:anywhere; }
.vt-message>strong { display:block; font-size:10px; margin-bottom:4px; color:#456a73; }
.vt-message>small { display:block; font-size:9px; color:#6b8389; margin-top:8px; }
.vt-user { margin-left:auto; background:#e3f3ee; }
.vt-answer { margin-right:auto; background:#f4f7f8; }
.vt-thinking { font-size:12px; color:#0d7e72; margin:0; }
.vt-composer { border-top:1px solid #e4ecee; padding:12px 16px; display:grid; gap:10px; }
.vt-composer textarea { min-height:68px; max-height:130px; }
.vt-composer .field>span { font-size:10px; }
.vt-note { font-size:9px; line-height:1.55; color:#738891; margin:0; padding:0 16px 12px; }
@media(max-width:760px){.vt-assistant{right:16px;bottom:90px}.vt-panel{bottom:72px;max-height:calc(100dvh - 180px)}.vt-toggle{width:56px;height:56px}}
.list-pager{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;padding:.75rem 1rem;flex-wrap:wrap}
.list-pager span{margin-right:auto;font-size:.85rem;color:var(--muted,#526876)}
.subscription-screen{min-height:100vh;display:grid;align-items:center;justify-items:center;padding:clamp(14px,4vw,48px);background:#f2f6f5}
.subscription-card{width:min(100%,31rem);padding:clamp(20px,4vw,38px)}
.subscription-card .brand{color:#17343d;margin-bottom:1.65rem}
.subscription-form{display:grid;gap:1rem}
.subscription-form h1,.subscription-form p{margin:0}
.subscription-form p,.subscription-price small{color:#526876}
.subscription-price{font-size:1.75rem;color:#076c61;font-weight:700}
.subscription-price small{font-size:.95rem;font-weight:400}
.subscription-form textarea{min-height:4.5rem;overflow-wrap:anywhere}
