/* RTC Modern SaaS Hero — place in /rtc-product/rtc-product-hero.css */
:root{
  --rh-navy:#061226;--rh-navy2:#0a2348;--rh-blue:#4f7cff;--rh-cyan:#55d7ff;
  --rh-green:#34d399;--rh-white:#fff;--rh-ink:#dfe9fa;--rh-muted:#9cb0cc;
  --rh-line:rgba(255,255,255,.12);--rh-line2:rgba(255,255,255,.22);
  --rh-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.rtc-saas-hero,.rtc-saas-hero *{box-sizing:border-box}
.rtc-saas-hero{position:relative;isolation:isolate;width:100%;min-height:clamp(780px,92vh,1240px);overflow:hidden;color:var(--rh-white);font-family:var(--rh-font);background:radial-gradient(circle at 16% 8%,rgba(79,124,255,.24),transparent 30%),radial-gradient(circle at 84% 8%,rgba(85,215,255,.15),transparent 27%),linear-gradient(135deg,var(--rh-navy),#081a35 48%,var(--rh-navy2));border-bottom:1px solid var(--rh-line)}
.rtc-saas-hero a{color:inherit}.rtc-saas-hero__ambient{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:clamp(44px,3.4vw,88px) clamp(44px,3.4vw,88px);mask-image:linear-gradient(#000 0%,rgba(0,0,0,.78) 62%,transparent 100%)}
.rtc-saas-hero__shell{width:100%;max-width:2800px;min-height:inherit;margin:auto;padding:clamp(58px,6vw,150px) clamp(22px,5vw,150px) 0}
.rtc-saas-hero__grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(560px,1.12fr);align-items:center;gap:clamp(50px,6vw,150px)}
.rtc-saas-hero__copy{min-width:0;max-width:1080px}.rtc-saas-hero__eyebrow{width:max-content;max-width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:36px;padding:7px 12px;border:1px solid rgba(124,167,255,.3);background:rgba(79,124,255,.1);color:#cfe0ff;font-size:clamp(11px,.72vw,15px);font-weight:850;letter-spacing:.07em;text-transform:uppercase}.rtc-saas-hero__eyebrow>i{width:8px;height:8px;border-radius:50%;background:var(--rh-green);box-shadow:0 0 0 5px rgba(52,211,153,.12)}.rtc-saas-hero__eyebrow strong{padding-left:10px;border-left:1px solid rgba(255,255,255,.18);color:#fff}
.rtc-saas-hero h1{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;text-shadow:0 12px 46px rgba(0,0,0,.2);max-width:1050px;margin:clamp(24px,2vw,40px) 0 0;font-size:clamp(52px,5.2vw,112px);line-height:.96;letter-spacing:-.064em;text-wrap:balance}.rtc-saas-hero h1 span{display:block;color:transparent!important;-webkit-text-fill-color:transparent!important;background:linear-gradient(100deg,#fff,#a8c7ff 45%,#75ddff);background-clip:text;-webkit-background-clip:text}.rtc-saas-hero__lead{max-width:900px;margin:clamp(24px,2.2vw,44px) 0 0;color:var(--rh-ink);font-size:clamp(17px,1.22vw,25px);line-height:1.65;text-wrap:pretty}
.rtc-saas-hero__actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:clamp(28px,2.5vw,50px)}.rtc-saas-hero__button{min-height:clamp(52px,3.6vw,68px);display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:0 clamp(22px,1.8vw,38px);border:1px solid transparent;text-decoration:none;font-size:clamp(14px,.9vw,18px);font-weight:900;transition:.16s ease}.rtc-saas-hero__button:hover{transform:translateY(-2px)}.rtc-saas-hero__button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.rtc-saas-hero__button--primary{color:#06142b!important;-webkit-text-fill-color:#06142b!important;background:linear-gradient(110deg,#fff,#bcd5ff);box-shadow:0 18px 50px rgba(60,116,255,.25)}.rtc-saas-hero__button--secondary{color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--rh-line2);background:rgba(255,255,255,.055);backdrop-filter:blur(14px)}
.rtc-saas-hero__annual-link{color:#c5d8ff!important;-webkit-text-fill-color:#c5d8ff!important;display:inline-block;margin-top:15px;font-size:clamp(11px,.72vw,14px);font-weight:800;text-underline-offset:4px}.rtc-saas-hero__annual-link:hover{color:#fff}
.rtc-saas-hero__trial-note{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;margin-top:18px;color:var(--rh-muted);font-size:clamp(11px,.72vw,14px);line-height:1.5}.rtc-saas-hero__trial-note strong{color:#fff}.rtc-saas-hero__trial-note span:before{content:"•";margin-right:15px;color:rgba(255,255,255,.35)}
.rtc-saas-hero__proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:clamp(34px,3vw,64px);border-top:1px solid var(--rh-line);border-left:1px solid var(--rh-line)}.rtc-saas-hero__proof article{padding:clamp(16px,1.3vw,27px);border-right:1px solid var(--rh-line);border-bottom:1px solid var(--rh-line);background:rgba(255,255,255,.022)}.rtc-saas-hero__proof strong,.rtc-saas-hero__proof span{display:block}.rtc-saas-hero__proof strong{font-size:clamp(14px,.92vw,19px)}.rtc-saas-hero__proof span{margin-top:6px;color:var(--rh-muted);font-size:clamp(11px,.7vw,14px);line-height:1.45}
.rtc-saas-hero__visual{position:relative;min-width:0;perspective:1600px}.rtc-saas-hero__window{overflow:hidden;border:1px solid rgba(165,194,255,.25);background:rgba(5,17,37,.82);box-shadow:0 40px 120px rgba(0,0,0,.34);backdrop-filter:blur(28px);transform:rotateY(-4deg) rotateX(1deg);transform-origin:center right}.rtc-saas-hero__windowbar{min-height:clamp(58px,4vw,76px);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:0 clamp(18px,1.4vw,28px);border-bottom:1px solid var(--rh-line);background:rgba(255,255,255,.035)}.rtc-saas-hero__windowbar>div small,.rtc-saas-hero__windowbar>div strong{display:block}.rtc-saas-hero__windowbar>div small{color:var(--rh-muted);font-size:9px;text-transform:uppercase;letter-spacing:.12em}.rtc-saas-hero__windowbar>div strong{margin-top:3px;font-size:13px}.rtc-saas-hero__dots{display:flex;gap:7px}.rtc-saas-hero__dots i{width:9px;height:9px;border-radius:50%;background:#ff7184}.rtc-saas-hero__dots i:nth-child(2){background:#f4c85d}.rtc-saas-hero__dots i:nth-child(3){background:#4ed6a7}.rtc-saas-hero__windowbar>em{display:flex;align-items:center;gap:7px;color:#9fe6c9;font-size:10px;font-style:normal;font-weight:800}.rtc-saas-hero__windowbar>em i{width:7px;height:7px;border-radius:50%;background:var(--rh-green)}
.rtc-saas-hero__workspace{display:grid;grid-template-columns:clamp(52px,4vw,78px) 1fr;min-height:clamp(540px,39vw,780px)}.rtc-saas-hero__workspace>aside{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 10px;border-right:1px solid var(--rh-line);background:rgba(4,15,34,.7)}.rtc-saas-hero__workspace>aside b{width:34px;height:34px;display:grid;place-items:center;color:#66809f;font-size:10px}.rtc-saas-hero__workspace>aside .is-active{color:#fff;background:rgba(79,124,255,.24);box-shadow:inset 3px 0 0 #7ca7ff}.rtc-saas-hero__dashboard{min-width:0;padding:clamp(18px,1.6vw,34px)}.rtc-saas-hero__dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:clamp(17px,1.3vw,26px);border-bottom:1px solid var(--rh-line)}.rtc-saas-hero__dashboard-head small,.rtc-saas-hero__dashboard-head strong{display:block}.rtc-saas-hero__dashboard-head small{color:var(--rh-muted);font-size:9px;text-transform:uppercase;letter-spacing:.12em}.rtc-saas-hero__dashboard-head strong{margin-top:6px;font-size:clamp(17px,1.2vw,24px)}.rtc-saas-hero__dashboard-head>span{padding:8px 10px;border:1px solid rgba(124,167,255,.28);background:rgba(79,124,255,.12);color:#bad0ff;font-size:10px;font-weight:900;letter-spacing:.1em}
.rtc-saas-hero__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:1px solid var(--rh-line)}.rtc-saas-hero__metrics article{padding:clamp(14px,1.2vw,24px);border-right:1px solid var(--rh-line);border-bottom:1px solid var(--rh-line)}.rtc-saas-hero__metrics span,.rtc-saas-hero__metrics strong,.rtc-saas-hero__metrics small{display:block}.rtc-saas-hero__metrics span{color:var(--rh-muted);font-size:9px}.rtc-saas-hero__metrics strong{margin-top:8px;font-size:clamp(20px,1.8vw,34px)}.rtc-saas-hero__metrics .is-live{color:#75e5bb}.rtc-saas-hero__metrics small{margin-top:4px;color:#7187a7;font-size:8px}
.rtc-saas-hero__main-ui{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:clamp(14px,1.3vw,24px);margin-top:clamp(18px,1.5vw,30px)}.rtc-saas-hero__chat-card,.rtc-saas-hero__context-card,.rtc-saas-hero__credit-card{border:1px solid var(--rh-line);background:rgba(255,255,255,.035)}.rtc-saas-hero__chat-card{display:flex;flex-direction:column;min-height:clamp(330px,25vw,500px)}.rtc-saas-hero__chat-card>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:clamp(14px,1.25vw,24px);border-bottom:1px solid var(--rh-line)}.rtc-saas-hero__chat-card>header>div{display:flex;align-items:center;gap:11px}.rtc-saas-hero__avatar{width:38px;height:38px;display:grid;place-items:center;background:linear-gradient(145deg,#446dda,#24479f);font-size:11px;font-weight:950}.rtc-saas-hero__chat-card header p{margin:0}.rtc-saas-hero__chat-card header strong,.rtc-saas-hero__chat-card header small{display:block}.rtc-saas-hero__chat-card header strong{font-size:13px}.rtc-saas-hero__chat-card header small{margin-top:3px;color:var(--rh-muted);font-size:9px}.rtc-saas-hero__chat-card header em{color:#86e9c6;font-size:9px;font-style:normal;font-weight:900;text-transform:uppercase}.rtc-saas-hero__chat{flex:1;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:clamp(16px,1.5vw,30px)}.rtc-saas-hero__chat p{max-width:84%;margin:0;padding:13px 15px;font-size:clamp(11px,.73vw,14px);line-height:1.55}.rtc-saas-hero__chat .is-visitor{align-self:flex-end;background:rgba(79,124,255,.19);border:1px solid rgba(124,167,255,.2)}.rtc-saas-hero__chat .is-agent{align-self:flex-start;background:rgba(255,255,255,.075);border:1px solid var(--rh-line)}.rtc-saas-hero__chat-card>footer{display:flex;flex-wrap:wrap;gap:7px;padding:13px;border-top:1px solid var(--rh-line)}.rtc-saas-hero__chat-card>footer span{padding:6px 8px;background:rgba(255,255,255,.045);color:#8ea4c2;font-size:8px;font-weight:800;text-transform:uppercase}
.rtc-saas-hero__side-stack{display:grid;gap:clamp(14px,1.3vw,24px)}.rtc-saas-hero__context-card,.rtc-saas-hero__credit-card{padding:clamp(16px,1.3vw,24px)}.rtc-saas-hero__context-card header{display:flex;justify-content:space-between;gap:12px}.rtc-saas-hero__context-card header span,.rtc-saas-hero__credit-card>span{color:var(--rh-muted);font-size:9px;text-transform:uppercase;letter-spacing:.1em}.rtc-saas-hero__context-card header strong{color:#91e8ca;font-size:10px}.rtc-saas-hero__context-card ol{display:grid;margin:16px 0 0;padding:0;list-style:none;border-top:1px solid var(--rh-line)}.rtc-saas-hero__context-card li{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid var(--rh-line);color:#c9d7eb;font-size:10px}.rtc-saas-hero__context-card li b{color:#6f92d8;font-size:9px}.rtc-saas-hero__credit-card{background:radial-gradient(circle at 100% 0,rgba(85,215,255,.1),transparent 46%),rgba(255,255,255,.035)}.rtc-saas-hero__credit-card strong{display:block;margin-top:7px;font-size:clamp(15px,1vw,20px)}.rtc-saas-hero__credit-card p{margin:13px 0 0;color:var(--rh-muted);font-size:10px;line-height:1.55}
.rtc-saas-hero__float{position:absolute;min-width:210px;padding:14px 16px;border:1px solid rgba(255,255,255,.18);background:rgba(7,22,47,.9);box-shadow:0 22px 60px rgba(0,0,0,.28);backdrop-filter:blur(18px)}.rtc-saas-hero__float span,.rtc-saas-hero__float strong,.rtc-saas-hero__float small{display:block}.rtc-saas-hero__float span{color:var(--rh-muted);font-size:9px;text-transform:uppercase;letter-spacing:.1em}.rtc-saas-hero__float strong{margin-top:5px;font-size:16px}.rtc-saas-hero__float small{margin-top:3px;color:#91a7c4;font-size:9px}.rtc-saas-hero__float--trial{top:-32px;right:clamp(10px,3vw,55px)}.rtc-saas-hero__float--billing{left:-42px;bottom:-34px}
.rtc-saas-hero__steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:clamp(80px,7vw,150px);border-top:1px solid var(--rh-line);border-left:1px solid var(--rh-line)}.rtc-saas-hero__steps article{display:grid;grid-template-columns:auto 1fr;align-content:center;gap:4px 14px;min-height:clamp(98px,7vw,142px);padding:clamp(18px,1.5vw,30px);border-right:1px solid var(--rh-line);border-bottom:1px solid var(--rh-line);background:rgba(255,255,255,.02)}.rtc-saas-hero__steps b{grid-row:1/3;color:#6d8fca;font-size:10px}.rtc-saas-hero__steps strong,.rtc-saas-hero__steps span{display:block}.rtc-saas-hero__steps strong{font-size:clamp(13px,.88vw,18px)}.rtc-saas-hero__steps span{margin-top:4px;color:var(--rh-muted);font-size:clamp(10px,.64vw,13px)}
@media(max-width:1450px){.rtc-saas-hero__grid{grid-template-columns:minmax(0,.9fr) minmax(520px,1.1fr);gap:54px}.rtc-saas-hero__window{transform:none}.rtc-saas-hero__float--billing{left:-18px}}
@media(max-width:1180px){.rtc-saas-hero{min-height:auto}.rtc-saas-hero__grid{grid-template-columns:1fr}.rtc-saas-hero__copy{max-width:960px}.rtc-saas-hero__visual{margin-top:28px}.rtc-saas-hero__float--billing{left:18px}}
@media(max-width:820px){.rtc-saas-hero__shell{padding-inline:18px}.rtc-saas-hero h1{font-size:clamp(46px,13vw,74px)}.rtc-saas-hero__proof,.rtc-saas-hero__steps{grid-template-columns:repeat(2,minmax(0,1fr))}.rtc-saas-hero__workspace{grid-template-columns:1fr}.rtc-saas-hero__workspace>aside{display:none}.rtc-saas-hero__main-ui{grid-template-columns:1fr}.rtc-saas-hero__float{position:static;display:inline-block;margin:12px 8px 0 0}}
@media(max-width:620px){.rtc-saas-hero__shell{padding-top:46px}.rtc-saas-hero__eyebrow strong{width:100%;padding:7px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.16)}.rtc-saas-hero h1{letter-spacing:-.052em}.rtc-saas-hero__actions,.rtc-saas-hero__button{width:100%}.rtc-saas-hero__proof,.rtc-saas-hero__metrics,.rtc-saas-hero__steps{grid-template-columns:1fr}.rtc-saas-hero__windowbar{grid-template-columns:auto 1fr}.rtc-saas-hero__windowbar>em{display:none}.rtc-saas-hero__dashboard{padding:14px}.rtc-saas-hero__dashboard-head{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.rtc-saas-hero *{animation:none!important;transition:none!important}}


/* =========================================================
   RTC HERO — GLOBAL CSS COLLISION PROTECTION
   These selectors intentionally override older WebsDocs
   heading, link, paragraph and button color declarations.
========================================================= */

.rtc-saas-hero {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor;
}

.rtc-saas-hero__copy,
.rtc-saas-hero__visual,
.rtc-saas-hero__window,
.rtc-saas-hero__dashboard,
.rtc-saas-hero__chat-card,
.rtc-saas-hero__context-card,
.rtc-saas-hero__credit-card {
  color: #ffffff;
}

.rtc-saas-hero #rtcHeroTitle,
.rtc-saas-hero h1#rtcHeroTitle {
  color: #f7fbff !important;
  -webkit-text-fill-color: #f7fbff !important;
  opacity: 1 !important;
  filter: none !important;
}

.rtc-saas-hero #rtcHeroTitle > span,
.rtc-saas-hero h1#rtcHeroTitle > span {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: linear-gradient(
    100deg,
    #ffffff 0%,
    #c8d9ff 38%,
    #79dcff 100%
  ) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  opacity: 1 !important;
}

.rtc-saas-hero .rtc-saas-hero__lead {
  color: #e4edfb !important;
  -webkit-text-fill-color: #e4edfb !important;
  opacity: 1 !important;
}

.rtc-saas-hero .rtc-saas-hero__button--primary,
.rtc-saas-hero a.rtc-saas-hero__button--primary,
.rtc-saas-hero a.rtc-saas-hero__button--primary:visited {
  color: #07152c !important;
  -webkit-text-fill-color: #07152c !important;
  background: linear-gradient(110deg, #ffffff 0%, #bdd5ff 100%) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.rtc-saas-hero .rtc-saas-hero__button--primary svg {
  color: #07152c !important;
  stroke: #07152c !important;
}

.rtc-saas-hero .rtc-saas-hero__button--secondary,
.rtc-saas-hero a.rtc-saas-hero__button--secondary,
.rtc-saas-hero a.rtc-saas-hero__button--secondary:visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.065) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.rtc-saas-hero .rtc-saas-hero__annual-link,
.rtc-saas-hero a.rtc-saas-hero__annual-link,
.rtc-saas-hero a.rtc-saas-hero__annual-link:visited {
  color: #c8d9ff !important;
  -webkit-text-fill-color: #c8d9ff !important;
  opacity: 1 !important;
}

.rtc-saas-hero .rtc-saas-hero__annual-link:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.rtc-saas-hero__eyebrow,
.rtc-saas-hero__eyebrow span {
  color: #d7e5ff !important;
  -webkit-text-fill-color: #d7e5ff !important;
}

.rtc-saas-hero__eyebrow strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.rtc-saas-hero__trial-note {
  color: #aebfda !important;
  -webkit-text-fill-color: #aebfda !important;
}

.rtc-saas-hero__trial-note strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.rtc-saas-hero__proof strong,
.rtc-saas-hero__steps strong,
.rtc-saas-hero__dashboard-head strong,
.rtc-saas-hero__chat-card strong,
.rtc-saas-hero__credit-card strong,
.rtc-saas-hero__float strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

.rtc-saas-hero__proof span,
.rtc-saas-hero__steps span,
.rtc-saas-hero__credit-card p,
.rtc-saas-hero__chat-card small,
.rtc-saas-hero__float small {
  opacity: 1 !important;
}

.rtc-saas-hero__dashboard-head > span {
  color: #c7d8ff !important;
  -webkit-text-fill-color: #c7d8ff !important;
}

.rtc-saas-hero__metrics article > span {
  color: #a7b9d4 !important;
  -webkit-text-fill-color: #a7b9d4 !important;
}

.rtc-saas-hero__metrics article > strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.rtc-saas-hero__metrics article > strong.is-live {
  color: #73e4ba !important;
  -webkit-text-fill-color: #73e4ba !important;
}

.rtc-saas-hero__chat .is-visitor {
  color: #ecf3ff !important;
  -webkit-text-fill-color: #ecf3ff !important;
}

.rtc-saas-hero__chat .is-agent {
  color: #dce7f8 !important;
  -webkit-text-fill-color: #dce7f8 !important;
}

.rtc-saas-hero__context-card li span {
  color: #d4e0f2 !important;
  -webkit-text-fill-color: #d4e0f2 !important;
}

.rtc-saas-hero__credit-card p {
  color: #b4c5dd !important;
  -webkit-text-fill-color: #b4c5dd !important;
}

.rtc-saas-hero a:focus-visible {
  outline: 3px solid #79dcff !important;
  outline-offset: 4px;
}


/* =========================================================
   RTC — PRODUCT INTRODUCTION
   Append this complete block to rtc.css
========================================================= */

.rtc-intro,
.rtc-intro * {
  box-sizing: border-box;
}

.rtc-intro {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #10233c;
  background:
    radial-gradient(circle at 92% 0%, rgba(79, 124, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 36%, #f4f7fc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-bottom: 1px solid #dbe3ee;
}

.rtc-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(26, 62, 109, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 62, 109, 0.045) 1px, transparent 1px);
  background-size: clamp(46px, 3.3vw, 82px) clamp(46px, 3.3vw, 82px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

.rtc-intro__shell {
  position: relative;
  width: 100%;
  max-width: 2800px;
  margin: 0 auto;
  padding: clamp(82px, 8vw, 190px) clamp(22px, 5vw, 150px);
}

.rtc-intro__head {
  max-width: 2100px;
}

.rtc-intro__eyebrow {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid #c8d7f3;
  background: #edf3ff;
  color: #315fc9;
  font-size: clamp(10px, 0.65vw, 13px);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rtc-intro__head h2 {
  max-width: 1900px;
  margin: clamp(24px, 2.4vw, 48px) 0 0;
  color: #0c203a !important;
  -webkit-text-fill-color: #0c203a !important;
  font-size: clamp(46px, 5vw, 108px);
  line-height: 0.99;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.rtc-intro__lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 5vw, 120px);
  align-items: start;
  max-width: 1960px;
  margin-top: clamp(36px, 3.6vw, 76px);
}

.rtc-intro__lead,
.rtc-intro__supporting {
  margin: 0;
  color: #40536d !important;
  -webkit-text-fill-color: #40536d !important;
  line-height: 1.72;
}

.rtc-intro__lead {
  font-size: clamp(19px, 1.48vw, 31px);
}

.rtc-intro__supporting {
  padding-left: clamp(22px, 2.5vw, 48px);
  border-left: 3px solid #4f7cff;
  font-size: clamp(15px, 1vw, 21px);
}

.rtc-intro__statement {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 90px);
  margin-top: clamp(64px, 6vw, 130px);
  padding: clamp(28px, 3.2vw, 68px);
  border: 1px solid #cfd9e7;
  background:
    radial-gradient(circle at 100% 0%, rgba(75, 126, 255, 0.16), transparent 28%),
    #0b203c;
  box-shadow: 0 28px 90px rgba(28, 53, 88, 0.13);
}

.rtc-intro__statement-label {
  color: #8eafea !important;
  -webkit-text-fill-color: #8eafea !important;
  font-size: clamp(10px, 0.72vw, 14px);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rtc-intro__statement p {
  margin: 0;
  color: #c9d8ec !important;
  -webkit-text-fill-color: #c9d8ec !important;
  font-size: clamp(25px, 2.5vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.rtc-intro__statement strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.rtc-intro__pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(44px, 4.5vw, 96px);
  border-top: 1px solid #ced8e6;
  border-left: 1px solid #ced8e6;
  background: #ffffff;
  box-shadow: 0 22px 80px rgba(32, 56, 91, 0.08);
}

.rtc-intro__pillar {
  position: relative;
  min-width: 0;
  min-height: clamp(330px, 25vw, 520px);
  padding: clamp(25px, 2.4vw, 52px);
  border-right: 1px solid #ced8e6;
  border-bottom: 1px solid #ced8e6;
  background:
    linear-gradient(180deg, rgba(245, 248, 253, 0.52), transparent 42%),
    #ffffff;
}

.rtc-intro__pillar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, #315fd6, #55c9f3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.rtc-intro__pillar:hover::after {
  transform: scaleX(1);
}

.rtc-intro__pillar-number {
  color: #7e94b2 !important;
  -webkit-text-fill-color: #7e94b2 !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rtc-intro__pillar-icon {
  width: clamp(48px, 3.5vw, 72px);
  height: clamp(48px, 3.5vw, 72px);
  display: grid;
  place-items: center;
  margin-top: clamp(34px, 3vw, 62px);
  border: 1px solid #c9d7ee;
  background: #eff4ff;
  color: #315fd6;
}

.rtc-intro__pillar-icon svg {
  width: 47%;
  height: 47%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rtc-intro__pillar h3 {
  margin: clamp(24px, 2vw, 40px) 0 0;
  color: #10233c !important;
  -webkit-text-fill-color: #10233c !important;
  font-size: clamp(21px, 1.55vw, 33px);
  line-height: 1.17;
  letter-spacing: -0.032em;
}

.rtc-intro__pillar p {
  margin: 18px 0 0;
  color: #5b6d84 !important;
  -webkit-text-fill-color: #5b6d84 !important;
  font-size: clamp(13px, 0.86vw, 18px);
  line-height: 1.68;
}

.rtc-intro__flow {
  margin-top: clamp(70px, 7vw, 150px);
  border: 1px solid #ccd7e5;
  background: #ffffff;
}

.rtc-intro__flow-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 4vw, 80px);
  padding: clamp(28px, 3vw, 64px);
  border-bottom: 1px solid #d4deea;
}

.rtc-intro__flow-head span {
  color: #315fd6 !important;
  -webkit-text-fill-color: #315fd6 !important;
  font-size: clamp(10px, 0.68vw, 14px);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rtc-intro__flow-head h3 {
  max-width: 1200px;
  margin: 0;
  color: #10233c !important;
  -webkit-text-fill-color: #10233c !important;
  font-size: clamp(28px, 2.7vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.rtc-intro__flow-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto minmax(0, 1fr) auto
    minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.rtc-intro__flow-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  min-width: 0;
  min-height: clamp(160px, 12vw, 250px);
  padding: clamp(24px, 2.2vw, 48px);
}

.rtc-intro__flow-grid article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #edf3ff;
  color: #315fd6 !important;
  -webkit-text-fill-color: #315fd6 !important;
  font-size: 10px;
  font-weight: 900;
}

.rtc-intro__flow-grid strong,
.rtc-intro__flow-grid small {
  display: block;
}

.rtc-intro__flow-grid strong {
  color: #142943 !important;
  -webkit-text-fill-color: #142943 !important;
  font-size: clamp(15px, 1vw, 21px);
}

.rtc-intro__flow-grid small {
  margin-top: 8px;
  color: #65758a !important;
  -webkit-text-fill-color: #65758a !important;
  font-size: clamp(11px, 0.72vw, 15px);
  line-height: 1.5;
}

.rtc-intro__flow-grid > i {
  position: relative;
  width: clamp(34px, 3vw, 68px);
}

.rtc-intro__flow-grid > i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  right: 14px;
  height: 1px;
  background: #aebed3;
}

.rtc-intro__flow-grid > i::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 7px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #7992b2;
  border-right: 1px solid #7992b2;
  transform: rotate(45deg);
}

.rtc-intro__closing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  gap: clamp(40px, 6vw, 130px);
  align-items: end;
  margin-top: clamp(70px, 7vw, 150px);
  padding-top: clamp(40px, 4vw, 86px);
  border-top: 1px solid #cbd6e4;
}

.rtc-intro__closing span {
  color: #315fd6 !important;
  -webkit-text-fill-color: #315fd6 !important;
  font-size: clamp(10px, 0.67vw, 14px);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rtc-intro__closing h3 {
  max-width: 1300px;
  margin: 18px 0 0;
  color: #10233c !important;
  -webkit-text-fill-color: #10233c !important;
  font-size: clamp(31px, 3.3vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.rtc-intro__closing > p {
  margin: 0;
  color: #53667e !important;
  -webkit-text-fill-color: #53667e !important;
  font-size: clamp(15px, 1vw, 21px);
  line-height: 1.7;
}

@media (max-width: 1220px) {
  .rtc-intro__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-intro__flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-intro__flow-grid > i {
    display: none;
  }

  .rtc-intro__flow-grid article {
    border-right: 1px solid #d4deea;
    border-bottom: 1px solid #d4deea;
  }
}

@media (max-width: 820px) {
  .rtc-intro__lead-grid,
  .rtc-intro__statement,
  .rtc-intro__flow-head,
  .rtc-intro__closing {
    grid-template-columns: 1fr;
  }

  .rtc-intro__supporting {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 3px solid #4f7cff;
  }
}

@media (max-width: 620px) {
  .rtc-intro__shell {
    padding-inline: 18px;
  }

  .rtc-intro__head h2 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .rtc-intro__pillars,
  .rtc-intro__flow-grid {
    grid-template-columns: 1fr;
  }

  .rtc-intro__pillar {
    min-height: auto;
  }

  .rtc-intro__statement {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rtc-intro *,
  .rtc-intro *::before,
  .rtc-intro *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================================
   RTC PRICING — FINAL PUBLISH CSS
   Complete replacement for the existing RTC pricing block.
   Full width, border to border, four visible cards.
========================================================= */

.rtc-pricing,
.rtc-pricing * {
  box-sizing: border-box;
}

.rtc-pricing {
  --ink: #f4f8fc;
  --muted: #a9c4e1;
  --line: #294864;
  --panel: #122c47;
  --panel-deep: #0a1c31;
  --accent-a: #69b8f1;
  --accent-b: #72e2c4;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 7vw, 126px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #071525;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rtc-pricing__content {
  width: 100%;
  padding-inline: clamp(18px, 4.5vw, 88px);
}

.rtc-pricing__header {
  max-width: 980px;
  margin-bottom: 26px;
}

.rtc-pricing__kicker,
.rtc-plan-eyebrow,
.rtc-custom-quote__eyebrow {
  margin: 0 0 9px;
  color: #79b8ee;
  font-size: .71rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rtc-pricing__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.rtc-pricing__header > p:last-child {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(.92rem, 1vw, 1.05rem);
  line-height: 1.7;
}

.rtc-billing-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(185px, 1fr));
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-deep);
}

.rtc-billing-switch button {
  min-height: 62px;
  padding: 10px 18px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
}

.rtc-billing-switch button + button {
  border-left: 1px solid var(--line);
}

.rtc-billing-switch button small {
  display: block;
  margin-top: 4px;
  font-size: .65rem;
  font-weight: 400;
  opacity: .78;
}

.rtc-billing-switch button.is-active {
  color: #061522;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.rtc-billing-switch button:focus-visible,
.rtc-plan-cta:focus-visible,
.rtc-pricing__decision-button:focus-visible,
.rtc-custom-quote > a:focus-visible {
  outline: 3px solid rgba(105, 184, 241, .35);
  outline-offset: 3px;
}

.rtc-plan-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.rtc-plan-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(24px, 2vw, 34px);
  background: var(--panel);
}

.rtc-plan-card--trial {
  background: linear-gradient(180deg, #163b59 0%, var(--panel) 38%);
}

.rtc-plan-card--featured {
  box-shadow: inset 0 3px 0 #6ccfd1;
}

.rtc-plan-card header {
  min-height: 154px;
}

.rtc-plan-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.55vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -.03em;
}

.rtc-plan-card header > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.62;
}

.rtc-plan-price {
  display: flex;
  min-height: 62px;
  align-items: baseline;
  gap: 7px;
  margin: 20px 0 7px;
}

.rtc-plan-price strong {
  color: #fff;
  font-size: clamp(1.75rem, 2.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.045em;
}

.rtc-plan-price span {
  color: #91b7dc;
  font-size: .72rem;
}

.rtc-trial-badge,
.rtc-plan-saving {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 500;
}

.rtc-trial-badge {
  margin-bottom: 13px;
  color: #8fe1ff;
  background: #0c2a43;
  border: 1px solid #28516d;
}

.rtc-plan-saving {
  margin: 0 0 12px;
  color: #76ebc9;
  background: #10362f;
  border: 1px solid #2d7567;
}

.rtc-payment-copy {
  min-height: 4.7em;
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.58;
}

.rtc-plan-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.rtc-plan-card li {
  position: relative;
  padding-left: 15px;
  color: #e1edf8;
  font-size: .76rem;
  line-height: 1.48;
}

.rtc-plan-card li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #74c9d4;
  content: "";
}

.rtc-plan-cta {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  color: #071522;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  font-size: .79rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.rtc-plan-cta:hover {
  transform: translateY(-1px);
  filter: brightness(.97);
}

.rtc-plan-cta--quiet {
  color: #071522;
}

.rtc-plan-contract {
  display: block;
  min-height: 3em;
  margin-top: 11px;
  color: #84a9cc;
  font-size: .65rem;
  line-height: 1.5;
  text-align: center;
}

/* Final pricing decision actions */
.rtc-pricing__decision-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.rtc-pricing__decision-button {
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 0;
  background: var(--panel-deep);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.rtc-pricing__decision-button:hover {
  background: #102b47;
}

.rtc-pricing__decision-button > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #315777;
  background: #102f4d;
  color: #7fd8df;
  font-size: 16px;
}

.rtc-pricing__decision-button span,
.rtc-pricing__decision-button strong,
.rtc-pricing__decision-button small {
  display: block;
}

.rtc-pricing__decision-button strong {
  color: #fff;
  font-size: .84rem;
  line-height: 1.35;
}

.rtc-pricing__decision-button small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.5;
}

.rtc-custom-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(28px, 3vw, 46px);
  border: 1px solid var(--line);
  background: linear-gradient(110deg, #102b45, #0a1c31);
}

.rtc-custom-quote h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 1.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.rtc-custom-quote div > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.62;
}

.rtc-custom-quote > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 20px;
  border-radius: 9px;
  color: #071522;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, filter 160ms ease;
}

.rtc-custom-quote > a:hover {
  transform: translateY(-1px);
  filter: brightness(.97);
}

@media (max-width: 1280px) {
  .rtc-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-plan-card header,
  .rtc-payment-copy {
    min-height: auto;
  }

  .rtc-pricing__decision-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .rtc-pricing__content {
    padding-inline: 16px;
  }

  .rtc-billing-switch,
  .rtc-plan-grid {
    grid-template-columns: 1fr;
  }

  .rtc-billing-switch {
    width: 100%;
  }

  .rtc-billing-switch button + button {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .rtc-pricing__decision-button {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 82px;
    padding: 16px;
  }

  .rtc-pricing__decision-button > i {
    width: 38px;
    height: 38px;
  }

  .rtc-custom-quote {
    grid-template-columns: 1fr;
  }

  .rtc-custom-quote > a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rtc-plan-cta,
  .rtc-pricing__decision-button,
  .rtc-custom-quote > a {
    transition: none !important;
  }
}



/* =========================================================
   WebsDocs RTC — Full Scope / Credits / Billing Popup
   COMPLETE CLEAN CSS REPLACEMENT
   Reduced top gap + expanded panel toward the bottom.
   CSS only — no additional JavaScript or HTML required.
========================================================= */

/* =========================================================
   PAGE LOCK
========================================================= */

html:has(.ai-help-popup.is-open),
body:has(.ai-help-popup.is-open),
html.rtc-popup-open,
body.rtc-popup-open {
  overflow: hidden;
}

/* Popup HTML is already after the footer, before </body>. */
.ai-help-popup-wrap {
  position: static;
  z-index: auto;
  overflow: visible;
}

/* =========================================================
   POPUP VIEWPORT LAYER
========================================================= */

.ai-help-popup {
  --rtc-popup-navy: #071632;
  --rtc-popup-navy-2: #10264d;
  --rtc-popup-blue: #315fd6;
  --rtc-popup-blue-dark: #2148af;
  --rtc-popup-cyan: #25aeea;
  --rtc-popup-green: #168746;
  --rtc-popup-ink: #132033;
  --rtc-popup-muted: #667085;
  --rtc-popup-line: #d7dfeb;
  --rtc-popup-soft: #f5f7fb;
  --rtc-popup-panel: #ffffff;

  position: fixed;
  inset: 0;
  z-index: 2147483647;
  isolation: isolate;

  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  margin: 0;

  display: grid;
  align-items: start;
  justify-items: center;

  /*
    Small top gap so the panel sits above the sticky header,
    while almost the full viewport remains available below.
  */
  padding:
    max(4px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(6px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));

  overflow: hidden;
  overscroll-behavior: none;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.ai-help-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =========================================================
   BACKDROP
========================================================= */

.ai-help-popup-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(49, 95, 214, 0.24),
      transparent 36%
    ),
    rgba(4, 13, 31, 0.82);

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  cursor: pointer;
}

/* =========================================================
   PANEL
========================================================= */

.ai-help-popup-panel {
  position: relative;
  z-index: 1;

  width: min(
    1760px,
    calc(100vw - clamp(20px, 3vw, 72px))
  );

  /*
    The panel now starts near the top and extends almost
    completely to the bottom of the viewport.
  */
  height: calc(100dvh - 10px);
  max-height: calc(100dvh - 10px);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--rtc-popup-panel);
  color: var(--rtc-popup-ink);

  box-shadow:
    0 26px 90px rgba(4, 13, 31, 0.38);

  outline: none;

  transform: translateY(10px) scale(0.992);

  transition:
    transform 180ms ease;
}

.ai-help-popup.is-open .ai-help-popup-panel {
  transform: translateY(0) scale(1);
}

/* =========================================================
   ALWAYS-VISIBLE TOP CLOSE CROSS
========================================================= */

.ai-help-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 100;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;

  background: var(--rtc-popup-navy);
  color: #ffffff;

  box-shadow:
    0 10px 28px rgba(4, 13, 31, 0.30);

  font: 500 27px/1 Arial, sans-serif;
  text-align: center;

  cursor: pointer;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.ai-help-popup-close:hover {
  background: var(--rtc-popup-blue-dark);
  transform: translateY(-1px);

  box-shadow:
    0 14px 34px rgba(4, 13, 31, 0.36);
}

.ai-help-popup-close:active {
  transform: translateY(0);
}

.ai-help-popup-close:focus-visible,
.ai-help-popup-actions .btn:focus-visible {
  outline: 3px solid rgba(37, 174, 234, 0.48);
  outline-offset: 3px;
}

/* =========================================================
   SCROLLABLE CONTENT
========================================================= */

.ai-help-popup-content {
  --rtc-popup-pad-top: clamp(66px, 4.4vw, 82px);
  --rtc-popup-pad-right: clamp(72px, 6vw, 108px);
  --rtc-popup-pad-bottom: clamp(42px, 5vw, 92px);
  --rtc-popup-pad-left: clamp(22px, 5vw, 96px);

  width: 100%;
  height: 100%;
  max-height: none;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;
  scrollbar-gutter: stable;

  padding:
    var(--rtc-popup-pad-top)
    var(--rtc-popup-pad-right)
    var(--rtc-popup-pad-bottom)
    var(--rtc-popup-pad-left);
}

.ai-help-popup-content::before {
  content: "";

  display: block;
  height: 5px;

  margin:
    calc(var(--rtc-popup-pad-top) * -1)
    calc(var(--rtc-popup-pad-right) * -1)
    clamp(24px, 2.5vw, 42px)
    calc(var(--rtc-popup-pad-left) * -1);

  background:
    linear-gradient(
      90deg,
      var(--rtc-popup-blue),
      var(--rtc-popup-cyan),
      var(--rtc-popup-green)
    );
}

/* =========================================================
   INTRODUCTION
========================================================= */

.ai-help-popup-kicker {
  width: fit-content;
  margin: 0;

  padding: 8px 11px;

  border: 1px solid #b8c9f3;
  background: #edf2ff;
  color: var(--rtc-popup-blue-dark);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-help-popup-content > h3 {
  max-width: 1450px;
  margin: 18px 0 0;

  color: var(--rtc-popup-navy);

  font-size: clamp(32px, 4.1vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.ai-help-popup-intro {
  max-width: 1240px;
  margin: 22px 0 0;

  color: var(--rtc-popup-muted);

  font-size: clamp(15px, 1.15vw, 20px);
  line-height: 1.72;
}

/* =========================================================
   CONTENT SECTIONS
========================================================= */

.ai-help-popup-section {
  margin-top: clamp(32px, 4vw, 64px);
  padding-top: clamp(24px, 3vw, 42px);

  border-top: 1px solid var(--rtc-popup-line);

  scroll-margin-top: 30px;
}

.ai-help-popup-section h4 {
  margin: 0 0 16px;

  color: var(--rtc-popup-navy);

  font-size: clamp(22px, 2.3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.ai-help-popup-section p {
  max-width: 1280px;
  margin: 12px 0 0;

  color: var(--rtc-popup-muted);

  font-size: 15px;
  line-height: 1.75;
}

.ai-help-popup-section strong {
  color: var(--rtc-popup-ink);
}

/* =========================================================
   LISTS
========================================================= */

.ai-help-popup-section ul,
.ai-help-popup-section ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;

  margin: 18px 0 0;
  padding: 1px;

  list-style: none;

  background: var(--rtc-popup-line);
}

.ai-help-popup-section li {
  position: relative;
  min-width: 0;

  padding: 15px 18px 15px 44px;

  background: #ffffff;
  color: #40516a;

  font-size: 14px;
  line-height: 1.55;
}

.ai-help-popup-section li::before {
  content: "✓";

  position: absolute;
  top: 15px;
  left: 17px;

  width: 19px;
  height: 19px;

  display: grid;
  place-items: center;

  background: #eaf7ef;
  color: var(--rtc-popup-green);

  font-size: 11px;
  font-weight: 950;
}

/* =========================================================
   TABLES
========================================================= */

.ai-help-popup-table-wrap {
  width: 100%;
  margin-top: 18px;

  overflow: auto;

  border: 1px solid var(--rtc-popup-line);
  background: #ffffff;
}

.ai-help-popup-table {
  width: 100%;
  min-width: 940px;

  border-collapse: collapse;

  color: var(--rtc-popup-ink);

  font-size: 13px;
}

.ai-help-popup-table th,
.ai-help-popup-table td {
  padding: 14px 16px;

  border-right: 1px solid var(--rtc-popup-line);
  border-bottom: 1px solid var(--rtc-popup-line);

  text-align: left;
  vertical-align: top;

  line-height: 1.5;
}

.ai-help-popup-table th:last-child,
.ai-help-popup-table td:last-child {
  border-right: 0;
}

.ai-help-popup-table tr:last-child td {
  border-bottom: 0;
}

.ai-help-popup-table th {
  position: sticky;
  top: 0;
  z-index: 1;

  background: var(--rtc-popup-navy);
  color: #ffffff;

  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.ai-help-popup-table tbody tr:nth-child(even) td {
  background: #f8faff;
}

.ai-help-popup-table tbody tr:hover td {
  background: #eef3ff;
}

/* =========================================================
   ACTION BUTTONS
========================================================= */

.ai-help-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: clamp(34px, 4vw, 64px);
  padding-top: 24px;

  border-top: 1px solid var(--rtc-popup-line);
}

.ai-help-popup-actions .btn {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 11px 17px;

  border: 1px solid #b8c3d2;
  background: #ffffff;
  color: var(--rtc-popup-ink);

  font:
    800 13px/1.2
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  text-decoration: none;
  cursor: pointer;
}

.ai-help-popup-actions .btn:hover {
  border-color: var(--rtc-popup-blue);
  color: var(--rtc-popup-blue-dark);
}

.ai-help-popup-actions .btn-primary,
.ai-help-popup-actions .btn-secondary {
  border-color: var(--rtc-popup-blue-dark);

  background:
    linear-gradient(
      135deg,
      var(--rtc-popup-blue),
      var(--rtc-popup-blue-dark)
    );

  color: #ffffff;
}

.ai-help-popup-actions .btn-primary:hover,
.ai-help-popup-actions .btn-secondary:hover {
  color: #ffffff;
  filter: brightness(0.96);
}

/* =========================================================
   OPTIONAL SECTION OPENER
========================================================= */

.rtc-popup-detail-button {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 10px 15px;

  border: 1px solid #b8c3d2;
  background: #ffffff;
  color: #17346f;

  font:
    800 13px/1.2
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  cursor: pointer;
  text-decoration: none;
}

.rtc-popup-detail-button:hover {
  border-color: var(--rtc-popup-blue);
  background: #f5f8ff;
}

.rtc-popup-detail-button:focus-visible {
  outline: 3px solid rgba(49, 95, 214, 0.22);
  outline-offset: 3px;
}

/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 900px) {
  .ai-help-popup {
    padding: 0;
  }

  .ai-help-popup-panel {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;

    border: 0;
  }

  .ai-help-popup-content {
    --rtc-popup-pad-top: max(72px, env(safe-area-inset-top));
    --rtc-popup-pad-right: max(70px, env(safe-area-inset-right));
    --rtc-popup-pad-bottom: max(44px, env(safe-area-inset-bottom));
    --rtc-popup-pad-left: max(18px, env(safe-area-inset-left));
  }

  .ai-help-popup-close {
    position: fixed;

    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));

    width: 42px;
    height: 42px;
  }

  .ai-help-popup-section ul,
  .ai-help-popup-section ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ai-help-popup-content > h3 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .ai-help-popup-actions {
    display: grid;
  }

  .ai-help-popup-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .ai-help-popup,
  .ai-help-popup-panel,
  .ai-help-popup-close {
    transition: none;
  }

  .ai-help-popup-overlay {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}


/* =========================================================
   WEBSDOCS RTC — HUMAN HANDOFF INBOX
   COMPLETE SECTION CSS
   Full-width / border-to-border / 4K-ready
========================================================= */

.rtc-handoff,
.rtc-handoff * {
  box-sizing: border-box;
}

.rtc-handoff {
  --handoff-bg: #061421;
  --handoff-bg-2: #0a2136;
  --handoff-panel: #0d2942;
  --handoff-panel-deep: #071b2d;
  --handoff-panel-light: #f5f8fb;
  --handoff-white: #ffffff;
  --handoff-ink: #f4f8fc;
  --handoff-text: #dce8f3;
  --handoff-muted: #97b3cc;
  --handoff-line: #27445f;
  --handoff-line-light: #cad7e3;
  --handoff-blue: #69b8f1;
  --handoff-cyan: #63d0dd;
  --handoff-green: #72e2c4;
  --handoff-yellow: #f2c96d;
  --handoff-red: #ff7891;

  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: clamp(82px, 7vw, 148px) 0;
  border-top: 1px solid var(--handoff-line);
  border-bottom: 1px solid var(--handoff-line);
  color: var(--handoff-ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(105, 184, 241, 0.12), transparent 30%),
    radial-gradient(circle at 94% 10%, rgba(114, 226, 196, 0.10), transparent 28%),
    var(--handoff-bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rtc-handoff__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rtc-handoff__ambient::before,
.rtc-handoff__ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.rtc-handoff__ambient::before {
  width: 520px;
  height: 520px;
  top: 10%;
  left: -260px;
  border: 1px solid rgba(105, 184, 241, 0.18);
  box-shadow:
    0 0 0 70px rgba(105, 184, 241, 0.025),
    0 0 0 150px rgba(105, 184, 241, 0.018);
}

.rtc-handoff__ambient::after {
  width: 460px;
  height: 460px;
  right: -220px;
  bottom: 8%;
  border: 1px solid rgba(114, 226, 196, 0.17);
  box-shadow:
    0 0 0 65px rgba(114, 226, 196, 0.022),
    0 0 0 140px rgba(114, 226, 196, 0.015);
}

.rtc-handoff__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(18px, 4.5vw, 150px);
}

/* =========================================================
   HEADER
========================================================= */

.rtc-handoff__head {
  max-width: 1620px;
}

.rtc-handoff__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 11px;
  border: 1px solid #31536f;
  border-radius: 999px;
  color: #a8d7f4;
  background: rgba(13, 41, 66, 0.72);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rtc-handoff__eyebrow i {
  color: var(--handoff-green);
}

.rtc-handoff__eyebrow strong {
  padding-left: 10px;
  border-left: 1px solid #31536f;
  color: var(--handoff-green);
  font-weight: 820;
}

.rtc-handoff__head h2 {
  max-width: 1500px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 5.5vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.rtc-handoff__head h2 span {
  display: block;
  color: #8edfe1;
}

.rtc-handoff__lead-grid {
  display: grid;
  max-width: 1500px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 80px);
  margin-top: clamp(26px, 3vw, 48px);
}

.rtc-handoff__lead,
.rtc-handoff__supporting {
  margin: 0;
  color: var(--handoff-muted);
  font-size: clamp(0.98rem, 1.05vw, 1.24rem);
  line-height: 1.75;
}

.rtc-handoff__lead {
  color: #d9e8f5;
}

/* =========================================================
   FLOW
========================================================= */

.rtc-handoff__flow {
  display: grid;
  width: 100%;
  grid-template-columns:
    minmax(0, 1fr) 26px
    minmax(0, 1fr) 26px
    minmax(0, 1fr) 26px
    minmax(0, 1fr) 26px
    minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-top: clamp(48px, 5vw, 86px);
  padding: 1px;
  border: 1px solid var(--handoff-line);
  background: var(--handoff-line);
}

.rtc-handoff__flow article {
  position: relative;
  display: grid;
  min-height: 130px;
  grid-template-columns: auto 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 20px;
  background: var(--handoff-panel-deep);
}

.rtc-handoff__flow article > span {
  align-self: start;
  color: #7295b4;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.rtc-handoff__flow article > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #31536f;
  color: var(--handoff-green);
  background: #0d2b46;
}

.rtc-handoff__flow strong,
.rtc-handoff__flow small {
  display: block;
}

.rtc-handoff__flow strong {
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.rtc-handoff__flow small {
  margin-top: 5px;
  color: var(--handoff-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.rtc-handoff__flow > b {
  position: relative;
  display: block;
  height: 1px;
  background: #4f728f;
}

.rtc-handoff__flow > b::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #77b9d9;
  border-right: 1px solid #77b9d9;
  transform: translateY(-50%) rotate(45deg);
}

/* =========================================================
   MAIN SHOWCASE
========================================================= */

.rtc-handoff__showcase {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(520px, 0.82fr) minmax(760px, 1.18fr);
  gap: 1px;
  margin-top: clamp(24px, 2.5vw, 42px);
  padding: 1px;
  border: 1px solid var(--handoff-line);
  background: var(--handoff-line);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.24);
}

.rtc-handoff__visitor,
.rtc-handoff__workspace {
  min-width: 0;
}

.rtc-handoff__visitor {
  background: #eef4f8;
  color: #132b42;
}

.rtc-handoff__workspace {
  background: #081b2d;
}

.rtc-handoff__panel-head {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(20px, 2vw, 34px);
  border-bottom: 1px solid var(--handoff-line-light);
  background: #fff;
}

.rtc-handoff__panel-head--dark {
  border-bottom-color: var(--handoff-line);
  background: #0b2339;
}

.rtc-handoff__panel-head h3,
.rtc-handoff__panel-head span {
  margin: 0;
}

.rtc-handoff__panel-kicker {
  display: block;
  margin-bottom: 5px !important;
  color: #4b75a0;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rtc-handoff__panel-head h3 {
  color: #102a42;
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  font-weight: 720;
  letter-spacing: -0.03em;
}

.rtc-handoff__panel-head--dark h3 {
  color: #fff;
}

.rtc-handoff__panel-head--dark .rtc-handoff__panel-kicker {
  color: #8dbbdc;
}

.rtc-handoff__panel-head em {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #b9d4c9;
  border-radius: 999px;
  color: #187452;
  background: #eefaf5;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.rtc-handoff__panel-head em i {
  color: #31a474;
  font-size: 0.5rem;
}

.rtc-handoff__panel-head button {
  appearance: none;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #33536e;
  border-radius: 7px;
  color: #a9cee7;
  background: #0d2b45;
  font-size: 0.69rem;
  font-weight: 800;
}

/* Visitor window */

.rtc-handoff__visitor-window {
  padding: clamp(20px, 2.3vw, 38px);
}

.rtc-handoff__agent-bar {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid #cbd8e3;
  background: #fff;
}

.rtc-handoff__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2f71d8, #46b7c9);
  font-size: 0.72rem;
  font-weight: 900;
}

.rtc-handoff__agent-bar strong,
.rtc-handoff__agent-bar small {
  display: block;
}

.rtc-handoff__agent-bar strong {
  color: #17314a;
  font-size: 0.84rem;
}

.rtc-handoff__agent-bar small {
  margin-top: 4px;
  color: #6b8094;
  font-size: 0.68rem;
}

.rtc-handoff__agent-bar > span {
  color: #178059;
  font-size: 0.67rem;
  font-weight: 800;
}

.rtc-handoff__conversation {
  display: grid;
  gap: 13px;
  min-height: 430px;
  align-content: center;
  padding: clamp(22px, 2.5vw, 40px) 0;
}

.rtc-handoff__conversation > p {
  width: fit-content;
  max-width: 80%;
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: clamp(0.82rem, 0.78vw, 0.94rem);
  line-height: 1.62;
}

.rtc-handoff__conversation .is-agent {
  border: 1px solid #ccd8e3;
  border-bottom-left-radius: 5px;
  color: #3d566d;
  background: #fff;
}

.rtc-handoff__conversation .is-visitor {
  margin-left: auto;
  border-bottom-right-radius: 5px;
  color: #fff;
  background: linear-gradient(135deg, #2f71d8, #24588e);
  box-shadow: 0 14px 30px rgba(47, 113, 216, 0.18);
}

.rtc-handoff__request-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin-top: 5px;
  padding: 15px;
  border: 1px solid #d7bd7b;
  background: #fff8e5;
}

.rtc-handoff__request-card > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #8b6514;
  background: #ffedb9;
}

.rtc-handoff__request-card strong,
.rtc-handoff__request-card span,
.rtc-handoff__request-card small {
  display: block;
}

.rtc-handoff__request-card strong {
  color: #5f4815;
  font-size: 0.79rem;
}

.rtc-handoff__request-card span {
  margin-top: 4px;
  color: #8b742f;
  font-size: 0.66rem;
}

.rtc-handoff__request-card small {
  color: #8b742f;
  font-size: 0.63rem;
  white-space: nowrap;
}

.rtc-handoff__visitor-state {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #cbd8e3;
  color: #506a80;
  background: #fff;
  font-size: 0.72rem;
}

.rtc-handoff__visitor-state i {
  color: #2f71d8;
}

/* Workspace */

.rtc-handoff__workspace-body {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
}

.rtc-handoff__queue {
  min-width: 0;
  border-right: 1px solid var(--handoff-line);
  background: #071a2b;
}

.rtc-handoff__queue-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-bottom: 1px solid var(--handoff-line);
  background: var(--handoff-line);
}

.rtc-handoff__queue-summary article {
  padding: 14px 10px;
  background: #0b253d;
  text-align: center;
}

.rtc-handoff__queue-summary span,
.rtc-handoff__queue-summary strong {
  display: block;
}

.rtc-handoff__queue-summary span {
  color: #87a7c2;
  font-size: 0.61rem;
  text-transform: uppercase;
}

.rtc-handoff__queue-summary strong {
  margin-top: 5px;
  color: #fff;
  font-size: 1.15rem;
}

.rtc-handoff__queue-list {
  display: grid;
}

.rtc-handoff__queue-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border-bottom: 1px solid #18344e;
  background: #081d30;
}

.rtc-handoff__queue-list article.is-active {
  box-shadow: inset 3px 0 0 var(--handoff-green);
  background: #0d2a43;
}

.rtc-handoff__queue-list strong,
.rtc-handoff__queue-list small {
  display: block;
}

.rtc-handoff__queue-list strong {
  color: #eff7fc;
  font-size: 0.75rem;
  line-height: 1.4;
}

.rtc-handoff__queue-list small {
  margin-top: 5px;
  color: #7797b2;
  font-size: 0.63rem;
}

.rtc-handoff__queue-list article > span {
  padding: 5px 7px;
  border: 1px solid #31536f;
  border-radius: 999px;
  color: #8fc6e8;
  font-size: 0.58rem;
  font-weight: 800;
}

.rtc-handoff__case {
  min-width: 0;
  padding: clamp(18px, 2vw, 34px);
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 184, 241, 0.10), transparent 28%),
    #0a2035;
}

.rtc-handoff__case-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--handoff-line);
}

.rtc-handoff__case-head span {
  color: #7ea2bf;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-handoff__case-head h4 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(1.2rem, 1.45vw, 1.7rem);
  letter-spacing: -0.03em;
}

.rtc-handoff__case-head em {
  padding: 6px 9px;
  border: 1px solid #6f5b25;
  border-radius: 999px;
  color: #f7d980;
  background: #2b2719;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.rtc-handoff__case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  padding: 1px;
  border: 1px solid var(--handoff-line);
  background: var(--handoff-line);
}

.rtc-handoff__case-facts article {
  padding: 12px;
  background: #0c2740;
}

.rtc-handoff__case-facts span,
.rtc-handoff__case-facts strong {
  display: block;
}

.rtc-handoff__case-facts span {
  color: #7898b3;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.rtc-handoff__case-facts strong {
  margin-top: 5px;
  color: #edf6fc;
  font-size: 0.69rem;
}

.rtc-handoff__context {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--handoff-line);
  background: #0b263e;
}

.rtc-handoff__context header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9ec8e4;
  font-size: 0.67rem;
  font-weight: 800;
}

.rtc-handoff__context p {
  margin: 12px 0 0;
  color: #b8cce0;
  font-size: 0.74rem;
  line-height: 1.62;
}

.rtc-handoff__reply {
  margin-top: 18px;
}

.rtc-handoff__reply label > span {
  display: block;
  margin-bottom: 8px;
  color: #9ec1dc;
  font-size: 0.65rem;
  font-weight: 800;
}

.rtc-handoff__reply textarea {
  width: 100%;
  min-height: 128px;
  resize: none;
  padding: 14px;
  border: 1px solid #35536d;
  border-radius: 0;
  color: #dceaf5;
  background: #071a2b;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1.62;
  outline: none;
}

.rtc-handoff__reply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.rtc-handoff__reply-actions button {
  appearance: none;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 7px;
  font: inherit;
  font-size: 0.67rem;
  font-weight: 800;
}

.rtc-handoff__reply-actions .is-primary {
  border: 0;
  color: #061522;
  background: linear-gradient(90deg, var(--handoff-cyan), var(--handoff-green));
}

.rtc-handoff__reply-actions .is-secondary {
  border: 1px solid #35536d;
  color: #b7d1e4;
  background: #0c2943;
}

/* =========================================================
   CONTROL GRID
========================================================= */

.rtc-handoff__control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  border: 1px solid var(--handoff-line);
  background: var(--handoff-line);
}

