/* Hook Radio 2026 public experience: signal-first, quiet, operational. */
:root{
  --rd-bg:#f4f7f8;
  --rd-paper:#ffffff;
  --rd-ink:#142027;
  --rd-muted:#5d6b73;
  --rd-line:#d9e1e4;
  --rd-line-strong:#b8c5ca;
  --rd-signal:#087e8b;
  --rd-signal-dark:#075d67;
  --rd-signal-soft:#e3f3f3;
  --rd-action:#df6b2e;
  --rd-action-soft:#fff0e7;
  --rd-dark:#121a20;
  --rd-dark-muted:#a8b5bc;
  --rd-radius:8px;
  --rd-wide:1200px;
  --rd-text:720px;
}

body:not(:has(>.app-nav)):not(:has(>.auth-page)){
  color:var(--rd-ink);
  background:var(--rd-bg);
}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) main{overflow:hidden}
.public-page{width:100%;max-width:none!important;margin:0!important}
.public-page.about-page,.public-page.features-page{max-width:none!important}
.public-container{width:min(calc(100% - 48px),var(--rd-wide));margin-inline:auto}
.public-section{padding-block:112px}
.eyebrow{margin:0 0 16px;color:var(--rd-signal-dark);font-size:14px;font-weight:500;letter-spacing:0;text-transform:none}
.eyebrow+h1,.eyebrow+h2{margin-top:0}
.text-arrow{display:inline-flex;align-items:center;gap:8px;color:var(--rd-ink);font-size:14px;font-weight:500;text-decoration:none}
.text-arrow svg{width:17px;height:17px;transition:transform .18s ease}
.text-arrow:hover svg{transform:translateX(3px)}

/* Public navigation */
body:not(:has(>.app-nav)):not(:has(>.auth-page))>.site-header{
  position:relative;
  z-index:40;
  height:72px;
  border-bottom:1px solid var(--rd-line);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
}
body:not(:has(>.app-nav)):not(:has(>.auth-page))>.site-header .header-inner{
  width:min(calc(100% - 48px),var(--rd-wide));
  height:72px;
  padding:0;
}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .brand{gap:10px;color:var(--rd-ink);font-size:17px;font-weight:500}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .brand-mark{
  width:34px;height:34px;border:0;border-radius:8px;background:var(--rd-dark);color:#fff;
}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .desktop-nav{gap:4px}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .nav-link{
  min-height:40px;padding:0 13px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--rd-muted);font-size:14px;font-weight:500;
}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .nav-link:hover,
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .nav-link.current{background:transparent;color:var(--rd-ink)}
body.public-site .nav-link.current{border-bottom-color:var(--rd-signal);color:var(--rd-signal-dark)}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .header-actions{gap:10px}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .header-actions .button{min-height:42px;padding-inline:18px}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .login-link{color:var(--rd-muted);font-size:14px;font-weight:500;text-decoration:none}

