@font-face{font-family:Cormorant Garamond;font-style:normal;font-display:swap;font-weight:600;src:url(/wasli/assets/cormorant-garamond-latin-600-normal-Co1r35X9.woff2) format("woff2"),url(/wasli/assets/cormorant-garamond-latin-600-normal-2CBVLo0M.woff) format("woff")}@font-face{font-family:Noto Naskh Arabic;font-style:normal;font-display:swap;font-weight:400;src:url(/wasli/assets/noto-naskh-arabic-arabic-400-normal-U_i0HMfG.woff2) format("woff2"),url(/wasli/assets/noto-naskh-arabic-arabic-400-normal-1AoZhAAW.woff) format("woff")}@font-face{font-family:Noto Naskh Arabic;font-style:normal;font-display:swap;font-weight:700;src:url(/wasli/assets/noto-naskh-arabic-arabic-700-normal-BdBAMxnO.woff2) format("woff2"),url(/wasli/assets/noto-naskh-arabic-arabic-700-normal-fm10sHOa.woff) format("woff")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.table{display:table}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{--sand: #ead9bd;--ivory: #fff9ef;--turquoise: #087e82;--terracotta: #ac4b32;--saffron: #e8b343;--indigo: #37375e;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#283b3e;background:#f6eddf;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{border:1px solid #ced8d3;border-radius:10px;padding:.65rem .85rem;background:#fff;color:#193e42;cursor:pointer;font-weight:600;font-size:.82rem;min-height:44px}button:disabled{opacity:.4;cursor:not-allowed}button:not(:disabled):hover{background:#eaf1eb}:focus-visible{outline:3px solid #b47738;outline-offset:3px}input[type=checkbox]{accent-color:#235b51;width:18px;height:18px;vertical-align:middle;margin-right:.4rem}input[type=range]{accent-color:#235b51}h1{font-size:clamp(2.15rem,6vw,3.8rem);line-height:1.12;letter-spacing:-.045em;font-weight:650;margin:.8rem 0 1.2rem}h1 em{font-family:Georgia,serif;font-weight:400;color:#567b68}h2{font-size:1rem;font-weight:650}h3{font-size:.85rem;margin:1rem 0 .5rem}.brand{font-size:1.6rem;font-weight:750;letter-spacing:-.06em;text-decoration:none;color:inherit;display:flex;align-items:center;gap:.8rem}.brand span{font-family:Noto Naskh Arabic,serif;font-size:1.8rem;font-weight:400;letter-spacing:0}.badge{font-size:.57rem;letter-spacing:.09em;font-weight:700;border:1px solid #cdd6cc;border-radius:30px;padding:.5rem .65rem}.intro{margin:2.7rem 0 1.8rem;max-width:650px}.intro>p:last-child{font-size:.96rem;line-height:1.7;max-width:580px;color:#5c6e69}.eyebrow{font-size:.64rem;letter-spacing:.18em;font-weight:700;color:#6c7c6f}.notice{background:#fff0d8;color:#765120;font-size:.8rem;line-height:1.5;padding:.9rem 1rem;border-radius:12px;margin-bottom:1rem}.experimental-warning{border:3px solid #9b3d15;background:#fff0d8;color:#702a0d;padding:1.1rem;border-radius:12px;margin-bottom:1.2rem;font-size:1rem;line-height:1.6}.experimental-warning strong{display:block;font-size:1.2rem}.status{display:flex;align-items:center;gap:.55rem;font-size:.76rem;margin-bottom:1rem;color:#5f6e64}.dot{width:7px;height:7px;background:#b38c4c;border-radius:100%}.panel{border:1px solid #dce2da;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 4px 16px #1b3e3504}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.2rem;border-bottom:1px solid #eef0ea}.panel-heading>span{font-family:Noto Naskh Arabic,serif;font-size:1.4rem;color:#8e9c90}canvas{display:block;width:100%;height:auto;aspect-ratio:8/5;cursor:crosshair;background-color:#fff;background-image:none}.canvas-footer{padding:.7rem 1rem;display:flex;gap:.5rem;align-items:center;justify-content:space-between;border-top:1px solid #eef0ea;font-size:.7rem;color:#6f7d72}.canvas-footer button{font-size:.7rem;padding:.4rem .6rem}.consent{margin:1.4rem 0 1rem;font-size:.83rem;line-height:1.6}.consent label{font-weight:600}.consent p{font-size:.75rem;color:#6b796e;margin:.6rem 0 0 1.8rem;max-width:660px}.action-row{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem}.action-row>span{font-size:.72rem;color:#6c7b70}.primary{background:#193e42;color:#fff;padding:.8rem 1.5rem;border-color:#193e42}.primary:not(:disabled):hover{background:#2a5655}.results{padding:1.2rem;min-height:145px}.results>h2{margin-bottom:.8rem}.muted{color:#738076;font-size:.82rem;line-height:1.6}.arabic,[lang=ar]{font-family:Noto Naskh Arabic,serif}.arabic{font-size:2.7rem;padding:.5rem 0;text-align:right}.results li{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef0ea;padding:.4rem 0}.results li b{font-size:1.6rem;font-weight:400}.results small{color:#768278}.error{color:#a13d2a;background:#fff4ed;padding:.8rem;border-radius:10px;font-size:.85rem}.settings{margin-top:1rem;padding:1rem 1.2rem;font-size:.85rem}.settings summary{cursor:pointer;font-weight:650;min-height:28px}.settings label{display:flex;align-items:center;gap:.7rem;margin-top:1rem;flex-wrap:wrap}.settings input[type=number]{max-width:110px;border:1px solid #bdcec1;border-radius:8px;padding:.45rem}footer{margin:2rem 0 0;font-size:.7rem;color:#7c877d;line-height:1.8}.learning-shell{max-width:960px;margin:auto;padding:24px 20px 56px}.learning-shell>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.learning-nav{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0;padding:8px;background:#e9eee6;border:1px solid #d3ddd0;border-radius:14px}.learning-nav a{min-height:44px;padding:12px 14px;border-radius:9px;font-size:.83rem;font-weight:650;color:#193e42;text-decoration:none}.learning-nav a[aria-current=page]{background:#193e42;color:#fff}.learning-shell h1{font-size:clamp(2rem,5vw,3.2rem);margin-top:28px}.learning-shell p{line-height:1.65;margin:10px 0}.learning-shell main>.panel,.learning-shell .home-actions{margin:18px 0}.learning-shell main>.panel:not(:has(canvas)){padding:20px}.learning-shell main>a,.learning-shell .panel>a{display:inline-flex;align-items:center;min-height:44px;margin:8px 8px 8px 0;color:#235b51;text-decoration:underline}.learning-shell a.primary{display:flex;justify-content:center;color:#fff;text-decoration:none;border-radius:12px;min-height:52px;align-items:center}.button-row{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.alphabet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.letter-card{background:#fff;border:1px solid #d4ded3;border-radius:14px;min-width:0;padding:12px 8px;text-align:center}.letter-card.selected{border:2px solid #235b51;background:#edf4ec;padding:11px 7px}.letter-card label{display:flex;align-items:center;flex-direction:column;cursor:pointer;min-height:130px}.letter-card .arabic{text-align:center;font-size:2.8rem;line-height:1.3}.letter-card small{font-size:.72rem}.letter-card button{font-size:.7rem;padding:5px;margin-top:8px;width:100%;overflow-wrap:anywhere}.forms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px;text-align:center}.forms svg{display:block;width:100%}.forms text{font-size:48px}.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home-actions a{display:flex;align-items:center;justify-content:center;min-height:64px;padding:14px;background:#fff;border:1px solid #cad8c9;border-radius:12px;font-weight:600;text-decoration:none;text-align:center}.home-actions .primary{background:#193e42;color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.stats-grid p{background:#edf2e9;border-radius:10px;padding:14px;font-weight:600}.learning-shell select,.learning-shell input:not([type=checkbox]),.learning-shell input:not([type]){min-height:44px;border:1px solid #bdcec1;padding:8px;border-radius:8px;max-width:100%}.learning-shell .settings label{min-height:44px}.prompt{text-align:center}.prompt .latin{font-size:2rem;font-weight:650}.prompt .arabic{text-align:center;font-size:3.1rem}.learning-shell .consent{display:block;min-height:44px}.feedback:empty{display:none}.feedback.correct{background:#e8f5e9;border:2px solid #28703a;color:#18572a}.feedback.incorrect{background:#fff3e9;border-color:#a2542a}.feedback.uncertain,.feedback.unavailable{background:#fff4dc;border-color:#b38c4c}.learning-shell details{padding:12px 0;overflow-wrap:anywhere}.learning-shell summary{cursor:pointer;min-height:44px}.learning-shell li{margin:8px 0;overflow-wrap:anywhere}.learning-shell *{min-width:0}.learning-shell [lang=ar]{letter-spacing:0}@media(min-width:700px){.alphabet-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:420px){.learning-shell{padding:18px 14px 40px}.learning-shell>header .badge{max-width:120px;text-align:center}.learning-nav{gap:3px}.learning-nav a{padding:12px 9px}.alphabet-grid{gap:7px}.home-actions{grid-template-columns:1fr}.learning-shell .button-row button{flex:1 1 auto}.learning-shell .button-row .primary{width:auto}.letter-card label{min-height:118px}}@media(max-width:420px){.canvas-footer,.action-row{align-items:flex-start;flex-direction:column}.primary{width:100%}.badge{font-size:.49rem}.intro{margin-top:2rem}}.learning-shell{max-width:920px;padding:20px 24px 40px;position:relative}.learning-shell:before{content:"";display:block;height:5px;border-radius:8px;margin-bottom:15px;background:linear-gradient(90deg,var(--turquoise) 0 42%,var(--saffron) 42% 61%,var(--terracotta) 61% 83%,var(--indigo) 83%)}.learning-shell>header{min-height:52px;gap:8px}.learning-shell .brand{font-size:1.65rem;gap:9px;color:var(--indigo)}.learning-shell .brand .brand-mark{font:700 2.3rem/1 system-ui,sans-serif;color:var(--terracotta);letter-spacing:-.2em;padding-right:7px}.secondary-nav{display:flex;align-items:center;gap:6px;font-size:.85rem}.secondary-nav>a,.secondary-nav summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;border-radius:12px;color:var(--indigo);font-weight:650;text-decoration:none}.secondary-nav>a:hover,.secondary-nav summary:hover{background:#eadfce}.secondary-nav>a[aria-current=page]{background:#d3ece6;color:#125450}.learning-shell details.more-menu{position:relative;padding:0;overflow:visible}.more-menu summary{cursor:pointer;list-style:none;border:1px solid #cbbda8}.more-menu summary::-webkit-details-marker{display:none}.more-menu summary:after{content:"+";padding-left:7px;color:var(--terracotta)}.more-menu[open] summary:after{content:"−"}.more-links{position:absolute;z-index:5;right:0;top:calc(100% + 8px);width:230px;padding:8px;border:1px solid #cbbda8;border-radius:15px;box-shadow:0 12px 30px #37375e20;background:var(--ivory)}.more-links a,.more-links button{display:flex;align-items:center;width:100%;min-height:44px;padding:9px 12px;color:var(--indigo);text-decoration:none;font:inherit;font-weight:600;border:0;background:transparent;border-radius:8px}.more-links a:hover,.more-links button:hover{background:#d7ece7}.learning-shell main.feed{max-width:720px;margin:0 auto}.learning-shell h1.feed-title{font-size:.8rem;letter-spacing:.05em;font-weight:650;color:#625849;margin:24px 0 8px;text-align:center}.learning-shell .feed>.prompt{position:relative;background:var(--ivory);border-color:#dfc9a6;border-radius:18px;padding:12px 40px;margin:8px 0 14px;box-shadow:none}.feed>.prompt:before,.feed>.prompt:after{content:"";position:absolute;width:18px;height:18px;top:50%;border:1px solid #be7c54;transform:translateY(-50%) rotate(45deg);box-shadow:5px -5px 0 -1px var(--ivory),5px -5px #d5b37d}.feed>.prompt:before{left:17px}.feed>.prompt:after{right:20px}.learning-shell .prompt .latin{font-size:clamp(2rem,6vw,2.65rem);color:var(--indigo);line-height:1.15;letter-spacing:-.03em;margin:4px 0}.learning-shell .prompt>p:last-child{margin:4px 0;color:#65503d}.learning-shell .feed>.panel:has(canvas){border:2px solid #349394;border-radius:20px;margin:0 0 12px;box-shadow:0 5px #087e8210}.feed canvas{height:auto;aspect-ratio:8/5}.feed .canvas-footer{flex-direction:row;align-items:center;padding:6px 10px;background:#fffdf7;color:#5e675e}.feed .canvas-footer .button-row{margin:0;gap:6px}.feed .canvas-footer button{font-size:.72rem;padding:7px 9px;border-color:#d5cbb9}.feed>.button-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;margin:12px 0 8px}.learning-shell button{border-color:#c4b99f;color:#374146;border-radius:12px;font-size:.85rem}.learning-shell button:disabled{opacity:1;background:#e5e0d5;color:#655f57;border-color:#c5bdaf}.learning-shell .primary{background:var(--turquoise);color:#fff;border-color:var(--turquoise)}.learning-shell .primary:not(:disabled):hover{background:#086166}.feed>.button-row>button:nth-child(2){background:#ffedbf;color:#6f4b0c;border-color:#d5ac54}.feed>.button-row>button:last-child{background:#fae2d5;color:#87412c;border-color:#d6a18b}.learning-shell .recognition-consent{font-size:.77rem;color:#5c564d}.learning-shell .consent{display:flex;gap:7px;align-items:center;line-height:1.5;margin:8px 0;padding:7px 2px;min-height:44px}.learning-shell .consent input{flex-shrink:0;margin-right:0;accent-color:var(--turquoise)}.learning-shell details.consent-summary{padding:0}.consent-summary summary{display:flex;align-items:center;min-height:44px;cursor:pointer}.consent-summary summary:after{content:" · modifier";color:#09666b;margin-left:4px;text-decoration:underline}.learning-shell .feedback{font-size:.88rem}.learning-shell .feedback h2{margin:0}.learning-shell .feedback p{margin:5px 0}.learning-shell .feedback b[lang=ar]{font-size:1.7rem}.learning-shell .muted{color:#5f6059}.learning-shell>footer{max-width:720px;margin:16px auto 0;padding-top:4px;border-top:1px solid #dfcfb6;color:#655c50;font-size:.75rem}.learning-shell>footer details{padding:0}.learning-shell>footer summary{display:flex;align-items:center}.learning-shell a:not(.brand):not(.primary){text-underline-offset:3px}.learning-shell>footer a{color:#09666b}.word-count{color:#155b60;font-weight:650}.letter-card.selected{background:#dff1e9;border-color:var(--turquoise)}.stats-grid p{background:#f6e4be;color:#52412d}@media(max-width:420px){.learning-shell{padding:12px 14px 24px}.learning-shell:before{margin-bottom:8px;height:4px}.learning-shell .brand{font-size:1.35rem;gap:6px}.learning-shell .brand span[lang=ar]{font-size:1.5rem}.learning-shell .brand .brand-mark{font-size:1.9rem;padding-right:3px}.secondary-nav{gap:4px;font-size:.78rem}.secondary-nav>a,.secondary-nav summary{padding:9px 10px}.learning-shell h1.feed-title{margin-top:15px}.learning-shell .feed>.prompt{padding:10px 38px;margin-bottom:12px}.feed canvas{height:auto;aspect-ratio:8/5}.learning-shell .feed>.button-row button{padding:11px 7px;min-height:48px;font-size:.82rem}.feed .canvas-footer{gap:4px;padding:5px 8px}.feed .canvas-footer button{font-size:.68rem;padding:6px}}.learning-shell:has(>main.feed){height:100dvh;min-height:0;display:flex;flex-direction:column;padding:max(6px,env(safe-area-inset-top)) 12px max(4px,env(safe-area-inset-bottom))}.learning-shell:has(>main.feed):before{flex:0 0 3px;margin-bottom:3px}.learning-shell:has(>main.feed)>header{flex:0 0 auto;min-height:44px}.learning-shell main.feed{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;gap:5px}.learning-shell .feed>*{flex-shrink:0}.learning-shell h1.feed-title{margin:3px 0;line-height:1.2}.learning-shell .feed>.prompt{margin:0;padding:5px 35px}.learning-shell .feed .prompt .latin{font-size:clamp(1.5rem,6vw,2rem);margin:0}.learning-shell .feed .prompt>p{margin:0;line-height:1.3}.feed .compact-answer{display:flex;justify-content:center;align-items:center;gap:12px}.feed .compact-answer .arabic{font-size:32px;line-height:1.35;margin:0;padding:0}.feed .compact-answer button{min-height:44px;padding:5px 10px}.learning-shell .feed>.panel.ink-panel{display:flex;flex-direction:column;flex:1;min-height:80px;margin:0;overflow:visible;background:#fff}.feed .ink-surface{flex:1;min-height:24px;container-type:size;display:flex;align-items:center;justify-content:center}.feed .ink-surface canvas{width:min(100cqw,160cqh);height:auto;aspect-ratio:8/5;outline:1px solid #d7d1c3}.feed .ink-surface{background:#f2f0e9;border-radius:18px 18px 0 0}.feed .canvas-footer{flex-shrink:0;padding:3px 6px;border-radius:0 0 18px 18px}.feed .canvas-footer button{min-height:44px}.learning-shell .feed>.button-row{margin:0;gap:6px}.learning-shell .feed>.button-row button{min-height:44px;padding:6px}.learning-shell .feed .recognition-consent{font-size:.7rem}.learning-shell .feed .consent{margin:0;padding:0;line-height:1.3}.learning-shell .feed .feedback:not(:empty){margin:0;padding:5px 8px;line-height:1.3}.learning-shell .feed .feedback h2{font-size:.8rem;line-height:1.3}.learning-shell .feed .feedback p{margin:2px 0;line-height:1.3}.learning-shell .feed>[role=alert]{margin:0;font-size:.72rem;line-height:1.25}.learning-shell:has(>main.feed)>footer{width:100%;flex-shrink:0;margin:2px auto 0;padding:0;font-size:.65rem}.learning-shell:has(>main.feed)>footer summary{min-height:44px}.learning-shell:has(>main.feed) #infos[open]{position:fixed;z-index:40;inset:5dvh 12px auto;margin:0 auto;max-width:680px;max-height:90dvh;overflow:auto;padding:12px 16px;background:var(--ivory);border:2px solid var(--turquoise);border-radius:16px;box-shadow:0 0 0 100vmax #283b3e88;font-size:.85rem}.feed .consent-summary[open]{position:fixed;z-index:35;inset:5dvh 12px auto;margin:0 auto;max-width:680px;max-height:90dvh;overflow:auto;padding:12px 16px;background:var(--ivory);border:2px solid var(--turquoise);border-radius:16px;box-shadow:0 0 0 100vmax #283b3e88}.learning-shell:has(>main.feed) .more-links{position:fixed;top:60px;right:max(12px,calc((100vw - 896px)/2));max-height:calc(100dvh - 72px);overflow:auto;z-index:30}.word-dialog{position:fixed;z-index:50;inset:5dvh 12px auto;margin:0 auto;width:calc(100% - 24px);max-width:680px;min-height:0;max-height:90dvh;overflow:auto;padding:16px;background:var(--ivory);color:#283b3e;border:2px solid var(--turquoise);border-radius:16px;box-shadow:0 0 0 100vmax #283b3e88;overflow-wrap:anywhere}.word-dialog::backdrop{background:#283b3e88}.word-dialog button{min-height:44px}@media(orientation:landscape)and (max-height:500px)and (min-width:600px){.learning-shell main.feed{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-rows:auto minmax(0,1fr) auto auto;gap:4px 12px}.learning-shell .feed>.feed-title{grid-column:1;grid-row:1}.learning-shell .feed>.prompt{grid-column:1;grid-row:2;align-self:center}.learning-shell .feed>.ink-panel{grid-column:2;grid-row:1 / 4;height:100%}.learning-shell .feed>.button-row{grid-column:2;grid-row:4}.learning-shell .feed>.recognition-consent{grid-column:1;grid-row:3}.learning-shell .feed>.feedback{grid-column:1;grid-row:4}.learning-shell .feed>[role=alert]{grid-column:1 / -1}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.public-shell .letters-button{background:var(--saffron);border:2px solid var(--terracotta);color:#4b321d;display:flex;align-items:center;gap:5px}.public-shell .exercise-actions{grid-template-columns:1fr 1fr}.public-shell>footer{display:flex;justify-content:center;gap:12px}.public-shell>footer button{background:transparent;border:0;text-decoration:underline;padding:4px 10px}.public-shell .privacy-notice{font-size:.65rem;margin:0;text-align:center;line-height:1.2}.public-dialog{position:fixed;z-index:60;inset:5dvh 12px auto;width:calc(100% - 24px);max-width:680px;max-height:90dvh;overflow:auto;margin:0 auto;padding:16px;color:#283b3e;background:var(--ivory);border:2px solid var(--turquoise);border-radius:16px;overflow-wrap:anywhere;overscroll-behavior:contain}.public-dialog::backdrop{background:#283b3e99}.public-dialog .dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;position:sticky;top:-16px;background:var(--ivory);z-index:1;padding:4px 0}.public-dialog>.button-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.public-dialog label{display:block;padding:10px 0}.public-dialog .alphabet-grid{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.public-dialog .letter-card{display:flex;flex-direction:column;align-items:center;padding:10px}.public-dialog .letter-card>label{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:4px 0;cursor:pointer}.public-dialog .letter-card>button{width:100%;min-height:44px;padding:4px;font-size:.75rem}.public-dialog .letter-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.public-dialog .letter-forms>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 6px;border:1px solid #d5cbb9;border-radius:12px;text-align:center;min-height:100px;font-size:.8rem}.public-dialog .letter-forms .arabic{font-size:3rem;line-height:1.3}.public-shell .canvas-footer{justify-content:flex-end}.public-result{position:relative;border-left:3px solid var(--turquoise);padding:3px 8px;font-size:.8rem;background:#fff9ef}.public-result>p{padding-right:60px}.public-result p{margin:0;line-height:1.35}.public-result .arabic{font-size:28px;line-height:1.2}.public-result .button-row{display:flex;flex-wrap:nowrap;gap:6px;margin:3px 0 0}.public-result button{flex:1;padding:5px;font-size:.75rem;min-height:44px}.public-shell .feed>[role=status]{font-size:.72rem;line-height:1.25;margin:0}@media(orientation:landscape)and (max-height:500px)and (min-width:600px){.public-shell main.feed{grid-template-rows:auto auto minmax(0,1fr) auto}.public-shell .feed>.prompt{grid-row:2}.public-shell .feed>.public-result{grid-column:1;grid-row:3;overflow:auto;min-height:0}.public-shell .feed>[role=status]{grid-column:1;grid-row:4}}:root{--u: min(calc(100vw / 910), calc(100dvh / 1728));font-family:Arial,Helvetica,sans-serif}.public-shell.learning-shell:has(>main.feed){width:100%;max-width:none;height:100dvh;padding:0;margin:0;display:grid;grid-template-rows:calc(100dvh * 227 / 1728) minmax(0,1fr) calc(100dvh * 133 / 1728);gap:0}.public-shell.learning-shell:before{display:none}.public-shell.learning-shell>header{width:100%;min-height:0;display:flex;align-items:center;justify-content:center;padding:0}.public-shell .banner-content{width:min(100%,1100px);height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 clamp(20px,4vw,48px)}.public-shell.learning-shell .brand{display:flex;flex-direction:column;align-items:center;gap:2px;line-height:.95;font-family:Cormorant Garamond,Georgia,serif;font-size:max(30px,calc(var(--u) * 82));font-weight:600;min-height:44px;letter-spacing:-.045em;white-space:nowrap;text-decoration:none}.public-shell.learning-shell .brand span{font-family:Noto Naskh Arabic,serif;font-size:max(25px,calc(var(--u) * 66));line-height:1.1;font-weight:400;letter-spacing:0}.public-shell button{cursor:pointer;font-family:inherit;font-weight:500;transition:background-color .16s,border-color .16s}.public-shell .letters-button{flex-shrink:0;min-height:44px;height:calc(var(--u) * 78);width:max(90px,calc(var(--u) * 232));padding:6px 12px;border:1px solid;border-radius:max(10px,calc(var(--u) * 24));font-size:max(14px,calc(var(--u) * 32))}.public-shell.learning-shell main.feed{display:flex;flex-direction:column;width:min(100%,calc(var(--u) * 910));max-width:none;height:100%;min-height:0;margin:0 auto;gap:0;position:relative}.public-shell .feed>.exercise-card{flex:1;min-height:0;width:100%;display:grid;grid-template-rows:minmax(0,361fr) minmax(0,526fr) minmax(0,481fr);overflow:visible;border:0;border-radius:0;box-shadow:none}.public-shell .exercise-card>.prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;height:100%;padding:0 10px;border:0}.public-shell .exercise-card .exercise-eyebrow{margin:0 0 calc(var(--u) * 18);font-size:max(10px,calc(var(--u) * 32));font-weight:500;line-height:1.4;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap}.public-shell.learning-shell .exercise-card .latin{font-family:Georgia,Times New Roman,serif;font-size:max(24px,min(calc(var(--u) * 140),calc(var(--u) * 1350 / var(--word-chars, 3))));font-weight:400;line-height:1.05;letter-spacing:-.035em;margin:0;text-align:center;overflow-wrap:anywhere}.public-shell .exercise-card .translation{margin:calc(var(--u) * 12) 0 0;font-size:max(14px,calc(var(--u) * 50));line-height:1.2;text-align:center}.public-shell .exercise-card .ink-panel{display:flex;min-height:0;border:0;border-radius:0;box-shadow:none;overflow:visible;margin:0}.public-shell .exercise-card .ink-surface{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;container-type:size;border-radius:0}.public-shell .exercise-card .ink-frame{position:relative;width:min(calc(var(--u) * 846),100cqw,160cqh);aspect-ratio:8/5}.public-shell .exercise-card canvas{display:block;width:100%;height:auto;aspect-ratio:8/5;outline:max(1px,calc(var(--u) * 2)) solid;border-radius:max(10px,calc(var(--u) * 24));cursor:crosshair}.public-shell .ink-guide{position:absolute;z-index:1;top:53.4%;left:3%;width:94%;height:max(1px,calc(var(--u) * 2));color:#bd9b80;pointer-events:none}.public-shell .ink-placeholder{position:absolute;z-index:1;top:34%;left:10%;width:80%;text-align:center;font-size:max(11px,calc(var(--u) * 24));pointer-events:none}.public-shell .exercise-card .canvas-footer{position:absolute;z-index:2;right:max(8px,calc(var(--u) * 36));bottom:max(8px,calc(var(--u) * 30));padding:0;border:0}.public-shell .exercise-card .canvas-footer .button-row{margin:0;gap:max(8px,calc(var(--u) * 24));display:flex;flex-wrap:nowrap}.public-shell .exercise-card .canvas-footer button{width:max(44px,calc(var(--u) * 94));height:max(44px,calc(var(--u) * 94));min-height:44px;padding:10px;display:flex;align-items:center;justify-content:center;border:max(1px,calc(var(--u) * 2)) solid;border-radius:50%}.public-shell .canvas-footer svg{display:block;width:max(20px,calc(var(--u) * 48));height:max(20px,calc(var(--u) * 48))}.public-shell .action-slot{position:relative;width:min(calc(var(--u) * 846),100%);height:100%;min-height:0;margin:0 auto;padding:0}.public-shell .action-slot>.exercise-actions{position:absolute;left:0;right:0;bottom:calc(var(--u) * 70);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(var(--u) * 20);margin:0;padding:0}.public-shell .exercise-actions>.primary{grid-column:2;grid-row:1}.public-shell .exercise-actions>button:last-child{grid-column:1;grid-row:1}.public-shell .exercise-card .public-result{position:relative;display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0}.public-shell .comparison-grid{position:absolute;top:calc(var(--u) * 50);bottom:calc(var(--u) * 70 + max(44px,var(--u) * 118) + max(4px,var(--u) * 12));left:0;right:0}.public-shell .comparison-grid>p{margin:0;padding:0;text-align:center;height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:max(4px,calc(var(--u) * 12))}.public-shell .comparison-label{display:block;font-size:max(14px,calc(var(--u) * 40));line-height:1.4}.public-shell .expected-answer-frame{min-width:0;min-height:0;container-type:size;display:grid;place-items:center}.public-shell .comparison-grid .arabic{display:block;width:100%;text-align:center;padding:0;font-size:min(max(34px,calc(var(--u) * 128)),50cqh,calc(100cqw / var(--answer-letters, 1)));font-weight:700;line-height:2;white-space:nowrap;overflow-wrap:normal}.public-shell .public-result>.button-row{position:absolute;left:0;right:0;bottom:calc(var(--u) * 70);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(var(--u) * 20);margin:0}.public-shell .exercise-actions>button,.public-shell .public-result .button-row>button{min-height:44px;height:max(44px,calc(var(--u) * 118));padding:4px max(8px,calc(var(--u) * 24));border:1px solid;border-radius:max(8px,calc(var(--u) * 18));font-size:max(12px,calc(var(--u) * 36));font-weight:600;line-height:1.3}.public-shell .public-result button:disabled{opacity:.65}.public-shell :focus-visible{outline:3px solid #c88a50;outline-offset:3px}.public-shell.learning-shell:has(>main.feed)>footer{width:min(calc(var(--u) * 846),calc(100% - 24px));max-width:none;height:100%;margin:0 auto;padding:0;display:flex;justify-content:center;align-items:center;gap:calc(var(--u) * 80);border-top:1px solid}.public-shell>footer button{min-height:44px;border:0;padding:4px 8px;border-radius:8px;font-size:max(12px,calc(var(--u) * 32));text-decoration:none}.public-shell .exercise-notice{position:fixed;z-index:8;bottom:calc(100dvh * 133 / 1728);left:50%;transform:translate(-50%);width:min(90vw,700px);max-height:48px;overflow:auto;margin:0;text-align:center;font-size:.72rem}.public-shell .exercise-notice:empty{display:none}.public-shell .feed>button{position:absolute;z-index:10;bottom:0;left:50%;transform:translate(-50%)}.public-shell .privacy-notice{position:fixed;z-index:30;bottom:2px;left:10px;right:10px;margin:0;font-size:.72rem;text-align:center}.public-shell .public-dialog{border:1px solid;border-radius:16px;padding:22px;box-shadow:0 20px 70px #50321f20}.public-shell .public-dialog .dialog-heading{top:-22px;padding:8px 0}.public-shell .public-dialog h2{font:400 1.4rem/1.3 Georgia,serif}.public-shell .public-dialog .dialog-heading>button{min-height:44px;font-size:.8rem;border:1px solid;border-radius:10px}.public-shell .public-dialog>.button-row>button{min-height:48px;font-size:.85rem;border:1px solid;border-radius:10px}.public-shell .public-dialog .letter-card{border-radius:10px}.public-shell .public-dialog .dialog-intro{font-size:.94rem;line-height:1.65;margin:14px 0 18px}.public-shell .privacy-option{border-bottom:1px solid #d5bba4;padding:6px 0 10px}.public-shell .privacy-option label{display:flex;align-items:flex-start;gap:10px;padding:6px 0;font-size:.84rem;line-height:1.45;font-weight:600}.public-shell .privacy-option input{flex:0 0 18px;margin:2px 0 0}.public-shell .public-dialog .privacy-option p{margin:0 0 0 28px;font-size:.78rem;line-height:1.6}.public-shell .privacy-data{padding:4px 0;font-size:.8rem}.public-shell .privacy-data ul{padding-left:20px;margin:8px 0}.public-shell .privacy-data li{margin:4px 0;line-height:1.5}.public-shell .public-dialog>.privacy-actions{position:sticky;bottom:-22px;background:var(--art-paper);border-top:1px solid #d5bba4;padding:12px 0 10px;margin-bottom:-12px;z-index:2}.public-shell .public-dialog .privacy-help{font-size:.75rem;line-height:1.6}.public-shell .lexical-credit{border-top:1px solid #d5bba4;margin-top:18px;font-size:.8rem}.public-shell .lexical-credit summary{font-weight:500}.public-shell .lexical-credit p{font-size:.78rem;line-height:1.65}@media(orientation:landscape)and (max-height:500px){.public-shell.learning-shell:has(>main.feed){grid-template-rows:64px minmax(0,1fr) 45px}.public-shell .banner-content{width:min(100%,760px)}.public-shell.learning-shell main.feed{width:min(100%,760px)}.public-shell .feed>.exercise-card{grid-template-rows:60px minmax(0,1fr) 104px}.public-shell .exercise-card .exercise-eyebrow{font-size:10px;margin-bottom:0}.public-shell.learning-shell .exercise-card .latin{font-size:30px}.public-shell .exercise-card .translation{font-size:13px;margin-top:0}.public-shell .exercise-card .ink-frame{width:min(calc(100cqw - 24px),160cqh)}.public-shell .action-slot{width:min(90%,550px)}.public-shell .comparison-grid{top:0;bottom:52px}.public-shell .comparison-label{font-size:12px;line-height:1.2}.public-shell .comparison-grid .arabic{font-size:min(30px,50cqh,calc(100cqw / var(--answer-letters, 1)))}.public-shell .action-slot>.exercise-actions,.public-shell .public-result>.button-row{bottom:4px;gap:10px}.public-shell .exercise-actions>button,.public-shell .public-result .button-row>button{height:44px;font-size:13px}.public-shell.learning-shell:has(>main.feed)>footer{width:min(90%,700px)}.public-shell .exercise-notice{bottom:44px}}.public-shell .exercise-actions>button:last-child,.public-shell .exercise-card .canvas-footer button,.public-shell .dialog-close,.public-shell .letter-back{transition:border-color .16s}.public-shell button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.public-shell .letters-button{display:flex;align-items:center;justify-content:center;text-align:center}.public-shell .public-dialog .dialog-heading>.dialog-close{width:44px;height:44px;min-width:44px;display:inline-flex;justify-content:center;align-items:center;padding:10px;border:0;border-radius:50%}.public-shell .dialog-close svg{width:24px;height:24px}.public-shell .letters-dialog .letter-card{padding:0;border:0;gap:8px}.public-shell .letters-dialog .letter-card>.letter-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:118px;margin:0;padding:10px 6px;gap:4px;font-size:.85rem;border:1px solid;border-radius:10px}.public-shell .letters-dialog .letter-card>button{margin-top:0}.public-shell .letters-dialog>.button-row>button{border-radius:10px}.public-shell .feed>.empty-letters{flex:1;min-height:0;display:grid;place-items:center;padding:16px}.public-shell .empty-letters-card{width:min(100%,400px);padding:28px 20px;text-align:center;border:1px solid var(--art-line);border-radius:20px;background:#fbf6ee;box-shadow:0 8px 28px #472a1c08}.public-shell .empty-letters-symbol{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:20px}.public-shell .empty-letters-symbol>span{display:grid;place-items:center;width:46px;height:52px;border:1px solid #d5bba4;border-radius:10px;color:var(--art-header);background:var(--art-paper);font:700 2rem/1.3 Noto Naskh Arabic,serif}.public-shell .empty-letters-card h2{margin:0 0 12px;font:400 clamp(1.6rem,5vw,2rem)/1.2 Georgia,serif;color:var(--art-header);letter-spacing:-.025em}.public-shell .empty-letters-card p{margin:0 auto 24px;max-width:32ch;font-size:.9375rem;line-height:1.65;color:#72533e}.public-shell .empty-letters-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;max-width:100%;padding:12px 18px;border:1px solid var(--art-line);border-radius:10px;background:var(--art-paper);color:var(--art-header);font-size:.9375rem;font-weight:600}.public-shell .empty-letters-action>svg{width:18px;height:18px}.public-shell .empty-letters-action:not(:disabled):hover,.public-shell .empty-letters-action:active{background:#e7dcc7}@media(orientation:landscape)and (max-height:500px){.public-shell .empty-letters-card{padding:12px 16px}.public-shell .empty-letters-symbol{display:none}.public-shell .empty-letters-card h2{font-size:1.4rem;margin-bottom:6px}.public-shell .empty-letters-card p{margin-bottom:10px;font-size:.85rem}}@media(prefers-reduced-motion:reduce){.public-shell button{transition:none}}:root{--art-sand: #f4e9d9;--art-paper: #f4e9d9;--art-header: #472a1c;--art-success: #294a3a;--art-error: #ac5035;--art-ink: #4b260f;--art-line: #b59173;--turquoise: var(--art-success);--ivory: var(--art-paper);color:var(--art-ink);background:var(--art-paper)}.public-shell.learning-shell>header{background-color:var(--art-header);background-image:none}.public-shell.learning-shell .brand{color:#fffaf0;text-shadow:none}.public-shell.learning-shell .brand span{color:#fffaf0}.public-shell .letters-button{color:#472a1c;background:var(--art-paper);border-color:var(--art-paper);box-shadow:none}.public-shell .letters-button:not(:disabled):hover{background:#ead9c4}.public-shell .feed>.exercise-card,.public-shell .exercise-card>.prompt,.public-shell .exercise-card .ink-panel,.public-shell .exercise-card .ink-surface{background:var(--art-paper)}.public-shell .exercise-card .exercise-eyebrow{color:#63391f}.public-shell.learning-shell .exercise-card .latin{color:#4b230c}.public-shell .exercise-card .translation{color:#7d5d48}.public-shell .exercise-card canvas{background:#fbf6ee;outline-color:var(--art-line)}.public-shell .ink-placeholder{color:#80644e}.public-shell .exercise-card .canvas-footer{background:transparent}.public-shell .exercise-card .canvas-footer button{background:#f4e9d9;border-color:var(--art-line);color:#321a0d;box-shadow:none}.public-shell .exercise-card .canvas-footer button:disabled{background:#fbf6eeb0;border-color:#c3a58a;color:#a68a72}.public-shell .exercise-card .canvas-footer button:not(:disabled):hover{background:#f4e9d9}.public-shell .primary,.public-shell .exercise-actions>.primary{background:var(--art-success);color:#fffaf0;border-color:var(--art-success);box-shadow:none}.public-shell .primary:not(:disabled):hover,.public-shell .exercise-actions>.primary:not(:disabled):hover{background:#1c382b}.public-shell .exercise-actions>button:last-child{background:#f4e9d9;color:#4b260f;border-color:var(--art-line)}.public-shell .exercise-actions>button:last-child:hover{background:#f4e9d9}.public-shell .exercise-actions>.primary:disabled{background:var(--art-success);color:#fffaf0;border-color:var(--art-success)}.public-shell .exercise-card .public-result{background:transparent}.public-shell .comparison-label{color:#806149}.public-shell .comparison-grid .arabic{color:#4b230c}.public-shell .public-result .button-row .self-report-correct{background:var(--art-success);color:#fffaf0;border-color:var(--art-success)}.public-shell .public-result .button-row .self-report-incorrect{background:var(--art-error);color:#fffaf0;border-color:var(--art-error)}.public-shell .public-result .self-report-correct:not(:disabled):hover{background:#1c382b}.public-shell .public-result .self-report-incorrect:not(:disabled):hover{background:#913f29}.public-shell>footer{border-top-color:var(--art-line)}.public-shell>footer button{color:#4b260f;background:transparent}.public-shell>footer button:hover{background:#e9d6bf}.public-shell .exercise-notice,.public-shell .privacy-notice{color:#4b260f;background:#f4e9d9ed}.public-shell .public-dialog{background:var(--art-paper);border-color:var(--art-line)}.public-shell .public-dialog::backdrop{background:#3f291d70}.public-shell .public-dialog .dialog-heading{background:var(--art-paper)}.public-shell .public-dialog h2,.public-shell .public-dialog h3{color:#4b260f}.public-shell .public-dialog p{color:#72533e}.public-shell .public-dialog a{color:#88472e}.public-shell .public-dialog button{border-color:var(--art-line)}.public-shell .public-dialog .letter-card{background:#fbf6ee;border-color:#d1b699}.public-shell .public-dialog .letter-forms>div{background:#fbf6ee;border-color:#d1b699}.public-shell .letters-dialog .letter-card{background:transparent;border-color:transparent}.public-shell .letters-dialog button,.public-shell .letters-dialog .letter-toggle[aria-pressed=false]{background:var(--art-paper);color:var(--art-header);border-color:var(--art-line)}.public-shell .letters-dialog .letter-toggle[aria-pressed=true]{background:#e7dcc7;color:var(--art-header);border-color:var(--art-line)}.public-shell .public-dialog .dialog-heading>.dialog-close{background:var(--art-paper);color:var(--art-header);border-color:transparent}@media(hover:hover)and (pointer:fine){.public-shell .letters-dialog button:not(:disabled):hover{background:#ead9c4}.public-shell .letters-dialog .letter-toggle[aria-pressed=false]:hover{background:var(--art-paper)}.public-shell .letters-dialog .letter-toggle[aria-pressed=true]:hover{background:#e7dcc7}.public-shell .public-dialog .dialog-heading>.dialog-close:hover,.public-shell .letters-dialog .letter-back:not(:disabled):hover{background:var(--art-paper)}}.public-shell .exercise-actions>button:last-child:not(:disabled):active,.public-shell .exercise-card .canvas-footer button:not(:disabled):active,.public-shell .public-dialog .dialog-heading>.dialog-close:not(:disabled):active,.public-shell .letters-dialog .letter-back:not(:disabled):active{background:#e7dcc7}.public-shell input[type=checkbox]{accent-color:var(--art-success)}.public-shell .public-dialog.public-dialog--sheet{--sheet-border: #b59173;position:fixed;--sheet-top: calc(100dvh * 227 / 1728);inset:var(--sheet-top) 0 0;margin:0 auto;width:100vw;max-width:900px;height:calc(100dvh - var(--sheet-top));max-height:calc(100dvh - var(--sheet-top));box-sizing:border-box;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0;overflow:hidden;border:1px solid var(--sheet-border);border-bottom:0;border-radius:16px 16px 0 0;background:#f4e9d9;color:#472a1c;box-shadow:none}.public-shell .public-dialog--sheet[open]{display:flex;flex-direction:column;animation:letters-sheet-enter .18s ease-out}.public-shell .public-dialog--sheet .dialog-heading{position:relative;top:auto;flex:0 0 auto;margin:0 16px;padding:10px 0;border-bottom:1px solid var(--sheet-border);gap:14px}.public-shell .public-dialog--sheet .dialog-heading h2{margin:0;font:400 clamp(1.8rem,5.5vw,3rem)/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.035em}.public-shell .public-dialog--sheet .dialog-heading>.dialog-close{flex:0 0 44px;width:44px;height:44px;border:1px solid var(--sheet-border);border-radius:50%;background:#f4e9d9;color:#472a1c}.public-shell .public-dialog--sheet .sheet-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:12px 14px max(12px,env(safe-area-inset-bottom))}.public-shell .letters-dialog .letter-bulk-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}.public-shell .letters-dialog .letter-bulk-actions>button{min-height:44px;padding:8px 5px;border:1px solid var(--sheet-border);border-radius:12px;font-size:clamp(.78rem,2.8vw,1.1rem);line-height:1.3;background:#f4e9d9;color:#472a1c}.public-shell .letters-dialog .letter-bulk-actions>button[aria-pressed=true]{background:#e7dcc7;border-color:#8b765b}.public-shell .letters-dialog .alphabet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;margin:0}.public-shell .letters-dialog .letter-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;border:1px solid var(--sheet-border);border-radius:14px;background:#f4e9d9}.public-shell .letters-dialog .letter-card>.letter-toggle{position:relative;flex:1;width:100%;min-height:96px;margin:0;padding:12px 6px 6px;border:0;border-radius:0;gap:3px;font-size:1rem;line-height:1.3;overflow-wrap:normal}.public-shell .letters-dialog .arabic{padding:0}.public-shell .letters-dialog .letter-card .arabic{font-size:clamp(2.4rem,10vw,3.5rem);line-height:1.25}.public-shell .letters-dialog .letter-selection-mark{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:18px;height:18px;border:1px solid var(--sheet-border);border-radius:50%;background:#fbf6ee}.public-shell .letters-dialog [aria-pressed=true] .letter-selection-mark{color:#fbf6ee;background:#294a3a;border-color:#294a3a}.public-shell .letters-dialog .letter-selection-mark svg{width:18px;height:18px}.public-shell .letters-dialog .letter-card>.letter-detail-button{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:44px;margin:0;padding:8px 3px;border:0;border-top:1px solid var(--sheet-border);border-radius:0;font-size:clamp(.9rem,3vw,1.15rem);line-height:1.3;background:#f4e9d9}.public-shell .letters-dialog .letter-detail-button>span{font-size:1.5em;line-height:.8}.public-shell .letters-dialog .letter-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid var(--sheet-border);border-radius:12px;font-size:1rem}.public-shell .letters-dialog .letter-back svg{width:24px;height:24px;flex:0 0 24px}.public-shell .letters-dialog .letter-detail-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin:8px 0;font:400 clamp(2rem,7vw,3rem)/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.035em}.public-shell .letters-dialog .letter-detail-name [lang=ar]{font-family:Noto Naskh Arabic,serif}.public-shell .letters-dialog .letter-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.public-shell .letters-dialog .letter-forms>div{display:grid;grid-template-rows:auto 1fr;justify-items:center;align-items:center;min-height:80px;box-sizing:border-box;padding:6px;gap:2px;border:1px solid var(--sheet-border);border-radius:14px;background:#fbf6ee;font-size:1rem}.public-shell .letters-dialog .letter-forms strong{font-weight:700}.public-shell .letters-dialog .letter-forms .arabic{font-weight:700;font-size:2.5rem;line-height:1.1;color:#294a3a}.public-shell .letters-dialog .letter-forms>.letter-form-reused{background:#e7dcc7}.public-shell .letters-dialog .letter-forms .letter-form-note{margin:0;color:#72533e;font-size:.75rem;line-height:1.4;text-align:center}.public-shell .letters-dialog .letter-form-alternative{font-family:Noto Naskh Arabic,serif;font-size:1.15rem;font-weight:700;line-height:1}.public-shell .letters-dialog .letter-form-absent{color:#72533e;font-size:.9rem;line-height:1.4}.public-shell .letters-dialog .letter-detail-section{padding:12px 0;border-top:1px solid var(--sheet-border)}.public-shell .letters-dialog .letter-detail-section h3{text-align:center;margin:0 0 8px;font:400 clamp(1.25rem,4.6vw,1.7rem)/1.2 Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-.03em}.public-shell .letters-dialog .letter-detail-section p{margin:0;font-size:.9375rem;line-height:1.4}.public-shell .letters-dialog .letter-detail-section p+p{margin-top:4px}.public-shell .letters-dialog .letter-example .arabic{font-weight:700;font-size:2rem;line-height:1.25;color:#472a1c}.public-shell .letters-dialog button:focus-visible{outline:3px solid #294a3a;outline-offset:-4px}@media(max-width:380px){.public-shell .letters-dialog .letter-detail-section{padding-block:8px}}@media(min-width:700px){.public-shell .public-dialog--sheet .dialog-heading{margin-inline:24px;padding-block:12px}.public-shell .public-dialog--sheet .sheet-content{padding:14px 22px max(16px,env(safe-area-inset-bottom))}.public-shell .letters-dialog .alphabet-grid{gap:18px}.public-shell .letters-dialog .letter-card>.letter-toggle{min-height:100px}.public-shell .letters-dialog .letter-selection-mark{width:28px;height:28px;top:12px;right:12px}.public-shell .letters-dialog .letter-selection-mark svg{width:22px;height:22px}.public-shell .letters-dialog .letter-card>.letter-detail-button{min-height:44px}.public-shell .letters-dialog .letter-forms>div{min-height:86px}}.public-shell .public-dialog--sheet::backdrop{background:transparent;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none}@media(orientation:landscape)and (max-height:500px){.public-shell .public-dialog.public-dialog--sheet{--sheet-top: 64px}}.public-shell .public-dialog--sheet .dialog-heading h2{flex:1;min-width:0}.public-shell .public-dialog--sheet .dialog-heading .dialog-back-title{display:flex;align-items:center;gap:14px;width:100%;min-height:44px;margin:0;padding:2px 0;border:0;border-radius:8px;background:transparent;color:#472a1c;font:inherit;letter-spacing:inherit;text-align:left}.public-shell .public-dialog--sheet .dialog-heading .dialog-back-title:hover{background:transparent}.public-shell .public-dialog--sheet .dialog-heading .dialog-back-title:active{background:#e7dcc7}.public-shell .dialog-back-title>svg{flex:0 0 44px;width:44px;height:24px}.public-shell .dialog-title-label{display:flex;flex:1;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:8px;font-weight:700}.public-shell .dialog-title-label [lang=ar]{font-family:Noto Naskh Arabic,serif;letter-spacing:0}.public-shell .letters-dialog .letter-forms>.letter-form-unavailable{background:#e7dcc7}.public-shell .public-dialog--sheet .dialog-heading:has(.dialog-back-title){border-bottom:0}.public-shell:has(.public-dialog--sheet[open]):after{--banner-edge: calc(100dvh * 227 / 1728);--pattern-size: calc(var(--u) * 280);content:"";position:fixed;inset:var(--banner-edge) 0 0;z-index:40;pointer-events:none;background-color:var(--art-header);background-image:none;background-size:var(--pattern-size) var(--pattern-size);background-position:center calc((0px - var(--banner-edge) - var(--pattern-size)) / 2)}@media(orientation:landscape)and (max-height:500px){.public-shell:has(.public-dialog--sheet[open]):after{--banner-edge: 64px}}@keyframes letters-sheet-enter{0%{top:calc(var(--sheet-top) + 32px)}to{top:var(--sheet-top)}}@media(prefers-reduced-motion:reduce){.public-shell .public-dialog--sheet[open]{animation:none}}.public-shell{--banner-pattern-height: 320px;--banner-content-width: 1100px;--banner-inset: clamp(20px, 4vw, 48px);--banner-brand-width: max(76px, calc(var(--u) * 180));--banner-pattern-start: calc(max(0px, (100vw - var(--banner-content-width)) / 2) + var(--banner-inset) + var(--banner-brand-width) + 8px)}.public-shell .banner-content{width:min(100%,var(--banner-content-width));padding-inline:var(--banner-inset)}.public-shell.learning-shell .brand{width:var(--banner-brand-width)}.public-shell.learning-shell>header{position:relative;isolation:isolate;box-shadow:none}.public-shell.learning-shell>header:before{content:"";position:absolute;inset:0 0 0 var(--banner-pattern-start);z-index:-1;pointer-events:none;background-color:var(--art-header);background-image:url(/wasli/assets/banner-calligraphy-contours-fStDu6rr.webp),url(/wasli/assets/banner-calligraphy-contours-tile-DVytcRNo.webp);background-size:auto var(--banner-pattern-height),auto var(--banner-pattern-height);background-repeat:repeat-y,repeat;background-position:left top,left top}.public-shell.learning-shell>header:after{content:none}.public-shell:has(.public-dialog--sheet[open]):after{z-index:39}.public-shell.learning-shell:has(.public-dialog--sheet[open]):before{content:"";display:block;height:auto;margin:0;border-radius:0;position:fixed;inset:calc(100dvh * 227 / 1728) 0 0 var(--banner-pattern-start);z-index:40;pointer-events:none;background-color:var(--art-header);background-image:url(/wasli/assets/banner-calligraphy-contours-fStDu6rr.webp),url(/wasli/assets/banner-calligraphy-contours-tile-DVytcRNo.webp);background-size:auto var(--banner-pattern-height),auto var(--banner-pattern-height);background-repeat:repeat-y,repeat;background-position:left calc(0px - 100dvh * 227 / 1728),left calc(0px - 100dvh * 227 / 1728)}@media(orientation:landscape)and (max-height:500px){.public-shell{--banner-content-width: 760px;--banner-brand-width: 66px}.public-shell.learning-shell .brand{font-size:26px;gap:0}.public-shell.learning-shell .brand span{font-size:22px}.public-shell.learning-shell:has(.public-dialog--sheet[open]):before{top:64px;background-position:left -64px,left -64px}}.public-shell .sheet-language-control{position:fixed;z-index:2;width:44px;height:44px}.public-shell .banner-actions{display:flex;align-items:center;flex-wrap:nowrap;flex-shrink:0;gap:8px}.public-shell .banner-actions .language-selector{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #fffaf0;border-radius:10px;background:#472a1c;color:#fffaf0;font-size:13px;font-weight:700;line-height:1;letter-spacing:.03em;white-space:nowrap;box-shadow:none;text-shadow:none}.public-shell .banner-actions .language-selector:hover{background:#472a1c}.public-shell .banner-actions .language-selector:active{background:#5b3825}.public-shell{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none}.public-shell .public-dialog:not(.letters-dialog) :is(p,li,a,summary){-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-touch-callout:default}
