:root {
    /* Material 3 Expressive — pastel light */
    --md-sys-color-surface: #FEF7FF;
    --md-sys-color-surface-dim: #F4ECF4;
    --md-sys-color-surface-bright: #FFFBFE;
    --md-sys-color-surface-container-lowest: #FFFFFF;
    --md-sys-color-surface-container-low: #F8F2F8;
    --md-sys-color-surface-container: #F2ECF1;
    --md-sys-color-surface-container-high: #ECE6EC;
    --md-sys-color-surface-container-highest: #E6E0E6;
    --md-sys-color-on-surface: #1D1B20;
    --md-sys-color-on-surface-variant: #49454F;
    --md-sys-color-primary: #B69DF8;
    --md-sys-color-primary-container: #eadeff;
    --md-sys-color-on-primary: #381E72;
    --md-sys-color-on-primary-container: #21005D;
    --md-sys-color-secondary: #FFB4D1;
    --md-sys-color-secondary-container: #FFD8E4;
    --md-sys-color-on-secondary-container: #31111D;
    --md-sys-color-tertiary: #A8DADC;
    --md-sys-color-tertiary-container: #C8F0E6;
    --md-sys-color-on-tertiary-container: #002021;
    --md-sys-color-success: #B7E4C7;
    --md-sys-color-success-on: #1B4332;
    --md-sys-color-error: #FFB4AB;
    --md-sys-color-error-container: #FFDAD6;
    --md-sys-color-on-error-container: #410002;
    --md-sys-color-gold: #FFD24C;
    --md-sys-color-gold-soft: #FFE89A;
    --md-sys-color-gold-glow: rgba(255, 210, 76, 0.45);
    --shape-xs: 8px;
    --shape-sm: 12px;
    --shape-md: 18px;
    --shape-lg: 24px;
    --shape-xl: 32px;
    --shape-2xl: 40px;
    --shape-full: 9999px;
    --elev-1: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --elev-2: 0 2px 6px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.08);
    --elev-3: 0 8px 24px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.10);
    --font-display: 'Google Sans Display', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --motion-spring: cubic-bezier(0.34, 1.32, 0.64, 1);
    --motion-emphasized: cubic-bezier(0.2, 0, 0, 1);
    --motion-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
}

body {
    background:
        radial-gradient(1000px 600px at 90% -10%, rgba(255, 180, 209, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 20%, rgba(182, 157, 248, 0.18), transparent 60%),
        radial-gradient(800px 500px at 50% 110%, rgba(168, 218, 220, 0.18), transparent 60%),
        var(--md-sys-color-surface);
    background-attachment: fixed;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
    background: transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--md-sys-color-surface-container-highest);
    border-radius: var(--shape-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--md-sys-color-on-surface-variant);
}

.material-symbols-rounded {
    font-variation-settings:
        'FILL' 0,
        'wght' 500,
        'GRAD' 0,
        'opsz' 24;
    user-select: none;
    line-height: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.app-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 96px;
}

@media (max-width: 640px) {
    .app-main { padding: 16px 14px 96px; }
}
