:root {
    --pm-primary: #0f766e;
    --pm-primary-dark: #115e59;
    --pm-accent: #f59e0b;
    --pm-ink: #172033;
    --pm-muted: #667085;
    --pm-surface: #f7f9fc;
}

@media (max-width: 991.98px) {
    .account-property-create-page .property-create-hero { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .account-property-create-page .property-create-progress { width: 100%; justify-content: flex-end; }
}

@media (max-width: 767.98px) {
    .account-property-create-page .property-form-wrap { max-width: none; }
    .account-property-create-page .property-create-hero { padding: 1.05rem; }
    .account-property-create-page .property-create-progress { justify-content: flex-start; overflow-x: auto; padding-bottom: .2rem; }
    .account-property-create-page .property-entitlement { grid-template-columns: auto minmax(0,1fr); }
    .account-property-create-page .property-entitlement-usage { grid-column: 1 / -1; }
    .account-property-create-page .property-entitlement-usage > span { text-align: left; }
    .account-property-create-page .property-form-modern .form-section { padding: 1.05rem; }
    .account-property-create-page .property-form-actions { position: static; align-items: stretch; flex-direction: column-reverse; }
    .account-property-create-page .property-form-actions > div { align-items: stretch; flex-direction: column; }
    .account-property-create-page .property-form-actions > div > span { justify-content: center; }
    .account-property-create-page .property-form-actions .btn { width: 100%; min-height: 46px; }
}

@media (max-width: 430px) {
    .account-property-create-page .property-create-heading { align-items: flex-start; }
    .account-property-create-page .property-create-back { width: 38px; height: 38px; flex-basis: 38px; }
    .account-property-create-page .property-create-heading h1 { font-size: 1.3rem; }
    .account-property-create-page .property-create-heading p { font-size: .73rem; }
    .account-property-create-page .property-create-progress > i { width: 12px; }
    .account-property-create-page .property-create-progress span { font-size: .61rem; }
    .account-property-create-page .property-create-progress span b { width: 23px; height: 23px; }
    .account-property-create-page .property-form-section-heading { align-items: flex-start; }
    .account-property-create-page .property-form-section-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .account-property-create-page .property-photo-dropzone { min-height: 175px; padding: 1.1rem .8rem; }
}

/* Account navigation and owner/agent dashboard */
.account-nav {
    display: flex;
    align-items: center;
    gap: .45rem;
    max-width: 100%;
    padding: .4rem;
    overflow-x: auto;
    border: 1px solid #e3e9ed;
    border-radius: .9rem;
    background: rgba(255,255,255,.9);
    box-shadow: 0 4px 14px rgba(16,24,40,.035);
    scrollbar-width: none;
}
.account-nav::-webkit-scrollbar { display: none; }
.account-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 42px;
    flex: 0 0 auto;
    padding: .52rem .72rem;
    color: #475467;
    border: 1px solid transparent;
    border-radius: .65rem;
    font-size: .79rem;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.account-nav-link i { color: #667085; font-size: .95rem; }
.account-nav-link:hover { color: var(--pm-primary-dark); background: #f2f8f7; }
.account-nav-link:hover i { color: var(--pm-primary); }
.account-nav-link.is-active { color: var(--pm-primary-dark); border-color: #cce6e2; background: #e8f6f3; }
.account-nav-link.is-active i { color: var(--pm-primary); }
.account-nav-link .badge { font-size: .65rem; vertical-align: 1px; }
.account-nav-add { color: #fff; border-color: var(--pm-primary); background: var(--pm-primary); }
.account-nav-add i, .account-nav-add:hover { color: #fff; }
.account-nav-add:hover { border-color: var(--pm-primary-dark); background: var(--pm-primary-dark); }

.account-dashboard-page { background: #f8fafc; }
.account-dashboard-page .navbar { border-color: #e9eef1 !important; }
.account-dashboard-page .site-footer { margin-top: 0 !important; }
.account-dashboard-page .dashboard-shell { padding: 2rem 0 3.5rem; }
.account-dashboard-page .dashboard-shell > .container { max-width: 1280px; padding-right: 1.5rem; padding-left: 1.5rem; }
.dashboard-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 166px;
    margin-bottom: 1.25rem;
    padding: 1.65rem 1.8rem;
    overflow: hidden;
    color: #123b38;
    border: 1px solid #cee6e2;
    border-radius: 1rem;
    background: linear-gradient(118deg,#e9f8f5 0%,#f7fcfb 58%,#fff 100%);
    box-shadow: 0 7px 22px rgba(16,24,40,.045);
}
.dashboard-hero::before, .dashboard-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.dashboard-hero::before { top: -8rem; right: 4rem; width: 18rem; height: 18rem; border: 1px solid rgba(15,118,110,.1); }
.dashboard-hero::after { right: -3.6rem; bottom: -6.5rem; width: 15rem; height: 15rem; background: rgba(15,118,110,.055); }
.dashboard-hero-content, .dashboard-hero-cta { position: relative; z-index: 1; }
.dashboard-eyebrow, .dashboard-section-kicker { display: block; color: var(--pm-primary); font-size: .72rem; font-weight: 700; letter-spacing: .045em; line-height: 1.5; text-transform: uppercase; }
.dashboard-eyebrow { display: flex; align-items: center; gap: .42rem; margin-bottom: .42rem; }
.dashboard-hero h1 { margin: 0 0 .35rem; color: #172f32; font-size: clamp(1.55rem,2.35vw,1.85rem); font-weight: 700; line-height: 1.5; letter-spacing: -.012em; }
.dashboard-hero p { max-width: 700px; margin: 0; color: #52666a; font-size: .88rem; line-height: 1.75; }
.dashboard-hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; flex: 0 0 auto; padding: .58rem 1rem; border-radius: .72rem; font-size: .86rem; font-weight: 700; }

.dashboard-onboarding { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; padding: .9rem 1rem; border: 1px dashed #a8d2cc; border-radius: .85rem; background: #f6fcfb; }
.dashboard-onboarding-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: var(--pm-primary); border-radius: .7rem; background: #e1f3f0; }
.dashboard-onboarding div { display: grid; min-width: 0; }
.dashboard-onboarding strong { font-size: .9rem; }
.dashboard-onboarding span:not(.dashboard-onboarding-icon) { color: var(--pm-muted); font-size: .78rem; }
.dashboard-onboarding a { margin-left: auto; color: var(--pm-primary); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }

.dashboard-kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.dashboard-kpi-card { --dashboard-tone: var(--pm-primary); --dashboard-soft: #e8f6f3; position: relative; min-width: 0; min-height: 158px; padding: 1.15rem 1.2rem 1rem; overflow: hidden; border: 1px solid #e2e8ed; border-radius: 1rem; background: #fff; box-shadow: 0 6px 20px rgba(16,24,40,.04); }
.dashboard-kpi-card.dashboard-tone-green { --dashboard-tone: #168767; --dashboard-soft: #eaf8f2; }
.dashboard-kpi-card.dashboard-tone-blue { --dashboard-tone: #2563a8; --dashboard-soft: #edf4fb; }
.dashboard-kpi-card.dashboard-tone-cyan { --dashboard-tone: #087f8c; --dashboard-soft: #e9f7f8; }
.dashboard-kpi-top { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.dashboard-icon-tile { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: var(--dashboard-tone,var(--pm-primary)); border-radius: .68rem; background: var(--dashboard-soft,#e8f6f3); }
.dashboard-icon-tile i { font-size: 1.05rem; }
.dashboard-kpi-label { min-width: 0; color: #475467; font-size: .8rem; font-weight: 600; line-height: 1.55; }
.dashboard-kpi-value { display: block; color: #15242d; font-size: 1.78rem; font-weight: 700; line-height: 1.2; }
.dashboard-kpi-meta { display: block; margin-top: .22rem; color: #7a8795; font-size: .72rem; line-height: 1.55; }
.dashboard-kpi-accent { position: absolute; right: 1.2rem; bottom: 0; left: 1.2rem; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg,var(--dashboard-tone) 0%,color-mix(in srgb,var(--dashboard-tone) 15%,transparent) 72%,transparent 100%); }

.dashboard-analytics-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.7fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.dashboard-panel { min-width: 0; padding: 1.35rem; border: 1px solid #e2e8ed; border-radius: 1rem; background: #fff; box-shadow: 0 6px 20px rgba(16,24,40,.04); }
.dashboard-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.dashboard-panel-heading h2, .dashboard-plan-title h2 { margin: .12rem 0 0; color: #1d2939; font-size: 1.08rem; font-weight: 700; line-height: 1.55; }
.dashboard-panel-heading > a { margin-top: .2rem; color: var(--pm-primary); font-size: .76rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dashboard-panel-heading > a i, .dashboard-no-plan a i { margin-left: .2rem; transition: transform .18s ease; }
.dashboard-panel-heading > a:hover i, .dashboard-no-plan a:hover i { display: inline-block; transform: translateX(2px); }
.dashboard-panel-note { margin: -.65rem 0 1rem; color: var(--pm-muted); font-size: .76rem; line-height: 1.6; }

.dashboard-status-layout { display: grid; grid-template-columns: minmax(145px,.72fr) minmax(180px,1.15fr); align-items: center; gap: 2rem; min-height: 205px; }
.dashboard-donut { position: relative; display: grid; place-items: center; width: 158px; height: 158px; margin: 0 auto; border-radius: 50%; background: conic-gradient(#168767 0 var(--approved),#f0a52b var(--approved) var(--pending),#d9e1e8 var(--pending) 100%); }
.dashboard-donut::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #edf1f3; }
.dashboard-donut.is-empty { background: #e8edf1; }
.dashboard-donut-center { position: relative; z-index: 1; display: grid; text-align: center; }
.dashboard-donut-center strong { color: #172f32; font-size: 1.72rem; line-height: 1.2; }
.dashboard-donut-center span { color: var(--pm-muted); font-size: .7rem; }
.dashboard-status-list { display: grid; gap: .15rem; }
.dashboard-status-list > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; padding: .55rem .15rem; border-bottom: 1px solid #edf0f2; }
.dashboard-status-list > div:last-child { border-bottom: 0; }
.dashboard-status-name { display: flex; align-items: center; gap: .55rem; color: #52606d; font-size: .8rem; }
.dashboard-status-list strong { color: #1d2939; font-size: .94rem; }
.dashboard-status-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #d9e1e8; }
.dashboard-status-dot.is-approved { background: #168767; }
.dashboard-status-dot.is-pending { background: #f0a52b; }

.dashboard-attention-list { display: grid; gap: .55rem; }
.dashboard-attention-list > a { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: .72rem; min-height: 59px; padding: .5rem .55rem; color: inherit; border: 1px solid #edf0f2; border-radius: .75rem; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.dashboard-attention-list > a:hover { border-color: #cfe5e2; box-shadow: 0 6px 15px rgba(16,24,40,.055); transform: translateY(-1px); }
.dashboard-attention-list > a > i { color: #98a2b3; font-size: .85rem; }
.dashboard-attention-list > a > span:nth-child(2) { display: flex; align-items: baseline; gap: .55rem; min-width: 0; }
.dashboard-attention-list strong { color: #1d2939; font-size: 1.08rem; line-height: 1.2; }
.dashboard-attention-list small { color: #667085; font-size: .74rem; line-height: 1.55; }
.dashboard-action-icon { display: grid; place-items: center; width: 42px; height: 42px; color: #6d4cc3; border-radius: .66rem; background: #f2effb; }
.dashboard-action-icon.is-blue { color: #2563a8; background: #edf4fb; }
.dashboard-action-icon.is-amber { color: #a5610b; background: #fff5e5; }

.dashboard-pipeline-bars { display: grid; gap: .9rem; }
.dashboard-pipeline-label, .dashboard-usage-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .38rem; color: #52606d; font-size: .78rem; }
.dashboard-pipeline-label strong, .dashboard-usage-label strong { color: #1d2939; font-size: .82rem; }
.dashboard-pipeline-track, .dashboard-usage-track { height: 9px; overflow: hidden; border-radius: 99px; background: #edf1f3; }
.dashboard-pipeline-track span, .dashboard-usage-track span { display: block; min-width: 0; height: 100%; border-radius: inherit; background: var(--pm-primary); }
.dashboard-pipeline-track span.is-blue { background: #3d78b9; }
.dashboard-pipeline-track span.is-green { background: #2a9475; }
.dashboard-secondary-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #edf0f2; }
.dashboard-secondary-metrics > div { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .7rem; border-radius: .72rem; background: #f8fafb; }
.dashboard-secondary-metrics > div > i { color: var(--pm-primary); font-size: 1rem; }
.dashboard-secondary-metrics span { display: grid; min-width: 0; }
.dashboard-secondary-metrics strong { font-size: .95rem; line-height: 1.2; }
.dashboard-secondary-metrics small { color: var(--pm-muted); font-size: .68rem; line-height: 1.55; }

.dashboard-quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.dashboard-quick-grid a { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .65rem; min-height: 93px; padding: .8rem; color: #344054; border: 1px solid #e6ebee; border-radius: .75rem; background: #fbfcfd; font-size: .74rem; font-weight: 600; line-height: 1.55; text-decoration: none; transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease; }
.dashboard-quick-grid a i { display: grid; place-items: center; width: 32px; height: 32px; color: var(--pm-primary); border-radius: .56rem; background: #e8f6f3; font-size: .92rem; }
.dashboard-quick-grid a:hover { color: var(--pm-primary-dark); border-color: #cbe3df; background: #f6fbfa; transform: translateY(-1px); }

.dashboard-plan-usage { padding: 1.45rem; }
.dashboard-plan-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.dashboard-plan-title { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.dashboard-plan-title .dashboard-icon-tile { --dashboard-tone: var(--pm-primary); --dashboard-soft: #e8f6f3; width: 44px; height: 44px; flex-basis: 44px; }
.dashboard-plan-title p { margin: .12rem 0 0; color: var(--pm-muted); font-size: .73rem; }
.dashboard-plan-header .btn { min-height: 42px; padding: .48rem .82rem; border-radius: .68rem; font-size: .78rem; font-weight: 700; }
.dashboard-usage-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; margin-top: 1.25rem; padding-top: 1.2rem; border-top: 1px solid #edf0f2; }
.dashboard-usage-track { height: 10px; }
.dashboard-usage-track span { background: linear-gradient(90deg,var(--pm-primary),#2aa198); }
.dashboard-usage-track span.is-near-limit { background: linear-gradient(90deg,#d88717,#f0a52b); }
.dashboard-usage-item small { display: block; margin-top: .4rem; color: var(--pm-muted); font-size: .7rem; }
.dashboard-no-plan { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; color: var(--pm-muted); border-top: 1px solid #edf0f2; font-size: .78rem; }
.dashboard-no-plan a { color: var(--pm-primary); font-weight: 700; text-decoration: none; white-space: nowrap; }

@media (min-width: 768px) {
    .account-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .account-nav-link { flex: 0 0 auto; }
    .account-nav-add { margin-left: auto; }
}

@media (min-width: 992px) {
    .account-nav { gap: .2rem; }
    .account-nav-link {
        gap: .32rem;
        min-height: 40px;
        padding: .48rem .52rem;
        font-size: .74rem;
    }
    .account-nav-add { padding-right: .72rem; padding-left: .72rem; }
}

@media (max-width: 991.98px) {
    .dashboard-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dashboard-analytics-grid { grid-template-columns: 1fr; }
    .dashboard-property-status { order: 1; }
    .dashboard-action-panel { order: 2; }
    .dashboard-lead-pipeline { order: 3; }
    .dashboard-quick-actions { order: 4; }
}

@media (max-width: 767.98px) {
    .account-nav { margin-right: -.25rem; margin-left: -.25rem; border-radius: .78rem; }
    .account-nav-link { min-height: 42px; padding: .5rem .68rem; font-size: .77rem; }
    .account-dashboard-page .dashboard-shell { padding: 1rem 0 2.5rem; }
    .account-dashboard-page .dashboard-shell > .container { padding-right: 1rem; padding-left: 1rem; }
    .dashboard-hero { align-items: stretch; flex-direction: column; gap: 1rem; min-height: 0; padding: 1.25rem; }
    .dashboard-hero::before { right: -7rem; }
    .dashboard-hero h1 { font-size: 1.45rem; line-height: 1.55; }
    .dashboard-hero p { font-size: .82rem; }
    .dashboard-hero-cta { width: 100%; }
    .dashboard-onboarding { align-items: flex-start; flex-wrap: wrap; }
    .dashboard-onboarding a { width: 100%; margin-left: 57px; }
    .dashboard-kpi-grid { gap: .75rem; }
    .dashboard-kpi-card { min-height: 148px; padding: 1rem; }
    .dashboard-kpi-accent { right: 1rem; left: 1rem; }
    .dashboard-kpi-value { font-size: 1.62rem; }
    .dashboard-panel { padding: 1.1rem; }
    .dashboard-status-layout { min-height: 190px; }
    .dashboard-plan-header { align-items: stretch; flex-direction: column; gap: 1rem; }
    .dashboard-plan-header .btn { width: 100%; }
    .dashboard-usage-grid { grid-template-columns: 1fr; gap: 1.15rem; }
    .dashboard-no-plan { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
    .dashboard-eyebrow, .dashboard-section-kicker { font-size: .67rem; }
    .dashboard-kpi-card { min-height: 151px; }
    .dashboard-kpi-top { align-items: flex-start; flex-direction: column; gap: .45rem; margin-bottom: .45rem; }
    .dashboard-icon-tile { width: 34px; height: 34px; flex-basis: 34px; }
    .dashboard-kpi-label { font-size: .75rem; }
    .dashboard-kpi-meta { font-size: .67rem; }
    .dashboard-panel-heading { gap: .65rem; }
    .dashboard-panel-heading h2, .dashboard-plan-title h2 { font-size: 1rem; }
    .dashboard-panel-heading > a { font-size: .7rem; }
    .dashboard-status-layout { grid-template-columns: 120px minmax(0,1fr); gap: 1rem; }
    .dashboard-donut { width: 120px; height: 120px; }
    .dashboard-donut::after { inset: 12px; }
    .dashboard-donut-center strong { font-size: 1.42rem; }
    .dashboard-status-list > div { min-height: 42px; gap: .5rem; }
    .dashboard-status-name { gap: .4rem; font-size: .72rem; }
    .dashboard-status-list strong { font-size: .84rem; }
    .dashboard-attention-list > a { grid-template-columns: 40px minmax(0,1fr) auto; }
    .dashboard-attention-list > a > span:nth-child(2) { display: grid; gap: 0; }
    .dashboard-action-icon { width: 40px; height: 40px; }
    .dashboard-secondary-metrics { gap: .5rem; }
    .dashboard-secondary-metrics > div { padding: .62rem; }
    .dashboard-quick-grid { gap: .55rem; }
    .dashboard-quick-grid a { min-height: 90px; padding: .72rem; font-size: .7rem; }
    .dashboard-plan-title { align-items: flex-start; }
}

/* Shared owner/agent account control center */
.account-page { background: #f8fafc; }
.account-page .navbar { border-color: #e9eef1 !important; }
.account-page .site-footer { margin-top: 0 !important; }
.account-page .account-shell { min-height: 68vh; padding: 2rem 0 3.5rem; }
.account-page .account-shell > .container { max-width: 1280px; padding-right: 1.5rem; padding-left: 1.5rem; }
.account-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin: .2rem 0 1.4rem; }
.account-page-header h1 { margin: .15rem 0 .25rem; color: #172f32; font-size: clamp(1.55rem,2.2vw,1.85rem); font-weight: 700; line-height: 1.5; letter-spacing: -.012em; }
.account-page-header p { margin: 0; color: #667085; font-size: .86rem; line-height: 1.7; }
.account-page-header-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; flex: 0 0 auto; padding: .55rem .9rem; border-radius: .7rem; font-size: .82rem; font-weight: 700; }
.account-page-kicker { display: flex; align-items: center; gap: .4rem; color: var(--pm-primary); font-size: .7rem; font-weight: 700; letter-spacing: .045em; line-height: 1.5; text-transform: uppercase; }
.account-panel { min-width: 0; padding: 1.35rem; border: 1px solid #e2e8ed; border-radius: 1rem; background: #fff; box-shadow: 0 6px 20px rgba(16,24,40,.04); }
.account-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.account-panel-heading h2 { margin: .12rem 0 0; color: #1d2939; font-size: 1.08rem; font-weight: 700; line-height: 1.55; }
.account-panel-heading p { margin: .12rem 0 0; color: #667085; font-size: .74rem; }
.account-panel-heading > a { margin-top: .2rem; color: var(--pm-primary); font-size: .75rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.account-icon-tile { --account-tone: var(--pm-primary); --account-soft: #e8f6f3; display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; color: var(--account-tone); border-radius: .7rem; background: var(--account-soft); }
.account-alert { border-radius: .8rem; font-size: .8rem; }

.account-filter-panel { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.2rem; padding: .8rem; border: 1px solid #e1e7eb; border-radius: .9rem; background: #fff; box-shadow: 0 4px 14px rgba(16,24,40,.03); }
.account-filter-panel .form-control, .account-filter-panel .form-select { min-height: 43px; border-radius: .64rem; font-size: .79rem; }
.account-filter-panel .btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 43px; padding: .48rem .75rem; border-radius: .64rem; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.account-filter-label { display: flex; align-items: center; gap: .45rem; flex: 0 0 auto; color: #475467; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.account-filter-label i { color: var(--pm-primary); }
.account-search-field { position: relative; flex: 1 1 320px; }
.account-search-field > i { position: absolute; top: 50%; left: .82rem; z-index: 1; color: #98a2b3; transform: translateY(-50%); }
.account-search-field .form-control { padding-left: 2.35rem; }

.account-kpi-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; margin-bottom: 1.2rem; }
.account-kpi-card { --account-tone: var(--pm-primary); --account-soft: #e8f6f3; display: flex; align-items: center; gap: .8rem; min-width: 0; min-height: 94px; padding: 1rem; border: 1px solid #e2e8ed; border-radius: .9rem; background: #fff; box-shadow: 0 5px 16px rgba(16,24,40,.035); }
.account-kpi-card.is-green { --account-tone: #168767; --account-soft: #eaf8f2; }
.account-kpi-card.is-amber { --account-tone: #a5610b; --account-soft: #fff5e5; }
.account-kpi-card.is-purple { --account-tone: #6d4cc3; --account-soft: #f2effb; }
.account-kpi-card.is-rose { --account-tone: #ba4965; --account-soft: #fceef2; }
.account-kpi-card.is-blue { --account-tone: #2563a8; --account-soft: #edf4fb; }
.account-kpi-card > div { display: grid; min-width: 0; }
.account-kpi-card strong { color: #172f32; font-size: 1.55rem; line-height: 1.2; }
.account-kpi-card > div > span { margin-top: .16rem; color: #667085; font-size: .74rem; line-height: 1.55; }

.account-empty-state { display: flex; align-items: center; flex-direction: column; max-width: 720px; margin: 0 auto; padding: 3.2rem 1.5rem; color: #667085; text-align: center; border: 1px dashed #c8d5d9; border-radius: 1rem; background: #fff; box-shadow: 0 6px 18px rgba(16,24,40,.025); }
.account-empty-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: .9rem; color: var(--pm-primary); border-radius: 1rem; background: #e8f6f3; font-size: 1.35rem; }
.account-empty-icon.is-rose { color: #ba4965; background: #fceef2; }
.account-empty-state h2 { margin: 0 0 .35rem; color: #25313a; font-size: 1.08rem; font-weight: 700; }
.account-empty-state p { max-width: 510px; margin: 0 0 1rem; font-size: .8rem; line-height: 1.75; }
.account-empty-state .btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 43px; border-radius: .68rem; font-size: .8rem; font-weight: 700; }
.account-inline-empty { display: flex; align-items: center; gap: .85rem; padding: 1.1rem; border: 1px dashed #cdd8dc; border-radius: .85rem; background: #fafcfc; }
.account-inline-empty .account-empty-icon { width: 46px; height: 46px; flex: 0 0 46px; margin: 0; border-radius: .75rem; }
.account-inline-empty > div { display: grid; min-width: 0; }
.account-inline-empty strong { font-size: .84rem; }
.account-inline-empty > div span { color: #667085; font-size: .73rem; }
.account-inline-empty .btn { margin-left: auto; white-space: nowrap; }
.account-compact-empty, .account-chart-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 180px; color: #667085; text-align: center; }
.account-compact-empty > i, .account-chart-empty > i { margin-bottom: .5rem; color: #7bb8b2; font-size: 1.7rem; }
.account-compact-empty p { margin-bottom: .8rem; font-size: .8rem; }
.account-chart-empty strong { color: #344054; font-size: .86rem; }
.account-chart-empty span { max-width: 390px; margin-top: .25rem; font-size: .73rem; }

.account-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #e7ecef; border-radius: .8rem; }
.account-table { min-width: 720px; margin: 0; vertical-align: middle; }
.account-table > :not(caption) > * > * { padding: .8rem .85rem; border-color: #edf0f2; }
.account-table thead th { color: #667085; background: #f8fafb; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.account-table tbody td { color: #475467; font-size: .76rem; }
.account-table tbody tr:last-child td { border-bottom: 0; }
.account-table-primary { display: block; max-width: 330px; overflow-wrap: anywhere; color: #25313a; font-size: .8rem; font-weight: 700; text-decoration: none; }
.account-table-primary:hover { color: var(--pm-primary); }
.account-table-meta, .account-table-date { display: block; color: #7a8795; font-size: .68rem; }
.account-featured-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .45rem; color: #9a5b08; border-radius: 99px; background: #fff3d9; font-size: .65rem; font-weight: 700; white-space: nowrap; }
.account-reference { overflow-wrap: anywhere; color: #475467; font-size: .7rem; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; }

/* Analytics */
.account-analytics-page .analytics-range .form-select, .account-analytics-page .analytics-range .form-control { width: auto; flex: 1 1 150px; }
.account-analytics-page .analytics-range .form-select { max-width: 195px; }
.account-analytics-main-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(290px,.65fr); gap: 1.2rem; margin-bottom: 1.2rem; }
.account-range-badge { padding: .3rem .55rem; color: var(--pm-primary); border-radius: 99px; background: #eaf7f5; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.account-trend-panel .analytics-bars { min-height: 245px; padding-top: .6rem; }
.account-plan-name { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; padding: .75rem; border-radius: .75rem; background: #f6faf9; }
.account-plan-name > div { display: grid; }
.account-plan-name small, .account-plan-name span { color: #667085; font-size: .67rem; }
.account-plan-name strong { font-size: .9rem; }
.account-meter + .account-meter { margin-top: 1rem; }
.account-meter > div:first-child, .account-meter-heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .38rem; color: #52606d; font-size: .74rem; }
.account-meter > div strong, .account-meter-heading strong { color: #1d2939; font-size: .78rem; }
.account-progress { height: 9px; overflow: hidden; border-radius: 99px; background: #edf1f3; }
.account-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--pm-primary),#2aa198); }
.account-progress > span.is-near-limit { background: linear-gradient(90deg,#d88717,#f0a52b); }
.account-meter > small { display: block; margin-top: .35rem; color: #7a8795; font-size: .67rem; }

/* Property management */
.account-property-list { display: grid; gap: .9rem; }
.account-property-card { display: grid; grid-template-columns: 174px minmax(0,1fr) minmax(150px,auto); align-items: center; gap: 1rem; min-width: 0; padding: .9rem; border: 1px solid #e2e8ed; border-radius: 1rem; background: #fff; box-shadow: 0 5px 18px rgba(16,24,40,.035); }
.account-property-media { position: relative; height: 126px; overflow: hidden; border-radius: .78rem; background: #edf2f4; }
.account-property-media img, .account-property-placeholder { width: 100%; height: 100%; object-fit: cover; }
.account-property-placeholder { display: grid; place-items: center; color: #8da2a8; font-size: 1.5rem; }
.account-property-media .badge { position: absolute; top: .55rem; left: .55rem; font-size: .65rem; }
.account-property-content { min-width: 0; }
.account-property-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.account-listing-code { color: #7a8795; font-size: .68rem; }
.account-property-heading h2 { max-width: 590px; margin: .12rem 0 .42rem; overflow-wrap: anywhere; color: #1d2939; font-size: .96rem; font-weight: 700; line-height: 1.55; }
.account-property-price { flex: 0 0 auto; color: var(--pm-primary); font-size: .9rem; white-space: nowrap; }
.account-property-meta { display: flex; flex-wrap: wrap; gap: .35rem .85rem; color: #667085; font-size: .7rem; }
.account-property-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.account-property-meta i { color: #71908d; }
.account-property-notice { display: flex; align-items: flex-start; gap: .5rem; margin-top: .65rem; padding: .55rem .65rem; color: #9b3d2d; border-radius: .6rem; background: #fff3f0; font-size: .68rem; }
.account-property-notice span { display: grid; }
.account-property-actions { display: flex; align-items: stretch; justify-content: flex-end; flex-wrap: wrap; gap: .4rem; max-width: 240px; }
.account-property-actions form { display: contents; }
.account-property-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 39px; padding: .42rem .62rem; border-radius: .62rem; font-size: .7rem; font-weight: 700; }

/* Lead inbox */
.account-status-strip { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .55rem; margin-bottom: .9rem; }
.account-status-chip { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .4rem; min-width: 0; min-height: 46px; padding: .55rem .65rem; color: #52606d; border: 1px solid #e4e9ed; border-radius: .7rem; background: #fff; font-size: .68rem; text-decoration: none; }
.account-status-chip:hover, .account-status-chip.is-active { color: var(--pm-primary-dark); border-color: #bcdcd7; background: #f1faf8; }
.account-status-chip strong { color: #1d2939; font-size: .75rem; }
.account-status-indicator { width: 7px; height: 7px; border-radius: 50%; background: #8ca0ad; }
.account-status-indicator.is-new { background: #2563a8; }.account-status-indicator.is-viewed { background: #548aa8; }.account-status-indicator.is-contacted { background: #0f766e; }.account-status-indicator.is-qualified { background: #168767; }.account-status-indicator.is-closed { background: #667085; }.account-status-indicator.is-spam { background: #b5473c; }
.account-lead-filter .form-select { flex: 0 1 220px; }
.account-lead-list { display: grid; gap: .8rem; }
.account-lead-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 1rem; min-width: 0; padding: .9rem; border: 1px solid #e2e8ed; border-left: 3px solid transparent; border-radius: .9rem; background: #fff; box-shadow: 0 5px 17px rgba(16,24,40,.035); }
.account-lead-card.is-new { border-left-color: #2d71ae; background: linear-gradient(90deg,#f7fbff 0,#fff 18%); }
.account-lead-card.is-follow-up-due { border-left-color: #d98c1d; }
.account-lead-media { display: grid; place-items: center; width: 112px; height: 88px; overflow: hidden; color: var(--pm-primary); border-radius: .7rem; background: #edf6f4; }
.account-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.account-lead-content { min-width: 0; }
.account-lead-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.account-lead-top h2 { margin: .32rem 0 0; font-size: .88rem; font-weight: 700; }
.account-lead-top h2 a { color: #1d2939; text-decoration: none; }
.account-lead-top time { flex: 0 0 auto; color: #7a8795; font-size: .67rem; }
.account-lead-badges { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.account-due-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .45rem; color: #9a5b08; border-radius: 99px; background: #fff3d9; font-size: .63rem; font-weight: 700; }
.account-lead-property { display: inline-block; max-width: 680px; margin-top: .18rem; overflow-wrap: anywhere; color: var(--pm-primary); font-size: .73rem; font-weight: 600; text-decoration: none; }
.account-lead-meta { display: flex; flex-wrap: wrap; gap: .28rem .8rem; margin-top: .5rem; color: #667085; font-size: .67rem; }
.account-lead-meta span, .account-lead-meta a { display: inline-flex; align-items: center; gap: .25rem; color: inherit; text-decoration: none; }
.account-lead-message { margin: .6rem 0; color: #52606d; font-size: .74rem; line-height: 1.7; }
.account-lead-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .55rem; border-top: 1px solid #edf0f2; }
.account-lead-footer > span { display: inline-flex; align-items: center; gap: .3rem; color: var(--pm-primary); font-size: .67rem; }
.account-lead-footer .account-no-follow-up { color: #8a96a3; }
.account-lead-footer .btn { min-height: 38px; padding: .38rem .65rem; border-radius: .6rem; font-size: .7rem; font-weight: 700; }

/* Favorites */
.account-favorites-grid .property-card { border-color: #e2e8ed; box-shadow: 0 6px 20px rgba(16,24,40,.04); }
.account-favorites-grid .property-card:hover { transform: translateY(-2px); box-shadow: 0 11px 25px rgba(16,24,40,.075); }
.account-favorites-grid .property-card h3 { line-height: 1.55; }

/* Sent enquiries */
.account-sent-list { display: grid; gap: .85rem; }
.account-sent-card { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 1rem; min-width: 0; padding: 1rem; border: 1px solid #e2e8ed; border-radius: .95rem; background: #fff; box-shadow: 0 5px 17px rgba(16,24,40,.035); }
.account-sent-media { display: grid; place-items: center; width: 132px; height: 102px; overflow: hidden; color: var(--pm-primary); border-radius: .72rem; background: #edf6f4; }
.account-sent-media img { width: 100%; height: 100%; object-fit: cover; }
.account-sent-content { min-width: 0; }
.account-sent-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.account-sent-top h2 { margin: .35rem 0 0; overflow-wrap: anywhere; color: #1d2939; font-size: .9rem; font-weight: 700; line-height: 1.55; }
.account-sent-top time { flex: 0 0 auto; color: #7a8795; font-size: .67rem; }
.account-sent-meta { display: flex; flex-wrap: wrap; gap: .3rem .85rem; margin-top: .4rem; color: #667085; font-size: .68rem; }
.account-sent-meta span { display: inline-flex; align-items: center; gap: .28rem; }
.account-message-preview { display: flex; align-items: flex-start; gap: .55rem; margin-top: .65rem; padding: .65rem .72rem; color: #52606d; border-radius: .68rem; background: #f8fafb; }
.account-message-preview > i { color: #7ba6a1; }
.account-message-preview p { margin: 0; font-size: .73rem; line-height: 1.7; }
.account-sent-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .65rem; }
.account-sent-footer > span { color: #7a8795; font-size: .66rem; }
.account-sent-footer .btn { min-height: 38px; padding: .38rem .65rem; border-radius: .6rem; font-size: .7rem; font-weight: 700; }

/* Notifications */
.account-unread-count { color: var(--pm-primary); font-weight: 700; }
.account-notification-list { display: grid; gap: .65rem; }
.account-notification-card { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: flex-start; gap: .8rem; min-width: 0; padding: .9rem 1rem; border: 1px solid #e3e8ec; border-radius: .86rem; background: #fff; box-shadow: 0 4px 14px rgba(16,24,40,.03); }
.account-notification-card.is-unread { border-color: #c7e1dd; background: #f3faf8; }
.account-notification-card.is-read { box-shadow: none; }
.account-notification-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--pm-primary); border-radius: .72rem; background: #e3f3f0; }
.account-notification-card.is-read .account-notification-icon { color: #7b8995; background: #f0f3f5; }
.account-notification-content { min-width: 0; color: inherit; text-decoration: none; }
.account-notification-title { display: flex; align-items: center; gap: .55rem; }
.account-notification-title h2 { margin: 0; color: #25313a; font-size: .82rem; font-weight: 700; }
.account-notification-content p { margin: .2rem 0; color: #667085; font-size: .73rem; line-height: 1.65; }
.account-notification-content time { display: inline-flex; align-items: center; gap: .28rem; color: #87939f; font-size: .65rem; }
.account-new-label { display: inline-flex; align-items: center; gap: .25rem; color: var(--pm-primary); font-size: .62rem; font-weight: 700; }
.account-new-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--pm-primary); }
.account-notification-actions { display: flex; align-items: center; gap: .3rem; }
.account-notification-actions a, .account-notification-actions button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: #667085; border: 1px solid #e1e7ea; border-radius: .62rem; background: #fff; }
.account-notification-actions a:hover, .account-notification-actions button:hover { color: var(--pm-primary); border-color: #bfdbd7; }

/* Subscription */
.account-subscription-hero { position: relative; margin-bottom: 1.2rem; padding: 1.5rem; overflow: hidden; border: 1px solid #cce4e0; border-radius: 1rem; background: linear-gradient(120deg,#ecf9f6 0%,#fff 70%); box-shadow: 0 7px 22px rgba(16,24,40,.045); }
.account-subscription-hero::after { content: ""; position: absolute; right: -5rem; bottom: -8rem; width: 17rem; height: 17rem; border-radius: 50%; background: rgba(15,118,110,.045); }
.account-subscription-top, .account-subscription-meters { position: relative; z-index: 1; }
.account-subscription-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.account-current-plan { display: flex; align-items: center; gap: .9rem; }
.account-plan-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; color: #fff; border-radius: .85rem; background: var(--pm-primary); font-size: 1.2rem; }
.account-active-badge { display: inline-flex; align-items: center; gap: .3rem; color: #147354; font-size: .65rem; font-weight: 700; }
.account-active-badge i { width: 7px; height: 7px; border-radius: 50%; background: #18a06e; box-shadow: 0 0 0 3px rgba(24,160,110,.12); }
.account-current-plan h2 { margin: .12rem 0; color: #172f32; font-size: 1.38rem; font-weight: 700; }
.account-current-plan p { display: flex; align-items: center; gap: .35rem; margin: 0; color: #667085; font-size: .72rem; }
.account-subscription-top > .btn { min-height: 42px; border-radius: .68rem; font-size: .75rem; font-weight: 700; }
.account-subscription-meters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; margin-top: 1.35rem; padding-top: 1.2rem; border-top: 1px solid rgba(15,118,110,.12); }
.account-subscription-meter { padding: .1rem; }
.account-meter-heading span { display: inline-flex; align-items: center; gap: .35rem; }
.account-progress-lg { height: 10px; }
.account-subscription-meter small { display: block; margin-top: .38rem; color: #667085; font-size: .68rem; }
.account-no-subscription { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1rem; margin-bottom: 1.2rem; padding: 1.3rem; border: 1px dashed #b9d5d1; border-radius: 1rem; background: #fff; }
.account-no-subscription .account-empty-icon { width: 50px; height: 50px; margin: 0; }
.account-no-subscription h2 { margin: 0 0 .15rem; font-size: .95rem; font-weight: 700; }
.account-no-subscription p { margin: 0; color: #667085; font-size: .75rem; }
.account-history-grid { display: grid; gap: 1.2rem; }
.account-history-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--pm-primary); border-radius: .65rem; background: #e8f6f3; }
.account-subscription-table { min-width: 760px; }
.account-payment-table { min-width: 850px; }
.account-payment-reason { display: block; max-width: 240px; margin-top: .25rem; color: #b5473c; font-size: .65rem; line-height: 1.5; }

/* Account settings */
.settings-hero { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1.15rem; margin-bottom: 1.2rem; padding: 1.35rem 1.5rem; overflow: hidden; border: 1px solid #cce4e0; border-radius: 1rem; background: linear-gradient(118deg,#eaf8f5 0%,#fff 68%); box-shadow: 0 7px 22px rgba(16,24,40,.04); }
.settings-hero::after { content: ""; position: absolute; right: -4rem; bottom: -7rem; width: 16rem; height: 16rem; border-radius: 50%; background: rgba(15,118,110,.045); pointer-events: none; }
.settings-avatar-wrap { position: relative; z-index: 1; width: 82px; height: 82px; flex: 0 0 82px; }
.settings-avatar { display: grid; place-items: center; width: 82px; height: 82px; object-fit: cover; color: #fff; border: 4px solid #fff; border-radius: 50%; background: linear-gradient(135deg,var(--pm-primary),#2aa198); box-shadow: 0 5px 16px rgba(15,118,110,.18); font-size: 1.8rem; font-weight: 700; }
.settings-camera { position: absolute; right: -2px; bottom: 0; display: grid; place-items: center; width: 30px; height: 30px; color: #fff; border: 3px solid #fff; border-radius: 50%; background: var(--pm-primary); cursor: pointer; font-size: .72rem; }
.settings-identity { position: relative; z-index: 1; min-width: 0; }
.settings-identity h1 { margin: .18rem 0 .3rem; overflow-wrap: anywhere; color: #172f32; font-size: 1.45rem; font-weight: 700; line-height: 1.45; }
.settings-identity p { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .9rem; margin: 0; color: #667085; font-size: .72rem; }
.settings-identity p > span { display: inline-flex; align-items: center; gap: .32rem; }
.settings-role-badge { padding: .27rem .5rem; color: var(--pm-primary-dark); border-radius: 99px; background: #dff2ef; font-weight: 700; }
.settings-hero-status { position: relative; z-index: 1; display: flex; align-items: center; gap: .55rem; min-width: 150px; padding: .7rem .8rem; border: 1px solid #d9e8e5; border-radius: .75rem; background: rgba(255,255,255,.76); }
.settings-hero-status > i { color: #18916b; font-size: 1.05rem; }
.settings-hero-status span { display: grid; color: #667085; font-size: .64rem; }
.settings-hero-status strong { color: #25313a; font-size: .76rem; }
.settings-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.68fr); align-items: start; gap: 1.2rem; }
.settings-card { min-width: 0; padding: 1.35rem; border: 1px solid #e2e8ed; border-radius: 1rem; background: #fff; box-shadow: 0 6px 20px rgba(16,24,40,.04); }
.settings-card-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid #edf0f2; }
.settings-card-heading > div { min-width: 0; }
.settings-card-heading h2 { margin: 0; color: #1d2939; font-size: 1.04rem; font-weight: 700; line-height: 1.5; }
.settings-card-heading p { margin: .15rem 0 0; color: #667085; font-size: .7rem; line-height: 1.6; }
.settings-photo-field { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .75rem 1rem; margin-bottom: 1.15rem; padding: .9rem; border: 1px dashed #c9d8d9; border-radius: .8rem; background: #f8fbfb; }
.settings-photo-field .form-label { margin: 0 0 .12rem; font-size: .78rem; font-weight: 700; }
.settings-photo-field p { margin: 0; color: #7a8795; font-size: .66rem; }
.settings-photo-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.settings-photo-actions .btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 39px; padding: .4rem .65rem; border-radius: .62rem; font-size: .7rem; font-weight: 700; }
.settings-remove-photo { color: #667085; font-size: .66rem; cursor: pointer; }
.settings-remove-photo input { accent-color: var(--pm-primary); }
.settings-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.settings-field { min-width: 0; }
.settings-field-full { grid-column: 1 / -1; }
.settings-field > label { display: flex; align-items: center; gap: .35rem; margin-bottom: .38rem; color: #475467; font-size: .73rem; font-weight: 700; }
.settings-field > label i { color: var(--pm-primary); }
.settings-field > label b { color: #c2413b; }
.settings-field .form-control { min-height: 43px; padding: .56rem .7rem; border-color: #dfe6e9; border-radius: .66rem; color: #25313a; font-size: .78rem; }
.settings-field textarea.form-control { min-height: 88px; resize: vertical; line-height: 1.7; }
.settings-field .form-control:focus { border-color: #72b8b0; box-shadow: 0 0 0 .2rem rgba(15,118,110,.09); }
.settings-field > small { display: block; margin-top: .3rem; color: #7a8795; font-size: .63rem; line-height: 1.55; }
.settings-field .invalid-feedback { font-size: .66rem; }
.settings-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #edf0f2; }
.settings-form-footer > span { display: inline-flex; align-items: center; gap: .35rem; color: #7a8795; font-size: .65rem; }
.settings-form-footer > span i { color: var(--pm-primary); }
.settings-form-footer .btn, .settings-password-form > .btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 43px; padding: .5rem .85rem; border-radius: .68rem; font-size: .75rem; font-weight: 700; }
.settings-side { display: grid; gap: 1rem; scroll-margin-top: 7rem; }
.settings-security-icon { --account-tone: #6d4cc3; --account-soft: #f2effb; }
.settings-password-form { display: grid; gap: .9rem; }
.settings-password-control { position: relative; }
.settings-password-control .form-control { padding-right: 2.7rem; }
.settings-password-control button { position: absolute; top: 50%; right: .4rem; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #667085; border: 0; border-radius: .5rem; background: transparent; transform: translateY(-50%); }
.settings-password-control button:hover { color: var(--pm-primary); background: #edf7f5; }
.settings-password-control .form-control.is-invalid { padding-right: 4rem; background-position: right 2.65rem center; }
.settings-password-note { display: flex; align-items: flex-start; gap: .5rem; padding: .7rem; color: #667085; border-radius: .66rem; background: #f7f8fa; font-size: .65rem; line-height: 1.65; }
.settings-password-note i { color: #6d4cc3; }
.settings-password-note span { display: grid; }
.settings-password-note strong { color: #475467; }
.settings-account-summary { display: flex; align-items: center; gap: .75rem; padding: 1rem; }
.settings-account-summary > div { display: grid; min-width: 0; }
.settings-account-summary small { color: #7a8795; font-size: .64rem; }
.settings-account-summary strong { color: #25313a; font-size: .78rem; }
.settings-account-summary p { margin: .1rem 0 0; color: #98a2b3; font-size: .62rem; }

@media (max-width: 991.98px) {
    .settings-layout { grid-template-columns: 1fr; }
    .settings-side { grid-template-columns: minmax(0,1fr) minmax(230px,.55fr); }
    .account-analytics-main-grid { grid-template-columns: 1fr; }
    .account-status-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .account-property-card { grid-template-columns: 150px minmax(0,1fr); }
    .account-property-media { width: 150px; height: 116px; }
    .account-property-actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; padding-top: .75rem; border-top: 1px solid #edf0f2; }
}

@media (max-width: 767.98px) {
    .settings-hero { grid-template-columns: auto minmax(0,1fr); padding: 1.1rem; }
    .settings-hero-status { grid-column: 1 / -1; }
    .settings-side { grid-template-columns: 1fr; }
    .settings-card { padding: 1.05rem; }
    .settings-photo-field { grid-template-columns: 1fr; }
    .settings-photo-actions { justify-content: flex-start; }
    .settings-form-footer { align-items: stretch; flex-direction: column; }
    .settings-form-footer .btn { width: 100%; }
    .account-page .account-shell { padding: 1rem 0 2.5rem; }
    .account-page .account-shell > .container { padding-right: 1rem; padding-left: 1rem; }
    .account-page-header, .account-page-header-actions { align-items: stretch; flex-direction: column; gap: .85rem; margin-bottom: 1.1rem; }
    .account-page-header h1 { font-size: 1.45rem; }
    .account-page-header p { font-size: .8rem; }
    .account-page-header-actions .btn { width: 100%; }
    .account-filter-panel { align-items: stretch; flex-wrap: wrap; }
    .account-filter-label { width: 100%; }
    .account-filter-panel .form-control, .account-filter-panel .form-select, .account-analytics-page .analytics-range .form-select { width: auto; max-width: none; flex: 1 1 145px; }
    .account-filter-panel .btn { flex: 1 1 auto; }
    .account-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
    .account-kpi-card { align-items: flex-start; flex-direction: column; gap: .45rem; min-height: 130px; }
    .account-panel { padding: 1.05rem; }
    .account-inline-empty { align-items: flex-start; flex-wrap: wrap; }
    .account-inline-empty .btn { width: 100%; margin-left: 0; }
    .account-status-strip { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; }
    .account-status-strip::-webkit-scrollbar { display: none; }
    .account-status-chip { min-width: 128px; }
    .account-property-card { grid-template-columns: 112px minmax(0,1fr); align-items: start; gap: .8rem; padding: .8rem; }
    .account-property-media { width: 112px; height: 92px; }
    .account-property-heading { display: block; }
    .account-property-heading h2 { margin-bottom: .25rem; font-size: .86rem; }
    .account-property-price { display: block; margin-bottom: .4rem; font-size: .82rem; }
    .account-property-meta { gap: .2rem .6rem; }
    .account-property-actions .btn { min-height: 42px; }
    .account-lead-card { grid-template-columns: 86px minmax(0,1fr); gap: .75rem; padding: .8rem; }
    .account-lead-media { width: 86px; height: 72px; }
    .account-lead-top { display: block; }
    .account-lead-top time { display: block; margin-top: .25rem; }
    .account-lead-meta, .account-lead-message, .account-lead-footer { grid-column: 1 / -1; }
    .account-lead-footer { align-items: flex-start; flex-direction: column; }
    .account-lead-footer .btn { width: 100%; min-height: 42px; }
    .account-sent-card { grid-template-columns: 92px minmax(0,1fr); gap: .75rem; padding: .8rem; }
    .account-sent-media { width: 92px; height: 76px; }
    .account-sent-top { display: block; }
    .account-sent-top time { display: block; margin-top: .25rem; }
    .account-sent-meta, .account-message-preview, .account-sent-footer { grid-column: 1 / -1; }
    .account-sent-footer { align-items: flex-start; flex-direction: column; }
    .account-sent-footer .btn { width: 100%; min-height: 42px; }
    .account-notification-card { grid-template-columns: 42px minmax(0,1fr) auto; padding: .8rem; }
    .account-notification-icon { width: 42px; height: 42px; }
    .account-notification-actions { justify-content: flex-end; }
    .account-notification-actions a, .account-notification-actions button { width: 42px; height: 42px; }
    .account-subscription-top { align-items: stretch; flex-direction: column; }
    .account-subscription-top > .btn { width: 100%; }
    .account-subscription-meters { grid-template-columns: 1fr; gap: 1rem; }
    .account-no-subscription { grid-template-columns: auto minmax(0,1fr); }
    .account-no-subscription > .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 430px) {
    .settings-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .settings-avatar-wrap { width: 76px; height: 76px; }
    .settings-avatar { width: 76px; height: 76px; }
    .settings-identity p { justify-content: center; }
    .settings-hero-status { width: 100%; grid-column: auto; text-align: left; }
    .settings-fields { grid-template-columns: 1fr; gap: .85rem; }
    .settings-field-full { grid-column: auto; }
    .settings-photo-actions { align-items: stretch; flex-direction: column; }
    .settings-photo-actions .btn { width: 100%; justify-content: center; min-height: 44px; }
    .settings-form-footer > span { align-items: flex-start; }
    .account-kpi-card { padding: .85rem; }
    .account-kpi-card strong { font-size: 1.4rem; }
    .account-property-card, .account-lead-card, .account-sent-card { grid-template-columns: 1fr; }
    .account-property-media, .account-lead-media, .account-sent-media { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .account-property-media { max-height: 180px; }
    .account-property-actions { grid-column: auto; }
    .account-property-actions .btn, .account-property-actions form { flex: 1 1 calc(50% - .4rem); }
    .account-property-actions form .btn { width: 100%; }
    .account-lead-meta, .account-lead-message, .account-lead-footer, .account-sent-meta, .account-message-preview, .account-sent-footer { grid-column: auto; }
    .account-notification-title { align-items: flex-start; flex-direction: column; gap: .18rem; }
    .account-current-plan { align-items: flex-start; }
    .account-plan-icon { width: 46px; height: 46px; flex-basis: 46px; }
    .account-current-plan h2 { font-size: 1.15rem; }
    .account-trend-panel .analytics-bars { gap: 2px; overflow-x: hidden; }
    .account-trend-panel .analytics-bar-group { grid-template-columns: repeat(3,2px); min-width: 8px; flex: 1 1 8px; }
    .account-trend-panel .analytics-bar-group span { display: none; }
    .account-trend-panel .analytics-bar-group:nth-child(5n + 1) span { display: block; left: -10px; width: 30px; font-size: .58rem; }
}

* { font-family: "Noto Sans Myanmar", sans-serif; }
body { color: var(--pm-ink); background: #fff; line-height: 1.7; }
.navbar-brand { color: var(--pm-ink); font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; color: #fff; background: var(--pm-primary); border-radius: .8rem; }
.btn-primary { --bs-btn-bg: var(--pm-primary); --bs-btn-border-color: var(--pm-primary); --bs-btn-hover-bg: var(--pm-primary-dark); --bs-btn-hover-border-color: var(--pm-primary-dark); }
.btn-outline-primary { --bs-btn-color: var(--pm-primary); --bs-btn-border-color: var(--pm-primary); --bs-btn-hover-bg: var(--pm-primary); --bs-btn-hover-border-color: var(--pm-primary); }
.text-primary { color: var(--pm-primary) !important; }
.hero { position: relative; overflow: hidden; padding: 4rem 0 5rem; background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 55%, #fff7ed 100%); }
.hero::after { content: ""; position: absolute; right: -8rem; top: -8rem; width: 25rem; height: 25rem; border-radius: 50%; background: rgba(15, 118, 110, .08); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { max-width: 780px; font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.search-panel { background: rgba(255,255,255,.96); border: 1px solid rgba(15,118,110,.1); border-radius: 1.25rem; box-shadow: 0 20px 50px rgba(22, 32, 51, .1); }
.search-panel .row > * { min-width: 0; }
.form-control, .form-select { min-height: 48px; border-color: #d7dce4; border-radius: .7rem; }
.form-control:focus, .form-select:focus { border-color: var(--pm-primary); box-shadow: 0 0 0 .2rem rgba(15,118,110,.12); }
.section-space { padding: 4.5rem 0; }
.home-page .container { max-width: 1280px; }
.home-page .navbar { min-height: 64px; border-color: #edf0f2 !important; }
.home-page .navbar-brand { font-size: 1.02rem; letter-spacing: -.01em; }
.home-page .brand-mark { width: 2.35rem; height: 2.35rem; border-radius: .72rem; }
.home-page .navbar .nav-link { padding: .45rem .55rem; color: #475467; font-size: .9rem; line-height: 1.4; }
.home-page .navbar .btn { min-height: 38px; padding: .42rem .82rem; border-radius: .6rem; font-size: .88rem; line-height: 1.35; }
.home-page .hero { padding: 2.65rem 0 2.9rem; background: linear-gradient(125deg, #effcf8 0%, #f8fbfb 53%, #fffaf2 100%); }
.home-page .hero::after { right: -7.5rem; top: -10rem; width: 23rem; height: 23rem; background: rgba(15,118,110,.055); }
.home-page .hero-content { max-width: 1280px; }
.home-page .hero .badge { padding: .43rem .75rem !important; border-color: rgba(15,118,110,.16) !important; font-size: .8rem; font-weight: 600; }
.home-page .hero h1 { max-width: 920px; margin-bottom: 0; font-size: clamp(2.625rem, 3.2vw, 3.25rem); line-height: 1.36; letter-spacing: -.015em; overflow-wrap: normal; word-break: normal; }
.home-page .hero .lead { max-width: 780px; margin-top: .7rem !important; margin-bottom: 1.35rem !important; color: #667085 !important; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.75; }
.home-page .search-panel { padding: 1rem !important; border: 1px solid rgba(15,118,110,.13); border-radius: 1rem; box-shadow: 0 12px 30px rgba(16,24,40,.075); }
.home-page .search-panel .row { --bs-gutter-x: .7rem; --bs-gutter-y: .75rem; }
.home-page .search-panel .form-label { margin-bottom: .3rem; color: #475467; font-size: .82rem; line-height: 1.35; }
.home-page .search-panel .form-select, .home-page .search-panel .btn { min-height: 48px; font-size: .92rem; }
.home-page .search-panel .btn { border-radius: .7rem; font-weight: 700; }
.home-page .home-section { padding: 3.1rem 0; }
.home-page .home-featured-section { padding-top: 2.6rem; }
.home-page .home-section .text-primary.fw-semibold { font-size: .84rem; letter-spacing: .01em; }
.home-page .home-section h2 { font-size: clamp(1.75rem, 2vw, 2rem); line-height: 1.4; }
.home-page .property-card { border-radius: 1rem; box-shadow: 0 6px 20px rgba(16,24,40,.055); }
.home-page .property-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16,24,40,.09); }
.home-page .property-image, .home-page .property-placeholder { aspect-ratio: 16 / 10; }
.home-page .property-card h3 { font-size: 1.05rem; line-height: 1.5; }
.listing-page .container { max-width: 1280px; }
.listing-page .navbar { min-height: 64px; border-color: #edf0f2 !important; }
.listing-page .navbar-brand { font-size: 1.02rem; letter-spacing: -.01em; }
.listing-page .brand-mark { width: 2.35rem; height: 2.35rem; border-radius: .72rem; }
.listing-page .navbar .nav-link { padding: .45rem .55rem; color: #475467; font-size: .9rem; line-height: 1.4; }
.listing-page .navbar .btn { min-height: 38px; padding: .42rem .82rem; border-radius: .6rem; font-size: .88rem; line-height: 1.35; }
.listing-page .listing-shell { padding-top: 2.25rem !important; padding-bottom: 3.25rem !important; }
.listing-page .listing-filter-panel { padding: 1rem; border: 1px solid rgba(15,118,110,.13); border-radius: 1rem; box-shadow: 0 12px 30px rgba(16,24,40,.06); }
.listing-primary-grid { display: grid; grid-template-columns: minmax(220px,2fr) repeat(4,minmax(125px,1fr)) minmax(145px,.95fr); gap: .75rem; align-items: end; }
.listing-filter-panel .form-label { margin-bottom: .3rem; color: #475467; font-size: .82rem; font-weight: 600; line-height: 1.35; }
.listing-filter-panel .form-control, .listing-filter-panel .form-select, .listing-filter-panel .btn { min-height: 46px; border-radius: .7rem; font-size: .92rem; }
.listing-filter-panel .btn-primary { font-weight: 700; }
.listing-advanced { margin-top: .85rem; border-top: 1px solid #edf0f2; }
.listing-advanced summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem 0 .15rem; color: var(--pm-primary); cursor: pointer; font-size: .86rem; font-weight: 700; list-style: none; }
.listing-advanced summary::-webkit-details-marker { display: none; }
.listing-advanced summary i { transition: transform .18s ease; }
.listing-advanced[open] summary i { transform: rotate(180deg); }
.listing-advanced-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; padding-top: .85rem; }
.listing-reset { display: flex; align-items: end; }
.listing-reset .btn { display: inline-grid; place-items: center; color: #475467; border: 1px solid #e1e7ea; background: #f8fafb; }
.listing-page h1 { font-size: clamp(1.65rem,2vw,1.88rem); line-height: 1.42; }
.listing-page .property-card { border-radius: 1rem; box-shadow: 0 6px 20px rgba(16,24,40,.055); }
.listing-page .property-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16,24,40,.09); }
.listing-page .property-card h3 { font-size: 1.05rem; line-height: 1.5; }
.listing-page .pagination .page-link { color: var(--pm-primary); border-color: #e1e7ea; }
.listing-page .pagination .active .page-link { color: #fff; background: var(--pm-primary); border-color: var(--pm-primary); }
@media (min-width: 768px) and (max-width: 991.98px) {
    .listing-primary-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .listing-primary-grid .listing-keyword { grid-column: span 2; }
    .listing-primary-grid .listing-filter-actions { grid-column: span 3; }
    .listing-advanced-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.section-soft { background: var(--pm-surface); }
.property-card { overflow: hidden; height: 100%; border: 1px solid #eaecf0; border-radius: 1rem; box-shadow: 0 8px 26px rgba(16,24,40,.06); transition: transform .2s, box-shadow .2s; }
.property-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(16,24,40,.1); }
.property-image { aspect-ratio: 16/10; object-fit: cover; background: #e9eef3; }
.property-placeholder { display: grid; place-items: center; aspect-ratio: 16/10; color: #98a2b3; background: linear-gradient(135deg, #edf2f7, #e4e9ef); font-size: 2rem; }
.property-card-badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-wrap: wrap; gap: .4rem; max-width: calc(100% - 4.5rem); }
.featured-badge, .verified-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .55rem; border-radius: 2rem; font-size: .72rem; font-weight: 700; line-height: 1.2; }
.featured-badge { color: #7c2d12; background: #ffedd5; border: 1px solid #fed7aa; }
.verified-badge { color: #075985; background: #e0f2fe; border: 1px solid #bae6fd; }
.favorite-button { position: absolute; top: .7rem; right: .7rem; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; padding: 0; color: #475467; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 5px 18px rgba(16,24,40,.15); text-decoration: none; }
.favorite-button:hover, .favorite-button.is-favorite { color: #dc2626; background: #fff; }
.agent-avatar { width: 64px; height: 64px; flex: 0 0 auto; object-fit: cover; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 5px 18px rgba(16,24,40,.12); }
.agent-avatar-lg { width: 128px; height: 128px; font-size: 2.2rem; }
.agent-avatar-placeholder { display: grid; place-items: center; color: var(--pm-primary); background: #e9f7f5; }
.agent-profile-hero { border: 1px solid #e7ebf0; }
.pricing-card { display: flex; flex-direction: column; padding: 2rem; border: 1px solid #e3e8ef; border-radius: 1.25rem; background: #fff; box-shadow: 0 10px 30px rgba(16,24,40,.06); }
.pricing-price { margin-top: 1rem; color: var(--pm-primary); font-size: 2rem; font-weight: 700; }
.pricing-benefits { display: grid; gap: .7rem; margin-bottom: 1.5rem; }.pricing-benefits i { margin-right: .4rem; color: var(--pm-primary); }
.packages-page .container { max-width: 1280px; }
.packages-page .navbar { min-height: 64px; padding-top: .55rem; padding-bottom: .55rem; }
.packages-page .navbar-nav .nav-link { font-size: .925rem; }
.packages-page .packages-shell { padding-top: 2.45rem; padding-bottom: 3.5rem; }
.packages-page .packages-intro { max-width: 780px; margin-bottom: 2.35rem; }
.packages-page .packages-intro > span { font-size: .84rem; letter-spacing: .025em; }
.packages-page .packages-intro h1 { margin-bottom: .7rem; font-size: clamp(1.8rem,2.2vw,2.125rem); line-height: 1.4; letter-spacing: -.012em; }
.packages-page .packages-intro p { max-width: 680px; margin: 0 auto; font-size: 1rem; line-height: 1.75; }
.packages-page .packages-grid { max-width: 1180px; margin-right: auto; margin-left: auto; }
.packages-page .package-card { padding: 1.8rem; border: 1px solid #e2e8ef; border-radius: 1.05rem; box-shadow: 0 7px 22px rgba(23,57,74,.07); transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.packages-page .package-card:hover { transform: translateY(-3px); border-color: rgba(13,148,136,.28); box-shadow: 0 13px 30px rgba(23,57,74,.11); }
.packages-page .package-card h2 { margin-bottom: .45rem; color: #17394a; font-size: 1.35rem; line-height: 1.5; }
.packages-page .pricing-price { margin-top: .25rem; font-size: 2rem; line-height: 1.3; }
.packages-page .package-duration { margin-top: .25rem; font-size: .9rem; }
.packages-page .pricing-divider { height: 1px; margin: 1.25rem 0; background: #e8edf1; }
.packages-page .pricing-benefits { gap: .75rem; margin-bottom: 1.35rem; font-size: .94rem; line-height: 1.65; }
.packages-page .pricing-benefits i { margin-right: .45rem; }
.packages-page .package-description { margin-bottom: 1.4rem; font-size: .92rem; line-height: 1.7; }
.packages-page .package-cta { min-height: 48px; border-radius: .68rem; font-size: .95rem; font-weight: 700; }
.subscription-hero { padding: 1.5rem; border: 1px solid #d8ebe8; border-radius: 1rem; background: linear-gradient(135deg,#f0fdfa,#fff); }
.entitlement-meter { padding: 1rem; border: 1px solid #e7ebf0; border-radius: .8rem; background: #fff; }.entitlement-meter .progress { height: .45rem; margin-top: .6rem; }
.empty-state { padding: 3rem 1.5rem; color: var(--pm-muted); text-align: center; border: 1px dashed #cdd4df; border-radius: 1rem; background: #fff; }
.site-footer { background: #101828; }
.account-stat { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid #e7ebf0; border-radius: 1rem; background: #fff; box-shadow: 0 7px 24px rgba(16,24,40,.045); }
.stat-icon-public { display: grid; place-items: center; width: 3rem; height: 3rem; flex: 0 0 auto; color: var(--pm-primary); background: #e9f7f5; border-radius: .85rem; }
.my-property-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid #e6eaf0; border-radius: 1rem; background: #fff; box-shadow: 0 6px 20px rgba(16,24,40,.04); }
.my-property-thumb { display: grid; place-items: center; flex: 0 0 132px; width: 132px; aspect-ratio: 4/3; overflow: hidden; color: #98a2b3; background: #edf1f5; border-radius: .75rem; font-size: 1.5rem; }
.my-property-thumb img { width: 100%; height: 100%; object-fit: cover; }
.min-w-0 { min-width: 0; }
.property-form-wrap { max-width: 1050px; margin: 0 auto; }
.property-form { display: grid; gap: 1.25rem; }
.form-section { padding: 1.25rem; border: 1px solid #e7ebf0; border-radius: 1rem; background: #fff; box-shadow: 0 5px 18px rgba(16,24,40,.035); }
.form-section h2 > span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .4rem; color: #fff; background: var(--pm-primary); border-radius: 50%; font-size: .85rem; }

/* Modern create-property experience */
.account-property-create-page .property-form-wrap { max-width: 1120px; }
.property-create-hero { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1rem; padding: 1.35rem 1.5rem; border: 1px solid #cfe5e1; border-radius: 1rem; background: linear-gradient(120deg,#eaf8f5 0%,#fff 72%); box-shadow: 0 7px 22px rgba(16,24,40,.04); }
.property-create-heading { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.property-create-back { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: var(--pm-primary); border: 1px solid #c6e1dd; border-radius: .72rem; background: rgba(255,255,255,.78); text-decoration: none; }
.property-create-back:hover { color: #fff; border-color: var(--pm-primary); background: var(--pm-primary); }
.property-create-heading h1 { margin: .14rem 0 .18rem; color: #172f32; font-size: 1.55rem; font-weight: 700; line-height: 1.5; }
.property-create-heading p { margin: 0; color: #667085; font-size: .78rem; line-height: 1.7; }
.property-create-progress { display: flex; align-items: center; gap: .45rem; flex: 0 0 auto; }
.property-create-progress span { display: inline-flex; align-items: center; gap: .35rem; color: #7a8795; font-size: .66rem; font-weight: 600; white-space: nowrap; }
.property-create-progress span b { display: grid; place-items: center; width: 25px; height: 25px; color: #667085; border: 1px solid #d9e1e5; border-radius: 50%; background: #fff; font-size: .65rem; }
.property-create-progress span.is-active { color: var(--pm-primary-dark); }
.property-create-progress span.is-active b { color: #fff; border-color: var(--pm-primary); background: var(--pm-primary); }
.property-create-progress > i { width: 24px; height: 1px; background: #d9e1e5; }
.property-entitlement { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(170px,.42fr); align-items: center; gap: .8rem; margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid #e0e8e9; border-radius: .85rem; background: #fff; box-shadow: 0 4px 14px rgba(16,24,40,.025); }
.property-entitlement-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--pm-primary); border-radius: .7rem; background: #e8f6f3; }
.property-entitlement > div { display: grid; min-width: 0; }
.property-entitlement small { color: #7a8795; font-size: .63rem; }
.property-entitlement strong { overflow-wrap: anywhere; color: #25313a; font-size: .78rem; }
.property-entitlement p { margin: .05rem 0 0; color: #667085; font-size: .66rem; }
.property-entitlement-usage > span { margin-bottom: .32rem; color: #475467; font-size: .68rem; font-weight: 700; text-align: right; }
.property-entitlement-usage > div { height: 7px; overflow: hidden; border-radius: 99px; background: #e8edef; }
.property-entitlement-usage i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--pm-primary),#2aa198); }
.property-form-errors { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; padding: .9rem 1rem; color: #8f332b; border: 1px solid #f1c9c4; border-radius: .85rem; background: #fff5f3; }
.property-form-errors > span { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: .62rem; background: #fde7e3; }
.property-form-errors strong { font-size: .78rem; }
.property-form-errors ul { margin: .25rem 0 0; padding-left: 1.1rem; font-size: .7rem; line-height: 1.7; }
.property-form-modern { gap: 1rem; }
.property-form-modern .form-section { padding: 1.35rem; border-color: #e1e8eb; box-shadow: 0 6px 20px rgba(16,24,40,.035); }
.property-form-section-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.15rem; padding-bottom: .9rem; border-bottom: 1px solid #edf0f2; }
.property-form-section-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: var(--pm-primary); border-radius: .72rem; background: #e8f6f3; font-size: 1rem; }
.property-form-section-icon.is-blue { color: #2563a8; background: #edf4fb; }
.property-form-section-icon.is-amber { color: #a5610b; background: #fff5e5; }
.property-form-section-icon.is-purple { color: #6d4cc3; background: #f2effb; }
.property-form-section-icon.is-rose { color: #b84966; background: #fceef2; }
.property-form-section-icon.is-cyan { color: #087f8c; background: #e9f7f8; }
.property-form-section-heading > div { min-width: 0; }
.property-form-section-heading small { display: block; color: var(--pm-primary); font-size: .62rem; font-weight: 700; letter-spacing: .04em; }
.property-form-section-heading h2 { margin: .05rem 0; color: #1d2939; font-size: 1.02rem; font-weight: 700; line-height: 1.5; }
.property-form-section-heading p { margin: 0; color: #7a8795; font-size: .68rem; line-height: 1.6; }
.property-form-modern .form-label { margin-bottom: .38rem; color: #475467; font-size: .72rem; font-weight: 700; }
.property-form-modern .form-control, .property-form-modern .form-select { min-height: 44px; padding: .58rem .72rem; border-color: #dce4e7; border-radius: .68rem; color: #25313a; font-size: .78rem; }
.property-form-modern textarea.form-control { line-height: 1.7; resize: vertical; }
.property-form-modern .form-control:focus, .property-form-modern .form-select:focus { border-color: #72b8b0; box-shadow: 0 0 0 .2rem rgba(15,118,110,.09); }
.property-form-modern .form-switch { min-height: 44px; padding: .65rem .75rem .65rem 3rem; border: 1px solid #e2e8eb; border-radius: .68rem; background: #fafcfc; }
.property-form-modern .form-switch .form-check-input { margin-left: -2.25rem; }
.property-feature-switch { margin-top: 0 !important; }
.property-feature-switch label { display: inline-flex; align-items: center; gap: .4rem; color: #475467; font-size: .74rem; font-weight: 600; }
.property-feature-switch label i { color: #98a2b3; }
.property-feature-switch:has(input:checked) { border-color: #b9dcd7; background: #f2faf8; }
.property-feature-switch:has(input:checked) label, .property-feature-switch:has(input:checked) label i { color: var(--pm-primary-dark); }
.property-photo-dropzone { display: flex; align-items: center; flex-direction: column; min-height: 190px; padding: 1.4rem; cursor: pointer; text-align: center; border: 1.5px dashed #a9cbc7; border-radius: .9rem; background: linear-gradient(145deg,#f5fbfa,#fbfdfd); transition: border-color .18s ease,background-color .18s ease,transform .18s ease; }
.property-photo-dropzone:hover { border-color: var(--pm-primary); background: #f0faf8; transform: translateY(-1px); }
.property-photo-dropzone-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: .7rem; color: var(--pm-primary); border-radius: .85rem; background: #e2f3f0; font-size: 1.25rem; }
.property-photo-dropzone strong { color: #25313a; font-size: .8rem; }
.property-photo-dropzone small { margin-top: .22rem; color: #7a8795; font-size: .66rem; }
.property-photo-selection { margin-top: .7rem; padding: .3rem .55rem; color: #52606d; border-radius: 99px; background: #fff; box-shadow: 0 2px 8px rgba(16,24,40,.05); font-size: .65rem; }
.property-photo-dropzone.has-files { border-style: solid; border-color: #77bbb3; background: #effaf8; }
.property-photo-dropzone.has-files .property-photo-selection { color: var(--pm-primary-dark); background: #dff2ef; font-weight: 700; }
.property-form-actions { position: sticky; bottom: .75rem; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem; border: 1px solid #dce5e7; border-radius: .9rem; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(16,24,40,.11); backdrop-filter: blur(12px); }
.property-form-actions > div { display: flex; align-items: center; gap: .8rem; }
.property-form-actions span { display: inline-flex; align-items: center; gap: .3rem; color: #7a8795; font-size: .64rem; }
.property-form-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 43px; padding: .5rem .85rem; border-radius: .68rem; font-size: .74rem; font-weight: 700; }
.image-manage-card { position: relative; overflow: hidden; border: 1px solid #e5e9ef; border-radius: .8rem; background: #fff; }
.image-manage-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-cover-badge { position: absolute; top: .5rem; left: .5rem; }
.detail-gallery, .admin-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: .6rem; overflow: hidden; border-radius: 1rem; }
.detail-gallery img, .admin-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: .6rem; background: #e8edf2; }
.detail-gallery .gallery-main, .admin-gallery .gallery-main { grid-column: span 3; grid-row: span 2; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 1.25rem 0; }
.detail-facts > div { display: grid; gap: .2rem; }.detail-facts span { color: var(--pm-muted); font-size: .8rem; }
.feature-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-radius: 2rem; background: #edf8f6; color: #115e59; font-size: .85rem; }
.history-item { position: relative; display: grid; gap: .15rem; padding: 0 0 1rem 1rem; border-left: 2px solid #d9e4e2; }
.history-item::before { content: ""; position: absolute; left: -.35rem; top: .2rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--pm-primary); }
.history-item small, .history-item p { color: var(--pm-muted); margin: 0; font-size: .78rem; }
.filter-panel { border: 1px solid #e5e9ef; border-radius: 1rem; background: #fff; }
.contact-bar { position: sticky; bottom: .75rem; z-index: 10; padding: .7rem; border: 1px solid #e3e8ef; border-radius: 1rem; background: rgba(255,255,255,.95); box-shadow: 0 12px 35px rgba(16,24,40,.15); backdrop-filter: blur(10px); }
.analytics-range .form-select, .analytics-range .form-control { width: min(100%, 170px); }
.analytics-bars { display: flex; align-items: end; gap: 3px; min-height: 220px; padding: 1rem .25rem 1.65rem; overflow-x: auto; border-bottom: 1px solid #e7ebf0; }
.lead-thumb { width: 76px; height: 62px; border-radius: .75rem; overflow: hidden; background: #eef8f7; color: #087f7a; display: grid; place-items: center; }
.lead-thumb img { width: 100%; height: 100%; object-fit: cover; }
.notification-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; background: #eaf8f6; color: #087f7a; }
.notification-unread { border-left: 4px solid #087f7a; }
.analytics-bar-group { display: grid; grid-template-columns: repeat(3, 5px); align-items: end; gap: 1px; min-width: 20px; height: 190px; position: relative; }.analytics-bar { align-self: end; min-height: 2px; border-radius: 4px 4px 0 0; }.analytics-bar-views { background: #0f766e; }.analytics-bar-favorites { background: #f59e0b; }.analytics-bar-enquiries { background: #2563eb; }.analytics-bar-group span { position: absolute; left: 0; bottom: -1.35rem; width: 100%; overflow: hidden; color: var(--pm-muted); font-size: .58rem; text-align: center; white-space: nowrap; }.analytics-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .85rem; color: var(--pm-muted); font-size: .8rem; }.analytics-dot { display: inline-block; width: .62rem; height: .62rem; margin-right: .28rem; border-radius: 50%; vertical-align: -1px; }

/* Public property detail */
.property-detail-page .container { max-width: 1280px; }
.property-detail-page .section-soft { padding-top: 2rem !important; padding-bottom: 3.25rem !important; }
.property-detail-page .section-soft > .container > .d-flex:first-child { margin-bottom: 1.1rem !important; }
.property-detail-page .section-soft h1 { max-width: 900px; margin-bottom: .45rem !important; color: var(--pm-ink); font-size: clamp(1.75rem,2.3vw,2rem); line-height: 1.45; letter-spacing: -.012em; }
.property-detail-page .section-soft > .container > .d-flex:first-child .badge { padding: .35rem .62rem; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.property-detail-page .section-soft > .container > .d-flex:first-child .small { font-size: .78rem; }
.property-detail-page .section-soft > .container > .d-flex:first-child .text-secondary:not(.small) { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem; font-size: .88rem; line-height: 1.65; }
.property-detail-page .section-soft > .container > .d-flex:first-child > .btn { min-height: 42px; padding: .48rem .78rem; border-radius: .68rem; font-size: .88rem; font-weight: 700; }
.property-detail-page .detail-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); grid-auto-rows: auto; gap: .65rem; height: clamp(420px,34vw,480px); overflow: hidden; border: 1px solid #e2e8ef; border-radius: 1rem; background: #e8eef0; }
.property-detail-page .detail-gallery img { width: 100%; height: 100%; min-width: 0; min-height: 0; border-radius: .7rem; object-fit: cover; background: #e8eef0; }
.property-detail-page .detail-gallery .gallery-main { grid-column: span 2; grid-row: span 2; border-radius: .88rem; }
.property-detail-page .detail-gallery:has(> img:only-child) { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.property-detail-page .detail-gallery:has(> img:only-child) .gallery-main { grid-column: span 1; grid-row: span 1; }
.property-detail-page .detail-gallery:has(> img:nth-child(2):last-child) > img:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.property-detail-page .detail-gallery:has(> img:nth-child(3):last-child) > img:not(.gallery-main) { grid-column: span 2; }
.property-detail-page .detail-gallery:has(> img:nth-child(4):last-child) > img:nth-child(2) { grid-column: span 2; }
.property-detail-page .property-placeholder { min-height: clamp(420px,34vw,480px); border: 1px solid #e2e8ef; background: linear-gradient(135deg,#edf5f4,#e7eef0); }
.property-detail-page .detail-gallery + .row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white, .property-detail-page .detail-gallery + .row > aside .bg-white { border: 1px solid #e2e8ef; border-radius: 1rem !important; box-shadow: 0 7px 22px rgba(16,24,40,.055) !important; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white { padding: 1.5rem !important; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white + .bg-white { margin-top: 1.5rem !important; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white > hr { margin: 1.55rem 0; border-color: #e8edf1; opacity: 1; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white h2 { margin-bottom: .55rem; color: var(--pm-ink); font-size: 1.18rem; line-height: 1.5; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white h2 + p, .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white h2 + div { margin-bottom: 0; color: #344054; font-size: .94rem; line-height: 1.82; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white > p { color: #475467; font-size: .94rem; line-height: 1.75; }
.property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white > .h3 { margin-bottom: 1.25rem; color: var(--pm-primary) !important; font-size: clamp(1.75rem,2.15vw,2rem); line-height: 1.35; }
.property-detail-page .detail-facts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 0; border-top: 1px solid #e8edf1; border-left: 1px solid #e8edf1; }
.property-detail-page .detail-facts > div { min-height: 82px; padding: .8rem .9rem; gap: .72rem; border-right: 1px solid #e8edf1; border-bottom: 1px solid #e8edf1; }
.property-detail-page .detail-fact { display: flex; align-items: center; }
.property-detail-page .detail-fact-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: var(--pm-primary); border-radius: .68rem; background: #e8f6f3; font-size: 1rem; line-height: 1; }
.property-detail-page .detail-fact-copy { display: grid; gap: .16rem; min-width: 0; }
.property-detail-page .detail-fact-copy > span { color: #667085; font-size: .74rem; line-height: 1.45; }
.property-detail-page .detail-fact-copy > strong { overflow-wrap: anywhere; color: #27364a; font-size: .92rem; font-weight: 700; line-height: 1.55; }
.property-detail-page div:has(> .feature-pill) { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem !important; }
.property-detail-page .feature-pill { min-width: 0; padding: .5rem .65rem; border: 1px solid #dcece9; border-radius: .65rem; background: #f2fbf9; font-size: .83rem; line-height: 1.55; }
.property-detail-page .feature-pill i { flex: 0 0 auto; }
.property-detail-page .detail-gallery + .row > aside .bg-white { padding: 1.4rem !important; top: 5.6rem !important; }
.property-detail-page .detail-gallery + .row > aside .agent-avatar { width: 3.35rem; height: 3.35rem; }
.property-detail-page .detail-gallery + .row > aside h2 { font-size: 1.08rem; line-height: 1.5; }
.property-detail-page .detail-gallery + .row > aside .small { font-size: .78rem; }
.property-detail-page .detail-gallery + .row > aside .text-primary { font-size: .9rem; }
.property-detail-page .detail-gallery + .row > aside .mb-2, .property-detail-page .detail-gallery + .row > aside .mb-3 { padding: .72rem .78rem; border: 1px solid #e7ecef; border-radius: .7rem; background: #fafcfc; font-size: .9rem; line-height: 1.55; }
.property-detail-page .detail-gallery + .row > aside .mb-3 { margin-bottom: .8rem !important; }
.property-detail-page .detail-gallery + .row > aside .btn { min-height: 44px; border-radius: .65rem; font-size: .9rem; font-weight: 700; }
.property-detail-page .contact-bar { position: static; max-width: 620px; margin: 1.5rem auto 0 !important; padding: .55rem; border-radius: .85rem; box-shadow: 0 8px 24px rgba(16,24,40,.11); }
.property-detail-page .contact-bar .btn { min-height: 44px; border-radius: .62rem; font-size: .88rem; font-weight: 700; }

/* Public agent profile */
.agent-profile-page .container { max-width: 1280px; }
.agent-profile-page .section-soft { padding-top: 2.35rem; padding-bottom: 3.5rem; }
.agent-profile-page .agent-profile-hero { position: relative; overflow: hidden; margin-bottom: 2.4rem !important; padding: 1.65rem !important; border: 1px solid #e2e8ef; border-radius: 1rem !important; box-shadow: 0 7px 22px rgba(16,24,40,.055) !important; background: linear-gradient(120deg,#fff 0%,#fff 66%,#f1fbf9 100%); }
.agent-profile-page .agent-profile-hero::after { content: ""; position: absolute; top: -7rem; right: -6rem; width: 18rem; height: 18rem; border-radius: 50%; background: rgba(15,118,110,.045); pointer-events: none; }
.agent-profile-page .agent-profile-hero > .d-flex { position: relative; z-index: 1; align-items: flex-start; }
.agent-profile-page .agent-profile-hero .agent-avatar-lg { width: 5rem; height: 5rem; border-width: 3px; font-size: 1.55rem; }
.agent-profile-page .agent-profile-hero h1 { color: var(--pm-ink); font-size: clamp(1.4rem,2vw,1.62rem); line-height: 1.45; }
.agent-profile-page .agent-profile-hero .verified-badge { padding: .3rem .5rem; font-size: .72rem; }
.agent-profile-page .agent-profile-hero .text-primary.fw-semibold { font-size: .9rem; }
.agent-profile-page .agent-profile-hero .row.small { margin-top: 1rem !important; }
.agent-profile-page .agent-profile-hero .row.small > div { display: flex; align-items: center; min-height: 40px; padding: .55rem .7rem; color: #475467; border: 1px solid #e7edf0; border-radius: .65rem; background: rgba(255,255,255,.76); font-size: .84rem; line-height: 1.55; }
.agent-profile-page .agent-profile-hero .row.small i { flex: 0 0 auto; color: var(--pm-primary); font-size: 1rem; }
.agent-profile-page .agent-profile-hero p { max-width: 720px; color: #475467; font-size: .9rem; line-height: 1.75; }
.agent-profile-page .agent-profile-hero .btn-sm { min-height: 40px; padding: .42rem .75rem; border: 1px solid #e1e8ea; border-radius: .62rem; background: #fff; font-size: .84rem; font-weight: 700; }
.agent-profile-page .agent-profile-hero .account-stat { min-width: 158px; padding: 1rem; border-color: #d8ebe8; border-radius: .85rem; background: #f3fbf9; box-shadow: none; }
.agent-profile-page .agent-profile-hero .stat-icon-public { width: 2.7rem; height: 2.7rem; border-radius: .7rem; }
.agent-profile-page .agent-profile-hero .account-stat .h3 { color: var(--pm-primary); font-size: 1.6rem; line-height: 1.15; }
.agent-profile-page .agent-profile-hero .account-stat .small { font-size: .78rem; line-height: 1.5; }
.agent-profile-page .agent-profile-hero + .d-flex { margin-bottom: 1.15rem !important; }
.agent-profile-page .agent-profile-hero + .d-flex .text-primary.fw-semibold { font-size: .8rem; letter-spacing: .02em; }
.agent-profile-page .agent-profile-hero + .d-flex h2 { margin-top: .12rem; color: var(--pm-ink); font-size: clamp(1.28rem,1.8vw,1.48rem); line-height: 1.48; }
.agent-profile-page .agent-profile-hero ~ .row { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; }
.agent-profile-page .empty-state { border-style: solid; border-color: #e2e8ef; box-shadow: 0 6px 20px rgba(16,24,40,.035); }

@media (max-width: 991.98px) {
    .agent-profile-page .agent-profile-hero > .d-flex { flex-direction: column !important; }
    .agent-profile-page .agent-profile-hero .account-stat { width: 100%; align-self: stretch !important; }
}

@media (max-width: 767.98px) {
    .hero { padding: 2.75rem 0 3.5rem; }
    .hero h1 { overflow-wrap: anywhere; font-size: clamp(1.75rem, 8.5vw, 2.5rem); }
    .section-space { padding: 3rem 0; }
    .search-panel { border-radius: 1rem; }
    .my-property-card { align-items: flex-start; flex-wrap: wrap; }
    .my-property-thumb { flex-basis: 92px; width: 92px; }
    .property-actions { width: 100%; }
    .detail-gallery, .admin-gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 100px; }
    .detail-gallery .gallery-main, .admin-gallery .gallery-main { grid-column: span 2; }
    .detail-facts { grid-template-columns: 1fr; }
    .analytics-range { width: 100%; }.analytics-range .form-select, .analytics-range .form-control { flex: 1 1 140px; width: auto; }
    .home-page .navbar { min-height: 60px; }
    .home-page .navbar-brand { font-size: .96rem; }
    .home-page .hero { padding: 2rem 0 2.25rem; }
    .home-page .hero::after { right: -10rem; top: -9rem; width: 19rem; height: 19rem; }
    .home-page .hero .badge { margin-bottom: .7rem !important; font-size: .75rem; }
    .home-page .hero h1 { max-width: 100%; font-size: clamp(1.875rem, 8.15vw, 2.125rem); line-height: 1.42; letter-spacing: -.01em; overflow-wrap: anywhere; word-break: break-all; }
    .home-page .hero .lead { margin-top: .65rem !important; margin-bottom: 1.1rem !important; font-size: .94rem; line-height: 1.7; }
    .home-page .search-panel { padding: .85rem !important; border-radius: .9rem; }
    .home-page .search-panel .form-label { font-size: .8rem; }
    .home-page .search-panel .form-select, .home-page .search-panel .btn { min-height: 46px; font-size: .9rem; }
    .home-page .search-panel .btn { width: 100%; }
    .home-page .home-section { padding: 2.45rem 0; }
    .home-page .home-featured-section { padding-top: 2.1rem; }
    .home-page .home-section h2 { font-size: clamp(1.38rem, 6vw, 1.56rem); line-height: 1.45; overflow-wrap: anywhere; }
    .home-page .home-section .text-primary.fw-semibold { font-size: .78rem; }
    .home-page .property-card h3 { font-size: 1rem; }
    .listing-page .navbar { min-height: 60px; }
    .listing-page .navbar-brand { font-size: .96rem; }
    .listing-page .listing-shell { padding-top: 1.4rem !important; padding-bottom: 2.5rem !important; }
    .listing-page .listing-filter-panel { padding: .85rem; border-radius: .9rem; }
    .listing-primary-grid, .listing-advanced-grid { grid-template-columns: 1fr; gap: .7rem; }
    .listing-filter-actions .form-label { display: none !important; }
    .listing-filter-panel .form-control, .listing-filter-panel .form-select, .listing-filter-panel .btn { min-height: 46px; font-size: .9rem; }
    .listing-advanced { margin-top: .75rem; }
    .listing-advanced summary { padding-top: .8rem; }
    .listing-page h1 { font-size: clamp(1.38rem,6vw,1.56rem); line-height: 1.45; }
    .listing-result-reset { padding: .38rem .7rem; }
    .listing-page .property-card h3 { font-size: 1rem; }
    .packages-page .navbar { min-height: 60px; }
    .packages-page .navbar-brand { font-size: .96rem; }
    .packages-page .packages-shell { padding-top: 1.8rem; padding-bottom: 2.6rem; }
    .packages-page .packages-intro { margin-bottom: 1.65rem; }
    .packages-page .packages-intro > span { font-size: .78rem; }
    .packages-page .packages-intro h1 { font-size: clamp(1.45rem,6.3vw,1.62rem); line-height: 1.48; }
    .packages-page .packages-intro p { font-size: .92rem; line-height: 1.72; }
    .packages-page .package-card { padding: 1.25rem; border-radius: .95rem; }
    .packages-page .package-card:hover { transform: none; }
    .packages-page .package-card h2 { font-size: 1.2rem; }
    .packages-page .pricing-price { font-size: 1.8rem; }
    .packages-page .pricing-divider { margin: 1rem 0; }
    .packages-page .pricing-benefits { font-size: .9rem; }
    .packages-page .package-description { font-size: .9rem; }
    .packages-page .package-cta { min-height: 46px; font-size: .92rem; }
    .agent-profile-page .section-soft { padding: 1.5rem 0 2.6rem; }
    .agent-profile-page .section-soft > .container { padding-right: 1rem; padding-left: 1rem; }
    .agent-profile-page .agent-profile-hero { margin-bottom: 1.75rem !important; padding: 1.15rem !important; border-radius: .9rem !important; }
    .agent-profile-page .agent-profile-hero::after { width: 13rem; height: 13rem; }
    .agent-profile-page .agent-profile-hero > .d-flex { gap: 1rem !important; }
    .agent-profile-page .agent-profile-hero .agent-avatar-lg { width: 4.45rem; height: 4.45rem; font-size: 1.35rem; }
    .agent-profile-page .agent-profile-hero h1 { font-size: clamp(1.25rem,5.7vw,1.4rem); line-height: 1.48; }
    .agent-profile-page .agent-profile-hero .text-primary.fw-semibold { font-size: .84rem; }
    .agent-profile-page .agent-profile-hero .row.small { margin-top: .85rem !important; }
    .agent-profile-page .agent-profile-hero .row.small > div { min-height: 38px; font-size: .82rem; }
    .agent-profile-page .agent-profile-hero p { font-size: .88rem; line-height: 1.72; }
    .agent-profile-page .agent-profile-hero .account-stat { width: 100%; min-width: 0; }
    .agent-profile-page .agent-profile-hero + .d-flex { margin-bottom: 1rem !important; }
    .agent-profile-page .agent-profile-hero + .d-flex h2 { font-size: 1.18rem; }
    .agent-profile-page .agent-profile-hero ~ .row { --bs-gutter-x: 0; --bs-gutter-y: 1rem; }
    .property-detail-page .section-soft { padding: 1.35rem 0 calc(5.75rem + env(safe-area-inset-bottom)) !important; }
    .property-detail-page .section-soft > .container { padding-right: 1rem; padding-left: 1rem; }
    .property-detail-page .section-soft > .container > .d-flex:first-child { gap: .8rem !important; margin-bottom: .9rem !important; }
    .property-detail-page .section-soft h1 { font-size: clamp(1.38rem,6.2vw,1.56rem); line-height: 1.48; }
    .property-detail-page .section-soft > .container > .d-flex:first-child .text-secondary:not(.small) { font-size: .82rem; line-height: 1.65; }
    .property-detail-page .section-soft > .container > .d-flex:first-child > .btn { min-height: 40px; padding: .44rem .68rem; font-size: .82rem; }
    .property-detail-page .detail-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; grid-auto-rows: auto; height: auto; min-height: 0; gap: .5rem; border-radius: .8rem; }
    .property-detail-page .detail-gallery img, .property-detail-page .detail-gallery .gallery-main { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; border-radius: .58rem; }
    .property-detail-page .detail-gallery .gallery-main { grid-column: span 2; }
    .property-detail-page .detail-gallery:has(> img:only-child) { grid-template-columns: 1fr; }
    .property-detail-page .detail-gallery:has(> img:only-child) .gallery-main { grid-column: span 1; }
    .property-detail-page .detail-gallery:has(> img:nth-child(2):last-child) > img:nth-child(2), .property-detail-page .detail-gallery:has(> img:nth-child(3):last-child) > img:not(.gallery-main), .property-detail-page .detail-gallery:has(> img:nth-child(4):last-child) > img:nth-child(2) { grid-column: auto; grid-row: auto; }
    .property-detail-page .property-placeholder { min-height: 260px; border-radius: .8rem !important; }
    .property-detail-page .detail-gallery + .row { --bs-gutter-y: 1rem; }
    .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white, .property-detail-page .detail-gallery + .row > aside .bg-white { border-radius: .9rem !important; }
    .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white { padding: 1.15rem !important; }
    .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white + .bg-white { margin-top: 1rem !important; }
    .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white > .h3 { margin-bottom: 1rem; font-size: 1.65rem; }
    .property-detail-page .detail-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .property-detail-page .detail-facts > div { min-height: 76px; padding: .68rem; gap: .55rem; }
    .property-detail-page .detail-fact-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: .9rem; }
    .property-detail-page .detail-fact-copy > span { font-size: .7rem; }
    .property-detail-page .detail-fact-copy > strong { font-size: .84rem; }
    .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white h2 { font-size: 1.08rem; }
    .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white h2 + p, .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white h2 + div, .property-detail-page .detail-gallery + .row > .col-lg-8 > .bg-white > p { font-size: .9rem; line-height: 1.78; }
    .property-detail-page div:has(> .feature-pill) { grid-template-columns: 1fr; }
    .property-detail-page .detail-gallery + .row > aside .bg-white { padding: 1.15rem !important; }
    .property-detail-page .contact-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1020; max-width: none; margin: 0 !important; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 0; box-shadow: 0 -7px 20px rgba(16,24,40,.12); }
    .property-detail-page .contact-bar .btn { min-height: 44px; min-width: 0; padding: .45rem .55rem; font-size: .8rem; white-space: nowrap; }
}
