/* ─── Home Dashboard ─── */

.home-dashboard {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.home-dash-greeting h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

/* Quick Actions bar */
.home-dash-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.home-dash-action {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--fg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: border-color 0.15s, background 0.15s;
}

.home-dash-action:hover {
    border-color: var(--muted);
    background: var(--hover-overlay);
}

.home-dash-action-icon {
    flex-shrink: 0;
    color: var(--muted);
}

.home-dash-action-label {
    white-space: nowrap;
}

/* KPI row -- reuses existing .kpi-card / .kpi-value / .kpi-label */
.home-dash-kpis-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    transition: box-shadow 0.15s;
}

.home-dash-kpis-link:hover {
    box-shadow: 0 0 0 2px var(--accent, #2563eb);
}

.home-dash-kpis-link .home-dash-kpis {
    margin-bottom: 0;
}

.home-dash-kpis-hint {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.375rem;
}

.home-dash-kpis-link:hover .home-dash-kpis-hint {
    color: var(--accent, #2563eb);
}

.home-dash-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Section containers */
.home-dash-section {
    margin-bottom: 2rem;
}

.home-dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.home-dash-section-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.home-dash-view-all {
    font-size: 0.8125rem;
    color: var(--muted);
    text-decoration: none;
}

.home-dash-view-all:hover {
    color: var(--fg);
}

/* Property grid -- 2 columns on larger screens */
.home-dash-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 1rem;
}

/* Recently viewed list */
.home-dash-recent-views {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.5rem;
}

.home-dash-recent-view {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--fg);
    transition: border-color 0.15s;
}

.home-dash-recent-view:hover {
    border-color: var(--muted);
}

.home-dash-recent-view-street {
    font-weight: 500;
    font-size: 0.875rem;
}

.home-dash-recent-view-city {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.125rem;
}

