.islamic-shell{--ink:#102f43;--blue:#173f3e;--teal:#216855;--muted:#456477;--paper:#f4f7f8;--line:#cbdadd;--white:#fff}.islamic-shell *{box-sizing:border-box}.islamic-shell{scroll-behavior:smooth;scroll-padding-top:1rem}.islamic-shell{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Naskh Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;font-size:18px;line-height:1.9}.islamic-shell a{color:var(--blue);text-underline-offset:.2em}.islamic-shell a,.islamic-shell button,.islamic-shell summary,.islamic-shell input,.islamic-shell textarea{touch-action:manipulation}.islamic-shell :focus-visible{outline:3px solid #ca8300;outline-offset:4px}.islamic-shell>.islamic-header{padding:20px max(24px,calc((100% - 1160px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;align-items:center}.islamic-shell .brand{font-weight:800;text-decoration:none;font-size:25px}.islamic-shell .brand span{display:block;font-size:12px;color:var(--teal);letter-spacing:.03em}.islamic-shell .islamic-content{max-width:1160px;margin:auto;padding:30px 24px 50px}.islamic-shell>.islamic-footer{border-top:1px solid var(--line);padding:24px;text-align:center;color:var(--muted);font-size:14px}.islamic-shell .skip{position:absolute;right:12px;top:-90px;background:#fff;z-index:4;padding:8px}.islamic-shell .skip:focus{top:8px}.islamic-shell .hero,.islamic-shell .lesson-hero{padding:44px;border-radius:24px;background:var(--blue);color:#fff;position:relative;overflow:hidden}.islamic-shell .hero{border-left:12px solid #258787}.islamic-shell .hero h1{max-width:740px}.islamic-shell .eyebrow{font-size:13px;font-weight:bold;letter-spacing:.025em;margin:0 0 8px;color:var(--teal)}.islamic-shell .hero .eyebrow,.islamic-shell .lesson-hero .eyebrow{color:#a8e1dc}.islamic-shell h1{font-size:clamp(32px,4vw,49px);line-height:1.45;margin:12px 0 20px}.islamic-shell h2{font-size:30px;line-height:1.5;margin:10px 0 22px}.islamic-shell h3{font-size:22px;line-height:1.7;margin:0 0 12px}.islamic-shell p{margin:8px 0 18px}.islamic-shell .lead{font-size:22px;max-width:880px}.islamic-shell .metrics,.islamic-shell .tags{display:flex;gap:12px;flex-wrap:wrap}.islamic-shell .metrics span,.islamic-shell .tags span{padding:6px 14px;border:1px solid #769aaf;border-radius:8px;font-size:14px}.islamic-shell .notice{padding:20px 24px;border-right:5px solid var(--teal);background:#e4f1f0;margin:24px 0;border-radius:8px}.islamic-shell .unit,.islamic-shell .islamic-content>section:not(.hero):not(.lesson-hero){margin-top:48px}.islamic-shell .section-head{border-bottom:1px solid var(--line);margin-bottom:22px}.islamic-shell .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.islamic-shell .card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;text-decoration:none;display:flex;flex-direction:column;min-width:0}.islamic-shell .card:hover{border-color:var(--teal);box-shadow:0 8px 24px #10384b12}.islamic-shell .page{font-size:13px;color:var(--muted)}.islamic-shell .card h3{margin-top:10px}.islamic-shell .card p{font-size:16px;color:var(--muted)}.islamic-shell .cta{margin-top:auto;color:var(--teal);font-size:15px;font-weight:bold}.islamic-shell .anchors{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.islamic-shell .anchors a{border:1px solid var(--line);background:#fff;padding:8px 22px;border-radius:100px}.islamic-shell .reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.islamic-shell .reading{border-top:3px solid var(--teal);padding:24px;background:#fff;border-radius:12px}.islamic-shell .reading p{line-height:2.1}.islamic-shell .reading small{color:var(--muted);font-size:13px}.islamic-shell .question{padding:28px;background:#fff;border:1px solid var(--line);border-radius:16px;margin:20px 0}.islamic-shell label{display:block;font-size:16px;font-weight:bold;margin:14px 0 6px}.islamic-shell textarea{width:100%;resize:vertical;border:1px solid #89a4b1;background:#fff;border-radius:8px;padding:12px;font:inherit;color:var(--ink);min-height:64px}.islamic-shell textarea:disabled{background:#e5e9eb;cursor:not-allowed}.islamic-shell details{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.islamic-shell summary{cursor:pointer;color:var(--teal);font-weight:bold;padding:8px;min-height:44px}.islamic-shell .guidance{background:#eaf3f5;padding:16px;border-radius:10px}.islamic-shell .workbench{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2fr);gap:28px;background:#fff;border:1px solid var(--line);padding:28px;border-radius:18px}.islamic-shell .steps{padding-right:24px}.islamic-shell .steps li{padding-bottom:14px}.islamic-shell .check{display:flex;align-items:flex-start;gap:10px;font-weight:normal}.islamic-shell .check input{width:22px;height:22px;flex-shrink:0;margin-top:5px;accent-color:var(--teal)}.islamic-shell .small{font-size:13px;color:var(--muted)}.islamic-shell .actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.islamic-shell button{font:inherit;background:var(--teal);border:1px solid var(--teal);color:white;border-radius:9px;padding:10px 18px;cursor:pointer;min-height:48px}.islamic-shell .secondary{background:#fff;color:var(--teal)}.islamic-shell .preview{padding:20px;border:1px solid var(--teal);border-radius:12px;background:#f3faf9}.islamic-shell .preview p{white-space:pre-wrap;overflow-wrap:anywhere}.islamic-shell .preview h4{margin:18px 0 6px}.islamic-shell .next{display:flex;justify-content:space-between;gap:25px;margin:35px 0}.islamic-shell .next a{padding:12px}.islamic-shell section{scroll-margin-top:20px}.islamic-shell nav{font-size:15px;margin-bottom:22px}.islamic-shell li,.islamic-shell textarea,.islamic-shell p,.islamic-shell h1,.islamic-shell h2,.islamic-shell h3{overflow-wrap:anywhere}@media(max-width:760px){.islamic-shell{font-size:17px}.islamic-shell>.islamic-header{padding:14px 18px;align-items:flex-start}.islamic-shell>.islamic-header>span{font-size:12px;max-width:130px}.islamic-shell .islamic-content{padding:20px 16px}.islamic-shell .hero,.islamic-shell .lesson-hero{padding:28px 24px;border-radius:16px}.islamic-shell .cards,.islamic-shell .reading-grid,.islamic-shell .workbench{grid-template-columns:1fr}.islamic-shell .workbench,.islamic-shell .question{padding:20px}.islamic-shell .lead{font-size:20px}.islamic-shell .next{flex-direction:column}.islamic-shell .card{padding:22px}.islamic-shell .unit,.islamic-shell .islamic-content>section:not(.hero):not(.lesson-hero){margin-top:36px}}@media(prefers-reduced-motion:reduce){.islamic-shell{scroll-behavior:auto}}@media print{.islamic-shell{font-size:12pt;background:#fff}.islamic-shell>.islamic-header,.islamic-shell>.islamic-footer{font-size:10pt}.islamic-shell .hero,.islamic-shell .lesson-hero{padding:20px;color:#102f43;background:#e6f0f3}.islamic-shell .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.islamic-shell .card,.islamic-shell .reading,.islamic-shell .question{break-inside:avoid}.islamic-shell .workbench{display:block}.islamic-shell button,.islamic-shell .skip{display:none}.islamic-shell textarea{height:70px}.islamic-shell .preview[hidden]{display:none}.islamic-shell .hero .eyebrow,.islamic-shell .lesson-hero .eyebrow{color:#216855}}.islamic-shell .tool{background:#edf6f6;border:1px solid #abcacb;padding:18px;border-radius:12px;margin-bottom:20px}.islamic-shell .tool select{display:block;max-width:100%;width:100%;font:inherit;padding:10px;margin-bottom:12px}.islamic-shell .tool button{font-size:14px;margin:6px}.islamic-shell .tool li{margin:12px 0}.islamic-shell .tool li span{display:block}.islamic-shell .tool button:disabled{opacity:.55;cursor:default}.islamic-shell .tool select{appearance:none;min-height:56px;height:56px;line-height:1.6;background:#fff;border:1px solid #89a4b1;border-radius:8px;color:var(--ink)}.islamic-shell [hidden]{display:none!important}.islamic-shell select,.islamic-shell input{font:inherit}.islamic-shell select{max-width:100%;padding:10px;border:1px solid #89a4b1;border-radius:8px;background:white}.islamic-shell .options label{display:flex;gap:12px;font-weight:normal;border:1px solid var(--line);border-radius:8px;padding:10px}.islamic-shell .options input{width:20px;flex-shrink:0}.islamic-shell .review{background:#edf5ee;border-right:4px solid var(--teal);padding:22px;margin:18px 0}.islamic-shell .review label{font-weight:normal}.islamic-shell .status{min-height:1.8em;color:var(--teal)}.islamic-shell .sheet{white-space:pre-wrap;overflow-wrap:anywhere}.islamic-shell .number{font:14px Arial;direction:ltr}.islamic-shell fieldset{border:0;padding:0;min-width:0}.islamic-shell legend{font-weight:bold;font-size:21px}.islamic-shell .branchhead{display:flex;justify-content:space-between;align-items:center}.islamic-shell .rubric{padding:16px;background:#fff;border:1px solid var(--line);border-radius:8px;margin:10px 0}.islamic-shell .editor{min-width:0}.islamic-shell .editor button,.islamic-shell .editor input,.islamic-shell .editor select{max-width:100%;width:100%;box-sizing:border-box}.islamic-shell .editor button{white-space:normal;overflow-wrap:anywhere;line-height:1.7}.islamic-shell .editor input[data-page]{display:block;min-height:52px;padding:10px 14px;border:1px solid #89a4b1;border-radius:8px;color:var(--ink);background:white;margin-top:8px}.islamic-shell .tool select{height:auto;min-height:56px}.islamic-shell .tool{min-width:0;overflow-wrap:anywhere}.islamic-shell .tool button{margin:6px 0}.islamic-shell .tool p{overflow-wrap:anywhere}.islamic-shell .activity-card{background:#f1f6f3;border:1px solid #9fb8ad;border-radius:12px;padding:16px;margin:12px 0;break-inside:avoid}.islamic-shell select,.islamic-shell input,.islamic-shell textarea{max-width:100%;box-sizing:border-box}.islamic-shell .sheet{overflow-wrap:anywhere}.islamic-shell .editor{min-width:0}.islamic-shell .activity-card select{appearance:none;display:block;min-height:56px;height:56px;line-height:1.6;padding:10px 14px;color:var(--ink);touch-action:manipulation}

.islamic-shell{font-family:inherit}.islamic-shell .islamic-header{display:flex;flex-wrap:wrap;gap:1rem;padding:1rem}.islamic-shell select{max-width:100%}.islamic-shell td,.islamic-shell th{white-space:normal}

html:has(.islamic-shell){scroll-padding-block:110px}.islamic-shell input,.islamic-shell select,.islamic-shell textarea,.islamic-shell button,.islamic-shell [tabindex]{scroll-margin-block:110px}.islamic-shell{font-size:16px;line-height:1.65}.islamic-shell .islamic-content{padding-top:.5rem}.islamic-shell .lesson-hero{padding:.6rem 1rem;margin-block:.5rem}.islamic-shell .lesson-hero h1{font-size:1.8rem;margin-block:.3rem}.islamic-shell .lesson-hero p{margin-block:.2rem}.islamic-shell .anchors{margin-block:.5rem;gap:.5rem}.islamic-shell .anchors a{padding:.3rem .7rem}.islamic-shell details{padding:.4rem .6rem;margin-block:.5rem}.islamic-shell summary{cursor:pointer;font-weight:bold}.islamic-shell #workshop{margin-top:.7rem}.islamic-shell #workshop>h2{font-size:1.3rem;margin-block:.3rem}.islamic-shell .workbench{align-items:start;margin-block:.4rem;grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.islamic-shell .workbench>.editor{order:-1;padding:.7rem}.islamic-shell .editor>h3{font-size:1.1rem;margin-block:.3rem}.islamic-shell .editor>p{margin-block:.3rem}.islamic-shell .activity-card{padding:.6rem;margin-block:.5rem}.islamic-shell .activity-card>p{margin-block:.3rem}.islamic-shell .notice{font-size:.9rem;padding:.4rem .6rem}.islamic-shell .islamic-header{padding:.65rem}.islamic-shell select{width:100%}@media(max-width:650px){.islamic-shell .workbench{display:flex;flex-direction:column}.islamic-shell .workbench>*{width:100%}}

.islamic-shell .workbench{padding:.7rem}.islamic-shell .editor>p{font-size:.9rem}.islamic-shell .activity-card{padding:.5rem}.islamic-shell .activity-card label{margin-block:.25rem}.islamic-shell .editor>details{padding:.2rem;margin-block:.3rem}.islamic-shell .activity-card:first-of-type{margin-top:.4rem}
