/* The Bluelabel look shared by every RTM page (taken from bluelabelsolutions.com, 15 Oct 2026), and the global footer.
   Loaded after each page's own styles, so these colours replace the page's accent. */
:root{--bl-blue:#6078ea;--bl-button:#4a63d8;--bl-teal:#17ead9;--bl-slate:#3d5570;--bl-mist:#eef2f8;--bl-navy:#0d2240;
  --accent:#4a63d8;--accent-ink:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--accent:#17ead9;--accent-ink:#04201f}}
:root[data-theme="dark"]{--accent:#17ead9;--accent-ink:#04201f}
body{font-family:"Outfit",segoe-ui,"Segoe UI",system-ui,-apple-system,Helvetica,Roboto,sans-serif}
h1,h2,.lp-hero h1,.hero h1{font-family:"Syne","Outfit",segoe-ui,"Segoe UI",system-ui,sans-serif}

/* The Bluelabel logo, put at the start of each page's header by footer.js */
.bl-logo{display:inline-flex;align-items:center;margin-right:4px}
.bl-logo img{display:block;height:28px;width:auto}

/* The breadcrumb trail on the pages outside the RTM page (the RTM page has its own, #crumbs) */
.site-crumbs{max-width:1280px;margin:12px auto 0;padding:0 20px;font-size:calc(14px * var(--fs, 1));color:var(--muted)}
.site-crumbs a{color:var(--accent);text-decoration:none}

/* The global footer */
/* Fixed to the bottom of the window (Lee, 17 Oct 2026); footer.js pads the page by its height so nothing hides behind it. */
.bl-footer{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--bl-slate);color:#fff;padding:10px 20px;font-size:calc(13px * var(--fs, 1))}
.bl-footer .in{max-width:1280px;margin:0 auto;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.bl-footer img{height:24px;width:auto;display:block}
.bl-footer .sp{flex:1}
.bl-footer a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.bl-footer a:hover,.bl-footer a:focus-visible{color:var(--bl-mist)}
.bl-footer .bl-badge{display:inline-block;padding:2px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;text-decoration:none;font-size:calc(12px * var(--fs, 1));white-space:nowrap;font-variant-numeric:tabular-nums}
.bl-footer .bl-badge:hover,.bl-footer .bl-badge:focus-visible{background:rgba(255,255,255,.24);color:#fff;text-decoration:none}

/* This browser's view: the Light / Dark switch and the text size (footer.js, prefs.js) — in the User menu where
   the page has one, else in the footer */
.bl-prefs{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap}
.bl-prefs .row{display:inline-flex;align-items:center;gap:6px}
.bl-prefs .lbl{display:none}
.bl-mode{opacity:.85;white-space:nowrap}
.bl-switch{position:relative;width:38px;height:20px;border-radius:10px;border:1px solid rgba(255,255,255,.7);background:rgba(0,0,0,.25);
  padding:0;cursor:pointer;flex:none}
.bl-switch .knob{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:left .15s}
.bl-switch[aria-checked="true"]{background:var(--bl-teal)}
.bl-switch[aria-checked="true"] .knob{left:20px}
.bl-size{font:inherit;font-weight:700;min-width:30px;color:#fff;background:transparent;border:1px solid rgba(255,255,255,.6);border-radius:5px;padding:1px 7px;cursor:pointer}
.bl-size:disabled{opacity:.4;cursor:default}
/* In the User menu: stacked, labelled, in the page's own colours */
.menu .bl-prefs{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:8px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}
.menu .bl-prefs .row{display:flex;gap:6px}
.menu .bl-prefs .lbl{display:inline;min-width:68px;color:var(--muted);font-size:calc(12px * var(--fs, 1))}
.menu .bl-mode{font-size:calc(12px * var(--fs, 1))}
/* The menu makes its buttons full-width blocks; these keep their own size */
.menu .dd .bl-prefs .bl-switch{display:inline-block;width:38px;height:20px;padding:0;border:1px solid var(--line);border-radius:10px;
  background:var(--chip);position:relative}
.menu .dd .bl-prefs .bl-switch[aria-checked="true"]{background:var(--bl-teal)}
.menu .dd .bl-prefs .bl-switch .knob{background:var(--muted)}
.menu .dd .bl-prefs .bl-switch[aria-checked="true"] .knob{background:#fff}
.menu .dd .bl-prefs .bl-size{display:inline-block;width:auto;padding:1px 8px;color:var(--ink);border:1px solid var(--line);
  border-radius:5px;background:var(--panel);font-weight:700;min-width:30px;text-align:center}
.menu .dd .bl-prefs .bl-size

/* Every button is Bluelabel blue with white text, in light and dark mode (Lee, 17 Oct 2026; blue since the rebrand). Controls that are not
   buttons to look at keep their own style: the edit pencil (.ed), chip and tree toggles (.x, .chip, .tog), the
   light/dark switch, menu entries and the chat panel. A selected toggle (.on) is a darker blue with a white ring. */
:is(button,.btn,input[type=submit],input[type=button]):not(.ed,.x,.chip,.tog,.bl-switch,.menu .dd *,#rtmchat-panel *,#msgpop *){
  background:var(--bl-button);color:#fff;border-color:var(--bl-button)}
:is(button,.btn,input[type=submit],input[type=button]):not(.ed,.x,.chip,.tog,.bl-switch,.menu .dd *,#rtmchat-panel *,#msgpop *):is(:hover,:focus-visible):not(:disabled){
  background:#3a4fc0;border-color:#3a4fc0;color:#fff}
:is(button,.btn,input[type=submit],input[type=button]):not(.ed,.x,.chip,.tog,.bl-switch,.menu .dd *,#rtmchat-panel *,#msgpop *).on{
  background:#2b3a94;border-color:#2b3a94;color:#fff;box-shadow:inset 0 0 0 2px #fff}
