/* Sofxemo Infotech Design Tokens & Global Chrome */
:root {
  --header-h: 64px;
  --fh: 'Plus Jakarta Sans', system-ui, sans-serif;
  --fb: 'Plus Jakarta Sans', system-ui, sans-serif;
  --fs: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, monospace;

  --white: #FFFFFF;
  --black: #000000;
  --bg: #FFFFFF;
  --surface-1: #F8FAFC;
  --surface-2: #F1F5F9;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E1;
  --grey-400: #94A3B8;
  --ink: #0B1220;
  --ink2: #475569;
  --ink3: #64748B;
  --faint: #CBD5E1;

  --a2: #38BDF8;
  --a2-hover: #22D3EE;
  --accent: #1263DF;
  --brand-50: #EFF6FF;
  --brand-100: #DBEAFE;
  --brand-300: #38BDF8;
  --brand-400: #60A5FA;
  --brand-600: #1D4ED8;
  --brand-700: #1E40AF;

  --teal: #0D9488;
  --teal-50: #CCFBF1;
  --teal-100: #D1FAE5;
  --teal-300: #34D399;
  --teal-600: #059669;
  --teal-800: #065F46;
  --teal-900: #064E3B;
  --teal-ink: #0F766E;

  --amber: #F59E0B;
  --amber-50: #FEF3C7;
  --amber-300: #FCD34D;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --amber-ink: #78350F;

  --blue: #2563EB;
  --blue-50: #DBEAFE;
  --blue-300: #60A5FA;
  --blue-700: #1D4ED8;

  --rose: #E11D48;
  --rose-50: #FFE4E6;
  --rose-900: #881337;
  --pink: #A855F7;
  --pink-600: #7E22CE;
  --red: #E11D48;

  --night: #030712;
  --on-night: #F8FAFC;
  --receipt: #F8FBFF;
  --serp-link: #1D4ED8;
  --wa: #25D366;
  --c-openai: #10A37F;
  --c-meta: #1263DF;
  --c-google: #2563EB;

  --ink-rgb: 11, 18, 32;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --on-night-rgb: 248, 250, 252;
  --night-rgb: 3, 7, 18;
  --a2-rgb: 56, 189, 248;
  --teal-rgb: 13, 148, 136;
  --blue-rgb: 18, 99, 223;
  --red-rgb: 225, 29, 72;
  --shadow-rgb: 15, 23, 42;
  --receipt-rgb: 248, 251, 255;

  --on-night-2: rgba(var(--on-night-rgb), .68);
  --line-night: rgba(var(--on-night-rgb), .16);
  --line: rgba(var(--ink-rgb), .1);
  --line2: rgba(var(--ink-rgb), .18);

  --maxw: 1180px;
  --gut: clamp(18px, 3.4vw, 52px);
  --head: var(--header-h, 64px);
  --head-over: var(--header-h, 64px);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (min-width: 900px) {
  :root {
    --header-h: 72px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: #000000;
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  background-color: #FFFFFF;
  overflow-x: clip;
}

.sb-main-wrap {
  width: 100%;
  position: relative;
  z-index: 2;
  padding-top: var(--header-h, 64px);
}

/* Fixed Top Header (GPU-composited, zero scroll blur readback) */
.sb-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(22, 22, 26, 0.05);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease-out;
}

.sb-header-shell.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(22, 22, 26, 0.08);
}

.sb-header-shell.is-hidden {
  transform: translateY(-105%);
}

.sb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 8px 16px;
}

@media (min-width: 600px) {
  .sb-header {
    padding: 8px 24px;
  }
}

@media (min-width: 900px) {
  .sb-header {
    height: 72px;
    padding: 8px 24px;
  }
}

.sb-brand-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 16px;
}

@media (min-width: 900px) {
  .sb-brand-wrap {
    margin-right: 32px;
  }
}

.sb-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #000000;
  font-family: var(--fs);
  font-weight: 700;
  font-size: clamp(16px, 1.35vw, 20px);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.sb-brand-link::before {
  content: "";
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  background: url("/media/favicon-192.png") center / contain no-repeat;
}

.sb-brand-link:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .sb-brand-link {
    gap: 8px;
  }
  .sb-brand-link::before {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }
}

.sb-nav {
  display: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

@media (min-width: 900px) {
  .sb-nav {
    display: flex;
  }
}

.sb-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #000000;
  font-family: var(--fb);
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
}

.sb-nav-link:hover {
  background-color: rgba(18, 99, 223, 0.08);
  color: var(--accent);
}

.sb-nav-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.sb-nav-link:active {
  transform: scale(0.97);
}

.sb-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.sb-header-cta-wrap {
  display: none;
}

@media (min-width: 900px) {
  .sb-header-cta-wrap {
    display: contents;
  }
}

