:root{
  --navy:#123f63;--blue:#1674a7;--sky:#e9f5fb;--cyan:#45b7cb;--red:#d94b48;--gold:#f3c84a;
  --ink:#19354a;--muted:#667d8b;--paper:#f7f4eb;--white:#fff;--line:#d9e4e9;--pale:#f3f8fa;
  --shadow:0 16px 38px rgba(18,63,99,.09);--radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Cairo",Tahoma,Arial,sans-serif;line-height:1.85}
button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}
.skip-link{position:absolute;top:-60px;right:16px;background:#fff;padding:8px 14px;z-index:30}.skip-link:focus{top:10px}
.topbar{height:76px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,22px);position:sticky;top:0;z-index:20;box-shadow:0 6px 22px #123f6325}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:2px solid var(--gold);color:var(--gold);font-weight:900;font-size:23px;background:#ffffff0d}.brand-name strong,.brand-name small{display:block;line-height:1.35}.brand-name strong{font-size:15px}.brand-name small{font-size:11px;color:#c1d6e2}.topbar-actions{display:flex;align-items:center;gap:18px}.year-pill{font-size:12px;color:#d7e8f0;font-weight:800;letter-spacing:.5px}
.btn{border:0;border-radius:10px;padding:10px 18px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:transform .2s,background .2s,box-shadow .2s}.btn:hover{transform:translateY(-2px)}.btn-paper{background:#f7f0df;color:var(--navy);font-size:12px;padding:8px 15px}.btn-yellow{background:var(--gold);color:#273e4b;box-shadow:0 6px 15px #f3c84a35}.btn-yellow:hover{background:#ffdb64}.btn-glass{background:#ffffff12;border:1px solid #ffffff4a;color:#fff}.btn-blue{background:var(--blue);color:#fff}.btn-blue:hover,.btn-primary:hover{background:#105d87}.btn-primary{background:var(--navy);color:#fff}.btn-small{font-size:12px;padding:8px 14px;border-radius:8px}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}
.hero{min-height:440px;background:linear-gradient(115deg,#103d60,#155f84 60%,#1a7492);color:#fff;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:42px;padding:52px max(7vw,32px) 62px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:530px;height:530px;border:1px solid #ffffff18;border-radius:50%;left:-220px;top:-310px;box-shadow:0 0 0 40px #ffffff08,0 0 0 80px #ffffff05}.hero-copy{position:relative;z-index:1}.hero-ribbon{display:inline-flex;align-items:center;gap:8px;background:#e6ad38;color:#193d54;border-radius:6px 18px 18px 6px;padding:5px 13px 5px 17px;font-size:12px;font-weight:900;box-shadow:0 4px 15px #0002}.ribbon-check{background:#fff;color:#21875e;width:22px;height:22px;border-radius:50%;display:grid;place-items:center}.hero-kicker{font-size:17px;font-weight:900;color:#ffd66b;margin:16px 0 0}.hero h1{font-size:clamp(40px,5.5vw,68px);line-height:1.17;margin:4px 0 13px;font-weight:900;letter-spacing:-1.4px}.hero h1 span{color:#f7d36d}.hero-description{font-size:15px;color:#d4e4ec;max-width:540px;margin:0 0 22px}.hero-buttons{display:flex;flex-wrap:wrap;gap:11px}.teacher-credit{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-top:25px;font-size:12px;color:#c6dae5}.teacher-credit b{color:#ffe18a}.teacher-credit a{color:#ffe18a;text-decoration:none;border-bottom:1px dashed #ffe18a}
.hero-photos{position:relative;height:300px;z-index:1}.hero-photo{position:absolute;margin:0;overflow:hidden;border:5px solid #fff;border-radius:16px;box-shadow:0 18px 40px #001e35a0;background:#dce9ed}.hero-photo img{display:block;width:100%;height:100%;object-fit:cover}.hero-photo figcaption{position:absolute;right:12px;bottom:10px;background:#123f63e8;color:#fff;border-radius:7px;padding:5px 10px;font-size:11px;font-weight:800}.hero-photo-main{width:72%;height:265px;right:5%;top:5px;transform:rotate(-2deg)}.hero-photo-small{width:43%;height:150px;left:0;bottom:0;transform:rotate(4deg);border-color:#ffdc6d}.photo-stamp{position:absolute;left:6%;top:8px;width:82px;height:82px;border-radius:50%;background:var(--red);border:4px solid #fff;color:#fff;display:grid;place-items:center;text-align:center;font-size:12px;font-weight:900;line-height:1.4;transform:rotate(-9deg);box-shadow:0 8px 20px #001e3566}
.stats-grid{max-width:1180px;margin:-25px auto 36px;padding:0 20px;display:grid;grid-template-columns:repeat(4,1fr);gap:13px;position:relative;z-index:2}.stat-card{background:#fff;border:1px solid #dce8ed;border-radius:13px;min-height:90px;padding:14px 17px;display:grid;grid-template-columns:38px auto;grid-template-rows:auto auto;column-gap:11px;align-items:center;box-shadow:var(--shadow)}.stat-icon{grid-row:1/3;width:38px;height:38px;border-radius:11px;background:#eaf5f8;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:900}.stat-card strong{font-size:24px;color:var(--navy);line-height:1.1}.stat-card>span:last-child{font-size:11px;color:var(--muted);font-weight:700}.progress-stat .stat-icon{background:#fff5d9;color:#b8830b}
.term-alert{max-width:1140px;margin:0 auto 36px;padding:15px 18px;display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;background:#fff8e6;border:1px solid #f0d899;border-right:5px solid #e7b43b;border-radius:12px}.alert-icon{width:31px;height:31px;display:grid;place-items:center;background:var(--gold);color:#503f13;border-radius:50%;font-weight:900}.term-alert strong{font-size:13px;color:#654e13}.term-alert p{margin:2px 0 0;color:#796839;font-size:11px;line-height:1.65}.term-alert a{font-size:11px;color:#8b5b16;font-weight:900;text-decoration:none;white-space:nowrap}
.course-shell{max-width:1220px;margin:0 auto 55px;padding:0 20px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:0 0 16px}.eyebrow{margin:0 0 5px;color:var(--red);font-size:11px;font-weight:900;letter-spacing:.3px}.section-heading h2,.final-heading h2{font-size:27px;margin:0;line-height:1.4;color:var(--navy)}.book-stamp{border:2px solid #e4bf4b;background:#fff6d8;color:#86610e;padding:7px 13px;border-radius:8px;font-weight:900;font-size:11px;transform:rotate(-1deg)}
.term-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.term-tab{background:#e8f0f3;border:1px solid #d2e1e7;color:#536b78;border-radius:10px;padding:9px 16px;cursor:pointer;font-weight:900;font-size:12px;text-align:right;min-width:160px}.term-tab small{display:block;font-size:10px;font-weight:600;color:#7e919a}.term-tab.active{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 5px 14px #123f6324}.term-tab.active small{color:#c4dce8}
.workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:17px;align-items:start}.sidebar,.content-panel{background:#fff;border:1px solid #e1e8e7;border-radius:14px;box-shadow:var(--shadow)}.sidebar{position:sticky;top:91px;max-height:calc(100vh - 110px);overflow:auto;padding:18px}.sidebar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.sidebar-head h3{font-size:17px;margin:0;color:var(--navy)}.book-icon{width:40px;height:40px;border-radius:11px;background:#e8f5fa;color:var(--blue);display:grid;place-items:center;font-size:20px}.search-wrap{height:42px;display:flex;align-items:center;gap:8px;border:1px solid #d7e4e9;background:#f9fbfc;border-radius:9px;padding:0 11px;margin-bottom:14px;color:#7e96a1}.search-wrap span{font-size:20px}.search-wrap input{width:100%;border:0;outline:0;background:transparent;font-size:11px;color:var(--ink)}.unit-group{margin:0 0 13px}.unit-title{display:flex;align-items:center;gap:7px;color:var(--navy);font-size:11px;font-weight:900;margin:13px 0 5px}.unit-title>span{background:#f5d46d;color:#574614;border-radius:5px;padding:2px 6px;font-size:10px;white-space:nowrap}.lesson-link{display:flex;align-items:center;gap:8px;width:100%;padding:7px 8px;border:0;background:transparent;text-align:right;cursor:pointer;color:#647b86;border-radius:7px;font-size:11px;line-height:1.55}.lesson-link:hover{background:#f1f7f9;color:var(--navy)}.lesson-link.active{background:#e6f3f8;color:#124e72;font-weight:900}.lesson-dot{display:grid;place-items:center;flex:none;width:18px;height:18px;border-radius:50%;border:1px solid #b5c8d0;background:#fff;color:#79909b;font-size:11px}.lesson-link.active .lesson-dot{border-color:#1e78a6;color:#1e78a6}.sidebar-progress{padding-top:13px;border-top:1px solid #e5ecee;margin-top:12px}.progress-track{height:6px;display:block;background:#edf2f3;border-radius:20px;overflow:hidden;margin-bottom:6px}.progress-track span{height:100%;display:block;width:0;background:linear-gradient(90deg,#30a7c0,#e9ba42);transition:width .25s}.sidebar-progress small{font-size:10px;color:var(--muted)}.content-panel{padding:27px;min-height:580px}.lesson-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.crumb{font-size:10px;color:#80939c}.lesson-number{background:#e7f3f8;border-radius:7px;color:#13577d;padding:5px 10px;font-size:10px;font-weight:900;white-space:nowrap}.lesson-title-row{display:flex;justify-content:space-between;align-items:end;gap:12px}.lesson-title{font-size:clamp(22px,3vw,32px);color:var(--navy);line-height:1.45;margin:0 0 7px;font-weight:900}.page-ref{font-size:10px;color:#8b6c2a;background:#fff7df;border:1px solid #f0dfad;padding:4px 8px;border-radius:6px;white-space:nowrap}.lesson-intro{font-size:12px;color:#697f89;margin:0 0 16px;max-width:900px}
.photo-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px;margin:17px 0 23px}.photo-card{margin:0;overflow:hidden;border:1px solid #dce7eb;border-radius:11px;background:#fff;position:relative}.photo-card>a{display:block;position:relative}.photo-card img{display:block;width:100%;height:190px;object-fit:cover;background:#e7eef0}.photo-card img.fallback-image{object-fit:contain;padding:12px}.photo-open{position:absolute;bottom:9px;left:9px;border-radius:6px;background:#123f63dd;color:#fff;padding:3px 7px;font-size:9px;font-weight:800;opacity:0;transition:opacity .2s}.photo-card:hover .photo-open{opacity:1}.photo-card figcaption{padding:8px 10px 9px;line-height:1.5}.photo-card figcaption strong{display:block;font-size:10px;color:var(--ink)}.photo-card figcaption small{display:block;color:#7a8d96;font-size:8px;margin-top:3px}.single-visual{margin:15px 0 22px;background:#f0f6f7;border:1px solid #dce7e9;border-radius:11px;padding:9px}.single-visual img{display:block;width:100%;height:190px;object-fit:contain}.single-visual figcaption{text-align:center;color:#81939b;font-size:9px;padding-top:5px}
.exam-section{margin:23px 0}.section-banner{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:8px 12px;background:#fff0bd;border-radius:8px;border-right:5px solid var(--gold);color:#6c5313}.section-banner h3{margin:0;font-size:14px;font-weight:900}.section-check{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff;color:#9c7415;border:1px solid #e5c861;font-size:12px;font-weight:900;flex:none}.banner-blue{background:#e5f4fa;border-color:var(--blue);color:#145378}.banner-blue .section-check{border-color:#7eb8cf;color:#12608a}.banner-gold{background:#fff3d6;border-color:#dda82f;color:#77510d}.banner-gold .section-check{border-color:#e7bf61;color:#8e670d}.banner-red{background:#fff0ed;border-color:var(--red);color:#8c3835}.banner-red .section-check{border-color:#e4a19a;color:#b34741}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.summary-card{border:1px solid #dde8eb;background:#fbfcfc;border-radius:9px;padding:12px 13px}.summary-card h4{font-size:12px;margin:0 0 7px;color:#175a7e;display:flex;align-items:center;gap:8px}.summary-card h4 span{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#e5f3f8;color:#1a759e;font-size:10px}.summary-card ul{padding:0 17px 0 0;margin:0;color:#4f6875;font-size:11px;line-height:1.75}.summary-card li{margin:3px 0}.summary-card li::marker{color:#d99f2c}.key-point{margin:17px 0;background:#fff9e9;border:1px solid #efdfb2;border-right:4px solid #dfae3e;border-radius:9px;padding:12px 14px;color:#6c5b32;font-size:11px}.key-point strong{color:#73520d}.terms{display:flex;flex-wrap:wrap;gap:7px}.term{border-radius:7px;background:#eaf5f8;border:1px solid #d6e8ed;padding:4px 9px;color:#235c74;font-size:10px;font-weight:800}.section-hint{font-size:10px;color:#7e9099;margin:-5px 0 12px}.question-card{border:1px solid #dce7ea;border-radius:9px;background:#fff;margin:9px 0;padding:12px}.question-head{display:flex;align-items:flex-start;gap:9px}.question-number{display:grid;place-items:center;flex:none;width:24px;height:24px;background:#e7f4f9;color:#0d6592;border:1px solid #c6e1e9;border-radius:50%;font-size:10px;font-weight:900}.question-card h4,.written-question strong{margin:0;color:#294a5d;font-size:11px;line-height:1.75}.choices{display:grid;gap:6px;margin:10px 0 0 0}.choice{display:flex;align-items:flex-start;gap:8px;border:1px solid #e4ecef;background:#fbfcfd;padding:6px 9px;border-radius:7px;cursor:pointer;color:#617985;font-size:10px;line-height:1.65}.choice input{accent-color:var(--blue);margin-top:4px}.choice.correct{border-color:#79b69a;background:#eef9f1;color:#245e3d}.choice.wrong{border-color:#e2a39b;background:#fff2ef;color:#91433b}.feedback{font-size:10px;color:#657e89;display:inline-block;min-height:18px;margin-top:7px}.quiz-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 18px}.tf-options{display:flex;gap:7px;margin:10px 0 0}.tf-choice{background:#f4f8f9;border:1px solid #d6e3e8;color:#617985;border-radius:7px;padding:5px 17px;font-size:10px;font-weight:900;cursor:pointer}.tf-choice.selected{background:#e6f4fa;border-color:#3e9cc0;color:#145b7b}.tf-correct{border-right:4px solid #4aa477}.tf-wrong{border-right:4px solid #d66a5e}.written-question{border:1px solid #e2e9e8;background:#fcfcfa;border-radius:9px;padding:11px 12px;margin:9px 0}.answer-toggle{margin:7px 0 0;border:0;background:transparent;color:#126b94;cursor:pointer;font-size:10px;font-weight:900;padding:3px 0}.answer-text{padding:8px 11px 0 0;margin:4px 0 0;border-right:2px solid #e1b74e;color:#566d77;font-size:10px;line-height:1.8}.lesson-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e4ecee;margin-top:25px;padding-top:17px;flex-wrap:wrap}.mark-done{display:flex;align-items:center;gap:8px;color:#617984;font-size:11px;font-weight:700}.mark-done input{width:16px;height:16px;accent-color:var(--blue)}.next-prev{display:flex;gap:8px}.btn-outline{border:1px solid #cbdde4;background:#fff;color:var(--blue)}.empty-state{text-align:center;padding:45px 15px;color:#83939b;font-size:12px}.empty-state strong{display:block;font-size:16px;color:var(--navy);margin-bottom:5px}
.final-review{max-width:1180px;margin:0 auto 60px;padding:30px 26px;background:#e8f1f3;border:1px solid #d8e4e8;border-radius:18px}.final-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.final-heading h2{font-size:25px}.final-heading p:last-child{margin:5px 0 0;font-size:11px;color:#657c87}.exam-badge{background:#fff;border:1px solid #d6e4e7;border-radius:8px;padding:8px 12px;color:#1c668b;font-size:11px;font-weight:900}.final-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.tool-card{background:#fff;border:1px solid #d8e4e7;border-radius:11px;padding:16px}.tool-number{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#fff1c2;color:#956c08;font-size:10px;font-weight:900}.tool-card h3{font-size:14px;color:var(--navy);margin:7px 0 2px}.tool-card p{font-size:10px;color:#758b94;margin:0 0 12px}.tool-card .btn{font-size:10px;padding:7px 12px}.mixed-quiz{margin-top:18px;border:1px solid #d6e5e9;background:#fff;border-radius:12px;padding:18px}.footer{background:#123f63;color:#fff;padding:28px max(6vw,22px) 22px}.footer-main{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-main strong{font-size:15px}.footer-main p{color:#c4d9e3;font-size:10px;margin:3px 0}.footer-contact{display:grid;gap:3px;text-align:left;font-size:11px}.footer-contact a{color:#ffdf83;text-decoration:none}.source-note{margin-top:18px;border-top:1px solid #ffffff25;padding-top:13px;color:#bfd3de;font-size:10px}.source-note strong{color:#ffdf83}.official-books{display:flex;gap:17px;flex-wrap:wrap;margin-top:13px}.official-books a{font-size:10px;color:#ffe08a;text-decoration:none}.image-credits{margin-top:13px;border-top:1px solid #ffffff25;padding-top:10px}.image-credits summary{cursor:pointer;color:#d7e6ec;font-size:10px;font-weight:800}.image-credits div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px;margin-top:8px}.image-credits p{margin:0;color:#b8ccd6;font-size:9px}.image-credits a{color:#ffdf83}
#printBooklet{display:none}
@media(max-width:900px){.hero{grid-template-columns:1fr .8fr;padding-right:5vw;padding-left:5vw}.workspace{grid-template-columns:245px minmax(0,1fr)}.content-panel{padding:20px}.summary-grid{grid-template-columns:1fr}.term-alert{margin-right:20px;margin-left:20px}}
@media(max-width:700px){.topbar{height:65px;padding:0 14px}.year-pill{display:none}.brand-mark{width:38px;height:38px}.brand-name strong{font-size:13px}.btn-paper{font-size:10px;padding:7px 10px}.hero{grid-template-columns:1fr;min-height:0;padding:35px 20px 42px;gap:15px}.hero h1{font-size:43px}.hero-description{font-size:12px}.hero-photos{height:230px;width:min(100%,420px);margin:0 auto}.hero-photo-main{height:205px}.hero-photo-small{height:125px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:8px;padding:0 12px;margin-top:-20px}.stat-card{min-height:74px;padding:10px 11px;grid-template-columns:31px auto;column-gap:8px}.stat-icon{width:31px;height:31px;font-size:15px}.stat-card strong{font-size:20px}.stat-card>span:last-child{font-size:9px}.term-alert{grid-template-columns:31px 1fr;margin:0 12px 25px;padding:12px}.term-alert a{grid-column:2;white-space:normal}.course-shell{padding:0 12px}.section-heading h2,.final-heading h2{font-size:21px}.book-stamp{font-size:9px}.term-tab{flex:1;min-width:0;padding:8px 9px;font-size:10px}.term-tab small{font-size:8px}.workspace{display:flex;flex-direction:column;gap:11px}.sidebar{position:static;max-height:none;width:100%;padding:14px}.sidebar-head h3{font-size:15px}.lesson-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 6px}.unit-group{grid-column:1/-1;margin:0 0 5px}.unit-title{margin:8px 0 4px}.lesson-link{padding:6px 5px;font-size:9px}.lesson-dot{width:16px;height:16px;font-size:9px}.sidebar-progress{display:none}.content-panel{width:100%;padding:15px;min-height:0}.lesson-top{align-items:flex-start}.lesson-title-row{display:block}.page-ref{display:inline-block;margin:0 0 8px}.lesson-title{font-size:23px}.lesson-intro{font-size:11px}.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-card img{height:130px}.photo-card figcaption{padding:6px}.photo-card figcaption strong{font-size:9px}.photo-card figcaption small{font-size:7px}.single-visual img{height:140px}.section-banner h3{font-size:12px}.summary-grid{grid-template-columns:1fr}.summary-card ul{font-size:10px}.question-card{padding:10px}.question-card h4,.written-question strong{font-size:10px}.choice{font-size:9px}.lesson-actions{align-items:flex-start;flex-direction:column}.next-prev{width:100%}.next-prev .btn{flex:1}.final-review{margin:0 12px 35px;padding:20px 14px}.final-heading h2{font-size:20px}.final-tools{grid-template-columns:1fr}.tool-card{padding:13px}.footer-main{align-items:flex-start;flex-direction:column}.footer-contact{text-align:right}.image-credits div{grid-template-columns:1fr}.official-books{gap:9px;flex-direction:column}}
@media print{
  @page{size:A4;margin:13mm 12mm}
  body{background:#fff;color:#152e38;font-family:"Cairo",Tahoma,Arial,sans-serif}
  .topbar,main,.footer{display:none!important}
  #printBooklet{display:block!important}
  .print-cover{page-break-after:always;min-height:255mm;border:5px solid #1c6d9a;border-radius:10px;padding:27mm 15mm;text-align:center;position:relative;background:#fff}
  .print-cover:before{content:"";position:absolute;top:10mm;right:10mm;left:10mm;height:11mm;background:#f8df83;border-radius:7px}
  .print-topline{color:#d94b48;font-size:18px;font-weight:900;position:relative;margin:0 0 26mm}
  .print-emblem{width:37mm;height:37mm;border-radius:50%;background:#1b76a4;color:white;display:grid;place-items:center;margin:0 auto 16mm;font-size:19px;font-weight:900;line-height:1.4;border:5px solid #f4d36c;transform:rotate(-5deg)}
  .print-cover h1{color:#164e73;font-size:29px;margin:0 0 6mm}.print-cover h2{color:#d94b48;font-size:18px;margin:0 0 13mm}.print-cover p{font-size:15px;margin:4mm 0;color:#274a60}.print-cover small{display:block;margin-top:22mm;font-size:10px;color:#647d8a}.print-warning{margin:20mm auto 0;max-width:150mm;padding:6mm;border:1px solid #e1c36d;background:#fff8df;border-radius:7px;font-size:11px;color:#775c1a}
  .print-term{page-break-before:always}.print-term>h2{background:#1d77a3;color:#fff;font-size:19px;padding:7mm;border-radius:7px;text-align:center}
  .print-unit{page-break-before:always}.print-unit>h2{background:#f8e39a;border-right:5px solid #d4a82d;color:#124a6d;padding:5px 10px;font-size:17px;margin:0 0 12px}
  .print-lesson{margin:0 0 18px;break-inside:auto;padding:0 0 14px;border-bottom:1px dashed #a9bec8}.print-lesson h3{font-size:16px;color:#145b83;margin:4px 0 8px}.print-lesson-label{display:inline-block;background:#dcedf4;color:#155a7e;border-radius:50px;padding:2px 10px;font-size:10px;font-weight:900}.print-lesson p,.print-lesson li{font-size:10px;line-height:1.8}.print-lesson h4{font-size:12px;color:#ce4f46;margin:12px 0 4px}.print-lesson ul{margin:3px 0;padding-right:20px}.print-key{background:#fff5d9;border-right:3px solid #d6ad3e;padding:7px 9px}.print-question{font-size:10px;margin:6px 0;padding:5px 0;border-bottom:1px dotted #cbd8dc}.print-question small{font-size:9px;color:#546d78}.print-photos{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 12px}.print-photo{width:46%;margin:0;break-inside:avoid;border:1px solid #d5e1e5;padding:4px;border-radius:6px}.print-photo img{width:100%;height:38mm;object-fit:cover;display:block}.print-photo figcaption{font-size:7px;color:#536b77;line-height:1.4;padding:3px 2px}.print-photo-credits{page-break-before:always}.print-photo-credits h2{color:#145b83;border-bottom:2px solid #e3bf53;padding-bottom:6px}.print-photo-credits p{font-size:9px;line-height:1.7;border-bottom:1px dotted #d7e1e4;padding:4px 0}.print-photo-credits a{color:#145b83}.print-footer{page-break-before:always;border:2px solid #1b719d;padding:15mm;text-align:center;font-size:12px;color:#234c60}
}

/* Term 1 revision layout: denser like an exam booklet, clearer on screen. */
:root{--navy:#124b72;--blue:#1976a7;--red:#d84c4a;--gold:#efc64c;--paper:#f6f3e9;--ink:#203d50}
.scope-note{max-width:1180px;margin:0 auto 28px;padding:11px 18px;background:#fff6d9;border:1px solid #ead18a;border-right:5px solid #d9aa2f;border-radius:9px;color:#6f5718;font-size:12px;box-shadow:0 5px 18px #253f4d0a}
.scope-note strong{color:#4e3c0b}
.hero-ribbon{border-radius:6px 6px 18px 6px;background:#f2cb55}
.hero{background:linear-gradient(112deg,#113e60 0%,#145d83 58%,#167a91 100%)}
.hero:after{content:"";position:absolute;inset:auto -60px -235px auto;width:520px;height:520px;border:1px solid #ffffff17;border-radius:50%;box-shadow:0 0 0 35px #ffffff08,0 0 0 70px #ffffff05;pointer-events:none}
.hero h1{letter-spacing:-.5px}
.teacher-credit{gap:18px;flex-wrap:wrap}
.stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-width:1280px}
.stat-card{border-top:3px solid #e8c354;min-width:0}
.stat-card:nth-child(2){border-top-color:#3b9cc1}.stat-card:nth-child(3){border-top-color:#d95351}.stat-card:nth-child(4){border-top-color:#5d9c80}.stat-card:nth-child(5){border-top-color:#718a9b}
.course-shell{max-width:1280px}
.section-heading{align-items:end}
.heading-sub{margin:3px 0 0;color:#7b8c91;font-size:11px}
.workspace{grid-template-columns:310px minmax(0,1fr);gap:19px}
.sidebar{border-top:4px solid var(--blue);border-radius:12px 12px 14px 14px}
.content-panel{border-top:4px solid #d9b13f;border-radius:12px 12px 14px 14px;padding:30px}
.unit-title{line-height:1.6;border-bottom:1px dashed #d8e1e4;padding-bottom:6px}
.unit-title>span{background:#f4d36a}
.lesson-link{font-size:11px;align-items:flex-start}
.lesson-link small{margin-right:auto;white-space:nowrap;font-size:9px;color:#93a2a8}
.lesson-link.active{background:#e8f4f8;border-right:3px solid var(--blue);border-radius:5px 8px 8px 5px}
.unit-review-link{margin-top:5px;background:#fff8e6;color:#87651b;border:1px dashed #e3c66f}
.unit-review-link.active{background:#fff0c2;color:#765513;border-right:3px solid #d7a62a}
.lesson-photo-label{display:inline-block;margin:5px 0 0;background:#f4ebd4;color:#7e6227;padding:3px 10px;border-radius:5px;font-size:10px;font-weight:800}
.photo-gallery{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:10px}
.photo-card{border-radius:8px;border-color:#cfdde0;box-shadow:0 4px 14px #1a3c500c}
.photo-card img{height:210px}
.photo-card figcaption{min-height:56px;background:#fff}
.photo-card figcaption small{font-size:9px;line-height:1.6}
.photo-open{opacity:1}
.summary-grid{gap:13px}
.summary-card{border-radius:7px;border:1px solid #d8e1e5;background:#fff;position:relative;overflow:hidden;padding:15px 16px}
.summary-card:before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:#e4c056}
.summary-card:nth-child(3n+2):before{background:#3c9bbd}.summary-card:nth-child(3n):before{background:#d96158}
.summary-card h4{font-size:13px;margin-bottom:9px}
.summary-card h4 span{background:#eaf4f7;width:24px;height:24px}
.summary-card ul{font-size:11.5px;line-height:1.9}
.summary-card li{margin:5px 0}
.section-banner{border-radius:5px 8px 8px 5px;padding:9px 13px;border-right-width:6px}
.section-banner h3{font-size:13px}
.key-point{font-size:12px;line-height:1.9}
.terms{gap:8px}
.term{border-radius:4px;background:#f3f7f8}
.question-card{border-radius:7px;padding:13px 14px}
.question-card:nth-child(even){background:#fdfcf8}
.question-number{border-radius:5px;background:#eaf5fa}
.written-question{border-radius:6px;border-right:3px solid #e0bd58}
.unit-lesson-list{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:14px 0 19px;padding:12px;background:#f7f9f9;border:1px solid #e2e8e9;border-radius:7px;font-size:10px}
.unit-lesson-chip{border:1px solid #d3e4e9;background:#fff;border-radius:5px;padding:4px 8px;color:#285f79;font:inherit;cursor:pointer}
.unit-lesson-chip:hover{background:#eaf5f8}
.final-review{max-width:1280px;border-radius:10px;border-top:4px solid #d9b13f}
.final-tools{gap:14px}
.tool-card{border-radius:8px;border-top:3px solid #267eaa}
.tool-card:nth-child(2){border-top-color:#d5a93c}.tool-card:nth-child(3){border-top-color:#d65d55}
.footer{background:#103e60}
.footer .official-books a{display:inline-flex;padding:7px 10px;border:1px solid #ffffff36;border-radius:5px}
.image-credits div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}

@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace{grid-template-columns:265px minmax(0,1fr)}.content-panel{padding:22px}}
@media(max-width:700px){
  .scope-note{margin:0 12px 24px;font-size:10px;padding:9px 11px}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats-grid .progress-stat{grid-column:1/-1}
  .workspace{display:flex;flex-direction:column}
  .content-panel{padding:16px}
  .photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .photo-card img{height:125px}
  .photo-card figcaption small{font-size:7px}
  .lesson-link{font-size:9px}
  .unit-review-link{grid-column:1/-1}
  .summary-card{padding:11px 12px}
  .summary-card ul{font-size:10px}
  .image-credits div{grid-template-columns:1fr}
}

@media print{
  @page{size:A4;margin:12mm 11mm}
  .print-cover{border:4px solid #17678e;border-radius:5px;min-height:268mm;padding:28mm 15mm 20mm}
  .print-cover:before{height:10mm;background:#f4d56d}
  .print-topline{font-size:17px;margin-bottom:26mm;color:#d24c48}
  .print-emblem{background:#176b95;border:5px solid #edcc62}
  .print-cover h1{font-size:28px;color:#114e76}
  .print-cover h2{font-size:18px;color:#cf4a47}
  .print-cover-band{margin:12mm auto 16mm;max-width:145mm;padding:5mm 7mm;background:#eaf4f7;border:1px solid #afd0db;border-radius:5px;color:#155b80;font-size:12px;font-weight:800}
  .print-cover small{font-size:9px;margin-top:18mm}
  .print-unit{page-break-before:always}
  .print-unit>h2{background:#176c97;border-right:0;border-radius:4px;color:#fff;text-align:center;padding:5mm;font-size:17px}
  .print-lesson{border-bottom:1px solid #d8e1e4;margin-bottom:15px;padding-bottom:12px}
  .print-lesson h3{background:#fff0c6;border-right:4px solid #d5a63b;padding:4px 8px;font-size:15px}
  .print-lesson h4{color:#c84e47;font-size:11px;margin-top:9px}
  .print-lesson p,.print-lesson li{font-size:9px;line-height:1.65}
  .print-lesson ul{padding-right:18px}
  .print-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}
  .print-photo{width:auto;break-inside:avoid}
  .print-photo img{height:33mm;object-fit:cover}
  .print-photo figcaption{font-size:6.5px}
  .print-key{background:#fff7df;border-right:3px solid #d4aa43;padding:5px 8px}
  .print-question{font-size:8.5px;line-height:1.6}
  .print-unit-review{page-break-before:avoid;border:1px solid #dfcf9f;border-radius:4px;padding:7px;margin:10px 0}
  .print-unit-review h3{background:#fff0c6;border-right:4px solid #d2a63c;padding:5px}
  .print-final-review{page-break-before:always}
  .print-final-review h2{background:#176c97;color:#fff;padding:7px;text-align:center}
  .print-photo-credits{page-break-before:always}
  .print-photo-credits p{font-size:8px}
  .print-footer{page-break-before:always;border:2px solid #176b95}
}

/* Final exam-sheet presentation: clearer study hierarchy on screen. */
.lesson-worksheet{
  overflow:hidden;background:#fff;border:1px solid #d9e4e8;border-radius:12px;
  box-shadow:0 9px 26px rgba(18,63,99,.055)
}
.worksheet-heading{
  position:relative;padding:20px 22px 17px;background:
    radial-gradient(circle at 96% 8%,rgba(244,207,91,.18) 0 54px,transparent 55px),
    linear-gradient(135deg,#fffdf7 0%,#f5fafb 100%);
  border-bottom:1px solid #dce7e9
}
.worksheet-heading:after{content:"";position:absolute;right:0;bottom:0;width:118px;height:4px;background:linear-gradient(90deg,var(--gold),var(--red),var(--blue))}
.worksheet-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:9px;border-bottom:1px dashed #d5e0e3;color:#6c8490;font-size:10px;font-weight:800}
.worksheet-topline strong{color:var(--red);font-size:14px;font-weight:900}
.worksheet-titleline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:13px 0 7px}
.worksheet-unit,.worksheet-mark{display:inline-flex;align-items:center;border-radius:5px;padding:4px 9px;font-size:10px;font-weight:900}
.worksheet-unit{background:#fff0c4;color:#78580f;border:1px solid #ead28a}
.worksheet-mark{background:#e8f3f7;color:#1a6183;border:1px solid #d0e2e9}
.worksheet-heading .lesson-title{font-size:clamp(22px,2.6vw,30px);line-height:1.45;margin:2px 0 8px;color:#144e73}
.worksheet-heading .lesson-intro{margin:0;color:#526d7b;font-size:12px;max-width:900px;line-height:1.85}
.worksheet-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.worksheet-meta span{background:#fff;border:1px solid #e0e8e9;border-radius:5px;padding:4px 8px;color:#71858d;font-size:9px;font-weight:700}
.lesson-worksheet .exam-section{padding:0 20px;margin:20px 0 23px}
.lesson-worksheet .section-banner{display:flex;align-items:center;gap:9px;min-height:41px;padding:7px 11px;margin-bottom:12px;border-radius:5px 8px 8px 5px;background:#fff2c8;border:1px solid #f0dfa8;border-right:5px solid #dfb33e;color:#715616}
.lesson-worksheet .section-banner h3{font-size:13px;line-height:1.5}
.lesson-worksheet .section-banner small{margin-right:auto;color:#8c8060;font-size:9px;font-weight:700}
.lesson-worksheet .section-banner.banner-blue{background:#eaf5f9;border-color:#cfe4ec;border-right-color:#2482a9;color:#165a7b}
.lesson-worksheet .section-banner.banner-blue small{color:#648b9c}
.lesson-worksheet .section-banner.banner-red{background:#fff0ed;border-color:#f1d8d2;border-right-color:#d85a50;color:#8e3e38}
.lesson-worksheet .section-banner.banner-red small{color:#a97872}
.lesson-worksheet .section-banner.banner-gold{background:#fff7df;border-color:#f0e2b9;border-right-color:#d9a938;color:#7b5b13}
.lesson-worksheet .section-check{width:25px;height:25px;font-size:11px;background:#fff}
.lesson-worksheet .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lesson-worksheet .summary-card{position:relative;border:1px solid #e0e8e9;border-radius:7px;background:#fff;padding:12px 14px 12px 12px;box-shadow:0 3px 10px #173f5308}
.lesson-worksheet .summary-card h4{font-size:12px;line-height:1.6;color:#185b7d;margin:0 0 8px;padding-bottom:7px;border-bottom:1px solid #edf1f2}
.lesson-worksheet .summary-card h4 span{width:23px;height:23px;flex:none;background:#e9f4f8;color:#1a6c91;font-size:10px}
.lesson-worksheet .summary-card ul{font-size:10.5px;line-height:1.9;color:#506a77}
.lesson-worksheet .summary-card li{margin:4px 0;padding-right:1px}
.lesson-worksheet .key-point{margin:13px 0 0;padding:11px 13px;background:#fff8e5;border:1px solid #efdfb0;border-right:4px solid #d7ad3e;border-radius:6px;font-size:11px;line-height:1.9}
.lesson-worksheet .photo-gallery{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:0}
.lesson-worksheet .photo-card{border-radius:7px;box-shadow:none}
.lesson-worksheet .photo-card img{height:155px}
.lesson-worksheet .photo-card figcaption{padding:7px 9px;min-height:52px}
.lesson-worksheet .photo-card figcaption strong{font-size:10px}
.lesson-worksheet .photo-card figcaption small{font-size:8px}
.lesson-worksheet .terms{gap:7px}
.lesson-worksheet .term{padding:5px 9px;border-radius:5px;font-size:9px;background:#f4f8f9}
.lesson-worksheet .written-question,.lesson-worksheet .question-card{border-radius:6px;border:1px solid #e0e7e9;margin:8px 0;padding:11px 12px;background:#fff}
.lesson-worksheet .question-card:nth-child(even){background:#fcfdfd}
.lesson-worksheet .question-head{align-items:flex-start;gap:9px}
.lesson-worksheet .question-number{width:25px;height:25px;border-radius:5px;background:#e8f4f8;border-color:#d1e5eb;font-size:10px}
.lesson-worksheet .question-card h4,.lesson-worksheet .written-question strong{font-size:11px;line-height:1.8;color:#294a5c}
.lesson-worksheet .choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.lesson-worksheet .choice{min-height:34px;align-items:center;border-radius:5px;padding:6px 8px;background:#f9fbfc;font-size:10px}
.lesson-worksheet .choice input{flex:none;margin-top:0}
.lesson-worksheet .tf-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.lesson-worksheet .tf-card{margin:0}
.lesson-worksheet .tf-options{margin-right:34px}
.lesson-worksheet .answer-text{border-right:3px solid #dfb64d;background:#fff9e9;margin-top:8px;padding:7px 10px;font-size:10px}
.lesson-worksheet .answer-toggle{font-size:10px}
.worksheet-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:23px;padding:12px 20px;background:#124b72;color:#fff;font-size:10px}
.worksheet-bottom b{color:#ffdf83}
.worksheet-bottom a{color:#ffdf83;text-decoration:none;border-bottom:1px dashed #ffdf83}
.lesson-actions{margin:15px 2px 0;padding:13px 2px 0}

/* Printed booklet uses the visual language of the supplied exam sheet. */
.print-cover-ornament{position:absolute;top:10mm;right:10mm;left:10mm;height:14mm;border-radius:5px;background:linear-gradient(90deg,#f8e4a5 0 22%,#e8f4f7 22% 78%,#f5d6d0 78%);border-bottom:2px solid #d6b04a}
.print-cover-topline{position:relative;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#145778;font-size:11px;font-weight:900;padding-bottom:6mm;border-bottom:1px dashed #b8cbd2}
.print-cover-topline span{color:#d34e48}
.print-cover-emblem{width:39mm;height:39mm;display:grid;place-items:center;margin:17mm auto 9mm;border-radius:50%;border:5px solid #f0d273;background:#176e99;color:#fff;font-size:18px;font-weight:900;line-height:1.45;transform:rotate(-5deg)}
.print-cover h1{margin:0 0 3mm;color:#d04d48;font-size:29px}
.print-cover h2{margin:0 0 10mm;color:#194f70;font-size:21px}
.print-cover-band{margin:0 auto 12mm;max-width:150mm;padding:5mm 7mm;background:#1b6c94;color:#fff;border-radius:4px;font-size:14px;font-weight:900}
.print-cover-details{display:flex;justify-content:center;gap:7mm;flex-wrap:wrap;margin:0 auto 16mm}
.print-cover-details span{padding:3mm 5mm;border:1px solid #d9e4e8;border-radius:4px;background:#f7fafb;color:#315c70;font-size:10px;font-weight:800}
.print-cover-teacher{display:grid;gap:3mm;padding:7mm;border-top:2px solid #e1bd4d;border-bottom:2px solid #e1bd4d;color:#194f70;font-size:14px}
.print-cover-teacher span{color:#16804e;font-size:12px;font-weight:900}
.print-cover>small{display:block;margin-top:14mm;color:#71818a;font-size:9px}
.print-page-topline{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4mm;padding-bottom:2mm;border-bottom:1px solid #d7e3e7;color:#607986;font-size:8px;font-weight:800}
.print-page-topline strong{color:#d34e48;font-size:12px}
.print-lesson-header{margin-bottom:4mm;padding:0 0 3mm;border-bottom:1px solid #d5e2e6}
.print-lesson-ribbon{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:3mm 0;padding:2mm 3mm;background:#eaf4f7;border-right:4px solid #1976a7;color:#225e7c;font-size:8px;font-weight:900}
.print-lesson-header h3{margin:2mm 0;color:#154f73;font-size:17px;background:#fff2c6;border-right:4px solid #d6ad3e;padding:2mm 3mm}
.print-intro{font-size:8.5px;line-height:1.65;color:#526b78;margin:2mm 0 0}
.print-exam-section{margin:4mm 0;break-inside:auto}
.print-section-title{display:flex;align-items:center;gap:2.5mm;padding:2mm 3mm;margin:3mm 0;background:#eaf4f7;border-right:4px solid #1976a7;color:#17597a;font-size:10px;line-height:1.5}
.print-section-title>span{width:6mm;height:6mm;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;background:#fff;font-size:8px;flex:none}
.print-section-title.print-gold{background:#fff5d7;border-color:#d4a434;color:#795a16}
.print-section-title.print-red{background:#fff0ed;border-color:#d9514a;color:#923d38}
.print-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5mm}
.print-summary-card{break-inside:avoid;border:1px solid #dce6e8;border-radius:2mm;padding:2.5mm 3mm;background:#fff}
.print-summary-card h4{display:flex;align-items:center;gap:2mm;margin:0 0 1.5mm;padding-bottom:1.5mm;border-bottom:1px solid #e8eef0;color:#175a7e;font-size:9px}
.print-summary-card h4 span{width:5mm;height:5mm;display:grid;place-items:center;border-radius:50%;background:#e8f3f7;color:#17648a;font-size:7px}
.print-summary-card ul{margin:0;padding-right:4mm;color:#334f5c;font-size:8px;line-height:1.65}
.print-summary-card li{margin:.6mm 0}
.print-key{margin:2.5mm 0 0;padding:2.5mm 3mm;background:#fff8e4;border-right:3px solid #d5ab3c;color:#6e571b;font-size:8.5px;line-height:1.7}
.print-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm;margin:2mm 0}
.print-photo{width:auto;margin:0;padding:1mm;border:1px solid #d7e2e5;border-radius:1mm;break-inside:avoid}
.print-photo img{display:block;width:100%;height:27mm;object-fit:cover}
.print-photo figcaption{padding:1mm .5mm 0;color:#526c78;font-size:6px;line-height:1.35}
.print-terms{display:flex;flex-wrap:wrap;gap:1.5mm}
.print-terms span{padding:1.2mm 2.5mm;border:1px solid #d6e5ea;border-radius:1mm;background:#f3f8fa;color:#245d77;font-size:7.5px;font-weight:800}
.print-question-card{break-inside:avoid;margin:1.7mm 0;padding:2mm 2.5mm;border:1px solid #e0e7e9;border-radius:1mm;background:#fff}
.print-question-line{display:flex;align-items:flex-start;gap:2mm;color:#2b4a5a;font-size:8.5px;line-height:1.6}
.print-question-line>strong{flex:1}
.print-q-number{width:5mm;height:5mm;display:grid;place-items:center;flex:none;border:1px solid #b9d6e0;border-radius:1mm;background:#eaf5f8;color:#12618b;font-size:7px;font-weight:900}
.print-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1mm 3mm;margin:1.5mm 7mm 0;color:#536b76;font-size:7.5px;line-height:1.5}
.print-model-answer{margin:1.3mm 7mm 0;padding-right:2mm;border-right:2px solid #e0bd58;color:#74643b;font-size:7px;line-height:1.55}
.print-tf-key{flex:none;min-width:10mm;padding:0 1mm;border:1px solid #d8e8dd;background:#f0f8f1;color:#326b45;border-radius:1mm;text-align:center;font-size:7px;font-weight:900}
.print-lesson-footer{display:flex;justify-content:space-between;gap:5mm;margin-top:5mm;padding:2.5mm 3mm;background:#124b72;color:#fff;font-size:8px}
.print-lesson-footer b,.print-lesson-footer span:last-child{color:#ffe18a}
.print-unit>h2{margin:0;padding:4mm 5mm;background:#176d96;border:0;border-radius:1mm;color:#fff;text-align:center;font-size:15px}
.print-unit-review{margin-top:7mm;padding:4mm;border:1px solid #dfcf9f;border-radius:2mm;background:#fffdf7;break-before:page}
.print-unit-review .print-section-title{margin-top:0}
.print-final-review{break-before:page}
.print-final-review>.print-section-title{margin-top:0;padding:4mm;font-size:13px}
.print-photo-credits{break-before:page}
.print-photo-credits h2{font-size:15px;color:#155879;border-bottom:2px solid #e3bf53;padding-bottom:3mm}
.print-photo-credits p{font-size:8px;line-height:1.6;border-bottom:1px dotted #d7e1e4;padding:2mm 0}
.print-footer{break-before:page;border:2px solid #1b719d;padding:15mm;text-align:center;font-size:12px;color:#234c60}

@media(max-width:900px){
  .worksheet-heading{padding:17px 16px 14px}
  .lesson-worksheet .exam-section{padding:0 14px;margin:17px 0 20px}
}
@media(max-width:700px){
  .worksheet-topline{align-items:flex-start;font-size:8px}
  .worksheet-topline strong{font-size:12px}
  .worksheet-heading{padding:14px 12px 12px}
  .worksheet-titleline{margin:10px 0 6px}
  .worksheet-unit,.worksheet-mark{font-size:8px;padding:4px 7px}
  .worksheet-heading .lesson-title{font-size:21px}
  .worksheet-heading .lesson-intro{font-size:10px}
  .worksheet-meta span{font-size:8px}
  .lesson-worksheet .exam-section{padding:0 10px;margin:15px 0 18px}
  .lesson-worksheet .section-banner{align-items:flex-start;flex-wrap:wrap;padding:7px 9px}
  .lesson-worksheet .section-banner small{width:100%;margin-right:34px}
  .lesson-worksheet .summary-grid{grid-template-columns:1fr}
  .lesson-worksheet .photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lesson-worksheet .photo-card img{height:115px}
  .lesson-worksheet .tf-list{grid-template-columns:1fr}
  .lesson-worksheet .choices{grid-template-columns:1fr}
  .worksheet-bottom{padding:10px 12px;font-size:9px}
}

@media print{
  @page{size:A4;margin:10mm 10mm 12mm}
  body{background:#fff!important;color:#203b4a!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .print-cover{position:relative;min-height:275mm;margin:0;padding:29mm 14mm 17mm;border:2px solid #176d96;border-radius:2mm;text-align:center;break-after:page;page-break-after:always;overflow:hidden}
  .print-cover:before{display:none}
  .print-unit{break-before:page;page-break-before:always}
  .print-unit>h2{break-after:avoid}
  .print-lesson{margin:0;padding:0 0 4mm;border:0;break-inside:auto;page-break-inside:auto}
  .print-lesson+.print-lesson{break-before:page;page-break-before:always}
  .print-lesson-header,.print-section-title,.print-summary-card,.print-question-card,.print-photo{break-inside:avoid}
  .print-exam-section{break-inside:auto}
  .print-lesson-footer{break-inside:avoid}
  .print-page-topline,.print-lesson-ribbon,.print-section-title,.print-summary-card,.print-key,.print-photo,.print-question-card,.print-cover-band,.print-cover-details span,.print-lesson-footer{ -webkit-print-color-adjust:exact;print-color-adjust:exact }
}
@media print{
  .print-section-title>span{display:flex;align-items:center;justify-content:center;line-height:1}
  .print-cover-topline b{direction:ltr;unicode-bidi:isolate}
}
