/* Critical CSS for above-the-fold content - inlined in head */

html, body {
    margin: 0;
    padding: 0;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2937;
    background: #ffffff;
}

/* Fast rendering for welcome title (LCP element) */
.welcome-title {
    color: #2563EB;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    max-width: 100%;
    word-break: break-word;
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.welcome-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Quick fixes for layout shift */
.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    contain: layout style paint;
}

/* Prevent layout shift for buttons */
.btn, button {
    min-height: 44px;
    padding: 0.5rem 1rem;
    display: inline-block;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: none;
}

/* Container queries for responsive fast rendering */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2rem;
    }
    
    .dashboard-container {
        padding: 1rem;
    }
}
