/* profile.css — /profile (js/profile/page.js): My profile. The menu on the left, one section on the right.
   On phones the menu is a list and a section opens on its own ("‹ Profile" goes back). */
.pf-page { padding: 74px 20px 40px; max-width: 1180px; margin: 0 auto; }
.pf-app { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.pf-app[hidden] { display: none; }
.pf-nav { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 3px; }
.pf-h { margin: 6px 0 12px; font-size: 24px; }
.pf-nav a { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border-radius: 10px; color: var(--text) !important; text-decoration: none; font-size: 14px; border: 1px solid transparent; }
.pf-nav a:hover { border-color: var(--edge); }
.pf-nav a.on { background: rgba(124, 199, 255, 0.12); border-color: rgba(124, 199, 255, 0.35); font-weight: 700; }
.pf-ic { font-size: 16px; line-height: 1.25; }
.pf-lbl { flex: 1; min-width: 0; }
.pf-lbl small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-n { background: var(--warn); color: #2a1e00; border-radius: 9px; padding: 0 7px; font-size: 11px; font-weight: 700; align-self: center; }
.pf-private { margin: 14px 11px 0; line-height: 1.45; }
.pf-main { min-width: 0; }
.pf-back { display: none; }
.pf-card { border: 1px solid var(--edge); border-radius: 14px; padding: 18px 20px; background: rgba(255, 255, 255, 0.03); }
.pf-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 18px; flex-wrap: wrap; }
.pf-card h2 .sp, .pf-actions .sp, .pf-pp-t .sp, .pf-pp-acts .sp { flex: 1; }
.pf-card > p.dim { margin: 0 0 14px; font-size: 13px; max-width: 780px; }
.pf-sub { font-weight: 400; font-size: 14px; }
.pf-h3 { margin: 18px 0 6px; font-size: 14px; }
.pf-pagemsg { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(124, 199, 255, 0.4); background: rgba(124, 199, 255, 0.08); font-size: 13px; }
.pf-pagemsg[data-kind="bad"] { border-color: rgba(255, 138, 148, 0.55); background: rgba(255, 138, 148, 0.08); }
.pf-pagemsg[data-kind="warn"] { border-color: rgba(242, 193, 78, 0.6); background: rgba(242, 193, 78, 0.08); }
.pf-msg { font-size: 13px; margin-right: auto; }
.pf-msg[data-kind="bad"] { color: var(--bad); }
.pf-msg[data-kind="good"] { color: var(--good); }

/* forms */
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-content: start; }
.pf-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); min-width: 0; }
.pf-f .text-in { width: 100%; box-sizing: border-box; color: var(--text); }
.pf-f.mono .text-in, .text-in.mono, span.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.pf-f.ok .text-in { border-color: rgba(127, 224, 181, 0.7); }
.pf-f.bad .text-in, .pf-f.warn .text-in { border-color: rgba(242, 193, 78, 0.85); background: rgba(242, 193, 78, 0.08); }
.pf-f.pf-end { justify-content: flex-end; }
.s2 { grid-column: span 2; } .s4 { grid-column: 1 / -1; }
.pf-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pf-have { display: inline-flex; gap: 6px; align-items: center; color: var(--text); font-size: 13px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 38px; }
.pf-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 14px; background: rgba(124, 199, 255, 0.14); color: var(--text); font-size: 12.5px; }
.pf-ap-in { width: 210px !important; flex: none; }
.pf-seg { display: inline-flex; border: 1px solid var(--edge); border-radius: 9px; overflow: hidden; align-self: flex-start; }
.pf-seg button { background: transparent; color: var(--text); border: 0; border-radius: 0; padding: 7px 14px; font-weight: 400; }
.pf-seg button[aria-pressed="true"] { background: var(--accent); color: var(--night); font-weight: 700; }
.pf-pw { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--edge); }
.pf-pw h3 { margin: 0; font-size: 14px; color: var(--text); }

