@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap";html,body,#root{width:100%;height:100%;overflow:hidden}body{color:#111827;background:#eef2f7;margin:0;font-family:Segoe UI,Arial,sans-serif}.app,.app-layout{background:#eef2f7;height:100vh;min-height:0;overflow:hidden}.app{display:flex}.app-body{height:100vh;min-height:0;display:flex;overflow:hidden}.sidebar{color:#fff;z-index:10;background:#0f172a;flex-direction:column;flex:0 0 240px;width:240px;height:100vh;padding:18px 10px;transition:width .2s,flex-basis .2s,padding .2s;display:flex;position:sticky;top:0;overflow:hidden;box-shadow:6px 0 18px #0f172a1f}.sidebar-collapsed{flex-basis:72px;width:72px;padding-inline:8px;overflow-x:hidden}.sidebar-collapsed:hover{flex-basis:240px;width:240px;padding-inline:10px}.sidebar h2{color:#fff;letter-spacing:.2px;white-space:nowrap;min-height:22px;margin:6px 8px 22px;font-size:17px;line-height:1.2}.sidebar-title-short,.sidebar-collapsed .sidebar-title-full{display:none}.sidebar-collapsed .sidebar-title-short,.sidebar-collapsed:hover .sidebar-title-full{display:inline}.sidebar-collapsed:hover .sidebar-title-short{display:none}.sidebar-nav{flex:auto;min-height:0;padding-bottom:10px;overflow:hidden auto}.sidebar a{color:#cbd5e1;white-space:nowrap;border-radius:8px;align-items:center;gap:10px;min-height:31px;margin-bottom:4px;padding:8px 10px;font-size:13px;line-height:1.15;text-decoration:none;transition:background .15s,color .15s,transform .15s,padding .2s;display:flex;position:relative;overflow:hidden}.sidebar-icon{stroke-width:2px;flex:0 0 17px;width:17px;height:17px}.sidebar-collapsed a{justify-content:center;gap:0;padding-inline:0}.sidebar-collapsed:hover a{justify-content:flex-start;gap:10px;padding-inline:10px}.sidebar-link-label{transition:opacity .14s;display:inline-block}.sidebar-collapsed .sidebar-link-label{opacity:0;width:0;max-width:0;overflow:hidden}.sidebar-collapsed:hover .sidebar-link-label{opacity:1;width:auto;max-width:180px}.sidebar a.active,.sidebar a:hover{color:#fff;background:#2563eb}.sidebar a:hover{transform:translate(2px)}.sidebar a.active:before{content:"";background:#22c55e;border-radius:999px;width:3px;position:absolute;top:8px;bottom:8px;left:0}.sidebar-group{margin-bottom:4px}.sidebar-group-open>a,.sidebar-group-open>a.active,.sidebar-group-open>a:hover{color:#fff;background:#1e293b}.sidebar-submenu{padding-left:10px;opacity:0;pointer-events:none;border-left:1px solid #94a3b859;gap:2px;max-height:0;margin:0 0 0 12px;padding-block:0;transition:opacity .14s,max-height .2s,margin .2s,padding .2s;display:grid;overflow:hidden}.sidebar-group-open .sidebar-submenu{opacity:1;pointer-events:auto;max-height:360px;margin:-2px 0 6px 12px}.sidebar-collapsed .sidebar-submenu{opacity:0;pointer-events:none;max-height:0;margin-block:0;padding-block:0}.sidebar-collapsed:hover .sidebar-group-open .sidebar-submenu{opacity:1;pointer-events:auto;max-height:360px;margin:-2px 0 6px 12px;padding-left:10px}.sidebar-submenu a{color:#94a3b8;margin-bottom:0;padding:6px 8px;font-size:12px}.sidebar-submenu a.active,.sidebar-submenu a:hover{color:#fff;background:#1e293b}.sidebar-submenu a.active:before{top:6px;bottom:6px}.sidebar-profile{color:#e2e8f0;border-top:1px solid #94a3b83d;flex:none;align-items:center;gap:10px;min-width:0;margin-top:12px;padding:10px;display:flex}.sidebar-profile-icon{color:#93c5fd;stroke-width:1.8px;flex:0 0 28px;width:28px;height:28px}.sidebar-profile-text{gap:2px;min-width:0;transition:opacity .14s;display:grid}.sidebar-profile-text strong,.sidebar-profile-text span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-profile-text strong{color:#fff;font-size:13px;font-weight:800}.sidebar-profile-text span{color:#94a3b8;font-size:11px}.sidebar-collapsed .sidebar-profile{justify-content:center;padding-inline:0}.sidebar-collapsed .sidebar-profile-text{opacity:0;width:0;max-width:0;overflow:hidden}.sidebar-collapsed:hover .sidebar-profile{justify-content:flex-start;padding-inline:10px}.sidebar-collapsed:hover .sidebar-profile-text{opacity:1;width:auto;max-width:180px}.main{background:#eef2f7;flex:1;min-width:0}.main-shell{background:#eef2f7;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.navbar{z-index:5;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:52px;padding:0 20px;display:flex;position:sticky;top:0;box-shadow:0 1px #0f172a0a}.navbar h3{color:#0f172a;white-space:nowrap;min-width:0;margin:0;font-size:16px;font-weight:800}.navbar-user{align-items:center;gap:10px;display:flex}.navbar-user span{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:5px 11px;font-size:13px;font-weight:700}.navbar-user button{color:#0f2f6b;min-height:30px;font:inherit;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:7px;padding:5px 10px;font-size:13px;font-weight:800;display:inline-flex}.navbar-user button:hover{background:#dbeafe;border-color:#2563eb}.content,.page-content{flex:1;min-width:0;min-height:0;padding:12px;overflow:hidden}.page{background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-height:400px;padding:14px;box-shadow:0 14px 36px #0f172a14}.page h1{color:#0f172a;letter-spacing:0;margin-top:0}.page p{color:#475569}.page-content .dashboard-hero>div,.page-content .customers-title-group,.page-content .leads-title-group,.page-content .purchase-management-header>div:first-child,.page-content .purchase-title-group,.page-content .purchase-request-header>div:first-child,.page-content .quotation-list-header>div:first-child,.page-content .quotation-editor-title-group,.page-content .sales-orders-title-group,.page-content .stock-title-group,.page-content .store-header>div:first-child,.page-content .vendors-title-group,.page-content .access-setup-header>div:first-child{display:none!important}.page-content .dashboard-hero,.page-content .customers-header,.page-content .leads-header,.page-content .purchase-management-header,.page-content .purchase-header,.page-content .purchase-request-header,.page-content .quotation-list-header,.page-content .quotation-editor-header,.page-content .sales-orders-header,.page-content .stock-header,.page-content .vendors-header{justify-content:flex-end!important;min-height:0!important;margin-bottom:6px!important;padding-top:0!important;padding-bottom:6px!important}.page-content .store-header{display:none!important}.page-content .dashboard-hero{background:0 0!important;border-radius:0!important;padding:0!important}.page-content .dashboard-hero button{color:#0f2f6b!important;background:#eff6ff!important;border-color:#bfdbfe!important}.page-content .masters-title-group h2{display:none!important}button{box-shadow:0 1px 2px #0f172a1f}button:hover{filter:brightness(.96)}input:focus,select:focus,textarea:focus{border-color:#2563eb;outline:3px solid #2563eb24}:where(.purchase-table,.sales-orders-table,.vendors-table,.quotation-list-table,.items-edit-table){background:#fff}:where(.purchase-table,.sales-orders-table,.vendors-table,.quotation-list-table,.items-edit-table) tbody tr:hover{background:#f8fafc}:where(.purchase-table,.sales-orders-table,.vendors-table) th{color:#0f172a}.overview-page{flex-direction:column;gap:18px;display:flex}.overview-hero{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:18px;padding-bottom:18px;display:flex}.overview-kicker{color:#16a34a;text-transform:uppercase;margin:0 0 7px;font-size:12px;font-weight:800}.overview-hero h1{margin:0;font-size:30px}.overview-hero p:last-child{max-width:680px;margin:8px 0 0;font-size:14px}.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.overview-stat{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.overview-stat span{color:#64748b;font-size:12px;font-weight:700;display:block}.overview-stat strong{color:#0f172a;margin-top:8px;font-size:24px;display:block}.overview-stat p{margin:8px 0 0;font-size:13px}.overview-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:18px}.overview-panel h2{color:#0f172a;margin:0 0 14px;font-size:18px}.overview-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.overview-actions div{background:#f8fafc;border-left:3px solid #2563eb;border-radius:8px;padding:12px}.overview-actions strong,.overview-actions span{display:block}.overview-actions strong{color:#111827;font-size:13px}.overview-actions span{color:#64748b;margin-top:6px;font-size:12px;line-height:1.4}@media (width<=900px){.overview-grid,.overview-actions{grid-template-columns:1fr}}.page h1{color:#0f2f6b!important}.page table th{color:#fff!important;background:#0f2f6b!important;border-color:#1e3a8a!important}:where(.leads-page,.vendors-page,.purchase-page,.sales-orders-page,.stock-page,.store-page,.masters-page,.quotation-page){align-content:start;background:#f6f9fe!important;border-color:#dbe5f3!important;border-radius:0!important;box-shadow:0 10px 30px #0f172a14!important}:where(.leads-header,.vendors-header,.purchase-header,.sales-orders-header,.stock-header,.store-header,.quotation-list-header,.quotation-editor-header){align-items:flex-start}:where(.lead-section,.leads-table-panel,.lead-detail-panel,.vendors-table-card,.vendor-form-panel,.purchase-table-card,.sales-orders-table-card,.sales-order-form-card,.stock-table-card,.stock-edit-card,.store-receipt-panel,.store-table-panel,.masters-panel,.quotation-list-page,.form-card){background:#fff!important;border:1px solid #e1e8f3!important;border-radius:13px!important;box-shadow:0 12px 28px #0f172a0f!important}:where(.lead-section,.leads-table-panel,.lead-detail-panel,.vendors-table-card,.vendor-form-panel,.purchase-table-card,.sales-orders-table-card,.sales-order-form-card,.stock-table-card,.stock-edit-card,.store-receipt-panel,.store-table-panel,.form-card){padding:20px!important}:where(.leads-table-wrap,.vendors-table-wrap,.purchase-table-wrap,.sales-orders-table-wrap,.stock-table-wrap,.store-table-panel,.master-table-wrap){background:#fff!important;border:1px solid #e1e8f3!important;border-radius:10px!important}:where(.lead-form-grid input,.lead-form-grid select,.vendors-form-grid input,.vendors-form-grid textarea,.purchase-table input,.sales-orders-table input,.sales-orders-table select,.receipt-form-grid input,.receipt-form-grid select,.receipt-form-grid textarea,.description-form input,.description-form select,.description-form textarea,.warehouse-form input,.warehouse-form select,.warehouse-form textarea,.form-section input,.form-section select,.form-grid input,.form-grid select,.buyer-terms-intro textarea,.buyer-terms-point-row textarea,.buyer-terms-editor-section input,.scope-notes-grid textarea,.items-edit-table input,.items-edit-table select){min-height:40px;font-size:12px;color:#0f172a!important;background:#fff!important;border:1px solid #dbe5f3!important;border-radius:7px!important}:where(.lead-form-grid input,.lead-form-grid select,.vendors-form-grid input,.vendors-form-grid textarea,.purchase-table input,.sales-orders-table input,.sales-orders-table select,.receipt-form-grid input,.receipt-form-grid select,.receipt-form-grid textarea,.description-form input,.description-form select,.description-form textarea,.warehouse-form input,.warehouse-form select,.warehouse-form textarea,.form-section input,.form-section select,.form-grid input,.form-grid select,.buyer-terms-intro textarea,.buyer-terms-point-row textarea,.buyer-terms-editor-section input,.scope-notes-grid textarea,.items-edit-table input,.items-edit-table select):focus{border-color:#2563eb!important;outline:none!important;box-shadow:0 0 0 3px #2563eb1c!important}:where(.leads-table,.vendors-table,.purchase-table,.sales-orders-table,.stock-table,.store-table,.master-table,.quotation-list-table,.items-edit-table) td{padding-block:9px!important;font-size:13px!important}:where(.leads-table,.vendors-table,.purchase-table,.sales-orders-table,.stock-table,.store-table,.master-table,.quotation-list-table,.items-edit-table) th{text-transform:uppercase;padding-block:9px!important;font-size:12px!important;font-weight:900!important}:where(.leads-table,.vendors-table,.purchase-table,.sales-orders-table,.stock-table,.store-table,.master-table,.quotation-list-table,.items-edit-table) tbody tr:hover td{background:#f8fbff!important}.access-setup-page{gap:10px;display:grid}.access-setup-header{justify-content:space-between;align-items:center;display:flex}.access-setup-header h1{color:#0f2f6b;margin:0;font-size:24px;line-height:1.1}.access-setup-header p,.access-setup-message{color:#526174;margin:4px 0 0;font-size:12px}.access-setup-selector-panel{background:#fff;border:1px solid #dbe5f3;border-radius:8px;grid-template-columns:130px minmax(220px,1fr) minmax(280px,1.3fr) minmax(180px,auto) auto;align-items:end;gap:8px;padding:10px;display:grid}.access-setup-admin-panel{background:#f8fbff;border:1px solid #c8dcff;border-radius:8px;grid-template-columns:minmax(220px,.9fr) minmax(220px,1fr) minmax(280px,1.2fr) auto;align-items:end;gap:8px;padding:10px;display:grid}.access-setup-admin-panel h2{color:#0f2f6b;margin:0;font-size:15px;line-height:1.2}.access-setup-admin-panel p{color:#526174;margin:3px 0 0;font-size:11px}.access-setup-selector-panel label,.access-setup-admin-panel label,.access-setup-controls label{color:#0f2f6b;gap:4px;font-size:11px;font-weight:800;display:grid}.access-setup-selector-panel input,.access-setup-selector-panel select,.access-setup-admin-panel input,.access-setup-admin-panel select{color:#10213d;width:100%;min-height:30px;font:inherit;background:#fff;border:1px solid #cbd8ea;border-radius:6px;font-weight:700}.access-setup-user-card{background:#f8fbff;border:1px solid #dbe5f3;border-radius:6px;gap:2px;min-height:44px;padding:6px 10px;display:grid}.access-setup-user-card strong,.access-setup-user-card span{display:block}.access-setup-user-card span{color:#526174;font-size:11px}.access-setup-message{color:#0f2f6b;background:#eef5ff;border:1px solid #c8dcff;border-radius:6px;padding:10px 12px;font-weight:700}.access-setup-table-panel{background:#fff;border:1px solid #dbe5f3;border-radius:8px;height:360px;overflow:hidden}.access-setup-table-wrap{height:100%;overflow:auto}.access-setup-table{border-collapse:collapse;width:100%;min-width:980px;font-size:11px}.access-setup-table th{z-index:1;color:#fff;text-align:left;white-space:nowrap;background:#133c7a;padding:7px 8px;position:sticky;top:0}.access-setup-table td{color:#10213d;vertical-align:top;border-bottom:1px solid #dbe5f3;padding:6px 8px}.access-setup-table td:nth-child(n+5){text-align:center}.access-setup-table strong,.access-setup-table span{display:block}.access-setup-table td>span{color:#64748b;margin-top:4px}.access-setup-table select{color:#10213d;width:120px;min-height:32px;font:inherit;background:#fff;border:1px solid #cbd8ea;border-radius:6px}.access-setup-table input[type=checkbox]{accent-color:#2563eb;width:14px;height:14px}.access-setup-empty{color:#94a3b8}.access-setup-save{color:#fff;cursor:pointer;background:#2563eb;border:1px solid #2563eb;border-radius:6px;align-items:center;gap:6px;min-height:32px;padding:0 9px;font-weight:800;display:inline-flex}.access-setup-save:disabled{cursor:not-allowed;opacity:.7}.access-setup-empty-state{text-align:center;padding:22px}@media (width<=900px){.access-setup-selector-panel,.access-setup-admin-panel{grid-template-columns:1fr}}:root{--customer-primary:#2563eb;--customer-primary-dark:#0f2f6b;--customer-primary-light:#eef5ff;--customer-border:#dbe5f3;--customer-text:#0f172a;--customer-muted:#64748b;--customer-white:#fff;--customer-danger:#dc2626}.customers-page{box-sizing:border-box;background:#f6f9fe;border:1px solid #dbe5f3;border-radius:0;align-content:start;gap:10px;width:100%;max-width:100%;min-height:calc(100vh - 76px);padding:12px;display:grid;overflow-x:hidden;box-shadow:0 10px 30px #0f172a14}.customers-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.customers-title-group,.customer-panel-header{gap:6px;display:flex}.customers-title-group{flex-direction:column}.customer-panel-header{justify-content:space-between;align-items:center}.customers-header h1,.customer-form-panel h2,.customers-list-panel h2{color:var(--customer-primary-dark);margin:0}.customers-header h1{font-size:28px;font-weight:850;line-height:1.1}.customer-form-panel h2,.customers-list-panel h2{font-size:17px;font-weight:850}.customers-header p,.customer-panel-header p{color:var(--customer-muted);margin:0;font-size:13px}.customers-header-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.customer-tabs{justify-content:flex-end;gap:7px;display:flex}.customer-tabs button,.customer-primary-button,.customer-secondary-button,.customer-edit-button{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 13px;font-size:12px;font-weight:800;transition:background-color .2s,color .2s,transform .2s,box-shadow .2s;display:inline-flex}.customer-tabs button{color:#334155;background:0 0}.customer-tabs button.active,.customer-primary-button,.customer-edit-button{background:var(--customer-primary);color:var(--customer-white);box-shadow:0 8px 18px #2563eb3d}.customer-tabs button.active:hover,.customer-primary-button:hover,.customer-edit-button:hover{background:#1d4ed8;transform:translateY(-1px)}.customer-tabs button:not(.active):hover,.customer-secondary-button:hover{background:var(--customer-primary-light)}.customer-secondary-button,.customer-edit-button{border:1px solid var(--customer-border);background:var(--customer-white);color:#475569}.customer-form-panel,.customers-list-panel{background:var(--customer-white);border:1px solid #e1e8f3;border-radius:13px;padding:14px 16px;box-shadow:0 12px 28px #0f172a0f}.customer-form-panel{gap:12px;display:grid}.customer-panel-title{align-items:center;gap:13px;display:flex}.customer-panel-icon{width:46px;height:46px;color:var(--customer-primary);background:#eef5ff;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.customer-clear-button{min-height:34px;padding:8px 13px}.customer-form-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:18px;display:grid}.customer-form-grid label{color:#1e293b;gap:8px;min-width:0;font-size:12px;font-weight:800;display:grid}.customer-label-text{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.customer-input-shell,.customer-phone-field{align-items:center;min-width:0;display:flex}.customer-input-shell{border:1px solid var(--customer-border);background:var(--customer-white);color:#8b9bb0;border-radius:7px;gap:9px;width:100%;min-height:43px;padding:0 12px;transition:border-color .2s,box-shadow .2s}.customer-input-shell:focus-within{border-color:var(--customer-primary);box-shadow:0 0 0 3px #2563eb1c}.customer-input-shell input,.customer-input-shell textarea{width:100%;min-width:0;color:var(--customer-text);font:inherit;background:0 0;border:none;outline:none;font-size:12px}.customer-phone-field{gap:8px}.customer-phone-field select{border:1px solid var(--customer-border);background:var(--customer-white);color:#334155;width:76px;height:43px;font:inherit;border-radius:7px;padding:0 9px;font-size:12px;font-weight:700}.customer-textarea-shell{align-items:flex-start;min-height:78px;padding-top:12px}.customer-input-shell textarea{resize:vertical;min-height:54px}.customer-address-field{grid-column:1/-1}.customer-field-chip{color:#94a3b8;border:1px solid #dbe5f3;border-radius:5px;flex:none;padding:3px 6px;font-size:10px;font-weight:850}.customer-required{color:var(--customer-danger)}.customer-form-actions{flex-wrap:wrap;gap:10px;display:flex}.customers-message{background:var(--customer-primary-light);width:fit-content;max-width:100%;color:var(--customer-primary-dark);border:1px solid #bfdbfe;border-radius:999px;margin:0;padding:9px 13px;font-size:13px;font-weight:800}.customers-list-panel{overflow:hidden}.customers-table-wrap{background:var(--customer-white);border:1px solid #e1e8f3;border-radius:10px;width:100%;max-width:100%;max-height:min(58vh,520px);margin-top:8px;overflow:auto}.customers-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:760px;color:var(--customer-text)}.customers-table th{z-index:1;text-align:left;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid #dbe5f3;padding:7px 10px;font-size:12px;font-weight:900;position:sticky;top:0;color:var(--customer-primary-dark)!important;background:#eaf2ff!important}.customers-table td{background:var(--customer-white);color:#334155;text-align:left;vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #edf2f7;padding:7px 10px;font-size:13px;line-height:1.3}.customers-table tbody tr:hover td{background:#f8fbff}.customers-table tbody tr:last-child td{border-bottom:none}.customers-table th:last-child,.customers-table td:last-child{text-align:right;width:116px}.customers-table th:nth-child(3),.customers-table td:nth-child(3){white-space:nowrap;width:130px}.customers-table th:nth-child(4),.customers-table td:nth-child(4){width:180px}.customer-name-cell,.customer-inline-value,.customer-row-actions{align-items:center;gap:8px;display:inline-flex}.customer-name-cell svg{width:22px;height:22px;color:var(--customer-primary);background:#eef5ff;border-radius:8px;flex:0 0 22px;padding:4px}.customer-inline-value svg{color:#64748b}.customer-row-actions{justify-content:flex-end}.customer-edit-button{min-height:26px;box-shadow:none;width:30px;padding:5px 8px}.customers-empty-state{color:var(--customer-muted)!important;text-align:center!important;padding:50px 20px!important;font-size:14px!important}@media (width<=1100px){.customers-header,.customer-panel-header{flex-direction:column;align-items:flex-start}.customers-header-actions{flex-wrap:wrap;justify-content:flex-start;width:100%;min-width:0}}@media (width<=900px){.customer-tabs{justify-content:stretch}.customer-tabs button{flex:1}.customer-form-grid{grid-template-columns:1fr}}@media (width<=520px){.customers-page{padding:16px}.customers-header h1{font-size:24px}.customers-header-actions,.customer-form-actions{flex-direction:column}.customers-header-actions,.customer-tabs,.customer-primary-button,.customer-secondary-button{width:100%}}.visual-dashboard{--blue:#1769e8;--green:#0aa36c;--purple:#7c3aed;--orange:#ff7a00;--red:#ef4444;--amber:#f59e0b;--navy:#0b2147;--ink:#10264d;--muted:#60708f;--line:#dce5f2;--surface:#fff;--canvas:#f6f9fd}.visual-dashboard{background:var(--canvas);height:100%;min-height:0;color:var(--ink);padding:22px;font-family:Inter,system-ui,sans-serif;overflow:hidden auto}.dashboard-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.dashboard-heading>div:first-child{align-items:center;gap:12px;display:flex}.dashboard-heading h1{margin:0;font-size:24px}.dashboard-heading p{color:var(--muted);margin:4px 0 0;font-size:13px}.dashboard-person-icon{width:46px;height:46px;color:var(--blue);background:#eaf2ff;border-radius:50%;place-items:center;display:grid}.dashboard-filters{gap:8px;display:flex}.dashboard-filters input{border:1px solid var(--line);height:38px;color:var(--ink);background:#fff;border-radius:9px;padding:0 11px}.dashboard-error{color:#a12020;background:#fff0f0;border:1px solid #ffcaca;border-radius:9px;margin-bottom:12px;padding:10px 14px}.kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:14px;display:grid}.kpi-card,.dashboard-widget{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 16px #1f3d660a}.kpi-card{padding:13px 13px 9px;overflow:hidden}.kpi-top{align-items:center;gap:10px;display:flex}.kpi-icon{width:42px;height:42px;color:var(--blue);background:#eaf2ff;border-radius:11px;flex:0 0 42px;place-items:center;font-size:21px;display:grid}.kpi-card.green .kpi-icon{color:var(--green);background:#e1f7ed}.kpi-card.purple .kpi-icon{color:var(--purple);background:#f0eaff}.kpi-card.orange .kpi-icon{color:var(--orange);background:#fff0df}.kpi-card.red .kpi-icon{color:var(--red);background:#ffebeb}.kpi-card.amber .kpi-icon{color:var(--amber);background:#fff4d7}.kpi-card p{color:var(--muted);margin:0 0 4px;font-size:12px}.kpi-card strong{font-size:21px}.sparkline{background:linear-gradient(#0000,#1769e80d);width:100%;height:36px;margin-top:7px}.analytics-grid{gap:14px;margin-bottom:14px;display:grid}.top-row{grid-template-columns:1.45fr .92fr 1.05fr}.bottom-row{grid-template-columns:2fr 1fr}.dashboard-widget{min-width:0;padding:15px}.dashboard-widget h2{margin:0 0 12px;font-size:15px}.revenue-widget{min-height:282px}.line-chart svg{width:100%;height:185px;overflow:visible}.grid-line{stroke:#e6edf6;stroke-width:.5px}.revenue-line,.orders-line{fill:none;stroke:var(--blue);stroke-width:1.5px}.orders-line{stroke:#72b7ff}.chart-legend,.payment-legend{color:var(--muted);align-items:center;gap:14px;font-size:11px;display:flex}.blue-dot,.pale-dot{background:var(--blue);border-radius:50%;width:8px;height:8px}.pale-dot{background:#72b7ff}.axis-labels{color:var(--muted);justify-content:space-around;font-size:10px;display:flex}.bar-rows{gap:15px;padding-top:4px;display:grid}.bar-row{grid-template-columns:78px 1fr 34px;align-items:center;gap:8px;font-size:11px;display:grid}.bar-row i,.inventory-row i{background:#edf2f8;border-radius:4px;height:12px;overflow:hidden}.bar-row i b{border-radius:4px;height:100%;display:block}.bar-row strong{text-align:right}.category-target{grid-template-columns:1fr 1fr;gap:12px;display:grid}.category-target>div+div{border-left:1px solid var(--line);padding-left:14px}.donut{border-radius:50%;place-items:center;width:116px;height:116px;margin:10px auto;display:grid}.donut:after{content:"";background:#fff;border-radius:50%;grid-area:1/1;width:70px;height:70px}.donut span{z-index:1;text-align:center;grid-area:1/1;font-size:10px}.category-key{align-items:center;gap:6px;margin:6px 0;font-size:10px;display:flex}.category-key i{border-radius:50%;width:8px;height:8px}.category-key b{margin-left:auto}.target-ring{--progress:0%;background:conic-gradient(var(--blue) var(--progress),#e7edf5 0);border-radius:50%;place-items:center;width:126px;height:126px;margin:18px auto;display:grid}.target-ring:after{content:"";background:#fff;border-radius:50%;grid-area:1/1;width:96px;height:96px}.target-ring span{z-index:1;text-align:center;grid-area:1/1;font-size:11px}.target-ring b{color:var(--blue);font-size:26px;display:block}.target-ring small{color:var(--muted);display:block}.inventory-list{gap:12px;display:grid}.inventory-row{grid-template-columns:110px 1fr 64px;align-items:center;gap:10px;font-size:11px;display:grid}.inventory-row>div{gap:4px;display:grid}.inventory-row i{height:8px;display:block}.inventory-row em{background:var(--blue);border-radius:4px;height:100%;display:block}.inventory-row>strong{text-align:center;border-radius:5px;padding:5px}.good{color:#087a4e;background:#e0f6eb}.low{color:#d53b32;background:#ffebe9}.empty{color:#64748b;background:#f1f5f9}.lead-source-widget .lead-source-header,.lead-source-row{grid-template-columns:1.1fr 1.4fr .7fr;align-items:center;column-gap:16px;display:grid}.lead-source-header{color:#6d8190;border-bottom:1px solid #e7edf3;height:28px;font-size:10px;font-weight:700}.lead-source-header span:nth-child(2),.lead-source-header span:nth-child(3){text-align:center}.lead-source-row{border-bottom:1px solid #edf1f5;min-height:28px}.lead-source-row:last-child{border-bottom:0}.lead-source-name{align-items:center;gap:7px;min-width:0;display:flex}.lead-source-name i{border-radius:50%;width:7px;min-width:7px;height:7px}.lead-source-name span{text-overflow:ellipsis;white-space:nowrap;color:#163d5a;font-size:10px;font-weight:600;overflow:hidden}.lead-source-count{align-items:center;gap:8px;display:flex}.lead-source-count b{color:#073b5c;text-align:right;width:28px;font-size:10px}.lead-source-count>i{background:#edf2f7;border-radius:5px;flex:1;height:7px;overflow:hidden}.lead-source-count>i em{border-radius:inherit;height:100%;display:block}.lead-source-row>strong{color:#073b5c;text-align:center;font-size:11px}.lead-source-empty{color:#81919d;text-align:center;padding:30px 10px;font-size:11px}.payment-legend span:first-child{color:var(--green)}.payment-legend span:last-child{color:var(--red)}.payment-chart{border-bottom:1px solid var(--line);justify-content:space-around;align-items:end;height:145px;margin-top:8px;display:flex}.payment-month{flex-direction:column;justify-content:end;align-items:center;gap:4px;height:100%;display:flex}.payment-month>div{align-items:end;gap:4px;height:120px;display:flex}.payment-month i,.payment-month b{background:var(--green);border-radius:3px 3px 0 0;width:10px;min-height:2px;display:block}.payment-month b{background:var(--red)}.payment-month span{font-size:9px}.payment-totals{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.payment-totals span{color:var(--muted);background:#eaf8f1;border-radius:8px;padding:8px 11px;font-size:10px}.payment-totals span+span{background:#fff0f0}.payment-totals b{color:var(--ink);margin-top:3px;font-size:16px;display:block}.is-loading{opacity:.55;pointer-events:none}@media (width<=1200px){.kpi-grid{grid-template-columns:repeat(3,1fr)}.top-row,.bottom-row{grid-template-columns:1fr 1fr}.revenue-widget{grid-column:1/-1}}@media (width<=760px){.visual-dashboard{padding:12px}.dashboard-heading{flex-direction:column;align-items:flex-start;gap:12px}.dashboard-filters{flex-wrap:wrap;width:100%}.kpi-grid,.top-row,.bottom-row{grid-template-columns:1fr}.revenue-widget{grid-column:auto}.category-target{grid-template-columns:1fr}.category-target>div+div{border-left:0;border-top:1px solid var(--line);padding:12px 0 0}.dashboard-heading h1{font-size:20px}}.invoice-page{color:#101827;box-sizing:border-box;background:#eef2f7;height:calc(100vh - 64px);min-height:0;padding:20px 12px 40px;font-family:Arial,sans-serif;overflow:auto}.invoice-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:8px;width:210mm;max-width:100%;margin:0 auto 12px;display:flex}.invoice-toolbar button,.invoice-empty button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 13px;font-size:12px;font-weight:800;display:inline-flex}.invoice-toolbar button:first-child{color:#334155;background:#fff;border:1px solid #cbd5e1}.invoice-toolbar button:disabled{cursor:not-allowed;opacity:.55}.invoice-toolbar-message{color:#0f766e;align-items:center;min-height:36px;font-size:12px;font-weight:800;display:inline-flex}.invoice-edit-bank-btn{background:#0f766e!important}.invoice-edit-terms-btn{background:#7c3aed!important}.invoice-empty{background:#fff;border:1px solid #dbe3ef;border-radius:10px;width:min(520px,100%);margin:80px auto;padding:24px}.invoice-sheet{box-sizing:border-box;background:#fff;flex-direction:column;width:210mm;min-height:297mm;margin:0 auto;padding:8mm;display:flex;box-shadow:0 10px 35px #0f172a1f}.invoice-top{border-bottom:1.5px solid #112d55;grid-template-columns:minmax(0,1fr) 49mm;align-items:center;gap:7mm;min-height:32mm;padding-bottom:3mm;display:grid;position:relative}.invoice-brand{min-width:0}.invoice-logo-lockup{text-align:center;width:42mm;max-width:100%;margin:0 0 1.5mm}.invoice-brand img{object-fit:contain;width:42mm;max-height:15mm;margin:0 auto;display:block}.invoice-brand .invoice-trust-line{color:#f97316;white-space:nowrap;text-transform:uppercase;margin:.6mm 0 0;font-size:8.5px;font-weight:900;line-height:1}.invoice-title{color:#102a50;letter-spacing:.5px;white-space:nowrap;text-align:center;margin:0;font-size:22px;font-weight:900;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.invoice-brand p{margin:0 0 1mm;font-size:9.5px;line-height:1.35}.invoice-brand-address span{display:inline}.invoice-meta-box{color:#fff;box-sizing:border-box;background:linear-gradient(135deg,#102a50,#2456be);border-radius:0 0 6px 6px;flex-direction:column;justify-content:center;min-height:30mm;padding:4mm;display:flex}.invoice-meta-row{grid-template-columns:19mm 2mm minmax(0,1fr);align-items:start;gap:1mm;margin-bottom:1.7mm;font-size:10px;line-height:1.25;display:grid}.invoice-meta-row:last-child{margin-bottom:0}.invoice-meta-row b:last-child{text-align:right;overflow-wrap:anywhere}.invoice-info-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:start;gap:3mm;margin-top:4mm;padding-top:3mm;display:grid}.invoice-bill-box,.invoice-detail-list{background:#f8fafc;border-left:1mm solid #173b70;border-radius:5px;min-height:0;padding:3mm}.invoice-bill-box h3,.invoice-detail-list h3{color:#102a50;text-transform:uppercase;margin:0 0 2mm;font-size:12px;font-weight:800}.invoice-bill-box p,.invoice-detail-list p{margin:0 0 1mm;font-size:10.5px;line-height:1.35}.invoice-bill-box p:last-child,.invoice-detail-list p:last-child{margin-bottom:0}.invoice-bill-box p,.invoice-detail-list p{overflow-wrap:anywhere}.invoice-items-table{border-collapse:collapse;table-layout:fixed;border:1px solid #bcc8d8;width:100%;margin-top:3mm}.invoice-col-sr{width:6%}.invoice-col-item{width:15%}.invoice-col-make{width:10%}.invoice-col-model{width:11%}.invoice-col-specification{width:18%}.invoice-col-hsn{width:9%}.invoice-col-qty{width:6%}.invoice-col-rate-type,.invoice-col-price{width:9%}.invoice-col-total{width:7%}.invoice-items-table th{color:#fff;text-align:center;text-transform:uppercase;vertical-align:middle;overflow-wrap:anywhere;box-sizing:border-box;background:#102a50;border:1px solid #63758e;height:8mm;padding:1mm .7mm;font-size:8.5px;font-weight:800;line-height:1.15}.invoice-items-table td{color:#1e293b;vertical-align:middle;overflow-wrap:anywhere;word-break:normal;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;height:7mm;padding:1mm;font-size:9.5px;line-height:1.2}.invoice-items-table tbody tr:nth-child(2n) td{background:#f8fafc}.invoice-items-table th:first-child,.invoice-items-table th:nth-child(6),.invoice-items-table th:nth-child(7),.invoice-items-table th:nth-child(8),.invoice-items-table td:first-child,.invoice-items-table td:nth-child(6),.invoice-items-table td:nth-child(7),.invoice-items-table td:nth-child(8){text-align:center}.invoice-items-table th:nth-child(9),.invoice-items-table th:nth-child(10),.invoice-items-table td:nth-child(9),.invoice-items-table td:nth-child(10){text-align:right}.invoice-items-table td:nth-child(9),.invoice-items-table td:nth-child(10){white-space:nowrap}.invoice-items-table tbody tr{height:auto}.invoice-package-row td{vertical-align:top;height:auto;padding-top:2mm;padding-bottom:2mm}.invoice-package-row{break-inside:avoid;page-break-inside:avoid}.invoice-package-row td:first-child,.invoice-package-row td:nth-last-child(-n+5){white-space:nowrap;padding-top:2.2mm}.invoice-package-description{flex-direction:column;gap:2.1mm;min-width:0;display:flex}.invoice-package-description b{color:#061b36;text-transform:uppercase;font-size:9.5px;line-height:1.25}.invoice-package-detail-row{color:#172033;grid-template-columns:minmax(0,1fr) 22mm;align-items:center;gap:3mm;min-height:7mm;font-size:9.2px;font-weight:700;line-height:1.3;display:grid}.invoice-package-detail-row>span:first-child{overflow-wrap:anywhere;min-width:0}.invoice-package-qty{color:#07172a;white-space:nowrap;box-sizing:border-box;background:#f2f8ff;border:1px solid #c7ddfa;border-radius:4px;justify-content:center;align-items:center;min-height:6mm;padding:1mm 2mm;font-weight:800;display:inline-flex}.invoice-lower-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;gap:5mm;margin-top:3mm;display:grid}.invoice-terms-bank{gap:4mm;padding-top:0;display:grid}.invoice-scope-box,.invoice-warranty-box,.invoice-bank{box-sizing:border-box;background:#f8fbff;border:1px solid #d1d9e6;border-radius:5px;padding:3mm 4mm}.invoice-scope-box{width:fit-content;min-width:0;max-width:100%}.invoice-scope-box ul{margin:0;padding-left:4mm}.invoice-scope-box li{margin-bottom:1mm;font-size:10.5px;line-height:1.5}.invoice-terms-bank h3,.invoice-conditions h3,.invoice-signature h3{color:#102a50;text-transform:uppercase;margin:0 0 2.5mm;font-size:13px;font-weight:800}.invoice-terms-bank p{margin:0;font-size:11.5px;line-height:1.4}.invoice-warranty-box p{margin:0 0 1.5mm;font-size:11px}.invoice-bank{padding-top:3mm}.invoice-bank div{grid-template-columns:24mm 3mm minmax(0,1fr);align-items:center;gap:1.5mm;margin-bottom:2mm;font-size:11.5px;display:grid}.invoice-bank input{color:#101827;box-sizing:border-box;width:100%;min-width:0;height:26px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:4px 6px}.invoice-bank input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb1f}.invoice-total-box{border:1px solid #cfd8e3;border-radius:5px;overflow:hidden}.invoice-total-box>div{border-bottom:1px solid #cfd8e3;justify-content:space-between;gap:5mm;padding:3mm 4mm;font-size:12px;display:flex}.invoice-total-box .invoice-grand-line{color:#102a50;text-transform:uppercase;background:#f8fafc;font-size:16px;font-weight:900}.invoice-total-box p{margin:0;padding:4mm;font-size:11.5px;line-height:1.4}.invoice-bottom-grid{border-top:1px solid #cfd8e3;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:6mm;margin-top:4mm;padding-top:3mm;display:grid}.invoice-conditions ol{margin:0;padding-left:5mm}.invoice-conditions li{margin-bottom:1.8mm;font-size:11px;line-height:1.3}.invoice-conditions textarea{color:#101827;width:100%;min-height:24px;font:inherit;resize:vertical;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:4px 6px;line-height:1.3}.invoice-conditions textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 2px #2563eb1f}.invoice-signature{text-align:center;border-left:1px solid #cfd8e3;min-height:38mm;padding-left:5mm}.invoice-stamp-image{object-fit:contain;width:27mm;height:20mm;margin:2mm auto 1mm;display:block}.invoice-person-signature{object-fit:contain;width:44mm;height:16mm;margin:-5mm auto 1mm;display:block}.invoice-signature p{margin:1mm 0 0;font-size:11px}.invoice-signature-name{font-weight:800;font-size:12.5px!important}.invoice-footer{color:#fff;box-sizing:border-box;background:#102a50;border-radius:4px;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:3mm;min-height:8mm;margin:0;padding:2.5mm 4mm;font-size:9.5px;display:grid}.invoice-footer span{text-align:center;overflow-wrap:anywhere;min-width:0}.invoice-footer span:first-child{text-align:left}.invoice-footer span:last-child{text-align:right}.invoice-thanks{text-align:center;color:#102a50;margin:auto 0 2mm;padding-top:4mm;font-size:12px;font-style:italic}@media screen and (width<=900px){.invoice-page{padding:12px}.invoice-sheet{transform-origin:0 0}}@media print{@page{size:A4;margin:0}html,body{background:#fff;margin:0;padding:0}.navbar,.sidebar,.invoice-toolbar{display:none!important}.invoice-page{background:#fff;height:auto;min-height:0;margin:0;padding:0;overflow:visible}.invoice-sheet{width:210mm;height:297mm;min-height:297mm;box-shadow:none;page-break-after:avoid;break-after:avoid-page;margin:0;padding:8mm;overflow:hidden}.invoice-bank input,.invoice-conditions textarea{background:0 0;border:none;height:auto;padding:0}}:root{--lead-primary:#2563eb;--lead-primary-dark:#1d4ed8;--lead-primary-light:#eff6ff;--lead-border:#cbd5e1;--lead-text:#0f172a;--lead-muted:#64748b;--lead-white:#fff}.leads-page{background:var(--lead-white);box-sizing:border-box;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;gap:8px;width:100%;max-width:100%;height:calc(100vh - 76px);min-height:0;padding:10px 12px;display:flex;overflow:hidden;box-shadow:0 8px 28px #0f172a14}.leads-header{border-bottom:1px solid #e2e8f0;flex:none;justify-content:space-between;align-items:center;gap:8px;padding-bottom:6px;display:flex}.leads-title-group,.lead-panel-header{flex-direction:column;gap:3px;display:flex}.leads-header h1,.lead-section h2,.leads-table-panel h2{color:var(--lead-text);margin:0}.leads-header h1{font-size:20px;font-weight:800;line-height:1.2}.lead-section h2,.leads-table-panel h2{font-size:14px}.leads-header p,.lead-panel-header p{color:var(--lead-muted);margin:0;font-size:11px}.lead-panel-header p{font-size:13px}.leads-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.leads-primary-button,.leads-secondary-button{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;min-height:32px;padding:7px 12px;font-size:12px;font-weight:700;transition:background-color .2s,transform .2s,box-shadow .2s;display:inline-flex}.leads-primary-button{background:var(--lead-primary);color:var(--lead-white);box-shadow:0 4px 12px #2563eb40}.leads-primary-button:hover{background:var(--lead-primary-dark);transform:translateY(-1px);box-shadow:0 6px 16px #2563eb4d}.leads-secondary-button{border:1px solid var(--lead-primary);background:var(--lead-white);color:var(--lead-primary)}.leads-secondary-button:hover{background:var(--lead-primary-light)}.leads-message{background:var(--lead-primary-light);color:var(--lead-primary-dark);border:1px solid #bfdbfe;border-radius:7px;flex:none;margin:0;padding:8px 10px;font-size:12px;font-weight:700}.lead-form-panel{flex:auto;gap:7px;min-height:0;padding-right:2px;display:grid;overflow:auto}.lead-section,.leads-table-panel,.lead-detail-panel{background:#fbfdff;border:1px solid #dbe3ef;border-radius:10px;padding:6px}.lead-section,.lead-detail-panel{box-shadow:0 10px 24px #0b1f441a}.lead-form-grid{grid-template-columns:repeat(auto-fit,minmax(152px,1fr));justify-content:stretch;align-items:end;gap:9px 10px;margin-top:8px;display:grid}.lead-form-grid label{color:#1e293b;gap:3px;width:100%;min-width:0;max-width:220px;font-size:11px;font-weight:700;display:grid}.lead-form-grid input,.lead-form-grid select{box-sizing:border-box;border:1px solid var(--lead-border);background:var(--lead-white);width:100%;min-width:0;height:31px;color:var(--lead-text);font:inherit;border-radius:6px;outline:none;padding:0 8px;font-size:11px;transition:border-color .2s,box-shadow .2s}.lead-form-grid input:hover,.lead-form-grid select:hover{border-color:#93c5fd}.lead-form-grid input:focus,.lead-form-grid select:focus{border-color:var(--lead-primary);box-shadow:0 0 0 2px #2563eb1f}.lead-form-grid input[readonly]{color:#475569;background:#f1f5f9}.lead-form-grid input[inputmode=numeric],.lead-form-grid input[inputmode=decimal]{max-width:150px}.lead-form-grid input[type=date]{max-width:155px}.lead-form-grid input[type=email]{max-width:260px}.lead-form-grid select{max-width:190px}.lead-attachment-field{gap:2px;display:grid}.lead-form-grid label:has(.lead-attachment-field){max-width:240px}.lead-form-grid .lead-attachment-field input[type=file]{width:100%;max-width:230px;height:auto;min-height:30px;padding:5px 7px;font-size:10px}.lead-attachment-field span{color:var(--lead-muted);overflow-wrap:anywhere;font-size:9px;font-weight:600}.lead-detail-panel{flex:auto;gap:9px;min-height:0;display:grid;overflow:auto}.lead-detail-panel .lead-section{box-shadow:none;border:none;padding:0}.lead-detail-title{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:8px;display:flex}.lead-detail-title h2{color:var(--lead-text);margin:0;font-size:18px}.lead-detail-title p{color:var(--lead-muted);margin:5px 0 0;font-size:12px}.lead-detail-title-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.lead-detail-title span{color:var(--lead-primary-dark);white-space:nowrap;background:#dbeafe;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.lead-detail-edit-button{gap:7px;min-height:34px;padding:8px 12px}.lead-detail-grid{grid-template-columns:repeat(auto-fit,minmax(132px,max-content));justify-content:start;gap:7px;margin-top:8px;display:grid}.lead-detail-grid div{background:var(--lead-white);border:1px solid #dbe3ef;border-radius:7px;gap:3px;width:fit-content;min-width:132px;max-width:260px;padding:7px;display:grid}.lead-detail-grid b{color:var(--lead-muted);text-transform:uppercase;font-size:10px}.lead-detail-grid span{color:var(--lead-text);overflow-wrap:anywhere;font-size:11px}.lead-wide-field{grid-column:span 2}.lead-wide-field input,.lead-wide-field select{max-width:360px}.lead-writer-section{border-top:4px solid var(--lead-primary)}.leads-table-panel{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.leads-table-wrap{background:var(--lead-white);border:1px solid #dbe3ef;border-radius:8px;flex:none;width:100%;max-width:100%;min-height:auto;margin-top:6px;overflow:auto visible}.leads-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1160px;color:var(--lead-text)}.leads-table th{z-index:2;color:#fff;text-align:left;white-space:nowrap;background:#173b70;border-bottom:1px solid #bfdbfe;padding:5px;font-size:10px;font-weight:800;position:sticky;top:0}.leads-table td{background:var(--lead-white);color:#334155;text-align:left;vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #e2e8f0;padding:4px 5px;font-size:11px;line-height:1.15}.leads-table tbody tr{transition:background-color .2s}.leads-table tbody tr:hover td{background:#f8fbff}.leads-table tbody tr:last-child td{border-bottom:none}.leads-table th:nth-child(11),.leads-table td:nth-child(11){width:118px}.lead-clickable-row{cursor:pointer}.lead-action-cell{justify-content:center;align-items:center;gap:5px;min-width:0;display:flex}.lead-icon-button{background:var(--lead-white);color:#475569;cursor:pointer;border:1px solid #cbd5e1;border-radius:6px;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.lead-icon-button:hover{border-color:var(--lead-primary);background:var(--lead-primary-light);color:var(--lead-primary)}.lead-delete-button{color:#dc2626;background:#fee2e2;border-color:#fecaca}.lead-delete-button:hover{color:var(--lead-white);background:#dc2626;border-color:#dc2626}.lead-quotation-button{border:1px solid var(--lead-primary);background:var(--lead-white);width:24px;height:24px;color:var(--lead-primary);font:inherit;cursor:pointer;border-radius:6px;flex:0 0 24px;justify-content:center;align-items:center;padding:0;display:inline-flex}.lead-quotation-button:hover{background:var(--lead-primary-light)}.lead-quotation-status{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:18px;padding:2px 6px;font-size:10px;font-weight:800;display:inline-flex}.lead-quotation-status.generated{color:#166534;background:#dcfce7}.lead-quotation-status.pending{color:#64748b;background:#f1f5f9}.lead-quotation-select{color:#166534;cursor:pointer;background:#dcfce7;border:1px solid #bbf7d0;border-radius:999px;outline:none;width:96px;height:22px;padding:0 20px 0 7px;font-size:9px;font-weight:850;line-height:1}.lead-quotation-select:focus{border-color:#22c55e;box-shadow:0 0 0 2px #22c55e1f}.lead-quotation-number{color:var(--lead-muted);overflow-wrap:anywhere;gap:1px;margin-top:2px;font-size:10px;font-weight:700;display:grid}.lead-quotation-number span{color:var(--lead-primary-dark);font-size:9px;font-weight:800}.lead-quotation-list{flex-flow:wrap;align-items:flex-start;gap:3px 6px;margin-top:3px;display:flex}.lead-quotation-link{color:#1d4ed8;text-align:left;cursor:pointer;background:0 0;border:none;padding:0;font-size:9px;font-weight:800;line-height:1.1}.leads-table-pagination button:disabled{cursor:not-allowed;opacity:.45}@media (width<=700px){.leads-table-pagination{flex-direction:column;align-items:flex-start}.leads-table-pagination>div{width:100%;padding-bottom:3px;overflow-x:auto}}.lead-quotation-link:hover{color:#1e40af;text-decoration:underline}.lead-status-history{gap:8px;margin-top:12px;display:grid}.lead-status-history-item{border-left:3px solid var(--lead-primary);background:var(--lead-primary-light);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.lead-status-history-item span{color:#1e3a8a;font-size:12px;font-weight:800}.lead-status-history-item time{color:var(--lead-muted);white-space:nowrap;font-size:11px;font-weight:700}.lead-status-history-compact{max-height:94px;margin-top:0;overflow-y:auto}.lead-status-history-compact .lead-status-history-item{padding:5px 7px}.leads-empty-state{color:var(--lead-muted)!important;text-align:center!important;padding:50px 20px!important;font-size:14px!important}.lead-selected-action-bar{background:#f8fbff;border-bottom:1px solid #dbeafe;flex-wrap:wrap;align-items:end;gap:6px;padding:6px 7px;display:flex}.lead-selected-action-bar label{color:#082f63;text-transform:uppercase;gap:4px;width:min(230px,100%);font-size:10px;font-weight:900;display:grid}.lead-count-label{color:var(--lead-primary);text-transform:uppercase;white-space:nowrap;margin-left:auto;font-size:10px;font-weight:900;line-height:28px}.lead-selected-action-bar input{color:#0f172a;background:#fff;border:1px solid #bfdbfe;border-radius:6px;height:28px;padding:0 9px;font-size:11px;font-weight:800}.lead-selected-actions{align-items:center;gap:6px;display:inline-flex}.lead-selected-actions button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.lead-selected-actions button:disabled{cursor:not-allowed;opacity:.45}.lead-selected-actions .lead-selected-delete-button{color:#dc2626;background:#fff1f2;border-color:#fecaca}.lead-selected-new-button{min-height:28px;padding:0 11px}@media (width<=1100px){.lead-form-grid,.lead-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.leads-page{border-radius:12px;padding:10px}.leads-header{flex-direction:column;align-items:flex-start}.leads-header h1{font-size:24px}.leads-header-actions{width:100%}.leads-header-actions button{flex:1}.lead-form-grid,.lead-detail-grid{grid-template-columns:1fr}.lead-wide-field{grid-column:auto}}@media (width<=520px){.leads-header-actions{flex-direction:column}.leads-primary-button,.leads-secondary-button{width:100%}}.leads-page,.leads-table-panel{overflow:visible!important}.leads-table-panel{min-height:auto}.leads-table-wrap{flex:none;min-height:auto;overflow:auto visible}.leads-table-pagination{color:#64748b;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 4px 2px;font-size:11px;font-weight:800;display:flex}.leads-table-pagination>div{justify-content:flex-end;align-items:center;gap:5px;display:flex}.leads-table-pagination button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-width:30px;height:28px;padding:0 9px;font-size:11px;font-weight:800}.leads-table-pagination button:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.leads-table-pagination button.is-active{color:#fff;background:#2563eb;border-color:#2563eb}.leads-table-pagination button:disabled{opacity:.45;cursor:not-allowed}@media (width<=700px){.leads-table-pagination{flex-direction:column;align-items:flex-start}.leads-table-pagination>div{width:100%;padding-bottom:3px;overflow-x:auto}}:root{--auth-teal:#064c59;--auth-dark-teal:#023641;--auth-deep:#012a34;--auth-orange:#ec9225;--auth-background:#f4f7f8;--auth-text:#17282e;--auth-muted:#718086;--auth-border:#dbe3e5}*{box-sizing:border-box}.auth-page{background:radial-gradient(circle at 10% 10%, #ec922514, transparent 25%), radial-gradient(circle at 90% 85%, #064c591f, transparent 30%), var(--auth-background);min-height:100vh;color:var(--auth-text);justify-content:center;align-items:stretch;padding:0;font-family:DM Sans,Arial,sans-serif;display:flex}.auth-layout{width:100%;min-height:100vh;box-shadow:none;background:#fff;border:none;border-radius:0;grid-template-columns:minmax(0,1.25fr) minmax(390px,.75fr);display:grid;overflow:hidden}.auth-visual{isolation:isolate;background:linear-gradient(125deg, #012a3466, #0139452e), var(--auth-bg-image,none) left center / cover no-repeat;flex-direction:column;justify-content:center;min-height:100vh;padding:64px;display:flex;position:relative;overflow:hidden}.auth-visual:before{content:"";z-index:-1;border:1px solid #ec92254d;border-radius:50%;width:620px;height:620px;position:absolute;bottom:-210px;right:-170px;box-shadow:0 0 0 75px #ec922509,0 0 0 150px #ffffff06}.auth-visual:after{content:"";z-index:-1;background-color:#0000;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:48px 48px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 85%);mask-image:linear-gradient(#000,#0000 85%)}.auth-pattern{z-index:-1;border:1px solid #ffffff14;border-radius:48% 52% 60% 40%;width:420px;height:420px;position:absolute;top:-120px;left:-100px;transform:rotate(30deg)}.auth-introduction{color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0335408f;border:1px solid #ffffff24;border-radius:20px;width:min(430px,100%);margin:0 auto;padding:28px 30px;box-shadow:0 25px 50px #00000029}.auth-eyebrow{color:#f1aa4d;letter-spacing:.18em;margin-bottom:14px;font-size:12px;font-weight:700;display:block}.auth-introduction h1{margin:0;font-family:Playfair Display,Georgia,serif;font-size:clamp(32px,3.3vw,50px);line-height:1.08}.auth-introduction h1 span{color:var(--auth-orange)}.auth-accent-line{background:var(--auth-orange);border-radius:999px;width:58px;height:3px;margin:20px 0 18px}.auth-introduction p{color:#ffffffc7;max-width:360px;margin:0;font-size:14px;line-height:1.65}.auth-visual-footer{color:#ffffff94;letter-spacing:.04em;align-items:center;gap:10px;font-size:12px;font-weight:600;display:flex;position:absolute;bottom:64px;left:64px}.auth-content{background:radial-gradient(circle at 100% 0,#ec922512,#0000 28%),#fff;justify-content:center;align-items:center;padding:42px clamp(32px,4vw,60px);display:flex}.auth-card{width:min(420px,100%)}.auth-logo-wrapper{text-align:center;margin-bottom:22px}.auth-logo{object-fit:contain;width:185px;max-width:70%;height:auto;margin:0 auto;display:block}.auth-logo-trust-line{color:#f97316;text-align:center;text-transform:uppercase;white-space:nowrap;width:185px;max-width:70%;margin:7px auto 0;font-size:11px;font-weight:900;line-height:1}.auth-heading{text-align:center;margin-bottom:24px}.auth-heading h2{color:var(--auth-text);margin:0 0 9px;font-size:clamp(28px,2.6vw,34px);line-height:1.15}.auth-heading p{color:var(--auth-muted);margin:0;font-size:13px}.auth-mobile-brand{display:none}.auth-form{flex-direction:column;gap:16px;display:flex}.auth-field{color:#304147;flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}.auth-field input{width:100%;height:48px;color:var(--auth-text);border:1px solid var(--auth-border);font:inherit;background:#fbfcfc;border-radius:10px;outline:none;padding:0 14px;font-weight:400;transition:border-color .16s,box-shadow .16s,background .16s}.auth-field input::placeholder{color:#a0aaae}.auth-field input:hover{border-color:#b8c6ca}.auth-field input:focus{border-color:var(--auth-teal);background:#fff;box-shadow:0 0 0 4px #064c591a}.auth-password{position:relative}.auth-password input{padding-right:50px}.password-toggle{color:#718086;cursor:pointer;background:0 0;border:none;border-radius:8px;place-items:center;width:36px;height:36px;padding:0;display:grid;position:absolute;top:50%;right:9px}.password-toggle:hover{color:var(--auth-teal);background:#064c5912}.auth-options{justify-content:space-between;align-items:center;gap:18px;margin-top:-4px;font-size:13px;display:flex}.remember-option{color:#4f6066;cursor:pointer;align-items:center;gap:9px;display:inline-flex}.remember-option input{width:17px;height:17px;accent-color:var(--auth-teal);cursor:pointer;margin:0}.forgot-link,.auth-switch a{color:var(--auth-teal);font-weight:700;text-decoration:none}.forgot-link{border-bottom:2px solid #ec9225bf}.forgot-link:hover,.auth-switch a:hover{color:var(--auth-orange)}.auth-message{color:#b42318;background:#fff2f0;border:1px solid #ffc9c2;border-radius:9px;margin:-4px 0 0;padding:11px 13px;font-size:13px;font-weight:600}.auth-submit{color:#fff;background:linear-gradient(135deg, var(--auth-teal), var(--auth-deep));border:none;border-bottom:4px solid var(--auth-orange);width:100%;min-height:50px;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:9px;margin-top:2px;padding:0 20px;font-size:15px;font-weight:700;transition:transform .16s,box-shadow .16s,filter .16s;display:inline-flex;box-shadow:0 12px 25px #0138442e}.auth-submit:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-2px);box-shadow:0 16px 30px #0138443d}.auth-submit:active:not(:disabled){transform:translateY(0)}.auth-submit:disabled{cursor:not-allowed;opacity:.7}.auth-spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite auth-spin}.auth-switch{color:var(--auth-muted);text-align:center;margin:24px 0 0;font-size:13px}.auth-security{color:#98a3a7;justify-content:center;align-items:center;gap:7px;margin:34px 0 0;font-size:11px;display:flex}.security-dot{background:#20a56b;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #20a56b1a}.auth-register-card .auth-logo-wrapper{margin-bottom:18px}.auth-register-card .auth-logo{width:160px}.auth-register-card .auth-heading{margin-bottom:22px}.auth-register-card .auth-form{gap:12px}.auth-register-card .auth-field input{height:46px}.auth-register-card .auth-security{margin-top:22px}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (width<=950px){.auth-page{align-items:stretch;padding:0}.auth-layout{border:none;border-radius:0;grid-template-columns:minmax(320px,1fr) minmax(360px,.85fr);min-height:100vh}.auth-visual{min-height:100vh;padding:40px 30px}.auth-introduction{margin:0 auto;padding:24px}.auth-visual-footer{bottom:40px;left:30px}.auth-introduction h1{font-size:36px}.auth-content{padding:34px}}@media (width<=720px){.auth-layout{display:block}.auth-visual{display:none}.auth-content{background:linear-gradient(#012a347a, #012a3461), var(--auth-bg-image,none) left center / cover no-repeat;min-height:100vh;padding:36px 22px}.auth-card{background:#fffffff7;border:1px solid #fff9;border-radius:20px;padding:34px 24px;box-shadow:0 24px 60px #0000003d}.auth-mobile-brand{color:var(--auth-orange);letter-spacing:.15em;margin-bottom:10px;font-size:10px;font-weight:700;display:block}.auth-logo{width:180px}}@media (width<=440px){.auth-content{padding:20px 14px}.auth-card{padding:30px 20px}.auth-options{flex-direction:column;align-items:flex-start;gap:12px}.auth-security{flex-wrap:wrap}}.masters-page{border-radius:0;flex-direction:column;gap:12px;height:calc(100vh - 112px);min-height:0;padding:18px 22px 20px;display:flex;overflow:hidden;box-shadow:none!important;background:linear-gradient(135deg,#dbeafef0,#eff6fffa),#eff6ff!important;border:1px solid #bfdbfe!important}.masters-panel{box-sizing:border-box;flex-direction:column;flex:auto;gap:10px;min-height:0;padding:0;display:flex;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important}.masters-panel h2{color:#0f2f6b;margin:0;font-size:23px;font-weight:800;line-height:1.2}.masters-title-row{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.masters-title-group{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.master-section-dropdown{min-width:220px;min-height:38px;font:inherit;color:#0f2f6b;background:#fff;border:1px solid #93c5fd;border-radius:8px;padding:9px 12px;font-weight:700}.master-page-action-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;min-height:38px;padding:10px 16px;font-weight:800}.master-page-action-button:hover{background:#1d4ed8}.description-form{box-sizing:border-box;width:100%;box-shadow:none;background:#ffffffd1;border:1px solid #bfdbfe;border-radius:10px;flex:none;align-items:center;gap:10px;margin-bottom:0;padding:12px;display:flex}.description-form input,.description-form select,.description-form textarea{font:inherit;color:#0f172a;background:#fff;border:1px solid #93c5fd;border-radius:8px;flex:1;padding:11px 12px}.description-form input::placeholder,.description-form textarea::placeholder{color:#64748b}.description-form textarea{resize:vertical;min-height:76px}.make-entry-form{grid-template-columns:repeat(3,minmax(150px,1fr)) auto;align-items:end;padding:9px 10px;display:grid}.make-entry-form input{min-height:38px;padding:9px 11px}.make-entry-form button{min-height:38px;padding:9px 16px}.model-entry-form{align-items:flex-start}.model-entry-form .warehouse-form{flex:auto}.description-form button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;min-height:42px;padding:11px 16px;font-weight:700}.description-form .master-secondary-button{color:#1d4ed8;background:#eff6ff;border:1px solid #93c5fd}.masters-message{color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd;border-radius:999px;flex:none;width:fit-content;max-width:100%;margin:-4px 0 0;padding:7px 12px;font-size:13px;font-weight:700}.warehouse-form{flex:1;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px;display:grid}.warehouse-form input,.warehouse-form select,.warehouse-form textarea{width:100%;min-width:0}.warehouse-form input[placeholder=Address]{grid-column:span 2}.package-master-form{flex:auto;gap:10px;min-width:0;display:grid}.package-header-fields{grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;display:grid}.package-header-fields input,.package-header-fields select,.package-item-row input,.package-item-row select{width:100%;min-width:0}.package-header-fields input[placeholder=Description]{grid-column:span 2}.package-items{gap:8px;display:grid}.package-item-row{grid-template-columns:minmax(120px,1.1fr) minmax(120px,1fr) minmax(130px,1.1fr) minmax(140px,1.2fr) minmax(90px,.75fr) minmax(70px,.55fr) 82px;align-items:center;gap:8px;display:grid}.description-form .package-row-button,.description-form .package-add-item-button{white-space:nowrap;min-height:38px;padding:9px 12px}.description-form .package-row-button:disabled{cursor:not-allowed;opacity:.45}.package-add-item-button{justify-self:start}.pincode-status{color:#1d4ed8;grid-column:1/-1;margin:0;font-size:13px;font-weight:700}.master-table-wrap{box-sizing:border-box;width:100%;min-height:0;box-shadow:none;background:#fff;border:1px solid #bfdbfe;border-radius:10px;flex:auto;overflow:auto}.master-table{border-collapse:collapse;color:#0f172a;table-layout:fixed;width:100%;min-width:760px}.item-type-table{min-width:760px}.item-type-table th:first-child,.item-type-table th:nth-child(3),.item-type-table th:nth-child(5),.item-type-table td:first-child,.item-type-table td:nth-child(3),.item-type-table td:nth-child(5){width:27%}.item-type-table th:nth-child(2),.item-type-table th:nth-child(4),.item-type-table th:nth-child(6),.item-type-table td:nth-child(2),.item-type-table td:nth-child(4),.item-type-table td:nth-child(6){width:6.333%}.item-type-table .empty-item-type-cell{background:#fffffff0}.make-table{min-width:860px}.make-table th:first-child,.make-table th:nth-child(4),.make-table td:first-child,.make-table td:nth-child(4){width:22%}.make-table th:first-child,.make-table td:first-child,.make-table th:nth-child(2),.make-table td:nth-child(2){width:15%}.make-table th:nth-child(4),.make-table td:nth-child(4){width:25%}.make-table th:nth-child(7),.make-table td:nth-child(7){width:6%}.package-table{min-width:1060px}.package-table th:first-child,.package-table td:first-child{width:22%}.package-table th:nth-child(2),.package-table td:nth-child(2){width:14%}.package-table th:nth-child(3),.package-table td:nth-child(3){width:12%}.package-table th:nth-child(4),.package-table td:nth-child(4){width:56%}.package-table th:nth-child(5),.package-table td:nth-child(5){text-align:center;width:8%}.item-type-table th,.make-table th,.package-table th{padding-top:7px;padding-bottom:7px}.item-type-table td,.make-table td,.package-table td{vertical-align:middle;padding-top:5px;padding-bottom:5px;line-height:1.25}.item-type-table .master-action-buttons button,.make-table .master-action-buttons button{width:28px;min-height:26px;padding:4px}.master-table th{z-index:2;color:#fff;text-align:left;white-space:nowrap;background:#1d4ed8;border:1px solid #2563eb;padding:10px 12px;font-size:12px;position:sticky;top:0}.master-table td{vertical-align:top;overflow-wrap:break-word;word-break:normal;background:#fffffff0;border:1px solid #dbeafe;padding:10px 12px;font-size:13px}.master-table tbody tr:nth-child(2n),.master-table tbody tr:nth-child(2n) td{background:#eff6ff}.master-table tbody tr:hover td{background:#dbeafe}.master-table button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:6px;padding:6px 8px;font-size:12px;font-weight:700}.master-table button[aria-label^=Edit]{width:32px;min-height:30px;padding:6px}.master-table button:hover{color:#fff;background:#2563eb}.master-action-buttons{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.master-table .master-action-buttons button{justify-content:center;align-items:center;width:32px;min-height:30px;padding:6px;display:inline-flex}.master-table .master-delete-button{color:#dc2626;background:#fff1f2;border-color:#fecaca}.master-table .master-delete-button:hover{color:#fff;background:#dc2626}.package-items-list{gap:5px;display:grid}.package-items-list-row{background:#fff;border:1px solid #dbeafe;border-radius:6px;grid-template-columns:minmax(90px,.9fr) minmax(90px,.9fr) minmax(120px,1.1fr) minmax(150px,1.35fr) minmax(72px,.65fr) minmax(58px,.45fr);align-items:center;gap:8px;padding:6px 8px;display:grid}.package-items-list-row span,.package-items-list-row b{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;line-height:1.2;overflow:hidden}.package-items-list-row b{color:#1d4ed8;text-align:right;font-weight:800}@media (width<=900px){.masters-page{padding:18px}.description-form{flex-direction:column}.description-form input,.description-form select,.description-form textarea,.description-form button{width:100%}.warehouse-form{grid-template-columns:1fr;width:100%}.package-header-fields,.package-item-row{grid-template-columns:1fr}.warehouse-form input[placeholder=Address],.package-header-fields input[placeholder=Description]{grid-column:auto}.master-table{min-width:760px}}:root{--purchase-primary:#2563eb;--purchase-primary-dark:#1d4ed8;--purchase-primary-light:#eff6ff;--purchase-border:#cbd5e1;--purchase-text:#0f172a;--purchase-muted:#64748b;--purchase-white:#fff;--purchase-danger:#dc2626;--purchase-success-bg:#dcfce7;--purchase-success-text:#166534}.purchase-page{background:var(--purchase-white);box-sizing:border-box;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:100%;height:calc(100vh - 112px);min-height:0;padding:18px;display:flex;overflow:auto;box-shadow:0 8px 28px #0f172a14}.purchase-page-embedded{height:100%;box-shadow:none;background:#fff;border:none;border-radius:10px;padding:12px}.purchase-page:has(.purchase-editor-card){overflow:hidden auto}.purchase-header{border-bottom:1px solid #e2e8f0;flex:none;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:10px;display:flex}.purchase-title-group{flex-direction:column;gap:3px;display:flex}.purchase-editor-title-row{align-items:baseline;gap:10px;min-width:0;display:flex}.purchase-header h1{color:var(--purchase-text);margin:0;font-size:22px;font-weight:800;line-height:1.2}.purchase-header p{color:var(--purchase-muted);margin:0;font-size:11px;font-weight:700}.purchase-header-message{color:var(--purchase-primary-dark);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:900;overflow:hidden}.purchase-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.purchase-selected-action-bar{background:#f8fbff;border-bottom:1px solid #dbeafe;flex-wrap:wrap;align-items:end;gap:8px;padding:7px 8px;display:flex}.purchase-selected-action-bar label{color:#082f63;text-transform:uppercase;gap:4px;width:min(230px,100%);font-size:10px;font-weight:900;display:grid}.purchase-selected-action-bar input{color:#0f172a;background:#fff;border:1px solid #bfdbfe;border-radius:6px;height:30px;padding:0 9px;font-size:11px;font-weight:800}.purchase-selected-actions{align-items:center;gap:6px;display:inline-flex}.purchase-selected-actions button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.purchase-selected-actions button:disabled{cursor:not-allowed;opacity:.45}.purchase-selected-actions .purchase-selected-delete-button{color:#dc2626;background:#fff1f2;border-color:#fecaca}.purchase-list-quick-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-left:auto;display:inline-flex}.purchase-list-quick-actions .purchase-primary-button,.purchase-list-quick-actions .purchase-secondary-button{min-height:28px;padding:0 11px}.purchase-invoice-status{color:#166534;background:#dcfce7;border-radius:999px;justify-content:center;align-items:center;min-height:20px;padding:2px 8px;font-size:10px;font-weight:900;display:inline-flex}.purchase-source-request-card{background:#fff;border:1px solid #bfdbfe;border-radius:8px;flex:none;margin-bottom:10px;padding:10px}.purchase-source-request-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.purchase-source-request-title h2{color:var(--purchase-text);margin:0;font-size:14px;font-weight:900}.purchase-source-request-title span{color:var(--purchase-primary-dark);font-size:11px;font-weight:900}.purchase-source-section-title{color:#082f63;margin:10px 0 6px;font-size:12px;font-weight:900}.purchase-source-grid{grid-template-columns:repeat(5,minmax(120px,1fr));gap:6px;display:grid}.purchase-source-grid>div{background:#f8fbff;border:1px solid #dbeafe;border-radius:7px;min-width:0;padding:7px 8px}.purchase-source-grid span{color:var(--purchase-muted);margin-bottom:3px;font-size:10px;font-weight:900;line-height:1.1;display:block}.purchase-source-grid b{color:var(--purchase-text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:900;line-height:1.25;display:block;overflow:hidden}.purchase-source-wide{grid-column:span 2}.purchase-source-payment-grid{grid-template-columns:repeat(6,minmax(105px,1fr))}.purchase-customer-type-select{border:1px solid var(--purchase-primary);background:var(--purchase-white);min-height:32px;color:var(--purchase-primary-dark);border-radius:9px;padding:6px 10px;font-size:12px;font-weight:800}.purchase-primary-button,.purchase-secondary-button,.purchase-edit-button,.purchase-view-button,.purchase-delete-button,.purchase-store-button{cursor:pointer;border:none;border-radius:9px;justify-content:center;align-items:center;min-height:32px;padding:7px 13px;font-size:12px;font-weight:700;transition:background-color .2s,transform .2s,box-shadow .2s;display:inline-flex}.purchase-primary-button,.purchase-view-button,.purchase-edit-button,.purchase-store-button{background:var(--purchase-primary);color:var(--purchase-white);box-shadow:0 4px 12px #2563eb40}.purchase-primary-button:hover,.purchase-view-button:hover,.purchase-edit-button:hover,.purchase-store-button:hover{background:var(--purchase-primary-dark);transform:translateY(-1px);box-shadow:0 6px 16px #2563eb4d}.purchase-primary-button:disabled,.purchase-secondary-button:disabled,.purchase-view-button:disabled,.purchase-edit-button:disabled,.purchase-delete-button:disabled,.purchase-store-button:disabled{cursor:not-allowed;opacity:.65;transform:none}.purchase-secondary-button{border:1px solid var(--purchase-primary);background:var(--purchase-white);color:var(--purchase-primary)}.purchase-secondary-button:hover:not(:disabled){background:var(--purchase-primary-light)}.purchase-edit-button,.purchase-view-button,.purchase-delete-button,.purchase-store-button,.purchase-received-status{min-height:30px;box-shadow:none;border-radius:7px;padding:7px;font-size:12px}.purchase-edit-button,.purchase-view-button,.purchase-delete-button{width:30px;padding:7px}.purchase-delete-button{color:var(--purchase-danger);background:#fee2e2;border:1px solid #fecaca}.purchase-delete-button:hover{background:var(--purchase-danger);color:var(--purchase-white);transform:translateY(-1px)}.purchase-action-buttons{justify-content:center;align-items:center;gap:5px;display:inline-flex}.purchase-store-button,.purchase-received-status{width:30px}.purchase-store-button-overdue{background:var(--purchase-danger)}.purchase-store-button-overdue:hover{background:#b91c1c}.purchase-store-button-due{color:#111827;background:#f59e0b}.purchase-store-button-due:hover{color:#111827;background:#d97706}.purchase-received-status{background:var(--purchase-success-bg);color:var(--purchase-success-text);justify-content:center;align-items:center;font-weight:800;display:inline-flex}.purchase-message{background:var(--purchase-primary-light);color:var(--purchase-primary-dark);border:1px solid #bfdbfe;border-radius:9px;flex:none;margin:0 0 18px;padding:12px 15px;font-size:13px;font-weight:700}.purchase-details-card{background:var(--purchase-white);border:1px solid #dbe3ef;border-radius:12px;flex:none;margin-bottom:10px;padding:10px}.purchase-details-form{grid-template-columns:minmax(120px,.75fr) minmax(145px,.9fr) minmax(130px,.8fr) minmax(130px,.8fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(210px,1.25fr);align-items:end;gap:8px 10px;display:grid}.purchase-details-form label{color:#0f2f6b;text-transform:uppercase;gap:4px;min-width:0;font-size:10px;font-weight:900;display:grid}.purchase-details-form input,.purchase-details-form select{border:1px solid var(--purchase-border);background:var(--purchase-white);width:100%;min-width:0;height:28px;color:var(--purchase-text);font:inherit;box-sizing:border-box;border-radius:8px;outline:none;padding:0 10px;font-size:11px}.purchase-details-form input[readonly]{background:#f1f5f9;font-weight:800}.purchase-attachment-name{color:var(--purchase-muted);text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-size:10px;font-weight:800;overflow:hidden}.purchase-checkbox-field{color:#0f2f6b;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;grid-template-columns:auto 1fr;align-self:end;align-items:center;min-height:34px;padding:0 10px;gap:8px!important;display:inline-flex!important}.purchase-checkbox-field input{width:15px;height:15px;padding:0}.purchase-table-card{background:var(--purchase-white);border:1px solid #dbe3ef;border-radius:12px;flex-direction:column;flex:none;width:100%;min-height:0;display:flex;overflow:hidden}.purchase-editor-card{box-shadow:0 10px 24px #0b1f441a}.purchase-editor-card .purchase-table-wrap{min-height:230px;max-height:360px}.purchase-item-header{flex:none;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px 6px;display:flex}.purchase-item-header h2{color:#0f2f6b;text-transform:uppercase;margin:0;font-size:14px;font-weight:900}.purchase-item-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.purchase-request-lock-note{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:11px;font-weight:900;display:inline-flex}.purchase-item-mode-toggle{border:1px solid var(--purchase-primary);background:var(--purchase-white);border-radius:8px;display:inline-flex;overflow:hidden}.purchase-item-mode-toggle button{background:var(--purchase-white);min-height:28px;color:var(--purchase-primary-dark);cursor:pointer;border:0;border-right:1px solid #bfdbfe;padding:0 10px;font-size:11px;font-weight:900}.purchase-item-mode-toggle button:last-child{border-right:0}.purchase-item-mode-toggle button.active{background:var(--purchase-primary);color:var(--purchase-white)}.purchase-add-item-button{min-height:28px;padding:0 10px;font-size:11px}.purchase-package-selector{background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;flex:none;grid-template-columns:minmax(260px,1fr) minmax(150px,.35fr) minmax(190px,.45fr) auto;align-items:end;gap:10px;margin:0 12px 8px;padding:8px;display:grid}.purchase-package-selector label{color:#0f2f6b;gap:5px;min-width:0;font-size:10px;font-weight:900;display:grid}.purchase-package-selector input,.purchase-package-selector select{border:1px solid var(--purchase-border);background:var(--purchase-white);width:100%;height:28px;color:var(--purchase-text);font:inherit;border-radius:7px;padding:0 9px;font-size:11px}.purchase-table-wrap{flex:auto;width:100%;max-width:100%;min-height:0;overflow:auto}.purchase-table{border-collapse:collapse;width:100%;min-width:1040px;color:var(--purchase-text);table-layout:fixed}.purchase-front-table{min-width:1420px}.purchase-store-updates-table{min-width:760px}.purchase-view-store-table{min-width:1320px}.purchase-table th{z-index:2;background:var(--purchase-primary-light);color:#1e3a8a;text-align:left;white-space:normal;border-bottom:1px solid #bfdbfe;padding:6px 7px;font-size:10px;font-weight:800;line-height:1.15;position:sticky;top:0}.purchase-table td{background:var(--purchase-white);color:#334155;text-align:left;vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #e2e8f0;padding:6px 7px;font-size:11px;line-height:1.2}.purchase-table tbody tr{transition:background-color .2s}.purchase-table tbody tr:hover td{background:#f8fbff}.purchase-table tbody tr:last-child td{border-bottom:none}.purchase-table th:first-child,.purchase-table td:first-child,.purchase-table th:last-child,.purchase-table td:last-child{text-align:center}.purchase-table input,.purchase-table select{border:1px solid var(--purchase-border);background:var(--purchase-white);width:100%;min-width:0;height:28px;color:var(--purchase-text);font:inherit;box-sizing:border-box;border-radius:8px;outline:none;padding:0 7px;transition:border-color .2s,box-shadow .2s}.purchase-table input:hover,.purchase-table select:hover{border-color:#93c5fd}.purchase-table input:focus,.purchase-table select:focus{border-color:var(--purchase-primary);box-shadow:0 0 0 3px #2563eb1f}.purchase-table input[readonly],.purchase-table select:disabled{color:#334155;cursor:default;background:#f1f5f9}.purchase-table th:first-child,.purchase-table td:first-child{width:46px}.purchase-table th:nth-child(2),.purchase-table td:nth-child(2){width:175px}.purchase-table th:nth-child(3),.purchase-table td:nth-child(3){width:108px}.purchase-table th:nth-child(4),.purchase-table td:nth-child(4){width:112px}.purchase-table th:nth-child(5),.purchase-table td:nth-child(5){width:90px}.purchase-table th:nth-child(6),.purchase-table td:nth-child(6){width:245px}.purchase-table th:nth-child(7),.purchase-table td:nth-child(7),.purchase-table th:nth-child(8),.purchase-table td:nth-child(8){text-align:center;width:46px}.purchase-table th:nth-child(9),.purchase-table td:nth-child(9),.purchase-table th:nth-child(10),.purchase-table td:nth-child(10),.purchase-table th:nth-child(11),.purchase-table td:nth-child(11),.purchase-table th:nth-child(12),.purchase-table td:nth-child(12){width:86px}.purchase-table th:nth-child(9),.purchase-table td:nth-child(9){width:90px}.purchase-table th:nth-child(10),.purchase-table td:nth-child(10){width:98px}.purchase-table th:nth-child(12),.purchase-table td:nth-child(12){width:105px}.purchase-front-table th:nth-child(13),.purchase-front-table td:nth-child(13),.purchase-front-table th:nth-child(14),.purchase-front-table td:nth-child(14){text-align:center;width:52px}.purchase-front-table th:nth-child(2),.purchase-front-table td:nth-child(2){white-space:nowrap;width:230px}.purchase-front-table th:nth-child(10),.purchase-front-table td:nth-child(10){width:84px}.purchase-front-table th:nth-child(11),.purchase-front-table td:nth-child(11){width:72px}.purchase-front-table th:nth-child(12),.purchase-front-table td:nth-child(12){width:90px}.purchase-editor-table{min-width:1510px}.purchase-editor-table th:nth-child(2),.purchase-editor-table td:nth-child(2){width:175px}.purchase-editor-table th:nth-child(3),.purchase-editor-table td:nth-child(3){text-align:left;width:155px}.purchase-editor-table th:nth-child(4),.purchase-editor-table td:nth-child(4){text-align:left;width:160px}.purchase-editor-table th:nth-child(5),.purchase-editor-table td:nth-child(5){text-align:left;width:255px}.purchase-editor-table th:nth-child(6),.purchase-editor-table td:nth-child(6){text-align:left;width:88px}.purchase-editor-table th:nth-child(7),.purchase-editor-table td:nth-child(7){text-align:center;width:86px}.purchase-editor-table th:nth-child(8),.purchase-editor-table td:nth-child(8){text-align:center;width:110px}.purchase-editor-table th:nth-child(9),.purchase-editor-table td:nth-child(9){text-align:right;width:92px}.purchase-editor-table th:nth-child(10),.purchase-editor-table td:nth-child(10){text-align:center;width:92px}.purchase-editor-table th:nth-child(11),.purchase-editor-table td:nth-child(11){text-align:center;width:82px}.purchase-editor-table th:nth-child(12),.purchase-editor-table td:nth-child(12){text-align:right;width:100px}.purchase-editor-table th:nth-child(13),.purchase-editor-table td:nth-child(13){text-align:center;width:70px}.purchase-editor-table th:nth-child(3),.purchase-editor-table td:nth-child(3),.purchase-editor-table th:nth-child(4),.purchase-editor-table td:nth-child(4),.purchase-editor-table th:nth-child(5),.purchase-editor-table td:nth-child(5),.purchase-editor-table th:nth-child(6),.purchase-editor-table td:nth-child(6){text-align:left}.purchase-editor-table th:nth-child(8),.purchase-editor-table td:nth-child(8),.purchase-editor-table th:nth-child(9),.purchase-editor-table td:nth-child(9){text-align:right}.purchase-table tfoot td{color:var(--purchase-text);background:#f8fbff;font-weight:800}.purchase-table tfoot td:first-child{text-align:right}.purchase-package-description{color:#0f172a;text-align:left;white-space:normal;gap:6px;min-width:0;font-size:11px;line-height:1.35;display:grid}.purchase-package-description b{color:#082f63;font-size:12px;font-weight:900}.purchase-package-detail-row{grid-template-columns:minmax(0,1fr) 74px;align-items:center;gap:8px;display:grid}.purchase-editor-totals{background:#f8fbff;border-top:1px solid #e2e8f0;flex:none;justify-content:flex-end;gap:14px;padding:10px 16px 14px;display:flex}.purchase-editor-totals div{text-align:right;gap:3px;min-width:130px;display:grid}.purchase-editor-totals span{color:var(--purchase-muted);text-transform:uppercase;font-size:10px;font-weight:900}.purchase-editor-totals b{color:var(--purchase-text);font-size:13px}.purchase-grand-total b{color:var(--purchase-primary-dark);font-size:15px}.purchase-front-table th{white-space:nowrap;height:30px;line-height:1.05;padding:6px!important;font-size:10px!important}.purchase-front-table td{overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;height:34px;line-height:1.15;overflow:hidden;padding:5px 6px!important;font-size:11px!important}.purchase-front-table th:nth-child(8),.purchase-front-table td:nth-child(8),.purchase-front-table th:nth-child(11),.purchase-front-table td:nth-child(11),.purchase-front-table th:nth-child(12),.purchase-front-table td:nth-child(12),.purchase-front-table th:nth-child(13),.purchase-front-table td:nth-child(13){text-align:right;width:92px}.purchase-front-table th:nth-child(9),.purchase-front-table td:nth-child(9),.purchase-front-table th:nth-child(10),.purchase-front-table td:nth-child(10){text-align:center;width:72px}.purchase-front-table th:nth-child(14),.purchase-front-table td:nth-child(14),.purchase-front-table th:nth-child(15),.purchase-front-table td:nth-child(15){text-align:center;width:58px;overflow:visible}.purchase-front-table .purchase-store-button,.purchase-front-table .purchase-received-status,.purchase-front-table .purchase-edit-button,.purchase-front-table .purchase-view-button,.purchase-front-table .purchase-delete-button{border-radius:6px;width:26px;min-height:26px;padding:0}.purchase-front-table th:nth-child(4),.purchase-front-table td:nth-child(4),.purchase-front-table th:nth-child(5),.purchase-front-table td:nth-child(5){text-align:center;width:102px}.purchase-front-table th:first-child,.purchase-front-table td:first-child{text-align:center;width:56px}.purchase-front-table th:nth-child(5),.purchase-front-table td:nth-child(5),.purchase-front-table th:nth-child(6),.purchase-front-table td:nth-child(6){text-align:center;width:112px}.purchase-front-table th:nth-child(8),.purchase-front-table td:nth-child(8){text-align:center;width:105px}.purchase-front-table th:nth-child(9),.purchase-front-table td:nth-child(9){text-align:center;width:74px;overflow:visible}.purchase-front-table th:nth-child(10),.purchase-front-table td:nth-child(10){text-align:center;width:150px;overflow:visible}.purchase-payment-status{color:#92400e;background:#fef3c7;border-radius:999px;justify-content:center;align-items:center;min-width:68px;min-height:22px;font-size:10px;font-weight:900;display:inline-flex}.purchase-payment-status.paid{background:var(--purchase-success-bg);color:var(--purchase-success-text)}.purchase-payment-status.partial{color:#1d4ed8;background:#dbeafe}.purchase-inline-download{min-height:30px;padding:6px 10px;font-size:11px}.purchase-table input[type=radio]{width:15px;min-width:15px;height:15px;accent-color:var(--purchase-primary);margin:0 auto;padding:0;display:block}.purchase-front-table th:nth-child(2),.purchase-front-table td:nth-child(2){width:125px}.purchase-front-table th:nth-child(5),.purchase-front-table td:nth-child(5),.purchase-front-table th:nth-child(6),.purchase-front-table td:nth-child(6){width:100px}.purchase-front-table th:nth-child(7),.purchase-front-table td:nth-child(7){width:120px}.purchase-front-table th:nth-child(9),.purchase-front-table td:nth-child(9){width:92px}.purchase-front-table th:nth-child(11),.purchase-front-table td:nth-child(11){text-align:center;width:66px;overflow:visible}.purchase-front-table th{height:34px;line-height:1.15;padding:8px!important;font-size:11px!important}.purchase-front-table td{color:#0f172a;height:38px;font-weight:700;line-height:1.25;padding:7px 8px!important;font-size:12px!important}.purchase-front-table th:first-child,.purchase-front-table td:first-child{width:54px}.purchase-front-table th:nth-child(2),.purchase-front-table td:nth-child(2){text-align:center;width:58px}.purchase-front-table th:nth-child(3),.purchase-front-table td:nth-child(3){width:145px}.purchase-front-table th:nth-child(4),.purchase-front-table td:nth-child(4){width:215px}.purchase-front-table th:nth-child(5),.purchase-front-table td:nth-child(5){width:145px}.purchase-front-table th:nth-child(7),.purchase-front-table td:nth-child(7){text-align:center;width:112px}.purchase-front-table th:nth-child(6),.purchase-front-table td:nth-child(6){width:180px}.purchase-front-table th:nth-child(8),.purchase-front-table td:nth-child(8){width:150px}.purchase-front-table th:nth-child(9),.purchase-front-table td:nth-child(9){text-align:center;width:92px}.purchase-front-table th:nth-child(10),.purchase-front-table td:nth-child(10){text-align:center;width:98px}.purchase-front-table th:nth-child(11),.purchase-front-table td:nth-child(11){text-align:center;width:110px}.purchase-front-table th:nth-child(12),.purchase-front-table td:nth-child(12){text-align:center;width:178px;overflow:visible}.purchase-payment-status,.purchase-invoice-status{min-height:23px;font-size:11px}.purchase-view-summary{background:#f8fbff;border-top:1px solid #dbeafe;flex:none;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:18px;padding:10px 12px 14px;display:grid;overflow:visible}.purchase-view-summary div{flex-direction:column;justify-content:center;gap:4px;min-height:36px;display:flex}.purchase-view-summary span{color:var(--purchase-muted);text-transform:uppercase;font-size:11px;font-weight:800}.purchase-view-summary strong{color:var(--purchase-text);font-size:13px;line-height:1.35}.purchase-view-form-card{flex:none;margin-bottom:12px}.purchase-view-form{grid-template-columns:minmax(135px,.8fr) minmax(260px,1.35fr) minmax(160px,.95fr) minmax(130px,.8fr) minmax(130px,.8fr) minmax(120px,.75fr) minmax(135px,.8fr) minmax(180px,1fr)}.purchase-view-form input,.purchase-view-form .purchase-inline-download{color:#0f172a;background:#f8fbff;border:1px solid #bfdbfe;border-radius:7px;min-height:32px;padding:0 10px;font-size:12px;font-weight:900}.purchase-view-form .purchase-inline-download{justify-content:center;width:100%;margin:0}.purchase-view-card{flex:none}.purchase-store-pill{background:var(--purchase-primary-light);min-width:68px;min-height:24px;color:var(--purchase-primary-dark);border-radius:999px;justify-content:center;align-items:center;padding:3px 9px;font-size:11px;font-weight:800;display:inline-flex}.purchase-store-pill.received{color:#15803d;background:#dcfce7}.purchase-store-pill.pending{color:#b45309;background:#fef3c7}.purchase-status-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 10px;font-size:11px;font-weight:900;display:inline-flex}.purchase-status-badge.pending{color:#92400e;background:#fef3c7;border:1px solid #fbbf24}.purchase-view-table{min-width:0}.purchase-view-item-table-wrap{overflow-x:hidden}.purchase-view-table th{height:34px;line-height:1.15;padding:8px!important;font-size:11px!important}.purchase-view-table td{color:#0f172a;overflow-wrap:anywhere;white-space:normal;min-height:38px;font-weight:700;line-height:1.25;overflow:visible;padding:7px 8px!important;font-size:12px!important}.purchase-view-table th:first-child,.purchase-view-table td:first-child{text-align:center;width:4.5%}.purchase-view-table th:nth-child(2),.purchase-view-table td:nth-child(2){width:10%}.purchase-view-table th:nth-child(3),.purchase-view-table td:nth-child(3){width:9%}.purchase-view-table th:nth-child(4),.purchase-view-table td:nth-child(4){width:13%}.purchase-view-table th:nth-child(5),.purchase-view-table td:nth-child(5){text-align:left;width:13%}.purchase-view-table th:nth-child(6),.purchase-view-table td:nth-child(6){text-align:center;width:7%}.purchase-view-table th:nth-child(7),.purchase-view-table td:nth-child(7),.purchase-view-table th:nth-child(8),.purchase-view-table td:nth-child(8),.purchase-view-table th:nth-child(10),.purchase-view-table td:nth-child(10),.purchase-view-table th:nth-child(11),.purchase-view-table td:nth-child(11),.purchase-view-table th:nth-child(12),.purchase-view-table td:nth-child(12),.purchase-view-table th:nth-child(13),.purchase-view-table td:nth-child(13){text-align:center;width:6.5%}.purchase-view-table th:nth-child(9),.purchase-view-table td:nth-child(9){text-align:right;width:8%}.purchase-empty-state{color:var(--purchase-muted)!important;text-align:center!important;padding:50px 20px!important;font-size:14px!important}.purchase-order-print-host{pointer-events:none;background:#fff;width:210mm;position:fixed;top:0;left:-10000px}.purchase-order-preview-panel{background:#f8fbff;border:1px solid #bfdbfe;border-radius:10px;flex-direction:column;flex:auto;gap:10px;min-height:0;padding:10px;display:flex}.purchase-order-preview-toolbar{border-bottom:1px solid #dbeafe;flex:none;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;display:flex}.purchase-order-preview-toolbar h2{color:#082f63;margin:0;font-size:18px;font-weight:900}.purchase-order-preview-toolbar p{color:#475569;margin:3px 0 0;font-size:12px;font-weight:800}.purchase-order-preview-toolbar>div:last-child{align-items:center;gap:8px;display:inline-flex}.purchase-order-preview-scroll{background:#e8eef7;flex:auto;justify-content:center;min-height:0;padding:14px;display:flex;overflow:auto}.purchase-order-terms-editor{background:#fff;border:1px solid #dbeafe;border-radius:8px;flex:none;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.6fr);gap:8px;padding:9px;display:grid}.purchase-order-terms-editor label{color:#082f63;text-transform:uppercase;gap:4px;font-size:10px;font-weight:900;display:grid}.purchase-order-terms-editor input,.purchase-order-terms-editor select,.purchase-order-terms-editor textarea{color:#0f172a;box-sizing:border-box;background:#f8fbff;border:1px solid #bfdbfe;border-radius:6px;width:100%;min-height:30px;padding:6px 8px;font-size:11px;font-weight:700}.purchase-order-terms-editor textarea{resize:vertical;min-height:54px}.purchase-order-terms-wide{grid-column:auto}.purchase-order-sheet{color:#0f172a;box-sizing:border-box;background:#fff;flex-direction:column;gap:9px;width:210mm;min-height:286mm;padding:10mm;font-family:Arial,Helvetica,sans-serif;display:flex}.purchase-order-header{border-bottom:2px solid #123a7a;grid-template-columns:1.55fr 1fr .95fr;align-items:start;gap:14px;padding-bottom:10px;display:grid}.purchase-order-brand{align-items:start;gap:7px;display:grid}.purchase-order-brand img{object-fit:contain;width:118px;height:auto}.purchase-order-logo-lockup{text-align:center;width:118px;max-width:100%}.purchase-order-logo-lockup img{margin:0 auto;display:block}.purchase-order-brand .purchase-order-logo-trust-line{color:#f97316;text-align:center;text-transform:uppercase;white-space:nowrap;margin:5px 0 0;font-size:7.4px;font-weight:900;line-height:1}.purchase-order-brand p,.purchase-order-info-card p,.purchase-order-notes p,.purchase-order-signature p,.purchase-order-note-box p,.purchase-order-total-box p{margin:0 0 4px;font-size:10px;line-height:1.35}.purchase-order-title{justify-content:center;align-items:center;display:flex}.purchase-order-title h2{color:#123a7a;letter-spacing:0;text-align:center;text-transform:uppercase;margin:0;padding:4px 0;font-size:24px;font-weight:900}.purchase-order-meta{border:1px solid #bfdbfe;border-radius:4px;overflow:hidden}.purchase-order-meta p,.purchase-order-meta h4{margin:0;padding:4px 7px;line-height:1.2}.purchase-order-meta p{color:#1e3a8a;text-transform:uppercase;background:#eff6ff;font-size:9px;font-weight:900}.purchase-order-meta h4{color:#0f172a;font-size:10px;font-weight:900}.purchase-order-info-section,.purchase-order-bottom,.purchase-order-sign-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.purchase-order-info-card,.purchase-order-notes,.purchase-order-total-box,.purchase-order-note-box,.purchase-order-signature{background:#f8fbff;border:1px solid #dbeafe;border-radius:5px;padding:9px}.purchase-order-info-card h3,.purchase-order-notes h3,.purchase-order-note-box h3,.purchase-order-signature h3{color:#123a7a;margin:0 0 7px;font-size:12px;font-weight:900}.purchase-order-info-card .purchase-order-subtitle{border-top:1px solid #dbeafe;margin-top:10px;padding-top:7px}.purchase-order-terms-list{margin:0;padding-left:16px}.purchase-order-terms-list li{margin-bottom:4px;font-size:10px;line-height:1.35}.purchase-order-table{border-collapse:collapse;table-layout:fixed;width:100%}.purchase-order-table th,.purchase-order-table td{vertical-align:top;overflow-wrap:anywhere;border:1px solid #cbd5e1;padding:5px;font-size:8.8px;line-height:1.25}.purchase-order-table th{color:#fff;text-align:left;background:#123a7a;font-weight:900}.purchase-order-table th:first-child,.purchase-order-table td:first-child,.purchase-order-table th:nth-child(7),.purchase-order-table td:nth-child(7),.purchase-order-table th:nth-child(10),.purchase-order-table td:nth-child(10){text-align:center}.purchase-order-table th:nth-child(8),.purchase-order-table td:nth-child(8),.purchase-order-table th:nth-child(9),.purchase-order-table td:nth-child(9),.purchase-order-table th:nth-child(11),.purchase-order-table td:nth-child(11),.purchase-order-table th:nth-child(12),.purchase-order-table td:nth-child(12){text-align:right}.purchase-order-table th:first-child,.purchase-order-table td:first-child{width:4.5%}.purchase-order-table th:nth-child(6),.purchase-order-table td:nth-child(6),.purchase-order-table th:nth-child(7),.purchase-order-table td:nth-child(7),.purchase-order-table th:nth-child(10),.purchase-order-table td:nth-child(10),.purchase-order-table th:nth-child(11),.purchase-order-table td:nth-child(11){width:5.5%}.purchase-order-table th:nth-child(12),.purchase-order-table td:nth-child(12){width:8%}.purchase-order-total-box{align-self:start}.purchase-order-total-box div{border-bottom:1px solid #dbeafe;justify-content:space-between;gap:10px;padding:5px 0;font-size:10px;display:flex}.purchase-order-total-box div:last-of-type{border-bottom:0}.purchase-order-total-box span{color:#475569;font-weight:900}.purchase-order-total-box b{color:#0f172a;font-weight:900}.purchase-order-grand-total b{color:#1d4ed8;font-size:12px}.purchase-order-signature{text-align:center}.purchase-order-stamp-image{object-fit:contain;width:86px;height:58px;margin:2px auto 4px;display:block}.purchase-order-person-signature{object-fit:contain;width:156px;height:50px;margin:-12px auto 2px;display:block}.purchase-order-footer{color:#123a7a;border-top:1px solid #123a7a;justify-content:center;align-items:center;gap:12px;margin-top:auto;padding-top:8px;font-size:10px;font-weight:900;display:flex}@media (width<=900px){.purchase-header{flex-direction:column;align-items:flex-start}.purchase-header-actions{width:100%}.purchase-primary-button,.purchase-secondary-button{flex:1}}@media (width<=520px){.purchase-page{border-radius:12px;padding:14px}.purchase-header h1{font-size:24px}.purchase-header-actions{flex-direction:column}.purchase-primary-button,.purchase-secondary-button{width:100%}}.purchase-request-page{box-sizing:border-box;background:#f8fafc;border:1px solid #dbeafe;flex-direction:column;gap:16px;width:100%;height:calc(100vh - 112px);min-height:0;padding:24px;display:flex;overflow:hidden}.purchase-request-page-embedded{background:0 0;border:none;height:100%;padding:0;overflow-y:auto}.purchase-request-embedded-toolbar{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.purchase-request-embedded-toolbar h2{color:#082f63;margin:0;font-size:18px;font-weight:900}.purchase-request-header{flex:none;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.purchase-request-header h1{color:#082f63;margin:0;font-size:26px;font-weight:800;line-height:1.2}.purchase-request-header p{color:#475569;margin:5px 0 0;font-size:13px}.purchase-request-primary-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;flex:none;min-height:38px;padding:0 16px;font-size:13px;font-weight:800;box-shadow:0 6px 14px #2563eb38}.purchase-request-card{background:#fff;border:1px solid #bfdbfe;border-radius:12px;flex:none;padding:18px;box-shadow:0 8px 22px #0f172a0f}.purchase-request-card h2{color:#082f63;margin:0 0 14px;font-size:18px;font-weight:800}.purchase-request-form-card{flex-direction:column;flex:auto;min-height:0;display:flex}.purchase-request-editor-form{scrollbar-gutter:stable;flex:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-height:0;padding-right:4px;display:grid;overflow-y:auto}.purchase-request-editor-card{background:#fff;border:1px solid #e1e8f3;border-top:4px solid #2563eb;border-radius:13px;min-width:0;padding:20px;box-shadow:0 12px 28px #0f172a0f}.purchase-request-editor-card h3{color:#082f63;text-transform:uppercase;margin:0 0 12px;font-size:17px;font-weight:850}.purchase-request-document-card,.purchase-request-vendor-card,.purchase-request-items-card,.purchase-request-payment-card,.purchase-request-total-card{grid-column:1/-1}.purchase-request-document-card .purchase-request-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-request-vendor-card .purchase-request-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-request-vendor-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.purchase-request-vendor-column{gap:12px;min-width:0;display:grid}.purchase-request-vendor-column+.purchase-request-vendor-column{border-left:1px solid #dbeafe;padding-left:24px}.purchase-request-vendor-column h4{color:#0f3d78;border-bottom:1px solid #dbeafe;margin:0;padding-bottom:8px;font-size:13px;font-weight:850}.purchase-request-payment-card .purchase-request-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-request-card-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.purchase-request-card-title-row h3{margin:0}.purchase-request-card-title-row button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;min-height:34px;padding:0 14px;font-size:12px;font-weight:800;box-shadow:0 6px 14px #2563eb2e}.purchase-request-items-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.purchase-request-items-header h3{color:#0f3d78;text-transform:uppercase;margin:0;font-size:16px;font-weight:900}.purchase-request-item-actions{align-items:center;gap:8px;display:flex}.purchase-request-item-mode-toggle{background:#fff;border:1px solid #93c5fd;border-radius:8px;display:inline-flex;overflow:hidden}.purchase-request-item-mode-toggle button,.purchase-request-add-item-button{color:#1d4ed8;cursor:pointer;background:#fff;border:none;min-height:34px;padding:0 13px;font-size:12px;font-weight:900}.purchase-request-item-mode-toggle button+button{border-left:1px solid #bfdbfe}.purchase-request-item-mode-toggle button.is-active,.purchase-request-add-item-button{color:#fff;background:#2563eb}.purchase-request-add-item-button{border-radius:8px;box-shadow:0 6px 14px #2563eb2e}.purchase-request-package-selector{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;grid-template-columns:minmax(220px,1fr) minmax(140px,.35fr) minmax(160px,.4fr) auto;align-items:end;gap:10px;margin-bottom:12px;padding:12px;display:grid}.purchase-request-package-selector div{gap:6px;min-width:0;display:grid}.purchase-request-package-selector label{color:#0f3d78;font-size:12px;font-weight:900}.purchase-request-package-selector input,.purchase-request-package-selector select{color:#0f172a;width:100%;height:34px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:0 10px;font-size:12px}.purchase-request-package-selector button{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:8px;min-height:34px;padding:0 14px;font-size:12px;font-weight:900}.purchase-request-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.purchase-request-form-grid label{flex-direction:column;gap:6px;min-width:0;display:flex}.purchase-request-form-grid span{color:#0f172a;font-size:12px;font-weight:700}.purchase-request-form-grid .purchase-request-checkbox-field{flex-direction:row;justify-content:flex-start;align-items:center;min-height:40px;padding-top:20px}.purchase-request-form-grid .purchase-request-checkbox-field input{accent-color:#2563eb;width:16px;height:16px}.purchase-request-form-grid input,.purchase-request-form-grid select,.purchase-request-form-grid textarea{color:#0f172a;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;font-size:13px;transition:border-color .18s,box-shadow .18s}.purchase-request-form-grid input,.purchase-request-form-grid select{height:38px;padding:0 11px}.purchase-request-form-grid textarea{resize:vertical;min-height:76px;padding:10px 11px}.purchase-request-form-grid input:focus,.purchase-request-form-grid select:focus,.purchase-request-form-grid textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb29}.purchase-request-wide-field{grid-column:1/-1}.purchase-request-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;display:flex}.purchase-request-actions button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;min-height:38px;padding:0 16px;font-size:13px;font-weight:800;box-shadow:0 6px 14px #2563eb38}.purchase-request-actions .purchase-request-secondary-button{color:#1d4ed8;box-shadow:none;background:#fff;border:1px solid #93c5fd}.purchase-request-message{color:#475569;font-size:13px;font-weight:700}.purchase-request-section-title{justify-content:space-between;align-items:center;gap:12px;margin:18px 0 10px;display:flex}.purchase-request-section-title h2{margin:0}.purchase-request-section-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.purchase-request-approval-confirm{color:#0f172a;background:#f8fbff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:7px;min-height:34px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.purchase-request-approval-confirm input{accent-color:#2563eb;width:14px;height:14px;margin:0}.purchase-request-section-title button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.purchase-request-section-title button:disabled{cursor:not-allowed;opacity:.85}.purchase-request-accepted-button{color:#fff;background:#0f2f6b;border-color:#0f2f6b}.purchase-request-approval-button{color:#fff;background:#2563eb;border-color:#2563eb;min-height:38px;padding:0 18px;font-size:13px;font-weight:900;box-shadow:0 7px 16px #2563eb3d}.purchase-request-approval-button:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.purchase-request-approval-button:disabled{opacity:.55;box-shadow:none}.purchase-request-section-title .purchase-request-send-detail-button{color:#fff;background:#2563eb;border-color:#2563eb}.purchase-request-item-table-wrap{border:1px solid #dbeafe;border-radius:8px;flex:auto;min-height:0;overflow:auto}.purchase-request-item-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1210px;font-size:11px}.purchase-request-item-table th{z-index:1;color:#fff;text-align:center;text-transform:uppercase;white-space:nowrap;background:#12377a;padding:8px 7px;font-size:10px;font-weight:900;position:sticky;top:0}.purchase-request-item-table td{vertical-align:top;border-top:1px solid #dbeafe;padding:6px}.purchase-request-item-table th:first-child,.purchase-request-item-table td:first-child{width:58px}.purchase-request-item-table th:nth-child(2),.purchase-request-item-table td:nth-child(2){width:150px}.purchase-request-item-table th:nth-child(3),.purchase-request-item-table td:nth-child(3){width:115px}.purchase-request-item-table th:nth-child(4),.purchase-request-item-table td:nth-child(4){width:130px}.purchase-request-item-table th:nth-child(5),.purchase-request-item-table td:nth-child(5){width:230px}.purchase-request-item-table th:nth-child(6),.purchase-request-item-table td:nth-child(6){width:78px}.purchase-request-item-table th:nth-child(7),.purchase-request-item-table td:nth-child(7){width:86px}.purchase-request-item-table th:nth-child(8),.purchase-request-item-table td:nth-child(8){width:74px}.purchase-request-item-table th:nth-child(9),.purchase-request-item-table td:nth-child(9){width:88px}.purchase-request-item-table th:nth-child(10),.purchase-request-item-table td:nth-child(10){width:70px}.purchase-request-item-table th:nth-child(11),.purchase-request-item-table td:nth-child(11){text-align:center;width:62px}.purchase-request-item-table th:nth-child(12),.purchase-request-item-table td:nth-child(12){text-align:center;width:100px}.purchase-request-item-table th:nth-child(13),.purchase-request-item-table td:nth-child(13){text-align:center;vertical-align:middle;width:54px}.purchase-request-components{color:#334155;background:#f8fafc;border:1px solid #dbeafe;border-radius:7px;width:100%;max-height:72px;padding:8px;font-size:11px;line-height:1.45;overflow-y:auto}.purchase-request-package-description{color:#0f172a;gap:7px;min-width:0;font-size:11px;line-height:1.35;display:grid}.purchase-request-package-description b{color:#082f63;font-size:12px;font-weight:900}.purchase-request-package-detail-row{grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:8px;display:grid}.purchase-request-package-detail-row>span:first-child{overflow-wrap:anywhere;min-width:0}.purchase-request-package-locked-qty{color:#0f172a;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;justify-content:center;align-items:center;min-height:26px;padding:0 8px;font-size:11px;font-weight:900;display:inline-flex}.purchase-request-item-table input,.purchase-request-item-table select{color:#0f172a;width:100%;height:31px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;padding:0 8px}.purchase-request-item-table td:nth-child(7) input,.purchase-request-item-table td:nth-child(8) select,.purchase-request-item-table td:nth-child(9) input,.purchase-request-item-table td:nth-child(10) input,.purchase-request-item-table td:nth-child(11) input,.purchase-request-item-table td:nth-child(12) input{padding-inline:5px;font-size:10px}.purchase-request-item-table input[readonly]{color:#0f172a;background:#f8fafc;font-weight:800}.purchase-request-item-table input:focus,.purchase-request-item-table select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.purchase-request-remove-item-button{color:#fff;cursor:pointer;background:#dc2626;border:1px solid #fecaca;border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;margin:0 auto;display:inline-flex}.purchase-request-remove-item-button:hover{background:#b91c1c}.purchase-request-table-card{flex-direction:column;flex:auto;min-height:0;display:flex}.purchase-request-table-wrap{border:1px solid #dbeafe;border-radius:8px;min-height:0;overflow:auto}.purchase-request-table{border-collapse:collapse;width:100%;font-size:13px}.purchase-request-table th{z-index:1;color:#fff;text-align:left;background:#12377a;padding:10px;font-size:12px;font-weight:800;position:sticky;top:0}.purchase-request-table td{color:#0f172a;vertical-align:top;border-top:1px solid #dbeafe;padding:10px}.purchase-request-table tbody tr:nth-child(2n){background:#eff6ff}.purchase-request-table-actions{flex-wrap:nowrap;align-items:center;gap:6px;display:flex}.purchase-request-table-action{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.purchase-request-edit-action{color:#475569;background:#f8fafc;border-color:#cbd5e1}.purchase-request-send-action{color:#15803d;background:#ecfdf5;border-color:#86efac}.purchase-request-purchase-action{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.purchase-request-delete-action{color:#dc2626;background:#fee2e2;border-color:#fecaca}.purchase-request-table-action:hover{filter:brightness(.97)}.purchase-request-status-badge{color:#92400e;background:#fef3c7;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:0 10px;font-size:11px;font-weight:800;display:inline-flex}.purchase-request-status-badge.accepted{color:#166534;background:#dcfce7}.purchase-request-detail-card{scrollbar-gutter:stable;border-top:4px solid #2563eb;flex-direction:column;flex:auto;gap:8px;min-height:0;padding:12px;display:flex;overflow:auto}.purchase-request-email-card{flex-direction:column;flex:auto;min-height:0;display:flex}.purchase-request-email-card .purchase-request-form-grid{flex:auto;min-height:0}.purchase-request-email-body{white-space:pre-wrap;flex:auto;min-height:260px;line-height:1.5}.purchase-request-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:0;display:grid}.purchase-request-detail-grid div{background:#f8fafc;border:1px solid #dbeafe;border-radius:7px;min-width:0;padding:7px 8px}.purchase-request-detail-grid span{color:#64748b;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:800;display:block}.purchase-request-detail-grid b{color:#0f172a;overflow-wrap:anywhere;font-size:12px;display:block}.purchase-request-detail-wide{grid-column:1/-1}.purchase-request-detail-table{min-width:1080px}.purchase-request-detail-card .purchase-request-table-wrap{flex:none;min-height:120px;max-height:230px}.purchase-request-detail-approval-footer{border-top:1px solid #dbeafe;justify-content:flex-end;margin-top:12px;padding-top:12px;display:flex}@media (width<=1100px){.purchase-request-editor-form{grid-template-columns:1fr}.purchase-request-document-card .purchase-request-form-grid,.purchase-request-payment-card .purchase-request-form-grid,.purchase-request-vendor-card .purchase-request-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-request-vendor-layout{grid-template-columns:1fr}.purchase-request-vendor-column+.purchase-request-vendor-column{border-top:1px solid #dbeafe;border-left:none;padding-top:14px;padding-left:0}.purchase-request-form-grid,.purchase-request-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.purchase-request-page{height:auto;min-height:calc(100vh - 112px);padding:16px;overflow:auto}.purchase-request-form-grid,.purchase-request-detail-grid,.purchase-request-editor-form,.purchase-request-document-card .purchase-request-form-grid,.purchase-request-vendor-card .purchase-request-form-grid,.purchase-request-payment-card .purchase-request-form-grid{grid-template-columns:1fr}.purchase-request-editor-card{padding:16px}.purchase-request-card-title-row{flex-direction:column;align-items:stretch}.purchase-request-header{flex-direction:column}.purchase-request-primary-button{width:100%}.purchase-request-components{width:260px}}.purchase-request-form-card,.purchase-request-detail-card{scrollbar-gutter:stable;overflow-y:auto}.purchase-request-section-title{border-top:1px solid #e2e8f0;flex:none;padding-top:2px}.purchase-request-section-title h2{color:#0f3d78;align-items:center;gap:8px;font-size:16px;display:flex}.purchase-request-form-grid{flex:none}.purchase-request-form-grid input[readonly]{color:#475569;background:#f1f5f9}.purchase-request-item-table{width:100%;min-width:1120px}.purchase-request-totals{background:#f8fbff;border:1px solid #bfdbfe;border-radius:10px;flex:none;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-top:16px;padding:14px;display:grid}.purchase-request-totals div{background:#fff;border:1px solid #dbeafe;border-radius:8px;flex-direction:column;gap:5px;min-width:0;padding:9px 11px;display:flex}.purchase-request-totals span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:800}.purchase-request-totals b{color:#0f172a;overflow-wrap:anywhere;font-size:15px}.purchase-request-totals .grand-total{background:#eff6ff;border-color:#93c5fd}.purchase-request-totals .grand-total b{color:#1d4ed8}.purchase-request-totals .balance-total{background:#ecfdf5;border-color:#86efac}.purchase-request-totals .balance-total b{color:#15803d}.purchase-request-table-subtext{color:#64748b;white-space:nowrap;margin-top:4px;font-size:10px;font-weight:700;display:block}.purchase-request-selected-action-bar{background:#f8fbff;border-bottom:1px solid #dbeafe;flex-wrap:wrap;align-items:end;gap:8px;padding:7px 8px;display:flex}.purchase-request-selected-action-bar label{color:#082f63;text-transform:uppercase;gap:4px;width:min(230px,100%);font-size:10px;font-weight:900;display:grid}.purchase-request-selected-action-bar input{color:#0f172a;background:#fff;border:1px solid #bfdbfe;border-radius:6px;height:30px;padding:0 9px;font-size:11px;font-weight:800}.purchase-request-selected-actions{align-items:center;gap:6px;display:inline-flex}.purchase-request-selected-actions button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.purchase-request-selected-actions button:disabled{cursor:not-allowed;opacity:.45}.purchase-request-selected-actions .purchase-request-selected-delete-button{color:#dc2626;background:#fff1f2;border-color:#fecaca}.purchase-request-action-buttons{justify-content:center;align-items:center;gap:5px;display:inline-flex}.purchase-request-action-buttons button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;justify-content:center;align-items:center;width:29px;height:29px;padding:0;display:inline-flex}.purchase-request-action-buttons button:hover{background:#dbeafe;border-color:#2563eb}.purchase-request-action-buttons button:disabled{cursor:not-allowed;opacity:.4}.purchase-request-action-buttons .purchase-request-delete-button{color:#dc2626;background:#fff1f2;border-color:#fecaca}.purchase-request-selected-new-button{min-height:28px;margin-left:auto;padding:0 11px}@media (width<=1100px){.purchase-request-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.purchase-request-form-card,.purchase-request-detail-card{overflow:visible}.purchase-request-totals{grid-template-columns:1fr}}.purchase-management-page{box-sizing:border-box;background:#f8fafc;border:1px solid #dbeafe;flex-direction:column;gap:10px;width:100%;height:calc(100vh - 80px);min-height:0;padding:14px;display:flex;overflow:auto}.purchase-management-header{border-bottom:1px solid #dbeafe;flex:none;justify-content:space-between;align-items:center;gap:14px;padding-bottom:10px;display:flex}.purchase-management-header h1{color:#082f63;margin:0;font-size:22px;font-weight:900;line-height:1.15}.purchase-management-header p{color:#475569;margin:4px 0 0;font-size:12px;font-weight:700}.purchase-management-actions{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.purchase-management-primary,.purchase-management-secondary{cursor:pointer;border:1px solid #2563eb;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-size:12px;font-weight:900;display:inline-flex}.purchase-management-primary{color:#fff;background:#2563eb;box-shadow:0 6px 14px #2563eb38}.purchase-management-secondary{color:#0f3b82;background:#fff}.purchase-management-message{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;flex:none;padding:8px 10px;font-size:12px;font-weight:900}.purchase-management-card{background:#fff;border:1px solid #dbe3ef;border-radius:10px;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow:hidden}.purchase-management-embedded-page{overflow:hidden}.purchase-management-embedded-card{padding:0}.purchase-management-page .purchase-request-page-embedded,.purchase-management-page .purchase-page-embedded{width:100%;height:100%;min-height:0;box-shadow:none;box-sizing:border-box;background:#f8fafc;border:0;padding:14px;overflow:auto}.purchase-management-selected-bar{background:#f8fbff;border-bottom:1px solid #dbeafe;flex-wrap:wrap;flex:none;align-items:end;gap:8px;padding:8px;display:flex}.purchase-management-selected-bar label{color:#082f63;text-transform:uppercase;gap:4px;width:min(240px,100%);font-size:10px;font-weight:900;display:grid}.purchase-management-selected-bar input{color:#0f172a;background:#fff;border:1px solid #bfdbfe;border-radius:6px;height:31px;padding:0 9px;font-size:12px;font-weight:800}.purchase-management-selected-actions{align-items:center;gap:6px;display:inline-flex}.purchase-management-selected-actions button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:31px;height:31px;display:inline-flex}.purchase-management-selected-actions button:disabled{cursor:not-allowed;opacity:.45}.purchase-management-selected-actions .purchase-management-danger-action{color:#dc2626;background:#fff1f2;border-color:#fecaca}.purchase-management-selected-actions .purchase-management-approve-action{color:#fff;background:#123a7a;border-color:#123a7a}.purchase-management-selected-actions .purchase-management-update-action{color:#fff;background:#1d4ed8;border-color:#1d4ed8;width:auto;min-width:118px;padding:0 10px;font-size:11px;font-weight:900}.purchase-management-selected-actions .purchase-management-po-action{color:#fff;background:#1d4ed8;width:auto;min-width:34px;padding:0 9px;font-size:11px;font-weight:900}.purchase-management-add-request-action{min-height:31px;margin-left:auto;padding:0 11px}.purchase-management-table-wrap{flex:auto;min-height:0;overflow:auto}.purchase-management-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1180px}.purchase-management-table th{z-index:2;color:#fff;text-align:left;background:#123a7a;border-bottom:1px solid #bfdbfe;height:34px;padding:8px;font-size:11px;font-weight:900;line-height:1.15;position:sticky;top:0}.purchase-management-table td{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;background:#fff;border-bottom:1px solid #e2e8f0;height:38px;padding:7px 8px;font-size:12px;font-weight:700;line-height:1.25;overflow:hidden}.purchase-management-table tbody tr:hover td{background:#f8fbff}.purchase-management-table input[type=radio]{accent-color:#2563eb;width:15px;min-width:15px;height:15px;margin:0 auto;display:block}.purchase-management-table th:first-child,.purchase-management-table td:first-child,.purchase-management-table th:nth-child(2),.purchase-management-table td:nth-child(2){text-align:center;width:58px}.purchase-management-table th:nth-child(3),.purchase-management-table td:nth-child(3){width:150px}.purchase-management-table th:nth-child(4),.purchase-management-table td:nth-child(4){width:260px}.purchase-management-table th:nth-child(5),.purchase-management-table td:nth-child(5){width:135px}.purchase-management-table th:nth-child(6),.purchase-management-table td:nth-child(6){text-align:center;width:112px}.purchase-management-table th:nth-child(7),.purchase-management-table td:nth-child(7){width:180px}.purchase-management-table th:nth-child(8),.purchase-management-table td:nth-child(8),.purchase-management-table th:nth-child(9),.purchase-management-table td:nth-child(9){text-align:center;width:95px}.purchase-management-table th:nth-child(10),.purchase-management-table td:nth-child(10),.purchase-management-table th:nth-child(11),.purchase-management-table td:nth-child(11){text-align:center;width:116px}.purchase-management-status{color:#334155;background:#f1f5f9;border-radius:999px;justify-content:center;align-items:center;min-width:74px;min-height:23px;padding:2px 8px;font-size:11px;font-weight:900;display:inline-flex}.purchase-management-status.approved,.purchase-management-status.paid{color:#166534;background:#dcfce7}.purchase-management-status.pending{color:#92400e;background:#fef3c7}.purchase-management-status.partial{color:#1d4ed8;background:#dbeafe}.purchase-management-status.not-updated{color:#475569;background:#f1f5f9}.purchase-management-empty{color:#64748b!important;text-align:center!important;padding:46px 16px!important}@media (width<=800px){.purchase-management-header{flex-direction:column;align-items:stretch}.purchase-management-actions{width:100%}.purchase-management-primary,.purchase-management-secondary{flex:1 1 0}}.quotation-page{--quotation-primary:#2563eb;--quotation-primary-dark:#0f2f6b;--quotation-primary-light:#eef5ff;--quotation-border:#dbe5f3;--quotation-text:#0f172a;--quotation-muted:#64748b;--quotation-white:#fff;--quotation-danger:#dc2626;background:var(--quotation-white);height:calc(100vh - 76px);min-height:0;box-shadow:none;box-sizing:border-box;border:none;border-radius:0;flex-direction:column;width:100%;padding:10px 12px;font-family:Arial,sans-serif;display:flex;overflow:hidden}.quotation-list-page{z-index:1;box-sizing:border-box;width:100%;max-width:none;min-height:0;box-shadow:none;background:0 0;border:none;border-radius:0;flex-direction:column;flex:auto;margin:0;padding:0;display:flex;position:relative}.quotation-list-header,.quotation-editor-header{flex:none;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.quotation-editor-header{z-index:8;border-bottom:1px solid var(--quotation-border);background:#f6f9fe;border-radius:8px;margin:0 0 8px;padding:8px 12px;position:relative;overflow:visible}.quotation-editor-body{flex:auto;min-height:0;padding-right:4px;overflow:auto}.quotation-unsaved-reminder{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;flex:none;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px;padding:9px 11px;display:flex}.quotation-unsaved-reminder>div:first-child{gap:2px;min-width:0;display:grid}.quotation-unsaved-reminder strong{color:var(--quotation-primary-dark);font-size:13px;font-weight:900}.quotation-unsaved-reminder span{color:#475569;font-size:12px;font-weight:700}.quotation-unsaved-reminder>div:last-child{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.quotation-editor-title-group{align-items:center;gap:16px;min-width:0;display:flex}.quotation-editor-title-group h1{color:var(--quotation-primary-dark);margin:0;font-size:17px;font-weight:850;line-height:1.1}.quotation-editor-title-group p{color:var(--quotation-muted);margin:2px 0 0;font-size:12px;font-weight:700}.quotation-list-header h1{color:var(--quotation-primary-dark);margin:0;font-size:22px;font-weight:850;line-height:1.1}.quotation-list-header p{color:var(--quotation-muted);margin:3px 0 0;font-size:13px}.pending-lead-quotation-select{color:#1e293b;gap:4px;min-width:min(360px,100%);font-size:12px;font-weight:800;display:grid}.pending-lead-label-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.pending-lead-label-row strong{color:#2563eb;white-space:nowrap;font-size:11px;font-weight:900}.pending-lead-quotation-select select{border:1px solid var(--quotation-border);background:var(--quotation-white);width:100%;min-height:32px;color:var(--quotation-text);font:inherit;border-radius:7px;outline:none;padding:6px 10px}.pending-lead-quotation-select select:focus{border-color:var(--quotation-primary);box-shadow:0 0 0 3px #2563eb1f}.pending-lead-quotation-select select:disabled{color:var(--quotation-muted);cursor:not-allowed;background:#f1f5f9}.quotation-bulk-action-bar{background:#f8fbff;border-bottom:1px solid #dbe3ef;flex-wrap:wrap;flex:none;align-items:end;gap:7px;padding:6px 8px;display:flex}.quotation-bulk-action-bar label{color:#0f2f6b;text-transform:uppercase;gap:4px;min-width:0;font-size:10px;font-weight:900;display:grid}.quotation-selected-field{flex:0 0 220px;width:220px}.quotation-bulk-action-bar input{color:#0f172a;width:100%;height:28px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #bfdbfe;border-radius:7px;padding:0 9px;font-size:11px;font-weight:700}.quotation-bulk-action-bar input[readonly]{background:#eef5ff}.quotation-selected-actions{align-items:center;gap:6px;min-height:28px;display:inline-flex}.quotation-selected-actions button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:31px;height:28px;padding:0;display:inline-flex}.quotation-selected-actions button:hover:not(:disabled){background:#dbeafe}.quotation-selected-actions button:disabled{opacity:.48;cursor:not-allowed}.quotation-selected-actions .quotation-selected-delete-button{color:#dc2626;background:#fee2e2;border-color:#fecaca}.quotation-toolbar-pending-lead{width:min(320px,100%);min-width:240px;margin-left:auto}.new-quotation-btn,.back-btn{min-height:36px;color:var(--quotation-white);background:var(--quotation-primary);cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:9px 15px;font-size:12px;font-weight:800;transition:background-color .2s,transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 8px 18px #2563eb3d}.new-quotation-btn:hover,.back-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.back-btn{border:1px solid var(--quotation-border);background:var(--quotation-white);color:#475569;box-shadow:none}.quotation-list-message{background:var(--quotation-primary-light);width:fit-content;max-width:100%;color:var(--quotation-primary-dark);border:1px solid #bfdbfe;border-radius:999px;flex:none;margin:0 0 8px;padding:9px 13px;font-size:13px;font-weight:800}.quotation-table-wrapper{border:none;border-radius:0;flex:auto;width:100%;min-height:0;overflow:auto}.quotation-list-pagination{color:var(--quotation-muted);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 4px 0;font-size:11px;font-weight:800;display:flex}.quotation-list-pagination>div{align-items:center;gap:5px;display:flex}.quotation-list-pagination button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-width:28px;height:28px;padding:0 8px;font-size:11px;font-weight:800}.quotation-list-pagination button:hover:not(:disabled){border-color:var(--quotation-primary);color:#1d4ed8;background:#eff6ff}.quotation-list-pagination button.is-active{border-color:var(--quotation-primary);background:var(--quotation-primary);color:#fff}.quotation-list-pagination button:disabled{cursor:not-allowed;opacity:.45}.quotation-list-table{border-collapse:collapse;table-layout:fixed;color:#1e293b;width:100%;min-width:1240px}.quotation-list-table th{z-index:2;color:#fff;text-align:left;text-transform:uppercase;white-space:nowrap;background:#173b70;border-bottom:1px solid #244675;height:28px;line-height:1.1;position:sticky;top:0;padding:7px 6px!important;font-size:10px!important;font-weight:700!important}.quotation-list-table td{color:#334155;vertical-align:middle;overflow-wrap:normal;background:#fff;border-bottom:1px solid #e4e9ef;height:auto;line-height:1.25;padding:5px 6px!important;font-size:11px!important}.quotation-list-table th:first-child,.quotation-list-table td:first-child{text-align:center;width:5%}.quotation-list-table th:nth-child(2),.quotation-list-table td:nth-child(2){white-space:nowrap;text-overflow:ellipsis;width:12%;overflow:hidden}.quotation-list-table th:nth-child(3),.quotation-list-table td:nth-child(3){white-space:nowrap;text-overflow:ellipsis;width:9%;overflow:hidden}.quotation-list-table th:nth-child(4),.quotation-list-table td:nth-child(4){white-space:nowrap;text-overflow:ellipsis;width:11%;overflow:hidden}.quotation-list-table th:nth-child(5),.quotation-list-table td:nth-child(5){width:10%}.quotation-list-table th:nth-child(6),.quotation-list-table td:nth-child(6){width:9%}.quotation-list-table th:nth-child(7),.quotation-list-table td:nth-child(7){width:10%}.quotation-list-table th:nth-child(8),.quotation-list-table td:nth-child(8){width:7%}.quotation-list-table th:nth-child(9),.quotation-list-table td:nth-child(9){width:9%}.quotation-list-table th:nth-child(10),.quotation-list-table td:nth-child(10){width:11%}.quotation-list-table td:nth-child(10){white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-right:8px!important}.quotation-list-table td:nth-child(6){white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.quotation-list-table th:nth-child(11),.quotation-list-table td:nth-child(11){text-align:right;white-space:nowrap;width:7%}.quotation-status-pill{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;justify-content:center;align-items:center;max-width:100%;min-height:20px;padding:2px 7px;font-size:10px;font-weight:850;line-height:1.1;display:inline-flex}.quotation-list-table tbody tr:hover{background:#f8fbff}.quotation-list-table tbody tr:hover td{background:#f7f9fc!important}.download-quotation-btn{border:1px solid var(--quotation-border);background:var(--quotation-primary);color:var(--quotation-white);cursor:pointer;white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:800;display:inline-flex;box-shadow:0 8px 18px #2563eb29}.download-quotation-btn:hover{background:#1d4ed8}.quotation-edit-button{width:25px;min-width:25px;height:25px;min-height:25px;box-shadow:none;border-radius:5px;padding:0}.quotation-icon-button{width:25px;min-width:25px;height:25px;min-height:25px;box-shadow:none;border-radius:5px;justify-content:center;align-items:center;padding:0;display:inline-flex}.quotation-action-cell{justify-content:center;align-items:center;gap:4px;display:flex}.quotation-view-button{background:#0f766e;border-color:#0f766e}.quotation-view-button:hover{background:#0d5f59}.quotation-delete-button{background:#dc2626;border-color:#dc2626}.quotation-delete-button:hover{background:#b91c1c}.quotation-sub-row td{background:#f8fbff}.quotation-sub-row td:first-child{color:#1d4ed8}.quotation-sub-no{color:#1d4ed8;min-width:0;max-width:100%;font-weight:800;font:inherit;cursor:pointer;text-overflow:ellipsis;vertical-align:middle;background:0 0;border:none;align-items:center;gap:5px;padding-left:10px;display:inline-flex;overflow:hidden}.quotation-sub-no:hover{text-decoration:underline}.quotation-sub-no:before{content:"";border-bottom:2px solid #93c5fd;border-left:2px solid #93c5fd;flex:none;width:8px;height:8px}.quotation-revision-list{flex-wrap:wrap;gap:5px;margin-top:5px;display:flex}.quotation-revision-chip{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;min-height:20px;padding:0 8px;font-size:10px;font-weight:800;display:inline-flex}.quotation-revision-chip:hover{background:#dbeafe;border-color:#93c5fd}.quotation-editor-revision-panel{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.quotation-editor-revision-panel>div{gap:3px;min-width:0;display:grid}.quotation-editor-revision-panel span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:800}.quotation-editor-status-field{color:#64748b;text-transform:uppercase;gap:3px;min-width:150px;font-size:10px;font-weight:850;display:grid}.quotation-editor-status-field select{color:#1d4ed8;min-height:26px;font:inherit;text-transform:none;background:#fff;border:1px solid #bfdbfe;border-radius:7px;outline:none;padding:0 8px;font-size:11px;font-weight:850}.quotation-editor-status-field select:focus{border-color:var(--quotation-primary);box-shadow:0 0 0 2px #2563eb1f}.quotation-editor-revision-list{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.quotation-editor-revision-list small{color:#64748b;font-size:11px;font-weight:700}.quotation-editor-revision-chip{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;min-height:22px;padding:0 8px;font-size:10px;font-weight:800}.quotation-editor-revision-chip.active{color:#fff;background:#2563eb;border-color:#2563eb}.quotation-editor-copy-button{min-height:26px;padding:5px 10px}.quotation-editor-copy-button:disabled{cursor:not-allowed;opacity:.55}.quotation-copy-button{color:#3730a3;box-shadow:none;background:#eef2ff;border-color:#c7d2fe}.quotation-copy-button:hover{background:#e0e7ff}.quotation-copy-button:disabled{cursor:not-allowed;opacity:.45}.quotation-send-button{color:#15803d;box-shadow:none;background:#ecfdf5;border-color:#86efac}.quotation-send-button:hover{background:#dcfce7}.quotation-sales-order-button{color:#c2410c;box-shadow:none;background:#fff7ed;border-color:#fdba74}.quotation-sales-order-button:hover{background:#ffedd5}.quotation-account-draft{border:1px solid var(--quotation-border);background:#fff;border-radius:10px;padding:16px}.quotation-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.quotation-account-grid label{flex-direction:column;gap:6px;min-width:0;display:flex}.quotation-account-grid span{color:#0f172a;font-size:12px;font-weight:800}.quotation-account-grid input,.quotation-account-grid textarea{border:1px solid var(--quotation-border);width:100%;color:var(--quotation-text);font:inherit;background:#fff;border-radius:8px;outline:none;padding:10px 11px;font-size:13px}.quotation-account-grid input{height:38px}.quotation-account-grid textarea{resize:vertical;min-height:260px;line-height:1.5}.quotation-account-wide{grid-column:1/-1}.quotation-account-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;display:flex}.empty-quotation-row{text-align:center;color:var(--quotation-muted)}.form-section{box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;width:100%;max-width:none;margin:0 0 12px;display:grid}.form-section label{color:#1e293b;margin-bottom:4px;font-size:11px;font-weight:800;display:block}.form-section input,.form-section select{box-sizing:border-box;border:1px solid var(--quotation-border);background:var(--quotation-white);width:100%;min-height:32px;color:var(--quotation-text);font:inherit;border-radius:7px;padding:6px 9px;font-size:11px;transition:border-color .2s,box-shadow .2s}.form-section input:focus,.form-section select:focus,.scope-notes-grid textarea:focus,.warranty-fields input:focus,.buyer-terms-intro textarea:focus,.buyer-terms-point-row textarea:focus,.buyer-terms-editor-section input:focus,.items-edit-table input:focus,.items-edit-table select:focus{border-color:var(--quotation-primary);outline:none;box-shadow:0 0 0 3px #2563eb1c}.form-section input[readonly]{color:#475569;background:#f1f5f9}.customer-inline-note{color:var(--quotation-primary);grid-column:1/-1;margin:0;font-size:11px;font-weight:800}.form-card{background:var(--quotation-white);border:1px solid #e1e8f3;border-radius:9px;padding:14px 16px;box-shadow:0 8px 18px #0f172a0d}.form-card h3{color:var(--quotation-primary-dark);text-transform:uppercase;margin:0 0 8px;font-size:15px;font-weight:850}.required-field-label:after{content:" *";color:#dc2626;font-weight:900}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;display:grid}.quotation-details-form,.items-form,.scope-notes-form,.buyer-terms-form,.form-actions{grid-column:1/-1}.quotation-details-form{border-top:4px solid var(--quotation-primary)}.quotation-details-form h3{color:var(--quotation-primary-dark)}.quotation-details-form .form-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.quotation-checkbox-field{color:#1e293b;align-self:end;align-items:center;gap:6px;min-height:32px;font-size:11px;font-weight:800;line-height:1;display:flex}.quotation-checkbox-field input{width:16px;height:16px;accent-color:var(--quotation-primary);flex:0 0 16px;margin:0}.quotation-checkbox-field span{align-items:center;min-height:16px;display:inline-flex}.customer-details-form{border-top:4px solid var(--quotation-primary)}.customer-details-form h3{color:var(--quotation-primary-dark)}.customer-details-form .form-grid,.system-summary-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.system-summary-form{border-top:4px solid var(--quotation-primary)}.system-summary-form h3{color:var(--quotation-primary-dark)}.items-form,.form-actions{grid-column:1/-1}.items-form h3{color:var(--quotation-primary-dark);margin:0}.items-form-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.quotation-item-mode-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.quotation-item-mode-toggle{background:#fff;border:1px solid #bfdbfe;border-radius:7px;min-height:30px;display:inline-flex;overflow:hidden}.items-form-header .quotation-item-mode-toggle button{color:#1e3a8a;min-height:28px;box-shadow:none;background:#fff;border:none;border-radius:0;padding:0 10px}.items-form-header .quotation-item-mode-toggle button+button{border-left:1px solid #bfdbfe}.items-form-header .quotation-item-mode-toggle button.active{background:var(--quotation-primary);color:#fff}.items-form-header button,.items-remove-button{color:var(--quotation-white);cursor:pointer;border:none;border-radius:7px;font-weight:800}.items-form-header button{background:var(--quotation-primary);padding:7px 11px;font-size:11px;box-shadow:0 6px 14px #2563eb2e}.quotation-package-selector{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;grid-template-columns:minmax(260px,2fr) minmax(130px,.7fr) minmax(150px,.8fr) auto;align-items:end;gap:12px;margin-bottom:14px;padding:14px;display:grid}.quotation-package-selector>div{gap:6px;display:grid}.quotation-package-selector label{color:#1e3a8a;font-size:12px;font-weight:800}.quotation-package-selector select,.quotation-package-selector input{color:#0f172a;width:100%;min-height:38px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #93c5fd;border-radius:7px;padding:8px 10px}.quotation-package-selector button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;min-height:38px;padding:0 16px;font-size:12px;font-weight:800}.items-remove-button{background:var(--quotation-danger);justify-content:center;align-items:center;width:26px;min-height:26px;padding:5px;display:inline-flex}.quotation-items-table-scroll{border:1px solid var(--quotation-border);border-radius:8px;width:100%;max-height:none;overflow:auto visible}.quotation-items-pagination{color:var(--quotation-muted);justify-content:space-between;align-items:center;gap:10px;margin-top:8px;font-size:11px;font-weight:800;display:flex}.quotation-items-pagination>div{justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.quotation-items-pagination button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;min-height:26px;padding:0 9px;font-size:11px;font-weight:850}.quotation-items-pagination button:disabled{cursor:not-allowed;opacity:.45}.quotation-items-pagination strong{color:var(--quotation-primary-dark);white-space:nowrap}.buyer-terms-form h3{color:var(--quotation-primary-dark)}.buyer-terms-editor-actions{justify-content:flex-start;margin:6px 0 8px;display:flex}.scope-notes-form{border-top:4px solid var(--quotation-primary)}.scope-notes-form h3{color:var(--quotation-primary-dark)}.scope-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.scope-notes-grid label{color:#1e293b;gap:4px;font-size:11px;font-weight:800;display:grid}.scope-notes-grid textarea{box-sizing:border-box;border:1px solid var(--quotation-border);width:100%;min-width:0;min-height:74px;color:var(--quotation-text);font:inherit;resize:vertical;border-radius:6px;padding:6px 8px;font-size:11px}.warranty-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:8px 10px;display:grid}.warranty-fields h4{color:var(--quotation-primary-dark);text-transform:uppercase;grid-column:1/-1;margin:0;font-size:11px;font-weight:850}.warranty-fields label{color:#1e293b;gap:4px;font-size:11px;font-weight:800;display:grid}.warranty-input-shell{border:1px solid var(--quotation-border);background:var(--quotation-white);border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.warranty-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:32px;color:var(--quotation-text);font:inherit;border:none;border-radius:0;padding:6px 8px;font-size:11px}.warranty-input-shell>span{border-left:1px solid var(--quotation-border);background:var(--quotation-primary-light);color:var(--quotation-primary-dark);padding:0 8px;font-size:10px;font-weight:850;line-height:32px}.buyer-terms-form-header,.buyer-terms-section-header{justify-content:space-between;align-items:end;gap:8px;display:flex}.buyer-terms-section-header label{flex:1}.buyer-terms-intro,.buyer-terms-editor-section label{color:#1e293b;gap:4px;font-size:11px;font-weight:800;display:grid}.buyer-terms-intro textarea,.buyer-terms-point-row textarea,.buyer-terms-editor-section input{box-sizing:border-box;border:1px solid var(--quotation-border);width:100%;min-width:0;color:var(--quotation-text);font:inherit;border-radius:6px;padding:6px 8px;font-size:11px}.buyer-terms-intro textarea,.buyer-terms-point-row textarea{resize:vertical;min-height:44px}.buyer-terms-editor-section{border:1px solid var(--quotation-border);background:#f8fbff;border-radius:8px;gap:8px;margin-top:8px;padding:9px;display:grid}.buyer-terms-points{gap:6px;display:grid}.buyer-terms-point-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;display:grid}.buyer-terms-point-row button,.buyer-terms-add-button,.buyer-terms-editor-actions button,.buyer-terms-form-header button,.buyer-terms-section-header button{color:var(--quotation-white);cursor:pointer;border:none;border-radius:6px;padding:7px 10px;font-size:11px;font-weight:800}.buyer-terms-point-row button,.buyer-terms-section-header button{background:var(--quotation-danger)}.buyer-terms-add-button,.buyer-terms-editor-actions button,.buyer-terms-form-header button{background:var(--quotation-primary);justify-self:start;box-shadow:0 6px 14px #2563eb24}.items-edit-table{border-collapse:collapse;background:var(--quotation-white);table-layout:fixed;width:100%;min-width:1160px;color:var(--quotation-text)}.items-edit-table-b2b{min-width:1220px}.items-edit-table th{z-index:2;color:var(--quotation-white);text-align:left;text-transform:uppercase;white-space:nowrap;background:#0f2f6b;padding:6px;font-size:10px;font-weight:900;position:sticky;top:0}.items-edit-table td{border:1px solid var(--quotation-border);background:var(--quotation-white);padding:3px}.items-edit-table th:nth-child(10),.items-edit-table td:nth-child(10),.items-edit-table th:nth-child(11),.items-edit-table td:nth-child(11),.items-edit-table th:nth-child(12),.items-edit-table td:nth-child(12),.items-edit-table th:nth-child(13),.items-edit-table td:nth-child(13){text-align:right}.items-edit-table input,.items-edit-table select{border:1px solid var(--quotation-border);width:100%;min-width:0;min-height:26px;color:var(--quotation-text);background:var(--quotation-white);border-radius:5px;padding:4px 6px;font-size:11px}.pricing-combo-fields{grid-template-columns:minmax(0,1fr);gap:3px;display:grid}.pricing-combo-fields input,.pricing-combo-fields select{min-width:0}.items-edit-table input[readonly]{color:var(--quotation-text);background:#f1f5f9;font-weight:800}.quotation-package-component-row td{background:#f8fbff}.quotation-package-summary-row td{vertical-align:top}.quotation-package-description{min-width:360px;color:var(--quotation-text);gap:5px;line-height:1.35;display:grid}.quotation-package-description b{color:var(--quotation-primary-dark);text-transform:uppercase;font-size:12px;font-weight:900}.quotation-package-detail-row{grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:8px;display:grid}.quotation-package-detail-row span{color:#1e293b;font-size:11px;font-weight:700;display:block}.quotation-package-detail-row .quotation-package-locked-qty{color:#334155;white-space:nowrap;background:#f8fafc;border:1px solid #dbe5f3;border-radius:6px;justify-content:center;align-items:center;min-height:30px;padding:5px 7px;font-size:11px;font-weight:800;display:inline-flex}.solar-only-cell{color:#94a3b8;text-align:center;font-weight:700;display:block}.items-edit-table th:first-child,.items-edit-table td:first-child{width:50px}.items-edit-table th:nth-child(2),.items-edit-table td:nth-child(2){width:118px}.items-edit-table th:nth-child(3),.items-edit-table td:nth-child(3){width:108px}.items-edit-table th:nth-child(4),.items-edit-table td:nth-child(4){width:138px}.items-edit-table th:nth-child(5),.items-edit-table td:nth-child(5){width:215px}.items-edit-table th:nth-child(6),.items-edit-table td:nth-child(6){width:78px}.items-edit-table th:nth-child(7),.items-edit-table td:nth-child(7){width:70px}.items-edit-table th:nth-child(8),.items-edit-table td:nth-child(8),.items-edit-table th:nth-child(9),.items-edit-table td:nth-child(9){width:110px}.items-edit-table th:nth-child(10),.items-edit-table td:nth-child(10){text-align:right;width:92px}.items-edit-table th:nth-child(11),.items-edit-table td:nth-child(11){text-align:center;width:66px}.items-edit-table-b2b th:nth-child(8),.items-edit-table-b2b td:nth-child(8){text-align:right;width:110px}.items-edit-table-b2b th:nth-child(9),.items-edit-table-b2b td:nth-child(9){text-align:center;width:62px}.items-edit-table-b2b th:nth-child(10),.items-edit-table-b2b td:nth-child(10){text-align:right;width:92px}.items-edit-table-b2b th:nth-child(11),.items-edit-table-b2b td:nth-child(11){text-align:center;width:50px}.items-edit-table-b2b th:nth-child(12),.items-edit-table-b2b td:nth-child(12){text-align:center;width:66px}.items-edit-table:not(.items-edit-table-b2b) th:nth-child(11),.items-edit-table:not(.items-edit-table-b2b) td:nth-child(11){text-align:center;width:50px}.items-edit-table:not(.items-edit-table-b2b) th:nth-child(12),.items-edit-table:not(.items-edit-table-b2b) td:nth-child(12){text-align:center;width:66px}.stock-status-pill{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-width:26px;min-height:20px;padding:2px 5px;font-size:10px;font-weight:850;display:inline-flex}.stock-status-available{color:#166534;background:#dcfce7;border:1px solid #86efac}.stock-status-unavailable{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.stock-status-empty{color:#94a3b8;background:#f8fafc;border:1px solid #e2e8f0;min-width:28px}.form-actions{justify-content:flex-end;gap:10px;display:flex}.update-btn,.save-btn{background:var(--quotation-primary-dark);color:var(--quotation-white);cursor:pointer;border:none;border-radius:8px;padding:11px 18px;font-weight:800}.save-btn{background:var(--quotation-primary);box-shadow:0 8px 18px #2563eb33}.quotation-save-message{color:var(--quotation-primary);text-align:right;grid-column:1/-1;margin:-4px 0 0;font-size:13px;font-weight:800}.quotation-document{width:210mm;margin:0 auto}.about-sheet,.quotation-sheet,.buyer-info-sheet{color:#111827;box-sizing:border-box;background:#fff;width:210mm;height:297mm;margin:0 auto;padding:8mm;overflow:hidden}.quotation-pdf-page{break-inside:avoid;page-break-inside:avoid}.quotation-pdf-page+.quotation-pdf-page{break-before:page;page-break-before:always}.quotation-pdf-page:last-child{break-after:auto;page-break-after:auto}.quotation-document-exporting .quotation-pdf-page{height:296.5mm}.about-sheet,.buyer-info-sheet{flex-direction:column;display:flex}.about-navbar{border-bottom:2px solid #0b1f44;justify-content:center;align-items:center;padding-bottom:12px;display:flex}.about-brand{text-align:center;flex-direction:column;align-items:center;gap:6px;max-width:150mm;display:flex}.about-brand img{object-fit:contain;width:138px;height:auto}.quote-logo-lockup{text-align:center;width:138px;max-width:100%}.quote-logo-lockup img{margin:0 auto;display:block}.about-brand .quote-logo-trust-line,.brand .quote-logo-trust-line{color:#f97316;text-align:center;text-transform:uppercase;white-space:nowrap;margin:5px 0 0;font-size:8px;font-weight:900;line-height:1}.about-brand p{color:#0f172a;margin:2px 0;font-size:10.5px;line-height:1.35}.about-section{margin-top:16px}.about-section h2,.about-commitment h2{color:#0b1f44;text-transform:uppercase;margin:0 0 9px;font-size:17px}.about-section p,.about-commitment p{color:#0f172a;margin:8px 0;font-size:13px;line-height:1.52}.about-list-grid{background:#f8fafc;border:1px solid #d1d5db;border-radius:8px;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0;padding:12px 14px;display:grid}.about-list-grid ul{margin:0;padding-left:18px}.about-list-grid li{margin-bottom:6px;font-size:12px;line-height:1.42}.about-pill-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:11px;display:grid}.about-pill-grid span{color:#0f172a;background:#eef4ff;border-left:4px solid #12315c;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:700}.about-commitment{background:#f8fbff;border:1px solid #12315c;border-radius:8px;margin-top:18px;padding:16px}.about-sheet .quote-footer{margin-top:18px}.buyer-info-header{border-bottom:2px solid #0b1f44;padding-bottom:9px}.buyer-info-header h2{color:#0b1f44;text-transform:uppercase;margin:0;font-size:19px}.buyer-info-header p{color:#2563eb;margin:4px 0 0;font-size:11px;font-weight:700}.buyer-info-section{margin-top:14px}.buyer-info-section h3,.buyer-declaration h3{color:#0b1f44;text-transform:uppercase;margin:0 0 7px;font-size:14px}.buyer-info-section p,.buyer-info-section li,.buyer-declaration p{color:#0f172a;font-size:11.4px;line-height:1.5}.buyer-info-section p{margin:5px 0}.buyer-info-section ul{margin:0;padding-left:17px}.buyer-info-section li{margin-bottom:6px}.buyer-tech-table{border-collapse:collapse;table-layout:fixed;width:100%}.buyer-tech-table th{color:#fff;text-align:left;background:#0b1f44;padding:7px;font-size:10.2px}.buyer-tech-table td{vertical-align:top;border:1px solid #cbd5e1;padding:7px;font-size:10.2px;line-height:1.35}.buyer-note,.buyer-final-note{background:#eef4ff;border-left:4px solid #2563eb;border-radius:8px;padding:8px 10px}.buyer-declaration{background:#f8fbff;border:1px solid #0b1f44;border-radius:8px;margin-top:12px;padding:12px}.buyer-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.buyer-options span{color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;font-size:10px;font-weight:700}.buyer-options span:before{content:"";vertical-align:-1px;border:1px solid #0b1f44;width:9px;height:9px;margin-right:7px;display:inline-block}.buyer-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.buyer-fields div{border-bottom:1px solid #0b1f44;align-items:flex-end;height:42px;display:flex}.buyer-fields span{color:#334155;font-size:9.8px;font-weight:700}.buyer-info-sheet .quote-footer{margin-top:auto}.download-preview{visibility:visible;opacity:1;pointer-events:none;z-index:-1;background:#fff;width:210mm;min-height:297mm;display:block;position:fixed;top:0;left:-10000px;overflow:visible}.download-preview .quotation-document{visibility:visible;background:#fff;width:210mm;min-height:297mm;display:block}.quotation-email-overlay{z-index:2000;color:var(--quotation-primary-dark);text-align:center;background:#f6f9fefa;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.quotation-email-overlay>div{border:1px solid var(--quotation-border);background:#fff;border-radius:12px;padding:22px 26px;box-shadow:0 18px 45px #0f172a24}.quotation-email-overlay h2{margin:0 0 6px;font-size:20px;font-weight:850}.quotation-email-overlay p{color:var(--quotation-muted);margin:0;font-size:13px;font-weight:700}.quote-header{border-bottom:2px solid #0b1f44;grid-template-columns:1.05fr 1.25fr .8fr;align-items:start;gap:10px;padding-bottom:10px;display:grid}.brand{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;display:flex}.brand img{object-fit:contain;width:138px;height:auto;max-height:75px}.brand-details p{color:#0f172a;margin:2px 0;font-size:9.4px;line-height:1.35}.quote-title{text-align:center;align-self:center;font-size:medium;font-weight:500}.quote-title h2{color:#0b1f44;letter-spacing:1px;margin:0;font-size:30px}.quote-meta{color:#fff;text-align:center;background:linear-gradient(135deg,#0b1f44,#2563eb);border-radius:0 0 10px 10px;padding:8px}.quote-meta p{margin:2px 0;font-size:10px}.quote-meta h4{margin:2px 0 5px;font-size:13px}.info-section{grid-template-columns:1fr 1fr;gap:12px;margin:13px 0;display:grid}.info-card{background:#f8fafc;border-left:4px solid #12315c;border-radius:8px;padding:9px}.info-card h3{color:#0b1f44;text-transform:uppercase;margin:0 0 8px;font-size:14px}.info-card p{margin:5px 0;font-size:12px}.quote-table{border-collapse:collapse;table-layout:fixed;width:100%;margin-top:11px}.quote-table th{color:#fff;text-align:center;text-transform:uppercase;background:#0b1f44;padding:5px 4px;font-size:10px}.quote-table td{text-align:center;word-wrap:break-word;border:1px solid #d1d5db;padding:5px 4px;font-size:10.5px}.quote-package-row td{vertical-align:top}.quote-package-block{text-align:left;gap:5px;line-height:1.28;display:grid}.quote-package-block b{color:#0b1f44;text-transform:uppercase;font-size:10.8px}.quote-package-block span{color:#111827;padding-left:10px;font-size:10.2px;display:block}.quotation-sheet-compact{padding:7mm}.quotation-sheet-compact .quote-header{padding-bottom:7px}.quotation-sheet-compact .brand img{width:120px;max-height:58px}.quotation-sheet-compact .brand-details p,.quotation-sheet-compact .quote-meta p,.quotation-sheet-compact .quote-footer{font-size:9px}.quotation-sheet-compact .quote-title h2{font-size:25px}.quotation-sheet-compact .quote-meta{padding:6px}.quotation-sheet-compact .quote-meta h4{font-size:11px}.quotation-sheet-compact .info-section,.quotation-sheet-compact .bottom-section,.quotation-sheet-compact .notes-sign{gap:8px;margin-top:8px;margin-bottom:8px}.quotation-sheet-compact .info-card,.quotation-sheet-compact .scope-box{padding:7px}.quotation-sheet-compact .info-card h3,.quotation-sheet-compact .scope-box h3,.quotation-sheet-compact .notes h3,.quotation-sheet-compact .signature h3{margin-bottom:5px;font-size:12px}.quotation-sheet-compact .info-card p,.quotation-sheet-compact .scope-box li,.quotation-sheet-compact .notes p,.quotation-sheet-compact .signature p,.quotation-sheet-compact .total-box p{margin:3px 0;font-size:9.5px;line-height:1.25}.quotation-sheet-compact .quote-table{margin-top:7px}.quotation-sheet-compact .quote-table th,.quotation-sheet-compact .quote-table td{padding:4px 3px;font-size:9px;line-height:1.18}.quotation-sheet-compact .total-box .total-row{padding:5px 8px;font-size:11px}.quotation-sheet-compact .total-box .grand-total{font-size:13px}.quotation-sheet-compact .signature .signature-stamp-image{width:112px;height:68px}.quotation-sheet-compact .signature .signature-person-image{width:150px;height:46px;margin-top:-12px}.quote-table th:first-child,.quote-table td:first-child{width:26px}.quote-table th:nth-child(2),.quote-table td:nth-child(2){text-align:left;width:62px}.quote-table th:nth-child(3),.quote-table td:nth-child(3){text-align:left;width:74px}.quote-table th:nth-child(4),.quote-table td:nth-child(4){text-align:left;width:72px}.quote-table th:nth-child(5),.quote-table td:nth-child(5){text-align:left;width:150px}.quote-table th:nth-child(6),.quote-table td:nth-child(6){width:48px}.quote-table th:nth-child(7),.quote-table td:nth-child(7),.quote-table th:nth-child(8),.quote-table td:nth-child(8){text-align:right;width:68px}.quote-table th:nth-child(9),.quote-table td:nth-child(9){text-align:right;width:42px}.quote-table th:nth-child(10),.quote-table td:nth-child(10),.quote-table th:nth-child(11),.quote-table td:nth-child(11){text-align:right;width:62px}.bottom-section{grid-template-columns:1fr 1.25fr;gap:12px;margin-top:13px;display:grid}.scope-box{border:1px solid #d1d5db;border-radius:8px;padding:9px}.scope-box h3,.notes h3,.signature h3{color:#0b1f44;text-transform:uppercase;margin:0 0 8px;font-size:14px}.scope-box ul{margin:0;padding-left:18px}.scope-box li{margin-bottom:4px;font-size:11px}.total-box{border:1px solid #d1d5db;border-radius:8px;grid-column:2;overflow:hidden}.total-box .total-row{border-bottom:1px solid #d1d5db;justify-content:space-between;padding:8px 12px;font-size:13px;display:flex}.total-box .grand-total{color:#fff;text-transform:uppercase;background:#0b1f44;font-size:16px}.total-box .amount-in-words-box{background:#eef4ff;border-bottom:1px solid #d1d5db;padding:9px 12px}.total-box .amount-in-words-box p{margin:0;font-size:11px}.total-box .subsidy-box{background:#f8fafc;border-top:1px solid #d1d5db}.total-box .subsidy-box-header{letter-spacing:.04em;text-transform:uppercase;color:#0b1f44;background:#edf2ff;border-bottom:1px solid #d1d5db;padding:8px 12px 6px;font-size:11px;font-weight:800}.total-box .subsidy-row{background:#fff;font-size:12px}.total-box .total-subsidy-row{border-bottom:none}.total-box p{background:#eef4ff;margin:0;padding:9px 12px;font-size:11px}.notes-sign{border-top:1px solid #d1d5db;grid-template-columns:1.5fr 1fr;gap:14px;margin-top:13px;padding-top:9px;display:grid}.notes p{margin:4px 0;font-size:11px}.bank-details-box{border-top:1px solid #d1d5db;margin-top:12px;padding-top:8px}.bank-details-box h3{color:#0b1f44;text-transform:uppercase;margin:0 0 8px;font-size:14px}.bank-details-box p{margin:4px 0;font-size:11px;line-height:1.35}.signature{text-align:center}.signature .signature-stamp-image{object-fit:contain;width:140px;height:100px;margin:3px 0}.signature .signature-person-image{object-fit:contain;width:178px;height:58px;margin:-16px auto 2px;display:block}.signature p{margin:2px 0;font-size:11px}.quote-footer{color:#fff;background:#0b1f44;border-radius:5px;justify-content:space-around;margin-top:12px;padding:8px;font-size:11px;display:flex}.print-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;margin:20px auto 0;padding:12px 18px;font-weight:700;display:block}@media (width<=1200px){.quotation-details-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.form-section,.quotation-details-form .form-grid,.customer-details-form .form-grid,.system-summary-form .form-grid,.form-grid,.scope-notes-grid{grid-template-columns:1fr}}@media (width<=760px){.quotation-list-pagination{flex-direction:column;align-items:flex-start}.quotation-list-pagination>div{max-width:100%;padding-bottom:3px;overflow-x:auto}.items-form-header{flex-direction:column;align-items:flex-start}.quotation-item-mode-actions{justify-content:flex-start;width:100%}.quotation-package-selector{grid-template-columns:1fr}}@media print{.form-section,.print-btn,.sidebar,.navbar{display:none!important}.quotation-page{background:#fff;padding:0}.quotation-sheet{width:210mm;height:297mm;margin:0;padding:8mm}}.quotation-page.quotation-list-surface{box-shadow:none!important;background:0 0!important;border:none!important;padding:8px 10px!important}.quotation-list-surface .quotation-list-page{box-shadow:none!important;background:#fff!important;border:none!important;border-radius:0!important;padding:10px!important}.quotation-list-surface .quotation-list-header{margin-bottom:8px!important;padding:0!important}.quotation-list-surface .quotation-list-header h1{color:var(--quotation-primary-dark)!important;margin:0!important;font-size:22px!important;line-height:1.12!important}.quotation-list-surface .quotation-list-header p{color:var(--quotation-muted)!important;margin:3px 0 0!important;font-size:12px!important;line-height:1.25!important}.government-quotation-sheet{box-sizing:border-box;color:#111;background:#fff;flex-direction:column;width:210mm;min-height:297mm;padding:10mm 12mm;font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.35;display:flex}.government-header{border:1px solid #555;border-bottom:none;flex-wrap:wrap;align-items:center;gap:0 16px;display:flex}.government-logo-box{flex-direction:column;justify-content:center;align-items:center;width:145px;padding:10px;display:flex}.government-logo{object-fit:contain;max-width:125px;max-height:65px}.government-logo-trust-line{color:#f97316;text-align:center;text-transform:uppercase;white-space:nowrap;width:125px;margin:5px 0 0;font-size:7.5px;font-weight:900;line-height:1}.government-company-info{text-align:center;flex:1}.government-company-info h1{letter-spacing:0;margin:2px 0;font-size:26px;font-weight:600}.government-gstin{margin-top:3px;font-weight:700}.government-address{margin-top:3px;font-size:10px}.government-tagline{text-align:center;border-top:1px solid #555;flex:0 0 100%;margin-top:0;padding:4px;font-weight:700}.government-heading{text-align:center;border:1px solid #555;padding:4px;font-size:13px;font-weight:700;text-decoration:underline}.government-customer{justify-content:space-between;gap:30px;margin:14px 0 8px;display:flex}.government-customer p{margin:2px 0}.government-document-info{min-width:190px}.government-document-info>div{justify-content:space-between;gap:18px;margin-bottom:5px;display:flex}.government-document-info span{color:#444}.government-system-title{text-align:center;margin:10px 0 5px;font-size:13px;text-decoration:underline}.government-reference{text-align:left;flex-direction:column;gap:5px;margin:8px 0 12px;font-size:10.5px;line-height:1.45;display:flex}.government-reference span:first-child{font-weight:700}.government-site-visit{margin:5px 0}.government-plant-table,.government-subsidy-table{border-collapse:collapse;width:100%;margin-top:8px}.government-plant-table th,.government-plant-table td,.government-subsidy-table th,.government-subsidy-table td{vertical-align:top;border:1px solid #555;padding:4px 7px}.government-plant-table th,.government-subsidy-table th{text-align:center;background:#f1f1f1;font-size:12px;font-weight:700}.government-plant-table td:first-child,.government-subsidy-table td:first-child{width:55%}.government-item-detail{flex-wrap:wrap;gap:4px 8px;display:flex}.government-item-detail span,.government-item-detail strong{display:inline-block}.government-standard-row td{font-weight:650}.government-net-cost td{font-size:12px}.government-subsidy-note{margin-top:7px;font-size:9px}.government-bottom{justify-content:space-between;gap:30px;margin-top:18px;display:flex}.government-contact{width:55%}.government-contact p{margin:2px 0}.government-bank-details{margin-top:14px}.government-bank-details p{font-weight:600}.government-signature{text-align:center;width:220px;font-weight:700}.government-stamp{object-fit:contain;max-width:120px;max-height:90px;margin:8px auto;display:block}.government-person-signature{object-fit:contain;width:158px;height:50px;margin:-14px auto 2px;display:block}.government-authorized{margin-top:6px}.government-footer{color:#020617;text-align:center;letter-spacing:0;border-top:1.5px solid #4b5563;margin-top:auto;padding-top:8px;font-size:11px;font-weight:800;line-height:1.35}.government-page{flex-direction:column;gap:14px;min-height:0;display:flex}.government-page-header{background:#fff;border:1px solid #dbe7f7;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex;box-shadow:0 8px 24px #0f172a0d}.government-page-header h1{color:#0f3d78;margin:0;font-size:20px}.government-page-header p{color:#64748b;margin:4px 0 0;font-weight:700}.government-page-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.government-page-body{flex:1;grid-template-columns:minmax(340px,440px) minmax(0,1fr);align-items:stretch;gap:14px;min-height:0;display:grid}.government-editor-panel,.government-preview-panel{background:#fff;border:1px solid #dbe7f7;border-radius:8px;box-shadow:0 8px 24px #0f172a0d}.government-editor-panel{max-height:calc(100vh - 120px);padding:18px;position:sticky;top:12px;overflow-y:auto}.government-preview-panel{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.government-preview-title{border-bottom:1px solid #dbe7f7;justify-content:space-between;align-items:baseline;gap:12px;padding:14px 16px;display:flex}.government-preview-title h2{color:#0f3d78;margin:0;font-size:16px}.government-preview-title p{color:#64748b;margin:0;font-size:12px;font-weight:700}.government-live-preview{background:#eef4fb;flex:1;min-height:0;max-height:calc(100vh - 176px);padding:16px;overflow:auto}.government-editor-heading{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.government-editor-heading h2{color:#0f3d78;margin:0}.government-editor-heading p{color:#64748b;margin:4px 0 0}.government-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.government-editor-grid label{flex-direction:column;gap:6px;display:flex}.government-editor-grid span{color:#334155;font-size:12px;font-weight:700}.government-editor-grid input{border:1px solid #cbd5e1;border-radius:7px;outline:none;height:40px;padding:0 10px}.government-editor-grid input:focus{border-color:#2563eb}.government-field-full{grid-column:1/-1}.government-plant-row-editor{background:#f8fafc;border:1px solid #dbe7f7;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;display:grid}.government-plant-row-editor h3{color:#0f3d78;grid-column:1/-1;margin:0;font-size:14px}.government-editor-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}@media (width<=700px){.government-page-header{flex-direction:column;align-items:stretch}.government-page-actions{justify-content:stretch}.government-page-actions button{flex:1}.government-page-body{grid-template-columns:1fr}.government-editor-panel{max-height:none;position:static}.government-editor-grid{grid-template-columns:1fr}.government-field-full{grid-column:auto}.government-plant-row-editor{grid-template-columns:1fr}}:root{--sales-primary:#2563eb;--sales-primary-dark:#1d4ed8;--sales-primary-light:#eff6ff;--sales-border:#cbd5e1;--sales-text:#0f172a;--sales-muted:#64748b;--sales-white:#fff;--sales-danger:#dc2626}.sales-orders-page{background:var(--sales-white);box-sizing:border-box;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:100%;height:calc(100vh - 76px);min-height:0;padding:10px 12px;display:flex;overflow:hidden;box-shadow:0 8px 28px #0f172a14}.sales-orders-header{border-bottom:1px solid #e2e8f0;flex:none;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding-bottom:6px;display:flex}.sales-orders-title-group{flex-direction:column;gap:3px;display:flex}.sales-orders-header h1{color:var(--sales-text);margin:0;font-size:22px;font-weight:800;line-height:1.2}.sales-orders-header p{color:var(--sales-muted);margin:0;font-size:12px}.pending-sales-order-quotation-select{color:#1e293b;gap:4px;min-width:min(360px,100%);font-size:12px;font-weight:800;display:grid}.pending-sales-order-quotation-select select{border:1px solid var(--sales-border);background:var(--sales-white);width:100%;min-height:32px;color:var(--sales-text);font:inherit;border-radius:9px;outline:none;padding:6px 10px}.pending-sales-order-quotation-select select:focus{border-color:var(--sales-primary);box-shadow:0 0 0 3px #2563eb1f}.pending-sales-order-quotation-select select:disabled{color:var(--sales-muted);cursor:not-allowed;background:#f1f5f9}.sales-orders-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.sales-order-status-control{color:#1e293b;gap:4px;font-size:11px;font-weight:800;display:grid}.sales-order-status-control select{border:1px solid var(--sales-border);background:var(--sales-white);min-height:40px;color:var(--sales-text);font:inherit;border-radius:9px;padding:0 12px;font-size:13px}.sales-order-primary-button,.sales-order-secondary-button,.sales-order-view-button,.sales-order-edit-button,.sales-order-delete-button,.sales-order-danger-button{cursor:pointer;border:none;border-radius:9px;justify-content:center;align-items:center;min-height:40px;padding:10px 17px;font-size:13px;font-weight:700;transition:background-color .2s,transform .2s,box-shadow .2s;display:inline-flex}.sales-order-primary-button,.sales-order-view-button,.sales-order-edit-button{background:var(--sales-primary);color:var(--sales-white);box-shadow:0 4px 12px #2563eb40}.sales-order-primary-button:hover,.sales-order-view-button:hover,.sales-order-edit-button:hover{background:var(--sales-primary-dark);transform:translateY(-1px);box-shadow:0 6px 16px #2563eb4d}.sales-order-secondary-button{border:1px solid var(--sales-primary);background:var(--sales-white);color:var(--sales-primary)}.sales-order-secondary-button:hover{background:var(--sales-primary-light)}.sales-order-view-button,.sales-order-edit-button{width:34px;min-height:34px;box-shadow:none;border-radius:7px;padding:7px}.sales-order-danger-button{background:var(--sales-danger);min-height:34px;color:var(--sales-white);border-radius:7px;padding:7px 13px}.sales-order-delete-button{color:#fff;width:30px;min-height:30px;box-shadow:none;background:#ef4444;border-radius:7px;padding:0}.sales-order-delete-button:hover:not(:disabled){background:#dc2626}.sales-order-delete-button:disabled{cursor:not-allowed;opacity:.45}.sales-order-danger-button:hover{background:#b91c1c}.sales-orders-message{background:var(--sales-primary-light);color:var(--sales-primary-dark);border:1px solid #bfdbfe;border-radius:9px;flex:none;margin:0 0 8px;padding:8px 10px;font-size:13px;font-weight:700}.sales-orders-table-card{background:var(--sales-white);border:1px solid #dbe3ef;border-radius:10px;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow:hidden}.sales-orders-table-wrap{flex:none;width:100%;max-width:100%;min-height:auto;overflow:auto visible}.sales-orders-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;color:var(--sales-text)}.sales-orders-front-table{min-width:1420px}.sales-orders-table th{z-index:2;background:var(--sales-primary-light);color:#1e3a8a;text-align:left;white-space:nowrap;border-bottom:1px solid #bfdbfe;padding:10px 8px;font-size:14px;font-weight:600;position:sticky;top:0}.sales-orders-front-table th{height:26px;color:var(--sales-white);text-align:left;white-space:normal;overflow-wrap:normal;background:#173b70;padding:4px;font-size:10px;line-height:1.1;min-height:26px!important;max-height:26px!important}.sales-orders-table td{background:var(--sales-white);color:#334155;text-align:left;vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #e2e8f0;padding:3px 5px;font-size:10px;line-height:1.1;height:18px!important;min-height:20px!important;max-height:20px!important}.sales-orders-front-table td{text-overflow:ellipsis;white-space:nowrap;height:20px;padding:2px 5px;font-size:11px;line-height:1;overflow:hidden;min-height:20px!important;max-height:20px!important}.sales-orders-table tbody tr{transition:background-color .2s}.sales-orders-table tbody tr:hover td{background:#f8fbff}.sales-orders-table tbody tr:last-child td{border-bottom:none}.sales-orders-table th:first-child,.sales-orders-table td:first-child,.sales-orders-table th:last-child,.sales-orders-table td:last-child{text-align:center}.sales-orders-table th:first-child,.sales-orders-table td:first-child,.sales-orders-table th:nth-child(11),.sales-orders-table td:nth-child(11){width:74px}.sales-orders-table th:nth-child(2),.sales-orders-table td:nth-child(2),.sales-orders-table th:nth-child(8),.sales-orders-table td:nth-child(8),.sales-orders-table th:nth-child(9),.sales-orders-table td:nth-child(9),.sales-orders-table th:nth-child(10),.sales-orders-table td:nth-child(10){width:150px}.sales-orders-table th:nth-child(4),.sales-orders-table td:nth-child(4){width:135px}.sales-orders-table th:nth-child(3),.sales-orders-table td:nth-child(3),.sales-orders-table th:nth-child(5),.sales-orders-table td:nth-child(5),.sales-orders-table th:nth-child(6),.sales-orders-table td:nth-child(6),.sales-orders-table th:nth-child(7),.sales-orders-table td:nth-child(7){width:96px}.sales-orders-table th:nth-child(5),.sales-orders-table td:nth-child(5),.sales-orders-table th:nth-child(6),.sales-orders-table td:nth-child(6),.sales-orders-table th:nth-child(7),.sales-orders-table td:nth-child(7){text-align:right}.sales-orders-front-table th:first-child,.sales-orders-front-table td:first-child{text-align:center;width:46px}.sales-orders-front-table th:nth-child(2),.sales-orders-front-table td:nth-child(2){text-align:center;width:44px}.sales-orders-front-table th:nth-child(3),.sales-orders-front-table td:nth-child(3){width:94px}.sales-orders-front-table th:nth-child(4),.sales-orders-front-table td:nth-child(4){text-align:center;width:82px}.sales-orders-front-table th:nth-child(5),.sales-orders-front-table td:nth-child(5){text-align:left;width:140px}.sales-orders-front-table th:nth-child(6),.sales-orders-front-table td:nth-child(6){text-align:center;width:72px}.sales-orders-front-table th:nth-child(7),.sales-orders-front-table td:nth-child(7){text-align:center;width:62px}.sales-orders-front-table th:nth-child(8),.sales-orders-front-table td:nth-child(8){text-align:left;width:72px}.sales-orders-front-table th:nth-child(9),.sales-orders-front-table td:nth-child(9),.sales-orders-front-table th:nth-child(10),.sales-orders-front-table td:nth-child(10),.sales-orders-front-table th:nth-child(11),.sales-orders-front-table td:nth-child(11),.sales-orders-front-table th:nth-child(12),.sales-orders-front-table td:nth-child(12),.sales-orders-front-table th:nth-child(13),.sales-orders-front-table td:nth-child(13){text-align:right;width:86px}.sales-orders-front-table th:nth-child(10),.sales-orders-front-table td:nth-child(10){width:70px}.sales-orders-front-table th:nth-child(11),.sales-orders-front-table td:nth-child(11),.sales-orders-front-table th:nth-child(12),.sales-orders-front-table td:nth-child(12),.sales-orders-front-table th:nth-child(13),.sales-orders-front-table td:nth-child(13){width:88px}.sales-orders-front-table th:nth-child(14),.sales-orders-front-table td:nth-child(14),.sales-orders-front-table th:nth-child(15),.sales-orders-front-table td:nth-child(15){text-align:center;width:104px}.sales-orders-front-table th:nth-child(16),.sales-orders-front-table td:nth-child(16){text-align:left;width:100px}.sales-order-delivery-status-cell{overflow:visible;text-align:center!important}.sales-order-status-badge{text-transform:capitalize;white-space:nowrap;border:1px solid #cbd5e1;border-radius:999px;justify-content:center;align-items:center;min-width:62px;min-height:17px;padding:0 6px;font-size:9px;font-weight:800;line-height:1;display:inline-flex}.sales-order-delivery-date-inline{color:#475569;white-space:nowrap;margin-top:2px;font-size:9px;font-weight:800;line-height:1;display:block}.sales-orders-table-pagination{color:var(--sales-muted);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 4px 2px;font-size:11px;font-weight:800;display:flex}.sales-orders-table-pagination button:disabled{cursor:not-allowed;opacity:.45}@media (width<=700px){.sales-orders-table-pagination{flex-direction:column;align-items:flex-start}.sales-orders-table-pagination>div{max-width:100%;padding-bottom:3px;overflow-x:auto}}.sales-order-status-pending{color:#b91c1c!important;background:#fee2e2!important;border-color:#fca5a5!important}.sales-order-status-received{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.sales-order-status-partial{color:#b45309;background:#fffbeb;border-color:#fde68a}.sales-order-status-hold{color:#6d28d9;background:#f5f3ff;border-color:#c4b5fd}.sales-order-status-neutral{color:#475569;background:#f8fafc;border-color:#e2e8f0}.sales-order-action-cell{justify-content:center;align-items:center;gap:5px;display:inline-flex}.sales-orders-front-table .sales-order-view-button,.sales-orders-front-table .sales-order-edit-button,.sales-orders-front-table .sales-order-delete-button{border-radius:5px;width:24px;min-height:24px;padding:0}.sales-order-invoice-button{background:#0f766e}.sales-order-invoice-button:hover{background:#0d5f59}.sales-orders-empty-state{color:var(--sales-muted)!important;text-align:center!important;padding:50px 20px!important;font-size:14px!important}.sales-order-form{flex:auto;grid-auto-rows:max-content;align-content:start;gap:14px;min-height:0;padding-right:4px;display:grid;overflow:auto}.sales-order-items-table-card,.sales-order-summary{background:#fbfdff;border:1px solid #dbe3ef;border-radius:14px;padding:14px;box-shadow:0 10px 24px #0b1f441a}.sales-order-items-table-card{min-height:auto;overflow:visible}.sales-order-details-card{flex:none}.sales-order-item-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.sales-order-item-header h2{color:var(--sales-text);margin:0;font-size:16px}.sales-order-source-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;min-height:24px;padding:0 10px;font-size:11px;font-weight:800;display:inline-flex}.sales-order-customer-details-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.sales-order-customer-details-grid div{background:#fff;border:1px solid #dbeafe;border-radius:7px;min-width:0;padding:5px 8px}.sales-order-customer-details-grid span{color:var(--sales-muted);text-transform:uppercase;font-size:9px;font-weight:800;display:block}.sales-order-customer-details-grid b{color:var(--sales-text);overflow-wrap:anywhere;margin-top:2px;font-size:11px;line-height:1.15;display:block}.sales-order-customer-details-grid .sales-order-customer-wide-detail{grid-column:span 3}.sales-order-quotation-table-wrap{scrollbar-gutter:stable;border:1px solid #dbeafe;border-radius:8px;width:100%;max-width:100%;overflow:auto}.sales-order-quotation-items-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1240px;color:var(--sales-text)}.sales-order-quotation-items-table-b2b{min-width:1460px}.sales-order-quotation-items-table th{z-index:1;color:#fff;text-align:left;text-transform:uppercase;white-space:nowrap;background:#173b70;padding:8px;font-size:10px;font-weight:800;line-height:1.15;position:sticky;top:0}.sales-order-quotation-items-table td{color:#0f172a;vertical-align:top;overflow-wrap:anywhere;background:#fff;border-top:1px solid #dbeafe;padding:8px;font-size:11px;line-height:1.35}.sales-order-quotation-items-table th:first-child,.sales-order-quotation-items-table td:first-child{text-align:center;width:58px}.sales-order-quotation-items-table th:nth-child(2),.sales-order-quotation-items-table td:nth-child(2){width:190px}.sales-order-quotation-items-table th:nth-child(3),.sales-order-quotation-items-table td:nth-child(3),.sales-order-quotation-items-table th:nth-child(4),.sales-order-quotation-items-table td:nth-child(4){width:120px}.sales-order-quotation-items-table th:nth-child(5),.sales-order-quotation-items-table td:nth-child(5){width:220px}.sales-order-quotation-items-table th:nth-child(6),.sales-order-quotation-items-table td:nth-child(6),.sales-order-quotation-items-table th:nth-child(7),.sales-order-quotation-items-table td:nth-child(7),.sales-order-quotation-items-table th:nth-child(8),.sales-order-quotation-items-table td:nth-child(8),.sales-order-quotation-items-table th:nth-child(9),.sales-order-quotation-items-table td:nth-child(9){text-align:right;width:95px}.sales-order-quotation-items-table th:nth-child(7),.sales-order-quotation-items-table td:nth-child(7){text-align:center}.sales-order-quotation-package-row td{vertical-align:top;background:#f8fbff}.sales-order-quotation-package-description{min-width:360px;color:var(--sales-text);gap:5px;line-height:1.35;display:grid}.sales-order-quotation-package-description b{color:#082f63;text-transform:uppercase;font-size:11px;font-weight:900}.sales-order-quotation-package-detail-row{grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:8px;display:grid}.sales-order-quotation-package-detail-row span{color:#1e293b;font-size:11px;font-weight:700;display:block}.sales-order-quotation-package-detail-row .sales-order-quotation-package-locked-qty{color:#334155;text-align:center;white-space:nowrap;background:#f8fafc;border:1px solid #dbeafe;border-radius:6px;justify-content:center;align-items:center;min-height:30px;padding:5px 7px;font-size:11px;font-weight:800;display:inline-flex}.sales-order-payments-table-wrap{border:1px solid #dbeafe;border-radius:8px;width:100%;overflow:auto}.sales-order-payments-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1040px}.sales-order-payments-table th{color:#fff;text-align:left;text-transform:uppercase;white-space:nowrap;background:#173b70;padding:8px;font-size:10px;font-weight:800;line-height:1.15}.sales-order-payments-table td{vertical-align:middle;background:#fff;border-top:1px solid #dbeafe;padding:8px}.sales-order-payments-table th:first-child,.sales-order-payments-table td:first-child{text-align:center;width:72px}.sales-order-payments-table th:nth-child(2),.sales-order-payments-table td:nth-child(2){width:220px}.sales-order-payments-table th:nth-child(3),.sales-order-payments-table td:nth-child(3),.sales-order-payments-table th:nth-child(5),.sales-order-payments-table td:nth-child(5){width:190px}.sales-order-payments-table th:nth-child(4),.sales-order-payments-table td:nth-child(4){width:180px}.sales-order-payments-table th:nth-child(6),.sales-order-payments-table td:nth-child(6){width:220px}.sales-order-payments-table th:last-child,.sales-order-payments-table td:last-child{text-align:center;width:72px}.sales-order-payments-table input,.sales-order-payments-table select{border:1px solid var(--sales-border);background:var(--sales-white);width:100%;min-width:0;height:34px;color:var(--sales-text);font:inherit;box-sizing:border-box;border-radius:7px;outline:none;padding:0 10px;font-size:12px}.sales-order-payment-totals{grid-template-columns:repeat(3,minmax(160px,220px));gap:10px;margin-top:12px;display:grid}.sales-order-payment-totals div{background:#fff;border:1px solid #dbeafe;border-radius:8px;padding:10px}.sales-order-payment-totals span{color:var(--sales-muted);font-size:11px;font-weight:700;display:block}.sales-order-payment-totals b{color:var(--sales-text);margin-top:4px;font-size:14px;display:block}.sales-order-details-form,.sales-order-form-grid{align-items:end;gap:12px;display:grid}.sales-order-details-form{grid-template-columns:repeat(7,minmax(0,1fr))}.sales-order-form-grid{grid-template-columns:repeat(4,minmax(170px,1fr))}.sales-order-details-form label,.sales-order-form-grid label{color:#1e293b;gap:5px;min-width:0;font-size:11px;font-weight:800;display:grid}.sales-order-details-form input,.sales-order-details-form select,.sales-order-status-control select{border:1px solid var(--sales-border);background:var(--sales-white);width:100%;min-width:0;height:36px;color:var(--sales-text);font:inherit;box-sizing:border-box;border-radius:8px;outline:none;padding:0 10px;font-size:12px}.sales-order-details-form input:hover,.sales-order-details-form select:hover,.sales-order-status-control select:hover{border-color:#93c5fd}.sales-order-details-form input:focus,.sales-order-details-form select:focus,.sales-order-status-control select:focus{border-color:var(--sales-primary);box-shadow:0 0 0 3px #2563eb1f}.sales-order-date-input{display:block;position:relative}.sales-order-date-input input{padding-right:34px}.sales-order-date-input svg{color:#2563eb;pointer-events:none;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.sales-order-date-input input:disabled+svg{color:#94a3b8}.sales-order-item-name-cell{gap:6px;display:grid}.sales-package-badge{color:#6d28d9;background:#ede9fe;border:1px solid #c4b5fd;border-radius:999px;justify-content:center;align-items:center;width:fit-content;min-height:22px;margin-right:7px;padding:0 8px;font-size:10px;font-weight:800;display:inline-flex}.sales-order-calculated-value{color:var(--sales-text);white-space:nowrap;font-size:12px;font-weight:800;display:block}.sales-order-form-grid input{border:1px solid var(--sales-border);background:var(--sales-white);width:100%;min-width:0;height:36px;color:var(--sales-text);font:inherit;box-sizing:border-box;border-radius:8px;outline:none;padding:0 10px;font-size:12px;transition:border-color .2s,box-shadow .2s}.sales-order-details-form input[readonly]{background:#f1f5f9;font-weight:800}.sales-order-form-grid input:hover{border-color:#93c5fd}.sales-order-form-grid input:focus{border-color:var(--sales-primary);box-shadow:0 0 0 3px #2563eb1f}.sales-order-wide-field{grid-column:span 1}.sales-order-item-totals,.sales-order-summary{grid-template-columns:repeat(3,minmax(180px,240px));gap:10px;margin-top:12px;display:grid}.sales-order-item-totals div,.sales-order-summary div{background:var(--sales-white);border:1px solid #dbe3ef;border-radius:8px;padding:10px}.sales-order-item-totals span,.sales-order-summary span{color:var(--sales-muted);font-size:11px;font-weight:700;display:block}.sales-order-item-totals b,.sales-order-summary b{color:var(--sales-text);margin-top:4px;font-size:14px;display:block}.sales-order-summary{background:var(--sales-white);margin-top:0}.sales-order-list-toolbar{background:#f8fbff;border-bottom:1px solid #dbeafe;flex-wrap:nowrap;flex:none;align-items:end;gap:6px;padding:5px 7px;display:flex;overflow-x:auto}.sales-order-selected-action-bar{background:0 0;border-bottom:0;flex-wrap:nowrap;flex:none;align-items:end;gap:6px;padding:0;display:flex}.sales-order-selected-action-bar label{color:#082f63;text-transform:uppercase;gap:3px;width:185px;font-size:9px;font-weight:900;display:grid}.sales-order-selected-action-bar input{color:#0f172a;background:#fff;border:1px solid #bfdbfe;border-radius:5px;height:24px;padding:0 7px;font-size:10px;font-weight:800}.sales-order-selected-actions{align-items:center;gap:6px;display:inline-flex}.sales-order-selected-actions button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.sales-order-selected-actions button:disabled{cursor:not-allowed;opacity:.45}.sales-order-selected-actions .sales-order-selected-delete-button{color:#dc2626;background:#fff1f2;border-color:#fecaca}.sales-order-toolbar-pending-quotation{width:230px;min-width:230px;margin-left:auto}.sales-order-list-toolbar .pending-sales-order-quotation-select{gap:3px;font-size:9px}.sales-order-list-toolbar .pending-sales-order-quotation-select select{border-radius:5px;min-height:24px;padding:0 7px;font-size:10px}.sales-order-list-filters{background:0 0;border-bottom:0;flex-wrap:nowrap;flex:auto;align-items:end;gap:6px;min-width:0;padding:0;display:flex}.sales-order-list-filters label{color:#082f63;text-transform:uppercase;gap:3px;width:165px;font-size:9px;font-weight:900;display:grid}.sales-order-list-filters label:nth-child(2){width:130px}.sales-order-list-filters label:nth-child(4),.sales-order-list-filters label:nth-child(5){width:116px}.sales-order-list-filters input,.sales-order-list-filters select{color:#0f172a;background:#fff;border:1px solid #bfdbfe;border-radius:5px;outline:none;height:24px;padding:0 7px;font-size:10px;font-weight:800}.sales-order-list-filters input:focus,.sales-order-list-filters select:focus{border-color:var(--sales-primary);box-shadow:0 0 0 2px #2563eb1f}.sales-order-list-filters button{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:5px;height:24px;padding:0 9px;font-size:10px;font-weight:800}.sales-order-list-filters button:hover{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.sales-order-list-summary{flex:none;align-items:end;gap:6px;display:inline-flex}.sales-order-list-summary div{box-sizing:border-box;background:#fff;border:1px solid #bfdbfe;border-radius:6px;align-content:center;gap:1px;min-width:98px;height:31px;padding:2px 8px;display:grid}.sales-order-list-summary div:last-child{min-width:132px}.sales-order-list-summary span{color:#082f63;text-transform:uppercase;white-space:nowrap;font-size:8px;font-weight:900;line-height:1}.sales-order-list-summary b{color:#0f172a;white-space:nowrap;font-size:11px;font-weight:900;line-height:1.1}@media (width<=1100px){.sales-order-details-form,.sales-order-form-grid,.sales-order-customer-details-grid,.sales-order-item-totals,.sales-order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1101px) and (width<=1350px){.sales-order-details-form,.sales-order-customer-details-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=760px){.sales-orders-page{border-radius:12px;padding:10px}.sales-orders-header{flex-direction:column;align-items:flex-start}.sales-orders-header h1{font-size:24px}.sales-orders-actions{width:100%}.sales-order-list-toolbar,.sales-order-list-filters,.sales-order-selected-action-bar{flex-wrap:wrap}.sales-order-selected-action-bar label,.sales-order-list-filters label,.sales-order-toolbar-pending-quotation{width:100%;min-width:0}.sales-order-primary-button,.sales-order-secondary-button{width:100%}.sales-order-form-grid,.sales-order-details-form,.sales-order-customer-details-grid,.sales-order-item-totals,.sales-order-summary{grid-template-columns:1fr}.sales-order-wide-field,.sales-order-customer-details-grid .sales-order-customer-wide-detail{grid-column:auto}}.sales-orders-table-card{flex:auto!important;min-height:0!important;overflow:hidden!important}.sales-orders-page{overflow:hidden!important}.sales-orders-table-wrap{flex:auto!important;min-height:0!important;overflow:auto!important}.sales-orders-front-table th{vertical-align:middle;box-sizing:border-box;text-transform:uppercase;height:22px!important;padding:1px 2px!important;font-size:9px!important;line-height:10px!important}.sales-orders-front-table tbody tr{height:auto!important}.sales-orders-front-table tbody td{box-sizing:border-box;vertical-align:middle!important;height:auto!important;min-height:0!important;max-height:none!important;padding:1px 2px!important;font-size:12px!important;line-height:6px!important}.sales-orders-front-table tbody tr:hover td{background:#f8fbff}.sales-orders-front-table input[type=radio]{width:12px;height:12px;margin:0}.sales-orders-front-table .sales-order-status-badge{box-sizing:border-box;height:14px!important;min-height:0!important;padding:0 3px!important;font-size:9px!important;line-height:12px!important}.sales-orders-table-pagination{color:#64748b;box-sizing:border-box;background:#fff;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:38px;font-size:11px;font-weight:800;visibility:visible!important;flex:none!important;padding:7px 4px!important;display:flex!important}.sales-orders-table-pagination>div{justify-content:flex-end;align-items:center;gap:4px;display:flex}.sales-orders-table-pagination button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-width:30px;height:28px;padding:0 9px;font-size:11px;font-weight:800}.sales-orders-table-pagination button:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.sales-orders-table-pagination button.is-active{color:#fff;background:#2563eb;border-color:#2563eb}.sales-orders-table-pagination button:disabled{opacity:.4;cursor:not-allowed}:root{--stock-primary:#2563eb;--stock-primary-dark:#1d4ed8;--stock-primary-light:#eff6ff;--stock-border:#cbd5e1;--stock-text:#0f172a;--stock-muted:#64748b;--stock-white:#fff;--stock-danger:#dc2626;--stock-navy:#0b1f44}.stock-page{background:var(--stock-white);box-sizing:border-box;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:100%;height:calc(100vh - 112px);min-height:0;padding:24px;display:flex;overflow:hidden;box-shadow:0 8px 28px #0f172a14}.stock-header{border-bottom:1px solid #e2e8f0;flex:none;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:18px;display:flex}.stock-title-group{flex-direction:column;gap:5px;display:flex}.stock-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.stock-header h1{color:var(--stock-text);margin:0;font-size:28px;font-weight:800;line-height:1.2}.stock-header p{color:var(--stock-muted);margin:0;font-size:14px}.stock-primary-button,.stock-secondary-button{cursor:pointer;border:none;border-radius:9px;justify-content:center;align-items:center;min-height:40px;padding:10px 17px;font-size:13px;font-weight:700;transition:background-color .2s,transform .2s,box-shadow .2s;display:inline-flex}.stock-primary-button{background:var(--stock-primary);color:var(--stock-white);box-shadow:0 4px 12px #2563eb40}.stock-primary-button:hover{background:var(--stock-primary-dark);transform:translateY(-1px);box-shadow:0 6px 16px #2563eb4d}.stock-secondary-button{border:1px solid var(--stock-primary);background:var(--stock-white);color:var(--stock-primary)}.stock-secondary-button:hover{background:var(--stock-primary-light)}.stock-primary-button svg,.stock-secondary-button svg{flex:none;margin-right:7px}.stock-message{background:var(--stock-primary-light);color:var(--stock-primary-dark);border:1px solid #bfdbfe;border-radius:9px;flex:none;margin:0 0 18px;padding:12px 15px;font-size:13px;font-weight:700}.stock-table-card{background:var(--stock-white);border:1px solid #dbe3ef;border-radius:12px;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow:hidden}.warehouse-transfer-page{gap:18px}.warehouse-transfer-card{background:var(--stock-white);border:1px solid #dbe3ef;border-radius:12px;flex-direction:column;flex:none;gap:16px;padding:16px;display:flex}.warehouse-transfer-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.warehouse-transfer-form label{color:var(--stock-text);flex-direction:column;gap:6px;font-size:12px;font-weight:800;display:flex}.warehouse-transfer-form input,.warehouse-transfer-form select,.warehouse-transfer-form textarea{border:1px solid var(--stock-border);width:100%;min-height:38px;color:var(--stock-text);font:inherit;background:var(--stock-white);box-sizing:border-box;border-radius:8px;padding:8px 10px;font-weight:600}.warehouse-transfer-form textarea{resize:vertical}.warehouse-transfer-wide-field{grid-column:span 2}.warehouse-transfer-table-card{flex:auto}.warehouse-transfer-table-title{color:var(--stock-text);border-bottom:1px solid #dbe3ef;flex:none;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;font-size:14px;font-weight:800;display:flex}.warehouse-transfer-items-panel{border:1px solid #dbe3ef;border-radius:10px;overflow:hidden}.warehouse-transfer-items-table{min-width:1120px}.warehouse-transfer-items-table input,.warehouse-transfer-items-table select{border:1px solid var(--stock-border);width:100%;min-height:30px;color:var(--stock-text);font:inherit;background:var(--stock-white);box-sizing:border-box;border-radius:6px;padding:5px 7px;font-size:11px;font-weight:700}.warehouse-transfer-items-table button{width:28px;height:28px;color:var(--stock-danger);cursor:pointer;background:#fff5f5;border:1px solid #fecaca;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.warehouse-transfer-table{min-width:940px}.warehouse-transfer-page{gap:10px;height:calc(100vh - 88px);padding:10px 18px}.warehouse-transfer-page .stock-header{min-height:46px;margin-bottom:8px;padding-bottom:8px}.warehouse-transfer-page .stock-title-group{display:none}.warehouse-transfer-page .stock-primary-button,.warehouse-transfer-page .stock-secondary-button{border-radius:7px;min-height:32px;padding:7px 13px;font-size:11px}.warehouse-transfer-page .stock-primary-button svg,.warehouse-transfer-page .stock-secondary-button svg{margin-right:5px}.warehouse-transfer-page .stock-message{margin:0;padding:7px 10px;font-size:11px}.warehouse-transfer-card{gap:8px;padding:10px 14px}.warehouse-transfer-form{grid-template-columns:130px 175px 175px 170px repeat(3,minmax(90px,1fr));gap:8px 10px}.warehouse-transfer-form label{gap:4px;font-size:10px}.warehouse-transfer-form input,.warehouse-transfer-form select,.warehouse-transfer-form textarea{border-radius:7px;min-height:30px;padding:5px 9px;font-size:11px}.warehouse-transfer-form label:first-child{max-width:130px}.warehouse-transfer-form label:nth-child(2),.warehouse-transfer-form label:nth-child(3){max-width:175px}.warehouse-transfer-form label:nth-child(4){max-width:170px}.warehouse-transfer-items-panel{border-radius:8px}.warehouse-transfer-table-title{min-height:38px;padding:7px 10px;font-size:12px}.warehouse-transfer-table-title .stock-secondary-button{margin-left:auto}.warehouse-transfer-items-table,.warehouse-transfer-table{table-layout:auto;width:max-content;min-width:100%}.warehouse-transfer-items-table th,.warehouse-transfer-items-table td,.warehouse-transfer-table th,.warehouse-transfer-table td{white-space:nowrap;width:auto;min-width:0;height:28px;padding:4px 6px}.warehouse-transfer-items-table th{height:26px;font-size:9px}.warehouse-transfer-items-table td{font-size:10px}.warehouse-transfer-items-table input,.warehouse-transfer-items-table select{border-radius:5px;min-height:24px;padding:3px 6px;font-size:10px}.warehouse-transfer-items-table button{border-radius:5px;width:22px;height:22px}.warehouse-transfer-items-table th:first-child,.warehouse-transfer-items-table td:first-child{text-align:center;width:42px}.warehouse-transfer-items-table th:nth-child(2),.warehouse-transfer-items-table td:nth-child(2),.warehouse-transfer-items-table th:nth-child(3),.warehouse-transfer-items-table td:nth-child(3),.warehouse-transfer-items-table th:nth-child(4),.warehouse-transfer-items-table td:nth-child(4){width:150px}.warehouse-transfer-items-table th:nth-child(5),.warehouse-transfer-items-table td:nth-child(5){width:260px}.warehouse-transfer-items-table th:nth-child(6),.warehouse-transfer-items-table td:nth-child(6),.warehouse-transfer-items-table th:nth-child(7),.warehouse-transfer-items-table td:nth-child(7),.warehouse-transfer-items-table th:nth-child(8),.warehouse-transfer-items-table td:nth-child(8){width:76px}.warehouse-transfer-items-table th:nth-child(9),.warehouse-transfer-items-table td:nth-child(9){text-align:center;width:42px}.warehouse-transfer-table-card{flex:auto;min-height:0}.warehouse-transfer-table th:first-child,.warehouse-transfer-table td:first-child{width:130px}.warehouse-transfer-table th:nth-child(2),.warehouse-transfer-table td:nth-child(2),.warehouse-transfer-table th:nth-child(6),.warehouse-transfer-table td:nth-child(6){width:100px}.warehouse-transfer-table th:nth-child(3),.warehouse-transfer-table td:nth-child(3),.warehouse-transfer-table th:nth-child(4),.warehouse-transfer-table td:nth-child(4),.warehouse-transfer-table th:nth-child(7),.warehouse-transfer-table td:nth-child(7){width:160px}.warehouse-transfer-table th:nth-child(5),.warehouse-transfer-table td:nth-child(5){width:320px}.stock-table-wrap{flex:auto;width:100%;max-width:100%;min-height:0;overflow:auto}.stock-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1440px;color:var(--stock-text)}.stock-table th{z-index:2;background:var(--stock-primary-light);color:#1e3a8a;text-align:left;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #bfdbfe;height:34px;padding:5px 6px;font-size:9px;font-weight:800;line-height:1.05;position:sticky;top:0}.stock-table td{background:var(--stock-white);color:#334155;text-align:left;vertical-align:middle;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e2e8f0;height:36px;padding:6px 8px;font-size:11px;line-height:1.2;overflow:hidden}.stock-table tbody tr{transition:background-color .2s}.stock-table tbody tr:hover td{background:#f8fbff}.stock-table tbody tr:last-child td{border-bottom:none}.stock-table th:first-child,.stock-table td:first-child,.stock-table th:last-child,.stock-table td:last-child{text-align:center}.stock-table th,.stock-table td{min-width:0}.stock-table th:first-child,.stock-table td:first-child{width:112px;min-width:112px}.stock-table th:nth-child(2),.stock-table td:nth-child(2),.stock-table th:nth-child(3),.stock-table td:nth-child(3),.stock-table th:nth-child(4),.stock-table td:nth-child(4),.stock-table th:nth-child(6),.stock-table td:nth-child(6),.stock-table th:nth-child(7),.stock-table td:nth-child(7),.stock-table th:nth-child(8),.stock-table td:nth-child(8),.stock-table th:nth-child(9),.stock-table td:nth-child(9){width:105px;min-width:105px}.stock-table th:nth-child(5),.stock-table td:nth-child(5){width:210px;min-width:210px}.stock-table th:nth-child(10),.stock-table td:nth-child(10),.stock-table th:nth-child(11),.stock-table td:nth-child(11),.stock-table th:nth-child(12),.stock-table td:nth-child(12),.stock-table th:nth-child(13),.stock-table td:nth-child(13),.stock-table th:nth-child(14),.stock-table td:nth-child(14){width:104px;min-width:104px}.stock-table th:last-child,.stock-table td:last-child{width:72px;min-width:72px}.stock-table th:nth-child(10),.stock-table td:nth-child(10),.stock-table th:nth-child(11),.stock-table td:nth-child(11),.stock-table th:nth-child(12),.stock-table td:nth-child(12),.stock-table th:nth-child(13),.stock-table td:nth-child(13),.stock-table th:nth-child(14),.stock-table td:nth-child(14){text-align:right}.stock-package-badge,.stock-item-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:20px;padding:0 8px;font-size:10px;font-weight:800;display:inline-flex}.stock-package-badge{color:#6d28d9;background:#ede9fe;border:1px solid #c4b5fd}.stock-item-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.stock-negative td:last-child{color:var(--stock-danger);font-weight:800}.stock-empty-state{color:var(--stock-muted)!important;text-align:center!important;padding:50px 20px!important;font-size:14px!important}@media (width<=980px){.stock-header{flex-direction:column;align-items:flex-start}.stock-header-actions,.stock-primary-button,.stock-secondary-button{width:100%}.warehouse-transfer-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.stock-page{border-radius:12px;padding:14px}.stock-header h1{font-size:24px}.warehouse-transfer-form{grid-template-columns:1fr}.warehouse-transfer-wide-field{grid-column:auto}}.store-page{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;max-width:100%;height:100%;min-height:0;max-height:100%;padding-bottom:22px;display:flex;overflow:auto}.store-header{flex:none;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.store-header h1{margin:0}.store-header p,.store-message{margin:6px 0 0}.store-back-button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 12px;font-size:12px;font-weight:900;display:inline-flex}.store-back-button:hover{background:#dbeafe;border-color:#2563eb}.store-receipt-panel,.store-table-panel{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:18px;box-shadow:0 12px 28px #0f172a0f}.store-section-heading{margin-bottom:12px}.store-section-heading h2{color:#111827;margin:0;font-size:18px}.store-section-heading p{color:#64748b;margin:5px 0 0;font-size:13px}.receipt-form-grid{grid-template-columns:repeat(4,minmax(150px,1fr));align-items:start;gap:14px;display:grid}.store-form-field{color:#1e293b;gap:7px;min-width:0;font-size:12px;font-weight:800;display:grid}.store-form-field>span,.store-field-label{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.receipt-form-grid input,.receipt-form-grid select,.receipt-form-grid textarea{width:100%;min-width:0;min-height:43px;font:inherit;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;padding:0 12px;font-size:12px;transition:border-color .2s,box-shadow .2s}.receipt-form-grid input:focus,.receipt-form-grid select:focus,.receipt-form-grid textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1c}.receipt-form-grid input[readonly]{cursor:default;background:#f1f5f9;font-weight:800}.receipt-form-grid textarea{resize:vertical;min-height:84px;padding-top:12px}.store-wide-field{grid-column:span 2}.store-receipt-items-field{grid-column:1/-1;gap:7px;min-width:0;display:grid}.store-receipt-items-wrap{border:1px solid #dbeafe;border-radius:8px;width:100%;overflow:auto}.store-receipt-items-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:980px}.store-receipt-items-table th{color:#fff;text-align:left;text-transform:uppercase;background:#123272;padding:8px;font-size:10px;line-height:1.15}.store-receipt-items-table td{color:#111827;vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:7px 8px;font-size:12px;line-height:1.25;overflow:hidden}.store-receipt-items-table input{min-height:32px;padding:0 8px}.store-receipt-items-table th:first-child,.store-receipt-items-table td:first-child{text-align:center;width:58px}.store-receipt-items-table th:nth-child(7),.store-receipt-items-table td:nth-child(7),.store-receipt-items-table th:nth-child(8),.store-receipt-items-table td:nth-child(8){width:110px}.store-form-actions{align-self:end;gap:10px;min-width:0;display:flex}.store-form-actions button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;flex:1 1 0;min-height:43px;padding:10px 14px;font-size:12px;font-weight:700}.store-form-actions .store-secondary-button{color:#334155;background:#e2e8f0}.file-upload-field{color:#0f172a;background:#f8fafc;border:1px dashed #94a3b8;border-radius:7px;gap:6px;min-width:0;min-height:84px;padding:10px;font-size:12px;font-weight:700;display:grid}.file-upload-field input{min-height:auto;box-shadow:none;background:0 0;border:none;padding:0}.file-upload-field span{color:#64748b;font-size:11px;font-weight:600}.file-upload-field .store-field-label{color:#1e293b;font-size:12px;font-weight:800}.store-message{color:#9a3412;background:#fffbeb;border:1px solid #f59e0b;border-left:5px solid #f97316;border-radius:8px;align-items:center;width:fit-content;max-width:100%;min-height:34px;padding:8px 12px;font-size:14px;font-weight:950;line-height:1.25;display:inline-flex;box-shadow:0 8px 18px #f9731629}.store-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1280px}.store-table th{color:#fff;text-align:left;text-transform:uppercase;background:#123272;padding:8px 9px;font-size:10px;line-height:1.15}.store-table td{color:#111827;vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;border-bottom:1px solid #e5e7eb;padding:7px 9px;font-size:12px;line-height:1.25;overflow:hidden}.store-table-panel{flex:auto;min-height:240px;overflow:auto}.store-icon-button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:6px;justify-content:center;align-items:center;width:30px;height:28px;padding:0;display:inline-flex}.store-download-button{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.store-edit-button{color:#475569;background:#f8fafc;border-color:#cbd5e1}.store-icon-button:hover{filter:brightness(.97)}.store-table th:first-child,.store-table td:first-child{text-align:center;width:50px}.store-table th:nth-child(2),.store-table td:nth-child(2){width:140px}.store-table th:nth-child(3),.store-table td:nth-child(3),.store-table th:nth-child(4),.store-table td:nth-child(4),.store-table th:nth-child(5),.store-table td:nth-child(5){width:100px}.store-table th:nth-child(6),.store-table td:nth-child(6){white-space:normal;width:230px}.store-table th:nth-child(7),.store-table td:nth-child(7),.store-table th:nth-child(8),.store-table td:nth-child(8),.store-table th:nth-child(11),.store-table td:nth-child(11),.store-table th:nth-child(12),.store-table td:nth-child(12),.store-table th:nth-child(14),.store-table td:nth-child(14),.store-table th:nth-child(15),.store-table td:nth-child(15){text-align:center;width:86px}.store-table th:nth-child(9),.store-table td:nth-child(9),.store-table th:nth-child(10),.store-table td:nth-child(10){width:105px}.store-table th:nth-child(13),.store-table td:nth-child(13){width:160px}.receipt-proof-preview{pointer-events:none;width:794px;position:fixed;top:0;left:-10000px}.receipt-proof{color:#111827;background:#fff;width:190mm;min-height:277mm;padding:12mm;font-family:Arial,sans-serif}.receipt-proof-header{border-bottom:2px solid #2563eb;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;display:flex}.receipt-proof-header h1{color:#0f172a;margin:0;font-size:24px}.receipt-proof-header p{color:#64748b;margin:5px 0 0;font-size:12px}.receipt-proof-header strong{color:#166534;background:#dcfce7;border-radius:999px;padding:7px 12px;font-size:12px}.receipt-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.receipt-proof-grid div,.receipt-proof-section{border:1px solid #e2e8f0;border-radius:8px;padding:10px}.receipt-proof-grid span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.receipt-proof-grid b{margin-top:5px;font-size:13px;display:block}.receipt-proof-section{margin-top:12px}.receipt-proof-section h2{color:#0f172a;margin:0 0 8px;font-size:15px}.receipt-proof-section p{color:#334155;margin:0;font-size:12px}.receipt-proof-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.receipt-proof figure{break-inside:avoid;margin:0}.receipt-proof img{object-fit:contain;border:1px solid #e2e8f0;border-radius:6px;width:100%;max-height:90mm}.receipt-proof figcaption{color:#64748b;margin-top:4px;font-size:10px}.receipt-proof-challan img{max-height:120mm}.store-view-only-panel{flex:none}.qty-pending,.qty-complete{white-space:nowrap;border-radius:999px;align-items:center;padding:4px 8px;font-size:11px;font-weight:700;display:inline-flex}.qty-pending{color:#b45309;background:#fef3c7}.qty-complete{color:#15803d;background:#dcfce7}@media (width<=900px){.receipt-form-grid{grid-template-columns:1fr}.store-wide-field,.receipt-form-grid textarea{grid-column:auto}.store-page{height:auto;min-height:calc(100vh - 92px)}.store-form-actions{flex-direction:column}}:root{--vendor-primary:#2563eb;--vendor-primary-dark:#1d4ed8;--vendor-primary-light:#eff6ff;--vendor-primary-soft:#dbeafe;--vendor-border:#cbd5e1;--vendor-text:#0f172a;--vendor-muted:#64748b;--vendor-background:#f1f5f9;--vendor-white:#fff;--vendor-danger:#dc2626}.vendors-page{background:var(--vendor-white);box-sizing:border-box;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:100%;height:calc(100vh - 76px);min-height:0;padding:10px 12px;display:flex;overflow:hidden;box-shadow:0 8px 28px #0f172a14}.vendors-header{border-bottom:1px solid #e2e8f0;flex:none;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:18px;display:flex}.vendors-title-group{flex-direction:column;gap:5px;display:flex}.vendors-header h1{color:var(--vendor-text);margin:0;font-size:28px;font-weight:800;line-height:1.2}.vendors-subtitle{color:var(--vendor-muted);margin:0;font-size:14px}.vendors-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.vendor-primary-button,.vendor-secondary-button,.vendor-view-button,.vendor-delete-button,.vendor-edit-button{cursor:pointer;border:none;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:10px 17px;font-size:13px;font-weight:700;transition:background-color .2s,transform .2s,box-shadow .2s;display:inline-flex}.vendor-primary-button{background:var(--vendor-primary);color:var(--vendor-white);box-shadow:0 4px 12px #2563eb40}.vendor-primary-button:hover{background:var(--vendor-primary-dark);transform:translateY(-1px);box-shadow:0 6px 16px #2563eb4d}.vendor-primary-button:disabled{cursor:not-allowed;opacity:.7;transform:none}.vendor-secondary-button{border:1px solid var(--vendor-primary);background:var(--vendor-white);color:var(--vendor-primary)}.vendor-secondary-button:hover{background:var(--vendor-primary-light)}.vendor-view-button,.vendor-edit-button,.vendor-delete-button{border-radius:7px;width:34px;min-height:34px;padding:7px}.vendor-view-button,.vendor-edit-button{background:var(--vendor-primary);color:var(--vendor-white)}.vendor-view-button:hover,.vendor-edit-button:hover{background:var(--vendor-primary-dark)}.vendor-delete-button{color:#dc2626;background:#fee2e2;border:1px solid #fecaca}.vendor-delete-button:hover{color:var(--vendor-white);background:#dc2626}.vendor-action-cell{justify-content:center;align-items:center;gap:6px;display:inline-flex}.vendors-message{background:var(--vendor-primary-light);color:var(--vendor-primary-dark);border:1px solid #bfdbfe;border-radius:9px;flex:none;margin:0 0 8px;padding:8px 10px;font-size:12px;font-weight:700}.vendors-table-card{background:var(--vendor-white);border:1px solid #dbe3ef;border-radius:10px;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow:hidden}.vendors-table-wrap{flex:auto;width:100%;max-width:100%;min-height:0;overflow:auto}.vendors-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1040px;color:var(--vendor-text)}.vendors-table th{z-index:2;background:var(--vendor-primary-light);color:#1e3a8a;text-align:left;white-space:nowrap;border-bottom:1px solid #bfdbfe;padding:6px 8px;font-size:10px;font-weight:800;position:sticky;top:0}.vendors-table td{background:var(--vendor-white);color:#334155;text-align:left;vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e2e8f0;height:32px;padding:5px 8px;font-size:11px;line-height:1.25;overflow:hidden}.vendors-table tbody tr{transition:background-color .2s}.vendors-table tbody tr:hover td{background:#f8fbff}.vendors-table tbody tr:last-child td{border-bottom:none}.vendors-table th:first-child,.vendors-table td:first-child,.vendors-table th:last-child,.vendors-table td:last-child{text-align:center}.vendors-table th:first-child,.vendors-table td:first-child{width:54px}.vendors-table th:nth-child(2),.vendors-table td:nth-child(2){width:62px}.vendors-table th:nth-child(3),.vendors-table td:nth-child(3){width:130px}.vendors-table th:nth-child(4),.vendors-table td:nth-child(4){width:210px}.vendors-table th:nth-child(5),.vendors-table td:nth-child(5){width:155px}.vendors-table th:nth-child(6),.vendors-table td:nth-child(6){width:115px}.vendors-table th:nth-child(7),.vendors-table td:nth-child(7){width:190px}.vendors-table th:nth-child(8),.vendors-table td:nth-child(8){width:145px}.vendors-table th:nth-child(9),.vendors-table td:nth-child(9){width:110px}.vendor-detail-card{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.vendor-detail-item{background:var(--vendor-white);border:1px solid #dbe3ef;border-radius:10px;gap:5px;min-width:0;padding:12px;display:grid}.vendor-detail-item span{color:var(--vendor-muted);text-transform:uppercase;font-size:11px;font-weight:800}.vendor-detail-item strong{color:var(--vendor-text);overflow-wrap:anywhere;font-size:13px}.vendors-empty-state{color:var(--vendor-muted)!important;text-align:center!important;padding:50px 20px!important;font-size:14px!important}.vendors-form-card{background:#fbfdff;border:1px solid #dbe3ef;border-radius:14px;padding:24px;position:relative;overflow:hidden;box-shadow:0 10px 24px #0b1f441f}.vendors-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.vendors-form-field{min-width:0}.vendors-form label{color:#1e293b;margin-bottom:7px;font-size:13px;font-weight:700;display:block}.vendors-form input,.vendors-form select,.vendors-form textarea{border:1px solid var(--vendor-border);background:var(--vendor-white);width:100%;color:var(--vendor-text);box-sizing:border-box;border-radius:9px;outline:none;font-family:inherit;font-size:14px;line-height:1.4;transition:border-color .2s,box-shadow .2s,background-color .2s}.vendors-form input{height:44px;padding:0 13px}.vendors-form textarea{resize:vertical;min-height:100px;padding:12px 13px}.vendors-form input::placeholder,.vendors-form textarea::placeholder{color:#94a3b8}.vendors-form input:hover,.vendors-form select:hover,.vendors-form textarea:hover{border-color:#93c5fd}.vendors-form input:focus,.vendors-form select:focus,.vendors-form textarea:focus{border-color:var(--vendor-primary);background:var(--vendor-white);box-shadow:0 0 0 3px #2563eb1f}.vendors-form input[readonly]{color:#64748b;background:#f1f5f9;font-weight:800}.vendor-field-hint{color:var(--vendor-muted);margin-top:5px;font-size:11px;font-weight:700;line-height:1.35;display:block}.vendors-address-field{grid-column:span 2}.vendors-payment-methods{flex-wrap:wrap;align-items:center;gap:9px;min-height:44px;display:flex}.vendors-payment-method-option{cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 11px;color:#1d4ed8!important;margin:0!important;font-size:12px!important;font-weight:800!important;display:inline-flex!important}.vendors-payment-method-option input{width:14px;height:14px;accent-color:var(--vendor-primary);margin:0}.vendors-remarks-field{grid-column:1/-1}.vendor-required{color:var(--vendor-danger)}.vendor-selected-action-bar{background:#f8fbff;border-bottom:1px solid #dbeafe;flex-wrap:wrap;align-items:end;gap:6px;padding:6px 7px;display:flex}.vendor-selected-action-bar label{color:#082f63;text-transform:uppercase;gap:4px;width:min(230px,100%);font-size:10px;font-weight:900;display:grid}.vendor-selected-action-bar input{color:#0f172a;background:#fff;border:1px solid #bfdbfe;border-radius:6px;height:28px;padding:0 9px;font-size:11px;font-weight:800}.vendor-selected-actions{align-items:center;gap:6px;display:inline-flex}.vendor-selected-actions button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.vendor-selected-actions button:disabled{cursor:not-allowed;opacity:.45}.vendor-selected-actions .vendor-selected-delete-button{color:#dc2626;background:#fff1f2;border-color:#fecaca}.vendor-selected-new-button{min-height:28px;margin-left:auto;padding:0 11px}@media (width<=768px){.vendors-page{border-radius:12px;padding:10px}.vendors-header{flex-direction:column;align-items:flex-start}.vendors-header h1{font-size:24px}.vendors-actions{width:100%}.vendor-primary-button,.vendor-secondary-button{flex:1}.vendors-form-card{padding:17px}.vendors-form{grid-template-columns:1fr;gap:16px}.vendors-address-field,.vendors-remarks-field{grid-column:auto}}@media (width<=480px){.vendors-page{padding:14px}.vendors-actions{flex-direction:column}.vendor-primary-button,.vendor-secondary-button{width:100%}}body{margin:0}#root{height:100vh}
