html,body,#root{margin:0;min-height:100%}body{background:var(--ds-page)}.mai-list{list-style:none;margin:0;padding:0}.mai-list li{border-bottom:1px solid var(--ds-hairline)}.mai-item{display:flex;align-items:center;gap:12px;min-height:56px;padding:14px 0;color:var(--ds-ink);text-decoration:none}.mai-item:hover{text-decoration:underline}.mai-num{flex:0 0 22px;color:var(--ds-ink-2);font-size:13px;font-weight:600;text-align:center}.mai-names{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}.mai-ar{font-weight:600}.mai-en{font-size:12px;color:var(--ds-ink-2);line-height:1.5}.mai-term{flex:0 0 auto;font-size:12px;color:var(--ds-ink-2);white-space:nowrap}.mai-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ds-hairline)}.mai-back{display:inline-flex;align-items:center;min-height:44px;color:var(--ds-ink-2);text-decoration:none}.mai-back:hover{text-decoration:underline}.mai-navterm{font-size:12px;color:var(--ds-ink-2)}.mai-pager{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}.mai-page-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ds-ink);text-decoration:none}.mai-page-link:hover{text-decoration:underline}.mai-practice{margin:8px 0 0}.mai-q{padding:16px 0;border-bottom:1px solid var(--ds-hairline)}.mai-q:last-of-type{border-bottom:0}.mai-stem{margin:0 0 10px;font-weight:600;line-height:1.7}.mai-opts{display:flex;flex-direction:column;gap:8px}.mai-opt{width:100%;min-height:44px;padding:10px 14px;text-align:start;font:inherit;color:var(--ds-ink);background:transparent;border:1px solid var(--ds-hairline);border-radius:4px;cursor:pointer}.mai-opt:hover{border-color:var(--ds-ink-2)}.mai-opt:disabled{opacity:1;cursor:default}.mai-opt.is-picked{border-color:var(--ds-teal);box-shadow:inset 0 0 0 1px var(--ds-teal)}.mai-opt.is-right{border-color:var(--ds-teal);background:#f0f6f4}.mai-opt.is-wrong{border-color:var(--ds-red);background:#fdf1f2}.mai-why{margin:10px 0 0;color:var(--ds-ink-2);font-size:13px;line-height:1.7}.mai-answer{margin:0 0 6px;line-height:1.7}.mai-answer.is-right{color:var(--ds-teal);font-weight:600}.mai-answer.is-wrong{color:var(--ds-red);font-weight:600}.mai-score{margin:16px 0 0;font-weight:600}.mai-result{margin:0 0 8px;padding:20px;text-align:center;background:#f0f6f4;border-radius:8px}.mai-result-score{margin:0;font-size:26px;font-weight:600}.mai-result-percent{margin:4px 0 0;color:var(--ds-teal);font-size:18px;font-weight:600}.mai-result-note{margin:8px 0 0;color:var(--ds-ink-2);font-size:13px;line-height:1.7}:root{--ds-page: #f4f2ee;--ds-surface: #ffffff;--ds-ink: #1b1b19;--ds-ink-2: #67665f;--ds-hairline: #e5e2db;--ds-teal: #0f766e;--ds-red: #b3261e}html{-webkit-text-size-adjust:100%}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Naskh Arabic,Noto Sans Arabic,Tahoma,sans-serif;color:var(--ds-ink);line-height:1.7;font-size:16px;-webkit-font-smoothing:antialiased}.ds-page{min-height:100vh;min-height:100dvh;background:var(--ds-page);padding-bottom:env(safe-area-inset-bottom)}.ds-card{max-width:720px;margin:0 auto;padding:22px 18px 48px;background:var(--ds-surface);min-height:100vh;min-height:100dvh;box-sizing:border-box}@media (min-width: 780px){.ds-page{padding:28px 16px}.ds-card{min-height:0;border-radius:18px;padding:34px 38px 46px;box-shadow:0 1px 2px #1414120f,0 12px 40px #14141212}}.ds-header{padding-bottom:20px;border-bottom:1px solid var(--ds-hairline)}.ds-title{margin:0;font-size:clamp(22px,6vw,30px);line-height:1.4;font-weight:700;letter-spacing:-.01em}.ds-fact{display:inline-block;margin:10px 0 0;padding:3px 10px;border-radius:999px;background:#eef5f3;color:var(--ds-teal);font-size:13px;font-weight:600}.ds-intro{margin:14px 0 0;color:var(--ds-ink-2);font-size:15px;line-height:1.9}.ds-group{padding:20px 0;border-bottom:1px solid var(--ds-hairline)}.ds-group:last-of-type{border-bottom:0}.ds-label{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--ds-ink-2)}.ds-heading{margin:0 0 10px;font-size:18px;font-weight:700;line-height:1.5}.ds-body>*:first-child{margin-top:0}.ds-body>*:last-child{margin-bottom:0}.ds-p{margin:0 0 12px}.ds-caption{margin:8px 0 0;color:var(--ds-ink-2);font-size:13px}.ds-list{margin:0 0 12px;padding-inline-start:22px}.ds-list li{margin:6px 0;line-height:1.8}ol.ds-list{list-style:arabic-indic}.ds-rows{margin:0}.ds-row{display:flex;gap:14px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--ds-hairline)}.ds-row:last-child{border-bottom:0}.ds-row dt{flex:0 0 46%;margin:0;font-weight:600}.ds-row dd{flex:1 1 auto;margin:0;color:var(--ds-ink-2);font-size:14px}.ds-callout{margin:14px 0;padding:12px 14px;background:#eef5f3;border-inline-start:3px solid var(--ds-teal);border-radius:10px;font-size:14px;line-height:1.8}.ds-callout.is-note{background:#fdf6e8;border-inline-start-color:#b4791f}.ds-callout-title{margin:0 0 4px;font-weight:700;font-size:14px}.ds-callout p:last-child{margin-bottom:0}.ds-closing{margin-top:22px;padding-top:16px;border-top:1px solid var(--ds-hairline);color:var(--ds-ink-2);font-size:13px;line-height:1.8}.ds-choice{margin:0 0 14px}.ds-choice-label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:var(--ds-ink-2)}.ds-seg{display:flex;gap:4px;padding:4px;background:#f0eee9;border-radius:12px}.ds-segbtn{flex:1 1 0;min-height:40px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--ds-ink-2);font:inherit;font-size:14px;cursor:pointer}.ds-segbtn.is-on{background:var(--ds-surface);color:var(--ds-ink);font-weight:700;box-shadow:0 1px 2px #1414121f}.ds-field{display:block;margin:0 0 14px}.ds-field-label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:var(--ds-ink-2)}.ds-field input{width:100%;box-sizing:border-box;min-height:46px;padding:11px 13px;border:1px solid var(--ds-hairline);border-radius:12px;background:var(--ds-surface);color:var(--ds-ink);font:inherit;font-size:15px}.ds-field input:focus{outline:2px solid var(--ds-teal);outline-offset:1px}.ds-btn{display:block;width:100%;min-height:48px;margin-top:14px;padding:12px 18px;border:1px solid transparent;border-radius:12px;font:inherit;font-size:15px;font-weight:700;cursor:pointer}.ds-btn-primary{background:var(--ds-teal);color:#fff}.ds-btn-secondary{background:var(--ds-surface);border-color:var(--ds-hairline);color:var(--ds-ink)}.ds-btn:disabled{opacity:.45;cursor:not-allowed}a{color:var(--ds-teal)}
