/*
 * RingCentral-inspired public design system for VelocityDial.
 * The reference informed rhythm, hierarchy, warm gradient surfaces, two-tier
 * navigation, pill controls, motion restraint, and responsive behavior.
 * Branding, copy, product UI, and color values remain VelocityDial's own.
 */

:root {
  --rc-ink: #252321;
  --rc-copy: #3b3835;
  --rc-muted: #6d6862;
  --rc-line: #dedad5;
  --rc-line-soft: #eeeae5;
  --rc-canvas: #ffffff;
  --rc-warm: #fff7ef;
  --rc-orange: #ffad62;
  --rc-peach: #f7a4ad;
  --rc-pink: #e9a3c5;
  --rc-blue: #078dbb;
  --rc-blue-dark: #006f96;
  --rc-blue-soft: #e9f7fb;
  --rc-success: #1b9b6b;
  --rc-radius-sm: 12px;
  --rc-radius: 22px;
  --rc-radius-lg: 30px;
  --rc-container: 1368px;
  --rc-content: 1220px;
  --rc-shadow: 0 20px 55px rgba(47, 39, 31, .09);
  --rc-font: "Inter Tight", "Inter", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

body:has(.public-navigation) {
  background: var(--rc-canvas);
  color: var(--rc-ink);
  font-family: var(--rc-font);
  overflow-x: clip;
}

body:has(.public-navigation) :where(h1, h2, h3, h4, strong, button, a, input, select, textarea) {
  font-family: var(--rc-font);
}

body:has(.public-navigation) :where(h1, h2, h3) {
  color: var(--rc-ink);
  letter-spacing: -.045em;
}

body:has(.public-navigation) :where(p, li) {
  color: var(--rc-copy);
}

body:has(.public-navigation) :where(a, button, summary):focus-visible {
  outline: 3px solid rgba(7, 141, 187, .24) !important;
  outline-offset: 3px;
}

body .reference-nav.public-navigation {
  position: sticky !important;
  top: 0;
  z-index: 100;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 8px 16px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 1px 0 rgba(37, 35, 33, .06) !important;
  backdrop-filter: blur(18px);
}

body .reference-nav.public-navigation .reference-announcement {
  position: relative;
  display: flex !important;
  width: min(100%, var(--rc-container));
  min-height: 42px !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
  padding: 8px 48px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(96deg, #ffbb70 0%, #ffa46f 42%, #e7a0c8 100%) !important;
  box-shadow: none !important;
  color: var(--rc-ink) !important;
}

body .reference-nav.public-navigation .reference-announcement[hidden] {
  display: none !important;
}

body .reference-nav.public-navigation .reference-announcement p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: var(--rc-ink) !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 20px;
  text-align: center;
}

body .reference-nav.public-navigation .reference-announcement p strong {
  font-weight: 750;
}

body .reference-nav.public-navigation .reference-announcement a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 14px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff;
  color: var(--rc-blue-dark) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

body .reference-nav.public-navigation .reference-announcement button {
  position: absolute;
  top: 50%;
  right: 15px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 !important;
  translate: 0 -50%;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  cursor: pointer;
}

body .reference-nav.public-navigation .reference-announcement button img {
  width: 13px;
  height: 13px;
  filter: brightness(0) saturate(100%);
  transform: rotate(-45deg);
}

body .reference-nav.public-navigation .rc-nav-shell {
  width: min(100%, var(--rc-container));
  margin: 0 auto;
}

body .reference-nav.public-navigation .rc-utility-row {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 22px;
  padding: 8px 0 2px;
}

body .reference-nav.public-navigation .logo {
  display: inline-flex !important;
  width: auto !important;
  min-width: max-content !important;
  height: 42px !important;
  align-items: center;
  gap: 9px !important;
  color: var(--rc-ink) !important;
  text-decoration: none;
}

body .reference-nav.public-navigation .brand-mark {
  display: grid;
  width: 32px !important;
  height: 32px !important;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .reference-nav.public-navigation .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body .reference-nav.public-navigation .logo strong {
  color: var(--rc-ink) !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  letter-spacing: -.045em !important;
}

body .reference-nav.public-navigation .rc-audience-links {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 14px;
  border-left: 1px solid var(--rc-line);
}

body .reference-nav.public-navigation .rc-audience-links a,
body .reference-nav.public-navigation .rc-utility-links a,
body .reference-nav.public-navigation .rc-utility-links span {
  color: var(--rc-ink) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

body .reference-nav.public-navigation .rc-audience-links a {
  padding: 8px 12px;
  border-radius: 999px;
}

body .reference-nav.public-navigation .rc-audience-links a:hover {
  background: var(--rc-blue-soft);
  color: var(--rc-blue-dark) !important;
}

body .reference-nav.public-navigation .rc-utility-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

body .reference-nav.public-navigation .rc-utility-links span a {
  border-bottom: 1px dotted currentColor;
  font-weight: 750;
}

body .reference-nav.public-navigation .rc-utility-links > a:hover {
  color: var(--rc-blue-dark) !important;
}

body .reference-nav.public-navigation .reference-nav-row {
  display: flex !important;
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .reference-nav.public-navigation .reference-nav-links {
  display: flex !important;
  width: 100%;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
}

body .reference-nav.public-navigation .reference-nav-links > nav {
  display: flex;
  align-items: center;
  gap: 2px !important;
}

body .reference-nav.public-navigation .reference-nav-links > nav a {
  display: inline-flex;
  min-height: 42px !important;
  align-items: center;
  gap: 7px;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--rc-ink) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: -.02em !important;
  line-height: 20px;
  text-decoration: none;
}

body .reference-nav.public-navigation .reference-nav-links > nav a span {
  color: var(--rc-muted);
  font-size: 12px;
}

body .reference-nav.public-navigation .reference-nav-links > nav a:hover,
body .reference-nav.public-navigation .reference-nav-links > nav a.active {
  background: var(--rc-blue-soft) !important;
  color: var(--rc-blue-dark) !important;
}

body .reference-nav.public-navigation .nav-actions {
  display: flex !important;
  height: auto !important;
  align-items: center;
  gap: 10px !important;
}

body .reference-nav.public-navigation :is(.ref-sign-in, .ref-nav-cta, .ref-account-link) {
  display: inline-flex;
  min-height: 42px !important;
  align-items: center;
  justify-content: center;
  padding: 9px 17px !important;
  border: 1px solid var(--rc-ink) !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 20px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

body .reference-nav.public-navigation .ref-sign-in {
  background: #fff !important;
  color: var(--rc-ink) !important;
}

body .reference-nav.public-navigation .ref-nav-cta {
  border-color: var(--rc-blue) !important;
  background: var(--rc-blue) !important;
  color: #fff !important;
}

body .reference-nav.public-navigation :is(.ref-sign-in, .ref-nav-cta):hover {
  border-color: var(--rc-blue-dark) !important;
  background: var(--rc-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

body .reference-nav.public-navigation .reference-menu-toggle {
  display: none !important;
}

body .vd-scroll-progress {
  background: linear-gradient(90deg, var(--rc-orange), var(--rc-peach) 48%, var(--rc-blue)) !important;
  box-shadow: none !important;
}

body:has(.public-navigation) :is(
  .primary,
  .dark-cta,
  .affiliate-primary,
  .pricing-v3-button.primary,
  .pricing-submit
) {
  border-color: var(--rc-blue) !important;
  border-radius: 999px !important;
  background: var(--rc-blue) !important;
  color: #fff !important;
}

body:has(.public-navigation) :is(
  .primary,
  .dark-cta,
  .affiliate-primary,
  .pricing-v3-button.primary,
  .pricing-submit
):hover {
  border-color: var(--rc-blue-dark) !important;
  background: var(--rc-blue-dark) !important;
}

body:not(.reference-home):has(.public-navigation) {
  --attio-blue: var(--rc-blue);
  --attio-teal: var(--rc-blue);
  --attio-teal-dark: var(--rc-blue-dark);
  --attio-ink: var(--rc-ink);
  --attio-body: var(--rc-copy);
  --attio-muted: var(--rc-muted);
  --attio-line: var(--rc-line-soft);
  --attio-line-strong: var(--rc-line);
  --attio-canvas: #fff;
  background: #fff !important;
}

body:not(.reference-home):has(.public-navigation) :is(
  .page-hero,
  .affiliate-hero,
  .pricing-v3-hero,
  .solutions-hero,
  .platform-hero
) {
  margin: 18px auto 0 !important;
  padding: clamp(48px, 6vw, 82px) !important;
  border: 0 !important;
  border-radius: var(--rc-radius-lg) !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 176, 98, .64), transparent 34%),
    radial-gradient(circle at 72% 88%, rgba(240, 159, 197, .45), transparent 38%),
    linear-gradient(120deg, #fff9f1, #ffeadc) !important;
  box-shadow: none !important;
  overflow: hidden;
}

body:not(.reference-home):has(.public-navigation) :is(
  .page-hero,
  .affiliate-hero,
  .pricing-v3-hero,
  .solutions-hero,
  .platform-hero
) h1,
body:not(.reference-home):has(.public-navigation) :is(
  .page-hero,
  .affiliate-hero,
  .pricing-v3-hero,
  .solutions-hero,
  .platform-hero
) h1 * {
  color: var(--rc-ink) !important;
}

body:not(.reference-home):has(.public-navigation) :is(
  .panel,
  .feature-card,
  .platform-card-stack article,
  .blog-card,
  .affiliate-rate-card,
  .affiliate-detail-grid article,
  .affiliate-terms-grid article,
  .affiliate-steps li,
  .pricing-v3-card,
  .seo-surface,
  .seo-feature-card,
  .seo-content-card,
  .seo-link-card,
  .seo-related-card,
  .seo-faq-card
) {
  border-color: var(--rc-line) !important;
  border-radius: var(--rc-radius) !important;
  box-shadow: none !important;
}

body:not(.reference-home):has(.public-navigation) :is(
  .feature-card,
  .platform-card-stack article,
  .blog-card,
  .affiliate-detail-grid article,
  .pricing-v3-card,
  .seo-feature-card,
  .seo-link-card
):hover {
  border-color: rgba(7, 141, 187, .4) !important;
  box-shadow: var(--rc-shadow) !important;
  transform: translateY(-3px);
}

body .public-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 24px 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #23211f !important;
  color: #fff !important;
}

body .public-footer .rc-footer-cta {
  display: grid;
  width: min(100%, var(--rc-container));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  margin: 0 auto;
  padding: 84px 0 70px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

body .public-footer .rc-footer-cta > div:first-child {
  max-width: 850px;
}

body .public-footer .rc-footer-cta span {
  color: #ffb573;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}

body .public-footer .rc-footer-cta h2 {
  margin: 18px 0 0;
  color: #fff !important;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
}

body .public-footer .rc-footer-cta > div:last-child {
  display: flex;
  gap: 10px;
}

body .public-footer :is(.rc-footer-primary, .rc-footer-secondary) {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body .public-footer .rc-footer-primary {
  border-color: var(--rc-blue);
  background: var(--rc-blue);
  color: #fff !important;
}

body .public-footer .rc-footer-secondary {
  background: transparent;
  color: #fff !important;
}

body .public-footer :is(.rc-footer-primary, .rc-footer-secondary):hover {
  border-color: #fff;
  background: #fff;
  color: var(--rc-ink) !important;
}

body .public-footer .rc-footer-grid {
  display: grid;
  width: min(100%, var(--rc-container));
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .7fr));
  gap: clamp(34px, 5vw, 80px);
  margin: 0 auto;
  padding: 70px 0 62px;
}

body .public-footer .rc-footer-grid > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

body .public-footer .ref-footer-brand {
  max-width: 330px;
}

body .public-footer .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none;
}

body .public-footer .logo .brand-mark {
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  background: transparent !important;
}

body .public-footer .logo strong {
  color: #fff !important;
  font-size: 21px;
}

body .public-footer .ref-footer-brand p {
  max-width: 310px;
  margin: 18px 0 0;
  color: #aaa49e !important;
  font-size: 14px;
  line-height: 1.65;
}

body .public-footer .rc-footer-grid > div > strong {
  margin-bottom: 7px;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 750;
  letter-spacing: .1em !important;
}

body .public-footer .rc-footer-grid a {
  color: #bdb8b2 !important;
  font-size: 13px;
  text-decoration: none;
}

body .public-footer .rc-footer-grid a:hover {
  color: #fff !important;
}

body .public-footer .rc-footer-bottom {
  display: flex;
  width: min(100%, var(--rc-container));
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #8e8984;
  font-size: 12px;
}

body .public-footer .rc-footer-bottom a {
  margin-left: auto;
  color: #c8c3bd !important;
}

body .global-whatsapp-button {
  border-radius: 999px !important;
  box-shadow: 0 14px 34px rgba(37, 35, 33, .18) !important;
}

@media (max-width: 1100px) {
  body .reference-nav.public-navigation {
    padding: 8px 14px 0 !important;
  }

  body .reference-nav.public-navigation .reference-announcement p span {
    display: none;
  }

  body .reference-nav.public-navigation .rc-utility-row {
    min-height: 60px;
    padding-inline: 4px;
  }

  body .reference-nav.public-navigation :is(.rc-audience-links, .rc-utility-links) {
    display: none !important;
  }

  body .reference-nav.public-navigation .reference-menu-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    place-items: center;
    margin-left: auto;
    padding: 0 !important;
    border: 1px solid var(--rc-line) !important;
    border-radius: 50% !important;
    background: #fff !important;
    translate: 0 -50%;
    z-index: 20;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body .reference-nav.public-navigation .reference-menu-toggle > span {
    display: grid;
    gap: 5px;
  }

  body .reference-nav.public-navigation .reference-menu-toggle img {
    display: block;
    width: 18px;
    height: 2px;
  }

  body .reference-nav.public-navigation .reference-nav-row {
    height: 0 !important;
    min-height: 0 !important;
  }

  body .reference-nav.public-navigation .reference-nav-links {
    display: none !important;
  }

  body .reference-nav.public-navigation.is-menu-open .reference-nav-links {
    position: absolute !important;
    top: calc(100% - 1px) !important;
    right: 14px !important;
    left: 14px !important;
    display: grid !important;
    width: auto !important;
    max-height: calc(100vh - 132px);
    align-items: stretch;
    gap: 20px;
    padding: 22px !important;
    border: 1px solid var(--rc-line) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 24px 60px rgba(37, 35, 33, .16) !important;
    overflow-y: auto;
  }

  body .reference-nav.public-navigation.is-menu-open .reference-nav-links > nav {
    display: grid !important;
    gap: 2px !important;
  }

  body .reference-nav.public-navigation.is-menu-open .reference-nav-links > nav a {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px !important;
  }

  body .reference-nav.public-navigation.is-menu-open .nav-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  body .public-footer .rc-footer-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body .public-footer .rc-footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  body .public-footer .ref-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body .reference-nav.public-navigation {
    padding-inline: 10px !important;
  }

  body .reference-nav.public-navigation .reference-announcement {
    min-height: 38px !important;
    padding: 6px 40px 6px 12px !important;
  }

  body .reference-nav.public-navigation .reference-announcement p {
    gap: 7px;
    font-size: 11px;
  }

  body .reference-nav.public-navigation .reference-announcement p strong {
    display: none;
  }

  body .reference-nav.public-navigation .reference-announcement a {
    min-height: 24px;
    padding: 3px 10px;
    font-size: 10px;
  }

  body .reference-nav.public-navigation .logo strong {
    font-size: 18px !important;
  }

  body .reference-nav.public-navigation.is-menu-open .reference-nav-links {
    right: 10px !important;
    left: 10px !important;
  }

  body .reference-nav.public-navigation.is-menu-open .nav-actions {
    grid-template-columns: 1fr;
  }

  body .public-footer {
    padding-inline: 18px !important;
  }

  body .public-footer .rc-footer-cta {
    gap: 34px;
    padding: 64px 0 52px;
  }

  body .public-footer .rc-footer-cta h2 {
    font-size: 44px;
  }

  body .public-footer .rc-footer-cta > div:last-child {
    width: 100%;
    flex-direction: column;
  }

  body .public-footer :is(.rc-footer-primary, .rc-footer-secondary) {
    width: 100%;
  }

  body .public-footer .rc-footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 52px 0;
  }

  body .public-footer .ref-footer-brand {
    grid-column: auto;
  }

  body .public-footer .rc-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body .public-footer .rc-footer-bottom a {
    margin-left: 0;
  }
}

/* Homepage */
body.reference-home {
  --attio-ink: var(--rc-ink);
  --attio-body: var(--rc-copy);
  --attio-muted: var(--rc-muted);
  --attio-soft: #f7f4f0;
  --attio-line: var(--rc-line-soft);
  --attio-line-strong: var(--rc-line);
  --attio-accent: var(--rc-blue);
  --attio-accent-dark: var(--rc-blue-dark);
  --attio-accent-soft: var(--rc-blue-soft);
  --attio-blue: var(--rc-blue);
  --attio-green: var(--rc-success);
  --attio-display: var(--rc-font);
  --attio-body-font: var(--rc-font);
  background: #fff !important;
  color: var(--rc-ink);
  font-family: var(--rc-font);
}

body.reference-home ::selection {
  background: rgba(255, 173, 98, .55);
  color: var(--rc-ink);
}

body.reference-home .reference-home-main {
  position: relative;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.reference-home .ref-hero {
  position: relative;
  isolation: isolate;
  display: grid !important;
  width: min(calc(100% - 32px), var(--rc-container)) !important;
  min-height: 570px !important;
  grid-template-columns: minmax(0, .9fr) minmax(510px, 1.1fr);
  align-items: center !important;
  gap: clamp(36px, 5vw, 76px) !important;
  margin: 18px auto 0 !important;
  padding: clamp(48px, 5vw, 70px) clamp(42px, 5vw, 72px) !important;
  border-radius: var(--rc-radius-lg) !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 196, 113, .95), transparent 34%),
    radial-gradient(circle at 74% 92%, rgba(239, 157, 195, .63), transparent 42%),
    radial-gradient(circle at 44% 38%, rgba(255, 255, 255, .66), transparent 34%),
    linear-gradient(118deg, #fff9f1 0%, #ffe7d8 56%, #ffb26e 100%) !important;
  box-shadow: none;
  overflow: hidden;
}

body.reference-home .ref-hero::before {
  position: absolute;
  z-index: -1;
  inset: auto auto -190px 42%;
  width: 610px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .12);
  content: "";
  rotate: -8deg;
}

body.reference-home .ref-hero-copy {
  position: relative;
  z-index: 4;
  display: flex !important;
  width: 100% !important;
  min-width: 0;
  max-width: 640px !important;
  align-items: flex-start !important;
  text-align: left !important;
}

body.reference-home .ref-eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  padding: 3px 12px 3px 3px !important;
  border: 1px solid rgba(37, 35, 33, .11) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .58) !important;
  box-shadow: none !important;
  color: var(--rc-copy) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 20px;
}

