body {
    color: #111827;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
}

.body-content {
    min-height: 100vh;
}

.container {
    max-width: 1180px;
}

.rentwise-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 76px;
    background: #ffffff;
    border-bottom: 1px solid #eef0f5;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 22px;
    width: calc(100% - 48px);
    min-height: 76px;
    position: relative;
    max-width: 1680px;
    margin-right: auto;
    margin-left: auto;
}

.brand-lockup {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.brand-lockup:hover {
    color: #111827;
}

.brand-lockup b {
    color: #356dff;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-nav-toggle {
    display: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.mobile-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #4b5563;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.rentwise-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 8px;
    color: #5d6678;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.rentwise-nav .nav-link:hover,
.rentwise-nav .nav-link.active {
    color: #1768ff;
    background: #f3f6ff;
}

.nav-register {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(90deg, #1768ff, #a000f8);
    white-space: nowrap;
}

.utility-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
    min-width: 0;
}

.utility-link {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 9px;
    border-radius: 8px;
    color: #5d6678;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.utility-link:hover {
    color: #1768ff;
    background: #f8f9fd;
}

.nav-badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    color: #4b35c8;
    background: #eeeaff;
    font-size: 12px;
    font-weight: 900;
}

.alert-badge {
    color: #ffffff;
    background: #ef3b5d;
}

.profile-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    flex: 0 1 240px;
    max-width: 240px;
    min-width: 0;
    padding: 5px 11px 5px 5px;
    border: 1px solid #eceef3;
    border-radius: 999px;
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
}

.avatar-dot {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #1768ff, #a000f8);
    font-size: 13px;
    font-weight: 900;
}

