*,:after,:before{box-sizing:border-box}body,html{margin:0;height:100%}@font-face{font-family:Amiri;src:url(/_next/static/media/Amiri-Regular.6e356306.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}.shell,body,html{background:#102c24}.shell{height:100dvh;min-height:100dvh;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#f7f8f3;font-family:SF Pro Text,SF Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left))}.column{width:min(100%,440px);min-width:0}.stage{height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0}.end-screen,.stage,.welcome{display:flex;flex-direction:column;gap:16px}.end-screen,.welcome{align-items:center;text-align:center}.mark{width:112px;height:112px}.welcome-title{margin:0;font-size:1.75rem;font-weight:650}.panel{background:#f7f8f3;color:#13251e;border-radius:28px;padding:20px 16px 24px;min-width:0;max-width:100%;animation:rise .2s ease;transition:opacity .2s ease,transform .2s ease}.cards{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:12px}.cards .panel{padding:0}.cards .line-card{flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:0;max-height:42%;overflow:auto;padding:20px 18px}.cards .question-card{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.panel-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:24px 18px 8px}.panel-footer{flex:none;padding:8px 16px 16px}.stage-bar{flex:none;gap:12px}.progress,.stage-bar{display:flex;align-items:center}.progress{flex:1 1 auto;min-width:0;gap:8px;height:8px;background:transparent}.home{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:#174537;color:#f7f8f3;line-height:0}.home svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.progress-segment{flex:1 1;height:8px;border-radius:999px;background:rgba(247,248,243,.28)}.progress-segment.is-done{background:#f7f8f3}.progress-segment.is-active{background:transparent;box-shadow:inset 0 0 0 2px #f7f8f3}.arabic-line{font-family:Amiri,serif;direction:rtl;line-height:2;font-size:clamp(1.5rem,5.2vw,2rem);overflow-wrap:anywhere;text-align:center;margin:0;width:100%}.question-label{display:block;margin:18px 0 10px;font-size:1.25rem;font-weight:650}.guess-input,.juz-select{font-size:16px;min-height:44px;width:100%;font-family:inherit;color:#13251e;background:#f7f8f3;border:1px solid rgba(19,37,30,.24);border-radius:12px;padding:8px 12px}.action,.guess-input{scroll-margin-bottom:24px}.action{display:block;width:100%;min-height:48px;margin-top:16px;border:1px solid transparent;border-radius:14px;background:#174537;color:#f7f8f3;font-size:16px;font-family:inherit;font-weight:600}.panel-footer .action{margin-top:0}.end-screen .action,.welcome .action{max-width:320px;margin-top:0}.action-light{background:#f7f8f3;color:#13251e}.action-secondary{background:transparent;color:#f7f8f3;border-color:rgba(247,248,243,.5)}.action:disabled{opacity:.45}.range-row{gap:12px;margin-top:16px}.field-label,.range-row{display:flex;flex-direction:column}.field-label{gap:6px;flex:1 1;min-width:0}.range-caption{margin:0;text-align:center;font-size:1.35rem;font-weight:650}.end-note,.range-error{margin:12px 0 0}.end-screen .end-note{margin:0;font-size:1.25rem}.result{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:8px;padding:6px 10px;border-radius:12px;border:1px solid rgba(19,37,30,.16);background:rgba(19,37,30,.04);color:#13251e;font-size:.92rem;line-height:1.35}.result-step{margin:0;font-weight:650}.result-guess{color:rgba(19,37,30,.72)}.result-value{font-weight:700;overflow-wrap:anywhere}.result-state{margin:0 0 0 auto;padding:2px 7px;border-radius:999px;font-size:.72rem;font-weight:700;line-height:1.4}.feedback-correct .result-state{background:#174537;color:#f7f8f3}.feedback-incorrect .result-state{background:#b42318;color:#f7f8f3}.feedback-empty .result-value{margin-left:auto}:focus-visible{outline:2px solid #174537;outline-offset:2px}.action-light:focus-visible,.action-secondary:focus-visible,.home:focus-visible{outline-color:#f7f8f3}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (min-width:360px){.range-row{flex-direction:row;align-items:flex-end}}@media (prefers-reduced-motion:reduce){.action,.panel,.progress-segment{animation:none!important;transition:none!important}}