/* BridgeMD homepage, product section. Loaded after company.css. Edited only by the product lens.
   Every scene is plain inline markup that shows its finished frame with no JS, with reduced motion and on first paint.
   company.js plays a short loop on top. While a loop runs (.is-live), items that have not happened yet sit dimmed (.pd-wait)
   or hollow (.chk), so the layout never moves and every frame reads at a glance.
   Colour. Ink (--ink) for titles and key figures, dark gray (--text) for body text, light gray (--muted) for captions and sources. */

/* ---------- Cards come in as they are scrolled to (the class is added by company.js; without script they simply show) ---------- */
html.cx-cards #product .cx-feat { opacity: 0; transform: translateY(28px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
html.cx-cards #product .cx-feat.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.cx-cards #product .cx-feat { opacity: 1; transform: none; transition: none; } }

/* ---------- Cards ---------- */
#product .cx-feats { gap: 20px; margin-top: 56px; }
#product .cx-feat { padding: 32px; border-radius: 28px; }
#product .cx-feat h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.012em; color: var(--ink); }
#product .cx-feat > p, #product .cx-feat-tx > p { margin-top: 6px; max-width: 440px; font-size: 15px; line-height: 1.5; color: var(--text); }
#product .cx-feat.is-wide { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: 48px; align-items: center; padding: 40px; }
#product .cx-feat.is-wide.is-flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
#product .cx-feat.is-wide h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
#product .cx-feat.is-wide .cx-feat-tx > p { margin-top: 10px; max-width: 340px; font-size: 16px; line-height: 1.55; }
#product .cx-panel { margin-top: 24px; padding: 20px; align-items: center; }
#product .cx-feat.is-wide .cx-panel { margin-top: 0; padding: 28px; }
#product .cx-s { max-width: 560px; margin-inline: auto; }
#product .cx-s-in { gap: 10px; }
#product .cx-s-in > * { min-width: 0; }

/* ---------- Loop mechanics ---------- */
#product .cx-s.is-live [data-t] { transition: opacity .3s ease, transform .35s var(--ease); }
#product .cx-s.is-live .pd-act > [data-t] { transform: none; }
/* The loop restarts with a soft dip, never a blank panel. */
#product .cx-s.is-fade .cx-s-in { opacity: .15; }
#product .cx-s.is-snap .cx-s-in { transition: opacity .35s ease !important; }
/* What has not happened yet stays hidden (its space is kept) until its step arrives. */
#product .pd-wait { transition: opacity .3s ease; }
#product .cx-s.is-live .pd-wait:not(.is-on) { opacity: 0; }
/* Two layers share one cell, so swapping them never changes the height. */
#product .pd-act { display: grid; min-width: 0; }
#product .pd-act > * { grid-area: 1 / 1; min-width: 0; }
/* A step that had already happened when a play began sits in place with no arrival tint. */
#product .cx-s.is-live .is-ff, #product .cx-s.is-live .is-ff .ix-tile { animation: none !important; }