/* Shared public controls */
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .button{
  border-radius:7px;border-color:var(--rd-line-strong);font-weight:500;box-shadow:none;
}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .button.primary{border-color:var(--rd-dark);background:var(--rd-dark);color:#fff}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .button.primary:hover{border-color:#24323a;background:#24323a}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .button.secondary{border-color:var(--rd-line-strong);background:var(--rd-paper);color:var(--rd-ink)}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .button.secondary:hover{border-color:#91a2aa;background:#f8fafb}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) :focus-visible{outline:3px solid rgba(8,126,139,.28);outline-offset:3px}

/* Home hero */
.landing-hero{position:relative;padding:56px 0 28px;background:#f7f8f8}
.landing-heading{max-width:680px;margin:0 auto 32px;text-align:center}
.landing-heading h1{margin:0;font-size:36px;line-height:1.25;letter-spacing:0}
.landing-heading .landing-subtitle{margin:12px 0 0;font-size:24px;line-height:1.4;font-weight:500;color:var(--rd-ink);text-wrap:balance}
.landing-heading>p:not(.landing-subtitle){max-width:580px;margin:16px auto 0;font-size:16px;line-height:1.75;color:var(--rd-muted)}
.landing-heading .button-row{justify-content:center;margin-top:24px;gap:12px}
.landing-screen{margin:0 auto;max-width:1040px}
.landing-screen picture{display:block}
.landing-screen img{display:block;width:100%;height:auto;max-height:410px;object-fit:contain;object-position:center;filter:none;border:0;border-radius:0;box-shadow:none}
.landing-screen figcaption{margin-top:12px;font-size:14px;line-height:1.5;text-align:center;color:var(--rd-muted)}
.landing-safety{background:#f7f8f8}
.landing-permissions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin:0 0 28px}
.landing-permissions dt{font-size:16px;font-weight:500}
.landing-permissions dd{margin:12px 0 0;font-size:15px;line-height:1.8;color:var(--rd-muted)}
@media(max-width:767px){
  .landing-hero{padding:32px 0 24px}
  .landing-heading{margin-bottom:24px}
  .landing-heading h1{font-size:30px}
  .landing-heading .landing-subtitle{font-size:20px}
  .landing-heading>p:not(.landing-subtitle){font-size:14px;line-height:1.65;margin-top:12px}
  .landing-heading .button-row{margin-top:20px;gap:8px}
  .landing-heading .button{font-size:14px;padding-inline:12px}
  .landing-screen img{max-height:350px}
  .landing-permissions{grid-template-columns:1fr;gap:28px}
}
.home-hero{padding:88px 0 64px!important;background:var(--rd-paper)}
.home-hero>.public-container{display:grid;grid-template-columns:minmax(0,.82fr) minmax(560px,1.18fr);gap:72px;align-items:center}
.home-hero .hero-copy{max-width:520px}
.home-hero .hero-copy h1{margin:0;color:var(--rd-signal);font-size:16px;font-weight:500;letter-spacing:0}
.home-hero .hero-subtitle{margin:18px 0 0;color:var(--rd-ink);font-size:52px;font-weight:500;line-height:1.12;letter-spacing:0}
.home-hero .hero-description{max-width:500px;margin:24px 0 0;color:var(--rd-muted);font-size:17px;line-height:1.78}
.home-hero .button-row{margin-top:34px;gap:10px}
.home-hero .button{min-height:50px;padding-inline:20px}
.hero-login{margin:18px 0 0;color:var(--rd-muted);font-size:14px}
.hero-login a{margin-left:4px;color:var(--rd-ink);font-weight:500}
.signal-stage{min-width:0;padding:30px;border:1px solid #26343c;border-radius:8px;background:var(--rd-dark);color:#fff;box-shadow:0 24px 60px rgba(19,32,39,.16)}
.signal-stage-head{display:flex;align-items:center;justify-content:space-between;color:var(--rd-dark-muted);font-size:14px}
.signal-stage-head span{display:flex;align-items:center;gap:8px}
.signal-stage-head i{width:8px;height:8px;border-radius:50%;background:#48c8a7;box-shadow:0 0 0 5px rgba(72,200,167,.12)}
.signal-message{display:grid;grid-template-columns:46px 1fr;gap:18px;margin-top:44px;padding:26px;border:1px solid #33434c;border-radius:8px;background:#19242b}
.signal-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--rd-signal);color:#fff}
.signal-icon svg{width:21px;height:21px;stroke-width:2.4}
.signal-message small{display:block;color:#8fd5d7;font-size:14px}
.signal-message strong{display:block;margin-top:8px;font-size:23px;line-height:1.35}
.signal-message p{margin:7px 0 0;color:#bbc7cc;font-size:14px;line-height:1.6}
.signal-route{display:grid;grid-template-columns:auto 1fr auto 1fr auto;gap:12px;align-items:center;margin-top:34px;color:#9cabb2;font-size:14px}
.signal-route svg{width:100%;height:16px;stroke:#4a5a63}
.signal-route span:last-child{color:#7fd2d4;font-weight:500}

/* Section rhythm */
.section-intro{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:72px;align-items:end;margin-bottom:54px}
.section-intro h2{max-width:560px;margin:0;font-size:38px;line-height:1.23;letter-spacing:0}
.section-intro>p{max-width:580px;margin:0;color:var(--rd-muted);font-size:16px;line-height:1.8}
.intro-section{background:var(--rd-bg)}
.quick-start-steps{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:0;border-top:1px solid var(--rd-line-strong);list-style:none;counter-reset:steps}
.quick-start-steps li{position:relative;min-width:0;padding:36px 36px 8px 56px;border-left:1px solid var(--rd-line);counter-increment:steps}
.quick-start-steps li:first-child{border-left:0;padding-left:0}
.quick-start-steps li::before{content:"0" counter(steps);position:absolute;left:20px;top:39px;color:var(--rd-signal);font-size:14px;font-weight:500}
.quick-start-steps li:first-child::before{left:0;top:15px}
.quick-start-steps li:first-child{padding-top:36px}
.quick-start-steps strong{display:block;font-size:17px}
.quick-start-steps span{display:block;margin-top:9px;color:var(--rd-muted);font-size:14px;line-height:1.65}

.product-proof{background:var(--rd-dark);color:#fff}
.proof-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:72px;align-items:center}
.proof-copy h2{margin:0;color:#fff;font-size:38px;line-height:1.25}
.proof-copy>p:not(.eyebrow){margin:22px 0 28px;color:#b9c5ca;font-size:16px;line-height:1.8}
.product-proof .eyebrow{color:#86d4d5}
.product-proof .text-arrow{color:#fff}
.product-shot{display:block;min-width:0;overflow:hidden;border:1px solid #394952;border-radius:8px;background:#fff;box-shadow:0 22px 50px rgba(0,0,0,.22)}
.product-shot img{display:block;width:100%;height:auto}

.capability-section{background:var(--rd-paper)}
.capability-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--rd-line-strong);border-bottom:1px solid var(--rd-line-strong)}
.capability-item{position:relative;display:flex;min-height:310px;flex-direction:column;padding:26px 26px 24px;border-left:1px solid var(--rd-line);color:var(--rd-ink);text-decoration:none}
.capability-item:first-child{border-left:0}
.capability-item:hover{background:#f7fafb}
.capability-number{color:#829198;font-size:14px;font-weight:500}
.capability-icon{display:grid;place-items:center;width:42px;height:42px;margin-top:28px;border-radius:50%;background:var(--rd-signal-soft);color:var(--rd-signal-dark)}
.capability-icon svg{width:20px;height:20px}
.capability-item:nth-child(3) .capability-icon{background:var(--rd-action-soft);color:var(--rd-action)}
.capability-item h3{margin:24px 0 0;font-size:19px}
.capability-item p{margin:10px 0 0;color:var(--rd-muted);font-size:14px;line-height:1.65}
.capability-link{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:24px;font-size:14px;font-weight:500}
.capability-link svg{width:15px;height:15px}

.decision-section{padding-block:88px;background:var(--rd-bg)}
.decision-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(420px,1fr) auto;gap:56px;align-items:center}
.decision-grid h2{margin:0;font-size:32px}
.decision-grid>div>p:not(.eyebrow){max-width:460px;margin:16px 0 0;color:var(--rd-muted);line-height:1.75}
.decision-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.decision-facts p{margin:0}
.decision-facts strong,.decision-facts span{display:block}
.decision-facts strong{font-size:22px}
.decision-facts span{margin-top:5px;color:var(--rd-muted);font-size:14px}

.faq-section{background:var(--rd-paper)}
.split-faq{display:grid;grid-template-columns:320px minmax(0,1fr);gap:96px}
.split-faq h2{margin:0;font-size:34px}
.split-faq>div:first-child>p:not(.eyebrow){margin:16px 0 24px;color:var(--rd-muted);line-height:1.7}
.faq-list{border:0!important}
.faq-list details{border-top:1px solid var(--rd-line)!important;border-bottom:0!important}
.faq-list details:last-child{border-bottom:1px solid var(--rd-line)!important}
.faq-list summary{min-height:70px;padding:18px 2px;color:var(--rd-ink);font-size:16px;font-weight:500}
.faq-list summary svg{color:var(--rd-signal)}
.faq-answer{padding:0 42px 24px 2px}
.faq-answer p{margin:0;color:var(--rd-muted);line-height:1.8}
.faq-answer a{display:inline-flex;margin-top:14px;color:var(--rd-signal-dark);font-size:14px;font-weight:500}

.final-section{padding-block:76px;background:var(--rd-signal-soft)}
.final-cta{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.final-cta h2{margin:0;font-size:34px;line-height:1.3}
.final-cta .button-row{margin:0}

/* Public inner-page hero */
.public-page-hero{padding:92px 0 74px;background:var(--rd-paper);border-bottom:1px solid var(--rd-line)}
.public-page-hero .public-container{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:80px;align-items:end}
.public-page-hero .eyebrow{grid-column:1/-1;margin-bottom:-46px}
.public-page-hero h1{max-width:520px;margin:0;font-size:48px;line-height:1.15;letter-spacing:0}
.public-page-hero .public-container>p:last-child{max-width:620px;margin:0;color:var(--rd-muted);font-size:18px;line-height:1.75}

/* About */
.purpose-split{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--rd-line-strong);border-radius:var(--rd-radius);background:var(--rd-paper)}
.purpose-split article{padding:48px}
.purpose-split article+article{border-left:1px solid var(--rd-line)}
.purpose-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:34px;border-radius:8px}
.purpose-icon.receive{background:var(--rd-signal-soft);color:var(--rd-signal-dark)}
.purpose-icon.send{background:var(--rd-action-soft);color:var(--rd-action)}
.purpose-icon svg{width:23px;height:23px}
.purpose-split h2{margin:0;font-size:30px}
.purpose-split article>p:last-child{max-width:480px;margin:16px 0 0;color:var(--rd-muted);font-size:16px;line-height:1.8}
.use-cases{background:var(--rd-paper)}
.case-list{display:grid!important;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rd-line-strong)}
.case-row{display:block!important;padding:36px 34px 8px;border:0!important;border-left:1px solid var(--rd-line)!important}
.case-row:first-child{border-left:0!important;padding-left:0}
.case-row>svg{width:22px;height:22px;margin-bottom:28px;color:var(--rd-signal)}
.case-row h3{font-size:18px}
.case-row p{margin-top:10px;color:var(--rd-muted);line-height:1.75}
.terms-section{background:var(--rd-bg)}
.terms-layout,.start-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:100px}
.terms-layout h2,.start-layout h2{margin:0;font-size:34px;line-height:1.3}
.terms-layout .definition-list{border-top:1px solid var(--rd-line-strong)}
.terms-layout .definition-list>div{display:grid;grid-template-columns:160px 1fr;gap:30px;padding:24px 0;border-bottom:1px solid var(--rd-line)}
.terms-layout dt{color:var(--rd-ink);font-weight:500}
.terms-layout dd{color:var(--rd-muted);line-height:1.75}
.start-section{background:var(--rd-paper)}
.start-layout>div>p:last-child{margin-top:16px;color:var(--rd-muted);line-height:1.7}
.start-layout .steps{margin:0;padding:0;list-style:none;counter-reset:start}
.start-layout .steps li{position:relative;min-height:70px;padding:2px 0 26px 56px;border-left:1px solid var(--rd-line);counter-increment:start}
.start-layout .steps li:last-child{border-left-color:transparent;padding-bottom:0}
.start-layout .steps li::before{content:counter(start);position:absolute;left:-17px;top:-5px;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--rd-line-strong);border-radius:50%;background:var(--rd-paper);color:var(--rd-signal-dark);font-size:14px;font-weight:500}

/* Feature tour */
.feature-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:76px;padding-top:72px;padding-bottom:112px}
.feature-index{position:sticky;top:28px;align-self:start;display:grid;gap:2px}
.feature-index>span{margin-bottom:12px;color:#87949a;font-size:14px;font-weight:500}
.feature-index a{display:block;padding:11px 12px;border-radius:6px;color:var(--rd-muted);font-size:14px;font-weight:500;text-decoration:none}
.feature-index a:hover{background:var(--rd-paper);color:var(--rd-ink)}
.feature-content{min-width:0}
.feature-detail{scroll-margin-top:24px;padding:0 0 104px!important;border:0!important}
.feature-detail+.feature-detail{padding-top:104px!important;border-top:1px solid var(--rd-line)!important}
.feature-detail>header{display:flex;align-items:center;gap:18px;margin-bottom:36px}
.feature-detail-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:8px;background:var(--rd-signal-soft);color:var(--rd-signal-dark)}
.feature-detail:nth-child(3) .feature-detail-icon{background:var(--rd-action-soft);color:var(--rd-action)}
.feature-detail-icon svg{width:23px;height:23px}
.feature-detail h2{margin:0;font-size:32px}
.feature-detail header p{margin:7px 0 0;color:var(--rd-muted);font-size:15px}
.feature-detail .feature-gallery{margin:0}
.feature-scenes{min-height:0!important;background:transparent!important}
.feature-scene{overflow:hidden;border:1px solid var(--rd-line-strong);border-radius:var(--rd-radius);background:var(--rd-paper)}
.feature-scene figcaption{padding:15px 18px;border-bottom:1px solid var(--rd-line);color:var(--rd-muted);font-size:14px}
.feature-image{border:0!important;border-radius:0!important}
.feature-scene-note{margin:12px 0 0;color:#87949a;font-size:14px;text-align:right}
.feature-notes{display:grid;grid-template-columns:220px minmax(0,1fr);gap:46px;margin-top:42px;padding-top:32px;border-top:1px solid var(--rd-line)}
.feature-notes h3{margin:0;font-size:16px}
.feature-notes .plain-list{margin:0;padding:0;list-style:none}
.feature-notes .plain-list li{position:relative;padding:0 0 14px 20px;color:var(--rd-muted);line-height:1.75}
.feature-notes .plain-list li::before{content:"";position:absolute;left:1px;top:.72em;width:5px;height:5px;border-radius:50%;background:var(--rd-signal)}
.feature-detail>.data-table,.feature-detail>h3,.feature-detail>.code-tool,.feature-detail>.muted{margin-top:36px}
.feature-detail>.data-table{width:100%}

/* Pricing */
.pricing-summary{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);border:1px solid var(--rd-line-strong);border-radius:var(--rd-radius);background:var(--rd-paper)}
.price-main{padding:50px;border-right:1px solid var(--rd-line)}
.price-main .status{display:inline-flex;background:var(--rd-signal-soft);color:var(--rd-signal-dark)}
.price{display:flex;align-items:baseline;gap:5px;margin:34px 0 0}
.price strong{font-size:72px;line-height:1}
.price span{font-size:22px;font-weight:500}
.price-main h2{margin:28px 0 0;font-size:26px;line-height:1.35}
.price-main>p:not(.price){margin:14px 0 30px;color:var(--rd-muted);line-height:1.75}
.price-conditions{padding:50px}
.price-conditions>h2{margin:0 0 24px;font-size:22px}
.price-conditions .definition-list{border-top:1px solid var(--rd-line-strong)}
.price-conditions .definition-list>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px;padding:18px 0;border-bottom:1px solid var(--rd-line)}
.price-conditions dt{font-weight:500}
.price-conditions dd{color:var(--rd-muted);font-size:14px;line-height:1.7}
.price-conditions>.muted{margin:22px 0 0}

/* FAQ and support */
.faq-groups{padding-block:72px 112px}
.faq-group{display:grid;grid-template-columns:300px minmax(0,1fr);gap:80px;padding:56px 0;border-bottom:1px solid var(--rd-line)}
.faq-group:first-child{padding-top:0}
.faq-group h2{margin:0;font-size:24px}
.faq-group>div:first-child p{margin:11px 0 0;color:var(--rd-muted);font-size:14px;line-height:1.65}
.support-layout{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--rd-line-strong);border-radius:var(--rd-radius);background:var(--rd-paper)}
.support-route,.support-contact{padding:48px}
.support-contact{border-left:1px solid var(--rd-line)}
.support-layout h2{margin:0;font-size:25px;line-height:1.35}
.support-route>p{margin:16px 0 28px;color:var(--rd-muted);line-height:1.75}
.support-checklist{margin:24px 0 32px;padding:0;list-style:none;counter-reset:check}
.support-checklist li{position:relative;padding:17px 0 17px 45px;border-top:1px solid var(--rd-line);counter-increment:check}
.support-checklist li:last-child{border-bottom:1px solid var(--rd-line)}
.support-checklist li::before{content:"0" counter(check);position:absolute;left:0;color:var(--rd-signal-dark);font-size:14px;font-weight:500}

/* Footer */
body.public-site>footer.site-footer.copyright-footer{padding:24px 0}
.copyright-footer{text-align:center}
.copyright-footer small{display:block;color:var(--rd-dark-muted);font-size:14px;line-height:1.7}
.copyright-footer small>span{display:block;overflow-wrap:anywhere}
.copyright-footer small>span+span{margin-top:4px}
body:not(:has(>.app-nav)):not(:has(>.auth-page))>.site-footer{padding:68px 0 28px;border:0;background:var(--rd-dark);color:#fff}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:64px}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-brand p{max-width:340px;color:var(--rd-dark-muted);line-height:1.7}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-brand .brand{color:#fff}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-brand .brand-mark{background:#fff;color:var(--rd-dark)}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-links{display:grid;grid-template-columns:repeat(4,1fr);align-content:start;gap:12px 24px}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-links a{color:#c0cbd0;font-size:14px;text-decoration:none}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-links a:hover{color:#fff}
body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-bottom{grid-column:1/-1;margin-top:28px;padding-top:24px;border-top:1px solid #2c3940;color:#7f9098}

/* Keep app and auth aligned with the renewed palette without changing flows. */
body:has(>.app-nav),body:has(>.auth-page){--app-canvas:#f4f7f8;--app-paper:#fff;--app-nav:#121a20;--accent:var(--rd-signal);--success:var(--rd-signal-dark)}
body:has(>.app-nav) .button.primary,body:has(>.auth-page) .button.primary{background:var(--rd-dark);border-color:var(--rd-dark)}
@media (min-width:768px){
  body:has(>.app-nav)>.site-header .brand{color:#fff!important}
  body:has(>.app-nav)>.site-header .brand-mark{background:#fff!important;color:var(--rd-dark)!important}
  body:has(>.app-nav)>.app-nav .app-nav-link.current{background:#fff;color:var(--rd-ink)}
  body:has(>.app-nav)>.app-nav .app-nav-link.current::before{background:var(--rd-signal)}
}

@media (max-width:1024px){
  .home-hero>.public-container{grid-template-columns:1fr;gap:54px}.home-hero .hero-copy{max-width:680px}.signal-stage{max-width:760px}
  .capability-grid{grid-template-columns:repeat(2,1fr)}.capability-item:nth-child(3){border-left:0;border-top:1px solid var(--rd-line)}.capability-item:nth-child(4){border-top:1px solid var(--rd-line)}
  .decision-grid{grid-template-columns:1fr auto}.decision-facts{grid-row:2;grid-column:1/-1}.decision-grid>.button{grid-column:2;grid-row:1}
  .feature-layout{grid-template-columns:180px minmax(0,1fr);gap:42px}.feature-notes{grid-template-columns:180px 1fr}
  .terms-layout,.start-layout{grid-template-columns:280px minmax(0,1fr);gap:64px}
}

@media (max-width:767px){
  .public-container{width:min(calc(100% - 40px),var(--rd-wide))}.public-section{padding-block:76px}
  body:not(:has(>.app-nav)):not(:has(>.auth-page))>.site-header{height:62px}
  body:not(:has(>.app-nav)):not(:has(>.auth-page))>.site-header .header-inner{width:calc(100% - 32px);height:62px}
  body:not(:has(>.app-nav)):not(:has(>.auth-page)) .header-actions>.button,body:not(:has(>.app-nav)):not(:has(>.auth-page)) .login-link{display:none}
  body:not(:has(>.app-nav)):not(:has(>.auth-page)) .mobile-menu{top:62px;padding:10px 16px 18px;border-bottom:1px solid var(--rd-line);background:#fff}
  body:not(:has(>.app-nav)):not(:has(>.auth-page)) .mobile-menu .nav-link{min-height:46px}
  .home-hero{padding:44px 0 22px!important}.home-hero>.public-container{gap:20px}.home-hero .hero-subtitle{font-size:39px;line-height:1.16}.home-hero .hero-description{font-size:15px;line-height:1.75}.home-hero .button-row{display:grid;grid-template-columns:1fr;margin-top:24px}.home-hero .button{width:100%}.hero-login{display:none}
  .signal-stage{padding:12px 14px}.signal-stage-head{display:none}.signal-message{grid-template-columns:34px 1fr;gap:11px;margin-top:0;padding:11px}.signal-icon{width:34px;height:34px}.signal-message strong{margin-top:3px;font-size:16px}.signal-message p{display:none}.signal-route{display:none}
  .section-intro{display:block;margin-bottom:36px}.section-intro h2{font-size:30px}.section-intro>p{margin-top:18px;font-size:15px}
  .quick-start-steps{display:block}.quick-start-steps li,.quick-start-steps li:first-child{min-height:90px;padding:28px 0 26px 54px;border-top:1px solid var(--rd-line);border-left:0}.quick-start-steps li:first-child{border-top:0}.quick-start-steps li::before,.quick-start-steps li:first-child::before{left:0;top:28px}
  .proof-grid{display:block}.proof-copy h2{font-size:30px}.proof-copy{margin-bottom:40px}.proof-copy>p:not(.eyebrow){font-size:15px}
  .capability-grid{display:block}.capability-item,.capability-item:nth-child(3),.capability-item:nth-child(4){min-height:0;padding:26px 4px;border:0;border-top:1px solid var(--rd-line)}.capability-item:first-child{border-top:0}.capability-item{display:grid;grid-template-columns:42px 1fr auto;gap:0 16px}.capability-number{display:none}.capability-icon{grid-row:1/4;margin:0}.capability-item h3{grid-column:2;margin:1px 0 0}.capability-item p{grid-column:2;margin-top:7px}.capability-link{grid-column:3;grid-row:1/4;align-self:center;padding:0;font-size:0}.capability-link svg{width:18px;height:18px}
  .decision-section{padding-block:68px}.decision-grid{display:block}.decision-grid h2{font-size:28px}.decision-facts{margin:36px 0}.decision-grid>.button{width:100%}
  .split-faq{display:block}.split-faq>div:first-child{margin-bottom:38px}.split-faq h2{font-size:29px}
  .final-section{padding-block:56px}.final-cta{display:block}.final-cta h2{font-size:28px}.final-cta>.button,.final-cta>.button-row{width:100%;margin-top:28px}.final-cta .button-row{display:grid}.final-cta .button{width:100%}
  .public-page-hero{padding:64px 0 54px}.public-page-hero .public-container{display:block}.public-page-hero .eyebrow{margin-bottom:14px}.public-page-hero h1{font-size:38px}.public-page-hero .public-container>p:last-child{margin-top:20px;font-size:16px}
  .purpose-split{display:block}.purpose-split article{padding:32px 28px}.purpose-split article+article{border-top:1px solid var(--rd-line);border-left:0}.purpose-icon{margin-bottom:24px}.purpose-split h2{font-size:26px}
  .case-list{display:block!important}.case-row,.case-row:first-child{padding:28px 0!important;border-left:0!important;border-top:1px solid var(--rd-line)!important}.case-row:first-child{border-top:0!important}.case-row>svg{margin-bottom:18px}
  .terms-layout,.start-layout{display:block}.terms-layout>div:first-child,.start-layout>div:first-child{margin-bottom:36px}.terms-layout h2,.start-layout h2{font-size:29px}.terms-layout .definition-list>div{display:block}.terms-layout dd{margin-top:8px}
  .feature-layout{display:block;padding-top:34px;padding-bottom:76px}.feature-index{position:relative;top:auto;display:flex;gap:6px;margin:0 -20px 54px;padding:0 20px 12px;overflow-x:auto;scrollbar-width:none}.feature-index>span{display:none}.feature-index a{flex:0 0 auto;border:1px solid var(--rd-line);background:#fff;white-space:nowrap}.feature-detail{padding-bottom:76px!important}.feature-detail+.feature-detail{padding-top:76px!important}.feature-detail>header{align-items:flex-start}.feature-detail h2{font-size:27px}.feature-notes{display:block;margin-top:30px;padding-top:26px}.feature-notes h3{margin-bottom:18px}.feature-scenes{min-height:0!important}.feature-scene{border-radius:6px}
  .pricing-summary{display:block}.price-main,.price-conditions{padding:32px 28px}.price-main{border-right:0;border-bottom:1px solid var(--rd-line)}.price strong{font-size:60px}.price-conditions .definition-list>div{display:block}.price-conditions dd{margin-top:7px}
  .faq-groups{padding-block:36px 76px}.faq-group{display:block;padding:46px 0}.faq-group>div:first-child{margin-bottom:24px}.faq-list summary{min-height:64px;font-size:15px}
  .support-layout{display:block}.support-route,.support-contact{padding:32px 28px}.support-contact{border-top:1px solid var(--rd-line);border-left:0}
  body:not(:has(>.app-nav)):not(:has(>.auth-page))>.site-footer{padding-top:54px}body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-grid{display:block}body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-links{grid-template-columns:repeat(2,1fr);margin-top:36px}body:not(:has(>.app-nav)):not(:has(>.auth-page)) .footer-bottom{margin-top:36px}
}

@media (prefers-reduced-motion:reduce){.text-arrow svg{transition:none}}

/* Inbox channels: familiar conversation rhythm without implying replies. */
body:has(>.app-nav) .app-page:has(.conversation-panel){padding-right:clamp(24px,3.2vw,52px);padding-left:clamp(24px,3.2vw,52px)}
#app-root:has(.channel-shell){max-width:1360px}
#app-root:has(.channel-shell)>.page-title{margin-bottom:24px}
.channel-shell{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:stretch;gap:0;min-height:620px;height:calc(100svh - 172px);max-height:860px;overflow:hidden;border:1px solid #d8dee1;border-radius:8px;background:#fff;box-shadow:0 10px 34px rgba(21,31,36,.07)}
.channel-shell .inbox-addresses{position:relative;top:auto;min-width:0;padding:0;overflow-y:auto;border:0;border-right:1px solid #d8dee1;border-radius:0;background:#f7f9f9}
.channel-shell .inbox-addresses-head{position:sticky;top:0;z-index:2;min-height:78px;padding:16px 16px 14px;border-bottom:1px solid #e1e6e8;background:rgba(247,249,249,.96);backdrop-filter:blur(10px)}
.inbox-addresses-head>div{display:grid;gap:3px}.inbox-addresses-head>div>span{color:#77848a;font-size:14px;font-weight:500}.inbox-addresses-head>div>strong{color:#172329;font-size:16px}
.inbox-addresses-head .icon-button{width:38px;height:38px;border-color:#d7dee0;background:#fff}
.channel-shell .inbox-addresses nav{padding:10px}
.channel-shell .inbox-address{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;min-height:62px;padding:10px;border-radius:7px;color:#243138;white-space:normal}
.channel-shell .inbox-address:hover{background:#edf2f3}.channel-shell .inbox-address.current{background:#e2eff0;box-shadow:none;color:#102126}
.channel-shell .inbox-address>span:last-child{display:grid;align-content:center;min-width:0;gap:3px}.channel-shell .inbox-address strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.channel-shell .inbox-address small{overflow:hidden;color:#748187;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.channel-avatar,.message-avatar{display:inline-grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:#dcebec;color:#17616a}
.channel-avatar.all{background:#e8eaeb;color:#4f5b61}.channel-avatar svg,.message-avatar svg{width:18px;height:18px}.channel-avatar.large{width:46px;height:46px}
.conversation-panel{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;border:0!important;border-radius:0!important;background:#edf2f3!important;box-shadow:none!important}
.conversation-header{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;border-bottom:1px solid #d8dee1;background:#fff}
.conversation-title{display:flex;min-width:0;align-items:center;gap:12px}.conversation-title>div{min-width:0}.conversation-title h2{overflow:hidden;color:#152128;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.conversation-title p{margin-top:3px;color:#6d7a80;font-size:14px}
.conversation-actions{display:flex;align-items:center;gap:8px}.conversation-actions .icon-button{width:42px;height:42px;background:#fff}.conversation-actions .button{min-height:42px}
.channel-status{display:flex;align-items:center;gap:18px;min-height:40px;padding:8px 20px;border-bottom:1px solid #dde3e5;background:#f8fafb;color:#68767c;font-size:14px}.channel-status>span{display:inline-flex;align-items:center;gap:7px}
.conversation-panel>.filter-panel{border:0;border-bottom:1px solid #d8dee1;background:#fff}.conversation-panel>.filter-panel>summary{min-height:44px;padding:10px 20px}.conversation-panel>.filter-panel>summary>span>span{display:flex;align-items:baseline;gap:8px}.conversation-panel>.filter-panel>summary small{color:#7a878c}.conversation-panel>.filter-content{padding:0 20px 18px;background:#fff}
.conversation-stream{min-height:0;flex:1;overflow-y:auto;padding:24px 22px 30px}.conversation-stream #message-items{min-height:0}
.conversation-stream .records-more:empty{display:none}
.chat-feed{display:grid;gap:14px;background:transparent}
.chat-message.message-row{display:grid;grid-template-columns:38px minmax(0,1fr);justify-content:start;gap:10px;min-height:0;padding:0!important;border:0;background:transparent}.chat-message.message-row:hover{background:transparent;text-decoration:none}
.message-avatar{width:38px;height:38px;border:1px solid #d1dfe1;background:#fff}
.message-bubble{width:fit-content;max-width:min(680px,calc(100% - 36px));min-width:0;padding:13px 15px 14px;border:1px solid #d9e0e2;border-radius:4px 8px 8px 8px;background:#fff;box-shadow:0 2px 8px rgba(24,39,45,.035)}
.message-meta{display:flex;align-items:center;justify-content:flex-end}.message-meta time{flex:none;color:#859197;font-size:14px;font-variant-numeric:tabular-nums}
.chat-message .message-bubble p{margin-top:7px;overflow:visible;color:#1e2a30;font-size:14px;line-height:1.65;overflow-wrap:anywhere;text-overflow:clip;white-space:pre-wrap}
.chat-message .message-bubble{position:relative;justify-self:start;cursor:default}
.chat-message.own-message{grid-template-columns:minmax(0,1fr)}
.chat-message.own-message .message-bubble{justify-self:end;background:#172027;color:#fff;border-color:#172027;border-radius:8px 4px 8px 8px}
.chat-message.own-message .message-bubble p{color:#fff}
.chat-message.own-message .message-link{color:#e0edef}
.chat-message.own-message time{color:#bdc9cf}
.chat-message.own-message .message-delete{right:auto;left:-30px}
.channel-outgoing{width:100%;min-width:0}
.channel-outgoing .message-bubble{width:fit-content;max-width:min(680px,calc(100% - 36px));min-width:0}
.channel-outgoing .message-bubble footer{flex-wrap:wrap;justify-content:flex-start}
.channel-outgoing .message-bubble footer>*{white-space:nowrap}
.chat-message .message-bubble:has(.message-delete){max-width:min(680px,calc(100% - 36px))}
.chat-message .message-link{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.chat-message .message-link .icon{flex-shrink:0}
.message-delete{position:absolute;right:-30px;bottom:10px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);opacity:0;cursor:pointer}
.message-delete::before{content:"";position:absolute;inset:-4px}
.message-delete svg{width:20px;height:20px;flex-shrink:0}
.chat-message:hover .message-delete,.chat-message:focus-within .message-delete{opacity:1}
.message-delete:hover{background:#fbeeee;color:#a12525}
.settings-devices:not(:empty){margin-top:24px;padding-top:20px}
.settings-devices>p{margin:0;line-height:1.7}
.settings-devices+.settings-footnote{margin-top:20px;padding-top:0;border-top:0}
@media (hover:none){.message-delete{opacity:1;width:44px;height:44px;right:-48px;bottom:0}.chat-message.own-message .message-delete{left:-48px}.chat-message .message-bubble:has(.message-delete){max-width:min(680px,calc(100% - 48px))}.message-delete::before{display:none}}
.message-link{display:inline-flex;align-items:center;gap:6px;margin-top:9px;color:#17616a;font-size:14px;font-weight:500}.message-link svg{width:14px;height:14px}
.conversation-stream .empty{display:grid;min-height:100%;place-content:center;justify-items:center;padding:48px 24px;border:0;background:transparent}.conversation-stream .empty>svg{background:#fff;box-shadow:0 2px 10px rgba(24,39,45,.05)}
.receive-only{display:flex;min-height:62px;align-items:center;gap:11px;padding:11px 20px;border-top:1px solid #d8dee1;background:#fff}.receive-only>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#eef3f4;color:#516268}.receive-only svg{width:16px;height:16px}.receive-only>div{display:grid;gap:2px}.receive-only strong{font-size:14px}.receive-only small{color:#748187;font-size:14px}

@media(max-width:960px){.channel-shell{grid-template-columns:220px minmax(0,1fr)}.conversation-actions .button{padding-inline:13px}}
@media(max-width:767px){
  body:has(>.app-nav) .app-page:has(.conversation-panel){padding-inline:0;padding-top:20px}
  #app-root:has(.conversation-panel)>.page-title{padding-inline:20px;margin-bottom:18px}
  .channel-shell{display:block;height:auto;min-height:0;max-height:none;border-width:1px 0 0;border-radius:0;box-shadow:none}.channel-shell .inbox-addresses{display:none}
  .conversation-panel{min-height:calc(100svh - 174px)}.conversation-header{min-height:70px;padding:11px 16px}.conversation-title{gap:10px}.channel-avatar.large{width:40px;height:40px}.conversation-title h2{font-size:16px}.conversation-title p{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .conversation-actions{gap:6px}.conversation-actions .icon-button{width:40px;height:40px}.conversation-actions .button{width:40px;min-width:40px;height:40px;padding:0;font-size:0}.conversation-actions .button svg{width:18px;height:18px;margin:0}
  .channel-status{gap:12px;padding:7px 16px;overflow-x:auto;white-space:nowrap}.conversation-panel>.filter-panel>summary{padding-inline:16px}.conversation-panel>.filter-panel>summary small{display:none}.conversation-panel>.filter-content{padding:0 16px 16px}
  .conversation-stream{min-height:420px;padding:20px 14px 26px}.message-bubble{width:fit-content;max-width:min(620px,100%)}.receive-only{padding-inline:16px;padding-bottom:calc(11px + env(safe-area-inset-bottom))}
}

/* Recipient setup is a modal; message composition lives in the conversation. */
body:has(>.chat-sidebar) select{
  appearance:none;
  padding-right:44px!important;
  background-color:#fff;
  color:#171b1f;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23545d63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-position:right 14px center!important;
  background-size:16px 16px!important;
  background-repeat:no-repeat!important;
}
body:has(>.chat-sidebar)>.app-page:has(.outgoing-conversation){padding:0!important;overflow:hidden;background:#eef2f3}
body:has(>.chat-sidebar)>.app-page:has(.outgoing-conversation) #app-root{height:100%;max-width:none}
.outgoing-chat-form{height:100%}.outgoing-chat-form>.form-feedback[hidden]{display:none}
.outgoing-conversation{display:flex;height:100%;min-height:0;flex-direction:column;background:#eef2f3}
.outgoing-chat-header{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:20px;padding:13px 24px;border-bottom:1px solid #d8dee1;background:#fff}
.outgoing-chat-header .eyebrow{display:block;margin-bottom:3px;color:#7a858a;font-size:14px;font-weight:500}.outgoing-chat-header h1{overflow:hidden;max-width:680px;font-size:18px;text-overflow:ellipsis;white-space:nowrap}
.outgoing-chat-stream{display:flex;min-height:0;flex:1;flex-direction:column;gap:14px;overflow-y:auto;padding:28px clamp(20px,4vw,52px)}
.chat-welcome{display:grid;margin:auto;place-items:center;text-align:center}.chat-welcome>svg{width:42px;height:42px;margin-bottom:14px;padding:10px;border:1px solid #d9e0e2;border-radius:50%;background:#fff;color:#78858a}.chat-welcome h2{font-size:18px}.chat-welcome p{margin-top:7px;color:#748086;font-size:14px}
.outgoing-message{display:flex;justify-content:flex-end}.outgoing-message .message-bubble{width:fit-content;max-width:min(680px,82%);border-radius:8px 4px 8px 8px;background:#172027;color:#fff}.outgoing-message .message-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.outgoing-message .message-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px;color:#aeb9be;font-size:14px}.outgoing-message .message-bubble .text-link{color:#fff;font-size:14px}
.outgoing-composer{display:grid;grid-template-columns:minmax(0,1fr) 46px 46px;align-items:end;gap:8px;padding:14px clamp(18px,4vw,48px) 16px;border-top:1px solid #d8dee1;background:#fff}
.outgoing-input{overflow:hidden;border:1px solid #cfd6d9;border-radius:8px;background:#fff}.outgoing-input>.field{gap:0}.outgoing-input>.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.outgoing-input textarea{min-height:50px;max-height:144px;padding:13px 15px;border:0!important;border-radius:0;box-shadow:none!important;resize:none}.outgoing-input .message-link-option{border-top:1px solid #e3e7e9}.send-icon-button{display:grid;width:46px;height:46px;place-items:center;border:1px solid #172027;border-radius:8px;background:#172027;color:#fff}.send-icon-button svg{width:19px;height:19px}.send-icon-button:disabled{border-color:#d5dadd;background:#e6e9ea;color:#9ba4a8;cursor:not-allowed}
.channel-chat .conversation-stream{padding-bottom:24px}.channel-search{padding:14px 24px 16px;border-bottom:1px solid #d8dee1;background:#fff}.channel-search .toolbar{grid-template-columns:minmax(220px,1fr) minmax(150px,220px) auto}.channel-search .filter-submit{align-self:end}.channel-composer{display:grid;grid-template-columns:minmax(0,1fr) 46px 46px;align-items:end;gap:8px;padding:14px clamp(18px,4vw,48px) 16px;border-top:1px solid #d8dee1;background:#fff}.channel-compose-input{overflow:hidden;border:1px solid #cfd6d9;border-radius:8px;background:#fff}.channel-compose-input>.field{gap:0}.channel-compose-input>.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.channel-compose-input textarea{min-height:50px;max-height:144px;padding:13px 15px;border:0!important;border-radius:0;box-shadow:none!important;resize:none}.channel-outgoing{margin-left:auto}.channel-send-dialog .recipient-fields{flex:1}
.composer-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:10px 12px;border-top:1px solid #e3e7e9;background:#f8f9f9}.composer-options .field{gap:5px}.composer-options .field>span{color:#667178;font-size:14px;font-weight:500}.composer-options input{min-height:38px;padding:8px 10px;background:#fff;font-size:14px}
.external-conversation .conversation-stream{background:#eef2f3}.external-conversation .message-bubble .status{background:transparent;color:inherit;padding:0;font-size:14px}.external-conversation .message-link{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:#fff;font-size:14px}.external-conversation .message-link svg{width:14px;height:14px}
.composer-action-button{display:grid;width:46px;height:46px;place-items:center;border:1px solid #cfd6d9;border-radius:8px;background:#fff;color:#526067}.composer-action-button:hover{border-color:#aeb8bd;background:#f4f6f6;color:#172027}.composer-action-button svg{width:19px;height:19px}
.recipient-dialog{width:min(680px,calc(100vw - 32px));max-width:680px;max-height:min(760px,calc(100svh - 40px));padding:0;overflow:hidden;overscroll-behavior:contain;border:1px solid #d5dbde;border-radius:10px;background:#fff;box-shadow:0 24px 70px rgba(18,27,32,.2)}.recipient-dialog:focus{outline:0}.recipient-dialog::backdrop{background:rgba(20,27,31,.42);backdrop-filter:blur(2px)}
.recipient-dialog-card{display:flex;max-height:min(758px,calc(100svh - 42px));flex-direction:column;overflow:hidden}.recipient-dialog .dialog-head{flex:none;padding:22px 24px 18px;border-bottom:1px solid #e2e6e8}.recipient-dialog .dialog-head h2{font-size:21px}.recipient-dialog .dialog-head p{margin-top:5px;color:#707b81;font-size:14px}.recipient-dialog .dialog-head .eyebrow{display:block;margin-bottom:5px;color:#788389;font-size:14px;font-weight:500}
.recipient-dialog .recipient-type{flex:none;margin:18px 24px 0}.recipient-dialog .recipient-fields{min-height:0;margin:16px 24px 0;padding:16px 4px 4px 0;overflow-x:hidden;overflow-y:auto}.recipient-dialog .recipient-fields .form-grid.compact{grid-template-columns:minmax(0,1fr) 160px}.recipient-dialog .advanced-disclosure{margin-bottom:4px}.recipient-dialog .advanced-content{overflow:visible;padding-right:0}.recipient-dialog .key-value{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.recipient-dialog-actions{display:flex;flex:none;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:14px 24px;border-top:1px solid #e2e6e8;background:#f8f9f9}.recipient-dialog-actions>span{color:#778187;font-size:14px}.recipient-dialog-actions .button{flex:none}
.repeat-dialog{width:min(560px,calc(100vw - 32px));max-width:560px}.repeat-dialog-form{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden}.repeat-dialog-content{display:grid;min-height:0;gap:16px;padding:20px 24px 4px;overflow-y:auto}.repeat-message{padding:13px 14px;border:1px solid #dce2e4;border-radius:7px;background:#f7f9f9}.repeat-message>span{display:block;margin-bottom:5px;color:#758087;font-size:14px;font-weight:500}.repeat-message p{display:-webkit-box;overflow:hidden;color:#252d31;font-size:14px;line-height:1.55;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3}.repeat-options{border-top:1px solid #e3e7e9}.repeat-options>summary{display:flex;min-height:46px;align-items:center;gap:8px;color:#59656b;font-size:14px;font-weight:500}.repeat-options>summary>span{display:flex;align-items:center;gap:8px}.repeat-options>summary>svg:last-child{width:16px;height:16px;margin-left:auto;transition:transform .16s ease}.repeat-options[open]>summary>svg:last-child{transform:rotate(180deg)}.repeat-options>div{display:grid;gap:14px;padding:2px 0 6px}

@media(max-width:767px){
  body:has(>.chat-sidebar)>.app-page:has(.outgoing-conversation){min-height:calc(100svh - 60px)}
  .outgoing-chat-form,.outgoing-conversation{min-height:calc(100svh - 60px)}.outgoing-chat-header{min-height:68px;padding:10px 14px}.outgoing-chat-header h1{max-width:210px;font-size:16px}.outgoing-chat-header .conversation-actions{gap:4px}.outgoing-chat-stream{padding:18px 12px}.outgoing-composer{grid-template-columns:minmax(0,1fr) 44px 44px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.send-icon-button,.outgoing-composer .composer-action-button{width:44px;height:44px}.outgoing-input textarea{min-height:46px;padding:11px 12px}
  .recipient-dialog{width:calc(100vw - 20px);max-height:calc(100svh - 20px);border-radius:9px}.recipient-dialog-card{max-height:calc(100svh - 22px)}.recipient-dialog .dialog-head{padding:18px 17px 15px}.recipient-dialog .dialog-head h2{font-size:19px}.recipient-dialog .recipient-type{margin:14px 16px 0}.recipient-dialog .recipient-fields{margin:12px 16px 0;padding-top:12px}.recipient-dialog .recipient-fields .form-grid.compact{grid-template-columns:1fr}.recipient-dialog .key-value{grid-template-columns:minmax(0,1fr) 42px}.recipient-dialog .key-value [data-value]{grid-column:1}.recipient-dialog .key-value .icon-button{grid-column:2;grid-row:1/3}.recipient-dialog-actions{padding:12px 16px}.recipient-dialog-actions>span{display:none}.recipient-dialog-actions .button{width:100%}
  .channel-search{padding:12px 14px 14px}.channel-search .toolbar{grid-template-columns:minmax(0,1fr)}.channel-composer{grid-template-columns:minmax(0,1fr) 44px 44px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.channel-composer .send-icon-button,.channel-composer .composer-action-button{width:44px;height:44px}.channel-compose-input textarea{min-height:46px;padding:11px 12px}.composer-options{grid-template-columns:1fr}.repeat-dialog-content{gap:14px;padding:16px 16px 2px}
  .channel-chat .conversation-title p{display:none}
}

/* Chat-first authenticated workspace. Public landing pages intentionally keep
   their existing layout until the product workspace is finalized. */
body:has(>.chat-sidebar){--chat-sidebar:292px;background:#f5f6f7}
.chat-sidebar{background:#fff!important;border-color:#dfe3e6!important}
.app-sidebar-inner{display:flex;height:100%;min-height:0;flex-direction:column;padding:18px 14px 14px}
.sidebar-brand{display:flex;min-height:48px;align-items:center;gap:10px;padding:0 10px;color:#171b1f;font-size:16px;font-weight:500;text-decoration:none}
.sidebar-brand .brand-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#171b1f;color:#fff}.sidebar-brand .brand-mark svg{width:17px;height:17px}
.sidebar-new-chat{width:100%;min-height:44px;margin:14px 0 20px;justify-content:flex-start;border-radius:7px!important}
.sidebar-conversations{display:flex;min-height:0;flex:1;flex-direction:column}
.sidebar-section-title{display:flex;align-items:center;justify-content:space-between;padding:0 8px 8px}.sidebar-section-title h2{font-size:14px;font-weight:500;color:#737b82}.sidebar-section-title .icon-button{width:32px;height:32px;border:0;background:transparent;color:#667078}
#app-channel-list{display:grid;gap:3px;overflow-y:auto}.sidebar-conversation{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-height:56px;padding:8px 10px;border-radius:7px;color:#333b40;text-decoration:none}.sidebar-conversation:hover{background:#f1f3f4}.sidebar-conversation.current{background:#e9edef;color:#111719}.sidebar-conversation>span:last-child{display:grid;min-width:0;gap:2px}.sidebar-conversation strong,.sidebar-conversation small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-conversation strong{font-size:14px}.sidebar-conversation small{color:#7a8388;font-size:14px}.sidebar-conversation .channel-avatar{width:38px;height:38px}
.conversation-name{display:flex;min-width:0;align-items:center;gap:7px}.conversation-name strong{min-width:0}.unread-dot{display:block;width:8px;height:8px;flex:none;border-radius:50%;background:#e5484d;box-shadow:0 0 0 2px #fff}.sidebar-conversation.current .unread-dot{box-shadow:0 0 0 2px #e9edef}
.sidebar-loading,.sidebar-empty{padding:12px 10px;color:#80888d;font-size:14px;line-height:1.55}.sidebar-utilities{margin-top:12px;padding-top:10px;border-top:1px solid #e1e5e7}.sidebar-utilities .app-nav-link{min-height:42px!important;padding:9px 10px!important;border:0!important;border-radius:7px!important}.sidebar-utilities .app-nav-link.current{background:#edf0f1!important}
body:has(>.chat-sidebar)>.app-page:has(.conversation-panel){padding:0!important;background:#eef2f3}
body:has(>.chat-sidebar)>.app-page:has(.conversation-panel) #app-root{height:100%;max-width:none}
body:has(>.chat-sidebar) .conversation-panel{height:100%;min-height:100%;max-height:none}
body:has(>.chat-sidebar) .conversation-header{min-height:76px;padding-inline:24px}
body:has(>.chat-sidebar) .conversation-stream{padding:28px clamp(20px,4vw,52px) 36px}
body:has(>.chat-sidebar) .message-bubble{width:fit-content;max-width:min(680px,88%)}
body:has(>.chat-sidebar) .channel-status{padding-inline:24px}
body:has(>.chat-sidebar) .conversation-panel>.filter-panel>summary{padding-inline:24px}
body:has(>.chat-sidebar) .conversation-panel>.filter-content{padding-inline:24px}
body:has(>.chat-sidebar) .inbox-onboarding{margin:24px}

.new-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.new-chat-header .eyebrow{display:block;margin-bottom:7px;color:#69737a;font-size:14px;font-weight:500}.new-chat-header h1{font-size:27px;line-height:1.25}.new-chat-header p{margin-top:7px;color:#68727a;font-size:14px}.new-chat-header .icon-button{flex:none}
.new-chat-form{display:grid;max-width:860px;gap:18px}.recipient-picker,.chat-composer,.recurring-setup{padding:24px;border:1px solid #dce1e3;border-radius:8px;background:#fff}.recipient-picker-head,.chat-composer-head,.recurring-setup .timing-head>div{display:flex;align-items:flex-start;gap:12px}.recipient-picker h2,.chat-composer h2,.recurring-setup h2{font-size:17px}.recipient-picker-head p,.chat-composer-head p,.recurring-setup p{margin-top:3px;color:#727c82;font-size:14px}.step-number{display:grid;width:28px;height:28px;flex:none;place-items:center;border-radius:50%;background:#171b1f;color:#fff;font-size:14px;font-weight:500}
.recipient-type{width:100%;margin-top:20px}.recipient-type label{min-height:42px}.recipient-fields{margin-top:16px;padding-top:16px;border-top:1px solid #e5e8e9}.recipient-fields>.field{max-width:520px}.recipient-fields .advanced-disclosure{margin-top:0}
#recipient-dialog .recipient-type{width:auto;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;align-self:stretch}
#recipient-dialog .recipient-type label{min-width:0;padding:10px 12px;gap:8px;line-height:1.4}
#recipient-dialog .recipient-type svg{flex:none;width:20px;height:20px}
#recipient-dialog .recipient-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 24px 24px;scrollbar-width:thin}
#recipient-dialog .recipient-dialog-body>.recipient-type{width:100%;margin:0 0 20px}
#recipient-dialog .recipient-fields{border-top:0;padding:0;margin:0;overflow:visible}
#recipient-dialog .recipient-address-actions{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px}
#recipient-dialog .recipient-address-actions a{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:14px}
#recipient-dialog .recipient-address-actions svg{width:16px;height:16px;flex:none}
@media(max-width:767px){#recipient-dialog .recipient-dialog-body{padding:16px}}
#recipient-dialog .recipient-fields>.field{max-width:none;width:100%}
#recipient-dialog .recipient-fields .advanced-disclosure{margin-top:20px}
#recipient-dialog .advanced-disclosure{border:1px solid var(--line);border-radius:8px;min-width:0}
#recipient-dialog .advanced-disclosure>summary{padding-inline:14px}
#recipient-dialog .advanced-content{padding:18px 16px;min-width:0}
#recipient-dialog .advanced-content>.field-group{min-width:0}
#recipient-dialog .advanced-content>.field-group+.field-group{margin-top:20px}
#recipient-dialog .key-value>*{min-width:0}
#recipient-dialog .recipient-dialog-actions{justify-content:flex-end;margin-top:14px;padding-block:16px}
#recipient-dialog #topic-key-field:not([hidden]){margin-top:18px}
.message-compose-box{margin:18px 0 0 40px;overflow:hidden;border:1px solid #cfd5d8;border-radius:8px;background:#fff}.message-compose-box>.field{gap:0}.message-compose-box>.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.message-compose-box textarea{min-height:150px;padding:18px;border:0!important;border-radius:0;box-shadow:none!important;resize:vertical}.message-link-option{border-top:1px solid #e3e7e9}.message-link-option summary{display:flex;min-height:42px;align-items:center;gap:8px;padding:9px 14px;color:#5e6970;font-size:14px;font-weight:500}.message-link-option summary svg{width:15px;height:15px}.message-link-option summary svg:last-child{margin-left:auto}.message-link-option .field{padding:0 14px 14px}.message-compose-actions{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px 10px 16px;border-top:1px solid #e3e7e9;background:#f8f9f9}.message-compose-actions>span{color:#778187;font-size:14px}.message-compose-actions .button{min-height:40px}
.recurring-setup .timing-fields{margin:18px 0 0 40px}.settings-row-link{color:inherit;text-decoration:none}.settings-row-link:hover{background:#f7f8f8;text-decoration:none}.settings-row-link>svg{width:18px;height:18px;color:#7d868b}.settings-section-head>.button{flex:none}

@media(min-width:768px){
  body:has(>.chat-sidebar){display:grid;grid-template-columns:var(--chat-sidebar) minmax(0,1fr);grid-template-rows:100svh;overflow:hidden}
  body:has(>.chat-sidebar)>.app-mobile-header{display:none}
  body:has(>.chat-sidebar)>.chat-sidebar{position:relative;grid-column:1;grid-row:1;height:100svh;border-right:1px solid #dfe3e6}
  body:has(>.chat-sidebar)>.chat-sidebar>.app-sidebar-inner{position:static;height:100%;padding:18px 14px 14px}
  body:has(>.chat-sidebar)>.app-page{grid-column:2;grid-row:1;min-height:0;height:100svh;overflow-y:auto;padding:48px clamp(28px,4vw,64px)}
}
@media(max-width:767px){
  body:has(>.chat-sidebar)>.app-mobile-header{position:sticky;top:0;z-index:50;height:58px;border-bottom:1px solid #dfe3e6;background:#fff}
  body:has(>.chat-sidebar)>.app-mobile-header .header-inner{height:58px;padding-inline:16px}.app-mobile-header .brand{font-size:15px}.app-mobile-header .header-actions{display:flex;gap:6px}.app-mobile-header .header-actions .icon-button{display:grid;width:38px;height:38px}
  body:has(>.chat-sidebar)>.chat-sidebar{display:none}
  body[data-route="/app"]:has(>.chat-sidebar)>.chat-sidebar{position:sticky;top:58px;z-index:40;display:block;height:66px;padding:0;border:0;border-bottom:1px solid #dfe3e6;background:#fff!important}
  body[data-route="/app"] .chat-sidebar .sidebar-brand,body[data-route="/app"] .chat-sidebar .sidebar-new-chat,body[data-route="/app"] .chat-sidebar .sidebar-section-title,body[data-route="/app"] .chat-sidebar .sidebar-utilities{display:none}
  body[data-route="/app"] .chat-sidebar .app-sidebar-inner{height:66px;padding:8px 12px}.chat-sidebar .sidebar-conversations{display:block}.chat-sidebar #app-channel-list{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden}.chat-sidebar .sidebar-conversation{display:flex;min-width:max-content;min-height:48px;padding:6px 11px}.chat-sidebar .sidebar-conversation>span:last-child{display:block}.chat-sidebar .sidebar-conversation small{display:none}.chat-sidebar .sidebar-conversation .channel-avatar{width:32px;height:32px}.chat-sidebar .sidebar-empty{white-space:nowrap}
  body:has(>.chat-sidebar)>.app-page{min-height:calc(100svh - 60px);padding:24px 16px calc(32px + env(safe-area-inset-bottom))}
  body[data-route="/app"]:has(>.chat-sidebar)>.app-page{min-height:calc(100svh - 126px)}
  body:has(>.chat-sidebar)>.app-page:has(.conversation-panel){min-height:calc(100svh - 126px)}body:has(>.chat-sidebar) .conversation-panel{height:auto;min-height:calc(100svh - 126px)}
  body:has(>.chat-sidebar) .conversation-header{min-height:68px;padding-inline:15px}.conversation-title p{max-width:210px}.conversation-stream{padding:18px 12px 24px}.receive-only{display:none}
  .new-chat-header{margin-bottom:18px}.new-chat-header h1{font-size:23px}.new-chat-form{gap:12px}.recipient-picker,.chat-composer,.recurring-setup{padding:18px 16px}.message-compose-box,.recurring-setup .timing-fields{margin-left:0}.recipient-type{display:grid;grid-template-columns:1fr 1fr}.message-compose-actions{align-items:flex-end}.message-compose-actions>span{max-width:150px}.settings-section-head{align-items:flex-start}.settings-section-head>.button{padding-inline:12px}
}

.composer-toolbar{grid-column:1/-1;display:flex;align-items:center;min-width:0}
.reservation-trigger{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#4e5960;font-size:14px;font-weight:500}
.reservation-trigger:hover{background:#eef1f3}.reservation-trigger svg{width:18px;height:18px;flex:none}
.channel-composer,.outgoing-composer{grid-template-columns:minmax(0,1fr) 120px;gap:10px 12px}
body:has(>.chat-sidebar) .send-icon-button{display:flex;align-items:center;justify-content:center;gap:8px;width:120px;height:54px;line-height:1.4;font-size:14px;font-weight:500}
.external-conversation .message-bubble .status,.run-detail>.status{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;min-height:0}
.back-to-conversation{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:20px;color:#53616a;text-decoration:none;font-size:14px}.back-to-conversation svg{width:18px;height:18px}.back-to-conversation:hover{color:#111}
.sidebar-toggle{display:grid;place-items:center;width:44px;height:44px;margin-left:auto;padding:0;border:0;border-radius:6px;background:transparent;color:#59656d;flex:none}.sidebar-toggle:hover{background:#eef1f3}.sidebar-toggle svg{width:20px;height:20px}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;flex:none;min-width:0}.sidebar-head .sidebar-brand{padding-left:10px;padding-right:0}
@media(min-width:768px){
  body.sidebar-collapsed:has(>.chat-sidebar){--chat-sidebar:76px}
  .sidebar-collapsed .app-sidebar-inner{padding-inline:10px!important}
  .sidebar-collapsed .sidebar-toggle{margin-inline:auto}
  .sidebar-collapsed .sidebar-brand{display:none}
  .sidebar-collapsed .sidebar-new-chat,.sidebar-collapsed .sidebar-utilities .app-nav-link{font-size:0!important;justify-content:center;padding:10px!important;gap:0}
  .sidebar-collapsed .sidebar-section-title h2{display:none}
  .sidebar-collapsed .sidebar-section-title{justify-content:center;padding:0 0 8px}
  .sidebar-collapsed .sidebar-conversation{position:relative;display:flex;justify-content:center;padding:8px}
  .sidebar-collapsed .sidebar-conversation .conversation-copy{position:absolute;inset:0;pointer-events:none}
  .sidebar-collapsed .conversation-copy strong,.sidebar-collapsed .conversation-copy small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .sidebar-collapsed .unread-dot{position:absolute;top:6px;right:4px}
}
@media(max-width:767px){
  .sidebar-head,.sidebar-toggle{display:none}
  .channel-composer,.outgoing-composer{grid-template-columns:minmax(0,1fr) 96px;gap:8px}
  body:has(>.chat-sidebar) .send-icon-button{width:96px;height:48px;font-size:14px}
  .reservation-trigger{font-size:14px}
}
.date-time-entry{position:relative;min-width:0}
.date-time-entry>[data-date-text]{width:100%;padding-right:52px;font-variant-numeric:tabular-nums}
.date-picker-button{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:inherit}
.date-picker-button svg{display:block;width:18px;height:18px}
.date-time-entry>.native-date-picker{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.date-time-control>label{font-size:14px;font-weight:500}
/* Icon rhythm: navigation, toolbars and message actions share one optical grid. */
body:has(>.chat-sidebar) .icon-button,
body:has(>.chat-sidebar) .send-icon-button,
body:has(>.chat-sidebar) .composer-action-button,
body:has(>.chat-sidebar) .channel-avatar,
body:has(>.chat-sidebar) .message-avatar,
body:has(>.chat-sidebar) .settings-row-icon,
body:has(>.chat-sidebar) .empty-icon{line-height:0}
body:has(>.chat-sidebar) .icon-button svg,
body:has(>.chat-sidebar) .send-icon-button svg,
body:has(>.chat-sidebar) .composer-action-button svg,
body:has(>.chat-sidebar) .channel-avatar svg,
body:has(>.chat-sidebar) .message-avatar svg,
body:has(>.chat-sidebar) .settings-row-icon svg,
body:has(>.chat-sidebar) .empty-icon svg{display:block}
.conversation-title{flex:1}.conversation-actions{flex:none;gap:4px}
.conversation-actions .icon-button,.outgoing-chat-header .conversation-actions .icon-button{width:40px;height:40px;border-color:transparent;background:transparent;color:#58656b}
.conversation-actions .icon-button:hover,.outgoing-chat-header .conversation-actions .icon-button:hover{border-color:transparent;background:#eef1f2;color:#172027}
.conversation-actions .icon-button svg,.outgoing-chat-header .conversation-actions .icon-button svg{width:19px;height:19px}
.channel-avatar.large{width:42px;height:42px}
.sidebar-new-chat svg{width:18px;height:18px}
.sidebar-section-title{min-height:36px;padding:0 5px 6px 8px}.sidebar-section-title .icon-button{width:36px;height:36px}.sidebar-section-title .icon-button svg{width:18px;height:18px}
.sidebar-utilities .app-nav-link{display:flex;align-items:center;gap:10px}.sidebar-utilities .app-nav-link svg{width:18px;height:18px}
.empty-icon{display:grid;width:46px;height:46px;margin-bottom:14px;place-items:center;border:1px solid #d8dfe1;border-radius:10px;background:#fff;color:#7b878c;box-shadow:0 2px 10px rgba(24,39,45,.04)}
.empty-icon svg{width:21px!important;height:21px!important;background:transparent!important;box-shadow:none!important}
.conversation-stream .empty>svg{background:transparent;box-shadow:none}
.send-icon-button,.composer-action-button{padding:0;grid-template-columns:1fr;grid-template-rows:1fr;place-items:center}
.send-icon-button svg,.composer-action-button svg{margin:0;transform:none;flex:none}
.settings-row-link>svg:last-child{margin-right:2px}
.recipient-dialog .dialog-head>.icon-button,.settings-dialog .dialog-head>.icon-button{flex:none;border-color:transparent;background:transparent;color:#657178}
.recipient-dialog .dialog-head>.icon-button:hover,.settings-dialog .dialog-head>.icon-button:hover{border-color:transparent;background:#f0f2f3;color:#171b1f}

/* Conversation composer: every channel uses the same two-row rhythm. */
.channel-composer,.outgoing-composer{grid-template-columns:minmax(0,1fr) 132px;align-items:stretch;gap:10px 12px}
.channel-composer>.composer-toolbar,.outgoing-composer>.composer-toolbar,.channel-composer>.form-feedback,.outgoing-composer>.form-feedback{grid-column:1/-1}
.channel-composer>.channel-compose-input,.outgoing-composer>.outgoing-input{grid-column:1;min-width:0}
.channel-composer>.send-icon-button,.outgoing-composer>.send-icon-button{grid-column:2;width:132px;height:auto;min-height:54px;align-self:stretch}
.composer-toolbar{min-height:36px}
.reservation-trigger{min-height:36px;padding:6px 8px}
.composer-options{grid-template-columns:minmax(0,1fr)}

/* Address management and delivery settings. */
.channel-composer,.outgoing-composer{position:relative;display:flex;flex-direction:column;gap:8px}
.composer-toolbar{gap:8px;flex-wrap:wrap}
.composer-toolbar .reservation-trigger{min-height:44px}
.composer-link-panel{padding:4px 14px 8px;min-width:0}
.composer-link-panel .field{gap:6px}
.composer-link-panel input{min-height:44px}
.composer-bottom-actions{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border:0;background:#fff}
.composer-more{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:#536169}
.composer-more:hover,.composer-more[aria-expanded="true"]{background:#eef1f2;color:#172027}
.composer-more svg{display:block;width:20px;height:20px}
.composer-toolbar.composer-options-menu{position:absolute;bottom:76px;left:clamp(18px,4vw,48px);z-index:10;display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:210px;padding:6px;border:1px solid #dce1e3;border-radius:8px;background:#fff;box-shadow:0 6px 24px #1720271a}
.composer-toolbar.composer-options-menu[hidden]{display:none}
.composer-options-menu .reservation-trigger{justify-content:flex-start;padding-inline:10px}
body:has(>.chat-sidebar) .composer-bottom-actions .send-icon-button{width:auto;min-width:120px;height:44px;min-height:44px;padding:0 16px;line-height:1.4}
.reservation-message-editor{min-height:112px;max-height:240px;resize:vertical}
.delivery-dialog-content{display:grid;gap:18px;padding:24px;overflow:auto;overscroll-behavior:contain;min-height:0}
.sidebar-topic-row{position:relative;min-width:0}
.sidebar-topic-row .sidebar-conversation{padding-right:44px}
.sidebar-topic-edit{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:32px;height:32px;min-height:32px;opacity:0;pointer-events:none}
.sidebar-topic-row:hover .sidebar-topic-edit,.sidebar-topic-row:focus-within .sidebar-topic-edit{opacity:1;pointer-events:auto}
.topic-edit-passwords{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.topic-edit-passwords>.field-hint{grid-column:1/-1}
.topic-edit-delete{display:grid;gap:12px;margin-top:12px;padding-top:16px;border-top:1px solid var(--line)}
.topic-edit-actions{display:flex;justify-content:flex-end}
.topic-edit-delete .compact-chat-action{justify-self:end}
.compact-chat-action{width:36px;height:36px;min-width:36px;min-height:36px;padding:8px;border:0;background:transparent;box-shadow:none}
.compact-chat-action svg{width:18px;height:18px}
.compact-chat-action.danger{color:#c92d25}
.compact-chat-action:hover{background:#eef0f1}
.compact-chat-action.danger:hover{background:#fff0ee}
@media(pointer:coarse){.compact-chat-action{width:44px;height:44px;min-width:44px;min-height:44px;padding:12px}}
.topic-edit-delete p,.chat-reservation p{margin:0;color:var(--muted);font-size:14px}
.chat-reservation-list{display:grid;gap:0}
.chat-reservation{display:grid;gap:12px;padding:18px 0;border-bottom:1px solid var(--line);min-width:0}
.chat-reservation:first-child{padding-top:0}.chat-reservation:last-child{border-bottom:0}
.reservation-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.chat-reservation details{min-width:0}.chat-reservation summary{cursor:pointer;font-size:14px}
.delivery-dialog .chat-reservation>.button-row{display:flex;justify-content:flex-end;gap:4px}
@media(hover:none){.sidebar-topic-edit{opacity:1;pointer-events:auto}}
@media(max-width:767px){.sidebar-topic-row{flex:none}.sidebar-topic-row .sidebar-conversation{padding-right:48px}.sidebar-topic-edit{width:44px;height:44px;min-height:44px;right:0;opacity:1;pointer-events:auto}}
@media(min-width:768px){.sidebar-collapsed .sidebar-topic-row .sidebar-conversation{padding-right:8px}.sidebar-collapsed .sidebar-topic-edit{right:0;width:24px;height:24px;min-height:24px;top:8px;transform:none;background:#fff}.sidebar-collapsed .sidebar-topic-edit svg{width:14px;height:14px}}
.recipient-dialog.topic-connect-dialog{width:min(440px,calc(100vw - 24px));max-width:440px}
.topic-connect-dialog .connected-topic-name{font-size:18px;font-weight:500;overflow-wrap:anywhere}
.topic-connect-dialog .button-row{justify-content:flex-end;gap:10px}
@media(max-width:767px) and (max-height:600px){
  body:has(>.chat-sidebar) .conversation-panel .conversation-stream{padding-block:8px}
  .conversation-panel>.channel-search{padding-block:8px}
  .channel-compose-input textarea,.outgoing-input textarea{height:48px;min-height:48px}
}
.delivery-popup-summary{display:grid;gap:6px}
.delivery-popup-summary strong{font-size:16px}
.delivery-popup-summary p,.external-delivery-note{font-size:14px;color:#68757c;line-height:1.6}
.delivery-security{display:grid;justify-items:start;gap:10px;padding-top:4px;min-width:0}
.delivery-security strong{font-size:14px}
.delivery-security p{margin:0;color:#68757c;font-size:14px;line-height:1.6}
.delivery-dialog .integration-example{padding:16px;min-width:0;border-radius:6px}
.delivery-dialog .integration-example-head{align-items:center}
.delivery-dialog .integration-example pre{white-space:pre-wrap;overflow-wrap:anywhere}
.delivery-dialog .integration-example p{margin-top:12px}
.delivery-dialog .button-row{margin:0;gap:10px}
.delivery-dialog form.stack{gap:16px}
.private-create-fields{display:grid;gap:14px}
.private-create-fields[hidden]{display:none}
.external-delivery-note{margin-bottom:12px}
.request-settings-content>[data-create-receive-topic]{margin-bottom:18px}
@media(max-width:767px){.delivery-dialog-content{padding:18px 16px}.delivery-dialog .integration-example-head{display:flex;flex-wrap:wrap}.delivery-dialog .button-row{display:grid;grid-template-columns:1fr 1fr}}

.address-list .topic-row.address-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;min-height:84px;padding:14px 20px}
.address-row .row-main{min-width:0}
.address-row-title{display:flex;align-items:center;gap:12px;min-width:0}
.address-row-title>span:last-child{min-width:0}
.address-row-title h2{margin:0;font-size:15px}
.address-row-title p{overflow:hidden;margin-top:4px;color:#718087;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.address-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border:1px solid #d8dee1;border-radius:999px;background:#f7f9f9;color:#536169;font-size:14px;font-weight:500;white-space:nowrap}
.address-row .row-actions{display:flex;align-items:center}
.address-row .row-actions .button{min-height:40px}
.address-connect-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:20px}
.address-connect-form .button{min-height:50px}
.address-settings-page{width:min(1120px,100%);max-width:none}
.delivery-settings{padding:0!important;overflow:hidden}
.delivery-settings>.settings-section-head{padding:24px;border-bottom:1px solid #e1e5e7}
.delivery-setting-row{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:24px;align-items:center;padding:20px 24px;border-bottom:1px solid #e6e9ea}
.delivery-setting-row strong,.integration-example strong{font-size:14px}
.delivery-setting-row p,.integration-example p{margin-top:5px;color:#68757c;font-size:14px;line-height:1.55}
.copy-control{display:flex;gap:8px;min-width:0}
.copy-control input{min-width:0;min-height:46px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}
.copy-control .button{min-height:46px;flex:none}
.integration-example{padding:22px 24px 24px;background:#f8f9f9}
.integration-example-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
.integration-example pre{max-width:100%;margin:0;padding:16px 18px;overflow:auto;border:1px solid #d7dddf;border-radius:7px;background:#172027;color:#f6f8f8;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre}
.integration-example .field-hint{margin-top:12px}
.request-settings-content{padding:20px 24px;overflow:auto}
.request-settings-dialog .request-summary{margin:0}

@media(max-width:767px){
  body:has(>.chat-sidebar)>.app-mobile-header{height:60px}
  body:has(>.chat-sidebar)>.app-mobile-header .header-inner{height:60px;padding-inline:12px}
  .app-mobile-header .header-actions{gap:2px!important}.app-mobile-header .header-actions .icon-button{width:44px!important;height:44px!important;border-color:transparent;background:transparent}.app-mobile-header .header-actions .icon-button:hover{border-color:transparent;background:#f0f2f3}
  .app-mobile-header .header-actions .icon-button svg{width:19px;height:19px}
  body[data-route="/app"]:has(>.chat-sidebar)>.chat-sidebar{top:60px}
  .conversation-header{padding-inline:12px!important}.conversation-title{gap:9px}.conversation-actions{gap:0}.conversation-actions .icon-button,.outgoing-chat-header .conversation-actions .icon-button{width:44px!important;height:44px!important}
  .channel-avatar.large{width:40px;height:40px}
  .empty-icon{width:44px;height:44px}
  .channel-composer,.outgoing-composer{grid-template-columns:minmax(0,1fr) 104px}
  body[data-route="/app"]:has(>.chat-sidebar)>.app-page:has(.conversation-panel){height:calc(100dvh - 126px);min-height:0;overflow:hidden}
  body[data-route="/app"]:has(>.chat-sidebar) .conversation-panel{height:100%;min-height:0}
  body:has(>.chat-sidebar) .conversation-panel .conversation-stream{min-height:0;flex:1}
  .conversation-panel>.conversation-header,.conversation-panel>.channel-composer{flex:none}
  .conversation-panel>.channel-search{flex:0 1 auto;min-height:0;max-height:45dvh;overflow-y:auto}
  body:has(>.chat-sidebar)>.app-page:has(.outgoing-conversation){height:calc(100dvh - 60px);min-height:0}
  .outgoing-chat-form,.outgoing-conversation{height:100%;min-height:0}
  .outgoing-chat-header,.outgoing-composer{flex:none}
  .channel-composer>.send-icon-button,.outgoing-composer>.send-icon-button{width:104px;min-height:48px}
  .address-list .topic-row.address-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px 14px}
  .address-row .address-badge{grid-column:2;grid-row:1}
  .address-row .row-actions{grid-column:1/-1}
  .address-row .row-actions .button{width:100%;justify-content:center}
  .address-connect-form{grid-template-columns:1fr;padding:16px}
  .delivery-settings>.settings-section-head{padding:20px 16px}
  .delivery-setting-row{grid-template-columns:1fr;gap:12px;padding:18px 16px}
  .copy-control{display:grid;grid-template-columns:minmax(0,1fr) auto auto}
  .copy-control .button{padding-inline:12px}
  .integration-example{padding:18px 16px 20px}
  .integration-example-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .integration-example pre{padding:14px;font-size:14px}
}

.copyright-footer .footer-policy-links{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;margin:0 0 16px;font-size:14px;line-height:1.7}
.copyright-footer .footer-policy-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--rd-dark-muted);text-decoration:underline;text-underline-offset:3px}
.copyright-footer .footer-policy-links a:focus-visible{outline-color:#fff}

/* Mobile uses the same sidebar controls in a drawer, leaving the conversation full height. */
#mobile-chat-menu{display:none}
.mobile-chat-drawer{position:fixed;inset:0 auto auto 0;margin:0;width:min(360px,92vw);max-width:92vw;height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh);padding:0;border:0;border-radius:0 12px 12px 0;background:#fff;overflow:hidden}
.mobile-chat-drawer::backdrop{background:#121a2066}
.mobile-chat-drawer[open]{display:flex;flex-direction:column}
.mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;flex:none;padding:calc(8px + env(safe-area-inset-top)) 12px 8px 20px;border-bottom:1px solid var(--line)}
.mobile-drawer-head h2{font-size:18px;font-weight:500}.mobile-drawer-head .icon-button{width:44px;height:44px}
.mobile-chat-drawer .app-sidebar-inner{height:auto;min-height:0;flex:1;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}
.mobile-chat-drawer .sidebar-head{display:none!important}
.mobile-chat-drawer .sidebar-new-chat{display:flex!important;margin:0 0 20px}
.mobile-chat-drawer .sidebar-section-title{display:flex!important;padding:0 8px 8px}
.mobile-chat-drawer .sidebar-section-title .icon-button{width:44px;height:44px}
.mobile-chat-drawer .sidebar-conversations{display:flex;min-height:0;flex:1}
.mobile-chat-drawer #app-channel-list{display:grid;gap:4px;overflow:auto;overscroll-behavior:contain}
.mobile-chat-drawer .sidebar-topic-row{width:100%}
.mobile-chat-drawer .sidebar-conversation{display:flex;min-width:0;min-height:56px;width:100%;gap:10px;padding:8px 48px 8px 10px}
.mobile-chat-drawer .sidebar-conversation .conversation-copy{min-width:0;display:grid;gap:3px}
.mobile-chat-drawer .sidebar-conversation small{display:block}
.mobile-chat-drawer .sidebar-conversation strong{display:block;overflow-wrap:anywhere;white-space:normal}
.mobile-chat-drawer .sidebar-empty{white-space:normal}
.mobile-chat-drawer .sidebar-utilities{display:block!important;flex:none}
.mobile-chat-drawer .sidebar-utilities .app-nav-link{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;text-align:left}
.mobile-chat-drawer .sidebar-utilities .app-nav-link svg{width:18px;height:18px;margin:0}
@media(max-width:767px){
  html:has(body>.chat-sidebar){height:100%;overflow:hidden}
  body:has(>.chat-sidebar){--mobile-dialog-height:calc(var(--app-viewport-height,100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);position:fixed;top:var(--app-viewport-top,0px);left:0;width:100%;height:var(--app-viewport-height,100dvh);min-height:0;display:flex;flex-direction:column;overflow:hidden}
  #mobile-chat-menu{display:grid;flex:none;width:44px;height:44px}
  body:has(>.chat-sidebar)>.app-mobile-header{position:relative;top:auto;flex:none;height:auto!important;padding-top:env(safe-area-inset-top)}
  body:has(>.chat-sidebar)>.app-mobile-header .header-inner{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;width:100%;max-width:none;height:56px!important;padding-inline:8px;gap:4px}
  .app-mobile-header .brand{min-width:0;justify-self:center;gap:8px;font-size:16px}
  .app-mobile-header .header-inner>.brand{grid-column:2;grid-row:1}
  .app-mobile-header .header-inner>.header-actions{grid-column:3;grid-row:1}
  #mobile-chat-menu{grid-column:1;grid-row:1}
  body:has(>.chat-sidebar)>.chat-sidebar{display:none!important}
  body:has(>.chat-sidebar)>.app-page{width:100%;max-width:none;margin:0;height:auto!important;min-height:0!important;flex:1;overflow-y:auto;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}
  body:has(>.chat-sidebar)>.app-page:has(.conversation-panel),body:has(>.chat-sidebar)>.app-page:has(.outgoing-conversation){height:auto!important;min-height:0!important;overflow:hidden;padding:0!important}
  body:has(>.chat-sidebar) .conversation-panel{display:flex;flex-direction:column;height:100%!important;min-height:0!important;overflow:hidden}
  body:has(>.chat-sidebar) .conversation-header,.outgoing-chat-header{min-height:64px;flex:none;padding:10px 12px}
  body:has(>.chat-sidebar) .conversation-stream,.outgoing-chat-stream{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 12px!important}
  .channel-composer,.outgoing-composer{flex:none;gap:0;padding:8px 10px max(10px,env(safe-area-inset-bottom))}
  .channel-compose-input textarea,.outgoing-input textarea{height:56px;min-height:48px;max-height:128px;overflow-y:auto;font-size:16px!important;line-height:1.5;padding:12px}
  .composer-bottom-actions{padding:4px 6px}
  body:has(>.chat-sidebar) .composer-bottom-actions .send-icon-button{min-width:104px}
  .composer-toolbar.composer-options-menu{left:10px;bottom:calc(68px + env(safe-area-inset-bottom));max-width:calc(100% - 20px);max-height:min(320px,calc(var(--app-viewport-height,100dvh) - 100px));overflow-y:auto}
  body:has(>.chat-sidebar) dialog:not(.mobile-chat-drawer){position:fixed;inset:var(--app-viewport-top,0px) 0 auto;margin:calc(12px + env(safe-area-inset-top)) auto 12px;max-height:var(--mobile-dialog-height);max-width:calc(100vw - 24px)}
  body:has(>.chat-sidebar) .recipient-dialog-card,body:has(>.chat-sidebar) .settings-dialog .dialog-card{max-height:var(--mobile-dialog-height)}
  body:has(>.chat-sidebar) .settings-dialog .dialog-card{overflow-y:auto;overscroll-behavior:contain}
  body:has(>.chat-sidebar) .app-page input,body:has(>.chat-sidebar) .app-page select,body:has(>.chat-sidebar) dialog input,body:has(>.chat-sidebar) dialog select{font-size:16px!important}
  .mobile-keyboard-open>.app-mobile-header{display:none!important}
  body.mobile-keyboard-open:has(>.chat-sidebar) .conversation-header{min-height:52px;padding-block:6px}
  .mobile-keyboard-open .channel-composer,.mobile-keyboard-open .outgoing-composer{padding-bottom:6px}
  .mobile-keyboard-open .composer-toolbar.composer-options-menu{bottom:66px}
  .mobile-keyboard-open .channel-compose-input textarea,.mobile-keyboard-open .outgoing-input textarea{max-height:96px}
}
@media(max-width:767px),(hover:none){
  .chat-message .message-delete,.chat-message:hover .message-delete,.chat-message:focus-within .message-delete{visibility:hidden;opacity:0;pointer-events:none;width:44px;height:44px;right:-48px;bottom:0}
  .chat-message.own-message .message-delete{left:-48px}
  .chat-message .message-bubble:has(.message-delete){max-width:min(680px,calc(100% - 48px))}
  .message-delete::before{display:none}
  .chat-message.message-selected .message-delete{visibility:visible;opacity:1;pointer-events:auto}
  .chat-message.message-selected .message-bubble{box-shadow:0 0 0 2px #087e8b}
}
.new-chat-dialog .recipient-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0}
.new-chat-dialog .recipient-type label{min-width:0;justify-content:center;padding:10px 6px;white-space:normal}
.new-chat-dialog .recipient-address-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;margin-top:8px}
.new-chat-dialog .recipient-address-actions a{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.new-chat-dialog .recipient-address-actions svg{width:16px;height:16px;flex:none}
.new-chat-dialog .dialog-actions{margin-top:8px}
#workspace-loading{display:none}
html[data-workspace-boot] body>.site-header,html[data-workspace-boot] body>.chat-sidebar,html[data-workspace-boot] body>.app-page,html[data-workspace-boot] body dialog,html[data-workspace-boot] #device-guidance{visibility:hidden!important}
html[data-workspace-boot] #workspace-loading{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:24px;background:#f5f6f7;color:#536169;text-align:center}
#workspace-loading [role="status"]{display:grid;justify-items:center;gap:16px}#workspace-loading p{font-size:14px;line-height:1.6;margin:0}
.workspace-loading-mark{width:28px;height:28px;border:2px solid #d9e1e4;border-top-color:#536169;border-radius:50%;animation:workspace-loading-spin .8s linear infinite}
.workspace-loading-recovery{display:none}html[data-workspace-boot="stalled"] .workspace-loading-recovery{display:grid;justify-items:center;gap:14px}html[data-workspace-boot="stalled"] #workspace-loading [role="status"] p{display:none}
@keyframes workspace-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.workspace-loading-mark{animation:none}}
.device-guidance{position:fixed;z-index:80;display:grid;grid-template-columns:40px minmax(0,1fr) 32px;align-items:start;gap:12px;width:min(420px,calc(100vw - 24px));padding:16px 12px 16px 16px;border:1px solid #d9e1e4;border-radius:12px;background:#fff;color:#142027;box-shadow:0 8px 30px #14202726}
.device-guidance[data-position="bottom-center"]{bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%)}
.device-guidance[data-position="bottom-right"]{bottom:calc(18px + env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right))}
.device-guidance[data-position="top-right"]{top:calc(18px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}
.device-guidance::after{content:"";position:absolute;width:14px;height:14px;background:#fff;transform:rotate(45deg)}
.device-guidance[data-position="bottom-center"]::after{bottom:-8px;left:calc(50% - 7px);border-right:1px solid #d9e1e4;border-bottom:1px solid #d9e1e4}
.device-guidance[data-position="bottom-right"]::after{bottom:-8px;right:20px;border-right:1px solid #d9e1e4;border-bottom:1px solid #d9e1e4}
.device-guidance[data-position="top-right"]::after{top:-8px;right:20px;border-left:1px solid #d9e1e4;border-top:1px solid #d9e1e4}
.device-guidance img{border-radius:9px;margin-top:3px}.device-guidance-copy{min-width:0}.device-guidance h2{font-size:15px;font-weight:500;line-height:1.5;margin:0}.device-guidance p{font-size:14px;line-height:1.65;margin:6px 0 0;overflow-wrap:anywhere}.device-guidance .device-guidance-steps{color:#536169}
.device-guidance-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:-8px -6px 0 -6px;padding:0;border:0;background:transparent;color:#667078;touch-action:manipulation}.device-guidance-close:hover{color:#142027}.device-guidance-actions:has(a),.device-guidance-actions:has(button:not([hidden])){display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:10px}.device-guidance-actions .text-link{border:0;padding:0;min-height:44px;text-decoration:underline;text-underline-offset:3px}.device-guidance :focus-visible{outline:2px solid #087e8b;outline-offset:2px}

/* Keep touch targets, but give mobile tools the same light icon treatment. */
.mobile-chat-drawer:focus{outline:0}
.site-header a,.site-header button,.mobile-chat-drawer{-webkit-tap-highlight-color:transparent}
.site-header .icon-button:focus-visible,body:has(>.chat-sidebar) .mobile-chat-drawer .icon-button:focus-visible{outline:0;background:#e3f3f3;color:#075d67}
body.public-site .mobile-menu .nav-link:focus-visible{outline:0;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
@media(hover:none){body.public-site>.site-header .menu-toggle:hover:not(:focus-visible){background:transparent}}
@media(max-width:767px){
  body.public-site>.site-header .header-actions{gap:4px}
  body.public-site>.site-header .header-actions .header-app-link{display:inline-flex;min-height:44px;padding:8px 10px;white-space:nowrap}
  body.public-site>.site-header .menu-toggle{width:44px;height:44px;min-width:44px;padding:0;border:0;box-shadow:none;background:transparent}
  body.public-site>.site-header .menu-toggle svg{width:18px;height:18px}
  body:has(>.chat-sidebar) .icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px!important;height:44px!important;min-width:44px;min-height:44px;padding:0;border:0;box-shadow:none;background:transparent;touch-action:manipulation}
  body:has(>.chat-sidebar) .icon-button svg{width:18px!important;height:18px!important;flex:none;margin:0}
  body:has(>.chat-sidebar) .icon-button:hover{background:#eef1f2}
  body:has(>.chat-sidebar) .icon-button:focus-visible{outline:2px solid #087e8b;outline-offset:2px}
  .app-mobile-header .icon-button{color:#58656b}
  .mobile-drawer-head{padding-inline:16px 8px}
  .mobile-chat-drawer .sidebar-conversation{min-height:56px;padding-block:8px}
  .mobile-chat-drawer .sidebar-section-title{padding:0 0 4px 10px}
  .mobile-chat-drawer .sidebar-new-chat{margin-bottom:12px}
  .mobile-chat-drawer .sidebar-utilities .app-nav-link{min-height:44px!important}
  body:has(>.chat-sidebar) .recipient-dialog .dialog-head{padding:10px 12px 10px 16px;min-height:64px;gap:8px}
  body:has(>.chat-sidebar) .recipient-dialog .dialog-head h2{font-size:18px;line-height:1.5}
  body:has(>.chat-sidebar) .settings-dialog .dialog-head{gap:8px}
  body:has(>.chat-sidebar) .settings-dialog .dialog-head h2{font-size:18px;line-height:1.5}
  body:has(>.chat-sidebar) .key-value{grid-template-columns:minmax(0,1fr) 44px;align-items:start}
  body:has(>.chat-sidebar) .key-value [data-value]{grid-column:1;grid-row:2}
  body:has(>.chat-sidebar) .key-value .icon-button{grid-column:2;grid-row:1;align-self:center}
  body:has(>.chat-sidebar) .integration-example-head{display:flex;align-items:flex-start;flex-direction:column;gap:12px}
  body:has(>.chat-sidebar) .integration-example-head>div{min-width:0;width:100%}
  body:has(>.chat-sidebar) .integration-example-head>.button{align-self:flex-start;max-width:100%}
  body:has(>.chat-sidebar) .settings-row{grid-template-columns:28px minmax(0,1fr);column-gap:10px;row-gap:8px;align-items:start}
  body:has(>.chat-sidebar) .settings-row-icon{width:28px;height:28px;border:0;background:transparent;box-shadow:none}
  body:has(>.chat-sidebar) .settings-row>.button,body:has(>.chat-sidebar) .settings-row>.text-link{grid-column:2;justify-self:start;min-height:44px;margin:0}
  body:has(>.chat-sidebar) .settings-section{padding:18px 16px}
  body:has(>.chat-sidebar) .settings-section.delivery-settings{padding:0}
  body:has(>.chat-sidebar) .settings-section-head h2{font-size:18px}
  body:has(>.chat-sidebar) .settings-section-head{gap:12px}
  body:has(>.chat-sidebar) .list-section-head{align-items:flex-start;flex-wrap:wrap;gap:12px}
}

/* /app is a conversation directory; a message feed opens only after choosing a room. */
.chat-directory{min-width:0}
.chat-directory .empty-icon{margin-inline:auto}
.recipient-dialog:focus{outline:0}
.recipient-dialog .dialog-head .icon-button{border:0;box-shadow:none;background:transparent}
.topic-edit-header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.topic-edit-header-actions .icon-button[aria-pressed="true"]{color:#087e8b;background:#e3f3f3}
/* Native date/time preferences must not grow the reservation grid on iOS. */
.repeat-dialog-form,.repeat-dialog .recipient-dialog-card{min-width:0;max-width:100%}
.repeat-dialog-content{grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
.repeat-dialog-content>*,.repeat-options>div{min-width:0;max-width:100%}
.repeat-options>div{grid-template-columns:minmax(0,1fr)}
.repeat-dialog-content input,.repeat-dialog-content select,.repeat-dialog-content textarea{min-width:0;max-width:100%;min-inline-size:0;max-inline-size:100%;box-sizing:border-box}
.repeat-dialog-content input::-webkit-date-and-time-value{min-width:0;text-align:left}
.toast.dialog-toast{position:absolute;left:16px;right:16px;bottom:16px;width:auto;max-width:none;transform:none;z-index:100;overflow-wrap:anywhere}
.chat-directory-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.chat-directory-header h1{margin:0;font-size:24px;font-weight:500;line-height:1.4}
.chat-directory-header .button{min-height:44px}
.chat-directory-list{list-style:none;padding:0;margin:0}
.chat-directory-list li{margin:0;border-bottom:1px solid #d9e1e4}
.chat-directory-list a{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:14px;min-height:80px;padding:16px 8px;color:inherit;text-decoration:none;touch-action:manipulation}
.chat-directory-list a:hover{background:#f4f7f8}
.chat-directory-list a:focus-visible{outline:2px solid #087e8b;outline-offset:-2px;background:#f4f7f8}
.chat-directory-copy{display:flex;min-width:0;flex-direction:column;gap:5px}
.chat-directory-copy strong{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;font-size:16px;font-weight:500;line-height:1.5}
.chat-directory-copy small{font-size:14px;color:#5d6b73;line-height:1.5}
.chat-directory-copy .unread-dot{flex:none}
.chat-directory-list a>svg{width:18px;height:18px;color:#5d6b73}
@media(max-width:767px){.chat-directory-header{margin-bottom:16px}.chat-directory-header h1{font-size:22px}.chat-directory-list a{padding-inline:0}}
