.nahw-setup-card .topic-card small.subject-gloss{color:var(--text-secondary);overflow-wrap:anywhere;font-size:13px;line-height:1.45;display:block}@media (min-width:651px){.mobile-only{display:none!important}}@media (max-width:650px){.desktop-only{display:none!important}.mobile-practice-chips{flex-wrap:wrap;align-items:center;gap:8px;display:flex!important}.mobile-practice-chips:empty{display:none!important}.mobile-practice-chip{background:var(--teal-soft);max-width:100%;color:var(--teal);font:750 12px/1.35 var(--sans);overflow-wrap:anywhere;border-radius:999px;align-items:center;gap:4px;padding:5px 10px;display:inline-flex}.mobile-practice-chip--accent{background:var(--teal-soft);color:var(--teal)}.mobile-practice-chip--warm,.mobile-practice-chip.review-chip{background:color-mix(in srgb, var(--saffron) 12%, var(--surface));color:var(--saffron-dark)}.mobile-practice-chip--muted{background:var(--paper-deep);color:var(--ink-soft)}.mobile-practice-chip--warning{background:var(--danger-soft);color:var(--danger)}.mobile-practice-help{flex:none;display:inline-flex!important}.mobile-practice-help>button{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--ink-soft);font:800 17px/1 var(--sans);cursor:pointer;border-radius:50%;place-items:center;display:grid}.mobile-practice-help>button:focus-visible,.mobile-subject-tools select:focus-visible,.sarf-feedback-details summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.mobile-practice-help-dialog{border:1px solid var(--line);background:var(--surface);width:min(360px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:var(--shadow);text-align:left;border-radius:18px;margin:auto;padding:24px;position:fixed;inset:0;overflow:auto}.mobile-practice-help-dialog::backdrop{background:#00000080}.mobile-practice-help-dialog h2{font:800 21px/1.25 var(--sans);margin:0 0 12px}.mobile-practice-help-dialog p{color:var(--ink-soft);font:400 15px/1.6 var(--sans);margin:0 0 22px}.mobile-practice-help-dialog .primary-button{width:100%;min-height:44px}.site-shell .brand small,.site-shell .site-footer,.home-shell .home-copy,.home-shell .home-facts,.section-hub-heading>p,.section-card-copy small,.section-card-stats,.practice-tool-grid button>span,.practice-tool-grid button>p,.today-strip button small{display:none}.section-hub{padding-top:24px}.section-hub-heading{margin-bottom:20px}.section-hub-heading h1{font-size:32px;line-height:1.15}.section-card-grid{gap:12px}.section-card{gap:6px;min-height:145px;padding:16px}.section-card>bdi{font-size:32px}.section-card-copy strong{font-size:16px}.section-card-index{font-size:11px}.section-card-action{margin-top:0;font-size:0}.section-card-action i{font-size:16px}.practice-tool-grid{gap:10px;margin-top:16px}.practice-tool-grid button{min-height:64px;padding:14px}.practice-tool-grid button strong{font-size:16px}.site-shell .home-shell{gap:18px;padding-block:20px 28px}.home-shell .home-intro{padding:0}.home-shell .home-intro>.eyebrow{display:none}.home-shell .home-intro h1{margin:0 0 12px;font-size:32px;line-height:1.15}.home-shell .home-intro h1 bdi{color:var(--teal);font-family:var(--arabic)}.setup-heading{gap:8px;min-height:0;padding:14px}.setup-heading .eyebrow{display:none}.setup-heading h2{font-size:18px}.nahw-setup-card>.setup-heading,.sarf-setup-shell .setup-heading{flex-flow:wrap;align-items:center}.setup-card>.setup-group{padding:12px 14px}.setup-group>legend{letter-spacing:.025em;margin-bottom:10px;font-size:12px}.setup-group .difficulty-options,.setup-group .state-mode-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.setup-group .difficulty-option,.setup-group .state-mode-options label{gap:6px;min-height:52px;padding:10px}.setup-group .difficulty-option strong,.setup-group .state-mode-options strong{font-size:14px}.setup-group .difficulty-option small,.setup-group .state-mode-options small,.nahw-setup-card .topic-card small{display:none}.selection-tools .text-button{min-height:44px;padding-inline:8px;font-size:13px}.mobile-subject-tools{clear:both;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex!important}.mobile-subject-tools select{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:44px;color:var(--ink);font:700 14px/1.3 var(--sans);border-radius:9px;flex:1;padding:8px 30px 8px 10px}.nahw-setup-card .subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nahw-setup-card .topic-card{gap:4px;min-height:60px;padding:10px}.nahw-setup-card .topic-card bdi{font-size:18px;line-height:1.5}.nahw-setup-card .mobile-subject-hidden{display:none}.setup-actions{gap:12px;padding:14px}.setup-actions .primary-button{min-height:48px}.nahw-setup-shell .review-callout{gap:12px;padding:14px}.nahw-setup-shell .review-callout .eyebrow,.nahw-setup-shell .review-callout p:not(.eyebrow){display:none}.nahw-setup-shell .review-callout h2{font-size:16px}.quiz-screen .quiz-topic-label .mobile-format-label{background:var(--teal-soft);color:var(--teal);font:750 11px/1.3 var(--sans);letter-spacing:0;text-transform:none;border-radius:999px;padding:4px 9px;display:inline-block}.quiz-screen kbd,.quiz-screen .shortcut-scope,.quiz-screen .choice-shortcut,.quiz-screen .sentence-task-cue,.quiz-screen .rule-context-copy{display:none}.quiz-screen .quiz-question-title{gap:6px}.quiz-screen .target-summary>span:first-child,.quiz-screen .find-word-selection-card>span{display:none}.quiz-screen .part-count{background:var(--teal-soft);width:fit-content;color:var(--teal);border-radius:999px;padding:4px 9px;font-size:11px}.quiz-screen .quiz-rule-options .rule-choice{grid-template-columns:minmax(0,1fr)}.quiz-screen .sarf-translation>span{display:none}.sarf-setup-shell .sarf-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px}.sarf-focus-grid .topic-card{gap:6px;min-height:86px;padding:12px}.sarf-focus-grid .topic-card bdi{font-size:22px}.sarf-focus-grid .topic-card small{font-size:13px}.sarf-quiz-screen .sarf-field-stepper button{gap:6px;min-height:44px;padding:6px 10px}.sarf-field-stepper button bdi,.sarf-quiz-screen .sarf-choice>span,.sarf-bank-options button>span,.sarf-builder-tiles>*>span{display:none}.sarf-quiz-screen .sarf-choice,.sarf-quiz-screen.narrow-quiz .sarf-field .sarf-choice,.sarf-quiz-screen.narrow-quiz .sarf-field.english-options .sarf-choice{grid-template-columns:minmax(0,1fr) 17px}.sarf-bank-count,.sarf-builder-count{color:var(--ink-soft);font-size:12px}.sarf-builder-tiles button{min-height:44px}.sarf-bank-slot-tabs{justify-content:center;gap:6px;display:flex}.sarf-bank-slot-tabs button{border:1px solid var(--line);background:var(--surface);min-width:44px;min-height:44px;color:var(--ink-soft);font:750 13px/1.3 var(--sans);border-radius:9px;padding:6px 9px}.sarf-bank-slot-tabs button[aria-pressed=true]{border-color:var(--teal);background:var(--teal-soft);color:var(--teal)}.sarf-bank-slot-tabs button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.sarf-bank-sentences{grid-template-columns:minmax(0,1fr)}.sarf-bank-sentence[data-mobile-active=false]{display:none}.sarf-quiz-screen .sarf-bank-sentence>p{white-space:normal;text-overflow:clip;line-height:1.6;overflow:visible}.sarf-quiz-screen .sarf-bank-gap{min-height:44px}.sarf-feedback-details summary{min-height:44px;color:var(--teal);cursor:pointer;align-items:center;font-size:13px;font-weight:750;display:flex}.sarf-feedback-details summary:after{content:"+";margin-left:8px}.sarf-feedback-details[open] summary:after{content:"−"}.sarf-feedback-details p{margin:0}.portal-dashboard .section-card-stats,.portal-dashboard .section-card-copy small,.portal-dashboard .section-hub-heading>p,.portal-dashboard .practice-goals>p,.portal-dashboard .practice-goals button small,.portal-dashboard .dashboard-intro-note>p,.nahw-setup-card>.setup-consequence{display:none}.portal-dashboard .section-hub{gap:16px;padding-top:24px}.portal-dashboard .section-hub-heading{margin-bottom:0}.portal-dashboard .section-card{gap:6px 12px;min-height:112px;padding:14px 0}.portal-dashboard .section-card-action{padding-top:0;font-size:0}.portal-dashboard .section-card-action i{font-size:16px}.portal-dashboard .dashboard-intro-note{border:0;padding:0}.portal-dashboard .dashboard-intro-note>a{margin-top:0}.nahw-setup-card .session-options,.nahw-setup-card .subject-disclosure{padding:12px 14px}.nahw-setup-card .session-options>.mobile-practice-help{margin:10px 0}.nahw-setup-card .subject-disclosure>summary small{background:var(--teal-soft);width:fit-content;color:var(--teal);border-radius:999px;padding:4px 9px;display:inline-flex}}
.practice-topbar{grid-template-columns:minmax(0,1fr) auto auto;column-gap:24px;min-height:82px;padding-block:14px}.practice-topbar>.practice-nav{grid-column:2;justify-self:end}.practice-topbar>.top-actions{grid-area:1/3;justify-self:end;display:flex}.portal-dashboard .practice-topbar{grid-template-columns:minmax(0,1fr) auto auto}.portal-dashboard .practice-topbar>.top-actions{display:flex}.practice-topbar .practice-nav{background:0 0;border:0;gap:5px;padding:4px}.practice-topbar .practice-nav button{box-shadow:none;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;text-decoration:none;display:inline-flex}.practice-topbar .practice-nav button[aria-current=page]{background:var(--selection-bg);color:var(--selection-text);box-shadow:none}.practice-topbar .practice-nav button:hover{background:var(--bg-inset)}.practice-topbar .practice-nav button[aria-current=page]:hover{background:var(--selection-bg)}.practice-topbar .practice-nav button svg{flex:none;width:17px;height:17px}.site-shell :is(h1,h2,h3,section)[tabindex="-1"]:focus{outline:none}.site-shell .skip-link{opacity:0;pointer-events:none}.site-shell .skip-link:focus{opacity:1;pointer-events:auto}.brand-button{text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.practice-topbar .text-button,.site-shell .selection-tools .text-button{border:0;border-radius:8px;padding:8px 12px;text-decoration:none}.practice-topbar .text-button:hover,.site-shell .selection-tools .text-button:hover{background:var(--selection-bg)}.practice-settings-menu{z-index:40;width:auto;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;display:block;position:relative;inset:auto}.settings-trigger{border:1px solid var(--border-subtle);background:var(--bg-surface);width:44px;height:44px;color:var(--text-secondary);cursor:pointer;border-radius:11px;place-items:center;padding:0;list-style:none;display:grid}.settings-trigger::-webkit-details-marker{display:none}.settings-trigger:hover,.practice-settings-menu[open]>.settings-trigger{border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-text)}.settings-menu-panel{border:1px solid var(--border-subtle);background:var(--bg-elevated);width:min(300px,100vw - 32px);color:var(--text-heading);box-shadow:var(--shadow-elevated);border-radius:16px;gap:8px;padding:14px;display:grid;position:absolute;inset:calc(100% + 8px) 0 auto auto}.settings-menu-panel .settings-menu-action{min-height:44px;color:var(--text-heading);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;padding:10px;font-size:14px;font-weight:650;text-decoration:none;display:flex}.settings-menu-panel .settings-menu-action:hover{background:var(--selection-bg);color:var(--selection-text)}.settings-menu-language{border-block:1px solid var(--border-subtle);color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;padding:10px;font-size:13px;display:flex}.settings-menu-language .navbar-language{border-radius:10px;justify-content:space-between;display:flex}.settings-menu-language .navbar-language button{text-align:center;border-radius:7px;flex:1;min-height:34px}.practice-settings-content{gap:14px;width:min(100% - 48px,1120px);margin:32px auto 0;display:grid}.practice-settings-content>div{border:1px solid var(--border-subtle);background:var(--bg-surface);border-radius:14px;justify-content:space-between;align-items:center;gap:24px;padding:22px 24px;display:flex}.practice-settings-content h2{margin:0 0 5px;font-size:17px}.practice-settings-content p{color:var(--text-secondary);margin:0;font-size:14px;line-height:1.6}.site-shell .resume-session-card{border:1px solid var(--border-subtle);border-inline-start:3px solid var(--selection-border);background:var(--bg-surface);border-radius:16px;align-items:center;gap:20px;margin:0;padding:22px}.site-shell .resume-session-card h2{font:700 clamp(18px, 2vw, 23px)/1.35 var(--sans);letter-spacing:-.02em}.site-shell .resume-session-card p{font-size:13px;line-height:1.6}.site-shell .resume-session-card .eyebrow{margin-bottom:6px}.site-shell .resume-session-actions .text-button{border:0;border-radius:8px;min-height:44px;padding:8px 12px;text-decoration:none}.site-shell .resume-session-actions .text-button:hover{background:var(--bg-inset)}.empty-insights-state{border:1px solid var(--border-subtle);background:var(--bg-surface);border-radius:16px;padding:28px}.empty-insights-state h2{margin:0 0 10px;font-size:22px}.empty-insights-state p{max-width:58ch;color:var(--text-secondary);margin:0 0 20px;line-height:1.65}.portal-dashboard .section-hub{gap:24px;width:min(100% - 48px,1040px);padding-block:36px 56px}.portal-dashboard .section-hub-heading{border:0;padding:0}.portal-dashboard .section-hub-heading h1{font:750 clamp(32px, 4vw, 44px)/1.15 var(--sans);letter-spacing:-.045em;margin:0 0 10px}.portal-dashboard .section-hub-heading>p{max-width:650px;font-size:15px;line-height:1.6}.practice-chips{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.practice-chip{border:1px solid var(--border-subtle);background:var(--bg-surface);max-width:100%;color:var(--text-secondary);font:650 12px/1.4 var(--sans);border-radius:999px;align-items:center;gap:6px;padding:6px 11px;display:inline-flex}.practice-chip--accent{border-color:var(--selection-bg);background:var(--selection-bg);color:var(--selection-text)}.practice-chip svg{width:14px;height:14px}.portal-dashboard .dashboard-section-heading{align-items:center;margin:2px 0 -10px}.portal-dashboard .dashboard-section-heading h2{font-size:17px;font-weight:750}.portal-dashboard .section-card-grid{border:0;gap:14px}.portal-dashboard .section-card,.portal-dashboard .section-card:nth-child(odd),.portal-dashboard .section-card:nth-child(n+3){border:1px solid var(--border-subtle);background:var(--bg-surface);min-height:196px;box-shadow:var(--shadow-panel);border-radius:16px;grid-template-rows:auto auto 1fr auto;gap:6px 16px;padding:22px}.portal-dashboard .section-card:hover{border-color:var(--selection-border);background:var(--selection-bg);box-shadow:var(--shadow-panel)}.portal-dashboard .section-card-label{color:var(--selection-text);font-size:16px;font-weight:750}.portal-dashboard .section-card>bdi{color:var(--link);font-size:38px;line-height:1.35}.portal-dashboard .numbers-section-card>bdi{font-size:28px}.portal-dashboard .section-card-index{font-size:12px}.portal-dashboard .section-card-index.practice-chips{width:100%;min-width:0;margin:0}.portal-dashboard .section-card-copy{gap:5px;margin-top:10px}.portal-dashboard .section-card-copy strong{font-size:14px;font-weight:650;line-height:1.45}.portal-dashboard .section-card-copy small{font-size:13px;line-height:1.6}.portal-dashboard .section-card-stats{gap:6px}.portal-dashboard .section-card-stats em{background:var(--bg-inset);border-radius:999px;padding:4px 8px;font-size:11px}.portal-dashboard .section-card-action{border-top:1px solid var(--border-subtle);color:var(--selection-text);justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding-top:12px;font-size:13px;display:flex}.portal-dashboard .section-card-action i{color:var(--selection-text)}.portal-dashboard .practice-tool-grid{border:0;gap:14px;margin:0}.portal-dashboard .practice-tool-grid button,.portal-dashboard .practice-tool-grid button+button{border:1px solid var(--border-subtle);background:var(--bg-surface);border-radius:14px;min-height:116px;padding:20px 22px;text-decoration:none}.portal-dashboard .practice-tool-grid button:hover{border-color:var(--selection-border);background:var(--selection-bg)}.portal-dashboard .practice-tool-grid button strong{font-size:16px;font-weight:750}.portal-dashboard .practice-tool-grid button p{margin:5px 0 0;font-size:13px;line-height:1.55}.portal-dashboard .practice-tool-grid .practice-tool-icon{background:var(--selection-bg);width:40px;height:40px;color:var(--link);border-radius:11px;grid-area:1/1/4;align-self:center;place-items:center;display:grid}.practice-tool-icon svg{width:21px;height:21px}.portal-dashboard .practice-tool-grid button:has(.practice-tool-icon){grid-template-columns:40px minmax(0,1fr) 20px;gap:2px 14px}.portal-dashboard .practice-tool-grid button:has(.practice-tool-icon)>:is(span:not(.practice-tool-icon),strong,p){grid-column:2}.portal-dashboard .practice-tool-grid button:has(.practice-tool-icon)>i{grid-column:3}.practice-tutorial-card{border:1px solid var(--selection-border);background:var(--selection-bg);border-radius:16px;align-items:center;gap:18px;padding:22px;display:flex}.practice-tutorial-icon{background:var(--bg-surface);width:48px;height:48px;color:var(--link);border-radius:13px;flex:0 0 48px;place-items:center;display:grid}.practice-tutorial-icon svg{width:23px;height:23px}.practice-tutorial-copy{flex:1;min-width:0}.practice-tutorial-copy h2{margin:0 0 6px;font-size:17px;font-weight:750}.practice-tutorial-copy>strong{margin-bottom:6px;font-size:17px;font-weight:750;display:block}.practice-tutorial-copy p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.6}.practice-tutorial-card :is(.primary-button,.secondary-button){flex:none;min-height:44px;font-size:14px}.site-shell .home-shell.nahw-setup-shell{gap:28px;padding-block:32px 48px}.site-shell[data-activity] .nahw-setup-shell .home-intro{background:0 0;border:0;padding:0}.nahw-setup-shell .home-intro h1{margin-bottom:12px;font-size:clamp(32px,4.5vw,46px)}.nahw-setup-shell .home-copy{font-size:15px;line-height:1.65}.nahw-setup-shell .practice-chips{margin-top:20px}.nahw-setup-card{--setup-panel-block:18px;--setup-panel-inline:24px;border-radius:16px}.nahw-setup-card>.setup-heading{background:var(--bg-surface);min-height:0;padding:22px 24px}.nahw-setup-card .setup-heading h2{font-size:22px}.nahw-setup-card>.setup-group,.nahw-setup-card .setup-disclosure{padding:18px 24px}.site-shell[data-activity=nahw] .nahw-setup-card>.setup-disclosure{background:var(--bg-surface);padding:0}.nahw-setup-card .setup-disclosure>summary{min-height:44px}.site-shell[data-activity=nahw] .nahw-setup-card>.setup-disclosure>summary{padding:var(--setup-panel-block) var(--setup-panel-inline);background:var(--bg-inset)}.nahw-setup-card>.setup-disclosure[open]>summary{border-bottom:1px solid var(--border-subtle)}.site-shell[data-activity=nahw] .nahw-setup-card .session-options>.setup-group{padding:var(--setup-panel-block) var(--setup-panel-inline);margin:0}.site-shell[data-activity=nahw] .nahw-setup-card .subject-disclosure>.selection-tools{padding:10px var(--setup-panel-inline);margin:0}.site-shell[data-activity=nahw] .nahw-setup-card .subject-disclosure>.subjects-picker{padding:0 var(--setup-panel-inline) var(--setup-panel-block);margin:0}.nahw-setup-card .setup-disclosure>summary:after{font-size:21px;font-weight:500}.nahw-setup-card .setup-disclosure>summary small{margin-top:5px}.nahw-setup-card .setup-group{border:0;min-inline-size:0;padding:0}.nahw-setup-card .setup-disclosure[open]>.setup-group{padding-inline:0}.nahw-setup-card>.setup-group{padding:18px 24px}.nahw-setup-card .setup-group>legend{color:var(--text-secondary);letter-spacing:0;text-transform:none;margin-bottom:12px;font-size:13px;font-weight:700}.nahw-setup-card .setup-group>.setup-option-legend{justify-content:space-between;align-items:center;gap:12px;display:flex}.nahw-setup-card .session-options .setup-group{margin-top:18px}.nahw-setup-card .session-options .setup-group+.setup-group{border-top:1px solid var(--border-subtle);padding-top:18px}.nahw-setup-card .difficulty-options,.nahw-setup-card .state-mode-options{gap:10px}.nahw-setup-card .difficulty-option,.nahw-setup-card .state-mode-options label{border-radius:11px;gap:8px;min-height:64px;padding:12px 14px}.nahw-setup-card .difficulty-option strong,.nahw-setup-card .state-mode-options strong{font-size:14px}.nahw-setup-card .difficulty-option small,.nahw-setup-card .state-mode-options small{font-size:12px;line-height:1.55}.nahw-setup-card .source-mode-picker .state-mode-options label>span{grid-column:1/-1;padding-right:28px}.nahw-setup-card .source-mode-picker .state-mode-options i{inset-inline-end:12px;position:absolute;top:50%;transform:translateY(-50%)}.nahw-setup-card :is(.difficulty-option,.state-mode-options label,.topic-card).selected{border-color:var(--selection-border);background:var(--selection-bg);box-shadow:none}.site-shell :is(.difficulty-option,.state-mode-options label,.topic-card):focus-within{outline:none}.site-shell :is(.difficulty-option,.state-mode-options label,.topic-card):has(input:focus-visible){outline:3px solid var(--focus-ring);outline-offset:3px}.nahw-setup-card .topic-card:hover{box-shadow:none;transform:none}.nahw-setup-card .topic-card{border-radius:11px;min-height:88px;padding:13px}.nahw-setup-card .topic-card bdi{font-size:22px;line-height:1.55}.nahw-setup-card .subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nahw-setup-card .selection-tools{justify-content:flex-end;gap:4px;margin-block:10px;display:flex}.nahw-setup-card .selection-tools .text-button{min-height:36px;font-size:12px}.setup-option-legend .mobile-practice-help{flex:none;margin:0 0 0 auto;display:inline-flex!important}.setup-option-legend .mobile-practice-help>button{border:1px solid var(--border-control);background:var(--bg-surface);width:26px;height:26px;min-height:26px;color:var(--text-secondary);font:750 13px/1 var(--sans);border-radius:50%;place-items:center;padding:0;display:grid}.setup-option-legend .mobile-practice-help>button:before{content:"";width:44px;height:44px;position:absolute}.mobile-practice-help-dialog{border:1px solid var(--border-subtle);background:var(--bg-elevated);width:min(420px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--text-heading);box-shadow:var(--shadow-elevated);text-align:left;border-radius:16px;margin:auto;padding:24px;position:fixed;inset:0;overflow-y:auto}.mobile-practice-help-dialog::backdrop{background:var(--overlay)}.mobile-practice-help-dialog h2{margin:0 0 12px;font-size:20px;line-height:1.3}.mobile-practice-help-dialog p{color:var(--text-secondary);margin:0 0 22px;font-size:15px;line-height:1.7}.mobile-practice-help-dialog .primary-button{width:100%;min-height:44px}.site-shell .home-shell:has(.setup-actions){padding-bottom:48px}.site-shell .home-shell .setup-actions{z-index:auto;box-shadow:none;justify-content:space-between;align-items:center;gap:14px;margin:0;padding:20px 24px;display:flex;position:static;inset:auto}.nahw-setup-card .setup-actions>span{text-align:left;font-size:12px;line-height:1.6}.nahw-setup-card .setup-consequence{margin:0;padding:18px 24px;font-size:12px;line-height:1.65}.quiz-screen:not(.sarf-quiz-screen) .quiz-question-title{max-height:18dvh;overflow-y:auto}.quiz-screen:not(.sarf-quiz-screen) .quiz-context{overscroll-behavior:contain;max-height:28dvh;overflow-y:auto}.quiz-screen:not(.sarf-quiz-screen) .quiz-answer-body{gap:12px;min-height:0;padding:16px 22px}.quiz-screen:not(.sarf-quiz-screen) .quiz-rule-options,.quiz-screen:not(.sarf-quiz-screen) .quiz-rule-options.long-options,.quiz-screen:not(.sarf-quiz-screen) .nahw-analysis-choice .quiz-rule-options{overscroll-behavior:contain;grid-template-rows:none;grid-auto-rows:max-content;align-content:start;padding:4px;scroll-padding-block:8px;overflow:hidden auto}.quiz-screen:not(.sarf-quiz-screen) .quiz-rule-options .rule-choice,.quiz-screen:not(.sarf-quiz-screen) .quiz-rule-options.long-options .rule-choice{border-radius:10px;height:auto;min-height:58px;padding:12px 14px;font-size:15px;line-height:1.6;overflow:visible}.quiz-screen:not(.sarf-quiz-screen) .target-answer{overscroll-behavior:contain;gap:12px;padding:4px;overflow:hidden auto}.quiz-screen:not(.sarf-quiz-screen) .target-answer>*{flex-shrink:0}.quiz-screen:not(.sarf-quiz-screen) .answer-part{align-content:start;gap:8px}.quiz-screen:not(.sarf-quiz-screen) .identity-grid,.quiz-screen:not(.sarf-quiz-screen) .state-grid{grid-auto-rows:max-content;gap:8px}.quiz-screen:not(.sarf-quiz-screen) :is(.choice-card,.state-choice){border-radius:10px;height:auto;min-height:58px;padding:9px 12px;overflow:visible}.quiz-screen:not(.sarf-quiz-screen) :is(.choice-card,.state-choice) bdi{white-space:normal;font-size:22px;line-height:1.6;overflow:visible}.quiz-screen:not(.sarf-quiz-screen) :is(.choice-card,.state-choice,.rule-choice).selected{background:var(--selection-bg);border-color:var(--selection-border);box-shadow:none}.quiz-screen:not(.sarf-quiz-screen) .combined-answers .answer-part.shortcut-active{box-shadow:none;background:0 0}.quiz-screen:not(.sarf-quiz-screen) .quiz-actions{border-top:1px solid var(--border-subtle);background:var(--bg-surface);flex-shrink:0;min-height:48px;margin-top:auto;padding-top:10px}.quiz-screen:not(.sarf-quiz-screen) .quiz-hint-pane{align-content:start;overflow-y:auto}.nahw-tutorial .tutorial-chips{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.quiz-screen.nahw-tutorial{grid-template-rows:var(--quiz-hud-height) auto;height:auto;overflow:visible}.quiz-screen.nahw-tutorial .quiz-card{grid-template-rows:auto auto auto;height:auto}.quiz-screen.nahw-tutorial .quiz-question-title,.quiz-screen.nahw-tutorial .quiz-context{max-height:none;overflow:visible}.quiz-screen.nahw-tutorial .quiz-answer-body{height:auto}.nahw-tutorial .tutorial-chips>span{background:var(--selection-bg);color:var(--selection-text);border-radius:999px;padding:4px 10px;font-size:12px}.nahw-tutorial .tutorial-instructions{color:var(--text-secondary);margin:0;font-size:14px;line-height:1.6}.quiz-screen.nahw-tutorial .identity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-screen.nahw-tutorial .identity-grid>.choice-card:last-child:nth-child(odd){grid-column:auto}.nahw-tutorial .quiz-answer-body>.answer-part{flex:auto;min-height:0;overflow-y:auto}.nahw-tutorial .identity-grid .choice-card{grid-template-columns:minmax(0,1fr)}.nahw-tutorial .tutorial-choice-label{color:var(--text-secondary);margin-top:5px;font-size:12px;line-height:1.4;display:block}.nahw-tutorial .tutorial-translation{color:var(--text-secondary);text-align:center;margin:4px 0 0;font-size:14px}.nahw-tutorial .tutorial-rule-hint{border:1px solid var(--warning-border);background:var(--warning-bg);border-radius:10px;flex:none;height:auto;max-height:130px;padding:14px}.nahw-tutorial .tutorial-rule-hint h3{margin:0 0 6px;font-size:14px}.nahw-tutorial .tutorial-rule-hint p{margin:0;font-size:14px;line-height:1.65}.nahw-tutorial .tutorial-feedback{padding:18px 22px;overflow-y:auto}.nahw-tutorial .tutorial-feedback p{line-height:1.65}.nahw-tutorial.tutorial-complete{grid-template-rows:minmax(0,1fr)}.nahw-tutorial.tutorial-complete .quiz-response{gap:14px;padding:22px;overflow-y:auto}.nahw-tutorial .tutorial-back-button{flex-shrink:0;align-self:center;min-height:44px;margin-top:4px}@media (max-width:820px){.practice-topbar{gap:14px;width:calc(100% - 32px)}.practice-topbar .practice-nav button{padding-inline:10px;font-size:13px}.portal-dashboard .section-hub{width:calc(100% - 32px);padding-top:28px}.site-shell .home-shell.nahw-setup-shell{padding-top:28px}}@media (max-width:650px){html{scroll-padding-block:16px}.site-shell .resume-session-card{align-items:stretch;gap:16px;padding:18px}.site-shell .resume-session-card .resume-session-actions{gap:4px;width:100%;display:grid}.site-shell .resume-session-actions .primary-button{width:100%}.site-shell .resume-session-actions .text-button{justify-self:end}.empty-insights-state{padding:22px}.empty-insights-state .primary-button{width:100%}.practice-topbar,.portal-dashboard .practice-topbar{grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:76px}.practice-topbar .brand-mark{border-radius:11px;width:38px;height:38px}.practice-topbar .brand{gap:9px}.practice-topbar .brand strong{font-size:16px}.practice-topbar>.practice-nav,.portal-dashboard .practice-topbar>.practice-nav{grid-area:2/1/auto/-1;justify-self:stretch;gap:4px;width:100%;padding:0;display:flex}.practice-topbar>.top-actions{grid-area:1/2}.practice-topbar .practice-nav button{flex:1;gap:6px;padding-inline:9px;font-size:12px}.portal-dashboard .section-hub{gap:20px;padding-block:24px 36px}.portal-dashboard .section-hub-heading h1{font-size:34px}.portal-dashboard .section-hub-heading>p{font-size:14px;display:block}.portal-dashboard .section-card-grid{grid-template-columns:minmax(0,1fr);gap:12px}.portal-dashboard .section-card,.portal-dashboard .section-card:nth-child(odd),.portal-dashboard .section-card:nth-child(n+3){gap:6px 12px;min-height:164px;padding:18px}.portal-dashboard .section-card-label{font-size:14px}.portal-dashboard .section-card>bdi{grid-row:1;font-size:31px}.portal-dashboard .numbers-section-card>bdi{font-size:24px}.portal-dashboard .section-card-index{grid-area:2/1/auto/-1;font-size:12px}.portal-dashboard .section-card-index.practice-chips{display:flex}.portal-dashboard .section-card-copy{margin-top:5px}.portal-dashboard .section-card-copy strong{font-size:12px}.portal-dashboard .section-card-action{margin-top:6px;padding-top:10px;font-size:12px}.portal-dashboard .section-card-action i{font-size:15px}.practice-chips{gap:6px;margin-top:14px}.practice-chip{padding:5px 9px;font-size:11px}.portal-dashboard .practice-tool-grid{grid-template-columns:minmax(0,1fr);gap:10px}.portal-dashboard .practice-tool-grid button,.portal-dashboard .practice-tool-grid button+button{min-height:88px;padding:16px}.portal-dashboard .practice-tool-grid .practice-tool-icon{display:grid}.portal-dashboard .practice-tool-grid button p{font-size:12px;display:block}.practice-tutorial-card{grid-template-columns:40px minmax(0,1fr);gap:12px;padding:18px;display:grid}.practice-tutorial-icon{flex-basis:40px;width:40px;height:40px}.practice-tutorial-copy h2,.practice-tutorial-copy>strong{font-size:15px}.practice-tutorial-card :is(.primary-button,.secondary-button){grid-column:1/-1;width:100%;margin-top:2px}.practice-settings-content{width:calc(100% - 32px);margin-top:24px}.practice-settings-content>div{flex-wrap:wrap;gap:16px;padding:18px}.site-shell .home-shell.nahw-setup-shell{gap:22px;padding-block:24px 36px}.nahw-setup-shell .home-intro h1{font-size:32px}.nahw-setup-card{--setup-panel-block:16px;--setup-panel-inline:16px}.nahw-setup-card>.setup-heading,.nahw-setup-card>.setup-group,.nahw-setup-card .setup-disclosure{padding:16px}.nahw-setup-card .setup-heading h2{font-size:20px}.nahw-setup-card .difficulty-options,.nahw-setup-card .state-mode-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nahw-setup-card .difficulty-option,.nahw-setup-card .state-mode-options label{grid-template-columns:minmax(0,1fr) 20px;min-height:56px;padding:11px}.nahw-setup-card .difficulty-option i,.nahw-setup-card .state-mode-options i{width:20px;height:20px;font-size:11px}.nahw-setup-card .subject-grid{gap:8px}.nahw-setup-card .topic-card{min-height:66px;padding:11px}.nahw-setup-card .topic-card bdi{font-size:19px}.site-shell .home-shell:has(.setup-actions){padding-bottom:36px}.site-shell .home-shell .setup-actions{flex-direction:column;align-items:stretch;gap:10px;padding:16px}.site-shell .home-shell .setup-actions>button{min-height:48px}.quiz-screen:not(.sarf-quiz-screen) .quiz-answer-body{gap:10px;padding:12px}.quiz-screen:not(.sarf-quiz-screen) .quiz-rule-options{grid-template-columns:minmax(0,1fr)}.quiz-screen:not(.sarf-quiz-screen) .quiz-rule-options .rule-choice,.quiz-screen:not(.sarf-quiz-screen) .quiz-rule-options.long-options .rule-choice{grid-template-columns:minmax(0,1fr);min-height:52px;padding:10px 12px;font-size:14px}.quiz-screen:not(.sarf-quiz-screen) .identity-grid,.quiz-screen:not(.sarf-quiz-screen) .state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-screen:not(.sarf-quiz-screen) :is(.choice-card,.state-choice){grid-template-columns:minmax(0,1fr);min-height:56px;padding:9px}.quiz-screen:not(.sarf-quiz-screen) :is(.choice-card,.state-choice) bdi{font-size:21px;line-height:1.6}.quiz-screen:not(.sarf-quiz-screen) .quiz-actions{min-height:48px;padding-top:8px}.quiz-screen.nahw-tutorial .identity-grid{grid-template-columns:minmax(0,1fr)}.nahw-tutorial .tutorial-feedback{padding:16px}}@media (max-width:380px){.practice-topbar .practice-nav button{padding-inline:6px;font-size:11px}.practice-topbar .brand-mark{display:none}.portal-dashboard .section-card,.portal-dashboard .section-card:nth-child(odd),.portal-dashboard .section-card:nth-child(n+3){padding-inline:11px}.portal-dashboard .section-card>bdi{grid-area:1/2}.nahw-setup-card .state-mode-options{grid-template-columns:minmax(0,1fr)}}.hint-dialog{border:1px solid var(--border-control);background:var(--bg-surface);width:min(560px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--text-body);border-radius:18px;margin:auto;padding:0;position:fixed;inset:0;overflow:auto;box-shadow:0 20px 70px #0000003d}.hint-dialog::backdrop{background:#0a1a157a}.hint-dialog-header{justify-content:space-between;align-items:start;gap:16px;padding:22px 22px 12px;display:flex}.hint-dialog-header h2{color:var(--text-heading);margin:0;font-size:20px;line-height:1.4}.hint-dialog-header h2:focus{outline:none}.hint-dialog-close{background:var(--bg-inset);width:36px;min-height:36px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:9px;flex:none;place-items:center;font-size:24px;display:grid}.hint-dialog-close:hover{background:var(--selection-bg)}.hint-dialog-body{overflow-wrap:anywhere;padding:0 22px 20px;font-size:15px;line-height:1.75}.hint-dialog-body p{margin:0}.hint-dialog-actions{border:0;justify-content:end;padding:0 22px 20px;display:flex}.hint-dialog-actions .primary-button{min-height:44px}.site-shell .text-button,.site-shell .text-button:hover{border-bottom:0;text-decoration:none}.site-shell .quiz-hud,.site-shell .quiz-screen.narrow-quiz .quiz-hud{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto}.site-shell .quiz-hud .quiz-progress-track{display:none}.site-shell .quiz-hud .quiz-exit-button{grid-area:1/2}.site-shell .answer-part :is(.choice-card,.state-choice)>span[dir=ltr]{font-family:var(--sans);font-size:14px;font-weight:650;line-height:1.65}.site-shell .quiz-rule-options .rule-choice:not(:has(>bdi[lang=ar])){font-family:var(--sans);font-size:14px;font-weight:650;line-height:1.65}.site-shell .quiz-rule-options .rule-choice:not(:has(>bdi[lang=ar]))>span{font-family:var(--sans);font-size:14px;font-weight:650;line-height:1.65}.site-shell .answer-part :is(.choice-card,.state-choice):has(>span[dir=ltr]){text-align:start}.site-shell .rule-correct-option>p,.site-shell .rule-chosen>span,.site-shell .feedback-answer-line>bdi,.site-shell .saved-answer-comparison bdi,.site-shell .result-correction bdi[dir=auto]{font-family:var(--sans);white-space:normal;font-size:14px;line-height:1.65}.site-shell .feedback-scroll-region>.single-feedback-target{margin-bottom:12px}.site-shell details.session-trail>summary{cursor:pointer;align-items:center;gap:12px;min-height:44px;list-style:none;display:flex}.site-shell details.session-trail>summary::-webkit-details-marker{display:none}.site-shell details.session-trail>summary .eyebrow{margin:0}.site-shell details.session-trail>summary>span:last-child{color:var(--text-secondary);margin-left:auto;font-size:13px}.site-shell details.session-trail>summary:after{content:"+";background:var(--bg-inset);width:26px;height:26px;color:var(--text-heading);border-radius:50%;flex:none;place-items:center;font-size:20px;line-height:1;display:grid}.site-shell details.session-trail[open]>summary:after{content:"−"}.site-shell details.session-trail[open]>summary{margin-bottom:12px}.practice-settings-home a{flex:none;text-decoration:none}.practice-settings-home .secondary-button{text-align:center;justify-content:center;align-items:center;gap:10px;min-height:44px;display:inline-flex}@media (max-width:650px){.hint-dialog-header{padding:18px 18px 10px}.hint-dialog-header h2{font-size:18px}.hint-dialog-body,.hint-dialog-actions{padding:0 18px 18px}.hint-dialog-actions .primary-button{width:100%}.site-shell details.session-trail>summary{gap:8px}.site-shell details.session-trail>summary .eyebrow{letter-spacing:.08em;font-size:11px}.practice-settings-home a{width:100%}}.site-shell .quiz-rule-options .rule-choice>span[dir=ltr],.site-shell .rule-chosen>span[dir=ltr],.site-shell .rule-correct-option>p[dir=ltr]{text-align:start}.site-shell[data-activity] .quiz-hud{box-shadow:none}.site-shell .error-detective-view article.suspect-line>p>span{text-decoration:line-through;-webkit-text-decoration-color:var(--error-text);text-decoration-color:var(--error-text)}@media (max-width:380px){.nahw-setup-card .subject-grid{grid-template-columns:minmax(0,1fr)}}.mobile-subject-tools select[data-pointer-focus=true]:focus{box-shadow:none;outline:none}.quiz-site-shell[data-activity=nahw]{background:var(--bg-surface);padding:0}.quiz-site-shell[data-activity=nahw] .quiz-screen{--quiz-inline:0px;--quiz-gap:0px;--quiz-block:0px;--quiz-hud-height:52px;--question-inline:clamp(12px, 2.5vw, 28px);padding-inline:env(safe-area-inset-left) env(safe-area-inset-right);background:var(--bg-surface);padding-block-start:env(safe-area-inset-top);padding-block-end:max(6px, env(safe-area-inset-bottom))}.quiz-site-shell[data-activity=nahw] .quiz-screen :is(.quiz-hud,.quiz-card){width:min(100%,1200px)}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-hud{padding:4px var(--question-inline);border-bottom:1px solid var(--border-subtle);background:var(--selection-bg);grid-template-rows:1fr 1fr;grid-template-columns:max-content minmax(72px,1fr) auto;gap:0 12px;display:grid}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-level{color:var(--text-secondary);grid-area:1/1;align-self:end;font-size:11px;line-height:1.3}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-question-count{grid-area:2/1;align-self:start;font-size:13px;line-height:1.4}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-hud .quiz-progress-track{background:var(--border-control);height:6px;min-height:6px;box-shadow:none;border:0;grid-area:1/2/3;display:block}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-hud .quiz-progress-track>span{background:var(--selection-text)}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-hud .quiz-exit-button{min-height:44px;color:var(--text-heading);border-color:var(--border-control);background:var(--bg-surface);grid-area:1/3/3;padding-inline:12px;font-size:13px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card{box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-rows:max-content minmax(min-content,auto) minmax(min-content,1fr)}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-question-title{max-height:none;padding:6px var(--question-inline) 4px;background:0 0;border:0;position:relative;overflow:visible}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-topic-label{display:none}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-question-title h1{letter-spacing:-.01em;padding-inline-end:40px;font-size:clamp(18px,2vw,23px);line-height:1.3}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-task-details{height:0;color:var(--text-secondary);margin:0;font-size:13px;line-height:1.5}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-task-details summary{cursor:pointer;place-items:center;width:36px;min-height:44px;font-size:19px;list-style:none;display:grid;position:absolute;inset-block-start:0;inset-inline-end:var(--question-inline)}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-task-details summary::-webkit-details-marker{display:none}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-task-details p{z-index:5;inset-inline:var(--question-inline);border:1px solid var(--border-subtle);background:var(--bg-elevated);max-height:40dvh;color:var(--text-body);box-shadow:var(--shadow-elevated);border-radius:8px;margin:0;padding:12px 14px;position:absolute;top:100%;overflow-y:auto}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-task-instruction{color:var(--text-secondary);margin:4px 0 0;font-size:13px;line-height:1.4}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context{min-height:0;max-height:34dvh;padding:6px var(--question-inline) 10px;background:var(--bg-inset);box-shadow:none;border:0}.quiz-site-shell[data-activity=nahw] .quiz-screen .quran-reference{width:fit-content;margin-bottom:2px;font-size:12px;position:static}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context .rule-example-arabic{padding:4px 0 8px;font-size:clamp(32px,3vw,38px);line-height:1.6}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context .arabic-sentence{gap:4px 10px;min-height:52px;padding:4px 0 8px;font-size:clamp(32px,3vw,38px);line-height:1.6}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context .quran-verse{padding-inline:0}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-translation{border:0;min-height:0;padding-top:2px}.quiz-site-shell[data-activity=nahw] .quiz-screen .translation-toggle{min-height:36px;padding:5px 10px;font-size:12px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-translation .translation-copy{margin:5px 0 0;font-size:13px;line-height:1.4}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-answer-body{padding:8px var(--question-inline);gap:8px}.quiz-site-shell[data-activity=nahw] .quiz-screen .rule-answer-body>.quiz-part-heading{display:none}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options,.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options.long-options{flex:none;grid-template-rows:none;grid-auto-rows:max-content;align-content:start;gap:7px;min-height:min-content;padding:0;overflow:visible}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options .rule-choice,.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options.long-options .rule-choice{height:auto;min-height:46px;padding:8px 11px;line-height:1.4;overflow:visible}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options .rule-choice>span[dir=ltr]{font-size:14px;line-height:1.45}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-actions{gap:7px;min-height:44px;padding-top:6px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-actions :is(.primary-button,.secondary-button,.hint-button){min-height:44px}.quiz-site-shell[data-activity=nahw] .quiz-screen .target-answer{gap:6px;padding:0;overflow:visible}.quiz-site-shell[data-activity=nahw] .quiz-screen .answer-part{gap:5px}.quiz-site-shell[data-activity=nahw] .quiz-screen :is(.identity-grid,.state-grid){gap:7px}.quiz-site-shell[data-activity=nahw] .quiz-screen :is(.choice-card,.state-choice){min-height:58px;padding:7px 9px}.quiz-site-shell[data-activity=nahw] .quiz-screen .choice-label{text-align:center;gap:2px;display:grid}.quiz-site-shell[data-activity=nahw] .quiz-screen .choice-label bdi{font-size:22px;line-height:1.45}.quiz-site-shell[data-activity=nahw] .quiz-screen .choice-label small{font-family:var(--sans);color:var(--text-secondary);font-size:12px;font-weight:500;line-height:1.3}.quiz-site-shell[data-activity=nahw] .quiz-screen .question-target-word{border-bottom:2px solid var(--selection-border);background:var(--selection-bg);color:var(--selection-text);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:6px;padding-inline:.18em;display:inline-block}@media (min-height:740px){.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card:has(.error-detective-view) .quiz-context{max-height:none}}@media (min-height:740px) and (max-width:650px){.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options .rule-choice>span[dir=ltr]{font-size:16px;line-height:1.45}}@media (max-height:680px){.quiz-site-shell[data-activity=nahw] .quiz-screen .target-answer:has(>.part-count)>:is(.target-summary,.part-count){display:none}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-question-title{padding-block:6px 3px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-question-title h1{font-size:17px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context{max-height:34dvh;padding-block:3px 5px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context .rule-example-arabic,.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context .arabic-sentence{min-height:44px;padding-block:2px 5px;font-size:28px;line-height:1.45}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-answer-body{gap:4px;padding-block:4px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-actions{padding-top:4px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card:not(.rule-exercise) .quiz-context{max-height:none}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options .rule-choice,.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options.long-options .rule-choice{padding:4px 8px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options,.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options.long-options{gap:4px}:is(.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context .arabic-sentence:has(>:nth-child(8)),.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context .rule-example-arabic:has(>:nth-child(8))){font-size:24px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options .rule-choice>span[dir=ltr]{font-weight:600;line-height:1.4}}@media (min-width:480px) and (max-width:950px) and (max-height:500px){.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card{grid-template-rows:max-content minmax(0,1fr);grid-template-columns:minmax(0,.3fr) minmax(0,.7fr)}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-answer-body{gap:4px;padding:4px 8px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options,.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options.long-options{gap:4px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options .rule-choice,.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options.long-options .rule-choice{min-height:44px;padding:4px 7px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-card .quiz-rule-options .rule-choice>span[dir=ltr]{line-height:1.35}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-actions{padding-top:4px}.quiz-site-shell[data-activity=nahw] .quiz-screen .quiz-context{min-height:0;max-height:none}}.quiz-site-shell[data-activity=nahw] .quiz-screen .find-word-selection-card small{color:var(--text-secondary);font-family:var(--sans);font-size:13px;line-height:1.4;display:block}.site-shell[data-activity=nahw] .results-hero>div{min-width:0}@media (max-width:650px){.site-shell[data-activity=nahw] .results-hero{flex-direction:column;align-items:stretch;gap:18px}.site-shell[data-activity=nahw] .results-hero .report-score{text-align:start;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:2px 16px;display:grid}.site-shell[data-activity=nahw] .report-score>strong{grid-area:1/1/3}.site-shell[data-activity=nahw] .report-score>:is(span,small){overflow-wrap:anywhere;grid-column:2}}
.record-shell[data-page=history]{margin-top:26px}.record-shell[data-page=history] .record-heading{background:0 0;border:0;border-radius:0;align-items:center;gap:12px;min-height:0;padding:0 0 16px}.record-shell[data-page=history] .record-heading h1{letter-spacing:-.035em;margin:4px 0 0;font-size:clamp(1.65rem,3vw,2rem);line-height:1.2}.record-shell[data-page=history] .record-heading .eyebrow{margin:0;font-size:.6875rem}.history-count{color:var(--text-secondary);text-align:end;font-size:.8125rem;line-height:1.5}.history-modes{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.history-mode{border:1px solid var(--border-subtle);background:var(--bg-surface);min-width:0;min-height:66px;color:var(--text-heading);cursor:pointer;font-family:var(--sans);text-align:start;border-radius:10px;gap:5px;padding:10px 12px;display:grid}.history-mode>span{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 8px;display:flex}.history-mode strong{font-size:.875rem;line-height:1.3}.history-mode bdi{color:var(--text-secondary);font:700 1rem/1.35 var(--arabic)}.history-mode small{color:var(--text-secondary);font-size:.75rem;line-height:1.4}.history-mode:hover{border-color:var(--selection-border);background:var(--bg-inset)}.history-mode[aria-pressed=true]{border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-text);box-shadow:inset 0 0 0 1px var(--selection-border)}.history-mode[aria-pressed=true] bdi,.history-mode[aria-pressed=true] small{color:var(--selection-text)}.record-shell[data-page=history] .history-tools{gap:8px;margin:0 0 14px}.record-shell[data-page=history] .history-search{min-height:44px;padding:8px 12px}.record-shell[data-page=history] .history-filters-toggle{min-height:44px;padding:8px 14px;font-size:.8125rem}.record-shell[data-page=history] .history-filter-panel{border-radius:10px;margin-bottom:14px;padding:12px}.record-shell[data-page=history] .history-filter-panel>div,.record-shell[data-page=history] .history-filter-panel>div:last-child{grid-template-columns:repeat(3,minmax(0,1fr))}.record-shell[data-page=history] .session-list{gap:8px}.record-shell[data-page=history] .session-row{border-inline-start:1px solid var(--border-subtle);grid-template-columns:minmax(0,1fr) 20px;gap:12px;min-height:0;padding:14px 16px}.record-shell[data-page=history] .session-row:hover{border-color:var(--selection-border);background:var(--bg-inset)}.record-shell[data-page=history] .session-summary{grid-area:auto;gap:9px}.record-shell[data-page=history] .session-summary>strong{white-space:normal;overflow-wrap:anywhere;font-size:.9375rem;line-height:1.5}.history-session-meta,.history-session-stats{flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;display:flex}.history-session-meta time{color:var(--text-secondary);font-size:.75rem;line-height:1.5}.history-chip{border:1px solid var(--border-subtle);background:var(--bg-inset);max-width:100%;color:var(--text-secondary);border-radius:7px;flex-wrap:wrap;align-items:baseline;gap:4px;padding:4px 7px;font-size:.75rem;font-weight:650;line-height:1.4;display:inline-flex}.history-chip strong,.history-chip b{color:inherit;font-weight:850}.history-chip[data-tone=success]{border-color:color-mix(in srgb, var(--success-border) 45%, var(--bg-surface));background:var(--success-bg);color:var(--success-text)}.history-chip[data-tone=review]{border-color:color-mix(in srgb, var(--error-border) 45%, var(--bg-surface));background:var(--error-bg);color:var(--error-text)}.history-chip[data-tone=info]{border-color:color-mix(in srgb, var(--info-border) 45%, var(--bg-surface));background:var(--info-bg);color:var(--info-text)}.history-mode-chip{border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-text)}.history-mode-chip bdi{font:700 .875rem/1.25 var(--arabic)}.record-shell[data-page=history] .session-row>i{grid-area:auto/2;display:block}.record-shell[data-page=history] .session-row-skeleton{grid-template-columns:60px minmax(0,1fr) 70px;min-height:72px}.record-shell[data-page=history] .history-detail-heading{border:1px solid var(--border-subtle);background:var(--bg-surface);border-radius:12px;gap:14px;margin-top:4px;padding:16px;display:grid}.history-detail-title{min-width:0}.record-shell[data-page=history] .history-detail-heading h1{margin-top:10px}.record-shell[data-page=history] .record-heading .history-session-focus{overflow-wrap:anywhere;max-width:none;margin:6px 0 0;font-size:.9375rem;line-height:1.5}.history-filter-notice{border-inline-start:3px solid var(--info-border);background:var(--info-bg);color:var(--info-text);padding:8px 12px;font-size:.8125rem;line-height:1.5}.history-review-tools{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 16px;margin-top:10px;display:flex}.history-review-tools>.secondary-button{min-height:44px;font-size:.8125rem}.history-score-notes{color:var(--text-secondary);flex:300px;font-size:.8125rem;line-height:1.5}.history-score-notes summary{min-height:44px;color:var(--link);cursor:pointer;align-items:center;gap:7px;font-weight:750;list-style:none;display:flex}.history-score-notes summary::-webkit-details-marker{display:none}.history-score-notes summary:before{content:"+";font-size:1.125rem}.history-score-notes[open] summary:before{content:"−"}.history-score-notes p{margin:0 0 8px}.record-shell[data-page=history] .saved-question-list{margin-top:14px}.record-shell[data-page=history] .saved-question summary>em.history-chip{padding:4px 7px;font-size:.8125rem}@media (max-width:760px){.record-shell[data-page=history] .record-heading{flex-direction:row;align-items:center}.history-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.history-mode{padding:9px 10px}.history-count{max-width:120px}.record-shell[data-page=history] .history-filter-panel>div,.record-shell[data-page=history] .history-filter-panel>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.record-shell[data-page=history] .session-row{gap:8px;padding:12px}.record-shell[data-page=history] .history-detail-heading{padding:12px}}@media (max-width:380px){.record-shell[data-page=history] .history-list-heading{flex-wrap:wrap}.history-count{text-align:start;max-width:none}.record-shell[data-page=history] .history-filter-panel>div,.record-shell[data-page=history] .history-filter-panel>div:last-child{grid-template-columns:minmax(0,1fr)}.history-review-tools>.secondary-button{width:100%}}
.insights-shell[data-page=insights] .record-heading{align-items:center;gap:12px;min-height:0;margin-bottom:18px;padding:14px 16px}.insights-shell[data-page=insights] .record-heading h1{margin:5px 0 0;font-size:clamp(26px,3vw,32px);line-height:1.2}.insights-shell[data-page=insights] .record-heading .primary-button{flex:none;min-height:44px}.insights-shell[data-page=insights] .insights-overview-summary{border:1px solid var(--border-subtle);background:var(--bg-surface);border-radius:14px;padding:16px 18px}.insights-shell[data-page=insights] .insight-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.insights-shell[data-page=insights] .insight-kpis article{background:0 0;border:0;border-radius:0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 12px;min-height:0;padding:0}.insights-shell[data-page=insights] .insight-kpis strong{font-variant-numeric:tabular-nums;grid-area:1/1/3;font-size:30px;line-height:1.2}.insights-shell[data-page=insights] .insight-kpis span,.insights-shell[data-page=insights] .insight-kpis small{grid-column:2}.insights-shell[data-page=insights] .insight-kpis span{color:var(--text-heading);font-size:13px;line-height:1.4}.insights-shell[data-page=insights] .insight-kpis small{color:var(--text-secondary);font-size:12px;line-height:1.4}.insights-shell[data-page=insights] .insights-summary-meta{border-top:1px solid var(--border-subtle);flex-wrap:wrap;align-items:flex-start;gap:8px;margin-top:14px;padding-top:12px;display:flex}.insights-shell[data-page=insights] .insights-chip{border:1px solid var(--border-subtle);width:fit-content;max-width:100%;font:700 12px/1.4 var(--sans);font-variant-numeric:tabular-nums;white-space:normal;border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:4px 9px;display:inline-flex}.insights-shell[data-page=insights] .insights-chip--neutral{background:var(--bg-inset);color:var(--text-secondary)}.insights-shell[data-page=insights] .insights-chip--warning{border-color:var(--warning-border);background:var(--warning-bg);color:var(--warning-text)}.insights-shell[data-page=insights] .insights-score-help{flex:190px;min-width:0;margin-left:auto}.insights-shell[data-page=insights] .insights-score-help summary{width:fit-content;min-height:44px;color:var(--link);font:700 12px/1.4 var(--sans);cursor:pointer;margin:-7px 0;padding:12px 0}.insights-shell[data-page=insights] .insights-score-help p{color:var(--text-secondary);margin:8px 0 0;font-size:13px;line-height:1.6}.insights-shell[data-page=insights] .insight-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:14px;margin-top:14px}.insights-shell[data-page=insights] .insights-focus,.insights-shell[data-page=insights] .insights-trend{border-color:var(--border-subtle);min-width:0;min-height:0;padding:16px}.insights-shell[data-page=insights] .insights-focus>header,.insights-shell[data-page=insights] .insights-trend>header{border-color:var(--border-subtle);align-items:start;padding-bottom:12px}.insights-shell[data-page=insights] .insights-focus h2,.insights-shell[data-page=insights] .insights-trend h2{font-size:19px;line-height:1.35}.insights-shell[data-page=insights] .insights-focus>article{border-color:var(--border-subtle);grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px 0}.insights-shell[data-page=insights] .insights-focus>article:last-child{border-bottom:0;padding-bottom:0}.insights-shell[data-page=insights] .insights-focus article>div:first-child{grid-area:1/1;gap:3px}.insights-shell[data-page=insights] .insights-focus article strong{color:var(--text-heading);font:750 15px/1.5 var(--sans);text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.insights-shell[data-page=insights] .insights-focus article small{color:var(--text-secondary);font-size:12px}.insights-shell[data-page=insights] .insights-focus article .insights-area-result{flex-wrap:wrap;grid-area:2/1;align-items:center;gap:6px;display:flex}.insights-shell[data-page=insights] .insights-focus .insights-pattern-button{grid-area:1/2/3;align-self:center;max-width:100%;margin:0;padding:8px 12px;font-size:12px;line-height:1.4}.insights-shell[data-page=insights] .insights-trend>header>small{color:var(--text-secondary);margin-top:5px;font-size:12px;line-height:1.4;display:block}.insights-shell[data-page=insights] .insights-trend .trend-bars{grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:12px;height:auto;padding-top:14px;display:grid}.insights-shell[data-page=insights] .insights-trend .trend-bars article{grid-template-rows:none;grid-template-columns:minmax(90px,110px) minmax(0,1fr) 38px;place-items:center stretch;gap:10px;min-width:0;display:grid}.insights-shell[data-page=insights] .trend-bars article>.insights-trend-label{background:0 0;border-radius:0;gap:1px;width:auto;height:auto;display:grid;overflow:visible}.insights-shell[data-page=insights] .insights-trend-label bdi{color:var(--text-heading);font:750 13px/1.4 var(--sans);overflow-wrap:anywhere}.insights-shell[data-page=insights] .insights-trend-label small{color:var(--text-secondary);font:500 11px/1.4 var(--sans)}.insights-shell[data-page=insights] .trend-bars article>.insights-trend-track{background:var(--bg-inset);border-radius:4px;width:100%;height:14px}.insights-shell[data-page=insights] .insights-trend-track i{background:var(--action-primary-bg);border-radius:4px;height:100%}.insights-shell[data-page=insights] .trend-bars article>span{color:var(--text-heading);font:750 12px/1.4 var(--sans);font-variant-numeric:tabular-nums;justify-self:end}.insights-shell[data-page=insights] .insights-patterns{border-color:var(--border-subtle);margin:14px 0 0;padding:0 16px}.insights-shell[data-page=insights] .insights-patterns>summary{cursor:pointer;align-items:center;gap:10px;min-height:52px;padding:10px 0;display:flex}.insights-shell[data-page=insights] .insights-patterns>summary:before{content:"+";color:var(--link);font:750 20px/1 var(--sans)}.insights-shell[data-page=insights] .insights-patterns[open]>summary:before{content:"−"}.insights-shell[data-page=insights] .insights-patterns>summary::-webkit-details-marker{display:none}.insights-shell[data-page=insights] .insights-patterns h2{flex:1;margin:0;font-size:16px}.insights-shell[data-page=insights] .insights-patterns>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}.insights-shell[data-page=insights] .insights-patterns article{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0;padding:12px}.insights-shell[data-page=insights] .insights-patterns article>div{grid-column:1/-1;min-width:0}.insights-shell[data-page=insights] .insights-patterns article strong{grid-row:auto;font-size:14px;line-height:1.5}.insights-shell[data-page=insights] .insights-patterns article p{margin:4px 0 0;font-size:12px;line-height:1.5}.insights-shell[data-page=insights] .insights-patterns article>span{grid-column:1;align-self:center}.insights-shell[data-page=insights] .insights-patterns article>button{grid-column:2;font-size:12px}.insights-shell[data-page=insights] .empty-insight{color:var(--text-secondary);padding:20px 0 4px;font-size:14px}.insights-shell[data-page=insights] summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px;border-radius:5px}@media (max-width:900px){.insights-shell[data-page=insights] .insight-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.insights-shell[data-page=insights] .record-heading{flex-direction:column;align-items:stretch}.insights-shell[data-page=insights] .insights-overview-summary{padding:14px}.insights-shell[data-page=insights] .insight-kpis{gap:14px}.insights-shell[data-page=insights] .insight-kpis article{grid-template-columns:minmax(0,1fr);gap:3px}.insights-shell[data-page=insights] .insight-kpis strong{grid-row:2;font-size:28px}.insights-shell[data-page=insights] .insight-kpis span,.insights-shell[data-page=insights] .insight-kpis small{grid-column:1}.insights-shell[data-page=insights] .insights-score-help{flex-basis:100%}.insights-shell[data-page=insights] .insights-focus,.insights-shell[data-page=insights] .insights-trend{padding:14px}.insights-shell[data-page=insights] .insights-focus article>div:first-child{grid-column:1/-1}.insights-shell[data-page=insights] .insights-focus .insights-pattern-button{grid-row:2;padding:8px}.insights-shell[data-page=insights] .insights-patterns>div{grid-template-columns:minmax(0,1fr)}.insights-shell[data-page=insights] .insights-patterns article>button{padding:8px}.insights-shell[data-page=insights] .insights-trend .trend-bars article{grid-template-columns:minmax(84px,96px) minmax(0,1fr) 36px;gap:8px}}
.journal-example-feedback-content{align-items:flex-start;gap:var(--space-3);min-width:0;display:flex}@media (prefers-reduced-motion:no-preference){:root{--motion-quick:.14s;--motion-reveal:.22s;--ease-settle:cubic-bezier(.22, 1, .36, 1)}:is(.difficulty-option,.state-mode-options label,.numbers-setting-group label,.settings-trigger,.setup-disclosure>summary,.journal-link,.marketing-topbar nav>a){transition:background-color var(--motion-quick) ease, border-color var(--motion-quick) ease, color var(--motion-quick) ease, text-decoration-color var(--motion-quick) ease}:is(.topic-card,.difficulty-option,.state-mode-options label,.numbers-setting-group label) i,.sarf-choice-check{transition:background-color var(--motion-quick) ease, border-color var(--motion-quick) ease, color var(--motion-quick) ease, scale var(--motion-reveal) var(--ease-settle)}:is(.topic-card,.difficulty-option,.state-mode-options label,.numbers-setting-group label).selected i,.sarf-choice.selected .sarf-choice-check{animation:selection-settle var(--motion-reveal) var(--ease-settle)}.settings-trigger svg{transition:rotate var(--motion-reveal) var(--ease-settle)}.practice-settings-menu[open]>.settings-trigger svg{rotate:30deg}.practice-settings-menu[open]>.settings-menu-panel{transform-origin:100% 0;animation:menu-reveal .16s var(--ease-settle)}.site-shell>:is(.section-hub,.home-shell,.results-shell,.history-shell,.insights-shell,.practice-settings-content){animation:feedback-reveal var(--motion-reveal) ease-out}.journal-example-feedback-content,.translation-copy,.conversations-feedback{animation:content-reveal var(--motion-reveal) var(--ease-settle)}.feedback-panel .feedback-heading,.feedback-panel .feedback-scroll-region,.numbers-feedback{animation:.18s ease-out feedback-reveal}.modal-backdrop,:is(.hint-dialog,.mobile-practice-help-dialog)[open]::backdrop{animation:.16s ease-out feedback-reveal}.modal-backdrop>:is(.exit-dialog,.notes-dialog),:is(.hint-dialog,.mobile-practice-help-dialog)[open]{animation:dialog-reveal var(--motion-reveal) var(--ease-settle)}@supports (interpolate-size:allow-keywords) and (transition-behavior:allow-discrete){.setup-disclosure::details-content{interpolate-size:allow-keywords;block-size:0;overflow:clip}.setup-disclosure[open]::details-content{block-size:auto;transition:block-size var(--motion-reveal) var(--ease-settle), content-visibility var(--motion-reveal) allow-discrete}}@media (hover:hover) and (pointer:fine){:is(.journal-link,.primary-button)>span[aria-hidden=true],.section-card-action i{transition:translate var(--motion-reveal) var(--ease-settle);display:inline-block}:is(.journal-link,.primary-button):hover>span[aria-hidden=true],.section-card:hover .section-card-action i{translate:3px}.primary-button:disabled>span[aria-hidden=true]{translate:none}}@keyframes content-reveal{0%{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes feedback-reveal{0%{opacity:.5}to{opacity:1}}@keyframes menu-reveal{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:none}}@keyframes dialog-reveal{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:none}}@keyframes selection-settle{0%{scale:.8}to{scale:1}}}
.sarf-speed-lab .sarf-speed-config{grid-template-columns:repeat(3,minmax(0,1fr))}.sarf-speed-lab .sarf-speed-tenses{grid-template-columns:repeat(4,minmax(0,1fr))}.sarf-speed-lab .sarf-speed-options{grid-template-columns:repeat(2,minmax(0,1fr))}.sarf-speed-lab .sarf-speed-options label>i{border-radius:5px;font-size:14px}.sarf-speed-lab .sarf-speed-options small bdi{font-family:var(--arabic);font-size:22px;line-height:1.5}.sarf-speed-lab .sarf-speed-config label.selected>i,.sarf-speed-lab .sarf-speed-tenses label.selected>i{font-size:14px}.sarf-speed-lab .sarf-speed-tenses label{gap:5px;min-height:64px;padding:10px}.sarf-speed-lab .sarf-speed-tenses label strong{font-size:13px}.sarf-speed-prompt{justify-content:center;align-items:center;gap:clamp(20px,5vw,72px);width:100%;display:flex}.sarf-speed-base,.sarf-speed-target{justify-items:center;gap:4px;min-width:0;display:grid}.sarf-speed-base>span,.sarf-speed-target>span{color:var(--text-secondary);font-size:12px;font-weight:700}.sarf-speed-base>bdi,.sarf-speed-target>bdi{color:var(--text-heading);font:650 clamp(34px, 4vw, 56px)/1.7 var(--arabic);letter-spacing:normal}.sarf-speed-base>small,.sarf-speed-target>small{color:var(--text-secondary);font:500 13px/1.5 var(--sans)}.sarf-speed-base small bdi{font:550 20px/1.6 var(--arabic)}.sarf-speed-target>bdi{color:var(--selection-text)}.sarf-speed-arrow{color:var(--text-secondary);font-size:26px}.sarf-speed-lab .sarf-speed-choice-grid button{letter-spacing:normal;min-width:0;padding:10px 42px;position:relative}.sarf-speed-choice-label{justify-items:center;gap:3px;width:100%;min-width:0;display:grid}.sarf-speed-lab .sarf-speed-choice-label>bdi{font:650 clamp(23px, 2.5vw, 36px)/1.7 var(--arabic);letter-spacing:normal;white-space:normal;overflow-wrap:anywhere}.sarf-speed-choice-label>small{color:var(--text-secondary);font:500 12px/1.4 var(--sans);white-space:normal}.sarf-speed-lab .sarf-speed-note{font-size:12px;line-height:1.5}.sarf-speed-note bdi,.sarf-speed-lab .numbers-feedback p bdi{font:600 22px/1.5 var(--arabic);letter-spacing:normal}.sarf-speed-lab .sarf-speed-timing{font-variant-numeric:tabular-nums;flex-shrink:0;font-size:16px;display:block}.sarf-speed-lab .numbers-mistake-list bdi{font:550 23px/1.6 var(--arabic);letter-spacing:normal}.sarf-speed-lab .sarf-speed-quiz-card{grid-template-rows:auto minmax(130px,.8fr) minmax(220px,1.2fr)}.sarf-speed-lab .numbers-feedback p{flex-wrap:wrap;gap:4px 16px;display:flex}.sarf-speed-advanced{border-top:1px solid var(--border-subtle)}.sarf-speed-advanced-toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:14px 18px;list-style:none;display:flex}.sarf-speed-advanced-toggle::-webkit-details-marker{display:none}.sarf-speed-advanced-toggle:hover{background:var(--bg-inset)}.sarf-speed-advanced-toggle:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px}.sarf-speed-advanced-toggle>span{gap:3px;min-width:0;display:grid}.sarf-speed-advanced-toggle strong{color:var(--text-heading);font-size:14px}.sarf-speed-advanced-toggle small{color:var(--text-secondary);font-size:12px;line-height:1.4}.sarf-speed-advanced-toggle svg{color:var(--text-secondary);flex-shrink:0;transition:transform .15s}.sarf-speed-advanced[open]>summary svg{transform:rotate(180deg)}.sarf-speed-lab .sarf-speed-prompt-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.sarf-speed-lab .sarf-speed-prompt-modes label{align-items:start;min-height:132px}.sarf-speed-lab .sarf-speed-prompt-modes label.selected>i{font-size:14px}.sarf-speed-lab .sarf-speed-prompt-modes label.selected>i:after{display:none}.sarf-speed-mode-example{color:var(--text-secondary);direction:ltr;align-items:center;gap:12px;margin-top:7px;display:flex}.sarf-speed-mode-example bdi{color:var(--text-body);font:550 23px/1.7 var(--arabic)}@media (max-width:720px){.sarf-speed-lab .sarf-speed-prompt-modes{grid-template-columns:minmax(0,1fr)}.sarf-speed-lab .sarf-speed-prompt-modes label{min-height:0}.sarf-speed-advanced-toggle{padding-inline:14px}}@media (prefers-reduced-motion:reduce){.sarf-speed-advanced-toggle svg{transition:none}}@media (max-width:900px){.sarf-speed-lab .sarf-speed-config{grid-template-columns:1fr}.sarf-speed-lab .sarf-speed-config label{min-height:58px}.sarf-speed-lab .sarf-speed-tenses{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.sarf-speed-setup .home-intro h1{font-size:34px;line-height:1.15}.sarf-speed-setup .home-intro h1 br,.sarf-speed-setup .home-intro h1 em{display:none}.sarf-speed-setup .home-copy{margin:8px 0 0;font-size:13px;line-height:1.5}.sarf-speed-lab .sarf-speed-options{grid-template-columns:1fr}.sarf-speed-lab .sarf-speed-options label{min-height:75px}.sarf-speed-lab .sarf-speed-quiz-card{grid-template-rows:auto minmax(110px,.7fr) minmax(220px,1.3fr)}.sarf-speed-lab .sarf-speed-display{padding:6px 12px}.sarf-speed-prompt{gap:16px}.sarf-speed-base>bdi,.sarf-speed-target>bdi{font-size:32px;line-height:1.65}.sarf-speed-base>small,.sarf-speed-target>small{font-size:11px}.sarf-speed-lab .sarf-speed-choice-grid{gap:8px}.sarf-speed-lab .sarf-speed-choice-grid button{min-height:68px;padding:5px 22px}.sarf-speed-lab .sarf-speed-choice-label>bdi{font-size:24px;line-height:1.6}.sarf-speed-choice-label>small{font-size:10px;line-height:1.3}.sarf-speed-lab .sarf-speed-note{margin-block:3px;font-size:10px}.sarf-speed-lab .numbers-feedback{padding:8px 10px}.sarf-speed-note bdi,.sarf-speed-lab .numbers-feedback p bdi{font-size:18px}.sarf-speed-lab .quiz-topic-label{font-size:10px;line-height:1.5;display:block}}@media (max-height:560px){.sarf-speed-lab .sarf-speed-quiz-card{grid-template-rows:auto minmax(65px,.5fr) minmax(150px,1.5fr)}.sarf-speed-lab .sarf-speed-display{padding:2px 10px}.sarf-speed-base,.sarf-speed-target{gap:0}.sarf-speed-base>span,.sarf-speed-target>span{font-size:10px}.sarf-speed-base>bdi,.sarf-speed-target>bdi{font-size:26px;line-height:1.35}.sarf-speed-base>small,.sarf-speed-target>small{font-size:10px}.sarf-speed-lab .sarf-speed-choice-grid button{min-height:45px;padding-block:2px}.sarf-speed-lab .sarf-speed-choice-label>bdi{font-size:20px;line-height:1.4}.sarf-speed-choice-label>small{font-size:9px}.sarf-speed-lab .numbers-feedback{padding-block:3px}.sarf-speed-lab .numbers-feedback h2{font-size:16px}.sarf-speed-lab .numbers-feedback p{margin:0}.sarf-speed-lab .quiz-question-title{padding-block:4px}.sarf-speed-lab .quiz-question-title h1{font-size:17px;line-height:1.3}.sarf-speed-lab .quiz-topic-label{font-size:9px;line-height:1.3}}.sarf-speed-lab .numbers-setting-group label.selected>i:after{display:none}.sarf-speed-lab .sarf-speed-choice-grid button:disabled{opacity:1}.sarf-speed-lab .numbers-feedback,.sarf-speed-lab .numbers-feedback p:not(.eyebrow),.sarf-speed-lab .sarf-speed-timing{color:var(--text-body)}@media (max-height:560px){.sarf-speed-lab .numbers-answer-content{flex:none}.sarf-speed-lab .numbers-feedback{gap:8px;min-height:0;max-height:none;padding:4px 8px;display:flex}.sarf-speed-lab .numbers-feedback h2{font-size:14px;line-height:1.25}.sarf-speed-lab .numbers-feedback p:not(.eyebrow){font-size:10px;line-height:1.25}.sarf-speed-lab .numbers-feedback p bdi{font-size:16px;line-height:1.35}.sarf-speed-lab .numbers-feedback.incorrect .sarf-speed-note{display:none}.sarf-speed-lab .sarf-speed-timing{font-size:12px}}@media (max-height:400px) and (min-width:480px){.sarf-speed-choice-label>small{display:none}}.sarf-speed-lab .sarf-speed-tense{display:block!important}@media (max-height:760px) and (max-width:479px){.sarf-speed-lab .sarf-speed-quiz-card.showing-feedback{grid-template-rows:auto minmax(75px,.4fr) minmax(300px,1.6fr)}.sarf-speed-lab .numbers-answer-content{flex:none}.sarf-speed-lab .numbers-feedback{gap:8px;min-height:0;padding:5px 8px;display:flex}.sarf-speed-lab .numbers-feedback h2{font-size:15px;line-height:1.25}.sarf-speed-lab .numbers-feedback p:not(.eyebrow){font-size:11px;line-height:1.3}.sarf-speed-lab .numbers-feedback p bdi{font-size:16px;line-height:1.4}.sarf-speed-lab .numbers-feedback.incorrect .sarf-speed-note{display:none}.sarf-speed-lab .sarf-speed-timing{font-size:12px}}@media (max-height:640px) and (max-width:479px){.sarf-speed-choice-label>small{display:none}.sarf-speed-lab .sarf-speed-choice-grid button{padding-inline:12px}.sarf-speed-lab .sarf-speed-choice-label>bdi{font-size:20px;line-height:1.4}}
.sarf-speed-lab .sarf-results-shell{width:min(100% - 40px,720px);box-shadow:none;background:0 0;border:0;border-radius:0;margin:clamp(26px,5vh,56px) auto 64px;padding:0;animation:none;overflow:visible}.sarf-result-summary{border:1px solid var(--border-subtle);background:var(--bg-surface);box-shadow:var(--shadow-panel);border-radius:24px;overflow:hidden}.sarf-result-heading{text-align:center;justify-items:center;padding:32px 28px 0;display:grid}.sarf-result-icon{background:var(--selection-bg);width:44px;height:44px;color:var(--selection-text);border-radius:50%;place-items:center;margin-bottom:16px;display:grid}.sarf-result-icon svg{width:22px;height:22px}.sarf-result-heading .eyebrow{color:var(--text-secondary);letter-spacing:.12em;margin-bottom:10px;font-size:11px}.sarf-result-heading h1{letter-spacing:-.035em;margin:0;font-size:clamp(25px,4vw,34px);line-height:1.2}.sarf-result-message{max-width:40ch;color:var(--text-secondary);margin:10px 0 0;font-size:14px;line-height:1.55}.sarf-result-metrics{background:var(--bg-inset);border-radius:16px;grid-template-columns:1.1fr 1fr;align-items:center;gap:24px;margin:28px;padding:24px;display:grid}.sarf-result-score,.sarf-result-speed{text-align:center;justify-items:center;min-width:0;display:grid}.sarf-result-score{gap:5px}.sarf-result-value{color:var(--link);letter-spacing:-.065em;font-variant-numeric:tabular-nums;font-size:clamp(52px,8vw,76px);font-weight:800;line-height:1.05}.sarf-result-label{color:var(--text-heading);font-size:14px;font-weight:750}.sarf-result-score small,.sarf-result-speed small{color:var(--text-secondary);font-size:12px;line-height:1.45}.sarf-result-speed{border-left:1px solid var(--border-subtle);align-content:center;align-self:stretch;gap:7px;padding-left:24px}.sarf-result-speed strong{color:var(--text-heading);letter-spacing:-.035em;font-variant-numeric:tabular-nums;font-size:clamp(26px,4.3vw,36px);font-weight:750;line-height:1.15}.sarf-result-speed>span{color:var(--text-body);font-size:13px;font-weight:650;line-height:1.4}.sarf-result-actions{justify-content:center;gap:12px;padding:0 28px 28px;display:flex}.sarf-result-actions button{border-radius:10px;flex:1 1 0;justify-content:center;align-items:center;gap:10px;min-width:0;max-width:280px;min-height:48px;display:inline-flex}.sarf-result-actions .secondary-button{border-color:var(--border-subtle);background:var(--bg-surface)}.sarf-result-actions .secondary-button:hover{border-color:var(--selection-border);background:var(--bg-inset)}.sarf-result-actions button svg{flex-shrink:0;width:16px;height:16px;transition:transform .16s}.sarf-result-actions button[aria-expanded=true] svg{transform:rotate(180deg)}.sarf-results-shell button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.sarf-result-details{border:1px solid var(--border-subtle);background:var(--bg-surface);border-radius:20px;gap:22px;margin-top:24px;padding:28px;display:grid}.sarf-result-details[hidden]{display:none}.sarf-result-detail-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.sarf-result-detail-heading h2,.sarf-answer-review h2,.sarf-answer-review h3{color:var(--text-heading);letter-spacing:-.025em;margin:0;font-size:19px;line-height:1.35}.sarf-result-detail-heading .secondary-button{flex-shrink:0;min-height:44px;padding-inline:14px;font-size:12px}.sarf-result-session-meta{color:var(--text-secondary);margin:-12px 0 0;font-size:12px;line-height:1.6}.sarf-direction-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.sarf-direction-results article{background:var(--bg-inset);border-radius:12px;gap:8px;min-width:0;padding:18px;display:grid}.sarf-direction-results h3{color:var(--text-body);margin:0;font-size:13px;font-weight:650;line-height:1.4}.sarf-direction-results strong{color:var(--text-heading);letter-spacing:-.035em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:750;line-height:1.15}.sarf-direction-results span{color:var(--text-secondary);font-size:12px;line-height:1.5}.sarf-answer-review{min-width:0}.sarf-answer-review h2{align-items:center;gap:8px;display:flex}.sarf-answer-review h2>span{background:var(--bg-inset);min-width:22px;height:22px;color:var(--text-secondary);letter-spacing:normal;border-radius:6px;place-items:center;padding-inline:6px;font-size:11px;font-weight:700;line-height:1;display:inline-grid}.sarf-result-time{white-space:nowrap}.sarf-answer-review>p{color:var(--text-secondary);margin:10px 0 0;font-size:13px;line-height:1.6}.sarf-answer-list{gap:0;margin:16px 0 0;padding:0;list-style:none;display:grid}.sarf-answer-list>li{border-top:1px solid var(--border-subtle);min-width:0;padding:18px 0}.sarf-answer-context{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.sarf-answer-context>bdi{color:var(--text-heading);font:650 25px/1.6 var(--arabic)}.sarf-answer-context>small{color:var(--text-secondary);font-size:12px}.sarf-answer-list dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 0;display:grid}.sarf-answer-list dl>div{min-width:0}.sarf-answer-list dt{color:var(--text-secondary);font-size:11px;font-weight:650;line-height:1.5}.sarf-answer-list dd{color:var(--text-body);font:550 23px/1.8 var(--arabic);overflow-wrap:anywhere;margin:4px 0 0}.sarf-result-method{border-top:1px solid var(--border-subtle);color:var(--text-secondary);margin:0;padding-top:18px;font-size:12px;line-height:1.65}.sarf-results-shell>.session-save-warning{margin-top:16px}@media (max-width:720px){.sarf-speed-lab .sarf-results-shell{width:min(100% - 28px,560px);margin:20px auto 40px}.sarf-result-summary{border-radius:20px}.sarf-result-heading{padding:26px 20px 0}.sarf-result-icon{width:38px;height:38px;margin-bottom:13px}.sarf-result-heading h1{font-size:27px}.sarf-result-message{font-size:13px}.sarf-result-metrics{gap:16px;margin:24px 20px;padding:22px 14px}.sarf-result-value{font-size:60px}.sarf-result-speed{gap:7px;padding-left:16px}.sarf-result-speed strong{font-size:28px}.sarf-result-speed>span{max-width:11ch;font-size:12px}.sarf-result-label{font-size:13px}.sarf-result-actions{gap:10px;padding:0 20px 22px}.sarf-result-actions button{min-height:46px;padding-inline:10px;font-size:13px}.sarf-result-details{border-radius:16px;gap:20px;margin-top:18px;padding:20px}.sarf-result-detail-heading{align-items:flex-start}.sarf-result-detail-heading h2,.sarf-answer-review h2,.sarf-answer-review h3{font-size:17px}.sarf-result-detail-heading .secondary-button{max-width:135px;padding-inline:10px}.sarf-direction-results{gap:10px}.sarf-direction-results article{padding:14px}}@media (max-width:359px){.sarf-result-heading{padding:20px 16px 0}.sarf-result-icon{width:34px;height:34px;margin-bottom:11px}.sarf-result-heading h1{font-size:24px}.sarf-result-heading .eyebrow{margin-bottom:8px;font-size:10px}.sarf-result-metrics{gap:12px;margin:20px 16px;padding:18px 10px}.sarf-result-value{font-size:52px}.sarf-result-speed{padding-left:12px}.sarf-result-speed strong{font-size:25px}.sarf-result-actions{padding:0 16px 18px}.sarf-result-actions button{gap:5px;font-size:12px}.sarf-result-details{padding:16px}.sarf-direction-results{grid-template-columns:minmax(0,1fr)}.sarf-answer-list dl{grid-template-columns:minmax(0,1fr);gap:10px}}@media (prefers-reduced-motion:reduce){.sarf-result-actions button svg{transition:none}}