/* One soft tint for whatever just arrived, which fades out over about a second and a half. It plays once per step and then stops. */
@keyframes pdTint { from { background-color: #e3edfb; } }
@keyframes pdTintOk { from { background-color: #d2ebdb; } }
@keyframes pdTintB { from { background-color: #cfe0f8; } }
@keyframes pdTile { from { background-color: #e3edfb; border-color: #86a8d8; } }

/* ---------- Shared pieces ---------- */
#product .pd-search, #product .pd-trial, #product .pd-banner,
#product .pd-week, #product .pd-checks, #product .pd-fn, #product .pd-vc { padding: 16px 18px; font-size: 15px; }
#product .cx-s small { font-size: 13.5px; color: var(--muted); }
#product .cx-pill { font-size: 13px; }
#product .f-btn { height: 34px; min-width: 78px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 500; }
#product .pill { justify-content: center; min-width: 124px; height: 26px; padding: 0 12px; font-size: 13px; }
#product .pill[data-state="work"] { background: var(--bg); color: var(--text); }
#product .pd-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
#product .pd-hd > div { display: grid; gap: 3px; min-width: 0; }
#product .pd-hd b { font-size: 17px; line-height: 1.25; letter-spacing: -.015em; }
#product .pd-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 98px; height: 26px; padding: 0 11px; border-radius: 999px; background: #e3f3e9; color: var(--ok); font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .25s ease, color .25s ease; }
#product .pd-chip[data-state="chk"] { background: var(--bg); color: var(--muted); font-weight: 500; }
#product .pd-chip[data-state="unk"] { background: var(--bg); color: var(--text); }
#product .pd-chip[data-state="rev"], #product .pd-chip[data-state="prop"] { background: #fdf1dc; color: #8a5a00; }
#product .pd-chip.is-sm { justify-self: start; min-width: 0; height: 22px; margin-top: 4px; padding: 0 8px; }

/* ---------- Bridget ---------- */
/* The card reads like a table: a header, one full width row per step, and a foot where the decision happens. */
#product .pd-card { --px: 18px; padding: 0; overflow: hidden; font-size: 15px; }
#product .pd-card .pd-hd { padding: 16px var(--px) 14px; border-bottom: 1px solid var(--line); }
#product .pd-steps li { display: grid; grid-template-columns: 16px 76px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 12px var(--px); border-bottom: 1px solid var(--line); line-height: 1.4; }
#product .pd-steps .chk { margin-top: 3px; }
#product .pd-steps i { padding-top: 2px; font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--muted); }
#product .pd-steps li > span:last-child { color: var(--text); }
#product .pd-foot { display: flex; align-items: center; padding: 10px var(--px); }
#product .pd-act > * { display: flex; align-items: center; gap: 8px; min-height: 34px; }
#product .pd-ok { gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
#product .f-btn.is-solid.is-press { background: var(--accent-d); border-color: var(--accent-d); }

/* ---------- Trial finder ---------- */
#product .pd-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; }
#product .pd-field { display: grid; gap: 2px; min-width: 0; padding-left: 12px; border-left: 2px solid var(--line); }
#product .pd-field b { font-size: 16px; font-weight: 500; }
#product .pd-trial { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
#product .pd-trial > div { display: grid; gap: 2px; min-width: 0; }
#product .pd-trial b { font-size: 15px; font-weight: 500; line-height: 1.3; }
#product .pd-trial .f-btn { min-width: 88px; }
#product .pd-banner, #product .pd-ready { display: flex; align-items: center; gap: 12px; background: #f0f9f3; border-color: #cfe8d8; }
#product .pd-banner b, #product .pd-ready b { font-size: 15px; font-weight: 500; }

/* ---------- Prescreening ---------- */
#product .pd-table { padding: 0; overflow: hidden; }
#product .pd-table .pd-hd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
#product .pd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
#product .pd-row > div { display: grid; gap: 2px; min-width: 0; }
#product .pd-row b { font-size: 15px; font-weight: 500; line-height: 1.3; }
#product .pd-row .pd-chip { min-width: 108px; }
#product .pd-ready { padding: 14px 18px; border: 0; border-radius: 0; }
#product .cx-s.is-live :is(.pd-steps li, .pd-row, .pd-trial).is-on { animation: pdTint 1.3s ease-out; }
#product .cx-s.is-live :is(.pd-banner, .pd-ready).is-on { animation: pdTintOk 1.3s ease-out; }
#product .cx-s.is-live .pd-foot:has(.pd-act > .is-on) { animation: pdTint 1.3s ease-out; }
#product .cx-s.is-live .pd-foot:has(.pd-ok.is-on) { animation: pdTintOk 1.3s ease-out; }

/* ---------- Calendar: one open time is proposed to a patient, confirmed, and its readiness checks tick off ---------- */
#product .pd-week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#product .pd-wk-h { grid-column: 1 / -1; }
#product .pd-wk-h b { font-size: 17px; line-height: 1.25; letter-spacing: -.015em; }
#product .pd-day { display: grid; gap: 8px; align-content: start; min-width: 0; }
#product .pd-dh { display: block; padding-bottom: 2px; text-align: center; font-size: 13.5px; font-weight: 500; color: var(--muted); }
#product .pd-visit { display: grid; gap: 1px; min-width: 0; padding: 9px 10px; border-radius: 8px; border-left: 3px solid var(--accent); background: #fff; box-shadow: 0 0 0 1px #d9e3f1; font-size: 14px; line-height: 1.3; color: var(--ink); }
#product .pd-visit b { font-weight: 600; }
#product .pd-visit.is-new:not(:has(.pd-chip[data-state="ok"])) { border-left-style: dashed; box-shadow: 0 0 0 1px var(--accent); }
#product .pd-visit.is-open { border: 1px dashed #b9c6db; background: transparent; box-shadow: none; }
/* An open time and the visit proposed into it share one cell, so the swap never changes the height. */
#product .cv-slot { display: grid; min-width: 0; align-content: start; }
#product .cv-slot > * { grid-area: 1 / 1; align-self: start; }
#product .cx-s.is-live .cv-slot > [data-t] { transform: none; }
/* Readiness card, using the app's own words: Ready for this visit, with Needs attention turning into Ready. */
#product .pd-ck-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 12px; }
#product .pd-ck-h > div { display: grid; gap: 2px; min-width: 0; }
#product .pd-ck-h b { font-size: 16px; line-height: 1.25; letter-spacing: -.015em; }
#product .pd-ck-h .pd-chip { flex: none; min-width: 124px; }
#product .pd-checks ul { display: grid; gap: 2px; margin: 10px -8px 0; }
#product .pd-checks li { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 8px; border-radius: 8px; font-size: 15px; line-height: 1.3; }
#product .pd-checks li b { font-weight: 500; }
#calendar .cx-s.is-live :is(.pd-visit.is-new, .pd-checks li).is-on { animation: pdTint 1.3s ease-out; }
#calendar .cx-s.is-live .pd-chip.is-on { animation: pdTintOk 1.3s ease-out; }

/* ---------- Funnel: four stages build one at a time, with their counts ---------- */
#product .pd-fn { display: grid; gap: 16px; padding: 20px; }
#product .pd-fn-row { display: grid; gap: 9px; padding: 8px 10px; margin: -8px -10px; border-radius: 10px; transition: opacity .35s ease; }
#product .pd-fn-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text); }
#product .pd-fn-top b { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
#product .pd-fn .cx-bar { height: 14px; }
#product .cx-s.is-live .pd-fn-row:not(.is-on) { opacity: 0; }
#product .cx-s.is-live .cx-bar i { width: 0; background: var(--accent); transition: width .72s var(--ease); }
#product .cx-s.is-live .is-on .cx-bar i { width: var(--w); }
/* Once every stage is on screen, one line names the biggest drop. */
#product .pd-fn-drop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 12px; border-radius: 10px; background: #eef4fd; font-size: 14px; line-height: 1.35; color: var(--ink); }
#product .pd-fn-drop b { font-size: 13.5px; font-weight: 600; color: var(--accent); }
#funnel .cx-s.is-live .pd-fn-row.is-on { animation: pdTint 1.3s ease-out; }
#funnel .cx-s.is-live .pd-fn-drop.is-on { animation: pdTintB 1.3s ease-out; }

/* ---------- Payments: a completed visit queues a payment and staff issue it ----------
   The card builds one step at a time. Steps that have not happened yet stay hidden but keep their space, so the card never changes height. */
#product .pd-pay { padding: 0; overflow: hidden; }
#product .pm-sec { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 10px; align-items: center; padding: 20px 22px 22px; }
#product .pm-sec + .pm-sec { border-top: 1px solid var(--line); }
#product .pm-sec > :not(.pm-hl) { position: relative; z-index: 1; }
/* One soft tint behind a section when something in it changes, then it fades away. */
#product .pm-hl { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@keyframes pmFlash { from { background-color: #e4eefc; } to { background-color: rgba(228, 238, 252, 0); } }
#product .cx-s.is-live .pm-hl.is-on { animation: pmFlash 1s ease-out both; }
#product .pm-sec > small { grid-column: 1; }
#product .pm-st { grid-column: 2; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-width: 98px; height: 26px; padding: 0 12px; border-radius: 999px; background: #e3f3e9; color: var(--ok); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .25s ease, color .25s ease; }
#product .pm-st[data-state="sched"] { background: var(--bg); color: var(--text); }
#product .pm-st[data-state="queued"] { background: #fdf1dc; color: #8a5a00; }
#product .pm-st[data-state="approved"] { background: #dfeafb; color: #0e4590; }
#product .pm-line { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 15px; line-height: 1.35; }
#product .pm-line b { font-weight: 500; }
#product .pm-line span { color: var(--text); }
#product .pm-line i { margin-left: auto; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
#product .pm-who { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; min-height: 38px; font-size: 14px; color: var(--text); }
#product .pm-act { display: grid; justify-items: end; }
#product .pm-act > * { grid-area: 1 / 1; align-self: center; }
#product .cx-s.is-live .pm-act > [data-t] { transform: none; }

/* ---------- Voice AI (Preview): a sample call that builds step by step ----------
   The call starts, the waveform moves only while someone speaks, the transcript types in line by line, then the note for staff appears. */
#product .pd-vc-h { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; }
#product .pd-vc-h b { font-size: 17px; letter-spacing: -.015em; }
#product .pv-call { position: relative; display: flex; align-items: center; gap: 10px; margin: 10px -10px 0; padding: 8px 10px; border-radius: 10px; }
#product .pv-call > :not(.pv-hl) { position: relative; z-index: 1; }
/* One soft tint behind a line when it happens, then it fades away. */
#product .pv-hl { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; }
@keyframes pvFlash { from { background-color: #e4eefc; } to { background-color: rgba(228, 238, 252, 0); } }
#product .cx-s.is-live .pv-hl.is-on, #product .cx-s.is-live .pv-tx p.is-on { animation: pvFlash 1s ease-out both; }
#product .pv-av { flex: none; width: 28px; height: 28px; border-radius: 50%; }
#product .pv-who { min-width: 0; font-size: 15px; color: var(--text); }
#product .pv-who b { color: var(--ink); }
/* A name never splits across two lines. */
#product .nw { white-space: nowrap; }
#product .pv-st { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; min-width: 98px; height: 26px; padding: 0 12px; border-radius: 999px; background: #e3f3e9; color: var(--ok); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .25s ease, color .25s ease; }
#product .pv-st[data-state="calling"] { background: var(--bg); color: var(--text); }
#product .pv-st[data-state="live"] { background: #dfeafb; color: #0e4590; }
/* The waveform is a still bar graphic. Its bars move only while someone is speaking, and they stop in place when the speech ends. */
#product .pv-wave { display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 44px; margin: 10px 0 14px; }
#product .pv-wave i { flex: 1 1 0; min-width: 0; max-width: 4px; height: 100%; border-radius: 3px; background: #b9c9e2; transform: scaleY(var(--h)); animation: pvWave calc(.8s + var(--h) * .6s) ease-in-out infinite alternate; animation-delay: calc(var(--d) * -97ms); animation-play-state: paused; transition: background .4s ease; }
@keyframes pvWave { from { transform: scaleY(calc(var(--h) * .35)); } to { transform: scaleY(var(--h)); } }
#product .pv-wave[data-state="bridget"] i { background: var(--accent); animation-play-state: running; }
#product .pv-wave[data-state="patient"] i { background: var(--text); animation-play-state: running; }
#product .cx-s.is-paused .pv-wave i { animation-play-state: paused; }
#product .pv-tx { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
#product .pv-tx p { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; margin: 0 -10px; padding: 6px 10px; border-radius: 8px; font-size: 15px; line-height: 1.45; color: var(--ink); }
#product .pv-tx b { padding-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
#product .pv-tx p:nth-child(2) b { color: var(--muted); }
#product .pv-note { display: grid; gap: 2px; margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: #fdf6e6; border: 1px solid #f1e0b8; }
@keyframes pvNote { from { background-color: #f8e3ab; } to { background-color: #fdf6e6; } }
#product .cx-s.is-live .pv-note.is-on { animation: pvNote 1s ease-out both; }
#product .pv-note b { font-size: 13.5px; color: #8a5a00; }
#product .pv-note span { font-size: 15px; }

/* ---------- Shared inbox: the channels a team connects light up in turn, then replies land in one inbox ----------
   The logos are in place from the first frame and each lights up once. The inbox card follows, with its replies arriving one by one. */
#product .cx-s-in.ix { gap: 0; }
/* One white tile per channel the app takes replies from, with the real logo and a short name. */
#product .ix-ch { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 0; }
#product .ix-lg { display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 0; }
#product .ix-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid #d9e3f1; box-shadow: 0 1px 2px rgba(10, 20, 40, .06), 0 10px 18px -12px rgba(10, 20, 40, .3); }
#product .ix-logo { display: block; width: 28px; height: 28px; }
#product .ix-lg > i { font-style: normal; font-size: 13.5px; font-weight: 500; line-height: 1.2; color: var(--text); white-space: nowrap; }
#product .ix-box { margin-top: 18px; padding: 12px 16px 4px; }
#product .ix-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
#product .ix-h b { font-size: 16px; letter-spacing: -.015em; }
#product .ix-row { display: grid; grid-template-columns: 24px 60px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
#product .ix-row:last-child { border-bottom: 0; }
#product .ix-rl { grid-area: 1 / 1; display: block; width: 24px; height: 24px; }
#product .ix-rl.is-mail { transform: scale(1.2); }
#product .ix-row b { grid-area: 1 / 2; min-width: 0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#product .ix-m { grid-area: 1 / 3; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#product .ix-row em { grid-area: 1 / 4; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--accent); color: #fff; font-style: normal; font-size: 13px; font-weight: 600; }
#product .ix-row.is-new { margin: 0 -16px; padding: 10px 16px; background: linear-gradient(90deg, #eef4fd, rgba(238, 244, 253, 0)); }
/* Each tile lights up once with a thin accent outline that fades, and each reply takes a soft tint when it arrives. */
#inbox .cx-s.is-live .ix-lg.is-on .ix-tile { animation: pdTile 1.3s ease-out; }
#inbox .cx-s.is-live .ix-row.is-on { animation: pdTint 1.3s ease-out; }

/* ---------- Narrow scenes (phones and small panels) ---------- */
@container (max-width: 440px) {
  /* Four logos to a row (every name fits at 13px), the last two centred. */
  #product .ix-ch { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px 0; }
  #product .ix-lg { grid-column: span 2; gap: 4px; }
  #product .ix-lg:nth-child(9) { grid-column: 3 / span 2; }
  #product .ix-lg:nth-child(10) { grid-column: 5 / span 2; }
  #product .ix-lg > i { font-size: 13px; }
  #product .ix-tile { width: 40px; height: 40px; border-radius: 11px; }
  #product .ix-logo { width: 26px; height: 26px; }
  #product .ix-box { margin-top: 16px; padding: 10px 14px 2px; }
  #product .ix-row { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 1px 10px; padding: 8px 0; }
  #product .ix-rl { grid-area: 1 / 1 / 3 / 2; align-self: center; }
  #product .ix-row b { grid-area: 1 / 2; }
  #product .ix-row em { grid-area: 1 / 3; }
  #product .ix-m { grid-area: 2 / 2 / 3 / -1; }
  #product .ix-row.is-new { margin: 0 -14px; padding: 8px 14px; }
  /* The Voice AI Preview chip stays in the top corner of the sample card. */
  #product .pd-vc-h { gap: 2px 10px; }
}
@container (max-width: 400px) {
  #product .pd-search, #product .pd-trial, #product .pd-banner,
  #product .pd-week, #product .pd-checks, #product .pd-fn, #product .pd-vc { padding: 14px; }
  #product .pd-card { --px: 14px; }
  #product .pd-card .pd-hd { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
  #product .pd-table .pd-hd, #product .pd-row, #product .pd-ready { padding-left: 14px; padding-right: 14px; }
  #product .pd-row .pd-chip { min-width: 98px; padding: 0 8px; }
  #product .pd-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  #product .pd-search .f-btn { grid-column: 1 / -1; }
  #product .pd-steps li { grid-template-columns: 16px minmax(0, 1fr); row-gap: 1px; }
  #product .pd-steps .chk { grid-row: 1 / span 2; }
  #product .pd-steps i { grid-column: 2; padding-top: 0; }
  #product .pd-steps li > span:last-child { grid-column: 2; }
  #product .pd-day.is-sm { display: none; }
  #product .pd-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #product .pd-fn { padding: 18px 14px; }
  #product .pm-sec { padding-left: 14px; padding-right: 14px; }
  #product .pm-st { min-width: 90px; padding: 0 10px; }
  #product .pv-tx p { grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
  #product .pv-st { min-width: 88px; padding: 0 10px; }
}
/* Very small phones: the status chip sits above the card title, so the title keeps one line. */
@container (max-width: 300px) {
  #product .pd-ck-h { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
}
@container (max-width: 260px) {
  /* Three logos to a row and replies that wrap instead of cutting off. */
  #product .ix-ch { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #product .ix-lg:nth-child(9) { grid-column: span 2; }
  #product .ix-lg:nth-child(10) { grid-column: 3 / span 2; }
  #product .ix-m { white-space: normal; }
}

/* ---------- Page widths ---------- */
@media (max-width: 1199px) {
  #product .cx-feat, #product .cx-feat.is-wide, #product .cx-feat.is-wide.is-flip { grid-template-columns: minmax(0, 1fr); padding: 32px; align-items: stretch; }
  #product .cx-feat.is-wide h3 { font-size: 24px; }
  #product .cx-feat.is-wide .cx-feat-tx > p { margin-top: 6px; max-width: 440px; font-size: 15px; line-height: 1.5; }
  #product .cx-feat.is-wide .cx-panel, #product .cx-feat.is-wide.is-flip .cx-panel { order: 0; margin-top: 24px; padding: 20px; }
}
@media (max-width: 640px) {
  #product .cx-feats { gap: 14px; margin-top: 36px; }
  #product .cx-feat, #product .cx-feat.is-wide, #product .cx-feat.is-wide.is-flip { padding: 24px 16px 16px; border-radius: 24px; }
  #product .cx-feat h3, #product .cx-feat.is-wide h3 { font-size: 20px; }
  #product .cx-feat > p, #product .cx-feat-tx > p { padding: 0 4px; }
  #product .cx-panel, #product .cx-feat.is-wide .cx-panel, #product .cx-feat.is-wide.is-flip .cx-panel { margin-top: 20px; padding: 10px; border-radius: 18px; }
}
