*{box-sizing:border-box}body{margin:0;background:#f3f5f9;color:#1b2540;font:14px/1.5 Arial,'Noto Sans Devanagari',sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid #dce1eb;border-radius:7px;padding:10px 15px;color:#263653;background:#fff;font-weight:700}a{text-decoration:none;color:inherit}button:hover{border-color:#2874f0}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #99bdff;outline-offset:3px}[hidden]{display:none!important}.stock-header{height:88px;background:#fff;border-bottom:1px solid #e1e5ee;display:flex;align-items:center;gap:20px;padding:12px max(24px,calc((100vw - 1340px)/2));position:sticky;top:0;z-index:5}.stock-brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.stock-brand img{height:55px;width:55px;object-fit:contain}.stock-brand span{font-size:17px;font-weight:800}.stock-brand b{color:#e93232}.stock-brand small{display:block;font-size:9px;letter-spacing:1.6px;color:#778197;margin-top:3px}.back-tools{margin-left:auto;font-size:11px;font-weight:800;color:#687691}main{max-width:1340px;padding:32px 24px;margin:auto}.primary{display:inline-block;background:#2874f0;border:1px solid #2874f0;color:#fff;padding:13px 20px;border-radius:7px;font-weight:800;font-size:13px}.primary:hover{background:#1c5ec8;border-color:#1c5ec8}.login-panel{max-width:460px;margin:30px auto;background:#fff;padding:38px;border:1px solid #e2e6ee;border-radius:16px;box-shadow:0 10px 35px #182f5910}.login-symbol{font-size:32px;color:#2874f0;background:#edf4ff;display:grid;place-items:center;width:62px;height:62px;border-radius:14px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#7082a4;font-weight:800}.login-panel h1{font-size:27px;line-height:1.4;margin:9px 0}.login-panel>p{color:#748096;font-size:13px}.login-panel .primary{width:100%;text-align:center;margin-top:14px}.private-note{border-top:1px solid #edf0f5;padding-top:18px;margin-top:26px}label{display:block;font-size:11px;font-weight:800;color:#5d6d86;margin:17px 0 0;letter-spacing:.3px}input,select,textarea{width:100%;padding:12px;border:1px solid #d8dfea;border-radius:6px;margin-top:6px;background:#fff;color:#23334e;letter-spacing:0}input::placeholder,textarea::placeholder{color:#a2aabd}.error{color:#bc2537!important;min-height:18px;white-space:pre-wrap;font-size:13px}.dashboard-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.dashboard-title h1{font-size:30px;letter-spacing:-.9px;margin:4px 0}.dashboard-title p{margin:4px 0;color:#77839a}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stats article{background:#fff;border:1px solid #e4e8ef;padding:21px;border-radius:10px}.stats span{display:block;color:#8a96ab;font-size:10px;font-weight:800;letter-spacing:.7px}.stats b{font-size:28px;margin-top:9px;display:block;overflow-wrap:anywhere}.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dde2ec;margin-bottom:18px}.view-tabs{display:flex;gap:22px}.view-tabs button{border:0;background:none;border-radius:0;padding:14px 0;color:#8490a4;font-size:12px}.view-tabs button.active{border-bottom:3px solid #2874f0;color:#2874f0}.dashboard-toolbar>button{font-size:11px;padding:6px 10px}.filters{display:flex;gap:12px}.filters input{flex:1;min-width:150px;margin:0}.filters select{width:190px;margin:0}#product-count{font-size:12px;color:#8894a7}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid #e2e7ef;border-radius:10px;overflow:hidden;transition:box-shadow .2s}.product-card:hover{box-shadow:0 8px 24px #1b3e7614}.product-image{height:210px;background:#fff;position:relative;display:grid;place-items:center;padding:18px;border-bottom:1px solid #f1f3f7}.product-image img{width:100%;height:100%;object-fit:contain}.product-image>span{font-size:56px;color:#d3ddec}.stock-badge{position:absolute;top:12px;left:12px;color:#166d49;background:#e7f7ed;font-size:9px;font-weight:800;padding:4px 7px;border-radius:4px}.stock-badge.low{color:#a66b09;background:#fff3d8}.stock-badge.empty{color:#b82c3e;background:#ffe9ed}.product-body{padding:17px}.product-category{font-size:10px;text-transform:uppercase;color:#9aa4b6;letter-spacing:.7px}.product-body h3{font-size:16px;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-sku{font-size:10px;color:#8d98ab}.product-price{font-size:25px;font-weight:800;color:#1d2c45;margin:12px 0 2px}.product-quantity{font-size:12px;color:#687890}.product-quantity b{color:#253c61}.product-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}.product-actions button{font-size:10px;padding:9px 5px;border-color:#dce6f8;color:#2669cb;background:#f5f9ff}.product-actions button.sale{background:#2874f0;color:#fff;border-color:#2874f0}.product-actions button.edit{background:white;color:#7b899e}.empty-stock{text-align:center;padding:70px 20px;background:#fff;border:1px dashed #d5dfef;border-radius:12px}.empty-stock>span{font-size:50px;color:#b5c8e5}.empty-stock h2{font-size:22px}.empty-stock p,.dashboard-note{color:#8793a7;font-size:12px}.dashboard-note{margin:26px 0}.history-heading{display:flex;justify-content:space-between;align-items:center}.history-heading h2{font-size:16px}.history-heading span{color:#8a97aa;font-size:12px}.table-scroll{overflow:auto;background:#fff;border:1px solid #e1e6ef;border-radius:8px}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{background:#f8faff;color:#8996ad;font-size:10px;white-space:nowrap}td,th{padding:14px 16px;border-bottom:1px solid #edf0f6}td small{display:block;color:#97a1b2}.type-badge{font-weight:800;color:#2874f0;font-size:10px}.type-badge.IN{color:#15946d}.type-badge.OUT{color:#cd7b27}dialog{border:1px solid #dce2ed;border-radius:12px;width:min(510px,calc(100% - 30px));max-height:90vh;padding:25px;color:#263957;box-shadow:0 20px 100px #10294b40}dialog::backdrop{background:#0f234480}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-heading h2{font-size:17px;margin:0}.dialog-heading button{border:0;font-size:25px;padding:0 8px;color:#8794a9}.photo-uploader{text-align:center;border:1px dashed #c9d6eb;background:#f8faff;border-radius:8px;padding:20px;margin-top:20px}.photo-uploader>img{height:120px;max-width:100%;object-fit:contain;margin-bottom:8px}.photo-uploader>span{display:block;font-size:42px;color:#a9bdd9}.photo-uploader small{display:block;font-size:9px;font-weight:800;letter-spacing:1px}.photo-select{display:inline-block;padding:7px 12px;border:1px solid #d4dfef;border-radius:5px;color:#2874f0;margin-top:10px;cursor:pointer;background:#fff}.photo-select input{position:absolute;width:1px;height:1px;opacity:0;padding:0}.photo-uploader p{margin:9px 0 0;font-size:10px;color:#9aa6b9}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #edf0f6;margin-top:20px;padding-top:20px}.dialog-footer>button{font-size:11px}#movement-product{background:#f4f7fc;padding:12px;border-radius:6px;font-weight:700;font-size:13px}#stock-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#20375b;color:#fff;border-radius:8px;font-size:13px;box-shadow:0 6px 25px #18325520;z-index:20;display:none}#stock-toast.visible{display:block}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{gap:10px}.stats article{padding:15px}.stats b{font-size:24px}}@media(max-width:750px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stats{grid-template-columns:1fr 1fr}.stock-header{height:74px;padding:10px 15px;gap:10px}.stock-brand img{height:43px;width:43px}.stock-brand span{font-size:13px}.stock-brand small{font-size:7px}.back-tools{font-size:9px}.stock-header button{font-size:9px;padding:7px}main{padding:22px 14px}.dashboard-title h1{font-size:25px}.dashboard-title>button{padding:12px;font-size:11px}.dashboard-title>div>p:not(.eyebrow){font-size:11px}.filters{flex-wrap:wrap;gap:8px}.filters input{flex-basis:100%}.filters select{width:calc(50% - 4px);font-size:11px}.product-image{height:165px;padding:12px}.product-body{padding:12px}.product-body h3{font-size:14px}.product-price{font-size:22px}.product-actions{gap:5px}.product-actions button{font-size:9px}.login-panel{padding:25px;margin-top:20px}.login-panel h1{font-size:24px}}@media(max-width:370px){.product-grid{grid-template-columns:1fr}.back-tools{display:none}}

.publish-option{display:flex;align-items:flex-start;gap:10px;background:#f3f7ff;padding:14px;border:1px solid #d5e1f7;border-radius:7px}.publish-option>input{width:18px;height:18px;margin:1px 0;flex-shrink:0}.publish-option small{display:block;line-height:1.7;font-size:11px;font-weight:400;letter-spacing:0;color:#74839c;margin-top:5px}.store-visibility{font-size:9px;font-weight:800;margin:9px 0 5px}.is-public{color:#178363}.is-private{color:#8993a5}.stock-header .back-tools{margin-left:0}.stock-header .back-tools:first-of-type{margin-left:auto}@media(max-width:750px){.tools-secondary{display:none}}

body.owner-login-mode{min-height:100vh;background:linear-gradient(140deg,#1d3c91 0%,#53439d 48%,#965c86 100%)}.owner-login-mode .stock-header{background:#ffffff0a;border-bottom:1px solid #ffffff22;color:#fff}.owner-login-mode .back-tools{color:#e2daf3}.owner-login-mode .stock-brand small{color:#c8bfdf}.owner-login-mode .stock-brand b{color:#ffdf88}.owner-login-mode .login-panel{background:#ffffff12;border:1px solid #ffffff29;box-shadow:0 20px 70px #1c20503a;color:#fff;margin-top:35px;backdrop-filter:blur(12px)}.owner-login-mode .login-symbol{background:#ffffff1c;color:#ffe4a0}.owner-login-mode .login-panel>p{color:#d7cee7}.owner-login-mode .login-panel .eyebrow{color:#e4d0f5}.owner-login-mode label{color:#ded8ed}.owner-login-mode input{background:#ffffffeb;border-color:#ffffff9a;color:#37415c}.owner-login-mode .login-panel .primary{color:#5c4020;background:#ffd05b;border-color:#ffd05b}.owner-login-mode .login-panel .primary:hover{background:#ffe08d}.owner-login-mode .private-note{border-color:#ffffff28}.owner-login-mode .login-panel .error{color:#ffe3d6!important}

.notebook-drafts{margin:20px 0 32px;padding:22px;border:1px solid #e2ba70;border-radius:16px;background:#fffaf1}.notebook-drafts h2{margin:6px 0}.notebook-drafts p{line-height:1.6}.notebook-drafts input{width:min(100%,420px);display:block;margin:8px 0 14px}.draft-table{min-width:780px;width:100%;border-collapse:collapse}.draft-table td,.draft-table th{padding:12px;border-bottom:1px solid #e6dcc8;text-align:left}.draft-table th{background:#f5ecd9}.draft-table small{display:block;max-width:270px;color:#6b5340;line-height:1.5}.draft-table button{white-space:nowrap}.draft-table .pending-label{color:#8a5200;font-weight:700}@media(max-width:600px){.notebook-drafts{padding:14px}}
