:root {
  color-scheme: light;
  --btp-brand-950: #071426;
  --btp-brand-900: #0b1e36;
  --btp-brand-800: #17365b;
  --btp-brand-700: #1d4ed8;
  --btp-brand-600: #2563eb;
  --btp-brand-500: #2563eb;
  --btp-brand-100: #dbeafe;
  --btp-brand-50: #eff6ff;
  --btp-page: #f5f7fa;
  --btp-surface: #fff;
  --btp-surface-2: #f8fafb;
  --btp-surface-3: #eef3f5;
  --btp-text: #101828;
  --btp-text-muted: #667085;
  --btp-border: #e4eaf1;
  --btp-border-strong: #b9c9d1;
  --btp-success: #167a55;
  --btp-success-bg: #e7f5ef;
  --btp-warning: #a76400;
  --btp-warning-bg: #fff2dc;
  --btp-danger: #b8323c;
  --btp-danger-bg: #fdecee;
  --btp-info: #2563eb;
  --btp-info-bg: #e6f4fa;
  --btp-radius-sm: 7px;
  --btp-radius: 8px;
  --btp-radius-lg: 10px;
  --btp-control: 40px;
  --btp-shadow-overlay: 0 18px 48px rgb(6 29 41 / 22%);
  --btp-font: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --btp-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

[data-btp-theme="dark"] {
  color-scheme: dark;
  --btp-page: #0e1820;
  --btp-surface: #14232d;
  --btp-surface-2: #192d39;
  --btp-surface-3: #203744;
  --btp-text: #f2f7f9;
  --btp-text-muted: #aac0ca;
  --btp-border: #2c4654;
  --btp-border-strong: #446271;
  --btp-brand-100: #123f54;
  --btp-brand-50: #102f3e;
  --btp-success: #42c38d;
  --btp-success-bg: #123c31;
  --btp-warning: #f0aa3c;
  --btp-warning-bg: #3c2d17;
  --btp-danger: #ff6b74;
  --btp-danger-bg: #44242a;
  --btp-info: #55bce9;
  --btp-info-bg: #153647;
}

html { background: var(--btp-page); }
body.btp-enterprise {
  margin: 0;
  background: var(--btp-page);
  color: var(--btp-text);
  font-family: var(--btp-font);
  font-size: 14px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}
.btp-enterprise *, .btp-enterprise *::before, .btp-enterprise *::after { box-sizing: border-box; }
.btp-enterprise :where(button, input, select, textarea) { font: inherit; }
.btp-enterprise :where(button, a, summary, [role="button"]) { -webkit-tap-highlight-color: transparent; }
.btp-enterprise :where(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--btp-brand-500) 35%, transparent);
  outline-offset: 2px;
}
.btp-skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 10000; transform: translateY(-150%);
  padding: 9px 13px; border-radius: var(--btp-radius); background: var(--btp-brand-900);
  color: #fff; font-weight: 750; text-decoration: none;
}
.btp-skip-link:focus { transform: translateY(0); }
.btp-glyph {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 18px !important; min-width: 18px !important; max-width: 18px !important;
  height: 18px !important; min-height: 18px !important; max-height: 18px !important;
  overflow: hidden !important; font: 700 15px/18px var(--btp-font) !important; text-align: center;
}
.btp-enterprise svg.btp-icon {
  display: block !important; width: 18px !important; min-width: 18px !important; max-width: 18px !important;
  height: 18px !important; min-height: 18px !important; max-height: 18px !important; flex: 0 0 18px !important;
  overflow: visible !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important;
  stroke-linecap: round; stroke-linejoin: round;
}
.btp-enterprise :is(.crm-module, .acc-module, .erp-module, .btp-nav-module) .btp-icon-slot {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 22px !important; min-width: 22px !important; max-width: 22px !important;
  height: 22px !important; min-height: 22px !important; max-height: 22px !important;
  flex: 0 0 22px !important; overflow: hidden !important;
}
.btp-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid var(--btp-border); border-radius: var(--btp-radius); background: var(--btp-surface);
  color: var(--btp-text); cursor: pointer;
}
.btp-theme-toggle:hover { border-color: var(--btp-brand-500); color: var(--btp-brand-600); }
.btp-breadcrumb {
  display: flex; align-items: center; gap: 7px; min-height: 34px; margin: 0 0 14px;
  color: var(--btp-text-muted); font-size: 12px;
}
.btp-breadcrumb span:last-child { color: var(--btp-text); font-weight: 700; }
.btp-breadcrumb .btp-icon { width: 13px !important; min-width: 13px !important; max-width: 13px !important; height: 13px !important; min-height: 13px !important; max-height: 13px !important; }

/* Brand images must never inherit dimensions from data/media image rules. */
img[src*="btpoint-logo-white.png"] {
  display: block !important; width: auto !important; max-width: 230px !important;
  height: auto !important; max-height: 72px !important; object-fit: contain !important;
}
.brand img[src*="btpoint-logo-white.png"] {
  width: 190px !important; max-width: 190px !important; height: 64px !important; max-height: 64px !important;
}
.top img[src*="btpoint-logo-white.png"],
.head img[src*="btpoint-logo-white.png"],
.bar img[src*="btpoint-logo-white.png"] {
  width: auto !important; max-width: 180px !important; height: 48px !important; max-height: 48px !important;
}

/* Shared application shell */
.btp-enterprise :is(.crm-shell, .acc-shell, .erp-shell, .producer-layout, .layout) { min-height: 100vh; background: var(--btp-page); }
.btp-enterprise :is(.crm-side, .acc-side, .erp-sidebar, .producer-side, .sidebar) {
  background: var(--btp-brand-950) !important; color: #e8f1f5; border-right: 1px solid #183b4d;
}
.btp-enterprise :is(.crm-main, .acc-main, .erp-main, .producer-main, .main) {
  min-width: 0; background: var(--btp-page); color: var(--btp-text);
}
.btp-enterprise :is(.crm-top, .acc-top, .erp-top, .producer-main > .top, .topbar) {
  min-height: 62px; border-bottom: 1px solid var(--btp-border); background: var(--btp-surface);
}
.btp-enterprise :is(.crm-brand-row, .acc-brand-row, .erp-brand-row) { border-bottom: 1px solid rgb(255 255 255 / 10%); }
.btp-enterprise :is(.crm-brand, .erp-brand) img,
.btp-enterprise :is(.acc-brand-row, .producer-side) img { object-fit: contain; }

