/* Theme presets: all first-party pages share the same palette tokens. */
/* Classic's palette is normally declared by index.html. Standalone first-party
   pages (including /info/) do not load that document, so mirror its tokens
   here to keep every page on the exact same saved theme. */
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg"] {
  --bg-deep:#0e0514; --bg-card:rgba(0,0,0,.3); --bg-hover:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.5); --border-light:rgba(255,255,255,.15);
  --text:#fff; --text-dim:rgba(255,255,255,.6); --pill-bg:rgba(255,255,255,.1);
  --dropdown-bg:rgba(13,5,18,.75); --search-pill-bg:rgba(14,5,20,.75);
  --accent-purple:rgba(136,65,214,1);
  --info-bg-deep:#0e0514; --info-text:#fff; --info-text-dim:rgba(255,255,255,.65);
  --info-border:rgba(255,255,255,.18); --info-border-strong:rgba(255,255,255,.45);
  --info-accent:#b84dff; --info-accent-cyan:#00faff; --info-accent-pink:#ff3d8e;
  --info-accent-glow:rgba(180,0,255,.55); --info-accent-soft:rgba(120,0,200,.25);
}

html[data-theme="study"][data-theme-variant="study"] {
  --study-ink:#2c3930; --study-ink-dim:#5e6d62; --study-line:#cbd2c5; --study-line-soft:#dbe2d5;
  --study-surface:#f8f7f1; --study-page:#f1f0e7; --study-band:#e5e8de; --study-link:#496c55;
  --study-primary:#496c55; --study-primary-ink:#e6eee7; --study-ok:#3c7654;
}
html[data-theme="study"][data-theme-variant="study-library"] {
  --study-ink:#3d302e; --study-ink-dim:#705f58; --study-line:#d3c2ab; --study-line-soft:#ded0bc;
  --study-surface:#f9f2e7; --study-page:#eee5d8; --study-band:#e8ddcd; --study-link:#754451;
  --study-primary:#754451; --study-primary-ink:#f3e9dc; --study-ok:#52724d;
}
html[data-theme="study"][data-theme-variant="study-campus"] {
  --study-ink:#29372d; --study-ink-dim:#596c5d; --study-line:#c5d4c7; --study-line-soft:#d4e2d3;
  --study-surface:#f4f8f0; --study-page:#e9f0e7; --study-band:#dfe9dd; --study-link:#38664a;
  --study-primary:#38664a; --study-primary-ink:#e4eee4; --study-ok:#39754a;
}
html[data-theme="study"][data-theme-variant="study-lab"] {
  --study-ink:#283846; --study-ink-dim:#586b79; --study-line:#c2d1dd; --study-line-soft:#d2e0ea;
  --study-surface:#f5f8fa; --study-page:#e8eef3; --study-band:#dfe8ef; --study-link:#356584;
  --study-primary:#356584; --study-primary-ink:#e5eff6; --study-ok:#397354;
}
html[data-theme="study"][data-theme-variant="study-notebook"] {
  --study-ink:#34332e; --study-ink-dim:#68665d; --study-line:#d8cdb4; --study-line-soft:#e6dcc5;
  --study-surface:#fffaf0; --study-page:#f3eddb; --study-band:#eee5d0; --study-link:#4e6c9b;
  --study-primary:#4e6c9b; --study-primary-ink:#eaf0f8; --study-ok:#4c7958;
}
html[data-theme="study"][data-theme-variant="study-graphite"] {
  --study-ink:#303633; --study-ink-dim:#606864; --study-line:#c5c8c1; --study-line-soft:#d4d6d0;
  --study-surface:#f4f4f0; --study-page:#e8e8e3; --study-band:#dedfda; --study-link:#a06f48;
  --study-primary:#575f5b; --study-primary-ink:#eceeea; --study-ok:#477052;
}

/* The Study family keeps the useful site structure but gives it a clear,
   school-resource hierarchy: labelled navigation, a calm dashboard and
   compact catalogue rows. It remains themeable on modals and forms too. */
