/* =============================================================
   profile-ui.css — camada ADITIVA para o perfil do usuário.
   Prefixo `pf-`. Usa as variáveis da Tatisky quando existirem,
   com fallback seguro. Inclua DEPOIS do seu CSS principal.
   ============================================================= */

.pf, .tatisky-profile-surface {
  --pf-fg: var(--ink, #24171e);
  --pf-fg-muted: #735d66;
  --pf-bg: var(--paper, #fbf7f1);
  --pf-surface: #ffffff;
  --pf-surface-2: var(--cream, #f5ede2);
  --pf-border: var(--line, rgba(53, 27, 39, 0.17));
  --pf-accent: var(--wine, #621f3d);
  --pf-ok: var(--color-success, #17875a);
  --pf-warn: var(--color-warning, #a06400);
  --pf-danger: var(--color-danger, #c0392b);
  --pf-radius: 14px;
  --pf-gap: 18px;
  --pf-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 10px 30px -20px rgba(16, 24, 40, 0.35);
  color: var(--pf-fg);
}

.pf {
  display: grid;
  gap: var(--pf-gap);
  width: var(--shell, min(1180px, calc(100% - 48px)));
  min-height: 85vh;
  margin-inline: auto;
  padding: 130px 0 100px;
}

.pf-section { display: grid; gap: 12px; }
.pf-section__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pf-section__title { margin: 0; font-size: 1.05rem; letter-spacing: 0.01em; }
.pf-section__sub { margin: 0; font-size: 0.84rem; color: var(--pf-fg-muted); }
.vip-access > *, .vip-access .pf-section > * { min-width: 0; }
.vip-access { overflow-wrap: anywhere; }
.vip-access .button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; padding-block: 10px; }
.vip-access .button:focus-visible { outline: 3px solid var(--pf-accent); outline-offset: 3px; }
.pf-density-toggle {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--pf-border); border-radius: 999px; color: var(--pf-accent);
  background: var(--pf-surface); font: 700 0.72rem/1 var(--sans, sans-serif); cursor: pointer;
}
.pf-density-toggle:hover { background: var(--pf-surface-2); }
.pf-density-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--pf-accent) 28%, transparent); outline-offset: 2px; }
.pf-density-toggle .pf-icon { width: 16px; height: 16px; }
.pf-muted { color: var(--pf-fg-muted); }
.pf-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pf-icon { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pf-icon--lg { width: 24px; height: 24px; }

/* ---------- cabeçalho compacto ---------- */
.pf-hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px 32px;
  align-items: center;
  padding: 18px 20px;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow);
}
.pf-hero__id { display: grid; gap: 4px; min-width: 0; }
.pf-hero__name { margin: 0; font: 500 clamp(2rem, 4vw, 3.4rem)/1 var(--serif, serif); letter-spacing: -0.025em; }
.pf-hero__username { font-size: 0.95rem; color: var(--pf-fg-muted); }
.pf-hero__bio { grid-column: 2; margin: 0; max-width: 720px; font-size: 1rem; line-height: 1.55; color: var(--pf-fg-muted); }
.pf-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }

/* avatar: preparado para receber <img> real depois */
.pf-avatar {
  width: 210px; height: 210px; flex: 0 0 210px; grid-row: 1 / span 2;
  border-radius: 50%; overflow: hidden; position: relative;
  display: grid; place-items: center;
  font: italic 5rem/1 var(--serif, serif);
  color: #fff; text-transform: uppercase;
  background: var(--pf-accent);
  border: 3px solid var(--pf-surface);
  box-shadow: 0 0 0 1px var(--pf-border), 0 8px 22px -14px rgba(16, 24, 40, 0.5);
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pf-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pf-stat {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--pf-border); background: var(--pf-surface-2);
  font-size: 0.8rem; color: var(--pf-fg-muted);
}
.pf-stat b { font-size: 0.9rem; color: var(--pf-fg); font-variant-numeric: tabular-nums; }