body.reference-home .ref-eyebrow strong {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px !important;
  background: var(--rc-ink) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

body.reference-home .ref-hero h1 {
  width: auto !important;
  max-width: 660px !important;
  margin: 26px 0 0 !important;
  color: var(--rc-ink) !important;
  font-size: clamp(54px, 4.7vw, 68px) !important;
  font-weight: 650 !important;
  letter-spacing: -.06em !important;
  line-height: .96 !important;
}

body.reference-home .ref-hero h1 .ref-hero-title-line {
  display: inline !important;
  width: auto !important;
  color: inherit !important;
  white-space: normal !important;
}

body.reference-home .ref-hero h1 .ref-hero-title-accent {
  color: var(--rc-ink) !important;
}

body.reference-home .ref-hero h1 span {
  color: var(--rc-ink) !important;
}

body.reference-home .ref-hero-copy > p {
  width: auto !important;
  max-width: 570px !important;
  margin: 24px 0 0 !important;
  color: var(--rc-copy) !important;
  font-size: 18px !important;
  font-weight: 450;
  letter-spacing: -.025em;
  line-height: 1.48 !important;
  text-align: left !important;
}

body.reference-home .ref-actions {
  display: flex;
  width: auto !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-top: 30px !important;
}

body.reference-home .ref-btn {
  display: inline-flex;
  min-height: 48px !important;
  align-items: center;
  justify-content: center;
  padding: 12px 20px !important;
  border: 1px solid var(--rc-ink) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 20px;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease !important;
}

body.reference-home .ref-btn-primary {
  border-color: var(--rc-blue) !important;
  background: var(--rc-blue) !important;
  color: #fff !important;
}

body.reference-home .ref-btn-secondary {
  background: rgba(255, 255, 255, .46) !important;
  color: var(--rc-ink) !important;
}

body.reference-home :is(.ref-btn-primary, .ref-btn-secondary):hover {
  border-color: var(--rc-blue-dark) !important;
  background: var(--rc-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

body.reference-home .ref-proof-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 18px !important;
  margin: 30px 0 0 !important;
}

body.reference-home .ref-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rc-copy) !important;
  font-size: 11px;
  font-weight: 650;
}

