/* MLO shared styles: rwe-special-hub
   Used by 3 pages (index). Moved out of the pages on 2026-11-07,
   identical in every copy, so one edit here changes them all. */
  /* Real-World English special: one class, same run-sheet shape as a unit lesson.
     ?lesson=N opens one class. RWE's shared pages are linked with ?u=<unit>&lesson=N
     (rwe-lesson.js narrows them); MLO drop-in pages in this folder use ?group=N. */
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { padding: var(--s-5) var(--s-5) var(--s-7); position: relative; min-height: 100vh; }
  .container { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; }

  .breadcrumb { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-5); font-size: var(--fs-sm); color: var(--text-dim); font-weight: 500; letter-spacing: 0.04em; flex-wrap: wrap; }
  .breadcrumb a { color: rgba(254,246,228,0.7); text-decoration: none; transition: color var(--dur-fast); }
  .breadcrumb a:hover { color: var(--gold); }
  .breadcrumb .sep { opacity: 0.4; }

  .hero { margin-bottom: var(--s-5); }
  .hero-num { font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-2); }
  .hero-title { font-size: var(--fs-h1); font-weight: 800; line-height: 1; }
  .hero-title em { color: var(--pink-soft); font-style: italic; }
  .hero-desc { font-size: var(--fs-body); color: var(--text-dim); margin-top: var(--s-3); max-width: 760px; line-height: 1.6; }
  .hero-desc em { color: var(--cream); font-style: italic; }

  .objectives { background: var(--surface-warm); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); margin-bottom: var(--s-6); }
  .objectives-title { font-weight: 800; font-size: 20px; color: var(--gold); margin-bottom: var(--s-3); }
  .objectives-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); font-size: 17px; color: rgba(254,246,228,0.85); line-height: 1.5; }
  .objective-block strong { display: block; color: var(--cream); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
  .objective-block code { display: inline-block; background: rgba(244,200,66,0.12); padding: 1px 6px; border-radius: 4px; color: var(--gold-bright); font-size: 13px; font-weight: 600; margin: 2px 0; }
  .objective-block em { color: var(--pink-soft); }

  .act-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s-3); }
  .act { padding: var(--s-4); text-decoration: none; color: var(--text); display: flex; align-items: center; gap: var(--s-4); }
  .act-ico { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 30px; background: rgba(244,200,66,0.15); border: 1.5px solid rgba(244,200,66,0.4); color: var(--gold); }
  .act-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .act-kind { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
  .act-name { font-size: 22px; font-weight: 700; line-height: 1.25; }
  .act-name em { color: var(--pink-soft); font-style: italic; }
  .act-meta { font-size: 16px; color: var(--text-dim); line-height: 1.4; }
  .act-arrow { flex: 0 0 auto; font-size: 20px; font-weight: 700; color: var(--gold); opacity: 0.7; }
  .act:hover .act-arrow { opacity: 1; }
  .g-learn .act-ico { background: rgba(244,200,66,0.15); border-color: rgba(244,200,66,0.4); color: var(--gold); }
  .g-play  .act-ico { background: rgba(180,85,255,0.16); border-color: rgba(180,85,255,0.45); color: var(--magenta); }
  .g-play  .act-kind, .g-play .act-arrow { color: var(--magenta); }
  .g-speak .act-ico { background: rgba(196,74,106,0.16); border-color: rgba(196,74,106,0.45); color: var(--pink-soft); }
  .g-speak .act-kind, .g-speak .act-arrow { color: var(--pink-soft); }
  .g-check .act-ico { background: rgba(126,224,168,0.14); border-color: rgba(126,224,168,0.45); color: #7ee0a8; }
  .g-check .act-kind, .g-check .act-arrow { color: #7ee0a8; }
  .g-print .act-ico { background: rgba(110,140,230,0.16); border-color: rgba(110,140,230,0.45); color: var(--blue); }
  .g-print .act-kind, .g-print .act-arrow { color: var(--blue); }

  .footer { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-faint); letter-spacing: 0.05em; }

  .lesson-pick-head { font-weight: 800; font-size: var(--fs-h2); margin: var(--s-6) 0 var(--s-3); }
  .lesson-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
  @media (max-width: 760px) { .lesson-pick { grid-template-columns: 1fr; } }
  .lesson-btn { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5); text-decoration: none; color: var(--text); }
  .lesson-btn-n { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 28px; background: rgba(244,200,66,0.15); border: 1.5px solid rgba(244,200,66,0.4); color: var(--gold); }
  .lesson-btn-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .lesson-btn-kind { font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold); }
  .lesson-btn-title { font-size: 26px; font-weight: 800; line-height: 1.15; }
  .lesson-btn-blurb { font-size: 16px; color: var(--text-dim); line-height: 1.4; }
  .lesson-btn-tags { font-size: 13px; color: var(--text-faint); margin-top: 2px; }
  .lesson-btn-meta { flex: 0 0 auto; text-align: right; font-size: 14px; font-weight: 700; color: var(--text-faint); line-height: 1.5; }

  .lv-switch { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; margin: var(--s-4) 0 var(--s-2); }
  .lv-switch span { font-weight: 800; font-size: 15px; color: var(--text-dim); margin-right: 4px; }
  .lv-switch a { padding: 8px 18px; border-radius: 100px; font-weight: 800; font-size: 16px; text-decoration: none; color: var(--cream); background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.25); }
  .lv-switch a.on { background: var(--gold); color: #2d1a5c; border-color: var(--gold); }
  .run-lv { margin: var(--s-2) 0 0 var(--s-5); padding-left: var(--s-3); border-left: 3px solid var(--gold); font-size: 17px; line-height: 1.5; color: var(--gold-bright); display: grid; gap: 4px; }
  .run-lv q { color: var(--pink-soft); font-style: italic; }
  .lesson-back { display: inline-block; margin: var(--s-6) 0 var(--s-2); font-size: var(--fs-sm); font-weight: 700; color: var(--text-dim); text-decoration: none; }
  .lesson-back:hover { color: var(--gold); }
  .lesson-head { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-4); align-items: center; margin: var(--s-2) 0 var(--s-3); }
  .lesson-n { grid-row: span 2; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 32px; background: rgba(244,200,66,0.15); border: 1.5px solid rgba(244,200,66,0.4); color: var(--gold); }
  .lesson-t { font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; }
  .lesson-t em { color: var(--pink-soft); font-style: italic; }
  .lesson-b { font-size: 17px; color: var(--text-dim); }
  .sub-head { font-weight: 800; font-size: 18px; color: var(--cream); }
  .bucket { display: grid; grid-template-columns: minmax(110px, 150px) 1fr; gap: var(--s-4); align-items: start; margin-bottom: var(--s-4); }
  .bucket .sub-head { margin: var(--s-3) 0 0; }
  .bucket .act-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 520px)); justify-content: start; }
  .lesson-nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1.5px solid var(--border); flex-wrap: wrap; }
  .lesson-step { font-size: 16px; font-weight: 700; color: var(--text-dim); text-decoration: none; padding: var(--s-2) 0; }
  .lesson-step:hover { color: var(--gold); }
  .lesson-step.next { margin-left: auto; text-align: right; }

  /* The lesson page IS the class plan: goal, prep list, then numbered steps.
     Each step links the screen or printable it uses. */
  .goal { background: rgba(244,200,66,0.10); border: 1.5px solid rgba(244,200,66,0.45); border-radius: var(--r-lg); padding: var(--s-4) var(--s-5); margin: var(--s-4) 0; font-size: 19px; line-height: 1.5; }
  .goal b { color: var(--gold); }
  .goal-meta { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--text-dim); }
  .prep { background: rgba(0,0,0,0.22); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-5); }
  .prep-title { font-weight: 800; font-size: 19px; margin-bottom: var(--s-2); }
  .prep ul { margin-left: var(--s-5); display: grid; gap: 6px; font-size: 17px; line-height: 1.45; }
  .prep a { color: var(--cream); } .prep a:hover { color: var(--gold); }
  .run-title { font-weight: 800; font-size: var(--fs-h2); margin: var(--s-5) 0 var(--s-3); }
  .run { list-style: none; display: grid; gap: var(--s-3); }
  .run-step { display: grid; grid-template-columns: 92px 1fr; gap: var(--s-4); padding: var(--s-4); }
  .run-side { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .run-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 26px; background: rgba(244,200,66,0.15); border: 1.5px solid rgba(244,200,66,0.45); color: var(--gold); }
  .run-min { font-weight: 800; font-size: 17px; color: var(--cream); margin-top: 4px; }
  .run-clock { font-size: 13px; color: var(--text-faint); }
  .run-body { min-width: 0; }
  .run-top { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-2); }
  .run-name { font-weight: 800; font-size: 24px; line-height: 1.2; }
  .run-open { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; font-weight: 800; font-size: 16px; text-decoration: none; background: var(--gold); color: #2d1a5c; }
  .run-open:hover { filter: brightness(1.08); }
  .run-open.is-print { background: rgba(110,140,230,0.25); color: var(--cream); border: 1.5px solid rgba(110,140,230,0.6); }
  .run-open.no-screen { background: rgba(255,255,255,0.08); color: var(--text-dim); border: 1.5px dashed rgba(255,255,255,0.25); }
  .run-do { margin-left: var(--s-5); display: grid; gap: 5px; font-size: 18px; line-height: 1.5; color: rgba(254,246,228,0.92); }
  .run-do q { color: var(--pink-soft); font-style: italic; quotes: '"' '"'; }
  .run-do b { color: var(--cream); }
  .run-two { margin-top: var(--s-2); font-size: 16px; color: #7ee0a8; line-height: 1.45; }
  .run-note { margin: var(--s-3) 0 0; font-size: 16px; color: var(--text-dim); }
  .more { margin-top: var(--s-6); }
  .more > summary { cursor: pointer; font-weight: 800; font-size: 19px; color: var(--gold); margin-bottom: var(--s-4); }
  @media (max-width: 640px) { .run-step { grid-template-columns: 1fr; } .run-side { flex-direction: row; gap: var(--s-3); } .run-min { margin-top: 0; } }
  @media (max-width: 760px) { .bucket { grid-template-columns: 1fr; gap: var(--s-2); } .lesson-btn-meta { display: none; } }