.rtc-handoff__control-grid article {
  display: grid;
  min-height: 140px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px;
  background: var(--handoff-panel-deep);
}

.rtc-handoff__control-grid article > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #31536f;
  color: var(--handoff-green);
  background: #0d2b45;
}

.rtc-handoff__control-grid strong,
.rtc-handoff__control-grid span {
  display: block;
}

.rtc-handoff__control-grid strong {
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.4;
}

.rtc-handoff__control-grid span {
  margin-top: 6px;
  color: var(--handoff-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* =========================================================
   FOOTER
========================================================= */

.rtc-handoff__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 64px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--handoff-line);
}

.rtc-handoff__footer > div:first-child > span {
  color: #80badc;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rtc-handoff__footer h3 {
  max-width: 980px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.rtc-handoff__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rtc-handoff__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 820;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.rtc-handoff__button:hover {
  transform: translateY(-1px);
}

.rtc-handoff__button--primary {
  color: #061522;
  background: linear-gradient(90deg, var(--handoff-blue), var(--handoff-green));
}

.rtc-handoff__button--secondary {
  border: 1px solid #35536d;
  color: #d9ebf7;
  background: #0c2943;
}

.rtc-handoff__button:focus-visible {
  outline: 3px solid rgba(105, 184, 241, 0.35);
  outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1500px) {
  .rtc-handoff__flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .rtc-handoff__flow > b {
    display: none;
  }

  .rtc-handoff__showcase {
    grid-template-columns: 1fr;
  }

  .rtc-handoff__workspace-body {
    min-height: 620px;
  }
}

@media (max-width: 1120px) {
  .rtc-handoff__lead-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rtc-handoff__flow {
    grid-template-columns: 1fr;
  }

  .rtc-handoff__flow article {
    min-height: 100px;
  }

  .rtc-handoff__workspace-body {
    grid-template-columns: 1fr;
  }

  .rtc-handoff__queue {
    border-right: 0;
    border-bottom: 1px solid var(--handoff-line);
  }

  .rtc-handoff__queue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-handoff__control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-handoff__footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .rtc-handoff {
    padding: 58px 0;
  }

  .rtc-handoff__shell {
    padding-inline: 16px;
  }

  .rtc-handoff__eyebrow {
    flex-wrap: wrap;
    border-radius: 10px;
  }

  .rtc-handoff__head h2 {
    font-size: clamp(2.35rem, 12vw, 4.4rem);
  }

  .rtc-handoff__showcase,
  .rtc-handoff__flow,
  .rtc-handoff__control-grid {
    border-left: 0;
    border-right: 0;
  }

  .rtc-handoff__panel-head {
    align-items: flex-start;
  }

  .rtc-handoff__panel-head em,
  .rtc-handoff__panel-head button {
    display: none;
  }

  .rtc-handoff__visitor-window,
  .rtc-handoff__case {
    padding: 16px;
  }

  .rtc-handoff__conversation {
    min-height: 390px;
  }

  .rtc-handoff__conversation > p {
    max-width: 92%;
  }

  .rtc-handoff__request-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .rtc-handoff__request-card small {
    display: none;
  }

  .rtc-handoff__queue-list {
    grid-template-columns: 1fr;
  }

  .rtc-handoff__case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-handoff__reply-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rtc-handoff__reply-actions button {
    justify-content: center;
  }

  .rtc-handoff__control-grid {
    grid-template-columns: 1fr;
  }

  .rtc-handoff__control-grid article {
    min-height: 110px;
  }

  .rtc-handoff__actions {
    display: grid;
  }

  .rtc-handoff__button {
    width: 100%;
  }
}

@media (min-width: 2200px) {
  .rtc-handoff__shell {
    padding-inline: 150px;
  }

  .rtc-handoff__showcase {
    grid-template-columns: minmax(900px, 0.84fr) minmax(1280px, 1.16fr);
  }

  .rtc-handoff__workspace-body {
    min-height: 760px;
    grid-template-columns: minmax(360px, 0.36fr) minmax(0, 1fr);
  }

  .rtc-handoff__conversation {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rtc-handoff *,
  .rtc-handoff *::before,
  .rtc-handoff *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   WEBSDOCS RTC — DIRECT RTC MESSAGES
   COMPLETE SECTION CSS
   Full-width / 4K-ready / interactive workspace
========================================================= */

.rtc-messages,
.rtc-messages * {
  box-sizing: border-box;
}

.rtc-messages {
  --msg-bg: #eef3f7;
  --msg-panel: #ffffff;
  --msg-panel-soft: #f6f9fb;
  --msg-navy: #071525;
  --msg-navy-2: #0d2943;
  --msg-ink: #0d253c;
  --msg-text: #29445e;
  --msg-muted: #657b90;
  --msg-line: #c8d5df;
  --msg-line-dark: #294861;
  --msg-blue: #3677d9;
  --msg-cyan: #58c9dc;
  --msg-green: #6fdbb8;
  --msg-yellow: #efc75d;
  --msg-red: #da5872;

  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: clamp(82px, 7vw, 148px) 0;
  border-top: 1px solid var(--msg-line);
  border-bottom: 1px solid var(--msg-line);
  color: var(--msg-text);
  background:
    linear-gradient(rgba(7, 21, 37, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 21, 37, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 6% 0%, rgba(54, 119, 217, 0.11), transparent 31%),
    radial-gradient(circle at 94% 10%, rgba(88, 201, 220, 0.12), transparent 28%),
    var(--msg-bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rtc-messages__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rtc-messages__ambient::before,
.rtc-messages__ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.rtc-messages__ambient::before {
  width: 520px;
  height: 520px;
  top: 12%;
  left: -270px;
  border: 1px solid rgba(54, 119, 217, 0.14);
  box-shadow:
    0 0 0 75px rgba(54, 119, 217, 0.022),
    0 0 0 155px rgba(54, 119, 217, 0.015);
}

.rtc-messages__ambient::after {
  width: 460px;
  height: 460px;
  right: -240px;
  bottom: 8%;
  border: 1px solid rgba(88, 201, 220, 0.16);
  box-shadow:
    0 0 0 65px rgba(88, 201, 220, 0.024),
    0 0 0 140px rgba(88, 201, 220, 0.016);
}

.rtc-messages__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(18px, 4.5vw, 150px);
}

/* Header */

.rtc-messages__head {
  max-width: 1640px;
}

.rtc-messages__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 11px;
  border: 1px solid #b9cad9;
  border-radius: 999px;
  color: #285f9c;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(7, 21, 37, 0.05);
}

.rtc-messages__eyebrow i {
  color: var(--msg-blue);
}

.rtc-messages__eyebrow strong {
  padding-left: 10px;
  border-left: 1px solid #b9cad9;
  color: #168568;
  font-weight: 820;
}

.rtc-messages__head h2 {
  max-width: 1540px;
  margin: 0;
  color: var(--msg-navy);
  font-size: clamp(2.8rem, 5.5vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.rtc-messages__head h2 span {
  display: block;
  color: #3677a9;
}

.rtc-messages__lead-grid {
  display: grid;
  max-width: 1500px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 80px);
  margin-top: clamp(26px, 3vw, 48px);
}

.rtc-messages__lead,
.rtc-messages__supporting {
  margin: 0;
  color: var(--msg-muted);
  font-size: clamp(0.98rem, 1.05vw, 1.23rem);
  line-height: 1.75;
}

.rtc-messages__lead {
  color: #304e69;
}

/* Difference strip */

.rtc-messages__difference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-top: clamp(46px, 5vw, 82px);
  padding: 1px;
  border: 1px solid var(--msg-line);
  background: var(--msg-line);
}

.rtc-messages__difference article {
  display: grid;
  min-height: 104px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px;
  background: #fff;
}

.rtc-messages__difference article.is-active {
  box-shadow: inset 0 3px 0 var(--msg-green);
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 201, 220, 0.12), transparent 32%),
    #fff;
}

.rtc-messages__difference article > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #b8cad9;
  color: var(--msg-blue);
  background: #edf4fb;
}

.rtc-messages__difference span,
.rtc-messages__difference strong {
  display: block;
}

.rtc-messages__difference span {
  color: var(--msg-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-messages__difference strong {
  margin-top: 6px;
  color: var(--msg-ink);
  font-size: clamp(0.86rem, 0.9vw, 1rem);
}

.rtc-messages__difference > b {
  position: relative;
  display: block;
  height: 1px;
  background: #7894ab;
}

.rtc-messages__difference > b::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #537892;
  border-right: 1px solid #537892;
  transform: translateY(-50%) rotate(45deg);
}

/* Main workspace */

.rtc-messages__workspace {
  display: grid;
  width: 100%;
  min-height: 720px;
  grid-template-columns: minmax(250px, 0.26fr) minmax(330px, 0.32fr) minmax(540px, 0.42fr);
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  border: 1px solid var(--msg-line-dark);
  background: var(--msg-line-dark);
  box-shadow: 0 38px 105px rgba(7, 21, 37, 0.18);
}

.rtc-messages__sidebar,
.rtc-messages__list-panel,
.rtc-messages__detail {
  min-width: 0;
}

/* Sidebar */

.rtc-messages__sidebar {
  padding: clamp(20px, 2vw, 32px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 201, 220, 0.12), transparent 30%),
    var(--msg-navy);
}

.rtc-messages__identity {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #29465e;
}

.rtc-messages__identity-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #061522;
  background: linear-gradient(135deg, var(--msg-cyan), var(--msg-green));
  font-size: 0.72rem;
  font-weight: 900;
}

