body.theme-aol-blue-horizon {
 color-scheme:light; --horizon-dark:#0a2548; --horizon-mid:#326a9c; --horizon-light:#b9dfff;
 --horizon-chrome:linear-gradient(110deg,#0a2548,#326a9c 42%,#b9dfff);
 --horizon-surface:linear-gradient(145deg,#b9dfff,#ecf6ff 55%,#ffffff);
 --bg:#ecf6ff; --glass:#ecf6ff; --panel:#ffffff; --panel-strong:#b9dfff; --title:#0a2548;
 --text:#19324e; --muted:#405875; --stroke:#abc2d9; --accent:#ffd15c; --theme-accent:#ffd15c;
 --theme-accent-soft:#b9dfff; --theme-accent-border:#abc2d9; --chat-shell:#ffffff; --list-surface:#ffffff; --list-text:#19324e; --list-muted:#405875;
 --theme-gradient:linear-gradient(135deg,#0a2548,#326a9c,#b9dfff,#ecf6ff);
 --fm-menu-bg:#ecf6ff; --fm-menu-sidebar:#b9dfff; --fm-menu-card:#ffffff; --fm-menu-field:#ffffff;
 --fm-menu-selected:#b9dfff; --fm-menu-border:#abc2d9; --fm-menu-text:#19324e; --fm-menu-muted:#405875;
 --fm-menu-action:#ffd15c; --fm-menu-on-action:#15223a; --fm-menu-scheme:light;
 --fm-title-bg:#0a2548; --fm-title-text:#ffffff;
 --fm-blue-header:var(--horizon-chrome); --fm-blue-selection:linear-gradient(110deg,#b9dfff,#ecf6ff);
 --fm-blue-action:linear-gradient(120deg,#ffd15c,#ffe7a4); --fm-blue-secondary:#326a9c;
}
body.theme-aol-cobalt-cloud {
 color-scheme:light; --horizon-dark:#142b60; --horizon-mid:#4269ae; --horizon-light:#c2d8ff;
 --horizon-chrome:linear-gradient(110deg,#142b60,#4269ae 42%,#c2d8ff);
 --horizon-surface:linear-gradient(145deg,#c2d8ff,#f0f4ff 55%,#ffffff);
 --bg:#f0f4ff; --glass:#f0f4ff; --panel:#ffffff; --panel-strong:#c2d8ff; --title:#142b60;
 --text:#19324e; --muted:#405875; --stroke:#abc2d9; --accent:#ffb5a5; --theme-accent:#ffb5a5;
 --theme-accent-soft:#c2d8ff; --theme-accent-border:#abc2d9; --chat-shell:#ffffff; --list-surface:#ffffff; --list-text:#19324e; --list-muted:#405875;
 --theme-gradient:linear-gradient(135deg,#142b60,#4269ae,#c2d8ff,#f0f4ff);
 --fm-menu-bg:#f0f4ff; --fm-menu-sidebar:#c2d8ff; --fm-menu-card:#ffffff; --fm-menu-field:#ffffff;
 --fm-menu-selected:#c2d8ff; --fm-menu-border:#abc2d9; --fm-menu-text:#19324e; --fm-menu-muted:#405875;
 --fm-menu-action:#ffb5a5; --fm-menu-on-action:#15223a; --fm-menu-scheme:light;
 --fm-title-bg:#142b60; --fm-title-text:#ffffff;
 --fm-blue-header:var(--horizon-chrome); --fm-blue-selection:linear-gradient(110deg,#c2d8ff,#f0f4ff);
 --fm-blue-action:linear-gradient(120deg,#ffb5a5,#ffdabf); --fm-blue-secondary:#4269ae;
}
body.theme-aol-tidal-glass {
 color-scheme:light; --horizon-dark:#082e42; --horizon-mid:#2f7389; --horizon-light:#b5e8ef;
 --horizon-chrome:linear-gradient(110deg,#082e42,#2f7389 42%,#b5e8ef);
 --horizon-surface:linear-gradient(145deg,#b5e8ef,#edfafa 55%,#ffffff);
 --bg:#edfafa; --glass:#edfafa; --panel:#ffffff; --panel-strong:#b5e8ef; --title:#082e42;
 --text:#19324e; --muted:#405875; --stroke:#abc2d9; --accent:#88e1ce; --theme-accent:#88e1ce;
 --theme-accent-soft:#b5e8ef; --theme-accent-border:#abc2d9; --chat-shell:#ffffff; --list-surface:#ffffff; --list-text:#19324e; --list-muted:#405875;
 --theme-gradient:linear-gradient(135deg,#082e42,#2f7389,#b5e8ef,#edfafa);
 --fm-menu-bg:#edfafa; --fm-menu-sidebar:#b5e8ef; --fm-menu-card:#ffffff; --fm-menu-field:#ffffff;
 --fm-menu-selected:#b5e8ef; --fm-menu-border:#abc2d9; --fm-menu-text:#19324e; --fm-menu-muted:#405875;
 --fm-menu-action:#88e1ce; --fm-menu-on-action:#15223a; --fm-menu-scheme:light;
 --fm-title-bg:#082e42; --fm-title-text:#ffffff;
 --fm-blue-header:var(--horizon-chrome); --fm-blue-selection:linear-gradient(110deg,#b5e8ef,#edfafa);
 --fm-blue-action:linear-gradient(120deg,#88e1ce,#c1f2e5); --fm-blue-secondary:#2f7389;
}
/* Dark window edges open into daylight; reading panels retain paired colors. */
body.fm-horizon-theme #desktop .fm-window {
  background:var(--horizon-surface) !important;
}
body.fm-horizon-theme #desktop .fm-window > .titlebar {
  background:var(--horizon-chrome) !important;
}
/* The title has its own quiet dark backing across the light end of the gradient. */
body.fm-horizon-theme #desktop .fm-window > .titlebar > div:first-child {
  width:max-content !important; max-width:calc(100% - 170px) !important;
  left:50% !important; right:auto !important; transform:translateX(-50%);
  padding:2px 9px; border-radius:6px; background:var(--horizon-dark);
  color:#ffffff !important; line-height:18px; text-shadow:none !important;
}
body.fm-horizon-theme #desktop .fm-window > .titlebar .room-title-name-text { color:#ffffff !important; }
body.fm-horizon-theme #desktop .fm-window > .window-body,
body.fm-horizon-theme #win-player :is(.fmp-content,.fmp-view,.fmp-toolbar),
body.fm-horizon-theme #fmWelcomeDashboard {
  background:var(--horizon-surface) !important;
}
body.fm-horizon-theme #win-control.fm-tahoe-settings .ts-sidebar,
body.fm-horizon-theme #win-player .fmp-sidebar {
  --fm-menu-text:#ffffff; --fm-menu-muted:#eef5ff;
  --fm-menu-card:var(--horizon-dark); --fm-menu-field:var(--horizon-dark); --fm-menu-scheme:dark;
  --text:#ffffff; --muted:#eef5ff;
  background:linear-gradient(160deg,var(--horizon-dark),var(--horizon-mid)) !important;
  color:#ffffff !important;
}
body.fm-horizon-theme #win-control.fm-tahoe-settings .ts-nav-item.active,
body.fm-horizon-theme #win-player .fmp-nav.active {
  background:var(--fm-blue-action) !important; color:var(--fm-menu-on-action) !important;
}
body.fm-horizon-theme #win-control.fm-tahoe-settings .ts-nav-item.active > :not(.ts-nav-icon) { color:inherit !important; }
body.fm-horizon-theme:not(.has-wc-banner) #fmWelcomeDashboard .fm-dashboard-hero {
  --fm-menu-text:#ffffff;
  background:linear-gradient(110deg,var(--horizon-dark),var(--horizon-mid)) !important;
}
body.fm-horizon-theme #fmWelcomeDashboard :is(.fm-social-sections summary,.fm-interest-chip) {
  background:var(--fm-blue-action) !important;
}
body.fm-horizon-theme #win-control .fm-theme-card-check { color:var(--fm-menu-text) !important; }
body #win-control.fm-tahoe-settings #cc-theme-grid-horizon { grid-template-columns:repeat(auto-fit,minmax(185px,1fr)) !important; }
body #win-control .fm-horizon-collection .fm-theme-preview-top { background:var(--preview-header) !important; }
body #win-control .fm-horizon-collection .fm-theme-preview-nav { background:var(--preview-sidebar) !important; }
body #win-control .fm-horizon-collection .fm-theme-preview-body { background:var(--preview-bg) !important; }
/* Keyboard feedback follows the existing theme palette; no new toolbar controls. */
body.fm-readable-theme #win-buddy .buddy-group-header:focus-visible {
  outline:2px solid var(--fm-menu-action) !important; outline-offset:2px;
}
body.fm-aol-blue-theme #win-buddy .buddy-group-header:focus-visible { outline-color:#245b9e !important; }
body.fm-readable-theme #win-buddy .fm-buddy-search-feedback { padding:12px 8px; color:var(--fm-menu-muted) !important; }
