/* V80 — Lesson Plan Template Gallery. Recreates the visual languages of the supplied reference templates without embedding images. */
.pes-template-gallery{margin:0 0 14px;padding:12px;border:1px solid #d9e0e6;border-radius:16px;background:linear-gradient(135deg,#ffffff,#f6f8fa);box-shadow:0 8px 24px rgba(20,40,60,.07)}
.pes-template-gallery-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:10px}.pes-template-gallery-head>div:first-child span{display:block;font:900 8px/1.2 Arial,sans-serif;letter-spacing:.16em;color:#a07827}.pes-template-gallery-head>div:first-child b{display:block;font:700 20px/1.2 Georgia,serif;color:#172f45;margin-top:3px}.pes-template-gallery-head>div:first-child small{display:block;color:#71808c;font-size:9px;margin-top:4px}.pes-template-credit{font:800 9px Arial,sans-serif;color:#173e5f;white-space:nowrap}.pes-template-credit:first-letter{color:#c69c3b}.pes-template-credit em{font-style:normal}
.pes-template-choices{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px}.pes-template-choice{border:1px solid #dce3e8;background:#fff;border-radius:12px;padding:8px;text-align:left;cursor:pointer;display:flex;gap:8px;align-items:center;min-height:58px;transition:.16s}.pes-template-choice i{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#eef2f5;color:#173e5f;font-style:normal;font-size:16px;flex:none}.pes-template-choice span{min-width:0}.pes-template-choice b{display:block;font-size:9px;color:#25394b}.pes-template-choice small{display:block;font-size:7px;line-height:1.3;color:#7c8993;margin-top:3px}.pes-template-choice:hover{transform:translateY(-1px);box-shadow:0 6px 15px rgba(20,40,60,.08)}.pes-template-choice.active{border:2px solid #c9a34b;background:#fffaf0;box-shadow:0 7px 18px rgba(201,163,75,.16)}.pes-template-choice.active i{background:#e8c96f;color:#182d43}
/* Shared polish */
#v44-sheet .p45-reference[data-lesson-design]{transition:all .18s ease}.p45-reference .ref-brand{position:relative}.p45-reference .ref-brand:after{content:'LESSON PLAN';font:800 7px/1 Arial,sans-serif;letter-spacing:.18em;opacity:.65;margin-left:10px}
/* 1 — supplied colourful-card language */
.lesson-design-pastel{border:2px solid #2f9fc3!important;border-radius:12px!important;box-shadow:0 10px 30px rgba(42,119,150,.12)!important;overflow:hidden}.lesson-design-pastel .ref-brand{background:linear-gradient(90deg,#174a83,#2f79b8)!important}.lesson-design-pastel .ref-school{background:#dff4f8!important}.lesson-design-pastel .ref-teacher{background:#f3e7ff!important}.lesson-design-pastel .ref-cell,.lesson-design-pastel .ref-wide{border-color:#8bb5c5!important}.lesson-design-pastel .ref-cell:nth-child(odd){background:#fff5dc}.lesson-design-pastel .ref-grid-2 .ref-cell:first-child{background:#e9f7ff}.lesson-design-pastel .ref-grid-2 .ref-cell:last-child{background:#f5eaff}.lesson-design-pastel .ref-main-table th{background:#5a55ad!important;border-color:#fff!important}.lesson-design-pastel .ref-main-table tbody tr:nth-child(odd) td{background:#edf9fc!important}.lesson-design-pastel .ref-stage{background:#ffe4ef!important;color:#174a83!important}.lesson-design-pastel .ref-reflection-title{background:#f8d66b!important}.lesson-design-pastel .ref-reflection b{background:#e9f5ff!important}
/* 2 — clean academic / page 3 language */
.lesson-design-academic{border:1px solid #233d62!important;border-radius:0!important;box-shadow:none!important;font-family:Georgia,'Times New Roman',serif!important}.lesson-design-academic .ref-brand{background:#233d62!important}.lesson-design-academic .ref-top,.lesson-design-academic .ref-grid,.lesson-design-academic .ref-wide{border-color:#68788d!important}.lesson-design-academic .ref-school,.lesson-design-academic .ref-teacher,.lesson-design-academic .ref-cell,.lesson-design-academic .ref-wide{background:#fff!important}.lesson-design-academic .ref-main-table th{background:#233d62!important;border-color:#233d62!important;font-size:10px!important}.lesson-design-academic .ref-main-table td{border-color:#718095!important;padding:7px 8px!important}.lesson-design-academic .ref-stage{background:#f2f4f7!important;color:#172b47!important;font-size:12px!important}.lesson-design-academic .ref-reflection-title{background:#dbe4f1!important;color:#233d62!important}.lesson-design-academic .ref-reflection b{background:#eef2f7!important}
/* 3 — British heritage / page 4 language, CSS only */
.lesson-design-heritage{border:2px solid #263b58!important;border-radius:0!important;background:#f8f5ee!important;box-shadow:0 8px 28px rgba(28,43,64,.14)!important}.lesson-design-heritage .ref-brand{background:linear-gradient(90deg,#182d4a 0 43%,#b42132 43% 48%,#f5f1e8 48% 52%,#183e6c 52%)!important}.lesson-design-heritage .ref-school,.lesson-design-heritage .ref-teacher{background:rgba(255,255,255,.82)!important}.lesson-design-heritage .ref-grid,.lesson-design-heritage .ref-top,.lesson-design-heritage .ref-wide{border-color:#43556d!important}.lesson-design-heritage .ref-cell,.lesson-design-heritage .ref-wide{background:rgba(255,255,255,.72)!important}.lesson-design-heritage .ref-main-table th{background:#243d62!important;border-color:#243d62!important}.lesson-design-heritage .ref-main-table td{border-color:#5d6d80!important;background:rgba(255,255,255,.82)!important}.lesson-design-heritage .ref-stage{background:#e9edf3!important;color:#243d62!important}.lesson-design-heritage .ref-reflection-title{background:#d7b45b!important;color:#23364e!important}
/* 4 — soft elegant / page 5 language */
.lesson-design-elegant{border:0!important;border-radius:0!important;background:#fffdf9!important;box-shadow:none!important;font-family:Georgia,'Times New Roman',serif!important}.lesson-design-elegant .ref-brand{background:linear-gradient(90deg,#f1dfc9,#f7e8d9,#f1dfc9)!important;color:#5e4264!important;border-bottom:2px solid #b98f9d!important}.lesson-design-elegant .ref-brand span{color:#5e4264}.lesson-design-elegant .ref-brand b{color:#85556d!important}.lesson-design-elegant .ref-top{border:0;gap:8px;padding:8px;background:#fffdf9}.lesson-design-elegant .ref-school,.lesson-design-elegant .ref-teacher{border:1px solid #cba89b!important;border-radius:30px!important;background:#f7e8d9!important;color:#5b3e55!important;min-height:30px!important}.lesson-design-elegant .ref-grid,.lesson-design-elegant .ref-wide{border:0!important;background:transparent!important;padding:5px 8px}.lesson-design-elegant .ref-cell,.lesson-design-elegant .ref-wide{border:1px solid #d7b39f!important;border-radius:24px!important;background:#fff3e7!important;margin:4px;padding:7px 12px!important}.lesson-design-elegant .ref-main-table{border-collapse:separate;border-spacing:0 4px!important;padding:4px 8px}.lesson-design-elegant .ref-main-table th{background:#f0dfcf!important;color:#5b3e55!important;border:1px solid #caa796!important}.lesson-design-elegant .ref-main-table td{border:1px solid #d8b7a8!important;background:#fffaf4!important}.lesson-design-elegant .ref-stage{background:#f5dfed!important;color:#75445f!important}.lesson-design-elegant .ref-reflection-title{background:#efd9cb!important;color:#65435b!important;border-radius:22px!important;margin:7px 8px 0}.lesson-design-elegant .ref-reflection{margin:0 8px}.lesson-design-elegant .ref-reflection>div{border:1px solid #d7b39f!important;background:#fff7ee}.lesson-design-elegant .ref-reflection b{background:#f6e6d9!important;color:#65435b!important}
/* 5 — official grid / page 6 language */
.lesson-design-official{border:1px solid #303030!important;border-radius:0!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif!important}.lesson-design-official .ref-brand{background:#ffffff!important;color:#111!important;border-bottom:2px solid #1e3555!important}.lesson-design-official .ref-brand span{color:#1e3555!important}.lesson-design-official .ref-brand b{color:#111!important}.lesson-design-official .ref-top,.lesson-design-official .ref-grid,.lesson-design-official .ref-wide{border-color:#444!important}.lesson-design-official .ref-school,.lesson-design-official .ref-teacher,.lesson-design-official .ref-cell,.lesson-design-official .ref-wide{background:#fff!important}.lesson-design-official .ref-grid b,.lesson-design-official .ref-wide b{color:#111!important}.lesson-design-official .ref-main-table th{background:#dfe7f1!important;color:#142d4c!important;border-color:#333!important;font-size:10px!important}.lesson-design-official .ref-main-table td{border-color:#333!important;background:#fff!important;padding:7px!important}.lesson-design-official .ref-stage{background:#f0f0f0!important;color:#142d4c!important;font-size:11px!important}.lesson-design-official .ref-reflection-title{background:#dfe7f1!important;color:#142d4c!important}.lesson-design-official .ref-reflection b{background:#f1f3f5!important;color:#142d4c!important}
/* 6 — compact professional */
.lesson-design-compact{border:2px solid #263e54!important;border-radius:6px!important;box-shadow:none!important;font-size:10px!important}.lesson-design-compact .ref-brand{padding:5px 10px!important;background:#263e54!important}.lesson-design-compact .ref-top .ref-school,.lesson-design-compact .ref-top .ref-teacher{min-height:32px!important;padding:6px 9px!important}.lesson-design-compact .ref-cell{min-height:34px!important;padding:6px 8px!important}.lesson-design-compact .ref-wide{min-height:38px!important;padding:7px 8px!important}.lesson-design-compact .ref-main-table th{padding:5px!important;font-size:9px!important}.lesson-design-compact .ref-main-table td{padding:6px!important;font-size:9px!important}.lesson-design-compact .ref-stage{font-size:11px!important}.lesson-design-compact .ref-reflection-title{padding:5px!important;font-size:11px!important}.lesson-design-compact .ref-reflection>div{min-height:54px!important}
@media(max-width:1050px){.pes-template-choices{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.pes-template-gallery-head{align-items:flex-start;flex-direction:column}.pes-template-credit{display:none}.pes-template-choices{display:flex;overflow-x:auto;flex-wrap:nowrap}.pes-template-choice{min-width:175px;flex:none}.pes-template-gallery{border-radius:12px}.pes-template-gallery-head>div:first-child b{font-size:17px}}
@media print{.pes-template-gallery{display:none!important}}
