:root{--text-direction: rtl;--text-align: right;--theme-success-primary: #15803d;--theme-success-background: #dcfce7;--theme-success-border: #bbf7d0;--theme-success-light: #f0fdf4;--theme-partial-primary: #d97706;--theme-partial-background: #fef3c7;--theme-partial-border: #fde68a;--theme-partial-light: #fefce8;--theme-failure-primary: #dc2626;--theme-failure-background: #fef2f2;--theme-failure-border: #fecaca;--theme-failure-light: #fef2f2;--theme-neutral-primary: #64748b;--theme-neutral-background: #f8fafc;--theme-neutral-border: #e2e8f0;--theme-neutral-light: #f8fafc;--theme-success: #15803d;--theme-warning: #d97706;--theme-error: #dc2626;--theme-info: #3b82f6;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--font-size-xs: 12px;--font-size-sm: 14px;--font-size-md: 16px;--font-size-lg: 18px;--font-size-xl: 20px;--theme-success-bg-10: #15803d1A;--theme-success-bg-20: #15803d33;--theme-partial-bg-10: #d977061A;--theme-partial-bg-20: #d9770633;--theme-failure-bg-10: #dc26261A;--theme-failure-bg-20: #dc262633;--theme-info-bg-10: #3b82f61A;--theme-info-bg-20: #3b82f633}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-20px)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.practice-question-container{will-change:transform,opacity}.practice-question-container.exit{animation:fadeOut .3s ease-in-out forwards}.practice-question-container.enter{animation:fadeIn .3s ease-in-out forwards}.practice-question-card{will-change:transform,opacity;backface-visibility:hidden}[dir=rtl]{--text-direction: rtl;--text-align: right}[dir=ltr]{--text-direction: ltr;--text-align: left}body[dir=rtl]{direction:var(--text-direction, rtl);text-align:var(--text-align, right)}body[dir=ltr]{direction:var(--text-direction, ltr);text-align:var(--text-align, left)}.loading-fade{opacity:.7;transition:opacity .3s ease-in-out}.loading-spin{animation:spin 1s linear infinite}.loading-fade-in{animation:fadeIn .3s ease-in-out}@media(forced-colors:active){:root{forced-color-adjust:auto}button,.ant-btn{forced-color-adjust:auto;border:1px solid ButtonText;background-color:ButtonFace;color:ButtonText}button:hover,.ant-btn:hover{background-color:Highlight;color:HighlightText}.ant-progress-bg{forced-color-adjust:auto;background-color:Highlight!important}.ant-progress-inner{background-color:Canvas!important;border:1px solid ButtonText}.hover-tooltip{forced-color-adjust:auto;background-color:Canvas;color:CanvasText;border:1px solid ButtonText}pre,code{forced-color-adjust:auto;background-color:Canvas!important;color:CanvasText!important;border:1px solid ButtonText!important}a{color:LinkText}a:hover{color:HighlightText;background-color:Highlight}.question-content{forced-color-adjust:auto;background-color:Canvas!important;border:1px solid ButtonText!important}.question-metadata{forced-color-adjust:auto;color:CanvasText!important}.question-options{forced-color-adjust:auto}.question-option{forced-color-adjust:auto;border:1px solid ButtonText!important;background-color:Canvas!important}.question-option:hover{background-color:Highlight!important;color:HighlightText!important}.ant-spin{forced-color-adjust:auto;color:Highlight!important}.ant-spin-dot-item{background-color:Highlight!important}}:not(.rich-editor) .katex>.katex-mathml{display:none!important}:not(.rich-editor) .katex>math{display:none!important}:not(.rich-editor) .katex .katex-mathml{display:none!important}:not(.rich-editor) .katex-display .katex-mathml{display:none!important}.rich-editor .katex>span:first-child,.rich-editor .katex>math,.rich-editor .katex .katex-mathml,.rich-editor .katex-display .katex-mathml{display:initial!important}.katex{direction:ltr!important}.rich-editor .katex-display .katex-mathml{display:block!important;visibility:visible!important}.feedback-focus-animation{animation:feedbackFocus 3s ease-in-out!important}@keyframes feedbackFocus{0%,to{transform:scale(1);box-shadow:0 0 #3b82f600;border-color:initial}15%{transform:scale(1.03);box-shadow:0 0 0 12px #3b82f64d;border-color:#3b82f680}30%{transform:scale(1);box-shadow:0 0 #3b82f600;border-color:initial}45%{transform:scale(1.02);box-shadow:0 0 0 8px #3b82f640;border-color:#3b82f666}60%{transform:scale(1);box-shadow:0 0 #3b82f600;border-color:initial}75%{transform:scale(1.015);box-shadow:0 0 0 6px #3b82f633;border-color:#3b82f64d}}:root{--user-header-height: 56px}html,body{margin:0;padding:0;min-height:100vh;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}#root{min-height:100%}.user-header{min-height:var(--user-header-height);height:var(--user-header-height)}.katex,.katex .mord,.katex .mrel,.katex .mbin{font-family:KaTeX_Main,Times New Roman,"DejaVu Math","STIX Two Math","Latin Modern Math","Cambria Math",serif!important}.katex .text{direction:var(--text-direction, rtl);unicode-bidi:embed;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.katex .text>.mord{direction:var(--text-direction, rtl);unicode-bidi:embed}.katex .text .mspace{width:.2em}.markdown-content .katex,.question-content .katex{font-size:1.1em}.katex .mbin{padding:0 .3em}.katex{direction:ltr!important;text-align:left!important;font-feature-settings:"kern","liga","clig","calt"}.katex .mrel{font-family:KaTeX_Main,Computer Modern,Times New Roman,"DejaVu Math","STIX Two Math","Latin Modern Math","Cambria Math",serif!important}.katex .mrel:before,.katex .mrel:after{font-family:inherit}.katex-display{overflow-x:auto;overflow-y:hidden;padding:.5em 0}.exam-selection-modal .ant-modal-content{border-radius:16px;overflow:hidden}.exam-selection-modal .ant-modal-body{padding:32px;max-height:70vh;overflow-y:auto}.exam-selection-modal .ant-modal-footer{border-top:1px solid #e5e7eb;padding:16px 32px}.modal-header-content{text-align:center;margin-bottom:28px}.modal-header-content .ant-typography-title{margin-bottom:8px;color:#1f2937}.modal-header-content .ant-typography-text{font-size:15px;color:#6b7280}.back-button{margin-bottom:16px;color:#3b82f6;font-weight:500}.back-button:hover{background:#3b82f60d}.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-bottom:24px;grid-auto-rows:minmax(min-content,max-content)}.category-card{border:1px solid #e5e7eb;border-radius:16px;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;overflow:hidden;background:linear-gradient(135deg,#fff,#f8fafc);position:relative}.category-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6,#2563eb);opacity:0;transition:opacity .3s ease}.category-card:hover:before{opacity:1}.category-card:hover{border-color:#3b82f6;transform:translateY(-4px);box-shadow:0 12px 24px -8px #3b82f633,0 8px 16px -4px #00000014}.category-card .ant-card-body{padding:20px;min-height:140px;max-height:160px;display:flex;flex-direction:column}.category-card-content{position:relative;display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}.category-header{display:flex;align-items:flex-start;gap:12px;flex:0 0 auto}.category-icon{font-size:28px;color:#3b82f6;flex-shrink:0;margin-top:2px}.category-header .ant-typography-title{margin:0;font-size:18px;font-weight:700;color:#1e293b;line-height:1.3;flex:1;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.6em}.domain-name{display:block;font-size:13px;color:#64748b;margin-top:6px;font-weight:500}.category-stats{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#3b82f60f;border-radius:8px;margin-top:auto;flex:0 0 auto}.category-stats .ant-typography-text{font-size:14px;font-weight:600;color:#475569}.category-stats .ant-tag{margin:0;font-weight:600;border:none;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;padding:4px 12px;border-radius:6px}.category-arrow{display:none}.exam-search{margin-bottom:20px;border-radius:10px}.exam-search .ant-input{border-radius:10px;font-size:15px}.exams-list-compact{margin-bottom:24px;max-height:450px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.domain-grouped-exams{display:flex;flex-direction:column}.domain-section{margin-bottom:4px}.domain-section:last-child{margin-bottom:0}.domain-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 8px;background:#f8fafc;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:1}.domain-title{font-size:13px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.domain-count{font-size:12px;color:#94a3b8}.exams-list-compact .ant-list-item{padding:12px 16px;cursor:pointer;transition:all .15s ease;border-bottom:1px solid #f3f4f6}.exams-list-compact .ant-list-item:last-child{border-bottom:none}.exams-list-compact .ant-list-item:hover{background:#f9fafb}.exams-list-compact .ant-list-item.selected{background:#f0f9ff;border-left:3px solid #3b82f6}.exam-list-item .ant-checkbox-wrapper{width:100%;display:flex;align-items:center;cursor:pointer;pointer-events:none}.exam-list-item .ant-checkbox{pointer-events:none}.exam-title{font-size:15px;color:#1f2937;margin-left:8px;cursor:pointer}.modal-footer-summary{text-align:center;padding:16px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:10px;border:1px solid #e5e7eb}.modal-footer-summary .ant-typography-text{font-size:15px;color:#3b82f6}.exams-list-compact::-webkit-scrollbar{width:6px}.exams-list-compact::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.exams-list-compact::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.exams-list-compact::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media(max-width:768px){.exam-selection-modal .ant-modal-body{padding:24px 20px}.categories-grid{grid-template-columns:1fr}.category-card .ant-card-body{padding:16px;min-height:120px;max-height:140px}.modal-header-content .ant-typography-title{font-size:22px}.category-header .ant-typography-title{font-size:16px}.exam-card .ant-card-body{padding:14px 16px}}@media(max-width:480px){.exam-selection-modal{max-width:calc(100vw - 32px)}.exam-selection-modal .ant-modal-body{padding:20px 16px;max-height:60vh}.categories-grid{gap:12px}.category-header .ant-typography-title{font-size:16px}.exam-name .ant-typography-text{font-size:15px}}.auth-modal .ant-modal-content{border-radius:12px;overflow:hidden;box-shadow:0 8px 32px #0000001f}.auth-modal .ant-modal-header{display:none}.auth-modal .ant-modal-body{padding:0}.auth-modal-content{padding:40px}.signup-modal .auth-modal-content{padding:48px 40px}.signup-modal .auth-modal-header{text-align:center;margin-bottom:32px}.signup-modal .auth-modal-header h2{margin:0 0 12px;font-size:28px;font-weight:700;color:#1a1a1a}.signup-modal .modal-logo-corner{position:absolute;top:20px;right:20px;z-index:1}.auth-modal-header{text-align:center;margin-bottom:32px}.auth-modal-header h2{margin:16px 0 8px;font-size:24px;font-weight:600}.logo-container{display:flex;justify-content:center;margin-bottom:20px}.auth-subtitle{color:#666;font-size:16px;margin:0}.google-signup-button{height:48px;font-size:16px;font-weight:500;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.google-signup-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f659}.google-signup-button.ant-btn-loading{opacity:.8}.auth-form{width:100%}.google-signin-button{background-color:#fff;border:1px solid #dadce0;border-radius:4px;color:#3c4043;cursor:pointer;font-family:Roboto,arial,sans-serif;font-size:14px;font-weight:500;height:40px;letter-spacing:.25px;padding:0 12px;position:relative;text-align:center;transition:background-color .218s,border-color .218s,box-shadow .218s;width:100%;display:flex;align-items:center;justify-content:center;gap:8px}.google-signin-button:hover{background-color:#f8f9fa;border-color:#dadce0;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.google-signin-button:active{background-color:#e8eaed;border-color:#dadce0;box-shadow:0 1px 2px #3c40434d,0 2px 6px 2px #3c404326}.google-signin-button:disabled{background-color:#fff;border-color:#dadce0;color:#3c404361;cursor:not-allowed}.google-signin-button .google-icon{width:18px;height:18px;margin-right:8px}.google-auth-button{height:48px;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;transition:all .3s ease}.google-auth-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.auth-divider{text-align:center;margin:20px 0;position:relative}.auth-divider span{color:#999;font-size:14px}.auth-terms{margin-top:16px;text-align:center}.auth-terms p{font-size:12px;color:#666;margin:0}.auth-terms a{color:#3b82f6;text-decoration:none}.auth-terms a:hover{text-decoration:underline}.auth-note{margin-top:24px;padding:16px;background:#f5f5f5;border-radius:8px}.auth-note p{margin:0;font-size:14px;line-height:1.5;color:#666}.auth-note strong{color:#333}.auth-footer{margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb}.auth-footer .auth-divider{margin:0 0 16px}.auth-footer .auth-divider span{color:#666;font-size:15px;font-weight:500}@media(max-width:480px){.auth-modal-content{padding:24px}.auth-modal-header h2{font-size:20px}.auth-subtitle{font-size:14px}.auth-footer{margin-top:24px;padding-top:20px}}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}
