:root{--bg:#0a0f18;--panel:#131a25;--panel2:#182332;--panel3:#223247;--line:#40516a;--text:#f4f7fb;--muted:#aeb9c9;--accent:#78c7ff;--accent2:#b3c4d9;--danger:#ff7f7f;--warn:#ffd06a;--ok:#7be7b5;--blue:#86c9ff;--orange:#e4a95c}*{box-sizing:border-box}html,body{width:100%;height:100%;min-height:100%}body{margin:0;background:radial-gradient(circle at 50% 10%,#26364b,#0a0f18 62%);color:var(--text);font-family:Segoe UI,"Noto Sans Bengali",Arial,sans-serif;display:flex;align-items:center;justify-content:center;padding:12px;overflow:auto}#app{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.shell{width:min(940px,calc(100vw - 24px));height:min(690px,calc(100vh - 24px));min-height:min(600px,calc(100vh - 24px));margin:0 auto;border:1px solid #465873;border-radius:24px;overflow:hidden;background:#0d1420;box-shadow:0 28px 88px #000b;display:flex;flex:0 0 auto}.login-visual{width:49%;position:relative;background:url('assets/furniture-business-scene.svg') center/cover no-repeat;padding:38px 34px 28px;overflow:hidden}.login-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0001,#060b1255 45%,#060b12dc 100%)}.visual-content{position:relative;z-index:2;margin-top:38px}.brand-icon{width:62px;height:62px;border-radius:16px;background:linear-gradient(145deg,#cbd5e1,#4ea4da);display:grid;place-items:center;font-size:34px;box-shadow:0 12px 30px #0005}.visual-content h1{font-size:33px;line-height:1.12;margin:22px 0 9px;text-shadow:0 2px 14px #0008}.visual-content>p{font-size:15px;line-height:1.4;margin:0 0 20px;color:#fffde8;text-shadow:0 2px 12px #000}.feature{background:#111823d0;border:1px solid #ffffff20;border-radius:13px;padding:10px 13px;margin:8px 0;font-size:13.5px;backdrop-filter:blur(4px)}.login-panel{width:51%;padding:22px 34px 16px;background:linear-gradient(145deg,#0d1420,#162235);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#466242 transparent}.lang-row{display:flex;justify-content:flex-end}.lang-toggle{display:flex;background:#18283d;border:1px solid #425a78;border-radius:13px;padding:4px}.lang-toggle button{border:0;background:transparent;color:#c8d5bf;padding:8px 13px;border-radius:9px;font-weight:800;cursor:pointer}.lang-toggle button.active{background:linear-gradient(90deg,var(--accent),var(--accent2));color:#102033}.info-card{margin-top:12px;border:1px solid #4a6949;border-radius:14px;padding:10px 13px;display:flex;gap:12px;align-items:center;background:#121d2c}.info-icon{width:42px;height:42px;border-radius:12px;background:#274a68;display:grid;place-items:center;font-size:24px;color:#d9f0ff}.info-card b{color:#a9dcff;font-size:14px}.info-card small{display:block;color:#aebdd1;margin-top:3px;font-size:10.5px}.tabs{display:flex;background:#18283d;border-radius:13px;padding:5px;margin-top:13px}.tabs button{width:50%;padding:10px;border:0;border-radius:9px;background:transparent;color:#d2dbe7;font-size:14px;cursor:pointer}.tabs button.active{background:#274a68;color:#d9f0ff}.auth h2{font-size:25px;margin:17px 0 5px}.auth p{color:#cad7c2;margin:0 0 9px;font-size:13px}.field{margin:7px 0}.field span{display:block;font-size:10.5px;color:#c5d2bc;margin:0 0 4px}.field input,.field select,.field textarea{width:100%;padding:11px 13px;border:1px solid #425a78;border-radius:11px;background:#121d2c;color:#fff;outline:none;font:inherit}.field textarea{min-height:68px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#78c7ff;box-shadow:0 0 0 2px #78c7ff22}.primary{width:100%;padding:11px;border:0;border-radius:11px;background:linear-gradient(90deg,#78c7ff,#b4c5d9);color:#202b11;font-weight:900;font-size:15px;cursor:pointer}.primary:disabled{opacity:.62;cursor:wait}.message{font-size:11.5px;min-height:16px;margin-top:6px;line-height:1.25}.message.err{color:#ff9393}.message.ok{color:#80e9a7}.device{margin-top:7px;border:1px solid #425a78;border-radius:10px;padding:7px 9px;font-size:10px;color:#c5d0df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.privacy{font-size:9.5px;color:#8796aa;text-align:center;margin-top:5px;line-height:1.25}.version{font-size:9px;color:#718096;text-align:center;margin-top:4px}.register-mode .info-card{display:none}.register-mode .tabs{margin-top:9px}.register-mode .auth h2{margin-top:12px}.register-mode .field{margin:5px 0}.register-mode .field input{padding:9px 12px}.register-mode .primary{padding:10px}.app-shell{width:100%;height:100%;display:flex}.workspace-shell{width:min(1180px,calc(100vw - 24px));height:min(760px,calc(100vh - 24px));min-height:min(620px,calc(100vh - 24px));transition:width .16s ease,height .16s ease,border-radius .16s ease}.workspace-shell.maximized{width:calc(100vw - 24px);height:calc(100vh - 24px);max-width:none;max-height:none;border-radius:18px}.sidebar{width:215px;background:#0d1724;border-right:1px solid #33465e;padding:14px 11px;display:flex;flex-direction:column}.side-brand{display:flex;gap:9px;align-items:center;padding:7px 8px 14px}.side-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#b8c7d8,#5da9dc);display:grid;place-items:center;color:#102034;font-size:20px}.side-brand b{display:block;font-size:13px}.side-brand small{display:block;font-size:9px;color:#9dd8ff;margin-top:3px}.nav{overflow:auto;padding-right:4px}.nav button{width:100%;border:0;background:transparent;color:#b6c2d2;text-align:left;padding:8px 9px;border-radius:9px;margin:2px 0;cursor:pointer;font-size:11.8px;display:flex;align-items:center;gap:8px}.nav button .ico{width:20px;text-align:center}.nav button:hover,.nav button.active{background:#1b3852;color:#b9e5ff}.side-foot{margin-top:auto;border-top:1px solid #2c4057;padding-top:9px}.account-mini{font-size:9.5px;color:#aab7c8;line-height:1.45;padding:0 6px 7px}.content-wrap{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:58px;border-bottom:1px solid #2c4057;display:flex;align-items:center;justify-content:space-between;padding:0 17px;background:#101a28}.topbar h2{font-size:18px;margin:0}.top-actions{display:flex;gap:7px;align-items:center}.chip{border:1px solid #425a78;border-radius:999px;padding:6px 9px;font-size:10px;color:#bac6d6}.content{height:calc(100% - 58px);overflow:auto;padding:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.stat{background:linear-gradient(145deg,#152235,#0f1825);border:1px solid #324a66;border-radius:13px;padding:12px}.stat .label{font-size:10px;color:#96a8bc}.stat .value{font-size:21px;font-weight:850;margin-top:4px}.stat .sub{font-size:9.5px;color:#8192a5;margin-top:3px}.grid2{display:grid;grid-template-columns:1.28fr 1fr;gap:10px;margin-top:10px}.card{background:#121d2c;border:1px solid #324a66;border-radius:13px;padding:12px;min-width:0}.card h3{font-size:13px;margin:0 0 10px}.toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:10px;flex-wrap:wrap}.toolbar .left,.toolbar .right{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.search{width:220px;padding:9px 10px;border:1px solid #425a78;border-radius:9px;background:#121d2c;color:white}.btn{border:1px solid #465c78;background:#1c3047;color:#f0f5fb;border-radius:9px;padding:8px 10px;cursor:pointer;font-size:11px}.btn.accent{background:#b5dd62;color:#102033;border:0;font-weight:800}.btn.danger{background:#4a2026;border-color:#70313a;color:#ffb0b0}.btn.warn{background:#4a3a19;border-color:#705625;color:#ffe19a}.btn.ok{background:#173c3b;border-color:#286b62;color:#7ce4b0}.btn.tiny{padding:5px 7px;font-size:9.5px}.maximize-btn{font-size:16px;line-height:1;padding:7px 10px;min-width:38px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:10.8px}.table th{text-align:left;color:#96a8bc;font-weight:700;padding:7px;border-bottom:1px solid #344c68;white-space:nowrap}.table td{padding:8px 7px;border-bottom:1px solid #23364b;vertical-align:middle}.table tr:hover td{background:#172a3e}.muted{color:#8b9db2}.badge{display:inline-block;padding:4px 7px;border-radius:999px;background:#203a52;font-size:9px;white-space:nowrap}.badge.ok{color:#7ae6a6}.badge.warn{color:#ffd06f}.badge.danger{color:#ff9292}.badge.blue{color:#8bd0ff}.actions{display:flex;gap:5px;flex-wrap:wrap}.quick{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick button{border:1px solid #425a78;background:#172a3e;color:#edf4fb;border-radius:10px;padding:11px 8px;cursor:pointer;text-align:left;font-size:10.8px}.quick button b{display:block;color:#d9ed83;margin-bottom:4px}.notice{border:1px solid #425a78;background:#172a3e;border-radius:10px;padding:10px;font-size:11px;color:#bdc8d6;margin-bottom:10px}.modal{position:fixed;inset:0;background:#000a;display:grid;place-items:center;z-index:99;padding:12px}.modal-box{width:620px;max-width:100%;max-height:min(650px,calc(100vh - 24px));overflow:auto;background:#111c2a;border:1px solid #425a78;border-radius:17px;padding:17px;box-shadow:0 30px 80px #000}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.modal-head h3{margin:0;font-size:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-grid .full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:14px}.report-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #2c4057}.setting-row:last-child{border-bottom:0}.server-status.online{color:#7ce7a5}.server-status.offline{color:#ff9b9b}.empty{text-align:center;padding:28px;color:#8ea0b6}.amount-due{color:#ff9a9a;font-weight:800}.amount-paid{color:#79e6af;font-weight:800}.amount-bill{color:#8bd5ff;font-weight:800}.stock-row{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.stock-box{background:#15283c;border:1px solid #38516c;border-radius:12px;padding:12px}.stock-box small{color:#96a8bc}.stock-box b{display:block;font-size:18px;margin-top:5px}@media(max-width:850px){.stock-row{grid-template-columns:repeat(2,1fr)}}@media(max-height:650px){.shell{min-height:0}.login-visual{padding-top:22px}.visual-content{margin-top:18px}.feature{padding:8px 11px;margin:6px 0}.visual-content h1{font-size:29px}.login-panel{padding-top:12px}.auth h2{font-size:21px}.field input{padding:8px 10px}.privacy{display:none}}@media(max-width:760px){body{padding:6px}.shell,.workspace-shell,.workspace-shell.maximized{width:calc(100vw - 12px);height:calc(100vh - 12px);min-height:calc(100vh - 12px);border-radius:14px}.login-visual{display:none}.login-panel{width:100%;max-width:520px;margin:auto;height:100%}.sidebar{width:180px}.stats{grid-template-columns:repeat(2,1fr)}.grid2,.report-grid{grid-template-columns:1fr}.search{width:180px}}@media(max-height:620px){body{align-items:flex-start}.shell,.workspace-shell,.workspace-shell.maximized{height:calc(100vh - 12px);min-height:calc(100vh - 12px)}}

.installer-section{margin:10px 0 8px;padding:9px;border:1px solid #425a78;border-radius:13px;background:#121d2c}.installer-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.installer-title b{font-size:12px;color:#d9f0ff}.installer-title small{font-size:9px;color:#9fb0c4;text-align:right}.installer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.installer-card{min-height:68px;padding:8px 4px;border:1px solid #506985;border-radius:9px;text-align:center;color:inherit;text-decoration:none;font-size:11px;background:#ffffff12;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.installer-card>span{font-size:18px}.installer-card>b{font-size:10px}.installer-card>small{font-size:8px;color:#aebdd1}.installer-card:hover,.installer-card:focus{background:#274a68;border-color:#78c7ff;outline:none}.installer-guides{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:7px}.installer-guides a{color:#9dd8ff;font-size:8.5px}.demo-button{margin-top:8px;background:linear-gradient(90deg,#7be7b5,#78c7ff)}@media(max-width:760px){.installer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.installer-grid .installer-card:first-child{grid-column:1/-1}.installer-title{align-items:flex-start;flex-direction:column}.installer-title small{text-align:left}}

.pos-modal{width:min(960px,calc(100vw - 24px));max-height:calc(100vh - 24px)}.pos-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.pos-fields .pos-wide{grid-column:1/-1}.pos-table{min-width:650px}.pos-table select,.pos-table input{width:100%;min-width:75px;padding:8px;border:1px solid #425a78;border-radius:8px;background:#121d2c;color:#fff}.pos-table select{min-width:210px}.pos-summary{border:1px solid #54735d;border-radius:10px;padding:12px;line-height:1.8;background:#152a2a;font-size:14px}.pos-summary b{color:#b5dd62}@media(max-width:680px){.pos-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* V6 storefront POS */
.pos-store{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:stretch;min-height:560px}.pos-catalog{min-width:0}.pos-store-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.pos-store-head h2{font-size:18px;margin:0 0 4px}.pos-store-head small{color:#9bacc1}.pos-search-row{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:12px}.pos-search-row .search{min-width:190px}.pos-categories{display:flex;gap:6px;overflow:auto;scrollbar-width:thin}.pos-filter{white-space:nowrap;border:1px solid #415673;border-radius:999px;background:#172a3e;color:#dce6f0;padding:8px 12px;cursor:pointer}.pos-filter.active{background:#b5dd62;color:#172333;border-color:#b5dd62;font-weight:800}.pos-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.pos-product{border:1px solid #354a65;border-radius:14px;overflow:hidden;background:#142237;min-width:0;box-shadow:0 5px 15px #0003}.pos-product-media{height:110px;display:grid;place-items:center;position:relative;background:linear-gradient(130deg,#24445a,#7c8190);overflow:hidden}.pos-product:nth-child(3n+2) .pos-product-media{background:linear-gradient(130deg,#444d71,#ac8c81)}.pos-product:nth-child(3n+3) .pos-product-media{background:linear-gradient(130deg,#2a5860,#83a39b)}.pos-product-media img{width:100%;height:100%;object-fit:cover}.pos-product-media>span{font-size:52px;filter:drop-shadow(0 7px 8px #10203080)}.pos-stock{position:absolute;right:6px;top:6px;background:#138a69;color:#fff;border-radius:999px;padding:4px 6px;font-size:9px}.pos-stock.out{background:#993842}.pos-product-details{padding:10px}.pos-product-details>b{display:block;min-height:31px;font-size:12px;line-height:1.3}.pos-product-details>small{display:block;min-height:27px;color:#9cacc0;font-size:10px;line-height:1.25}.pos-product-foot{display:flex;align-items:center;justify-content:space-between;gap:6px}.pos-product-foot strong{font-size:13px;color:#c8ec83}.pos-product-foot button{padding:7px;font-size:10px;white-space:nowrap}.pos-cart-panel{background:#101c2c;border:1px solid #38506b;border-radius:16px;display:flex;flex-direction:column;min-height:520px;max-height:700px;overflow:hidden}.pos-cart-title{display:flex;justify-content:space-between;align-items:center;padding:14px;border-bottom:1px solid #304760}.pos-cart-title h3{margin:0;font-size:16px}.pos-cart-title h3 span{background:#b5dd62;border-radius:50%;color:#122032;padding:2px 6px;font-size:11px}.pos-cart-title small{color:#9badc3}.pos-cart-items{padding:10px;flex:1;overflow:auto}.pos-cart-empty{text-align:center;margin:65px 10px;color:#afbdd0}.pos-cart-empty span{font-size:44px}.pos-cart-empty h3{margin:8px 0}.pos-cart-empty p{font-size:11px}.pos-cart-item{display:flex;gap:8px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #2a4058}.pos-cart-thumb{width:45px;height:45px;flex:none;border-radius:9px;background:#28455a;display:grid;place-items:center;font-size:22px;overflow:hidden}.pos-cart-thumb img{width:100%;height:100%;object-fit:cover}.pos-cart-info{flex:1;min-width:0}.pos-cart-info b{display:block;font-size:11px}.pos-cart-info small{color:#9eafc2;font-size:10px}.pos-cart-item>strong{font-size:11px;color:#c9e985;white-space:nowrap}.pos-qty{display:flex;align-items:center;gap:5px;margin-top:7px}.pos-qty button{border:1px solid #45617b;color:#e4eef8;background:#243b54;border-radius:7px;padding:3px 7px;cursor:pointer}.pos-qty .remove{margin-left:4px;color:#ff9999}.pos-cart-checkout{padding:14px;border-top:1px solid #304760}.pos-cart-checkout>div{display:flex;justify-content:space-between;margin-bottom:9px;font-size:12px}.pos-cart-checkout>button{width:100%;margin-top:5px;font-size:13px}.pos-modal{width:min(960px,calc(100vw - 24px))}.product-preview{display:block;width:100px;height:75px;object-fit:cover;border-radius:9px;margin:5px 0}@media(max-width:1050px){.pos-store{grid-template-columns:minmax(0,1fr) 280px}.pos-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.pos-store{grid-template-columns:1fr}.pos-cart-panel{min-height:350px;max-height:480px}.pos-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-search-row{flex-wrap:wrap}.pos-search-row .search{width:100%}}
.pos-product-spec{font-size:10px;line-height:1.35;color:#bdd0d7;min-height:38px;margin:4px 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.pos-cart-info small{display:block;line-height:1.35}.pos-cart-info small:first-of-type{max-height:36px;overflow:hidden}.spec-cell{min-width:180px;max-width:360px;white-space:normal;line-height:1.45}.table-spec{display:block;color:#9eb9c9;font-size:9px;margin-top:2px;line-height:1.3}.modal-box .form-grid{align-items:start}
/* V9 costing and work orders */
.table td:has(.spec-cell){vertical-align:top}.modal-box:has(#m_length){width:min(760px,calc(100vw - 24px))}.table-wrap .table td .btn{margin:2px}.notice b{color:#d2f08c}
/* V10 page and form search */
.page-search-wrap{min-width:180px;max-width:255px;flex:1}.page-search{width:100%;padding:7px 10px}.top-actions{min-width:0;flex:1;justify-content:flex-end}.topbar h2{white-space:nowrap;min-width:max-content}.search-status{font-size:10px;color:#a7c7d6;white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.select-search{width:100%;margin:0 0 6px;padding:9px 10px;border:1px solid #57718a;border-radius:9px;background:#1b2d42;color:#fff}.select-search::placeholder{color:#aebdd0}tr[hidden],.field[hidden],.setting-row[hidden]{display:none!important}@media(max-width:850px){.topbar{gap:8px}.topbar h2{font-size:15px}.top-actions .chip,.search-status{display:none}.page-search-wrap{min-width:135px}.top-actions .btn:not(.maximize-btn){padding:7px;font-size:10px}}@media(max-width:500px){.topbar{padding:0 8px}.topbar h2{font-size:12px}.top-actions{gap:4px}.page-search-wrap{min-width:95px}.page-search{font-size:11px;padding:6px}.top-actions .maximize-btn{display:none}}
.menu-search{display:block;width:100%;margin:0 0 8px;padding:8px 9px;border:1px solid #425a78;border-radius:8px;background:#13263b;color:white;font-size:11px}.menu-search::placeholder{color:#9aacbf}.nav button[hidden],.stat[hidden],.quick button[hidden]{display:none!important}
.purchase-modal{width:min(1080px,calc(100vw - 24px));max-height:calc(100vh - 24px)}
.bill-table{min-width:820px;margin:10px 0}.bill-table td{vertical-align:top}.bill-table select,.bill-table input{width:100%;min-width:74px;border:1px solid #425a78;border-radius:7px;background:#121d2c;color:#fff;padding:7px;font:inherit}.bill-table td:nth-child(2){min-width:235px}.bill-table td:nth-child(2) input,.bill-table td:nth-child(2) select{margin-bottom:4px}.bill-table td:nth-child(1){min-width:95px}.purchase-modal .form-grid{margin:9px 0}.purchase-modal .field small{color:#9eb0c6}
@media(max-width:760px){.purchase-modal{width:calc(100vw - 12px);padding:12px}.purchase-modal .form-grid{grid-template-columns:1fr}}
