/* Shared course shell; game engines keep their original presentation. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

body.studio-site {
  --paper: #f5f6f3; --ink: #202322; --muted: #58625e; --line: #d6dcd5;
  --course: #e5f570; --course-soft: #f0f7ce; --course-ink: #364512;
  --text-main: #202322; --text-muted: #58625e; --text: #202322;
  --bg: #f5f6f3; --bg-card: #ffffff; --border-soft: #d6dcd5;
  --gold: #35451b; --gold-soft: #f0f7ce; --gold-border: #c7d799;
  --r: 8px; --r-sm: 6px; --r-lg: 8px;
  display: block; margin: 0; color: var(--ink); background: var(--paper);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.65;
}
body.studio-site[data-course="r094"] { --course: #ff927c; --course-soft: #fff0e9; --course-ink: #80341f; --gold: #80341f; --gold-soft: #fff0e9; --gold-border: #efb6a4; }
body.studio-site[data-course="r097"] { --course: #8be0d0; --course-soft: #e5f6f1; --course-ink: #175448; --gold: #175448; --gold-soft: #e5f6f1; --gold-border: #a4d8cc; }
.studio-site *, .studio-site *::before, .studio-site *::after { box-sizing: border-box; letter-spacing: 0 !important; }
.studio-site h1, .studio-site h2, .studio-site h3, .studio-site h4 { font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--ink); line-height: 1.15; }
.studio-site button, .studio-site input, .studio-site select, .studio-site textarea { font-family: inherit; }
.studio-site a { text-underline-offset: 4px; }
.studio-site :focus-visible { outline: 3px solid #127c70; outline-offset: 4px; }
.studio-site [hidden] { display: none !important; }
.studio-ready > .topbar, .studio-ready .site-nav { display: none; }
.studio-site .page { max-width: 1280px; padding: 0 32px 40px; }
.studio-site main.container { max-width: 1280px; padding: 0 32px; }
/* Nav and breadcrumb carry their own tokens so they render identically on game and guide pages. */
.studio-nav, .studio-breadcrumb { --ink: #202322; --muted: #58625e; --line: #d6dcd5; --course: #e5f570; --course-soft: #f0f7ce; --course-ink: #364512; font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.65; text-align: left; letter-spacing: 0; }
[data-course="r094"] .studio-nav { --course: #ff927c; --course-soft: #fff0e9; --course-ink: #80341f; }
[data-course="r097"] .studio-nav { --course: #8be0d0; --course-soft: #e5f6f1; --course-ink: #175448; }
[data-course="tools"] .studio-nav { --course: #ffd25e; --course-soft: #fff4d4; --course-ink: #6b4a00; }
.studio-nav *, .studio-nav *::before, .studio-nav *::after, .studio-breadcrumb * { box-sizing: border-box; letter-spacing: 0; }
.studio-nav { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; width: 100%; align-self: stretch; }
.studio-brand-dot { color: #677864; }
.studio-tools-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ink); border-radius: 5px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .18s, transform .18s; }
.studio-tools-link svg { width: 17px; height: 17px; }
.studio-tools-link:hover { background: #ffd25e; transform: translateY(-1px); }
.studio-tools-link[aria-current] { background: #ffd25e; border-color: #202322; }
body > .studio-breadcrumb { width: 100%; max-width: 1280px; padding: 20px 32px; align-self: center; }
body:not(.studio-site) > .studio-breadcrumb { color: var(--muted); }
.studio-nav-inner { max-width: 1280px; margin: auto; min-height: 88px; padding: 16px 32px; display: flex; align-items: center; gap: 32px; }
.studio-brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.studio-mark { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.studio-brand strong { display: block; font: 700 21px/1.1 'Space Grotesk', sans-serif; }
.studio-brand small { color: #646d66; font-size: 10px; display: block; margin-top: 4px; text-transform: uppercase; }
.studio-course-tabs { display: flex; gap: 6px; margin-left: auto; }
.studio-course-tabs a { color: var(--muted); display: flex; gap: 6px; padding: 10px 13px; border-radius: 5px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.studio-course-tabs a[aria-current] { background: var(--course); color: #202322; }
.studio-course-tabs a:hover { background: #edf0eb; color: var(--ink); }
.studio-login { border-left: 1px solid var(--line); padding-left: 24px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.studio-login svg { width: 16px; vertical-align: middle; margin-left: 5px; }
.studio-breadcrumb { max-width: 1216px; margin: 0 auto; padding: 20px 0; display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.studio-breadcrumb a { text-decoration: none; color: inherit; }
.studio-breadcrumb svg { width: 13px; height: 13px; }
.studio-site .studio-hero { position: relative; min-height: 400px; display: flex; align-items: center; padding: 42px 44px; isolation: isolate; overflow: hidden; background: #ecefe9 url('../../img/studio-hero.webp') center/cover no-repeat; border: 0; border-radius: 0; margin: 0; box-shadow: none; }
.studio-hero-copy { width: 57%; position: relative; z-index: 1; }
.studio-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 18px; color: var(--course-ink); }
.studio-eyebrow::before { content: ''; width: 8px; height: 8px; background: currentColor; }
.studio-site .studio-hero h1 { font-size: 58px; font-weight: 700; line-height: 1.04; margin: 0 0 18px; max-width: 620px; display: block; color: #202322; }
.studio-hero h1 em { display: inline; font-style: normal; background: var(--course); padding: 0 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.studio-hero p { font-size: 15px; max-width: 420px; margin: 0 0 24px; color: #424e47; }
.studio-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.studio-site .studio-button { min-height: 44px; padding: 11px 18px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; background: #202322; color: #fff; border: 1px solid #202322; border-radius: 5px; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.4; transition: transform .18s, background .18s; }
.studio-site .studio-button:hover { background: #3e4a41; transform: translateY(-2px); }
.studio-site .studio-button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.studio-button svg { width: 17px; height: 17px; flex-shrink: 0; }
.studio-meta-strip { display: flex; gap: 28px; align-items: center; padding: 17px 24px; background: var(--course); font-size: 12px; color: #202322; flex-wrap: wrap; }
.studio-meta-strip strong { font-weight: 700; }
.studio-meta-strip span:last-child { margin-left: auto; }
.studio-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 40px 0 22px; }
.studio-section-heading h2 { font-size: 28px; margin: 0; }
.studio-section-heading p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.studio-label { font: 600 11px/1.5 'DM Sans', sans-serif; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; display: block; }
.studio-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0 32px; }
.studio-route { padding: 23px; border: 1px solid var(--line); background: #fff; border-radius: 6px; text-decoration: none; display: flex; flex-direction: column; color: var(--ink); transition: transform .2s, box-shadow .2s; position: relative; }
.studio-route:hover { transform: translateY(-4px); box-shadow: 0 8px 0 #202322; }
.studio-route:nth-child(2) { background: #fce7e9; }
.studio-route:nth-child(3) { background: #e2f3ef; }
.studio-route-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.studio-route-top > svg { height: 30px; width: 30px; }
.studio-route-top span { font-size: 11px; color: #58625e; }
.studio-route h2, .studio-route h3 { margin: 0 0 9px; font-size: 23px; }
.studio-route p { font-size: 13px; line-height: 1.6; color: #4f5a53; margin: 0 0 20px; }
.studio-route-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 12px; font-weight: 700; }
.studio-route-bottom svg { width: 19px; height: 19px; }
.studio-resource-band { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 28px; margin: 32px 0; }
.studio-resource-band h2 { font-size: 21px; margin: 0 0 5px; }
.studio-resource-band p { margin: 0; font-size: 13px; color: var(--muted); }
.studio-resource-band .studio-actions { margin-left: auto; }
.studio-journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 36px; }
.studio-stage { min-width: 0; }
.studio-stage-head { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 3px solid #202322; }
.studio-stage-head span { width: 30px; height: 30px; background: var(--course); font-size: 12px; display: grid; place-items: center; border-radius: 50%; }
.studio-stage-head h3 { font-size: 20px; margin: 0; }
.studio-stage > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; min-height: 40px; }
.studio-lesson-link { color: var(--ink); display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; line-height: 1.4; }
.studio-lesson-link:hover { color: var(--course-ink); background: var(--course-soft); }
.studio-lesson-link > span:first-child { color: #65716a; font-size: 11px; min-width: 20px; }
.studio-lesson-link > svg { margin-left: auto; width: 15px; height: 15px; flex-shrink: 0; }
.studio-lesson-link.is-done > span:first-child { color: #11705b; }
.studio-lesson-link[aria-current] { font-weight: 700; background: var(--course-soft); }
.studio-progress-summary { display: flex; align-items: center; gap: 20px; font-size: 12px; }
.studio-progress-track { width: 130px; height: 5px; background: #dce1d9; }
.studio-progress-track > span { display: block; height: 100%; background: #297860; width: var(--progress, 0%); transition: width .25s; }
.studio-content-band { background: #202925; color: #fff; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 32px 0; }
.studio-content-band h2 { color: #fff; font-size: 27px; margin: 0 0 12px; }
.studio-content-band p, .studio-content-band li { font-size: 14px; color: #e3ebe5; }
.studio-content-band ol { padding-left: 20px; margin: 0; }
.studio-content-band li { padding: 4px 0 8px 5px; }
.studio-content-band strong { color: #fff; }
.studio-content-band blockquote { border-left: 3px solid var(--course); margin: 22px 0 0; padding-left: 18px; color: #e6eddf; font-size: 16px; }
.studio-overview-image { margin: 24px 0; }
.studio-overview-image summary { font-weight: 700; font-size: 14px; padding: 17px 0; cursor: pointer; border-top: 1px solid var(--line); }
.studio-overview-image img { width: 100%; height: auto; display: block; }
.studio-site .site-footer, .studio-site footer:not(.card-footer) { box-shadow: none; color: #5b655e; background: transparent; font-size: 12px; padding: 25px 0; margin: 36px 0 0; border-top: 1px solid var(--line); display: block; }
.studio-site .site-footer::before { display: none; }
.studio-site .footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.studio-site footer a { color: #44584d; }

/* R093 revision dashboard. Preserve all original tracker IDs and storage. */
.studio-site.studio-home > .page > header { margin: 0; display: block; }
.studio-home .exam-countdown { margin: 0 0 28px; padding: 16px 22px; border: 1px solid var(--line); background: #fff !important; border-radius: 6px; box-shadow: none; animation: none; }
.studio-home .exam-countdown::before { display: none; }
.studio-home .ec-days { font-family: 'Space Grotesk', sans-serif; background: none !important; -webkit-text-fill-color: var(--ink) !important; color: var(--ink); text-shadow: none; font-size: 34px !important; filter: none; }
.studio-home .ec-frac { color: #206d55; }
.studio-home .ec-unit, .studio-home .ec-date, .studio-home .ec-plabel { color: #58625e; }
.studio-home .ec-divider { background: var(--line); }
.studio-home .ec-bar-wrap { background: #e7ece5; }
.studio-home .ec-bar { background: #29876d; }
.studio-home .revision-tracker { padding: 26px; background: #eaf0e5; border: 0; border-radius: 0; box-shadow: none; }
.studio-home .tracker-shell { background: none; border: 0; border-radius: 0; padding: 0; gap: 12px; }
.studio-home .tracker-main { gap: 12px; }
.studio-home .tracker-summary { gap: 6px; }
.studio-home .tracker-message:empty { display: none; }
.studio-home .tracker-status-text { color: #3e5945; font-size: 12px; }
.studio-home .tracker-kicker { background: none; color: #4d5f43; border: 0; padding: 0; border-radius: 0; }
.studio-home .tracker-hero { grid-template-columns: 80px minmax(0,1fr); gap: 22px; margin: 14px 0 20px; }
.studio-home .tracker-ring { width: 80px; height: 80px; background: conic-gradient(#42765d calc(var(--p) * 1%), #d2ddcc 0); box-shadow: none; filter: none !important; }
.studio-home .tracker-ring::before { background: #eaf0e5; inset: 7px; }
.studio-home .tracker-ring-value { color: var(--ink); font-size: 23px; }
.studio-home .tracker-ring-label { font-size: 7px; color: #4b5a4e; }
.studio-home .tracker-summary h2 { font-size: 28px; background: none !important; -webkit-text-fill-color: var(--ink); margin-bottom: 6px; }
.studio-home .tracker-summary p { max-width: 760px; font-size: 13px; color: #52604f; }
.studio-home .tracker-status { font-size: 12px; color: #3f5341; }
.studio-home .tracker-status-badge { color: #28513a; background: #d7e8d0; border: 0; }
.studio-home .tracker-stat { background: transparent; padding: 0 18px 0 0; border: 0; border-right: 1px solid #cbd6c5; border-radius: 0; }
.studio-home .tracker-stat strong { color: #202322; font-size: 24px; }
.studio-home .tracker-stat-label, .studio-home .tracker-stat span, .studio-home .tracker-meta { color: #50624e; }
.studio-home .tracker-btn { background: #fff; color: #243c2d; border: 1px solid #bccbb6; border-radius: 5px; font-size: 12px; box-shadow: none; }
.studio-home .tracker-btn-primary { background: #233e2b; color: #fff; }
.studio-home .tracker-side { margin-top: 22px; grid-template-columns: 1fr 1fr; gap: 24px; }
.studio-home .tracker-side > .tracker-panel:last-child { display: none; }
.studio-home .tracker-panel { background: none; border: 0; border-radius: 0; padding: 0; }
.studio-home .tracker-panel h3 { font-size: 17px; color: var(--ink); }
.studio-home .tracker-panel > p, .studio-home .tracker-task-copy { color: #52604f; }
.studio-home .tracker-suggestion-list { display: grid; grid-template-columns: 1fr; }
.studio-home .tracker-suggestion-list li, .studio-home .tracker-task-list li { background: #ffffffa3; border: 1px solid #d3dfcd; border-radius: 5px; padding: 12px; }
.studio-home .tracker-suggestion-top strong, .studio-home .tracker-task-title, .studio-home .tracker-suggestion-list p { color: #354e39; }
.studio-home .tracker-task-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.studio-home .tracker-task { align-items: start; }
.studio-home .tracker-task-title { font-size: 12px; }
.studio-home .tracker-task-copy { font-size: 11px; }
.studio-home .tracker-task input { accent-color: #2c7452; }
.studio-home .tracker-suggestion-chip { color: #32533c; background: #dcebd5; }
.studio-home .tracker-suggestion-link { background: #fff; border-color: #bfcfb7; color: #284c32; }
.studio-home .tracker-suggestion-list li:nth-child(n+3) { display: none; }
.studio-home main { padding: 0; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none; }
.studio-home .topic-section { background: none; border: 0; border-radius: 0; padding: 20px 0; }
.studio-home .topic-section-header, .studio-home .grid-header { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.studio-home .topic-section-header::after, .studio-home .grid-header::after { display: none; }
.studio-home .topic-section-header h2, .studio-home .grid-header h2 { text-transform: none; font-size: 28px; color: var(--ink); }
.studio-home .topic-section-header h2, .studio-home .grid-header h2, .studio-home .collapsible-title { background: none !important; -webkit-text-fill-color: var(--ink) !important; }
.studio-home .hint, .studio-home .studied-counter { color: #626f65; }
.studio-home .topic-search { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 5px; }
.studio-home .topic-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.studio-home .topic-card { background: #fff; border: 1px solid var(--line); border-radius: 5px; box-shadow: none; min-height: 82px; padding: 14px; }
.studio-home .topic-card:hover { background: #f0f7ce; border-color: #9da97d; transform: translateY(-2px); }
.studio-home .topic-card strong { color: #263b2d; font-size: 12px; }
.studio-home .topic-card span { color: #58675b; }
.studio-home .topic-card .topic-number { background: #edf2e6 !important; border-color: #d6dfcb !important; color: #3d573d !important; margin-right: 22px; }
.studio-home .topic-tick { background: #fff; border-color: #bcccb5; color: transparent; }
.studio-home .topic-card-wrap.done .topic-tick { background: #297650; color: #fff; }
.studio-home .topic-card-wrap.done .topic-card { background: #edf6e7; }
.studio-home .random-btn, .studio-home #randomTopicBtn { background: #202322; box-shadow: none; border-radius: 5px; }
.studio-home .collapsible { background: transparent !important; border: 1px solid var(--line) !important; border-radius: 6px; margin-top: 18px; box-shadow: none; }
.studio-home .collapsible-summary { background: #e9ede5 !important; padding: 20px; }
.studio-home .collapsible-title { color: #202322; }
.studio-home .collapsible-sub, .studio-home .collapsible-chevron { color: #50644e; }
.studio-home .collapsible-body { padding: 20px; }
.studio-home .filter-btn { background: #fff !important; color: #475c49 !important; border: 1px solid var(--line) !important; border-radius: 5px; }
.studio-home .filter-btn.active { background: var(--course) !important; color: #263120 !important; border-color: #afbf6d !important; }
.studio-home .game-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: none; }
.studio-home .game-card:hover { border-color: #859573; box-shadow: 0 5px 0 #dce6d1; }
.studio-home .game-card .card-shimmer { display: none; }
.studio-home .game-topic, .studio-home .game-title span { color: #39735b; }
.studio-home .game-title span { color: #39735b !important; background: none; -webkit-text-fill-color: #39735b; }
.studio-home .game-title { color: #202322; }
.studio-home .game-desc, .studio-home .skill-text { color: #5c6a60; }
.studio-home .tag { color: #466044; background: #eef3e9; border-color: #dbe3d5; }
.studio-home .card-footer { border-color: var(--line); }
.studio-home .play-btn { background: #243b2e; border: 0; box-shadow: none; color: #fff; border-radius: 5px; }
.studio-home main::after, .studio-home .revision-tracker::before { display: none; }
.studio-home .studio-tracker-details > summary { cursor: pointer; font-size: 12px; color: #3e5945; margin-top: 8px; }

/* Coursework pages: navigation rail, open reading surface, clear evidence. */
.studio-lesson-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 42px; }
.studio-lesson-sidebar { border-right: 1px solid var(--line); padding: 4px 24px 30px 0; align-self: start; position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow-y: auto; }
.studio-lesson-sidebar h2 { font-size: 16px; margin: 20px 0 6px; }
.studio-lesson-sidebar .studio-lesson-link { font-size: 11px; padding: 10px 4px; gap: 9px; }
.studio-lesson-sidebar .studio-label { margin-top: 22px; color: var(--course-ink); }
.studio-topic-select { display: none; }
.studio-lesson-body { min-width: 0; }
.studio-site.studio-course-lesson .hero { border: 0; border-radius: 0; padding: 12px 0 28px; background: transparent; box-shadow: none; margin-bottom: 0; overflow: visible; }
.studio-site.studio-course-lesson .hero::before { display: none; }
.studio-site.studio-course-lesson .hero h1 { font-size: 38px; margin: 0 0 14px; }
.studio-course-lesson .hero .sub { color: #526258; font-size: 15px; }
.studio-course-lesson .chips { gap: 6px; }
.studio-course-lesson .chip { border-radius: 4px; color: var(--course-ink); border: 0; background: var(--course-soft); font-size: 11px; }
.studio-site.studio-course-lesson .grid { gap: 26px; }
.studio-site.studio-course-lesson .section { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 24px 0; box-shadow: none; }
.studio-course-lesson .section h3 { font-size: 21px; color: var(--ink); }
.studio-course-lesson .section li { color: #4b5c51; font-size: 14px; }
.studio-course-lesson .small { color: #54645a; }
.studio-course-lesson .callout { background: var(--course-soft); border-color: var(--course); border-radius: 0; }
.studio-course-lesson .callout strong, .studio-course-lesson .callout .small, .studio-course-lesson .callout a { color: var(--course-ink); }
.studio-course-lesson .callout.warn { background: #fff2d3; border-color: #dbaa30; }
.studio-course-lesson .callout.warn strong, .studio-course-lesson .callout.warn .small { color: #6c4e16; }
.studio-course-lesson .callout.good { background: #e5f3e9; border-color: #5d9871; }
.studio-course-lesson .callout.good strong, .studio-course-lesson .callout.good .small, .studio-course-lesson .callout.good a { color: #28543a; }
.studio-course-lesson .infographic { margin: 20px 0; }
.studio-course-lesson .infographic img { border-radius: 4px; box-shadow: none; border: 1px solid var(--line); }
.studio-course-lesson .video, .studio-course-lesson .card, .studio-course-lesson .video-card, .studio-course-lesson .pdf-card { background: #fff; border-color: var(--line); border-radius: 6px; }
.studio-course-lesson .video input { color: var(--ink); background: #fff; border-color: var(--line); }
.studio-course-lesson .video-title, .studio-course-lesson .card h4 { color: var(--ink); }
.studio-course-lesson .video button, .studio-course-lesson .button, .studio-course-lesson .btn { color: var(--course-ink); border: 1px solid var(--line); background: #fff; border-radius: 5px; }
.studio-evidence { margin: 20px 0; border-top: 3px solid var(--course); background: #fff; padding: 25px; }
.studio-evidence h2 { font-size: 21px; margin: 0 0 12px; }
.studio-evidence p, .studio-evidence li { color: #526156; font-size: 13px; }
.studio-evidence ul { padding-left: 18px; margin-left: 0; }
.studio-evidence blockquote { margin: 18px 0 0; border-left: 2px solid var(--course); padding-left: 16px; color: #3a5143; font-size: 14px; }
.studio-lesson-controls { border-top: 1px solid var(--line); padding: 25px 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.studio-lesson-controls .studio-button:last-child { margin-left: auto; }
.studio-status { min-height: 20px; font-size: 12px; color: #41674d; margin: 8px 0; }
.studio-progress-tools { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.studio-progress-tools button { color: #536456; border: 0; border-bottom: 1px solid #aab8a6; background: none; padding: 4px 0; cursor: pointer; font-size: 11px; }

/* R093 topic pages retain interactive tools and their dark media surfaces. */
.studio-topic .topic-header { margin-bottom: 20px; }
.studio-topic .brand-text h1 { font: 700 38px/1.1 'Space Grotesk',sans-serif; color: var(--ink); }
.studio-topic .brand-text h1 .highlight { color: #3f7058; }
.studio-topic .brand-text p { color: #526258; }
.studio-topic .back-link { color: #34563e; background: #e9f0df; border-color: #cdd9c1; }
.studio-topic .hero-band { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: none; }
.studio-topic .hero-hook { color: #526258; }
.studio-topic .topic-section { background: #fff; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 25px; }
.studio-topic .topic-section h2 { color: #233b2b; font-size: 24px; }
.studio-topic .topic-section h3 { color: #386b51; }
.studio-topic .topic-section p, .studio-topic .topic-section li { color: #516256; }
.studio-topic .topic-section strong { color: #233b2b; }
.studio-topic .infographic-card { background: #e9f1e0; box-shadow: none; border-radius: 6px; color: #284132; }
.studio-topic .infographic-card h3 { color: #284132; }
.studio-topic .infographic-pill { background: #cfdfbd; }
.studio-topic .notebooklm-box { background: #edf4e8; border-color: #cbdcc0; }
.studio-topic .notebook-btn { background: #2e6247; box-shadow: none; border-radius: 5px; color: #fff; }
.studio-topic .exam-card, .studio-topic .ai-exam-card { color: #edf2ec; background: #23372d; border-radius: 6px; }
.studio-topic .exam-card p, .studio-topic .exam-card li, .studio-topic .exam-card strong, .studio-topic .ai-exam-card p, .studio-topic .ai-exam-card li, .studio-topic .ai-exam-card strong { color: #edf2ec; }
.studio-topic .ai-prompt-card { background: #23372d; color: #fff; }
.studio-topic .ai-prompt-card h3, .studio-topic .ai-prompt-card p { color: #fff; }
.studio-topic .ai-exam-card { background: #eef4e9; color: #263d2b; border: 1px solid #d3dfca; }
.studio-topic .topic-section .ai-exam-card h3, .studio-topic .topic-section .ai-exam-card h4, .studio-topic .topic-section .ai-exam-card p, .studio-topic .topic-section .ai-exam-card li, .studio-topic .topic-section .ai-exam-card strong { color: #2e4b35; }
.studio-topic .ai-exam-card textarea.answer-box { background: #fff; color: #202322; border-color: #c3d0bb; }
.studio-topic .ai-exam-card textarea.answer-box::placeholder { color: #606e60; opacity: 1; }
.studio-topic .ai-prompt-card .prompt-box { background: #172a20; color: #fff; }
.studio-topic .ai-prompt-card .prompt-box::placeholder { color: #bdcdbc; }
.studio-topic .ai-prompt-card .btn-link { color: #fff; background: #354f40; }
.studio-topic .boost-card { background: #e1ebd9; border-color: #c3d0bb; }
.studio-topic .infographic-pill { color: #375337 !important; }
.studio-topic .video-note a { color: #326a4c; }
.studio-topic .game-card .game-topic, .studio-topic .game-card .skill-text { color: #bddec6; }
.studio-topic .game-card .tag { color: #e0f1e1; background: #375742; border-color: #58765b; }
.studio-topic .fc-front { background: #244c39; color: #fff; }
.studio-topic .fc-back { background: #e5f570; color: #243421; }
.studio-topic .fc-btn { background: #e9f0e3; border-color: #ccd8c4; color: #2c4433; }
.studio-topic .fc-counter { color: #50664e; }
.studio-topic .game-card { background: #24372e; color: #fff; }
.studio-topic .game-card h3, .studio-topic .game-card p { color: #fff; }

@media(min-width: 1500px) { .studio-site .studio-hero { min-height: 420px; } }
@media(max-width: 1050px) {
  .studio-nav-inner { gap: 16px; } .studio-course-tabs a { padding: 9px; } .studio-course-tabs a span { display: none; }
  .studio-hero-copy { width: 60%; } .studio-site .studio-hero h1 { font-size: 48px; }
  .studio-lesson-layout { grid-template-columns: 190px minmax(0,1fr); gap: 28px; }
  .studio-home .topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width: 1180px) { .studio-tools-link span { display: none; } .studio-tools-link { padding: 9px 11px; } }
@media(max-width: 760px) {
  .studio-nav-inner { min-height: 76px; padding: 14px 20px; flex-wrap: wrap; gap: 14px; }
  .studio-tools-link { margin-left: auto; } .studio-tools-link + .studio-login { margin-left: 0; }
  body > .studio-breadcrumb { padding: 16px 20px; }
  .studio-brand strong { font-size: 18px; } .studio-brand small { font-size: 9px; } .studio-mark { width: 34px; height: 34px; }
  .studio-course-tabs { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 10px; gap: 8px; }
  .studio-course-tabs a { flex: 1; justify-content: center; font-size: 11px; padding: 8px 4px; } .studio-course-tabs a span { display: inline; }
  .studio-login { margin-left: auto; padding-left: 12px; font-size: 12px; }
  .studio-site .page, .studio-site main.container { padding: 0 20px 24px; }
  .studio-breadcrumb { padding: 16px 0; font-size: 11px; }
  .studio-site .studio-hero { min-height: 390px; padding: 26px 22px 145px; align-items: start; background-size: auto 260px; background-position: right -32px bottom -60px; background-color: #eff1ec; }
  .studio-hero-copy { width: 100%; } .studio-site .studio-hero h1 { font-size: 34px; max-width: 440px; }
  .studio-hero p { max-width: 420px; font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
  .studio-hero .studio-button { font-size: 12px; padding: 10px 12px; gap: 8px; }
  .studio-hero .studio-button.secondary { background: #fff; padding: 10px 12px; }
  .studio-home .studio-hero .studio-button.secondary { font-size: 0; min-width: 44px; padding: 10px; }
  .studio-eyebrow { margin-bottom: 14px; font-size: 10px; }
  .studio-meta-strip { padding: 14px 18px; gap: 10px 18px; font-size: 11px; } .studio-meta-strip span:last-child { margin-left: 0; }
  .studio-route-grid { grid-template-columns: 1fr; gap: 12px; }
  .studio-route { padding: 20px; } .studio-route-top { margin-bottom: 14px; } .studio-route p { margin-bottom: 12px; }
  .studio-route h2, .studio-route h3 { font-size: 23px; }
  .studio-section-heading { align-items: start; flex-direction: column; gap: 14px; margin-top: 30px; }
  .studio-section-heading h2 { font-size: 25px; }
  .studio-journey { grid-template-columns: 1fr; gap: 24px; }
  .studio-stage > p { min-height: 0; }
  .studio-resource-band { align-items: start; flex-direction: column; gap: 16px; } .studio-resource-band .studio-actions { margin-left: 0; }
  .studio-content-band { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .studio-lesson-layout { grid-template-columns: 1fr; gap: 0; }
  .studio-lesson-sidebar { display: none; }
  .studio-topic-select { display: block; width: 100%; padding: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 5px; font-size: 13px; margin: 0 0 24px; }
  .studio-site.studio-course-lesson .hero h1 { font-size: 29px; }
  .studio-home .tracker-hero { grid-template-columns: 65px minmax(0,1fr); gap: 14px; }
  .studio-home .tracker-ring { width: 65px; height: 65px; }
  .studio-home .revision-tracker { padding: 20px; }
  .studio-home .tracker-summary h2 { font-size: 23px; }
  .studio-home .tracker-side { grid-template-columns: 1fr; }
  .studio-home .tracker-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .studio-home .tracker-stat { padding-right: 8px; } .studio-home .tracker-stat strong { font-size: 20px; } .studio-home .tracker-stat span { font-size: 10px; }
  .studio-home .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-home .topic-card { padding: 11px; }
  .studio-home .topic-tools { width: 100%; }
  .studio-home .topic-search { width: 100%; }
  .studio-home .topic-section-header { align-items: start; gap: 12px; flex-direction: column; }
  .studio-home .collapsible-body { padding: 14px; }
  .studio-topic .brand-text h1 { font-size: 30px; }
  .studio-topic .topic-section { padding: 20px 0; background: transparent; }
  .studio-topic .topic-section .topic-section { padding: 18px; }
}
@media(max-width: 380px) { .studio-course-tabs a span { display: none; } .studio-site .studio-hero h1 { font-size: 33px; } .studio-home .topic-grid { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion: reduce) { .studio-site *, .studio-site *::before, .studio-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* iMedia Tools promo band on the course hubs */
.studio-tools-band-icons { display: flex; flex-shrink: 0; }
.studio-tools-band-icons img { width: 44px; height: 44px; border-radius: 22%; box-shadow: 0 0 0 3px var(--paper, #f5f6f3); }
.studio-tools-band-icons img + img { margin-left: -10px; }
.studio-tools-band-icons img:last-child { background: #24123f; }
.studio-home .studio-tools-band { margin: 32px 0 8px; }