html[data-theme="study"] {
  --bg-deep:var(--study-page); --bg-card:var(--study-surface); --bg-hover:var(--study-band);
  --border:var(--study-line); --border-light:var(--study-line-soft); --text:var(--study-ink);
  --text-dim:var(--study-ink-dim); --pill-bg:var(--study-surface); --dropdown-bg:var(--study-surface);
  --search-pill-bg:var(--study-surface); --accent-purple:var(--study-link);
  --info-bg-deep:var(--study-page); --info-text:var(--study-ink); --info-text-dim:var(--study-ink-dim);
  --info-border:var(--study-line); --info-border-strong:var(--study-primary); --info-accent:var(--study-primary);
  --info-accent-cyan:var(--study-primary); --info-accent-pink:var(--study-link);
  --info-accent-glow:transparent; --info-accent-soft:var(--study-band);
}
html[data-theme="study"][data-theme-variant="study-library"] .home-hero-greeting,
html[data-theme="study"][data-theme-variant="study-library"] .home-section-title { font-family:Georgia,"Palatino Linotype",serif !important; }
html[data-theme="study"][data-theme-variant="study-campus"] .sidebar { background:#dfe9dd !important; }
html[data-theme="study"][data-theme-variant="study-lab"] .home-section-title { font-family:ui-monospace,SFMono-Regular,Menlo,monospace !important; letter-spacing:.02em; }
html[data-theme="study"][data-theme-variant="study-notebook"] .main { background-image:repeating-linear-gradient(180deg,transparent 0 31px,rgba(78,108,155,.035) 32px 33px) !important; }
html[data-theme="study"][data-theme-variant="study-graphite"] .home-quick-card,
html[data-theme="study"][data-theme-variant="study-graphite"] .home-chat-banner { background:#f4f4f0 !important; }
html[data-theme="study"] body,
html[data-theme="study"] #app,
html[data-theme="study"] .body-row,
html[data-theme="study"] .main,
html[data-theme="study"] .page { background:var(--study-page) !important; }
html[data-theme="study"] .top-bar,
html[data-theme="study"] .settings-modal,
html[data-theme="study"] .modal,
html[data-theme="study"] .jqrg-auth-modal,
html[data-theme="study"] .dropdown-menu,
html[data-theme="study"] .search-filter-menu,
html[data-theme="study"] .announcement-modal,
html[data-theme="study"] .jq-aichat-panel,
html[data-theme="study"] .jq-aichat-paywall-card,
html[data-theme="study"] .jq-aichat-sidebar {
  background:var(--study-surface) !important; color:var(--study-ink) !important;
  border-color:var(--study-line) !important; box-shadow:0 8px 26px rgba(38,55,47,.08) !important;
}
html[data-theme="study"] .sidebar {
  width:210px !important; min-width:210px !important; padding:18px 12px !important;
  background:var(--study-band) !important; border-right:1px solid var(--study-line) !important;
}
html[data-theme="study"] .sidebar nav { width:100%; display:flex; flex-direction:column; gap:5px; }
html[data-theme="study"] .sidebar nav button {
  width:100% !important; min-height:42px !important; height:auto !important; padding:8px 11px !important;
  display:flex !important; align-items:center; justify-content:flex-start; gap:12px;
  border:1px solid transparent !important; background:transparent !important; color:var(--study-ink) !important;
  text-align:left; box-shadow:none !important; transform:none !important; opacity:1 !important;
}
html[data-theme="study"] .sidebar nav button::after {
  font-size:13px; font-weight:550; color:var(--study-ink-dim); letter-spacing:.01em;
}
html[data-theme="study"] .sidebar nav button[data-nav="home"]::after { content:"Home"; }
html[data-theme="study"] .sidebar nav button[data-nav="games"]::after { content:"Learning library"; }
html[data-theme="study"] .sidebar nav button[data-nav="apps"]::after { content:"Study tools"; }
html[data-theme="study"] .sidebar nav button[data-nav="unblocks"]::after { content:"Resources"; }
html[data-theme="study"] .sidebar nav button[data-nav="contacts"]::after { content:"Contact"; }
html[data-theme="study"] .sidebar nav button.active { background:var(--study-surface) !important; border-color:var(--study-line) !important; border-left:3px solid var(--study-primary) !important; }
html[data-theme="study"] .sidebar nav button.active::after { color:var(--study-primary); }
html[data-theme="study"] .sidebar nav button svg,
html[data-theme="study"] .sidebar nav button svg * { fill:var(--study-ink-dim) !important; stroke:var(--study-ink-dim) !important; filter:none !important; }
html[data-theme="study"] .sidebar nav button[data-nav="games"] svg { fill:var(--study-ink-dim) !important; }
html[data-theme="study"] .main { border:0 !important; border-radius:0 !important; }
html[data-theme="study"] .top-bar { border-bottom:1px solid var(--study-line) !important; }
html[data-theme="study"] .top-bar .brand-wrap,
html[data-theme="study"] .top-bar .settings-top { filter:none !important; box-shadow:none !important; }
html[data-theme="study"] .home-bento { display:block !important; opacity:1 !important; animation:none !important; }
html[data-theme="study"] .home-bento-main { display:block !important; }
html[data-theme="study"] .home-greeting-row { padding:4px 0 20px !important; }
html[data-theme="study"] .home-hero-greeting { font-family:Georgia,"Times New Roman",serif !important; font-size:clamp(28px,3.4vw,40px) !important; font-weight:600 !important; }
html[data-theme="study"] .home-hero-subtitle { max-width:680px; font-size:15px !important; line-height:1.6; color:var(--study-ink-dim) !important; }
html[data-theme="study"] .home-bento-side { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px !important; margin:0 0 22px; }
html[data-theme="study"] .home-quick-card,
html[data-theme="study"] .home-chat-banner,
html[data-theme="study"] .partner-card { background:var(--study-surface) !important; border:1px solid var(--study-line) !important; border-radius:10px !important; box-shadow:0 2px 8px rgba(38,55,47,.045) !important; }
html[data-theme="study"] .home-quick-card:hover,
html[data-theme="study"] .home-chat-banner:hover,
html[data-theme="study"] .partner-card:hover { background:var(--study-band) !important; border-color:var(--study-primary) !important; transform:translateY(-1px) !important; }
html[data-theme="study"] .home-quick-icon,
html[data-theme="study"] .home-chat-banner-icon { background:var(--study-band) !important; border:1px solid var(--study-line-soft) !important; border-radius:8px !important; box-shadow:none !important; }
html[data-theme="study"] .home-chat-banner-cta { background:var(--study-band) !important; color:var(--study-primary) !important; border:1px solid var(--study-line) !important; }
html[data-theme="study"] .home-section { padding:17px 0 4px; border-top:1px solid var(--study-line-soft); opacity:1 !important; animation:none !important; }
html[data-theme="study"] .home-section-title { color:var(--study-ink) !important; font-size:20px !important; }
html[data-theme="study"] .home-section-title::before { width:3px; height:20px; background:var(--study-primary) !important; box-shadow:none !important; }
html[data-theme="study"] .home-section-link { color:var(--study-link) !important; }
html[data-theme="study"] .grid-1,
html[data-theme="study"] .grid-2 { gap:9px !important; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)) !important; }
html[data-theme="study"] .t-g,
html[data-theme="study"] .t-a,
html[data-theme="study"] .learning-module,
html[data-theme="study"] .interactive-module,
html[data-theme="study"] .educational-card {
  min-height:62px !important; padding:8px 11px !important; display:flex !important; align-items:center !important;
  gap:11px !important; border-radius:8px !important; background:var(--study-surface) !important;
  border:1px solid var(--study-line) !important; border-left:3px solid var(--study-primary) !important;
  box-shadow:0 2px 6px rgba(38,55,47,.04) !important; transform:none !important;
}
html[data-theme="study"] body .t-g img,
html[data-theme="study"] body .t-a img,
html[data-theme="study"] body .learning-module img,
html[data-theme="study"] body .interactive-module img,
html[data-theme="study"] body .educational-card img {
  display:block !important; position:static !important; flex:0 0 42px !important; width:42px !important; height:42px !important;
  border-radius:6px !important; object-fit:cover !important; opacity:.78; filter:saturate(.55) !important;
}
html[data-theme="study"] .tile-label,
html[data-theme="study"] .t-g .tile-label,
html[data-theme="study"] .t-a .tile-label { position:static !important; padding:0 !important; color:var(--study-ink) !important; font-size:14px !important; font-weight:550 !important; text-shadow:none !important; }
html[data-theme="study"] .t-g .tile-shadow,
html[data-theme="study"] .t-a .tile-shadow { display:none !important; }
html[data-theme="study"] #recent-grid-g.study-recent-list { display:block !important; overflow:visible !important; margin:0 !important; padding:0 !important; mask:none !important; }
html[data-theme="study"] #recent-grid-g.study-recent-list .study-recent-items { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:9px; }
html[data-theme="study"] #recent-grid-g.study-recent-list .home-banner-tile { width:auto !important; height:auto !important; min-height:60px; display:flex !important; align-items:center; gap:10px; padding:8px 11px; background:var(--study-surface) !important; background-image:none !important; border:1px solid var(--study-line) !important; border-left:3px solid var(--study-primary) !important; box-shadow:0 2px 6px rgba(38,55,47,.04) !important; }
html[data-theme="study"] #recent-grid-g.study-recent-list .home-banner-tile img { display:block !important; position:static !important; width:42px !important; height:42px !important; flex:0 0 42px; border-radius:6px; object-fit:cover; opacity:.8; }
html[data-theme="study"] #recent-grid-g.study-recent-list .home-banner-tile-shadow,
html[data-theme="study"] #recent-grid-g.study-recent-list .home-banner-tile-play { display:none !important; }
html[data-theme="study"] #recent-grid-g.study-recent-list .home-banner-tile-label { position:static !important; padding:0 !important; color:var(--study-ink) !important; background:none !important; text-shadow:none !important; }
html[data-theme="study"] #app button,
html[data-theme="study"] #app input,
html[data-theme="study"] #app select,
html[data-theme="study"] #app textarea { border-color:var(--study-line) !important; border-radius:7px !important; }
html[data-theme="study"] #app button:not(.home-quick-card):not(.jqrg-theme-choose-btn):not(.jq-aichat-send):not(.anniv-play-btn) { color:var(--study-ink) !important; }
html[data-theme="study"] #learn-cover { background:var(--study-page) !important; color:var(--study-ink) !important; }
html[data-theme="study"] .modal-overlay,
html[data-theme="study"] .jqrg-auth-overlay { background:rgba(32,42,35,.28) !important; }
html[data-theme="study"] .modal,
html[data-theme="study"] .jqrg-auth-modal,
html[data-theme="study"] #ac-modal .ac-panel,
html[data-theme="study"] #announcement-modal .modal,
html[data-theme="study"] .jq-aichat-paywall-card { background:var(--study-surface) !important; color:var(--study-ink) !important; border-color:var(--study-line) !important; border-radius:12px !important; box-shadow:0 18px 48px rgba(33,43,36,.18) !important; }
html[data-theme="study"] input::placeholder,
html[data-theme="study"] textarea::placeholder { color:var(--study-ink-dim) !important; opacity:.82 !important; }
html[data-theme="study"] ::selection { background:var(--study-primary) !important; color:#fff !important; }
@media(max-width:760px){
  html[data-theme="study"] .sidebar { width:58px !important; min-width:58px !important; padding:10px 6px !important; }
  html[data-theme="study"] .sidebar nav button { justify-content:center; padding:8px 5px !important; }
  html[data-theme="study"] .sidebar nav button::after { display:none; }
  html[data-theme="study"] #page-home { padding:20px 16px 30px !important; }
}

/* Solar Cabinet: a warm arcade floor with a bottom control dock. */
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg-solar"] {
  --bg-deep:#100d09; --bg-card:#21190f; --bg-hover:#302313; --border:#4b3920; --border-light:#392d1c;
  --text:#f5e8cd; --text-dim:#c6ac78; --accent-purple:#e3a52f; --pill-bg:#21190f; --dropdown-bg:#17120d; --search-pill-bg:#17120d;
  --info-bg-deep:#100d09; --info-text:#f5e8cd; --info-text-dim:#c6ac78; --info-border:#4b3920;
  --info-border-strong:#e3a52f; --info-accent:#e3a52f; --info-accent-cyan:#e3a52f; --info-accent-pink:#ff8f47;
  --info-accent-glow:rgba(227,165,47,.2); --info-accent-soft:rgba(227,165,47,.12);
}
html[data-theme-variant="jimmyqrg-solar"] .body-row { position:relative; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar { position:absolute !important; z-index:200; left:0; right:0; bottom:0; top:auto; width:100% !important; min-width:0 !important; height:68px; padding:6px 20px !important; background:#17120c !important; border-top:1px solid #57401e !important; border-right:0 !important; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav { width:100%; height:100%; display:flex; flex-direction:row; justify-content:space-around; align-items:center; gap:6px; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button { width:48px !important; height:48px !important; border-radius:14px !important; background:transparent !important; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button.active { background:#3b2a12 !important; box-shadow:inset 0 -3px #efa82b,0 0 18px rgba(239,168,43,.12) !important; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button.active svg { filter:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .main { border:0 !important; border-radius:0 !important; }
html[data-theme-variant="jimmyqrg-solar"] .main .page { padding-bottom:88px !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-hero-greeting,
html[data-theme-variant="jimmyqrg-solar"] .home-section-title { font-family:'Oxanium',system-ui,sans-serif; }
html[data-theme-variant="jimmyqrg-solar"] .home-section-title::before { background:#efa82b !important; box-shadow:0 0 12px rgba(239,168,43,.35) !important; }
html[data-theme-variant="jimmyqrg-solar"] .t-g:hover,
html[data-theme-variant="jimmyqrg-solar"] .t-a:hover,
html[data-theme-variant="jimmyqrg-solar"] .home-banner-tile:hover { border-color:#e8a62a !important; box-shadow:0 12px 32px rgba(239,168,43,.17) !important; }

/* Emerald Circuit: right-hand library rail, deep green surfaces and a
   vertical, manually browsable recent list. */
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg-verdant"] {
  --bg-deep:#07110d; --bg-card:#101f17; --bg-hover:#1b3024; --border:#2b4938; --border-light:#20382b;
  --text:#e1f0e5; --text-dim:#91b59e; --accent-purple:#38c98c; --pill-bg:#101f17; --dropdown-bg:#0d1913; --search-pill-bg:#0b1711;
  --info-bg-deep:#07110d; --info-text:#e1f0e5; --info-text-dim:#91b59e; --info-border:#2b4938;
  --info-border-strong:#38c98c; --info-accent:#38c98c; --info-accent-cyan:#38c98c; --info-accent-pink:#9acb56;
  --info-accent-glow:rgba(56,201,140,.18); --info-accent-soft:rgba(56,201,140,.12);
}
html[data-theme-variant="jimmyqrg-verdant"] .body-row { flex-direction:row-reverse; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar { border-right:0 !important; border-left:1px solid #2b4938 !important; background:#0d1913 !important; }
html[data-theme-variant="jimmyqrg-verdant"] .main { border-left:0 !important; border-right:1px solid #2b4938 !important; border-top-left-radius:0 !important; border-top-right-radius:20px !important; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar nav button.active { background:rgba(70,212,147,.13) !important; box-shadow:inset -3px 0 #46d493 !important; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar nav button.active svg { filter:drop-shadow(0 0 7px rgba(70,212,147,.4)) !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-section-title::before { background:#46d493 !important; box-shadow:0 0 12px rgba(70,212,147,.32) !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-section-link,
html[data-theme-variant="jimmyqrg-verdant"] .tile-label .hl { color:#73e6ad !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-quick-card { border-color:rgba(70,212,147,.2) !important; }
html[data-theme-variant="jimmyqrg-verdant"] #recent-grid-g .home-banner-track { display:grid !important; width:auto !important; gap:10px !important; padding:2px !important; animation:none !important; transform:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] #recent-grid-g .home-banner-tile { width:min(100%,460px) !important; height:76px !important; }
html[data-theme-variant="jimmyqrg-verdant"] #recent-grid-g .home-banner-track > .home-banner-tile:nth-child(n+7) { display:none !important; }
@media(max-width:680px){ html[data-theme-variant="jimmyqrg-verdant"] .body-row { flex-direction:row; } }

/* The Games icon follows the active theme family. */
html[data-theme="study"] .sidebar nav button[data-nav="games"] .games-icon-jimmyqrg { display:none !important; }
html[data-theme="jimmyqrg"] .sidebar nav button[data-nav="games"] .games-icon-study { display:none !important; }
html[data-theme="jimmyqrg"] .sidebar nav button[data-nav="games"] .games-icon-jimmyqrg { display:block !important; }

/* Glass stays legible on High/Extreme without asking for viewport-sized
   high-radius blurs or a live SVG displacement pass while the user is typing. */
@supports (backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px)) {
  body.lg-on .modal,
  body.lg-on #ac-modal .ac-panel {
    backdrop-filter:blur(12px) saturate(125%) !important;
    -webkit-backdrop-filter:blur(12px) saturate(125%) !important;
  }
  body.lg-on .modal-overlay { backdrop-filter:blur(5px) saturate(110%) !important; -webkit-backdrop-filter:blur(5px) saturate(110%) !important; }
  body.lg-on .dropdown-menu { backdrop-filter:blur(9px) saturate(120%) !important; -webkit-backdrop-filter:blur(9px) saturate(120%) !important; }
  body.lg-on .url-bar,
  body.lg-on .search-bar { backdrop-filter:blur(8px) saturate(120%) !important; -webkit-backdrop-filter:blur(8px) saturate(120%) !important; }
  body.lg-extreme .modal,
  body.lg-extreme #ac-modal .ac-panel { backdrop-filter:blur(15px) saturate(135%) !important; -webkit-backdrop-filter:blur(15px) saturate(135%) !important; }
  body.lg-extreme .dropdown-menu { backdrop-filter:blur(12px) saturate(130%) !important; -webkit-backdrop-filter:blur(12px) saturate(130%) !important; }
  body.lg-extreme .modal::before,
  body.lg-extreme .dropdown-menu::before,
  body.lg-extreme #ac-modal .ac-panel::before { display:none !important; filter:none !important; will-change:auto !important; }
  body.lg-extreme .modal::after,
  body.lg-extreme .dropdown-menu::after,
  body.lg-extreme #ac-modal .ac-panel::after { animation:none !important; background-position:center !important; }
}

/* -------------------------------------------------------------------------
   Theme identity pass
   Study surfaces use the active preset's own contrast tokens. Each JimmyQrg
   preset now has a separate visual grammar for the dashboard, library cards,
   navigation, menus, dialogs, and form controls.
   ---------------------------------------------------------------------- */

/* Study: repair the empty Recent panel, whose legacy banner styling used a
   fixed violet gradient, and keep the active navigation label readable. */
html[data-theme="study"] #app .home-banner-empty {
  min-height:116px !important; margin:0 !important; padding:26px 20px !important;
  color:var(--study-ink) !important; background:var(--study-surface) !important;
  border:1px dashed var(--study-line) !important; border-radius:10px !important;
  box-shadow:none !important; text-shadow:none !important;
}
html[data-theme="study"] #app .home-banner-empty::before { display:none !important; }
html[data-theme="study"] #app .home-banner-empty .home-empty-cta,
html[data-theme="study"] #app .home-banner-empty .home-empty-cta * {
  background:var(--study-primary) !important; border:1px solid var(--study-primary) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:none !important;
}
html[data-theme="study"] #app .sidebar nav button.active,
html[data-theme="study"] #app .sidebar nav button.active:hover {
  background:var(--study-primary) !important; border-color:transparent !important;
  border-left:3px solid var(--study-ink) !important; box-shadow:none !important;
}
html[data-theme="study"] #app .sidebar nav button.active::after,
html[data-theme="study"] #app .sidebar nav button.active * { color:#fff !important; -webkit-text-fill-color:#fff !important; }
html[data-theme="study"] #app .sidebar nav button.active svg,
html[data-theme="study"] #app .sidebar nav button.active svg * { fill:#fff !important; stroke:#fff !important; }
html[data-theme="study"] #app #page-home { padding-top:28px !important; }

/* Classic intentionally uses the original site styles from index.html. */

/* Solar Cabinet — a bright-bottom-dock arcade machine with a full-width
   marquee stage, stamped controls, orange indicator lights, and square panels. */
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg-solar"] {
  --bg-deep:#181006; --bg-card:#281a0b; --bg-hover:#39240d; --border:#74501d; --border-light:#4d3414;
  --text:#fff1d6; --text-dim:#d3b679; --accent-purple:#ffbd43; --pill-bg:#281a0b; --dropdown-bg:#201407; --search-pill-bg:#201407;
}
html[data-theme-variant="jimmyqrg-solar"] body { background:#100b05 !important; }
html[data-theme-variant="jimmyqrg-solar"] .top-bar { height:66px; min-height:66px; background:#211506 !important; border-bottom:3px solid #bd7b20; box-shadow:0 4px 0 #100b05; }
html[data-theme-variant="jimmyqrg-solar"] .top-bar .settings-top { border:1px solid #75501d; border-radius:4px !important; background:#2a1a08 !important; }
html[data-theme-variant="jimmyqrg-solar"] .body-row { position:relative; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar { position:absolute !important; z-index:950; left:0; right:0; bottom:0; top:auto; width:100% !important; min-width:0 !important; height:76px; padding:4px 8px env(safe-area-inset-bottom,4px) !important; background:#241706 !important; border-top:3px solid #bd7b20 !important; box-shadow:0 -8px 24px rgba(0,0,0,.4); }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav { width:100%; height:100%; display:flex; flex-direction:row; justify-content:center; align-items:center; gap:clamp(10px,4vw,50px); }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button { position:relative; display:flex !important; flex-direction:column; justify-content:center; gap:3px; width:66px !important; height:62px !important; border:1px solid transparent !important; border-radius:4px !important; background:transparent !important; opacity:1 !important; animation:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button::after { content:attr(data-nav); color:#d3b679; font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button svg { width:18px; height:18px; opacity:.8; filter:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button.active { background:#4a2d0c !important; border-color:#bd7b20 !important; box-shadow:inset 0 -3px #ffbd43 !important; }
html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button.active::after { color:#ffcf6c; }
html[data-theme-variant="jimmyqrg-solar"] .main { border:0 !important; border-radius:0 !important; background:#181006 !important; }
html[data-theme-variant="jimmyqrg-solar"] .main .page { padding-bottom:100px !important; }
html[data-theme-variant="jimmyqrg-solar"] #page-home { padding:26px clamp(16px,3vw,48px) 32px !important; gap:22px !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-bento { grid-template-columns:minmax(0,1fr) !important; gap:12px !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-bento-main { display:contents !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-greeting-row { padding:12px 16px !important; border-left:5px solid #ffbd43; background:#241706; }
html[data-theme-variant="jimmyqrg-solar"] .home-hero-greeting { font-family:'Oxanium',system-ui,sans-serif !important; color:#ffcc67 !important; -webkit-text-fill-color:#ffcc67 !important; background:none !important; animation:none !important; text-transform:uppercase; letter-spacing:.06em !important; font-size:clamp(25px,3vw,38px) !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-hero-subtitle { color:#d3b679 !important; opacity:1 !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-spotlight { min-height:220px !important; border-radius:4px !important; border:3px solid #8a5a1d !important; box-shadow:inset 0 0 0 5px #201407,0 12px 24px rgba(0,0,0,.38) !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-spotlight-overlay { background:linear-gradient(90deg,rgba(18,11,4,.93),rgba(18,11,4,.45) 64%,rgba(18,11,4,.12)) !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-spotlight-tag { border-radius:3px !important; background:#47300f !important; border-color:#b77b24 !important; color:#ffcc67 !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-spotlight-play,
html[data-theme-variant="jimmyqrg-solar"] .home-spotlight-shuffle { border-radius:4px !important; box-shadow:none !important; backdrop-filter:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-spotlight-play { color:#211506 !important; background:#ffbd43 !important; border:2px solid #ffe099 !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-bento-side { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:9px !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-quick-card,
html[data-theme-variant="jimmyqrg-solar"] .home-chat-banner { min-height:54px !important; padding:10px 12px !important; border-radius:4px !important; background:#241706 !important; border:1px solid #6d4a1b !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-quick-card::before { display:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-quick-icon,
html[data-theme-variant="jimmyqrg-solar"] .home-chat-banner-icon { width:34px !important; height:34px !important; border-radius:3px !important; background:#52320e !important; box-shadow:inset 0 0 0 1px #a56b1e !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-section { border-top:2px solid #533713; padding-top:13px; }
html[data-theme-variant="jimmyqrg-solar"] .home-section-title { text-transform:uppercase; letter-spacing:.08em !important; font-family:'Oxanium',system-ui,sans-serif !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-section-title::before { width:8px !important; height:8px !important; border-radius:0 !important; background:#ffbd43 !important; box-shadow:0 0 0 3px rgba(255,189,67,.18) !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-banner-empty { background:#241706 !important; border:1px dashed #8a5a1d !important; border-radius:4px !important; color:#f5e3bd !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-banner-empty::before { display:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-banner-empty .home-empty-cta { color:#201407 !important; background:#ffbd43 !important; border:1px solid #ffe099 !important; border-radius:3px !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-banner-tile { border:2px solid #5f4019 !important; border-radius:4px !important; box-shadow:0 5px 0 #100b05 !important; }
html[data-theme-variant="jimmyqrg-solar"] .home-banner-tile:hover { transform:translateY(-2px) !important; border-color:#ffbd43 !important; box-shadow:0 7px 0 #100b05 !important; }
html[data-theme-variant="jimmyqrg-solar"] .grid-1,
html[data-theme-variant="jimmyqrg-solar"] .grid-2 { grid-template-columns:repeat(auto-fill,minmax(230px,1fr)) !important; gap:18px !important; }
html[data-theme-variant="jimmyqrg-solar"] .t-g,
html[data-theme-variant="jimmyqrg-solar"] .t-a { border:3px solid #5f4019 !important; border-radius:4px !important; box-shadow:0 5px 0 #100b05 !important; }
html[data-theme-variant="jimmyqrg-solar"] .t-g:hover,
html[data-theme-variant="jimmyqrg-solar"] .t-a:hover { border-color:#ffbd43 !important; transform:translateY(-2px) !important; box-shadow:0 7px 0 #100b05 !important; }
html[data-theme-variant="jimmyqrg-solar"] .dropdown-btn,
html[data-theme-variant="jimmyqrg-solar"] .search-bar,
html[data-theme-variant="jimmyqrg-solar"] .url-bar,
html[data-theme-variant="jimmyqrg-solar"] .search-filter-btn { border:2px solid #75501d !important; border-radius:3px !important; background:#201407 !important; box-shadow:inset 0 -3px rgba(0,0,0,.22) !important; backdrop-filter:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .dropdown-menu,
html[data-theme-variant="jimmyqrg-solar"] .search-filter-menu { top:calc(100% + 7px) !important; border:2px solid #bd7b20 !important; border-radius:3px !important; background:#201407 !important; box-shadow:0 12px 28px rgba(0,0,0,.52) !important; backdrop-filter:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .dropdown-menu button,
html[data-theme-variant="jimmyqrg-solar"] .filter-check-row { border-radius:0 !important; border-bottom:1px solid #4d3414 !important; }
html[data-theme-variant="jimmyqrg-solar"] .dropdown-menu button:hover,
html[data-theme-variant="jimmyqrg-solar"] .filter-check-row:hover { background:#4a2d0c !important; padding-left:16px !important; }
html[data-theme-variant="jimmyqrg-solar"] .search-filter-footer { background:#201407 !important; border-color:#75501d !important; backdrop-filter:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .filter-confirm-btn,
html[data-theme-variant="jimmyqrg-solar"] .rnd-1-btn { color:#201407 !important; background:#ffbd43 !important; border:2px solid #ffe099 !important; border-radius:3px !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-solar"] .modal,
html[data-theme-variant="jimmyqrg-solar"] .settings-modal,
html[data-theme-variant="jimmyqrg-solar"] .jqrg-auth-modal { border:3px solid #8a5a1d !important; border-radius:4px !important; box-shadow:0 0 0 5px #201407,0 20px 60px rgba(0,0,0,.64) !important; }
html[data-theme-variant="jimmyqrg-solar"] .setting-btn,
html[data-theme-variant="jimmyqrg-solar"] .modal button { border-radius:3px !important; }

/* Emerald Circuit — right-edge command rail and a split dashboard. Recent
   activity reads as an index beside the featured shelf, with pill controls
   and forest-glass drawers instead of the other presets' arcade cards. */
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg-verdant"] {
  --bg-deep:#07130e; --bg-card:#10251a; --bg-hover:#1b3928; --border:#315941; --border-light:#223f30;
  --text:#e4f4e8; --text-dim:#9dbda5; --accent-purple:#59d99b; --pill-bg:#10251a; --dropdown-bg:#0d1e15; --search-pill-bg:#0b1a12;
}
html[data-theme-variant="jimmyqrg-verdant"] body { background:#050c08 !important; }
html[data-theme-variant="jimmyqrg-verdant"] .top-bar { height:58px; min-height:58px; background:#08150e !important; border-bottom:1px solid #315941; }
html[data-theme-variant="jimmyqrg-verdant"] .body-row { flex-direction:row-reverse; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar { width:82px !important; min-width:82px !important; background:#091910 !important; border-left:1px solid #315941 !important; border-right:0 !important; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar nav button { display:flex !important; flex-direction:column; gap:3px; width:66px !important; height:56px !important; border-radius:18px 7px 18px 7px !important; opacity:1 !important; animation:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar nav button::after { content:attr(data-nav); color:#9dbda5; font-size:8px; letter-spacing:.06em; text-transform:uppercase; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar nav button.active { background:#173b28 !important; box-shadow:inset -3px 0 #59d99b !important; }
html[data-theme-variant="jimmyqrg-verdant"] .sidebar nav button.active::after { color:#b8f5d0; }
html[data-theme-variant="jimmyqrg-verdant"] .main { border:0 !important; border-radius:0 !important; background:#07130e !important; }
html[data-theme-variant="jimmyqrg-verdant"] #page-home.active { display:grid !important; grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr); align-content:start; gap:22px 26px !important; padding:26px clamp(18px,3vw,46px) 40px !important; }
html[data-theme-variant="jimmyqrg-verdant"] #page-home > .home-bento,
html[data-theme-variant="jimmyqrg-verdant"] #page-home > .home-chat-banner { grid-column:1 / -1; }
html[data-theme-variant="jimmyqrg-verdant"] #page-home > .recent-1-section { grid-column:1; grid-row:3 / span 2; align-self:start; }
html[data-theme-variant="jimmyqrg-verdant"] #page-home > .home-section:has(#home-f-container) { grid-column:2; grid-row:3; }
html[data-theme-variant="jimmyqrg-verdant"] #page-home > .home-section:has(#home-o-container) { grid-column:2; grid-row:4; }
html[data-theme-variant="jimmyqrg-verdant"] .home-bento { grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr) !important; gap:22px !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-hero-greeting { font-family:system-ui,sans-serif !important; font-size:clamp(30px,3vw,42px) !important; font-weight:650 !important; letter-spacing:-.04em !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-spotlight { border-radius:24px 6px 24px 6px !important; border:1px solid #315941 !important; box-shadow:0 18px 44px rgba(0,0,0,.24) !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-spotlight-overlay { background:linear-gradient(90deg,rgba(3,15,8,.92),rgba(3,15,8,.35) 62%,rgba(3,15,8,.05)) !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-spotlight-play { border-radius:18px 5px 18px 5px !important; background:#27754d !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-quick-card,
html[data-theme-variant="jimmyqrg-verdant"] .home-chat-banner { border-radius:20px 6px 20px 6px !important; background:#10251a !important; border:1px solid #315941 !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-quick-card::before { background:linear-gradient(110deg,transparent,rgba(89,217,155,.07)) !important; opacity:1 !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-quick-icon,
html[data-theme-variant="jimmyqrg-verdant"] .home-chat-banner-icon { border-radius:16px 5px 16px 5px !important; background:#1b5035 !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-section { padding:14px 16px 16px !important; border:1px solid #254733; border-radius:18px 5px 18px 5px; background:#091910; }
html[data-theme-variant="jimmyqrg-verdant"] .home-section-title::before { width:7px !important; height:7px !important; border-radius:50% !important; background:#59d99b !important; box-shadow:0 0 0 4px rgba(89,217,155,.12) !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-section-link { border-radius:18px !important; color:#8be8b8 !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner { margin:0 !important; padding:0 !important; overflow:visible !important; mask:none !important; -webkit-mask:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-track { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px !important; width:100% !important; padding:0 !important; animation:none !important; transform:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-duplicate { display:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-tile { width:auto !important; height:68px !important; border-radius:14px 5px 14px 5px !important; border:1px solid #315941 !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-tile img { position:absolute !important; left:0; top:0; width:78px !important; height:100% !important; object-fit:cover !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-tile-shadow { left:78px !important; height:100% !important; background:linear-gradient(90deg,rgba(7,19,14,.08),#07130e 88%) !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-tile-label { left:84px !important; right:4px !important; bottom:0 !important; top:0 !important; display:flex !important; align-items:center; padding:6px !important; text-align:left !important; font-size:12px !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-tile-play { display:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-empty { min-height:90px; margin:0 !important; padding:18px !important; border-radius:16px 5px 16px 5px !important; background:#10251a !important; border:1px dashed #315941 !important; box-shadow:none !important; color:#c3e8ce !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-empty::before { display:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .home-banner-empty .home-empty-cta { background:#1b5035 !important; border:1px solid #397a57 !important; border-radius:16px 5px 16px 5px !important; color:#e4f4e8 !important; }
html[data-theme-variant="jimmyqrg-verdant"] .grid-1,
html[data-theme-variant="jimmyqrg-verdant"] .grid-2 { grid-template-columns:repeat(auto-fill,minmax(270px,1fr)) !important; gap:10px !important; }
html[data-theme-variant="jimmyqrg-verdant"] .t-g,
html[data-theme-variant="jimmyqrg-verdant"] .t-a { aspect-ratio:auto !important; min-height:88px; border-radius:24px 6px 24px 6px !important; border:1px solid #315941 !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .t-g img,
html[data-theme-variant="jimmyqrg-verdant"] .t-a img { position:absolute; left:0; top:0; width:32% !important; height:100% !important; object-fit:cover; }
html[data-theme-variant="jimmyqrg-verdant"] .t-g .tile-label,
html[data-theme-variant="jimmyqrg-verdant"] .t-a .tile-label { left:32% !important; top:0 !important; right:0 !important; bottom:0 !important; display:flex !important; align-items:center; padding:12px !important; text-align:left !important; background:linear-gradient(90deg,#10251a,#10251a) !important; text-shadow:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .t-g .tile-shadow,
html[data-theme-variant="jimmyqrg-verdant"] .t-a .tile-shadow { display:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .dropdown-btn,
html[data-theme-variant="jimmyqrg-verdant"] .search-bar,
html[data-theme-variant="jimmyqrg-verdant"] .url-bar,
html[data-theme-variant="jimmyqrg-verdant"] .search-filter-btn { border-radius:24px !important; background:#0d1e15 !important; border:1px solid #315941 !important; box-shadow:inset 0 1px rgba(255,255,255,.04) !important; backdrop-filter:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .dropdown-menu,
html[data-theme-variant="jimmyqrg-verdant"] .search-filter-menu { top:calc(100% + 8px) !important; border-radius:16px 5px 16px 5px !important; border:1px solid #397a57 !important; background:#0d1e15 !important; box-shadow:0 18px 44px rgba(0,0,0,.38) !important; backdrop-filter:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .dropdown-menu button,
html[data-theme-variant="jimmyqrg-verdant"] .filter-check-row { border-radius:14px 4px 14px 4px !important; margin:3px 6px; }
html[data-theme-variant="jimmyqrg-verdant"] .dropdown-menu button:hover,
html[data-theme-variant="jimmyqrg-verdant"] .filter-check-row:hover { background:#1b3928 !important; padding-left:16px !important; }
html[data-theme-variant="jimmyqrg-verdant"] .search-filter-footer { background:#0d1e15 !important; border-color:#315941 !important; backdrop-filter:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .filter-confirm-btn,
html[data-theme-variant="jimmyqrg-verdant"] .rnd-1-btn { border-radius:18px 5px 18px 5px !important; background:#27754d !important; box-shadow:none !important; }
html[data-theme-variant="jimmyqrg-verdant"] .modal,
html[data-theme-variant="jimmyqrg-verdant"] .settings-modal,
html[data-theme-variant="jimmyqrg-verdant"] .jqrg-auth-modal { border:1px solid #397a57 !important; border-radius:24px 6px 24px 6px !important; box-shadow:0 22px 70px rgba(0,0,0,.48) !important; }
html[data-theme-variant="jimmyqrg-verdant"] .setting-btn,
html[data-theme-variant="jimmyqrg-verdant"] .modal button { border-radius:18px 5px 18px 5px !important; }

@media(max-width:760px) {
  html[data-theme-variant="jimmyqrg-verdant"] #page-home.active { display:flex !important; flex-direction:column; gap:16px !important; }
  html[data-theme-variant="jimmyqrg-verdant"] #page-home > .recent-1-section,
  html[data-theme-variant="jimmyqrg-verdant"] #page-home > .home-section:has(#home-f-container),
  html[data-theme-variant="jimmyqrg-verdant"] #page-home > .home-section:has(#home-o-container) { grid-column:auto; grid-row:auto; }
  html[data-theme-variant="jimmyqrg-verdant"] .home-banner-track { grid-template-columns:1fr !important; }
  html[data-theme-variant="jimmyqrg-solar"] .sidebar nav { gap:4px; }
  html[data-theme-variant="jimmyqrg-solar"] .sidebar nav button { width:56px !important; }
}

/* Study variants also change the page grammar, so choosing a palette changes
   the way the library is organized and navigated rather than just its hue. */

/* Reading Room: a book catalogue with a burgundy reading rail and book-spine
   rows instead of the default classroom resource cards. */
html[data-theme-variant="study-library"] .top-bar { background:#f9f2e7 !important; border-bottom:2px solid #d3c2ab !important; }
html[data-theme-variant="study-library"] .sidebar { background:#754451 !important; border-right:0 !important; }
html[data-theme-variant="study-library"] .sidebar nav button { border-radius:2px 12px 12px 2px !important; }
html[data-theme-variant="study-library"] .sidebar nav button.active { background:#f9f2e7 !important; border-left:4px solid #754451 !important; }
html[data-theme-variant="study-library"] .sidebar nav button.active::after,
html[data-theme-variant="study-library"] .sidebar nav button.active svg,
html[data-theme-variant="study-library"] .sidebar nav button.active svg * { color:#754451 !important; fill:#754451 !important; stroke:#754451 !important; }
html[data-theme="study"][data-theme-variant="study-library"] #app .sidebar nav button.active { background:#f9f2e7 !important; border-left:4px solid #754451 !important; }
html[data-theme="study"][data-theme-variant="study-library"] #app .sidebar nav button.active::after,
html[data-theme="study"][data-theme-variant="study-library"] #app .sidebar nav button.active svg,
html[data-theme="study"][data-theme-variant="study-library"] #app .sidebar nav button.active svg * { color:#754451 !important; fill:#754451 !important; stroke:#754451 !important; }
html[data-theme-variant="study-library"] #page-home { max-width:1500px; margin:0 auto; }
html[data-theme-variant="study-library"] .home-section { border-top:0 !important; border-left:4px solid #754451; background:#f9f2e7; padding:16px 18px !important; }
html[data-theme-variant="study-library"] .home-section-title { font-family:Georgia,"Palatino Linotype",serif !important; }
html[data-theme-variant="study-library"] .grid-1,
html[data-theme-variant="study-library"] .grid-2 { grid-template-columns:repeat(auto-fill,minmax(250px,1fr)) !important; gap:12px !important; }
html[data-theme-variant="study-library"] .t-g,
html[data-theme-variant="study-library"] .t-a { aspect-ratio:auto !important; min-height:106px !important; border-radius:3px 12px 12px 3px !important; border:1px solid #d3c2ab !important; border-left:7px solid #754451 !important; background:#f9f2e7 !important; box-shadow:0 3px 8px rgba(61,48,46,.08) !important; }
html[data-theme-variant="study-library"] .t-g img,
html[data-theme-variant="study-library"] .t-a img { position:absolute; left:8px; top:8px; width:74px !important; height:88px !important; border-radius:3px !important; object-fit:cover; }
html[data-theme-variant="study-library"] .t-g .tile-shadow,
html[data-theme-variant="study-library"] .t-a .tile-shadow { display:none !important; }
html[data-theme-variant="study-library"] .t-g .tile-label,
html[data-theme-variant="study-library"] .t-a .tile-label { position:absolute !important; left:94px !important; top:0 !important; bottom:0 !important; display:flex !important; align-items:center; color:#3d302e !important; text-shadow:none !important; white-space:normal !important; }
html[data-theme-variant="study-library"] .dropdown-btn,
html[data-theme-variant="study-library"] .search-bar,
html[data-theme-variant="study-library"] .search-filter-btn { border-radius:3px !important; background:#f9f2e7 !important; border-color:#d3c2ab !important; }
html[data-theme-variant="study-library"] .dropdown-menu,
html[data-theme-variant="study-library"] .search-filter-menu { border-radius:3px !important; background:#f9f2e7 !important; border:1px solid #d3c2ab !important; box-shadow:0 10px 28px rgba(61,48,46,.16) !important; }
html[data-theme-variant="study-library"] .dropdown-menu button:hover,
html[data-theme-variant="study-library"] .filter-check-row:hover { background:#e8ddcd !important; color:#3d302e !important; }
html[data-theme-variant="study-library"] .modal,
html[data-theme-variant="study-library"] .settings-modal { border-radius:4px !important; border:1px solid #d3c2ab !important; }

/* Field Notes: navigation becomes a horizontal trail beneath the header; the
   dashboard opens into a broad, field-journal workspace. */
html[data-theme-variant="study-campus"] .body-row { flex-direction:column !important; }
html[data-theme-variant="study-campus"] .sidebar { width:100% !important; min-width:0 !important; height:60px; min-height:60px; flex-direction:row !important; padding:4px 16px !important; border-right:0 !important; border-bottom:1px solid #c5d4c7 !important; }
html[data-theme-variant="study-campus"] .sidebar nav { flex-direction:row !important; align-items:center; justify-content:center; gap:8px !important; }
html[data-theme-variant="study-campus"] .sidebar nav button { width:90px !important; height:44px !important; min-height:44px !important; flex-direction:column; gap:2px; border-radius:20px !important; }
html[data-theme-variant="study-campus"] .sidebar nav button::after { font-size:9px !important; text-transform:uppercase; letter-spacing:.04em; }
html[data-theme-variant="study-campus"] .sidebar nav button.active { background:#38664a !important; border:0 !important; }
html[data-theme-variant="study-campus"] .sidebar nav button.active::after,
html[data-theme-variant="study-campus"] .sidebar nav button.active svg,
html[data-theme-variant="study-campus"] .sidebar nav button.active svg * { color:#fff !important; fill:#fff !important; stroke:#fff !important; }
html[data-theme="study"][data-theme-variant="study-campus"] #app .sidebar nav button.active { background:#38664a !important; border:0 !important; }
html[data-theme-variant="study-campus"] .main { min-height:0; border:0 !important; }
html[data-theme-variant="study-campus"] #page-home { max-width:1600px; margin:0 auto; padding:32px clamp(20px,4vw,60px) !important; }
html[data-theme-variant="study-campus"] .home-bento { grid-template-columns:minmax(0,1fr) minmax(310px,.72fr) !important; gap:28px !important; }
html[data-theme-variant="study-campus"] .home-section { border:0 !important; border-radius:18px !important; padding:18px !important; background:#f4f8f0 !important; }
html[data-theme-variant="study-campus"] .grid-1,
html[data-theme-variant="study-campus"] .grid-2 { grid-template-columns:repeat(auto-fill,minmax(225px,1fr)) !important; gap:16px !important; }
html[data-theme-variant="study-campus"] .t-g,
html[data-theme-variant="study-campus"] .t-a { border-radius:18px !important; border:1px solid #c5d4c7 !important; box-shadow:0 7px 17px rgba(41,55,45,.07) !important; }
html[data-theme-variant="study-campus"] .t-g:hover,
html[data-theme-variant="study-campus"] .t-a:hover { transform:translateY(-2px) !important; box-shadow:0 10px 22px rgba(41,55,45,.14) !important; }
html[data-theme-variant="study-campus"] .dropdown-btn,
html[data-theme-variant="study-campus"] .search-bar,
html[data-theme-variant="study-campus"] .search-filter-btn { border-radius:22px !important; background:#f4f8f0 !important; border-color:#c5d4c7 !important; }
html[data-theme-variant="study-campus"] .dropdown-menu,
html[data-theme-variant="study-campus"] .search-filter-menu { border-radius:14px !important; background:#f4f8f0 !important; border-color:#c5d4c7 !important; box-shadow:0 14px 32px rgba(41,55,45,.16) !important; }
html[data-theme-variant="study-campus"] .dropdown-menu button:hover,
html[data-theme-variant="study-campus"] .filter-check-row:hover { background:#dfe9dd !important; color:#29372d !important; }
@media(max-width:760px) {
  html[data-theme-variant="study-campus"] .sidebar { overflow-x:auto; justify-content:flex-start; }
  html[data-theme-variant="study-campus"] .sidebar nav { justify-content:flex-start; }
  html[data-theme-variant="study-campus"] .sidebar nav button { width:64px !important; }
  html[data-theme-variant="study-campus"] .home-bento { grid-template-columns:1fr !important; }
}

/* Lab Bench: instrument-panel controls and a dense test-card matrix. */
html[data-theme-variant="study-lab"] .top-bar { background:#e2eaf0 !important; border-bottom:2px solid #aebfcc !important; }
html[data-theme-variant="study-lab"] .sidebar { width:66px !important; min-width:66px !important; background:#d9e4ec !important; border-right:1px solid #aebfcc !important; }
html[data-theme-variant="study-lab"] .sidebar nav button { border-radius:3px !important; }
html[data-theme-variant="study-lab"] .sidebar nav button.active { background:#356584 !important; border-left:0 !important; box-shadow:inset 0 -3px #183e57 !important; }
html[data-theme-variant="study-lab"] .sidebar nav button.active svg,
html[data-theme-variant="study-lab"] .sidebar nav button.active svg * { fill:#fff !important; stroke:#fff !important; }
html[data-theme="study"][data-theme-variant="study-lab"] #app .sidebar nav button.active { background:#356584 !important; border-left:0 !important; box-shadow:inset 0 -3px #183e57 !important; }
html[data-theme-variant="study-lab"] #page-home { padding:20px !important; }
html[data-theme-variant="study-lab"] .home-section { border:1px solid #c2d1dd !important; background:#f5f8fa !important; padding:14px !important; }
html[data-theme-variant="study-lab"] .home-section-title,
html[data-theme-variant="study-lab"] .home-hero-greeting { font-family:ui-monospace,SFMono-Regular,Menlo,monospace !important; letter-spacing:.02em !important; }
html[data-theme-variant="study-lab"] .grid-1,
html[data-theme-variant="study-lab"] .grid-2 { grid-template-columns:repeat(auto-fill,minmax(185px,1fr)) !important; gap:8px !important; }
html[data-theme-variant="study-lab"] .t-g,
html[data-theme-variant="study-lab"] .t-a { aspect-ratio:1.22 !important; border-radius:2px !important; border:1px solid #c2d1dd !important; border-top:4px solid #356584 !important; box-shadow:0 2px 4px rgba(40,56,70,.07) !important; }
html[data-theme-variant="study-lab"] .dropdown-btn,
html[data-theme-variant="study-lab"] .search-bar,
html[data-theme-variant="study-lab"] .search-filter-btn { border-radius:2px !important; background:#f5f8fa !important; border-color:#aebfcc !important; box-shadow:none !important; }
html[data-theme-variant="study-lab"] .dropdown-menu,
html[data-theme-variant="study-lab"] .search-filter-menu { border-radius:2px !important; background:#f5f8fa !important; border-color:#aebfcc !important; box-shadow:0 8px 20px rgba(40,56,70,.15) !important; }
html[data-theme-variant="study-lab"] .dropdown-menu button:hover,
html[data-theme-variant="study-lab"] .filter-check-row:hover { background:#dfe8ef !important; color:#283846 !important; }
html[data-theme-variant="study-lab"] .modal,
html[data-theme-variant="study-lab"] .settings-modal { border-radius:3px !important; border:1px solid #aebfcc !important; }

/* Notebook: ruled paper pages with a bottom index-tab navigation and tactile
   note cards. */
html[data-theme-variant="study-notebook"] .body-row { position:relative; }
html[data-theme-variant="study-notebook"] .sidebar { position:absolute !important; z-index:950; left:0; right:0; bottom:0; top:auto; width:100% !important; min-width:0 !important; height:66px; padding:4px 8px env(safe-area-inset-bottom,4px) !important; background:#e9dfca !important; border-top:1px solid #cbbd9f !important; border-right:0 !important; }
html[data-theme-variant="study-notebook"] .sidebar nav { width:100%; flex-direction:row !important; justify-content:center; align-items:center; gap:8px !important; }
html[data-theme-variant="study-notebook"] .sidebar nav button { display:flex !important; flex-direction:column; gap:2px; width:74px !important; height:54px !important; border-radius:8px 8px 2px 2px !important; opacity:1 !important; animation:none !important; }
html[data-theme-variant="study-notebook"] .sidebar nav button::after { content:attr(data-nav); color:#68665d; font-size:8px; text-transform:uppercase; }
html[data-theme-variant="study-notebook"] .sidebar nav button.active { background:#fffaf0 !important; border:1px solid #d8cdb4 !important; border-bottom:3px solid #4e6c9b !important; }
html[data-theme-variant="study-notebook"] .sidebar nav button.active::after { color:#4e6c9b; }
html[data-theme="study"][data-theme-variant="study-notebook"] #app .sidebar nav button.active { background:#fffaf0 !important; border:1px solid #d8cdb4 !important; border-bottom:3px solid #4e6c9b !important; }
html[data-theme="study"][data-theme-variant="study-notebook"] #app .sidebar nav button.active::after,
html[data-theme="study"][data-theme-variant="study-notebook"] #app .sidebar nav button.active svg,
html[data-theme="study"][data-theme-variant="study-notebook"] #app .sidebar nav button.active svg * { color:#4e6c9b !important; fill:#4e6c9b !important; stroke:#4e6c9b !important; }
html[data-theme-variant="study-notebook"] .main .page { padding-bottom:82px !important; }
html[data-theme-variant="study-notebook"] .home-greeting-row { padding:12px 14px !important; border-left:3px solid #4e6c9b; background:rgba(255,250,240,.72); }
html[data-theme-variant="study-notebook"] .home-section { border:1px dashed #d8cdb4 !important; background:rgba(255,250,240,.72) !important; padding:14px !important; }
html[data-theme-variant="study-notebook"] .grid-1,
html[data-theme-variant="study-notebook"] .grid-2 { grid-template-columns:repeat(auto-fill,minmax(215px,1fr)) !important; gap:12px !important; }
html[data-theme-variant="study-notebook"] .t-g,
html[data-theme-variant="study-notebook"] .t-a { aspect-ratio:auto !important; min-height:86px !important; border-radius:2px !important; border:1px solid #d8cdb4 !important; border-bottom:3px solid #4e6c9b !important; background:#fffaf0 !important; box-shadow:2px 3px 0 rgba(78,108,155,.06) !important; }
html[data-theme-variant="study-notebook"] .t-g .tile-label,
html[data-theme-variant="study-notebook"] .t-a .tile-label { color:#34332e !important; }
html[data-theme-variant="study-notebook"] .dropdown-btn,
html[data-theme-variant="study-notebook"] .search-bar,
html[data-theme-variant="study-notebook"] .search-filter-btn { border-radius:4px !important; background:#fffaf0 !important; border-color:#d8cdb4 !important; }
html[data-theme-variant="study-notebook"] .dropdown-menu,
html[data-theme-variant="study-notebook"] .search-filter-menu { border-radius:4px !important; background:#fffaf0 !important; border-color:#d8cdb4 !important; box-shadow:3px 5px 14px rgba(52,51,46,.12) !important; }
html[data-theme-variant="study-notebook"] .dropdown-menu button:hover,
html[data-theme-variant="study-notebook"] .filter-check-row:hover { background:#eee5d0 !important; color:#34332e !important; }

/* Graphite: an editorial index with the navigation on the right and long,
   monochrome resource rows. */
html[data-theme-variant="study-graphite"] .body-row { flex-direction:row-reverse; }
html[data-theme-variant="study-graphite"] .sidebar { width:78px !important; min-width:78px !important; background:#343b37 !important; border-left:1px solid #929992 !important; border-right:0 !important; }
html[data-theme-variant="study-graphite"] .sidebar nav button { border-radius:0 !important; }
html[data-theme-variant="study-graphite"] .sidebar nav button.active { background:#575f5b !important; border:0 !important; box-shadow:inset -3px 0 #d49b65 !important; }
html[data-theme-variant="study-graphite"] .sidebar nav button.active svg,
html[data-theme-variant="study-graphite"] .sidebar nav button.active svg * { fill:#fff !important; stroke:#fff !important; }
html[data-theme="study"][data-theme-variant="study-graphite"] #app .sidebar nav button.active { background:#575f5b !important; border:0 !important; box-shadow:inset -3px 0 #d49b65 !important; }
html[data-theme-variant="study-graphite"] .main { border:0 !important; }
html[data-theme-variant="study-graphite"] #page-home { max-width:1500px; margin:0 auto; padding:30px clamp(20px,4vw,58px) !important; }
html[data-theme-variant="study-graphite"] .home-section { border:0 !important; border-bottom:1px solid #c5c8c1; padding:16px 0 !important; }
html[data-theme-variant="study-graphite"] .home-section-title::before { width:2px !important; background:#575f5b !important; }
html[data-theme-variant="study-graphite"] .grid-1,
html[data-theme-variant="study-graphite"] .grid-2 { grid-template-columns:1fr !important; gap:6px !important; }
html[data-theme-variant="study-graphite"] .t-g,
html[data-theme-variant="study-graphite"] .t-a { aspect-ratio:auto !important; min-height:54px !important; border-radius:0 !important; border:0 !important; border-bottom:1px solid #c5c8c1 !important; background:#f4f4f0 !important; box-shadow:none !important; }
html[data-theme-variant="study-graphite"] .t-g img,
html[data-theme-variant="study-graphite"] .t-a img { display:none !important; }
html[data-theme-variant="study-graphite"] .t-g .tile-label,
html[data-theme-variant="study-graphite"] .t-a .tile-label { position:static !important; display:flex; align-items:center; height:54px; padding:0 14px !important; color:#303633 !important; text-shadow:none !important; }
html[data-theme-variant="study-graphite"] .t-g .tile-shadow,
html[data-theme-variant="study-graphite"] .t-a .tile-shadow { display:none !important; }
html[data-theme-variant="study-graphite"] .dropdown-btn,
html[data-theme-variant="study-graphite"] .search-bar,
html[data-theme-variant="study-graphite"] .search-filter-btn { border-radius:0 !important; background:#f4f4f0 !important; border-color:#929992 !important; box-shadow:none !important; }
html[data-theme-variant="study-graphite"] .dropdown-menu,
html[data-theme-variant="study-graphite"] .search-filter-menu { border-radius:0 !important; background:#f4f4f0 !important; border-color:#929992 !important; box-shadow:0 8px 18px rgba(48,54,51,.14) !important; }
html[data-theme-variant="study-graphite"] .dropdown-menu button:hover,
html[data-theme-variant="study-graphite"] .filter-check-row:hover { background:#dedfda !important; color:#303633 !important; }
@media(max-width:760px) {
  html[data-theme-variant="study-graphite"] .body-row { flex-direction:row; }
  html[data-theme-variant="study-graphite"] .sidebar { width:58px !important; min-width:58px !important; }
  html[data-theme-variant="study-notebook"] .sidebar nav { gap:0 !important; }
  html[data-theme-variant="study-notebook"] .sidebar nav button { width:58px !important; }
}


/* Theme coverage pass: catalogue pages, account panels, and cloud sync. */
html[data-theme="study"] #page-unblocks .section-title,
html[data-theme="study"] #page-contacts .section-title,
html[data-theme="study"] #page-partners .section-title {
  color:var(--study-ink-dim) !important; opacity:1 !important; border-bottom:1px solid var(--study-line-soft);
}
html[data-theme="study"] #page-unblocks .unblock-tile,
html[data-theme="study"] #page-contacts .contact-tile,
html[data-theme="study"] #page-partners .partner-card {
  color:var(--study-ink) !important; background:var(--study-surface) !important;
  border:1px solid var(--study-line) !important; box-shadow:0 2px 8px rgba(32,42,35,.06) !important;
}
html[data-theme="study"] #page-unblocks .unblock-tile:hover,
html[data-theme="study"] #page-contacts .contact-tile:hover,
html[data-theme="study"] #page-partners .partner-card:hover {
  color:var(--study-ink) !important; background:var(--study-band) !important;
  border-color:var(--study-primary) !important; box-shadow:0 5px 14px rgba(32,42,35,.1) !important;
}
html[data-theme="study"] #page-unblocks .unblock-tile span,
html[data-theme="study"] #page-contacts .contact-tile span,
html[data-theme="study"] #page-partners .partner-name,
html[data-theme="study"] #page-partners .partner-desc { color:var(--study-ink) !important; }
html[data-theme="study"] #page-partners .partner-url { color:var(--study-link) !important; opacity:1 !important; }
html[data-theme="study"] #page-unblocks .unblock-info-box { color:var(--study-ink-dim) !important; background:var(--study-band) !important; border-color:var(--study-line) !important; }
html[data-theme="study"] #page-unblocks .unblock-info-box svg,
html[data-theme="study"] #page-contacts .form-icon { stroke:var(--study-primary) !important; }
html[data-theme="study"] #page-unblocks .unblock-dev-badge { color:#fff !important; background:var(--study-primary) !important; border-color:var(--study-primary) !important; }
html[data-theme="study"] .unblock-locked { color:var(--study-ink-dim) !important; filter:grayscale(1) !important; }

/* The account modal and cloud-sync/merge steps are runtime-created by the
   account module. Theme the injected form controls and status copy as well. */
html[data-theme="study"] #settings-modal .modal,
html[data-theme="study"] .jqrg-auth-modal,
html[data-theme="study"] .jqrg-auth-modal .jqrg-auth-content { color:var(--study-ink) !important; }
html[data-theme="study"] #settings-modal .modal-header,
html[data-theme="study"] #settings-modal .setting-section-title,
html[data-theme="study"] #settings-modal .setting-row { border-color:var(--study-line-soft) !important; }
html[data-theme="study"] #settings-modal .setting-section-title { color:var(--study-primary) !important; }
html[data-theme="study"] #settings-modal .setting-label,
html[data-theme="study"] #settings-modal .setting-row > span { color:var(--study-ink) !important; }
html[data-theme="study"] #settings-modal input,
html[data-theme="study"] #settings-modal select,
html[data-theme="study"] #settings-modal textarea,
html[data-theme="study"] #settings-modal .setting-select,
html[data-theme="study"] #settings-modal .setting-cycle,
html[data-theme="study"] .jqrg-auth-form input,
html[data-theme="study"] .jqrg-confirm-input {
  color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important;
}
html[data-theme="study"] #settings-modal input::placeholder,
html[data-theme="study"] #settings-modal textarea::placeholder,
html[data-theme="study"] .jqrg-auth-form input::placeholder,
html[data-theme="study"] .jqrg-confirm-input::placeholder { color:var(--study-ink-dim) !important; }
html[data-theme="study"] #settings-modal .toggle-switch { background:var(--study-line) !important; }
html[data-theme="study"] #settings-modal .toggle-switch.active { background:var(--study-primary) !important; }
html[data-theme="study"] .jqrg-auth-title,
html[data-theme="study"] .jqrg-auth-head,
html[data-theme="study"] .jqrg-auth-form label,
html[data-theme="study"] .jqrg-auth-hint,
html[data-theme="study"] .jqrg-confirm-msg,
html[data-theme="study"] .jqrg-confirm-note,
html[data-theme="study"] .jqrg-sync-status { color:var(--study-ink) !important; }
html[data-theme="study"] .jqrg-auth-close { color:var(--study-ink-dim) !important; }
html[data-theme="study"] .jqrg-auth-tabs { background:var(--study-band) !important; border:1px solid var(--study-line-soft) !important; }
html[data-theme="study"] .jqrg-auth-tab { color:var(--study-ink-dim) !important; background:transparent !important; }
html[data-theme="study"] .jqrg-auth-tab.active { color:#fff !important; background:var(--study-primary) !important; box-shadow:none !important; }
html[data-theme="study"] .jqrg-auth-submit { color:#fff !important; background:var(--study-primary) !important; border-color:var(--study-primary) !important; box-shadow:none !important; }
html[data-theme="study"] .jqrg-auth-btn,
html[data-theme="study"] .jqrg-confirm-actions .jqrg-btn-ghost { color:var(--study-ink) !important; background:var(--study-surface) !important; border:1px solid var(--study-line) !important; }
html[data-theme="study"] .jqrg-confirm-danger { color:#9b3434 !important; }
html[data-theme="study"] .jqrg-auth-error { color:#a12626 !important; }
html[data-theme="study"] .jqrg-auth-success,
html[data-theme="study"] .jqrg-sync-status.active { color:#17633b !important; }
html[data-theme="study"] .jqrg-confirm-actions button { border-radius:6px !important; }

/* Every non-home page uses the active palette instead of inherited purple or
   blue literals from the original arcade stylesheet. */
html[data-theme="jimmyqrg"] #page-unblocks .section-title,
html[data-theme="jimmyqrg"] #page-contacts .section-title,
html[data-theme="jimmyqrg"] #page-partners .section-title { color:var(--text-dim) !important; opacity:1 !important; border-bottom:1px solid var(--border); }
html[data-theme="jimmyqrg"] #page-unblocks .unblock-tile,
html[data-theme="jimmyqrg"] #page-contacts .contact-tile,
html[data-theme="jimmyqrg"] #page-partners .partner-card {
  color:var(--text) !important; background:var(--bg-card) !important; border:1px solid var(--border) !important;
  box-shadow:0 8px 22px rgba(0,0,0,.22) !important;
}
html[data-theme="jimmyqrg"] #page-unblocks .unblock-tile span,
html[data-theme="jimmyqrg"] #page-contacts .contact-tile span,
html[data-theme="jimmyqrg"] #page-partners .partner-name,
html[data-theme="jimmyqrg"] #page-partners .partner-desc { color:var(--text) !important; }
html[data-theme="jimmyqrg"] #page-partners .partner-desc { opacity:.78; }
html[data-theme="jimmyqrg"] #page-partners .partner-url { color:var(--accent-purple) !important; opacity:1 !important; }
html[data-theme="jimmyqrg"] #page-unblocks .unblock-info-box { color:var(--text-dim) !important; background:var(--bg-card) !important; border-color:var(--border) !important; }
html[data-theme="jimmyqrg"] #page-unblocks .unblock-info-box svg,
html[data-theme="jimmyqrg"] #page-contacts .form-icon { stroke:var(--accent-purple) !important; }
html[data-theme="jimmyqrg"] #page-unblocks .unblock-dev-badge { color:var(--text) !important; background:var(--bg-hover) !important; border-color:var(--border) !important; }
html[data-theme="jimmyqrg"] #page-unblocks .unblock-tile:hover,
html[data-theme="jimmyqrg"] #page-contacts .contact-tile:hover,
html[data-theme="jimmyqrg"] #page-partners .partner-card:hover { border-color:var(--accent-purple) !important; box-shadow:0 12px 30px var(--info-accent-glow) !important; }

/* Account, sign-in, and sync dialogs get palette-driven controls, buttons,
   headings, states, and dividers across all JimmyQrg presets. */
html[data-theme="jimmyqrg"] #settings-modal .setting-section-title,
html[data-theme="jimmyqrg"] #settings-modal .setting-label,
html[data-theme="jimmyqrg"] #settings-modal .setting-row > span,
html[data-theme="jimmyqrg"] .jqrg-auth-title,
html[data-theme="jimmyqrg"] .jqrg-auth-form label,
html[data-theme="jimmyqrg"] .jqrg-confirm-msg,
html[data-theme="jimmyqrg"] .jqrg-confirm-note { color:var(--text) !important; }
html[data-theme="jimmyqrg"] #settings-modal .setting-row,
html[data-theme="jimmyqrg"] #settings-modal .setting-section-title { border-color:var(--border) !important; }
html[data-theme="jimmyqrg"] #settings-modal input,
html[data-theme="jimmyqrg"] #settings-modal select,
html[data-theme="jimmyqrg"] #settings-modal textarea,
html[data-theme="jimmyqrg"] #settings-modal .setting-select,
html[data-theme="jimmyqrg"] #settings-modal .setting-cycle,
html[data-theme="jimmyqrg"] .jqrg-auth-form input,
html[data-theme="jimmyqrg"] .jqrg-confirm-input { color:var(--text) !important; background:var(--dropdown-bg) !important; border-color:var(--border) !important; }
html[data-theme="jimmyqrg"] #settings-modal input::placeholder,
html[data-theme="jimmyqrg"] #settings-modal textarea::placeholder,
html[data-theme="jimmyqrg"] .jqrg-auth-form input::placeholder,
html[data-theme="jimmyqrg"] .jqrg-confirm-input::placeholder { color:var(--text-dim) !important; }
html[data-theme="jimmyqrg"] #settings-modal .toggle-switch.active { background:var(--accent-purple) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-hint,
html[data-theme="jimmyqrg"] .jqrg-sync-status { color:var(--text-dim) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-close { color:var(--text-dim) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-tabs { background:var(--bg-deep) !important; border:1px solid var(--border) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-tab { color:var(--text-dim) !important; background:transparent !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-tab.active { color:var(--text) !important; background:var(--bg-hover) !important; box-shadow:inset 0 -2px var(--accent-purple) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-submit { color:#fff !important; background:var(--accent-purple) !important; border-color:var(--accent-purple) !important; box-shadow:0 4px 14px var(--info-accent-glow) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-btn,
html[data-theme="jimmyqrg"] .jqrg-confirm-actions .jqrg-btn-ghost { color:var(--text) !important; background:var(--bg-card) !important; border:1px solid var(--border) !important; }
html[data-theme="jimmyqrg"] .jqrg-confirm-danger { color:var(--info-accent-pink) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-error { color:#ff8d98 !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-success,
html[data-theme="jimmyqrg"] .jqrg-sync-status.active { color:var(--accent-purple) !important; }

/* Keep layouts distinct through the surfaces that sit outside the home page. */
html[data-theme-variant="study-library"] #page-unblocks .unblock-tile,
html[data-theme-variant="study-library"] #page-contacts .contact-tile,
html[data-theme-variant="study-library"] #page-partners .partner-card { border-radius:2px !important; border-left:4px double #754451 !important; }
html[data-theme-variant="study-library"] #page-partners .partner-name,
html[data-theme-variant="study-library"] #page-unblocks .section-title,
html[data-theme-variant="study-library"] #page-contacts .section-title { font-family:Georgia,"Palatino Linotype",serif !important; }
html[data-theme-variant="study-campus"] #page-unblocks .unblock-tile,
html[data-theme-variant="study-campus"] #page-contacts .contact-tile,
html[data-theme-variant="study-campus"] #page-partners .partner-card { border-radius:18px 4px 18px 4px !important; border-left:3px solid #38664a !important; }
html[data-theme-variant="study-lab"] #page-unblocks .unblock-tile,
html[data-theme-variant="study-lab"] #page-contacts .contact-tile,
html[data-theme-variant="study-lab"] #page-partners .partner-card,
html[data-theme-variant="study-lab"] #settings-modal .modal,
html[data-theme-variant="study-lab"] .jqrg-auth-modal { border-radius:2px !important; box-shadow:none !important; }
html[data-theme-variant="study-lab"] #page-unblocks .section-title,
html[data-theme-variant="study-lab"] #page-contacts .section-title,
html[data-theme-variant="study-lab"] #page-partners .section-title { font-family:ui-monospace,SFMono-Regular,Menlo,monospace !important; letter-spacing:.1em !important; }
html[data-theme-variant="study-notebook"] #page-unblocks .unblock-tile,
html[data-theme-variant="study-notebook"] #page-contacts .contact-tile,
html[data-theme-variant="study-notebook"] #page-partners .partner-card { border-radius:3px 12px 3px 12px !important; border-bottom:3px solid #4e6c9b !important; }
html[data-theme-variant="study-graphite"] #page-unblocks .unblock-tile,
html[data-theme-variant="study-graphite"] #page-contacts .contact-tile,
html[data-theme-variant="study-graphite"] #page-partners .partner-card { border-radius:0 !important; box-shadow:none !important; border:0 !important; border-bottom:1px solid #c5c8c1 !important; }
html[data-theme-variant="study-graphite"] #settings-modal .modal,
html[data-theme-variant="study-graphite"] .jqrg-auth-modal { border-radius:0 !important; box-shadow:0 8px 26px rgba(48,54,51,.13) !important; }

html[data-theme-variant="jimmyqrg-solar"] #page-unblocks .unblock-tile,
html[data-theme-variant="jimmyqrg-solar"] #page-contacts .contact-tile,
html[data-theme-variant="jimmyqrg-solar"] #page-partners .partner-card,
html[data-theme-variant="jimmyqrg-solar"] #settings-modal .modal,
html[data-theme-variant="jimmyqrg-solar"] .jqrg-auth-modal { border-radius:3px !important; border-width:2px !important; box-shadow:5px 5px 0 rgba(0,0,0,.28) !important; }
html[data-theme-variant="jimmyqrg-verdant"] #page-unblocks .unblock-tile,
html[data-theme-variant="jimmyqrg-verdant"] #page-contacts .contact-tile,
html[data-theme-variant="jimmyqrg-verdant"] #page-partners .partner-card,
html[data-theme-variant="jimmyqrg-verdant"] #settings-modal .modal,
html[data-theme-variant="jimmyqrg-verdant"] .jqrg-auth-modal { border-radius:20px 5px 20px 5px !important; }

/* Recent games retain their actual cover art in each JimmyQrg home design.
   Classic is a fixed shelf, Solar is a moving marquee, and Emerald is an
   independently browsable vertical stack. Study keeps its resource treatment. */
html[data-theme-variant^="jimmyqrg"] #recent-grid-g .home-banner-tile img {
  display:block !important; position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
  object-fit:cover !important; opacity:1 !important; filter:none !important;
}
html[data-theme-variant^="jimmyqrg"] #recent-grid-g .home-banner-tile-shadow { display:block !important; }
html[data-theme-variant^="jimmyqrg"] #recent-grid-g .home-banner-tile-label { display:block !important; }

/* Dock navigation must reserve layout height. No absolute bottom rail may sit
   above the final cards or controls in a long, scrollable page. */
html[data-theme-variant="jimmyqrg-solar"] .body-row {
  display:flex !important; flex-direction:column-reverse !important; position:relative !important; min-height:0;
}
html[data-theme-variant="jimmyqrg-solar"] .sidebar {
  position:relative !important; inset:auto !important; left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
  z-index:auto !important; order:0; flex:0 0 calc(76px + env(safe-area-inset-bottom,0px)); width:100% !important; min-width:0 !important;
  height:auto !important; min-height:76px; padding:4px 8px max(4px,env(safe-area-inset-bottom,0px)) !important;
}
html[data-theme-variant="jimmyqrg-solar"] .main { order:1; flex:1 1 0% !important; width:100%; min-width:0; min-height:0; height:auto; overflow:hidden; }
html[data-theme-variant="jimmyqrg-solar"] .main .page { padding-bottom:32px !important; }
html[data-theme-variant="study-notebook"] .body-row { display:flex !important; flex-direction:column-reverse !important; min-height:0; }
html[data-theme-variant="study-notebook"] .sidebar {
  position:relative !important; inset:auto !important; left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
  z-index:auto !important; order:0; flex:0 0 calc(66px + env(safe-area-inset-bottom,0px)); width:100% !important; min-width:0 !important;
  height:auto !important; min-height:66px; padding:4px 8px max(4px,env(safe-area-inset-bottom,0px)) !important;
}
html[data-theme-variant="study-notebook"] .main { order:1; flex:1 1 0% !important; width:100%; min-width:0; min-height:0; height:auto; overflow:hidden; }
html[data-theme-variant="study-notebook"] .main .page { padding-bottom:28px !important; }

/* Keep every page and its overlays on the same token system. */
html[data-theme="study"] .modal-overlay,
html[data-theme="study"] .jqrg-auth-overlay { color:var(--study-ink) !important; }
html[data-theme="study"] #announcement-modal .modal,
html[data-theme="study"] #anniversary-modal .modal,
html[data-theme="study"] #settings-modal .modal { color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important; }
html[data-theme="study"] #announcement-modal .modal-body a { color:var(--study-link) !important; }
html[data-theme="study"] #anniversary-modal .anniv-title,
html[data-theme="study"] #anniversary-modal .anniv-sub,
html[data-theme="study"] #anniversary-modal .anniv-body { color:var(--study-ink) !important; text-shadow:none !important; }
html[data-theme="study"] #anniversary-modal .anniv-title { font-family:Georgia,"Times New Roman",serif !important; }
html[data-theme="study"] #anniversary-modal .modal-close { color:var(--study-ink-dim) !important; }
html[data-theme="jimmyqrg"] #announcement-modal .modal,
html[data-theme="jimmyqrg"] #anniversary-modal .modal,
html[data-theme="jimmyqrg"] #settings-modal .modal { color:var(--text) !important; background:var(--bg-card) !important; border-color:var(--border) !important; }
html[data-theme="jimmyqrg"] #announcement-modal .modal-body a { color:var(--accent-purple) !important; }
html[data-theme="jimmyqrg"] #anniversary-modal .anniv-title,
html[data-theme="jimmyqrg"] #anniversary-modal .anniv-sub { color:var(--text) !important; }
html[data-theme="jimmyqrg-solar"] #anniversary-modal .modal { background:#201407 !important; border-color:#bd7b20 !important; }
html[data-theme="jimmyqrg-solar"] #anniversary-modal .anniv-title { color:#ffcc67 !important; text-shadow:0 0 16px rgba(255,189,67,.3) !important; }
html[data-theme="jimmyqrg-verdant"] #anniversary-modal .modal { background:#0d1e15 !important; border-color:#315941 !important; }
html[data-theme="jimmyqrg-verdant"] #anniversary-modal .anniv-title { color:#8cebb6 !important; text-shadow:0 0 16px rgba(89,217,155,.28) !important; }

@media(max-width:760px) {
  html[data-theme-variant="jimmyqrg-solar"] .sidebar { flex-basis:calc(72px + env(safe-area-inset-bottom,0px)); min-height:72px; }
  html[data-theme-variant="jimmyqrg-solar"] .sidebar nav { justify-content:space-around; gap:2px; }
  html[data-theme-variant="study-notebook"] .sidebar { flex-basis:calc(66px + env(safe-area-inset-bottom,0px)); }
}

/* Complete the account modal surfaces and keep chooser hovers inside the active palette. */
html[data-theme="study"] .jqrg-auth-modal { background:var(--study-surface) !important; border-color:var(--study-line) !important; box-shadow:0 18px 54px rgba(35,48,38,.2) !important; }
html[data-theme="study"] .jqrg-auth-head,
html[data-theme="study"] .jqrg-profile-row,
html[data-theme="study"] .jqrg-email-row,
html[data-theme="study"] .jqrg-email-section,
html[data-theme="study"] .jqrg-gate-intro,
html[data-theme="study"] .jqrg-verify-info { color:var(--study-ink) !important; background:var(--study-band) !important; border-color:var(--study-line) !important; }
html[data-theme="study"] .jqrg-auth-form input,
html[data-theme="study"] .jqrg-email-form input,
html[data-theme="study"] .jqrg-verify-row input.jqrg-code-input,
html[data-theme="study"] .jqrg-confirm-input { color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important; caret-color:var(--study-primary) !important; }
html[data-theme="study"] .jqrg-auth-form input:focus,
html[data-theme="study"] .jqrg-email-form input:focus,
html[data-theme="study"] .jqrg-verify-row input.jqrg-code-input:focus,
html[data-theme="study"] .jqrg-confirm-input:focus { border-color:var(--study-primary) !important; box-shadow:0 0 0 3px color-mix(in srgb,var(--study-primary) 18%,transparent) !important; }
html[data-theme="study"] .jqrg-auth-form input::placeholder,
html[data-theme="study"] .jqrg-email-form input::placeholder,
html[data-theme="study"] .jqrg-verify-row input.jqrg-code-input::placeholder,
html[data-theme="study"] .jqrg-confirm-input::placeholder { color:var(--study-ink-dim) !important; }
html[data-theme="study"] .jqrg-auth-tab:hover,
html[data-theme="study"] .jqrg-auth-btn:hover,
html[data-theme="study"] .jqrg-profile-action:hover,
html[data-theme="study"] .jqrg-verify-resend:hover:not(:disabled),
html[data-theme="study"] .jqrg-send-code-btn:hover:not(:disabled) { color:var(--study-ink) !important; background:var(--study-band) !important; border-color:var(--study-primary) !important; }
html[data-theme="study"] .jqrg-profile-name,
html[data-theme="study"] .jqrg-email-value,
html[data-theme="study"] .jqrg-verify-info strong { color:var(--study-ink) !important; }
html[data-theme="study"] #jqrg-theme-chooser .jqrg-theme-family-btn:hover,
html[data-theme="study"] #jqrg-theme-chooser .jqrg-theme-choose-btn:hover,
html[data-theme="study"] #settings-modal .jqrg-theme-pick .setting-btn:hover { color:var(--study-ink) !important; background:var(--study-band) !important; border-color:var(--study-primary) !important; }

html[data-theme="jimmyqrg"] .jqrg-auth-modal { background:var(--bg-card) !important; border-color:var(--border) !important; box-shadow:0 22px 68px rgba(0,0,0,.48),0 0 0 1px var(--info-accent-glow,transparent) !important; }
html[data-theme="jimmyqrg"] .jqrg-profile-row,
html[data-theme="jimmyqrg"] .jqrg-email-row,
html[data-theme="jimmyqrg"] .jqrg-email-section,
html[data-theme="jimmyqrg"] .jqrg-gate-intro,
html[data-theme="jimmyqrg"] .jqrg-verify-info { color:var(--text) !important; background:var(--bg-deep) !important; border-color:var(--border) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-form input,
html[data-theme="jimmyqrg"] .jqrg-email-form input,
html[data-theme="jimmyqrg"] .jqrg-verify-row input.jqrg-code-input,
html[data-theme="jimmyqrg"] .jqrg-confirm-input { color:var(--text) !important; background:var(--dropdown-bg) !important; border-color:var(--border) !important; caret-color:var(--accent-purple) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-form input:focus,
html[data-theme="jimmyqrg"] .jqrg-email-form input:focus,
html[data-theme="jimmyqrg"] .jqrg-verify-row input.jqrg-code-input:focus,
html[data-theme="jimmyqrg"] .jqrg-confirm-input:focus { border-color:var(--accent-purple) !important; box-shadow:0 0 0 3px var(--info-accent-glow,rgba(189,140,255,.18)) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-form input::placeholder,
html[data-theme="jimmyqrg"] .jqrg-email-form input::placeholder,
html[data-theme="jimmyqrg"] .jqrg-verify-row input.jqrg-code-input::placeholder,
html[data-theme="jimmyqrg"] .jqrg-confirm-input::placeholder { color:var(--text-dim) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-tab:hover,
html[data-theme="jimmyqrg"] .jqrg-auth-btn:hover,
html[data-theme="jimmyqrg"] .jqrg-profile-action:hover,
html[data-theme="jimmyqrg"] .jqrg-verify-resend:hover:not(:disabled),
html[data-theme="jimmyqrg"] .jqrg-send-code-btn:hover:not(:disabled) { color:var(--text) !important; background:var(--bg-hover) !important; border-color:var(--accent-purple) !important; }
html[data-theme="jimmyqrg"] .jqrg-profile-name,
html[data-theme="jimmyqrg"] .jqrg-email-value,
html[data-theme="jimmyqrg"] .jqrg-verify-info strong { color:var(--text) !important; }
html[data-theme="jimmyqrg"] #jqrg-theme-chooser .jqrg-theme-family-btn:hover,
html[data-theme="jimmyqrg"] #jqrg-theme-chooser .jqrg-theme-choose-btn:hover,
html[data-theme="jimmyqrg"] #settings-modal .jqrg-theme-pick .setting-btn:hover { color:var(--text) !important; background:var(--bg-hover) !important; border-color:var(--accent-purple) !important; }
html[data-theme="jimmyqrg"] .jqrg-auth-close:hover { color:var(--accent-purple) !important; background:var(--bg-hover) !important; }
html[data-theme="study"] .jqrg-auth-close:hover { color:var(--study-primary) !important; background:var(--study-band) !important; }
html[data-theme="study"] .particle-theme-notice { margin:4px 0 10px; padding:11px 13px; color:var(--study-ink) !important; background:var(--study-band) !important; border:1px solid var(--study-line) !important; border-left:4px solid var(--study-primary) !important; border-radius:8px; font-size:12px; line-height:1.5; }
.particle-theme-notice[hidden] { display:none !important; }
html[data-theme="study"] .setting-cycle.is-disabled { opacity:.55; }
html[data-theme="study"] .setting-cycle.is-disabled .setting-cycle-arrow { cursor:not-allowed !important; }
/* Keep the particle layers between the original background and app shell.
   A solid .main surface had been hiding every frame despite a live renderer. */
html[data-theme="jimmyqrg"] #bg-particles {
  display:block !important; visibility:visible !important; opacity:1 !important; z-index:1 !important;
}
html[data-theme="jimmyqrg"] #bg-scrim { display:block !important; z-index:1 !important; }
html[data-theme="jimmyqrg"] #app { z-index:2 !important; }
html[data-theme="jimmyqrg"] .main { background:transparent !important; }
html[data-theme="study"] #developer-group-full-modal .modal { color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important; }
html[data-theme="study"] #developer-group-full-modal .dev-group-full-message { color:var(--study-ink) !important; }
html[data-theme="study"] #developer-group-full-modal .dev-group-full-icon { color:#fff !important; background:var(--study-primary) !important; }
html[data-theme="jimmyqrg"] #developer-group-full-modal .modal { color:var(--text) !important; background:var(--bg-card) !important; border-color:var(--border) !important; }
html[data-theme="jimmyqrg"] #developer-group-full-modal .dev-group-full-message { color:var(--text) !important; }
html[data-theme="jimmyqrg"] #developer-group-full-modal .dev-group-full-icon { color:var(--theme-accent-ink,#fff) !important; background:var(--theme-gradient,var(--accent-purple)) !important; }

/* TITAN AI route picker: its shared structure follows the site palette, while
   each preset gives the dialog and route cards a distinct material treatment. */
#titan-access-modal .modal { color:var(--text) !important; background:var(--bg-card) !important; border-color:var(--border) !important; }
#titan-access-modal .modal-header { border-color:var(--border-light) !important; }
#titan-access-modal .modal-close { color:var(--text-dim) !important; }
#titan-access-modal .titan-access-option { color:var(--text) !important; }
#titan-access-modal .titan-access-option:hover,
#titan-access-modal .titan-access-option:focus-visible { border-color:var(--accent-purple) !important; }
html[data-theme-variant="jimmyqrg-solar"] #titan-access-modal .modal { border:2px solid #bd7b20 !important; border-radius:4px !important; box-shadow:12px 12px 0 rgba(45,27,6,.55) !important; }
html[data-theme-variant="jimmyqrg-solar"] #titan-access-modal .titan-access-kicker,
html[data-theme-variant="jimmyqrg-solar"] #titan-access-modal .titan-route-tag,
html[data-theme-variant="jimmyqrg-solar"] #titan-access-modal .titan-route-cta { color:#ffbf4a !important; }
html[data-theme-variant="jimmyqrg-solar"] #titan-access-modal .titan-access-option { border-radius:3px !important; background:#2a1b0d !important; }
html[data-theme-variant="jimmyqrg-verdant"] #titan-access-modal .modal { border:1px solid #315941 !important; border-radius:22px 5px 22px 5px !important; }
html[data-theme-variant="jimmyqrg-verdant"] #titan-access-modal .titan-access-option { border-radius:18px 4px 18px 4px !important; background:#10251a !important; }
html[data-theme-variant="jimmyqrg-verdant"] #titan-access-modal .titan-access-kicker,
html[data-theme-variant="jimmyqrg-verdant"] #titan-access-modal .titan-route-tag,
html[data-theme-variant="jimmyqrg-verdant"] #titan-access-modal .titan-route-cta { color:#58e6a5 !important; }

html[data-theme="study"] #titan-access-modal .modal { color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important; box-shadow:0 18px 55px rgba(30,45,35,.2) !important; }
html[data-theme="study"] #titan-access-modal .titan-access-copy h4,
html[data-theme="study"] #titan-access-modal .titan-route-heading { color:var(--study-ink) !important; }
html[data-theme="study"] #titan-access-modal .titan-access-copy p,
html[data-theme="study"] #titan-access-modal .titan-route-desc,
html[data-theme="study"] #titan-access-modal .titan-access-footnote { color:var(--study-ink-dim) !important; }
html[data-theme="study"] #titan-access-modal .titan-access-option { color:var(--study-ink) !important; border-color:var(--study-line) !important; background:var(--study-surface) !important; box-shadow:none !important; }
html[data-theme="study"] #titan-access-modal .titan-route-tag { color:var(--study-primary) !important; background:var(--study-band) !important; }
html[data-theme="study"] #titan-access-modal .titan-access-kicker,
html[data-theme="study"] #titan-access-modal .titan-route-cta,
html[data-theme="study"] #titan-access-modal .titan-route-heading .arrow { color:var(--study-link) !important; }
html[data-theme="study"] #titan-access-modal .modal-close:hover { color:var(--study-primary) !important; background:var(--study-band) !important; }

html[data-theme-variant="study-library"] #titan-access-modal .modal { border-radius:22px !important; box-shadow:0 18px 50px rgba(92,62,41,.16) !important; }
html[data-theme-variant="study-library"] #titan-access-modal .titan-access-copy h4,
html[data-theme-variant="study-library"] #titan-access-modal .titan-route-heading { font-family:Georgia,"Palatino Linotype",serif !important; }
html[data-theme-variant="study-library"] #titan-access-modal .titan-access-option { border-radius:14px !important; border-top:3px solid var(--study-primary) !important; }
html[data-theme-variant="study-campus"] #titan-access-modal .modal { border-radius:18px 4px 18px 4px !important; }
html[data-theme-variant="study-campus"] #titan-access-modal .titan-access-option { border-radius:12px 3px 12px 3px !important; border-left:4px solid var(--study-primary) !important; }
html[data-theme-variant="study-campus"] #titan-access-modal .titan-access-mark { border-radius:8px !important; color:var(--study-primary) !important; background:var(--study-band) !important; box-shadow:none !important; }
html[data-theme-variant="study-lab"] #titan-access-modal .modal,
html[data-theme-variant="study-lab"] #titan-access-modal .titan-access-option { border-radius:2px !important; box-shadow:none !important; }
html[data-theme-variant="study-lab"] #titan-access-modal .titan-access-kicker,
html[data-theme-variant="study-lab"] #titan-access-modal .titan-route-tag { font-family:ui-monospace,SFMono-Regular,Menlo,monospace !important; letter-spacing:.1em !important; }
html[data-theme-variant="study-lab"] #titan-access-modal .titan-access-mark { border-radius:2px !important; color:var(--study-primary) !important; background:var(--study-band) !important; box-shadow:none !important; }
html[data-theme-variant="study-notebook"] #titan-access-modal .modal { border-radius:4px 18px 4px 18px !important; }
html[data-theme-variant="study-notebook"] #titan-access-modal .titan-access-option { border-radius:3px 12px 3px 12px !important; background-image:repeating-linear-gradient(180deg,transparent 0 27px,rgba(78,108,155,.055) 28px 29px) !important; }
html[data-theme-variant="study-notebook"] #titan-access-modal .titan-access-mark { border-radius:50% !important; color:var(--study-primary) !important; background:var(--study-band) !important; box-shadow:none !important; }
html[data-theme-variant="study-graphite"] #titan-access-modal .modal { border-radius:0 !important; box-shadow:0 12px 36px rgba(48,54,51,.18) !important; }
html[data-theme-variant="study-graphite"] #titan-access-modal .titan-access-options { gap:0 !important; }
html[data-theme-variant="study-graphite"] #titan-access-modal .titan-access-option { border-radius:0 !important; border:0 !important; border-top:1px solid var(--study-line) !important; }
html[data-theme-variant="study-graphite"] #titan-access-modal .titan-access-option:last-child { border-left:1px solid var(--study-line) !important; }

/* Learning articles retain one readable structure while their surfaces and
   accents follow every selected theme preset. */
html[data-theme-variant="jimmyqrg-solar"] .article-hero { border-radius:3px !important; border-width:2px !important; box-shadow:9px 9px 0 rgba(0,0,0,.28) !important; }
html[data-theme-variant="jimmyqrg-solar"] .article-content,
html[data-theme-variant="jimmyqrg-solar"] .article-step { border-radius:3px !important; }
html[data-theme-variant="jimmyqrg-verdant"] .article-hero { border-radius:24px 5px 24px 5px !important; }
html[data-theme-variant="jimmyqrg-verdant"] .article-content,
html[data-theme-variant="jimmyqrg-verdant"] .article-step { border-radius:18px 4px 18px 4px !important; }
html[data-theme="study"] .article-hero,
html[data-theme="study"] .article-content,
html[data-theme="study"] .article-step,
html[data-theme="study"] .article-footer-nav a { color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important; box-shadow:0 3px 12px rgba(38,55,47,.05) !important; }
html[data-theme="study"] .article-hero p,
html[data-theme="study"] .article-content p,
html[data-theme="study"] .article-content li,
html[data-theme="study"] .article-step span { color:var(--study-ink-dim) !important; }
html[data-theme="study"] .article-hero h1,
html[data-theme="study"] .article-content h2,
html[data-theme="study"] .article-content h3 { color:var(--study-ink) !important; }
html[data-theme-variant="study-library"] .article-hero,
html[data-theme-variant="study-library"] .article-content { border-radius:22px !important; box-shadow:0 12px 34px rgba(92,62,41,.1) !important; }
html[data-theme-variant="study-library"] .article-hero h1,
html[data-theme-variant="study-library"] .article-content h2 { font-family:Georgia,"Palatino Linotype",serif !important; }
html[data-theme-variant="study-campus"] .article-hero { border-radius:18px 4px 18px 4px !important; border-left:5px solid var(--study-primary) !important; }
html[data-theme-variant="study-campus"] .article-step { border-radius:12px 3px 12px 3px !important; border-left:3px solid var(--study-primary) !important; }
html[data-theme-variant="study-lab"] .article-hero,
html[data-theme-variant="study-lab"] .article-content,
html[data-theme-variant="study-lab"] .article-step,
html[data-theme-variant="study-lab"] .article-code-wrap pre { border-radius:2px !important; box-shadow:none !important; }
html[data-theme-variant="study-lab"] .article-eyebrow,
html[data-theme-variant="study-lab"] .article-back { font-family:ui-monospace,SFMono-Regular,Menlo,monospace !important; letter-spacing:.1em !important; }
html[data-theme-variant="study-notebook"] .article-hero,
html[data-theme-variant="study-notebook"] .article-content { border-radius:4px 18px 4px 18px !important; }
html[data-theme-variant="study-notebook"] .article-content { background-image:repeating-linear-gradient(180deg,transparent 0 31px,rgba(78,108,155,.04) 32px 33px) !important; }
html[data-theme-variant="study-graphite"] .article-hero,
html[data-theme-variant="study-graphite"] .article-content,
html[data-theme-variant="study-graphite"] .article-step { border-radius:0 !important; box-shadow:none !important; }
html[data-theme-variant="study-graphite"] .article-content { border-width:0 0 1px !important; }

/* The existing server directory uses info.css rather than the article shell;
   keep its list, search field, and instructions legible in every family. */
html[data-theme="study"] body.info-page { color:var(--study-ink) !important; background:var(--study-page) !important; }
html[data-theme="study"] body.info-page .bg-effects { display:none !important; }
html[data-theme="study"] body.info-page .header-title,
html[data-theme="study"] body.info-page .block-text,
html[data-theme="study"] body.info-page .block-url,
html[data-theme="study"] body.info-page .block-icon i,
html[data-theme="study"] body.info-page .server-help h2 { color:var(--study-ink) !important; text-shadow:none !important; filter:none !important; }
html[data-theme="study"] body.info-page .header-title::before,
html[data-theme="study"] body.info-page .header-title::after { display:none !important; }
html[data-theme="study"] body.info-page .header-subtitle,
html[data-theme="study"] body.info-page .header-lead,
html[data-theme="study"] body.info-page .server-count,
html[data-theme="study"] body.info-page .server-help p { color:var(--study-ink-dim) !important; }
html[data-theme="study"] body.info-page .block,
html[data-theme="study"] body.info-page .server-help,
html[data-theme="study"] body.info-page #server-search { color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important; box-shadow:0 2px 9px rgba(38,55,47,.06) !important; }
html[data-theme="study"] body.info-page .block-icon { background:var(--study-band) !important; border-color:var(--study-line) !important; }
html[data-theme="study"] body.info-page .copy-btn { color:var(--study-ink) !important; background:var(--study-band) !important; border-color:var(--study-line) !important; }
html[data-theme="study"] body.info-page .footer { color:var(--study-ink-dim) !important; border-color:var(--study-line) !important; }
html[data-theme-variant="study-library"] body.info-page .header-title { font-family:Georgia,"Palatino Linotype",serif !important; }
html[data-theme-variant="study-library"] body.info-page .block,
html[data-theme-variant="study-library"] body.info-page .server-help { border-radius:18px !important; }
html[data-theme-variant="study-campus"] body.info-page .block { border-radius:16px 4px 16px 4px !important; border-left:4px solid var(--study-primary) !important; }
html[data-theme-variant="study-lab"] body.info-page .block,
html[data-theme-variant="study-lab"] body.info-page .server-help,
html[data-theme-variant="study-lab"] body.info-page #server-search { border-radius:2px !important; box-shadow:none !important; }
html[data-theme-variant="study-lab"] body.info-page .header-title,
html[data-theme-variant="study-lab"] body.info-page .server-count { font-family:ui-monospace,SFMono-Regular,Menlo,monospace !important; }
html[data-theme-variant="study-notebook"] body.info-page .block { border-radius:4px 14px 4px 14px !important; background-image:repeating-linear-gradient(180deg,transparent 0 28px,rgba(78,108,155,.055) 29px 30px) !important; }
html[data-theme-variant="study-graphite"] body.info-page .block,
html[data-theme-variant="study-graphite"] body.info-page .server-help { border-radius:0 !important; box-shadow:none !important; }
html[data-theme-variant="study-graphite"] body.info-page .block { border-width:0 0 1px !important; border-left:0 !important; }
html[data-theme-variant="jimmyqrg-solar"] body.info-page .header-title { color:#ffcc67 !important; text-shadow:0 0 18px rgba(255,189,67,.3) !important; }
html[data-theme-variant="jimmyqrg-solar"] body.info-page .block { border-radius:3px !important; border-width:2px !important; }
html[data-theme-variant="jimmyqrg-verdant"] body.info-page .header-title { color:#8cebb6 !important; text-shadow:0 0 18px rgba(89,217,155,.28) !important; }
html[data-theme-variant="jimmyqrg-verdant"] body.info-page .block { border-radius:20px 5px 20px 5px !important; }

/* Info and article pages are standalone documents, so give their remaining
   controls the same family fonts, colors, and focus states as the main shell. */
html[data-theme="jimmyqrg"] body.article-page,
html[data-theme="jimmyqrg"] body.info-page { font-family:"Oxanium",sans-serif !important; }
html[data-theme="study"] body.article-page,
html[data-theme="study"] body.info-page { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif !important; }

/* Classic uses the same branded backdrop as the main home page. The other
   JimmyQrg variants keep their own palette backgrounds and never use this
   purple image. */
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg"] body.article-page,
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg"] body.info-page {
  background:#0e0514 url('/background.png') center center / cover fixed !important;
}
html[data-theme="jimmyqrg"][data-theme-variant="jimmyqrg"] body.info-page .bg-effects { display:none !important; }

/* The legacy Info list also contains fixed purple/cyan decorative values.
   Bind its remaining surfaces and accents to the active JimmyQrg preset. */
html[data-theme="jimmyqrg"] body.info-page .bg-effects {
  background:radial-gradient(900px 600px at 18% 10%,var(--info-accent-soft),transparent 60%),
    radial-gradient(700px 500px at 82% 92%,var(--info-accent-glow),transparent 60%),
    radial-gradient(600px 400px at 50% 50%,var(--info-accent-pink),transparent 60%) !important;
}
html[data-theme="jimmyqrg"] body.info-page .bg-effects::after {
  background-image:linear-gradient(var(--info-accent-soft) 1px,transparent 1px),
    linear-gradient(90deg,var(--info-accent-soft) 1px,transparent 1px) !important;
}
html[data-theme="jimmyqrg"] body.info-page .header-title,
html[data-theme="jimmyqrg"] body.info-page .redirect-title,
html[data-theme="jimmyqrg"] body.info-page .redirect-icon,
html[data-theme="jimmyqrg"] body.info-page .block-icon i,
html[data-theme="jimmyqrg"] body.info-page .block-text,
html[data-theme="jimmyqrg"] body.info-page .block-url,
html[data-theme="jimmyqrg"] body.info-page .server-count strong { color:var(--info-text) !important; }
html[data-theme="jimmyqrg"] body.info-page .header-title {
  text-shadow:0 0 16px var(--info-accent-glow),0 0 38px var(--info-accent-soft) !important;
}
html[data-theme="jimmyqrg"] body.info-page .header-title::before { color:var(--info-accent-cyan) !important; }
html[data-theme="jimmyqrg"] body.info-page .header-title::after { color:var(--info-accent-pink) !important; }
html[data-theme="jimmyqrg"] body.info-page .header-lead,
html[data-theme="jimmyqrg"] body.info-page .redirect-msg,
html[data-theme="jimmyqrg"] body.info-page .redirect-countdown,
html[data-theme="jimmyqrg"] body.info-page .footer { color:var(--info-text-dim) !important; }
html[data-theme="jimmyqrg"] body.info-page .redirect-link,
html[data-theme="jimmyqrg"] body.info-page .footer a { color:var(--info-accent-cyan) !important; }
html[data-theme="jimmyqrg"] body.info-page .redirect-card,
html[data-theme="jimmyqrg"] body.info-page .block {
  background:linear-gradient(135deg,var(--info-accent-soft),var(--info-bg-deep)) !important;
  border-color:var(--info-border) !important;
}
html[data-theme="jimmyqrg"] body.info-page .redirect-card { border-left-color:var(--info-accent) !important; }
html[data-theme="jimmyqrg"] body.info-page .redirect-icon,
html[data-theme="jimmyqrg"] body.info-page .block-icon { background:var(--info-accent-soft) !important; border-color:var(--info-border) !important; }
html[data-theme="jimmyqrg"] body.info-page .block:hover {
  border-color:var(--info-border-strong) !important;
  box-shadow:0 0 22px var(--info-accent-glow),0 0 50px var(--info-accent-soft) !important;
}
html[data-theme="jimmyqrg"] body.info-page .copy-btn {
  color:var(--info-text) !important; background:var(--info-bg-deep) !important;
  border-color:var(--info-border) !important;
}
html[data-theme="jimmyqrg"] body.info-page .copy-btn:hover,
html[data-theme="jimmyqrg"] body.info-page .copy-btn:focus-visible {
  background:var(--info-accent-soft) !important; border-color:var(--info-accent) !important;
}

html[data-theme="study"] body.info-page .header-lead,
html[data-theme="study"] body.info-page .redirect-msg,
html[data-theme="study"] body.info-page .redirect-countdown,
html[data-theme="study"] body.info-page .server-search-label,
html[data-theme="study"] body.info-page #server-empty { color:var(--study-ink-dim) !important; }
html[data-theme="study"] body.info-page .back-link,
html[data-theme="study"] body.info-page .redirect-card,
html[data-theme="study"] body.info-page .block,
html[data-theme="study"] body.info-page .block-icon,
html[data-theme="study"] body.info-page .redirect-icon,
html[data-theme="study"] body.info-page .copy-btn,
html[data-theme="study"] body.info-page #server-search { color:var(--study-ink) !important; background:var(--study-surface) !important; border-color:var(--study-line) !important; box-shadow:0 2px 9px rgba(38,55,47,.06) !important; }
html[data-theme="study"] body.info-page .block:hover,
html[data-theme="study"] body.info-page .back-link:hover,
html[data-theme="study"] body.info-page .back-link:focus-visible,
html[data-theme="study"] body.info-page .copy-btn:hover,
html[data-theme="study"] body.info-page .copy-btn:focus-visible { color:var(--study-primary) !important; background:var(--study-band) !important; border-color:var(--study-primary) !important; }
html[data-theme="study"] body.info-page .block-text,
html[data-theme="study"] body.info-page .block-url,
html[data-theme="study"] body.info-page .server-count strong,
html[data-theme="study"] body.info-page .redirect-title,
html[data-theme="study"] body.info-page #redirect-seconds,
html[data-theme="study"] body.info-page .redirect-icon,
html[data-theme="study"] body.info-page .block-icon i { color:var(--study-ink) !important; text-shadow:none !important; filter:none !important; }
html[data-theme="study"] body.info-page .redirect-link,
html[data-theme="study"] body.info-page .footer a { color:var(--study-link) !important; }
html[data-theme="study"] body.info-page .redirect-card,
html[data-theme="study"] body.info-page .block { background-image:none !important; }
html[data-theme="study"] body.info-page .block::after { background:var(--study-primary) !important; }
html[data-theme="study"] body.info-page .block-url { font-family:inherit !important; }
html[data-theme="study"] body.info-page #server-search::placeholder { color:var(--study-ink-dim) !important; opacity:.82; }

/* In JimmyQrg styles, retain the neon language while deriving its accent from
   the selected preset instead of leaving every Info page purple. */
html[data-theme="jimmyqrg"]:not([data-theme-variant="jimmyqrg"]) body.info-page {
  color:var(--info-text) !important;
  background:radial-gradient(900px 650px at 50% 0%,var(--info-accent-soft),transparent 68%),var(--info-bg-deep) !important;
}
html[data-theme="jimmyqrg"] body.info-page .header-lead,
html[data-theme="jimmyqrg"] body.info-page .block-text,
html[data-theme="jimmyqrg"] body.info-page .server-count strong,
html[data-theme="jimmyqrg"] body.info-page .redirect-title,
html[data-theme="jimmyqrg"] body.info-page #redirect-seconds,
html[data-theme="jimmyqrg"] body.info-page .redirect-icon,
html[data-theme="jimmyqrg"] body.info-page .block-icon i { color:var(--info-text) !important; }
html[data-theme="jimmyqrg"] body.info-page .redirect-msg,
html[data-theme="jimmyqrg"] body.info-page .redirect-countdown,
html[data-theme="jimmyqrg"] body.info-page .footer { color:var(--info-text-dim) !important; }
html[data-theme="jimmyqrg"] body.info-page .redirect-link,
html[data-theme="jimmyqrg"] body.info-page .footer a { color:var(--info-accent-cyan) !important; }
html[data-theme="jimmyqrg"] body.info-page .block,
html[data-theme="jimmyqrg"] body.info-page .redirect-card { background:linear-gradient(135deg,var(--info-accent-soft),var(--info-bg-deep)) !important; }
html[data-theme="jimmyqrg"] body.info-page .block-icon,
html[data-theme="jimmyqrg"] body.info-page .redirect-icon { background:var(--info-accent-soft) !important; }
html[data-theme="jimmyqrg"] body.info-page .back-link:hover,
html[data-theme="jimmyqrg"] body.info-page .back-link:focus-visible,
html[data-theme="jimmyqrg"] body.info-page .copy-btn:hover,
html[data-theme="jimmyqrg"] body.info-page .copy-btn:focus-visible { color:var(--info-text) !important; background:var(--info-accent-soft) !important; border-color:var(--info-accent) !important; }
html[data-theme="jimmyqrg"] body.info-page .block:hover { border-color:var(--info-border-strong) !important; box-shadow:0 0 22px var(--info-accent-glow),0 0 50px var(--info-accent-soft) !important; }

/* Info is one small application, not a collection of unrelated page themes.
   Keep its legacy directory pages, article pages, and card links in the same
   theme system, and remove the generic Study-shell underline on plain links. */
html[data-jqrg-shell="1"] body.article-page a,
html[data-jqrg-shell="1"] body.info-page a {
  text-decoration:none !important;
}
html[data-jqrg-shell="1"] body.article-page a:focus-visible,
html[data-jqrg-shell="1"] body.info-page a:focus-visible {
  outline:2px solid var(--accent-purple, var(--study-primary)) !important;
  outline-offset:3px !important;
}
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-content a:not(.article-step),
html[data-theme="study"][data-jqrg-shell="1"] body.info-page .redirect-link,
html[data-theme="study"][data-jqrg-shell="1"] body.info-page .footer a {
  color:var(--study-link) !important;
  text-decoration:none !important;
}
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-step,
html[data-theme="study"][data-jqrg-shell="1"] body.info-page .block-link {
  color:var(--study-ink) !important;
  text-decoration:none !important;
}
html[data-theme="study"][data-jqrg-shell="1"] body.article-page a.article-step:hover,
html[data-theme="study"][data-jqrg-shell="1"] body.info-page .block-link:hover .block {
  background:var(--study-band) !important;
  border-color:var(--study-primary) !important;
  color:var(--study-ink) !important;
}
html[data-theme="study"] body.info-page .main-container > header {
  color:var(--study-ink) !important;
  background:var(--study-surface) !important;
  border-color:var(--study-line) !important;
  box-shadow:0 3px 12px rgba(38,55,47,.05) !important;
}
html[data-theme="study"] body.info-page .diamond-icon,
html[data-theme="study"] body.info-page .portal-icon {
  background:var(--study-primary) !important;
  filter:none !important;
}
html[data-theme="study"] body.info-page .redirect-link:hover,
html[data-theme="study"] body.info-page .footer a:hover,
html[data-theme="study"] body.article-page .article-content a:hover { color:var(--study-primary) !important; }
html[data-theme-variant="study-library"] body.info-page .main-container > header { border-radius:22px !important; }
html[data-theme-variant="study-campus"] body.info-page .main-container > header { border-radius:18px 4px 18px 4px !important;border-left:5px solid var(--study-primary) !important; }
html[data-theme-variant="study-lab"] body.info-page .main-container > header { border-radius:2px !important;box-shadow:none !important; }
html[data-theme-variant="study-notebook"] body.info-page .main-container > header { border-radius:4px 18px 4px 18px !important;background-image:repeating-linear-gradient(180deg,transparent 0 31px,rgba(78,108,155,.04) 32px 33px) !important; }
html[data-theme-variant="study-graphite"] body.info-page .main-container > header { border-radius:0 !important;box-shadow:none !important; }
html[data-theme-variant="study-library"] body.article-page .article-step { border-radius:14px 22px 14px 22px !important; }
html[data-theme-variant="study-campus"] body.article-page .article-step { border-radius:12px 3px 12px 3px !important;border-left:3px solid var(--study-primary) !important; }
html[data-theme-variant="study-lab"] body.article-page .article-step { border-radius:2px !important; }
html[data-theme-variant="study-notebook"] body.article-page .article-step { border-radius:3px 12px 3px 12px !important; }
html[data-theme-variant="study-graphite"] body.article-page .article-step { border-radius:0 !important; }

html[data-theme="jimmyqrg"] body.info-page .main-container > header {
  border-color:var(--info-border) !important;
  background:linear-gradient(145deg,var(--info-accent-soft),var(--info-bg-deep)) !important;
}
html[data-theme="jimmyqrg"] body.info-page .block-link,
html[data-theme="jimmyqrg"] body.info-page .redirect-link,
html[data-theme="jimmyqrg"] body.info-page .footer a,
html[data-theme="jimmyqrg"] body.article-page a { text-decoration:none !important; }
html[data-theme="jimmyqrg"] body.article-page .article-content a:not(.article-step) { color:var(--info-accent-cyan) !important; }
html[data-theme="jimmyqrg"] body.article-page .article-content a:not(.article-step):hover { color:var(--info-text) !important; }
html[data-theme-variant="jimmyqrg-solar"] body.info-page .main-container > header { border-radius:3px !important;border-width:2px !important;box-shadow:9px 9px 0 rgba(0,0,0,.28) !important; }
html[data-theme-variant="jimmyqrg-verdant"] body.info-page .main-container > header { border-radius:24px 5px 24px 5px !important; }
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-back,
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-note,
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-code-wrap pre,
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-code-wrap button {
  color:var(--study-ink) !important;
  background:var(--study-surface) !important;
  border-color:var(--study-line) !important;
  box-shadow:0 2px 9px rgba(38,55,47,.06) !important;
}
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-note { border-left:4px solid var(--study-primary) !important; }
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-step b,
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-eyebrow,
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .strategy-card-action,
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .info-guide-kicker,
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .info-guide-action { color:var(--study-primary) !important; }
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .article-step span { color:var(--study-ink-dim) !important; }
html[data-theme="study"][data-jqrg-shell="1"] body.article-page.content-page .container {
  color:var(--study-ink) !important;background:var(--study-surface) !important;
  border-color:var(--study-line) !important;box-shadow:0 3px 12px rgba(38,55,47,.05) !important;
}
html[data-theme="study"][data-jqrg-shell="1"] body.article-page.content-page .box {
  color:var(--study-ink-dim) !important;background:var(--study-band) !important;
  border-color:var(--study-primary) !important;
}
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .modal-overlay { background:rgba(28,38,32,.52) !important; }
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .modal-content {
  color:var(--study-ink) !important;background:var(--study-surface) !important;
  border-color:var(--study-line) !important;box-shadow:0 18px 50px rgba(30,45,36,.22) !important;
}
html[data-theme="study"][data-jqrg-shell="1"] body.article-page .modal-content h2 { color:var(--study-primary) !important; }
html[data-theme="study"][data-jqrg-shell="1"] body.info-page .server-help code { color:var(--study-primary) !important; }
