.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.chapter-tile{display:flex;flex-direction:column;align-items:flex-start;padding:1.4rem;background:#fff;border:1px solid #cadcc6;border-top:4px solid #8cbd66;border-radius:10px;text-decoration:none;color:#213d2c;min-height:205px}.chapter-tile:hover,.lesson-tile:hover,.resource-link:hover{border-color:#739d65;background:#f9fcf6}.chapter-tile:focus-visible,.lesson-tile:focus-visible,.resource-link:focus-visible{outline:3px solid #376e3d;outline-offset:3px}.chapter-code{display:inline-block;font-size:1rem;font-weight:700;color:#315c36;background:#e4f0d8;border-radius:6px;padding:.3rem .6rem;max-width:100%}.chapter-tile h3{font-family:Georgia,serif;font-size:1.5rem;line-height:1.25;margin:1rem 0}.tile-bottom{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto;font-size:.95rem}.tile-bottom>span:last-child{width:100%}.chapter-planned{border-top-color:#bcccb4}.chapter-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.2rem 0 1.5rem;border-bottom:1px solid #c9d7c3;padding-bottom:.7rem}.chapter-tabs a{padding:.6rem .9rem;border-radius:6px;text-decoration:none;color:#315c36}.chapter-tabs [aria-current]{background:#e4efdc;font-weight:650}.compact-lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;list-style:none;padding:0;margin:0 0 2rem;max-width:1040px}.compact-lessons li{margin:0;padding:0;min-width:0}.lesson-tile{display:flex;gap:1rem;align-items:center;border:1px solid #ccdbc5;border-radius:9px;background:#fff;color:#243e2d;text-decoration:none;padding:1.1rem;font-size:1.1rem;line-height:1.35;min-height:78px;height:100%;box-sizing:border-box}.lesson-number{display:flex;align-items:center;justify-content:center;flex:0 0 2rem;font-size:1.05rem;font-weight:700;color:#496340}.lesson-tile.unavailable{color:#6c7469;background:#f5f7f2}.lesson-tile small{display:block;font-size:.875rem;margin-top:.3rem}.chapter-review{max-width:1040px;margin:2rem 0}.chapter-review>summary{cursor:pointer;font-weight:650;padding:.8rem 0}.lesson-picker{margin-bottom:1rem;border:1px solid #cddbc7;border-radius:8px;background:white}.lesson-picker>summary{padding:.85rem;cursor:pointer;font-weight:650}.lesson-picker nav{display:grid;max-height:50vh;overflow:auto;padding:0 .7rem .7rem}.lesson-picker a{font-size:1rem;line-height:1.35;padding:.65rem .3rem;text-decoration:none;border-top:1px solid #e5ece0;color:#314f35}.lesson-picker [aria-current]{font-weight:750}.lesson-heading{max-width:70ch}.lesson-heading .lead{font-size:1.05rem;line-height:1.5}.lesson-deck{padding:1rem;margin:1rem 0;background:#f7f9f4;border:1px solid #cfdec5;border-radius:8px}.lesson-deck h3{font-size:1.2rem}.resource-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:1040px;margin:1.4rem 0}.resource-link{display:flex;flex-direction:column;border:1px solid #ccdbc5;border-radius:10px;padding:1.25rem;background:white;text-decoration:none;color:#243e2d}.resource-link h2{font-size:1.3rem;line-height:1.3;margin:.6rem 0}.resource-link p{font-size:1rem;line-height:1.45;margin:0 0 1rem;max-width:48ch}.resource-meta,.resource-host{font-size:.875rem;color:#5d7056}.resource-host{margin-top:auto;overflow-wrap:anywhere}.directory-intro{max-width:65ch}.programme-domain{margin:2rem 0}@media(max-width:1000px){.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.chapter-grid,.compact-lessons,.resource-directory{grid-template-columns:1fr}.chapter-tile{min-height:175px}.lesson-tile{min-height:64px}.lesson-picker nav{max-height:35vh}}
