/* The Chromozone primary lessons (Cambridge Primary, Years 5 and 6). Laura, 9 Nov 2026: "less words, more pictures,
   make sure it is fun and kid friendly as well as teaching". Colours keep their house meaning (blue key words, green
   tasks); this file only makes the type bigger and adds the mission banner, the chips and picture pairs. */
.lp--primary .lb p, .lp--primary .lb li, .lp--primary .kw dd { font-size: 1.12rem; line-height: 1.55; }
.lp--primary .lb h2 { font-size: 1.5rem; }
.lp--primary .lb p.pm-big { font-size: 1.35rem; font-weight: 600; line-height: 1.35; }

.lb.pm-mission { background: linear-gradient(135deg, #fff6d8, #e6f4ff); border-left-color: #f2b705; text-align: center; }
.lp--primary .lb.pm-mission p.pm-q { font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2.3rem); line-height: 1.2; color: var(--ink); margin: 8px 0 14px; }
.pm-mission .fig { background: transparent; border: 0; padding: 0; }
.lb.pm-mission ul.pm-goals { list-style: none; padding: 0; margin: 12px auto 0; display: inline-grid; gap: 4px; text-align: left; }
.lb.pm-mission ul.pm-goals li::before { content: "\2B50\00A0"; }

.lb .pm-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 12px 0 0; }
.lb .pm-chips li { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 1rem; }

/* Two pictures side by side on a tablet or bigger, one under the other on a phone */
.lp--primary .lb > .fig:has(+ .fig), .lp--primary .lb > .fig + .fig { display: inline-block; vertical-align: top; width: calc(50% - 10px); }
.lp--primary .lb > .fig:has(+ .fig) { margin-right: 16px; }
@media (max-width: 560px) {
  .lp--primary .lb > .fig:has(+ .fig), .lp--primary .lb > .fig + .fig { display: block; width: 100%; margin-right: auto; }
}

/* The numbered steps of an investigation */
.lb .pm-steps { counter-reset: s; list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.lb .pm-steps li { counter-increment: s; position: relative; padding-left: 44px; min-height: 34px; }
.lb .pm-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; }

/* The teacher's guide: what to say */
.pm-say { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; padding: 8px 12px; margin: 6px 0; }

.pm-record { width: 100%; border-collapse: collapse; margin-top: 10px; background: #fff; }
.pm-record th, .pm-record td { border: 1px solid #9fb3ac; padding: 8px; vertical-align: top; text-align: left; font-size: 1rem; }
.pm-record td { height: 110px; }

/* Sorting-game cards (Laura, 10 Nov 2026: "other interesting activities for kids") */
.lb ul.pm-cards, .lt-slide ul.pm-cards { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.lb ul.pm-cards li, .lt-slide ul.pm-cards li { background: #fff; border: 2px dashed #9fb3ac; border-radius: 12px; padding: 10px 8px; text-align: center; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.pm-cards .pm-emoji { display: block; font-size: 2.4rem; line-height: 1.2; margin-bottom: 4px; }

/* Diagnostic question options: big letters */
.lb ol.pm-abc { display: grid; gap: 8px; padding-left: 0; list-style: none; counter-reset: abc; }
.lb ol.pm-abc li { counter-increment: abc; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 8px 12px 8px 50px; position: relative; }
.lb ol.pm-abc li::before { content: counter(abc, upper-alpha); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; }

/* A grid of numbered photos for picture quizzes */
.lp--primary .lb .pm-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 12px; }
.lp--primary .lb .pm-pics .fig { margin: 0; max-width: none; }
.lp--primary .lb .pm-pics img { width: 100%; height: 190px; object-fit: contain; }
/* Picture cards on the projector slides: bigger, so the class can read them from the back (Mary, 18 Nov 2026). */
.lt-slide ul.pm-cards { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.lt-slide ul.pm-cards li { font-size: 1.35rem; padding: 14px 10px; }
.lt-slide .pm-cards .pm-emoji { font-size: 3.4rem; }
