@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* StoreBridge enterprise theme. Shared by every current application page. */
:root {
  --cc-font-family: 'Poppins', sans-serif;
  --cc-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --cc-font-size: 12px;
  --cc-font-weight: 500;
  --cc-soft-radius: 6px;
  --cc-soft-radius-large: 10px;
  --cc-soft-bg: #f8fafc;
  --cc-soft-border: #e2e8f0;
  --cc-soft-text: #1e293b;
  --cc-soft-focus: #252525;
  --cc-nav-blue: #252525;
  --blue: #252525;
  --blue-dark: #383838;
  --cc-blue: #252525;
  --cc-blue-dark: #383838;
  --bg: #f8fafc;
  --text: #1e293b;
  --line: #e2e8f0;
  --muted: #64748b;
}

html, body {
  font-family: 'Poppins', sans-serif !important;
  color: #1e293b;
  background: #f8fafc;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

/* Ensure all project elements share the exact same typography: 12px / 500 (Medium) / Poppins, sans-serif */
body :is(
  button, input, select, textarea, optgroup, option,
  table, th, td, tr,
  p, span:not([class*="bi"]):not(.bi):not([class*="icon"]):not(i),
  a:not([class*="bi"]):not(.bi):not([class*="icon"]):not(i),
  div:not([class*="bi"]):not(.bi):not([class*="icon"]):not(i),
  label, legend, fieldset,
  h1, h2, h3, h4, h5, h6,
  ul, ol, li,
  small, sub, sup,
  .btn, .cell-control, .form-control, .input-control,
  .search-control, .picker-header, .picker-row,
  .select2-container, .select2-dropdown, .select2-results__option,
  .cc-dropdown-menu, .cc-inline-nav, .dashboard-nav,
  .cc-enterprise-sidebar, .cc-enterprise-shell, .invoice-summary-card
):not(.bi):not([class*="bi-"]):not(.cc-dashboard-card-value):not(.amount-value):not(.total-value):not(.metric-value):not(.kpi-value):not(.inv-kpi-val):not(.value):not([class*="kpi-val"]):not([class*="kpi-value"]):not(.op-kpi-row *):not(.inv-kpi-row *):not(.card-num-display):not(.net-total-row-display):not(.net-total-display):not(.order-total):not(.summary-grand-total):not(#grandTotal):not(#grandTotalExcept):not(#grandTotalText):not(#posNetTotal):not(#openNetRefund):not(#summaryNetRefund):not(#netTotalValue):not(#summaryGrandTotal):not(#totalValue):not(.refund-amount-highlight):not(#posThermalReceiptPaper):not(#posThermalReceiptPaper *):not(.pos-thermal-paper):not(.pos-thermal-paper *) {
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* Explicit protection for icon fonts */
[class^="bi-"], [class*=" bi-"], .bi, i.bi, i[class*="bi-"] {
  font-family: "bootstrap-icons" !important;
}

/* Monospace for credit card display */
.card-num-display {
  font-family: var(--cc-font-mono) !important;
}

*{box-sizing:border-box}
body[data-enterprise=workspace]{padding-top:56px;padding-left:224px;transition:padding-left .15s}
body.cc-navigation-hidden{padding-left:0}
.cc-enterprise-shell{height:56px;position:fixed;inset:0 0 auto;z-index:2000;display:flex;align-items:center;gap:16px;padding:0 22px;background:#ffffff;color:#1e293b;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 2px rgba(15,23,42,0.04)}
.cc-enterprise-shell a{color:#334155;text-decoration:none}.cc-enterprise-wordmark{font-size:12px;font-weight:500;letter-spacing:normal;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;color:#1e293b;text-decoration:none}.cc-enterprise-wordmark .cc-shell-logo{width:22px;height:22px;object-fit:contain;border-radius: 6px!important;background:transparent;padding:0;display:inline-block;vertical-align:middle;flex-shrink:0;box-shadow:none}.cc-enterprise-wordmark span{color:#1e293b!important;font-size:12.5px!important;font-weight:600!important}.cc-shell-divider{height:24px;width:1px;background:#e2e8f0}.cc-shell-caption{font-size:12px;font-weight:500;color:#64748b}.cc-shell-spacer{flex:1}
.cc-enterprise-shell button{height:34px;border:1px solid #e2e8f0;border-radius: 6px!important;background:transparent;color:#334155;cursor:pointer;font:inherit;transition:background .15s ease,border-color .15s ease}.cc-enterprise-shell button:hover{background:#f8fafc;border-color:#cbd5e1}.cc-menu-toggle{width:36px;font-size:20px!important}.cc-app-search{width:260px;text-align:left;padding:0 12px;color:#475569!important;display:flex;align-items:center;justify-content:space-between}.cc-app-search kbd{font-size:12px;color:#94a3b8}.cc-shell-profile{width:32px;height:32px;border-radius: 6px!important;background:#eff6ff;color:#1d4ed8!important;display:grid;place-items:center;font-size:12px;font-weight:600}
.cc-enterprise-sidebar{position:fixed;top:56px;bottom:0;left:0;width:224px;background:#fff;border-right:1px solid #d9dfe5;z-index:1500;padding:24px 12px 16px;overflow-y:auto}.cc-navigation-hidden .cc-enterprise-sidebar{display:none}.cc-sidebar-label{font-size:12px;letter-spacing:1.4px;font-weight:700;color:#6a7d90;padding:0 14px 12px}.cc-enterprise-sidebar :is(a, button, .cc-sidebar-parent-btn, .cc-sidebar-link){display:flex;align-items:center;gap:12px;text-decoration:none;color:#354a5f;min-height:38px;padding:8px 12px 8px 14px;margin:2px 0;border-radius: 6px!important;font-size:12px!important;font-weight:500!important;border:0;background:transparent;width:100%;text-align:left;font-family:inherit}.cc-side-icon{width:20px;height:20px;display:grid;place-items:center;font-size:18px;flex-shrink:0}.cc-sidebar-section{margin-top:25px}.cc-sidebar-footer{display:none!important}
/* Color themes for all navigation sections & sub-navigations (Unified Black Theme) */
body[data-enterprise=workspace],
[data-section],
.cc-shortcut-sale,
.cc-group-sale,
.cc-group-shop,
.cc-group-pharmacy,
.cc-shortcut-guide,
body:is([data-section],[data-parent-section],[data-page]) {
  --sec-color: #252525;
  --sec-bg-hover: rgba(0, 0, 0, 0.04);
  --sec-bg-active: rgba(0, 0, 0, 0.08);
  --sec-bg-expanded: rgba(0, 0, 0, 0.03);
  --sec-text-hover: #111827;
  --sec-text-active: #111827;
  --sec-pill: #252525;
  --sec-glow: rgba(0, 0, 0, 0.15);
  --sec-sub-hover: rgba(0, 0, 0, 0.04);
  --sec-sub-active: rgba(0, 0, 0, 0.08);
  --sec-border: #cbd5e1;
}
.cc-enterprise-sidebar :is(.cc-side-icon, .cc-side-icon *, svg, path, .cc-parent-chevron, .cc-parent-chevron *, .cc-sub-dot){filter:none!important}
.cc-enterprise-sidebar :is(.cc-sidebar-direct, .cc-sidebar-parent-btn, .cc-sidebar-link) .cc-side-icon{color:var(--sec-color)!important}
.cc-enterprise-sidebar :is(.cc-sidebar-direct, .cc-sidebar-parent-btn, .cc-sidebar-link) .cc-side-icon svg{stroke:var(--sec-color)!important;color:var(--sec-color)!important}
.cc-enterprise-sidebar :is(.cc-sidebar-direct, .cc-sidebar-parent-btn, .cc-sidebar-link) .cc-side-icon svg path{stroke:var(--sec-color)!important}
.cc-sub-dot{display:inline-block;width:6px;height:6px;border-radius: 6px!important;background-color:var(--sec-color,#888)!important;margin-right:9px;flex-shrink:0;opacity:.55;transition:transform .2s cubic-bezier(.34,1.56,.64,1),opacity .2s ease,box-shadow .2s ease}
.cc-submenu-link:hover .cc-sub-dot{opacity:1;transform:scale(1.35);box-shadow:0 0 6px var(--sec-glow,rgba(0,0,0,.25))}
.cc-submenu-link[aria-current=page] .cc-sub-dot,.cc-submenu-link.cc-active .cc-sub-dot{opacity:1;transform:scale(1.4);box-shadow:0 0 7px var(--sec-glow,rgba(0,0,0,.3))}
body[data-enterprise=workspace] :is(.topbar,.cc-shell-nav,.site-header){display:none!important}
.cc-enterprise-shell .header-actions > :not(.account):not(.cc-account-dropdown){display:none!important}
.cc-enterprise-shell :is(.account,.user,.cc-account-trigger){display:inline-flex!important;align-items:center!important;gap:8px!important;background:transparent!important;border:0!important;cursor:pointer!important;padding:4px 8px!important;border-radius: 6px!important;color:#3b3b3b!important;font-family:inherit!important;text-decoration:none!important;transition:background .15s ease!important}
.cc-enterprise-shell :is(.account,.user,.cc-account-trigger):hover{background:#f4f4f4!important}
.cc-enterprise-shell :is(.account,.user,.cc-account-trigger) :is(span,.account-copy,.cc-account-trigger-copy){display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;line-height:1.25!important;max-width:none!important}
.cc-enterprise-shell :is(.account,.user,.cc-account-trigger) :is(b,strong,.cc-account-name){display:block!important;color:#3b3b3b!important;font-size:12px!important;font-weight:500!important;line-height:1.3!important;letter-spacing:normal!important;font-family:inherit!important;white-space:nowrap!important}
.cc-enterprise-shell :is(.account,.user,.cc-account-trigger) small{display:block!important;color:#737373!important;font-size:12px!important;font-weight:500!important;line-height:1.2!important;letter-spacing:normal!important;font-family:inherit!important;white-space:nowrap!important}
.cc-enterprise-shell :is(.account,.user,.cc-account-trigger) :is(i,svg,.bi-chevron-down){font-size:12px!important;color:#888!important;margin-left:2px!important}
body[data-enterprise=workspace] :is(.create, .create-button, .create-nav-btn, .nav-dropdown:has(.create-button), [data-action*="Create menu"]){display:none!important}
body[data-enterprise=workspace] :is(.icon-button, .icon-btn, .tool, [aria-label="Search"], [aria-label="Ideas"], [aria-label="Notifications"], [aria-label="Announcement"], button:has(.bi-search), button:has(.bi-lightbulb), button:has(.bi-lightbulb-fill), button:has(.bi-megaphone), button:has(.bi-megaphone-fill), button:has(.bi-bell)):not(.account):not(.cc-account-trigger):not(.cc-menu-toggle):not(.cc-account-dropdown *):not(.select2-search__field):not(input){display:none!important}
body[data-enterprise=workspace] :is(.info-button, #infoButton, .page-title + .info, .info[aria-label="Information"], main > .info, .page > .info, [aria-label*="help"][class*="info"], [aria-label*="information"][class*="info"], button[aria-label="Invoice information"], button[aria-label="Purchase order information"]){display:none!important}
.cc-globalized{gap:20px!important}.cc-globalized>li>a,.cc-globalized>a,.cc-dropdown-button{font-size:12px!important;font-weight:500!important;min-height:34px!important;color:#354a5f}.cc-dropdown-menu,.cc-account-menu{border-radius: 6px!important;box-shadow:0 6px 24px #22354822!important;background:#fff!important}
body[data-enterprise=workspace] :is(main.page,main.page-content,main.settings-page,main.practice-page,main.invoice-page,main.request-shell,main.workspace,.content){width:100%!important;max-width:1600px!important;margin:0 auto!important;padding:10px 28px 40px!important;min-width:0}
.cc-enterprise-shell .cc-page-context{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:12px!important;font-weight:500!important;color:#737373!important;margin:0!important;padding-left:14px!important;border-left:1px solid #e5e5e5!important;line-height:1!important;white-space:nowrap!important}
.cc-enterprise-shell .cc-page-context a{color:#555!important;text-decoration:none!important;font-weight:500!important}
.cc-enterprise-shell .cc-page-context a:hover{color:#111!important}
.cc-overview-heading{margin:0 0 22px}.cc-overview-heading h1{margin:0 0 6px!important}.cc-overview-heading p{font-size:12px;font-weight:500;color:#63788b;margin:0}
body[data-enterprise=workspace] :is(h1, .page-title, .page-head h1, .page-header h1, .title-row h1, .page-heading h1, .cc-overview-heading h1, h1.page-title, .title-text h1, .page-title-wrap h1):not(.modal-dialog *):not(.modal *):not(.mfr-modal-dialog *){color:#252a2e!important;font-size:12px!important;font-weight:500!important;letter-spacing:normal!important;line-height:1.3!important;font-family:inherit!important;margin-top:0!important;margin-bottom:0!important;align-self:flex-start!important;text-align:left!important}
body[data-enterprise=workspace] :is(h1, h2, .page-head, .page-header, .title-row, .page-heading, .heading-row, .top-header, .page-title){margin-top:0!important}
body :is(.table-card,.form-card,.request-card,.welcome,.stock-card,.catalog,.bill,.panel,.feature-card,.audience-card,.privacy-card,.type-card){border:1px solid #e2e8f0!important;border-radius: 10px!important;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.03),0 1px 2px rgba(0,0,0,0.02)!important;transition:all .22s cubic-bezier(0.16,1,0.3,1)!important}
body :is(.card,.metric,.metric-card,.summary-card,.revenue-kpi,.report-stat-card,.cc-dashboard-card,.amount-card,.total-card,.movement-card,.rider-card,.mock-stat,article.summary){border:1px solid #e2e8f0!important;border-radius: 10px!important;background:#ffffff!important;background-image:none!important;background-color:#ffffff!important;box-shadow:0 1px 3px rgba(0,0,0,0.03),0 1px 2px rgba(0,0,0,0.02)!important;transition:all .22s cubic-bezier(0.16,1,0.3,1)!important}
body :is(.card,.revenue-kpi,.metric,.metric-card,.summary-card,.cc-dashboard-card,.amount-card,.total-card,.movement-card,.rider-card,.mock-stat,article.summary):hover{background:#ffffff!important;background-image:none!important;background-color:#ffffff!important;border-color:#252525!important;box-shadow:0 6px 16px -2px rgba(0,0,0,0.05),0 2px 4px -2px rgba(0,0,0,0.02)!important;transform:translateY(-1px)!important}
body :is(.dashboard,.revenue-kpis){gap:16px!important}.dashboard .card,.revenue-kpi{min-height:142px!important;padding:21px!important;animation:none!important}.dashboard .card h2,.revenue-kpi h2{font-size:12px!important;color:#64748b!important;font-weight:500!important;font-family:'Poppins',sans-serif!important}.dashboard .card .value,.revenue-kpi strong,body :is(.dashboard .card .value,.dashboard .card strong,.revenue-kpi strong,.metric > p,.metric > strong,.metric p,.metric strong,.metric-card > p,.metric-card > strong,.metric-card p,.metric-card strong,.summary-card > p,.summary-card > strong,.summary-card p,.summary-card strong,.summary-card .value,.summary-value,.metric-value,.report-stat-card strong,.report-stat-card .value,.cc-dashboard-card-value,.amount-card .amount-value,.amount-card strong,.amount-card output,.amount-value,.total-card .total-value,.total-card strong,.total-value,.movement-card strong,.movement-card p,.rider-card strong,.rider-card p,.mock-stat strong){font-size:26px!important;font-weight:800!important;color:#0f172a!important;letter-spacing:-0.025em!important;font-family: 'Poppins', sans-serif !important;font-variant-numeric:tabular-nums!important}.dashboard .card .icon,.revenue-kpi>i{font-size:30px!important;color:#64748b!important;opacity:.8}.dashboard .trend{font-size:11px!important}.revenue-chart-card{background:white!important;padding:20px!important;border:1px solid #e2e8f0;border-radius: 10px!important;box-shadow:0 1px 3px rgba(0,0,0,0.03)!important}
body :is(.revenue-chart,.chart,.sales-chart,.franchise-graph) :is(.chart-line,.line,.chart-path,.footfall-line,polyline.line,path.line){stroke:#10847E!important;stroke-width:2px!important;fill:none!important}
body :is(.revenue-chart,.chart,.sales-chart,.franchise-graph) :is(.chart-area,.area,polygon.area,.footfall-area){opacity:.25!important}
body :is(.revenue-chart,.chart,.sales-chart,.franchise-graph) :is(.point,.chart-point,circle:not(.chart-point.peak),.footfall-points circle){fill:#ffffff!important;stroke:#10847E!important;stroke-width:1.75px!important;r:3px!important}
body :is(.bar-chart,.bar-panel,.chart-panel,.revenue-layout) :is(.bar,.chart-bar){background:#252525!important;border-radius: 10px!important;}
body :is(.filters,.filters-panel,.dashboard-filters,.module-toolbar){background:#fff!important;padding:18px!important;border:1px solid #e2e8f0!important;border-radius: 10px!important;box-shadow:0 1px 3px rgba(0,0,0,0.03)!important;gap:16px!important}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.cc-tag-search-input):not(td *):not(table *),select:not(td *):not(table *),textarea:not(td *):not(table *),.control:not(td *):not(table *),.field-shell,.date-trigger,.search-box,.date-wrap){border-radius: 4px!important;border:1px solid #d8e1ea!important;font-size:12px!important;font-weight:500!important;color:#1e293b;transition:border-color .15s ease,box-shadow .15s ease!important}
body table :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea),
body .adjustment-table :is(input,select,textarea),
body table.adjustment-table input,
body .stock-table :is(input,select,textarea) {border-radius: 4px!important;border:none!important;border-color:transparent!important;min-height:unset!important;box-shadow:none!important;background:transparent!important;background-color:transparent!important}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.cc-tag-search-input):not(td *):not(table *),select:not(td *):not(table *),textarea:not(td *):not(table *),.control:not(td *):not(table *)):focus{outline:none!important;border-color:#252525!important;box-shadow:0 0 0 3px rgba(0,0,0,0.12)!important;background:#fff!important}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.cc-tag-search-input):not(td *):not(table *),select:not(td *):not(table *)){min-height:34px}
body :is(.search-box,.search-control,.search-field-control) input:not([type=checkbox]):not([type=radio]):not([type=hidden]){border:none!important;background:transparent!important;background-color:transparent!important;box-shadow:none!important;outline:none!important}
body .search-box:has(.cc-pos-combo-shell){border:none!important;background:transparent!important;padding:0!important;height:auto!important}
body .search-box:has(.cc-pos-combo-shell) > i.bi-search{display:none!important}
body :is(input[type=radio],.pharmacy-radio){accent-color:#252525!important;cursor:pointer}
body :is(input[type=radio],.pharmacy-radio):focus-visible{outline:2px solid #252525!important;outline-offset:2px!important}
body .pharmacy-radio:checked{border-color:#252525!important}
body .pharmacy-radio:checked::before{background:#252525!important;transform:scale(1)!important}
body .toggle.active{background:#10847E!important;border-radius:9999px!important}
body :is(label,.field-label,.form-label){color:#475569;font-size:12px!important;font-weight:500!important}
body :is(button,.btn,[role=button]){font-family:inherit}
body :is(
  .button,
  .action-btn,
  .action-button,
  .add-stock,
  .add-button,
  .add-btn,
  .primary-button,
  .blue-button,
  .create-button,
  .create-nav-btn,
  .btn-primary,
  .btn-brand,
  .btn-signin,
  .submit-button,
  .primary,
  .screenshot-button,
  .export-button,
  .excel-button,
  .excel-btn,
  .search-button,
  .payment-button,
  .po-button,
  .export-action,
  .print-action,
  .save-btn,
  .save-button,
  .save-print,
  .btn-save,
  .btn-save-po,
  .btn-add-item,
  .btn-add,
  .btn-add-mfr,
  .btn-modal-add,
  .transfer-button,
  .square-add,
  .fetch-btn,
  .btn-submit-return,
  .btn-get-data,
  .btn-attachment,
  .btn-action-primary,
  .btn-action-dark,
  .pos-action-btn.primary,
  button.primary,
  a.action-btn,
  a.add-stock,
  input[type="submit"],
  input[type="button"]
){
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 13px !important;
  border-radius: 12px!important;
  background: #252525 !important;
  color: #ffffff !important;
  border: 1px solid #252525 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.15px !important;
  text-decoration: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease !important;
}

body :is(
  .button,
  .action-btn,
  .action-button,
  .add-stock,
  .add-button,
  .add-btn,
  .primary-button,
  .blue-button,
  .create-button,
  .create-nav-btn,
  .btn-primary,
  .btn-brand,
  .btn-signin,
  .submit-button,
  .primary,
  .screenshot-button,
  .export-button,
  .excel-button,
  .excel-btn,
  .search-button,
  .payment-button,
  .po-button,
  .export-action,
  .print-action,
  .save-btn,
  .save-button,
  .save-print,
  .btn-save,
  .btn-save-po,
  .btn-add-item,
  .btn-add,
  .btn-add-mfr,
  .btn-modal-add,
  .transfer-button,
  .square-add,
  .fetch-btn,
  .btn-submit-return,
  .btn-get-data,
  .btn-attachment,
  .btn-action-primary,
  .btn-action-dark,
  .pos-action-btn.primary,
  button.primary,
  a.action-btn,
  a.add-stock,
  input[type="submit"],
  input[type="button"]
):hover{
  background: #383838 !important;
  border-color: #383838 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18) !important;
  transform: translateY(-0.5px) !important;
}

body :is(
  .button,
  .action-btn,
  .action-button,
  .add-stock,
  .add-button,
  .add-btn,
  .primary-button,
  .blue-button,
  .create-button,
  .create-nav-btn,
  .btn-primary,
  .btn-brand,
  .btn-signin,
  .submit-button,
  .primary,
  .screenshot-button,
  .export-button,
  .excel-button,
  .excel-btn,
  .search-button,
  .payment-button,
  .po-button,
  .export-action,
  .print-action,
  .save-btn,
  .save-button,
  .save-print,
  .btn-save,
  .btn-save-po,
  .btn-add-item,
  .btn-add,
  .btn-add-mfr,
  .btn-modal-add,
  .transfer-button,
  .square-add,
  .fetch-btn,
  .btn-submit-return,
  .btn-get-data,
  .btn-attachment,
  .btn-action-primary,
  .btn-action-dark,
  .pos-action-btn.primary,
  button.primary,
  a.action-btn,
  a.add-stock,
  input[type="submit"],
  input[type="button"]
):active{
  background: #1a1a1a !important;
  transform: translateY(0) !important;
}

body :is(
  .button,
  .action-btn,
  .action-button,
  .add-stock,
  .add-button,
  .add-btn,
  .primary-button,
  .blue-button,
  .create-button,
  .create-nav-btn,
  .btn-primary,
  .btn-brand,
  .btn-signin,
  .submit-button,
  .primary,
  .screenshot-button,
  .export-button,
  .excel-button,
  .excel-btn,
  .search-button,
  .payment-button,
  .po-button,
  .export-action,
  .print-action,
  .save-btn,
  .save-button,
  .save-print,
  .btn-save,
  .btn-save-po,
  .btn-add-item,
  .btn-add,
  .btn-get-data,
  .btn-attachment,
  .btn-action-primary,
  .btn-action-dark,
  .pos-action-btn.primary,
  button.primary,
  a.action-btn,
  a.add-stock,
  input[type="submit"],
  input[type="button"]
) :is(i, svg){
  font-size: 12.5px !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

body .add-group{
  display: inline-flex !important;
  align-items: stretch !important;
  height: 32px !important;
  border-radius: 6px!important;
  overflow: visible !important;
  position: relative !important;
}
body .add-group .add-stock{
  border-radius: 6px!important;
  border-right: 1px solid rgba(255, 255, 255, 0.28) !important;
  height: 32px !important;
  min-height: 32px !important;
}
body .add-group .add-caret{
  border-radius: 6px!important;
  width: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  border-left: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body :is(.secondary-button,.secondary,.cancel-button,.btn-secondary,.btn-action-secondary,.btn-soft,.btn-outline-primary){
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 13px !important;
  border-radius: 6px!important;
  background: #ffffff !important;
  color: #252525 !important;
  border: 1px solid #cbd5e1 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  transition: all 0.15s ease !important;
}
body :is(.secondary-button,.secondary,.cancel-button,.btn-secondary,.btn-action-secondary,.btn-soft,.btn-outline-primary):hover{
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #000000 !important;
}
body :is(.table-shell,.table-wrap,.report-table-wrap,.report-table-shell,.table-scroll){border-radius: 10px!important;border:1px solid #e2e8f0!important;background:white;box-shadow:0 1px 3px rgba(15,23,42,0.03)!important;overflow-x:auto}
body table:not(#posThermalReceiptPaper *):not(.pos-thermal-paper *){font-size:12px!important;font-weight:500!important;font-family:'Poppins', sans-serif!important;border-collapse:collapse}
body table:not(#posThermalReceiptPaper *):not(.pos-thermal-paper *) th{background:#f8fafc!important;color:#475569!important;font-size:12px!important;font-weight:500!important;font-family:'Poppins', sans-serif!important;letter-spacing:.25px;padding:10px 14px!important;border-bottom:1px solid #e2e8f0!important}
body table:not(#posThermalReceiptPaper *):not(.pos-thermal-paper *) td{padding:10px 14px!important;border-bottom:1px solid #f1f5f9!important;color:#1e293b;font-size:12px!important;font-weight:500!important;font-family:'Poppins', sans-serif!important}
body table tbody tr:nth-child(even){background:#fafbfd}
body table tbody tr:hover{background:#f8fafc!important}
body :is(.number,.money,.value){font-variant-numeric:tabular-nums}
body :is(.tabs,.report-tabs,.sub-navigation){background:#f1f5f9!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:4px!important;gap:4px!important;margin:14px 0 18px 0!important;display:flex!important;align-items:center!important;overflow-x:auto!important;scrollbar-width:thin!important}
body :is(.tabs,.report-tabs,.sub-navigation) :is(button,a,.tab-button,.report-tab){color:#64748b!important;font-size:11.5px!important;font-weight:500!important;border-radius:6px!important;min-height:34px!important;height:34px!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;border:none!important;box-shadow:none!important;background:transparent!important;white-space:nowrap!important;cursor:pointer!important;transition:all .16s ease!important}
body :is(.tabs,.report-tabs,.sub-navigation) :is(button,a,.tab-button,.report-tab):hover{color:#0f172a!important;background:rgba(255,255,255,0.75)!important}
body :is(.tabs,.report-tabs,.sub-navigation) :is(button,a,.tab-button,.report-tab):is(.active,[aria-selected="true"],[aria-current="page"]){color:#ffffff!important;font-weight:600!important;background:#10847E!important;background-color:#10847E!important;border-radius:8px!important;border:none!important;box-shadow:0 1px 3px rgba(16,132,126,0.18)!important}
body :is(.tabs,.report-tabs,.sub-navigation) :is(button,a,.tab-button,.report-tab):is(.active,[aria-selected="true"],[aria-current="page"])::after{display:none!important}
body :is(.modal-card,.modal-content,.dialog){border-radius: 12px!important;border:1px solid #e2e8f0!important;box-shadow:0 20px 25px -5px rgba(0,0,0,0.1),0 8px 10px -6px rgba(0,0,0,0.04)!important}
body :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #252525!important;outline-offset:2px!important}
dialog:not([open]),.cc-app-dialog:not([open]){display:none!important}
.cc-app-dialog{padding:0;width:min(620px,calc(100% - 32px));max-height:75vh;border:1px solid #b7c7d6;border-radius: 12px!important;box-shadow:0 20px 70px #14283b40;color:#1d2d3e}.cc-app-dialog::backdrop{background:#14283b88}.cc-finder-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #d9dfe5}.cc-finder-head h2{font-size:18px;margin:0}.cc-finder-head button{border:0;background:transparent;font-size:24px;color:#52677d}.cc-finder-input-wrap{position:relative!important;display:flex!important;align-items:center!important;margin:16px 22px!important}.cc-finder-input-wrap .cc-refined-search-icon{position:absolute!important;left:14px!important;top:50%!important;transform:translateY(-50%)!important;color:#94a3b8!important;pointer-events:none!important;transition:color .18s ease!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.cc-finder-input-wrap:focus-within .cc-refined-search-icon{color:#252525!important}.cc-finder-input-wrap .cc-finder-input{width:100%!important;height:42px!important;margin:0!important;padding:0 16px 0 42px!important;border:1px solid #d0d5dd!important;border-radius: 6px!important;background:#ffffff!important;font-family:'Poppins',sans-serif!important;font-size:13px!important;font-weight:500!important;color:#1e293b!important;outline:none!important;box-shadow:0 1px 2px rgba(16,24,40,0.05)!important;transition:border-color .18s ease,box-shadow .18s ease!important}.cc-finder-input-wrap .cc-finder-input:focus{border-color:#252525!important;box-shadow:0 0 0 3px rgba(37, 37, 37,0.12),0 1px 2px rgba(16,24,40,0.05)!important}.cc-finder-input{width:calc(100% - 44px);margin:16px 22px;padding:12px;border:1px solid #9eafbf}.cc-finder-results{padding:0 12px 14px;max-height:45vh;overflow:auto}.cc-finder-results a{display:flex;padding:13px 12px;color:#0057b8;text-decoration:none;border-radius: 6px!important;}.cc-finder-results a:hover{background:#e8f2ff}.cc-finder-results p{padding:10px;color:#63788b}.cc-skip{position:fixed;top:-60px;left:240px;background:#fff;padding:12px;z-index:3000}.cc-skip:focus{top:8px}
body[data-enterprise=public] :is(.visual-panel,.visual){background:#e8eff7!important;background-image:linear-gradient(135deg,#e8eff7,#d2e4f4)!important}body[data-enterprise=public] :is(h1,h2){color:#1d2d3e;letter-spacing:-1px}body[data-enterprise=public] :is(.signin-panel,.form-panel){border-top:5px solid #252525}body[data-enterprise=public] .site-header{background:#fff!important;border-top:4px solid #24384b}body[data-enterprise=public] :is(.hero,.hero-section){background:#edf3f9!important}body[data-enterprise=public] .feature-card{border-radius: 10px!important;}
@media(min-width:1500px){body .dashboard,body .revenue-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1100px){body[data-enterprise=workspace]{padding-left:0}.cc-enterprise-sidebar{box-shadow:6px 0 25px #14283b25}.cc-shell-caption,.cc-shell-divider{display:none}.cc-app-search{width:210px}.cc-globalized{gap:13px!important}}
@media(max-width:700px){.cc-enterprise-shell{padding:0 12px;gap:10px}.cc-enterprise-wordmark{font-size:17px}.cc-app-search{width:auto;font-size:12px}.cc-app-search kbd{display:none}.cc-shell-profile{display:none!important}body[data-enterprise=workspace] :is(main.page,main.page-content,main.settings-page,main.practice-page,main.invoice-page,main.request-shell,main.workspace,.content){padding:20px 14px 32px!important}body[data-enterprise=workspace] :is(.topbar,.cc-shell-nav){padding:8px 14px!important}.cc-globalized{flex-wrap:wrap;gap:5px 15px!important}.cc-enterprise-sidebar{width:250px}body .dashboard,body .revenue-kpis{grid-template-columns:1fr!important}body .dashboard-filters{grid-template-columns:1fr!important}body .revenue-charts{grid-template-columns:1fr!important}.cc-skip{left:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.cc-enterprise-shell,.cc-enterprise-sidebar,.cc-page-context,.cc-app-dialog,.cc-skip{display:none!important}body[data-enterprise=workspace]{padding:0!important;background:white!important}}
/* Reflow legacy fixed-width transaction forms within the workspace. */
body[data-page=point-of-sales] .top-actions{display:none!important}
body[data-page=point-of-sales] .search-fields{width:100%!important;max-width:1380px!important;margin:0 0 24px!important;display:flex!important;flex-direction:column!important;gap:16px!important}
body[data-page=point-of-sales] .field-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;width:100%!important;max-width:1380px!important;margin:0!important}
body[data-page=point-of-sales] .field-row.field-row-product,
body[data-page=point-of-sales] .field-row:has(#productSearch),
body[data-page=point-of-sales] .field-row.field-row-customer,
body[data-page=point-of-sales] .field-row:has(#customerNameSearch){display:flex!important;flex-direction:column!important;width:100%!important;max-width:1380px!important;gap:6px!important}
body[data-page=point-of-sales] .field-row label{font-family:'Poppins', sans-serif!important;font-size:12px!important;font-weight:500!important;letter-spacing:-0.15px!important;color:#334155!important;margin:0!important;text-align:left!important}
body[data-page=point-of-sales] .search-field-control{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important}
body[data-page=point-of-sales] .invoice-table-wrap{max-width:100%;overflow-x:auto;background:#fff;border:1px solid #d9dfe5;border-radius: 10px!important;}
body[data-page=point-of-sales] .payment-row{grid-template-columns:130px minmax(0,1fr) minmax(0,1fr);gap:18px}
body[data-page=point-of-sales] .voucher-row{grid-template-columns:110px minmax(100px,1fr) 135px 100px 135px;gap:10px}
body[data-page=point-of-sales] :is(.summary-lines,.settlement-row,.balance-lines,.bottom-actions,.save-buttons){flex-wrap:wrap;gap:14px}
body[data-page=point-of-sales] .invoice-note{width:min(100%,613px)}
body[data-page=add-stock-return] .form-canvas{width:100%;min-width:0}
body[data-page=add-stock-return] .details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body[data-page=add-stock-return] .detail-row,body[data-page=add-stock-return] .detail-group.right .detail-row{grid-template-columns:minmax(100px,.8fr) minmax(0,1fr);gap:12px}
body[data-page=stock-transfer-dashboard] .summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-page=open-sale-return] .summary-area{grid-template-columns:1fr}
body[data-page=open-sale-return] .summary-card{padding:16px;grid-template-columns:auto repeat(3,minmax(0,1fr))}
@media(max-width:700px){
 body[data-page=point-of-sales] .field-row{grid-template-columns:60px minmax(0,1fr) 26px;gap:8px}
 body[data-page=point-of-sales] :is(.payment-row,.voucher-row){grid-template-columns:1fr;gap:8px}
 body[data-page=point-of-sales] .voucher-row label{text-align:left}
 body[data-page=point-of-sales] :is(.settlement-row,.bottom-actions){justify-content:flex-start}
 body[data-page=point-of-sales] .floating-actions{position:static;flex-direction:row;justify-content:flex-end;margin:20px}
 body[data-page=point-of-sales] .received-row{flex-wrap:wrap}
 body[data-page=add-stock-return] .details-grid,body[data-page=stock-transfer-dashboard] .summary-grid,body[data-page=open-sale-return] .summary-card{grid-template-columns:1fr}
}
body[data-page=add-stock-return] .bottom-area{width:100%;gap:24px;flex-wrap:wrap}
body[data-page=add-stock-return] .totals-save{width:min(100%,400px)}
/* Contain transaction grids without clipping their horizontal scroll controls. */
body[data-page=point-of-sales] .invoice-page{overflow:visible}

/* Detailed search results retain every original data column; narrow screens scroll within the popup. */
body[data-enterprise=workspace]{--cc-content-offset:224px}
body.cc-navigation-hidden{--cc-content-offset:0px}
body[data-page=point-of-sales] .item-picker{left:0!important;top:38px!important;width:100%!important;min-width:100%!important;max-width:100%!important;max-height:440px;overflow:hidden;border-radius: 6px!important;box-shadow:0 14px 34px rgba(0,0,0,0.08),0 4px 10px rgba(0,0,0,0.03)}
body[data-page=point-of-sales] :is(.picker-header,.picker-row){min-width:100%;grid-template-columns:minmax(260px,2.5fr) minmax(110px,1fr) minmax(130px,1.25fr) minmax(150px,1.4fr) minmax(200px,1.9fr) minmax(110px,1fr)!important;font-size:12px!important}
body[data-page=point-of-sales] .picker-header{position:sticky;top:0;z-index:1;background:#edf2f6}
body[data-page=point-of-sales] :is(.search-control,.customer-picker){height:34px}
body[data-page=point-of-sales] .customer-picker .select2-selection--single{height:34px}
body[data-page=point-of-sales] .customer-picker .select2-selection__rendered{line-height:32px!important;height:32px!important;font-size:12px!important}
body[data-page=point-of-sales] .customer-picker .select2-selection__arrow{height:32px!important}
@media(max-width:1100px){body[data-enterprise=workspace]{--cc-content-offset:0px}}
@media(max-width:700px){body[data-page=point-of-sales] .item-picker{left:0;width:calc(100vw - 28px)}}

/* Move navigation to sidebar: suppress top horizontal navigation bar across entire project */
:is(.main-nav, .cc-globalized, .cc-inline-nav, header.topbar .main-nav, .topbar .main-nav, .cc-shell-nav, header.cc-shell-nav, .topbar nav, [data-cc-nav], .cc-nav-dropdown){display:none!important}

/* Suppress all floating support/tools and keyboard guide ? button */
.floating-tools,
.floating-actions,
.float-button,
.cc-shortcuts-button,
.floating .round,
[aria-label="Quick actions"],
[aria-label="Quick tools"]{display:none!important}

/* Unified Heading Top Left and Buttons Lower Right format across the entire project */
body :is(.page-heading, .heading-row, .title-row, .page-head, .page-header, .top-header, .page-header-row, .title-actions, .page-title-wrap):not(.modal-dialog *):not(.modal *):not(.mfr-modal-dialog *) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding-top: 0 !important;
}

body :is(.page-heading, .heading-row, .title-row, .page-head, .page-header, .top-header, .page-header-row, .title-actions, .page-title-wrap) :is(.actions, .actions-container, .title-actions, .heading-actions, .header-actions, .buttons-row, .primary-actions, .page-actions),
body :is(.page-heading, .heading-row, .title-row, .page-head, .page-header, .top-header, .page-header-row, .title-actions, .page-title-wrap) > :is(.actions, .actions-container, .title-actions, .heading-actions, .header-actions, .buttons-row, .primary-actions, .page-actions) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  align-self: flex-end !important;
  gap: 4px !important;
  margin: 0 !important;
  margin-left: auto !important;
  padding: 0 !important;
  max-width: 100% !important;
}

body :is(.page-heading, .heading-row, .title-row, .page-head, .page-header, .top-header, .page-header-row, .title-actions, .page-title-wrap) > :is(button, a.action-btn, a.add-stock, a.btn, a.button, .btn-add-mfr, .add-stock, .action-button, a.action-button) {
  align-self: flex-end !important;
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body :is(.actions-row, .actions-group-row, .button-group, .table-tools, .export-row, .report-export-row, .sub-toolbar, .history-top, .table-actions, .report-tools, .tool-row, .tools-row, .toolbar, .low-stock-toolbar, .toolbar-actions, .action-tools) {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
  min-height: 28px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

body :is(.actions-row, .actions-group-row, .button-group, .table-tools, .export-row, .report-export-row, .sub-toolbar, .history-top, .table-actions, .report-tools, .tool-row, .tools-row, .toolbar, .low-stock-toolbar, .toolbar-actions, .action-tools):empty {
  display: none !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
}

body :is(.actions-row, .actions-group-row, .button-group, .table-tools, .export-row, .report-export-row, .sub-toolbar, .history-top, .table-actions, .report-tools, .tool-row, .tools-row, .toolbar, .low-stock-toolbar, .toolbar-actions, .action-tools) + :is(.table-card, .table-container, .table-shell, .report-table-shell, .table-wrap, .table-responsive) {
  margin-top: 0 !important;
}

body :is(.actions, .primary-actions):not(:has(.actions-row)):not(:has(.actions-group-row)) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

body :is(.action-btn, button.action-btn, a.action-btn, .action-button, .btn-add, .btn-add-mfr, .btn-add-item, .add-stock, .btn-save, .btn-save-po, .btn-get-data, .primary-actions button, .actions button:not(.btn-delete-row):not(.mini-tool), .actions a.action-btn, .actions a.add-stock, .actions a.action-button, .title-actions button) {
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 9px !important;
  border-radius: 6px!important;
  font-size: 11px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Pharma Guide Submenu Select2 Search Box */
.cc-group-pharma-guide .cc-sidebar-submenu {
  padding-top: 4px;
}
.cc-pharma-select-wrap {
  margin: 6px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cc-pharma-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Heading is inside the bar, not on top of the bar */
.cc-pharma-search-label {
  display: none !important;
}
/* Pharma Guide Search-To-Select (Pill Input & Item Name Table) */
.cc-pharma-combo {
  position: relative;
  width: 100%;
}
.cc-pharma-combo-box {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 6px!important;
  padding: 0 10px 0 12px !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  position: relative !important;
}
.cc-pharma-combo-box:hover,
.cc-pharma-combo-box:focus-within,
.cc-pharma-combo.cc-open .cc-pharma-combo-box {
  border-color: #252525 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .12) !important;
}
.cc-pharma-combo-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #252525 !important;
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 16px !important;
  margin-right: 6px !important;
}
.cc-pharma-combo-icon svg {
  stroke: #252525 !important;
  width: 15px !important;
  height: 15px !important;
}
/* Search Bar font matches parent Navigation's head */
body .cc-pharma-combo-box input.cc-pharma-combo-input,
body :is(.cc-pharma-combo-box) input.cc-pharma-combo-input,
.cc-pharma-combo-input {
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  min-width: 0 !important;
  width: 100% !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 4px !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: -0.15px !important;
  color: #1e293b !important;
  font-family: inherit !important;
  box-shadow: none !important;
  border-radius: 6px!important;
  line-height: normal !important;
  caret-color: #252525 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
/* Heading inside the bar as placeholder - matches parent Navigation's head font */
body .cc-pharma-combo-box input.cc-pharma-combo-input::placeholder,
body :is(.cc-pharma-combo-box) input.cc-pharma-combo-input::placeholder,
.cc-pharma-combo-input::placeholder {
  color: #64748b !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  letter-spacing: -0.15px !important;
  text-transform: none !important;
  opacity: 1 !important;
}
.cc-pharma-combo-clear {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #252525 !important;
  cursor: pointer !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin-left: 4px !important;
  border-radius: 6px!important;
  outline: none !important;
  transition: transform .15s ease, opacity .15s ease, color .15s ease !important;
}
.cc-pharma-combo-clear:hover {
  transform: scale(1.15) !important;
  color: #111827 !important;
  opacity: .95 !important;
}
.cc-pharma-combo-arrow {
  display: none !important;
}
.cc-pharma-combo-dropdown {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  min-width: 100% !important;
  width: max-content !important;
  max-width: 380px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px!important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .12), 0 8px 10px -6px rgba(0, 0, 0, .08) !important;
  z-index: 999999 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: 320px !important;
}
.cc-pharma-combo-dropdown[hidden] {
  display: none !important;
}
.cc-pharma-table-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  padding: 9px 14px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--sec-text-active, #0f766e) !important;
  background: #f0fdfa !important;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2) !important;
  user-select: none !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-family: inherit !important;
}
.cc-pharma-combo-list {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 260px !important;
  padding: 0 !important;
}
.cc-pharma-option {
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  cursor: pointer !important;
  display: block !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
  transition: background-color .15s ease, color .15s ease !important;
  user-select: none !important;
  white-space: nowrap !important;
}
.cc-pharma-option:last-child {
  border-bottom: none !important;
}
.cc-pharma-option:hover,
.cc-pharma-option.cc-highlighted {
  background-color: var(--sec-sub-hover, rgba(20, 184, 166, 0.08)) !important;
  color: var(--sec-text-active, var(--sec-color, #0f766e)) !important;
}
.cc-pharma-option[aria-selected="true"],
.cc-pharma-option.cc-selected {
  background-color: var(--sec-sub-active, rgba(20, 184, 166, 0.14)) !important;
  color: var(--sec-text-active, var(--sec-color, #0f766e)) !important;
  font-weight: 500 !important;
}
.cc-pharma-option strong {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: inherit !important;
  line-height: 1.3 !important;
}
.cc-pharma-option small {
  display: block !important;
  font-size: 11px !important;
  color: #64748b !important;
  font-weight: 450 !important;
  margin-top: 2px !important;
  line-height: 1.2 !important;
}
.cc-pharma-option:hover small,
.cc-pharma-option.cc-highlighted small,
.cc-pharma-option.cc-selected small {
  color: var(--sec-color, #0f766e) !important;
  opacity: .9 !important;
}
.cc-pharma-empty {
  padding: 16px 14px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-align: center !important;
  font-family: inherit !important;
}

/* Alternative Button showing Search for the above selected category */
.cc-pharma-alt-btn {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 35px !important;
  padding: 7px 13px !important;
  border-radius: 6px!important;
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #cbd5e1 !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-top: 5px !important;
  box-sizing: border-box !important;
}
.cc-pharma-alt-btn:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: #252525 !important;
  color: #000000 !important;
  transform: translateX(3px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.cc-pharma-alt-btn .cc-sub-dot {
  width: 7px !important;
  height: 7px !important;
  background-color: #252525 !important;opacity: 0.9 !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}
.cc-pharma-alt-btn .cc-sub-text {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Refined Point of Sales Page Title and Search Actions */
body[data-page=point-of-sales] :is(.page-title, h1.page-title),
body[data-enterprise=workspace] .invoice-page :is(.page-title, h1.page-title) {
  color: #252a2e !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
body[data-page=point-of-sales] .search-control-actions :is(button, i, svg, .bi) {
  filter: none !important;
  -webkit-filter: none !important;
}
body[data-page=point-of-sales] .customer-clear-btn[hidden] {
  display: none !important;
}

/* ========================================================
   GLOBAL CUSTOM DROPDOWN LIST STYLE (media_1791799820839_90973349.png)
   Ultra-compact macOS menu card with checkmark ✓ and Pink #F47FB2 background!
   Zero excessive margins, snug padding, pixel-perfect!
   ======================================================== */
.cc-dropdown-popup {
  position: fixed !important;
  z-index: 999999 !important;
  background: #ececed !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid #c8c8cb !important;
  border-radius: 12px!important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  padding: 3px !important;
  margin: 0 !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  font-family: var(--cc-font-family) !important;
  box-sizing: border-box !important;
  animation: ccPopupFadeIn 0.08s ease-out !important;
}

@keyframes ccPopupFadeIn {
  from { opacity: 0; transform: translateY(-2px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cc-dropdown-option {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 6px !important;
  margin: 0 0 1px 0 !important;
  font-size: 11px !important;
  color: #212529 !important;
  border-radius: 6px!important;
  cursor: pointer !important;
  user-select: none !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  transition: background 0.06s ease, color 0.06s ease !important;
}

.cc-dropdown-option:last-child {
  margin-bottom: 0 !important;
}

.cc-dropdown-option:hover:not(.selected),
.cc-dropdown-option.focused:not(.selected) {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #212529 !important;
}

.cc-dropdown-option.selected,
.cc-dropdown-option.selected:hover {
  background: #F47FB2 !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

.cc-dropdown-option .cc-check {
  display: inline-block !important;
  width: 12px !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.cc-dropdown-option.selected .cc-check {
  color: #ffffff !important;
}

.cc-dropdown-option:not(.selected) .cc-check {
  visibility: hidden !important;
}

.cc-dropdown-option .cc-opt-label {
  flex: 1 !important;
}

/* ========================================================
   GLOBAL SELECT2 DROPDOWN STYLE (Create Invoice & Project-wide)
   Matches the exact same compact pink highlight macOS style
   ======================================================== */
.select2-container--default .select2-dropdown {
  background: #ececed !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid #c8c8cb !important;
  border-radius: 6px!important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  padding: 3px !important;
  margin: 0 !important;
  font-family: var(--cc-font-family) !important;
  overflow: hidden !important;
  z-index: 999999 !important;
}

.select2-container--default .select2-results > .select2-results__options {
  max-height: 240px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.select2-container--default .select2-results__option {
  padding: 2px 6px !important;
  margin: 0 0 1px 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  color: #212529 !important;
  border-radius: 6px!important;
  cursor: pointer !important;
  user-select: none !important;
  white-space: nowrap !important;
  transition: background 0.06s ease, color 0.06s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.select2-container--default .select2-results__option::before {
  content: "✓";
  display: inline-block !important;
  width: 12px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  visibility: hidden !important;
}

.select2-container--default .select2-results__option[aria-selected="true"]::before {
  visibility: visible !important;
  color: #ffffff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: #F47FB2 !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

.select2-container--default .select2-results__option:hover:not([aria-selected="true"]):not(.select2-results__option--highlighted) {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #212529 !important;
}

.select2-container--default .select2-search--dropdown {
  padding: 3px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  padding: 3px 6px !important;
  font-size: 11px !important;
  border: 1px solid #c8c8cb !important;
  border-radius: 6px!important;
  background: #ffffff !important;
  outline: none !important;
}

/* ========================================================
   GLOBAL ENTERPRISE ERP 10-ITEM SCROLLABLE TABLE & STICKY SUMMARY SYSTEM
   Across the ENTIRE PROJECT:
   - Exactly 10 items (rows) shown at a time (max-height: 356px: 34px header + 10 * 32px rows + 2px borders).
   - Any items beyond 10 (even 50, 100, etc.) are smoothly scrollable inside the table container.
   - Sticky table headers (thead th) remain fixed at top while scrolling.
   - Payment summary, settlement cards, and table footers stay ALWAYS on screen and never pushed down.
   ======================================================== */
body :is(.table-container, .table-wrap, .table-shell, .report-table-shell, .data-shell, .table-card, .consumed-table-shell, .report-table-wrap, .table-scroll, .table-responsive, [class*="table-wrap"], [class*="table-container"], [class*="table-shell"]):not(table):not(.invoice-table-wrap):not(#posThermalReceiptPaper):not(.pos-thermal-paper):not(.pos-thermal-paper-wrap),
body :is(div, section, article):has(> table):not(body):not(html):not(.modal):not(.dialog):not(.invoice-table-wrap):not(#posThermalReceiptPaper):not(.pos-thermal-paper):not(.pos-thermal-paper-wrap) {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px!important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  background: #ffffff !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  max-height: 420px !important;
  position: relative !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 #f8fafc !important;
}

body[data-page="add-new-stock"] .table-wrap,
body[data-page="add-new-movement-stock"] .table-wrap,
body .table-card .table-wrap,
#stockTableWrap {
  max-height: 268px !important;
}

body[data-page=point-of-sales] .invoice-table-wrap,
body :is(.invoice-table-wrap),
section.invoice-table-wrap {
  height: auto !important;
  max-height: 290px !important;
  min-height: auto !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
  position: relative !important;
  margin-bottom: 6px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px!important;
  box-shadow: none !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 #f8fafc !important;
}

body[data-page=point-of-sales] .invoice-table-wrap::-webkit-scrollbar,
body :is(.invoice-table-wrap)::-webkit-scrollbar,
body :is(.table-container, .table-wrap, .table-shell, .report-table-shell, .data-shell, .table-card, .consumed-table-shell, .report-table-wrap, .table-scroll)::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  display: block !important;
}

body[data-page=point-of-sales] .invoice-table-wrap::-webkit-scrollbar-track,
body :is(.invoice-table-wrap)::-webkit-scrollbar-track,
body :is(.table-container, .table-wrap, .table-shell, .report-table-shell, .data-shell, .table-card, .consumed-table-shell, .report-table-wrap, .table-scroll)::-webkit-scrollbar-track {
  background: #f8fafc !important;
  border-radius: 10px!important
}

body[data-page=point-of-sales] .invoice-table-wrap::-webkit-scrollbar-thumb,
body :is(.invoice-table-wrap)::-webkit-scrollbar-thumb,
body :is(.table-container, .table-wrap, .table-shell, .report-table-shell, .data-shell, .table-card, .consumed-table-shell, .report-table-wrap, .table-scroll)::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 10px!important
}

body[data-page=point-of-sales] .invoice-table-wrap::-webkit-scrollbar-thumb:hover,
body :is(.invoice-table-wrap)::-webkit-scrollbar-thumb:hover,
body :is(.table-container, .table-wrap, .table-shell, .report-table-shell, .data-shell, .table-card, .consumed-table-shell, .report-table-wrap, .table-scroll)::-webkit-scrollbar-thumb:hover {
  background: #94a3b8 !important;
}

body :is(.table-container, .table-wrap, .table-shell, .invoice-table-wrap, .report-table-shell, .data-shell, .table-card, .consumed-table-shell, .report-table-wrap, .table-scroll, .table-responsive) {
  padding: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px!important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  background: #fff !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  overflow-x: auto !important;
  position: relative !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table, table.enterprise-data-table) {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 0 !important;
  background: #ffffff !important;
  margin: 0 !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) thead,
body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) thead tr {
  border: none !important;
  outline: none !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: 'Poppins', sans-serif !important;
  height: 42px !important;
  min-height: 42px !important;
  border: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  text-transform: uppercase !important;
  padding: 10px 14px !important;
  text-align: left !important;
  vertical-align: middle !important;
  letter-spacing: 0.04em !important;
  box-shadow: none !important;
  outline: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) th:last-child {
  border-right: none !important;
}

/* Summaries, totals, and settlement cards always visible on screen */
body :is(.checkout-zone, .settlement-grid) {
  margin-top: 10px !important;
  position: relative !important;
}

body :is(.settlement-card, .summary-panel) {
  position: sticky !important;
  top: 10px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

body :is(.table-footer, .table-footer-actions, .table-actions-bar) {
  position: sticky !important;
  bottom: 0 !important;
  background: #ffffff !important;
  z-index: 15 !important;
  box-shadow: 0 -2px 8px rgba(15, 23, 42, 0.04) !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) td {
  border: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  box-shadow: none !important;
  outline: none !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 8px 14px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #1e293b !important;
  text-align: left !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) td:last-child {
  border-right: none !important;
}



body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) :is(td[rowspan], td.group-cell) {
  height: auto !important;
  min-height: 38px !important;
  max-height: none !important;
  vertical-align: middle !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) tbody tr:has(td[rowspan]) {
  height: auto !important;
  max-height: none !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) tbody tr {
  height: 38px !important;
  min-height: 38px !important;
  max-height: none !important;
  background: #ffffff !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 10px!important;
  transition: background-color 0.15s ease !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) tbody tr:last-child td {
  border-bottom: none !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) tbody tr:hover td {
  background: #f8fafc !important;
}

/* Compact POS Table Rows with sharp, proper, gap-free, single black borders */
body[data-page=point-of-sales] .invoice-table-wrap {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px!important;
  box-shadow: none !important;
}
body[data-page=point-of-sales] .invoice-table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: none !important;
  border-bottom: none !important;
}
body[data-page=point-of-sales] .invoice-table thead,
body[data-page=point-of-sales] .invoice-table thead tr {
  border: none !important;
  outline: none !important;
}
body[data-page=point-of-sales] .invoice-table th,
body[data-page=point-of-sales] .invoice-table thead tr th,
body[data-page=point-of-sales] .invoice-table thead th {
  height: 36px !important;
  min-height: 36px !important;
  padding: 6px 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  background: #eef2f6 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  border: 1px solid #cbd5e1 !important;
  border-top: 1px solid #cbd5e1 !important;
  border-bottom: 1px solid #cbd5e1 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}
body[data-page=point-of-sales] .invoice-table th:last-child,
body[data-page=point-of-sales] .invoice-table thead tr th:last-child,
body[data-page=point-of-sales] .invoice-table thead th:last-child {
  border-right: none !important;
}
body[data-page=point-of-sales] .invoice-table td,
body[data-page=point-of-sales] .invoice-table tbody tr td,
body[data-page=point-of-sales] #invoiceRows tr td,
body[data-page=point-of-sales] #invoiceRows td {
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-top: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}
body[data-page=point-of-sales] .invoice-table td:last-child,
body[data-page=point-of-sales] .invoice-table tbody tr td:last-child,
body[data-page=point-of-sales] #invoiceRows tr td:last-child,
body[data-page=point-of-sales] #invoiceRows td:last-child {
  border-right: none !important;
}
body[data-page=point-of-sales] .invoice-table tbody tr,
body[data-page=point-of-sales] #invoiceRows tr {
  height: 32px !important;
  min-height: 32px !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}
body[data-page=point-of-sales] .invoice-table :is(th, td) {
  box-shadow: none !important;
}
body[data-page=point-of-sales] #invoiceRows .cell-control {
  height: 28px !important;
  min-height: 28px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
}

body :is(table, .po-table, .invoice-table, .stock-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) td :is(input:not([type="checkbox"]):not([type="radio"]), select:not(.warehouse-select), .cell-control, .table-cell-input) {
  border: 0 !important;
  outline: 0 !important;
  border-radius: 10px!important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 34px !important;
  padding: 0 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
  color: #1e293b !important;
  text-align: left !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) td :is(input:not([type="checkbox"]):not([type="radio"]), select:not(.warehouse-select), .cell-control):focus {
  outline: 1.5px solid #000000 !important;
  box-shadow: none !important;
  background: #ffffff !important;
  border-radius: 10px!important;
}

body :is(table, .po-table, .invoice-table, .orders-table, .report-table, .stock-return-table, .sale-return-table, .return-table, .data-table, .margin-table, .transfer-table, .expense-table, .bill-table, .opening-table, .inbound-table, .pending-table, .booking-table, .consumed-table, .financial-table, .refund-table, .franchise-team-table) td :is(input:not([type="checkbox"]):not([type="radio"]), select:not(.warehouse-select), .cell-control)[readonly] {
  background: #f8fafc !important;
  color: #64748b !important;
}

body input[type="number"]::-webkit-outer-spin-button,
body input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

body input[type="number"],
input[type="number"] {
  -moz-appearance: textfield !important;
}

/* ========================================================
   GLOBAL REFINED ENTERPRISE CHECKBOX DESIGN SYSTEM
   Pixel-perfect custom checkbox across the entire project:
   16x16px, 4px squircle border-radius, crisp SVG checkmark vector,
   theme blue fill on check, soft focus halo ring, vertical alignment.
   ======================================================== */
html body input[type="checkbox"],
html body table th input[type="checkbox"],
html body table td input[type="checkbox"],
body input[type="checkbox"],
input[type="checkbox"],
.form-check-input[type="checkbox"],
input.check[type="checkbox"],
input.row-check[type="checkbox"],
input.checkbox[type="checkbox"],
input.row-select[type="checkbox"],
input.select-order[type="checkbox"],
input.item-select-chk[type="checkbox"],
input.automation-check[type="checkbox"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex: 0 0 16px !important;
  border: 1.5px solid #94a3b8 !important;
  border-radius: 4px!important;
  background-color: #ffffff !important;
  background-image: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

html body input[type="checkbox"]::before,
html body input[type="checkbox"]::after,
input[type="checkbox"]::before,
input[type="checkbox"]::after {
  content: none !important;
  display: none !important;
}

html body input[type="checkbox"]:hover,
html body table th input[type="checkbox"]:hover,
html body table td input[type="checkbox"]:hover,
body input[type="checkbox"]:hover,
input[type="checkbox"]:hover {
  border-color: var(--blue, #252525) !important;
  box-shadow: 0 0 0 3px rgba(37, 37, 37, 0.1) !important;
}

html body input[type="checkbox"]:focus-visible,
html body table th input[type="checkbox"]:focus-visible,
html body table td input[type="checkbox"]:focus-visible,
body input[type="checkbox"]:focus-visible,
input[type="checkbox"]:focus-visible {
  border-color: var(--blue, #252525) !important;
  box-shadow: 0 0 0 3px rgba(37, 37, 37, 0.2) !important;
}

html body input[type="checkbox"]:checked,
html body table th input[type="checkbox"]:checked,
html body table td input[type="checkbox"]:checked,
body input[type="checkbox"]:checked,
input[type="checkbox"]:checked {
  background-color: #10847E !important;
  border-color: #10847E !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16' fill='none'%3E%3Cpath d='M3.2 8.2l3 3.2 6.6-6.6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-size: 11px 11px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

html body input[type="checkbox"]:indeterminate,
html body table th input[type="checkbox"]:indeterminate,
html body table td input[type="checkbox"]:indeterminate,
body input[type="checkbox"]:indeterminate,
input[type="checkbox"]:indeterminate {
  background-color: #10847E !important;
  border-color: #10847E !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16' fill='none'%3E%3Cline x1='3.5' y1='8' x2='12.5' y2='8' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-size: 10px 10px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

html body input[type="checkbox"]:disabled,
html body table th input[type="checkbox"]:disabled,
html body table td input[type="checkbox"]:disabled,
body input[type="checkbox"]:disabled,
input[type="checkbox"]:disabled {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed !important;
  opacity: 0.65 !important;
  box-shadow: none !important;
}

/* Perfect alignment when inside labels across modals and form groups */
body label:has(> input[type="checkbox"]):not(.automation-control),
label:has(> input[type="checkbox"]):not(.automation-control) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  user-select: none !important;
}

body label.automation-control {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  cursor: pointer !important;
}

body table th input[type="checkbox"],
body table td input[type="checkbox"],
.select-cell input[type="checkbox"],
.day-cell input[type="checkbox"] {
  display: inline-block !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

/* ==========================================================================
   ERP Horizontal Payment Summary Layout (Exact match with ERP screenshot)
   ========================================================================== */
.invoice-summary-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px!important;
  padding: 8px 16px 10px !important;
  margin-top: 6px !important;
  margin-bottom: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-family: var(--cc-font-family) !important;
}

.erp-summary-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Col 1: Payment Mode - Clean white background, no blue */
.summary-col-payment-mode {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9999px!important;
  padding: 8px 12px !important;
  width: 175px !important;
  min-width: 175px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.payment-mode-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin-bottom: 2px !important;
  padding-bottom: 2px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.payment-mode-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.payment-radio-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.payment-radio-label input[type="radio"] {
  accent-color: #075496 !important;
  cursor: pointer !important;
  margin: 0 !important;
  width: 14px !important;
  height: 14px !important;
}

.payment-radio-label u {
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* Col 2: Breakdown (4 compact rows) */
.summary-col-breakdown {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 280px !important;
  min-width: 280px !important;
}

/* Col 3: Tax, Adj, Net Total (Docked completely to the far right) */
.summary-col-tax-net {
  margin-left: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 270px !important;
  min-width: 270px !important;
}

/* Shared field row for both Col 2 and Col 3 */
.summary-field-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
}

.summary-field-row label {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  cursor: default !important;
  text-align: left !important;
}

/* Row 3 in Col 3: Net Total Label */
.net-total-row-label {
  height: 22px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Row 4 in Col 3: Net Total PharmEasy Teal Strong Digits */
.net-total-row-display {
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #10847E !important;
  text-align: left !important;
  line-height: 1 !important;
  letter-spacing: -0.2px !important;
  font-variant-numeric: tabular-nums !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Inputs styled matching the project's soft UI screenshot */
.erp-blue-box,
.erp-white-box {
  border: 1px solid #d8e1ea !important;
  border-radius: 6px!important;
  height: 28px !important;
  width: 140px !important;
  text-align: left !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  font-variant-numeric: tabular-nums !important;
  outline: none !important;
  line-height: 26px !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

/* Readonly fields have soft grey background matching Total Cost/Rate */
.erp-blue-box[readonly],
.erp-white-box[readonly],
input.erp-blue-box:read-only,
input.erp-white-box:read-only {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-color: #e2e8f0 !important;
  cursor: default !important;
}

/* Editable fields have pure white background matching Discount/Sales Tax */
.erp-blue-box:not([readonly]),
.erp-white-box:not([readonly]),
input.erp-blue-box:not(:read-only),
input.erp-white-box:not(:read-only) {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.erp-blue-box:focus,
.erp-white-box:focus {
  border-color: #252525 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12) !important;
}

/* Actions footer */
.pos-summary-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-top: 8px !important;
  padding-top: 6px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.pos-action-btn {
  height: 30px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  border-radius: 6px!important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
  white-space: nowrap !important;
}

.pos-action-btn.primary {
  background: #252525 !important;
  color: #ffffff !important;
  border-color: #252525 !important;
}
.pos-action-btn.primary:hover {
  background: #383838 !important;
  border-color: #383838 !important;
}

.pos-action-btn.secondary {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}
.pos-action-btn.secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

.pos-action-btn.outline {
  background: #ffffff !important;
  color: #475569 !important;
  border-color: #cbd5e1 !important;
}
.pos-action-btn.outline:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* ==========================================================================
   Pakistani Bank Credit Card Modal & Preview Styling
   ========================================================================== */
.card-modal-card {
  width: min(520px, 100%) !important;
  background: #ffffff !important;
  border-radius: 12px!important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25) !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
}

.modal-field-row-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

/* Realistic Pakistani Bank Card Preview Widget */
.pak-card-preview {
  background: linear-gradient(135deg, #075496 0%, #032b4f 60%, #011627 100%) !important;
  border-radius: 10px!important;
  padding: 16px 20px !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 145px !important;
  box-shadow: 0 8px 24px rgba(7, 84, 150, 0.35) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 4px !important;
  box-sizing: border-box !important;
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

.pak-card-preview[data-card-type="Debit Card"] {
  background: linear-gradient(135deg, #0f766e 0%, #064e3b 60%, #022c22 100%) !important;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35) !important;
}

.pak-card-preview[data-card-type="Prepaid / Virtual Card"] {
  background: linear-gradient(135deg, #4f46e5 0%, #312e81 60%, #1e1b4b 100%) !important;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35) !important;
}

.pak-card-preview::before {
  content: '' !important;
  position: absolute !important;
  top: -40px !important;
  right: -40px !important;
  width: 150px !important;
  height: 150px !important;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%) !important;
  border-radius: 10px!important;
  pointer-events: none !important;
}

.card-chip-bank {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 2 !important;
}

.chip-sim {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 24px !important;
  background: linear-gradient(135deg, #e6c666, #d4af37, #997d26) !important;
  border-radius: 6px!important;
  color: #2b2204 !important;
  font-size: 14px !important;
}

.card-top-tags {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.card-type-tag {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  padding: 2px 7px !important;
  border-radius: 10px!important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
}

.bank-name-tag {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
}

.card-num-display {
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  font-family: 'Courier New', Courier, monospace !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
  z-index: 2 !important;
  margin: 6px 0 !important;
}

.card-bottom-info {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  z-index: 2 !important;
}

.card-bottom-info small {
  display: block !important;
  font-size: 9px !important;
  opacity: 0.75 !important;
  letter-spacing: 0.5px !important;
}

.card-bottom-info span {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.scheme-badge {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  padding: 2px 8px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 9999px!important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  text-transform: uppercase !important;
}

/* Card Confirmed Badge under Payment Mode option */
.card-payment-confirmed-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: 22px !important;
  margin-top: 2px !important;
  padding: 3px 8px !important;
  background: #E6F4F3 !important;
  border: 1px solid #B8DFDC !important;
  border-radius: 10px!important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #10847E !important;
  width: fit-content !important;
}

.card-payment-confirmed-badge[hidden] {
  display: none !important;
}

.card-payment-confirmed-badge i {
  color: #10847E !important;
  font-size: 12px !important;
}

.btn-edit-card {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-left: 4px !important;
  cursor: pointer !important;
  color: #075496 !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.btn-edit-card:hover {
  color: #054073 !important;
}

/* ==========================================================================
   Pakistani Bank Search-to-Select Combobox Component
   ========================================================================== */
.bank-combobox-wrap {
  position: relative !important;
  width: 100% !important;
}

.bank-combobox-trigger {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.bank-combobox-trigger i.bi-bank {
  position: absolute !important;
  left: 12px !important;
  color: #075496 !important;
  font-size: 14px !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.bank-search-input {
  width: 100% !important;
  height: 36px !important;
  padding: 0 34px 0 34px !important;
  border: 1px solid #d8e1ea !important;
  border-radius: 6px!important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
  cursor: text !important;
}

.bank-search-input:focus {
  border-color: #252525 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12) !important;
}

.bank-combobox-toggle {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  cursor: pointer !important;
  border-radius: 9999px!important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.2s ease !important;
  z-index: 3 !important;
  padding: 0 !important;
}

.bank-combobox-toggle:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.bank-combobox-wrap.open .bank-combobox-toggle i {
  transform: rotate(180deg) !important;
}

.bank-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px!important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  animation: bankMenuFadeIn 0.15s ease-out !important;
}

.bank-dropdown-menu[hidden] {
  display: none !important;
}

@keyframes bankMenuFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.bank-dropdown-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

.bank-dropdown-header span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.bank-options-list {
  max-height: 230px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  scrollbar-width: thin !important;
}

.bank-option-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 7px 10px !important;
  border-radius: 6px!important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background 0.12s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.bank-option-item:hover,
.bank-option-item.highlighted {
  background: #f1f5f9 !important;
}

.bank-option-item.selected {
  background: #eef5fc !important;
}

.bank-option-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.bank-option-title {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.bank-option-item.selected .bank-option-title {
  color: #075496 !important;
}

.bank-option-sub {
  font-size: 11px !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.bank-badge-tag {
  font-size: 9px !important;
  font-weight: 600 !important;
  padding: 1px 5px !important;
  border-radius: 9999px!important;
  background: #e2e8f0 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
}

.bank-badge-tag.islamic {
  background: #E6F4F3 !important;
  color: #10847E !important;
}

.bank-badge-tag.digital {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.bank-badge-tag.commercial {
  background: #e0f2fe !important;
  color: #0369a1 !important;
}

.bank-badge-tag.cards-debit {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.bank-option-check {
  font-size: 13px !important;
  color: #075496 !important;
  flex: 0 0 auto !important;
}

.bank-options-empty {
  padding: 18px 12px !important;
  text-align: center !important;
  color: #64748b !important;
  font-size: 12px !important;
}

/* Ensure form cards and autocomplete search dropdowns float above tables without clipping */
body :is(.form-card) {
  overflow: visible !important;
  position: relative !important;
  z-index: 100 !important;
}

body :is(.table-card) {
  position: relative !important;
  z-index: 1 !important;
}

.item-picker-dropdown,
.pos-item-picker,
.supplier-picker-dropdown {
  z-index: 999999 !important;
}

/* Universal Unbolded Heading Format (13.5px, normal weight 400, left-aligned) matching Purchase Orders across the entire project */
html body :is(
  h1,
  .page-title,
  .title-text h1,
  .page-heading h1,
  .title-row h1,
  .page-header-row h1,
  .title-actions h1,
  .page-head h1,
  .page-header h1,
  .top-header h1,
  .cc-overview-heading h1,
  .stock-return-title,
  .page-title-wrap h1,
  .page-title-wrap .page-title,
  .heading-row h1
):not(.modal-dialog *):not(.modal *):not(.mfr-modal-dialog *):not(.dialog *):not(.dialog-head *),
html body[data-enterprise="workspace"] :is(
  h1,
  .page-title,
  .title-text h1,
  .page-heading h1,
  .title-row h1,
  .page-header-row h1,
  .title-actions h1,
  .page-head h1,
  .page-header h1,
  .top-header h1,
  .cc-overview-heading h1,
  .stock-return-title,
  .page-title-wrap h1,
  .page-title-wrap .page-title,
  .heading-row h1
):not(.modal-dialog *):not(.modal *):not(.mfr-modal-dialog *):not(.dialog *):not(.dialog-head *),
html body[data-page="point-of-sales"] :is(.page-title, h1.page-title, h1),
html body[data-enterprise="workspace"] .invoice-page :is(.page-title, h1.page-title, h1),
html body :is(main, .page, .page-content, .practice-page, .settings-page, .invoice-page, .page-container, .content) > :is(h1, .page-heading, .title-row, .title-actions, .page-header-row, .page-title-wrap, .page-head, .page-header) h1:not(.modal-dialog *):not(.modal *):not(.mfr-modal-dialog *),
html body :is(main, .page, .page-content, .practice-page, .settings-page, .invoice-page, .page-container, .content) > h1:not(.modal-dialog *):not(.modal *):not(.mfr-modal-dialog *) {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  font-size: 13.5px !important;
  font-weight: 400 !important; /* NOT BOLD - EXACTLY LIKE PURCHASE ORDERS */
  color: #252a2e !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1.3 !important;
  align-self: flex-start !important;
  text-align: left !important;
  letter-spacing: normal !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* ============================================================
   Items Section: Status Toggle Switch & Dead Item Checkbox
   Pixel-perfect matching screenshot (media_1792420221113_b27e28c2.png)
   ============================================================ */
body .status-toggle,
.status-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  cursor: pointer !important;
  user-select: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  font-family: inherit !important;
}

body .status-toggle:focus-visible,
.status-toggle:focus-visible {
  outline: 2px solid #252525 !important;
  outline-offset: 3px !important;
  border-radius: 9999px !important;
}

html body :is(.status-toggle, .toggle-switch, [role="switch"]) .toggle-track,
html body .toggle-track,
body .status-toggle .toggle-track,
.status-toggle .toggle-track {
  position: relative !important;
  display: inline-block !important;
  width: 38px !important;
  height: 22px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  border-radius: 9999px !important;
  -webkit-border-radius: 9999px !important;
  -moz-border-radius: 9999px !important;
  background-color: #252525 !important;transition: background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  padding: 2px !important;
}

body .status-toggle.is-inactive .toggle-track,
.status-toggle.is-inactive .toggle-track {
  background-color: #cbd5e1 !important;
}

html body :is(.status-toggle, .toggle-switch, [role="switch"]) .toggle-thumb,
html body .toggle-thumb,
body .status-toggle .toggle-thumb,
.status-toggle .toggle-thumb {
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateX(16px) !important;
}

body .status-toggle.is-inactive .toggle-thumb,
.status-toggle.is-inactive .toggle-thumb {
  transform: translateX(0) !important;
}

body .status-toggle .toggle-label,
.status-toggle .toggle-label {
  font-size: 13.5px !important;
  font-weight: 450 !important;
  font-family: inherit !important;
  color: #17191b !important;
  line-height: 1 !important;
  letter-spacing: -0.1px !important;
  transition: color 0.18s ease !important;
}

body .status-toggle.is-inactive .toggle-label,
.status-toggle.is-inactive .toggle-label {
  color: #64748b !important;
}

/* Custom Dead Item Checkbox (Crisp 1.5px UI/UX Border) */
body table td .dead-item-chk,
body table td input[type="checkbox"].dead-item-chk,
input[type="checkbox"].dead-item-chk,
.dead-item-chk {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 4px!important;
  background-color: #ffffff !important;
  background-image: none !important;
  outline: none !important;
  cursor: pointer !important;
  display: inline-grid !important;
  place-content: center !important;
  margin: 0 auto !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

body table td .dead-item-chk:hover,
body table td input[type="checkbox"].dead-item-chk:hover,
.dead-item-chk:hover {
  border-color: #252525 !important;
  box-shadow: 0 0 0 3px rgba(37, 37, 37, 0.12) !important;
}

body table td .dead-item-chk:focus-visible,
body table td input[type="checkbox"].dead-item-chk:focus-visible,
.dead-item-chk:focus-visible {
  border-color: #252525 !important;
  box-shadow: 0 0 0 3px rgba(37, 37, 37, 0.25) !important;
}

body table td .dead-item-chk:checked,
body table td input[type="checkbox"].dead-item-chk:checked,
.dead-item-chk:checked {
  background-color: #212121 !important;
  border-color: #212121 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16' fill='none'%3E%3Cpath d='M3.2 8.2l3 3.2 6.6-6.6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-size: 11px 11px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Status Radio Button (Alternative / Supplier views) */
body table td .status-radio-btn,
body .status-radio-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 4px 10px !important;
  width: auto !important;
  min-width: 90px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 30px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px!important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  margin: 0 auto !important;
  text-align: left !important;
  font-family: inherit !important;
  line-height: 1 !important;
  user-select: none !important;
  transition: all 0.18s ease !important;
}
body table td .status-radio-btn:hover,
body .status-radio-btn:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}
body table td .status-radio-btn .status-radio-circle,
body .status-radio-btn .status-radio-circle {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  border-radius: 6px!important;
  background: #ffffff !important;
  border: 2px solid #252525 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: border-color 0.18s ease, background-color 0.18s ease !important;
}
body table td .status-radio-btn .status-radio-dot,
body .status-radio-btn .status-radio-dot {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  border-radius: 6px!important;
  background: #252525 !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: scale(1) !important;
  opacity: 1 !important;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s ease !important;
}
body table td .status-radio-btn.is-active,
body .status-radio-btn.is-active {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
}
body table td .status-radio-btn.is-active:hover,
body .status-radio-btn.is-active:hover {
  background: #dbeafe !important;
  border-color: #93c5fd !important;
}
body table td .status-radio-btn.is-active .status-radio-circle,
body .status-radio-btn.is-active .status-radio-circle {
  border-color: #252525 !important;
  background: #ffffff !important;
}
body table td .status-radio-btn.is-active .status-radio-dot,
body .status-radio-btn.is-active .status-radio-dot {
  background: #252525 !important;
  transform: scale(1) !important;
  opacity: 1 !important;
}
body table td .status-radio-btn.is-active .status-text,
body .status-radio-btn.is-active .status-text {
  color: #252525 !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 0.1px !important;
}
body table td .status-radio-btn.is-inactive,
body .status-radio-btn.is-inactive {
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
}
body table td .status-radio-btn.is-inactive:hover,
body .status-radio-btn.is-inactive:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
body table td .status-radio-btn.is-inactive .status-radio-circle,
body .status-radio-btn.is-inactive .status-radio-circle {
  border-color: #94a3b8 !important;
  background: #ffffff !important;
}
body table td .status-radio-btn.is-inactive .status-radio-dot,
body .status-radio-btn.is-inactive .status-radio-dot {
  background: #94a3b8 !important;
  transform: scale(0) !important;
  opacity: 0 !important;
}
body table td .status-radio-btn.is-inactive .status-text,
body .status-radio-btn.is-inactive .status-text {
  color: #64748b !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

/* ============================================================
   Project-Wide Enforcer: Total Labels & Currency Prefixes (12px Black)
   ============================================================ */
body :is(
  .order-total-label,
  .order-total-currency,
  .currency-prefix,
  .grand-total-label,
  .grand-total-currency,
  .net-total-row-label,
  .total-label,
  .stock-summary-item.grand-item .stock-summary-label,
  .stock-summary-value.grand small,
  .settlement-row.total-row span:first-child
) {
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  line-height: normal !important;
  letter-spacing: normal !important;
}

body :is(.total-card, .total-value, #grandTotal, #grandTotalExcept, #grandTotalText, .order-total, .grand-total-text, .grand-total-line, .net-total-row-display, .stock-summary-value.grand) :is(.currency-prefix, .order-total-currency, .grand-total-currency, small) {
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  letter-spacing: normal !important;
}

body .order-total {
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  padding: 0 16px !important;
  background: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
}
body .order-total :is(.order-total-label, .order-total-currency, span, strong, .order-total-val) {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal !important;
  white-space: nowrap !important;
  clear: none !important;
  float: none !important;
}
body .order-total :is(.order-total-label, .order-total-currency, span) {
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
}
body .order-total :is(.order-total-val, strong) {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  font-family: 'Poppins', sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  margin-left: 2px !important;
}

/* ============================================================
   Project-Wide Enforcer: All Total Values must be green strong 15px
   ============================================================ */
body :is(
  .order-total strong,
  .order-total-val,
  .summary-grand-total,
  .summary-grand-total strong,
  .stock-summary-value.grand,
  .stock-summary-value.grand strong,
  .stock-summary-value.grand .summary-grand-total,
  .grand-total-text strong,
  .grand-total strong,
  .grand-total-line strong,
  .total-amount-display,
  .total-line strong,
  .refund-amount-highlight,
  .settlement-row.total-row :is(strong, #grandTotal, span:last-child),
  #grandTotal,
  #grandTotalExcept,
  #grandTotalText,
  #posNetTotal,
  #openNetRefund,
  #summaryNetRefund,
  #netTotalValue,
  #summaryGrandTotal,
  #totalValue,
  .total-card .total-value,
  .net-total-row-display,
  .net-total-display,
  [id*="grandTotal"],
  [id*="grand-total"],
  [id*="netTotal"],
  [id*="NetTotal"],
  [id*="NetRefund"],
  [class*="net-total-row-display"]
) {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #10847E !important;
  line-height: 1.2 !important;
  font-variant-numeric: tabular-nums !important;
}

/* ==========================================================================
   PROJECT-WIDE UNIFIED CARD DESIGN SYSTEM (Matching manage-stock.html)
   Typography: Label 12px Poppins 500 Slate, Value 20px Poppins 700 Bold Slate
   Alignment: Strictly Left-Aligned across all cards
   Clean: White background, 1px #e2e8f0 border, 10px radius, No Rs., No Icons
   ========================================================================== */
html body[data-enterprise] :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card),
body :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card),
:is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px!important;
  box-shadow: none !important;
  padding: 20px !important;
  min-height: 94px !important;
  height: auto !important;
  box-sizing: border-box !important;
}

html body[data-enterprise] :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.metric-row, .total-row, .summary-row, .card-row, .total-amount-line, .amount-row),
body :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.metric-row, .total-row, .summary-row, .card-row, .total-amount-line, .amount-row),
:is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.metric-row, .total-row, .summary-row, .card-row, .total-amount-line, .amount-row) {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  clear: both !important;
}

html body[data-enterprise] :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.cc-dashboard-card-copy, .revenue-kpi > div, .movement-card > div),
body :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.cc-dashboard-card-copy, .revenue-kpi > div, .movement-card > div),
:is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.cc-dashboard-card-copy, .revenue-kpi > div, .movement-card > div) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  clear: both !important;
}

/* Card Label (Title): Arial 12px 500 Black, Left-aligned */
html body[data-enterprise] :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(h2, .metric-label, .summary-label, .cc-dashboard-card-label, .amount-label, .total-label, .card-label),
body :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(h2, .metric-label, .summary-label, .cc-dashboard-card-label, .amount-label, .total-label, .card-label) {
  display: block !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  margin: 0 0 10px 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  align-self: flex-start !important;
}

/* Card Value (Number): Arial 20px 700 Bold Green, Left-aligned */
html body[data-enterprise] :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.value, strong, .metric-value, .summary-value, .amount-value, .total-value, .cc-dashboard-card-value, output, p:last-child, #grandTotal, #grandTotalExcept, #grandTotalText),
body :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.value, strong, .metric-value, .summary-value, .amount-value, .total-value, .cc-dashboard-card-value, output, p:last-child, #grandTotal, #grandTotalExcept, #grandTotalText) {
  display: block !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  font-variant-numeric: tabular-nums !important;
  text-align: left !important;
  align-self: flex-start !important;
  white-space: nowrap !important;
}

/* Remove Rs. and All Currency Prefixes from Cards Project-Wide */
html body[data-enterprise] :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.currency-prefix, .order-total-currency, .grand-total-currency, .metric-currency, span.currency, small),
body :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.currency-prefix, .order-total-currency, .grand-total-currency, .metric-currency, span.currency, small) {
  display: none !important;
}

/* Remove Icons from All Cards Project-Wide */
html body[data-enterprise] :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.total-icon, .metric-icon, .amount-icon, .summary-icon, .card-icon, .cc-dashboard-card-icon, .icon, i, svg),
body :is(.dashboard .card, .metric, .metric-card, .summary-card, .revenue-kpi, .report-stat-card, .cc-dashboard-card, .amount-card, .total-card, .movement-card, .rider-card, .mock-stat, article.summary, article.metric, article.metric-card, article.summary-card, section.amount-card, article.amount-card) :is(.total-icon, .metric-icon, .amount-icon, .summary-icon, .card-icon, .cc-dashboard-card-icon, .icon, i, svg) {
  display: none !important;
}

/* ============================================================
   Growth Matrix Table: ONLY Franchise Name aligned left; Months & stats stay centered
   ============================================================ */
body .growth-table th,
body .growth-table td,
.growth-table th,
.growth-table td {
  text-align: center !important;
  min-width: 120px !important;
}

body .growth-table th:first-child,
body .growth-table td:first-child,
body .growth-table th.franchise-col-header,
body .growth-table td.franchise-name-cell,
.growth-table th:first-child,
.growth-table td:first-child,
.growth-table th.franchise-col-header,
.growth-table td.franchise-name-cell {
  position: sticky !important;
  left: 0 !important;
  z-index: 2 !important;
  min-width: 260px !important;
  text-align: left !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body .growth-table th:first-child,
body .growth-table th.franchise-col-header,
.growth-table th:first-child,
.growth-table th.franchise-col-header {
  z-index: 3 !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-weight: 600 !important;
  text-align: left !important;
  padding-left: 16px !important;
}

body .growth-table .growth-cell,
.growth-table .growth-cell {
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

body .growth-table .growth-cell .divider,
.growth-table .growth-cell .divider {
  margin: 0 auto !important;
}

body .report-table .number,
.report-table .number {
  text-align: center !important;
}

/* Form field groups with labels above input MUST NEVER collapse into 38px horizontal flex boxes */
body :is(.item-row, .form-row, form, .request-card, .simple-adjustment-table) .field,
body .field:has(> label:not(.sr-only)) {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  border: none !important;
  border-radius: 10px!important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

body :is(.item-row, .form-row, form, .request-card) .field > label:not(.sr-only),
body .field:has(> label:not(.sr-only)) > label:not(.sr-only) {
  display: block !important;
  margin-bottom: 7px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  color: #475569 !important;
  line-height: 1.2 !important;
}

/* ============================================================
   Clean & Refined Search Bars & Filter Inputs (Project-Wide)
   ============================================================ */
body :is(
  .field:not(:has(> label:not(.sr-only))),
  label.field,
  .filters .field,
  .filters-grid .field,
  .filters-grid-1 .field,
  .filters-grid-2 .field,
  .filters-panel .field,
  .sub-filters .field,
  .dashboard-filters .field,
  .filter,
  .search-field,
  .field-search,
  .search-box,
  .search-control:not(.product-search-control):not(.customer-search-control):not(:has(#itemPicker)):not(:has(#customerAutocomplete)),
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .date-field,
  .filter-field,
  .table-search,
  .search-wrap,
  .field-wrap,
  .cc-clean-search-field,
  label:has(> input[type="search"]),
  div:has(> input[type="search"]):not(.product-search-control):not(.customer-search-control):not(:has(#itemPicker)):not(:has(#customerAutocomplete)):not(:has(> label:not(.sr-only)))
) {
  position: relative !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 10px!important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* POS Search Controls MUST be overflow: visible so item-picker and customer-autocomplete dropdown grids display properly */
html body[data-page="point-of-sales"] .search-control,
html body[data-page="point-of-sales"] .product-search-control,
html body[data-page="point-of-sales"] .customer-search-control,
body[data-page="point-of-sales"] .search-control,
body[data-page="point-of-sales"] .product-search-control,
body[data-page="point-of-sales"] .customer-search-control,
.product-search-control,
.customer-search-control,
.field-row-product .search-control,
.field-row-customer .search-control,
.search-control:has(#itemPicker),
.search-control:has(#customerAutocomplete),
.item-search-bar:has(#itemPicker),
.item-search-bar:has(.item-picker),
.item-search-bar:has(.item-picker-dropdown),
body[data-page="add-new-stock"] .item-search-bar,
body[data-page="add-new-movement-stock"] .item-search-bar {
  position: relative !important;
  overflow: visible !important;
  max-height: none !important;
  height: 42px !important;
}

html body[data-page="point-of-sales"] .item-picker,
body[data-page="point-of-sales"] .item-picker,
.item-picker {
  position: absolute !important;
  top: calc(100% - 2px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999999 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  max-height: 440px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 1.5px solid var(--cc-nav-blue, var(--blue, #252525)) !important;
  border-top: none !important;
  border-radius: 6px!important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  font-family: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body[data-page="point-of-sales"] .item-picker[hidden],
body[data-page="point-of-sales"] .item-picker[hidden],
.item-picker[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

body :is(
  .field:not(:has(> label:not(.sr-only))),
  label.field,
  .filters .field,
  .filters-panel .field,
  .filter,
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .date-field,
  .filter-field,
  .table-search,
  .search-wrap,
  .field-wrap,
  .cc-clean-search-field,
  label:has(> input[type="search"]),
  div:has(> input[type="search"]):not(:has(> label:not(.sr-only)))
):hover {
  border-color: #98a2b3 !important;
}

body :is(
  .field:not(:has(> label:not(.sr-only))),
  label.field,
  .filters .field,
  .filters-panel .field,
  .filter,
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .date-field,
  .filter-field,
  .table-search,
  .search-wrap,
  .field-wrap,
  .cc-clean-search-field,
  label:has(> input[type="search"]),
  div:has(> input[type="search"]):not(:has(> label:not(.sr-only)))
):focus-within {
  border-color: #252525 !important;
  box-shadow: 0 0 0 3px rgba(37, 37, 37, 0.12), 0 1px 2px rgba(16, 24, 40, 0.05) !important;
}

/* Eliminate nested double borders */
body :is(
  .field:not(:has(> label:not(.sr-only))),
  label.field,
  .filters .field,
  .filters-panel .field,
  .filter,
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .date-field,
  .filter-field,
  .table-search,
  .search-wrap,
  .field-wrap,
  .cc-clean-search-field
) :is(input, select, .cc-pos-combo-shell) {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  box-sizing: border-box !important;
}

body :is(
  .field:not(:has(> label:not(.sr-only))):not(.item-row .field):not(.form-row .field):not(form .field),
  label.field,
  .filters .field,
  .filters-panel .field,
  .filter,
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .date-field,
  .filter-field,
  .table-search,
  .search-wrap,
  .field-wrap,
  .cc-clean-search-field
) input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* Universal Refined Search Bar Icon Architecture */
body :is(
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .table-search,
  .search-wrap,
  .filter.search,
  .cc-clean-search-field,
  .field:has(> i.bi-search),
  .field:has(> input[type="search"]),
  label:has(> input[type="search"])
) > :is(i.bi-search, .cc-pos-search-icon, .search-icon, span.search-icon, .cc-clean-search-icon, .cc-refined-search-icon, svg.cc-refined-search-svg) {
  position: absolute !important;
  left: 13px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  pointer-events: none !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  transition: color 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover & Focus Interaction Refinements */
body :is(
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .table-search,
  .search-wrap,
  .filter.search,
  .cc-clean-search-field,
  .field:has(> i.bi-search),
  .field:has(> input[type="search"]),
  label:has(> input[type="search"])
):hover > :is(i.bi-search, .cc-pos-search-icon, .search-icon, span.search-icon, .cc-clean-search-icon, .cc-refined-search-icon) {
  color: #64748b !important;
}

body :is(
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .table-search,
  .search-wrap,
  .filter.search,
  .cc-clean-search-field,
  .field:has(> i.bi-search),
  .field:has(> input[type="search"]),
  label:has(> input[type="search"])
):focus-within > :is(i.bi-search, .cc-pos-search-icon, .search-icon, span.search-icon, .cc-clean-search-icon, .cc-refined-search-icon) {
  color: #252525 !important;
}

/* Hide font glyph ::before if crisp vector SVG is present inside */
:is(i.bi-search, .search-icon, .cc-clean-search-icon, .cc-pos-search-icon, .cc-refined-search-icon):has(svg)::before {
  content: "" !important;
  display: none !important;
}

:is(i.bi-search, .search-icon, .cc-clean-search-icon, .cc-pos-search-icon, .cc-refined-search-icon) > svg.cc-refined-search-svg,
svg.cc-refined-search-svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

body :is(
  .search-field,
  .field-search,
  .search-box,
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .item-search-wrap,
  .practice-search-wrap,
  .po-search-container,
  .table-search,
  .search-wrap,
  .filter.search,
  .cc-clean-search-field,
  .field:has(> i.bi-search),
  .field:has(> input[type="search"]),
  label:has(> input[type="search"])
) :is(input[type="search"], input[type="text"], input) {
  padding-left: 38px !important;
  padding-right: 14px !important;
}

/* Interactive Clear Cross Button inside Search Bars */
.cc-clean-search-clear:hover {
  color: #1e293b !important;
  background-color: #f1f5f9 !important;
}

/* Hide stray dropdown chevron inside search bars */
body :is(
  .search-field,
  .field-search,
  .filter.search,
  .search-box:not(.select-wrap),
  .search-control,
  .search-input-wrap,
  .item-search-bar:not(:has(#itemPicker)):not(:has(.item-picker)):not(:has(.item-picker-dropdown)),
  .search-input-shell,
  .cc-clean-search-field,
  .field:has(> i.bi-search),
  .field:has(> input[type="search"]),
  label:has(> input[type="search"])
) > :is(i.bi-chevron-down, .bi-chevron-down, .chevron, .select-chevron, .cc-pos-toggle-btn, i.bi-caret-down-fill) {
  display: none !important;
}

/* Clean WebKit search input */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  display: none !important;
}

/* Standalone search inputs (fallback if not in a styled wrapper) */
body input[type="search"]:not(.field *):not(.filter *):not(.search-field *):not(.search-control *):not(.search-input-wrap *):not(.item-search-bar *):not(.search-input-shell *):not(.cc-clean-search-field *) {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 6px!important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.75'/%3E%3Cpath d='M13 13l4.5 4.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 13px center !important;
  background-size: 15px 15px !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  padding: 0 14px 0 38px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, background-image 0.18s ease !important;
}

body input[type="search"]:not(.field *):not(.filter *):not(.search-field *):not(.search-control *):not(.search-input-wrap *):not(.item-search-bar *):not(.search-input-shell *):not(.cc-clean-search-field *):focus {
  border-color: #252525 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none' stroke='%23075598' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.75'/%3E%3Cpath d='M13 13l4.5 4.5'/%3E%3C/svg%3E") !important;
  box-shadow: 0 0 0 3px rgba(37, 37, 37, 0.12), 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  outline: none !important;
}

/* Date inputs: calendar icon on right */
body :is(.field, .filter, .date-field, .field-wrap):is(.date, :has(> i.bi-calendar3), :has(> i.bi-calendar), :has(> i.bi-calendar-event), :has(> input[data-cc-date-picker])) > :is(i.bi-calendar3, i.bi-calendar, i.bi-calendar-event, .calendar-icon, .right-icon) {
  position: absolute !important;
  right: 13px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  pointer-events: none !important;
  line-height: 1 !important;
  z-index: 2 !important;
}

body :is(.field, .filter, .date-field, .field-wrap):is(.date, :has(> i.bi-calendar3), :has(> i.bi-calendar), :has(> i.bi-calendar-event), :has(> input[data-cc-date-picker])) input {
  padding-left: 14px !important;
  padding-right: 38px !important;
}

/* Select dropdowns: chevron down on right */
body :is(.field, .filter, .select-field, .select-wrap, .field-wrap):is(:has(> select)) > select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-left: 14px !important;
  padding-right: 38px !important;
  cursor: pointer !important;
}

body :is(.field, .filter, .select-field, .select-wrap, .field-wrap):is(:has(> select)) > :is(i.bi-chevron-down, i.bi-caret-down-fill, .select-arrow, .chevron, .select-chevron, .right-icon) {
  position: absolute !important;
  right: 13px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  pointer-events: none !important;
  line-height: 1 !important;
  z-index: 2 !important;
}

/* ============================================================
   Prominent Stroke for Add Stock Button (Project-Wide)
   ============================================================ */
body :is(.add-stock, a.add-stock, button.add-stock, #addStockButton, .btn-add-stock, .btn-stock-add, [data-action="Add Stock opened"]) {
  border: 1px solid #212121 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  border-radius: 6px !important;
  background: #212121 !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

body :is(.add-stock, a.add-stock, button.add-stock, #addStockButton, .btn-add-stock, .btn-stock-add, [data-action="Add Stock opened"]) :is(i, span, svg, .bi) {
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}

body :is(.add-stock, a.add-stock, button.add-stock, #addStockButton, .btn-add-stock, .btn-stock-add, [data-action="Add Stock opened"]):hover:not(:disabled) {
  background: #0d0d0d !important;
  border-color: #0d0d0d !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-1px) !important;
}

body :is(.add-stock, a.add-stock, button.add-stock, #addStockButton, .btn-add-stock, .btn-stock-add, [data-action="Add Stock opened"]):disabled {
  opacity: 0.85 !important;
  border: 1.5px solid #334155 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
  cursor: not-allowed !important;
}

/* ============================================================
   Universal Item Search-to-Select Autocomplete Dropdown
   ============================================================ */
.cc-item-search-select-menu {
  position: fixed !important;
  z-index: 9999999 !important;
  background: #ffffff !important;
  border: 1px solid #7d8590 !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  max-height: 250px !important;
  min-width: 320px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-family: 'Poppins', sans-serif !important;
}

.cc-item-search-select-menu[hidden] {
  display: none !important;
}

.cc-item-search-select-menu::-webkit-scrollbar {
  width: 6px !important;
}
.cc-item-search-select-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 0 !important;
}

.cc-item-select-header,
.cc-item-select-meta,
.cc-item-select-badge {
  display: none !important;
}

.cc-item-select-option {
  padding: 9px 14px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-left: none !important;
  transition: background 0.1s ease !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  line-height: 1.35 !important;
}

.cc-item-select-option:last-child {
  border-bottom: none !important;
}

.cc-item-select-option:hover,
.cc-item-select-option.highlighted,
.cc-item-select-option.selected {
  background: #eef2f7 !important;
  color: #252525 !important;
  font-weight: 600 !important;
  border-left: none !important;
}

.cc-item-select-main {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  text-align: left !important;
}

.cc-item-select-name {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.35 !important;
}

.cc-item-select-option:hover .cc-item-select-name,
.cc-item-select-option.highlighted .cc-item-select-name,
.cc-item-select-option.selected .cc-item-select-name {
  color: #252525 !important;
  font-weight: 600 !important;
}

.cc-item-select-meta {
  font-size: 11px !important;
  font-weight: 450 !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-top: 1px !important;
  line-height: 1.2 !important;
}

.cc-item-select-badge {
  flex-shrink: 0 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  color: #059669 !important;
  background: #E6F4F3 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 9999px!important;
  padding: 1px 6px !important;
  white-space: nowrap !important;
}

.cc-item-select-empty {
  padding: 20px 14px !important;
  text-align: center !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 450 !important;
}

/* Clear button on search bar */
.cc-item-clear-btn {
  position: absolute !important;
  right: 12px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 6px!important;
  background: #e2e8f0 !important;
  color: #64748b !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 13px !important;
  line-height: 1 !important;
  padding: 0 !important;
  z-index: 3 !important;
  transition: all 0.15s ease !important;
}

.cc-item-clear-btn:hover {
  background: #cbd5e1 !important;
  color: #1e293b !important;
}

/* Franchise Dashboard trend badges: Increase -> Green, Decreased -> Red */
html body[data-enterprise] [data-dashboard-panel="Franchise Dashboard"] .card .trend,
[data-dashboard-panel="Franchise Dashboard"] .card .trend {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 7px !important;
  border-radius: 10px!important;
  box-shadow: none !important;
  margin-top: 8px !important;
  width: fit-content !important;
  text-align: left !important;
}

html body[data-enterprise] [data-dashboard-panel="Franchise Dashboard"] .card .trend.trend-up,
html body[data-enterprise] [data-dashboard-panel="Franchise Dashboard"] .card .trend[data-trend="up"],
[data-dashboard-panel="Franchise Dashboard"] .card .trend.trend-up,
[data-dashboard-panel="Franchise Dashboard"] .card .trend[data-trend="up"],
.dashboard .card .trend.trend-up,
.dashboard .card .trend[data-trend="up"],
.trend.trend-up,
.trend[data-trend="up"] {
  color: #10847E !important;
  background: #E6F4F3 !important;
  border: 1px solid #B8DFDC !important;
}

html body[data-enterprise] [data-dashboard-panel="Franchise Dashboard"] .card .trend.trend-down,
html body[data-enterprise] [data-dashboard-panel="Franchise Dashboard"] .card .trend[data-trend="down"],
[data-dashboard-panel="Franchise Dashboard"] .card .trend.trend-down,
[data-dashboard-panel="Franchise Dashboard"] .card .trend[data-trend="down"],
.dashboard .card .trend.trend-down,
.dashboard .card .trend[data-trend="down"],
.trend.trend-down,
.trend[data-trend="down"] {
  color: #dc2626 !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
}

.report-table .subvalue.trend-up,
.report-table .subvalue[data-trend="up"],
.franchise-team-table .subvalue.trend-up,
.franchise-team-table .subvalue[data-trend="up"],
.subvalue.trend-up,
.subvalue[data-trend="up"] {
  color: #10847E !important;
  font-weight: 600 !important;
}

.report-table .subvalue.trend-down,
.report-table .subvalue[data-trend="down"],
.franchise-team-table .subvalue.trend-down,
.franchise-team-table .subvalue[data-trend="down"],
.subvalue.trend-down,
.subvalue[data-trend="down"] {
  color: #dc2626 !important;
  font-weight: 600 !important;
}

/* Accounts sub-navigation moved to sidebar/navbar under Reports -> Accounts */
.acc-tabs-scroll {
  display: none !important;
}

/* ============================================================
   Unified Standardized KPI & Metric Cards System Across Entire Project
   ============================================================ */
body :is(.kpi-grid, .stats-grid, .metric-grid, .cards-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px)) !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}

body :is(.kpi-card, .metric-card, .stat-card, .summary-card, .card-kpi) {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px!important;
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

body :is(.kpi-card, .metric-card, .stat-card, .summary-card, .card-kpi):hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
  transform: translateY(-1.5px) !important;
}

body :is(.kpi-card, .metric-card, .stat-card, .summary-card) .kpi-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px!important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

body .kpi-icon.amber, body .kpi-icon.orange, body .kpi-icon.warning { background: rgba(245, 158, 11, 0.12) !important; color: #d97706 !important; }
body .kpi-icon.green, body .kpi-icon.success { background: rgba(16, 185, 129, 0.12) !important; color: #059669 !important; }
body .kpi-icon.red, body .kpi-icon.danger { background: rgba(239, 68, 68, 0.12) !important; color: #dc2626 !important; }
body .kpi-icon.blue, body .kpi-icon.primary { background: rgba(37, 37, 37, 0.1) !important; color: #252525 !important; }
body .kpi-icon.purple { background: rgba(147, 51, 234, 0.12) !important; color: #7e22ce !important; }
body .kpi-icon.teal { background: rgba(20, 184, 166, 0.12) !important; color: #0d9488 !important; }
body .kpi-icon.slate { background: rgba(100, 116, 139, 0.12) !important; color: #475569 !important; }

body :is(.kpi-card, .metric-card, .stat-card, .summary-card) :is(.kpi-info, .stat-info, .card-info) {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body :is(.kpi-card, .metric-card, .stat-card, .summary-card) :is(.kpi-info, .stat-info, .card-info) :is(small, span.label, h2, h3, .stat-label) {
  display: block !important;
  color: #64748b !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  margin: 0 0 2px 0 !important;
  text-transform: none !important;
  line-height: 1.25 !important;
}

body :is(.kpi-card, .metric-card, .stat-card, .summary-card) :is(.kpi-info, .stat-info, .card-info) :is(b, strong, .value, .amount, .stat-value) {
  display: block !important;
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}







/* ============================================================
   Universal Search to Select Multiple Dropdown (Matches Screenshot)
   ============================================================ */
.cc-tag-select-wrapper {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
}

.cc-tag-select-box {
  min-height: 38px !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  border: 1.5px solid #d0d5dd !important;
  border-radius: 6px!important;
  background: #ffffff !important;
  padding: 4px 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  cursor: text !important;
  overflow: visible !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}

.cc-tag-select-box:hover {
  border-color: #98a2b3 !important;
}

.cc-tag-select-box.focused,
.cc-tag-select-box:focus-within {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  outline: none !important;
}

/* Chip / Pill Tag matching Screenshot */
.cc-tag-chip {
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #dbeafe !important;
  color: #1e40af !important;
  border: none !important;
  border-radius: 9999px!important;
  padding: 2px 6px 2px 10px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  user-select: none !important;
  flex-shrink: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.cc-tag-chip-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.cc-tag-chip-remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: #334155 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  transition: transform .15s ease, background .15s ease !important;
}

.cc-tag-chip-remove:hover {
  transform: scale(1.1) !important;
  background: #0f172a !important;
}

.cc-tag-chip-remove svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
}

/* Ensure select-wrap wrapper itself never has a border, background, or fixed height */
body :is(.field, .form-row, .compound, .item-row) :is(.select-wrap, .select-field, .cc-tag-select-wrapper),
body :is(.select-wrap, .select-field, .cc-tag-select-wrapper):is(.enhanced, :has(.cc-tag-select-box)),
.select-wrap.enhanced,
.select-field.enhanced,
.select-wrap,
.select-field {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Ensure inline tag search input has zero borders, zero background, zero box-shadow, auto width */
body :is(.field, .form-row, .item-row, .compound, .select-wrap, .cc-tag-select-box) input.cc-tag-search-input,
body :is(.field, .form-row, .item-row, .compound, .select-wrap, .cc-tag-select-box) :is(input.cc-tag-search-input, .cc-tag-select-box input),
body input.cc-tag-search-input,
.cc-tag-select-box input,
input.cc-tag-search-input {
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: 28px !important;
  max-height: 32px !important;
  padding: 0 4px !important;
  margin: 0 !important;
  border-radius: 9999px!important;
  width: auto !important;
  flex: 1 1 50px !important;
}

body :is(.field, .form-row, .item-row, .compound, .select-wrap, .cc-tag-select-box) input.cc-tag-search-input:focus,
input.cc-tag-search-input:focus {
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

.cc-tag-search-input::placeholder {
  color: #94a3b8 !important;
  font-size: 12px !important;
}

/* Dropdown Suggestions Menu */
.cc-tag-dropdown-menu {
  position: fixed !important;
  z-index: 999999 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px!important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 4px 0 !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 #f8fafc !important;
}

.cc-tag-dropdown-menu[hidden] {
  display: none !important;
}

.cc-tag-dropdown-item {
  padding: 8px 14px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  color: #1e293b !important;
  cursor: pointer !important;
  user-select: none !important;
  display: flex !important;
  align-items: center !important;
  transition: background .12s ease !important;
}

.cc-tag-dropdown-item:hover,
.cc-tag-dropdown-item.highlighted {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.cc-tag-dropdown-item.selected {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 500 !important;
}

/* Underline matching text inside suggestions */
.cc-match-highlight {
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 2px !important;
  font-weight: 600 !important;
  color: inherit !important;
}

.cc-tag-dropdown-empty {
  padding: 12px 14px !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  text-align: center !important;
}

/* Circular Plus Button (+) */
.cc-circle-add-btn {
  width: 26px !important;
  height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  border-radius: 9999px!important;
  transition: transform .15s ease, opacity .15s ease !important;
}

.cc-circle-add-btn:hover {
  transform: scale(1.12) !important;
}

.cc-circle-add-btn svg {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
}
/* ========================================================
   BULLETPROOF CAPSULE ROUND STATUS TOGGLES & CHECKBOXES
   Pixel-perfect soft minimal design matching screenshot.
   Guarantees 100% round pill capsule and circular thumb.
   ======================================================== */
html body * :is(.toggle-track, .track),
html body .toggle-track,
html body div.status-toggle span.toggle-track,
html body :is(.status-toggle, .toggle-switch, [role="switch"]) :is(.toggle-track, .track),
html body div.status-toggle .toggle-track,
html body table td div.status-toggle span.toggle-track,
html body table td .toggle-track,
.status-toggle .toggle-track,
.toggle-track,
.toggle {
  position: relative !important;
  display: inline-block !important;
  width: 38px !important;
  height: 22px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  border-radius: 9999px !important;
  -webkit-border-radius: 9999px !important;
  -moz-border-radius: 9999px !important;
  box-sizing: border-box !important;
  padding: 2px !important;
  flex-shrink: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html body :is(.status-toggle.is-active, .status-toggle:not(.is-inactive), .toggle.active, button.toggle.active, [aria-checked="true"]) :is(.toggle-track, .track),
html body .status-toggle:not(.is-inactive) .toggle-track,
html body table td div.status-toggle.is-active span.toggle-track,
.status-toggle.is-active .toggle-track,
.status-toggle:not(.is-inactive) .toggle-track,
.toggle.active {
  background-color: #10847E !important;
  background: #10847E !important;
}

html body :is(.status-toggle.is-inactive, .toggle:not(.active), button.toggle:not(.active), [aria-checked="false"]) :is(.toggle-track, .track),
html body .status-toggle.is-inactive .toggle-track,
html body table td div.status-toggle.is-inactive span.toggle-track,
.status-toggle.is-inactive .toggle-track,
.toggle:not(.active) {
  background-color: #cbd5e1 !important;
  background: #cbd5e1 !important;
}

html body * :is(.toggle-thumb, .thumb),
html body .toggle-thumb,
html body div.status-toggle span.toggle-thumb,
html body :is(.status-toggle, .toggle-switch, [role="switch"]) :is(.toggle-thumb, .thumb),
html body div.status-toggle .toggle-thumb,
html body table td div.status-toggle span.toggle-thumb,
html body table td .toggle-thumb,
.status-toggle .toggle-thumb,
.toggle-thumb,
.toggle span {
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28), 0 1px 1px rgba(0, 0, 0, 0.12) !important;
  border: none !important;
  outline: none !important;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html body :is(.status-toggle.is-active, .status-toggle:not(.is-inactive), .toggle.active, button.toggle.active, [aria-checked="true"]) :is(.toggle-thumb, .thumb),
html body .status-toggle:not(.is-inactive) .toggle-thumb,
html body table td div.status-toggle.is-active span.toggle-thumb,
.status-toggle.is-active .toggle-thumb,
.status-toggle:not(.is-inactive) .toggle-thumb,
.toggle.active span {
  transform: translateX(16px) !important;
  -webkit-transform: translateX(16px) !important;
}

html body :is(.status-toggle.is-inactive, .toggle:not(.active), button.toggle:not(.active), [aria-checked="false"]) :is(.toggle-thumb, .thumb),
html body .status-toggle.is-inactive .toggle-thumb,
html body table td div.status-toggle.is-inactive span.toggle-thumb,
.status-toggle.is-inactive .toggle-thumb,
.toggle:not(.active) span {
  transform: translateX(0) !important;
  -webkit-transform: translateX(0) !important;
}

/* Status Label beside Toggle */
html body .status-toggle .toggle-label,
html body div.status-toggle span.toggle-label,
.status-toggle .toggle-label {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  margin-left: 10px !important;
  line-height: 1 !important;
}

/* Soft Rounded Checkboxes (Universal Perfectly-Centered Aero / Checkmark) */
html body input[type="checkbox"],
html body table th input[type="checkbox"],
html body table td input[type="checkbox"],
body input[type="checkbox"],
input[type="checkbox"],
.form-check-input[type="checkbox"],
.dead-item-chk,
.select-order,
.checkbox,
.check {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  border-radius: 4px !important;
  -webkit-border-radius: 4px !important;
  border: 1.5px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  outline: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 0 0 !important;
  accent-color: transparent !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

html body input[type="checkbox"]:hover,
html body table th input[type="checkbox"]:hover,
html body table td input[type="checkbox"]:hover,
body input[type="checkbox"]:hover,
input[type="checkbox"]:hover,
.dead-item-chk:hover,
.select-order:hover,
.checkbox:hover,
.check:hover {
  border-color: #212121 !important;
  box-shadow: 0 0 0 2px rgba(33, 33, 33, 0.08) !important;
}

html body input[type="checkbox"]:focus-visible,
html body table th input[type="checkbox"]:focus-visible,
html body table td input[type="checkbox"]:focus-visible,
body input[type="checkbox"]:focus-visible,
input[type="checkbox"]:focus-visible,
.dead-item-chk:focus-visible,
.select-order:focus-visible,
.checkbox:focus-visible,
.check:focus-visible {
  border-color: #212121 !important;
  box-shadow: 0 0 0 3px rgba(33, 33, 33, 0.2) !important;
}

html body input[type="checkbox"]:checked,
html body table th input[type="checkbox"]:checked,
html body table td input[type="checkbox"]:checked,
body input[type="checkbox"]:checked,
input[type="checkbox"]:checked,
.form-check-input[type="checkbox"]:checked,
.dead-item-chk:checked,
.select-order:checked,
.checkbox:checked,
.check:checked {
  background-color: #10847E !important;
  border-color: #10847E !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16' fill='none'%3E%3Cpath d='M3.2 8.2l3 3.2 6.6-6.6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-size: 11px 11px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

html body input[type="checkbox"]:indeterminate,
html body table th input[type="checkbox"]:indeterminate,
html body table td input[type="checkbox"]:indeterminate,
body input[type="checkbox"]:indeterminate,
input[type="checkbox"]:indeterminate {
  background-color: #10847E !important;
  border-color: #10847E !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16' fill='none'%3E%3Cline x1='3.5' y1='8' x2='12.5' y2='8' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-size: 10px 10px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* ==========================================================================
   MASTER SOFT & REFINED ENTERPRISE DESIGN SYSTEM (ChatGPT Minimalist Edition)
   ========================================================================== */

/* 1. Global Reset & Soft Smooth Antialiasing */
html, body {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  font-family: var(--cc-font-family, \x27Poppins\x27, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif) !important;
  color: #1e293b !important;
}

/* 2. Soft & Refined Buttons */
button,
.btn,
.primary-button,
.btn-primary,
.create-button,
.save-button,
.action-btn,
.heading-add,
.blue-button,
.btn-action,
[data-action="Add Stock opened"] {
  border-radius: 6px !important;
  -webkit-border-radius: 6px !important;
  transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

/* Primary Action Buttons: ChatGPT Signature Black */
.btn-primary,
.primary-button,
.create-button,
.save-button,
.action-btn.primary,
#addNewItemRequest,
#addMultipleItemsRequest,
.primary-actions button,
.export-row button {
  background-color: #212121 !important;
  background: #212121 !important;
  border: 1px solid #212121 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.btn-primary:hover,
.primary-button:hover,
.create-button:hover,
.save-button:hover,
.primary-actions button:hover,
.export-row button:hover {
  background-color: #0d0d0d !important;
  background: #0d0d0d !important;
  border-color: #0d0d0d !important;
  color: #ffffff !important;
  transform: translateY(-0.5px) !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08) !important;
}

/* Secondary Buttons: Crisp White with Soft Neutral Border */
.btn-secondary,
.secondary-button,
.secondary,
.cancel-button,
.btn-soft,
.btn-outline-primary,
.pos-action-btn.secondary,
.action-btn.secondary-action {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #374151 !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.btn-secondary:hover,
.secondary-button:hover,
.cancel-button:hover,
.btn-soft:hover {
  background-color: #f8fafc !important;
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #111827 !important;
  transform: translateY(-0.5px) !important;
}

/* 3. Soft Rounded Inputs, Selects & Search Bars */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.field,
.date-field,
.search-field,
.select-wrap,
.filter-field,
.cell-control {
  border-radius: 6px !important;
  -webkit-border-radius: 6px !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus,
.field:focus-within,
.date-field:focus-within,
.search-field:focus-within,
.select-wrap:focus-within {
  border-color: #212121 !important;
  box-shadow: 0 0 0 2px rgba(33, 33, 33, 0.08) !important;
  outline: none !important;
}

/* 4. Soft Cards, Panels & Shells */
.card,
.panel,
.table-card,
.table-shell,
.table-wrap,
.report-table-card,
.report-table-shell,
.form-card,
.kpi-card,
.metric-card,
.stat-card,
.summary-card,
.revenue-chart-card,
.invoice-table-wrap,
section.table-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  -webkit-border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  background: #ffffff !important;
}

/* 5. Modern Data Grid: Soft, Invisible Column Borders, Clean Rows */
table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  border: none !important;
}

table thead th,
table th,
.table-card th,
.invoice-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 10px 14px !important;
}

table tbody tr td,
table td,
.table-card td,
.invoice-table td {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 10px 14px !important;
  vertical-align: middle !important;
  color: #1e293b !important;
}

table tbody tr:hover td,
table tbody tr:hover {
  background-color: #f8fafc !important;
}

/* PO Orders Dashboard Specific: Zero harsh vertical borders */
.orders-table,
.orders-table th,
.orders-table td,
.orders-table tr,
.orders-table tbody tr td,
.orders-table thead tr th {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 6. Modals, Dialogs & Popovers: Soft Rounded Corners & Shadows */
.modal-content,
.modal-card,
.dialog,
.user-password-modal-card,
.select2-dropdown,
.ccdp-popover,
.dropdown-menu,
.cc-dropdown-menu,
.cc-app-dialog,
.cc-command-panel,
.cc-tag-dropdown-menu {
  border-radius: 12px !important;
  -webkit-border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

/* 7. Tabs & Sub-navigation */
.tabs,
.report-tabs,
.sub-navigation {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 4px !important;
}

.tab-button,
.report-tab,
.tabs button,
.tabs a,
.report-tabs button,
.report-tabs a,
.sub-navigation button,
.sub-navigation a {
  border-radius: 6px !important;
  border: none !important;
  transition: all 0.16s ease !important;
}

.tab-button.active,
.report-tab.active,
.tabs button.active,
.tabs a.active,
.report-tabs button.active,
.report-tabs a.active,
.sub-navigation button.active,
.sub-navigation a.active,
.tabs [aria-selected="true"],
.report-tabs [aria-selected="true"],
.sub-navigation [aria-selected="true"] {
  background: #10847E !important;
  background-color: #10847E !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

/* 8. Badges, Chips & Status Pills */
.status-badge,
.badge,
.tag-chip,
.cc-tag-chip {
  border-radius: 9999px !important;
  -webkit-border-radius: 9999px !important;
  font-weight: 500 !important;
}

/* 9. Soft Rounded Checkboxes (4px squircle) */
input[type="checkbox"],
table th input[type="checkbox"],
table td input[type="checkbox"],
.dead-item-chk,
.select-order {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  border-radius: 4px !important;
  -webkit-border-radius: 4px !important;
  border: 1.5px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 0 0 !important;
  accent-color: transparent !important;
  transition: all 0.15s ease !important;
}

input[type="checkbox"]:hover,
.dead-item-chk:hover,
.select-order:hover {
  border-color: #212121 !important;
  box-shadow: 0 0 0 2px rgba(33, 33, 33, 0.08) !important;
}

input[type="checkbox"]:focus-visible,
.dead-item-chk:focus-visible,
.select-order:focus-visible {
  border-color: #212121 !important;
  box-shadow: 0 0 0 3px rgba(33, 33, 33, 0.2) !important;
}

input[type="checkbox"]:checked,
.dead-item-chk:checked,
.select-order:checked {
  background-color: #10847E !important;
  border-color: #10847E !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16' fill='none'%3E%3Cpath d='M3.2 8.2l3 3.2 6.6-6.6' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-size: 11px 11px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* 10. Status Toggle Capsule & Thumb */
html body * :is(.toggle-track, .track),
html body .toggle-track,
html body div.status-toggle span.toggle-track,
html body :is(.status-toggle, .toggle-switch, [role="switch"]) :is(.toggle-track, .track),
html body div.status-toggle .toggle-track,
html body table td div.status-toggle span.toggle-track,
html body table td .toggle-track,
.status-toggle .toggle-track,
.toggle-track,
.toggle {
  position: relative !important;
  display: inline-block !important;
  width: 38px !important;
  height: 22px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  border-radius: 9999px !important;
  -webkit-border-radius: 9999px !important;
  -moz-border-radius: 9999px !important;
  box-sizing: border-box !important;
  padding: 2px !important;
  flex-shrink: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html body :is(.status-toggle.is-active, .status-toggle:not(.is-inactive), .toggle.active, button.toggle.active, [aria-checked="true"]) :is(.toggle-track, .track),
html body .status-toggle:not(.is-inactive) .toggle-track,
html body table td div.status-toggle.is-active span.toggle-track,
.status-toggle.is-active .toggle-track,
.status-toggle:not(.is-inactive) .toggle-track,
.toggle.active {
  background-color: #10847E !important;
  background: #10847E !important;
}

html body :is(.status-toggle.is-inactive, .toggle:not(.active), button.toggle:not(.active), [aria-checked="false"]) :is(.toggle-track, .track),
html body .status-toggle.is-inactive .toggle-track,
html body table td div.status-toggle.is-inactive span.toggle-track,
.status-toggle.is-inactive .toggle-track,
.toggle:not(.active) {
  background-color: #cbd5e1 !important;
  background: #cbd5e1 !important;
}

html body * :is(.toggle-thumb, .thumb),
html body .toggle-thumb,
html body div.status-toggle span.toggle-thumb,
html body :is(.status-toggle, .toggle-switch, [role="switch"]) :is(.toggle-thumb, .thumb),
html body div.status-toggle .toggle-thumb,
html body table td div.status-toggle span.toggle-thumb,
html body table td .toggle-thumb,
.status-toggle .toggle-thumb,
.toggle-thumb,
button.toggle > span,
.toggle > span {
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28), 0 1px 1px rgba(0, 0, 0, 0.12) !important;
  border: none !important;
  outline: none !important;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html body :is(.status-toggle.is-active, .status-toggle:not(.is-inactive), .toggle.active, button.toggle.active, [aria-checked="true"]) :is(.toggle-thumb, .thumb),
html body .status-toggle:not(.is-inactive) .toggle-thumb,
html body table td div.status-toggle.is-active span.toggle-thumb,
.status-toggle.is-active .toggle-thumb,
.status-toggle:not(.is-inactive) .toggle-thumb,
.toggle.active > span {
  transform: translateX(16px) !important;
  -webkit-transform: translateX(16px) !important;
}

html body :is(.status-toggle.is-inactive, .toggle:not(.active), button.toggle:not(.active), [aria-checked="false"]) :is(.toggle-thumb, .thumb),
html body .status-toggle.is-inactive .toggle-thumb,
html body table td div.status-toggle.is-inactive span.toggle-thumb,
.status-toggle.is-inactive .toggle-thumb,
.toggle:not(.active) > span {
  transform: translateX(0) !important;
  -webkit-transform: translateX(0) !important;
}

html body .status-toggle .toggle-label,
html body div.status-toggle span.toggle-label,
.status-toggle .toggle-label {
  position: static !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  margin-left: 10px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  user-select: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 11. Custom Smooth Scrollbars */
::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
::-webkit-scrollbar-track {
  background: transparent !important;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 9999px !important;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8 !important;
}

/* ==========================================================================
   MASTER DATA GRID: SHARP TRs & THEAD HEADERS (Image-Perfect Alignment)
   TRs, THs, and TDs are STRICTLY SHARP (border-radius: 0 !important).
   No rounded pills/scallops on table rows or header cells.
   ========================================================================== */
table,
thead,
tbody,
tfoot,
tr,
th,
td,
table tr,
table th,
table td,
table thead tr,
table thead th,
table tbody tr,
table tbody td,
body table,
body thead,
body tbody,
body tr,
body th,
body td,
body table tbody tr,
body table td,
body table th,
.table-card table,
.table-card thead tr,
.table-card thead th,
.table-card tbody tr,
.table-card tbody td,
.invoice-table,
.invoice-table thead tr,
.invoice-table thead th,
.invoice-table tbody tr,
.invoice-table tbody td,
.orders-table,
.orders-table thead tr,
.orders-table thead th,
.orders-table tbody tr,
.orders-table tbody td,
.report-table,
.report-table thead tr,
.report-table thead th,
.report-table tbody tr,
.report-table tbody td,
.supplier-table,
.supplier-table thead tr,
.supplier-table thead th,
.supplier-table tbody tr,
.supplier-table tbody td {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

/* Sharp Crisp Table Header Cells matching Screenshot fb646cc1 */
table thead th,
table th,
.table-card th,
.invoice-table th,
.invoice-table thead th,
.report-table th,
.orders-table thead th,
.supplier-table thead th {
  background: #eef2f6 !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  border-top: 1px solid #cbd5e1 !important;
  border-bottom: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 8px 10px !important;
  white-space: nowrap !important;
  text-align: center !important;
  vertical-align: middle !important;
}

table tbody tr td,
table td,
.invoice-table td,
.invoice-table tbody tr td {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}


/* ========================================================
   Refined Search Input & Clear Button (media_1793474395035_fe0975e9.png)
   Soft rounded search input with crisp magnifying glass &
   soft squircle clear button [x]
   ======================================================== */
.cc-search-clear-btn,
button.cc-search-clear-btn,
.search-clear-btn,
.cc-clean-search-clear {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  background-color: #e2e8f0 !important;
  background: #e2e8f0 !important;
  border-radius: 6px !important;
  -webkit-border-radius: 6px !important;
  -moz-border-radius: 6px !important;
  border: none !important;
  outline: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #475569 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 5 !important;
  line-height: 1 !important;
}

.cc-search-clear-btn:hover,
button.cc-search-clear-btn:hover,
.search-clear-btn:hover,
.cc-clean-search-clear:hover {
  background-color: #cbd5e1 !important;
  background: #cbd5e1 !important;
  color: #0f172a !important;
  transform: translateY(-50%) scale(1.05) !important;
}

.cc-search-clear-btn:active,
button.cc-search-clear-btn:active,
.search-clear-btn:active,
.cc-clean-search-clear:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.cc-search-clear-btn svg,
.cc-search-clear-btn i,
.cc-clean-search-clear svg {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  fill: currentColor !important;
  color: inherit !important;
  pointer-events: none !important;
}


/* ========================================================
   ChatGPT Minimal Enterprise Select2 Searchable Dropdowns
   ======================================================== */
.select2-container {
  width: 100% !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 12px !important;
}

.select2-container .select2-selection--single {
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 28px 0 12px !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #212121 !important;
  box-shadow: 0 0 0 2px rgba(33, 33, 33, 0.08) !important;
  outline: none !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 !important;
  line-height: normal !important;
  color: #1e293b !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
  color: #8898aa !important;
  font-weight: 450 !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 10px !important;
  top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #94a3b8 transparent transparent transparent !important;
  border-width: 5px 4px 0 4px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #212121 transparent !important;
  border-width: 0 4px 5px 4px !important;
}

.select2-container .select2-selection--single .select2-selection__clear {
  color: #94a3b8 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  margin-right: 6px !important;
  line-height: 1 !important;
  transition: color 0.15s ease !important;
}

.select2-container .select2-selection--single .select2-selection__clear:hover {
  color: #212121 !important;
}

.field:has(.select2-container) > i.chevron,
.field:has(.select2-container) > .bi-chevron-down {
  display: none !important;
}

.field:has(.select2-container) {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.select2-dropdown {
  background: #ffffff !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  box-shadow: 0 12px 30px -4px rgba(16, 24, 40, 0.12), 0 4px 10px -2px rgba(16, 24, 40, 0.06) !important;
  padding: 6px !important;
  z-index: 9999999 !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  overflow: hidden !important;
}

.select2-search--dropdown {
  padding: 4px 4px 8px 4px !important;
}

.select2-search--dropdown .select2-search__field {
  height: 34px !important;
  padding: 0 10px 0 32px !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 6px !important;
  -webkit-border-radius: 6px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=\x27http://www.w3.org/2000/svg\x27 width=\x2714\x27 height=\x2714\x27 viewBox=\x270 0 20 20\x27 fill=\x27none\x27 stroke=\x27%2394a3b8\x27 stroke-width=\x271.8\x27 stroke-linecap=\x27round\x27 stroke-linejoin=\x27round\x27%3E%3Ccircle cx=\x278.5\x27 cy=\x278.5\x27 r=\x275.75\x27/%3E%3Cpath d=\x27M13 13l4.5 4.5\x27/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 10px center !important;
  background-size: 14px 14px !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: #212121 !important;
  box-shadow: 0 0 0 2px rgba(33, 33, 33, 0.08) !important;
}

.select2-results__options {
  max-height: 220px !important;
  overflow-y: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.select2-results__options::-webkit-scrollbar {
  width: 5px !important;
}
.select2-results__options::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 9999px !important;
}

.select2-results__option {
  padding: 7px 12px !important;
  margin-bottom: 2px !important;
  border-radius: 6px !important;
  -webkit-border-radius: 6px !important;
  font-size: 12px !important;
  color: #1e293b !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: background-color 0.12s ease !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f5f9 !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 500 !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option--selected {
  background-color: #212121 !important;
  background: #212121 !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

.cc-suggest-item:hover,
.cc-suggest-item.highlighted {
  background-color: #f1f5f9 !important;
}

/* ==========================================================================
   UNIFIED EXCEL & PRINT ACTION BUTTONS (Exact Match with Add Stock & Add Request)
   Height: 34px, Radius: 6px, Signature ChatGPT #212121 Black, Crisp Alignment
   ========================================================================== */
body :is(
  .export-row button,
  .export-row .btn,
  .export-tools button,
  .export-actions button,
  #excelButton,
  #printButton,
  #printBtn,
  #exportExcel,
  #excelExportBtn,
  #exportTransfer,
  #exportBtn,
  .excel-button,
  .excel-btn,
  .btn-excel,
  .print-button,
  .print-btn,
  .btn-print,
  .export-button,
  .export-btn,
  .btn-export,
  .export-action,
  .print-action,
  .action-btn-pill,
  button:has(.bi-file-earmark-excel),
  button:not(td button):not(.stock-tools button):not(.mini-tool):not(.row-print):not(.status-tools button):not(.btn-action-icon):not(.row-action-print):not(.icon-action):not(.cc-row-icon-btn):not(.btn-thermal-print):has(.bi-printer),
  button:not(td button):not(.stock-tools button):not(.mini-tool):not(.row-print):not(.status-tools button):not(.btn-action-icon):not(.row-action-print):not(.icon-action):not(.cc-row-icon-btn):not(.btn-thermal-print):has(.bi-printer-fill)
) {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  -moz-border-radius: 8px !important;
  background: #10847E !important;
  background-color: #10847E !important;
  border: 1px solid #10847E !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

body :is(
  .export-row button,
  .export-row .btn,
  .export-tools button,
  .export-actions button,
  #excelButton,
  #printButton,
  #printBtn,
  #exportExcel,
  #excelExportBtn,
  #exportTransfer,
  #exportBtn,
  .excel-button,
  .excel-btn,
  .btn-excel,
  .print-button,
  .print-btn,
  .btn-print,
  .export-button,
  .export-btn,
  .btn-export,
  .export-action,
  .print-action,
  .action-btn-pill,
  button:has(.bi-file-earmark-excel),
  button:not(td button):not(.stock-tools button):not(.mini-tool):not(.row-print):not(.status-tools button):not(.btn-action-icon):not(.row-action-print):not(.icon-action):not(.cc-row-icon-btn):not(.btn-thermal-print):has(.bi-printer),
  button:not(td button):not(.stock-tools button):not(.mini-tool):not(.row-print):not(.status-tools button):not(.btn-action-icon):not(.row-action-print):not(.icon-action):not(.cc-row-icon-btn):not(.btn-thermal-print):has(.bi-printer-fill)
) :is(i, span, svg, .bi) {
  color: #ffffff !important;
  fill: #ffffff !important;
  opacity: 1 !important;
}

body :is(
  .export-row button,
  .export-row .btn,
  .export-tools button,
  .export-actions button,
  #excelButton,
  #printButton,
  #printBtn,
  #exportExcel,
  #excelExportBtn,
  #exportTransfer,
  #exportBtn,
  .excel-button,
  .excel-btn,
  .btn-excel,
  .print-button,
  .print-btn,
  .btn-print,
  .export-button,
  .export-btn,
  .btn-export,
  .export-action,
  .print-action,
  .action-btn-pill,
  button:has(.bi-file-earmark-excel),
  button:not(td button):not(.stock-tools button):not(.mini-tool):not(.row-print):not(.status-tools button):not(.btn-action-icon):not(.row-action-print):not(.icon-action):not(.cc-row-icon-btn):not(.btn-thermal-print):has(.bi-printer),
  button:not(td button):not(.stock-tools button):not(.mini-tool):not(.row-print):not(.status-tools button):not(.btn-action-icon):not(.row-action-print):not(.icon-action):not(.cc-row-icon-btn):not(.btn-thermal-print):has(.bi-printer-fill)
):hover {
  background: #0B6B66 !important;
  background-color: #0B6B66 !important;
  border-color: #0B6B66 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 6px rgba(16, 132, 126, 0.18) !important;
}

/* Light inline icon-only action buttons across the project */
body :is(
  .stock-tools button,
  .mini-tool,
  .row-print,
  .status-tools button,
  .icon-action,
  .btn-action-icon,
  .row-actions button,
  .row-action-print,
  .cc-row-icon-btn
) {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #64748b !important;
  box-shadow: none !important;
  display: inline-grid !important;
  place-items: center !important;
}
body :is(
  .stock-tools button,
  .mini-tool,
  .row-print,
  .status-tools button,
  .icon-action,
  .btn-action-icon,
  .row-actions button,
  .row-action-print,
  .cc-row-icon-btn
) i {
  color: inherit !important;
  font-size: 13px !important;
}
body :is(
  .stock-tools button,
  .mini-tool,
  .row-print,
  .status-tools button,
  .icon-action,
  .btn-action-icon,
  .row-actions button,
  .row-action-print,
  .cc-row-icon-btn
):hover {
  background: #e6f4f3 !important;
  background-color: #e6f4f3 !important;
  color: #10847E !important;
}

/* ==========================================================================
   STRICT THERMAL RECEIPT IMMUNITY: BORDERLESS STACKED 80MM ARIAL 10PX
   ========================================================================== */
html body #posThermalReceiptPaper,
html body #posThermalReceiptPaper *,
body:not(#_) #posThermalReceiptPaper,
body:not(#_) #posThermalReceiptPaper * {
  border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  box-sizing: border-box !important;
  font-family: Arial, sans-serif !important;
  line-height: 1.15 !important;
  color: #000000 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

html body #posThermalReceiptPaper,
body:not(#_) #posThermalReceiptPaper,
#posThermalReceiptPaper {
  font-size: 10px !important;
  max-height: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  border: none !important;
  background: #ffffff !important;
}

html body #posThermalReceiptPaper :is(p, div, table, thead, tbody, tfoot, tr, th, td),
body:not(#_) #posThermalReceiptPaper :is(p, div, table, thead, tbody, tfoot, tr, th, td) {
  margin: 0 !important;
}

html body #posThermalReceiptPaper table,
body:not(#_) #posThermalReceiptPaper table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  border: none !important;
  background: transparent !important;
}

html body #posThermalReceiptPaper :is(thead, tbody, tfoot, tr, th, td),
body:not(#_) #posThermalReceiptPaper :is(thead, tbody, tfoot, tr, th, td) {
  border: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  position: static !important;
}

html body #posThermalReceiptPaper :is(th, td),
body:not(#_) #posThermalReceiptPaper :is(th, td) {
  padding: 1px 0 !important;
  font-size: 10px !important;
  vertical-align: top !important;
}

html body #posThermalReceiptPaper th,
body:not(#_) #posThermalReceiptPaper th,
html body #posThermalReceiptPaper tr.tr-payable-row td,
body:not(#_) #posThermalReceiptPaper tr.tr-payable-row td {
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body #posThermalReceiptPaper .tr-store-name,
body:not(#_) #posThermalReceiptPaper .tr-store-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

html body #posThermalReceiptPaper thead tr.tr-head-divider th,
body:not(#_) #posThermalReceiptPaper thead tr.tr-head-divider th {
  border-bottom: 1.5px solid #000000 !important;
  padding-bottom: 2px !important;
}

html body #posThermalReceiptPaper tbody tr.item-row-divider td,
body:not(#_) #posThermalReceiptPaper tbody tr.item-row-divider td {
  border-bottom: 1px solid #000000 !important;
  padding-bottom: 2px !important;
}

html body #posThermalReceiptPaper hr,
body:not(#_) #posThermalReceiptPaper hr {
  display: block !important;
  width: 100% !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 2px 0 !important;
  padding: 0 !important;
  border: none !important;
  border-top: 1px solid #000000 !important;
}

html body .pos-thermal-paper-wrap,
body:not(#_) .pos-thermal-paper-wrap,
.pos-thermal-paper-wrap {
  max-height: none !important;
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* === ZERO EXTRA OUTER BORDERS (Project-Wide Refinement) START === */
/* 1. Uniform Seamless Canvas (Eliminates mid-page #fff vs #f8fafc background seams) */
html:not([data-auth-page="true"]),
body:not(.signin-body):not(:has(.signin-panel)):not(#posThermalReceiptPaper *) {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

html body:not(:has(.signin-panel)) :is(main.page, .page, .page-container, .practice-page, .invoice-page, .content) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2. Zero Outer & Nested Borders Around All Tables & Table Shells */
html body:not(#_) :is(
  .table-card,
  section.table-card,
  .table-wrap,
  .table-shell,
  .table-container,
  .report-table-card,
  .report-table-shell,
  .report-table-wrap,
  .data-shell,
  .consumed-table-shell,
  .followup-table-shell,
  .table-scroll,
  .table-responsive,
  .invoice-table-wrap,
  .mfr-table-clean-wrap,
  .franchise-team-table-wrap,
  .content-box,
  .content-box-card,
  .statement-box,
  .summary-box,
  .journal-box,
  [class*="table-wrap"],
  [class*="table-container"],
  [class*="table-shell"]
):not(table):not(#posThermalReceiptPaper):not(.pos-thermal-paper):not(.pos-thermal-paper-wrap),
html body:not(#_) :is(div, section, article):has(> table):not(body):not(html):not(.modal):not(.modal-card):not(.modal-box):not(.modal-content):not(.modal-dialog-box):not(.dialog):not(.order-card):not(.stock-card):not(.bank-column-card):not(.revenue-chart-card):not(.hr-chart-card):not(.acc-chart-card):not(.shop-chart-card):not(.online-chart-card):not(#posThermalReceiptPaper):not(.pos-thermal-paper):not(.pos-thermal-paper-wrap) {
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 3. Clean Minimal Table Headers & Row Dividers (No 4-sided cell boxes) */
html body:not(#_) table:not(.pos-thermal-table):not(#posThermalReceiptPaper *),
html body:not(#_) table:not(.pos-thermal-table):not(#posThermalReceiptPaper *) :is(thead, tbody, tfoot, tr) {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}

html body:not(#_) table:not(.pos-thermal-table) thead th:not(#posThermalReceiptPaper *),
html body:not(#_) table:not(.pos-thermal-table) th:not(#posThermalReceiptPaper *) {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body:not(#_) table:not(.pos-thermal-table) tbody td:not(#posThermalReceiptPaper *) {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* 4. Zero Extra Outer Box Borders Around Filter Bars & Toolbars */
html body:not(#_) :is(
  .filters,
  .filters-panel,
  .filters-wrap,
  .filters-sub,
  .filter-card,
  .filters-bar,
  .filter-bar,
  .dashboard-filters,
  .unified-toolbar,
  .sub-filters,
  .report-filters,
  .attendance-filters-row,
  .summary-filters-row,
  .doctor-filters-row,
  .filters-row,
  .filter-row,
  .tab-filter-bar,
  .low-stock-toolbar,
  .table-toolbar,
  .search-fields
) {
  border: none !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 5. Zero Extra Outer Borders Around Full-Page Workspace, Tab, Form & POS Summary Containers */
html body:not(#_) :is(
  .workspace-panel,
  .stock-panel,
  .dashboard-panel,
  .dashboard-shell,
  .dashboard-view,
  .admin-panel,
  .patient-panel,
  .pharmacy-panel,
  .settings-panel,
  .report-panel,
  .request-card,
  .form-card,
  .emp-card,
  .emp-tab-panel,
  .section-card,
  .empty-state-box,
  .empty-state-wrap,
  .summary-col-payment-mode
):not(.modal):not(.modal-card):not(.modal-box):not(.modal-content):not(.dialog):not(.signin-panel) {
  border: none !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

html body:not(#_) :is(.invoice-summary-card, .totals-card) {
  border: none !important;
  border-top: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 16px !important;
}

/* 6. Zero Double Borders on Select2, Multi-Tag, Field-Shell & Labeled Field Wrappers */
html body:not(#_) :is(
  .field-shell,
  .info-control,
  .suffix
),
html body:not(#_) :is(
  .field,
  .filter,
  .filter-field,
  .select-wrap,
  .select-field,
  .field-shell,
  .input-shell,
  .mfr-field-wrapper,
  .field-wrapper,
  .date-wrap
):has(.select2-container, select.select2-hidden-accessible, .cc-tag-select-box, .cc-multi-select-box),
html body:not(#_) :is(.field, .filter-field):has(> label:not(.sr-only)) {
  border: none !important;
  border-width: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

html body:not(#_) :is(
  .field,
  .filter,
  .filter-field,
  .select-wrap,
  .select-field,
  .field-shell,
  .input-shell,
  .mfr-field-wrapper,
  .field-wrapper
):has(.select2-container, select.select2-hidden-accessible, .cc-tag-select-box, .cc-multi-select-box) {
  padding: 0 !important;
  overflow: visible !important;
}

html body:not(#_) :is(.field, .filter, .filter-field, .select-wrap):has(.select2-container, select.select2-hidden-accessible) > :is(i.chevron, .bi-chevron-down, .select-chevron, .right-icon) {
  display: none !important;
}

/* 7. Clean Multi-Control Tag Chips */
html body:not(#_):not(#__) :is(.multi-control .chip, .cc-multi-select-box .chip, .cc-tag-chip, .filter-chip, .select2-container--default .select2-selection--multiple .select2-selection__choice) {
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 2px 6px 2px 10px !important;
  border: none !important;
  border-radius: 9999px !important;
  -webkit-border-radius: 9999px !important;
  background: #dbeafe !important;
  color: #1e40af !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
}

html body:not(#_):not(#__) :is(.multi-control .chip button, .cc-multi-select-box .chip button, .cc-tag-chip-remove, .chip button.cc-tag-chip-remove, .filter-chip button, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove) {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  background: #10847E !important;
  color: #ffffff !important;
  font-size: 10px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  order: 2 !important;
}

/* 8. Responsive Enterprise Visuals & Charts Grid */
html body:not(#_) :is(
  .hr-charts-row,
  .acc-charts-row,
  .shop-charts-row,
  .online-charts-row,
  .revenue-charts
) {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}
@media (max-width: 992px) {
  html body:not(#_) :is(
    .hr-charts-row,
    .acc-charts-row,
    .shop-charts-row,
    .online-charts-row,
    .revenue-charts
  ) {
    grid-template-columns: 1fr !important;
  }
}
html body:not(#_) :is(
  .hr-chart-card,
  .acc-chart-card,
  .shop-chart-card,
  .online-chart-card,
  .revenue-chart-card,
  .franchise-graph-card,
  .franchise-gauge-card
) {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  min-height: 240px !important;
  box-sizing: border-box !important;
}
html body:not(#_) :is(
  .hr-chart-card svg,
  .acc-chart-card svg,
  .shop-chart-card svg,
  .online-chart-card svg,
  .revenue-chart-card svg
) {
  width: 100% !important;
  height: auto !important;
  max-height: 250px !important;
  display: block !important;
}

/* 9. Unified Simple KPI Cards Across Entire Project (Matching media_1794215782443_072e4f38.png) */
html body:not(#_):not(#__) :is(
  .online-kpis-grid,
  .shop-kpis-grid,
  .hr-kpis-grid,
  .acc-kpis-grid
) {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 14px 0 18px 0 !important;
}

html body:not(#_):not(#__) :is(.revenue-kpis, .franchise-operational-grid, .po-grn-grid) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 14px 0 18px 0 !important;
  align-items: stretch !important;
}

html body:not(#_):not(#__) :is(.revenue-kpi, .operational-kpi-card, .po-card, .franchise-card) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 132px !important;
  max-height: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

html body:not(#_):not(#__) :is(.metrics, .summary-grid, .rider-grid, .summary-row, .summary-strip, .kpi-row) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 14px 0 18px 0 !important;
}

@media (min-width: 641px) {
  html body:not(#_):not(#__) :is(
    .cc-unified-kpi-card,
    .online-kpi-card,
    .shop-kpi-card,
    .hr-kpi-card,
    .acc-kpi-card,
    .revenue-kpi,
    .operational-kpi-card,
    .total-card,
    .metric,
    .metric-card,
    .summary-card,
    .amount-card,
    .movement-card,
    .rider-card,
    .total-expense-card,
    .report-stat-card,
    .po-card,
    .franchise-card,
    article.summary
  ):only-child:not(table *):not(.modal *) {
    width: 100% !important;
    max-width: 300px !important;
  }
}

html body:not(#_):not(#__) .summary-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 14px 0 18px 0 !important;
}

html body[data-enterprise]:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
):not(table *):not(.modal *),
html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
):not(table *):not(.modal *) {
  position: relative !important;
  overflow: hidden !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  -webkit-border-radius: 12px !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 6px !important;
  min-height: 118px !important;
  height: auto !important;
  width: 100% !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html body[data-enterprise]:not(#_):not(#__) :is(article.summary, .amount-card, .total-expense-card, .movement-card):not(.summary-cards *),
html body:not(#_):not(#__) :is(article.summary, .amount-card, .total-expense-card, .movement-card):not(.summary-cards *),
html body[data-enterprise]:not(#_):not(#__) :is(.cc-unified-kpi-card, .online-kpi-card, .shop-kpi-card, .hr-kpi-card, .acc-kpi-card, .revenue-kpi, .operational-kpi-card, .total-card, .metric, .metric-card, .summary-card, .rider-card, .report-stat-card, .po-card, .franchise-card):only-child:not(table *):not(.modal *),
html body:not(#_):not(#__) :is(.cc-unified-kpi-card, .online-kpi-card, .shop-kpi-card, .hr-kpi-card, .acc-kpi-card, .revenue-kpi, .operational-kpi-card, .total-card, .metric, .metric-card, .summary-card, .rider-card, .report-stat-card, .po-card, .franchise-card):only-child:not(table *):not(.modal *) {
  max-width: 300px !important;
  margin-bottom: 18px !important;
}

html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
) .kpi-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body[data-enterprise]:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
) :is(.kpi-label, .total-label, .metric-label, .summary-label, .amount-label, .card-label, .cc-dashboard-card-label, h2, h3),
html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
) :is(.kpi-label, .total-label, .metric-label, .summary-label, .amount-label, .card-label, .cc-dashboard-card-label, h2, h3) {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  width: auto !important;
  flex: 1 1 auto !important;
  text-align: left !important;
}

html body[data-enterprise]:not(#_):not(#__) .kpi-icon-pill,
html body:not(#_):not(#__) .kpi-icon-pill {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
}

html body[data-enterprise]:not(#_):not(#__) .kpi-icon-pill i,
html body:not(#_):not(#__) .kpi-icon-pill i {
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

html body:not(#_):not(#__) .kpi-icon-pill.green { background: #E6F4F3 !important; color: #059669 !important; }
html body:not(#_):not(#__) .kpi-icon-pill.emerald { background: #E6F4F3 !important; color: #10847E !important; }
html body:not(#_):not(#__) .kpi-icon-pill.blue { background: #eff6ff !important; color: #2563eb !important; }
html body:not(#_):not(#__) .kpi-icon-pill.slate { background: #f1f5f9 !important; color: #475569 !important; }
html body:not(#_):not(#__) .kpi-icon-pill.purple { background: #faf5ff !important; color: #7c3aed !important; }
html body:not(#_):not(#__) .kpi-icon-pill.amber { background: #fffbeb !important; color: #d97706 !important; }
html body:not(#_):not(#__) .kpi-icon-pill.rose { background: #fff1f2 !important; color: #e11d48 !important; }

html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
) .kpi-metric-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 4px 0 !important;
  padding: 0 !important;
}

html body[data-enterprise]:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
) :is(.kpi-value, .total-value, .metric-value, .summary-value, .amount-value, .cc-dashboard-card-value, p.amount, strong, b.card-val),
html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
) :is(.kpi-value, .total-value, .metric-value, .summary-value, .amount-value, .cc-dashboard-card-value, p.amount, strong, b.card-val) {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
  display: inline-block !important;
}

html body[data-enterprise]:not(#_):not(#__) .kpi-value.kpi-green,
html body:not(#_):not(#__) .kpi-value.kpi-green { color: #10847E !important; }
html body[data-enterprise]:not(#_):not(#__) .kpi-value.kpi-slate,
html body:not(#_):not(#__) .kpi-value.kpi-slate { color: #0f172a !important; }
html body[data-enterprise]:not(#_):not(#__) .kpi-value.kpi-rose,
html body:not(#_):not(#__) .kpi-value.kpi-rose { color: #e11d48 !important; }

html body[data-enterprise]:not(#_):not(#__) :is(svg.kpi-sparkline, svg.hr-kpi-sparkline),
html body:not(#_):not(#__) :is(svg.kpi-sparkline, svg.hr-kpi-sparkline) {
  display: block !important;
  width: 48px !important;
  height: 18px !important;
  min-width: 48px !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
  margin-bottom: 2px !important;
}

html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
) .kpi-footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body[data-enterprise]:not(#_):not(#__) :is(.kpi-badge, .kpi-sub),
html body:not(#_):not(#__) :is(.kpi-badge, .kpi-sub) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  border-radius: 9999px !important;
  -webkit-border-radius: 9999px !important;
  padding: 3px 9px !important;
  width: fit-content !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

html body[data-enterprise]:not(#_):not(#__) :is(.kpi-badge, .kpi-sub) i,
html body:not(#_):not(#__) :is(.kpi-badge, .kpi-sub) i {
  display: inline-block !important;
  font-size: 11px !important;
}

html body:not(#_):not(#__) :is(.kpi-badge, .kpi-sub).positive {
  background: #E6F4F3 !important;
  color: #10847E !important;
}

html body:not(#_):not(#__) :is(.kpi-badge, .kpi-sub).neutral {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

html body:not(#_):not(#__) :is(.kpi-badge, .kpi-sub):is(.danger, .negative) {
  background: #ffe4e6 !important;
  color: #be123c !important;
}
/* === ZERO EXTRA OUTER BORDERS (Project-Wide Refinement) END === */

/* Category-wise Visualization in 1 Line on Franchise Dashboard: Gross Profit - Expense - Net Profit */
.category-pnl-1line-card {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  margin: 0 0 20px 0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  contain: layout style paint !important;
}

.pnl-1line-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

@media (max-width: 1280px) {
  .pnl-1line-row {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
}

.pnl-cat-selector {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.pnl-cat-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #E6F4F3 !important;
  color: #059669 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
}

.pnl-cat-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.pnl-cat-sub {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

.pnl-cat-select {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 3px 22px 3px 8px !important;
  background: #f8fafc url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%2364748b" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>') no-repeat right 6px center !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  outline: none !important;
}

.pnl-cat-select:focus {
  border-color: #075598 !important;
  box-shadow: 0 0 0 2px rgba(7, 85, 152, 0.12) !important;
}

.pnl-stat-node {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex-shrink: 0 !important;
}

.pnl-node-title {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.pnl-node-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.pnl-node-num {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.2 !important;
}

.pnl-node-num.num-green { color: #10847E !important; }
.pnl-node-num.num-slate { color: #1e293b !important; }
.pnl-node-num.num-emerald { color: #059669 !important; }

.pnl-node-pill {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  padding: 1px 6px !important;
  border-radius: 9999px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.pnl-node-pill.pill-green { background: #E6F4F3 !important; color: #10847E !important; }
.pnl-node-pill.pill-amber { background: #fef3c7 !important; color: #b45309 !important; }
.pnl-node-pill.pill-emerald { background: #E6F4F3 !important; color: #047857 !important; }

.pnl-op-node {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.pnl-op-circle {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.pnl-op-circle.minus {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

.pnl-op-circle.equals {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  transform: rotate(90deg) !important;
}

.pnl-cat-telemetry-strip {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 1 180px !important;
  min-width: 140px !important;
}

.cat-bar-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

.cat-bar-title {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  white-space: nowrap !important;
}

.cat-bar-active-tag {
  font-size: 9.5px !important;
  font-weight: 600 !important;
  color: #075598 !important;
  background: #eff6ff !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.cat-segments-wrap {
  display: flex !important;
  height: 10px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
  gap: 1.5px !important;
}

.cat-seg {
  height: 100% !important;
  transition: opacity 0.2s ease, transform 0.15s ease !important;
  cursor: pointer !important;
}

.cat-seg:hover {
  opacity: 0.8 !important;
  transform: scaleY(1.2) !important;
}

.cat-seg.seg-med { background: #10847E !important; }
.cat-seg.seg-milk { background: #0284c7 !important; }
.cat-seg.seg-consumer { background: #8b5cf6 !important; }
.cat-seg.seg-vit { background: #f59e0b !important; }
.cat-seg.seg-diag { background: #ec4899 !important; }
.cat-seg.seg-surg { background: #10b981 !important; }
.cat-seg.seg-herb { background: #94a3b8 !important; }


/* === UNIFIED CARD SPARKLINE & RING STROKE COLORS === */
html body:not(#_):not(#__) :is(svg.kpi-sparkline, svg.hr-kpi-sparkline, svg.acc-kpi-sparkline, .inv-kpi-sparkline svg, .op-kpi-sparkline svg) {
  filter: none !important;
  -webkit-filter: none !important;
}
:is(svg.kpi-sparkline, svg.hr-kpi-sparkline, svg.acc-kpi-sparkline, .inv-kpi-sparkline svg, .op-kpi-sparkline svg) :is(path:not([fill^="url"]), polyline, line) {
  stroke: #10847E !important;
  stroke-width: 1.5 !important;
}
:is(svg.kpi-sparkline, svg.hr-kpi-sparkline, svg.acc-kpi-sparkline, .inv-kpi-sparkline svg, .op-kpi-sparkline svg) circle:not([fill="none"]) {
  fill: #10847E !important;
}
:is(svg.kpi-sparkline, svg.hr-kpi-sparkline, svg.acc-kpi-sparkline) linearGradient stop {
  stop-color: #10847E !important;
}
svg.kpi-sparkline.kpi-progress-ring circle:first-child {
  stroke: #e2e8f0 !important;
}
svg.kpi-sparkline.kpi-progress-ring circle:last-child {
  stroke: #10847E !important;
}

/* === PROJECT-WIDE CARD & UI/UX REFINEMENT === */
html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .inv-kpi-card,
  .po-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .report-stat-card,
  .cc-dashboard-card
):not(table *):not(.modal *) {
  height: auto !important;
  min-height: 126px !important;
  overflow: visible !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.18s ease !important;
}
html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .inv-kpi-card,
  .po-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .report-stat-card,
  .cc-dashboard-card
):not(table *):not(.modal *):hover {
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04) !important;
}
html body:not(#_):not(#__) :is(.cc-unified-kpi-card, .po-card) .po-chip {
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}
html body:not(#_):not(#__) :is(
  .po-visual-card,
  .hr-chart-card,
  .acc-chart-card,
  .shop-chart-card,
  .online-chart-card,
  .revenue-chart-card,
  .table-card,
  .inv-table-card,
  .filter-card,
  .form-card
):not(.modal *) {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}
html body:not(#_):not(#__) :is(table.orders-table, table.report-table, .inv-table-card table, .table-card table) tbody tr {
  transition: background-color 0.12s ease !important;
}
html body:not(#_):not(#__) :is(table.orders-table, table.report-table, .inv-table-card table, .table-card table) tbody tr:hover {
  background-color: #f8fafc !important;
}
html body:not(#_):not(#__) :is(input:not([type="checkbox"]):not([type="radio"]):not(.cc-tag-search-input), select, textarea):focus-visible {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14) !important;
}

/* === UNIFIED GREEN KPI CARD VALUES (Project-Wide) === */
html body:not(#_):not(#__) :is(
  .cc-unified-kpi-card,
  .inv-kpi-card,
  .po-card,
  .online-kpi-card,
  .shop-kpi-card,
  .hr-kpi-card,
  .acc-kpi-card,
  .revenue-kpi,
  .operational-kpi-card,
  .report-stat-card,
  .cc-dashboard-card,
  .total-card,
  .metric,
  .metric-card,
  .summary-card,
  .amount-card,
  .movement-card,
  .rider-card,
  .total-expense-card,
  article.summary
):not(table *):not(.modal *) :is(
  .kpi-value,
  .inv-kpi-val,
  .total-value,
  .metric-value,
  .summary-value,
  .amount-value,
  .cc-dashboard-card-value,
  p.amount,
  strong.value,
  b.card-val,
  .stock-summary-value
) {
  color: #10847E !important;
}

/* === PROJECT-WIDE MINIMAL UI/UX & SPARKLINE CONSISTENCY === */
html body:not(#_):not(#__) :is(.inv-kpi-sparkline svg, .op-kpi-sparkline svg, svg.acc-kpi-sparkline) {
  width: 48px !important;
  height: 18px !important;
  min-width: 48px !important;
  flex-shrink: 0 !important;
}
html body:not(#_):not(#__) :is(.section-card, .table-shell, .record):not(.modal *) {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}
html body:not(#_):not(#__) :is(table.data-table, table.sales-table, table.return-table) thead th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
html body:not(#_):not(#__) :is(table.data-table, table.sales-table, table.return-table) tbody tr {
  transition: background-color 0.12s ease !important;
}
html body:not(#_):not(#__) :is(table.data-table, table.sales-table, table.return-table) tbody tr:hover {
  background-color: #f8fafc !important;
}


/* Unified primary action button style (Add Stock / Item Requests / POS Actions) */
html body:not(#_):not(#__) :is(
  .primary-actions button,
  .primary-actions a,
  .add-stock,
  a.add-stock,
  button.add-stock,
  #addStockButton,
  .btn-add-stock,
  .btn-stock-add,
  [data-action="Add Stock opened"],
  #addNewItemRequest,
  #addMultipleItemsRequest,
  .pos-summary-actions .pos-action-btn,
  #savePrint,
  #saveOnly,
  #btnNewSaleDirect,
  .hold-button
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 34px !important;
  min-height: 34px !important;
  min-width: auto !important;
  padding: 0 14px !important;
  background: #212121 !important;
  background-color: #212121 !important;
  color: #ffffff !important;
  border: 1px solid #212121 !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

html body:not(#_):not(#__) :is(
  .primary-actions button,
  .primary-actions a,
  .add-stock,
  a.add-stock,
  button.add-stock,
  #addStockButton,
  .btn-add-stock,
  .btn-stock-add,
  [data-action="Add Stock opened"],
  #addNewItemRequest,
  #addMultipleItemsRequest,
  .pos-summary-actions .pos-action-btn,
  #savePrint,
  #saveOnly,
  #btnNewSaleDirect,
  .hold-button
):hover {
  background: #171717 !important;
  background-color: #171717 !important;
  border-color: #171717 !important;
  color: #ffffff !important;
}

html body:not(#_):not(#__) :is(
  .primary-actions button,
  .primary-actions a,
  .add-stock,
  a.add-stock,
  button.add-stock,
  #addStockButton,
  .btn-add-stock,
  .btn-stock-add,
  [data-action="Add Stock opened"],
  #addNewItemRequest,
  #addMultipleItemsRequest,
  .pos-summary-actions .pos-action-btn,
  #savePrint,
  #saveOnly,
  #btnNewSaleDirect,
  .hold-button
) i {
  font-size: 13px !important;
  line-height: 1 !important;
  color: inherit !important;
}

/* Heading & Navigation Bar Spacing */
html body:not(#_):not(#__) :is(.tabs, .report-tabs, .sub-navigation, .nav-tabs, .tab-bar, .pill-nav) {
  margin-top: 14px !important;
  margin-bottom: 18px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html body:not(#_):not(#__) :is(main.page, main.page-content, main.settings-page, main.practice-page, main.invoice-page, main.request-shell, main.workspace, .page, .content) > :is(h1, .page-title, .title-row, .page-header, .title-block):first-child {
  margin-bottom: 14px !important;
}


/* Unified Light Table Row Action Buttons (Delete, Print, View) */
html body[data-enterprise]:not(#_):not(#__) table td :is(
  .btn-row-action,
  .btn-action-icon,
  .icon-action,
  .delete-btn,
  .btn-delete,
  .btn-delete-row,
  .btn-trash,
  .delete-row,
  .print-btn,
  .btn-print,
  .view-btn,
  .btn-view,
  .action-btn:has(> i.bi-eye, > i.bi-eye-fill, > i.bi-printer, > i.bi-printer-fill, > i.bi-trash, > i.bi-trash-fill),
  button[title*="Delete" i],
  button[title*="Print" i],
  button[title*="View" i],
  button[aria-label*="Delete" i],
  button[aria-label*="Print" i],
  button[aria-label*="View" i],
  [data-action*="delete" i],
  .row-actions button
):not(.btn-primary):not(.status-toggle):not(.toggle),
html body:not(#_):not(#__) table td :is(
  .btn-row-action,
  .btn-action-icon,
  .icon-action,
  .delete-btn,
  .btn-delete,
  .btn-delete-row,
  .btn-trash,
  .delete-row,
  .print-btn,
  .btn-print,
  .view-btn,
  .btn-view,
  .action-btn:has(> i.bi-eye, > i.bi-eye-fill, > i.bi-printer, > i.bi-printer-fill, > i.bi-trash, > i.bi-trash-fill),
  button[title*="Delete" i],
  button[title*="Print" i],
  button[title*="View" i],
  button[aria-label*="Delete" i],
  button[aria-label*="Print" i],
  button[aria-label*="View" i],
  [data-action*="delete" i],
  .row-actions button
):not(.btn-primary):not(.status-toggle):not(.toggle) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  color: #64748b !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

html body[data-enterprise]:not(#_):not(#__) table td :is(
  .btn-row-action,
  .btn-action-icon,
  .icon-action,
  .delete-btn,
  .btn-delete,
  .btn-delete-row,
  .btn-trash,
  .delete-row,
  .print-btn,
  .btn-print,
  .view-btn,
  .btn-view,
  .action-btn:has(> i.bi-eye, > i.bi-eye-fill, > i.bi-printer, > i.bi-printer-fill, > i.bi-trash, > i.bi-trash-fill),
  button[title*="Delete" i],
  button[title*="Print" i],
  button[title*="View" i],
  button[aria-label*="Delete" i],
  button[aria-label*="Print" i],
  button[aria-label*="View" i],
  [data-action*="delete" i],
  .row-actions button
):not(.btn-primary):not(.status-toggle):not(.toggle):hover,
html body:not(#_):not(#__) table td :is(
  .btn-row-action,
  .btn-action-icon,
  .icon-action,
  .delete-btn,
  .btn-delete,
  .btn-delete-row,
  .btn-trash,
  .delete-row,
  .print-btn,
  .btn-print,
  .view-btn,
  .btn-view,
  .action-btn:has(> i.bi-eye, > i.bi-eye-fill, > i.bi-printer, > i.bi-printer-fill, > i.bi-trash, > i.bi-trash-fill),
  button[title*="Delete" i],
  button[title*="Print" i],
  button[title*="View" i],
  button[aria-label*="Delete" i],
  button[aria-label*="Print" i],
  button[aria-label*="View" i],
  [data-action*="delete" i],
  .row-actions button
):not(.btn-primary):not(.status-toggle):not(.toggle):hover {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html body[data-enterprise]:not(#_):not(#__) table td :is(
  .btn-row-action,
  .btn-action-icon,
  .icon-action,
  .delete-btn,
  .btn-delete,
  .btn-delete-row,
  .btn-trash,
  .delete-row,
  .print-btn,
  .btn-print,
  .view-btn,
  .btn-view,
  .action-btn:has(> i.bi-eye, > i.bi-eye-fill, > i.bi-printer, > i.bi-printer-fill, > i.bi-trash, > i.bi-trash-fill),
  button[title*="Delete" i],
  button[title*="Print" i],
  button[title*="View" i],
  button[aria-label*="Delete" i],
  button[aria-label*="Print" i],
  button[aria-label*="View" i],
  [data-action*="delete" i],
  .row-actions button
):not(.btn-primary):not(.status-toggle):not(.toggle) :is(i, svg) {
  color: inherit !important;
  font-size: 14px !important;
  line-height: 1 !important;
}


/* PharmEasy #10847E Square Plus & Add Buttons */
html body:not(#_):not(#__) :is(.square-add, .btn-square-plus, .btn-supplier-add, .btn-add, .add-btn, .btn-add-item, .btn-add-mfr, .btn-modal-add, button[data-add], #btnAddSupplier):not([style*="dc2626"]) {
  background: #10847E !important;
  background-color: #10847E !important;
  border-color: #10847E !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
html body:not(#_):not(#__) :is(.square-add, .btn-square-plus, .btn-supplier-add, .btn-add, .add-btn, .btn-add-item, .btn-add-mfr, .btn-modal-add, button[data-add], #btnAddSupplier):not([style*="dc2626"]):hover {
  background: #0d6e69 !important;
  background-color: #0d6e69 !important;
  border-color: #0d6e69 !important;
  color: #ffffff !important;
}
html body:not(#_):not(#__) :is(.square-add, .btn-square-plus, .btn-supplier-add, .btn-add, .add-btn, .btn-add-item, .btn-add-mfr, .btn-modal-add, button[data-add], #btnAddSupplier) :is(i, svg, span) {
  color: #ffffff !important;
  fill: #ffffff !important;
}
