/* Account settings page (/account, account.js). */
#content { display: grid; gap: 16px; max-width: 760px; }
/* Tabs and "to finish" chips, the same look as the Overview's (member-overview.css). */
.account-tabs { position: relative; justify-self: start; display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: #eef2f3; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs a { flex: 0 0 auto; padding: 8px 14px; border-radius: 9px; color: #4d5b5d; font-weight: 650; text-decoration: none; white-space: nowrap; }
.account-tabs a:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.account-tabs a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 1px 3px rgba(19, 48, 47, .12); }
.account-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.account-chips:empty { display: none; }
.account-chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border: 1px solid #dbe5ea; border-radius: 999px; background: #fff; color: #36484a; font-size: 14px; text-decoration: none; }
.account-chip b { color: #d23c3c; }
a.account-chip:hover { border-color: #8fc2bb; background: #f3faf9; }
.account-chip-calm { color: var(--green, #16835e); }
.account-chip-alert { border-color: #f0c36d; background: #fff8e8; color: #7a4b00; font-weight: 700; }
.account-panel { display: grid; gap: 16px; }
.account-panel[hidden] { display: none; }
/* Identity check and Download my records open below their card (account.js opensBelow). */
.account-inline { margin-top: 14px; padding-top: 14px; border-top: 1px solid #dbe5ea; display: grid; gap: 10px; }
.account-inline[hidden] { display: none; }
.account-inline-status { margin: 0; font-weight: 700; color: #0b6e69; }
.account-inline-status.is-error { color: #a3341f; }
.account-inline-status:empty { display: none; }
.account-inline .vi-card { margin: 0; }
/* The check keeps its own buttons, not the page's white card buttons (member-workspace.css). */
.account-page .card .account-inline .vi-btn { border: 0; border-radius: 13px; padding: 0 18px; background: #0b6e69; color: #fff; font-weight: 800; }
.account-page .card .account-inline .vi-btn.is-quiet { background: #eef5f4; color: #0b4f4b; }
.account-page .card .account-inline .vi-btn.is-danger { background: #a3341f; }
.account-page .card .account-inline .vi-btn.is-rec { background: #b42318; }
.account-page .card .account-inline .vi-tap { border: 0; border-radius: 13px; padding: 0 18px; background: #fff; color: #0b4f4b; }
.account-inline .zp-rent-card { margin: 0 0 12px; }
.account-inline .zp-rent-card h2 { font-size: 17px; margin: 0 0 6px; }
.account-inline .zp-rent-actions { display: grid; gap: 8px; }
.account-inline .zp-rent-small { margin: 4px 0; color: var(--muted, #536b68); font-size: 14px; }
.account-inline .zp-rec-row .primary-btn, .account-inline .zp-rec-row .outline-btn { justify-content: center; }
/* Download my records › Print: only the summary prints (my-records.js puts it in body > #report). */
body > #report { display: none; }
@media print {
  body.zp-print-records > :not(#report) { display: none !important; }
  body.zp-print-records > #report { display: block; }
}
.account-card { padding: 22px; margin: 0; }
.account-card h2 { margin: 0 0 4px; font-size: 20px; }
.account-card > .muted { margin: 0 0 14px; }
.account-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line, #dbe5ea); }
.account-row-label { color: var(--muted, #536b68); font-size: 13px; }
.account-row strong { overflow-wrap: anywhere; font-weight: 700; }
.account-row small { grid-column: 2 / -1; }
.account-row .text-btn, .account-row button { justify-self: end; }
.account-verified { color: #16835e; font-weight: 700; }
.account-field { display: grid; gap: 6px; margin: 0 0 12px; font-weight: 600; font-size: 14px; }
.account-field input { width: 100%; max-width: 420px; padding: 11px 12px; border: 1px solid #cad3d5; border-radius: 10px; font: inherit; }
.account-card .outline-btn, .account-card .primary-btn { display: inline-flex; margin-top: 6px; }
.account-danger summary { cursor: pointer; font-weight: 800; color: #b42318; font-size: 16px; }
.account-danger[open] summary { margin-bottom: 12px; }
.account-danger .danger-btn { background: #b42318; color: #fff; border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
  .account-tabs { justify-self: stretch; }
  .account-chip { font-size: 13px; padding: 6px 11px; }
}
@media (max-width: 640px) {
  .account-row { grid-template-columns: 1fr auto; }
  .account-row-label { grid-column: 1 / -1; }
  .account-row small { grid-column: 1 / -1; }
}
/* Account settings › Privacy switch. */
.account-switch { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 6px 0 10px; cursor: pointer; }
.account-switch input { width: 20px; height: 20px; accent-color: var(--brand); }

/* Who viewed you (/viewers): period buttons, numbers, a table and two lists. No charts. */
.views-period { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 0 0 10px; }
.views-preset { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; color: var(--ink); }
.views-preset.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.views-custom { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-left: auto; }
.views-date { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.views-date input { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font: inherit; color: var(--ink); }
.views-range { margin: 0 0 14px; font-size: 13px; }
.views-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.views-stat { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.views-stat b { font-size: 30px; line-height: 1.1; color: var(--brand-deep); }
.views-stat span { font-weight: 700; }
.views-stat small { color: var(--muted); }
.views-table { width: 100%; border-collapse: collapse; }
.views-table th, .views-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.views-table th:not(:first-child), .views-table td:not(:first-child) { text-align: right; width: 80px; font-variant-numeric: tabular-nums; }
.views-table td small { color: var(--muted); }
.views-table td { vertical-align: middle; }
.views-listing { display: flex; align-items: center; gap: 12px; min-width: 0; }
.views-listing > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.views-thumb { flex: none; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: #e3ecea; }
.views-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .views-thumb { width: 52px; height: 40px; } .views-listing { gap: 9px; } }
.views-person { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.views-person:last-child { border-bottom: 0; }
.views-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.views-person > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.views-person small { color: var(--muted); overflow-wrap: anywhere; }
/* View profile and Add to leads beside each named viewer; under the name on phones. */
.views-person > .views-person-actions { flex: 0 1 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 12px; }
.views-person-actions .small-btn { padding: 6px 12px; font-size: 14px; white-space: nowrap; }
.views-in-leads { color: var(--brand-deep); font-weight: 700; white-space: nowrap; text-decoration: none; }
.views-in-leads:hover { text-decoration: underline; }
.views-lead-listing { display: grid; gap: 4px; margin: 4px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.views-lead-listing select { max-width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
@media (max-width: 640px) {
  .views-person { flex-wrap: wrap; }
  .views-person > div:not(.views-person-actions) { flex-basis: calc(100% - 54px); }
  .views-person > .views-person-actions { flex-basis: 100%; justify-content: flex-start; padding-left: 54px; }
  .views-custom { margin-left: 0; width: 100%; }
  .views-stats { grid-template-columns: 1fr; }
  .views-stat { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; }
  .views-stat b { grid-row: span 2; }
}

/* Restricted or suspended account: what is limited, the review date and the appeal (account.js). */
.account-restriction { border: 1.5px solid #f0c36d; background: #fff8e8; border-radius: 16px; padding: 16px 18px; margin: 14px 0; display: grid; gap: 8px; color: #3d3218; }
.account-restriction h3 { margin: 0; font-size: 17px; }
.account-restriction p { margin: 0; }
.account-restriction label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.account-restriction textarea { font: inherit; border: 1px solid #d9c7a0; border-radius: 12px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.account-restriction .primary-btn { justify-self: start; }
.account-reports { display: grid; gap: 8px; }
.account-report { border: 1px solid #e3e6ea; border-radius: 12px; padding: 10px 14px; }
.account-report summary { cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }
.account-report textarea { width: 100%; box-sizing: border-box; margin: 10px 0 6px; font: inherit; }
.account-report .safety-report-check { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; }
.account-report label.safety-report-check { display: flex; flex-direction: row; }
.account-report label.safety-report-check input[type="checkbox"] { width: auto; margin: 0; flex: none; }
/* Sign in with Facebook (account.js): Facebook's blue for Sync, grey while it is coming soon. */
.account-card .account-facebook-sync { background: #1877f2; border-color: #1877f2; color: #fff; }
.account-card .account-facebook-soon:disabled { opacity: 1; color: #5c6f6b; background: #e9eeee; border-color: #e9eeee; cursor: not-allowed; }
