/* gbt.chat cross-promo styles, extracted from site.css by build.mjs (edit site.css). */
/* Cross-promo ("xp-"): paper cards with each product's own colour pair. Slots keep a fixed height (no layout shift).
   Variants: strip (top/fold), slim (chat header line), bar (phone app bar), card (chat sidebar/inline). Designs: white |
   brand (soft product tint) | bold (solid product colour). */
.xp-slot { display: block; }
.xp-slot-top, .xp-slot-fold { min-height: 120px; margin: 22px 0; }
.xp-slot-top { margin: 6px 0 0; }
.xp-slot-appbar { display: none; }
.xp-slot-chat-top { min-height: 44px; }
.xp-slot-chat-side { min-height: 236px; }
.xp-slot-chat-welcome:empty { display: none; }
.xp { --xp: #3B5BDB; --xp-bg: #EEF2FD; --xp-ink: #1E3A8A; position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 14px 18px; border: 1px solid var(--border, #E6DFD2); border-radius: 18px; background: var(--surface, #FFFDF9); color: var(--text, #221E18); font-family: var(--font, system-ui, sans-serif); font-size: 15px; line-height: 1.45; text-align: start; box-shadow: 0 2px 10px rgba(80, 60, 30, .05); }
.xp-c-imagegpt { --xp: #6D4AD8; --xp-bg: #F1ECFD; --xp-ink: #42288F; }
.xp-c-chatplus { --xp: #0B7A6E; --xp-bg: #E4F5F2; --xp-ink: #0A5A51; }
.xp-c-app { --xp: #1F4E9C; --xp-bg: #E8EFFA; --xp-ink: #143468; }
.xp-c-aiart { --xp: #C2385F; --xp-bg: #FCEAEF; --xp-ink: #84203D; }
.xp-c-bots { --xp: #1F76BC; --xp-bg: #E6F3FC; --xp-ink: #175A8F; }
.xp-c-maxgpt { --xp: #267A42; --xp-bg: #E6F4EA; --xp-ink: #1D5E32; }
.xp-d-white { border-inline-start: 4px solid var(--xp); }
.xp-d-brand { background: var(--xp-bg); border-color: transparent; color: #221E18; }
.xp-d-bold { background: var(--xp); border-color: transparent; color: #fff; }
[data-theme="dark"] .xp-d-brand { background: color-mix(in srgb, var(--xp) 22%, #2A2925); color: #F3EEE5; }
.xp-media { display: block; flex: none; width: 76px; height: 76px; overflow: hidden; border-radius: 14px; background: var(--xp-bg); }
.xp-c-app .xp-media, .xp-c-chatplus .xp-media, .xp-c-maxgpt .xp-media { padding: 10px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); }
.xp-c-app .xp-media img, .xp-c-chatplus .xp-media img, .xp-c-maxgpt .xp-media img { object-fit: contain; border-radius: 10px; }
.xp-bots { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; place-items: center; width: 100%; height: 100%; padding: 10px; background: #fff; }
.xp-bots .xp-logo { width: 24px; height: 24px; }
.xp-bots .xp-logo:first-child { grid-column: 1 / -1; width: 28px; height: 28px; }
.xp-body { flex: 1 1 auto; min-width: 0; }
.xp-label { margin: 0 0 2px; color: var(--xp-ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.xp-d-bold .xp-label { color: rgba(255, 255, 255, .94); }
.xp-d-bold .xp-text { opacity: .94; }
[data-theme="dark"] .xp-d-white .xp-label, [data-theme="dark"] .xp-d-brand .xp-label { color: color-mix(in srgb, var(--xp) 28%, #F3EEE5); }
.xp-title { margin: 0; font: 600 17px/1.3 var(--font-serif, Georgia, serif); }
.xp-text { margin: 3px 0 0; color: inherit; opacity: .8; font-size: 14px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.xp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: none; }
.xp-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--xp); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.xp-btn:hover { color: #fff; filter: brightness(1.08); }
.xp-btn .pa-i, .xp-btn .xp-ic { width: 18px; height: 18px; }
.xp-d-bold .xp-btn { background: #fff; color: var(--xp-ink); }
.xp-d-bold .xp-btn:hover { color: var(--xp-ink); }
.xp-btn-tg, .xp-btn-max, .xp-btn-vk { padding: 0 12px 0 8px; background: #fff; color: #221E18; border: 1px solid rgba(0, 0, 0, .1); }
.xp-btn-tg:hover, .xp-btn-max:hover, .xp-btn-vk:hover { color: #221E18; }
.xp-stores { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.xp-store { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 11px; border-radius: 11px; background: #221E18; color: #FFFDF9; text-decoration: none; }
.xp-store:hover { color: #FFFDF9; background: #000; }
.xp-store .xp-ic { width: 20px; height: 20px; }
.xp-store-t { display: flex; flex-direction: column; line-height: 1.1; }
.xp-store-t small { font-size: 10px; opacity: .8; }
.xp-store-t b { font-size: 15px; font-weight: 600; }
[data-theme="dark"] .xp-d-white .xp-store, [data-theme="dark"] .pa-app .xp-store { background: #F3EEE5; color: #1F1E1B; }
.xp-d-bold .xp-store { background: #fff; color: var(--xp-ink); }
.xp-qr { display: flex; align-items: center; gap: 8px; max-width: 150px; font-size: 12px; line-height: 1.3; opacity: .85; }
.xp-qr img { width: 64px; height: 64px; padding: 3px; border-radius: 8px; background: #fff; }
.xp-x { position: absolute; top: 6px; inset-inline-end: 6px; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: .6; cursor: pointer; }
.xp-x:hover { opacity: 1; background: rgba(0, 0, 0, .06); }
.xp-x .xp-ic { width: 16px; height: 16px; }
.xp-zone { min-height: 0; }
/* slim: one line in the chat header */
.xp-slim { gap: 10px; padding: 4px 6px 4px 4px; border-radius: 999px; font-size: 13px; box-shadow: none; }
.xp-slim .xp-media { width: 34px; height: 34px; border-radius: 50%; padding: 4px; }
.xp-slim .xp-label, .xp-slim .xp-text, .xp-slim .xp-qr, .xp-slim .xp-store-android { display: none; }
.xp-slim .xp-title { font: 600 13px/1.3 var(--font, system-ui, sans-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xp-slim .xp-btn, .xp-slim .xp-store { min-height: 32px; padding: 0 12px; font-size: 13px; }
.xp-slim .xp-store-t small { display: none; }
.xp-slim.xp-d-white { border-inline-start-width: 1px; }
/* card: chat sidebar / inline in the thread */
.xp-card { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
.xp-card .xp-media { width: 100%; height: 96px; }
.xp-card .xp-acts { flex-direction: column; align-items: stretch; }
.xp-card .xp-btn, .xp-card .xp-store { justify-content: center; }
.xp-card .xp-qr { display: none; }
.xp-card.xp-d-white { border-inline-start-width: 1px; border-top: 4px solid var(--xp); }
/* bar: the phone app bar right under the header */
.xp-bar { gap: 10px; min-height: 60px; padding: 8px 40px 8px 10px; border-radius: 0; border-width: 0 0 1px; box-shadow: none; }
.xp-bar.xp-d-white { border-inline-start-width: 0; }
.xp-bar .xp-media { width: 42px; height: 42px; padding: 5px; border-radius: 11px; }
.xp-bar .xp-label, .xp-bar .xp-stores, .xp-bar .xp-qr { display: none; }
.xp-bar .xp-title { font: 600 14px/1.25 var(--font, system-ui, sans-serif); }
.xp-bar .xp-text { font-size: 12px; -webkit-line-clamp: 1; }
.xp-bar .xp-btn { min-height: 34px; padding: 0 14px; font-size: 13px; }
@media (max-width: 720px) {
  .xp-slot-appbar { display: block; min-height: 60px; }
  .xp-slot-top, .xp-slot-fold { min-height: 172px; }
  .xp-strip { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
  .xp-strip .xp-label { display: none; }
  .xp-strip .xp-title { font-size: 16px; }
  .xp-strip .xp-media { width: 56px; height: 56px; border-radius: 12px; }
  .xp-strip .xp-body { flex: 1 1 calc(100% - 72px); }
  .xp-strip .xp-acts { flex: 1 1 100%; }
  .xp-strip .xp-btn { flex: 1; justify-content: center; }
  .xp-strip .xp-qr { display: none; }
  .xp-os-ios .xp-store-android, .xp-os-android .xp-store-ios { display: none; }
  .xp-text { -webkit-line-clamp: 2; }
  .pa-composer-row { position: relative; }
  .pa-composer-row .pa-pick { position: static; }
  .pa-composer-row .pa-pick-panel { inset-inline: 0; width: auto; }
}