/* ---------- área nobre ---------- */
.pf-primary { display: grid; gap: var(--pf-gap); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.pf-tile {
  display: grid; gap: 10px; align-content: start;
  padding: 18px; min-height: 132px;
  text-decoration: none; color: inherit;
  background: var(--pf-surface); border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius); box-shadow: var(--pf-shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.pf-tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--pf-accent) 35%, var(--pf-border)); }
.pf-tile:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-accent) 30%, transparent); }
.pf-tile__top { display: flex; align-items: center; gap: 10px; }
.pf-tile__glyph {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--pf-accent) 12%, transparent); color: var(--pf-accent);
}
.pf-tile__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pf-fg-muted); }
.pf-tile__value { font-size: 1.55rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pf-tile__value--compact { font-size: 1.1rem; }
.pf-tile__hint { font-size: 0.82rem; color: var(--pf-fg-muted); }
.pf-tile__cta { font-size: 0.84rem; font-weight: 650; color: var(--pf-accent); display: inline-flex; align-items: center; gap: 6px; }

/* Loja em destaque */
.pf-tile--feature {
  grid-column: span 1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pf-accent) 14%, var(--pf-surface)), var(--pf-surface));
  border-color: color-mix(in srgb, var(--pf-accent) 32%, var(--pf-border));
}
.pf-tile--feature .pf-tile__glyph { background: var(--pf-accent); color: #fff; }
.pf-tile--feature .pf-tile__value { font-size: 1.35rem; }

/* visualização reduzida: somente ícone e nome do atalho */
.pf-section--compact .pf-primary { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pf-section--compact .pf-tile {
  display: flex; min-height: 62px; padding: 10px 12px; align-items: center; box-shadow: none;
}
.pf-section--compact .pf-tile__value,
.pf-section--compact .pf-tile__hint,
.pf-section--compact .pf-tile__cta,
.pf-section--compact .pf-progress { display: none; }
.pf-section--compact .pf-tile__glyph { width: 38px; height: 38px; flex-basis: 38px; }
.pf-section--compact .pf-tile--feature { background: var(--pf-surface); }
.pf-section--compact .pf-tile--feature .pf-tile__glyph {
  background: color-mix(in srgb, var(--pf-accent) 12%, transparent); color: var(--pf-accent);
}

/* progresso vincular perfil */
.pf-progress { display: grid; gap: 6px; }
.pf-progress__bar {
  width: 100%; height: 8px; display: block; overflow: hidden;
  border: 1px solid var(--pf-border); border-radius: 999px;
  background: var(--pf-surface-2); appearance: none; accent-color: var(--pf-accent);
}
.pf-progress__bar::-webkit-progress-bar { background: var(--pf-surface-2); border-radius: 999px; }
.pf-progress__bar::-webkit-progress-value { background: var(--pf-accent); border-radius: 999px; }
.pf-progress__bar::-moz-progress-bar { background: var(--pf-accent); border-radius: 999px; }
.pf-progress__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 0.8rem; color: var(--pf-fg-muted); }
.pf-progress__meta b { color: var(--pf-fg); font-variant-numeric: tabular-nums; }

/* badge de notificações */
.pf-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--pf-danger); color: #fff; font-size: 0.74rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pf-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600;
  border: 1px solid var(--pf-border); background: var(--pf-surface-2); color: var(--pf-fg-muted);
}
.pf-pill--ok { color: var(--pf-ok); background: color-mix(in srgb, var(--pf-ok) 10%, transparent); border-color: color-mix(in srgb, var(--pf-ok) 28%, transparent); }
.pf-pill--warn { color: var(--pf-warn); background: color-mix(in srgb, var(--pf-warn) 12%, transparent); border-color: color-mix(in srgb, var(--pf-warn) 30%, transparent); }
.pf-pill--danger { color: var(--pf-danger); background: color-mix(in srgb, var(--pf-danger) 10%, transparent); border-color: color-mix(in srgb, var(--pf-danger) 30%, transparent); }