.rtc-messages__identity span,
.rtc-messages__identity strong,
.rtc-messages__identity small {
  display: block;
}

.rtc-messages__identity span {
  color: #80a7c3;
  font-size: 0.57rem;
  text-transform: uppercase;
}

.rtc-messages__identity strong {
  margin-top: 4px;
  color: #fff;
  font-size: 0.78rem;
}

.rtc-messages__identity small {
  margin-top: 3px;
  overflow: hidden;
  color: #87a7bf;
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rtc-messages__identity > i {
  color: var(--msg-green);
}

.rtc-messages__compose-main {
  appearance: none;
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  color: #061522;
  background: linear-gradient(90deg, var(--msg-cyan), var(--msg-green));
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
}

.rtc-messages__nav {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.rtc-messages__nav button {
  appearance: none;
  display: grid;
  width: 100%;
  min-height: 46px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #9cb9ce;
  background: transparent;
  font: inherit;
  font-size: 0.71rem;
  text-align: left;
  cursor: pointer;
}

.rtc-messages__nav button.is-active,
.rtc-messages__nav button:hover {
  border-color: #31516c;
  color: #fff;
  background: #0d2a43;
}

.rtc-messages__nav button strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #9fc4dc;
  background: #15344e;
  font-size: 0.59rem;
}

.rtc-messages__routing,
.rtc-messages__retention {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #29465e;
}

.rtc-messages__routing > span {
  color: #7195b1;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rtc-messages__routing ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.rtc-messages__routing li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b7cce0;
  font-size: 0.68rem;
}

.rtc-messages__routing li i {
  width: 18px;
  color: var(--msg-green);
}

.rtc-messages__retention {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
}

.rtc-messages__retention > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #31516c;
  color: var(--msg-cyan);
  background: #0d2a43;
}

