body[data-site-theme="classic"],.theme-swatch[data-theme="classic"]{--paper:#fafafa;--ink:#1d2442;--muted:#646b7d;--line:#ddddee;--accent:#6240bc;--accent-hover:#253564;--surface-soft:#eeebfa;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#eee9ff;--theme-end:#e7efff;--theme-button-start:#253564;--theme-button-end:#754bcc;}
body[data-site-theme="ocean"],.theme-swatch[data-theme="ocean"]{--paper:#f8faff;--ink:#182b49;--muted:#5d6b80;--line:#d8e1f0;--accent:#2452b8;--accent-hover:#17396e;--surface-soft:#eaf0fc;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#e4ecff;--theme-end:#dff4f7;--theme-button-start:#17396e;--theme-button-end:#276aa9;}
body[data-site-theme="sand"],.theme-swatch[data-theme="sand"]{--paper:#fcfaf8;--ink:#352a2a;--muted:#77645e;--line:#eadbd3;--accent:#92462e;--accent-hover:#6e342b;--surface-soft:#f7ebe5;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#ffecdf;--theme-end:#f6e8f1;--theme-button-start:#6e342b;--theme-button-end:#a24f31;}
body[data-site-theme="rose"],.theme-swatch[data-theme="rose"]{--paper:#fcf9fb;--ink:#34243a;--muted:#756574;--line:#ead7e3;--accent:#a33067;--accent-hover:#622659;--surface-soft:#f8eaf1;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#fce4ed;--theme-end:#efe5fb;--theme-button-start:#622659;--theme-button-end:#aa396d;}
body[data-site-theme="lavender"],.theme-swatch[data-theme="lavender"]{--paper:#faf9ff;--ink:#28233e;--muted:#6a637d;--line:#ded8ed;--accent:#6541b2;--accent-hover:#373174;--surface-soft:#eeeafa;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#eee4ff;--theme-end:#e3ebff;--theme-button-start:#373174;--theme-button-end:#7850bc;}
body[data-site-theme="terracotta"],.theme-swatch[data-theme="terracotta"]{--paper:#fdf9f7;--ink:#3e272d;--muted:#7a6267;--line:#ecd7d2;--accent:#a13e47;--accent-hover:#7a304c;--surface-soft:#faeae6;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#ffe5d9;--theme-end:#f9e2ed;--theme-button-start:#7a304c;--theme-button-end:#b24a35;}
body[data-site-theme="slate"],.theme-swatch[data-theme="slate"]{--paper:#f8f9fc;--ink:#182638;--muted:#637086;--line:#dbe2ed;--accent:#344765;--accent-hover:#182638;--surface-soft:#eaf0f7;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#e4ebf6;--theme-end:#eef0fa;--theme-button-start:#182638;--theme-button-end:#465d7d;}
body[data-site-theme="olive"],.theme-swatch[data-theme="olive"]{--paper:#f9fcfa;--ink:#21372e;--muted:#62766b;--line:#d5e5db;--accent:#286348;--accent-hover:#204236;--surface-soft:#e9f4ed;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#e3f4e8;--theme-end:#f1f4de;--theme-button-start:#204236;--theme-button-end:#337b57;}
body[data-site-theme="teal"],.theme-swatch[data-theme="teal"]{--paper:#f7fbfc;--ink:#1d343e;--muted:#5c737c;--line:#d2e4e8;--accent:#176773;--accent-hover:#204964;--surface-soft:#e6f3f5;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#def5f0;--theme-end:#e2edff;--theme-button-start:#204964;--theme-button-end:#217d7b;}
body[data-site-theme="gold"],.theme-swatch[data-theme="gold"]{--paper:#fdfbf7;--ink:#392e25;--muted:#776a59;--line:#e7ddc9;--accent:#8b5b24;--accent-hover:#584029;--surface-soft:#f6efdf;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-heading:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-start:#fff0d5;--theme-end:#f4e8e1;--theme-button-start:#584029;--theme-button-end:#986327;}
body[data-site-theme]{background:var(--paper);color:var(--ink);font-family:var(--font-sans)}
body[data-site-theme] :is(h1,h2,h3,.course-hero-copy h1,.landing-page .lp-introduction h1,.info-page h1,.stories-page h1,.site-footer-expanded .footer-newsletter h2){font-family:var(--theme-heading);color:var(--ink)}
body[data-site-theme] :is(.lp-membership,.purchase-card,.welcome-card){background:linear-gradient(125deg,var(--theme-start),var(--theme-end));border-color:var(--line);color:var(--ink)}
body[data-site-theme] .lp-membership .membership-action .button{background:var(--accent);border-color:var(--accent)}
body[data-site-theme] :is(.lp-membership .eyebrow,.lp-membership .lp-prose,.footer-newsletter p){color:var(--muted)}
body[data-site-theme] .site-header{background:var(--paper)}
body[data-site-theme] .brand-mark{background:var(--accent)}
body[data-site-theme] :is(.info-eyebrow,.eyebrow){color:var(--accent)}
.appearance-settings{max-width:1184px;margin:24px auto}.appearance-settings h1{font-size:2.2rem;margin:8px 0}.appearance-settings>p{margin:12px 0}.appearance-controls{display:flex;align-items:end;gap:20px;margin-top:28px}.appearance-controls label{display:grid;gap:8px;max-width:440px;flex:1;font-weight:600}.appearance-controls select{min-height:50px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit}.appearance-preview-header{display:flex;justify-content:space-between;align-items:center;margin-top:32px}.appearance-preview-header h2{font-size:1.2rem}.appearance-preview{width:100%;height:720px;border:1px solid var(--line);border-radius:16px;background:white}.appearance-notice{padding:14px 18px;background:#edf4e9;border:1px solid #cadbc1;border-radius:10px}@media(max-width:600px){.appearance-controls{align-items:stretch;flex-direction:column}.appearance-controls label{max-width:none}.appearance-preview{height:560px}.appearance-preview-header{gap:12px;flex-wrap:wrap}}


/* Modern OHL family: quiet reading surfaces and focused gradient accents. */
body[data-site-theme]{--surface:#fff;--border:var(--line)}
body[data-site-theme] :is(h1,h2,h3){font-weight:650;letter-spacing:-.035em}
body[data-site-theme] h1{line-height:1.08}
body[data-site-theme] :is(.button,button[type="submit"]):not(.button-secondary):not(.icon-button):not(.language-option){background:linear-gradient(110deg,var(--theme-button-start) 0%,var(--accent) 67%,var(--theme-button-end) 100%);color:#fff;border-color:transparent;box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 14%,transparent)}
body[data-site-theme] :is(.button,button[type="submit"]):not(.button-secondary):not(.icon-button):not(.language-option):hover{filter:brightness(.94)}
body[data-site-theme] .button-secondary{background:#fff;color:var(--accent);box-shadow:none}
body[data-site-theme] .site-header{background:color-mix(in srgb,var(--paper) 94%,white);border-bottom-color:var(--line)}
body[data-site-theme] :is(.home-hero,.course-hero,.sg-hero){background:none;border-radius:24px}
body[data-site-theme] .home-hero{padding:clamp(20px,3vw,44px);border:1px solid var(--line)}
body[data-site-theme] :is(.lp-membership,.purchase-card,.welcome-card){background:radial-gradient(ellipse at 100% 0%,var(--theme-end),transparent 70%),linear-gradient(125deg,#fff,var(--theme-start));box-shadow:0 12px 36px color-mix(in srgb,var(--accent) 6%,transparent)}
body[data-site-theme] .lp-membership .membership-action .button{background:linear-gradient(110deg,var(--theme-button-start),var(--accent),var(--theme-button-end))}
body[data-site-theme] :is(.content-card,.sg-card){border-color:var(--line);box-shadow:0 3px 16px color-mix(in srgb,var(--ink) 3%,transparent)}
body[data-site-theme] .site-footer-expanded .footer-newsletter{background:#fff;border-color:var(--line)}
body[data-site-theme] .site-footer-expanded .footer-newsletter h2{color:var(--ink)}
body[data-site-theme] .site-footer-expanded .footer-newsletter p{color:var(--muted)}
.theme-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:28px 0}
.theme-choice{display:flex;flex-direction:column;gap:10px;text-align:left;padding:10px;background:#fff;border:1px solid var(--line);border-radius:14px;color:var(--ink);cursor:pointer;font:inherit}
.theme-choice[aria-pressed="true"]{border:2px solid var(--accent);padding:9px;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)}
.theme-choice:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.theme-choice strong{font-size:13px;padding:0 4px 4px}
.theme-swatch{display:block;width:100%;padding:16px 12px 12px;background:radial-gradient(ellipse at top right,var(--theme-end),transparent),var(--paper);color:var(--ink);border-radius:8px;font-family:var(--font-sans);min-height:115px}
.theme-swatch b{display:block;font-size:22px;line-height:1.1;letter-spacing:-.04em;margin-bottom:18px}
.theme-swatch i{display:block;width:62%;height:24px;border-radius:6px;background:linear-gradient(110deg,var(--theme-button-start),var(--accent),var(--theme-button-end))}
.appearance-settings .appearance-controls{position:sticky;top:12px;z-index:5;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:14px}
.appearance-settings .appearance-notice{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}
.appearance-preview{box-shadow:0 12px 38px #1826380a}
@media(max-width:1000px){.theme-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.theme-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-settings .appearance-controls{position:static}.theme-swatch{min-height:100px}.home-hero{border-radius:16px}}

/* Theme coverage: public editorial surfaces and administration share the same tokens. */
body[data-site-theme]{--text:var(--ink);--card:var(--surface);--on-accent:#fff;--semantic-gradient:linear-gradient(110deg,var(--theme-button-start),var(--accent),var(--theme-button-end))}
body[data-site-theme] .landing-page .lp-section.lp-membership{background:radial-gradient(ellipse at 100% 0%,var(--theme-end),transparent 70%),linear-gradient(125deg,#fff,var(--theme-start));border-color:var(--line);color:var(--ink)}
body[data-site-theme] .stories-hero aside{background:linear-gradient(125deg,var(--theme-button-start),var(--accent),var(--theme-button-end));color:var(--on-accent)}
body[data-site-theme] .stories-hero aside .eyebrow{color:var(--on-accent);opacity:.85}
body[data-site-theme] .stories-number{font-family:var(--theme-heading)}
body[data-site-theme] .story-filters button[aria-pressed=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
body[data-site-theme] .admin-navigation a[aria-current=page]{background:var(--semantic-gradient);color:var(--on-accent)}
body[data-site-theme] .admin-navigation a:not([aria-current=page]):hover{background:var(--surface-soft);color:var(--accent)}
body[data-site-theme] .info-actions p:first-child a{background:var(--semantic-gradient);border-color:transparent;color:var(--on-accent)}

/* Neutral landing-page surfaces across all themes. */
body[data-site-theme] .landing-page :is(.lp-section.lp-membership,.purchase-card){background:#fff;box-shadow:0 3px 16px rgb(29 36 66 / 3%)}
body[data-site-theme] .stories-hero aside{background:#f3f4f6;color:var(--ink)}
body[data-site-theme] .stories-hero aside .eyebrow{color:var(--muted)}

/* The comparison wrapper shares the page background; only its plans are cards. */
body[data-site-theme] .landing-page .lp-purchase .content-card.purchase-card{background:transparent;box-shadow:none;border:0}
