/* Georgia course. Colours and typography match Basically Management's active
   Selected Dark Green child theme, verified 3 October 2026. Scoped to the player. */
.bmga-course {
  --ga-bg: var(--bm-black, #080d0b);
  --ga-panel: var(--bm-panel, #10231c);
  --ga-green: var(--bm-green, #103329);
  --ga-gold: var(--bm-gold, #c77b24);
  --ga-gold-light: var(--bm-gold-2, #e1a44b);
  --ga-text: var(--bm-text, #f6f4ee);
  --ga-muted: #d6dfda;
  --ga-line: #315348;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 80px;
  color: var(--ga-text);
  font: 16px/1.65 Inter, "Segoe UI", Arial, sans-serif;
  overflow-wrap: anywhere;
  color-scheme: dark;
}
.bmga-course *, .bmga-course *::before, .bmga-course *::after { box-sizing: border-box; }
.bmga-course [hidden] { display: none !important; }
.bmga-course a { color: var(--ga-gold-light); text-underline-offset: 4px; }
.bmga-course button, .bmga-course input, .bmga-course textarea, .bmga-course select { font: inherit; }
.bmga-course :is(button,a,input,textarea,select,summary):focus-visible { outline: 3px solid var(--ga-gold-light); outline-offset: 4px; }
.bmga-course :is(h1,h2,h3,h4) { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; color: var(--ga-text); }
.bmga-course h1 { font-size: clamp(2.8rem, 5.2vw, 4.8rem); line-height: 1.04; margin: 0 0 24px; max-width: 1000px; }
.bmga-course h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.12; margin: 0 0 22px; }
.bmga-course h3 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 12px; }
.bmga-course h4 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 8px; }
.bmga-course p { margin: 0 0 18px; color: var(--ga-muted); }
.bmga-course li { color: var(--ga-muted); margin-bottom: 8px; }
.bmga-course ul, .bmga-course ol { padding-left: 24px; margin: 12px 0 22px; }
.bmga-intro { padding-bottom: 42px; border-bottom: 1px solid var(--ga-line); margin-bottom: 36px; }
.bmga-intro > p:last-child { max-width: 780px; margin-bottom: 0; font-size: 17px; }
.bmga-intro-grid { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 36px; }
.bmga-intro-copy h1 { font-size: clamp(2.5rem, 3.9vw, 3.6rem); }
.bmga-cover { margin: 0; overflow: hidden; border: 1px solid var(--ga-line); border-radius: 7px; background: #10231c; }
.bmga-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.bmga-cover figcaption { padding: 17px 20px; font-size: 12px; color: #d6dfda; }
.bmga-start-actions { margin-top: 22px; }
.bmga-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; margin-bottom: 24px; color: #a9bab2; }
.bmga-breadcrumb a { text-decoration: none; }
.bmga-eyebrow, .bmga-course .bmga-eyebrow { color: var(--ga-gold-light); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; margin: 0 0 17px; }
.bmga-lead { max-width: 760px; color: var(--ga-muted); font-size: 17px; }
.bmga-workspace { display: grid; grid-template-columns: 272px minmax(0,1fr); gap: 28px; align-items: start; }
.bmga-nav { position: sticky; top: 106px; padding: 24px 18px 18px; background: linear-gradient(145deg, #10231c, #08110e); border: 1px solid var(--ga-line); border-radius: 7px; max-height: calc(100vh - 132px); overflow: auto; scrollbar-width: thin; scrollbar-color: #426454 transparent; }
.bmga-nav > h2, .bmga-nav > h3 { font-size: 22px; margin: 0 8px 12px; }
.bmga-nav > p { margin: 0 8px 12px; font-size: 12px; }
.bmga-nav button { display: block; width: 100%; padding: 12px 10px; text-align: left; color: var(--ga-muted); background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font: 500 13px/1.45 Inter, "Segoe UI", Arial, sans-serif; margin: 3px 0; }
.bmga-nav button:hover { background: #17493b60; color: var(--ga-text); }
.bmga-nav button[aria-current], .bmga-nav button.is-active, .bmga-nav button.active { background: #163a2e; color: var(--ga-text); border-color: #406551; border-left: 3px solid var(--ga-gold-light); padding-left: 8px; }
.bmga-nav button:disabled { cursor: default; opacity: .58; }
.bmga-nav button small, .bmga-nav button span.bmga-module-label { display: block; color: #a9bab2; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 3px; }
.bmga-nav button.bmga-complete::after { content: " ✓"; color: var(--ga-gold-light); }
.bmga-progress { margin: 15px 8px 22px; }
.bmga-course progress { display: block; width: 100%; height: 5px; border: 0; background: #26483d; accent-color: var(--ga-gold-light); border-radius: 10px; overflow: hidden; margin: 10px 0 8px; }
.bmga-course progress::-webkit-progress-bar { background: #26483d; }
.bmga-course progress::-webkit-progress-value { background: var(--ga-gold-light); }
.bmga-course progress::-moz-progress-bar { background: var(--ga-gold-light); }
.bmga-progress-label { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: #a9bab2; }
.bmga-lesson { min-width: 0; padding: 36px; background: linear-gradient(145deg, #10231c, #08110e); border: 1px solid var(--ga-line); border-radius: 7px; scroll-margin-top: 108px; }
.bmga-lesson > :is(p,ul,ol), .bmga-section { max-width: 75ch; }
.bmga-lesson > h2 { padding-bottom: 24px; border-bottom: 1px solid var(--ga-line); }
.bmga-section { margin: 30px 0; }
.bmga-section p:last-child { margin-bottom: 0; }
.bmga-callout { padding: 23px 25px; border: 1px solid var(--ga-line); border-left: 3px solid var(--ga-gold-light); border-radius: 0 7px 7px 0; background: #0b1c16; margin: 28px 0; color: var(--ga-muted); }
.bmga-callout h3 { font-size: 22px; }
.bmga-callout p:last-child, .bmga-callout ul:last-child { margin-bottom: 0; }
.bmga-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--ga-line); }
.bmga-course .bmga-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 19px; border: 1px solid var(--ga-gold); border-radius: 4px; background: var(--ga-gold); color: #150d04; text-decoration: none; font: 800 12px/1.35 Inter, "Segoe UI", Arial, sans-serif; cursor: pointer; transition: background-color .15s; }
.bmga-course .bmga-btn:hover { background: var(--ga-gold-light); }
.bmga-course .bmga-btn-secondary { background: transparent; color: var(--ga-text); border-color: #5c7167; }
.bmga-course .bmga-btn-secondary:hover { background: #17493b; }
.bmga-course .bmga-btn:disabled { opacity: .5; cursor: not-allowed; }
.bmga-quiz { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--ga-line); }
.bmga-quiz fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.bmga-quiz legend { padding: 0; margin-bottom: 16px; font-weight: 600; color: var(--ga-text); line-height: 1.55; }
.bmga-option { display: flex; align-items: start; gap: 12px; padding: 15px 17px; background: #091810; border: 1px solid #315348; border-radius: 4px; margin: 9px 0; cursor: pointer; font-size: 14px; color: var(--ga-muted); }
.bmga-option:hover { background: #143426; border-color: #668273; }
.bmga-option:has(input:checked) { background: #19382c; border-color: var(--ga-gold-light); color: var(--ga-text); }
.bmga-option input { width: 17px; height: 17px; margin: 3px 0 0; flex: 0 0 17px; accent-color: var(--ga-gold-light); }
.bmga-feedback { padding: 19px 21px; border: 1px solid #6d8b75; border-radius: 4px; margin: 18px 0; background: #143527; color: var(--ga-text); }
.bmga-feedback:empty { display: none; }
.bmga-feedback.is-error, .bmga-feedback.bmga-incorrect, .bmga-feedback[data-status="incorrect"] { border-color: #b9855c; background: #36281d; }
.bmga-feedback p:last-child { margin-bottom: 0; }
.bmga-resources { padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--ga-line); font-size: 13px; }
.bmga-resources h3 { font-size: 23px; }
.bmga-resources a { overflow-wrap: anywhere; }
.bmga-resources li { margin-bottom: 12px; }
.bmga-course textarea, .bmga-course input[type=text], .bmga-course input[type=email], .bmga-course select { width: 100%; border: 1px solid #38594d; background: #08120f; color: var(--ga-text); border-radius: 4px; padding: 12px; }
.bmga-course textarea { resize: vertical; min-height: 160px; }
.bmga-course label:not(.bmga-option) { display: block; margin-bottom: 8px; font-size: 14px; }
.bmga-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 16px 0 0; color: #a9bab2; font-size: 12px; }
.bmga-note { color: #a9bab2; font-size: 12px; }
.bmga-course table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bmga-course th, .bmga-course td { border: 1px solid var(--ga-line); padding: 12px; vertical-align: top; text-align: left; }
.bmga-course th { background: #173a2c; }
.bmga-course details { border: 1px solid var(--ga-line); border-radius: 4px; padding: 16px 20px; margin: 14px 0; }
.bmga-course summary { cursor: pointer; font-weight: 600; }
.bmga-workflow, .bmga-explorer, .bmga-activity { margin: 30px 0; padding: 25px; border: 1px solid var(--ga-line); border-radius: 7px; background: #091810; }
.bmga-workflow-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.bmga-workflow-steps button { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 133px; text-align: left; border: 1px solid #315348; border-radius: 5px; background: #10231c; color: var(--ga-muted); padding: 16px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.bmga-workflow-steps button + button::before { content: ''; position: absolute; top: 33px; left: -13px; width: 12px; height: 1px; background: #8e7345; }
.bmga-course .bmga-step-number { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #59725a; border-radius: 50%; color: var(--ga-gold-light); font-size: 11px; letter-spacing: .06em; }
.bmga-workflow-steps button[aria-pressed=true] { border-color: var(--ga-gold-light); background: #1a3b2e; color: #f6f4ee; }
.bmga-workflow-steps button[aria-pressed=true] .bmga-step-number { background: var(--ga-gold-light); color: #150d04; border-color: var(--ga-gold-light); }
.bmga-workflow-detail { padding: 20px; background: #10271d; border-left: 2px solid var(--ga-gold-light); border-radius: 0 4px 4px 0; font-size: 14px; }
.bmga-workflow-detail strong { display: block; color: #f6f4ee; margin-bottom: 9px; }
.bmga-workflow-detail p:last-child { margin: 0; }
.bmga-property-picture { position: relative; border-radius: 5px; overflow: hidden; margin: 20px 0; }
.bmga-property-picture img { display: block; width: 100%; height: auto; }
.bmga-property-picture .bmga-hotspot { position: absolute; transform: translate(-50%,-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid #fff4cc; border-radius: 50%; box-shadow: 0 2px 12px #0006; background: #103329; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.bmga-property-picture .bmga-hotspot[aria-pressed=true] { background: #e1a44b; color: #150d04; outline: 3px solid #173c2db3; }
.bmga-explorer-key { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.bmga-explorer-key button { min-height: 44px; text-align: left; background: transparent; color: #d6dfda; border: 1px solid #315348; border-radius: 4px; padding: 10px 12px; font-size: 12px; cursor: pointer; }
.bmga-explorer-key button[aria-pressed=true] { color: #e1a44b; border-color: #b27b35; }
.bmga-activity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.bmga-activity fieldset { min-width: 0; border: 0; padding: 0; margin: 20px 0; }
.bmga-activity legend { padding: 0; margin-bottom: 12px; font-size: 14px; color: #f6f4ee; }
.bmga-activity .bmga-activity-grid > .bmga-feedback, .bmga-activity .bmga-activity-grid > p { grid-column: 1 / -1; }
.bmga-activity .bmga-activity-grid > div:has(input[type=checkbox]) { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #315348; padding: 14px; border-radius: 4px; }
.bmga-activity .bmga-activity-grid > div > input[type=checkbox] { flex: 0 0 18px; margin: 5px 0 0; }
.bmga-activity .bmga-activity-grid > div > input[type=checkbox] + label { margin: 0; padding: 0; cursor: pointer; }
.bmga-activity > .bmga-btn { margin: 8px 8px 0 0; }
.bmga-activity .bmga-practice-choice { display: block; width: 100%; min-height: 46px; padding: 14px 16px; margin: 8px 0; text-align: left; border: 1px solid #315348; border-radius: 4px; background: #10231c; color: #d6dfda; cursor: pointer; font-size: 14px; line-height: 1.6; }
.bmga-activity .bmga-practice-choice:hover { background: #193b2d; border-color: #8e7345; }
.bmga-activity .bmga-practice-choice[aria-pressed=true], .bmga-activity .is-selected { border-color: var(--ga-gold-light); background: #193b2d; }
.bmga-activity .bmga-step-list { list-style: none; padding: 0; }
.bmga-activity .bmga-step-list li { border: 1px solid #315348; border-radius: 4px; padding: 16px; background: #10231c; }
.bmga-activity .bmga-step-list .bmga-btn { min-height: 36px; padding: 8px 12px; font-size: 11px; margin: 8px 6px 0 0; }
.bmga-activity label { padding: 8px 0; color: #d6dfda; }
.bmga-activity input[type=checkbox] { accent-color: #e1a44b; width: 18px; height: 18px; margin-right: 10px; vertical-align: middle; }
.bmga-activity input[type=number] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #537360; border-radius: 4px; background: #07110c; color: #f6f4ee; }
.bmga-activity output, .bmga-tag { display: block; padding: 15px; color: #e1a44b; background: #173a2c; border-radius: 4px; margin: 14px 0; }
.bmga-course .bmga-certificate { max-width: min(780px, calc(100% - 30px)); padding: 42px; background: #10231c; color: #f6f4ee; border: 1px solid #e1a44b; border-radius: 7px; }
.bmga-course .bmga-certificate::backdrop { background: #000b; }
.bmga-course details[open] summary { margin-bottom: 16px; }
.bmga-course blockquote { margin: 20px 0; padding-left: 22px; border-left: 2px solid var(--ga-gold-light); color: var(--ga-muted); }
@media(max-width:960px) {
  .bmga-intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .bmga-intro-copy h1 { max-width: 800px; }
  .bmga-cover { max-width: 700px; }
  .bmga-workspace { grid-template-columns: 230px minmax(0,1fr); gap: 20px; }
  .bmga-lesson { padding: 26px; }
  .bmga-nav { padding: 20px 12px 14px; }
}
@media(max-width:760px) {
  .bmga-workspace { grid-template-columns: 1fr; }
  .bmga-nav { position: static; max-height: none; }
  .bmga-nav button { min-height: 44px; }
  .bmga-nav .bmga-module-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
  .bmga-lesson { scroll-margin-top: 105px; }
}
@media(max-width:620px) {
  .bmga-property-picture .bmga-hotspot:first-of-type { left: 44% !important; top: 14% !important; }
  .bmga-workflow, .bmga-explorer, .bmga-activity { padding: 18px 14px; }
  .bmga-workflow-steps { grid-template-columns: 1fr; gap: 8px; }
  .bmga-workflow-steps button { flex-direction: row; align-items: center; min-height: 66px; gap: 14px; }
  .bmga-workflow-steps .bmga-step-number { flex: 0 0 32px; }
  .bmga-workflow-steps button + button::before { display: none; }
  .bmga-activity-grid, .bmga-explorer-key { grid-template-columns: 1fr; }
  .bmga-workflow-detail { padding: 16px; }
  .bmga-course { width: calc(100% - 30px); padding: 40px 0 54px; font-size: 15px; }
  .bmga-intro { padding-bottom: 30px; margin-bottom: 24px; }
  .bmga-course h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .bmga-lesson { padding: 23px 20px; }
  .bmga-callout { padding: 20px 18px; }
  .bmga-actions { align-items: stretch; }
  .bmga-actions .bmga-btn { flex: 1 1 150px; }
  .bmga-nav .bmga-module-list { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) { .bmga-course * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  .bmga-hotspot, .bmga-explorer-key { display: none !important; }
  body:has(.bmga-certificate[open]) * { visibility: hidden; }
  body .bmga-certificate[open], body .bmga-certificate[open] * { visibility: visible; }
  body .bmga-certificate[open] { position: absolute; top: 0; left: 0; margin: 0; width: 100%; max-width: none; background: #fff; color: #111; border: 2px solid #555; }
  .bmga-nav, .bmga-actions, .bmga-quiz, .bmga-breadcrumb { display: none !important; }
  .bmga-course { width: 100%; padding: 0; color: #111; }
  .bmga-workspace { display: block; }
  .bmga-lesson { border: 0; padding: 0; background: white; }
  .bmga-course :is(h1,h2,h3,h4,p,li,a) { color: #111; }
  .bmga-callout { background: white; break-inside: avoid; }
}