.sb-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1263DF 0%, #2563EB 100%);
  color: #FFFFFF;
  font-family: var(--fb);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 6px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(18, 99, 223, 0.28);
  transition: all 0.25s ease;
}

.sb-header-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(18, 99, 223, 0.36);
}

.sb-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-right: -12px;
  margin-left: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #000000;
  cursor: pointer;
}

.sb-menu-btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

@media (min-width: 900px) {
  .sb-menu-btn {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.sb-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(14, 26, 43, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: flex-end;
}

.sb-mobile-drawer.is-open {
  display: flex;
}

.sb-mobile-panel {
  width: min(320px, 86vw);
  height: 100%;
  background: #ffffff;
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: -20px 0 60px rgba(14, 26, 43, 0.2);
}

.sb-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-200);
}

.sb-mobile-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--grey-100);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}

.sb-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.sb-mobile-links a {
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
}

.sb-mobile-links a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.sb-mobile-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1263DF 0%, #2563EB 100%);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}

/* Dark Masthead Footer */
.sb-footer-section {
  background-color: var(--night);
  position: relative;
  color: #ffffff;
  isolation: isolate;
}

.sb-footer {
  font-family: var(--fb);
  font-size: clamp(0.8654rem, 1.0237vw, 1.0298rem);
  font-weight: 400;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: clamp(36px, 4vw, 56px) 2rem 26px;
}

@media (max-width: 899px) {
  .sb-footer {
    padding: 28px 1.25rem 26px;
  }
}

.sb-footer-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 899px) {
  .sb-footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.sb-footer-brand-wrap {
  min-width: 0;
}

.sb-footer-wordmark-box {
  overflow: hidden;
  margin-bottom: 16px;
}

.sb-footer-wordmark {
  margin: 0;
  font-family: var(--fs);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.75vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: normal;
  color: #ffffff;
}

@media (max-width: 899px) {
  .sb-footer-wordmark {
    font-size: 44px;
  }
}

.sb-footer-email {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, #ffffff 87%, #030712);
}

.sb-footer-tagline {
  margin: 0 0 12px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.sb-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.sb-footer-socials a {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.08);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sb-footer-socials a:hover {
  border-color: var(--brand-300);
  background: rgba(56, 189, 248, 0.16);
  color: #ffffff;
}

.sb-footer-email a {
  color: inherit;
  text-decoration: none;
}

.sb-footer-email a:hover {
  color: var(--brand-300);
}

.sb-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 899px) {
  .sb-footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }
}

.sb-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.sb-footer-kicker {
  font-family: var(--fb);
  font-size: max(0.8036rem, 12px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--brand-300);
}

.sb-footer-link {
  padding: 6px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  color: color-mix(in srgb, #ffffff 87%, #030712);
  text-decoration: none;
  transition: color 0.3s;
  overflow-wrap: anywhere;
}

.sb-footer-link:hover {
  color: var(--brand-300);
}

.sb-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 30px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* Lead Capture Modal Dialog (.lfd) */
.lfd {
  margin: auto;
  border: 0;
  padding: 0;
  border-radius: 24px;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.35);
  font: 400 15px/1.5 var(--fb);
  position: fixed;
}

.lfd::backdrop {
  background: rgba(11, 18, 36, 0.55);
  backdrop-filter: blur(4px);
}

html:has(dialog.lfd[open]) {
  overflow: hidden !important;
  scrollbar-gutter: stable;
}

.lfd form {
  padding: 26px;
  display: grid;
  gap: 12px;
}

.lfd .lfd-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f4f6f9;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lfd .lfd-x:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.lfd h3 {
  margin: 0 34px 0 0;
  font: 700 22px/1.2 var(--fs);
  letter-spacing: -0.02em;
}

.lfd h3 em {
  font-style: normal;
  color: var(--accent);
}

.lfd p {
  margin: 0;
  color: #64748b;
  font-size: 14.5px;
}

.lfd label {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.lfd input, .lfd select, .lfd textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: #0f172a;
  background: #fff;
}

.lfd input:focus, .lfd select:focus, .lfd textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 99, 223, 0.16);
}

.lfd .lfd-optional {
  color: #64748b;
  font-weight: 400;
}

.lfd .lfd-fine {
  font-size: 12.5px;
  text-align: center;
}

.lfd .lfd-fine a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lfd [hidden] {
  display: none !important;
}

.lfd .lfd-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
}

.lfd .lfd-consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  accent-color: var(--accent);
}

.lfd .lfd-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lfd .lfd-stack {
  display: grid;
  gap: 12px;
}

