/* SentipAI — product identity. No tenant, fiscal or transactional styling is rewritten. */
html[data-sentipai-brand], html[data-sentipai-brand][data-ui-theme="softlyops"] {
  --sentipai-crimson:#bc002b;
  --sentipai-crimson-hover:#990024;
  --sentipai-ink:#101e29;
  --sentipai-muted:#5e6d79;
  --sentipai-line:#dce3e8;
  --sentipai-canvas:#f5f7f9;
  --sentipai-tint:#fff0f3;
  --ui-bg:var(--sentipai-canvas);
  --ui-surface:#fff;
  --ui-elevated:#fff;
  --ui-subtle:#f1f4f7;
  --ui-text:var(--sentipai-ink);
  --ui-muted:var(--sentipai-muted);
  --ui-border:var(--sentipai-line);
  --ui-accent:var(--sentipai-crimson);
  --ui-accent-hover:var(--sentipai-crimson-hover);
  --ui-on-accent:#fff;
  --ui-selected:var(--sentipai-tint);
  --ui-hover:#f5f7fa;
  --ui-focus:var(--sentipai-crimson);
  --ui-tooltip:var(--sentipai-ink);
  --ui-overlay:#101e2980;
  --ui-shadow:0 10px 32px #101e290b;
  --ink:var(--sentipai-ink);
  --wine:var(--sentipai-crimson);
  --wine-2:var(--sentipai-crimson-hover);
  --plum:var(--sentipai-crimson);
  --primary:var(--sentipai-crimson);
  --rose:#f4c9d2;
  --paper:#f8fafb;
  --line:var(--sentipai-line);
  --border:var(--sentipai-line);
  --muted:var(--sentipai-muted);
  --p91-ink:var(--sentipai-ink);
  --p91-muted:var(--sentipai-muted);
  --p91-wine:var(--sentipai-crimson);
  --p91-wine-dark:var(--sentipai-crimson-hover);
  --p91-cream:#f8fafb;
  --p91-line:var(--sentipai-line);
  --p91-gold:#a27a3f;
  --sw-ref-wine:var(--sentipai-crimson);
  --sw-ref-wine-deep:var(--sentipai-crimson-hover);
  --sw-ref-navy:var(--sentipai-ink);
  --sw-ref-background:var(--sentipai-canvas);
  --sw-ref-border:var(--sentipai-line);
  accent-color:var(--sentipai-crimson);
}
html[data-sentipai-brand] body:not(.pc79-page) {
  --wine:var(--sentipai-crimson);
  --wine-2:var(--sentipai-crimson-hover);
  --primary:var(--sentipai-crimson);
  --ink:var(--sentipai-ink);
  --muted:var(--sentipai-muted);
  --line:var(--sentipai-line);
  --ui-accent:var(--sentipai-crimson);
  --ui-text:var(--sentipai-ink);
  --ui-muted:var(--sentipai-muted);
  --ui-border:var(--sentipai-line);
  --ui-subtle:#f1f4f7;
}
html[data-sentipai-brand] body.so-compact-shell {
  --so-accent:var(--sentipai-crimson)!important;
  --so-page:var(--sentipai-canvas)!important;
  --so-scene-wine:var(--sentipai-crimson);
  --so-nav-bg:#fff;
  --so-nav-ink:var(--sentipai-ink);
  --so-tint:var(--sentipai-tint);
}
/* Supplied artwork has native bounds: remove all legacy raster offsets and filters. */
html[data-sentipai-brand] img[src^="/static/sentipai-brand-20261106/logo.svg"] {
  position:static!important;
  display:block;
  inset:auto!important;
  width:190px!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  max-height:76px!important;
  object-fit:contain!important;
  object-position:center;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  filter:none!important;
  opacity:1!important;
}
html[data-sentipai-brand] .logo-lockup {
  display:flex!important;
  align-items:center;
  position:relative;
  width:100%;
  aspect-ratio:auto!important;
  overflow:visible!important;
  line-height:0;
}
html[data-sentipai-brand] :is(.identity-logo,.logo-link.wordmark,.site-header .brand,.site-footer .brand,.p91-brand,.pa-logo,.control-logo,.so-sidebar-logo,.demo-brand) {
  display:flex!important;
  align-items:center;
  width:190px;
  max-width:100%;
  height:auto!important;
  min-height:48px;
  overflow:visible!important;
  flex-shrink:0;
}
html[data-sentipai-brand] :is(.p91-brand,.identity-logo) {width:192px!important}
html[data-sentipai-brand] .p91-footer .p91-brand {width:200px!important}
html[data-sentipai-brand] .site-header .brand {width:192px!important;min-width:150px}
html[data-sentipai-brand] .site-footer .brand {width:210px!important}
html[data-sentipai-brand] :is(.erp-brand,.sw-brand) {
  min-height:66px;
  height:66px;
  flex-basis:66px;
  padding:10px 14px;
  background:#fff;
  justify-content:center;
}
html[data-sentipai-brand] :is(.erp-brand,.sw-brand) img[src^="/static/sentipai-brand-"] {
  max-width:190px!important;
  max-height:48px!important;
}
html[data-sentipai-brand] .so-sidebar .so-sidebar-logo {width:154px!important;margin:0!important;min-height:44px}
html[data-sentipai-brand] .so-sidebar-logo img {max-height:44px!important}
html[data-sentipai-brand] .brand:has(>img[src^="/static/sentipai-brand-"]) {max-width:214px}
html[data-sentipai-brand] .control-logo {width:200px!important}
html[data-sentipai-brand] .login-brand img[src^="/static/sentipai-brand-"] {max-width:210px!important}
html[data-sentipai-brand] .terminal-mark img {width:30px;height:30px;display:block}
/* Shared navigation retains its fixed position and existing keyboard behavior. */
html[data-sentipai-brand] .erp-sidebar {border-right-color:var(--sentipai-line)!important;color:var(--sentipai-ink)!important}
html[data-sentipai-brand] .erp-sidebar a[aria-current="page"],
html[data-sentipai-brand] .erp-sidebar a.active {
  background:var(--sentipai-tint)!important;
  color:var(--sentipai-crimson)!important;
}
html[data-sentipai-brand] .erp-sidebar a[aria-current="page"] svg,
html[data-sentipai-brand] .erp-sidebar a.active svg {color:var(--sentipai-crimson)!important}
/* Access and Control carry the same restrained crimson/ink identity. */
html[data-sentipai-brand] .identity-page {background:#f7f9fb;color:var(--sentipai-ink)}
html[data-sentipai-brand] .identity-panel {background:#f7f9fb}
html[data-sentipai-brand] .identity-content .button.primary,
html[data-sentipai-brand] .identity-page .button.primary,
html[data-sentipai-brand] .control-login button[type="submit"] {background:var(--sentipai-crimson);border-color:var(--sentipai-crimson);color:#fff}
html[data-sentipai-brand] .identity-page .button.primary:hover,
html[data-sentipai-brand] .control-login button[type="submit"]:hover {background:var(--sentipai-crimson-hover)}
html[data-sentipai-brand] .identity-page :is(.eyebrow,a:not(.button),h1 em) {color:var(--sentipai-crimson)}
html[data-sentipai-brand] .control-login {background:#f5f7f9;color:var(--sentipai-ink)}
html[data-sentipai-brand] .login-terminal>header {background:var(--sentipai-ink)}
html[data-sentipai-brand] .terminal-mark {color:#fff}
/* Payments retain familiar financial semantics across plans, seats and DTE. */
html[data-sentipai-brand] .pc79-page {
  --ui-accent:#167347;
  --ui-accent-hover:#105d39;
  --ui-selected:#eef8f2;
  --ui-focus:#167347;
  --wine:#167347;
  --primary:#167347;
  accent-color:#167347;
}
@media(max-width:640px) {
  html[data-sentipai-brand] :is(.p91-brand,.identity-logo) {width:156px!important;min-height:42px}
  html[data-sentipai-brand] .site-header .brand {width:152px!important;min-width:128px}
  html[data-sentipai-brand] .logo-link.wordmark {width:158px}
  html[data-sentipai-brand] .brand:has(>img[src^="/static/sentipai-brand-"]) {max-width:180px}
}
@media print {
  html[data-sentipai-brand] img[src^="/static/sentipai-brand-"] {print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

html[data-sentipai-brand] .identity-footer {flex-wrap:wrap}
html[data-sentipai-brand] .sentipai-provider {flex-basis:100%;font-size:11px;line-height:1.5;color:var(--sentipai-muted);letter-spacing:.01em}
html[data-sentipai-brand] .login-top>img[src^="/static/sentipai-brand-"] {
  width:210px!important;
  max-width:210px!important;
  height:auto!important;
  flex:0 0 auto;
}
@media(max-width:640px) {
  html[data-sentipai-brand] .login-top>img[src^="/static/sentipai-brand-"] {width:156px!important;max-width:156px!important}
}

/* A light signature surface keeps the original navy wordmark readable on dark themes. */
html[data-sentipai-brand] .p91-footer {background:var(--sentipai-ink);color:#dce4eb}
html[data-sentipai-brand] :is(.p91-footer .p91-brand,.site-footer .brand) {
  padding:10px 14px;
  background:#fff;
  border-radius:10px;
  box-sizing:border-box;
}
html[data-sentipai-brand] .p91-footer-grid h2 {color:#a8b5c0}
html[data-sentipai-brand] .p91-footer-grid a {color:#dae3e9!important}
html[data-sentipai-brand] .p91-footer-bottom {color:#a8b5c0;border-top-color:#34444f}
html[data-sentipai-brand] :is(.p91-footer-top>p,.p91-footer-top>div>p) {color:#a8b5c0}
html[data-sentipai-brand] .p91-footer-top strong {color:#e7edf2}
html[data-sentipai-brand] body:is([data-so-theme="dark"],[data-so-theme="wine"]) .so-sidebar-logo {
  background:#fff!important;
  border-radius:8px;
  padding:4px 8px!important;
  box-sizing:border-box;
}
/* Public navigation stays readable over every photograph and while scrolling. */
html[data-sentipai-brand] body.immersive-site #site-header.site-header[data-surface],
html[data-sentipai-brand] body.immersive-site #site-header.site-header[data-surface].scrolled {
  background:rgba(255,255,255,.97)!important;
  color:var(--sentipai-ink)!important;
  border-bottom:1px solid var(--sentipai-line)!important;
  box-shadow:0 3px 18px #101e2909!important;
  --nav-ink:var(--sentipai-ink);
  --nav-shadow:none;
}
html[data-sentipai-brand] #site-header :is(.primary-nav>a:not(.button),.nav-dropdown>summary,.menu-toggle) {
  color:var(--sentipai-ink)!important;
  text-shadow:none!important;
}
html[data-sentipai-brand] #site-header .nav-cta,
html[data-sentipai-brand] .home-page .button.primary,
html[data-sentipai-brand] .assistant-launcher {
  background:var(--sentipai-crimson)!important;
  border-color:var(--sentipai-crimson)!important;
  color:#fff!important;
}
html[data-sentipai-brand] #site-header .nav-cta:hover,
html[data-sentipai-brand] .home-page .button.primary:hover,
html[data-sentipai-brand] .assistant-launcher:hover {background:var(--sentipai-crimson-hover)!important}
html[data-sentipai-brand] #site-header :is(.mega-menu,.primary-nav.open) {
  background:#fff!important;
  border-color:var(--sentipai-line)!important;
  color:var(--sentipai-ink)!important;
}
html[data-sentipai-brand] .home-page .hero h1 em {color:#ff5979!important}
html[data-sentipai-brand] .home-page .hero-actions .button.outline {color:#fff!important;border-color:#ffffffa6!important;background:#101e2926}
html[data-sentipai-brand] .home-page .slide-dot.active {background:transparent!important}
html[data-sentipai-brand] .home-page .slide-dot.active span {background:#ff5979!important}
html[data-sentipai-brand] .home-page .hero-manifesto {color:#f8fafc;letter-spacing:.14em}
html[data-sentipai-brand] .assistant-panel {background:#fff;border-color:var(--sentipai-line);color:var(--sentipai-ink)}
html[data-sentipai-brand] .assistant-panel>p {color:var(--sentipai-muted)}
html[data-sentipai-brand] .assistant-options button {background:#f5f7f9;border-color:var(--sentipai-line);color:var(--sentipai-ink)}
html[data-sentipai-brand] .assistant-options button:hover {background:var(--sentipai-tint);border-color:#e5aab8}