/* ---------- assinaturas ---------- */
.pf-subs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pf-sub {
  --pf-sub-accent: var(--pf-accent);
  display: flex; min-height: 190px; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
  padding: 20px 16px; text-decoration: none; color: inherit;
  background: var(--pf-surface); border: 1px solid var(--pf-border);
  border-left: 4px solid var(--pf-sub-accent);
  border-radius: var(--pf-radius); box-shadow: var(--pf-shadow);
  transition: transform 0.15s, border-color 0.15s;
}
.pf-sub--privacy { --pf-sub-accent: #7a294d; }
.pf-sub--onlyfans { --pf-sub-accent: #1675a7; }
.pf-sub--tiktok { --pf-sub-accent: #20151b; }
a.pf-sub:hover { transform: translateY(-2px); }
a.pf-sub:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-accent) 32%, transparent); }
.pf-sub__visual { width: 112px; height: 112px; flex: 0 0 112px; position: relative; }
.pf-sub__logo {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; position: relative;
  background: var(--pf-surface-2); border: 1px solid var(--pf-border);
  font-weight: 700; font-size: 1.25rem; color: var(--pf-sub-accent); text-transform: uppercase;
}
.pf-sub__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.pf-sub__warn {
  position: absolute; top: auto; right: -3px; bottom: -3px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: #f4bd3e; color: #2a1020;
  border: 3px solid var(--pf-surface); box-shadow: 0 4px 12px rgba(42, 16, 32, .22);
}
.pf-sub__warn .pf-icon { width: 17px; height: 17px; stroke-width: 2; }
.pf-sub__body { display: grid; justify-items: center; gap: 5px; min-width: 0; text-align: center; }
.pf-sub__name { font-weight: 650; font-size: 0.98rem; }
.pf-sub__date { color: var(--pf-fg-muted); font-size: .76rem; font-variant-numeric: tabular-nums; }

/* Estados de assinatura: a ação continua definida pelo backend (link ou div). */
.pf-sub.state-unavailable .pf-sub__logo,
.pf-sub.state-inactive .pf-sub__logo {
  opacity: .45;
  filter: grayscale(.88);
}
.pf-sub.state-active .pf-sub__logo {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 4px rgba(69, 142, 91, .18);
}
.pf-sub.state-expired-recent .pf-sub__logo {
  animation: pf-subscription-churn 1.4s ease-in-out infinite alternate;
}
.pf-sub.state-expired .pf-sub__logo {
  opacity: .45;
  filter: grayscale(.88);
}

@keyframes pf-subscription-churn {
  from { opacity: .42; filter: grayscale(.88); }
  to { opacity: 1; filter: grayscale(0); }
}

/* assinaturas recolhidas voltam ao cartão horizontal menor */
.pf-section--compact .pf-subs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pf-section--compact .pf-sub {
  min-height: 0; padding: 14px 16px; justify-content: flex-start; flex-direction: row; gap: 14px;
}
.pf-section--compact .pf-sub__visual { width: 56px; height: 56px; flex-basis: 56px; }
.pf-section--compact .pf-sub__logo { border-radius: 14px; }
.pf-section--compact .pf-sub__warn { width: 23px; height: 23px; right: -5px; bottom: -5px; border-width: 2px; }
.pf-section--compact .pf-sub__warn .pf-icon { width: 13px; height: 13px; }
.pf-section--compact .pf-sub__body { justify-items: start; text-align: left; }

/* Chamada independente do link de detalhes, acima do emblema VIP. */
.pf-vip-entry { position: relative; min-width: 0; display: grid; }
.pf-vip-entry > .pf-sub { padding-top: 64px; }
.pf-vip-entry__callout {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  justify-content: center; box-sizing: border-box; max-width: calc(100% - 28px);
  min-height: 36px; padding: 6px 18px; text-align: center; text-decoration: none;
  background: var(--pf-accent); color: #fff; border-color: var(--pf-accent);
  box-shadow: var(--pf-shadow); font-size: .9rem;
}
.pf-vip-entry__callout::after {
  content: ''; position: absolute; top: 100%; left: calc(50% - 6px);
  border: 6px solid transparent; border-top-color: var(--pf-accent);
}
.pf-vip-entry__callout:focus-visible { outline: 3px solid var(--pf-accent); outline-offset: 3px; }
.pf-section--compact .pf-vip-entry > .pf-sub { padding-top: 64px; }
.pf-section--compact .pf-vip-entry__callout { left: 16px; transform: none; }
.pf-section--compact .pf-vip-entry__callout::after { left: 22px; }