.rtc-messages__retention strong,
.rtc-messages__retention span {
  display: block;
}

.rtc-messages__retention strong {
  color: #fff;
  font-size: 0.69rem;
}

.rtc-messages__retention span {
  margin-top: 5px;
  color: #7f9eb7;
  font-size: 0.61rem;
  line-height: 1.5;
}

/* List panel */

.rtc-messages__list-panel {
  background: #f5f8fa;
}

.rtc-messages__panel-head {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--msg-line);
  background: #fff;
}

.rtc-messages__panel-head span {
  color: #6c8194;
  font-size: 0.58rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-messages__panel-head h3 {
  margin: 5px 0 0;
  color: var(--msg-ink);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.rtc-messages__panel-head button {
  appearance: none;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--msg-line);
  border-radius: 7px;
  color: #45647d;
  background: #fff;
  font-size: 0.67rem;
  font-weight: 800;
  cursor: pointer;
}

.rtc-messages__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--msg-line);
  background: #eef3f7;
}

.rtc-messages__filters button {
  appearance: none;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #c2d0dc;
  border-radius: 999px;
  color: #61778b;
  background: #fff;
  font-size: 0.63rem;
  font-weight: 780;
  cursor: pointer;
}

.rtc-messages__filters button.is-active,
.rtc-messages__filters button:hover {
  border-color: #79a6cd;
  color: #245a8e;
  background: #eaf3fb;
}

