/**
 * My Account (renters): greeting, stay, saved homes, requests. Forms come from forms.css.
 */
.tf-account { display: grid; gap: 24px; }
.tf-account__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.tf-account__title { margin: 0; font-size: clamp(24px, 3vw, 30px); color: #0B2A5B; }
.tf-account__head .tf-muted { margin: 4px 0 0; }
.tf-account__head .tf-btn-row { margin: 0; }
.tf-account__block { padding: 22px 24px; border: 1px solid #E3E8F0; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(7, 31, 69, .06); }
.tf-account__block > h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 20px; color: #0B2A5B; }
.tf-account__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: #F4F6FA; color: #0B2A5B; font-size: 14px; }
.tf-account__block .tf-muted { margin: 0; }

.tf-account__stays { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.tf-stay { padding: 16px 18px; border-radius: 10px; background: #F4F6FA; border-left: 4px solid #F7B500; }
.tf-stay--completed { border-left-color: #D9DEE7; }
.tf-stay__home { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 700; color: #0B2A5B; }
.tf-stay__dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 10px; }
.tf-stay__dates dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #5B6676; }
.tf-stay__dates dd { margin: 2px 0 0; font-weight: 600; color: #1A2433; }
.tf-stay__alert { margin: 0 0 8px; color: #3D4A5C; }
.tf-stay p:last-child { margin-bottom: 0; }

.tf-account__requests { list-style: none; margin: 0; padding: 0; }
.tf-account__requests li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-top: 1px solid #EDF0F5; }
.tf-account__requests li:first-child { border-top: 0; padding-top: 0; }
.tf-account__ref { font-weight: 700; color: #0B2A5B; }
.tf-account__requests a { margin-left: auto; font-weight: 600; }
.tf-auth__owner { margin: 14px 0 0; font-size: 14px; }

/* Request and stay status pills (the base .tf-pill comes from forms.css) */
.tf-account .tf-pill--status-new { background: #E8EEF8; color: #0B2A5B; }
.tf-account .tf-pill--status-contacted { background: #EFE9FB; color: #5B3BA8; }
.tf-account .tf-pill--status-matching { background: #E2F0FD; color: #135FA3; }
.tf-account .tf-pill--status-placed { background: #E3F4E8; color: #1F7A3A; }
.tf-account .tf-pill--status-closed { background: #EEF1F6; color: #5B6676; }
.tf-account .tf-pill--placement-in_progress { background: #E2F0FD; color: #135FA3; }
.tf-account .tf-pill--placement-moved_in { background: #E3F4E8; color: #1F7A3A; }
.tf-account .tf-pill--placement-completed { background: #EEF1F6; color: #5B6676; }

/* Use the full page width (the page body is a narrow text column by default) */
.tf-prose:has(> .tf-account) { max-width: none; }
.tf-account__home { flex-basis: 100%; font-size: 15px; color: #3D4A5C; }
.tf-account__home a { margin-left: 0 !important; font-weight: 600; }
.tf-account .tf-pill--unread { background: #B42318; color: #fff; }
