:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:#e7eff8;background:#0b1520;font-size:16px;color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}.shell{max-width:1000px;margin:0 auto;min-height:100vh;background:linear-gradient(145deg,#101e2d,#0c1825 58%,#0b1520)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 28px 18px;border-bottom:1px solid #253446}.brand{display:flex;align-items:center;gap:12px}.brandmark{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:#e5af63;color:#152332;font-size:30px;font-weight:900;letter-spacing:-.07em}.brandmark-dot{color:#fff;font-size:20px;margin-left:0}.brand strong{font-size:22px;font-weight:800;letter-spacing:-.04em;display:block}.brand small{display:block;letter-spacing:.11em;color:#9cb0c5;font-size:9px;font-weight:700;margin-top:3px}.net-pill{display:inline-flex;align-items:center;white-space:nowrap;background:#1e3540;border:1px solid #426554;color:#a6e0b4;padding:8px 10px;font-size:12px;border-radius:50px}.net-pill.offline{background:#3a2d20;color:#ffd39a;border-color:#755a31}.sync-bar{margin:16px 28px;border:1px solid #2a4054;border-radius:14px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#152538}.sync-bar strong{font-size:14px}.sync-led{display:inline-block;height:8px;width:8px;border-radius:99px;background:#76be95;margin-right:9px}.muted{color:#91a5b8}.small{font-size:12px}.small-action{background:#293d53;border:1px solid #496178;color:#e5efff;padding:11px 13px;border-radius:10px;font-weight:650;font-size:13px}.small-action:hover{background:#334d66}.tabs{display:flex;gap:8px;padding:0 28px;border-bottom:1px solid #273849}.tab{flex:1;text-align:center;background:transparent;border:0;border-bottom:3px solid transparent;color:#91a9be;font-weight:700;padding:15px 4px}.tab.active{border-color:#e5af63;color:#fff}.count{background:#23384d;padding:2px 7px;border-radius:99px;font-size:11px}.view{padding:24px 28px 40px}.hidden{display:none!important}.section-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px}.section-title h1{margin:0;font-size:25px;letter-spacing:-.04em}.section-title p{margin:6px 0 0;color:#9eb0c4;font-size:13px}.search-box{display:flex;align-items:center;gap:8px;background:#17293a;border:1px solid #3c5064;border-radius:12px;padding:5px 6px 5px 14px;margin-bottom:17px}.search-box:focus-within{border-color:#deb072}.search-box input{width:100%;background:transparent;color:#fff;outline:none;border:0;padding:11px 0;font-size:16px}.search-box input::placeholder{color:#7d93a8}.search-icon{font-size:26px;color:#c1d0dc}.search-box button{background:#304960;color:#f8e5c4;border:0;border-radius:9px;padding:10px 13px;font-size:22px}.catalog-list,.cart-list,.records-list{display:flex;flex-direction:column;gap:10px}.product-card{display:flex;align-items:center;gap:14px;padding:15px 16px;background:#172839;border:1px solid #2a4051;border-radius:13px}.product-main{flex:1;min-width:0}.product-code{font-size:11px;color:#d5b07b;font-weight:700;letter-spacing:.03em}.product-name{font-size:15px;font-weight:650;line-height:1.3;margin:4px 0}.product-barcodes{font-size:11px;color:#8ea6bc;word-break:break-word}.product-price{text-align:right;white-space:nowrap;font-size:16px;font-weight:800;color:#e5f1ff}.add-button{margin-left:5px;width:37px;height:37px;flex-shrink:0;background:#e9af64;color:#1d2b37;border:0;border-radius:10px;font-size:26px;font-weight:700}.notice{border:1px solid #705c35;background:#2b291e;color:#f4d7a3;border-radius:11px;padding:13px 15px;line-height:1.45;font-size:13px;margin-bottom:18px}.empty{color:#94aabf;text-align:center;border:1px dashed #40536a;padding:36px 15px;border-radius:13px}.cart-entry{background:#172839;border:1px solid #2a4051;border-radius:12px;padding:16px}.cart-entry-top{display:flex;justify-content:space-between;gap:12px}.cart-entry strong{display:block;margin:4px 0}.cart-entry small{color:#9cb0c4}.cart-entry-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px}.qty-wrap{display:flex;gap:8px;align-items:center}.qty-wrap input{border:1px solid #405970;background:#0f1e2e;color:#fff;border-radius:9px;padding:9px;width:100px}.remove{border:0;background:transparent;color:#ffbdac;font-size:13px}.cart-footer{margin-top:18px;padding:18px;background:#142539;border-radius:13px;border:1px solid #334b60}.total-row{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:20px}.total-row span{color:#a2b4c5}.total-row strong{font-size:29px;letter-spacing:-.04em}.field-label{display:block;color:#aebdcb;font-size:13px;margin-bottom:9px}select{width:100%;background:#1a3044;color:#fff;border:1px solid #46617a;padding:12px;border-radius:10px;margin-bottom:15px}.primary-button{display:block;width:100%;border:0;border-radius:11px;background:#eab569;color:#152231;padding:14px 16px;font-weight:800}.primary-button:hover{background:#f4c480}.text-button{background:transparent;color:#b3cce1;border:0;padding:13px;display:block;width:100%;font-size:13px}.records-list{margin-top:18px}.record-card{background:#172839;border:1px solid #30465a;border-radius:13px;padding:15px}.record-head{display:flex;justify-content:space-between;gap:14px}.record-head strong{font-size:14px}.record-total{font-weight:800;color:#e8bd82}.record-meta{font-size:12px;color:#a9bbcb;margin:7px 0}.record-lines{font-size:12px;color:#cbd6e0;border-top:1px solid #33495c;margin-top:9px;padding-top:10px;line-height:1.6}.record-id{font-size:10px;color:#8295a9;word-break:break-all}footer{padding:20px 28px;text-align:center;border-top:1px solid #233546;color:#7590a5;font-size:11px;line-height:1.6}dialog{max-width:min(440px,calc(100% - 24px));width:100%;border:1px solid #496176;background:#142536;color:#ecf3fa;border-radius:15px;padding:0;box-shadow:0 20px 80px #000b}dialog::backdrop{background:#060f18d9}.dialog-inner{padding:22px}.dialog-inner p{font-size:14px;color:#b7c6d5;line-height:1.5}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:18px;margin:0}.plain-close{border:0;background:transparent;color:#e6eff7;font-size:28px}.upload-zone{display:flex;flex-direction:column;gap:5px;text-align:center;border:1px dashed #d9ad73;border-radius:12px;padding:23px 8px;margin:17px 0;cursor:pointer}.upload-zone strong{color:#ecc68f}.upload-zone small{color:#a3b7ca}.dialog-inner input[type=file]{width:100%;font-size:12px;color:#b2c5d6}.dialog-actions{display:flex;align-items:center;gap:10px;margin-top:22px}.dialog-actions button{flex:1}.dialog-actions .text-button{text-align:left}video{background:#000;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:11px;margin-top:15px}#toast{position:fixed;left:16px;right:16px;bottom:20px;max-width:520px;margin:0 auto;background:#273f53;border:1px solid #56849d;border-radius:12px;padding:13px;color:#fff;box-shadow:0 4px 24px #0008;display:none;font-size:13px;z-index:30}#toast.visible{display:block}@media(max-width:560px){.topbar{padding:18px 15px 15px}.brandmark{width:38px;height:38px;font-size:25px}.brand strong{font-size:19px}.net-pill{font-size:11px;padding:7px}.sync-bar{margin:12px 14px;padding:13px;flex-wrap:wrap}.tabs{padding:0 14px}.view{padding:22px 14px 36px}.section-title h1{font-size:23px}.product-card{gap:9px;padding:13px 11px}.product-name{font-size:14px}.product-price{font-size:14px}.add-button{width:33px;height:33px}footer{padding:18px 12px}}

.sync-actions{display:flex;flex-wrap:wrap;gap:7px}#mobileToken{width:100%;background:#0f1e2e;border:1px solid #435a73;color:#fff;border-radius:9px;padding:12px;margin:4px 0 8px}#syncProgress{min-height:2.4em}