.rtc-messages__list {
  display: grid;
  align-content: start;
  max-height: 632px;
  overflow-y: auto;
}

.rtc-messages__list-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-height: 114px;
  padding: 16px;
  border-bottom: 1px solid var(--msg-line);
  background: #fff;
  cursor: pointer;
}

.rtc-messages__list-item:hover,
.rtc-messages__list-item.is-active {
  background: #edf5fb;
}

.rtc-messages__list-item.is-active {
  box-shadow: inset 3px 0 0 var(--msg-blue);
}

.rtc-messages__list-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #b8cad9;
  color: var(--msg-blue);
  background: #edf4fb;
}

.rtc-messages__list-copy {
  min-width: 0;
}

.rtc-messages__list-copy strong,
.rtc-messages__list-copy span,
.rtc-messages__list-copy small {
  display: block;
}

.rtc-messages__list-copy strong {
  overflow: hidden;
  color: var(--msg-ink);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rtc-messages__list-copy span {
  margin-top: 6px;
  overflow: hidden;
  color: #62778a;
  font-size: 0.65rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rtc-messages__list-copy small {
  margin-top: 7px;
  color: #8a9cad;
  font-size: 0.58rem;
}

.rtc-messages__list-item > em {
  padding: 5px 7px;
  border: 1px solid #bdceda;
  border-radius: 999px;
  color: #5f7890;
  background: #f8fafc;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

/* Detail and composer */

.rtc-messages__detail {
  min-height: 720px;
  background: #fff;
}

.rtc-messages__detail-view,
.rtc-messages__composer {
  min-height: 100%;
  padding: clamp(22px, 2.4vw, 42px);
}

.rtc-messages__message-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--msg-line);
}

.rtc-messages__message-head span {
  color: #6d8396;
  font-size: 0.6rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-messages__message-head h3 {
  margin: 8px 0 0;
  color: var(--msg-ink);
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  letter-spacing: -0.04em;
}

.rtc-messages__message-head em {
  height: fit-content;
  padding: 6px 9px;
  border: 1px solid #bad4c8;
  border-radius: 999px;
  color: #187252;
  background: #eef9f4;
  font-size: 0.59rem;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.rtc-messages__message-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  padding: 1px;
  border: 1px solid var(--msg-line);
  background: var(--msg-line);
}

.rtc-messages__message-meta article {
  padding: 12px;
  background: #f6f9fb;
}

.rtc-messages__message-meta span,
.rtc-messages__message-meta strong {
  display: block;
}

.rtc-messages__message-meta span {
  color: #75899b;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.rtc-messages__message-meta strong {
  margin-top: 5px;
  color: #29465e;
  font-size: 0.66rem;
}

.rtc-messages__message-body {
  margin-top: 22px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--msg-line);
  color: #405b72;
  background: #f8fafc;
  font-size: 0.82rem;
  line-height: 1.72;
  white-space: pre-wrap;
}

.rtc-messages__message-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #bfd4ca;
  background: #f1faf6;
}

