/* ============================================================ */
/* Home page                                                    */
/* Reuses pv-card / pv-composer / pv-form-row from prompt_view  */
/* ============================================================ */

.home-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ---------- Greeting ---------- */
.home-greeting {
    margin: 4px 0 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
}

/* ---------- Card overrides for home ---------- */
/* All three home sections use .pv-card for the box + shadow, but tint to a
   very light gray and share consistent padding. */
.home-page .pv-card {
    background: var(--bg-canvas-a);
    padding: 14px 18px 16px;
    margin-bottom: 0;  /* spacing handled by .home-page gap */
}

/* Section heading: small uppercase label, matches conversation card header */
.home-section-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

/* The composer input sits directly inside the card here (no outer pv-composer wrapper). */
.home-composer__input {
    margin-top: 4px;
    /* Keep the composer's own white background so the input stands out
       against the card's light-gray tint. */
    background: var(--bg-panel);
}

.home-recent-list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-recent-item a {
    color: var(--link);
    text-decoration: none;
}
.home-recent-item a:hover {
    text-decoration: underline;
    color: var(--link-hover);
}

.home-recent-empty {
    list-style: none;
    margin-left: -22px;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Action links ---------- */
.home-action-links {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-action-links a {
    color: var(--link);
    text-decoration: none;
}
.home-action-links a:hover {
    text-decoration: underline;
    color: var(--link-hover);
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
    .home-page {
        padding: 0;
        gap: 18px;
    }
    .home-greeting {
        font-size: 1.3rem;
    }
    .home-page .pv-card {
        padding: 12px 14px;
    }
}
