.theme-toggle-button{left:max(20px, env(safe-area-inset-left));bottom:max(20px, env(safe-area-inset-bottom));z-index:200;width:58px;height:58px;color:var(--purple-dark);background:var(--surface-elevated);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:50%;place-items:center;transition:transform .18s,background .18s;display:grid;position:fixed}.theme-toggle-button:hover{background:var(--purple-soft);transform:translateY(-2px)}.theme-toggle-button img{object-fit:contain;width:30px;height:30px}.theme-toggle-tooltip{color:var(--text-primary);background:var(--surface-elevated);border:1px solid var(--border);box-shadow:var(--shadow-soft);opacity:0;pointer-events:none;border-radius:9px;padding:7px 11px;font-size:12px;font-weight:600;transition:all .17s;position:absolute;left:67px;transform:translate(-4px)}.theme-toggle-button:hover .theme-toggle-tooltip{opacity:1;transform:translate(0)}@media (width<=600px){.theme-toggle-button{width:53px;height:53px;left:max(14px, env(safe-area-inset-left));bottom:max(16px, env(safe-area-inset-bottom))}.theme-toggle-tooltip{display:none}.review-mobile-actions{padding-left:78px}}.quiz-page{width:min(780px,100% - 34px);min-height:100vh;margin:0 auto;padding:34px 0 42px}.quiz-header{grid-template-columns:54px 1fr 54px;align-items:center;gap:18px;margin-bottom:24px;display:grid}.quiz-header div{text-align:center}.quiz-header h1{color:var(--text-primary);font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:500}.quiz-header p{color:var(--text-secondary);margin-top:8px;font-size:14px}.quiz-header>strong{color:var(--text-secondary);font-size:14px}.quiz-back-button{width:48px;height:48px;color:var(--text-primary);background:var(--surface);border:1px solid var(--border);border-radius:50%;place-items:center;display:grid}.quiz-progress-bar{background:#eee4ef;border-radius:999px;width:100%;height:9px;margin-bottom:30px;overflow:hidden}.quiz-progress-bar span{background:linear-gradient(90deg, var(--purple-primary), var(--pink-primary));border-radius:inherit;height:100%;transition:width .25s;display:block}.question-container{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:27px;padding:32px}.question-container h2{margin-bottom:26px;font-size:22px;font-weight:600;line-height:1.5}.answers-list{flex-direction:column;gap:13px;display:flex}.answer-choice{text-align:left;width:100%;min-height:65px;color:var(--text-primary);background:var(--surface);border:1px solid #ebdfdf;border-radius:17px;align-items:center;gap:15px;padding:11px 18px;transition:all .15s;display:flex}.answer-choice:hover:not(.correct-selected):not(.wrong-selected):not(.correct-missed){border-color:var(--purple-primary);background:#fcf9ff}.answer-letter{border:1px solid #ded4db;border-radius:50%;flex-shrink:0;place-items:center;width:39px;height:39px;font-weight:600;display:grid}.answer-text{flex:1;font-size:15px;line-height:1.45}.answer-choice.selected{border-color:var(--purple-primary);background:var(--purple-soft)}.answer-choice.selected .answer-letter{color:#fff;background:var(--purple-primary);border-color:var(--purple-primary)}.answer-choice.correct-selected{border-color:var(--green);background:var(--green-soft)}.answer-choice.correct-selected .answer-letter{color:#fff;background:var(--green);border-color:var(--green)}.answer-choice.wrong-selected{border-color:var(--red);background:var(--red-soft)}.answer-choice.wrong-selected .answer-letter{color:#fff;background:var(--red);border-color:var(--red)}.answer-choice.correct-missed{border:2px dashed var(--green);background:#f2fbf5}.answer-choice.correct-missed .answer-letter{color:var(--green);border-color:var(--green)}.answer-choice.inactive-after-check{opacity:.58}.answer-status{color:var(--green);flex-shrink:0}.wrong-selected .answer-status{color:var(--red)}.missed-status{color:var(--green);opacity:.72}.question-feedback{border-radius:14px;margin-top:23px;padding:16px 18px;font-size:14px;line-height:1.45}.feedback-correct{color:#237b4e;background:var(--green-soft)}.feedback-wrong{color:#a13d50;background:var(--red-soft)}.quiz-actions{justify-content:flex-end;margin-top:25px;display:flex}.primary-quiz-button{color:#fff;background:linear-gradient(105deg, var(--purple-primary), var(--purple-dark));border:0;border-radius:17px;justify-content:center;align-items:center;gap:10px;min-width:220px;min-height:58px;padding:0 23px;font-weight:600;display:flex;box-shadow:0 9px 20px #7048aa33}.primary-quiz-button:disabled{opacity:.5;cursor:not-allowed}.quiz-result-page{place-items:center;width:min(560px,100% - 32px);min-height:100vh;margin:0 auto;display:grid}.final-result-card{text-align:center;background:var(--surface);border:1px solid var(--border);width:100%;box-shadow:var(--shadow);border-radius:29px;padding:42px 30px}.result-decoration{width:64px;height:64px;color:var(--purple-primary);background:var(--purple-soft);border-radius:50%;place-items:center;margin:0 auto 18px;display:grid}.final-result-card h1{font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:500}.final-result-card>p{color:var(--text-secondary);margin:10px 0 28px}.final-score strong{color:var(--purple-dark);font-size:62px;line-height:1;display:block}.final-score span{color:var(--text-secondary);margin-top:9px;display:block}.result-statistics{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(3,1fr);margin:34px 0;padding:20px 0;display:grid}.result-statistics div:not(:last-child){border-right:1px solid var(--border)}.result-statistics strong{margin-bottom:7px;font-size:30px;display:block}.result-statistics span{color:var(--text-secondary);font-size:13px}.positive-result strong{color:var(--green)}.negative-result strong{color:var(--red)}.result-buttons{gap:13px;display:flex}.secondary-quiz-button{min-height:58px;color:var(--text-secondary);background:var(--surface);border:1px solid var(--border);border-radius:17px;flex:1;justify-content:center;align-items:center;gap:9px;font-weight:600;display:flex}.result-buttons .primary-quiz-button{min-width:unset;flex:1}.empty-quiz-page{text-align:center;place-content:center;gap:16px;min-height:100vh;display:grid}.empty-quiz-page p{color:var(--text-secondary)}.empty-quiz-page button{color:#fff;background:var(--purple-primary);border:0;border-radius:14px;padding:15px 22px}@media (width<=600px){.quiz-page{width:calc(100% - 26px);padding-top:18px}.quiz-header{grid-template-columns:44px 1fr 42px;gap:10px}.quiz-header h1{font-size:21px}.quiz-back-button{width:42px;height:42px}.question-container{border-radius:21px;padding:20px 16px}.question-container h2{font-size:18px}.answer-choice{padding:10px 12px}.answer-text{font-size:14px}.quiz-actions .primary-quiz-button{width:100%}.result-buttons{flex-direction:column}}.question-feedback strong{margin-bottom:7px;font-size:15px;display:block}.question-feedback p{font-size:14px;line-height:1.45}.feedback-partial{color:var(--orange);background:var(--orange-soft)}.result-statistics-four{grid-template-columns:repeat(4,1fr)}.partial-result strong{color:var(--orange)}@media (width<=500px){.result-statistics-four{grid-template-columns:repeat(2,1fr);gap:18px 0}.result-statistics-four div:nth-child(2){border-right:0}}.motivational-message{color:var(--purple-dark);background:linear-gradient(105deg, var(--purple-soft), var(--pink-soft));border-radius:16px;margin:25px 0 5px;padding:17px 19px;font-size:15px;font-weight:500;line-height:1.55}.review-mistakes-button{width:100%;min-height:53px;color:var(--purple-dark);background:var(--purple-soft);border:0;border-radius:15px;justify-content:center;align-items:center;gap:11px;margin:26px 0 20px;padding:0 18px;font-weight:600;display:flex}.review-mistakes-button span{color:#fff;background:var(--purple-primary);border-radius:20px;min-width:27px;padding:4px 8px;font-size:13px}.final-mistakes-section{text-align:left;flex-direction:column;gap:14px;margin-bottom:28px;display:flex}.final-mistake-card{background:var(--surface-secondary);border:1px solid var(--border);border-radius:16px;padding:18px}.final-mistake-card header{align-items:center;gap:11px;margin-bottom:13px;display:flex}.final-mistake-card header span{border-radius:9px;padding:6px 10px;font-size:13px;font-weight:700}.mistake-partial-score{color:var(--orange);background:var(--orange-soft)}.mistake-zero-score{color:var(--red);background:var(--red-soft)}.final-mistake-card h3{margin-bottom:16px;font-size:15px;line-height:1.5}.review-answer-list{flex-direction:column;gap:8px;display:flex}.review-answer{color:var(--text-secondary);background:#fff;border-radius:10px;align-items:center;gap:10px;padding:10px 11px;font-size:13px;line-height:1.45;display:flex}.review-answer>span{min-width:22px;font-weight:700}.review-answer small{white-space:nowrap;border-radius:7px;margin-left:auto;padding:4px 7px;font-size:11px}.review-correct-selected{color:var(--green);background:var(--green-soft)}.review-correct-selected small{background:#45a8701f}.review-wrong-selected{color:var(--red);background:var(--red-soft)}.review-wrong-selected small{background:#d953681f}.review-correct-missed{color:var(--green);border:1px dashed var(--green);background:#f3fbf5}.review-correct-missed small{background:#45a8701f}@media (width<=560px){.review-answer{flex-wrap:wrap;align-items:flex-start}.review-answer small{margin-left:32px}}.quiz-intro-page{place-items:center;width:min(560px,100% - 32px);min-height:100vh;margin:0 auto;padding:28px 0;display:grid}.quiz-intro-card{text-align:center;background:var(--surface);border:1px solid var(--border);width:100%;box-shadow:var(--shadow);border-radius:29px;padding:43px 32px 32px}.quiz-intro-decoration{width:70px;height:70px;color:var(--pink-primary);background:linear-gradient(120deg, var(--pink-soft), var(--purple-soft));border-radius:50%;place-items:center;margin:0 auto 18px;display:grid}.quiz-intro-label{color:var(--text-secondary);margin-bottom:10px;font-size:13px}.quiz-intro-card h1{margin-bottom:18px;font-family:Georgia,Times New Roman,serif;font-size:31px;font-weight:500;line-height:1.35}.quiz-intro-message{max-width:430px;color:var(--purple-dark);margin:0 auto 27px;font-size:16px;font-weight:600;line-height:1.55}.quiz-intro-details{flex-wrap:wrap;justify-content:center;gap:9px;margin-bottom:29px;display:flex}.quiz-intro-details span{color:var(--text-secondary);background:var(--surface-secondary);border-radius:20px;padding:8px 13px;font-size:13px}.quiz-intro-actions{gap:12px;display:flex}.quiz-intro-actions button{flex:1}@media (width<=520px){.quiz-intro-card{padding:34px 19px 20px}.quiz-intro-card h1{font-size:25px}.quiz-intro-actions{flex-direction:column}}.question-moment-message{color:var(--purple-dark);background:linear-gradient(105deg, var(--purple-soft), var(--pink-soft));border-radius:13px;align-items:center;gap:9px;margin-top:15px;padding:14px 17px;font-size:14px;font-weight:600;line-height:1.45;display:flex}.question-moment-message svg{color:var(--pink-primary);flex-shrink:0}.progress-result-message{color:var(--green);background:var(--green-soft);border-radius:15px;margin:14px 0 5px;padding:16px 19px;font-size:15px;font-weight:600;line-height:1.5}.special-result-card{box-shadow:var(--shadow), 0 0 38px #e9859d2e;border-color:#e9859d61;position:relative;overflow:hidden}.special-reward-section{margin:20px 0 7px}.special-reward-button{color:#fff;background:linear-gradient(105deg, var(--pink-primary), var(--purple-primary));border:0;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-height:51px;padding:0 20px;font-weight:600;display:inline-flex}.special-reward-message{color:var(--purple-dark);background:linear-gradient(110deg, var(--pink-soft), var(--purple-soft));border-radius:15px;margin-top:15px;padding:17px 19px;font-size:15px;font-weight:500;line-height:1.55}.celebration-particles{z-index:5;pointer-events:none;position:fixed;inset:0;overflow:hidden}.celebration-particles span{background:var(--pink-primary);opacity:0;border-radius:9px;width:12px;height:18px;animation:2.2s ease-out forwards pastel-fall;position:absolute;top:-30px}.celebration-particles span:nth-child(2n){background:var(--purple-primary)}.celebration-particles span:nth-child(3n){background:var(--peach-text)}.celebration-particles span:first-child{animation-delay:60ms;left:8%}.celebration-particles span:nth-child(2){animation-delay:.32s;left:16%}.celebration-particles span:nth-child(3){animation-delay:.12s;left:25%}.celebration-particles span:nth-child(4){animation-delay:.48s;left:33%}.celebration-particles span:nth-child(5){animation-delay:.2s;left:42%}.celebration-particles span:nth-child(6){animation-delay:.54s;left:49%}.celebration-particles span:nth-child(7){animation-delay:80ms;left:56%}.celebration-particles span:nth-child(8){animation-delay:.41s;left:63%}.celebration-particles span:nth-child(9){animation-delay:.2s;left:71%}.celebration-particles span:nth-child(10){animation-delay:.6s;left:78%}.celebration-particles span:nth-child(11){animation-delay:.14s;left:86%}.celebration-particles span:nth-child(12){animation-delay:.39s;left:92%}.celebration-particles span:nth-child(13){animation-delay:.72s;left:38%}.celebration-particles span:nth-child(14){animation-delay:.67s;left:67%}@keyframes pastel-fall{0%{opacity:0;transform:translateY(0)rotate(0)}15%{opacity:.9}to{opacity:0;transform:translateY(78vh)rotate(260deg)}}.attempt-save-error{color:var(--red);background:var(--red-soft);border-radius:13px;margin:15px 0 5px;padding:14px 17px;font-size:14px;line-height:1.45}.subjects-page,.subject-page{width:min(1220px,100% - 44px);margin:0 auto;padding:34px 0 50px}.subjects-header{justify-content:space-between;align-items:center;margin-bottom:34px;display:flex}.brand-title{align-items:center;gap:16px;display:flex}.brand-title>span{width:59px;height:59px;color:var(--purple-primary);background:var(--purple-soft);border-radius:19px;place-items:center;display:grid}.brand-title h1{font-family:Georgia,Times New Roman,serif;font-size:32px;font-weight:500}.brand-title p{color:var(--text-secondary);margin-top:6px;font-size:14px}.create-subject-button,.save-subject-button{color:#fff;background:linear-gradient(105deg, var(--purple-primary), var(--purple-dark));border:0;border-radius:15px;align-items:center;gap:9px;min-height:52px;padding:0 22px;font-weight:600;display:inline-flex;box-shadow:0 9px 20px #7048aa2e}.subjects-welcome-card{border:1px solid var(--border);box-shadow:var(--shadow-soft);background:linear-gradient(110deg,#fff4f7,#f4edfc);border-radius:28px;justify-content:space-between;align-items:center;gap:32px;margin-bottom:40px;padding:37px 42px;display:flex}.welcome-label{color:var(--pink-dark);align-items:center;gap:6px;margin-bottom:13px;font-size:13px;font-weight:600;display:inline-flex}.subjects-welcome-card h2{margin-bottom:10px;font-family:Georgia,Times New Roman,serif;font-size:31px;font-weight:500}.subjects-welcome-card p{max-width:510px;color:var(--text-secondary);line-height:1.55}.subjects-totals{gap:12px;display:flex}.subjects-totals article{text-align:center;background:#ffffffb8;border-radius:17px;min-width:105px;padding:18px 15px}.subjects-totals strong{color:var(--purple-dark);margin-bottom:6px;font-size:27px;display:block}.subjects-totals span{color:var(--text-secondary);font-size:13px}.section-heading{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.section-heading h2{font-size:23px;font-weight:600}.section-heading button{color:var(--purple-dark);background:var(--purple-soft);border:0;border-radius:12px;align-items:center;gap:7px;padding:11px 16px;font-weight:600;display:inline-flex}.subjects-grid{grid-template-columns:repeat(3,1fr);gap:19px;display:grid}.subject-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);cursor:pointer;border-radius:22px;padding:22px;transition:transform .18s,box-shadow .18s}.subject-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.subject-card-top{justify-content:space-between;align-items:start;margin-bottom:21px;display:flex}.subject-icon{width:52px;height:52px;color:var(--pink-primary);background:var(--pink-soft);border-radius:16px;place-items:center;display:grid}.remove-subject-button,.delete-file-button{width:38px;height:38px;color:var(--text-soft);background:0 0;border:0;border-radius:10px;place-items:center;display:grid}.remove-subject-button:hover,.delete-file-button:hover{color:var(--red);background:var(--red-soft)}.subject-card h3{margin-bottom:15px;font-size:20px}.subject-stats{flex-wrap:wrap;gap:8px;margin-bottom:22px;display:flex}.subject-stats span{color:var(--text-secondary);background:var(--surface-secondary);border-radius:9px;padding:6px 9px;font-size:12px}.open-subject-button{color:var(--purple-dark);background:0 0;border:0;align-items:center;gap:7px;font-weight:600;display:inline-flex}.empty-subjects,.tab-empty-state{text-align:center;background:var(--surface);border:1px dashed #e5d5df;border-radius:23px;place-content:center;justify-items:center;gap:14px;min-height:300px;padding:42px 20px;display:grid}.empty-subjects>span{width:75px;height:75px;color:var(--pink-primary);background:var(--pink-soft);border-radius:50%;place-items:center;display:grid}.empty-subjects p,.tab-empty-state p{max-width:410px;color:var(--text-secondary);line-height:1.5}.empty-subjects button,.tab-empty-state button{color:#fff;background:var(--purple-primary);border:0;border-radius:13px;align-items:center;gap:7px;min-height:49px;padding:0 19px;font-weight:600;display:flex}.modal-overlay{z-index:100;background:#30253247;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.subject-modal{background:var(--surface);border-radius:22px;width:min(440px,100%);padding:27px;box-shadow:0 20px 60px #2e1e2b33}.modal-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.modal-header h2{font-size:22px}.modal-header button{width:39px;height:39px;color:var(--text-secondary);background:var(--surface-secondary);border:0;border-radius:50%;place-items:center;display:grid}.subject-modal label{color:var(--text-secondary);flex-direction:column;gap:9px;margin-bottom:18px;font-size:14px;display:flex}.subject-modal input{color:var(--text-primary);background:var(--surface-secondary);border:1px solid var(--border);border-radius:12px;outline:none;padding:15px}.subject-modal input:focus{border-color:var(--purple-primary)}.modal-error{color:var(--red);margin-bottom:15px;font-size:13px}.save-subject-button{justify-content:center;width:100%}.subject-workspace-header{align-items:center;gap:26px;margin-bottom:31px;display:flex}.subject-workspace-header>button{min-height:47px;color:var(--text-secondary);background:var(--surface);border:1px solid var(--border);border-radius:13px;align-items:center;gap:7px;padding:0 15px;display:inline-flex}.subject-workspace-header p{color:var(--text-secondary);margin-bottom:5px;font-size:13px}.subject-workspace-header h1{font-family:Georgia,Times New Roman,serif;font-size:33px;font-weight:500}.subject-tabs{background:var(--surface);border:1px solid var(--border);border-radius:17px;gap:10px;margin-bottom:31px;padding:7px;display:flex;overflow-x:auto}.subject-tabs button{min-width:155px;min-height:52px;color:var(--text-secondary);background:0 0;border:0;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:9px;font-weight:600;display:flex}.subject-tabs button.active{color:var(--purple-dark);background:var(--purple-soft)}.saved-items-grid{flex-direction:column;gap:14px;display:flex}.saved-file-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:18px;align-items:center;gap:18px;padding:18px 20px;display:flex}.saved-file-icon,.file-detail-icon{width:55px;height:55px;color:var(--pink-primary);background:var(--pink-soft);border-radius:15px;flex-shrink:0;place-items:center;display:grid}.saved-file-content{flex:1;min-width:0}.saved-file-content h3{white-space:nowrap;text-overflow:ellipsis;margin-bottom:7px;font-size:16px;overflow:hidden}.saved-file-content p{color:var(--text-secondary);margin-bottom:10px;font-size:13px}.saved-file-content div{gap:9px;display:flex}.saved-file-content span{color:var(--text-secondary);background:var(--surface-secondary);border-radius:8px;padding:5px 9px;font-size:12px}.saved-file-actions{align-items:center;gap:9px;display:flex}.view-file-button{min-height:42px;color:var(--purple-dark);background:var(--purple-soft);border:0;border-radius:11px;padding:0 16px;font-weight:600}.return-to-list-button{color:var(--text-secondary);background:0 0;border:0;align-items:center;gap:7px;margin-bottom:20px;font-weight:600;display:inline-flex}.question-set-details-header{background:var(--surface);border:1px solid var(--border);border-radius:20px;justify-content:space-between;align-items:center;gap:22px;margin-bottom:21px;padding:22px;display:flex}.question-set-details-header>div:first-child{align-items:center;gap:17px;display:flex}.question-set-details-header h2{margin-bottom:6px;font-size:19px}.question-set-details-header p{color:var(--text-secondary);font-size:13px}.question-set-summary{gap:11px;display:flex}.question-set-summary span{text-align:center;min-width:108px;color:var(--text-secondary);background:var(--surface-secondary);border-radius:13px;padding:13px;font-size:12px}.question-set-summary strong{color:var(--text-primary);margin-bottom:5px;font-size:21px;display:block}.imported-questions-list{flex-direction:column;gap:10px;display:flex}.imported-question{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:0 19px}.imported-question summary{cursor:pointer;padding:18px 0;font-weight:500;line-height:1.5}.imported-question summary span{color:var(--purple-primary);margin-right:11px;font-weight:700}.imported-answers{flex-direction:column;gap:8px;padding:0 0 18px;display:flex}.imported-answers p{color:var(--text-secondary);border-radius:10px;align-items:center;gap:11px;padding:11px;display:flex}.imported-answers p span{font-weight:700}.imported-answers p svg{margin-left:auto}.imported-answers .correct-imported-answer{color:var(--green);background:var(--green-soft)}.missing-subject-page{place-content:center;justify-items:center;gap:17px;min-height:100vh;display:grid}.missing-subject-page button{color:#fff;background:var(--purple-primary);border:0;border-radius:13px;padding:14px 20px}@media (width<=880px){.subjects-page,.subject-page{width:min(680px,100% - 30px);padding-top:20px}.subjects-welcome-card{flex-direction:column;align-items:stretch;padding:27px}.subjects-grid{grid-template-columns:1fr}.question-set-details-header{flex-direction:column;align-items:stretch}}@media (width<=600px){.subjects-header{flex-direction:column;align-items:stretch;gap:20px}.brand-title h1{font-size:27px}.create-subject-button{justify-content:center}.subjects-totals{flex-direction:column}.subjects-welcome-card h2{font-size:25px}.subject-workspace-header{flex-direction:column;align-items:start;gap:15px}.subject-workspace-header h1{font-size:27px}.subject-tabs button{min-width:155px}.saved-file-card{flex-wrap:wrap;align-items:start}.saved-file-actions{justify-content:flex-end;width:100%}.question-set-summary{flex-direction:column}}.create-test-from-file-button{color:#fff;background:linear-gradient(105deg, var(--purple-primary), var(--purple-dark));border:0;border-radius:14px;align-items:center;gap:8px;min-height:51px;margin-bottom:22px;padding:0 20px;font-weight:600;display:inline-flex}.create-file-quiz-button{color:#fff;background:var(--purple-primary);border:0;border-radius:11px;align-items:center;gap:6px;min-height:42px;padding:0 14px;font-weight:600;display:inline-flex}.saved-quiz-card,.attempt-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:18px;align-items:center;gap:18px;padding:18px 20px;display:flex}.saved-quiz-icon{width:55px;height:55px;color:var(--purple-primary);background:var(--purple-soft);border-radius:15px;flex-shrink:0;place-items:center;display:grid}.saved-quiz-content{flex:1;min-width:0}.saved-quiz-content h3{margin-bottom:7px;font-size:16px}.saved-quiz-content p{color:var(--text-secondary);margin-bottom:10px;font-size:13px}.quiz-tags{flex-wrap:wrap;gap:8px;display:flex}.quiz-tags span{color:var(--text-secondary);background:var(--surface-secondary);border-radius:8px;padding:5px 9px;font-size:12px}.saved-quiz-actions{align-items:center;gap:10px;display:flex}.saved-quiz-actions>button:first-child{color:#fff;background:var(--purple-primary);border:0;border-radius:11px;align-items:center;gap:7px;min-height:43px;padding:0 16px;font-weight:600;display:inline-flex}.attempts-list{flex-direction:column;gap:14px;display:flex}.attempt-percentage{text-align:center;min-width:94px;color:var(--purple-dark);background:var(--purple-soft);border-radius:14px;padding:14px 12px}.attempt-percentage strong{margin-bottom:5px;font-size:27px;display:block}.attempt-percentage span{font-size:12px}.attempt-content{flex:1}.attempt-content h3{margin-bottom:7px;font-size:17px}.attempt-message{color:var(--purple-dark);margin-bottom:8px;font-size:14px;font-weight:500;line-height:1.45}.attempt-content small{color:var(--text-secondary)}.attempt-actions{align-items:center;gap:9px;display:flex}.attempt-details-header{background:var(--surface);border:1px solid var(--border);border-radius:20px;justify-content:space-between;align-items:center;gap:25px;margin-bottom:18px;padding:25px;display:flex}.attempt-details-header h2{margin-bottom:8px;font-size:21px}.attempt-details-header p{color:var(--text-secondary);font-size:13px}.attempt-score-large{text-align:center;background:var(--purple-soft);border-radius:15px;min-width:160px;padding:16px}.attempt-score-large strong{color:var(--purple-dark);margin-bottom:7px;font-size:36px;display:block}.attempt-score-large span{color:var(--text-secondary);font-size:13px}.saved-result-message{color:var(--purple-dark);background:linear-gradient(105deg, var(--purple-soft), var(--pink-soft));border-radius:16px;margin-bottom:22px;padding:18px 20px;font-size:15px;font-weight:500;line-height:1.5}.attempt-question-list{flex-direction:column;gap:10px;display:flex}.attempt-question-result{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:0 18px}.attempt-question-result summary{cursor:pointer;align-items:center;gap:13px;padding:17px 0;font-weight:500;display:flex}.attempt-question-result summary span{text-align:center;border-radius:8px;min-width:68px;padding:6px 8px;font-size:13px}.attempt-complete{color:var(--green);background:var(--green-soft)}.attempt-partial{color:var(--orange);background:var(--orange-soft)}.attempt-wrong{color:var(--red);background:var(--red-soft)}.attempt-answer-summary{flex-direction:column;gap:8px;padding:0 0 18px 82px;display:flex}.attempt-answer-summary p{color:var(--text-secondary);font-size:14px}.attempt-answer-summary strong{color:var(--text-primary)}@media (width<=680px){.saved-quiz-card,.attempt-card{flex-wrap:wrap;align-items:flex-start}.saved-quiz-actions,.attempt-actions{justify-content:flex-end;width:100%}.attempt-details-header{flex-direction:column;align-items:stretch}.attempt-answer-summary{padding-left:0}}.quiz-title-row{align-items:center;gap:9px;margin-bottom:7px;display:flex}.quiz-title-row h3{margin:0}.rename-quiz-button{width:32px;height:32px;color:var(--text-soft);background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.rename-quiz-button:hover{color:var(--purple-dark);background:var(--purple-soft)}.quiz-title-edit-row{align-items:center;gap:7px;margin-bottom:8px;display:flex}.quiz-title-edit-row input{min-width:160px;color:var(--text-primary);background:var(--surface-secondary);border:1px solid var(--border);border-radius:10px;outline:none;flex:1;padding:10px 12px}.quiz-title-edit-row input:focus{border-color:var(--purple-primary)}.save-name-button,.cancel-name-button{border:0;border-radius:10px;place-items:center;width:39px;height:39px;display:grid}.save-name-button{color:var(--green);background:var(--green-soft)}.cancel-name-button{color:var(--red);background:var(--red-soft)}.quiz-rename-error{color:var(--red);margin-bottom:8px;font-size:13px}.recovery-card{background:linear-gradient(110deg, var(--purple-soft), var(--pink-soft));border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:22px;margin-bottom:25px;padding:24px}.recovery-card-heading{align-items:center;gap:15px;margin-bottom:21px;display:flex}.recovery-card-icon{width:54px;height:54px;color:var(--purple-dark);background:var(--surface);border-radius:16px;flex-shrink:0;place-items:center;display:grid}.recovery-card-heading h2{margin-bottom:6px;font-size:21px}.recovery-card-heading p{color:var(--text-secondary);font-size:14px}.recovery-options{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.recovery-options article{background:var(--surface);border-radius:15px;flex-direction:column;gap:8px;padding:17px;display:flex}.recovery-options strong{color:var(--purple-dark);font-size:30px}.recovery-options span{min-height:34px;color:var(--text-secondary);font-size:13px;line-height:1.4}.recovery-options button{color:#fff;background:var(--purple-primary);border:0;border-radius:11px;min-height:42px;margin-top:6px;font-weight:600}.recovery-options button:disabled{opacity:.45;cursor:not-allowed}.recovery-error{color:var(--red);background:var(--red-soft);border-radius:11px;margin-top:15px;padding:12px 14px;font-size:13px}@media (width<=650px){.recovery-options{grid-template-columns:1fr}}.brand-secret-button{text-align:left;color:inherit;background:0 0;border:0;padding:0}.brand-secret-button:active{transform:scale(.99)}.personal-welcome-message{max-width:530px;color:var(--purple-dark);margin-bottom:12px;font-size:16px;font-weight:600;line-height:1.5}.welcome-helper-text{max-width:510px;color:var(--text-secondary);line-height:1.55}.secret-message-modal{text-align:center;background:var(--surface);border:1px solid var(--border);width:min(470px,100%);box-shadow:var(--shadow);border-radius:27px;padding:42px 30px 30px;position:relative}.secret-close-button{width:39px;height:39px;color:var(--text-secondary);background:var(--surface-secondary);border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:15px;right:15px}.secret-decoration{width:67px;height:67px;color:var(--pink-primary);background:var(--pink-soft);border-radius:50%;place-items:center;margin:0 auto 18px;display:grid}.secret-message-modal p{color:var(--text-secondary);margin-bottom:12px;font-size:13px}.secret-message-modal h2{margin-bottom:27px;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:500;line-height:1.5}.secret-confirm-button{color:#fff;background:linear-gradient(105deg, var(--purple-primary), var(--pink-primary));border:0;border-radius:14px;min-height:51px;padding:0 24px;font-weight:600}:root[data-theme=dark] .secret-message-modal{background:var(--surface)}.saved-progress-message{color:var(--green);background:var(--green-soft);border-radius:14px;margin-bottom:22px;padding:15px 18px;font-size:14px;font-weight:600;line-height:1.5}.attempt-progress-note{color:var(--green);margin-bottom:8px;font-size:13px;font-weight:600;line-height:1.4}.subjects-loading{min-height:230px;color:var(--purple-primary);background:var(--surface);border:1px solid var(--border);border-radius:22px;place-content:center;justify-items:center;gap:12px;display:grid}.subjects-loading p{color:var(--text-secondary);font-size:14px}.subjects-loader-icon{animation:.75s linear infinite subjects-spin}@keyframes subjects-spin{to{transform:rotate(360deg)}}.subjects-page-error{color:var(--red);background:var(--red-soft);border-radius:14px;margin-bottom:22px;padding:15px 18px}.subjects-page-error p{line-height:1.45}.missing-subject-page p{color:var(--text-secondary);line-height:1.5}.open-original-file-button{min-height:51px;color:var(--purple-dark);background:var(--purple-soft);border-radius:14px;align-items:center;gap:8px;margin:0 0 22px 10px;padding:0 20px;font-weight:600;text-decoration:none;display:inline-flex}.open-original-file-button:hover{background:var(--pink-soft)}@media (width<=580px){.open-original-file-button{justify-content:center;width:100%;margin-left:0}.create-test-from-file-button{justify-content:center;width:100%}}.review-page{width:min(1260px,100% - 44px);margin:0 auto;padding:30px 0 48px}.review-header{grid-template-columns:180px 1fr 180px;align-items:center;gap:20px;margin-bottom:27px;display:grid}.review-header>div{text-align:center}.review-header p{color:var(--text-secondary);margin-bottom:5px;font-size:13px}.review-header h1{margin-bottom:6px;font-family:Georgia,Times New Roman,serif;font-size:31px;font-weight:500}.review-header span{color:var(--text-secondary);font-size:13px}.review-back-button{min-height:49px;color:var(--text-secondary);background:var(--surface);border:1px solid var(--border);border-radius:13px;align-items:center;gap:8px;padding:0 16px;font-weight:600;display:inline-flex}.save-review-button{color:#fff;background:linear-gradient(105deg, var(--purple-primary), var(--purple-dark));border:0;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-height:52px;padding:0 18px;font-weight:600;display:inline-flex}.review-summary{grid-template-columns:repeat(3,minmax(150px,220px));justify-content:center;gap:14px;margin-bottom:25px;display:grid}.review-summary article{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:16px;align-items:center;gap:14px;padding:17px 18px;display:flex}.review-summary article:first-child svg{color:var(--purple-primary)}.review-summary article:nth-child(2) svg,.review-success-stat svg{color:var(--green)}.review-warning-stat svg{color:var(--orange)}.review-summary strong{margin-bottom:3px;font-size:23px;display:block}.review-summary span{color:var(--text-secondary);font-size:12px}.review-error{color:var(--red);background:var(--red-soft);border-radius:14px;align-items:flex-start;gap:11px;margin-bottom:20px;padding:15px 18px;display:flex}.review-error p{line-height:1.45}.review-workspace{grid-template-columns:365px minmax(440px,1fr);align-items:start;gap:22px;display:grid}.review-question-sidebar{background:var(--surface);border:1px solid var(--border);max-height:calc(100vh - 40px);box-shadow:var(--shadow-soft);border-radius:19px;padding:16px;position:sticky;top:18px;overflow:hidden}.review-sidebar-header{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.review-sidebar-header h2{font-size:17px}.review-sidebar-header label{color:var(--text-secondary);align-items:center;gap:6px;font-size:12px;display:flex}.review-sidebar-header input{accent-color:var(--purple-primary)}.review-question-list{flex-direction:column;gap:7px;max-height:calc(100vh - 107px);padding-right:4px;display:flex;overflow-y:auto}.review-question-list button{text-align:left;width:100%;color:var(--text-primary);background:var(--surface-secondary);border:1px solid #0000;border-radius:11px;grid-template-columns:39px 1fr 10px;align-items:center;gap:10px;padding:11px;display:grid}.review-question-list button.active{background:var(--purple-soft);border-color:#dfc9f2}.review-question-list button>span{width:37px;height:37px;color:var(--purple-dark);background:#fff;border-radius:10px;place-items:center;font-size:13px;font-weight:700;display:grid}.review-question-list button p{color:var(--text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.review-question-list button.active p{color:var(--text-primary)}.review-question-list i{border-radius:50%;width:9px;height:9px}.question-reviewed{background:var(--green)}.question-needs-review{background:var(--orange)}.no-uncertain-questions{text-align:center;color:var(--green);padding:31px 13px}.no-uncertain-questions p{color:var(--text-secondary);margin-top:9px;font-size:13px;line-height:1.45}.review-current-question{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:22px;padding:29px}.review-current-question header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.review-current-question header span{color:var(--purple-dark);background:var(--purple-soft);border-radius:9px;padding:7px 12px;font-size:13px;font-weight:700}.review-current-question header small{color:var(--text-secondary)}.review-current-question h2{margin-bottom:10px;font-size:20px;line-height:1.55}.review-instruction{color:var(--text-secondary);margin-bottom:24px;font-size:14px}.review-answer-options{flex-direction:column;gap:11px;display:flex}.review-answer-options label{min-height:61px;color:var(--text-primary);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:14px;align-items:center;gap:13px;padding:11px 17px;transition:all .15s;display:flex}.review-answer-options label:hover{border-color:var(--purple-primary);background:#fdfaff}.review-answer-options input{display:none}.review-answer-letter{width:37px;height:37px;color:var(--text-secondary);background:var(--surface-secondary);border-radius:50%;flex-shrink:0;place-items:center;font-weight:700;display:grid}.review-answer-text{flex:1;line-height:1.45}.review-answer-options .answer-marked-correct{color:var(--green);background:var(--green-soft);border-color:#45a8704d}.answer-marked-correct .review-answer-letter{color:#fff;background:var(--green)}.review-answer-check{color:var(--green)}.review-mobile-actions{display:none}@media (width<=940px){.review-page{width:min(690px,100% - 30px);padding-top:20px}.review-header{flex-wrap:wrap;justify-content:space-between;display:flex}.review-header>div{order:-1;width:100%;margin-bottom:15px}.review-summary{grid-template-columns:repeat(3,1fr)}.review-workspace{flex-direction:column;display:flex}.review-question-sidebar{width:100%;max-height:280px;position:static}.review-question-list{max-height:195px}.review-current-question{width:100%}}@media (width<=600px){.review-page{width:calc(100% - 26px);padding-bottom:95px}.review-header h1{font-size:25px}.save-review-button{display:none}.review-summary{justify-content:start;display:flex;overflow-x:auto}.review-summary article{min-width:145px}.review-current-question{padding:19px 15px}.review-current-question h2{font-size:17px}.review-answer-options label{padding:10px 12px}.review-mobile-actions{z-index:20;border-top:1px solid var(--border);background:#fff;gap:10px;padding:12px 14px;display:flex;position:fixed;bottom:0;left:0;right:0}.review-mobile-actions button{border-radius:13px;flex:1;min-height:51px;font-weight:600}.review-mobile-actions button:first-child{color:var(--text-secondary);border:1px solid var(--border);background:#fff}.review-mobile-actions button:last-child{color:#fff;background:var(--purple-primary);border:0;justify-content:center;align-items:center;gap:7px;display:flex}}.upload-page{width:min(1180px,100% - 48px);margin:0 auto;padding:34px 0 48px}.upload-header{justify-content:space-between;align-items:center;max-width:650px;margin:0 auto 28px;display:flex}.upload-header div{text-align:center}.upload-header h1{color:var(--text-primary);font-family:Georgia,Times New Roman,serif;font-size:32px;font-weight:500}.upload-header p{color:var(--text-secondary);margin-top:8px;font-size:14px}.icon-button{border:1px solid var(--border);width:46px;height:46px;color:var(--text-primary);background:var(--surface);border-radius:50%;place-items:center;display:grid}.icon-button:hover{background:var(--pink-soft)}.upload-container{grid-template-columns:minmax(360px,520px) minmax(340px,430px);justify-content:center;align-items:start;gap:26px;display:grid}.upload-column,.settings-column{flex-direction:column;gap:18px;display:flex}.drop-zone{text-align:center;background:var(--surface);border-radius:var(--radius-large);min-height:310px;box-shadow:var(--shadow-soft);border:2px dashed #ebcfd8;flex-direction:column;justify-content:center;align-items:center;gap:13px;padding:42px 28px;transition:all .2s;display:flex}.drop-zone input{display:none}.drop-zone:hover,.drop-zone.dragging{border-color:var(--pink-primary);background:#fff6f8}.upload-cloud{width:72px;height:72px;color:var(--pink-primary);background:var(--pink-soft);border-radius:22px;place-items:center;margin-bottom:5px;display:grid}.drop-zone strong{font-size:19px}.drop-zone span:not(.upload-cloud){color:var(--text-secondary)}.drop-zone small{color:var(--text-soft);font-size:13px}.file-card{border-radius:var(--radius-large);box-shadow:var(--shadow-soft);background:linear-gradient(110deg,#fff4f6,#f8f0fc);border:1px solid #ead9ec;align-items:center;gap:17px;padding:22px;display:flex}.file-type{min-width:68px;height:76px;color:var(--pink-primary);background:#ffe6ec;border-radius:17px;place-items:center;gap:2px;display:grid}.file-type span{font-size:11px;font-weight:700}.file-information{flex:1;min-width:0}.file-information strong{white-space:nowrap;text-overflow:ellipsis;margin-bottom:7px;display:block;overflow:hidden}.file-information p{color:var(--text-secondary);margin-bottom:8px;font-size:14px}.file-success{color:var(--green);background:var(--green-soft);border-radius:30px;padding:5px 11px;font-size:12px;font-weight:600;display:inline-block}.delete-button{color:var(--text-secondary);background:0 0;border:0}.delete-button:hover{color:var(--red)}.primary-button{color:#fff;background:linear-gradient(105deg, var(--purple-primary), var(--purple-dark));border:0;border-radius:18px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:58px;font-size:16px;font-weight:600;display:flex;box-shadow:0 9px 20px #7048aa33}.primary-button:hover:not(:disabled){transform:translateY(-1px)}.primary-button:disabled{opacity:.7;cursor:wait}.import-button{background:linear-gradient(105deg, var(--pink-primary), var(--pink-dark));box-shadow:0 9px 20px #d968852e}.loading-icon{animation:.8s linear infinite rotate}@keyframes rotate{to{transform:rotate(360deg)}}.error-message{color:var(--red);background:var(--red-soft);border-radius:var(--radius-medium);align-items:flex-start;gap:10px;padding:15px 17px;display:flex}.detection-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-large);box-shadow:var(--shadow-soft);padding:10px 20px}.summary-row{min-height:74px;color:var(--text-secondary);align-items:center;gap:14px;display:flex}.summary-row strong{color:var(--text-primary);margin-left:auto;font-size:26px;font-weight:500}.summary-icon{border-radius:50%;place-items:center;width:47px;height:47px;display:grid}.summary-icon.questions{color:var(--purple-primary);background:var(--purple-soft)}.summary-icon.answers{color:var(--peach-text);background:var(--peach-soft)}.summary-divider{background:var(--border);height:1px}.warnings-card{border-radius:var(--radius-medium);background:#fff7eb;border:1px solid #f5e2c4;padding:18px}.warnings-card h2{margin-bottom:9px;font-size:15px}.warnings-card p,.warnings-card small{color:#89683d;margin-top:6px;font-size:13px;display:block}.quiz-settings-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-large);box-shadow:var(--shadow);flex-direction:column;gap:23px;padding:25px;display:flex}.quiz-settings-card h2{align-items:center;gap:7px;font-size:19px;font-weight:500;display:flex}.quiz-settings-card h2 svg{color:var(--pink-primary)}.range-setting,.select-setting{color:var(--text-secondary);flex-direction:column;gap:12px;font-size:14px;display:flex}.range-value{text-align:center;min-width:58px;color:var(--text-primary);background:var(--surface);border:1px solid var(--border);border-radius:12px;align-self:center;padding:12px;font-size:22px}.range-setting input{width:100%;accent-color:var(--purple-primary)}.range-limits{color:var(--text-soft);justify-content:space-between;display:flex}.select-setting select{color:var(--text-primary);background:var(--surface-secondary);border:1px solid var(--border);border-radius:13px;outline:none;padding:15px}.setting-note{color:var(--text-secondary);background:var(--purple-soft);border-radius:12px;padding:13px 14px;font-size:13px;line-height:1.5}.questions-preview{margin-top:32px}.questions-preview-header{justify-content:space-between;align-items:end;gap:18px;margin-bottom:19px;display:flex}.questions-preview-header h2{font-size:22px}.questions-preview-header p{color:var(--text-secondary);margin-top:7px}.secondary-button{color:var(--purple-dark);background:var(--purple-soft);border:0;border-radius:13px;padding:14px 19px;font-weight:600}.preview-grid{grid-template-columns:repeat(3,1fr);gap:17px;display:grid}.preview-question-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-medium);box-shadow:var(--shadow-soft);padding:20px}.preview-question-card h3{min-height:70px;margin-bottom:17px;font-size:15px;font-weight:600;line-height:1.45}.preview-answers{flex-direction:column;gap:8px;display:flex}.preview-answers p{color:var(--text-secondary);border-radius:9px;gap:9px;padding:9px;font-size:13px;display:flex}.preview-answers p span{font-weight:700}.preview-answers .detected-correct{color:var(--green);background:var(--green-soft)}.preview-answers small{color:var(--text-soft)}@media (width<=960px){.upload-page{width:min(650px,100% - 32px);padding-top:20px}.upload-container{flex-direction:column;display:flex}.settings-column{width:100%}.preview-grid{grid-template-columns:1fr}}@media (width<=560px){.upload-page{width:calc(100% - 28px)}.upload-header h1{font-size:26px}.drop-zone{min-height:260px;padding:30px 18px}.file-card{padding:16px}.file-type{min-width:58px;height:64px}.questions-preview-header{flex-direction:column;align-items:stretch}}.toggle-setting{background:var(--surface-secondary);border:1px solid var(--border);border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:15px;display:flex}.toggle-setting div{flex-direction:column;gap:6px;display:flex}.toggle-setting strong{font-size:14px;font-weight:600}.toggle-setting span{max-width:260px;color:var(--text-secondary);font-size:12px;line-height:1.45}.toggle-setting input{width:20px;height:20px;accent-color:var(--purple-primary)}.upload-page-embedded{width:100%;padding:0}.upload-page-embedded .upload-container{justify-content:start}.embedded-upload-header{margin-bottom:25px}.embedded-upload-header h2{margin-bottom:8px;font-family:Georgia,Times New Roman,serif;font-size:27px;font-weight:500}.embedded-upload-header p{color:var(--text-secondary);font-size:14px}.manual-review-setting{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:16px;justify-content:space-between;align-items:center;gap:19px;padding:17px 19px;display:flex}.manual-review-setting div{flex-direction:column;gap:6px;display:flex}.manual-review-setting strong{font-size:14px;font-weight:600}.manual-review-setting span{max-width:350px;color:var(--text-secondary);font-size:12px;line-height:1.45}.manual-review-setting input{width:21px;height:21px;accent-color:var(--purple-primary);flex-shrink:0}.recovery-source-note{color:var(--purple-dark);background:var(--purple-soft);border-radius:15px;align-items:center;gap:13px;padding:16px 18px;display:flex}.recovery-source-note div{flex-direction:column;gap:5px;display:flex}.recovery-source-note strong{font-size:14px}.recovery-source-note span{color:var(--text-secondary);font-size:12px;line-height:1.45}.statistics-page{flex-direction:column;gap:22px;display:flex}.statistics-heading h2{margin-bottom:7px;font-family:Georgia,Times New Roman,serif;font-size:29px;font-weight:500}.statistics-heading p{color:var(--text-secondary);font-size:14px}.statistics-cards{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.statistics-card{background:var(--surface);border:1px solid var(--border);min-height:108px;box-shadow:var(--shadow-soft);border-radius:18px;align-items:center;gap:14px;padding:18px;display:flex}.statistics-icon{border-radius:15px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.statistics-icon.tests{color:var(--purple-primary);background:var(--purple-soft)}.statistics-icon.average{color:var(--pink-dark);background:var(--pink-soft)}.statistics-icon.best{color:var(--green);background:var(--green-soft)}.statistics-icon.latest{color:var(--orange);background:var(--orange-soft)}.statistics-card strong{margin-bottom:5px;font-size:29px;font-weight:600;display:block}.statistics-card p{color:var(--text-secondary);font-size:13px}.statistics-main-grid{grid-template-columns:minmax(500px,1fr) 300px;gap:18px;display:grid}.score-evolution-card,.answer-distribution-card,.difficult-questions-card,.recent-results-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:21px;padding:23px}.score-evolution-card header h3,.difficult-questions-card header h3,.recent-results-card header h3,.answer-distribution-card h3{margin-bottom:7px;font-size:18px;font-weight:600}.score-evolution-card header h3{align-items:center;gap:8px;display:flex}.score-evolution-card header h3 svg{color:var(--purple-primary)}.score-evolution-card header p,.difficult-questions-card header p{color:var(--text-secondary);font-size:13px}.score-chart-container{width:100%;height:285px;margin-top:26px}.statistics-tooltip{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:11px;flex-direction:column;gap:5px;padding:11px 13px;display:flex}.statistics-tooltip strong{max-width:190px;font-size:13px}.statistics-tooltip span{color:var(--text-secondary);font-size:12px}.statistics-tooltip p{color:var(--purple-dark);font-size:17px;font-weight:700}.distribution-list{flex-direction:column;gap:13px;margin-top:22px;display:flex}.distribution-item{background:var(--surface-secondary);border-radius:12px;grid-template-columns:11px 1fr auto;align-items:center;gap:10px;padding:13px;display:grid}.distribution-item>span{border-radius:50%;width:11px;height:11px}.distribution-item p{color:var(--text-secondary);font-size:14px}.distribution-item strong{font-size:20px}.distribution-item.correct>span{background:var(--green)}.distribution-item.partial>span{background:var(--orange)}.distribution-item.wrong>span{background:var(--red)}.distribution-item.correct strong{color:var(--green)}.distribution-item.partial strong{color:var(--orange)}.distribution-item.wrong strong{color:var(--red)}.best-result-summary{text-align:center;background:linear-gradient(110deg, var(--purple-soft), var(--pink-soft));border-radius:14px;margin-top:24px;padding:17px 15px}.best-result-summary p{color:var(--text-secondary);margin-bottom:6px;font-size:12px}.best-result-summary strong{color:var(--purple-dark);margin-bottom:6px;font-size:34px;display:block}.best-result-summary span{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.statistics-bottom-grid{grid-template-columns:1.15fr .85fr;gap:18px;display:grid}.difficult-questions-list{flex-direction:column;gap:10px;margin-top:19px;display:flex}.difficult-question-row{background:var(--surface-secondary);border-radius:13px;align-items:flex-start;gap:12px;padding:13px;display:flex}.difficulty-position{width:32px;height:32px;color:var(--red);background:var(--red-soft);border-radius:9px;flex-shrink:0;place-items:center;font-weight:700;display:grid}.difficult-question-row div{min-width:0}.difficult-question-row strong{margin-bottom:5px;font-size:14px;display:block}.difficult-question-row p{color:var(--text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:7px;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.difficult-question-row small{color:var(--red);font-size:12px}.no-difficult-questions{text-align:center;min-height:190px;color:var(--green);place-content:center;justify-items:center;gap:11px;display:grid}.no-difficult-questions p{max-width:260px;color:var(--text-secondary);font-size:14px}.recent-results-list{flex-direction:column;gap:11px;margin-top:18px;display:flex}.recent-result-row{text-align:left;background:var(--surface-secondary);border:1px solid #0000;border-radius:13px;align-items:flex-start;gap:12px;width:100%;padding:12px;display:flex}.recent-result-row:hover{background:var(--purple-soft);border-color:#dfc9f2}.recent-result-percentage{min-width:59px;color:var(--purple-dark);text-align:center;background:#fff;border-radius:9px;padding:9px 7px;font-weight:700}.recent-result-row div{min-width:0}.recent-result-row strong{white-space:nowrap;text-overflow:ellipsis;margin-bottom:5px;font-size:14px;display:block;overflow:hidden}.recent-result-row p{color:var(--purple-dark);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:6px;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.recent-result-row small{color:var(--text-secondary);font-size:11px}.statistics-empty-state{text-align:center;min-height:350px;color:var(--purple-primary);background:var(--surface);border:1px dashed #e5d5df;border-radius:23px;place-content:center;justify-items:center;gap:14px;padding:40px 22px;display:grid}.statistics-empty-state h2{color:var(--text-primary);font-size:22px}.statistics-empty-state p{max-width:420px;color:var(--text-secondary);line-height:1.55}@media (width<=1060px){.statistics-cards{grid-template-columns:repeat(2,1fr)}.statistics-main-grid,.statistics-bottom-grid{grid-template-columns:1fr}}@media (width<=580px){.statistics-heading h2{font-size:25px}.statistics-cards{grid-template-columns:1fr}.score-evolution-card,.answer-distribution-card,.difficult-questions-card,.recent-results-card{padding:18px 15px}.score-chart-container{height:245px}}:root{--background:#fffaf9;--background-soft:#fdf2f4;--surface:#fff;--surface-secondary:#fff7f7;--surface-elevated:#fff;--text-primary:#312a35;--text-secondary:#786e78;--text-soft:#a39aa3;--pink-primary:#e9859d;--pink-dark:#d96885;--pink-soft:#fde8ed;--purple-primary:#8d62c7;--purple-dark:#7048aa;--purple-soft:#f1eafb;--peach-soft:#fff0e7;--peach-text:#c57b45;--green:#45a870;--green-soft:#e6f6ea;--red:#d95368;--red-soft:#fde8ec;--orange:#c77b31;--orange-soft:#fff1df;--border:#f0e4e5;--border-strong:#dfc9f2;--shadow:0 14px 42px #76485e17;--shadow-soft:0 6px 18px #76485e12;--radius-large:24px;--radius-medium:17px;--radius-small:12px;font-family:Inter,Segoe UI,Arial,sans-serif}:root[data-theme=dark]{--background:#100d13;--background-soft:#161119;--surface:#1b1620;--surface-secondary:#241d29;--surface-elevated:#2a2230;--text-primary:#f4edf4;--text-secondary:#b7a9b8;--text-soft:#817483;--pink-primary:#e985a4;--pink-dark:#f29bb5;--pink-soft:#35212c;--purple-primary:#a97be4;--purple-dark:#c69cff;--purple-soft:#2d223c;--peach-soft:#34261e;--peach-text:#f2b273;--green:#68cb91;--green-soft:#183025;--red:#f27b91;--red-soft:#351c25;--orange:#e6a25b;--orange-soft:#352719;--border:#322a38;--border-strong:#574267;--shadow:0 16px 46px #00000054;--shadow-soft:0 8px 22px #0000003b}*{box-sizing:border-box}html,body,#root{min-height:100vh;margin:0}body{color:var(--text-primary);background:radial-gradient(circle at 8% 6%, #ffe9ed 0, transparent 29%), radial-gradient(circle at 92% 4%, #f5eafb 0, transparent 32%), var(--background);transition:background-color .2s,color .2s}:root[data-theme=dark] body{background:radial-gradient(circle at 8% 6%, #d8598321 0, transparent 30%), radial-gradient(circle at 92% 4%, #8551bf2b 0, transparent 34%), var(--background)}button,input,select{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}body,.subject-card,.file-card,.drop-zone,.quiz-settings-card,.question-container,.final-result-card,.saved-file-card,.saved-quiz-card,.attempt-card,.review-current-question,.review-question-sidebar,.statistics-card,.score-evolution-card,.answer-distribution-card,.difficult-questions-card,.recent-results-card,.subject-modal{transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s}:root[data-theme=dark] .drop-zone{border-color:#463747}:root[data-theme=dark] .drop-zone:hover,:root[data-theme=dark] .drop-zone.dragging{border-color:var(--pink-primary);background:#211923}:root[data-theme=dark] .file-card{border-color:var(--border);background:linear-gradient(110deg,#261a23,#251d31)}:root[data-theme=dark] .file-type{background:var(--pink-soft)}:root[data-theme=dark] .warnings-card{background:#2b2218;border-color:#493923}:root[data-theme=dark] .warnings-card p,:root[data-theme=dark] .warnings-card small{color:#d9af74}:root[data-theme=dark] .subjects-welcome-card{background:linear-gradient(110deg,#211722,#211a2c)}:root[data-theme=dark] .subjects-totals article{background:#1f1924d1}:root[data-theme=dark] .empty-subjects,:root[data-theme=dark] .tab-empty-state,:root[data-theme=dark] .statistics-empty-state{border-color:#443648}:root[data-theme=dark] .subject-modal{background:var(--surface)}:root[data-theme=dark] .saved-result-message,:root[data-theme=dark] .best-result-summary{background:linear-gradient(105deg, var(--purple-soft), var(--pink-soft))}:root[data-theme=dark] .quiz-progress-bar{background:#302739}:root[data-theme=dark] .answer-choice{background:var(--surface);border-color:var(--border)}:root[data-theme=dark] .answer-choice:hover:not(.correct-selected):not(.wrong-selected):not(.correct-missed){border-color:var(--purple-primary);background:#251d2c}:root[data-theme=dark] .answer-choice.correct-missed{background:#1a2b22}:root[data-theme=dark] .review-answer,:root[data-theme=dark] .final-mistake-card,:root[data-theme=dark] .review-question-list button{background:var(--surface-secondary)}:root[data-theme=dark] .review-question-list button.active{background:var(--purple-soft);border-color:var(--border-strong)}:root[data-theme=dark] .review-question-list button>span{background:var(--surface-elevated)}:root[data-theme=dark] .review-answer-options label:hover{background:#251d2c}:root[data-theme=dark] .review-mobile-actions{background:var(--surface);border-color:var(--border)}:root[data-theme=dark] .review-mobile-actions button:first-child{color:var(--text-secondary);background:var(--surface-secondary);border-color:var(--border)}:root[data-theme=dark] .statistics-tooltip{background:var(--surface-elevated)}:root[data-theme=dark] .recent-result-row:hover{border-color:var(--border-strong);background:var(--purple-soft)}:root[data-theme=dark] .recent-result-percentage{background:var(--surface-elevated)}:root[data-theme=dark] input,:root[data-theme=dark] select{color:var(--text-primary)}:root[data-theme=dark] select option{color:var(--text-primary);background:var(--surface)}