.rtc-messages__message-note > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #18805b;
  background: #dff4e9;
}

.rtc-messages__message-note strong,
.rtc-messages__message-note span {
  display: block;
}

.rtc-messages__message-note strong {
  color: #245b48;
  font-size: 0.7rem;
}

.rtc-messages__message-note span {
  margin-top: 5px;
  color: #5a796c;
  font-size: 0.63rem;
  line-height: 1.5;
}

.rtc-messages__summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--msg-line);
  background: var(--msg-line);
}

.rtc-messages__summary-grid article {
  min-height: 130px;
  padding: 20px;
  background: #f8fafc;
}

.rtc-messages__summary-grid span,
.rtc-messages__summary-grid strong,
.rtc-messages__summary-grid small {
  display: block;
}

.rtc-messages__summary-grid span {
  color: #71869a;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.rtc-messages__summary-grid strong {
  margin-top: 12px;
  color: var(--msg-ink);
  font-size: 2rem;
}

.rtc-messages__summary-grid small {
  margin-top: 7px;
  color: #6b8194;
  font-size: 0.65rem;
  line-height: 1.5;
}

/* Composer */

.rtc-messages__composer[hidden] {
  display: none !important;
}

.rtc-messages__composer header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--msg-line);
}

.rtc-messages__composer header span {
  color: #6d8396;
  font-size: 0.6rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-messages__composer header h3 {
  margin: 7px 0 0;
  color: var(--msg-ink);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.rtc-messages__composer header button {
  appearance: none;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--msg-line);
  border-radius: 7px;
  color: #60768a;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  cursor: pointer;
}

.rtc-messages__composer label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.rtc-messages__composer label > span {
  color: #536b80;
  font-size: 0.68rem;
  font-weight: 800;
}

.rtc-messages__composer input,
.rtc-messages__composer select,
.rtc-messages__composer textarea {
  width: 100%;
  border: 1px solid #b8cad8;
  border-radius: 8px;
  color: var(--msg-ink);
  background: #fff;
  font: inherit;
  font-size: 0.78rem;
  outline: none;
}

.rtc-messages__composer input,
.rtc-messages__composer select {
  min-height: 48px;
  padding: 0 13px;
}

.rtc-messages__composer textarea {
  min-height: 180px;
  resize: vertical;
  padding: 13px;
  line-height: 1.6;
}

.rtc-messages__composer input:focus,
.rtc-messages__composer select:focus,
.rtc-messages__composer textarea:focus {
  border-color: var(--msg-blue);
  box-shadow: 0 0 0 4px rgba(54, 119, 217, 0.1);
}

.rtc-messages__verified-note {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #bfd5ca;
  background: #f1faf6;
}

.rtc-messages__verified-note > i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #17815b;
  background: #def3e8;
}

.rtc-messages__verified-note p {
  margin: 0;
  color: #587769;
  font-size: 0.65rem;
  line-height: 1.58;
}

.rtc-messages__composer footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--msg-line);
}

.rtc-messages__composer footer > span {
  color: #6d8295;
  font-size: 0.64rem;
}

.rtc-messages__composer footer button {
  appearance: none;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  color: #061522;
  background: linear-gradient(90deg, var(--msg-cyan), var(--msg-green));
  font-size: 0.73rem;
  font-weight: 850;
  cursor: pointer;
}

/* Principles */

.rtc-messages__principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  border: 1px solid var(--msg-line);
  background: var(--msg-line);
}

.rtc-messages__principles article {
  display: grid;
  min-height: 140px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px;
  background: #fff;
}

.rtc-messages__principles article > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #b8cad9;
  color: var(--msg-blue);
  background: #edf4fb;
}

.rtc-messages__principles strong,
.rtc-messages__principles span {
  display: block;
}

.rtc-messages__principles strong {
  color: var(--msg-ink);
  font-size: 0.79rem;
  line-height: 1.4;
}

.rtc-messages__principles span {
  margin-top: 6px;
  color: var(--msg-muted);
  font-size: 0.67rem;
  line-height: 1.5;
}

/* Footer */

.rtc-messages__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 64px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--msg-line);
}