.profile-name {
    min-width: 0;
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.signout-link {
    color: #7b8190 !important;
}

.figma-hero {
    color: #ffffff;
    background: linear-gradient(110deg, #165dff 0%, #6b45f5 48%, #a000f8 100%);
}

.hero-band {
    min-height: 540px;
    padding: 82px 0 76px;
    text-align: center;
}

.hero-band h1,
.login-hero h1 {
    max-width: 900px;
    margin: 0 auto 14px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-copy,
.lead-copy {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.6;
}

.search-panel,
.action-panel,
.insight-card,
.payment-panel,
.chat-panel,
.login-card {
    margin-top: 34px;
    padding: 28px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 18px 50px rgba(36, 42, 68, 0.12);
}

.transaction-arrangement-panel {
    display: grid;
    gap: 12px;
}

.transaction-arrangement-toggle {
    margin: 0;
}

.transaction-beneficiary-fields {
    display: none;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e7ebf3;
    border-radius: 8px;
    background: #fafbfe;
}

.transaction-beneficiary-fields.is-visible {
    display: grid;
}

.settings-beneficiary-fields {
    margin-top: 14px;
}

.figma-search {
    max-width: 780px;
    margin: 36px auto 0;
    text-align: left;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.field-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    max-width: none;
    min-height: 56px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    color: #111827;
    background: #f4f5f7;
}

input::placeholder,
textarea::placeholder {
    color: #818796;
}

textarea {
    min-height: 120px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 18px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 20px;
    border: 0;
    border-radius: 8px;
    color: #111827;
    background: #eceff4;
    font-weight: 700;
}

.filter-chip input {
    width: 16px;
    min-height: 16px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
}

.checkbox-row input,
.privacy-list input {
    width: 18px;
    min-height: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.btn-primary,
.ai-search-button {
    width: 100%;
    min-height: 58px;
    border: 0;
    background: linear-gradient(90deg, #1768ff, #a000f8);
}

.btn-primary:hover,
.ai-search-button:hover {
    background: linear-gradient(90deg, #0d55de, #8700dd);
}

.save-search-form {
    max-width: 780px;
    margin: 12px auto 0;
    text-align: center;
}

.save-search-form .btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.16);
}

.metrics-band {
    padding: 38px 0 28px;
    background: #ffffff;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.metrics-grid div {
    min-height: 132px;
    padding: 24px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    background: #ffffff;
}

.metric-icon {
    display: grid;
    place-items: center;
    position: relative;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 8px;
    font-weight: 900;
    overflow: hidden;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.metric-blue {
    color: #246bff;
    background: #e8f0ff;
}

.metric-purple {
    color: #9a1cff;
    background: #f2e6ff;
}

.metric-pink {
    color: #ed1085;
    background: #ffe8f5;
}

.metric-green {
    color: #18b45b;
    background: #e5f8ed;
}

.metrics-grid strong {
    display: block;
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
}

.metrics-grid span:last-child {
    display: block;
    margin-top: 10px;
    color: #777e8d;
}

.content-section {
    padding: 46px 15px;
}

.section-heading {
    margin-bottom: 20px;
}

.eyebrow {
    margin: 0 0 8px;
    color: #356dff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading h2,
.content-section h2 {
    margin-bottom: 14px;
    font-size: 28px;
    font-weight: 800;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.listing-card,
.management-panel,
.notification-item,
.review-item {
    padding: 20px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    background: #ffffff;
}

.listing-card h3 {
    margin: 12px 0 8px;
    font-size: 24px;
    font-weight: 800;
}

.card-topline,
.management-row,
.payment-panel div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.card-topline span {
    padding: 5px 9px;
    border-radius: 8px;
    background: #edf2ff;
    color: #246bff;
    font-weight: 800;
}

.listing-facts {
    display: grid;
    grid-template-columns: 90px 1fr;
    margin: 16px 0;
}

.listing-facts dt {
    color: #6b7280;
}

.listing-facts dd {
    margin: 0 0 7px;
    font-weight: 700;
}

.match-reason {
    color: #5a3df2;
    font-weight: 700;
}

.amenity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.amenity-row span {
    padding: 6px 10px;
    border: 1px solid #e1e5ee;
    border-radius: 8px;
    background: #f7f8fb;
    font-size: 14px;
    font-weight: 700;
}

.notification-band {
    padding: 44px 0;
    background: #f6f8ff;
}

.notification-list {
    display: grid;
    gap: 12px;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.unread-item {
    border-color: #bfccff;
    background: #f5f7ff;
}

.empty-state {
    padding: 30px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    background: #ffffff;
}

.page-lead {
    margin: 0 0 24px;
    color: #6b7280;
}

.card-actions,
.inbox-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.card-actions form {
    margin: 0;
}

.count-pill {
    padding: 6px 10px;
    border-radius: 8px;
    color: #244ed8;
    background: #e8f0ff;
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.map-panel {
    display: flex;
    gap: 18px;
    align-items: stretch;
    min-height: 190px;
    margin: 26px 0;
    padding: 22px;
    border: 1px solid #e1e5ee;
    border-radius: 8px;
    background: #f7f8ff;
}

.listing-photo-box {
    position: relative;
    overflow: hidden;
    margin: 24px 0 18px;
    border: 1px solid #e1e5ee;
    border-radius: 8px;
    background: #f7f8ff;
}

.listing-photo-stage,
.listing-photo-empty {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    background: #f3f6fb;
}

.listing-photo-empty {
    display: grid;
    place-items: center;
}

.listing-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center;
    background: #f3f6fb;
}

.listing-slide.is-active {
    display: block;
}

.listing-photo-empty {
    background: linear-gradient(135deg, #edf3ff, #f8f2ff);
    color: #667085;
    font-size: 18px;
    font-weight: 800;
}

.listing-photo-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    pointer-events: none;
}

.listing-photo-control {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.68);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    pointer-events: auto;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
}

.listing-photo-control:hover {
    background: rgba(17, 24, 39, 0.86);
}

.listing-photo-count {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.68);
    font-weight: 800;
    pointer-events: none;
}

.map-panel iframe,
.listing-live-map {
    flex: 0 0 320px;
    min-height: 220px;
    border-radius: 8px;
    background: #e5e7eb;
}

.map-panel iframe {
    border: 0;
}

.listing-live-map {
    overflow: hidden;
}

.map-panel > div:last-child {
    display: grid;
    gap: 8px;
    align-content: center;
}

.map-panel a {
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

.action-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 12px;
}

.action-panel .btn {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
}

.listing-sidebar-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    box-sizing: border-box;
    line-height: 58px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.action-panel strong {
    font-size: 24px;
}

.review-item {
    margin-bottom: 12px;
}

.rating-picker {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
}

.star-rating-title {
    color: #5d6678;
    font-size: 14px;
    font-weight: 700;
}

.star-rating-input {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin-top: 2px;
}

.star-choice {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: color 0.12s ease;
}

.star-choice.is-active,
.star-choice:hover {
    color: #f4b400;
}

.star-rating-label {
    color: #5d6678;
    font-size: 13px;
    font-weight: 700;
    min-height: 18px;
}

.owner-metrics {
    grid-template-columns: repeat(4, 1fr);
    margin: 22px 0;
}

.management-panel {
    margin-top: 20px;
}

.management-row {
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eceef3;
}

.management-row:first-of-type {
    border-top: 0;
}

.form-preview {
    display: grid;
    gap: 14px;
    max-width: none;
}

.owner-listing-form {
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid #eceef3;
}

.owner-listing-form:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.owner-listing-header {
    padding: 0 0 8px;
    border-top: 0;
}

.owner-listing-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.owner-listing-meta span {
    padding: 6px 10px;
    border-radius: 8px;
    background: #f3f6ff;
    color: #244ed8;
    font-weight: 800;
}

.owner-form-actions,
.owner-archive-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.owner-archive-form {
    margin: 10px 0 0;
}

.owner-toolbar {
    align-items: center;
}

.owner-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.owner-add-button {
    min-width: 160px;
}

.stats-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.owner-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owner-gallery-card .property-card-body {
    gap: 16px;
}

.owner-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.owner-card-actions .owner-archive-form {
    margin: 0;
}

.owner-archive-panel {
    margin-top: 28px;
}

.owner-archived-list {
    display: grid;
    gap: 12px;
}

.owner-archived-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #e8ebf2;
    border-radius: 8px;
    background: #fbfcff;
}

.owner-archived-row strong,
.owner-archived-row p,
.owner-archived-row span {
    display: block;
}

.owner-archived-row p {
    margin: 6px 0;
    color: #667085;
}

.owner-archived-row span {
    color: #7b8190;
    font-size: 14px;
    font-weight: 700;
}

.owner-archived-row .owner-archive-form {
    flex: 0 0 auto;
    margin: 0;
}

.owner-analytics-panel {
    margin-top: 28px;
}

.owner-analytics-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 22px;
}

.owner-analytics-chart {
    padding: 22px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fbfcff;
}

.owner-analytics-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
    color: #475467;
    font-weight: 700;
}

.analytics-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 999px;
}

.analytics-swatch-listing,
.analytics-bar-listing {
    background: linear-gradient(180deg, #1768ff, #4f88ff);
}

.analytics-swatch-profile,
.analytics-bar-profile {
    background: linear-gradient(180deg, #8b5cf6, #c084fc);
}

.owner-analytics-bars {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    min-height: 180px;
}

.analytics-day-group {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.analytics-day-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    min-height: 140px;
}

.analytics-bar {
    display: block;
    width: 18px;
    min-height: 10px;
    border-radius: 8px 8px 4px 4px;
}

.analytics-day-group small {
    color: #667085;
    font-weight: 700;
}

.owner-analytics-copy {
    display: grid;
    gap: 14px;
}

.analytics-insight-card {
    padding: 18px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #ffffff;
}

.analytics-insight-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.analytics-insight-card p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.owner-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 100;
}

.owner-modal.is-open {
    display: block;
}

.owner-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
}

.owner-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    overflow: auto;
    padding: 28px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.owner-modal-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.owner-modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.owner-modal-close {
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #475467;
    background: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.owner-modal-form {
    padding-top: 0;
    border-top: 0;
}

.listing-location-picker {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.location-picker-toolbar {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.location-picker-toolbar strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
}

.location-picker-toolbar p {
    margin: 0;
    color: #667085;
    line-height: 1.5;
}

.listing-map-canvas {
    min-height: 280px;
    border-radius: 8px;
    background: #dde7f5;
    overflow: hidden;
}

.location-picker-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.location-picker-actions .btn-primary {
    width: auto;
    min-height: 46px;
    padding: 0 18px;
}

.location-picker-hint {
    color: #667085;
    font-weight: 700;
}

.location-picker-hint.success {
    color: #0f9f57;
}

.location-metadata-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.location-metadata-item {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e7ebf3;
}

.location-metadata-label {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.map-api-warning {
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
}

.map-api-warning.is-hidden {
    display: none;
}

.owner-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

body.owner-modal-open {
    overflow: hidden;
}

.owner-info-panel {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e7ebf3;
    border-radius: 8px;
    background: #f8fafc;
}

.owner-info-panel small {
    color: #667085;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.owner-profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.owner-profile-summary-grid h2,
.owner-profile-summary-grid p {
    margin-top: 0;
}

.owner-profile-listings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.narrow-page {
    max-width: 780px;
}

.payment-panel,
.chat-panel,
.privacy-list,
.login-form {
    display: grid;
    gap: 16px;
}

.login-shell {
    background: #ffffff;
}

.login-hero {
    padding: 86px 0 120px;
    text-align: center;
}

.login-card-section {
    margin-top: 0;
}

.account-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 20px;
}

.user-avatar {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    overflow: hidden;
    border-radius: 50%;
    background: #175bd8;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    vertical-align: middle;
}

.user-avatar-large {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
    margin-bottom: 16px;
    font-size: 32px;
}

.user-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-form {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    min-width: 0;
    text-align: left;
}

.profile-photo-form input,
.profile-photo-form button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.profile-photo-form small {
    color: #526273;
    line-height: 1.5;
}

.profile-photo-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-photo-preview[hidden] { display: none; }
.profile-photo-remove { margin-top: 12px; }
.profile-photo-remove button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 8px; }

.password-requirements {
    display: block;
    color: #526273;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.availability-note {
    display: block;
    padding: 14px 0;
    color: #526273;
    text-align: center;
}

.login-card {
    max-width: 560px;
    margin: 0 auto;
}

.register-card {
    max-width: 620px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.verification-upload-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    background: #f8f9fd;
}

.verification-upload-panel h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
}

.verification-upload-panel p {
    margin: 0;
    color: #6b7280;
}

.camera-capture-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 6px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafbff;
}

.camera-capture-copy {
    display: grid;
    gap: 4px;
}

.camera-capture-copy strong {
    font-size: 16px;
    font-weight: 800;
}

.camera-capture-copy span {
    color: #667085;
    line-height: 1.5;
}

.camera-capture-stage {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111827;
}

.camera-preview,
.camera-preview-placeholder {
    width: 100%;
    min-height: 280px;
    border-radius: 8px;
}

.camera-preview {
    display: block;
    object-fit: cover;
    background: #111827;
}

.camera-preview.is-hidden {
    display: none;
}

.camera-preview-placeholder.is-hidden {
    display: none;
}

.camera-preview-placeholder {
    display: grid;
    place-items: center;
    padding: 24px;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    line-height: 1.6;
}

.camera-capture-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.camera-action-button {
    width: auto;
    min-height: 44px;
    padding: 0 18px;
}

.camera-action-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.camera-capture-status {
    margin: 0;
    color: #667085;
    font-weight: 700;
}

.verification-row {
    align-items: start;
}

.verification-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.verification-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #d8dcf0;
    border-radius: 8px;
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
}

.verification-actions {
    display: grid;
    gap: 10px;
    min-width: 260px;
}

.verification-actions form {
    display: grid;
    gap: 8px;
}

.login-card h2 {
    margin-bottom: 18px;
}

.auth-note {
    margin: 16px 0 0;
    color: #6b7280;
}

.auth-note a {
    color: #356dff;
    font-weight: 800;
}

.chat-bubble {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 8px;
}

.chat-bubble.owner {
    background: #edf2ff;
}

.chat-bubble.tenant {
    justify-self: end;
    background: #f2e6ff;
}

.privacy-list {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #eceef3;
    border-radius: 8px;
    background: #ffffff;
}

.privacy-list label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer {
    margin-top: 30px;
    padding: 26px 0;
    color: #6b7280;
    background: #ffffff;
    border-top: 1px solid #eceef3;
}

.status-message {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #bfccff;
    border-radius: 8px;
    background: #eef3ff;
    color: #244ed8;
    font-weight: 800;
}

.inline-edit-form {
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 0 0 16px;
    border-bottom: 1px solid #eceef3;
}

@media (max-width: 900px) {
    .nav-container {
        align-items: center;
        justify-content: space-between;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mobile-nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-content {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: auto;
        gap: 10px;
        padding: 16px;
        border: 1px solid #eceef3;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 18px 44px rgba(17, 24, 39, 0.14);
        z-index: 25;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, max-height 0.18s ease;
    }

    .rentwise-nav.nav-open .nav-content {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .main-nav,
    .utility-nav {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

    .rentwise-nav .nav-link,
    .utility-link,
    .profile-chip,
    .nav-register {
        justify-content: center;
        max-width: none;
    }

    .rentwise-nav .nav-link,
    .utility-link,
    .profile-chip,
    .nav-register {
        width: 100%;
    }

    .profile-chip {
        justify-content: center;
    }

    .rentwise-nav.nav-open .mobile-nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .rentwise-nav.nav-open .mobile-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .rentwise-nav.nav-open .mobile-nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero-band h1,
    .login-hero h1,
    .content-section h1 {
        font-size: 34px;
    }

    .search-grid,
    .listing-grid,
    .detail-layout,
    .metrics-grid,
    .owner-metrics,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .notification-item,
    .card-topline,
    .management-row,
    .payment-panel div,
    .inline-edit-form {
        display: grid;
    }

    .action-panel {
        position: static;
    }

    .map-panel {
        flex-direction: column;
    }

    .map-panel iframe,
    .listing-live-map {
        flex-basis: auto;
        width: 100%;
    }
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2,
.page-toolbar h1,
.page-toolbar h2,
.inbox-page h1,
.profile-page h1,
.faq-page h2,
.about-page h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.section-heading.centered-heading {
    text-align: center;
}

.page-lead {
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}

.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.page-toolbar-button,
.compact-button {
    width: auto;
    min-height: 44px;
    padding: 11px 18px;
}

.profile-page,
.favorites-page,
.notifications-page,
.inbox-page,
.faq-page,
.about-page {
    padding-top: 40px;
    padding-bottom: 56px;
}

.dashboard-shell {
    padding: 40px 0 60px;
    background: #f8fbff;
}

.dashboard-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.dashboard-header h1 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.dashboard-header .page-lead {
    margin: 0;
}

.dashboard-cta {
    width: auto;
    min-width: 210px;
    min-height: 56px;
    padding: 12px 24px;
    box-shadow: 0 14px 28px rgba(127, 46, 255, 0.18);
}

.dashboard-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.dashboard-stat-card {
    min-height: 182px;
    padding: 24px;
    border: 1px solid #e8ebf2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.dashboard-stat-card .metric-icon {
    margin-bottom: 18px;
    font-size: 0;
    line-height: 1;
}

.dashboard-icon-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    display: block;
    transform: translate(-50%, -50%);
}

.dashboard-stat-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.dashboard-stat-card span {
    display: block;
    color: #667085;
    font-size: 15px;
    font-weight: 700;
}

.dashboard-stat-card small {
    display: block;
    margin-top: 8px;
    color: #98a1b2;
    font-size: 14px;
    line-height: 1.5;
}

.dashboard-panel {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e8ebf2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.dashboard-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 60px;
    padding: 0 10px;
    border-bottom: 1px solid #edf0f5;
    overflow-x: auto;
}

.dashboard-tabs span,
.dashboard-tabs a,
.dashboard-tab-button {
    display: inline-flex;
    align-items: center;
    min-height: 60px;
    padding: 0 22px;
    border-bottom: 3px solid transparent;
    color: #5d6678;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-tab-button {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.dashboard-tab-button:hover,
.dashboard-tabs a:hover {
    color: #1768ff;
}

.dashboard-tabs .active {
    color: #1768ff;
    border-bottom-color: #1768ff;
}

.dashboard-panel > .top-pick-card,
.dashboard-panel > .dashboard-section {
    margin: 26px;
}

.dashboard-tab-panel {
    display: none;
    padding: 26px;
}

.dashboard-tab-panel.is-active {
    display: grid;
    gap: 26px;
}

.dashboard-tab-panel > .top-pick-card,
.dashboard-tab-panel > .dashboard-section {
    margin: 0;
}

.dashboard-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dashboard-card-actions form {
    margin: 0;
}

.btn-compact {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.dashboard-match-score {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dbe8ff;
    border-radius: 999px;
    color: #1768ff;
    background: #f7fbff;
    font-size: 13px;
    font-weight: 900;
}

.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-summary-card {
    min-height: 150px;
    padding: 20px;
    border: 1px solid #e8ebf2;
    border-radius: 8px;
    background: #ffffff;
}

.dashboard-summary-card span,
.dashboard-summary-card strong,
.dashboard-summary-card p {
    display: block;
}

.dashboard-summary-card span {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-summary-card strong {
    margin-top: 10px;
    color: #101828;
    font-size: 24px;
    font-weight: 900;
}

.dashboard-summary-card p {
    margin: 12px 0 0;
    color: #667085;
    line-height: 1.5;
}

.top-pick-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    padding: 26px;
    border-radius: 8px;
    color: #17212f;
    background: #f0f5ff;
    border: 1px solid #cfddf5;
    box-shadow: none;
}

.top-pick-copy {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 18px;
}

.top-pick-card .eyebrow {
    color: #2454a1;
    opacity: 0.95;
}

.top-pick-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-pick-main > div {
    min-width: 0;
}

.top-pick-thumb {
    display: grid;
    flex: 0 0 84px;
    place-items: center;
    width: 84px;
    height: 84px;
    overflow: hidden;
    border-radius: 8px;
    color: #2454a1;
    background: #dfe9fb;
    font-size: 13px;
    font-weight: 800;
}

.top-pick-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-pick-main h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
}

.top-pick-main p,
.top-pick-main strong {
    display: block;
    margin: 0;
}

.top-pick-main p {
    color: #526273;
    overflow-wrap: anywhere;
}

.top-pick-main strong {
    margin-top: 8px;
    font-size: 18px;
}

.top-pick-card .top-pick-button {
    width: 100%;
    min-height: 42px;
    color: #ffffff;
    border: 1px solid #175bd8;
    background: #175bd8;
}

.top-pick-card .top-pick-button:hover,
.top-pick-card .top-pick-button:focus {
    color: #ffffff;
    background: #1248ac;
}

.top-pick-score {
    display: grid;
    align-content: center;
    justify-items: center;
    min-width: 112px;
    text-align: center;
}

.top-pick-score strong {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 3px solid #95b5e7;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
}

.top-pick-score span {
    margin-top: 8px;
    color: #526273;
    font-weight: 700;
}

.dashboard-section {
    margin-top: 0;
}

.with-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.with-link h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.with-link a {
    color: #1768ff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.mini-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mini-listing-grid > .empty-state {
    grid-column: 1 / -1;
}

.mini-listing-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 114px;
    padding: 14px;
    border: 1px solid #e8ebf2;
    border-radius: 8px;
    background: #ffffff;
}

.mini-listing-thumb {
    display: grid;
    flex: 0 0 80px;
    place-items: center;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    color: #7b8190;
    background: linear-gradient(135deg, #edf3ff, #f7f1ff);
    font-size: 12px;
    font-weight: 800;
}

.mini-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-listing-copy {
    min-width: 0;
}

.mini-listing-copy strong,
.mini-listing-copy p,
.mini-listing-copy span {
    display: block;
}

.mini-listing-copy strong {
    margin-bottom: 4px;
    font-size: 17px;
}

.mini-listing-copy p {
    margin: 0 0 6px;
    color: #667085;
    line-height: 1.4;
}

.mini-listing-copy span {
    color: #245ff2;
    font-weight: 800;
}

.stacked-alerts {
    display: grid;
    gap: 12px;
}

.stacked-alert {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 86px;
    padding: 18px 20px;
    border: 1px solid #dbe8ff;
    border-radius: 8px;
    background: #f7fbff;
}

.stacked-alert strong,
.stacked-alert p,
.stacked-alert span {
    display: block;
}

.stacked-alert strong {
    margin-bottom: 6px;
    font-size: 16px;
}

.stacked-alert p {
    margin: 0;
    color: #667085;
    line-height: 1.5;
}

.stacked-alert > span {
    color: #98a1b2;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.profile-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
}

.profile-shell > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-sidebar-card,
.profile-main-card,
.faq-card,
.help-cta-card,
.conversation-list-panel,
.conversation-thread-panel,
.property-card,
.notification-card,
.stats-card,
.about-copy-card,
.feature-card,
.activity-panel,
.settings-card {
    border: 1px solid #e8ebf2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.profile-sidebar-card {
    padding: 28px;
    text-align: center;
}

.profile-avatar-large {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 44px;
    font-weight: 900;
    background: linear-gradient(135deg, #1768ff, #a000f8);
}

.profile-sidebar-name {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.profile-role-pill,
.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #356dff;
    background: #edf3ff;
    font-size: 13px;
    font-weight: 800;
}

.profile-meta-copy {
    margin: 12px 0 0;
    color: #818796;
}

.profile-main-card,
.settings-card {
    padding: 30px;
}

.detail-grid {
    display: grid;
    gap: 16px;
}

.detail-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 26px;
}

.detail-field {
    min-width: 0;
    overflow-wrap: anywhere;
    min-height: 84px;
    padding: 18px 20px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fafbfe;
}

.detail-field span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.detail-field strong {
    display: block;
    font-size: 18px;
    line-height: 1.4;
}

.settings-list {
    display: grid;
    gap: 14px;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 94px;
    padding: 18px 20px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fafbfe;
}

.setting-row span {
    display: block;
}

.setting-row strong,
.faq-item strong,
.feature-list strong {
    display: block;
    margin-bottom: 6px;
}

.setting-row small {
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.setting-row input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
}

.profile-save-button,
.help-cta-button,
.thread-send-button {
    margin-top: 22px;
}

.help-page .help-hero,
.about-page .about-hero,
.listings-page .listings-hero {
    min-height: 0;
}

.help-hero-inner,
.about-hero-inner {
    padding: 72px 0 64px;
    text-align: center;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.hero-inline-button {
    width: auto;
    min-height: 46px;
    padding: 12px 20px;
}

.btn-ghost-light,
.btn-light {
    border: 1px solid rgba(255, 255, 255, 0.46);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.btn-light:hover,
.btn-ghost-light:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
}

.faq-page {
    display: grid;
    gap: 22px;
}

.faq-card {
    padding: 28px;
}

.faq-card h2 {
    margin-bottom: 20px;
}

.faq-item + .faq-item {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #edf0f5;
}

.faq-item p,
.feature-list li,
.about-copy-card p,
.stacked-list li span {
    color: #667085;
    line-height: 1.7;
}

.help-cta-card {
    padding: 32px;
    text-align: center;
    background: linear-gradient(180deg, #f8fbff, #f6f1ff);
}

.help-cta-card p {
    max-width: 700px;
    margin: 0 auto;
    color: #667085;
}

.inbox-shell {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
}

.conversation-list-panel {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.conversation-thread-panel {
    display: flex;
    flex-direction: column;
    min-height: 760px;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.conversation-search-bar {
    padding: 18px;
    border-bottom: 1px solid #edf0f5;
}

.conversation-search-bar input {
    min-height: 48px;
    background: #ffffff;
    border: 1px solid #e7ebf3;
}

.conversation-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
    color: #111827;
    text-decoration: none;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #f0f2f7;
}

.conversation-row.active {
    border-left-color: #1768ff;
    background: #f7faff;
}

.conversation-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #1768ff, #a000f8);
    font-weight: 900;
}

.conversation-meta {
    min-width: 0;
}

.conversation-meta strong,
.conversation-meta small,
.conversation-meta span {
    display: block;
}

.conversation-meta small {
    color: #667085;
}

.conversation-meta span {
    overflow: hidden;
    color: #7b8190;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-time {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 8px;
}

.thread-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    border-bottom: 1px solid #edf0f5;
}

.thread-header h2 {
    margin: 0 0 6px;
    font-size: 26px;
}

.thread-header p {
    margin: 0;
    color: #667085;
}

.thread-listing-link {
    color: #1768ff;
    font-weight: 800;
    text-decoration: none;
}

.thread-header-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.thread-messages {
    display: grid;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 16px;
    flex: 1 1 auto;
    padding: 28px;
    background: #fbfcff;
}

.chat-bubble {
    max-width: 64%;
    min-width: 0;
    width: fit-content;
    align-self: start;
    overflow-wrap: anywhere;
    padding: 18px 20px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.chat-bubble p {
    white-space: pre-wrap;
    margin: 0 0 10px;
    line-height: 1.6;
}

.chat-bubble span {
    display: block;
    color: #7b8190;
    font-size: 12px;
}

.chat-bubble-other {
    background: #ffffff;
}

.chat-bubble-self {
    justify-self: end;
    color: #ffffff;
    background: linear-gradient(135deg, #1768ff, #2453f3);
}

.chat-bubble-self span {
    color: rgba(255, 255, 255, 0.78);
}

.thread-compose-form {
    padding: 22px 28px 28px;
    border-top: 1px solid #edf0f5;
    background: #ffffff;
}

.thread-compose-form textarea {
    min-height: 110px;
    background: #ffffff;
    border: 1px solid #e7ebf3;
}

.compact-empty-state {
    margin: 24px;
}

.notifications-page .notification-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
}

.summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid #e8ebf2;
    border-radius: 999px;
    background: #ffffff;
    font-weight: 800;
}

.summary-pill span {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    color: #356dff;
    background: #edf3ff;
    font-size: 12px;
}

.notification-section-block + .notification-section-block {
    margin-top: 26px;
}

.notification-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
}

.notification-card + .notification-card {
    margin-top: 14px;
}

.notification-card-unread {
    border-color: #d8e6ff;
    background: #fbfdff;
}

.notification-card-copy strong {
    display: block;
    margin-bottom: 6px;
    font-size: 19px;
}

.notification-card-copy p {
    margin: 0 0 8px;
    color: #667085;
    line-height: 1.6;
}

.notification-card-copy small,
.notification-card-meta span {
    color: #7b8190;
}

.notification-card-meta {
    display: grid;
    justify-items: end;
    gap: 10px;
    text-align: right;
}

.notification-card-meta a {
    color: #1768ff;
    font-weight: 800;
    text-decoration: none;
}

.favorites-page .property-card-grid,
.listings-page .property-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.property-card {
    position: relative;
    overflow: hidden;
}

.property-card-linkable {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.property-card-linkable:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(31, 41, 55, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.property-card-cover-link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    cursor: pointer;
}

.property-card-inline-link {
    position: relative;
    z-index: 4;
}

.property-card-media {
    position: relative;
    height: 238px;
    background: #f1f4fa;
}

.property-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-photo-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #667085;
    font-weight: 700;
    background: linear-gradient(135deg, #edf3ff, #f8f2ff);
}

.match-score-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    min-height: 42px;
    padding: 10px 12px;
    border: 3px solid #1768ff;
    border-radius: 999px;
    color: #1768ff;
    background: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.property-card-body {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.property-card-topline {
    display: grid;
    gap: 10px;
}

.property-card-topline h2 {
    margin: 0 0 6px;
    font-size: 28px;
}

.property-card-topline p,
.match-reason {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.property-price {
    color: #1768ff;
    font-size: 26px;
    line-height: 1.2;
}

.property-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #667085;
    font-size: 14px;
    font-weight: 700;
}

.amenity-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #5d6678;
    background: #f1f4f9;
    font-size: 13px;
    font-weight: 800;
}

.property-card-actions {
    display: flex;
    gap: 12px;
}

.property-card-compact .property-card-media {
    height: 224px;
}

.property-card-compact .property-card-topline h2 {
    font-size: 24px;
}

.inline-save-search-form {
    display: flex;
}

.listings-hero {
    padding: 68px 0 56px;
}

.listings-hero-copy {
    text-align: center;
    margin-bottom: 20px;
}

.listings-hero-copy h1 {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
}

.listings-search-form {
    max-width: 920px;
}

.about-stats-band {
    margin-top: -36px;
    position: relative;
}

.stats-grid {
    display: grid;
    gap: 18px;
}

.stats-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-card {
    min-height: 138px;
    padding: 24px;
    text-align: center;
}

.stats-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 34px;
}

.stats-card span {
    color: #667085;
    font-weight: 700;
}

.about-two-column {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 26px;
}

.about-copy-card,
.feature-card {
    padding: 28px;
}

.soft-card {
    background: #ffffff;
}

.feature-list,
.stacked-list {
    margin: 0;
    padding-left: 18px;
}

.feature-list li,
.stacked-list li {
    margin-bottom: 14px;
}

.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card h3,
.activity-column h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.feature-card p,
.activity-column p {
    margin: 0;
    color: #667085;
    line-height: 1.7;
}

.activity-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
}

.activity-column {
    padding: 28px;
}

.activity-column + .activity-column {
    border-left: 1px solid #edf0f5;
}

.activity-column .stacked-list li {
    margin-bottom: 16px;
}

.activity-column .stacked-list strong,
.activity-column .stacked-list span {
    display: block;
}

.security-alert-item,
.risk-item {
    border-left: 4px solid #d7def0;
    padding-left: 12px;
}

.security-alert-item.severity-high,
.risk-item.risk-high {
    border-left-color: #ef4444;
}

.security-alert-item.severity-medium,
.risk-item.risk-medium {
    border-left-color: #f59e0b;
}

.security-alert-item.severity-low,
.risk-item.risk-low {
    border-left-color: #3b82f6;
}

.admin-user-toolbar {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-tabbar {
    position: sticky;
    top: 76px;
    z-index: 8;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 22px 0 6px;
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.admin-tab-button {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #5d6678;
    background: transparent;
    font-weight: 800;
}

.admin-tab-button:hover,
.admin-tab-button.is-active {
    color: #1768ff;
    background: #f3f6ff;
}

.admin-tab-panel {
    display: none;
}

.admin-tab-panel.is-active {
    display: grid;
}

.activity-panel.admin-tab-panel.is-active {
    display: grid;
}

.admin-user-toolbar input,
.admin-user-toolbar select {
    min-height: 48px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.admin-user-toolbar input {
    flex: 1 1 auto;
}

.admin-user-toolbar select {
    flex: 0 0 180px;
}

.admin-user-table-wrap {
    overflow-x: auto;
    border: 1px solid #e8ebf2;
    border-radius: 8px;
}

.admin-user-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.admin-user-table th,
.admin-user-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #edf0f5;
    text-align: left;
    vertical-align: middle;
}

.admin-user-table th {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #fafbfe;
}

.admin-user-table td strong,
.admin-user-table td span {
    display: block;
}

.admin-user-table td span {
    color: #667085;
}

.admin-user-role,
.admin-user-status {
    display: inline-flex !important;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.admin-user-role.role-admin {
    color: #8b5cf6;
    background: #f3e8ff;
}

.admin-user-role.role-owner {
    color: #a000f8;
    background: #f7e8ff;
}

.admin-user-role.role-tenant {
    color: #1768ff;
    background: #eaf1ff;
}

.admin-user-status.status-active {
    color: #15803d;
    background: #dcfce7;
}

.admin-user-status.status-pending {
    color: #a16207;
    background: #fef3c7;
}

.admin-user-status.status-suspended {
    color: #b91c1c;
    background: #fee2e2;
}

.admin-user-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-user-actions form {
    margin: 0;
}

.danger-button {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff5f5;
}

.danger-button:hover {
    color: #991b1b;
    border-color: #fca5a5;
    background: #fee2e2;
}

.admin-listing-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #ffffff;
}

.admin-listing-card + .admin-listing-card {
    margin-top: 16px;
}

.admin-listing-header,
.admin-review-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-listing-header strong,
.admin-listing-header span,
.admin-review-row strong,
.admin-review-row span {
    display: block;
}

.admin-listing-header > div > strong {
    margin-bottom: 6px;
    font-size: 20px;
}

.admin-listing-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #1768ff;
    background: #edf3ff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-listing-status.status-pending-approval {
    color: #a16207;
    background: #fef3c7;
}

.admin-listing-status.status-rejected {
    color: #b91c1c;
    background: #fee2e2;
}

.admin-review-list {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
}

.admin-review-row {
    padding: 12px;
    border-radius: 8px;
    background: #fafbfe;
}

.admin-muted-copy {
    margin: 0;
    color: #667085;
}

.admin-setting-row {
    min-height: 78px;
}

@media (max-width: 1100px) {
    .favorites-page .property-card-grid,
    .listings-page .property-card-grid,
    .feature-card-grid,
    .stats-grid-4,
    .stats-grid-6,
    .detail-grid-2,
    .dashboard-metrics-grid,
    .mini-listing-grid,
    .dashboard-summary-grid,
    .owner-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-shell,
    .about-two-column,
    .activity-panel,
    .inbox-shell,
    .dashboard-header,
    .owner-analytics-layout,
    .owner-profile-summary-grid,
    .owner-profile-listings {
        grid-template-columns: 1fr;
    }

    .admin-user-toolbar {
        flex-direction: column;
    }

    .admin-user-toolbar select {
        flex-basis: auto;
    }

    .dashboard-header {
        display: grid;
        align-items: start;
    }

    .conversation-list-panel,
    .conversation-thread-panel {
        border-radius: 8px;
        border-left: 1px solid #e8ebf2;
    }
}

@media (max-width: 760px) {
    .page-toolbar,
    .hero-actions,
    .property-card-actions,
    .notification-card,
    .setting-row,
    .thread-header,
    .owner-modal-header,
    .owner-modal-actions,
    .owner-archived-row,
    .location-picker-toolbar,
    .location-picker-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .favorites-page .property-card-grid,
    .listings-page .property-card-grid,
    .feature-card-grid,
    .stats-grid-4,
    .stats-grid-6,
    .detail-grid-2,
    .dashboard-metrics-grid,
    .mini-listing-grid,
    .dashboard-summary-grid,
    .owner-gallery-grid {
        grid-template-columns: 1fr;
    }

    .chat-bubble {
        max-width: 100%;
    }

    .conversation-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .conversation-time {
        display: none;
    }

    .profile-page,
    .favorites-page,
    .notifications-page,
    .inbox-page,
    .faq-page,
    .about-page {
        padding-top: 24px;
    }

    .top-pick-card,
    .top-pick-main,
    .stacked-alert {
        flex-direction: column;
    }

    .location-metadata-grid {
        grid-template-columns: 1fr;
    }

    .top-pick-score {
        justify-items: start;
    }

    .owner-analytics-bars {
        gap: 10px;
    }

    .listing-filter-group,
    .listing-toggle-group {
        display: grid;
        align-items: stretch;
    }

    .owner-modal-dialog {
        width: calc(100vw - 20px);
        margin: 10px auto;
        padding: 20px;
    }
}

/* Production polish pass: calmer rental-app interface, less demo styling. */
:root {
    --rw-text: #182230;
    --rw-muted: #667085;
    --rw-soft: #f6f8fb;
    --rw-line: #e4e7ec;
    --rw-blue: #175cd3;
    --rw-blue-dark: #0b4bb3;
    --rw-green: #067647;
    --rw-red: #b42318;
    --rw-amber: #b54708;
}

body {
    color: var(--rw-text);
    background: #f7f8fa;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
}

.body-content {
    background: #f7f8fa;
}

.rentwise-nav {
    min-height: 64px;
    border-bottom: 1px solid var(--rw-line);
    box-shadow: none;
}

.nav-container {
    min-height: 64px;
}

.brand-lockup {
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
}

.brand-lockup b {
    color: var(--rw-blue);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.rentwise-nav .nav-link,
.utility-link {
    color: #475467;
    font-weight: 600;
}

.rentwise-nav .nav-link:hover,
.rentwise-nav .nav-link.active,
.utility-link:hover {
    color: var(--rw-blue);
    background: #eff4ff;
}

.nav-register {
    min-height: 38px;
    border-radius: 8px;
    background: var(--rw-blue);
    font-size: 14px;
    font-weight: 700;
}

.profile-chip {
    border-radius: 8px;
}

.avatar-dot {
    background: var(--rw-blue);
}

.content-section {
    padding: 34px 15px;
}

.app-page-heading h1,
.page-toolbar h1,
.content-section > h1 {
    margin: 0 0 8px;
    max-width: 760px;
    color: var(--rw-text);
    font-size: 32px;
    font-weight: 750;
    line-height: 1.18;
}

.page-lead,
.property-card-topline p,
.match-reason,
.admin-muted-copy,
.section-heading p,
.stats-card span {
    color: var(--rw-muted);
}

.eyebrow {
    color: var(--rw-blue);
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
}

.btn {
    gap: 7px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: none;
}

.btn .material-symbols-outlined,
.admin-tab-button .material-symbols-outlined {
    font-size: 18px;
}

.btn-primary,
.ai-search-button {
    color: #ffffff;
    border: 1px solid var(--rw-blue);
    background: var(--rw-blue);
}

.btn-primary:hover,
.ai-search-button:hover {
    color: #ffffff;
    background: var(--rw-blue-dark);
}

.btn-outline-dark {
    border: 1px solid #d0d5dd;
    color: #344054;
    background: #ffffff;
}

.btn-outline-dark:hover {
    border-color: #98a2b3;
    color: var(--rw-text);
    background: #f9fafb;
}

.compact-button {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 14px;
}

.search-panel,
.action-panel,
.insight-card,
.payment-panel,
.chat-panel,
.login-card,
.management-panel,
.stats-card,
.property-card,
.notification-item,
.review-item,
.empty-state {
    border: 1px solid var(--rw-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

input,
select,
textarea {
    min-height: 46px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: var(--rw-text);
}

input:focus,
select:focus,
textarea:focus {
    border-color: #84adff;
    box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.12);
    outline: none;
}

.listings-workspace-hero {
    padding: 34px 0 26px;
    border-bottom: 1px solid var(--rw-line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.listings-hero-copy {
    margin-bottom: 18px;
    text-align: left;
}

.listings-hero-copy h1 {
    margin: 0 0 8px;
    color: var(--rw-text);
}

.hero-copy,
.lead-copy {
    color: var(--rw-muted);
}

.app-search-panel {
    margin: 0;
    padding: 18px;
}

.search-grid {
    grid-template-columns: 1.1fr 0.75fr 1.2fr;
}

.chip-row {
    margin: 14px 0;
}

.filter-chip {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font-weight: 650;
}

.checkbox-row {
    color: #344054;
    font-weight: 650;
}

.ai-search-button {
    min-height: 48px;
}

.listings-results-section {
    padding-top: 28px;
}

.page-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.page-toolbar h2,
.section-heading h2,
.content-section h2 {
    color: var(--rw-text);
    font-size: 22px;
    font-weight: 750;
}

.favorites-page .property-card-grid,
.listings-page .property-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card {
    overflow: hidden;
}

.property-card-linkable:hover,
.property-card:hover {
    transform: none;
    border-color: #c7d7fe;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.property-card-media {
    height: 190px;
    background: #eef2f6;
}

.property-photo-fallback,
.listing-photo-empty {
    background: #eef2f6;
    color: #667085;
}

.match-score-badge {
    top: 12px;
    right: 12px;
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid #b2ddff;
    color: #175cd3;
    background: #eff8ff;
    font-size: 12px;
}

.property-card-body {
    gap: 12px;
    padding: 16px;
}

.property-card-topline h2,
.property-card-compact .property-card-topline h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.property-price {
    color: var(--rw-blue);
    font-size: 18px;
    font-weight: 750;
}

.property-card-meta {
    gap: 8px;
    font-size: 13px;
}

.amenity-chip {
    min-height: 30px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #f9fafb;
    color: #475467;
    font-size: 12px;
}

.property-card-actions {
    gap: 8px;
}

.property-card-actions .btn {
    flex: 1 1 auto;
}

.stats-grid {
    gap: 12px;
}

.stats-card {
    min-height: 104px;
    padding: 18px;
    text-align: left;
}

.stats-card strong {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 750;
}

.admin-console-page {
    max-width: 1280px;
}

.admin-console-header {
    margin-bottom: 16px;
}

.admin-tabbar {
    top: 64px;
    gap: 4px;
    margin: 16px 0;
    padding: 6px;
    border-radius: 8px;
    box-shadow: none;
}

.admin-tab-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #475467;
    font-weight: 700;
}

.admin-tab-button:hover,
.admin-tab-button.is-active {
    color: var(--rw-blue);
    background: #eff4ff;
}

.admin-tab-panel.is-active {
    display: block;
}

.activity-panel.admin-tab-panel.is-active {
    display: grid;
}

.admin-user-table-wrap {
    border-radius: 8px;
}

.admin-user-table th {
    background: #f9fafb;
    color: #475467;
    font-size: 12px;
}

.admin-user-table th,
.admin-user-table td {
    padding: 13px 14px;
}

.admin-listing-card {
    padding: 16px;
    border-radius: 8px;
    box-shadow: none;
}

.admin-listing-header > div > strong {
    font-size: 17px;
}

.admin-listing-status,
.admin-user-role,
.admin-user-status,
.count-pill {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 12px;
}

.admin-listing-status.status-open {
    color: #175cd3;
    background: #eff8ff;
}

.admin-listing-status.status-in-review {
    color: var(--rw-amber);
    background: #fffaeb;
}

.admin-listing-status.status-resolved {
    color: var(--rw-green);
    background: #ecfdf3;
}

.admin-user-actions {
    gap: 6px;
}

.danger-button {
    color: var(--rw-red);
    border-color: #fecdca;
    background: #fffbfa;
}

.owner-dashboard-page .page-toolbar h1 {
    font-size: 30px;
}

.owner-dashboard-stats .stats-card {
    min-height: 98px;
}

.owner-analytics-panel,
.owner-overview-panel,
.owner-archive-panel {
    padding: 20px;
}

.owner-analytics-chart {
    border-color: var(--rw-line);
    background: #ffffff;
}

.analytics-swatch-listing,
.analytics-bar-listing,
.analytics-swatch-profile,
.analytics-bar-profile {
    background: var(--rw-blue);
}

.analytics-bar-profile {
    opacity: 0.45;
}

.analytics-insight-card {
    border-color: var(--rw-line);
    background: #f9fafb;
}

.figma-hero {
    background: #ffffff;
    color: var(--rw-text);
}

.login-hero,
.help-page .help-hero,
.about-page .about-hero {
    min-height: 0;
    padding: 48px 0 24px;
    border-bottom: 1px solid var(--rw-line);
}

.login-hero .container,
.help-hero-inner,
.about-hero-inner {
    padding: 0;
}

.login-hero h1,
.hero-band h1 {
    color: var(--rw-text);
    font-size: 34px;
    font-weight: 750;
}

.login-card {
    margin-top: 22px;
    padding: 26px 28px;
}

.login-hero .container {
    padding-right: 16px;
    padding-left: 16px;
}

.login-card h1 {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.25;
}

@media (max-width: 1100px) {
    .favorites-page .property-card-grid,
    .listings-page .property-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .app-page-heading h1,
    .page-toolbar h1,
    .content-section > h1,
    .listings-hero-copy h1 {
        font-size: 26px;
    }

    .page-toolbar {
        display: grid;
    }

    .favorites-page .property-card-grid,
    .listings-page .property-card-grid {
        grid-template-columns: 1fr;
    }

    .property-card-media {
        height: 210px;
    }

    .admin-tabbar {
        position: static;
    }
}

/* Final UI polish pass for defense-ready density and hierarchy. */
.rentwise-nav {
    backdrop-filter: saturate(150%) blur(8px);
}

.listings-search-form {
    max-width: 920px;
}

.listings-search-form .ai-search-button {
    width: auto;
    min-width: 220px;
    padding-right: 24px;
    padding-left: 24px;
}

.listings-search-form .checkbox-row {
    display: inline-flex;
    margin: 4px 18px 0 0;
    vertical-align: middle;
}

.listings-results-section {
    padding-top: 24px;
}

.listings-page .property-card-grid {
    gap: 18px;
}

.property-card {
    border-color: #e6eaf0;
}

.property-card-media,
.property-card-compact .property-card-media {
    height: 168px;
}

.property-photo-fallback,
.listing-photo-empty {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(20, 184, 166, 0.10)),
        #f3f6fa;
    color: #475467;
}

.property-photo-fallback::before,
.listing-photo-empty::before {
    content: "home_work";
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border: 1px solid #d7e1f0;
    border-radius: 8px;
    color: #1768ff;
    background: rgba(255, 255, 255, 0.72);
    font-family: "Material Symbols Outlined";
    font-size: 28px;
    font-weight: normal;
    line-height: 1;
}

.property-card-body {
    min-height: 300px;
}

.property-card-actions {
    align-self: end;
}

@media (max-width: 760px) {
    .rentwise-nav {
        min-height: 66px;
    }

    .nav-container {
        min-height: 66px;
        width: calc(100% - 28px);
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .listings-workspace-hero {
        padding: 28px 0 24px;
    }

    .app-search-panel {
        padding: 16px;
    }

    .listings-search-form .ai-search-button {
        width: 100%;
        min-width: 0;
    }

    .listings-search-form .checkbox-row {
        display: flex;
        margin: 12px 0;
    }

    .property-card-media,
    .property-card-compact .property-card-media {
        height: 176px;
    }

    .property-card-body {
        min-height: 0;
    }
}