body.reference-home .ref-proof-row b {
  color: var(--rc-blue-dark);
  font-size: 9px;
  letter-spacing: .08em;
}

body.reference-home .ref-hero-graphic {
  position: relative;
  isolation: isolate;
  display: grid !important;
  width: 100% !important;
  height: 490px !important;
  flex: none !important;
  place-items: center;
  margin: 0 !important;
  overflow: visible !important;
}

body.reference-home .ref-hero-graphic::before {
  position: absolute;
  z-index: -3;
  inset: 12% 1% 4% 5%;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 34px !important;
  background:
    linear-gradient(rgba(255, 255, 255, .17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .17) 1px, transparent 1px),
    rgba(255, 255, 255, .18) !important;
  background-size: 28px 28px !important;
  content: "";
  transform: rotate(1.5deg);
}

body.reference-home .ref-hero-graphic::after {
  position: absolute;
  z-index: -2;
  inset: 14% 4% 1% 8% !important;
  border-radius: 34px !important;
  background: rgba(255, 255, 255, .3) !important;
  content: "";
  filter: blur(14px) !important;
}

body.reference-home .ref-dialer-shell {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  width: min(100%, 530px) !important;
  max-width: 530px !important;
  padding: 24px 34px 22px !important;
  border: 1px solid rgba(255, 255, 255, .82) !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 28px 75px rgba(91, 53, 25, .22), inset 0 1px 0 #fff !important;
  transform: rotate(-1.4deg);
  transform-origin: center;
  backdrop-filter: blur(12px);
}

body.reference-home .ref-dialer-top {
  margin: 0 0 16px !important;
  padding: 0 0 15px !important;
  border-color: var(--rc-line-soft) !important;
}

body.reference-home .ref-dialer-top small,
body.reference-home .ref-dialer-options small {
  color: var(--rc-muted) !important;
  font-size: 9px !important;
  letter-spacing: .09em;
}

body.reference-home .ref-dialer-top strong,
body.reference-home .ref-dialer-options strong {
  color: var(--rc-ink) !important;
  font-size: 12px !important;
}

body.reference-home .ref-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(27, 155, 107, .22) !important;
  border-radius: 999px !important;
  background: #eef9f4 !important;
  color: #147653 !important;
  font-size: 9px !important;
}

body.reference-home .ref-verified i {
  width: 6px;
  height: 6px;
  border-radius: 50% !important;
  background: var(--rc-success);
  box-shadow: 0 0 0 4px rgba(27, 155, 107, .12);
}

body.reference-home .ref-number-field {
  min-height: 54px !important;
  border-color: var(--rc-line) !important;
  border-radius: 14px !important;
  background: #f8f6f3 !important;
}

body.reference-home .ref-dialer-options > div {
  border-color: var(--rc-line-soft) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.reference-home .ref-keypad {
  max-width: 250px !important;
  gap: 2px 12px !important;
}

body.reference-home .ref-keypad button {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
}

body.reference-home .ref-keypad button:hover {
  border-color: rgba(7, 141, 187, .25) !important;
  background: var(--rc-blue-soft) !important;
}

body.reference-home .ref-call-preview {
  width: 52px !important;
  height: 52px !important;
  margin: 10px auto 7px !important;
  border-radius: 50% !important;
  background: var(--rc-blue) !important;
}

body.reference-home .ref-call-preview:hover {
  background: var(--rc-blue-dark) !important;
  transform: scale(1.04) !important;
}

body.reference-home .rc-hero-orb {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50% !important;
  pointer-events: none;
  filter: blur(1px);
  animation: rc-orbit 7s ease-in-out infinite alternate;
}

body.reference-home .rc-hero-orb-one {
  top: 7%;
  right: -2%;
  width: 124px;
  height: 124px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .75), rgba(238, 143, 183, .55));
}

body.reference-home .rc-hero-orb-two {
  bottom: -1%;
  left: 0;
  width: 88px;
  height: 88px;
  background: linear-gradient(145deg, #ffb46f, rgba(255, 255, 255, .5));
  animation-delay: -2.4s;
}

body.reference-home .rc-outcome-card {
  position: absolute;
  z-index: 5;
  display: grid;
  min-width: 132px;
  gap: 3px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 15px !important;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 36px rgba(86, 49, 24, .15);
  backdrop-filter: blur(10px);
}

body.reference-home .rc-outcome-card span {
  color: var(--rc-muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .09em;
}

body.reference-home .rc-outcome-card strong {
  color: var(--rc-ink);
  font-size: 17px;
}

body.reference-home .rc-outcome-card i {
  color: var(--rc-success);
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
}

body.reference-home .rc-outcome-card-top {
  top: 8%;
  right: -1%;
  transform: rotate(2deg);
}

body.reference-home .rc-outcome-card-bottom {
  bottom: 6%;
  left: -2%;
  transform: rotate(-2deg);
}

body.reference-home .rc-trust-strip {
  width: 100%;
  padding: 44px 0 56px;
  background: #fff;
  overflow: hidden;
}

body.reference-home .rc-trust-strip > p {
  margin: 0 20px 28px;
  color: var(--rc-muted) !important;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  text-align: center;
}

body.reference-home .rc-trust-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

body.reference-home .rc-trust-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: rc-marquee 28s linear infinite;
}

body.reference-home .rc-trust-track span {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--rc-ink);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.015em;
  white-space: nowrap;
}

body.reference-home .rc-trust-track span::before {
  width: 8px;
  height: 8px;
  border: 2px solid var(--rc-blue);
  border-radius: 50% !important;
  content: "";
}

body.reference-home .rc-trust-marquee:hover .rc-trust-track {
  animation-play-state: paused;
}

body.reference-home .rc-product-band {
  display: block !important;
  width: min(100%, var(--rc-content)) !important;
  margin: 0 auto !important;
  padding: 96px 24px 104px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.reference-home .rc-product-band .vd-product-band-copy {
  max-width: 820px;
  margin: 0 0 54px;
}

body.reference-home .rc-product-band .vd-product-band-copy > span {
  color: var(--rc-blue-dark) !important;
  font-size: 11px !important;
  font-weight: 750;
  letter-spacing: .1em;
}

body.reference-home .rc-product-band .vd-product-band-copy h2 {
  max-width: 780px;
  margin: 18px 0 0 !important;
  color: var(--rc-ink) !important;
  font-size: clamp(48px, 5vw, 68px) !important;
  font-weight: 650;
  letter-spacing: -.055em !important;
  line-height: .99 !important;
}

body.reference-home .rc-product-band .vd-product-band-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--rc-copy) !important;
  font-size: 18px;
  letter-spacing: -.02em;
  line-height: 1.5;
}

body.reference-home .rc-product-band > ul {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: var(--rc-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
  list-style: none;
  overflow: hidden;
}

body.reference-home .rc-product-band > ul li {
  min-width: 0;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid var(--rc-line) !important;
  background: transparent !important;
}

body.reference-home .rc-product-band > ul li:last-child {
  border-right: 0 !important;
}

body.reference-home .rc-product-band > ul a {
  display: flex;
  min-height: 206px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  color: var(--rc-ink);
  text-decoration: none;
  transition: background-color .22s ease, color .22s ease;
}

body.reference-home .rc-product-band > ul a:hover {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 173, 98, .52), transparent 38%),
    var(--rc-warm);
}

body.reference-home .rc-product-band > ul b {
  display: grid;
  width: 34px !important;
  height: 34px !important;
  place-items: center;
  border: 1px solid var(--rc-line) !important;
  border-radius: 50% !important;
  color: var(--rc-blue-dark) !important;
  font-size: 9px !important;
}

body.reference-home .rc-product-band > ul span {
  margin-top: auto;
  color: var(--rc-ink) !important;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: -.035em;
}

body.reference-home .rc-product-band > ul small {
  margin-top: 6px;
  color: var(--rc-muted);
  font-size: 12px;
}

body.reference-home .vd-section {
  box-sizing: border-box;
  width: min(100%, var(--rc-content)) !important;
  max-width: var(--rc-content) !important;
  margin: 0 auto !important;
  padding: 100px 24px !important;
}

body.reference-home .vd-section-heading {
  margin: 0 0 52px !important;
}

body.reference-home .vd-section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
}

body.reference-home .vd-section-heading > span,
body.reference-home .vd-section-heading > div > span,
body.reference-home :is(.vd-campaign-copy, .vd-control-copy) > span {
  color: var(--rc-blue-dark) !important;
  font-size: 10px !important;
  font-weight: 750;
  letter-spacing: .11em;
}

body.reference-home .vd-section-heading h2 {
  max-width: 720px;
  margin: 16px 0 0 !important;
  color: var(--rc-ink) !important;
  font-size: clamp(44px, 4.5vw, 62px) !important;
  font-weight: 650;
  letter-spacing: -.055em !important;
  line-height: 1 !important;
}

body.reference-home .vd-section-heading > p,
body.reference-home .vd-section-heading > div + p {
  max-width: 480px !important;
  margin: 0 0 4px !important;
  color: var(--rc-copy) !important;
  font-size: 17px !important;
  letter-spacing: -.02em;
  line-height: 1.55 !important;
}