.rtc-messages__footer > div:first-child > span {
  color: #3973a3;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rtc-messages__footer h3 {
  max-width: 1040px;
  margin: 10px 0 0;
  color: var(--msg-navy);
  font-size: clamp(1.7rem, 2.8vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.rtc-messages__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rtc-messages__button {
  appearance: none;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 9px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.rtc-messages__button:hover {
  transform: translateY(-1px);
}

.rtc-messages__button--primary {
  border: 0;
  color: #061522;
  background: linear-gradient(90deg, var(--msg-blue), var(--msg-green));
}

.rtc-messages__button--secondary {
  border: 1px solid #a9bbc9;
  color: #244760;
  background: #fff;
}

.rtc-messages button:focus-visible,
.rtc-messages a:focus-visible,
.rtc-messages [role="button"]:focus-visible {
  outline: 3px solid rgba(54, 119, 217, 0.3);
  outline-offset: 3px;
}

/* Responsive */

@media (max-width: 1420px) {
  .rtc-messages__workspace {
    grid-template-columns: minmax(230px, 0.28fr) minmax(320px, 0.36fr) minmax(0, 1fr);
  }

  .rtc-messages__principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .rtc-messages__lead-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rtc-messages__workspace {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .rtc-messages__detail {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .rtc-messages__detail-view,
  .rtc-messages__composer {
    min-height: 580px;
  }

  .rtc-messages__footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rtc-messages {
    padding: 58px 0;
  }

  .rtc-messages__shell {
    padding-inline: 16px;
  }

  .rtc-messages__eyebrow {
    flex-wrap: wrap;
    border-radius: 10px;
  }

  .rtc-messages__head h2 {
    font-size: clamp(2.35rem, 12vw, 4.4rem);
  }

  .rtc-messages__difference {
    grid-template-columns: 1fr;
  }

  .rtc-messages__difference > b {
    display: none;
  }

  .rtc-messages__workspace {
    grid-template-columns: 1fr;
  }

  .rtc-messages__sidebar {
    padding: 18px;
  }

  .rtc-messages__routing,
  .rtc-messages__retention {
    display: none;
  }

  .rtc-messages__detail {
    grid-column: auto;
  }

  .rtc-messages__detail-view,
  .rtc-messages__composer {
    min-height: 520px;
    padding: 18px;
  }

  .rtc-messages__message-meta,
  .rtc-messages__summary-grid {
    grid-template-columns: 1fr;
  }

  .rtc-messages__composer footer {
    align-items: stretch;
    flex-direction: column;
  }

  .rtc-messages__composer footer button {
    justify-content: center;
  }

  .rtc-messages__principles {
    grid-template-columns: 1fr;
  }

  .rtc-messages__principles article {
    min-height: 110px;
  }

  .rtc-messages__actions {
    display: grid;
  }

  .rtc-messages__button {
    width: 100%;
  }
}

@media (min-width: 2200px) {
  .rtc-messages__shell {
    padding-inline: 150px;
  }

  .rtc-messages__workspace {
    min-height: 820px;
    grid-template-columns: minmax(360px, 0.24fr) minmax(500px, 0.31fr) minmax(900px, 0.45fr);
  }

  .rtc-messages__detail {
    min-height: 820px;
  }

  .rtc-messages__list {
    max-height: 732px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rtc-messages *,
  .rtc-messages *::before,
  .rtc-messages *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   WEBSDOCS RTC — WEBSITE HEALTH
   COMPLETE SECTION CSS
   Paste into rtc.css after the RTC Messages block.
========================================================= */

.rtc-health,
.rtc-health * {
  box-sizing: border-box;
}

.rtc-health {
  --health-bg: #f4f1e9;
  --health-panel: #ffffff;
  --health-panel-soft: #faf8f2;
  --health-ink: #14221e;
  --health-text: #314942;
  --health-muted: #6c7f78;
  --health-line: #cfd7cf;
  --health-line-dark: #445f56;
  --health-green: #2d876b;
  --health-green-deep: #1e634f;
  --health-mint: #78d6b6;
  --health-blue: #4a7fb2;
  --health-yellow: #d39b2f;
  --health-red: #c85859;
  --health-navy: #0a1e24;
  --health-white: #ffffff;

  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: clamp(82px, 7vw, 148px) 0;
  border-top: 1px solid var(--health-line);
  border-bottom: 1px solid var(--health-line);
  color: var(--health-text);
  background:
    linear-gradient(rgba(20, 34, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 34, 30, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 7% 0%, rgba(45, 135, 107, 0.12), transparent 31%),
    radial-gradient(circle at 94% 9%, rgba(211, 155, 47, 0.10), transparent 27%),
    var(--health-bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rtc-health__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rtc-health__ambient::before,
.rtc-health__ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.rtc-health__ambient::before {
  width: 520px;
  height: 520px;
  top: 16%;
  left: -270px;
  border: 1px solid rgba(45, 135, 107, 0.17);
  box-shadow:
    0 0 0 72px rgba(45, 135, 107, 0.024),
    0 0 0 150px rgba(45, 135, 107, 0.016);
}

.rtc-health__ambient::after {
  width: 440px;
  height: 440px;
  right: -230px;
  bottom: 9%;
  border: 1px solid rgba(211, 155, 47, 0.17);
  box-shadow:
    0 0 0 65px rgba(211, 155, 47, 0.022),
    0 0 0 135px rgba(211, 155, 47, 0.014);
}

.rtc-health__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(18px, 4.5vw, 150px);
}

/* =========================================================
   HEADER
========================================================= */

.rtc-health__head {
  max-width: 1660px;
}

.rtc-health__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 11px;
  border: 1px solid #bdcbbf;
  border-radius: 999px;
  color: var(--health-green-deep);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(20, 34, 30, 0.05);
}

.rtc-health__eyebrow i {
  color: var(--health-green);
}

.rtc-health__eyebrow strong {
  padding-left: 10px;
  border-left: 1px solid #bdcbbf;
  color: #8a6519;
  font-weight: 820;
}

.rtc-health__head h2 {
  max-width: 1580px;
  margin: 0;
  color: var(--health-ink);
  font-size: clamp(2.8rem, 5.5vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.rtc-health__head h2 span {
  display: block;
  color: var(--health-green-deep);
}

.rtc-health__lead-grid {
  display: grid;
  max-width: 1500px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 80px);
  margin-top: clamp(26px, 3vw, 48px);
}

.rtc-health__lead,
.rtc-health__supporting {
  margin: 0;
  color: var(--health-muted);
  font-size: clamp(0.98rem, 1.05vw, 1.23rem);
  line-height: 1.75;
}

.rtc-health__lead {
  color: #36534a;
}

/* =========================================================
   POSITIONING STRIP
========================================================= */

.rtc-health__positioning {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 38px
    minmax(0, 1fr) 38px
    minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-top: clamp(46px, 5vw, 82px);
  padding: 1px;
  border: 1px solid var(--health-line);
  background: var(--health-line);
}

.rtc-health__positioning article {
  display: grid;
  min-height: 108px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px;
  background: #fff;
}

.rtc-health__positioning article > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #bfd0c7;
  color: var(--health-green);
  background: #edf7f2;
}

.rtc-health__positioning span,
.rtc-health__positioning strong {
  display: block;
}

.rtc-health__positioning span {
  color: var(--health-muted);
  font-size: 0.63rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-health__positioning strong {
  margin-top: 6px;
  color: var(--health-ink);
  font-size: clamp(0.82rem, 0.88vw, 1rem);
  line-height: 1.4;
}

.rtc-health__positioning > b {
  position: relative;
  height: 1px;
  background: #80958b;
}

.rtc-health__positioning > b::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #57756a;
  border-right: 1px solid #57756a;
  transform: translateY(-50%) rotate(45deg);
}

/* =========================================================
   MAIN WORKSPACE
========================================================= */

.rtc-health__workspace {
  display: grid;
  width: 100%;
  min-height: 900px;
  grid-template-columns:
    minmax(255px, 0.22fr)
    minmax(640px, 0.48fr)
    minmax(430px, 0.30fr);
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  border: 1px solid var(--health-line-dark);
  background: var(--health-line-dark);
  box-shadow: 0 40px 115px rgba(20, 34, 30, 0.18);
}

.rtc-health__control,
.rtc-health__scan-panel,
.rtc-health__results {
  min-width: 0;
}

/* =========================================================
   CONTROL COLUMN
========================================================= */

.rtc-health__control {
  padding: clamp(20px, 2vw, 32px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 214, 182, 0.12), transparent 30%),
    var(--health-navy);
}

.rtc-health__identity {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #31504a;
}

.rtc-health__identity-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #061b18;
  background: linear-gradient(135deg, var(--health-mint), #b5e7bf);
}

.rtc-health__identity span,
.rtc-health__identity strong,
.rtc-health__identity small {
  display: block;
}

.rtc-health__identity span {
  color: #85a9a0;
  font-size: 0.57rem;
  text-transform: uppercase;
}

.rtc-health__identity strong {
  margin-top: 4px;
  color: #fff;
  font-size: 0.78rem;
}

.rtc-health__identity small {
  margin-top: 3px;
  color: #83a59d;
  font-size: 0.61rem;
}

.rtc-health__identity > i {
  color: var(--health-mint);
}

.rtc-health__site-control {
  margin-top: 24px;
}

.rtc-health__site-control > label,
.rtc-health__scan-options > span {
  display: block;
  margin-bottom: 9px;
  color: #8dafaa;
  font-size: 0.61rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-health__site-select {
  display: grid;
  min-height: 48px;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #355850;
  border-radius: 8px;
  background: #0d302d;
}

.rtc-health__site-select > i {
  color: var(--health-mint);
  text-align: center;
}

.rtc-health__site-select select {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 10px 0 0;
  border: 0;
  color: #e8f5f0;
  background: transparent;
  font: inherit;
  font-size: 0.69rem;
  outline: none;
}

.rtc-health__site-select option {
  color: #162820;
  background: #fff;
}

.rtc-health__verified-domain {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: #83ad9e;
  font-size: 0.6rem;
  line-height: 1.45;
}

.rtc-health__verified-domain i {
  color: var(--health-mint);
}

.rtc-health__scan-options {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #31504a;
}

.rtc-health__scan-options label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 13px;
  cursor: pointer;
}

.rtc-health__scan-options input {
  margin-top: 2px;
  accent-color: var(--health-mint);
}

.rtc-health__scan-options strong,
.rtc-health__scan-options small {
  display: block;
}

.rtc-health__scan-options strong {
  color: #e8f4ef;
  font-size: 0.68rem;
  line-height: 1.4;
}

.rtc-health__scan-options small {
  margin-top: 4px;
  color: #789d94;
  font-size: 0.59rem;
  line-height: 1.45;
}

.rtc-health__run {
  appearance: none;
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
  color: #081c18;
  background: linear-gradient(90deg, var(--health-mint), #d1e493);
  font-size: 0.73rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.rtc-health__run:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.rtc-health__run:disabled {
  opacity: 0.65;
  cursor: wait;
}

.rtc-health__capacity,
.rtc-health__scope-mini {
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid #31504a;
}

.rtc-health__capacity header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rtc-health__capacity header span {
  color: #84a69e;
  font-size: 0.61rem;
}

.rtc-health__capacity header strong {
  padding: 4px 7px;
  border: 1px solid #3d6058;
  border-radius: 999px;
  color: #b6decf;
  background: #12352f;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.rtc-health__capacity > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  padding: 1px;
  border: 1px solid #31504a;
  background: #31504a;
}

.rtc-health__capacity article {
  padding: 11px;
  background: #0d2c2a;
}

.rtc-health__capacity article span,
.rtc-health__capacity article strong {
  display: block;
}

.rtc-health__capacity article span {
  color: #779a91;
  font-size: 0.55rem;
  text-transform: uppercase;
}

.rtc-health__capacity article strong {
  margin-top: 5px;
  color: #fff;
  font-size: 1rem;
}

.rtc-health__capacity > small {
  display: block;
  margin-top: 9px;
  color: #789c93;
  font-size: 0.59rem;
}

.rtc-health__scope-mini {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.rtc-health__scope-mini > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #3a5d55;
  color: #b5d9cc;
  background: #12342f;
}

.rtc-health__scope-mini p {
  margin: 0;
  color: #789b92;
  font-size: 0.59rem;
  line-height: 1.55;
}

/* =========================================================
   SHARED PANEL HEAD
========================================================= */

.rtc-health__panel-head {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 2vw, 30px);
  border-bottom: 1px solid var(--health-line);
  background: #fff;
}

.rtc-health__panel-head span {
  color: #74867f;
  font-size: 0.58rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-health__panel-head h3 {
  margin: 5px 0 0;
  color: var(--health-ink);
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  letter-spacing: -0.03em;
}

.rtc-health__panel-head em {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #bad2c7;
  border-radius: 999px;
  color: #1f6e55;
  background: #edf8f3;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.rtc-health__panel-head em i {
  color: var(--health-green);
  font-size: 0.5rem;
}

.rtc-health__panel-head em[data-state="scanning"] {
  border-color: #d7c184;
  color: #805f13;
  background: #fff8e5;
}

.rtc-health__panel-head em[data-state="complete"] {
  border-color: #aacebe;
  color: #1f7558;
  background: #edf9f4;
}

.rtc-health__panel-head--results button {
  appearance: none;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--health-line);
  border-radius: 7px;
  color: #526c63;
  background: #fff;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 800;
  cursor: pointer;
}

/* =========================================================
   SCAN PANEL
========================================================= */

.rtc-health__scan-panel {
  background: #f9fbf8;
}

.rtc-health__score-stage {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(22px, 2.5vw, 44px);
  align-items: center;
  padding: clamp(24px, 2.8vw, 48px);
  border-bottom: 1px solid var(--health-line);
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 135, 107, 0.10), transparent 32%),
    #fff;
}

.rtc-health__score-ring {
  --health-score: 74;

  position: relative;
  display: grid;
  width: clamp(170px, 13vw, 230px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 72%, transparent 73% 99%),
    conic-gradient(
      var(--health-green) calc(var(--health-score) * 1%),
      #dbe4dd 0
    );
  box-shadow: 0 18px 42px rgba(20, 34, 30, 0.10);
}

.rtc-health__score-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid #e0e7e1;
  border-radius: 50%;
}

.rtc-health__score-ring > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.rtc-health__score-ring strong,
.rtc-health__score-ring span {
  display: block;
}

.rtc-health__score-ring strong {
  color: var(--health-ink);
  font-size: clamp(2.7rem, 4vw, 5rem);
  font-weight: 680;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.rtc-health__score-ring span {
  margin-top: 8px;
  color: var(--health-muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rtc-health__score-copy > span {
  color: #966d19;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-health__score-copy h4 {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--health-ink);
  font-size: clamp(1.1rem, 1.45vw, 1.6rem);
  font-weight: 660;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.rtc-health__severity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  padding: 1px;
  border: 1px solid var(--health-line);
  background: var(--health-line);
}

.rtc-health__severity-summary article {
  padding: 12px;
  background: #f8faf8;
}

.rtc-health__severity-summary span,
.rtc-health__severity-summary strong {
  display: block;
}

.rtc-health__severity-summary span {
  color: #75877f;
  font-size: 0.55rem;
  text-transform: uppercase;
}

.rtc-health__severity-summary strong {
  margin-top: 5px;
  color: var(--health-ink);
  font-size: 1.18rem;
}

/* Progress */

.rtc-health__progress[hidden] {
  display: none !important;
}

.rtc-health__progress {
  padding: 22px clamp(20px, 2.5vw, 38px);
  border-bottom: 1px solid var(--health-line);
  background: #fffcf2;
}

.rtc-health__progress header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #755a1d;
  font-size: 0.67rem;
  font-weight: 800;
}

.rtc-health__progress-track {
  height: 8px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadfbf;
}

.rtc-health__progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--health-yellow), var(--health-green));
  transition: width 360ms ease;
}

.rtc-health__progress ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.rtc-health__progress li {
  display: flex;
  min-height: 39px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid #e3dbc2;
  color: #8d7c50;
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.61rem;
}

.rtc-health__progress li i {
  width: 17px;
  color: #b09450;
  text-align: center;
}

.rtc-health__progress li.is-active {
  border-color: #c8ae65;
  color: #73550e;
  background: #fff5d8;
}

.rtc-health__progress li.is-complete {
  border-color: #a9cbbc;
  color: #286c56;
  background: #edf8f3;
}

.rtc-health__progress li.is-complete i {
  color: var(--health-green);
}

/* Category grid */

.rtc-health__category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--health-line);
}

.rtc-health__category-grid article {
  min-width: 0;
  min-height: 124px;
  padding: 16px;
  background: #fff;
}

.rtc-health__category-grid header {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.rtc-health__category-grid header > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #c0d2c9;
  color: var(--health-green);
  background: #edf7f2;
  font-size: 0.72rem;
}

.rtc-health__category-grid header span {
  min-width: 0;
  color: #304b42;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
}

.rtc-health__category-grid header strong {
  color: var(--health-ink);
  font-size: 0.82rem;
}

.rtc-health__category-grid article > div {
  height: 5px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e9e3;
}

.rtc-health__category-grid article > div i {
  display: block;
  width: var(--category-score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--health-green), var(--health-mint));
  transition: width 500ms ease;
}

.rtc-health__category-grid small {
  display: block;
  margin-top: 10px;
  color: #7a8c84;
  font-size: 0.58rem;
  line-height: 1.45;
}

/* =========================================================
   RESULTS COLUMN
========================================================= */

.rtc-health__results {
  background: #f5f7f5;
}

.rtc-health__findings-view,
.rtc-health__history-view {
  padding: 16px;
}

.rtc-health__history-view[hidden] {
  display: none !important;
}

.rtc-health__finding-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rtc-health__finding-filters button {
  appearance: none;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #c7d3cb;
  border-radius: 999px;
  color: #687d74;
  background: #fff;
  font: inherit;
  font-size: 0.6rem;
  font-weight: 780;
  cursor: pointer;
}

.rtc-health__finding-filters button.is-active,
.rtc-health__finding-filters button:hover {
  border-color: #7daa98;
  color: #245f4c;
  background: #eaf6f0;
}

.rtc-health__findings {
  display: grid;
  gap: 9px;
  max-height: 610px;
  margin-top: 14px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a9bdb2 transparent;
}

.rtc-health__finding {
  padding: 15px;
  border: 1px solid var(--health-line);
  background: #fff;
}

.rtc-health__finding header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.rtc-health__finding header > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #c4d0c8;
  color: #60796f;
  background: #f2f6f3;
}