.lfd .lfd-go {
  margin-top: 4px;
  padding: 15px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 600 16px var(--fb);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lfd .lfd-go:hover {
  background: var(--brand-700);
}

.lfd .lfd-go:disabled {
  opacity: 0.7;
  cursor: default;
}

.lfd .lfd-err {
  min-height: 1em;
  color: #dc2626;
  font-size: 13.5px;
}

.lfd .lfd-done {
  padding: 54px 26px 34px;
  text-align: center;
  display: grid;
  gap: 10px;
}

.lfd .lfd-done b {
  font: 700 22px/1.2 var(--fs);
}

.lfd .lfd-done a {
  color: var(--accent);
  font-weight: 600;
}

.lfd .lfd-done .lfd-wa {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 480px) {
  .lfd .lfd-two {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lfd form {
    padding: 20px;
    gap: 10px;
  }
  .lfd h3 {
    font-size: 20px;
  }
  .lfd input, .lfd select, .lfd textarea {
    padding: 10px 12px;
  }
}

/* Floating Quick-Draft FAB & Chat Widget */
.sb-fab-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #1263DF 0%, #2563EB 100%);
  color: #FFFFFF;
  font-family: var(--fb);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(18, 99, 223, 0.36), 0 2px 8px rgba(3, 7, 18, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.2s ease;
}

.sb-fab-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sb-fab-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

@media (max-width: 899px) {
  .sb-fab-btn {
    display: none !important;
  }
}

.sb-fab-popover {
  position: fixed;
  right: 20px;
  bottom: 74px;
  z-index: 1060;
  width: min(380px, calc(100vw - 32px));
  max-height: min(78vh, 660px);
  overflow: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 28px 70px rgba(14, 26, 43, 0.3), 0 0 0 1px rgba(22, 22, 26, 0.08);
  font-family: var(--fb);
  color: var(--ink);
}

.sb-fab-popover[hidden] {
  display: none !important;
}

.sb-fab-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #f4f6f9;
  color: #4a4f5c;
  font-size: 17px;
  cursor: pointer;
}

.sb-fab-popover h4 {
  margin: 0 28px 6px 0;
  font-family: var(--fs);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}

.sb-fab-popover p.sb-fab-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink2);
}

.sb-fab-form {
  display: grid;
  gap: 10px;
}

.sb-fab-form input, .sb-fab-form select, .sb-fab-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  font: 400 14px/1.4 var(--fb);
  color: #0f172a;
}

.sb-fab-form input:focus, .sb-fab-form select:focus, .sb-fab-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 99, 223, 0.16);
}

.sb-fab-submit {
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #1263DF 0%, #2563EB 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.sb-fab-submit:hover {
  filter: brightness(1.05);
}

/* Chat Widget Toast & Launcher (Bottom Right) */
.sb-chat-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--fb);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.25s ease;
}

.sb-chat-root.has-fab-visible {
  transform: translate3d(0, -52px, 0);
}

.sb-chat-toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #16161A;
  padding: 12px 34px 12px 14px;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(14, 26, 43, 0.18), 0 0 0 1px rgba(22, 22, 26, 0.06);
  max-width: 290px;
  cursor: pointer;
}

.sb-chat-toast[hidden] {
  display: none !important;
}

.sb-chat-toast img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.sb-chat-toast p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #27272a;
}

.sb-chat-toast-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  cursor: pointer;
  padding: 2px 5px;
}

.sb-chat-launcher {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #1263DF 0%, #0EA5E9 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(18, 99, 223, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sb-chat-launcher:hover {
  transform: scale(1.06);
}

.sb-chat-panel {
  width: min(350px, calc(100vw - 32px));
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(3, 7, 18, 0.34), 0 0 0 1px rgba(11, 18, 32, 0.08);
  display: flex;
  flex-direction: column;
}

.sb-chat-panel[hidden] {
  display: none !important;
}

.sb-chat-head {
  background: var(--night);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-chat-head img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
}

.sb-chat-head-meta {
  flex: 1;
}

.sb-chat-head-meta b {
  display: block;
  font-size: 14px;
}

.sb-chat-head-meta span {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
}

.sb-chat-head-close {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

.sb-chat-messages {
  padding: 14px;
  height: 295px;
  max-height: 46vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
}

.sb-chat-msg {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-line;
}

.sb-chat-msg.bot {
  align-self: flex-start;
  background: #ffffff;
  color: #16161A;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.sb-chat-msg.user {
  align-self: flex-end;
  background: #1786FF;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.sb-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px 4px;
  background: #ffffff;
  border-top: 1px solid #eef2f6;
}

.sb-chat-quick button {
  font-size: 11.5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #dbe2ec;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
}

.sb-chat-quick button:hover {
  border-color: var(--accent);
  color: var(--brand-700);
}

.sb-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  background: #ffffff;
}

.sb-chat-form input {
  flex: 1;
  border: 1px solid #dfe3ea;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
}

.sb-chat-form button {
  border: 0;
  border-radius: 999px;
  background: #16161A;
  color: #ffffff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