body.reference-home :is(
  .vd-workspace-card,
  .vd-activity-table,
  .vd-contact-record,
  .vd-campaign-preview,
  .vd-control-card,
  .ref-plan-card
) {
  border: 1px solid var(--rc-line) !important;
  border-radius: var(--rc-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease !important;
}

body.reference-home :is(
  .vd-workspace-card,
  .vd-activity-table,
  .vd-contact-record,
  .vd-control-card,
  .ref-plan-card
):hover {
  border-color: rgba(7, 141, 187, .35) !important;
  box-shadow: var(--rc-shadow) !important;
  transform: translateY(-3px);
}

body.reference-home .vd-workspace-grid {
  gap: 22px !important;
}

body.reference-home .vd-workspace-card {
  min-height: 610px !important;
  padding: 4px !important;
  border-radius: 26px !important;
  background: #f8f6f3 !important;
}

body.reference-home .vd-card-heading {
  min-height: 70px !important;
  padding: 0 24px !important;
  border-bottom: 0 !important;
}

body.reference-home :is(.vd-agent-preview, .vd-company-summary) {
  border: 1px solid var(--rc-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.reference-home .vd-workspace-card > p {
  margin: 24px 26px 28px !important;
  color: var(--rc-copy) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

body.reference-home .vd-contact-section {
  width: 100% !important;
  max-width: none !important;
  padding-right: max(24px, calc((100vw - var(--rc-content)) / 2 + 24px)) !important;
  padding-left: max(24px, calc((100vw - var(--rc-content)) / 2 + 24px)) !important;
  background: #f7f5f2;
}

body.reference-home .vd-contact-grid {
  gap: 22px !important;
}

body.reference-home :is(.vd-activity-table, .vd-contact-record) {
  border-radius: 22px !important;
}

body.reference-home .vd-section-note {
  margin-top: 20px !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.reference-home .vd-campaign-section {
  display: grid;
  width: min(calc(100% - 48px), calc(var(--rc-content) - 48px)) !important;
  max-width: calc(var(--rc-content) - 48px) !important;
  grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr);
  gap: clamp(42px, 7vw, 90px) !important;
  align-items: center;
  margin: 48px auto !important;
  padding: clamp(46px, 6vw, 72px) !important;
  border: 0 !important;
  border-radius: var(--rc-radius-lg) !important;
  background:
    radial-gradient(circle at 96% 8%, rgba(255, 174, 99, .26), transparent 36%),
    radial-gradient(circle at 16% 96%, rgba(7, 141, 187, .17), transparent 34%),
    #252321 !important;
  box-shadow: none !important;
}

body.reference-home .vd-campaign-copy > span {
  color: #ffb573 !important;
}

body.reference-home .vd-campaign-copy h2 {
  margin: 16px 0 18px !important;
  color: #fff !important;
  font-size: clamp(42px, 4.3vw, 60px) !important;
  font-weight: 650;
  letter-spacing: -.055em !important;
  line-height: 1 !important;
}

body.reference-home .vd-campaign-copy :is(p, li) {
  color: #c9c4be !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

body.reference-home .vd-campaign-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 13px;
  text-decoration: none;
}

body.reference-home .vd-campaign-preview {
  border-color: rgba(255, 255, 255, .3) !important;
  background: #fff !important;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .2) !important;
}

body.reference-home .vd-control-grid {
  gap: 22px !important;
}

body.reference-home .vd-control-card {
  min-height: 530px !important;
  padding: 5px !important;
  border-radius: 24px !important;
  background: #f7f5f2 !important;
}

body.reference-home .vd-control-copy {
  padding: 38px 38px 30px !important;
}

body.reference-home .vd-control-copy h3 {
  margin-top: 18px !important;
  color: var(--rc-ink) !important;
  font-size: 32px !important;
  font-weight: 650;
  letter-spacing: -.045em !important;
}

body.reference-home :is(.vd-did-preview, .vd-billing-preview) {
  border: 1px solid var(--rc-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
}

body.reference-home .vd-how-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.reference-home .vd-how-grid li {
  min-height: 290px !important;
  padding: 30px !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
}

body.reference-home .vd-how-grid li > b {
  border-radius: 50% !important;
  color: var(--rc-blue-dark) !important;
}

body.reference-home .vd-pricing .ref-plan-grid {
  gap: 22px !important;
}

body.reference-home .vd-pricing .ref-plan-card {
  min-height: 620px;
  padding: clamp(28px, 4vw, 42px) !important;
  border-radius: 24px !important;
}

body.reference-home .vd-pricing .ref-plan-card.featured {
  border-color: rgba(7, 141, 187, .42) !important;
  background:
    radial-gradient(circle at 96% 2%, rgba(255, 173, 98, .4), transparent 30%),
    linear-gradient(145deg, #eef9fc, #fff 48%) !important;
}

body.reference-home .vd-pricing-note {
  color: var(--rc-muted) !important;
  font-size: 12px !important;
}

body.reference-home .ref-faq-list {
  display: grid;
  gap: 10px;
  border: 0 !important;
}

body.reference-home .ref-faq-list details {
  margin: 0 !important;
  padding: 0 24px !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.reference-home .ref-faq-list summary {
  min-height: 72px;
  align-content: center;
  color: var(--rc-ink) !important;
  font-size: 17px !important;
  font-weight: 650;
}

body.reference-home .ref-faq-list details p {
  max-width: 820px;
  padding: 0 0 22px;
  color: var(--rc-copy) !important;
  font-size: 14px !important;
}

body.reference-home .ref-final-cta {
  box-sizing: border-box;
  width: min(calc(100% - 48px), calc(var(--rc-content) - 48px));
  margin: 48px auto 112px !important;
  padding: clamp(56px, 7vw, 88px) !important;
  border: 0 !important;
  border-radius: var(--rc-radius-lg) !important;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .48), transparent 32%),
    linear-gradient(112deg, #ffb26b, #f1a0bd) !important;
  box-shadow: none !important;
  color: var(--rc-ink) !important;
}

body.reference-home .ref-final-cta :is(.ref-section-label, h2, p, a) {
  color: var(--rc-ink) !important;
}

body.reference-home .ref-final-cta h2 {
  max-width: 900px !important;
  font-size: clamp(46px, 5.4vw, 72px) !important;
  font-weight: 650;
  letter-spacing: -.055em !important;
  line-height: .98 !important;
}

body.reference-home .ref-final-cta p {
  font-size: 17px !important;
}

body.reference-home .ref-final-cta .ref-btn-white {
  border-color: var(--rc-blue) !important;
  background: var(--rc-blue) !important;
  color: #fff !important;
}

body.reference-home .ref-footer {
  margin-top: 0 !important;
}

@keyframes rc-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes rc-orbit {
  from { transform: translate3d(-5px, -4px, 0) rotate(-2deg); }
  to { transform: translate3d(8px, 10px, 0) rotate(3deg); }
}

@media (max-width: 1160px) {
  body.reference-home .ref-hero {
    grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
    padding-inline: 46px !important;
  }

  body.reference-home .ref-hero h1 {
    font-size: clamp(52px, 5.3vw, 64px) !important;
  }

  body.reference-home .ref-dialer-shell {
    padding-inline: 28px !important;
  }

  body.reference-home .rc-outcome-card-top {
    right: -3%;
  }
}

@media (max-width: 900px) {
  body.reference-home .ref-hero {
    grid-template-columns: 1fr;
    gap: 44px !important;
    padding: 58px 44px 28px !important;
  }

  body.reference-home .ref-hero-copy {
    max-width: 720px !important;
  }

  body.reference-home .ref-hero h1 {
    max-width: 760px !important;
    font-size: clamp(54px, 9vw, 72px) !important;
  }

  body.reference-home .ref-hero-copy > p {
    max-width: 620px !important;
  }

  body.reference-home .ref-hero-graphic {
    width: min(100%, 700px) !important;
    justify-self: center;
  }

  body.reference-home .rc-product-band > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.reference-home .rc-product-band > ul li:nth-child(2) {
    border-right: 0 !important;
  }

  body.reference-home .rc-product-band > ul li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rc-line) !important;
  }

  body.reference-home .vd-section-heading-split {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  body.reference-home .vd-section-heading > p,
  body.reference-home .vd-section-heading > div + p {
    max-width: 650px !important;
  }

  body.reference-home .vd-campaign-section {
    grid-template-columns: 1fr;
  }

  body.reference-home .vd-how-grid {
    grid-template-columns: 1fr !important;
  }

  body.reference-home .vd-how-grid li {
    min-height: 0 !important;
  }
}

@media (max-width: 640px) {
  body.reference-home .ref-hero {
    width: calc(100% - 20px) !important;
    margin-top: 10px !important;
    padding: 46px 20px 16px !important;
    border-radius: 24px !important;
  }

  body.reference-home .ref-eyebrow {
    max-width: 100%;
    font-size: 10px !important;
  }

  body.reference-home .ref-hero h1 {
    margin-top: 22px !important;
    font-size: clamp(44px, 13vw, 58px) !important;
    line-height: .98 !important;
  }

  body.reference-home .ref-hero-copy > p {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 20px !important;
    font-size: 16px !important;
    overflow-wrap: anywhere;
  }

  body.reference-home .ref-actions {
    width: 100% !important;
    align-items: stretch;
    flex-direction: column;
  }

  body.reference-home .ref-actions .ref-btn {
    width: 100%;
  }

  body.reference-home .ref-proof-row {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  body.reference-home .ref-hero-graphic {
    height: 430px !important;
  }

  body.reference-home .ref-dialer-shell {
    padding: 20px 16px 17px !important;
    border-radius: 20px !important;
    transform: none;
  }

  body.reference-home .ref-dialer-options {
    display: none !important;
  }

  body.reference-home .ref-keypad {
    max-width: 220px !important;
  }

  body.reference-home .ref-keypad button {
    width: 44px !important;
    height: 44px !important;
  }

  body.reference-home .rc-outcome-card {
    display: none;
  }

  body.reference-home .rc-trust-strip {
    padding: 38px 0 44px;
  }

  body.reference-home .rc-trust-track span {
    min-width: 190px;
    font-size: 13px;
  }

  body.reference-home .rc-product-band,
  body.reference-home .vd-section {
    padding: 72px 18px !important;
  }

  body.reference-home .rc-product-band .vd-product-band-copy {
    margin-bottom: 34px;
  }

  body.reference-home .rc-product-band .vd-product-band-copy h2,
  body.reference-home .vd-section-heading h2 {
    font-size: 43px !important;
  }

  body.reference-home .rc-product-band .vd-product-band-copy p,
  body.reference-home .vd-section-heading > p,
  body.reference-home .vd-section-heading > div + p {
    font-size: 15px !important;
  }

  body.reference-home .rc-product-band > ul {
    grid-template-columns: 1fr !important;
  }

  body.reference-home .rc-product-band > ul li {
    border-right: 0 !important;
    border-bottom: 1px solid var(--rc-line) !important;
  }

  body.reference-home .rc-product-band > ul li:last-child {
    border-bottom: 0 !important;
  }

  body.reference-home .rc-product-band > ul a {
    min-height: 150px;
    padding: 22px;
  }

  body.reference-home .vd-contact-section {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  body.reference-home .vd-workspace-card {
    min-height: 0 !important;
  }

  body.reference-home .vd-section-note {
    align-items: stretch;
    border-radius: 18px !important;
  }

  body.reference-home .vd-campaign-section,
  body.reference-home .ref-final-cta {
    width: calc(100% - 20px) !important;
    margin: 36px auto 78px !important;
    padding: 44px 22px !important;
    border-radius: 24px !important;
  }

  body.reference-home .vd-campaign-copy h2,
  body.reference-home .ref-final-cta h2 {
    font-size: 43px !important;
  }

  body.reference-home .vd-control-copy {
    padding: 30px 22px 24px !important;
  }

  body.reference-home .vd-how-grid {
    gap: 10px !important;
  }

  body.reference-home .vd-how-grid li {
    padding: 24px 20px !important;
  }

  body.reference-home .vd-pricing .ref-plan-card {
    min-height: 0;
  }

  body.reference-home .ref-faq-list details {
    padding-inline: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.reference-home .rc-trust-track,
  body.reference-home .rc-hero-orb {
    animation: none !important;
  }

  body.reference-home :is(.ref-btn, .vd-workspace-card, .vd-activity-table, .vd-contact-record, .vd-control-card, .ref-plan-card) {
    transition: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Authenticated workspaces                                                    */
/* -------------------------------------------------------------------------- */

body.agent-mode,
body.company-control-body {
  --rc-workspace-canvas: #f7f5f2;
  --rc-workspace-surface: #ffffff;
  --rc-workspace-soft: #f2f6f7;
  --rc-workspace-blue-soft: #e8f7fb;
  --rc-workspace-blue: #078dbb;
  --rc-workspace-blue-dark: #006f96;
  --rc-workspace-ink: #252321;
  --rc-workspace-copy: #4b4742;
  --rc-workspace-muted: #77716a;
  --rc-workspace-line: #dfdbd6;
  --rc-workspace-line-strong: #d1cbc4;
  --rc-workspace-shadow: 0 18px 50px rgba(45, 40, 35, .08);
  --rc-workspace-shadow-soft: 0 8px 24px rgba(45, 40, 35, .055);
  color: var(--rc-workspace-ink);
  font-family: "Inter Tight", "Inter", sans-serif;
}

body.agent-mode :is(button, input, select, textarea),
body.company-control-body :is(button, input, select, textarea) {
  font: inherit;
}

body.agent-mode :is(a, button, summary, input, select, textarea):focus-visible,
body.company-control-body :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(7, 141, 187, .24) !important;
  outline-offset: 2px !important;
}

body.agent-mode.agent-mode {
  background: var(--rc-workspace-canvas) !important;
  color: var(--rc-workspace-ink) !important;
}

body.agent-mode.agent-mode .agent-sidebar {
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  width: var(--agent-sidebar) !important;
  height: 100vh !important;
  gap: 18px !important;
  padding: 22px 18px !important;
  border: 0 !important;
  border-right: 1px solid var(--rc-workspace-line) !important;
  background:
    radial-gradient(circle at 6% 4%, rgba(247, 164, 173, .18), transparent 150px),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fff9f3 100%) !important;
  color: var(--rc-workspace-ink) !important;
  box-shadow: none !important;
}

body.agent-mode.agent-mode .agent-logo {
  gap: 10px !important;
  min-height: 46px !important;
  padding: 0 4px !important;
  color: var(--rc-workspace-ink) !important;
}

body.agent-mode.agent-mode .agent-logo-mark {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(255, 173, 98, .38) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, #fff0e3, #ffe4ec) !important;
}

body.agent-mode.agent-mode .agent-logo-mark img {
  width: 72% !important;
  height: 72% !important;
}

body.agent-mode.agent-mode .agent-brand-copy strong {
  color: var(--rc-workspace-ink) !important;
  font-size: 15px !important;
  letter-spacing: -.025em !important;
}

body.agent-mode.agent-mode .agent-brand-copy small,
body.agent-mode.agent-mode .agent-nav-label {
  color: var(--rc-workspace-muted) !important;
}

body.agent-mode.agent-mode .agent-brand-copy small {
  margin-top: 2px !important;
  font-size: 10px !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
}

body.agent-mode.agent-mode .agent-workspace-card {
  gap: 10px !important;
  min-height: 70px !important;
  padding: 12px !important;
  border: 1px solid #ecdcd0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #fff6ed 0%, #fff1f5 100%) !important;
}

body.agent-mode.agent-mode .agent-workspace-card .agent-initial {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: var(--rc-workspace-blue) !important;
  font-size: 14px !important;
}

body.agent-mode.agent-mode .agent-workspace-card small,
body.agent-mode.agent-mode .agent-workspace-card span {
  color: var(--rc-workspace-muted) !important;
}

body.agent-mode.agent-mode .agent-workspace-card strong {
  color: var(--rc-workspace-ink) !important;
  font-size: 13px !important;
}

body.agent-mode.agent-mode .agent-workspace-card > i {
  background: #1aa875 !important;
  box-shadow: 0 0 0 5px rgba(26, 168, 117, .12) !important;
}

body.agent-mode.agent-mode .agent-nav-label {
  margin: 2px 10px -8px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
}

body.agent-mode.agent-mode .agent-nav {
  display: grid !important;
  gap: 4px !important;
}

body.agent-mode.agent-mode .agent-nav > a {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  padding: 6px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--rc-workspace-copy) !important;
  font-size: 13px !important;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease !important;
}

body.agent-mode.agent-mode .agent-nav > a:hover {
  border-color: #e8e2dc !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--rc-workspace-blue-dark) !important;
  transform: translateX(2px) !important;
}

body.agent-mode.agent-mode .agent-nav > a.active {
  border-color: #cde9f1 !important;
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
  box-shadow: inset 3px 0 0 var(--rc-workspace-blue) !important;
}

body.agent-mode.agent-mode .agent-nav-icon {
  width: 32px !important;
  height: 32px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  background: #f2efec !important;
  color: #69635d !important;
  font-size: 13px !important;
}

body.agent-mode.agent-mode .agent-nav > a:hover .agent-nav-icon,
body.agent-mode.agent-mode .agent-nav > a.active .agent-nav-icon {
  background: #fff !important;
  color: var(--rc-workspace-blue) !important;
}

body.agent-mode.agent-mode .agent-main {
  min-height: 100vh !important;
  background:
    linear-gradient(180deg, rgba(255, 247, 239, .9) 0, rgba(247, 245, 242, 0) 240px),
    var(--rc-workspace-canvas) !important;
}

body.agent-mode.agent-mode .vd-workspace-topbar {
  min-height: 72px !important;
  padding: 10px clamp(20px, 2.5vw, 38px) !important;
  border-bottom: 1px solid var(--rc-workspace-line) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 8px 26px rgba(45, 40, 35, .035) !important;
  backdrop-filter: blur(18px) !important;
}

body.agent-mode.agent-mode .vd-workspace-topbar-context small,
body.agent-mode.agent-mode .agent-topbar-line span,
body.agent-mode.agent-mode .agent-topbar-line small {
  color: var(--rc-workspace-muted) !important;
}

body.agent-mode.agent-mode .vd-workspace-topbar-context strong,
body.agent-mode.agent-mode .agent-topbar-line strong {
  color: var(--rc-workspace-ink) !important;
}

body.agent-mode.agent-mode .vd-workspace-status-dot {
  background: #1aa875 !important;
  box-shadow: 0 0 0 5px rgba(26, 168, 117, .12) !important;
}

body.agent-mode.agent-mode :is(.agent-header-webphone-trigger, .agent-topbar-line, .vd-account-trigger) {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.agent-mode.agent-mode :is(.agent-header-webphone-trigger, .vd-account-trigger):hover {
  border-color: #b9dce7 !important;
  background: #f7fcfd !important;
}

body.agent-mode.agent-mode .agent-header-phone-icon,
body.agent-mode.agent-mode .vd-account-avatar {
  background: var(--rc-workspace-blue) !important;
  color: #fff !important;
}

body.agent-mode.agent-mode :is(.agent-header-webphone-panel, .vd-account-dropdown) {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(45, 40, 35, .16) !important;
}

body.agent-mode.agent-mode .agent-workspace-content {
  max-width: 1460px !important;
  padding: 28px clamp(22px, 3vw, 44px) 0 !important;
}

body.agent-mode.agent-mode .agent-phone-layout {
  max-width: 1200px !important;
  grid-template-columns: minmax(0, 780px) minmax(290px, 350px) !important;
  gap: 22px !important;
}

body.agent-mode.agent-mode :is(.agent-page-header, .agent-phone-hero) {
  margin-bottom: 18px !important;
  padding: 25px 28px !important;
  border: 1px solid #ecd8ca !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 163, 197, .3), transparent 190px),
    linear-gradient(125deg, #fff5eb 0%, #fff 65%) !important;
  box-shadow: var(--rc-workspace-shadow-soft) !important;
}

body.agent-mode.agent-mode :is(.agent-page-header, .agent-phone-hero) h1 {
  color: var(--rc-workspace-ink) !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  letter-spacing: -.055em !important;
}

body.agent-mode.agent-mode :is(.agent-page-header, .agent-phone-hero) p {
  color: var(--rc-workspace-copy) !important;
}

body.agent-mode.agent-mode :is(
  .agent-card,
  .agent-dialer-card,
  .agent-engine-card,
  .agent-info-card,
  .agent-contact-card,
  .agent-profile-card,
  .agent-permissions-card,
  .agent-settings-card,
  .agent-security-card,
  .agent-metric,
  .agent-stat-box
) {
  border: 1px solid var(--rc-workspace-line) !important;
  background: var(--rc-workspace-surface) !important;
  box-shadow: var(--rc-workspace-shadow-soft) !important;
}

body.agent-mode.agent-mode .agent-dialer-card {
  position: relative !important;
  padding: 26px 30px 28px !important;
  border-color: #d8d3cd !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 50% -10%, rgba(7, 141, 187, .08), transparent 230px),
    #fff !important;
  box-shadow: var(--rc-workspace-shadow) !important;
  overflow: hidden !important;
}

body.agent-mode.agent-mode .agent-dialer-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--rc-orange), var(--rc-pink), var(--rc-workspace-blue));
  pointer-events: none;
}

body.agent-mode.agent-mode :is(.agent-dialer-status, .agent-dialer-country, .agent-trial-badge) {
  min-height: 30px !important;
  padding: 6px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-size: 11px !important;
}

body.agent-mode.agent-mode .agent-dialer-status {
  border-color: #f0dec9 !important;
  background: #fff6eb !important;
  color: #6b5744 !important;
}

body.agent-mode.agent-mode .agent-dialer-country {
  border-color: #cdebdc !important;
  background: #effaf5 !important;
  color: #177654 !important;
}

body.agent-mode.agent-mode .agent-dial-input {
  min-height: 70px !important;
  border: 1px solid #d8d3cd !important;
  border-radius: 18px !important;
  background: #faf9f7 !important;
  color: var(--rc-workspace-ink) !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  box-shadow: inset 0 1px 3px rgba(45, 40, 35, .04) !important;
}

body.agent-mode.agent-mode .agent-dial-input:focus {
  border-color: var(--rc-workspace-blue) !important;
  box-shadow: 0 0 0 4px rgba(7, 141, 187, .12) !important;
}

body.agent-mode.agent-mode :is(.agent-mic-status, .agent-audio-settings, .agent-mic-level) {
  border-color: var(--rc-workspace-line) !important;
  border-radius: 14px !important;
  background: #faf9f7 !important;
  box-shadow: none !important;
}

body.agent-mode.agent-mode .agent-keypad {
  max-width: 390px !important;
  gap: 12px 26px !important;
  margin: 22px auto !important;
}

body.agent-mode.agent-mode .agent-key {
  width: 74px !important;
  height: 74px !important;
  min-height: 74px !important;
  border: 1px solid #e1ddd8 !important;
  border-radius: 50% !important;
  background: #f8f7f5 !important;
  color: var(--rc-workspace-ink) !important;
  box-shadow: 0 5px 14px rgba(45, 40, 35, .045) !important;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

body.agent-mode.agent-mode .agent-key:hover {
  border-color: #a8d9e8 !important;
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
  box-shadow: 0 9px 22px rgba(7, 141, 187, .12) !important;
  transform: translateY(-2px) !important;
}

body.agent-mode.agent-mode .agent-key:active {
  transform: translateY(0) scale(.96) !important;
}

body.agent-mode.agent-mode .agent-key strong {
  font-size: 25px !important;
  font-weight: 600 !important;
}

body.agent-mode.agent-mode .agent-key span {
  color: var(--rc-workspace-muted) !important;
  font-size: 9px !important;
}

body.agent-mode.agent-mode .agent-dial-actions {
  max-width: 390px !important;
  grid-template-columns: 88px 1fr 88px !important;
  gap: 14px !important;
  margin: 18px auto 0 !important;
}

body.agent-mode.agent-mode .agent-btn-call {
  width: 76px !important;
  height: 76px !important;
  min-height: 76px !important;
  border-radius: 50% !important;
  background: var(--rc-workspace-blue) !important;
  box-shadow: 0 14px 30px rgba(7, 141, 187, .27) !important;
}

body.agent-mode.agent-mode .agent-btn-call:hover {
  background: var(--rc-workspace-blue-dark) !important;
  box-shadow: 0 18px 36px rgba(7, 111, 150, .31) !important;
  transform: translateY(-2px) !important;
}

body.agent-mode.agent-mode .agent-btn-call:disabled {
  background: #d6e1e5 !important;
  box-shadow: none !important;
}

body.agent-mode.agent-mode :is(.agent-btn-secondary, .agent-link-btn, .agent-page-link, .agent-filter-button) {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--rc-workspace-copy) !important;
  box-shadow: none !important;
}

body.agent-mode.agent-mode :is(.agent-btn-primary, .agent-page-link.primary) {
  border-color: var(--rc-workspace-blue) !important;
  background: var(--rc-workspace-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(7, 141, 187, .18) !important;
}

body.agent-mode.agent-mode :is(.agent-engine-card, .agent-info-card) {
  border-radius: 18px !important;
}

body.agent-mode.agent-mode .agent-engine-card {
  background: linear-gradient(135deg, #fff 0%, #fff7ef 100%) !important;
}

body.agent-mode.agent-mode .agent-quick-stats {
  gap: 10px !important;
}

body.agent-mode.agent-mode .agent-stat-box {
  min-height: 80px !important;
  padding: 14px !important;
  border-radius: 15px !important;
  background: #fff !important;
}

body.agent-mode.agent-mode .agent-stat-box:nth-child(2),
body.agent-mode.agent-mode .agent-stat-box:nth-child(3) {
  background: #f1f9fb !important;
}

body.agent-mode.agent-mode .agent-stat-box span,
body.agent-mode.agent-mode .agent-info-rows span {
  color: var(--rc-workspace-muted) !important;
}

body.agent-mode.agent-mode .agent-stat-box strong,
body.agent-mode.agent-mode .agent-info-rows strong {
  color: var(--rc-workspace-ink) !important;
}

body.agent-mode.agent-mode :is(.agent-table-wrap, .agent-contact-table-wrap) {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  overflow: hidden !important;
}

body.agent-mode.agent-mode :is(.agent-table, .agent-contact-table) th {
  border-color: var(--rc-workspace-line) !important;
  background: #f3f1ee !important;
  color: var(--rc-workspace-muted) !important;
}

body.agent-mode.agent-mode :is(.agent-table, .agent-contact-table) tr:hover td {
  background: #f4fafb !important;
}

/* Company/admin workspace shell */
body.company-control-body.company-compact-ui {
  --workspace-sidebar: 224px;
  --company-radius: 14px;
  --company-gap: 14px;
  --company-pad: 18px;
  background: var(--rc-workspace-canvas) !important;
  color: var(--rc-workspace-ink) !important;
}

body.company-control-body .vd-shell-sidebar,
body.company-control-body > .app-sidebar {
  width: var(--workspace-sidebar) !important;
  padding: 14px 12px !important;
  border: 0 !important;
  border-right: 1px solid var(--rc-workspace-line) !important;
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 173, 98, .18), transparent 160px),
    linear-gradient(180deg, #fff 0%, #fff 76%, #fff8f1 100%) !important;
  color: var(--rc-workspace-ink) !important;
  box-shadow: none !important;
}

body.company-control-body .company-control-main,
body.company-control-body > .app-main {
  width: calc(100% - var(--workspace-sidebar)) !important;
  min-height: 100vh !important;
  margin-left: var(--workspace-sidebar) !important;
  padding: 14px 22px 44px !important;
  background:
    linear-gradient(180deg, rgba(255, 247, 239, .76), rgba(247, 245, 242, 0) 300px),
    var(--rc-workspace-canvas) !important;
}

body.company-control-body .sidebar-brand-row {
  min-height: 44px !important;
  padding: 0 4px 10px !important;
  border-color: var(--rc-workspace-line) !important;
}

body.company-control-body .vd-shell-sidebar .logo,
body.company-control-body > .app-sidebar .logo {
  color: var(--rc-workspace-ink) !important;
}

body.company-control-body .brand-mark {
  border: 1px solid rgba(255, 173, 98, .36) !important;
  border-radius: 9px !important;
  background: linear-gradient(145deg, #fff0e3, #ffe4ec) !important;
}

body.company-control-body .sidebar-plan-pill {
  border: 1px solid #cde9f1 !important;
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
}

body.company-control-body .sidebar-workspace-card {
  border: 1px solid #eadbd0 !important;
  background: linear-gradient(135deg, #fff7ef, #fff2f6) !important;
}

body.company-control-body .workspace-avatar,
body.company-control-body .vd-account-avatar {
  background: var(--rc-workspace-blue) !important;
  color: #fff !important;
}

body.company-control-body :is(.sidebar-workspace-card, .sidebar-brand-row) strong,
body.company-control-body .sidebar-navigation a {
  color: var(--rc-workspace-copy) !important;
}

body.company-control-body :is(.sidebar-workspace-card, .sidebar-brand-row) small,
body.company-control-body .sidebar-nav-label {
  color: var(--rc-workspace-muted) !important;
}

body.company-control-body .sidebar-navigation {
  gap: 9px !important;
}

body.company-control-body .sidebar-nav-group {
  gap: 3px !important;
}

body.company-control-body .sidebar-nav-label {
  margin: 7px 8px 4px !important;
  font-weight: 700 !important;
}

body.company-control-body .vd-shell-sidebar .sidebar-navigation .sidebar-nav-group > a {
  position: relative !important;
  min-height: 38px !important;
  padding: 5px 8px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--rc-workspace-copy) !important;
  transition: background .17s ease, border-color .17s ease, color .17s ease, transform .17s ease !important;
}

body.company-control-body .vd-shell-sidebar .sidebar-navigation .sidebar-nav-group > a:hover {
  border-color: #e7e1dc !important;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--rc-workspace-blue-dark) !important;
  transform: translateX(2px) !important;
}

body.company-control-body .vd-shell-sidebar .sidebar-navigation .sidebar-nav-group > a.active {
  border-color: #cde9f1 !important;
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
  box-shadow: inset 3px 0 0 var(--rc-workspace-blue) !important;
}

body.company-control-body .sidebar-nav-icon {
  background: #f1efec !important;
  color: #6c665f !important;
}

body.company-control-body .sidebar-navigation a:hover .sidebar-nav-icon,
body.company-control-body .sidebar-navigation a.active .sidebar-nav-icon {
  background: #fff !important;
  color: var(--rc-workspace-blue) !important;
}

body.company-control-body .sidebar-navigation a > b {
  background: #eee9e4 !important;
  color: #716a63 !important;
}

body.company-control-body .sidebar-create-agent {
  border: 1px solid var(--rc-workspace-blue) !important;
  border-radius: 10px !important;
  background: var(--rc-workspace-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(7, 141, 187, .17) !important;
}

body.company-control-body .sidebar-create-agent:hover {
  background: var(--rc-workspace-blue-dark) !important;
  transform: translateY(-1px) !important;
}

body.company-control-body .vd-workspace-topbar {
  min-height: 58px !important;
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: var(--rc-workspace-shadow-soft) !important;
  backdrop-filter: blur(18px) !important;
}

body.company-control-body .vd-workspace-status-dot {
  background: #1aa875 !important;
  box-shadow: 0 0 0 5px rgba(26, 168, 117, .12) !important;
}

body.company-control-body .sidebar-wallet,
body.company-control-body .vd-account-trigger {
  border: 1px solid var(--rc-workspace-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.company-control-body .sidebar-wallet > b {
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
}

body.company-control-body .vd-account-dropdown {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(45, 40, 35, .16) !important;
}

body.company-control-body .detail-hero {
  position: relative !important;
  padding: 20px 22px !important;
  border: 1px solid #ead8ca !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 94% 12%, rgba(233, 163, 197, .34), transparent 170px),
    linear-gradient(120deg, #fff5eb 0%, #fff 64%) !important;
  box-shadow: var(--rc-workspace-shadow-soft) !important;
  overflow: hidden !important;
}

body.company-control-body .detail-hero::after {
  background: radial-gradient(circle, rgba(7, 141, 187, .13), transparent 68%) !important;
}

body.company-control-body .company-breadcrumb,
body.company-control-body .eyebrow {
  color: var(--rc-workspace-blue-dark) !important;
}

body.company-control-body .detail-hero h1 {
  color: var(--rc-workspace-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -.045em !important;
}

body.company-control-body .detail-hero p {
  color: var(--rc-workspace-copy) !important;
}

body.company-control-body :is(.app-command-bar, .saas-context-bar) {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.company-control-body .command-tabs a {
  border-radius: 8px !important;
  color: var(--rc-workspace-copy) !important;
}

body.company-control-body .command-tabs a:hover,
body.company-control-body .command-tabs a.active {
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
}

body.company-control-body .panel {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: var(--company-radius) !important;
  background: #fff !important;
  box-shadow: var(--rc-workspace-shadow-soft) !important;
}

body.company-control-body .panel-head {
  border-color: var(--rc-workspace-line) !important;
}

body.company-control-body .panel-head h2,
body.company-control-body .panel h2,
body.company-control-body .panel h3 {
  color: var(--rc-workspace-ink) !important;
}

body.company-control-body .panel p {
  color: var(--rc-workspace-copy) !important;
}

body.company-control-body :is(.metric-grid, .compact-kpi-grid, .ops-metrics) > article {
  position: relative !important;
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: var(--rc-workspace-shadow-soft) !important;
  overflow: hidden !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.company-control-body :is(.metric-grid, .compact-kpi-grid, .ops-metrics) > article:nth-child(3n + 1) {
  background: linear-gradient(145deg, #fff 45%, #fff3e8 100%) !important;
}

body.company-control-body :is(.metric-grid, .compact-kpi-grid, .ops-metrics) > article:nth-child(3n + 2) {
  background: linear-gradient(145deg, #fff 45%, #eef9fb 100%) !important;
}

body.company-control-body :is(.metric-grid, .compact-kpi-grid, .ops-metrics) > article:nth-child(3n) {
  background: linear-gradient(145deg, #fff 45%, #fff0f5 100%) !important;
}

body.company-control-body :is(.metric-grid, .compact-kpi-grid, .ops-metrics) > article:hover {
  border-color: #cfc8c1 !important;
  box-shadow: 0 14px 34px rgba(45, 40, 35, .09) !important;
  transform: translateY(-2px) !important;
}

body.company-control-body .metric-icon {
  border: 1px solid #d3ebf2 !important;
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
}

body.company-control-body .metric-card > strong {
  color: var(--rc-workspace-ink) !important;
}

body.company-control-body .metric-card :is(span, p) {
  color: var(--rc-workspace-muted) !important;
}

body.company-control-body :is(.quick-actions-grid > a, .workflow-row-list article) {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.company-control-body .quick-actions-grid > a:hover {
  border-color: #add8e4 !important;
  box-shadow: var(--rc-workspace-shadow-soft) !important;
  transform: translateY(-2px) !important;
}

body.company-control-body :is(.primary, button.primary, a.primary) {
  border-color: var(--rc-workspace-blue) !important;
  background: var(--rc-workspace-blue) !important;
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(7, 141, 187, .17) !important;
}

body.company-control-body :is(.primary, button.primary, a.primary):hover {
  border-color: var(--rc-workspace-blue-dark) !important;
  background: var(--rc-workspace-blue-dark) !important;
  box-shadow: 0 12px 28px rgba(7, 111, 150, .22) !important;
  transform: translateY(-1px) !important;
}

body.company-control-body :is(.secondary, button.secondary, a.secondary) {
  border: 1px solid var(--rc-workspace-line-strong) !important;
  background: #fff !important;
  color: var(--rc-workspace-copy) !important;
  box-shadow: none !important;
}

body.company-control-body :is(.secondary, button.secondary, a.secondary):hover {
  border-color: #add8e4 !important;
  background: var(--rc-workspace-blue-soft) !important;
  color: var(--rc-workspace-blue-dark) !important;
}

body.company-control-body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-color: var(--rc-workspace-line-strong) !important;
  background: #fff !important;
  color: var(--rc-workspace-ink) !important;
  box-shadow: none !important;
}

body.company-control-body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
  border-color: var(--rc-workspace-blue) !important;
  box-shadow: 0 0 0 3px rgba(7, 141, 187, .11) !important;
}

body.company-control-body :is(.table-wrap, .call-table-wrap, .agent-table-wrap, .agent-directory) {
  border: 1px solid var(--rc-workspace-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.company-control-body :is(.call-table, .agent-table, .ops-table) th {
  border-color: var(--rc-workspace-line) !important;
  background: #f2f0ed !important;
  color: var(--rc-workspace-muted) !important;
}

body.company-control-body :is(.call-table, .agent-table, .ops-table) td {
  border-color: #ebe7e2 !important;
  color: var(--rc-workspace-copy) !important;
}

body.company-control-body :is(.call-table, .agent-table, .ops-table) tbody tr:hover td {
  background: #f3fafb !important;
}

body.company-control-body :is(.agent-directory-row, .agent-detail-card, .did-agent-card, .contact-card, .recording-card, .autodialer-manager, .autodialer-campaign-card) {
  border-color: var(--rc-workspace-line) !important;
  background: #fff !important;
}

body.company-control-body :is(.status-chip, .status.active, .status.ready) {
  border-color: #c9eadb !important;
  background: #eefaf4 !important;
  color: #177654 !important;
}

body.company-control-body .alert.success {
  border-color: #bfe5d4 !important;
  background: #eefaf4 !important;
  color: #176b4e !important;
}

body.company-control-body .alert.error {
  border-color: #efc6c9 !important;
  background: #fff1f2 !important;
  color: #9f2f38 !important;
}

@keyframes rc-workspace-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

body.agent-mode .agent-workspace-content,
body.company-control-body .company-control-main > :not(.vd-workspace-topbar) {
  animation: rc-workspace-enter .42s cubic-bezier(.2, .72, .22, 1) both;
}

/* Authenticated dark mode */
html[data-theme="dark"] body.agent-mode,
html[data-theme="dark"] body.company-control-body {
  --rc-workspace-canvas: #181817;
  --rc-workspace-surface: #232321;
  --rc-workspace-soft: #292a28;
  --rc-workspace-blue-soft: #123440;
  --rc-workspace-ink: #f6f2ed;
  --rc-workspace-copy: #d1cbc4;
  --rc-workspace-muted: #a8a19a;
  --rc-workspace-line: #3b3936;
  --rc-workspace-line-strong: #4a4743;
  --rc-workspace-shadow: 0 18px 50px rgba(0, 0, 0, .24);
  --rc-workspace-shadow-soft: 0 8px 24px rgba(0, 0, 0, .17);
}

html[data-theme="dark"] body.agent-mode.agent-mode .agent-sidebar,
html[data-theme="dark"] body.company-control-body .vd-shell-sidebar,
html[data-theme="dark"] body.company-control-body > .app-sidebar {
  border-color: var(--rc-workspace-line) !important;
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 173, 98, .08), transparent 170px),
    #20201f !important;
}

html[data-theme="dark"] body.agent-mode.agent-mode .agent-main,
html[data-theme="dark"] body.company-control-body .company-control-main,
html[data-theme="dark"] body.company-control-body > .app-main {
  background: var(--rc-workspace-canvas) !important;
}

html[data-theme="dark"] body.agent-mode.agent-mode .vd-workspace-topbar,
html[data-theme="dark"] body.company-control-body .vd-workspace-topbar,
html[data-theme="dark"] body.agent-mode.agent-mode :is(.agent-header-webphone-trigger, .agent-topbar-line, .vd-account-trigger, .agent-header-webphone-panel, .vd-account-dropdown),
html[data-theme="dark"] body.company-control-body :is(.sidebar-wallet, .vd-account-trigger, .vd-account-dropdown) {
  border-color: var(--rc-workspace-line) !important;
  background: rgba(35, 35, 33, .95) !important;
  color: var(--rc-workspace-ink) !important;
}

html[data-theme="dark"] body.agent-mode.agent-mode :is(
  .agent-card,
  .agent-dialer-card,
  .agent-engine-card,
  .agent-info-card,
  .agent-contact-card,
  .agent-profile-card,
  .agent-permissions-card,
  .agent-settings-card,
  .agent-security-card,
  .agent-metric,
  .agent-stat-box
),
html[data-theme="dark"] body.company-control-body :is(.panel, .app-command-bar, .saas-context-bar, .table-wrap, .call-table-wrap, .agent-table-wrap, .agent-directory) {
  border-color: var(--rc-workspace-line) !important;
  background: var(--rc-workspace-surface) !important;
  color: var(--rc-workspace-ink) !important;
}

html[data-theme="dark"] body.agent-mode.agent-mode :is(.agent-page-header, .agent-phone-hero),
html[data-theme="dark"] body.company-control-body .detail-hero {
  border-color: #4a4038 !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 163, 197, .12), transparent 190px),
    linear-gradient(125deg, #302820 0%, #232321 65%) !important;
}

html[data-theme="dark"] body.agent-mode.agent-mode :is(.agent-dial-input, .agent-key, .agent-mic-status, .agent-audio-settings, .agent-mic-level, .agent-btn-secondary),
html[data-theme="dark"] body.company-control-body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .secondary, button.secondary, a.secondary) {
  border-color: var(--rc-workspace-line) !important;
  background: #292927 !important;
  color: var(--rc-workspace-ink) !important;
}

html[data-theme="dark"] body.company-control-body :is(.metric-grid, .compact-kpi-grid, .ops-metrics) > article,
html[data-theme="dark"] body.company-control-body :is(.quick-actions-grid > a, .workflow-row-list article, .agent-directory-row, .agent-detail-card, .did-agent-card, .contact-card, .recording-card, .autodialer-manager, .autodialer-campaign-card) {
  border-color: var(--rc-workspace-line) !important;
  background: var(--rc-workspace-surface) !important;
}

html[data-theme="dark"] body.agent-mode.agent-mode :is(.agent-table, .agent-contact-table) th,
html[data-theme="dark"] body.company-control-body :is(.call-table, .agent-table, .ops-table) th {
  border-color: var(--rc-workspace-line) !important;
  background: #2b2a28 !important;
}

html[data-theme="dark"] body.company-control-body :is(.call-table, .agent-table, .ops-table) td {
  border-color: var(--rc-workspace-line) !important;
}

@media (max-width: 1100px) {
  body.company-control-body.company-compact-ui {
    --workspace-sidebar: 206px;
  }

  body.agent-mode.agent-mode .agent-sidebar {
    position: sticky !important;
    inset: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 10px 14px !important;
  }

  body.agent-mode.agent-mode .agent-nav {
    display: flex !important;
    gap: 5px !important;
  }

  body.agent-mode.agent-mode .agent-nav > a {
    display: flex !important;
    min-width: max-content !important;
    padding: 6px 10px !important;
  }
}

@media (max-width: 940px) {
  body.company-control-body.company-compact-ui {
    --workspace-sidebar: 0px;
  }

  body.company-control-body .vd-shell-sidebar,
  body.company-control-body > .app-sidebar {
    position: sticky !important;
    inset: 0 !important;
    width: 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--rc-workspace-line) !important;
    background: rgba(255, 255, 255, .96) !important;
  }

  body.company-control-body .company-control-main,
  body.company-control-body > .app-main {
    width: 100% !important;
    margin-left: 0 !important;
  }

  body.company-control-body .vd-shell-sidebar .sidebar-navigation .sidebar-nav-group > a:hover,
  body.company-control-body .vd-shell-sidebar .sidebar-navigation .sidebar-nav-group > a.active {
    transform: none !important;
  }

  html[data-theme="dark"] body.company-control-body .vd-shell-sidebar,
  html[data-theme="dark"] body.company-control-body > .app-sidebar {
    background: rgba(32, 32, 31, .97) !important;
  }
}

@media (max-width: 900px) {
  body.agent-mode.agent-mode .agent-phone-layout {
    max-width: 780px !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 680px) {
  body.agent-mode.agent-mode .vd-workspace-topbar {
    min-height: 60px !important;
  }

  body.agent-mode.agent-mode .agent-workspace-content {
    padding: 14px 10px 0 !important;
  }

  body.agent-mode.agent-mode .agent-dialer-card {
    padding: 20px 14px 22px !important;
    border-radius: 20px !important;
  }

  body.agent-mode.agent-mode .agent-keypad {
    gap: 8px 12px !important;
  }

  body.agent-mode.agent-mode .agent-key {
    width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
  }

  body.agent-mode.agent-mode .agent-dial-actions {
    grid-template-columns: 70px 1fr 70px !important;
    gap: 9px !important;
  }

  body.agent-mode.agent-mode .agent-btn-call {
    width: 66px !important;
    height: 66px !important;
    min-height: 66px !important;
  }

  body.company-control-body .company-control-main,
  body.company-control-body > .app-main {
    padding: 10px 10px 34px !important;
  }

  body.company-control-body .detail-hero {
    padding: 17px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.agent-mode .agent-workspace-content,
  body.company-control-body .company-control-main > :not(.vd-workspace-topbar) {
    animation: none !important;
  }
}

/* Keypad shape authority: overrides the legacy global sharp-corner utility. */
html body.agent-mode.agent-mode .agent-dialer-card .agent-key,
html body.agent-mode.agent-mode .agent-dialer-card .agent-btn-call {
  border-radius: 999px !important;
}

/* Company overview: dense command-center statistics */
body.company-control-body .overview-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 2px 2px 12px;
}

body.company-control-body .overview-section-heading h2 {
  margin: 3px 0 4px;
  color: var(--rc-workspace-ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.company-control-body .overview-section-heading p,
body.company-control-body .overview-live-state small {
  margin: 0;
  color: var(--rc-workspace-muted);
  font-size: 11px;
  font-weight: 600;
}

body.company-control-body .overview-live-state {
  display: grid;
  justify-items: end;
  gap: 5px;
  flex: 0 0 auto;
}

body.company-control-body.company-compact-ui .overview-performance-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.company-control-body .overview-performance-grid > article {
  position: relative;
  overflow: hidden;
}

body.company-control-body .overview-performance-grid > article::after {
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 74px;
  height: 74px;
  border: 15px solid rgba(21, 38, 54, .035);
  border-radius: 50%;
  content: "";
}

body.company-control-body .overview-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: 10px;
  margin: 10px 0;
}

body.company-control-body .overview-dashboard-grid > .panel {
  min-width: 0;
  margin: 0 !important;
}

body.company-control-body .overview-resources-panel {
  overflow: hidden;
}

body.company-control-body .overview-resource-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

body.company-control-body .overview-resource-grid > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  min-width: 0;
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--rc-workspace-line);
  border-radius: 10px;
  background: var(--rc-workspace-soft);
  color: var(--rc-workspace-ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.company-control-body .overview-resource-grid > a:hover {
  z-index: 1;
  border-color: var(--rc-workspace-line-strong);
  box-shadow: var(--rc-workspace-shadow-soft);
  transform: translateY(-2px);
}

body.company-control-body .overview-resource-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--rc-workspace-blue-soft);
  color: #087f9d;
}

body.company-control-body .overview-resource-icon .ui-icon {
  width: 16px;
  height: 16px;
}

body.company-control-body .overview-resource-grid a > span:last-child {
  display: grid;
  min-width: 0;
}

body.company-control-body .overview-resource-grid small,
body.company-control-body .overview-money-grid small,
body.company-control-body .overview-automation-stats small {
  color: var(--rc-workspace-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

body.company-control-body .overview-resource-grid strong {
  margin: 6px 0 4px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.04em;
}

body.company-control-body .overview-resource-grid em,
body.company-control-body .overview-plan-card em {
  color: var(--rc-workspace-muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

body.company-control-body .overview-progress-block,
body.company-control-body .overview-automation-summary {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--rc-workspace-line);
  border-radius: 10px;
  background: var(--rc-workspace-soft);
}

body.company-control-body .overview-progress-block > div:first-child,
body.company-control-body .overview-automation-summary > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.company-control-body .overview-progress-block strong,
body.company-control-body .overview-automation-summary strong {
  font-size: 24px;
  letter-spacing: -.04em;
}

body.company-control-body .overview-progress-block span,
body.company-control-body .overview-automation-summary span {
  color: var(--rc-workspace-copy);
  font-size: 10px;
  font-weight: 700;
}

body.company-control-body .overview-progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rc-workspace-line);
}

body.company-control-body .overview-progress-track > i {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, #087f9d, #51c7ac);
}

body.company-control-body .overview-fact-list {
  display: grid;
  margin-top: 10px;
}

body.company-control-body .overview-fact-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 35px;
  border-bottom: 1px solid var(--rc-workspace-line);
  color: var(--rc-workspace-copy);
  font-size: 10px;
  font-weight: 650;
}

body.company-control-body .overview-fact-list > div:last-child {
  border-bottom: 0;
}

body.company-control-body .overview-fact-list strong {
  color: var(--rc-workspace-ink);
  font-size: 12px;
}

body.company-control-body .overview-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

body.company-control-body .overview-country-list > span {
  display: inline-flex;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 7px;
  background: var(--rc-workspace-blue-soft);
  color: var(--rc-workspace-copy);
  font-size: 9px;
  font-weight: 650;
}

body.company-control-body .overview-country-list b {
  color: var(--rc-workspace-ink);
}

body.company-control-body .overview-plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--rc-workspace-line);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rc-workspace-blue-soft), var(--rc-workspace-soft));
}

body.company-control-body .overview-plan-card > span:first-child {
  display: grid;
  gap: 3px;
}

body.company-control-body .overview-plan-card small {
  color: var(--rc-workspace-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

body.company-control-body .overview-plan-card strong {
  font-size: 18px;
  letter-spacing: -.025em;
}

body.company-control-body .overview-money-grid,
body.company-control-body .overview-automation-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

body.company-control-body .overview-money-grid > div,
body.company-control-body .overview-automation-stats > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--rc-workspace-line);
  border-radius: 9px;
  background: var(--rc-workspace-soft);
}

body.company-control-body .overview-money-grid strong,
body.company-control-body .overview-automation-stats strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

body.company-control-body .overview-money-grid span {
  color: var(--rc-workspace-muted);
  font-size: 9px;
  font-weight: 600;
}

body.company-control-body .overview-operations-grid {
  grid-template-columns: minmax(320px, .84fr) minmax(0, 1.16fr);
}

body.company-control-body .overview-automation-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.company-control-body .overview-automation-stats > div {
  padding: 9px;
  text-align: center;
}

body.company-control-body .overview-automation-stats strong {
  margin-top: 4px;
  font-size: 20px;
}

body.company-control-body .overview-actions-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
}

body.company-control-body .overview-quick-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.company-control-body .overview-report-links {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

body.company-control-body .overview-report-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 31px;
  padding: 6px 9px;
  border: 1px solid var(--rc-workspace-line);
  border-radius: 8px;
  color: var(--rc-workspace-copy);
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

body.company-control-body .overview-report-links > a:hover {
  border-color: var(--rc-workspace-line-strong);
  color: var(--rc-workspace-ink);
}

html[data-theme="dark"] body.company-control-body :is(
  .overview-resource-grid > a,
  .overview-progress-block,
  .overview-automation-summary,
  .overview-plan-card,
  .overview-money-grid > div,
  .overview-automation-stats > div,
  .overview-report-links > a
) {
  border-color: var(--rc-workspace-line);
  background: var(--rc-workspace-soft);
}

@media (max-width: 1320px) {
  body.company-control-body .overview-resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body.company-control-body .overview-dashboard-grid,
  body.company-control-body .overview-operations-grid,
  body.company-control-body .overview-actions-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  body.company-control-body .overview-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body.company-control-body .overview-live-state {
    justify-items: start;
  }

  body.company-control-body.company-compact-ui .overview-performance-grid,
  body.company-control-body .overview-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.company-control-body .overview-resource-grid > a {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 106px;
    padding: 10px;
  }

  body.company-control-body .overview-resource-icon {
    width: 30px;
    height: 30px;
  }

  body.company-control-body .overview-automation-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  body.company-control-body .overview-resource-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.company-control-body .overview-resource-grid > a {
    min-height: 86px;
  }
}