.rtc-health__finding header strong {
  color: var(--health-ink);
  font-size: 0.71rem;
  line-height: 1.4;
}

.rtc-health__finding header em {
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 0.53rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.rtc-health__finding[data-level="high"] {
  border-left: 3px solid var(--health-red);
}

.rtc-health__finding[data-level="high"] header em {
  color: #943c3f;
  background: #fdeced;
}

.rtc-health__finding[data-level="medium"] {
  border-left: 3px solid var(--health-yellow);
}

.rtc-health__finding[data-level="medium"] header em {
  color: #805d12;
  background: #fff5d8;
}

.rtc-health__finding[data-level="passed"] {
  border-left: 3px solid var(--health-green);
}

.rtc-health__finding[data-level="passed"] header em {
  color: #206349;
  background: #eaf7f0;
}

.rtc-health__finding p {
  margin: 10px 0 0;
  color: #667a71;
  font-size: 0.63rem;
  line-height: 1.55;
}

.rtc-health__finding footer {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #e0e7e1;
}

.rtc-health__finding footer span {
  display: block;
  color: #436158;
  font-size: 0.59rem;
  font-weight: 760;
  line-height: 1.5;
}

.rtc-health__report-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.rtc-health__report-actions button {
  appearance: none;
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 820;
  cursor: pointer;
}

.rtc-health__report-actions button:first-child {
  border: 1px solid #b8c9bf;
  color: #405f55;
  background: #fff;
}

.rtc-health__report-actions button:last-child {
  border: 0;
  color: #071b16;
  background: linear-gradient(90deg, var(--health-mint), #d8e69c);
}

.rtc-health__delivery {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #bcd1c5;
  background: #eef8f3;
}

.rtc-health__delivery > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--health-green);
  background: #dff1e7;
}

.rtc-health__delivery strong,
.rtc-health__delivery span {
  display: block;
}

.rtc-health__delivery strong {
  color: #245d49;
  font-size: 0.68rem;
}

.rtc-health__delivery span {
  margin-top: 4px;
  color: #668278;
  font-size: 0.58rem;
}

/* History */

.rtc-health__history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--health-line);
  background: var(--health-line);
}

.rtc-health__history-summary article {
  padding: 13px;
  background: #fff;
}

.rtc-health__history-summary span,
.rtc-health__history-summary strong {
  display: block;
}

.rtc-health__history-summary span {
  color: #768980;
  font-size: 0.55rem;
  text-transform: uppercase;
}

.rtc-health__history-summary strong {
  margin-top: 6px;
  color: var(--health-ink);
  font-size: 1.25rem;
}

.rtc-health__history-summary strong.is-positive {
  color: var(--health-green);
}

.rtc-health__history-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.rtc-health__history-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 13px;
  border: 1px solid var(--health-line);
  background: #fff;
}

.rtc-health__history-score {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #bad0c4;
  border-radius: 50%;
  color: var(--health-green-deep);
  background: #edf7f2;
  font-size: 0.8rem;
  font-weight: 850;
}

.rtc-health__history-item strong,
.rtc-health__history-item span,
.rtc-health__history-item small {
  display: block;
}

.rtc-health__history-item strong {
  color: var(--health-ink);
  font-size: 0.69rem;
}

.rtc-health__history-item span {
  margin-top: 4px;
  color: #75877f;
  font-size: 0.59rem;
}

.rtc-health__history-item small {
  color: #7b8c84;
  font-size: 0.57rem;
  white-space: nowrap;
}

/* =========================================================
   PLAN CAPACITY
========================================================= */

.rtc-health__plan-capacity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 0.8fr)) minmax(320px, 1.6fr);
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  border: 1px solid var(--health-line);
  background: var(--health-line);
}

.rtc-health__plan-capacity > article {
  min-height: 128px;
  padding: 20px;
  background: #fff;
}

.rtc-health__plan-capacity > article > span,
.rtc-health__plan-capacity > article > strong,
.rtc-health__plan-capacity > article > small {
  display: block;
}

.rtc-health__plan-capacity > article > span {
  color: var(--health-green);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-health__plan-capacity > article > strong {
  margin-top: 10px;
  color: var(--health-ink);
  font-size: 0.84rem;
}

.rtc-health__plan-capacity > article > small {
  margin-top: 7px;
  color: var(--health-muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

.rtc-health__plan-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 135, 107, 0.10), transparent 34%),
    #fff !important;
}

.rtc-health__plan-note > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #b8cdc2;
  color: var(--health-green);
  background: #edf7f2;
}

.rtc-health__plan-note strong,
.rtc-health__plan-note small {
  display: block;
}

.rtc-health__plan-note strong {
  color: var(--health-ink);
  font-size: 0.8rem;
}

.rtc-health__plan-note small {
  margin-top: 6px;
  color: var(--health-muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

/* =========================================================
   BOUNDARY
========================================================= */

.rtc-health__boundary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 64px);
  padding: clamp(28px, 3vw, 48px);
  border: 1px solid #45645b;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 214, 182, 0.14), transparent 30%),
    linear-gradient(115deg, #091c20, #0b2d2a);
}

.rtc-health__boundary > div:first-child > span {
  color: #9ccabe;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rtc-health__boundary h3 {
  max-width: 950px;
  margin: 9px 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.3vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.rtc-health__boundary p {
  max-width: 1100px;
  margin: 15px 0 0;
  color: #9fbab4;
  font-size: 0.78rem;
  line-height: 1.7;
}

.rtc-health__boundary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.rtc-health__boundary-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 820;
  text-decoration: none;
}

.rtc-health__boundary-actions a:first-child {
  color: #061a16;
  background: linear-gradient(90deg, var(--health-mint), #d7e69b);
}

.rtc-health__boundary-actions a:last-child {
  border: 1px solid #45645b;
  color: #e3f1ec;
  background: #123b36;
}

/* =========================================================
   INTERACTION STATES
========================================================= */

.rtc-health button:focus-visible,
.rtc-health a:focus-visible,
.rtc-health select:focus-visible,
.rtc-health input:focus-visible {
  outline: 3px solid rgba(45, 135, 107, 0.30);
  outline-offset: 3px;
}

.rtc-health__workspace.is-scanning .rtc-health__category-grid,
.rtc-health__workspace.is-scanning .rtc-health__findings-view {
  opacity: 0.58;
  pointer-events: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1580px) {
  .rtc-health__workspace {
    grid-template-columns: minmax(245px, 0.23fr) minmax(560px, 0.47fr) minmax(390px, 0.30fr);
  }

  .rtc-health__plan-capacity {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rtc-health__plan-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1260px) {
  .rtc-health__workspace {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .rtc-health__results {
    grid-column: 1 / -1;
  }

  .rtc-health__findings {
    max-height: 520px;
  }
}

@media (max-width: 980px) {
  .rtc-health__lead-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rtc-health__positioning {
    grid-template-columns: 1fr;
  }

  .rtc-health__positioning > b {
    display: none;
  }

  .rtc-health__workspace {
    grid-template-columns: 1fr;
  }

  .rtc-health__results {
    grid-column: auto;
  }

  .rtc-health__control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .rtc-health__identity,
  .rtc-health__site-control,
  .rtc-health__scan-options,
  .rtc-health__run,
  .rtc-health__capacity,
  .rtc-health__scope-mini {
    margin: 0;
  }

  .rtc-health__identity,
  .rtc-health__run {
    grid-column: 1 / -1;
  }

  .rtc-health__capacity,
  .rtc-health__scope-mini,
  .rtc-health__scan-options {
    padding-top: 0;
    border-top: 0;
  }

  .rtc-health__boundary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .rtc-health {
    padding: 58px 0;
  }

  .rtc-health__shell {
    padding-inline: 16px;
  }

  .rtc-health__eyebrow {
    flex-wrap: wrap;
    border-radius: 10px;
  }

  .rtc-health__head h2 {
    font-size: clamp(2.35rem, 12vw, 4.4rem);
  }

  .rtc-health__control {
    display: block;
  }

  .rtc-health__site-control,
  .rtc-health__scan-options,
  .rtc-health__run,
  .rtc-health__capacity,
  .rtc-health__scope-mini {
    margin-top: 20px;
  }

  .rtc-health__scan-options,
  .rtc-health__capacity,
  .rtc-health__scope-mini {
    padding-top: 18px;
    border-top: 1px solid #31504a;
  }

  .rtc-health__score-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .rtc-health__severity-summary {
    width: 100%;
  }

  .rtc-health__progress ol,
  .rtc-health__category-grid {
    grid-template-columns: 1fr;
  }

  .rtc-health__panel-head {
    align-items: flex-start;
  }

  .rtc-health__panel-head em {
    display: none;
  }

  .rtc-health__report-actions {
    grid-template-columns: 1fr;
  }

  .rtc-health__plan-capacity {
    grid-template-columns: 1fr;
  }

  .rtc-health__plan-note {
    grid-column: auto;
  }

  .rtc-health__boundary-actions {
    display: grid;
  }

  .rtc-health__boundary-actions a {
    width: 100%;
  }
}

@media (min-width: 2200px) {
  .rtc-health__shell {
    padding-inline: 150px;
  }

  .rtc-health__workspace {
    min-height: 980px;
    grid-template-columns:
      minmax(360px, 0.21fr)
      minmax(1000px, 0.49fr)
      minmax(650px, 0.30fr);
  }

  .rtc-health__category-grid article {
    min-height: 142px;
  }

  .rtc-health__findings {
    max-height: 680px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rtc-health *,
  .rtc-health *::before,
  .rtc-health *::after {
    animation: none !important;
    transition: none !important;
  }
}