@font-face{font-family:Noto Naskh Arabic;src:url(/assets/NotoNaskhArabic-Regular-CENot8Ua.ttf) format("truetype");font-weight:400;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f2f4f8;color:#172033;font-family:system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #C7D1DF;border-radius:10px;background:#fff;color:#06d;padding:9px 14px}button:disabled{opacity:.45;cursor:default}button[aria-current=page]{background:#e7f1ff}input,select,textarea{padding:9px;border:1px solid #C7D1DF;border-radius:8px;background:#fff;color:#172033}textarea{width:100%;min-height:100px;resize:vertical}label{display:inline-flex;gap:8px;align-items:center;margin:7px 0}label.field{display:flex;flex-direction:column;align-items:stretch}input[type=checkbox]{width:20px;height:20px}fieldset{border:1px solid #DDE3ED;border-radius:12px;margin:16px 0;padding:12px}legend{font-weight:600}.app-header{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:16px 28px;border-bottom:1px solid #DDE3ED}h1{font-size:22px}h1 small{font-size:13px;display:block;color:#57657a}h2{font-size:22px}h3{font-size:20px}h4{margin:0 0 12px}nav{display:flex;gap:8px;padding:16px 28px}main{padding:16px 28px;max-width:1800px;margin:auto}.toolbar,.filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.editor-grid{display:grid;grid-template-columns:minmax(340px,1fr) minmax(360px,1fr);gap:28px;align-items:start}.preview-column{background:#edf1f6;padding:16px;border-radius:18px;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow-y:auto}.preview-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}.preview-head h3{margin:0}.block-editor{padding:12px;border-bottom:1px solid #DDE3ED}.block-editor textarea{display:block}table{border-collapse:collapse;width:100%;background:#fff}th,td{padding:10px;border:1px solid #DDE3ED;text-align:start}pre{white-space:pre-wrap;word-break:break-word;direction:ltr;text-align:left;max-height:320px;overflow:auto;font-size:12px}code{display:block;overflow-wrap:anywhere;font-size:12px}details{padding:10px 0}summary{cursor:pointer}.error,[role=alert]{color:#b23a2e}.login{max-width:420px;margin:10vh auto;padding:24px;background:#fff;border-radius:20px;display:flex;flex-direction:column;gap:12px}.login label{flex-direction:column;align-items:stretch}.modal{position:fixed;inset:0;background:#15213b85;display:grid;place-items:center;z-index:100;padding:24px;overflow:auto}.modal>div{background:#fff;border-radius:20px;padding:24px;width:min(800px,100%);max-height:90vh;overflow:auto}.modal .login{margin:0}.stats{display:flex;flex-wrap:wrap;gap:16px}.stats>div{padding:24px;background:#fff;border-radius:18px;min-width:160px}.stats strong{display:block;font-size:30px;margin-top:12px}.student-preview{font-family:Noto Naskh Arabic,serif;font-size:19px;line-height:1.9;color:var(--native-ink);background:var(--native-bg);margin:16px auto;overflow-wrap:anywhere;padding:16px}.student-preview p{margin:0;white-space:pre-wrap}.student-preview .stem{padding:24px;border-radius:26px;background:#fff;border:1px solid var(--native-line)}.passage{white-space:pre-wrap;background:#fff;padding:18px;border-radius:20px;margin-bottom:14px}.options{display:grid;gap:12px;margin:16px 0}.tablet-options{grid-template-columns:1fr 1fr}.option{display:flex;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--native-line);background:#fff;border-radius:18px;min-height:69px}.option>b{border:1px solid var(--native-line);border-radius:50%;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;font:700 15px Noto Naskh Arabic}.option>div{min-width:0;flex:1}.option.correct{border-color:var(--native-successLine);background:var(--native-successSoft)}.correct{color:var(--native-success)}.explanation{display:flex;flex-direction:column;gap:14px}.explanation h3{display:flex;align-items:center;gap:10px;font:700 20px Noto Naskh Arabic}.explanation small{font:600 12px Noto Naskh Arabic;background:var(--native-successSoft);border-radius:999px;padding:5px 10px;margin-inline-start:auto}.frame{border:1px solid var(--native-line);border-radius:20px;overflow:hidden;background:var(--native-surface)}.frame header{display:flex;align-items:center;gap:10px;padding:10px 14px;font:700 15px Noto Naskh Arabic;border-bottom:1px solid var(--native-line);background:var(--native-surface2)}.frame-icon{display:grid;place-items:center;color:var(--native-surface);width:30px;height:30px;border-radius:10px}.frame-body{padding:14px 16px;background:var(--native-surface);display:flex;flex-direction:column;gap:6px}.steps{border:1px solid var(--native-line);background:var(--native-surface);border-radius:20px;padding:16px}.steps h4{font:700 15px Noto Naskh Arabic}.step{display:flex;gap:12px;position:relative}.step:not(:last-child){padding-bottom:14px}.step:not(:last-child):before{content:"";position:absolute;right:14px;width:2px;top:30px;bottom:0;background:var(--native-primaryLine)}.step>div{flex:1;min-width:0;padding-top:2px}.step-number{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:1.5px solid var(--native-primary);border-radius:50%;color:var(--native-primary);font:600 14px Noto Naskh Arabic;background:var(--native-surface);z-index:1}.step-number.last{background:var(--native-success);color:var(--native-surface);border:0}.distractor{padding:14px 0;border-bottom:1px solid var(--native-line)}.distractor:last-child{border:0}.wrong-option{display:flex;align-items:center;gap:10px;background:var(--native-errorSoft);border-radius:4px;padding:3px 6px 3px 16px;width:fit-content;margin-bottom:10px}.wrong-option>span{border-radius:50%;width:28px;height:28px;display:grid;place-items:center;background:var(--native-error);color:var(--native-surface);font:22px Noto Naskh Arabic}.asset{display:inline-block;direction:ltr;line-height:0}.asset>svg{display:block;max-width:none}.asset.figure{background:var(--native-surface);border:1px solid var(--native-line)}.student-preview [data-block=figure],.student-preview [data-block=display]{overflow:auto;margin:6px 0}.table-scroll{overflow:auto}.student-preview td{font:inherit;white-space:pre-wrap}mark{border-radius:3px;color:inherit}[hidden]{display:none!important}@media(max-width:900px){.editor-grid{display:block}.preview-column{position:static;max-height:none;overflow:visible}main,nav,.app-header{padding:14px}.app-header h1{font-size:18px}}.stem-side{display:grid;grid-template-columns:1fr 38%;gap:16px}.explanation .frame-body,.step>div{color:var(--native-inkMuted)}.explanation .wrong-option,.explanation .correct>div{color:var(--native-ink)}.student-preview .distractor-count{margin-inline-start:auto;border-radius:999px;padding:2px 10px;background:var(--native-errorSoft);color:var(--native-error);font-size:12px}.student-preview .correct-badge{background:var(--native-success);color:var(--native-surface);border:0}.student-preview [data-testid=solution-step-count]{font-size:13px;color:var(--native-inkMuted);font-weight:400}.student-preview .options{gap:10px}.student-preview .tablet-options{gap:14px}.student-preview .option{padding:12px 15px;border-width:.5px;border-radius:22px;min-height:60px}.student-preview .tablet-options .option{min-height:72px}.student-preview .option>b{border:0;background:var(--native-surface2);font-size:var(--native-type-readingLabel)}.student-preview .option.correct>b{background:var(--native-success);color:var(--native-surface)}.student-preview .explanation h3{font-size:var(--native-type-title)}.student-preview .frame header{font-size:var(--native-type-rowTitle)}.student-preview .explanation small{font-size:var(--native-type-label)}@font-face{font-family:Noto Naskh Arabic;src:url(/assets/NotoNaskhArabic-SemiBold-DdxhlBy8.ttf) format("truetype");font-weight:600;font-display:swap}@font-face{font-family:Noto Naskh Arabic;src:url(/assets/NotoNaskhArabic-Bold-BhiLykVr.ttf) format("truetype");font-weight:700;font-display:swap}.student-preview .option{border-radius:var(--native-radius-l);background:var(--native-surface);color:var(--native-ink)}.student-preview .option.correct{background:var(--native-successSoft)}.student-preview .option>b{font-size:var(--native-type-readingLabel);line-height:1.9}.student-preview .option>b svg{width:55%;height:55%}.student-preview .explanation h3,.student-preview .explanation small,.student-preview .frame header,.student-preview .steps h4,.student-preview .step-number{font-family:system-ui,sans-serif}.student-preview .explanation h3{margin:0;font-size:var(--native-type-title)}.student-preview .steps h4{font-size:var(--native-type-rowTitle)}.student-preview [data-testid=solution-step-count]{font-size:var(--native-type-meta)}.student-preview .frame,.student-preview .steps{border-radius:calc(var(--native-radius-m) + 2px)}.student-preview .legacy-preview-warning{font:600 15px/1.8 system-ui,sans-serif;border:1px solid var(--native-warning);background:var(--native-warningSoft);color:var(--native-ink);border-radius:10px;padding:10px 14px;margin-bottom:14px}
