:root {
    color-scheme: light dark;

    /* Theme colors */
    --primary-light-color: #7DA641;
    --primary-dark-color: #435922;
    --secondary-color: #1B1E59;
    --accent-color: #593F27;
    
    /* Style-referenced theme aliases */
    --theme-text-color: light-dark(#333, white);
    --theme-subtext-color: light-dark(var(--accent-color), #9ca3af);
    --theme-link-color: var(--primary-light-color);
    --theme-heading-color: light-dark(var(--primary-dark-color), var(--primary-light-color));
    --theme-background-color: light-dark(#f5f5f5, #484848);
    --theme-section-color: light-dark(#c8c8c8, #333);
    --theme-bar-color: light-dark(var(--secondary-color), #2d2d2d);
    --theme-bar-text-color: white;
    --theme-border-color: light-dark(var(--primary-light-color), var(--primary-dark-color));
    --theme-shadow-color: rgba(0, 0, 0, 0.5);
    --theme-shadow-focus-color: var(--accent-color);
}