:root{
  --page-bg:#F5F3EF;--surface-bg:#FFFFFF;--surface-border:#E6E6E6;--text-primary:#22272E;--text-secondary:#5E6670;
  --title-font:"Playfair Display",Georgia,serif;--body-font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --radius-sm:10px;--radius-md:16px;--radius-lg:24px;--shadow-soft:0 6px 18px rgba(0,0,0,.06);--shadow-panel:0 18px 48px rgba(0,0,0,.18);
  --page-max-width-desktop:760px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;
  --font-title:2.25rem;--font-subtitle:1rem;--font-body:1.125rem;--font-meta:.875rem;--line-height-body:1.5;--line-height-tight:1.2;
  --icon-button-size:40px;--sticky-nav-height:56px;--bottom-safe-padding:24px;
}
body.mode-dark{--page-bg:#15171B;--surface-bg:#1D2026;--surface-border:#343A43;--text-primary:#F2F4F7;--text-secondary:#BAC2CD;--shadow-soft:0 6px 18px rgba(0,0,0,.22)}
body.font-scale-sm{--font-body:1rem}body.font-scale-md{--font-body:1.125rem}body.font-scale-lg{--font-body:1.3rem}
.theme-1{--section-stripe:#CFCFD4;--section-bg:#F7F7F8;--section-border:#E6E7EA;--section-title:#5F6670;--section-text:#2A2F35;--nav-border:#CFCFD4;--nav-text:#5F6670;--nav-bg:#FFFFFF;--icon-accent:#A9AEB6}
.theme-2{--section-stripe:#6B8367;--section-bg:#FBFCFA;--section-border:#E3E9E2;--section-title:#4F6A4E;--section-text:#2A2F35;--nav-border:#6B8367;--nav-text:#4F6A4E;--nav-bg:#FFFFFF;--icon-accent:#6B8367}
.theme-3{--section-stripe:#E2A95B;--section-bg:#FFF9F1;--section-border:#F2E1C7;--section-title:#C9872A;--section-text:#2A2F35;--nav-border:#E2A95B;--nav-text:#C9872A;--nav-bg:#FFFFFF;--icon-accent:#E2A95B}
.theme-4{--section-stripe:#E49A12;--section-bg:#FFF6E6;--section-border:#F5D9A2;--section-title:#D88700;--section-text:#2A2F35;--nav-border:#E49A12;--nav-text:#D88700;--nav-bg:#FFFFFF;--icon-accent:#E49A12}
.theme-5{--section-stripe:#8F76B5;--section-bg:#FAF8FD;--section-border:#E6DEF3;--section-title:#7C61A3;--section-text:#2A2F35;--nav-border:#8F76B5;--nav-text:#7C61A3;--nav-bg:#FFFFFF;--icon-accent:#8F76B5}
body.mode-dark .theme-1{--section-stripe:#8B929C;--section-bg:#23272D;--section-border:#343A43;--section-title:#D7DCE3;--section-text:#F2F4F7;--nav-border:#67707C;--nav-text:#D7DCE3;--nav-bg:#1A1D22;--icon-accent:#9CA3AF}
body.mode-dark .theme-2{--section-stripe:#8FA789;--section-bg:#212822;--section-border:#334034;--section-title:#DCE9DA;--section-text:#F2F4F7;--nav-border:#8FA789;--nav-text:#DCE9DA;--nav-bg:#1A1D22;--icon-accent:#8FA789}
body.mode-dark .theme-3{--section-stripe:#E3B474;--section-bg:#2C251E;--section-border:#4A3A29;--section-title:#F2D3A4;--section-text:#F2F4F7;--nav-border:#E3B474;--nav-text:#F2D3A4;--nav-bg:#1A1D22;--icon-accent:#E3B474}
body.mode-dark .theme-4{--section-stripe:#F0B33C;--section-bg:#312515;--section-border:#5A4220;--section-title:#FFD98A;--section-text:#F2F4F7;--nav-border:#F0B33C;--nav-text:#FFD98A;--nav-bg:#1A1D22;--icon-accent:#F0B33C}
body.mode-dark .theme-5{--section-stripe:#A994C8;--section-bg:#292333;--section-border:#463B59;--section-title:#E4DDF1;--section-text:#F2F4F7;--nav-border:#A994C8;--nav-text:#E4DDF1;--nav-bg:#1A1D22;--icon-accent:#A994C8}