/* ---------- feed ---------- */
.pf-feed {
  padding: 18px; background: var(--pf-surface); border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius); box-shadow: var(--pf-shadow); display: grid; gap: 14px;
  min-height: 0;
}
.pf-feed__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pf-feed__title { margin: 0; font-size: 1.2rem; }
.pf-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--pf-fg-muted); }
.pf-feed .feed-post {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}
.pf-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pf-ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pf-ok) 18%, transparent); }
.pf-feed__scroll {
  min-height: 0;
  height: clamp(30rem, 62dvh, 48rem);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 2px 10px 2px 2px;
  border-block: 1px solid var(--pf-border);
}
.pf-feed__scroll:focus-visible { outline: 3px solid color-mix(in srgb, var(--pf-accent) 28%, transparent); outline-offset: 2px; }
.pf-feed__load { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; color: var(--pf-fg-muted); font-size: .82rem; text-align: center; }
.pf-feed__load .button { min-height: 36px; padding: 7px 12px; }
.pf-feed__sentinel { height: 1px; }

/* ---------- ações secundárias ---------- */
.pf-secondary { border: 1px solid var(--pf-border); border-radius: var(--pf-radius); background: var(--pf-surface); overflow: hidden; box-shadow: var(--pf-shadow); }
.pf-secondary > summary {
  cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 650; font-size: 0.95rem;
  display: flex; align-items: center; gap: 8px;
}
.pf-secondary > summary::-webkit-details-marker { display: none; }
.pf-secondary > summary::after { content: "▾"; margin-left: auto; color: var(--pf-fg-muted); transition: transform 0.15s; }
.pf-secondary[open] > summary::after { transform: rotate(180deg); }
.pf-secondary__body { padding: 16px 18px 18px; border-top: 1px solid var(--pf-border); background: var(--pf-surface-2); }

