.layout{min-height:100vh;display:flex;flex-direction:column}.header{background-color:var(--bg-primary);border-bottom:1px solid var(--border-color);box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:100}.header-content{display:flex;justify-content:space-between;align-items:center;padding:1rem 0}.logo{font-size:1.5rem;font-weight:700;color:var(--primary-color);text-decoration:none;display:flex;align-items:center;gap:.5rem}.nav{display:flex;align-items:center;gap:1.5rem}.nav-link{color:var(--text-secondary);text-decoration:none;font-weight:500;transition:color .2s}.nav-link:hover{color:var(--primary-color)}.user-menu{display:flex;align-items:center;gap:1rem;padding-left:1.5rem;border-left:1px solid var(--border-color)}.user-name{color:var(--text-primary);font-weight:500}.btn-sm{padding:.5rem 1rem;font-size:.875rem}.main-content{flex:1;padding:2rem 0}.main-content-quiz{flex:1;padding:0;margin:0;overflow:hidden;height:100vh}@media (max-width: 768px){.header-content{flex-direction:column;gap:1rem}.nav{flex-wrap:wrap;justify-content:center}.user-menu{padding-left:0;border-left:none;padding-top:1rem;border-top:1px solid var(--border-color)}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem;background:#f4f4f4}.auth-card{max-width:420px;width:100%}.auth-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem;text-align:center}.auth-subtitle{color:var(--text-secondary);text-align:center;margin-bottom:2rem}.auth-form{margin-bottom:1.5rem}.auth-footer{text-align:center;color:var(--text-secondary)}.auth-footer a{color:var(--primary-color);text-decoration:none;font-weight:500}.auth-footer a:hover{text-decoration:underline}.w-full{width:100%}.dashboard-title{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.dashboard-subtitle{color:var(--text-secondary);margin-bottom:3rem}.loading-container{min-height:50vh;display:flex;align-items:center;justify-content:center}.search-filter-container{margin-bottom:2rem;display:flex;flex-direction:column;align-items:center;gap:1rem}.search-container{margin-bottom:2rem;display:flex;justify-content:center}.search-box{position:relative;width:100%;max-width:600px}.filter-buttons{display:flex;gap:.75rem;background-color:#f3f4f6;padding:.375rem;border-radius:.75rem;box-shadow:0 1px 3px #0000001a}.filter-btn{padding:.625rem 1.25rem;font-size:.9375rem;font-weight:500;border:none;border-radius:.5rem;background-color:transparent;color:#6b7280;cursor:pointer;transition:all .2s;white-space:nowrap}.filter-btn:hover{color:#374151;background-color:#e5e7eb}.filter-btn.active{background-color:#fff;color:#6366f1;font-weight:600;box-shadow:0 1px 3px #0000001a}.search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none}.search-input{width:100%;padding:.875rem 3rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:.75rem;background-color:#fff;color:var(--text-primary);transition:all .2s;outline:none}.search-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.search-input::placeholder{color:#9ca3af}.search-clear{position:absolute;right:1rem;top:50%;transform:translateY(-50%);background:none;border:none;color:#9ca3af;font-size:1.25rem;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:50%;transition:all .2s}.search-clear:hover{background-color:#f3f4f6;color:#6b7280}.quiz-section{margin-bottom:3rem}.section-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.quiz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.quiz-card{display:flex;flex-direction:column;gap:1rem;transition:transform .2s,box-shadow .2s}.quiz-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.quiz-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.quiz-card-title{font-size:1.25rem;font-weight:600;color:var(--text-primary);flex:1}.quiz-card-description{color:var(--text-secondary);font-size:.875rem;line-height:1.5}.quiz-card-meta{display:flex;gap:1rem;flex-wrap:wrap}.meta-item{color:var(--text-secondary);font-size:.875rem;display:flex;align-items:center;gap:.25rem}.progress-info{background-color:var(--bg-secondary);padding:1rem;border-radius:.5rem}.progress-score{font-size:1.125rem;font-weight:600;color:var(--success-color);margin-bottom:.25rem}.progress-details{color:var(--text-secondary);font-size:.875rem}.no-data{color:var(--text-secondary);text-align:center;padding:2rem;grid-column:1 / -1}@media (max-width: 768px){.dashboard-title{font-size:2rem}.search-filter-container,.search-container{margin-bottom:1.5rem;padding:0 .5rem}.search-input{padding:.75rem 2.5rem;font-size:.9375rem}.search-icon{left:.75rem;width:18px;height:18px}.search-clear{right:.75rem}.filter-buttons{width:100%;max-width:600px;justify-content:center}.filter-btn{flex:1;padding:.5rem .875rem;font-size:.875rem}.quiz-grid{grid-template-columns:1fr}}.admin-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid var(--border-color)}.admin-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.admin-subtitle{font-size:1.1rem;color:var(--text-secondary)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card{background:var(--bg-secondary);padding:1.5rem;border-radius:12px;box-shadow:0 1px 3px #0000001a;text-align:center}.stat-value{font-size:2.5rem;font-weight:700;color:var(--primary-color);margin-bottom:.5rem}.stat-label{font-size:.95rem;color:var(--text-secondary);font-weight:500}.question-sets-section{margin-top:3rem}.section-header{margin-bottom:1.5rem}.section-title{font-size:1.5rem;font-weight:600;margin-bottom:1rem;color:var(--text-primary)}.filter-controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.search-box{flex:1;min-width:250px}.search-input{width:100%;padding:.75rem 1rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:border-color .2s}.search-input:focus{outline:none;border-color:var(--primary-color)}.tabs{display:flex;gap:.5rem;background:var(--bg-secondary);padding:.25rem;border-radius:8px;border:1px solid var(--border-color)}.tab{padding:.6rem 1.2rem;border:none;background:transparent;color:var(--text-secondary);font-weight:500;font-size:.95rem;border-radius:6px;cursor:pointer;transition:all .2s;white-space:nowrap}.tab:hover{background:#3b82f61a;color:var(--primary-color)}.tab.active{background:var(--primary-color);color:#fff;box-shadow:0 2px 4px #3b82f64d}.empty-state p{font-size:1.1rem;color:var(--text-secondary);margin-bottom:1.5rem}.question-sets-list{display:flex;flex-direction:column;gap:1.5rem}.question-set-card{background:var(--bg-secondary);padding:1.5rem;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid var(--border-color);transition:box-shadow .2s}.question-set-card:hover{box-shadow:0 4px 6px #0000001a}.card-header{margin-bottom:1rem}.card-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.card-title{font-size:1.25rem;font-weight:600;color:var(--text-primary);flex:1}.card-badges{display:flex;gap:.5rem;flex-wrap:wrap}.card-description{color:var(--text-secondary);margin-bottom:1rem;line-height:1.6}.card-meta{display:flex;gap:1.5rem;flex-wrap:wrap;margin-bottom:1rem;padding:.75rem 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}.meta-item{font-size:.9rem;color:var(--text-secondary)}.card-actions{display:flex;gap:.75rem;flex-wrap:wrap}.btn-sm{padding:.5rem 1rem;font-size:.9rem}.badge-warning{background:#fef3c7;color:#92400e}@media (max-width: 768px){.admin-header{flex-direction:column;gap:1rem}.card-title-section,.card-actions{flex-direction:column}.card-actions .btn{width:100%}}.form-container{max-width:800px;margin:2rem auto;padding:2rem}.form-header{margin-bottom:2rem}.form-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.form-subtitle{font-size:1.1rem;color:var(--text-secondary)}.question-set-form{background:var(--bg-secondary);padding:2rem;border-radius:12px;box-shadow:0 1px 3px #0000001a}.form-group{margin-bottom:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.form-label{display:block;font-weight:600;margin-bottom:.5rem;color:var(--text-primary);font-size:.95rem}.form-label.required:after{content:" *";color:var(--error-color)}.form-input,.form-textarea,.form-select{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:6px;font-size:1rem;font-family:inherit;transition:border-color .2s,box-shadow .2s}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #3b82f61a}.form-textarea{resize:vertical;min-height:100px}.form-select{cursor:pointer;background-color:#fff}.form-help{margin-top:.5rem;font-size:.875rem;color:var(--text-secondary)}.checkbox-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-size:1rem}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border-color)}.alert{padding:1rem;border-radius:6px;margin-bottom:1.5rem;font-weight:500}.alert-error{background-color:#fee2e2;color:#991b1b;border-left:4px solid var(--error-color)}.alert-success{background-color:#d1fae5;color:#065f46;border-left:4px solid var(--success-color)}@media (max-width: 768px){.form-container{padding:1rem}.question-set-form{padding:1.5rem}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions button{width:100%}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:.5rem;max-width:800px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a}.modal-header{padding:1.5rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:1.5rem;color:var(--text-primary)}.close-button{background:none;border:none;font-size:2rem;color:var(--text-secondary);cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;transition:all .2s}.close-button:hover{background-color:var(--bg-secondary);color:var(--text-primary)}.modal-body{padding:1.5rem;overflow-y:auto;flex:1}.help-section{margin-bottom:1.5rem;padding:1rem;background-color:#f0f9ff;border-radius:.5rem;border-left:4px solid var(--primary-color)}.help-section h4{margin:0 0 .75rem;color:var(--primary-color);font-size:1rem}.code-block{background-color:#1e293b;color:#e2e8f0;padding:1rem;border-radius:.375rem;overflow-x:auto;font-family:Courier New,monospace;font-size:.875rem;line-height:1.5;margin:.5rem 0}.help-text{margin:1rem 0 .5rem;font-weight:600;color:var(--text-primary)}.help-list{margin:0;padding-left:1.5rem}.help-list li{margin:.5rem 0;color:var(--text-secondary);line-height:1.6}.help-list code{background-color:#e0e7ff;color:#4338ca;padding:.125rem .375rem;border-radius:.25rem;font-size:.875rem}.help-note{margin:1rem 0 0;padding:.75rem;background-color:#fef3c7;border-radius:.375rem;color:#92400e;font-size:.875rem;line-height:1.6}.help-note code{background-color:#fde68a;color:#78350f;padding:.125rem .375rem;border-radius:.25rem;font-size:.8125rem;font-weight:600}.json-input-section{margin-bottom:1rem}.json-input-section label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-primary)}.json-textarea{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:.375rem;font-family:Courier New,monospace;font-size:.875rem;line-height:1.5;resize:vertical;transition:border-color .2s}.json-textarea:focus{outline:none;border-color:var(--primary-color)}.error-message{padding:1rem;background-color:#fee2e2;border-left:4px solid var(--error-color);border-radius:.375rem;color:#991b1b;margin-top:1rem}.error-message strong{display:block;margin-bottom:.25rem}.modal-footer{padding:1.5rem;border-top:1px solid var(--border-color);display:flex;gap:1rem;justify-content:flex-end}@media (max-width: 768px){.modal-content{max-width:100%;max-height:100vh;border-radius:0}.modal-header,.modal-body,.modal-footer{padding:1rem}.code-block{font-size:.75rem}.json-textarea{font-size:.8125rem}}.page-header{margin-bottom:2rem}.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:var(--text-secondary);margin-bottom:1rem}.breadcrumb a{color:var(--primary-color);text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.page-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.header-meta{display:flex;align-items:center;gap:1rem}.meta-text{color:var(--text-secondary);font-size:1rem}.header-actions{display:flex;gap:1rem}.empty-state{text-align:center;padding:4rem 2rem;background:var(--bg-secondary);border-radius:12px;border:2px dashed var(--border-color)}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{font-size:1.5rem;font-weight:600;margin-bottom:.5rem;color:var(--text-primary)}.empty-state p{color:var(--text-secondary);margin-bottom:2rem}.empty-actions{display:flex;gap:1rem;justify-content:center}.questions-list{margin-bottom:2rem}.list-header{margin-bottom:1.5rem}.list-header h2{font-size:1.5rem;font-weight:600;color:var(--text-primary)}.question-card{display:grid;grid-template-columns:60px 1fr auto;gap:1.5rem;padding:1.5rem;background:var(--bg-secondary);border-radius:12px;border:1px solid var(--border-color);margin-bottom:1rem;transition:box-shadow .2s}.question-card:hover{box-shadow:0 4px 6px #0000001a}.question-number{font-size:1.5rem;font-weight:700;color:var(--primary-color);text-align:center;padding-top:.5rem}.question-content{flex:1}.question-passage{background:#f3f4f6;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.9rem;color:var(--text-secondary)}.question-text{font-size:1.1rem;color:var(--text-primary);line-height:1.6}.question-options{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.option{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:6px;font-size:.95rem}.option.correct{background:#d1fae5;border-color:var(--success-color)}.option-letter{font-weight:600;color:var(--text-secondary)}.correct-badge{margin-left:auto;color:var(--success-color);font-weight:600;font-size:.9rem}.question-explanation{background:#fef3c7;padding:.75rem;border-radius:6px;font-size:.9rem;color:var(--text-primary);border-left:3px solid var(--warning-color)}.question-actions{display:flex;flex-direction:column;gap:.5rem;align-items:flex-end}.page-footer{display:flex;justify-content:space-between;align-items:center;padding-top:2rem;border-top:1px solid var(--border-color)}@media (max-width: 768px){.header-content{flex-direction:column}.header-actions{width:100%;flex-direction:column}.header-actions .btn,.header-actions label{width:100%}.question-card{grid-template-columns:1fr;gap:1rem}.question-number{text-align:left}.question-actions{flex-direction:row;justify-content:flex-start}.page-footer{flex-direction:column;gap:1rem}.page-footer .btn{width:100%}.empty-actions{flex-direction:column}}.question-form{background:var(--bg-secondary);padding:2rem;border-radius:12px;box-shadow:0 1px 3px #0000001a}.question-set-info{display:flex;align-items:center;gap:1rem;margin-top:.5rem;padding:1rem;background:var(--bg-primary);border-radius:8px}.set-title{font-size:1rem;font-weight:500;color:var(--text-secondary)}.options-section{margin:2rem 0;padding:1.5rem;background:var(--bg-primary);border-radius:8px;border:1px solid var(--border-color)}.section-title{font-size:1.25rem;font-weight:600;margin-bottom:1.5rem;color:var(--text-primary)}.badge-purple{background:#9c27b0;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;font-weight:600}.question-type-selector{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:.5rem}.type-button{display:flex;align-items:center;gap:1rem;padding:1rem;border:2px solid #e5e7eb;border-radius:.5rem;background:#fff;cursor:pointer;transition:all .2s;text-align:left}.type-button:hover{border-color:#6366f1;background:#f9fafb}.type-button.active{border-color:#6366f1;background:#eef2ff}.type-icon{font-size:1.5rem}.type-button strong{display:block;font-size:.9375rem;color:#1f2937;margin-bottom:.25rem}.type-button small{display:block;font-size:.8125rem;color:#6b7280}.code-input{font-family:Consolas,Monaco,Courier New,monospace;font-size:.875rem;background:#1e293b;color:#e2e8f0;border:1px solid #334155}.code-input::placeholder{color:#94a3b8}.multiple-choice-selector{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.multiple-choice-option{display:flex;align-items:center;gap:.75rem;padding:.75rem;border:2px solid #e5e7eb;border-radius:.375rem;background:#fff;cursor:pointer;transition:all .15s}.multiple-choice-option:hover{border-color:#6366f1;background:#f9fafb}.multiple-choice-option input[type=checkbox]{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:#6366f1}.checkbox-label{flex:1;font-size:.9375rem;color:#1f2937}.checkbox-label strong{color:#6366f1;margin-right:.5rem}.form-help{font-size:.8125rem;color:#6b7280;margin-top:.5rem;font-style:italic}.quiz-config-container{max-width:1000px;margin:2rem auto}.quiz-config-card{padding:2rem}.config-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.config-subtitle{color:var(--text-secondary);margin-bottom:2rem}.config-options{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:2rem}.config-section{border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;background:var(--bg-secondary)}.config-section-title{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.config-section-description{color:var(--text-secondary);font-size:.9rem;margin-top:.5rem;font-style:italic}.config-option{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1rem}.config-option:last-child{margin-bottom:0}.config-option select{width:100%;margin-top:.5rem}.config-select{padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;background:#fff;cursor:pointer;transition:border-color .2s}.config-select:focus{outline:none;border-color:var(--primary-color)}.config-help{display:block;color:var(--text-secondary);font-size:.85rem;margin-top:.5rem;padding-left:.5rem;border-left:3px solid var(--primary-color)}.config-option{display:flex;gap:1rem;align-items:flex-start}.config-option input[type=checkbox]{margin-top:.25rem;width:1.25rem;height:1.25rem;cursor:pointer}.config-option label{flex:1;cursor:pointer;display:flex;flex-direction:column;gap:.25rem}.config-option label strong{color:var(--text-primary);font-weight:600}.config-option label span{color:var(--text-secondary);font-size:.875rem}.config-actions{display:flex;gap:1rem;justify-content:flex-end}@media (max-width: 768px){.quiz-config-container{margin:1rem .5rem}.quiz-config-card{padding:1.5rem}.config-title{font-size:1.5rem}.config-subtitle{font-size:.875rem;margin-bottom:1.5rem}.config-options{grid-template-columns:1fr;gap:1.25rem}.config-option{gap:.75rem}.config-option input[type=checkbox]{width:1.125rem;height:1.125rem}.config-option label strong{font-size:.9375rem}.config-option label span{font-size:.8125rem}.input-group{padding-left:0}.input-group label{font-size:.875rem}.input-group input{font-size:.9375rem;padding:.625rem}.config-actions{flex-direction:column-reverse;gap:.75rem}.config-actions button{width:100%}}@media (max-width: 480px){.quiz-config-container{margin:.75rem .25rem}.quiz-config-card{padding:1.25rem}.config-title{font-size:1.25rem}.config-subtitle{font-size:.8125rem}.config-options{grid-template-columns:1fr;gap:1rem}.config-option input[type=checkbox]{width:1rem;height:1rem}.config-option label strong{font-size:.875rem}.config-option label span{font-size:.75rem}}.toeic-quiz-container{height:100vh;display:flex;flex-direction:column;background-color:#f5f5f5;overflow:hidden;position:fixed;top:0;left:0;right:0;bottom:0}.toeic-main-header{background:linear-gradient(135deg,#1e3a8a,#2563eb);padding:.75rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #00000026;flex-shrink:0;z-index:100}.main-header-title{color:#fff;font-size:1.25rem;font-weight:700;margin:0;letter-spacing:.5px;text-shadow:0 1px 2px rgba(0,0,0,.2)}.main-header-controls{display:flex;align-items:center;gap:1rem}.btn-submit{background-color:#f97316;color:#fff;border:none;padding:.625rem 1.5rem;border-radius:.375rem;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a}.btn-submit:hover{background-color:#ea580c;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.timer-display{background-color:#60a5fa;color:#fff;padding:.625rem 1.25rem;border-radius:.375rem;font-weight:600;font-size:1rem;font-family:Courier New,monospace;min-width:110px;text-align:center;box-shadow:0 2px 4px #0000001a}.user-display{color:#fff;font-weight:500;font-size:.95rem;padding:.5rem 1rem;background-color:#ffffff1a;border-radius:.375rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.settings-dropdown{position:relative}.btn-settings{background-color:#3b82f6;color:#fff;border:none;padding:.5rem;border-radius:.375rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:40px;height:40px}.btn-settings:hover{background-color:#2563eb;transform:rotate(45deg)}.settings-menu{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border-radius:.5rem;box-shadow:0 4px 12px #00000026;padding:.5rem 0;min-width:220px;z-index:200;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.settings-header{padding:.75rem 1rem;font-weight:600;font-size:.9rem;color:#1e40af;border-bottom:1px solid #e5e7eb}.settings-option{padding:.5rem 1rem;transition:background-color .2s}.settings-option:hover{background-color:#f3f4f6}.settings-option label{display:flex;align-items:center;gap:.75rem;cursor:pointer;width:100%}.settings-option input[type=radio]{width:18px;height:18px;cursor:pointer;accent-color:#3b82f6}.settings-option span{font-size:.9rem;color:#374151;flex:1}.btn-grid{background-color:#3b82f6;color:#fff;border:none;padding:.5rem;border-radius:.375rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:40px;height:40px}.btn-grid:hover{background-color:#2563eb;transform:scale(1.05)}.toeic-sub-header{background-color:#fff;padding:.875rem 2rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;flex-shrink:0}.navigation-controls{display:flex;align-items:center;gap:1.5rem}.btn-nav{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;background-color:#1e40af;color:#fff;border:none;border-radius:.375rem;font-weight:500;font-size:.9rem;cursor:pointer;transition:all .2s}.btn-nav:hover:not(:disabled){background-color:#1e3a8a;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.btn-nav:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.6}.current-part{font-weight:700;font-size:1.1rem;color:#1e40af;padding:.5rem 1rem;background-color:#eff6ff;border-radius:.375rem;border:2px solid #3b82f6}.progress-indicator{background-color:#f97316;color:#fff;padding:.625rem 1.5rem;border-radius:.375rem;font-weight:700;font-size:1.1rem;box-shadow:0 2px 4px #0000001a}.toeic-content{flex:1;display:flex;gap:0;overflow:hidden;min-height:0;position:relative}.question-navigation-sidebar{position:fixed;left:0;top:120px;bottom:0;width:320px;background-color:#fff;border-right:2px solid #e5e7eb;padding:0;overflow-y:auto;z-index:100;animation:slideInLeft .3s ease-out;box-shadow:4px 0 12px #0000001a}@keyframes slideInLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}.sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:2px solid #3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe);position:sticky;top:0;z-index:10}.sidebar-header h4{font-size:1.05rem;font-weight:700;color:#1e40af;margin:0}.btn-close-sidebar{background:none;border:none;color:#6b7280;font-size:1.5rem;cursor:pointer;padding:.25rem .5rem;border-radius:.375rem;transition:all .2s;line-height:1;width:32px;height:32px;display:flex;justify-self:right;align-items:center;justify-content:center}.btn-close-sidebar:hover{background-color:#fee2e2;color:#dc2626;transform:scale(1.1)}.nav-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.625rem;padding:.5rem}.nav-button{width:100%;height:42px;border:2px solid #d1d5db;border-radius:.5rem;background-color:#fff;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s;color:#374151}.nav-button:hover{border-color:#3b82f6;background-color:#eff6ff;transform:translateY(-2px);box-shadow:0 2px 4px #3b82f633}.nav-button.active{border-color:#2563eb;background-color:#2563eb;color:#fff;box-shadow:0 2px 6px #2563eb4d}.nav-button.answered{background-color:#d1fae5;border-color:#10b981;color:#065f46}.nav-button.active.answered{background-color:#10b981;border-color:#059669;color:#fff}.toeic-main-content{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:0;overflow:hidden;min-height:0;width:100%}.toeic-main-content>*{min-width:0}.toeic-passage{background-color:#fff;padding:2rem;border-right:2px solid #e5e7eb;overflow-y:auto;display:flex;flex-direction:column;min-height:0;min-width:0;grid-column:1}.toeic-passage::-webkit-scrollbar{width:8px}.toeic-passage::-webkit-scrollbar-track{background:#f1f5f9}.toeic-passage::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.toeic-passage::-webkit-scrollbar-thumb:hover{background:#94a3b8}.passage-title{font-size:1.1rem;font-weight:700;margin-bottom:1.25rem;color:#1e40af;flex-shrink:0;padding-bottom:.75rem;border-bottom:2px solid #3b82f6}.passage-text{line-height:1.8;color:#1f2937;font-size:1rem}.toeic-question{display:flex;flex-direction:column;overflow:hidden;background-color:#fff;position:relative;min-width:0;grid-column:2}.toeic-question-full{grid-column:1 / -1;max-width:100%;margin:0 auto;width:100%;padding:0 2rem}.explanation-box{padding:1rem .5rem;border-radius:.5rem;margin-top:1.25rem;flex-shrink:0;box-shadow:0 1px 3px #0000000d}.explanation-title{font-weight:700;font-size:.95rem;margin-bottom:.5rem;color:#92400e}.explanation-text{font-size:.95rem;line-height:1.6;color:#78350f}.explanation-text strong,.section-content strong{font-weight:700;color:#033af0;border-radius:.25rem;white-space:nowrap}@media (max-width: 1200px){.toeic-main-content{grid-template-columns:1fr}.toeic-passage{display:none}.toeic-question{grid-column:1}}@media (max-width: 1024px){.question-navigation-sidebar{width:280px}.nav-grid{grid-template-columns:repeat(4,1fr)}.toeic-sub-header{padding:.75rem 1rem}.btn-nav{padding:.4rem 1rem;font-size:.85rem}}@media (max-width: 768px){.question-navigation-sidebar{width:100%;top:110px}.nav-grid{grid-template-columns:repeat(5,1fr);padding:1rem}.main-header-title{font-size:1rem}.main-header-controls{gap:.5rem}.timer-display{font-size:.85rem;padding:.5rem 1rem;min-width:90px}.user-display{display:none}.btn-submit{padding:.5rem 1rem;font-size:.85rem}.navigation-controls{gap:.75rem}.current-part{font-size:.95rem;padding:.4rem .75rem}.progress-indicator{font-size:.95rem;padding:.5rem 1rem}}.question-content{flex:1;overflow-y:auto;padding:2rem 2.5rem;min-height:0}.question-content::-webkit-scrollbar{width:8px}.question-content::-webkit-scrollbar-track{background:#f1f5f9}.question-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.question-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.question-header-inline{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e5e7eb}.question-label{font-size:.95rem;font-weight:600;color:#374151}.btn-flag{background:none;border:none;color:#6b7280;cursor:pointer;padding:.375rem;border-radius:.375rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.btn-flag:hover{background-color:#fef3c7;color:#f59e0b;transform:scale(1.1)}.question-text{font-size:1.1rem;color:#111827;line-height:1.7;font-weight:500}.options-list{display:flex;flex-direction:column;gap:.5rem}.option-button{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-radius:.5rem;background-color:#fff;text-align:left;transition:all .2s;cursor:pointer;font-size:1rem;flex-shrink:0}.option-button.correct{border-color:#10b981;background-color:#d1fae5;box-shadow:0 0 0 3px #10b9811a}.option-button.incorrect{border-color:#ef4444;background-color:#fee2e2;box-shadow:0 0 0 3px #ef44441a}.option-button:disabled{cursor:not-allowed}.option-letter{flex-shrink:0;width:1rem;height:1rem;display:flex;align-items:center;justify-content:center;background-color:#f3f4f6;border-radius:50%;font-weight:700;font-size:.95rem;color:#374151;border:2px solid #d1d5db}.option-button.selected .option-letter{background-color:#3b82f6;color:#fff;border-color:#2563eb}.option-button.correct .option-letter{background-color:#10b981;color:#fff;border-color:#059669}.option-button.incorrect .option-letter{background-color:#ef4444;color:#fff;border-color:#dc2626}.option-text{flex:1;line-height:1.6;font-size:1rem;color:#1f2937}.check-icon,.cross-icon{flex-shrink:0;font-size:1.5rem;font-weight:700}.check-icon{color:#10b981}.cross-icon{color:#ef4444}.explanation-box{background-color:#fef3c7;border-radius:.5rem;margin-top:1.5rem;flex-shrink:0;box-shadow:0 2px 4px #0000000d}.explanation-title{font-weight:700;font-size:1.05rem;margin-bottom:1rem;color:#92400e;display:flex;align-items:center;gap:.5rem}.explanation-text{font-size:.95rem;line-height:1.7;color:#78350f;margin:0}.explanation-sections{display:flex;flex-direction:column;gap:1rem}.explanation-section{display:flex;gap:.75rem;padding:.875rem;border-radius:.5rem;background-color:#ffffff80}.explanation-section.section-main{background-color:#fff9;border-left:3px solid #fbbf24}.explanation-section.section-correct{background-color:#d1fae5;border-left:3px solid #10b981}.explanation-section.section-incorrect{background-color:#fee2e2;border-left:3px solid #ef4444}.explanation-section.section-translation{background-color:#dbeafe;border-left:3px solid #3b82f6}.section-icon{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:700;font-size:1rem}.section-correct .section-icon{background-color:#10b981;color:#fff}.section-incorrect .section-icon{background-color:#ef4444;color:#fff}.section-translation .section-icon{background-color:#3b82f6;color:#fff;font-size:.9rem}.section-content{flex:1;font-size:.95rem;line-height:1.6;color:#1f2937;white-space:pre-wrap}.school-quiz-container{height:100vh;display:flex;flex-direction:column;background-color:#f5f5f5;overflow:hidden;padding:0}.header-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.progress-info{flex:1;min-width:200px;display:flex;align-items:center;gap:.75rem}.progress-label{font-size:.875rem;font-weight:500;color:#374151;white-space:nowrap}.progress-bar-container{flex:1;height:.5rem;background-color:#e5e7eb;border-radius:9999px;overflow:hidden;min-width:100px}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);transition:width .3s ease;border-radius:9999px}.progress-percentage{font-size:.875rem;font-weight:600;color:#10b981;white-space:nowrap;min-width:45px;text-align:right}.header-actions{display:flex;gap:.5rem;align-items:center}.btn-sm{padding:.5rem 1rem;font-size:.875rem;border-radius:.375rem;border:none;cursor:pointer;font-weight:500;transition:all .15s}.btn-secondary{background-color:#f3f4f6;color:#374151}.btn-primary{background-color:#6366f1;color:#fff}.btn-primary:hover{background-color:#4f46e5}.school-quiz-card{background-color:#fff;border:1px solid #e5e7eb;padding:2rem 3rem;max-width:1200px;width:100%;margin:1rem auto;flex:1;display:grid;grid-template-rows:auto auto 1fr auto;gap:.5rem;overflow:hidden}.question-number{color:#6b7280;font-weight:400;font-size:.875rem;border-bottom:1px solid #e5e7eb;padding-bottom:.5rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.retry-badge{color:#dc2626;font-weight:500;font-size:.75rem;background-color:#fee2e2;padding:.125rem .5rem;border-radius:.25rem}.question-type-badge{color:#2563eb;font-weight:500;font-size:.75rem;background-color:#dbeafe;padding:.125rem .5rem;border-radius:.25rem}.question-text{font-size:clamp(.875rem,1.125rem,1.25rem);font-weight:400;color:#1f2937;line-height:1.5;overflow-y:auto;display:flex;align-items:flex-start;padding-right:.5rem;max-height:200px}.code-block-container{background-color:#f8f9fa;border-radius:.5rem;padding:1rem;overflow-x:auto;border:1px solid #dee2e6;margin:1rem 0}.code-block-container pre{margin:0;font-family:Consolas,Monaco,Courier New,monospace;font-size:.875rem;line-height:1.6}.code-block-container code{color:#24292e;font-family:inherit}.code-block-container .keyword{color:#d73a49;font-weight:600}.code-block-container .string{color:#032f62}.code-block-container .comment{color:#6a737d;font-style:italic}.code-block-container .function{color:#6f42c1;font-weight:600}.code-block-container .number{color:#005cc5}.options-list{display:flex;flex-direction:column;gap:.5rem;overflow-y:auto;padding-right:.5rem}.option-button{display:flex;align-items:center;gap:.875rem;border:none;padding:.875rem 1rem;border-radius:.375rem;background-color:#fff;text-align:left;cursor:pointer;font-size:.9375rem;flex-shrink:0;transition:all .15s}.option-button.correct{background-color:#d1fae5}.option-button.incorrect{background-color:#fee2e2}.option-button:disabled{cursor:not-allowed;opacity:.7}.option-circle{flex-shrink:0;width:1.25rem;height:1.25rem;border-radius:50%;border:2px solid #d1d5db;background-color:#fff;transition:all .15s;box-shadow:0 0 #07f0}.option-button.selected .option-circle{border-color:#07f;background-color:#07f;box-shadow:0 0 0 3px #0077ff78}.option-button.correct .option-circle{border-color:#10b981;background-color:#10b981;box-shadow:0 0 0 3px #10b98133}.option-button.incorrect .option-circle{border-color:#ef4444;background-color:#ef4444;box-shadow:0 0 0 3px #ef444433}.option-checkbox{flex-shrink:0;width:1.25rem;height:1.25rem;border-radius:.25rem;border:2px solid #d1d5db;background-color:#fff;transition:all .15s;position:relative;box-shadow:0 0 #6366f100}.option-button.selected .option-checkbox{border-color:#07f;background-color:#07f;box-shadow:0 0 0 3px #0077ff82}.option-button.selected .option-checkbox:after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:.875rem;font-weight:700}.option-button.correct .option-checkbox{border-color:#10b981;background-color:#10b981;box-shadow:0 0 0 3px #10b98133}.option-button.incorrect .option-checkbox{border-color:#ef4444;background-color:#ef4444;box-shadow:0 0 0 3px #ef444433}.option-text{flex:1;color:var(--text-primary)}.next-button-container{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem;height:70px}.next-button{padding:.625rem 1.5rem;font-size:.9375rem;font-weight:500;background-color:#6366f1;color:#fff;border:none;border-radius:.375rem;cursor:pointer;transition:background-color .15s}.next-button:hover{background-color:#4f46e5}.keyboard-hint{font-size:.75rem;color:#6b7280;display:flex;align-items:center;gap:.25rem}kbd{background-color:#f3f4f6;border:1px solid #d1d5db;border-radius:.25rem;padding:.125rem .375rem;font-family:monospace;font-size:.75rem;font-weight:600;color:#374151;box-shadow:0 1px 2px #0000000d}@media (max-width: 768px){.school-quiz-header{padding:.625rem 1rem}.header-content{flex-direction:column;align-items:stretch;gap:.75rem}.progress-info{min-width:unset;gap:.5rem}.progress-label{font-size:.8125rem}.progress-percentage{font-size:.8125rem;min-width:40px}.header-actions{justify-content:flex-end}.btn-sm{padding:.5rem .875rem;font-size:.8125rem}.school-quiz-card{padding:1rem 1.25rem;margin:.5rem;grid-template-rows:auto auto 1fr auto;gap:1rem}.question-number{font-size:.8125rem}.retry-badge{font-size:.6875rem;padding:.1rem .375rem}.question-text{font-size:clamp(.8125rem,.9375rem,1rem);line-height:1.4;max-height:150px}.options-list{gap:.625rem}.option-button{font-size:.875rem;padding:.75rem;gap:.625rem}.option-circle{width:1.125rem;height:1.125rem}.next-button-container{height:60px;align-items:center}.next-button{padding:.5rem 1.25rem;font-size:.875rem;width:100%}.keyboard-hint{font-size:.6875rem;text-align:center}kbd{font-size:.6875rem;padding:.1rem .3rem}}@media (max-width: 480px){.school-quiz-header{padding:.5rem .75rem}.progress-info{gap:.375rem}.progress-label{font-size:.75rem}.progress-bar-container{height:.375rem}.progress-percentage{font-size:.75rem;min-width:35px}.btn-sm{padding:.4rem .75rem;font-size:.75rem}.school-quiz-card{padding:.875rem 1rem;margin:.25rem;grid-template-rows:auto auto 1fr auto;gap:.875rem}.question-number{font-size:.75rem}.retry-badge{font-size:.625rem;display:block;margin-left:0;margin-top:.25rem;width:fit-content}.question-text{font-size:clamp(.75rem,.875rem,.9375rem);max-height:120px}.option-button{font-size:.8125rem;padding:.625rem;gap:.5rem}.option-circle{width:1rem;height:1rem;border-width:1.5px}.next-button{padding:.625rem 1rem;font-size:.8125rem}}.results-container{min-height:100vh;display:flex;flex-direction:column;background-color:#f5f5f5}.results-header{background-color:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem;position:sticky;top:0}.results-actions{display:flex;gap:1rem;max-width:1400px;margin:0 auto}.results-content{display:flex;flex:1;max-width:1400px;width:100%;margin:0 auto;padding:2rem 1rem;gap:2rem}.sidebar-container{position:fixed;left:0;top:30px;transition:transform .3s ease;z-index:50;height:fit-content;width:280px}.question-navigation-sidebar{top:80px;max-width:280px;background-color:#fff;border:1px solid #e5e7eb;border-left:none;border-radius:0 .5rem .5rem 0;height:fit-content;max-height:calc(100vh - 120px);overflow-x:hidden;z-index:50}.sidebar-container.collapsed{transform:translate(-280px)}.sidebar-container.expanded{transform:translate(0)}.sidebar-tab{position:absolute;right:-35px;top:120px;transform:translateY(-50%);width:40px;height:80px;background-color:#fff;border:1px solid #e5e7eb;border-left:none;border-radius:0 .5rem .5rem 0;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.5rem;box-shadow:2px 0 4px #0000000d}.sidebar-content{padding:1rem;overflow-y:auto;max-height:calc(100vh - 120px)}.question-navigation-sidebar h4{font-size:1rem;font-weight:600;margin-bottom:1rem;color:var(--text-primary)}.nav-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem}.nav-button{aspect-ratio:1;border:2px solid #d1d5db;border-radius:.375rem;background-color:#fff;color:var(--text-primary);font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s}.nav-button.correct{background-color:#d1fae5;border-color:#10b981;color:#059669}.nav-button.incorrect{background-color:#fee2e2;border-color:#ef4444;color:#dc2626}.results-main{flex:1;min-width:0;margin-left:0;transition:margin-left .3s ease}.results-card{width:100%;text-align:center;padding:2rem;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem}.results-icon{font-size:4rem;margin-bottom:1rem}.results-title{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin-bottom:2rem}.score-display{display:flex;justify-content:center;margin-bottom:2.5rem}.score-circle{width:100px;height:100px;border-radius:50%;background-color:#6366f1;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #6366f133}.score-number{font-size:1.5rem;font-weight:700;color:#fff}.results-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2.5rem;padding:1rem 2rem;background-color:var(--bg-secondary);border-radius:.75rem}.stat-item{display:flex;flex-direction:column;gap:.5rem}.stat-label{color:var(--text-secondary);font-size:.875rem;font-weight:500}.stat-value{color:var(--text-primary);font-size:1.5rem;font-weight:600}.answers-review{text-align:left;margin-bottom:2.5rem;overflow-y:auto}.answers-review h3{font-size:1.25rem;font-weight:600;margin-bottom:1.5rem;text-align:center}.answer-item{padding:1.5rem;border-left:4px solid var(--border-color);margin-bottom:1.5rem;background-color:var(--bg-secondary);border-radius:.5rem}.answer-item.correct{border-left-color:#10b981}.answer-item.incorrect{border-left-color:#ef4444}.answer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}.answer-number{font-weight:600;font-size:1rem;color:var(--text-primary)}.answer-status{font-size:.875rem;font-weight:600;padding:.25rem .75rem;border-radius:.25rem}.answer-status.correct{color:#10b981;background-color:#d1fae5}.answer-status.incorrect{color:#ef4444;background-color:#fee2e2}.answer-passage{margin-bottom:1rem;padding:1rem;background-color:#f9fafb;border-radius:.375rem;border:1px solid #e5e7eb}.answer-passage strong{display:block;margin-bottom:.5rem;color:#6b7280;font-size:.875rem}.answer-passage p{color:var(--text-secondary);font-size:.9375rem;line-height:1.6;white-space:pre-wrap}.answer-question-text{color:var(--text-primary);font-size:1rem;line-height:1.6;margin-bottom:1rem;font-weight:500}.answer-options{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.answer-option{display:flex;align-items:center;gap:.75rem;padding:.875rem;border:1px solid #d1d5db;border-radius:.375rem;background-color:#fff;position:relative}.answer-option.correct-answer{border-color:#10b981;background-color:#d1fae5}.answer-option.wrong-answer{border-color:#ef4444;background-color:#fee2e2}.answer-option.user-correct{border-color:#10b981;background-color:#d1fae5}.option-label{font-weight:600;color:#6b7280;min-width:1.5rem}.option-text{flex:1;color:var(--text-primary);font-size:.9375rem}.correct-badge,.user-badge{font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:.25rem;white-space:nowrap}.correct-badge{color:#10b981;background-color:#ecfdf5}.user-badge{font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:.25rem;white-space:nowrap}.answer-option.user-correct .user-badge{color:#10b981;background-color:#ecfdf5}.answer-option.wrong-answer .user-badge{color:#ef4444;background-color:#fee2e2}.answer-explanation{margin-top:1rem;padding:1rem;background-color:#eff6ff;border-radius:.375rem;border-left:3px solid #3b82f6}.answer-explanation strong{display:block;margin-bottom:.5rem;color:#3b82f6;font-size:.875rem}.answer-explanation p{color:var(--text-secondary);font-size:.9375rem;line-height:1.6}.answer-question{color:var(--text-secondary);font-size:.875rem;line-height:1.5}.results-actions{display:flex;gap:1rem;justify-content:center}@media (max-width: 768px){.results-header{padding:.75rem 1rem}.results-content{flex-direction:column;padding:1rem .75rem;gap:1rem}.sidebar-container{top:60px;width:250px}.sidebar-container.collapsed{transform:translate(-250px)}.sidebar-tab{right:-40px;top:80px;width:40px;height:70px;font-size:1.25rem}.question-navigation-sidebar{max-width:250px;max-height:calc(100vh - 100px)}.sidebar-content{max-height:calc(100vh - 100px)}.nav-grid{grid-template-columns:repeat(4,1fr);gap:.5rem}.nav-button{font-size:.8125rem}.results-main{margin-left:0}.results-card{padding:1.5rem 1rem}.results-icon{font-size:3rem}.results-title{font-size:1.75rem;margin-bottom:1.5rem}.score-display{margin-bottom:2rem}.score-circle{width:140px;height:140px}.score-number{font-size:2.75rem}.results-stats{grid-template-columns:1fr;gap:1.25rem;padding:1.5rem;margin-bottom:2rem}.stat-label{font-size:.8125rem}.stat-value{font-size:1.375rem}.answers-review{max-height:400px;margin-bottom:2rem}.answers-review h3{font-size:1.125rem}.answer-item{padding:1.25rem;margin-bottom:1.25rem}.answer-header{flex-direction:column;align-items:flex-start;gap:.5rem}.answer-number{font-size:.9375rem}.answer-status{font-size:.8125rem}.answer-passage{padding:.875rem}.answer-passage p{font-size:.875rem}.answer-question-text{font-size:.9375rem}.answer-option{padding:.75rem;gap:.625rem}.option-label{min-width:1.25rem;font-size:.875rem}.option-text{font-size:.875rem}.correct-badge,.user-badge{font-size:.6875rem;padding:.2rem .4rem}.answer-explanation{padding:.875rem}.answer-explanation p{font-size:.875rem}.answer-question{font-size:.8125rem}.results-actions{flex-direction:column-reverse;gap:.75rem}.results-actions button{width:100%}}@media (max-width: 480px){.results-header{padding:.625rem .75rem}.results-content{padding:.75rem .5rem}.question-navigation-sidebar{padding:1rem}.question-navigation-sidebar h4{font-size:.875rem}.nav-grid{grid-template-columns:repeat(6,1fr);gap:.375rem}.nav-button{font-size:.75rem}.results-card{padding:1.25rem .875rem}.results-icon{font-size:2.5rem;margin-bottom:.75rem}.results-title{font-size:1.5rem;margin-bottom:1.25rem}.score-display{margin-bottom:1.5rem}.score-circle{width:120px;height:120px}.score-number{font-size:2.25rem}.results-stats{padding:1.25rem;gap:1rem;margin-bottom:1.5rem}.stat-label{font-size:.75rem}.stat-value{font-size:1.25rem}.answers-review h3{font-size:1rem}.answer-item{padding:1rem;margin-bottom:1rem}.answer-number{font-size:.875rem}.answer-status{font-size:.75rem}.answer-passage{padding:.75rem}.answer-passage strong{font-size:.75rem}.answer-passage p{font-size:.8125rem}.answer-question-text{font-size:.875rem}.answer-options{gap:.625rem}.answer-option{padding:.625rem;gap:.5rem;flex-wrap:wrap}.option-label{min-width:1rem;font-size:.8125rem}.option-text{font-size:.8125rem}.correct-badge,.user-badge{font-size:.625rem;padding:.15rem .35rem}.answer-explanation{padding:.75rem}.answer-explanation strong{font-size:.75rem}.answer-explanation p{font-size:.8125rem}.answer-question{font-size:.75rem}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #2563eb;--primary-hover: #1d4ed8;--success-color: #10b981;--error-color: #ef4444;--warning-color: #f59e0b;--text-primary: #1f2937;--text-secondary: #6b7280;--bg-primary: #ffffff;--bg-secondary: #f9fafb;--border-color: #e5e7eb;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1)}body{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;color:var(--text-primary);background-color:var(--bg-secondary);line-height:1.6;overflow-x:hidden}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}button{font-family:inherit;cursor:pointer}input,textarea,select{font-family:inherit}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-size:1rem;font-weight:500;transition:all .2s;display:inline-flex;align-items:center;gap:.5rem;justify-content:center}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover{background-color:var(--primary-hover)}.btn-secondary{background-color:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover{background-color:#e5e7eb}.btn-success{background-color:var(--success-color);color:#fff}.btn-error{background-color:var(--error-color);color:#fff}.card{background-color:var(--bg-primary);border-radius:.75rem;padding:1.5rem;box-shadow:var(--shadow-md);border:1px solid var(--border-color)}.input-group{margin-bottom:1rem}.input-group label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--text-primary)}.input-group input,.input-group textarea,.input-group select{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:.5rem;font-size:1rem;transition:border-color .2s}.input-group input:focus,.input-group textarea:focus,.input-group select:focus{outline:none;border-color:var(--primary-color)}.error-message{color:var(--error-color);font-size:.875rem;margin-top:.25rem}.success-message{color:var(--success-color);font-size:.875rem;margin-top:.25rem}.spinner{border:3px solid var(--border-color);border-top-color:var(--primary-color);border-radius:50%;width:2rem;height:2rem;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.875rem;font-weight:500}.badge-primary{background-color:#dbeafe;color:var(--primary-color)}.badge-success{background-color:#d1fae5;color:#065f46}.badge-warning{background-color:#fef3c7;color:#92400e}.badge-info{background-color:#e0e7ff;color:#4338ca}.badge-error{background-color:#fee2e2;color:#991b1b}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background-color:var(--bg-primary);border-radius:.75rem;padding:2rem;max-width:900px;width:100%;max-height:90vh;overflow-y:auto}@media (max-width: 768px){.btn{padding:.625rem 1.25rem;font-size:.875rem}}