/* you */
.pf-me { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; align-items: start; }
.pf-me .pf-actions { grid-column: 1 / -1; justify-content: flex-end; }
.pf-photo { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 12.5px; }
.pf-from { margin-top: -16px; margin-left: 22px; padding: 1px 9px; border-radius: 10px; background: var(--pop-bg, #101C30); border: 1px solid var(--edge); font-size: 11px; color: var(--accent); font-weight: 700; z-index: 1; }
.pf-av { display: inline-grid; place-items: center; flex: none; border-radius: 22%; color: #fff; font-weight: 700; overflow: hidden; }
.pf-av img { width: 100%; height: 100%; object-fit: cover; }
.pf-av.xl { width: 124px; height: 124px; font-size: 40px; border-radius: 22px; }
.pf-av.sm { width: 34px; height: 34px; font-size: 13px; border-radius: 9px; }
.pf-av.xs { width: 22px; height: 22px; font-size: 9.5px; border-radius: 50%; }

/* rows (emails, programs, people) */
.pf-rows { display: flex; flex-direction: column; }
.pf-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--edge); font-size: 14px; flex-wrap: wrap; }
.pf-rows > .pf-row:first-child { border-top: 0; }
.pf-row.muted { opacity: .8; }
.pf-grow { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
.pf-grow small { color: var(--muted); font-size: 12px; }
.pf-add .text-in { flex: 1; max-width: 360px; }
.pf-tag { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 11px; font-size: 11.5px; font-weight: 700; background: rgba(150, 175, 210, 0.16); color: var(--text); white-space: nowrap; }
.pf-tag.good { background: rgba(127, 224, 181, 0.15); color: var(--good); }
.pf-tag.warn { background: rgba(242, 193, 78, 0.16); color: var(--warn); }
.pf-tag.bad { background: rgba(255, 138, 148, 0.16); color: var(--bad); }
.pf-tag.blue { background: rgba(124, 199, 255, 0.16); color: var(--accent); }
.pf-logo { width: 76px; height: 30px; flex: none; display: grid; place-items: center; padding: 3px 5px; box-sizing: border-box; border-radius: 7px; background: #fff; border: 1px solid rgba(150, 175, 210, 0.3); font-size: 15px; color: #33435c; font-weight: 700; }
.pf-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pf-logo.sm { width: 52px; height: 22px; padding: 2px 4px; font-size: 11px; border-radius: 5px; }
.pf-logo.none { background: transparent; border-color: transparent; }
.pf-alpick { position: relative; }
.pf-alpick[hidden], .pf-ff-prog[hidden] { display: none; }
.pf-al-btn { display: flex; align-items: center; gap: 9px; text-align: left; cursor: pointer; font: inherit; font-size: 14px; min-height: 38px; }
.pf-al-btn > span:not(.pf-logo):not(.pf-al-caret) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-al-btn .pf-al-caret { flex: none; color: var(--muted); font-size: 12px; }
.pf-al-list { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; min-width: 240px; margin: 4px 0 0; padding: 4px; list-style: none; max-height: 300px; overflow-y: auto; background: var(--night); background-image: linear-gradient(var(--panel), var(--panel)); border: 1px solid var(--edge); border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 30, 60, 0.18); }
.pf-al-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 7px; cursor: pointer; font-size: 14px; color: var(--text); outline: none; }
.pf-al-list li:hover, .pf-al-list li:focus { background: rgba(37, 99, 235, 0.1); }
.pf-al-list li[aria-selected="true"] { font-weight: 700; }
.pf-who { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.pf-who button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 5px; border-radius: 18px; border: 1px solid var(--edge); background: transparent; color: var(--text); font-weight: 400; font-size: 13px; }
.pf-who button.on { border-color: var(--accent); background: rgba(124, 199, 255, 0.12); font-weight: 700; }
.pf-ffform, .pf-famform { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 12px; padding: 12px; border: 1px solid var(--accent); border-radius: 12px; margin: 6px 0; }
.pf-famform { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* passports */
.pf-pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.pf-pp { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(255, 255, 255, 0.02); font-size: 13px; }
.pf-pp.warn { border-color: rgba(242, 193, 78, 0.7); background: rgba(242, 193, 78, 0.06); }
.pf-pp.bad { border-color: rgba(255, 138, 148, 0.7); background: rgba(255, 138, 148, 0.06); }
.pf-pp.edit { border-color: var(--accent); }
.pf-pp-t { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pf-flag { font-size: 20px; }
.pf-pp dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 2px 0 0; font-size: 12.5px; }
.pf-pp dt { color: var(--muted); } .pf-pp dd { margin: 0; }
.pf-note { margin: 2px 0 0; font-size: 12px; color: var(--warn); }
.pf-pp-acts { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.pf-scan { align-items: center; justify-content: center; text-align: center; border-style: dashed; border-width: 2px; min-height: 140px; }

/* the passport check dialog */
.pf-scan-dlg { width: min(900px, 96vw); }
.pf-scan-cols { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; margin-top: 10px; }
.pf-scan-side { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.pf-face { width: 150px; border-radius: 12px; border: 1px solid var(--edge); }
.pf-face.none { height: 120px; display: grid; place-items: center; color: var(--muted); }
.pf-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.pf-checks .ok { color: var(--good); } .pf-checks .bad { color: var(--warn); }
.pf-usephoto { display: flex; gap: 8px; align-items: flex-start; }
.pf-usephoto input { margin-top: 3px; }
.pf-lock { margin-right: auto; }

@media (max-width: 900px) {
  .pf-app { grid-template-columns: minmax(0, 1fr); }
  .pf-nav { position: static; }
  body.pf-open .pf-nav { display: none; }
  body:not(.pf-open) .pf-main { display: none; }
  .pf-back { display: block; margin: 0 0 10px; }
  .pf-grid, .pf-ffform, .pf-famform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-me, .pf-scan-cols { grid-template-columns: minmax(0, 1fr); }
  .pf-nav a { padding: 12px; border: 1px solid var(--edge); }
  .pf-nav a.on { background: transparent; border-color: var(--edge); font-weight: 400; }
}
@media (max-width: 520px) { .pf-grid, .pf-ffform, .pf-famform { grid-template-columns: minmax(0, 1fr); } .s2 { grid-column: auto; } }
/* Airline picker: two columns wide so full names fit */
.pf-ffform .pf-alpick { grid-column: span 2; }
.pf-al-list { min-width: max(100%, 260px); }
@media (max-width: 520px) { .pf-ffform .pf-alpick { grid-column: auto; } }

/* Scan: camera or upload */
.pf-scanmenu { position: absolute; z-index: 60; display: flex; flex-direction: column; gap: 2px; padding: 5px; width: 270px; background: var(--night); background-image: linear-gradient(var(--panel), var(--panel)); border: 1px solid var(--edge); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 30, 60, 0.2); }
.pf-scanmenu[hidden] { display: none; }
.pf-scanmenu button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: transparent; color: var(--text); border: 0; border-radius: 8px; padding: 9px 11px; font-size: 14px; font-weight: 700; cursor: pointer; }
.pf-scanmenu button:hover, .pf-scanmenu button:focus-visible { background: rgba(37, 99, 235, 0.1); }
.pf-scanmenu small { font-weight: 400; font-size: 12px; color: var(--muted); }

/* Scan with your phone (QR) */
.pf-phone-dlg { width: min(720px, 96vw); }
.pf-ph-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 10px; }
.pf-ph-qr { width: 250px; height: 250px; display: grid; place-items: center; background: #fff; border-radius: 14px; border: 1px solid var(--edge); padding: 10px; box-sizing: border-box; }
.pf-ph-qr svg { width: 100%; height: 100%; display: block; }
.pf-ph-gone { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #33435c; text-align: center; }
.pf-ph-how { margin: 0 0 14px; padding-left: 20px; line-height: 1.7; font-size: 14.5px; }
.pf-ph-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pf-ph-steps li { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); padding: 7px 10px; border-radius: 9px; }
.pf-ph-steps li > span { width: 18px; text-align: center; flex: none; }
.pf-ph-steps li.done { color: var(--good); }
.pf-ph-steps li.now { color: var(--text); font-weight: 700; background: rgba(37, 99, 235, 0.08); }
.pf-ph-steps li.warn { color: var(--warn); background: rgba(242, 193, 78, 0.12); }
.pf-retake { margin: 10px 0 0; font-size: 13px; color: var(--warn); }
@media (max-width: 640px) { .pf-ph-cols { grid-template-columns: minmax(0, 1fr); justify-items: center; } }

/* ---------- Sharing (js/profile/sharing.js) ---------- */
.pf-shr-block { margin: 14px 0 6px; }
.pf-shr-block h3 { margin: 0 0 8px; font-size: 15px; }
.pf-shr-person { border: 1px solid var(--edge); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.pf-shr-who { display: flex; align-items: center; gap: 10px; padding: 4px 0 8px; }
.pf-shr-who > div { flex: 1; min-width: 0; }
.pf-shr-av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #f472b6, #a855f7); color: #fff; font-weight: 700; }
.pf-shr-pill { font-size: 11px; font-weight: 700; border-radius: 10px; padding: 2px 9px; }
.pf-shr-pill.ok { background: rgba(127, 224, 181, 0.18); color: var(--good); } .pf-shr-pill.pend { background: rgba(242, 193, 78, 0.18); color: var(--warn); }
.pf-shr-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--edge); font-size: 13.5px; }
.pf-tg { flex: none; width: 42px; height: 24px; padding: 0; border: 0; border-radius: 12px; background: rgba(150, 175, 210, 0.35); position: relative; cursor: pointer; transition: background 0.15s; }
.pf-tg span { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 9px; background: #fff; transition: left 0.15s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.pf-tg.on { background: var(--accent); } .pf-tg.on span { left: 21px; }
.pf-tg.lock { opacity: 0.55; cursor: default; }
.pf-shr-foot { display: flex; justify-content: flex-end; padding-top: 8px; border-top: 1px solid var(--edge); }
.pf-shr-add { display: flex; gap: 8px; margin: 6px 0; }
.pf-shr-add .text-in { flex: 1; min-width: 0; }
.pf-shr-trip { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--edge); font-size: 13.5px; }
.pf-shr-msg { padding: 8px 12px; border-radius: 10px; background: rgba(124, 199, 255, 0.12); font-size: 13px; }
.pf-shr-msg[data-kind="bad"] { background: rgba(255, 138, 148, 0.15); color: var(--bad); }
.pf-shr-msg[data-kind="ok"] { background: rgba(127, 224, 181, 0.15); }
.pf-shr-dlg { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(6, 12, 22, 0.5); }
.pf-shr-box { width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; padding: 18px 20px; border-radius: 16px; background: var(--pop-bg, #101C30); border: 1px solid var(--edge); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); font-size: 13.5px; line-height: 1.5; }
.pf-shr-box h3 { margin: 0 0 8px; font-size: 17px; }
.pf-shr-note { margin: 10px 0; padding: 9px 12px; border-radius: 10px; background: rgba(167, 139, 250, 0.16); border: 1px solid rgba(167, 139, 250, 0.45); }
.pf-shr-warn { margin: 10px 0; padding: 9px 12px; border-radius: 10px; background: rgba(242, 193, 78, 0.14); border: 1px solid rgba(242, 193, 78, 0.45); }
.pf-shr-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.pf-shr-acts .danger-btn { background: #C53040; color: #fff; border-color: #C53040; }
.pf-shr-foot .danger { color: var(--bad); border-color: rgba(255, 138, 148, 0.5); }
/* Email & password: extra addresses confirmed with a code (trip inbox) */
.pf-em { flex-wrap: wrap; }
.pf-em.wait { border-left: 3px solid #E8A33A; }
.pf-code { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.pf-code .text-in { width: 140px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.pf-fwd-sw { margin-top: 12px; }

/* Buddies (profile/buddies.js) */
.bd-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--edge); }
.bd-row:first-of-type { border-top: 0; }
.bd-g { flex: 1; min-width: 0; }
.bd-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bd-av { background: linear-gradient(135deg, #1F6FD1, #7B5BE0); border-radius: 50%; }
.bd-dim { color: var(--muted); }
.bd-acts .danger-btn { background: #C53040; color: #fff; border-color: #C53040; }
.pf-shr-msg[data-kind="warn"] { background: rgba(242, 193, 78, 0.16); }

/* My profile → Account (profile/close-account.js): download my data, danger zone, goodbye */
.ca-box, .ca-danger { border: 1px solid var(--edge); border-radius: 12px; padding: 14px 16px; margin-top: 14px; max-width: 720px; }
.ca-box h3, .ca-danger h3 { margin: 0 0 6px; font-size: 15px; }
.ca-box p, .ca-danger p { margin: 0 0 10px; }
.ca-danger { border-color: rgba(255, 138, 148, 0.6); background: rgba(255, 138, 148, 0.05); }
.ca-danger h3 { color: var(--bad); }
.ca-list { margin: 0 0 10px; padding-left: 20px; font-size: 13px; columns: 2; column-gap: 24px; }
.ca-list li { margin: 2px 0; break-inside: avoid; }
.ca-warn { color: var(--warn); font-weight: 600; }
.ca-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-top: 6px; }
.ca-form .pf-f:nth-child(-n+2) { grid-column: 1 / -1; }
.ca-form textarea { resize: vertical; min-height: 52px; font: inherit; }
.ca-acts { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.ca-acts .danger-btn { background: #C53040; color: #fff; border-color: #C53040; }
.ca-acts .danger-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ca-bye { text-align: center; padding: 30px 10px; }
.ca-bye-ic { font-size: 44px; }
.ca-bye h2 { justify-content: center; }
.ca-bye .btn { display: inline-block; margin-top: 12px; padding: 9px 16px; border-radius: 10px; background: var(--accent, #2F7BE0); color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 640px) { .ca-form { grid-template-columns: 1fr; } .ca-list { columns: 1; } }
.pf-mailh { margin: 22px 0 8px; font-size: 14px; }
.pf-find-sw { margin-top: 18px; }
/* My profile → You: Alternate first names (bubbles like buddy chips) and labels with an ⓘ */
.pf-flbl { display: inline-flex; align-items: center; }
.pf-alt { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--edge); border-radius: 10px; padding: 5px 7px; min-height: 42px; }
.pf-alt:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 214, 0.15); }
.pf-alt-in { flex: 1; min-width: 140px; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 5px 4px !important; }
.pf-bub { display: inline-flex; align-items: center; gap: 7px; padding: 3px 4px 3px 3px; border: 1.5px solid var(--edge); border-radius: 22px; background: var(--panel); color: var(--text); font-size: 14px; }
.pf-bub-av { width: 26px; height: 26px; border-radius: 50%; color: #fff; font: 700 11px/26px sans-serif; text-align: center; flex: none; }
.pf-bub-x { border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; padding: 2px 6px; }
.pf-bub-x:hover { color: var(--bad); }
.pf-dup { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; padding: 7px 10px; border-radius: 10px; background: color-mix(in srgb, var(--warn) 12%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }
.pf-btn-sm { padding: 4px 11px; border-radius: 14px; border: 0; background: var(--accent); color: #fff; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.pf-dup b { display: inline; font-size: inherit; margin: 0; }
/* Family & travelers → From your trips (suggested family and travel companions) */
.pf-sug { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.pf-sug h3 { margin: 0 0 6px; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-sug-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--edge); }
.pf-sug-row:first-of-type { border-top: 0; }
.pf-sug-row .pf-grow small { display: block; color: var(--muted); font-size: 12px; }
.pf-sug-rel { width: auto; min-width: 140px; padding: 6px 8px; }
@media (max-width: 640px) { .pf-sug-row { flex-wrap: wrap; } .pf-sug-row .pf-grow { flex-basis: calc(100% - 50px); } .pf-sug-rel { flex: 1; } }
.pf-sug-row > .linkish { min-width: 92px; text-align: left; }
/* Family & travelers: on the site or not, and "Invite Jennifer to <site>?" right after adding someone */
.pf-memrow { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 3px; font-size: 12.5px; }
.pf-mem { color: var(--muted); }
.pf-mem.good { color: var(--good); font-weight: 600; }
.pf-ask { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); font-size: 13px; }
.pf-ask b { display: block; font-size: 13.5px; }
.pf-ask small { display: block; color: var(--muted); font-size: 12px; }
.pf-ask-btns { display: flex; gap: 10px; align-items: center; }
.pf-bub-auto { font-style: normal; font-size: 11px; color: var(--muted); background: rgba(124, 199, 255, 0.14); border-radius: 8px; padding: 1px 6px; }