/* Navigation */
.btp-enterprise :is(.crm-module-nav, .acc-module-nav, .erp-module-nav, .btp-main-nav) { gap: 3px !important; }
.btp-enterprise :is(.crm-module, .acc-module, .erp-module, .btp-nav-module) {
  border: 0 !important; border-radius: var(--btp-radius) !important; background: transparent !important;
}
.btp-enterprise :is(.crm-module, .acc-module, .erp-module, .btp-nav-module) > summary {
  min-height: 42px; padding: 9px 10px !important; border-radius: var(--btp-radius) !important;
  color: #c8d8e0 !important; font-size: 12px !important; letter-spacing: .01em; font-weight: 750 !important;
}
.btp-enterprise :is(.crm-module, .acc-module, .erp-module, .btp-nav-module)[open] > summary {
  background: rgb(255 255 255 / 6%) !important; color: #fff !important;
}
.btp-enterprise :is(.crm-module, .acc-module, .erp-module, .btp-nav-module) a,
.btp-enterprise .btp-nav-module button {
  min-height: 38px !important; border-radius: var(--btp-radius-sm) !important; color: #b7c9d2 !important;
  font-size: 13px !important; font-weight: 600 !important;
}
.btp-enterprise :is(.crm-module, .acc-module, .erp-module, .btp-nav-module) a:hover,
.btp-enterprise .btp-nav-module button:hover { background: rgb(255 255 255 / 7%) !important; color: #fff !important; }
.btp-enterprise :is(.crm-module, .acc-module, .erp-module, .btp-nav-module) a.active,
.btp-enterprise .btp-nav-module button.active {
  background: #0b78a9 !important; color: #fff !important; box-shadow: inset 3px 0 #56c5ef;
}

/* Operational surfaces */
.btp-enterprise :is(.crm-panel, .acc-panel, .erp-card, .panel, .card, .metric, .login-card) {
  border: 1px solid var(--btp-border) !important; border-radius: var(--btp-radius-lg) !important;
  background: var(--btp-surface) !important; color: var(--btp-text); box-shadow: none !important;
}
.btp-enterprise :is(.crm-panel-head, .pos-products-head, .pos-cart-head) { border-bottom-color: var(--btp-border) !important; }
.btp-enterprise :is(.crm-metrics, .acc-metrics, .erp-metrics, .metrics) { gap: 10px !important; }
.btp-enterprise :is(.crm-metrics, .acc-metrics, .erp-metrics, .metrics) > * {
  min-height: 92px; border: 1px solid var(--btp-border) !important; border-radius: var(--btp-radius) !important;
  background: var(--btp-surface) !important; box-shadow: none !important;
}
.btp-enterprise :is(.crm-metrics, .acc-metrics, .erp-metrics, .metrics) b { font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.btp-enterprise :is(.crm-muted, .muted, small) { color: var(--btp-text-muted); }

/* Forms */
.btp-enterprise :where(label) { color: var(--btp-text); font-size: 12px; font-weight: 700; }
.btp-enterprise :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: var(--btp-control); border: 1px solid var(--btp-border-strong) !important;
  border-radius: var(--btp-radius) !important; background: var(--btp-surface) !important;
  color: var(--btp-text) !important; box-shadow: none !important;
}
.btp-enterprise :where(input, select, textarea)::placeholder { color: color-mix(in srgb, var(--btp-text-muted) 75%, transparent); }
.btp-enterprise :where(input, select, textarea):hover { border-color: var(--btp-brand-500) !important; }
.btp-enterprise :where(input, select, textarea)[aria-invalid="true"] { border-color: var(--btp-danger) !important; }
.btp-enterprise :is(.crm-btn, .acc-btn, .erp-btn, .btn) {
  min-height: 38px; border-radius: var(--btp-radius) !important; box-shadow: none !important; font-weight: 750 !important;
}
.btp-enterprise :is(.crm-btn, .acc-btn, .erp-btn.primary, .btn):not(.secondary):not(.danger) {
  background: var(--btp-brand-600) !important; color: #fff !important;
}
.btp-enterprise :is(.crm-btn, .acc-btn, .erp-btn.primary, .btn):hover { filter: brightness(.94); }
.btp-enterprise .btp-submit-loading { cursor: progress !important; opacity: .72; }

/* Dense data tables */
.btp-table-region, .btp-enterprise :is(.crm-table, .acc-table, .erp-table, .table) {
  max-width: 100%; overflow: auto; overscroll-behavior-inline: contain; border: 1px solid var(--btp-border);
  border-radius: var(--btp-radius); background: var(--btp-surface);
}
.btp-enterprise table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.btp-enterprise thead th {
  position: sticky; top: 0; z-index: 2; min-height: 38px; padding: 9px 10px !important;
  border-bottom: 1px solid var(--btp-border-strong) !important; background: var(--btp-surface-2) !important;
  color: var(--btp-text-muted) !important; font-size: 11px !important; font-weight: 800 !important;
  letter-spacing: .035em; text-transform: uppercase; white-space: nowrap;
}
.btp-enterprise tbody td { padding: 9px 10px !important; border-bottom: 1px solid var(--btp-border) !important; color: var(--btp-text); }
.btp-enterprise tbody tr:hover td { background: var(--btp-brand-50) !important; }
.btp-enterprise tbody tr:last-child td { border-bottom: 0 !important; }
.btp-enterprise .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Status and feedback */
.btp-enterprise :is(.crm-notice, .acc-notice, .erp-alert, .notice) {
  border-radius: var(--btp-radius) !important; border: 1px solid var(--btp-border) !important;
}
.btp-enterprise :is(.crm-notice, .acc-notice, .erp-alert.success, .notice):not(.error) { background: var(--btp-success-bg) !important; color: var(--btp-success) !important; }
.btp-enterprise :is(.crm-notice.error, .acc-notice.error, .erp-alert.error, .notice.error) { background: var(--btp-danger-bg) !important; color: var(--btp-danger) !important; }
.btp-enterprise :is(.crm-pill, .tag) { border-radius: 999px; font-size: 11px; font-weight: 750; }
.btp-enterprise :is(.crm-empty, .acc-empty, .erp-empty) { color: var(--btp-text-muted); background: var(--btp-surface-2); }

/* Producer license workspace */
.btp-enterprise .producer-main { padding: 24px 28px !important; }
.btp-enterprise .producer-main > .top { margin: -24px -28px 20px; padding: 14px 28px; }
.btp-enterprise .producer-side { width: auto; }
.btp-enterprise .producer-side h1 { color: #5bc5ef !important; }
.btp-enterprise .producer-side a { min-height: 40px; padding: 9px 10px; border-radius: var(--btp-radius); }
.btp-enterprise .producer-side a:hover { background: rgb(255 255 255 / 8%); }
.btp-enterprise .producer-main details { border-top: 1px solid var(--btp-border); }
.btp-enterprise .producer-main details > summary { min-height: 38px; cursor: pointer; font-weight: 700; }
.btp-license-tree { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 8px; margin: 12px 0; }
.btp-license-product { min-height: 96px; padding: 11px; border: 1px solid var(--btp-border); border-left: 3px solid var(--btp-brand-500); border-radius: var(--btp-radius); background: var(--btp-surface-2); }
.btp-license-product[data-state="off"] { border-left-color: var(--btp-text-muted); opacity: .72; }
.btp-license-product[data-state="pending"] { border-left-color: var(--btp-warning); }
.btp-license-product strong { display: block; margin-bottom: 5px; color: var(--btp-text); }
.btp-license-product span { color: var(--btp-text-muted); font-size: 11px; line-height: 1.45; }

@media (max-width: 1024px) {
  .btp-enterprise :is(.crm-main, .acc-main, .erp-main, .producer-main, .main) { padding: 18px !important; }
  .btp-enterprise .producer-main > .top { margin: -18px -18px 18px; padding-inline: 18px; }
}
@media (max-width: 768px) {
  .btp-enterprise { font-size: 14px; }
  .btp-enterprise :is(.crm-top, .acc-top, .erp-top, .topbar) { min-height: 56px; }
  .btp-breadcrumb { margin-bottom: 10px; }
  .btp-enterprise :is(.crm-metrics, .acc-metrics, .erp-metrics, .metrics) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .btp-enterprise :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { min-height: 44px; font-size: 16px; }
  .btp-enterprise :is(.crm-btn, .acc-btn, .erp-btn, .btn) { min-height: 44px; }
  .btp-enterprise thead th, .btp-enterprise tbody td { padding: 10px 9px !important; }
  .btp-license-tree { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .btp-enterprise :is(.crm-main, .acc-main, .erp-main, .producer-main, .main) { padding: 12px !important; }
  .btp-enterprise .producer-main > .top { margin: -12px -12px 14px; padding-inline: 12px; }
  .btp-enterprise :is(.crm-metrics, .acc-metrics, .erp-metrics, .metrics) { grid-template-columns: 1fr !important; }
  .btp-license-tree { grid-template-columns: 1fr; }
  .btp-enterprise .brand img[src*="btpoint-logo-white.png"] { width: 120px !important; max-width: 120px !important; height: 48px !important; max-height: 48px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .btp-enterprise *, .btp-enterprise *::before, .btp-enterprise *::after {
    scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* BTPOINT presentation layer. No routes, actions or data contracts are replaced. */
/* Workspace 2026: shared interaction and visual rhythm; legacy adapters remain below. */
@font-face{font-family:Inter;src:url('./assets/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{
  --btp-space-1:4px;--btp-space-2:8px;--btp-space-3:12px;--btp-space-4:16px;--btp-space-6:24px;--btp-space-8:32px;
  --btp-sidebar:240px;--btp-sidebar-mini:72px;--btp-topbar:64px;--btp-motion:180ms;
  --crm-side-wide:240px;--crm-side-narrow:72px;--acc-side-wide:240px;--acc-side-narrow:72px;
}
.btp-enterprise{
  --blue:var(--btp-brand-600);--blue2:var(--btp-brand-700);--blue-dark:var(--btp-brand-700);
  --navy:var(--btp-brand-950);--navy2:var(--btp-brand-900);--ink:var(--btp-text);--muted:var(--btp-text-muted);
  --line:var(--btp-border);--bg:var(--btp-page);--card:var(--btp-surface);--shadow:none;
  --crm-blue:var(--btp-brand-600);--crm-blue-dark:var(--btp-brand-700);--crm-line:var(--btp-border);--crm-muted:var(--btp-text-muted);
  --acc-blue:var(--btp-brand-600);--acc-blue-dark:var(--btp-brand-700);--acc-primary:var(--btp-brand-600);
  --acc-line:var(--btp-border);--acc-muted:var(--btp-text-muted);
  font-synthesis:none;
}
.btp-enterprise :is(h1,h2,h3,h4,strong,b){font-weight:600}
.btp-enterprise h1{font-size:24px;line-height:1.3;letter-spacing:-.035em}
.btp-enterprise h2{font-size:18px;line-height:1.4;letter-spacing:-.02em}
.btp-enterprise h3{font-size:16px;line-height:1.4}
.btp-enterprise :is(.erp-kicker,.crm-kicker,.eyebrow){font-size:12px;font-weight:500;letter-spacing:.04em}
.btp-enterprise :is(.crm-top,.acc-top,.erp-top,.producer-main>.top,.topbar){
  height:auto;min-height:var(--btp-topbar);padding-block:12px;gap:16px;box-shadow:none;
}
.btp-enterprise :is(.erp-top,.crm-top,.acc-top) h1{font-size:23px;margin:0}
.btp-enterprise :is(.sidebar,.crm-side,.acc-side,.erp-sidebar,.producer-side){padding:20px 12px;border-right:0;scrollbar-width:thin;scrollbar-color:#30425b transparent}
.btp-enterprise :is(.brand,.crm-brand-row,.acc-brand-row,.erp-brand-row,.erp-brand){border-bottom:0!important}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module)>summary{font-size:13px!important;font-weight:500!important;min-height:44px;padding:10px 12px!important;letter-spacing:0}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) :is(a,button){font-weight:400!important;line-height:1.4}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) :is(a,button).active{
  background:#162a46!important;color:#fff!important;box-shadow:inset 3px 0 var(--btp-brand-500)!important;font-weight:500!important;
}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) :is(.crm-parameter,.acc-parameter,.btp-param-link){border-top:0!important;margin-top:2px!important;border-radius:7px!important}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) .btp-icon-slot{background:transparent!important;color:#9eb0cc}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module)>div{padding-left:12px!important}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) a>span:not(.btp-icon-slot){min-width:0}
.btp-enterprise .btp-main-nav{max-height:none;flex:1;overflow:auto}
.btp-enterprise :is(.sidebar-foot,.crm-back,.acc-back,.erp-back){font-size:12px}
/* Original supplied bitmap: white mounting surface, no crop, filter or recolor. */
img.btp-original-logo{display:block!important;width:176px!important;max-width:100%!important;height:auto!important;max-height:64px!important;aspect-ratio:1287/382;object-fit:contain!important;background:#fff;border:6px solid #fff;border-radius:6px;filter:none!important;flex-shrink:1}
img[src*="btpoint-logo-white.png"]{content:url('./assets/btpoint-logo-original.png');background:#fff;border:6px solid #fff;border-radius:6px;filter:none!important}
.btp-enterprise :is(.brand,.crm-brand,.acc-brand-row,.erp-brand){min-width:0}
.btp-enterprise :is(.brand,.crm-brand-row,.acc-brand-row,.erp-brand-row){min-height:64px;margin-bottom:16px;padding-bottom:0;align-items:center}
.btp-enterprise :is(.crm-side,.acc-side,.erp-sidebar) h1{font-size:16px;font-weight:500;margin:8px 8px 4px}
.btp-enterprise :is(.crm-side,.acc-side,.erp-sidebar)>small{display:block;font-size:12px;color:#aab9ce;margin:0 8px 16px}
.btp-enterprise :is(.crm-panel,.acc-panel,.erp-card,.panel,.card){padding:20px;border-radius:10px!important}
.btp-enterprise :is(.crm-panel,.acc-panel,.erp-card,.panel,.card) :is(.crm-panel,.acc-panel,.erp-card,.panel,.card){box-shadow:none!important}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics){gap:16px!important}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics)>*{padding:20px;min-height:108px;border-top:1px solid var(--btp-border)!important}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics)>*::after{display:none}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics) :is(strong,b){font-size:28px;font-weight:600;line-height:1.25;color:var(--btp-text)}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics) small{font-size:12px}
.btp-enterprise :is(.erp-grid,.crm-grid,.acc-grid){gap:24px}
.btp-enterprise :is(.erp-fields,.crm-fields,.fields){gap:16px}
.btp-enterprise :is(label,.erp-fields label,.erp-filter label,.erp-line label){font-size:13px;font-weight:500;line-height:1.5}
.btp-enterprise :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select){min-height:42px;padding:9px 12px;line-height:22px}
.btp-enterprise :where(input,select,textarea)::placeholder{color:var(--btp-text-muted);opacity:1}
.btp-enterprise :where(textarea){padding:12px;resize:vertical;line-height:1.5}
.btp-enterprise :where(input[type=checkbox],input[type=radio]){accent-color:var(--btp-brand-600)}
.btp-enterprise :is(.erp-section-title,.form-section-title){font-size:16px;font-weight:600;margin-top:16px;padding-bottom:12px;color:var(--btp-text)}
.btp-enterprise :is(.crm-btn,.acc-btn,.erp-btn,.btn){min-height:40px;font-size:14px;line-height:20px;padding:9px 16px;font-weight:500!important;border:1px solid var(--btp-border-strong);text-decoration:none;cursor:pointer;transition:background-color var(--btp-motion),border-color var(--btp-motion)}
.btp-enterprise :is(.crm-btn,.acc-btn,.erp-btn,.btn):is(.secondary,.ghost){background:var(--btp-surface)!important;color:var(--btp-text)!important;filter:none}
.btp-enterprise :is(.crm-btn,.acc-btn,.erp-btn,.btn).ghost{background:transparent!important;border-color:transparent!important}
.btp-enterprise :is(.crm-btn,.acc-btn,.erp-btn,.btn).danger{background:var(--btp-danger-bg)!important;color:var(--btp-danger)!important;border-color:var(--btp-danger)!important}
.btp-enterprise :is(.crm-btn,.acc-btn,.erp-btn,.btn):disabled{opacity:.5;cursor:not-allowed}
.btp-enterprise :is(.erp-toolbar,.crm-toolbar,.acc-toolbar,.toolbar){display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.btp-enterprise :is(.erp-toolbar,.crm-toolbar,.acc-toolbar,.toolbar) input{flex:1;min-width:180px;max-width:480px}
.btp-enterprise thead th{height:44px;padding:12px 16px!important;font-size:12px!important;font-weight:500!important;text-transform:none;letter-spacing:0;border-inline:0!important}
.btp-enterprise tbody td{height:50px;padding:12px 16px!important;font-size:14px;border-inline:0!important;vertical-align:middle}
.btp-enterprise tbody tr:hover td{background:#f3f6fc!important}
[data-btp-theme="dark"] .btp-enterprise tbody tr:hover td{background:var(--btp-surface-2)!important}
.btp-enterprise table small{font-size:12px}
.btp-enterprise table :is(.btn,.erp-btn,.acc-btn,.crm-btn){min-height:32px;padding:5px 10px;font-size:12px}
.btp-enterprise :is(.crm-pill,.tag,.erp-status,.badge){font-size:12px;font-weight:500!important;padding:3px 8px;border-radius:5px}
.btp-enterprise :is(.crm-empty,.acc-empty,.erp-empty){padding:32px 24px!important;font-size:14px;line-height:1.6;background:transparent}
.btp-enterprise :is(.erp-tabs,.crm-tabs,.acc-tabs,.cq-tabs){gap:0;border-radius:0!important;border-bottom:1px solid var(--btp-border);background:transparent!important;padding:0;overflow:auto}
.btp-enterprise :is(.erp-tabs,.crm-tabs,.acc-tabs,.cq-tabs)>:is(a,button){padding:12px 16px;min-height:44px;border:0;border-bottom:2px solid transparent;border-radius:0!important;background:transparent!important;font-weight:500!important;box-shadow:none!important;color:var(--btp-text-muted)}
.btp-enterprise :is(.erp-tabs,.crm-tabs,.acc-tabs,.cq-tabs)>:is(a,button).active{color:var(--btp-brand-700)!important;border-bottom-color:var(--btp-brand-600);background:transparent!important}
.btp-enterprise :is(.modal-card,.modal-content,.dialog,.pos-modal-card){border-radius:10px!important;box-shadow:var(--btp-shadow-overlay)!important}
.btp-enterprise :is(.dropdown-menu,.popover){border:1px solid var(--btp-border);border-radius:8px;box-shadow:0 8px 24px #07142614}
.btp-enterprise :is(.crm-search,.global-search) input{background:var(--btp-surface-2)!important}
.btp-enterprise .btp-breadcrumb{font-size:12px;font-weight:400;margin-block:8px 20px;flex-wrap:wrap}
.btp-enterprise .btp-breadcrumb span:last-child{font-weight:500}
.btp-enterprise .cq-module{--cq-blue:var(--btp-brand-600);--cq-info:var(--btp-brand-700);--cq-navy:var(--btp-brand-950);--cq-bg:var(--btp-page);--cq-text:var(--btp-text);--cq-muted:var(--btp-text-muted);--cq-border:var(--btp-border)}
.btp-enterprise .cq-module :is(button,.cq-primary,.cq-actions a){min-height:40px;border-radius:8px;font-weight:500}
.btp-enterprise .cq-form-grid label{font-size:13px;font-weight:500}
.btp-enterprise :is(.cq-editor,.cq-summary,.cq-detail){border-radius:10px;border-color:var(--btp-border);background:var(--btp-surface);color:var(--btp-text)}
.btp-enterprise .cq-step-nav{background:var(--btp-surface-2)}
.btp-enterprise .cq-step-nav button{background:transparent;color:var(--btp-text-muted)}
.btp-enterprise .cq-step-nav button.active{color:var(--btp-brand-700)}
.btp-enterprise .cq-form-grid label{color:var(--btp-text)}
[data-btp-theme="dark"]{--btp-brand-700:#93b4ff}
.btp-enterprise .cq-summary{border-top-width:1px}
.btp-enterprise .cq-step-nav button{border-radius:0;border-right:0;min-height:44px}
.btp-enterprise .cq-step-nav button.active{box-shadow:inset 0 -2px var(--btp-brand-600)}
.btp-enterprise .cq-toolbar h3{font-size:18px}
.btp-enterprise .cq-status{font-size:12px;font-weight:500;border-radius:5px}
/* POS retains its existing catalog, basket, payment handlers and touch targets. */
.btp-enterprise .acc-pos{--pos-surface:var(--btp-surface);--pos-soft:var(--btp-surface-2);--pos-strong:var(--btp-brand-950)}
.btp-enterprise :is(.pos-commandbar,.pos-box,.pos-products,.pos-customer-card,.acc-cart){border-radius:10px!important;box-shadow:none!important}
.btp-enterprise .pos-commandbar{background:var(--btp-surface)!important}
.btp-enterprise :is(.pos-product,.pos-product-add){border-radius:8px!important;box-shadow:none!important}
.btp-enterprise .pos-product-image{background:var(--btp-surface-2)!important}
.btp-enterprise .pos-product-image img{object-fit:contain}
.btp-enterprise .pos-payment-methods button{min-height:52px;font-size:16px;font-weight:500}
.btp-enterprise :is(.pos-totals,.pos-cart-head){background:var(--btp-surface)!important}
.btp-enterprise .pos-modal{backdrop-filter:none}
.btp-enterprise .pos-product-name{font-size:14px;font-weight:500}
.btp-enterprise .pos-product-price{font-size:18px;font-weight:600}
.btp-enterprise :is(.pos-actionbar,.pos-command-actions) button{font-weight:500;min-height:44px}
@media(min-width:981px){
  .btp-enterprise :is(.layout,.crm-shell,.acc-shell,.erp-shell,.producer-layout){grid-template-columns:var(--btp-sidebar) minmax(0,1fr)}
  .btp-enterprise:is(.btp-menu-collapsed,.crm-menu-collapsed,.acc-menu-collapsed,.erp-menu-collapsed) :is(.layout,.crm-shell,.acc-shell,.erp-shell){grid-template-columns:var(--btp-sidebar-mini) minmax(0,1fr)}
  .btp-enterprise.erp-body.menu-collapsed .erp-shell{grid-template-columns:var(--btp-sidebar-mini) minmax(0,1fr)}
  .btp-enterprise.erp-body.menu-collapsed img.btp-original-logo{width:48px!important;border-width:2px}
  .btp-enterprise.erp-body.menu-collapsed .erp-brand-row{flex-direction:column}
  .btp-enterprise.erp-body.menu-collapsed .erp-brand{flex:0 0 auto;width:48px}
  .btp-enterprise:is(.btp-menu-collapsed,.crm-menu-collapsed,.acc-menu-collapsed,.erp-menu-collapsed) img.btp-original-logo{width:48px!important;border-width:2px}
  .btp-enterprise :is(.crm-main,.acc-main,.erp-main,.main){padding-inline:32px}
}
@media(max-width:980px){
  .btp-enterprise :is(.erp-grid.form-list){grid-template-columns:minmax(0,1fr)}
  .btp-enterprise :is(.crm-top,.acc-top,.erp-top,.topbar){flex-wrap:wrap;gap:8px}
}
@media(max-width:640px){
  .btp-enterprise :is(.crm-panel,.acc-panel,.erp-card,.panel,.card){padding:16px}
  .btp-enterprise :is(.erp-fields,.erp-fields.cols-4){grid-template-columns:minmax(0,1fr)}
  .btp-enterprise .erp-fields .span-2{grid-column:auto}
  .btp-enterprise :is(h1,.erp-top h1){font-size:22px}
  .btp-enterprise :is(.btn,.crm-btn,.acc-btn,.erp-btn){min-height:44px}
  .btp-enterprise :is(.erp-toolbar,.crm-toolbar,.acc-toolbar,.toolbar) input{width:100%;max-width:none}
  .btp-enterprise :is(input:not([type=checkbox]):not([type=radio]),select){font-size:16px}
  .btp-enterprise .btp-nav-module>div{background:var(--btp-brand-900)}
}
@media(prefers-reduced-motion:reduce){.btp-enterprise *{transition:none!important;animation:none!important}}
@media print{.btp-enterprise table :is(th,td){height:auto;padding:6px!important}.btp-enterprise{--btp-page:#fff;--btp-text:#000}.btp-enterprise .btp-breadcrumb{display:none}}

/* Brand header: reserve a separate control lane; never overlap the wordmark. */
.btp-enterprise .sidebar{position:relative;background:linear-gradient(to bottom,#fff 0 92px,var(--btp-brand-950) 92px)!important}
.btp-enterprise .sidebar>.brand{width:calc(100% - 52px);min-width:0;min-height:60px;padding:0!important;margin:0 52px 20px 0!important;display:flex;align-items:center}
.btp-enterprise :is(.brand,.crm-brand,.acc-brand-row,.erp-brand) img.btp-original-logo,
.btp-enterprise .brand img[src*="btpoint-logo-white.png"]{box-sizing:border-box!important;width:100%!important;max-width:176px!important;height:auto!important;max-height:none!important;aspect-ratio:auto;border:8px solid #fff;border-radius:4px;object-fit:contain!important}
.btp-enterprise .sidebar>.brand img.btp-original-logo{border:0!important;border-radius:0!important;background:transparent!important}
.btp-enterprise .btp-menu-collapse{top:28px!important;right:12px!important;width:44px!important;height:44px!important;min-height:44px!important;display:flex;align-items:center;justify-content:center;background:#fff!important;color:#101828!important;border:1px solid #e4eaf1!important;border-radius:7px;z-index:1}
.btp-enterprise .btp-menu-collapse:focus-visible{outline:2px solid #93b4ff;outline-offset:2px}
.btp-enterprise :is(.crm-brand-row,.acc-brand-row,.erp-brand-row){gap:12px}
.btp-enterprise :is(.crm-brand,.erp-brand){flex:1;min-width:0}
@media(min-width:981px){
  .btp-enterprise.btp-menu-collapsed .sidebar>.brand{width:100%;margin:0 0 64px!important;min-height:32px}
  .btp-enterprise.btp-menu-collapsed .sidebar{background:linear-gradient(to bottom,#fff 0 124px,var(--btp-brand-950) 124px)!important}
  .btp-enterprise.btp-menu-collapsed .btp-menu-collapse{top:64px!important;right:14px!important}
  .btp-enterprise:is(.btp-menu-collapsed,.crm-menu-collapsed,.acc-menu-collapsed,.erp-menu-collapsed,.menu-collapsed) :is(.brand,.crm-brand,.acc-brand-row,.erp-brand) img.btp-original-logo{width:48px!important;max-width:100%!important;border-width:2px}
}
@media(max-width:980px){
  .btp-enterprise .btp-menu-collapse{display:none!important}
  .btp-enterprise .sidebar>.brand{width:100%;margin:0 0 16px!important}
}

/* BTPOINT Workspace · 2026-09-08. No new routes, event handlers or data assumptions. */
.btp-enterprise{--btp-border-strong:#cbd4e1;--btp-surface-2:#f7f9fc;letter-spacing:-.012em}
.btp-enterprise :is(.crm-top,.acc-top,.erp-top,.topbar){border-bottom:1px solid var(--btp-border);background:var(--btp-surface)!important;color:var(--btp-text);min-height:72px}
.btp-enterprise :is(.crm-top,.acc-top,.erp-top,.topbar) h1{font-size:18px!important;font-weight:500;letter-spacing:-.025em}
.btp-enterprise :is(.crm-main,.acc-main,.erp-main,.main){min-width:0}
.btp-enterprise :is(.crm-panel,.acc-panel,.erp-card,.panel,.card){box-shadow:0 1px 2px #07142603!important;border:1px solid var(--btp-border)}
.btp-enterprise :is(.crm-side,.acc-side,.erp-sidebar,.producer-side){background:var(--btp-brand-950)!important}
.btp-enterprise :is(.crm-brand-row,.acc-brand-row,.erp-brand-row){background:#fff;margin:-20px -12px 24px;padding:16px 12px!important;min-height:80px;gap:8px}
.btp-enterprise :is(.crm-brand-row,.acc-brand-row,.erp-brand-row) img.btp-original-logo{border:0!important;border-radius:0!important;width:100%!important;max-width:174px!important}
.btp-enterprise :is(.crm-collapse,.acc-collapse,.erp-collapse){background:#f7f9fc!important;border:1px solid #e4eaf1!important;color:#475467!important;min-height:36px;min-width:28px}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module){border:0!important;background:transparent!important;margin-bottom:8px;border-radius:0!important;box-shadow:none!important}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module)>summary{color:#a6b4c9!important;background:transparent!important;font-size:12px!important;padding-block:12px!important}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) :is(a,button){min-height:40px;border-radius:7px!important;color:#c8d4e6!important;padding-block:10px!important;transition:background-color 160ms,color 160ms}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) :is(a,button):hover{background:#132640!important;color:#fff!important}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) :is(a,button).active{background:#183458!important;color:#fff!important;box-shadow:inset 2px 0 #60a5fa!important}
.btp-enterprise :is(.crm-module,.acc-module,.erp-module,.btp-nav-module) .active .btp-icon-slot{color:#8bbaff!important}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics){gap:0!important;background:var(--btp-surface);border:1px solid var(--btp-border);border-radius:10px;overflow:hidden}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics)>*{border:0!important;border-inline-end:1px solid var(--btp-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:24px;min-height:128px}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics)>*:last-child{border-inline-end:0!important}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics) :is(strong,b){font-size:32px;letter-spacing:-1.2px;font-weight:500;font-variant-numeric:tabular-nums}
.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics) small{font-size:12px;font-weight:500;color:var(--btp-text-muted);letter-spacing:0}
.btp-enterprise :is(.erp-toolbar,.crm-toolbar,.acc-toolbar,.toolbar){padding-bottom:16px;border-bottom:1px solid var(--btp-border)}
.btp-enterprise :is(.btn,.crm-btn,.acc-btn,.erp-btn){border-radius:7px;box-shadow:0 1px 2px #07142605}
.btp-enterprise :is(.btn,.crm-btn,.acc-btn,.erp-btn):not(:disabled):hover{border-color:#96b6e7;filter:none;box-shadow:0 1px 3px #0714260b}
.btp-enterprise :is(.btn,.crm-btn,.acc-btn,.erp-btn).primary{background:var(--btp-brand-600)!important;color:#fff!important;border-color:var(--btp-brand-600)!important}
.btp-enterprise :where(input,select,textarea){box-shadow:0 1px 2px #07142603}
.btp-enterprise :where(input,select,textarea):focus{border-color:var(--btp-brand-600)!important;outline:3px solid #2563eb1f;outline-offset:1px}
.btp-enterprise :where(a,button,summary):focus-visible{outline:3px solid #77a8ff;outline-offset:3px}
.btp-enterprise :is(.erp-table,.crm-table-wrap,.acc-table-wrap){border:1px solid var(--btp-border);border-radius:8px;overflow:auto}
.btp-enterprise thead th{background:var(--btp-surface-2)!important;color:var(--btp-text-muted);height:44px;border-bottom:1px solid var(--btp-border);font-size:12px!important;font-weight:500!important}
.btp-enterprise tbody td{height:56px;border-bottom:1px solid var(--btp-border);font-variant-numeric:tabular-nums;font-size:13px}
.btp-enterprise tbody tr:last-child td{border-bottom:0}
.btp-enterprise tbody tr:hover td{background:#f5f8ff!important}
.btp-enterprise :is(.badge,.erp-status,.crm-pill,.tag){border:1px solid transparent;padding:4px 9px;border-radius:5px}
.btp-enterprise :is(.erp-empty,.crm-empty,.acc-empty){min-height:120px;display:revert;color:var(--btp-text-muted)}
.btp-enterprise :is(.erp-tabs,.crm-tabs,.acc-tabs,.cq-tabs){margin-bottom:24px}
.btp-enterprise :is(.erp-tabs,.crm-tabs,.acc-tabs,.cq-tabs)>:is(a,button){min-height:48px;white-space:nowrap}
.btp-enterprise :is(.modal-content,.modal-card,.dialog,.pos-modal-card){border:1px solid var(--btp-border);padding:24px}
[data-btp-theme="dark"] .btp-enterprise{--btp-border-strong:#446271;--btp-surface-2:#192d39}
[data-btp-theme="dark"] .btp-enterprise tbody tr:hover td{background:var(--btp-surface-3)!important}
@media(max-width:640px){
  .btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics)>*{padding:16px;min-height:110px;border-bottom:1px solid var(--btp-border)!important}
  .btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics) :is(strong,b){font-size:26px}
  .btp-enterprise :is(.erp-toolbar,.crm-toolbar,.acc-toolbar,.toolbar){gap:8px}
  .btp-enterprise :is(.crm-top,.acc-top,.erp-top,.topbar){min-height:64px}
}
@media print{.btp-enterprise :is(.crm-metrics,.acc-metrics,.erp-metrics,.metrics)>*{min-height:0;padding:8px}}
/* September corporate artwork: original horizontal bitmap, subtitle masked only. */
html body.btp-enterprise{--btp-brand-accent:#4476fb;--btp-brand-600:#2454c6;--btp-brand-700:#1943a6}
html body.btp-enterprise :is(.sidebar,.crm-side,.acc-side,.erp-sidebar,.producer-side){background:#071426!important}
html body.btp-enterprise :is(.crm-brand-row,.acc-brand-row,.erp-brand-row){background:#071426!important;border-bottom:1px solid #23334b;margin-bottom:24px}
html body.btp-enterprise :is(.brand,.crm-brand,.acc-brand-row,.erp-brand) img.btp-original-logo,
html body.btp-enterprise img[src*="btpoint-logo-white.png"]{content:url('./assets/btpoint-brand-dark.png');background:transparent!important;border:0!important;border-radius:0!important;aspect-ratio:8192/2748!important;height:auto!important;max-height:none!important;clip-path:polygon(0 0,100% 0,100% 81%,34% 81%,34% 100%,0 100%);filter:none!important}
html body.btp-enterprise .btp-menu-collapse,html body.btp-enterprise .erp-collapse{background:#152940!important;color:#dce7fa!important;border-color:#31445d!important}
/* Stable app shell: sidebar remains reachable while the content scrolls. */
/* The legacy mobile icon dock cannot contain grouped navigation. Keep it in flow. */
@media(max-width:980px){
 html body.btp-enterprise .layout{display:block}
 html body.btp-enterprise .layout>.sidebar{position:relative;inset:auto;width:100%;height:auto;min-height:0;max-height:none;padding:14px;overflow:visible}
 html body.btp-enterprise .sidebar>.brand{display:flex;width:100%;min-height:40px;margin:0 0 12px!important;padding:0!important}
 html body.btp-enterprise .sidebar>.brand:after{content:none}
 html body.btp-enterprise .sidebar>.brand img{display:block;width:180px;max-width:100%;height:auto;max-height:48px;object-fit:contain}
 html body.btp-enterprise .sidebar .btp-main-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;max-height:none;overflow:visible;padding:0;gap:6px!important}
 html body.btp-enterprise .sidebar .btp-nav-module{min-width:0}
 html body.btp-enterprise .sidebar .btp-nav-module[open]{grid-column:1/-1}
 html body.btp-enterprise .sidebar .btp-nav-module summary{justify-content:flex-start;min-height:48px;padding:10px;gap:8px}
 html body.btp-enterprise .sidebar .btp-nav-module summary span:not(.icon),html body.btp-enterprise .sidebar .btp-nav-module summary b,html body.btp-enterprise .sidebar .nav button span:not(.icon){display:inline;white-space:normal}
 html body.btp-enterprise .sidebar .btp-nav-module>div{position:static;inset:auto;box-shadow:none;background:transparent;border:0;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;gap:4px}
 html body.btp-enterprise .sidebar .btp-nav-module:not([open])>div{display:none}
 html body.btp-enterprise .sidebar .btp-nav-module[open]>div{display:grid}
 html body.btp-enterprise .sidebar .nav button{width:100%;min-height:48px;justify-content:flex-start;padding:10px;gap:8px}
 html body.btp-enterprise .sidebar-foot{display:block;position:static;margin-top:12px;padding-top:12px}
}
@media(min-width:981px){
 html body.btp-enterprise .layout>.sidebar{position:sticky;top:0;height:100vh;height:100dvh;align-self:start;overflow-y:auto;overscroll-behavior:contain}
 html body.btp-enterprise .layout>main{min-width:0}
}
html body.btp-enterprise #dashboard .executive-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
html body.btp-enterprise #dashboard .executive-feed{min-width:0;min-height:0!important;height:auto!important;overflow:hidden}
html body.btp-enterprise #dashboard .executive-feed-list{max-height:320px;overflow:auto;overscroll-behavior:contain}
html body.btp-enterprise #dashboard .executive-feed-item{overflow-wrap:anywhere}
html body.btp-enterprise #dashboard .btp-live-agenda .list{max-height:320px;overflow:auto}
@media(max-width:760px){html body.btp-enterprise #dashboard .executive-summary-grid{grid-template-columns:minmax(0,1fr)}}
/* Live workspace: original server-rendered metrics and record controls, no fixture data. */
html body.btp-enterprise #dashboard.btp-live-dashboard{max-width:1440px;margin-inline:auto;min-width:0}
html body.btp-enterprise #dashboard.btp-live-dashboard>.hero{background:transparent!important;border:0!important;padding:8px 0 24px!important;align-items:center;gap:24px;box-shadow:none!important}
html body.btp-enterprise #dashboard.btp-live-dashboard>.hero h2{font-size:clamp(24px,2.4vw,34px);letter-spacing:-.04em;margin:6px 0 8px;line-height:1.2}
html body.btp-enterprise #dashboard .btp-workspace-kicker{font-size:11px;letter-spacing:.12em;font-weight:600;color:var(--btp-brand-600);margin:0 0 10px}
html body.btp-enterprise #dashboard .btp-live-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;background:var(--btp-surface);border:1px solid var(--btp-border);border-radius:10px;overflow:hidden;margin-bottom:24px}
html body.btp-enterprise #dashboard .btp-live-metrics>.metric{min-width:0;min-height:126px;padding:22px 24px!important;border:0!important;border-right:1px solid var(--btp-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:flex;flex-direction:column;gap:8px}
html body.btp-enterprise #dashboard .btp-live-metrics>.metric:last-child{border-right:0!important}
html body.btp-enterprise #dashboard .btp-live-metrics .label{font-size:13px;color:var(--btp-text-muted)}
html body.btp-enterprise #dashboard .btp-live-metrics strong{font-size:30px;color:var(--btp-text);line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
html body.btp-enterprise #dashboard .btp-live-metrics small{font-size:12px;color:var(--btp-text-muted)}
html body.btp-enterprise #dashboard .btp-live-workspace{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:24px;margin-bottom:24px;align-items:stretch}
html body.btp-enterprise #dashboard .btp-live-agenda{padding:20px!important;min-height:0;background:var(--btp-surface);border:1px solid var(--btp-border)}
html body.btp-enterprise #dashboard .btp-live-agenda .panel-head{background:transparent!important;color:var(--btp-text)!important;padding:0 0 18px;border-bottom:1px solid var(--btp-border);margin-bottom:0}
html body.btp-enterprise #dashboard .btp-live-agenda .task{padding:18px 0;border:0;border-bottom:1px solid var(--btp-border);border-radius:0;box-shadow:none;background:transparent}
html body.btp-enterprise #dashboard .btp-live-focus{background:#0b1e36;color:#fff;border-radius:10px;padding:20px;min-width:0;display:flex;flex-direction:column}
html body.btp-enterprise #dashboard .btp-live-focus .btp-workspace-kicker{color:#a8c1ff}
html body.btp-enterprise #dashboard .btp-live-focus h3{color:#fff;margin:0 0 8px;font-size:18px;line-height:1.3;letter-spacing:-.02em}
html body.btp-enterprise #dashboard .btp-focus-description{color:#b6c5d9;line-height:1.5;margin:0 0 12px;font-size:13px}
html body.btp-enterprise #dashboard .btp-live-payment{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;padding:14px!important;background:#152f50!important;border:1px solid #3d587a!important;border-radius:8px!important;box-shadow:none!important;color:#fff!important;margin-top:auto;cursor:pointer;min-height:88px;text-align:left}
html body.btp-enterprise #dashboard .btp-live-payment:hover{background:#1c3c64!important}
html body.btp-enterprise #dashboard .btp-live-payment .label,html body.btp-enterprise #dashboard .btp-live-payment small{color:#d5e2f2!important;font-size:13px}
html body.btp-enterprise #dashboard .btp-live-payment strong{color:#fff!important;font-size:30px;line-height:1}
html body.btp-enterprise #dashboard .btp-live-portfolio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;padding:24px!important;margin:0 0 28px;border:1px solid var(--btp-border);background:var(--btp-surface)}
html body.btp-enterprise #dashboard .btp-live-portfolio>.panel-head{grid-column:1/-1;background:transparent!important;padding:0 0 18px;margin-bottom:4px;border-bottom:1px solid var(--btp-border)}
html body.btp-enterprise #dashboard .btp-live-portfolio .project{padding:20px 0;min-width:0;background:transparent;border:0;overflow-wrap:anywhere}
html body.btp-enterprise #dashboard .btp-live-portfolio .row{align-items:flex-start;gap:12px}
html body.btp-enterprise #dashboard .btp-live-portfolio .progress{height:5px;background:var(--btp-surface-2);margin-top:16px;border-radius:3px}
html body.btp-enterprise #dashboard .btp-live-portfolio .progress i{background:var(--btp-brand-600)}
html body.btp-enterprise #dashboard .btp-live-empty{color:var(--btp-text-muted);font-size:14px;padding:16px 0;line-height:1.7;grid-column:1/-1}
html body.btp-enterprise #dashboard .executive-summary-head h2{font-size:20px}
html body.btp-enterprise #dashboard .executive-feed{padding:0!important;border:1px solid var(--btp-border)}
html body.btp-enterprise #dashboard .executive-feed-head{background:var(--btp-surface)!important;color:var(--btp-text)!important;padding:20px 22px}
html body.btp-enterprise #dashboard .executive-feed-head h3{color:var(--btp-text)!important;font-size:15px}
html body.btp-enterprise #dashboard .executive-feed-head span{color:var(--btp-text-muted);font-size:11px;font-weight:500}
html body.btp-enterprise #dashboard .executive-feed-item{background:var(--btp-surface);padding:16px 22px;min-height:64px}
html body.btp-enterprise #dashboard .executive-feed-item:hover{background:var(--btp-surface-2)}
@media(max-width:1100px){html body.btp-enterprise #dashboard .btp-live-workspace{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}html body.btp-enterprise #dashboard .btp-live-portfolio{grid-template-columns:repeat(2,minmax(0,1fr))}html body.btp-enterprise #dashboard .btp-live-metrics>.metric{padding:18px!important}}
@media(max-width:760px){html body.btp-enterprise #dashboard .btp-live-workspace{grid-template-columns:1fr}html body.btp-enterprise #dashboard .btp-live-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}html body.btp-enterprise #dashboard .btp-live-metrics>.metric{border-bottom:1px solid var(--btp-border)!important}html body.btp-enterprise #dashboard.btp-live-dashboard>.hero{align-items:flex-start;flex-direction:column}html body.btp-enterprise #dashboard .btp-live-portfolio{grid-template-columns:1fr}html body.btp-enterprise #dashboard .btp-live-focus{padding:22px}}