.pf-actions { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pf-actions > .button { white-space: normal; text-align: center; }
.pf-action {
  display: flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 12px 14px; text-decoration: none; color: inherit; font: inherit; font-size: 0.9rem;
  background: var(--pf-surface); border: 1px solid var(--pf-border); border-radius: calc(var(--pf-radius) - 4px);
  cursor: pointer; text-align: left; width: 100%; box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}
.pf-action:hover { border-color: color-mix(in srgb, var(--pf-accent) 40%, var(--pf-border)); background: color-mix(in srgb, var(--pf-accent) 5%, var(--pf-surface)); }
.pf-action:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-accent) 28%, transparent); }
.pf-action__text { display: grid; gap: 1px; min-width: 0; }
.pf-action__hint { font-size: 0.74rem; color: var(--pf-fg-muted); }
.pf-action--admin { border-style: dashed; border-color: color-mix(in srgb, var(--pf-accent) 45%, var(--pf-border)); color: var(--pf-accent); }
.pf-action--danger:hover { border-color: color-mix(in srgb, var(--pf-danger) 45%, var(--pf-border)); background: color-mix(in srgb, var(--pf-danger) 6%, transparent); color: var(--pf-danger); }
.pf-actions.pf-social-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pf-action.pf-social-card { flex-direction: row; align-items: center; min-width: 0; padding: 10px 12px; cursor: default; }
.pf-social-card__icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; color: var(--pf-accent); }
.pf-social-card__icon img, .pf-social-card__icon svg { display: block; width: 20px; height: 20px; }
.pf-social-card__icon--discord { background: var(--pf-accent); border-radius: 6px; }
.pf-social-card .pf-action__text { flex: 1; overflow-wrap: anywhere; }
.pf-social-card__name { margin: 0; font-size: .85rem; line-height: 1.4; }
.pf-social-card .button { flex: 0 0 auto; min-height: 32px; padding: 0 12px; font-size: .72rem; letter-spacing: 0; text-transform: none; }
.pf-communities { padding: 16px; background: var(--pf-surface); border: 1px solid var(--pf-border); border-radius: var(--pf-radius); }
.pf-communities__group { display: grid; gap: 8px; min-width: 0; }
.pf-communities__group-title { font-size: .8rem; color: var(--pf-fg-muted); margin: 0; }
.pf-communities__group--support { padding-top: 12px; border-top: 1px solid var(--pf-border); }
.pf-communities__group--support .pf-communities__group-title { color: var(--pf-accent); font-weight: 750; }
.pf-actions.pf-communities__grid, .pf-communities__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pf-action.pf-community-link { flex-direction: row; align-items: center; min-width: 0; min-height: 52px; height: auto; padding: 11px 12px; white-space: normal; }
.pf-community-link__icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; color: var(--pf-accent); }
.pf-community-link__icon img, .pf-community-link__icon svg { display: block; width: 20px; height: 20px; max-width: 20px; }
.pf-community-link__name { font-size: .88rem; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.pf-community-link .pf-action__hint { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.pf-communities__group--support .pf-community-link { border-left: 3px solid var(--pf-accent); background: var(--pf-surface-2); }
.pf-community-link:focus-visible { outline: 2px solid var(--pf-accent); outline-offset: 3px; }
.pf-logout { display: contents; }

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .pf { --pf-gap: 14px; width: min(100% - 28px, 1180px); padding: 112px 0 72px; }
  .pf-hero { grid-template-columns: 92px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .pf-avatar { width: 92px; height: 92px; flex-basis: 92px; grid-row: auto; font-size: 2.4rem; }
  .pf-hero__name { font-size: 1.12rem; }
  .pf-hero__bio { grid-column: 1 / -1; }
  .pf-primary { grid-template-columns: 1fr; }
  .pf-tile { min-height: 0; }
  .pf-subs { grid-template-columns: 1fr; }
  .pf-section__head { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .pf-density-toggle { width: 100%; min-height: 44px; justify-content: center; font-size: .78rem; touch-action: manipulation; }
  .pf-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-action { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pf-feed { padding: 14px 10px; }
  .pf-feed__scroll { height: clamp(30rem, 70dvh, 42rem); padding-right: 6px; scrollbar-gutter: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .pf *, .pf *::before, .pf *::after { transition: none !important; }
  .pf-sub.state-expired-recent .pf-sub__logo {
    animation: none !important;
    opacity: .65;
    filter: grayscale(.55);
  }
}

/* VIP details reuse the subscription states and the shared native dialog. */
.pf-vip-dialog { color: var(--pf-fg); background: var(--pf-surface); }
.pf-vip-dialog .media-dialog-content { height: 100%; box-sizing: border-box; overflow-y: auto; }
.pf-vip-details { overflow-wrap: anywhere; }
[data-first-purchase] { overflow-wrap: anywhere; }
[data-first-purchase] > .button { max-width: 100%; white-space: normal; text-align: center; padding-block: 10px; }
.pf-vip-details .button { max-width: 100%; white-space: normal; padding-block: 10px; text-align: center; }
.pf-vip-details__badge { margin: 0 auto 16px; }
.pf-vip-details dd { margin-inline-start: 0; }
[data-journey-recovery] { min-width: 0; overflow-wrap: anywhere; }
[data-journey-recovery] .pf-actions form { min-width: 0; max-width: 100%; }
[data-journey-recovery] .pf-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
[data-journey-recovery] .button { width: 100%; max-width: 100%; white-space: normal; overflow-wrap: anywhere; min-height: 44px; }
@media (min-width: 600px) {
  [data-journey-recovery] .pf-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pf [data-tour-target="vip-benefits"] { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
