/* Ivory surfaces retain the same spacing, typography and amethyst hierarchy. */
:root[data-theme=light]{color-scheme:light;--pro-bg:#e9e9e9;--pro-fg:#23212c;--pro-accent:#6410c9;--pro-muted:#646074;--pro-line:#d2d1d6}
:root[data-theme=dark]{color-scheme:dark}
[data-theme=light] input,[data-theme=light] select,[data-theme=light] textarea{background:var(--panel,#ffffff);color:var(--text,#23212c);border-color:var(--line,#d2d1d6)}
[data-theme=light] body.professional-mode{background:var(--pro-bg)!important}
[data-theme=light] :is(.pro-sidebar,.pro-account-check){background:var(--pro-bg)}
[data-theme=light] .pro-nav button[aria-current]{background:#ded9f7}
[data-theme=light] :is(.pro-button.secondary,.pro-field input,.pro-field select,.pro-field textarea,.pro-login input,.pro-ai-form textarea,.pro-ai-options select,.avuna-language-picker select,.avuna-appearance-picker select){background:#ffffff;border-color:var(--pro-line);color:var(--pro-fg)}
[data-theme=light] .pro-button:not(.secondary){color:#ffffff}
[data-theme=light] .pro-mode-dialog{background:#e9e9e9;color:var(--pro-fg);border-color:var(--pro-line)}
[data-theme=light] .pro-ai-composer{background:linear-gradient(transparent,#e9e9e9 18px)}
[data-theme=light] .pro-error{color:#9a3422}
[data-theme=light] :is(.professional-mode-choice,.app-language-entry){border-color:var(--pro-line)}
.avuna-appearance-picker{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;margin-block:15px}
.avuna-appearance-picker select{font:inherit;color:var(--pro-fg);background:#101013;border:1px solid #2e2b3b;padding:9px;border-radius:8px;max-width:210px}
[data-theme=light] :is(.avuna-personality-options button,.grocery-toolbar select){background:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme=light] .avuna-personality-options button[aria-pressed=true]{border-color:var(--accent);background:#6410c90c}
[data-theme=light] :is(.avuna-personality-options span,.grocery-meta,.grocery-row p,.grocery-empty){color:var(--muted)}
[data-theme=light] :is(.grocery-meta,.grocery-row,.grocery-meal,.grocery-member,.grocery-invite){border-color:var(--line)}
[data-theme=light] :is(.grocery-row small,.grocery-status){color:var(--accent)}
[data-theme=light] #modal.quiz-fullscreen[open]{background:var(--bg);color:var(--text)}
[data-theme=light] #modal.quiz-fullscreen :is(.quiz-guide h2,.modal-head h2){color:var(--text)}
[data-theme=light] #modal.quiz-fullscreen :is(.modal-head button,.quiz-choices label,input,textarea,.quiz-actions .ghost,.quiz-actions .secondary){background:var(--panel);color:var(--text);border-color:var(--line)}
