/* r21 chrome: shared floating UI (dock CTA, Irene, Som) */
/* ---- phone: one calm bottom row  [Som 44] [dock] [Irene 48], shared centre line ---- */
:root{--ch-b:calc(14px + env(safe-area-inset-bottom,0px))}
/* dock hidden when the section already shows its own diagnostico CTA (chrome.js) */
html.ch-cta #dock{opacity:0!important;pointer-events:none!important;visibility:hidden!important;transition:opacity .3s,visibility 0s .3s}
@media (max-width:700px){
  html body #dock.dk2{bottom:var(--ch-b)!important;max-width:calc(100vw - 148px)}
  html body #dock.dk2 button{min-height:46px;padding:0 16px;font-size:14px}
  html body .ir-launch{bottom:calc(var(--ch-b) + 5px)!important;right:12px!important;width:48px;min-width:48px;height:48px;padding:0!important;justify-content:center}
  html body .amb{bottom:calc(var(--ch-b) + 7px)!important;left:12px!important;top:auto!important;width:44px;min-width:44px;height:44px;padding:0!important;justify-content:center;gap:0}
  html body .amb-t{display:none!important}
  html body .ir-nudge{bottom:calc(var(--ch-b) + 66px)!important;right:12px!important;left:auto!important;width:min(300px,calc(100vw - 24px));font-size:13.5px}
}

/* phone: once scrolled, the bottom dock (or the section CTA) is the one diagnosis button on screen; the header copy steps back */
@media (max-width:900px){#hd.lr-solid .rt a.go{display:none!important}}

/* r33: tablet width (701-900) — the Irene launcher overlapped the centred dock by ~16px; tighten the launcher and hug the edge */
@media (min-width:701px) and (max-width:900px){html body .ir-launch{right:10px!important;padding-inline:8px!important;gap:5px}}

/* r36: compact dock on tablet/short laptop widths - less of the page hidden behind it */
@media (min-width:701px) and (max-width:1180px){
  html body #dock.dk2{bottom:12px;height:48px;padding:4px 4px 4px 20px;gap:14px}
  html body #dock.dk2 button{height:40px;padding:0 16px;font-size:13.5px}
  html body #dock.dk2 .dk-t{font-size:13px}
}
