/* Original compatibility tokens. Scope deliberately excludes Admin, Login, Smart Links
   and exported Story Cards. Only an explicit public document or miniature opts in.
   Future theme treatment rules must use the same scoped contract. */
:where(body:has([data-public-theme="original"]),[data-theme-preview="original"]){
 --theme-bg:#101111;
 --theme-surface:#191a1a;
 --theme-surface-elevated:#202222;
 --theme-text:#eeeeee;
 --theme-text-strong:#ffffff;
 --theme-text-secondary:#9d9f9e;
 --theme-accent:#d6f779;
 --theme-accent-rgb:214,247,121;
 --theme-accent-text:#101111;
 --theme-border:#343636;
 --theme-border-subtle:#ffffff25;
 --theme-radius-card:14px;
 --theme-radius-block:16px;
 --theme-radius-button:30px;
 --theme-radius-input:6px;
 --theme-font-body:Arial,Helvetica,sans-serif;
 --theme-font-editorial:Georgia,serif;
 --theme-weight-heading:500;
 --theme-weight-body:400;
 --theme-shadow-card:none;
 --theme-blur:0px;
 --theme-image-filter:none;
 /* Rebind inherited UI aliases here; root aliases resolve before body tokens exist. */
 --background:var(--site-background,var(--theme-bg));
 --foreground:var(--site-text,var(--theme-text));
 --card:var(--site-surface,var(--theme-surface));
 --card-foreground:var(--site-text,var(--theme-text));
 --popover:var(--site-surface,var(--theme-surface-elevated));
 --popover-foreground:var(--site-text,var(--theme-text-strong));
 --primary:var(--site-accent,var(--theme-accent));
 --primary-foreground:var(--site-background,var(--theme-accent-text));
 --muted-foreground:var(--site-muted,var(--theme-text-secondary));
 --border:var(--site-border,var(--theme-border));
 --ring:var(--site-accent,var(--theme-accent));
}
