:root{color:var(--brand-text, #16202f);background:radial-gradient(circle at top left,var(--brand-bg-radial-left, rgba(38, 95, 190, .14)),transparent 30%),radial-gradient(circle at top right,var(--brand-bg-radial-right, rgba(24, 168, 137, .12)),transparent 24%),linear-gradient(180deg,var(--brand-bg-gradient-start, #f4f7fb) 0%,var(--brand-bg-gradient-end, #eef3f8) 100%);font-family:var(--brand-font-body, Inter),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--brand-text: #16202f;--brand-bg-radial-left: rgba(38, 95, 190, .14);--brand-bg-radial-right: rgba(24, 168, 137, .12);--brand-bg-gradient-start: #f4f7fb;--brand-bg-gradient-end: #eef3f8;--brand-link: #216fed;--brand-sidebar-start: rgba(7, 16, 28, .98);--brand-sidebar-end: rgba(16, 31, 48, .98);--brand-sidebar-glow: rgba(47, 191, 155, .14);--brand-sidebar-toggle-hover: rgba(33, 111, 237, .2);--brand-mark-start: #2fbf9b;--brand-mark-end: #4fd1c5;--brand-mark-text: #08131d;--brand-nav-hover: rgba(33, 111, 237, .16);--brand-primary-start: #216fed;--brand-primary-end: #1757c7;--brand-primary-solid: #1757c7;--brand-primary-soft: #e7f0ff;--brand-primary-soft-text: #11408f;--brand-font-body: Inter;--brand-font-heading: "Segoe UI";--brand-panel-bg: rgba(255, 255, 255, .94);--brand-panel-border: #dde5ef;--brand-panel-shadow: 0 10px 24px rgba(15, 23, 42, .05);--brand-auth-bg: rgba(255, 255, 255, .96);--brand-auth-shadow: 0 24px 80px rgba(15, 23, 42, .12);--brand-search-bg: rgba(255, 255, 255, .92);--brand-search-border: #d7dee8;--brand-search-shadow: 0 10px 30px rgba(15, 23, 42, .05);--brand-topbar-title-size: 18px;--brand-brandmark-radius: 8px;--brand-button-radius: 8px;--brand-panel-radius: var(--panel-radius);--sidebar-w: 196px;--sidebar-collapsed-w: 64px;--workspace-pad-x: 10px;--workspace-pad-y: 8px;--panel-pad: 8px;--panel-radius: 12px;--control-h: 30px;--control-h-lg: 32px;--table-cell-y: 6px;--table-cell-x: 6px}*{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}html,body,#root{min-height:100%}body{margin:0;min-width:320px;min-height:100vh;font-size:13px;line-height:1.35}:root[data-brand=terista]{--brand-font-body: "Trebuchet MS";--brand-font-heading: "Segoe UI";--brand-panel-bg: rgba(255, 255, 255, .94);--brand-panel-border: #d8e3d3;--brand-panel-shadow: 0 12px 28px rgba(42, 73, 35, .08);--brand-auth-bg: rgba(255, 255, 255, .96);--brand-auth-shadow: 0 28px 80px rgba(38, 74, 36, .14);--brand-search-bg: rgba(252, 255, 249, .9);--brand-search-border: #d7e5cf;--brand-search-shadow: 0 10px 24px rgba(47, 125, 50, .08);--brand-topbar-title-size: 19px;--brand-brandmark-radius: 10px;--brand-button-radius: 9px;--brand-panel-radius: 16px}:root[data-brand=samruddhi]{--brand-font-body: "Trebuchet MS";--brand-font-heading: "Segoe UI";--brand-panel-bg: rgba(255, 255, 255, .94);--brand-panel-border: #d8e3d3;--brand-panel-shadow: 0 12px 28px rgba(42, 73, 35, .08);--brand-auth-bg: rgba(255, 255, 255, .96);--brand-auth-shadow: 0 28px 80px rgba(38, 74, 36, .14);--brand-search-bg: rgba(252, 255, 249, .9);--brand-search-border: #d7e5cf;--brand-search-shadow: 0 10px 24px rgba(47, 125, 50, .08);--brand-topbar-title-size: 19px;--brand-brandmark-radius: 10px;--brand-button-radius: 9px;--brand-panel-radius: 16px}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:24px}.auth-card{width:min(520px,100%);display:grid;gap:18px;padding:28px;border-radius:24px;background:var(--brand-auth-bg);box-shadow:var(--brand-auth-shadow);border:1px solid var(--brand-panel-border)}.auth-brand{display:flex;align-items:center;gap:14px}.auth-card h1{margin:0;font-size:30px;line-height:1.1;font-family:var(--brand-font-heading),ui-sans-serif,system-ui,sans-serif}.auth-copy{margin:0;color:#475569;line-height:1.5}.auth-form{display:grid;gap:14px}.auth-inline-action{display:flex;justify-content:flex-end;margin-top:-4px}.auth-form label{display:grid;gap:8px;font-weight:700;color:#1b2430}.auth-form input,.auth-submit{width:100%}.auth-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#64748b;font-size:12px}.auth-challenge-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#64748b;font-size:12px}.link-button{border:0;background:transparent;color:var(--brand-link);padding:0;cursor:pointer;font-weight:700}button,input,select,textarea{font:inherit}textarea{resize:vertical}.email-compose-dialog textarea{min-height:220px;line-height:1.5}.whatsapp-lead-toggle{display:inline-flex;align-items:center;gap:6px;font-weight:700;cursor:pointer}.whatsapp-lead-toggle input{width:16px;height:16px;margin:0}.whatsapp-hint{margin:0;color:#64748b;font-size:12px}.whatsapp-tab{display:grid;gap:14px}.whatsapp-toolbar{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:10px}.whatsapp-toolbar label{display:grid;gap:6px;min-width:min(100%,320px)}.whatsapp-connect{display:grid;gap:8px;justify-items:start}.whatsapp-setting,.whatsapp-add-number{padding:14px 16px;border:1px solid #e4ebf4;border-radius:12px;background:#f8fafc}.whatsapp-setting h4{margin:0 0 4px}.whatsapp-preview{margin:6px 0 0;padding:10px 12px;border-radius:10px;background:#e7f6e7;color:#1b2430;font:inherit;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.whatsapp-history{display:grid;gap:8px;margin:8px 0 0;padding:0;list-style:none;font-size:13px}.lead-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;padding:14px 16px;border:1px solid #e4ebf4;border-radius:12px;background:#f8fafc}.lead-summary>div,.lead-summary>label{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.lead-conversation{display:grid;gap:8px;margin:0;padding:0;list-style:none;font-size:13px}.lead-conversation li{display:grid;gap:4px;max-width:min(80%,520px);padding:8px 12px;border-radius:10px;background:#f1f5f9;justify-self:start}.lead-conversation li.outgoing{background:#e7f6e7;justify-self:end}.lead-conversation p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.lead-ad-tag{justify-self:start;padding:2px 8px;border-radius:999px;background:#e0ecff;color:#1d4ed8;font-size:11px;font-weight:600}.lead-refresh{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-left:auto}.app-shell{display:block;min-height:100vh}.sidebar{position:fixed;top:0;left:0;width:var(--sidebar-w);height:100vh;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,var(--brand-sidebar-start),var(--brand-sidebar-end)),radial-gradient(circle at top,var(--brand-sidebar-glow),transparent 36%);color:#f8fafc;padding:10px 8px;box-shadow:0 20px 60px #080f1c3d;transition:width .18s ease,padding .18s ease;z-index:10}:root[data-brand=terista] .sidebar{border-right:1px solid rgba(159,198,128,.18)}:root[data-brand=samruddhi] .sidebar{border-right:1px solid rgba(224,182,115,.2);background:linear-gradient(180deg,var(--brand-sidebar-start),var(--brand-sidebar-end)),radial-gradient(circle at top,var(--brand-sidebar-glow),transparent 34%),linear-gradient(90deg,rgba(255,255,255,.03),transparent)}.app-shell.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed-w)}.sidebar-toggle{width:28px;height:28px;flex:0 0 auto;border-color:#aec0d22e;border-radius:8px;background:#ffffff0f;color:#cfdae6}.sidebar-toggle:hover{border-color:#ffffff38;background:var(--brand-sidebar-toggle-hover);color:#fff}.brand-lockup{display:flex;align-items:center;justify-content:space-between;gap:10px}.brand-main{display:flex;align-items:center;gap:10px;min-width:0}.sidebar-copy{min-width:0}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--brand-brandmark-radius);background:linear-gradient(135deg,var(--brand-mark-start),var(--brand-mark-end));color:var(--brand-mark-text);font-weight:900;letter-spacing:.04em;box-shadow:inset 0 1px #ffffff3d}.brand-lockup h1,.brand-lockup p,.topbar h2,.panel h3,.master-card h4,.report-band h3,.report-band p{margin:0}.brand-lockup h1{font-size:13px;line-height:1.2;font-family:var(--brand-font-heading),ui-sans-serif,system-ui,sans-serif}.brand-lockup p{color:#aec0d2;font-size:11px}nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:9px;width:100%;min-height:32px;border:0;border-radius:8px;padding:6px 8px;background:transparent;color:#cfdae6;cursor:pointer;text-align:left;transition:background .14s ease,color .14s ease,transform .14s ease}.nav-item{position:relative}.nav-badge{margin-left:auto;min-width:20px;height:20px;border-radius:10px;padding:0 6px;background:#e5484d;color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center;flex-shrink:0}.sidebar.collapsed .nav-badge{position:absolute;top:2px;right:4px;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}.nav-item.active,.nav-item:hover{background:var(--brand-nav-hover);color:#fff;transform:translate(2px)}:root[data-brand=samruddhi] .nav-item{border-radius:12px}.role-panel{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-top:auto;border-top:1px solid rgba(174,192,210,.24);padding-top:10px}.role-panel-main{min-width:0;flex:1 1 120px}.role-panel strong,.role-panel span{display:block}.role-panel span{color:#aec0d2;font-size:12px}.sidebar.collapsed{padding-inline:10px}.sidebar.collapsed .brand-lockup,.sidebar.collapsed .brand-main{justify-content:center}.sidebar.collapsed .sidebar-copy,.sidebar.collapsed .nav-item span,.sidebar.collapsed .role-panel-main{display:none}.sidebar.collapsed .nav-item{justify-content:center;padding-inline:0}.sidebar.collapsed .role-panel{justify-content:center}.role-select,.role-name-input{width:100%;min-height:30px;border:1px solid rgba(174,192,210,.35);border-radius:8px;background:#ffffff0f;color:#f8fafc;padding:0 10px}.role-select option{color:#1b2430}.role-name-input::placeholder{color:#cbd5e1}.workspace{min-width:0;margin-left:var(--sidebar-w);padding:var(--workspace-pad-y) var(--workspace-pad-x) 12px;transition:margin-left .18s ease}.app-shell.sidebar-collapsed .workspace{margin-left:var(--sidebar-collapsed-w)}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}.workspace-grid.editor-focus{grid-template-columns:minmax(0,1fr)}.workspace-main{min-width:0}.workspace-editor{min-width:0;width:100%;max-width:100%}.topbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}:root[data-brand=terista] .topbar{padding:2px 2px 8px}:root[data-brand=samruddhi] .topbar{padding:4px 4px 10px;border-bottom:1px solid rgba(201,121,34,.12)}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;position:relative}.topbar-logout{flex:0 0 auto}.topbar-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}.notification-shell{position:relative;flex:0 0 auto}.notification-bell{position:relative;width:34px;min-width:34px;height:34px;border:1px solid var(--brand-search-border);border-radius:10px;background:var(--brand-search-bg);color:#334155;box-shadow:var(--brand-search-shadow)}.notification-bell.active{border-color:var(--brand-primary-solid);color:var(--brand-primary-solid)}.notification-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border-radius:999px;display:grid;place-items:center;padding:0 4px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:10px;font-weight:800;box-shadow:0 4px 12px #dc262647}.notification-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;border:0;padding:0;margin:0;z-index:24}.notification-dropdown{position:absolute;top:calc(100% + 10px);right:0;width:min(420px,calc(100vw - 24px));max-height:min(560px,72vh);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--brand-panel-border);border-radius:16px;background:var(--brand-panel-bg);box-shadow:0 18px 44px #0f172a24;z-index:25}.notification-dropdown-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:12px 14px;border-bottom:1px solid var(--brand-panel-border)}.notification-dropdown-head h3{margin:0;font-size:14px}.notification-dropdown-head span{color:#64748b;font-size:12px}.notification-mark-all{min-height:28px;padding-inline:10px;white-space:nowrap}.notification-permission-row{display:grid;gap:10px;padding:12px 14px;border-bottom:1px solid var(--brand-panel-border);background:#2563eb0f}.notification-permission-row strong{display:block;margin-bottom:2px;color:#0f172a;font-size:12px}.notification-permission-row span{color:#475569;font-size:12px;line-height:1.45}.notification-permission-row--enabled{background:#16a34a14}.notification-enable-alerts{justify-self:start;min-height:32px;padding-inline:12px}.notification-list{display:grid;gap:8px;padding:12px;flex:1 1 auto;min-height:0;overflow-y:auto}.notification-item{width:100%;display:grid;gap:8px;padding:12px;border:1px solid var(--brand-panel-border);border-radius:14px;background:#ffffffeb;text-align:left;cursor:pointer;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease}.notification-item:hover{transform:translateY(-1px);border-color:#c7d4e5;box-shadow:0 10px 24px #0f172a14}.notification-item.unread{background:linear-gradient(180deg,#fff,#f8fbff)}.notification-item--action_required{border-left:4px solid #f59e0b}.notification-item--success{border-left:4px solid #16a34a}.notification-item--warning{border-left:4px solid #ea580c}.notification-item--error{border-left:4px solid #dc2626}.notification-item--info{border-left:4px solid #2563eb}.notification-item-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.notification-item-status{display:inline-flex;gap:8px;align-items:center;min-width:0;color:var(--brand-primary-solid)}.notification-item-status strong{color:#0f172a;font-size:13px;line-height:1.35}.notification-item p{margin:0;color:#475569;font-size:12px;line-height:1.5}.notification-item-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#64748b;font-size:11px}.notification-read-button{width:24px;min-width:24px;height:24px;border-radius:8px;border:1px solid var(--brand-panel-border);background:#fff;color:#334155}.notification-empty-state{min-height:120px}.eyebrow{color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.topbar h2{font-size:var(--brand-topbar-title-size);line-height:1.15;margin-top:2px;font-family:var(--brand-font-heading),ui-sans-serif,system-ui,sans-serif}.search-box{display:flex;align-items:center;gap:10px;width:min(280px,100%);min-height:var(--control-h-lg);border:1px solid var(--brand-search-border);border-radius:10px;background:var(--brand-search-bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:0 10px;color:#64748b;box-shadow:var(--brand-search-shadow)}.density-toggle{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #d7dee8;border-radius:10px;background:#ffffffeb}.density-toggle button{min-height:26px;border:0;border-radius:8px;padding:0 8px;background:transparent;color:#475569;cursor:pointer;font-size:11px;font-weight:800}.density-toggle button.active{background:var(--brand-primary-solid);color:#fff}.search-box input{width:100%;border:0;outline:0;background:transparent;color:#1b2430}.view-stack{display:grid;gap:10px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card,.panel,.master-card{border:1px solid var(--brand-panel-border);border-radius:var(--brand-panel-radius);background:var(--brand-panel-bg);box-shadow:var(--brand-panel-shadow)}.metric-card{min-height:78px;padding:10px}.metric-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#e7f8f3,#d9f5ed);color:#138264;margin-bottom:10px}:root[data-brand=terista] .metric-icon{background:linear-gradient(135deg,#eef8e5,#dcefd0);color:#2f7d32}:root[data-brand=samruddhi] .metric-icon{background:linear-gradient(135deg,#f7ecd8,#f0ddb7);color:#9a5a11}.metric-card span{display:block;color:#64748b;font-size:12px;font-weight:700}.metric-card strong{display:block;margin-top:4px;font-size:17px;line-height:1.2;overflow-wrap:anywhere}.metric-card small{display:block;margin-top:4px;color:#64748b;font-size:11px}.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:10px}.panel{min-width:0;padding:var(--panel-pad)}.view-panel{min-height:0}.product-master-panel{min-height:calc(100vh - 104px);display:flex;flex-direction:column}.panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.panel-heading-stack{display:grid;gap:2px}.panel-heading h3,.report-band h3{font-size:14px;display:inline-flex;align-items:center;gap:8px;font-family:var(--brand-font-heading),ui-sans-serif,system-ui,sans-serif}.panel-heading span,.panel-meta{color:#64748b;font-size:12px}.panel-actions{display:flex;gap:8px;align-items:center}.panel-heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.status-filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:var(--control-h);padding:0 12px;border-radius:999px;border:1px solid #cdd7e3;background:#fff;color:#1b2430;cursor:pointer;font-weight:700;transition:transform .14s ease,border-color .14s ease,background .14s ease,color .14s ease}.status-filter-chip strong{min-width:20px;padding:2px 6px;border-radius:999px;background:#edf2f7;font-size:11px;text-align:center}.status-filter-chip.selected{border-color:var(--brand-primary-solid);background:var(--brand-primary-soft);color:var(--brand-primary-soft-text)}.status-filter-chip.selected strong{background:var(--brand-primary-solid);color:#fff}.status-filter-chip:hover{transform:translateY(-1px)}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--control-h);border-radius:var(--brand-button-radius);border:1px solid transparent;padding:0 10px;cursor:pointer;font-weight:700;transition:transform .14s ease,opacity .14s ease,border-color .14s ease}.primary-action{background:linear-gradient(135deg,var(--brand-primary-start),var(--brand-primary-end));color:#fff}.secondary-action{background:#fff;border-color:var(--brand-panel-border);color:#1b2430}.primary-action:hover,.secondary-action:hover,.icon-button:hover,.link-button:hover,.card-edit:hover{transform:translateY(-1px)}.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.security-grid-single{grid-template-columns:minmax(0,760px);justify-content:start}.security-card{display:grid;gap:14px;padding:18px;border:1px solid #dde5ef;border-radius:18px;background:#f8fafc}.security-card h4{margin:0;font-size:15px}.security-card p{margin:0;color:#475569;line-height:1.5}.security-card-password{gap:12px;padding:16px}.security-card-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.security-actions{display:flex;gap:10px;flex-wrap:wrap}.security-setup{display:grid;gap:12px}.security-password-form{grid-template-columns:minmax(0,420px);gap:10px 16px;align-items:start}.security-password-grid{display:grid;grid-template-columns:minmax(0,420px);gap:10px}.security-help{grid-column:1 / -1;color:#64748b;font-size:11px}.security-password-form label{display:grid;gap:5px;align-content:start}.security-password-form input{width:100%}.security-password-form .security-actions{grid-column:1;margin-top:2px}.security-label{display:block;margin-bottom:6px;color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.security-setup code{display:block;width:100%;overflow-wrap:anywhere;padding:12px;border-radius:12px;background:#eef4ff;color:#1b2430;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.security-uri{font-size:11px}.notice{margin-bottom:16px;border:1px solid #b8dfd3;border-radius:14px;background:#effbf7;color:#126b52;padding:10px 12px;font-weight:700}:root[data-brand=samruddhi] .notice{border-color:#efd3af;background:#fff6ea;color:#8a4f0f}.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.product-table-wrap{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto}.product-table-wrap tbody tr{height:36px}.product-master-panel .mobile-stack-table{min-width:0;table-layout:fixed}.product-master-panel .mobile-stack-table th:nth-child(1){width:35%}.product-master-panel .mobile-stack-table th:nth-child(2){width:20%}.product-master-panel .mobile-stack-table th:nth-child(3){width:12%}.product-master-panel .mobile-stack-table th:nth-child(4){width:7%}.product-master-panel .mobile-stack-table th:nth-child(5){width:5%}.product-master-panel .mobile-stack-table th:nth-child(6){width:8%}.product-master-panel .mobile-stack-table th:nth-child(7){width:5%}.product-master-panel .mobile-stack-table th:nth-child(8){width:8%}.product-master-panel .invoice-registry-table th:nth-child(1){width:14%}.product-master-panel .invoice-registry-table th:nth-child(2){width:30%}.product-master-panel .invoice-registry-table th:nth-child(3){width:20%}.product-master-panel .invoice-registry-table th:nth-child(4){width:8%}.product-master-panel .invoice-registry-table th:nth-child(5){width:7%}.product-master-panel .invoice-registry-table th:nth-child(6){width:21%}.product-master-panel .invoice-registry-table--multi-company th:nth-child(1){width:13%}.product-master-panel .invoice-registry-table--multi-company th:nth-child(2){width:7%}.product-master-panel .invoice-registry-table--multi-company th:nth-child(3){width:35%}.product-master-panel .invoice-registry-table--multi-company th:nth-child(4){width:11%}.product-master-panel .invoice-registry-table--multi-company th:nth-child(5){width:8%}.product-master-panel .invoice-registry-table--multi-company th:nth-child(6){width:9%}.product-master-panel .invoice-registry-table--multi-company th:nth-child(7){width:17%}.table-sort-button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}.table-sort-button:hover{text-decoration:underline}.table-sort-button:not(.active) svg{opacity:.4}.product-master-panel .invoice-registry-table--with-date th:nth-child(1){width:13%}.product-master-panel .invoice-registry-table--with-date th:nth-child(2){width:10%}.product-master-panel .invoice-registry-table--with-date th:nth-child(3){width:26%}.product-master-panel .invoice-registry-table--with-date th:nth-child(4){width:17%}.product-master-panel .invoice-registry-table--with-date th:nth-child(5){width:8%}.product-master-panel .invoice-registry-table--with-date th:nth-child(6){width:7%}.product-master-panel .invoice-registry-table--with-date th:nth-child(7){width:19%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(1){width:12%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(2){width:9%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(3){width:7%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(4){width:28%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(5){width:11%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(6){width:8%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(7){width:8%}.product-master-panel .invoice-registry-table--multi-company.invoice-registry-table--with-date th:nth-child(8){width:17%}.product-master-panel .invoice-registry-table .actions-col{width:19%}.product-master-panel .mobile-stack-table td:first-child{min-width:0;overflow-wrap:anywhere}.product-master-panel .table-link-button{max-width:100%;overflow-wrap:anywhere;white-space:normal}.product-master-panel .invoice-registry-text-cell,.product-master-panel .invoice-registry-text-cell .table-link-button{white-space:normal;overflow-wrap:anywhere;word-break:break-word}.virtual-spacer-row td{padding:0;border:0;background:transparent}table{width:100%;border-collapse:collapse;min-width:620px}.compact-table{min-width:640px}th,td{border-bottom:1px solid #edf1f6;padding:var(--table-cell-y) var(--table-cell-x);text-align:left;white-space:nowrap}th{color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.04em;position:sticky;top:0;z-index:2;background:#f8fbfffa;box-shadow:inset 0 -1px #e7edf5}:root[data-brand=terista] th{background:#f5faf0fa;box-shadow:inset 0 -1px #dfead7}:root[data-brand=samruddhi] th{background:#fdf8effa;box-shadow:inset 0 -1px #eedec8}.table-sort-button{border:0;background:transparent;color:inherit;font:inherit;font-weight:800;letter-spacing:inherit;text-transform:inherit;padding:0;cursor:pointer}.numeric{text-align:right}.cell-wrap{max-width:320px;white-space:normal}.company-badge{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:22px;padding:0 8px;overflow:hidden;border:1px solid;border-radius:6px;font-size:12px;font-weight:800;letter-spacing:.02em;text-overflow:ellipsis;white-space:nowrap}.company-badge--0{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.company-badge--1{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.company-badge--2{background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}.company-badge--3{background:#f0fdfa;border-color:#99f6e4;color:#0f766e}.company-badge--4{background:#fdf2f8;border-color:#fbcfe8;color:#be185d}.company-badge--5{background:#f7fee7;border-color:#d9f99d;color:#4d7c0f}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:20px;border-radius:999px;padding:0 8px;font-size:10px;font-weight:800}.invoice-row--changed>td{background:#fcd34d}.invoice-row--changed>td:first-child{box-shadow:inset 4px 0 #b45309}.invoice-row--split>td{background:#fbcfe8}.invoice-row--split>td:first-child{box-shadow:inset 4px 0 #be185d}.invoice-changed-badge{display:inline-flex;align-items:center;margin-left:5px;border-radius:999px;padding:0 6px;background:#b45309;color:#fff;font-size:10px;font-weight:800;line-height:16px;white-space:nowrap;vertical-align:middle}.invoice-changed-warning{border:1px solid #fcd34d;border-radius:8px;padding:8px 12px;background:#fffbeb;color:#92400e;font-size:13px}.status-badge.created{background:#edf1f6;color:#475569}.status-badge.sent{background:#fff4d6;color:#8a5b00}.status-badge.approved{background:#e5f7ed;color:#126b3f}.status-badge.rejected{background:#fff1e7;color:#b54708}.status-badge.paid{background:#e9f5ff;color:#1d4ed8}.status-badge.posted{background:#e7f8f3;color:#126b52}.status-badge.dispatched{background:#e0ecff;color:#1d4ed8}.status-badge.billed{background:#f1e8ff;color:#6d28d9}.status-badge.closed{background:#e7f8f3;color:#126b52}.status-badge.cancelled{background:#fde8e8;color:#b42318}.status-badge.admin{background:#e0ecff;color:#1d4ed8}.status-badge.normal{background:#edf7f1;color:#166534}.rank-list{display:grid;gap:10px}.rank-list.spaced{margin-top:16px}.rank-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border-radius:14px;background:#f7f9fc}.rank-row span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#e0ecff;color:#1d4ed8;font-weight:800}.rank-row em{color:#475569;font-style:normal;font-weight:700}.snapshot-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.snapshot-card{display:grid;gap:4px;min-width:0;padding:14px;border-radius:14px;background:linear-gradient(180deg,#f8fbff,#f4f8fd);border:1px solid #e4ebf4;container-type:inline-size}.snapshot-card strong{font-size:clamp(14px,13cqi,20px);line-height:1.2;overflow-wrap:anywhere}.snapshot-card span{color:#64748b;font-size:12px;font-weight:700}.card-grid,.master-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.master-card{position:relative;padding:16px}.master-card--grid{display:grid;gap:12px;padding:14px;border:1px solid #dde5ef;border-radius:16px;background:#fff;box-shadow:0 16px 40px #0f172a0d}.master-card--grid .card-edit{position:static;top:auto;right:auto;flex:0 0 auto}.master-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.master-card-head h4{margin:0;font-size:16px}.master-card-head p{margin:4px 0 0;color:#64748b;font-size:12px;min-height:0}.master-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.card-edit{position:absolute;top:12px;right:12px}.master-card>span{color:#216fed;font-size:12px;font-weight:800}.master-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}dt{color:#64748b;font-size:12px;font-weight:700}dd{margin:4px 0 0;overflow-wrap:anywhere;font-weight:700}.master-card .card-items-section{padding-top:4px}.report-band{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #dde5ef;border-radius:18px;background:#fffffff0;padding:22px}.report-band p{margin-top:6px;color:#64748b}.report-actions{display:flex;gap:10px}.report-filters .panel-heading{margin-bottom:10px}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.filter-grid label,.form-grid label{display:grid;gap:4px;color:#475569;font-size:12px;font-weight:700}.field-label-row{display:inline-flex;align-items:center;gap:4px;min-width:0}.form-grid label .mandatory{color:#e11d48;margin-left:2px}.form-legend{grid-column:1 / -1;font-size:12px;color:#64748b;margin-top:-8px;font-style:italic}.filter-grid input,.filter-grid select,.form-grid input,.form-grid select,.form-grid textarea,.shipping-card input,.shipping-card textarea,.shipping-picker select,.shipping-picker textarea,.transport-band input,.transport-band select,.transport-grid input{width:100%;min-height:var(--control-h);border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#1b2430;padding:0 8px}.readonly-field{display:flex;align-items:center;min-height:var(--control-h);color:#0f172a;font-weight:700;line-height:1.45;word-break:break-word;white-space:pre-wrap}.readonly-field.is-empty{color:#64748b;font-weight:600}.details-view{display:grid;gap:18px}.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.detail-field{display:grid;gap:4px;min-width:0;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.detail-field span{color:#64748b;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.detail-field strong{color:#0f172a;font-size:14px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}.detail-field strong.is-empty{color:#94a3b8;font-weight:600}.gst-verification-details{display:grid;gap:10px;padding:12px;border:1px solid #dde5ef;border-radius:8px;background:#f8fafc}.details-shipping-card{padding:14px}.details-view>.modal-actions{margin-top:0}.form-grid input[type=checkbox],.shipping-card input[type=checkbox],.shipping-picker input[type=checkbox],.transport-band input[type=checkbox]{width:16px;min-width:16px;height:16px;min-height:16px;padding:0;border-radius:4px;accent-color:#216fed;flex:0 0 16px}.form-grid textarea,.shipping-card textarea,.shipping-picker textarea{padding-top:8px;min-height:72px}.actions-col{width:150px}.row-actions{display:flex;gap:4px;align-items:center;flex-wrap:nowrap}.row-actions .icon-button{width:18px;min-width:18px;height:18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.row-actions .icon-button:hover{background:transparent;border-color:transparent}.voucher-row-actions{align-items:flex-start;flex-wrap:wrap}.voucher-inline-actions{display:flex;gap:4px;flex-wrap:wrap}.voucher-reason-box{margin-top:10px;white-space:pre-wrap}.customer-table{min-width:700px;table-layout:fixed}.customer-table th,.customer-table td{padding:6px;vertical-align:middle}.customer-table td{font-size:13px}.customer-table .actions-col{width:10%}.product-master-panel .customer-table th:nth-child(1){width:22%}.product-master-panel .customer-table th:nth-child(2){width:14%}.product-master-panel .customer-table th:nth-child(3){width:18%}.product-master-panel .customer-table th:nth-child(4){width:12%}.product-master-panel .customer-table th:nth-child(5){width:19%}.product-master-panel .customer-table th:nth-child(6){width:15%}.customer-name-cell{font-size:13px;font-weight:400;line-height:1.35}.customer-name-cell .table-link-button{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.customer-city-cell,.customer-gst-cell{font-size:13px;line-height:1.35}.customer-phone-cell,.customer-gst-cell{white-space:nowrap}.customer-row-actions{justify-content:flex-start;flex-wrap:nowrap;gap:2px}.customer-row-actions .icon-button{width:18px;min-width:18px;height:18px}.pagination-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:16px;flex-wrap:wrap}.pagination-actions{display:flex;gap:10px;align-items:center}.table-rate-input{width:100%;min-height:40px;border:1px solid #cdd7e3;border-radius:12px;background:#fff;color:#1b2430;padding:0 12px}.table-link-button{border:0;padding:0;background:transparent;color:#1565a8;font:inherit;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.table-link-button:hover{color:#0b4e82}.back-to-customer-link{display:inline-flex;align-items:center;gap:6px;margin-bottom:12px}.pricing-snapshot{margin-bottom:10px}.pricing-share-actions,.pricing-bulk-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;z-index:6;padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));margin-top:10px;border-top:1px solid #e7edf5;background:linear-gradient(180deg,#fff0,#fffffff5 22%,#fff)}.pricing-groups{display:grid;gap:6px}.pricing-group{border:1px solid #dde5ef;border-radius:14px;background:#f8fbff;padding:8px}.pricing-group-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:4px}.pricing-group-head h4{margin:0;font-size:14px}.pricing-group-toggle{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:inherit;font:inherit}.pricing-group-toggle svg{color:#64748b;transition:transform .16s ease}.pricing-group-toggle svg.expanded{transform:rotate(90deg)}.pricing-group-head span{color:#64748b;font-size:11px;font-weight:700}.pricing-company-picker{display:grid;gap:3px;color:#64748b;font-size:11px;font-weight:700}.pricing-company-picker select{min-width:190px;font-size:13px}.quick-products-group{margin-bottom:12px;background:#f7fcf8;border-color:#b9ddc4}.quick-product-pin.active{color:#176b40;border-color:#84bd98;background:#e8f7ed}.pricing-group-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:4px}.pricing-global-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.pricing-select-all{display:inline-flex;align-items:center;gap:8px;color:#475569;font-size:11px;font-weight:700}.checkbox-col{width:54px;text-align:center}.pricing-checkbox{width:14px;height:14px;accent-color:#216fed}.pricing-group table{min-width:680px}.pricing-name-cell{display:inline-flex;align-items:center;gap:6px}.pricing-description-button{display:inline-grid;place-items:center;width:22px;height:22px;padding:0;border:1px solid #cdd7e3;border-radius:6px;background:#fff;color:#216fed;cursor:pointer}.pricing-description-button:hover{border-color:#216fed;background:#eef4ff}.rich-text-field{display:grid;gap:6px}.rich-text-editor{border:1px solid #cdd7e3;border-radius:10px;background:#fff;overflow:hidden}.rich-text-editor:focus-within{border-color:#216fed;box-shadow:0 0 0 3px #216fed1f}.rich-text-toolbar{display:flex;gap:2px;padding:4px 6px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.rich-text-toolbar button{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#334155;cursor:pointer}.rich-text-toolbar button:hover:not(:disabled){background:#e2e8f0}.rich-text-input{min-height:120px;max-height:320px;overflow-y:auto;padding:10px 12px;outline:none;line-height:1.5;white-space:pre-wrap}.rich-text-input:empty:before{content:attr(data-placeholder);color:#94a3b8;pointer-events:none}.rich-text-editor.disabled .rich-text-input{background:#f8fafc}.rich-text-input ul,.rich-text-input ol,.rich-text-view ul,.rich-text-view ol{margin:4px 0;padding-left:22px}.rich-text-input p,.rich-text-view p{margin:0 0 6px}.rich-text-view{line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.table-remark-input{width:100%;min-width:140px;min-height:28px;padding:0 7px;font-size:11px}.pricing-group th,.pricing-group td{padding:5px 8px;font-size:11px}.pricing-group th{font-size:10px}.table-rate-input{max-width:110px;min-height:28px;margin-left:auto;padding:0 7px;font-size:11px}.table-rate-input.changed{border-color:#216fed;background:#eef4ff;font-weight:700}.icon-button,.card-edit{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid #cdd7e3;border-radius:10px;background:#fff;color:#334155;cursor:pointer}.icon-button:hover,.card-edit:hover{border-color:#216fed;color:#216fed}.icon-button.danger:hover{border-color:#dc2626;color:#dc2626}.icon-button.active{border-color:#94a3b8;background:#f1f5f9}.action-menu{position:fixed;z-index:1000;display:grid;min-width:220px;max-width:min(320px,calc(100vw - 16px));padding:4px;border:1px solid #dbe3ee;border-radius:10px;background:#fff;box-shadow:0 10px 30px #0f172a29}.action-menu-item{display:flex;align-items:flex-start;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#1e293b;font:inherit;font-size:13px;text-align:left;cursor:pointer}.action-menu-item:hover,.action-menu-item:focus-visible{background:#f1f5f9}.action-menu-item svg{flex-shrink:0;margin-top:1px}.action-menu-item span{display:grid;gap:2px}.action-menu-item small{color:#64748b;font-size:11px}.action-menu-item.success svg,.action-menu-item.success small{color:#16a34a}.action-menu-item.danger{color:#b91c1c}.action-menu-item.danger svg,.action-menu-item.danger small{color:#dc2626}.icon-button.success{border-color:#16a34a;color:#16a34a;background:#f0fdf4}.icon-button.success:hover{border-color:#15803d;color:#15803d}.icon-button:disabled{cursor:not-allowed;opacity:.45}.secondary-action--success{border-color:#16a34a;color:#166534;background:#f0fdf4}.modal-backdrop,.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;display:grid;place-items:center;background:#09142080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:12px}.modal-backdrop.nested{z-index:35}.modal{width:100%;max-height:calc(100vh - 32px);overflow:auto;border-radius:16px;background:#fff;box-shadow:0 24px 80px #0f172a3d;padding:14px}.overlay-modal{width:min(860px,100%);max-height:min(84vh,820px)}.overlay-modal.medium{width:min(900px,100%);max-height:min(88vh,860px)}.overlay-modal.large{width:min(1080px,100%);max-height:min(92vh,920px)}.modal-content{width:100%;max-height:calc(100vh - 32px);overflow:auto;border-radius:16px;background:#fff;box-shadow:0 24px 80px #0f172a3d;padding:14px}.overlay-modal.small{width:min(560px,100%);max-height:min(72vh,720px)}.modal-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.modal-heading h3{margin:0;font-size:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.form-grid>fieldset{display:contents}.form-grid .wide,.wide{grid-column:1 / -1}.invoice-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.invoice-form label{font-size:10px;gap:4px}.invoice-form input,.invoice-form select,.invoice-form textarea,.shipping-card input,.shipping-card textarea,.shipping-picker select,.shipping-picker textarea,.transport-band input,.transport-band select,.transport-grid input{min-height:30px;padding:0 7px}.invoice-form textarea,.shipping-card textarea,.shipping-picker textarea{padding-top:6px;min-height:48px}.invoice-section,.invoice-side-card{display:grid;gap:6px;border:1px solid #dde5ef;border-radius:10px;background:#fffffff5;padding:8px}.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.section-heading h4{margin:0;font-size:13px}.section-heading--actions{align-items:center}.copy-last-pi{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0}.copy-last-pi .secondary-action{display:inline-flex;align-items:center;gap:6px}.copy-last-pi small{color:#64748b}.customer-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.customer-preview>div{min-width:0;padding:6px 8px;border:1px solid #e4ebf4;border-radius:8px;background:#f8fafc}.customer-preview span{display:block;margin-bottom:4px;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.customer-preview strong{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.25}.invoice-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.invoice-utility-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;align-items:end}.invoice-utility-grid--basic{grid-template-columns:repeat(3,minmax(160px,220px))}.invoice-utility-grid--charges{grid-template-columns:repeat(2,minmax(140px,220px))}.invoice-field{min-width:0}.invoice-field--short{max-width:240px}.invoice-field--wide{grid-column:span 2}.stat-card{display:grid;gap:4px;border:1px solid #dde5ef;border-radius:8px;background:#f8fafc;padding:6px}.stat-card span,.stat-card small{color:#64748b}.stat-card span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.stat-card strong{color:#1b2430;font-size:12px}.stat-card small{font-size:12px}.invoice-mini-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invoice-stack>*{min-width:0}.shipping-stack{display:grid;gap:6px;margin-top:6px}.shipping-card{display:grid;gap:6px;border:1px solid #dde5ef;border-radius:10px;background:#f8fafc;padding:8px}.shipping-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}.shipping-card-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.copy-billing-toggle{display:inline-flex;align-items:center;gap:8px;color:#64748b;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;padding:0;background:transparent;border:0;text-transform:uppercase;letter-spacing:.04em}.copy-billing-toggle:hover{color:#216fed}.copy-billing-toggle input[type=checkbox]{width:14px;min-width:14px;height:14px;min-height:14px;margin:0;border-radius:4px;accent-color:#216fed}.copy-billing-toggle input[type=radio]{width:14px;min-width:14px;height:14px;min-height:14px;margin:0;accent-color:#216fed}.inline-toggle-group{display:flex;flex-wrap:wrap;gap:16px;align-items:center;min-height:var(--control-h)}.inline-action-row{display:flex;gap:10px;align-items:center}.inline-action-row input{flex:1 1 auto}.sample-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sample-product-option{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border:1px solid #d7e1ec;border-radius:10px;background:#f8fbff}.sample-product-option span{display:grid;gap:2px;min-width:0}.sample-product-option small{color:#64748b}.courier-product-picker{margin-bottom:10px}.courier-product-list{display:grid;gap:8px}.courier-product-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #d7e1ec;border-radius:10px;background:#f8fbff}.courier-product-copy{display:grid;gap:2px;min-width:0}.courier-product-copy small{color:#64748b}.product-media-section{display:grid;gap:10px}.product-media-upload{display:grid;gap:6px}.product-media-upload small{color:#64748b}.product-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.product-media-card{display:grid;gap:8px;padding:10px;border:1px solid #d7e1ec;border-radius:12px;background:#f8fbff}.product-media-preview{display:grid;place-items:center;min-height:140px;border-radius:10px;background:#eaf1f8;overflow:hidden}.product-media-preview img,.product-media-preview video{width:100%;max-height:220px;object-fit:cover}.pricing-price-cell{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}.pricing-media-button{display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border:1px solid #cdd7e3;border-radius:999px;background:#fff;color:#216fed;font-size:11px;font-weight:700;line-height:1.4;cursor:pointer;min-width:46px;justify-content:center}.pricing-media-button--empty{visibility:hidden;min-height:22px}.pricing-media-button:hover{border-color:#216fed;background:#eef4ff}.pricing-quick-cell{display:inline-flex;align-items:center;gap:8px}.pricing-media-thumb{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.pricing-media-enlarged{display:grid;gap:10px;justify-items:center}.pricing-media-enlarged>.secondary-action{justify-self:start}.pricing-media-enlarged img{max-width:100%;max-height:70vh;object-fit:contain;border-radius:10px}.product-media-placeholder{color:#475569;font-size:12px;font-weight:700;letter-spacing:.04em}.product-media-copy{display:grid;gap:2px;min-width:0}.product-media-copy strong,.product-media-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-media-copy small{color:#64748b}.product-media-actions{display:flex;gap:8px;flex-wrap:wrap}.danger-action{color:#b42318;border-color:#efc0c0}.shipping-grid,.transport-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.shipping-picker,.transport-band{display:grid;gap:4px;border:1px solid #dde5ef;border-radius:10px;background:#f8fafc;padding:6px}.new-address{width:100%}.invoice-lines{display:grid;gap:0;border:1px solid #dde5ef;border-radius:14px;background:#fbfdff;overflow:visible;--invoice-line-columns: minmax(168px, 1.08fr) minmax(126px, .78fr) minmax(76px, .44fr) minmax(82px, .48fr) minmax(58px, .32fr) minmax(66px, .36fr) minmax(88px, .5fr) 36px}.invoice-line-head{display:grid;grid-template-columns:var(--invoice-line-columns);gap:4px;align-items:center;padding:4px 6px;border-bottom:1px solid #e7edf5;background:#f7faff;color:#475569;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.invoice-line-head span:nth-child(5),.invoice-line-head span:nth-child(6),.invoice-line-head span:nth-child(7){text-align:right}.line-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.line-heading h4{margin:0;color:#1b2430;font-size:14px}.invoice-line{display:grid;grid-template-columns:var(--invoice-line-columns);gap:4px;align-items:end;position:relative;isolation:isolate;z-index:0;padding:4px 6px;background:transparent;border-bottom:1px solid #eef3f8}.invoice-line:focus-within{z-index:8}.invoice-line>*{min-width:0}.invoice-line:last-child{border-bottom:0}.invoice-line-actions{display:flex;gap:6px;align-items:end;justify-content:flex-end}.invoice-line-action{width:auto;height:auto;min-height:0;padding:0;justify-self:end;border:0;background:transparent;border-radius:0;box-shadow:none}.invoice-line-action--danger{color:#b91c1c}.invoice-line-action--danger:hover{background:transparent}.invoice-line-action:hover{background:transparent;transform:none}.invoice-line-field{display:grid}.invoice-line-mobile-label{display:none;color:#64748b;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.invoice-line-field input[type=number]{text-align:right}.invoice-line-field input{min-height:28px;padding:4px 6px}.invoice-line .searchable-select{min-width:0;z-index:1}.invoice-line-product{display:flex;align-items:flex-end;gap:4px;min-width:0}.invoice-line-product .searchable-select{flex:1}.invoice-line-history{flex-shrink:0;width:28px;height:28px;margin-bottom:4px}.price-history-table{min-width:0}.price-history-heading{margin:4px 0 8px;font-size:13px;color:#334155}.price-history-heading:not(:first-child){margin-top:16px}.invoice-line .searchable-select>label{display:none}.invoice-line .select-trigger{min-width:0;min-height:28px;padding:4px 6px 4px 8px}.line-total{display:grid;align-items:center;justify-items:stretch}.line-total span{color:#475569;font-size:10px;font-weight:700}.line-total strong{min-height:28px;border:1px solid #cdd7e3;border-radius:8px;background:#fff;padding:4px 6px;font-size:11px;text-align:right}.empty-state{padding:16px;border-radius:14px;background:#f7f9fc;color:#64748b;font-weight:700}.voucher-document-preview{width:min(240px,100%);aspect-ratio:4 / 3;overflow:hidden;border:1px solid #d7e3ee;border-radius:14px;background:#f8fafc;padding:0;cursor:pointer}.voucher-document-preview__media{width:100%;height:100%;display:block;object-fit:cover;border:0;background:#fff}.voucher-document-preview__placeholder{width:100%;height:100%;display:grid;place-items:center;color:#64748b;font-size:18px;font-weight:800;letter-spacing:.08em}.voucher-document-dialog{display:grid;gap:16px}.voucher-document-dialog__viewer{min-height:min(70vh,720px);max-height:70vh;overflow:hidden;border:1px solid #d7e3ee;border-radius:14px;background:#f8fafc}.voucher-document-dialog__media{width:100%;height:100%;display:block;border:0;object-fit:contain;background:#fff}.timeline-list{display:grid;gap:10px;margin-top:16px}.timeline-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:#f7f9fc}.timeline-row span{color:#64748b;font-weight:700}.timeline-row strong{font-size:14px}.invoice-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.invoice-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:6px;align-items:start}.invoice-summary-panel{align-content:start}.company-form{align-items:start}.company-logo-preview{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #d5deea;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#eef4fb);padding:16px}.company-logo-preview strong,.company-logo-preview span{display:block}.company-logo-preview span{color:#64748b;font-size:12px;margin-top:4px}.company-logo-preview img{display:block;width:120px;height:72px;object-fit:contain;border-radius:12px;border:1px solid #cdd7e3;background:#fff;padding:8px}.company-form-actions{display:flex;justify-content:flex-end}.html-preview-dialog,.pdf-preview-dialog{display:grid;gap:14px}.html-preview-frame{width:100%;height:min(72vh,760px);border:1px solid #cdd7e3;border-radius:16px;background:#fff}.aadhar-card-field{display:grid;gap:8px}.aadhar-card-file{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.aadhar-card-file>span{flex:1 1 160px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.aadhar-card-file .secondary-action{display:inline-flex;align-items:center;gap:6px}.pdf-preview-toolbar{display:flex;justify-content:flex-end}.pdf-preview-toolbar .secondary-action{display:inline-flex;align-items:center;gap:6px}.pdf-preview-frame{width:100%;height:min(72vh,760px);border:1px solid #cdd7e3;border-radius:16px;background:#fff}.preview-loading{display:grid;place-items:center;min-height:min(72vh,760px);border:1px dashed #b7c5d6;border-radius:16px;background:#f8fbff;color:#475569;font-weight:700}.html-preview-source{display:grid;gap:8px;font-weight:700}.html-preview-source span{color:#334155}.html-preview-source textarea{width:100%;min-height:200px;border:1px solid #cdd7e3;border-radius:14px;background:#f8fbff;color:#1b2430;padding:12px 14px;font-family:Consolas,SFMono-Regular,Menlo,Monaco,monospace;font-size:12px;line-height:1.5}.logo-placeholder{display:grid;place-items:center;width:120px;height:72px;border:1px dashed #b7c5d6;border-radius:12px;color:#64748b;font-size:12px;font-weight:700;background:#fff}.summary-card{display:grid;gap:4px;padding:6px 8px;border:1px solid #d5deea;border-radius:8px;background:linear-gradient(180deg,#f8fbff,#eef4fb)}.summary-card.muted{background:#fff}.summary-card span{color:#64748b;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.summary-card strong{font-size:13px}.summary-card input[readonly]{border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#1b2430;padding:6px 8px;font-weight:700}.density-comfortable{--sidebar-w: 220px;--sidebar-collapsed-w: 72px;--workspace-pad-x: 12px;--workspace-pad-y: 10px;--panel-pad: 10px;--panel-radius: 14px;--control-h: 34px;--control-h-lg: 36px;--table-cell-y: 8px;--table-cell-x: 8px}.density-comfortable body,.density-comfortable{font-size:14px}.modal-submit{grid-column:1 / -1;justify-self:end;min-width:140px}.modal-actions,.invoice-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;z-index:6;padding:10px 0 0;margin-top:4px;background:linear-gradient(180deg,#fff0,#fffffff5 22%,#fff);border-top:1px solid #e7edf5}.gst-verify-action{min-width:132px;white-space:nowrap;justify-content:center}.card-header{margin-bottom:14px}.card-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card-subtitle{margin:4px 0 0!important;font-size:13px!important;font-weight:600;color:#64748b}.permission-modal-section{display:grid;gap:10px;padding:10px 0 2px;border-top:1px solid #e5ebf4}.permission-modal-section .panel-heading{margin-bottom:0}.permission-modal-section .panel-heading h3{font-size:16px}.permissions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.permission-card{display:grid;gap:10px;border:1px solid #dde5ef;border-radius:12px;background:#fff;padding:10px}.permission-card-head h4{margin:0;font-size:14px}.permission-hint{color:#64748b;font-size:10px;font-weight:700}.permission-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.permission-toggle{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dbe4ef;border-radius:10px;background:#f8fafc;padding:5px 7px;color:#334155;font-size:11px;font-weight:700;text-transform:capitalize;min-height:28px}.permission-toggle input{accent-color:#216fed;width:13px;height:13px;flex:0 0 13px}.access-modal-section{display:grid;gap:10px;padding:10px 0 2px;border-top:1px solid #e5ebf4}.access-modal-section .panel-heading{margin-bottom:0}.access-toggle{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#334155}.access-toggle input{accent-color:#216fed;width:15px;height:15px}.access-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.access-method-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;border:1px solid #dbe4ef;border-radius:12px;background:#f8fafc;cursor:pointer}.access-method-card.disabled{opacity:.55;cursor:not-allowed}.access-method-card input{margin-top:3px;accent-color:#216fed}.access-method-card strong{display:block;margin-bottom:4px;font-size:13px}.access-method-card p{margin:0;color:#64748b;font-size:12px;line-height:1.4}.access-panel{display:grid;gap:12px}.access-card-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px}.access-card{display:grid;gap:6px;padding:14px;border-radius:14px;border:1px solid #dde5ef;background:#fbfdff}.access-card--wide{min-width:0}.access-label{color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.access-card strong{font-size:16px}.access-card p{margin:0;color:#64748b;font-size:12px}.access-value-row{display:flex;align-items:center;gap:10px;min-width:0}.access-value-row code{flex:1 1 auto;min-width:0;padding:10px 12px;border-radius:10px;background:#eef4ff;color:#1b2430;font-size:12px;overflow-wrap:anywhere}.copy-action{white-space:nowrap}.info-dl{grid-template-columns:repeat(2,1fr);gap:8px;padding-bottom:14px;border-bottom:1px dashed #d5deea;margin-bottom:14px}.card-items-section{display:grid;gap:8px}.items-header{display:flex;justify-content:space-between;align-items:center}.items-header h5{margin:0;font-size:13px;color:#475569;text-transform:uppercase;letter-spacing:.04em}.items-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.items-list li{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#f8fafc;border:1px solid #e4ebf4;border-radius:10px;cursor:pointer;transition:all .14s ease}.items-list li:hover{border-color:#216fed;background:#f0f7ff}.item-name{font-size:13px;font-weight:700}.item-price{font-size:12px;color:#216fed;font-weight:800}.no-items{margin:0;font-size:12px;color:#94a3b8;font-style:italic;text-align:center;padding:10px}.icon-button-small{display:inline-grid;place-items:center;width:26px;height:26px;border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#334155;cursor:pointer}.icon-button-small:hover{border-color:#216fed;color:#216fed}.searchable-select{position:relative;display:grid;gap:6px}.select-trigger{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:38px;border:1px solid #cdd7e3;border-radius:12px;background:#fff;color:#1b2430;padding:0 10px;cursor:pointer;text-align:left}.select-clear{position:absolute;right:34px;bottom:9px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:0;border-radius:50%;background:#eef2f7;color:#475569;cursor:pointer}.select-clear:hover{background:#fde8e8;color:#c62828}.searchable-select:has(.select-clear) .select-trigger{padding-right:60px}.select-trigger:focus-visible,.select-clear:focus-visible,.select-option:focus-visible,.select-search input:focus-visible{outline:2px solid #216fed;outline-offset:2px}.selected-value{display:grid;gap:2px;min-width:0;line-height:1.15}.selected-value strong,.selected-meta{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-meta{color:#64748b;font-size:11px;font-weight:600}.select-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:50;border:1px solid #dde5ef;border-radius:14px;background:#fff;box-shadow:0 10px 30px #0f172a26;padding:8px;display:grid;gap:8px}.select-search input{width:100%;min-height:36px;border:1px solid #cdd7e3;border-radius:10px;padding:0 10px;outline:none}.select-search input:focus{border-color:#216fed}.select-options{max-height:240px;overflow-y:auto;display:grid;gap:2px}.select-option{padding:10px;border:0;border-radius:8px;cursor:pointer;display:grid;gap:2px;transition:background .14s ease;width:100%;background:transparent;text-align:left}.select-option:hover{background:#f1f5f9}.select-option.active{background:#e0ecff;color:#1d4ed8}.select-option strong{font-size:13px}.select-option small{font-size:11px;color:#64748b}.select-no-results{padding:12px;text-align:center;color:#64748b;font-size:13px}.select-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1}@media(max-width:1140px){.app-shell{display:grid;grid-template-columns:1fr}.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:sticky;top:0;left:auto;width:auto;height:auto;overflow-y:visible;z-index:5;gap:16px;padding:14px;border-bottom:1px solid rgba(174,192,210,.18)}.workspace,.app-shell.sidebar-collapsed .workspace{margin-left:0}nav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(92px,1fr);gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.nav-item{flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:68px;padding:10px 8px;text-align:center;transform:none}.nav-item.active,.nav-item:hover{transform:none}.nav-item span{display:block;font-size:11px;line-height:1.2}.nav-badge,.sidebar.collapsed .nav-badge{position:absolute;top:6px;right:8px;margin-left:0}.sidebar.collapsed{padding-inline:14px}.sidebar.collapsed .sidebar-copy,.sidebar.collapsed .role-panel-main{display:block}.sidebar.collapsed .nav-item{justify-content:center;padding-inline:8px}.sidebar.collapsed .nav-item span{display:block}.role-panel,.sidebar.collapsed .role-panel{display:none}.metric-grid,.dashboard-grid,.content-grid,.report-grid,.card-grid,.master-grid,.workspace-grid.editor-focus,.permissions-grid,.invoice-summary,.invoice-bottom-grid{grid-template-columns:1fr}.customer-preview,.filter-grid,.shipping-grid,.transport-grid,.invoice-utility-grid,.invoice-utility-grid--basic,.invoice-utility-grid--charges{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-field--short,.invoice-field--wide{max-width:none;grid-column:auto}}@media(max-width:760px){html,body,#root,.app-shell{width:100%;max-width:100vw;overflow-x:hidden}body{min-width:0;overflow-x:hidden}.modal-backdrop,.modal-overlay{padding:6px}.overlay-modal,.overlay-modal.medium,.overlay-modal.large,.overlay-modal.small{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100vh - 12px)}.modal,.modal-content{width:100%;max-height:calc(100vh - 12px);border-radius:14px;padding:12px;overflow-x:hidden}.workspace{padding:14px;overflow-x:hidden}.workspace-grid,.workspace-main,.workspace-editor,.editor-panel,.view-panel,.sidebar{min-width:0;width:100%;max-width:100%;box-sizing:border-box}.workspace-editor,.editor-panel{overflow-x:hidden}.topbar,.report-band,.panel-heading,.shipping-card-head,.line-heading{align-items:stretch;flex-direction:column}.topbar h2{font-size:24px}.topbar-actions{width:100%;flex-direction:column;align-items:stretch}.density-toggle{width:100%;justify-content:stretch}.density-toggle button{flex:1 1 0}.search-box{width:100%}.panel,.metric-card,.master-card{border-radius:16px}.panel{padding:14px}.metric-grid,.dashboard-grid,.content-grid,.report-grid,.card-grid,.master-grid,.workspace-grid.editor-focus,.filter-grid,.shipping-grid,.transport-grid,.details-grid{grid-template-columns:1fr}.details-view>.modal-actions,.form-grid>.modal-actions{position:fixed;left:0;right:0;bottom:0;z-index:30;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fffffffa;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 -8px 24px #0f172a1f}.details-view>.modal-actions .secondary-action,.details-view>.modal-actions .primary-action,.form-grid>.modal-actions .secondary-action,.form-grid>.modal-actions .primary-action{flex:1 1 0;min-width:0}.invoice-mini-grid,.invoice-mini-grid--three,.invoice-utility-grid,.invoice-utility-grid--basic,.invoice-utility-grid--charges,.customer-preview,.invoice-stack,.permission-actions{grid-template-columns:1fr}.permission-modal-section{padding-top:8px}.section-heading,.section-heading--actions{align-items:stretch;flex-direction:column}.primary-action,.secondary-action,.modal-submit{width:100%}.form-grid,.sample-product-grid{grid-template-columns:1fr}.invoice-form{gap:10px;padding-bottom:92px}.invoice-form>*,.invoice-section,.invoice-side-card,.shipping-picker,.transport-band,.invoice-lines,.invoice-line,.searchable-select,.selected-value,.select-trigger{min-width:0;max-width:100%}.invoice-form label{font-size:11px}.invoice-line{grid-template-columns:1fr;gap:8px;align-items:stretch;padding:10px;background:#fff}.invoice-line-head{display:none}.invoice-lines{border-radius:12px;overflow:hidden;background:#f8fbff}.invoice-line .searchable-select{width:100%}.invoice-line .searchable-select>label{display:grid;margin-bottom:5px}.select-trigger{overflow:hidden}.selected-value strong,.selected-meta{white-space:normal;overflow:hidden;text-overflow:unset;overflow-wrap:anywhere}.invoice-line-mobile-label{display:inline-flex}.invoice-line-field,.line-total{gap:5px}.invoice-line-field input[type=number]{text-align:left}.line-total{padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.line-total strong{min-height:0;border:0;background:transparent;padding:0;font-size:15px;text-align:left}.invoice-line-actions{grid-template-columns:repeat(2,auto);justify-content:end}.invoice-line-action{width:auto;height:auto;min-height:0}.invoice-actions{position:fixed;left:0;right:0;bottom:0;z-index:30;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fffffffa;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 -8px 24px #0f172a1f}.invoice-actions .secondary-action,.invoice-actions .primary-action{flex:1 1 0;min-width:0}.mobile-stack-table,.mobile-stack-table tbody,.mobile-stack-table tr,.mobile-stack-table td{display:block;width:100%}.mobile-stack-table{min-width:0;border-collapse:separate}.mobile-stack-table thead{display:none}.mobile-stack-table tbody{display:grid;gap:10px}.product-table-wrap{max-height:none;overflow-y:visible}.product-table-wrap tbody tr{height:auto;min-height:0}.mobile-stack-table tr{border:1px solid #dde5ef;border-radius:12px;background:#fff;overflow:hidden}.mobile-stack-table td{display:grid;grid-template-columns:minmax(96px,120px) minmax(0,1fr);gap:10px;align-items:start;white-space:normal;overflow-wrap:anywhere;padding:8px 10px}.mobile-stack-table td:before{content:attr(data-label);color:#64748b;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.mobile-stack-table td.numeric{text-align:left}.mobile-stack-table td[data-label=Actions]{grid-template-columns:1fr}.mobile-stack-table td[data-label=Actions]:before{margin-bottom:2px}.product-master-panel .mobile-stack-table td[data-label="Product Name"]{display:block;padding-bottom:5px;color:#0f3f66;font-size:14px;font-weight:800}.product-master-panel .mobile-stack-table td[data-label="Product Name"]:before{display:none}.product-master-panel .mobile-stack-table td[data-label=Category]{color:#1d4f7a;font-weight:700}.product-master-panel .mobile-stack-table td[data-label=Price]{color:#0f766e;font-size:14px;font-weight:800}.mobile-stack-table .row-actions,.mobile-stack-table .customer-row-actions{flex-wrap:wrap;gap:8px}.mobile-stack-table .row-actions .icon-button,.mobile-stack-table .customer-row-actions .icon-button{width:26px;min-width:26px;height:26px}.panel-actions,.report-actions,.pagination-actions{width:100%;flex-direction:column}.pricing-group-head,.pricing-group-tools{flex-direction:column;align-items:flex-start}.pricing-share-actions{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #e7edf5;background:#fffffffa;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 -8px 24px #0f172a1f}.pricing-bulk-actions{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:1fr 1fr;width:100%;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #e7edf5;background:#fffffffa;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 -8px 24px #0f172a1f}.pricing-bulk-actions button{justify-content:center}.pricing-share-actions button{justify-content:center;padding-inline:8px;font-size:12px}.pricing-groups{padding-bottom:76px}.pricing-group .table-wrap{overflow-x:visible}.pricing-group table,.pricing-group table tbody,.pricing-group table tr,.pricing-group table td{min-width:0;display:block;width:100%}.pricing-group table thead{display:none}.pricing-group table tr{padding:8px;border-bottom:1px solid #dbe5ed}.pricing-group table td{display:grid;grid-template-columns:minmax(110px,42%) minmax(0,1fr);gap:8px;align-items:center;padding:5px 0;text-align:left}.pricing-group table td:before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:700}.pricing-group table td.checkbox-col{display:flex;gap:8px}.pricing-group table td.checkbox-col:after{content:"Select product";color:#64748b;font-size:11px;font-weight:700}.pricing-group .table-rate-input{max-width:none;margin:0}.brand-lockup{gap:10px}.brand-mark{width:40px;height:40px;border-radius:12px}.brand-lockup h1{font-size:15px}nav{grid-auto-columns:minmax(84px,1fr)}.nav-item{min-height:62px;border-radius:12px}table{min-width:620px}.compact-table{min-width:560px}.customer-table{min-width:620px}.company-logo-preview{flex-direction:column;align-items:flex-start}.company-logo-preview img,.logo-placeholder{max-width:100%}.overlay-modal,.overlay-modal.medium,.overlay-modal.large,.overlay-modal.small{width:100%;max-height:calc(100vh - 20px)}.modal,.modal-content{padding:16px;border-radius:16px}}.master-tabs{display:flex;gap:4px;margin-bottom:18px;border-bottom:1px solid var(--brand-panel-border);overflow-x:auto;scrollbar-width:none}.master-tabs::-webkit-scrollbar{display:none}.master-tab{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;margin-bottom:-1px;padding:10px 16px;border:none;border-bottom:2px solid transparent;background:transparent;color:#5b6778;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}.master-tab:hover{color:var(--brand-text)}.master-tab.active{color:var(--brand-primary-solid);border-bottom-color:var(--brand-primary-solid)}.master-tab-count{min-width:22px;padding:1px 7px;border-radius:999px;background:#eef2f7;color:#5b6778;font-size:12px;text-align:center}.master-tab.active .master-tab-count{background:var(--brand-primary-soft);color:var(--brand-primary-soft-text)}.payee-field{display:grid;gap:4px;align-content:start}.payee-qr-code{display:flex;align-items:center;gap:14px;padding:10px;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc}.payee-qr-code__thumb{flex:0 0 auto;display:grid;place-items:center;width:132px;height:132px;padding:4px;border:1px solid #cdd7e3;border-radius:8px;background:#fff;cursor:zoom-in;overflow:hidden}.payee-qr-code__thumb img{display:block;max-width:100%;max-height:100%;object-fit:contain}.payee-qr-code__info{display:grid;gap:2px;justify-items:start;min-width:0}.payee-qr-code__label{color:#64748b;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.payee-qr-code__info strong{color:#0f172a;font-size:14px;overflow-wrap:anywhere}.payee-qr-code__info small{color:#64748b;font-size:12px}.payee-qr-code__enlarge{margin-top:8px}.payee-qr-code__status{color:#64748b;font-size:12px;text-align:center;cursor:default}.payee-qr-code__dialog{display:grid;place-items:center}.payee-qr-code__dialog img{display:block;max-width:100%;max-height:70vh;object-fit:contain;border-radius:8px}.payee-qr-cell{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.payee-qr-cell img{width:56px;height:56px;object-fit:contain;border:1px solid #cdd7e3;border-radius:8px;background:#fff}.form-grid .inline-check{display:flex;align-items:center;gap:6px;font-weight:500;color:#475569;cursor:pointer}.heading-actions{display:flex;align-items:center;gap:6px}:root{--chart-bar: #008b9a;--chart-grid: #e8edf3;--chart-axis: #c4cdd8;--chart-ink-muted: #64748b;--chart-ink: #16202f}:root[data-brand=samruddhi]{--chart-bar: #f05b1f}.trend-toggle{display:flex;flex-wrap:wrap;gap:6px}.trend-chart h4{margin:0 0 4px;color:var(--chart-ink);font-size:13px;font-weight:600}.trend-chart-canvas{position:relative;width:100%;min-height:210px}.trend-chart-canvas svg{display:block;overflow:visible}.trend-grid{stroke:var(--chart-grid);stroke-width:1}.trend-axis{stroke:var(--chart-axis);stroke-width:1}.trend-tick{fill:var(--chart-ink-muted);font-size:11px;font-variant-numeric:tabular-nums}.trend-value{fill:var(--chart-ink);font-size:11px;font-weight:600}.trend-bar{fill:var(--chart-bar);transition:opacity .12s ease}.trend-bar.is-active{opacity:.78}.trend-hit{fill:transparent;cursor:default;outline:none}.trend-hit:focus-visible{stroke:var(--chart-bar);stroke-width:1.5}.trend-tooltip{position:absolute;transform:translate(-50%);display:grid;gap:2px;padding:6px 10px;border:1px solid var(--brand-panel-border, #dde5ef);border-radius:8px;background:#fff;box-shadow:0 6px 18px #0f172a1f;pointer-events:none;white-space:nowrap}.trend-tooltip strong{color:var(--chart-ink);font-size:13px}.trend-tooltip span{color:var(--chart-ink-muted);font-size:11px}.trend-table{margin-top:10px}.trend-table summary{color:var(--chart-ink-muted);font-size:12px;cursor:pointer}@media(max-width:760px){.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title tools" "search search";align-items:center;gap:10px 12px}.topbar-title{grid-area:title;min-width:0}.topbar-actions{display:contents}.topbar-actions .search-box{grid-area:search}.topbar-tools{grid-area:tools;position:relative}.topbar-tools .notification-shell{position:static}.topbar .topbar-logout{width:auto;padding-inline:12px}}.task-quick-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px}.task-quick-add.with-tag{grid-template-columns:minmax(0,1fr) minmax(120px,200px) auto}.task-tag-filter{margin-bottom:10px}.tag-input{position:relative;min-width:0}.tag-input-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;max-height:220px;margin:0;padding:4px;overflow-y:auto;list-style:none;border:1px solid #cdd7e3;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a1f}.tag-input-options li{padding:6px 10px;border-radius:6px;color:#1b2430;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-input-options li:hover,.tag-input-options li.active{background:#eef4ff;color:#216fed}.task-quick-add>input,.tag-input>input,.task-edit-form>input,.task-edit-form>textarea{width:100%;min-height:var(--control-h, 36px);border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#1b2430;padding:0 10px}.task-edit-form>textarea{padding:8px 10px}.task-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}.task-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 12px;border:1px solid #e4ebf4;border-radius:12px;background:#fff}.task-row.editing{display:block}.task-check{width:18px;height:18px;margin-top:2px;accent-color:var(--brand-primary-solid);cursor:pointer}.task-body{display:grid;gap:3px;min-width:0}.task-title{color:#1b2430;font-weight:600;overflow-wrap:anywhere}.task-row.done .task-title{color:#64748b;text-decoration:line-through}.task-notes{color:#64748b;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.task-meta{display:inline-flex;align-items:center;gap:4px;color:#64748b;font-size:12px}.task-edit-form{display:grid;gap:8px}.task-edit-actions{display:flex;justify-content:flex-end;gap:8px}.task-done-toggle{border:0;padding:0;background:transparent;color:#334155;font:inherit;font-weight:700;cursor:pointer}.task-done-toggle+.task-list,.task-done-toggle+.empty-state{margin-top:10px}@media(max-width:760px){.task-quick-add .primary-action,.task-edit-actions .primary-action,.task-edit-actions .secondary-action{width:auto}.task-quick-add.with-tag{grid-template-columns:minmax(0,1fr) auto}.task-quick-add.with-tag>input:first-child{grid-column:1 / -1}}.tasks-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.task-chips{display:flex;flex-wrap:wrap;gap:4px}.task-chip{display:inline-flex;align-items:center;padding:1px 8px;border:1px solid #dbe3ee;border-radius:6px;background:#f8fafc;color:#475569;font-size:12px;font-weight:600}.task-chip--high{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.task-chip--overdue{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.task-chip--waiting{border-color:#fde68a;background:#fffbeb;color:#a16207}.task-chip--approved{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.task-status-dot{width:10px;height:10px;margin-top:6px;border-radius:999px;background:#94a3b8}.task-status-dot--open{background:#2563eb}.task-status-dot--done{background:#d97706}.task-status-dot--completed{background:#16a34a}.task-comments{display:grid;gap:6px;margin-top:6px;padding:8px 10px;border-radius:10px;background:#f8fafc}.task-comment-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}.task-comment-list li{display:grid;gap:1px}.task-comment-body{color:#1b2430;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.task-comments .task-quick-add{margin-bottom:0}.task-comments-button{position:relative}.task-comments-count{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#2563eb;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center}.task-focused,.task-focused>td{background:#fef9c3!important;transition:background .4s ease}.assign-task-form{margin-bottom:12px;padding:12px;border:1px solid #e4ebf4;border-radius:12px}.tasks-tabs{display:flex;gap:4px;border-bottom:1px solid #dbe3ee}.tasks-tab{display:inline-flex;align-items:center;gap:8px;margin-bottom:-1px;padding:10px 16px;border:0;border-bottom:3px solid transparent;background:transparent;color:#475569;font:inherit;font-weight:700;cursor:pointer}.tasks-tab:hover{color:#1b2430}.tasks-tab.selected{border-bottom-color:var(--brand-primary-solid, #2563eb);color:#1b2430}.tasks-tab-badge{padding:1px 8px;border-radius:999px;background:#fef3c7;color:#a16207;font-size:12px;font-weight:700}.assigned-task-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.assigned-task-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.assigned-task-user-filter{min-height:var(--control-h, 36px);padding:0 10px;border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#1b2430;font:inherit}.assigned-task-table td{vertical-align:top}.assigned-task-table .row-actions{flex-wrap:nowrap}.assigned-task-detail>td{background:#f8fafc}.assigned-task-overdue{color:#b91c1c;font-weight:700}.task-chip--open{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.task-approve{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0 10px;font-size:13px}.reminder-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px}.reminder-form>input,.reminder-form>textarea{width:100%;min-height:var(--control-h, 36px);border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#1b2430;padding:0 10px}.reminder-form>input{grid-column:1 / -1}.reminder-form>textarea{grid-column:1 / -1;padding:8px 10px}.reminder-time-input{display:flex;align-items:center;gap:6px;min-height:var(--control-h, 36px);padding:0 8px;border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#64748b}.reminder-time-input input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#1b2430}.reminder-form-actions{display:flex;justify-content:flex-end;gap:8px}.reminder-form-hint{grid-column:1 / -1;color:#b42318;font-size:12px;font-weight:700}.reminder-group-title{margin:14px 0 6px;color:#475569;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.reminder-group-title.due{color:#b42318}.task-row.due{border-color:#f4c7c3;background:#fff7f6}.reminder-time{display:inline-flex;align-items:center;gap:4px;color:#64748b;font-size:12px}.reminder-time.due{color:#b42318;font-weight:700}@media(max-width:1100px){.tasks-page{grid-template-columns:1fr}}@media(max-width:760px){.reminder-form-actions .primary-action,.reminder-form-actions .secondary-action{width:auto}}.notes-toolbar{display:grid;gap:10px;margin-bottom:12px}.notes-search{display:flex;align-items:center;gap:8px;min-height:var(--control-h, 36px);border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#64748b;padding:0 10px}.notes-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#1b2430}.note-tag-picker{display:flex;flex-wrap:wrap;gap:6px}.note-tag-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border:1px solid #cdd7e3;border-radius:999px;background:#fff;color:#334155;font-size:13px;font-weight:600;cursor:pointer}.note-tag-chip:hover{border-color:#216fed;color:#216fed}.note-tag-chip.selected{border-color:#216fed;background:#eef4ff;color:#1d4ed8}.note-tag-chip:focus-visible{outline:2px solid #216fed;outline-offset:2px}.note-tag-count{color:#64748b;font-size:12px;font-weight:500}.notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:12px;align-items:start}.note-card{display:grid;gap:8px;min-width:0;padding:12px 14px;border:1px solid #e4ebf4;border-radius:12px;background:#fff}.note-card.editing{margin-bottom:12px}.note-card.dragging,.notes-table tr.dragging{opacity:.45}.note-drag-handle{display:inline-flex;align-items:center;flex-shrink:0;padding:2px 0;color:#9aa9bb;cursor:grab;touch-action:none}.note-drag-handle:hover{color:#4b5d73}.note-drag-handle:active{cursor:grabbing}.note-drag-cell{width:24px;padding-right:0!important}.notes-grid .note-card.editing{margin-bottom:0}.note-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.note-card-title{display:grid;gap:4px;min-width:0}.note-card-title strong{color:#1b2430;overflow-wrap:anywhere}.note-tag{justify-self:start;padding:1px 8px;border-radius:999px;background:#eef4ff;color:#1d4ed8;font-size:12px;font-weight:600}.note-copy-all{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0 10px}.note-lines{display:block;margin:0;padding:0;list-style:none}.note-lines.collapsed{max-height:var(--note-collapsed-height, 120px);overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 65%,transparent);mask-image:linear-gradient(to bottom,#000 65%,transparent)}.note-view-more{justify-self:start;font-size:13px}.last-quoted-prices{display:grid;gap:6px;padding:10px 12px;border:1px solid #e4ebf4;border-radius:10px;background:#f8fafc;font-size:13px}.last-quoted-prices ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}.last-quoted-prices li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}.notes-heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.note-table-preview{display:block;max-width:420px;overflow:hidden;color:#334155;text-overflow:ellipsis;white-space:nowrap}.notes-table .row-actions{flex-wrap:nowrap}.note-table-detail>td{background:#f8fafc}@media(max-width:760px){.note-table-preview{max-width:100%}}.note-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:28px;padding:2px 4px 2px 6px;border-radius:6px}.note-line:hover{background:#f4f7fb}.note-line-blank{min-height:10px}.note-line-text{color:#334155;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.note-line-copy{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;opacity:0}.note-line:hover .note-line-copy,.note-line-copy:focus-visible,.note-line-copy.copied{opacity:1}.note-line-copy:hover{background:#e4ebf4;color:#216fed}.note-line-copy.copied{color:#15803d}.note-line-copy:focus-visible{outline:2px solid #216fed;outline-offset:1px}.note-form{display:grid;gap:10px}.note-form label{display:grid;gap:6px}.note-form input,.note-form textarea{width:100%;min-height:var(--control-h, 36px);border:1px solid #cdd7e3;border-radius:8px;background:#fff;color:#1b2430;padding:0 10px}.note-form textarea{padding:8px 10px;line-height:1.5}@media(hover:none){.note-line-copy{opacity:1}}.product-media-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-bottom:10px}.product-media-select{display:inline-flex;align-items:center;gap:6px;color:#475569;font-size:13px;cursor:pointer}.address-label-choices{display:grid;gap:8px;margin-top:8px}.address-label-choices .secondary-action{display:grid;gap:2px;justify-items:start;width:100%;min-height:auto;padding:10px 12px;text-align:left}.address-label-choices small{color:#64748b;font-weight:400}.product-compare .compare-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.product-compare .compare-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.product-compare .compare-message{white-space:pre-line;margin-bottom:10px}.compare-table{table-layout:fixed;min-width:0}.compare-table th,.compare-table td{vertical-align:top;white-space:normal;overflow-wrap:anywhere}.compare-table .actions-col{width:110px}.compare-table .checkbox-col{width:48px}.compare-match-select{width:100%;min-width:0;max-width:100%;white-space:normal}.compare-diffs{display:grid;gap:4px}.compare-diff{display:flex;align-items:flex-start;gap:6px;font-size:12px;line-height:1.4;cursor:pointer}.compare-diff input{margin-top:2px}.compare-diff del{color:#b91c1c}.compare-diff ins{color:#15803d;text-decoration:none;font-weight:600}.partner-price-table .price-up{color:#b91c1c;font-weight:600}.partner-price-table .price-down{color:#15803d;font-weight:600}.partner-customer-pick{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.partner-customer-pick select{flex:1 1 240px;min-width:0}.compare-match-select.partner-line-missing{border-color:#dc2626;background:#fef2f2}.partner-deliver-option{align-items:flex-start;padding:10px 12px;border:1px solid #cdd7e3;border-radius:10px;line-height:1.45}.partner-deliver-option input{margin-top:3px}.partner-split-plan{display:grid;gap:2px}.form-error{color:#c62828;font-size:13px;font-weight:600}.costing-form-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-bottom:10px}.costing-form-head h3{margin:0;font-size:18px}.costing-form-head .table-link-button{display:inline-flex;align-items:center;gap:4px;font-size:13px}.costing-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px;margin-bottom:12px}.costing-field{display:grid;gap:3px;min-width:0;font-size:12px;color:#475569}.costing-field--wide{grid-column:span 2}.costing-field--full{grid-column:1 / -1}.costing-field input,.costing-field select{height:32px;min-height:32px;padding:0 8px;font-size:13px}.costing-batch{display:flex;align-items:center;gap:4px}.costing-batch select{width:64px}.costing-batch input{flex:1;min-width:60px}.costing-chip{height:32px;padding:0 10px;border:1px solid #cdd7e3;border-radius:6px;background:#fff;color:#334155;font-size:12px;cursor:pointer}.costing-chip.selected{border-color:var(--brand-primary, #2563eb);background:#eff6ff;color:var(--brand-primary, #1d4ed8);font-weight:600}.costing-sheet-wrap{overflow-x:auto;border:1px solid #94a3b8;border-radius:4px;background:#fff}.costing-sheet{width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed;font-size:13px}.costing-sheet .costing-col-item{width:auto}.costing-sheet .costing-col-qty{width:110px}.costing-sheet .costing-col-rate{width:100px}.costing-sheet .costing-col-amount{width:130px}.costing-sheet .costing-col-remark{width:22%}.costing-sheet .costing-col-remove{width:30px}.costing-sheet th,.costing-sheet td{height:30px;padding:0;border:1px solid #cbd5e1;vertical-align:middle}.costing-sheet thead th{padding:0 8px;background:#f1f5f9;color:#0f172a;font-weight:700;text-align:left}.costing-sheet .numeric,.costing-sheet th.numeric{text-align:right}.costing-sheet td>input{display:block;width:100%;height:30px;min-height:30px;margin:0;padding:0 8px;border:0;border-radius:0;background:transparent;font-size:13px;box-shadow:none}.costing-sheet td>input:focus{outline:2px solid var(--brand-primary, #2563eb);outline-offset:-2px;background:#fff}.costing-sheet input[type=number]::-webkit-outer-spin-button,.costing-sheet input[type=number]::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.costing-sheet input[type=number]{-moz-appearance:textfield}.costing-sheet .costing-value{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.costing-sheet .costing-value small{margin-left:6px;color:#64748b;font-size:11px}.costing-sheet .costing-section td{height:26px;padding:0 8px;background:#f8fafc;color:#334155;font-size:12px;font-weight:700}.costing-sheet .costing-subtotal td{padding:0 8px;font-weight:700}.costing-sheet .costing-total td{height:34px;padding:0 8px;background:#eef2f7;font-size:14px;font-weight:800}.costing-sheet .costing-warning td{padding:2px 8px;color:#b45309;font-size:12px}.costing-sheet .costing-blank input::placeholder{color:#94a3b8;font-style:italic}.costing-sheet .costing-qty-cell{position:relative}.costing-auto{position:absolute;bottom:1px;left:6px;padding:0;border:0;background:none;color:var(--brand-primary, #2563eb);font-size:10px;cursor:pointer}.costing-remove{display:grid;place-items:center;width:100%;height:30px;padding:0;border:0;background:transparent;color:#94a3b8;cursor:pointer}.costing-remove:hover{color:#dc2626}.sheet-suggest{position:fixed;z-index:1000;display:grid;max-height:280px;overflow-y:auto;padding:4px 0;border:1px solid #cbd5e1;border-radius:4px;background:#fff;box-shadow:0 8px 24px #0f172a2e}.sheet-suggest button{display:flex;justify-content:space-between;gap:12px;padding:6px 10px;border:0;background:transparent;color:#0f172a;font:inherit;font-size:13px;text-align:left;cursor:pointer}.sheet-suggest button.active{background:#e8f0fe}.sheet-suggest small{flex-shrink:0;color:#64748b;font-size:11px}.costing-form .modal-actions{margin-top:12px}.costing-form .modal-actions button{display:inline-flex;align-items:center;gap:6px}.costing-note{color:#64748b;font-size:12px}.danger-text{color:#b91c1c}.costing-size-input{display:flex;gap:6px}.costing-size-input input{min-width:0;flex:1}.costing-size-input select{width:80px}@media(max-width:720px){.costing-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.costing-field--wide{grid-column:1 / -1}}.costing-pdf-actions{display:inline-flex;align-items:center;gap:6px}.costing-pdf-actions select{height:34px;max-width:200px}.product-sales-open{display:inline-flex;align-items:center;gap:6px}.product-sales-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.product-sales-heading h4{margin:0}.product-sales-body{display:grid;gap:12px;transition:opacity .12s ease}.product-sales-body.is-loading{opacity:.55}.product-sales-summary{margin:0;color:var(--chart-ink-muted);font-size:13px}.product-sales-summary strong{color:var(--chart-ink)}.product-sales-chart{display:grid;gap:6px}.product-sales-row{display:grid;grid-template-columns:minmax(120px,34%) 1fr auto;align-items:center;gap:10px;font-size:13px}.product-sales-name{overflow:hidden;color:var(--chart-ink);text-overflow:ellipsis;white-space:nowrap}.product-sales-track{height:14px;border-radius:4px;background:var(--chart-grid)}.product-sales-bar{display:block;height:100%;border-radius:4px;background:var(--chart-bar)}.product-sales-value{min-width:120px;color:var(--chart-ink);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.product-sales-value small{margin-left:6px;color:var(--chart-ink-muted)}@media(max-width:640px){.product-sales-row{grid-template-columns:1fr auto;row-gap:3px}.product-sales-track{grid-column:1 / -1;grid-row:2}.product-sales-value{min-width:0}}.dashboard-company-filter{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.dashboard-company-filter>span{margin-right:4px;color:var(--chart-ink-muted);font-size:13px;font-weight:600}.invoice-changed-badge--split{background:#be185d}
