@import"https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap";:root{--primary: #2C71B5;--secondary: #1f61ad;--primary-light: #61a4e7;--accent: #06b6d4;--background: #f8fafc;--surface: #ffffff;--surface-lighter: #f1f5f9;--text-primary: #151e33;--text-secondary: #475569;--secondary-input: #ffffff;--input-border: #e2e8f0;--error: #ef4444;--success: #10b981;--warning: #f59e0b;--border: #e2e8f0;--med-border: #e2e8f0;--sidebar-bg: #ffffff;--sidebar-even: #E5E7EB;--toggle-active: #2C71B5;--toggle: #e2e8f0;--toggle-text: #ffffff;--test-bg: #F2F5FC;--primary-btn: #2C71B5;--text-theme: #2c71b5;--med-muted: #6b7280;--med-mute: #6b7280;--setting-bg: #f2f5fc;--setting-panel: #ffffff;--tab-hover: #f3f4f6}[data-theme=dark]{--neutral-50: #fafafa;--neutral-100: #f5f5f5;--neutral-200: #e5e5e5;--neutral-300: #d4d4d4;--neutral-400: #a3a3a3;--neutral-500: #737373;--neutral-600: #525252;--neutral-700: #404040;--neutral-800: #262626;--neutral-900: #171717;--neutral-950: #0a0a0a}[data-theme=dark]{--primary: #171717;--secondary: #262626;--primary-light: #A1A1AA;--background: #0a0a0a;--surface: #171717;--surface-lighter: #525252;--text-primary: #f8fafc;--text-secondary: #bebebe;--secondary-input: #262626;--input-border: #525252;--border: #262626;--side-border: #404040;--med-border: #283447;--sidebar-bg: #3F3F46;--sidebar-even: #27272A;--toggle-active: #e2e8f0;--toggle: #525252;--toggle-text: #151e33;--test-bg: #18181B;--primary-btn: #404040;--text-theme: #f8fafc;--med-muted: #e5e7eb;--med-mute: #404040;--setting-bg: #f5f5f5;--setting-panel: #ffffff;--tab-hover: #f3f4f6}[data-theme=warm]{--primary: #6d533b;--secondary: #5F4938;--primary-light: #876C47;--background: #f4ecd8;--surface: #fffaf0;--surface-lighter: #f1e7d0;--text-primary: #151e33;--text-secondary: #475569;--border: #e7d7b5;--med-border: #e7d7b5;--sidebar-bg: #FBF0DA;--sidebar-even: #2e211a1a;--test-bg: #FBF0DA;--primary-btn: #5F4938;--toggle-active: #6d533b;--text-theme: #5f4938;--med-muted: #6d533b;--med-mute: #6d533b;--setting-bg: #eae6d7;--setting-panel: #f7f5ef;--secondary-input: #FBF0DA;--tab-hover: #eae6d7;--input-border: #bfb185}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Plus Jakarta Sans,sans-serif;background-color:var(--background);color:var(--text-primary);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}h1,h2,h3,h4,h5,h6{font-family:Outfit,sans-serif;font-weight:700}a{color:#61a4e7;cursor:pointer}.simple-card{background:#87b5ff4d;border:1px solid var(--border);border-radius:12px}.secondary-text{color:var(--text-secondary)}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border:none;font-family:inherit;gap:.5rem}.btn-primary{background:linear-gradient(135deg,var(--secondary),var(--secondary));color:#fff}.btn-primary:hover{background:var(--secondary)}.btn-outline{background:transparent;border:1px solid var(--border);color:var(--text-primary)}.btn-outline:hover{background:var(--surface-lighter);border-color:var(--primary)}.form-group{margin-bottom:1.5rem}.nowrap{white-space:nowrap}.form-group label{display:block;margin-bottom:.5rem;color:var(--text-secondary);font-size:.875rem;font-weight:500}.input-control{width:100%;background:var(--surface);border:1px solid var(--input-border);border-radius:6px;padding:.75rem 1rem;color:var(--text-primary);font-family:inherit;font-size:1rem;transition:all .3s ease}.input-control:focus{outline:none;border-color:var(--toggle-active);box-shadow:0 0 0 4px var(--primary-glow)}.justify-between{display:flex;justify-content:space-between;align-items:flex-end}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--secondary)}::-webkit-scrollbar-thumb{background:#0003;border-radius:10px}.theme-question-color{color:var(--primary)}.app-container{display:flex;min-height:100vh;background:var(--background)}.sidebar{width:260px;height:100vh;background-color:var(--primary);border-right:1px solid var(--side-border);position:sticky;top:0;z-index:50;display:flex;flex-direction:column;justify-content:space-between}.nav-container{padding:1rem;display:flex;flex-direction:column;height:calc(80vh - 80px)}.logo-section{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:0rem;padding:.7rem;background-color:var(--secondary);color:#ffffff81}.logo-icon{width:32px;height:32px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;color:#fff}.logo-text{font-size:1.3rem;font-weight:700;color:#fff}.logo-text span{color:#fff}.nav-menu{flex:1;display:flex;flex-direction:column;gap:8px}.user-profile-mini{display:flex;align-items:center;text-align:center;gap:12px;margin-top:10px;padding:.75rem;background:var(--secondary)}.avatar{width:32px;height:32px;background:var(--primary);border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.75rem;color:#fff}.user-info{flex:1;overflow:hidden}.user-name{margin:0;font-size:1.1rem;color:#fff;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{margin:0;font-size:.85rem;color:#fff}.main-content{flex:1;background:var(--background);position:relative}.content-area{padding:1rem 2rem;overflow-y:auto}.search-bar{display:flex;align-items:center;gap:12px;background:var(--surface);padding:.75rem 1.25rem;border-radius:6px;border:1px solid var(--border);width:100%;max-width:450px;transition:all .3s ease;color:var(--text-secondary)}.search-bar:focus-within{border-color:var(--primary);box-shadow:0 0 0 4px #4f46e51a}.flex{display:flex}.search-bar input{background:transparent;border:none;outline:none;color:var(--text-primary);width:100%;font-size:.9rem;font-family:inherit;font-weight:500}.search-bar input::placeholder{color:#64748b}.header-actions{display:flex;align-items:center;gap:12px}.icon-btn{width:40px;height:40px;background:var(--primary);border:1px solid var(--primary);border-radius:4px;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .2s cubic-bezier(.4,0,.2,1);cursor:pointer}.icon-btn:hover{opacity:.9}.challenge-btn{display:flex;align-items:center;gap:10px;background:var(--primary);color:#fff;padding:.75rem 1.25rem;border-radius:6px;font-weight:700;font-size:.875rem;border:none;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #4f46e51a}.challenge-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #4f46e559;background:#4338ca}.welcome-header h1{font-size:2.5rem;margin-bottom:.5rem;color:var(--text-primary)}.subtitle{color:var(--text-secondary);font-size:1.1rem;margin-bottom:0rem}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:1.5rem}.stat-card-new{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem}.stat-label-new{display:block;color:var(--text-secondary);font-size:.875rem;font-weight:500;margin-bottom:4px}.stat-main{display:flex;align-items:baseline;gap:8px}.stat-value-new{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.stat-sub-new{font-size:.875rem;color:var(--text-secondary)}.stat-icon-box{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center}.stat-icon-box.blue{background:#3b82f61a;color:#3b82f6}.stat-icon-box.purple{background:#8b5cf61a;color:#8b5cf6}.stat-icon-box.indigo{background:#4f46e51a;color:#4f46e5}.dashboard-header-new{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.welcome-section{display:flex;align-items:center;gap:1rem}.welcome-icon{width:48px;height:48px;background:var(--primary);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff}.dashboard-header-new h1{font-size:1.75rem;margin:0;color:var(--primary)}.header-date{background:var(--surface);border:1px solid var(--border);padding:.5rem 1rem;border-radius:8px;display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--text-secondary)}.top-stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:2rem}.mini-stat{display:flex;align-items:center;gap:1rem;padding:1.25rem}.stat-icon-wrapper{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center}.stat-icon-wrapper.blue{background:#3b82f61a;color:#3b82f6}.stat-icon-wrapper.green{background:#22c55e1a;color:#22c55e}.stat-icon-wrapper.yellow{background:#eab3081a;color:#eab308}.stat-icon-wrapper.indigo{background:#4f46e51a;color:#4f46e5}.stat-content h3{margin:0;font-size:1.25rem;color:var(--text-primary)}.stat-content p{margin:0;font-size:.75rem;color:var(--text-secondary);font-weight:500}.dashboard-main-grid-new{display:grid;grid-template-columns:1.8fr 1fr;gap:1.5rem;margin-bottom:2rem}.study-planner-new{padding:1.5rem}.planner-header-new{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.title-with-icon{display:flex;gap:12px}.planner-icon{width:32px;height:32px;background:#4f46e51a;color:var(--primary);border-radius:6px;display:flex;align-items:center;justify-content:center}.planner-header-new h3{font-size:1.1rem;margin:0}.planner-date{font-size:.75rem;color:var(--text-secondary);margin:2px 0 0}.view-plan-btn-new{background:var(--primary);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.8rem;font-weight:600;display:flex;align-items:center;gap:4px;cursor:pointer}.planner-tabs-new{display:flex;gap:1rem;margin-bottom:1.5rem}.tab-btn-new{background:var(--surface-lighter);border:none;padding:.5rem 1.25rem;border-radius:6px;font-size:.875rem;color:var(--text-secondary);display:flex;align-items:center;gap:8px;cursor:pointer}.tab-btn-new.active{background:var(--primary);color:#fff}.tab-badge{background:#ffffff1a;padding:1px 6px;border-radius:2px;font-size:.75rem}.tab-badge.red{background:#ef4444b0;color:#fff;border-radius:50%;padding:1px 4px}.task-list-new{display:flex;flex-direction:column;gap:1rem}.task-item-new{display:flex;align-items:center;gap:12px;padding:.75rem 1rem;border:1px solid var(--border);border-radius:10px}.task-radio{width:18px;height:18px;border:2px solid var(--border);border-radius:50%}.task-name-new{flex:1;font-size:.875rem;color:var(--text-secondary)}.task-tag-new{padding:2px 8px;border-radius:4px;font-size:.7rem;font-weight:600}.task-tag-new.practice{background:#fce7f3;color:#9d174d}.task-tag-new.video{background:#dbeafe;color:#1e40af}.task-duration-new{font-size:.8rem;color:var(--text-secondary);min-width:50px;text-align:right}.study-progress-new{padding:1.5rem}.progress-header-new{display:flex;align-items:center;gap:10px;margin-bottom:1rem}.progress-icon-box{width:32px;height:32px;background:#22c55e1a;color:#22c55e;border-radius:6px;display:flex;align-items:center;justify-content:center}.progress-header-new h3{font-size:1.1rem;margin:0}.remaining-days{text-align:center;color:var(--text-secondary);font-size:.75rem;margin-bottom:1rem}.radial-progress-large{position:relative;width:160px;height:160px;margin:0 auto 1.5rem}.radial-progress-large svg{transform:rotate(-90deg)}.radial-progress-large .bg{fill:none;stroke:var(--surface-lighter);stroke-width:8}.radial-progress-large .progress{fill:none;stroke-width:8;stroke-linecap:round}.progress.green{stroke:#22c55e}.progress.red{stroke:#ef4444}.center-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.center-text .val{display:block;font-size:1.75rem;font-weight:700;color:var(--text-primary)}.center-text .lbl{font-size:.75rem;color:var(--text-secondary)}.progress-legend-new{display:flex;flex-direction:column;gap:10px}.performance-section{margin-bottom:2rem}.section-title-new h3{font-size:1.25rem;margin:0 0 4px}.section-title-new p{font-size:.875rem;color:var(--text-secondary);margin-bottom:1.5rem}.performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.usage-card,.score-breakdown-card{padding:1.5rem}.usage-card h3,.score-breakdown-card h3{font-size:1.1rem;margin:0 0 4px}.usage-body{display:flex;align-items:center;gap:2rem;margin-top:1.5rem}.usage-chart-box{position:relative;width:120px;height:120px}.usage-chart-box svg{transform:rotate(-90deg)}.usage-chart-box .bg{fill:none;stroke:var(--surface-lighter);stroke-width:12}.usage-chart-box .prog{fill:none;stroke:#22c55e;stroke-width:12;stroke-linecap:round}.usage-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.usage-text .val{display:block;font-size:1.25rem;font-weight:700}.usage-text .lbl{font-size:.7rem;color:var(--text-secondary)}.usage-details{flex:1;display:flex;flex-direction:column;gap:12px}.detail-item{display:flex;align-items:center;gap:10px;font-size:.85rem;color:var(--text-secondary)}.item-icon{width:24px;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center}.item-icon.green{background:#22c55e1a;color:#22c55e}.item-icon.red{background:#ef44441a;color:#ef4444}.item-icon.blue{background:#3b82f61a;color:#3b82f6}.badge{border-radius:12px;padding:2px 10px;font-size:.75rem;font-weight:700;margin-left:auto}.badge.green{background:#dcfce7;color:#166534}.badge.red{background:#fee2e2;color:#991b1b}.badge.blue{background:#dbeafe;color:#1e40af}.score-list{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.score-item{display:flex;justify-content:space-between;align-items:center}.item-info{display:flex;gap:1px}.item-info h4{font-size:.9rem;margin:0}.item-info p{font-size:.75rem;color:var(--text-secondary);margin:0}.bottom-metrics-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.mini-metric-card{padding:1.25rem;display:flex;justify-content:space-between;align-items:center}.mini-progress{position:relative;width:60px;height:60px}.mini-progress .bg{fill:none;stroke:var(--surface-lighter);stroke-width:10}.mini-progress .prog{fill:none;stroke-width:10;stroke-linecap:round}.metric-val{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.7rem;font-weight:800}.course-progress-section{padding:1.25rem 1.5rem}.section-header{display:flex;align-items:center;gap:10px;margin-bottom:1.5rem}.header-icon{width:32px;height:32px;background:#8b5cf61a;color:#8b5cf6;border-radius:6px;display:flex;align-items:center;justify-content:center}.course-bar-item{display:flex;align-items:center;gap:1.5rem}.course-name{font-size:.875rem;color:var(--text-secondary);min-width:80px}.progress-track{flex:1;height:8px;background:var(--surface-lighter);border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#22c55e;border-radius:4px}.course-val{font-size:.875rem;font-weight:600;color:var(--text-primary)}.dashboard-main-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:1.5rem;margin-top:1.5rem}.study-planner{padding:1.5rem}.planner-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.planner-header h3{font-size:1.25rem;font-weight:600}.today-date{font-size:.875rem;color:var(--text-secondary)}.planner-tabs{display:flex;align-items:center;gap:2rem;border-bottom:1px solid var(--border);margin-bottom:1.5rem;position:relative}.tab-btn{background:none;border:none;padding:.75rem 0;font-size:.95rem;font-weight:500;color:var(--text-secondary);cursor:pointer;position:relative}.tab-btn.active{color:var(--primary)}.tab-btn.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--primary)}.tab-btn .badge{background:#ef4444;color:#fff;font-size:.75rem;padding:2px 6px;border-radius:10px;margin-left:4px}.view-plan-btn{margin-left:auto;background:none;border:none;color:var(--primary);font-weight:600;font-size:.875rem;cursor:pointer}.task-list{display:flex;flex-direction:column;gap:1rem}.task-item{display:flex;align-items:center;gap:12px;padding:.5rem 0}.task-check{color:#3b82f6}.task-name{flex:1;font-size:.95rem;color:var(--text-primary)}.task-tag{padding:4px 10px;border-radius:6px;font-size:.75rem;font-weight:600}.task-tag.tutorial{background:#dcfce7;color:#166534}.task-tag.flashcards{background:#ffedd5;color:#9a3412}.task-tag.practice{background:#fce7f3;color:#9d174d}.task-time{font-size:.875rem;color:var(--text-secondary);min-width:100px;text-align:right}.progress-overview{padding:1.5rem;display:flex;flex-direction:column}.progress-stats{display:flex;flex-direction:column;gap:4px;margin-bottom:2rem}.progress-count{font-size:1.25rem;font-weight:700;color:var(--text-primary)}.days-left{font-size:.875rem;color:var(--text-secondary)}.radial-chart-container{position:relative;width:200px;height:200px;margin:0 auto 2rem}.radial-chart{transform:rotate(-90deg)}.radial-bg{fill:none;stroke:var(--surface-lighter);stroke-width:10}.radial-progress{fill:none;stroke-width:10;stroke-linecap:round;transition:stroke-dashoffset .5s ease}.radial-progress.completed{stroke:#22c55e}.radial-progress.overdue{stroke:#ef4444}.radial-progress.incomplete{stroke:#3b82f6;opacity:.3}.radial-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.percentage-val{display:block;font-size:1.5rem;font-weight:700;color:var(--text-primary)}.percentage-label{font-size:.75rem;color:var(--text-secondary)}.chart-legend{display:flex;flex-direction:column;gap:12px}.legend-item{display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--text-secondary)}.dot{width:8px;height:8px;border-radius:50%}.dot.completed{background:#22c55e}.dot.overdue{background:#ef4444}.dot.incomplete{background:#3b82f6}.theme-toggle-btn{position:absolute;top:2rem;right:2rem;width:48px;height:48px;border-radius:50%;background:var(--surface-lighter);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border);color:var(--toggle-active);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:all .3s ease}.theme-toggle-btn:hover{opacity:.8}@media(max-width:1200px){.top-stats-row{grid-template-columns:1fr 1fr}}@media(max-width:1024px){.dashboard-main-grid-new,.performance-grid,.dashboard-main-grid{grid-template-columns:1fr}}@media(max-width:768px){.stats-grid{grid-template-columns:1fr}.search-bar{max-width:none}.content-area{padding:1rem}}@media(max-width:425px){.content-area{padding:.5rem}}[data-theme=dark] .ck.ck-editor__main>.ck-editor__editable{background:var(--secondary-input)!important;color:#f1f5f9!important;border-color:var(--border)!important}[data-theme=dark] .ck.ck-toolbar{background:var(--secondary-input)!important;border-color:var(--border)!important}[data-theme=warm] .ck.ck-editor__main>.ck-editor__editable{background:var(--secondary-input)!important;color:#f1f5f9!important;border-color:var(--border)!important}[data-theme=warm] .ck.ck-toolbar{background:var(--secondary-input)!important;border-color:var(--border)!important}[data-theme=dark] .ck.ck-toolbar .ck-button{color:#94a3b8!important}[data-theme=dark] .ck.ck-toolbar .ck-button:hover,[data-theme=dark] .ck.ck-toolbar .ck-button.ck-on{background:var(--secondary-input)!important;color:#f1f5f9!important}[data-theme=dark] .ck.ck-toolbar .ck-dropdown__button .ck-button__label{color:#94a3b8!important}[data-theme=dark] .ck.ck-editor__editable.ck-focused{border-color:#3b82f6!important;box-shadow:none!important}[data-theme=dark] .ck.ck-list{background:#1e293b!important}[data-theme=dark] .ck.ck-list .ck-list__item .ck-button{color:#e2e8f0!important}[data-theme=dark] .ck.ck-list .ck-list__item .ck-button:hover{background:#334155!important}[data-theme=dark] .ck.ck-balloon-panel,[data-theme=dark] .ck.ck-dropdown__panel{background:#1e293b!important;border-color:#334155!important}[data-theme=dark] .ck.ck-input-text{background:#0f172a!important;color:#f1f5f9!important;border-color:#334155!important}[data-theme=dark] .ck.ck-labeled-field-view .ck-label{color:#94a3b8!important}[data-theme=dark] .ck.ck-editor__editable a{color:#60a5fa!important}[data-theme=dark] .ck.ck-toolbar__separator{background:#334155!important}.reveal-control-container{margin:1rem 0;display:flex;justify-content:flex-start}.submit-answer-btn{background-color:var(--primary-btn);color:#fff;padding:8px 30px;border-radius:2px;font-weight:600;font-size:15px;border:none;cursor:pointer;transition:background-color .2s ease,opacity .2s ease;box-shadow:0 2px 4px #0000001a}.submit-answer-btn:disabled{background-color:#cbd5e1;color:#64748b;cursor:not-allowed;box-shadow:none}.submit-answer-btn:active{background-color:var(--primary-btn)}.question-dot.locked{opacity:.4;cursor:default}.card-bar{background:linear-gradient(90deg,var(--toggle-active),var(--secondary))}.create-test-container{margin:0 auto;display:flex;flex-direction:column;gap:.75rem}.glass-card{background:transparent;border:1px solid var(--border);border-radius:6px;padding:0;box-shadow:0 1px 2px #1018280a}.page-header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px}.page-header h1{font-size:1.1rem;font-weight:700;margin:0;color:#111827}.subtitle{color:#6b7280;font-size:.82rem;margin-top:2px}.exam-selector{position:relative;width:320px;margin-top:16px}.premium-select{width:100%;padding:12px 10px;appearance:none;background:var(--surface-lighter);border:1px solid var(--border);border-radius:4px;font-size:.875rem;font-weight:400;color:var(--text-primary);outline:none}.loading-container{display:flex;justify-content:center;padding:5rem}.loader-box{text-align:center;color:#6b7280;display:flex;flex-direction:column;gap:1rem;align-items:center}.test-config-grid{background:var(--surface);border-radius:6px;box-shadow:0 1px 2px #1018280a;overflow:hidden;border:1px solid var(--border)}.config-bar{display:flex;flex-direction:column;gap:0}.cfg-card.subject-bottom{border-bottom:1px solid transparent!important;flex-direction:column;align-items:flex-start;gap:10px!important}.cfg-card{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:20px 14px;border-bottom:1px solid var(--input-border)}.exam-card{display:flex;justify-content:space-between;align-items:start}.cfg-header{display:flex;align-items:center;gap:12px}.open-source-tag{color:#8a97a8}.cfg-label{display:flex;align-items:center;gap:.4rem;font-size:.93rem;font-weight:700;color:var(--text-primary);letter-spacing:-.01em}.cfg-input-wrap{flex:1;max-width:360px}.column-search-header{width:220px;margin-left:auto;margin-right:25px}.search-input-compact{width:100%;height:34px;padding:0 12px 0 32px;border:1px solid var(--input-border);border-radius:6px;font-size:.82rem;background:var(--secondary-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a97a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 10px center;color:var(--text-primary);outline:none;transition:all .2s}.search-input-compact:focus{border-color:var(--primary);background-color:#fff;box-shadow:0 0 0 3px #2563eb14}.optional-tag{color:var(--text-secondary);font-size:.8rem;font-weight:600}.total-tag{margin-left:6px;font-size:.76rem;color:var(--text-secondary);font-weight:600}.total-tag strong{color:var(--text-primary);font-size:.78rem;font-weight:700}.mode-switch-row{display:flex;gap:1.5rem;align-items:center}.mode-switch{display:flex;align-items:center;gap:.6rem;cursor:pointer;font-size:.9rem;color:var(--text-secondary);font-weight:500}.toggle{width:44px;height:22px;background:var(--toggle);border-radius:999px;position:relative;transition:background .25s ease;flex-shrink:0}.knob{width:18px;height:18px;background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:all .25s ease;box-shadow:0 1px 3px #00000038}.mode-switch.active .toggle{background:var(--toggle-active)}.mode-switch.active .knob{left:24px;background:var(--surface)}.cfg-toggle-rows{display:flex;gap:4px;border-radius:999px;align-items:center;background:var(--surface-lighter);border:1px solid var(--border)}.cfg-toggles{padding:10px 25px;border-radius:999px;font-size:.9rem;font-weight:600;border:1px solid transparent;background:transparent;color:var(--text-primary);cursor:pointer}.cfg-toggles.active{background:var(--toggle-active);color:var(--toggle-text);border-color:var(--med-border)}.cfg-toggle-blue{display:flex;gap:2px;padding:2.5px;border-radius:999px;align-items:center;background:#f7f9fc;border:1px solid #d6deea}.cfg-toggles-blue{padding:5px 12px;border-radius:999px;font-size:.78rem;font-weight:600;border:1px solid transparent;background:transparent;color:#617389;cursor:pointer}.cfg-toggles-blue.active{background:var(--primary)!important;color:#fff}.cfg-toggle-row{display:flex;gap:8px;align-items:center}.cfg-toggle{padding:5px 12px;border-radius:999px;font-size:.78rem;font-weight:600;border:1px solid #d6deea;background:#f7f9fc;color:#617389;cursor:pointer}.cfg-toggle.active{background:var(--primary);color:#fff;border-color:#2f7de2}.cfg-toggle:not(.active):hover{color:#2f7de2}.mode-switch-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.mode-switch{display:inline-flex;align-items:center;gap:8px;border:none;background:transparent;color:var(--text-secondary);font-size:.89rem;font-weight:500;cursor:pointer;padding:0}.switch-dot{width:16px;height:16px;border-radius:999px;border:2px solid #b8c5d6;background:#f3f5f9;flex-shrink:0;box-sizing:border-box}.mode-switch.active{color:var(--text-primary)}.mode-switch.active .switch-dot{background:var(--primary);border-color:var(--toggle-active);box-shadow:inset 0 0 0 3px #fff}.cfg-diff-row{display:flex;flex-wrap:wrap;gap:.5rem;padding:.4rem 0}.cfg-diff{padding:.35rem 1rem;border-radius:999px;font-size:.78rem;font-weight:700;color:#475569;background:#f7f9fc;border:1px solid transparent;cursor:pointer;transition:all .15s ease-in-out}.cfg-diff:hover:not(.active){background:#e2e8f0;border-color:#cbd5e1}.cfg-diff.active{background:var(--primary);color:#fff;border-color:transparent}.custom-selection-box{display:flex;gap:24px;padding:12px 14px;border-radius:0;border:0;border-top:1px solid var(--input-border)}.custom-left-panel{flex:2;min-width:0}.custom-right-panel{flex:.9;min-width:300px}.custom-title{margin-bottom:10px;min-width:auto;font-size:.95rem;font-weight:700;color:var(--text-primary)}.custom-instructions{margin-top:0;font-size:.92rem;color:var(--text-secondary);line-height:1.5}.custom-instructions p{margin:0 0 8px}.custom-control-label{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:8px}.retrieve-row{display:flex;align-items:center;gap:0;margin-bottom:14px}.retrieve-input{flex:1;height:35px;border:1px solid var(--input-border);border-right:0;border-radius:6px 0 0 6px;padding:0 12px;color:var(--text-primary);outline:none;font-size:.98rem;background:var(--secondary-input)}.retrieve-btn{height:35px;min-width:90px;border:1px solid var(--input-border);background:var(--secondary);color:#fff;border-radius:0 6px 6px 0;font-size:.95rem;font-weight:500;cursor:pointer;padding:0 12px}.or-divider{text-align:center;font-size:.85rem;font-weight:500;color:#6b7280;margin:8px 0 12px}.custom-help-text{font-size:.85rem;color:var(--text-secondary);margin:-2px 0 10px;line-height:1.35}.custom-ids-textarea{width:100%;min-height:205px;padding:10px 12px;border:1px solid var(--input-border);background:var(--secondary-input);color:var(--text-primary);outline:none;border-radius:6px;font-size:.96rem;resize:vertical}.selection-hint{font-size:.8rem;color:var(--text-secondary);margin-top:.5rem}.src-grid{display:flex;flex-wrap:wrap;gap:10px}.src-card{min-width:128px;border:1px solid #dbe2ec;border-radius:4px;padding:4px 8px;cursor:pointer}.src-card.active{border-color:#2f7de2;background:#eef5ff}.src-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.src-name{font-size:.81rem;color:#233044;font-weight:600}.src-radio{width:12px;height:12px;border:1px solid #9bacbf;border-radius:3px;background:#fff}.src-card.active .src-radio{background:#2f7de2;border-color:#2f7de2}.src-count{margin-top:4px;font-size:.75rem;color:#5f6f85;font-weight:600}.src-sub{font-size:.72rem;color:#8a97a8}.pool-item{display:inline-flex;align-items:center;gap:.55rem;padding:.55rem 1rem;color:var(--text-secondary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .18s ease;-webkit-user-select:none;user-select:none}.pool-name{font-weight:700;color:var(--text-secondary)}input.pool-check,input.custom-checkbox,input.checkbox-child{appearance:none;-webkit-appearance:none;margin:0;flex-shrink:0;cursor:pointer;box-sizing:border-box;position:relative;border:2px solid var(--input-border);border-radius:4px;background:var(--surface);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}input.pool-check:hover:not(:disabled),input.custom-checkbox:hover:not(:disabled),input.checkbox-child:hover:not(:disabled){border-color:var(--input-border)}input.pool-check:focus-visible,input.custom-checkbox:focus-visible,input.checkbox-child:focus-visible{outline:none;box-shadow:0 0 0 3px #2f7de247}input.pool-check:checked,input.custom-checkbox:checked,input.checkbox-child:checked{background:var(--primary);border-color:var(--input-border)}input.pool-check:disabled,input.custom-checkbox:disabled,input.checkbox-child:disabled{opacity:.45;cursor:not-allowed}input.pool-check{width:20px;height:20px}input.pool-check:checked:after{content:"";position:absolute;left:50%;top:45%;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:translate(-50%,-50%) rotate(45deg);box-sizing:border-box}input.custom-checkbox{width:24px;height:24px}input.custom-checkbox:checked:after{content:"";position:absolute;left:50%;top:45%;width:5px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:translate(-50%,-50%) rotate(45deg);box-sizing:border-box}input.checkbox-child{width:20px;height:20px;border-radius:4px}input.checkbox-child:checked:after{content:"";position:absolute;left:50%;top:45%;width:4px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(-50%,-50%) rotate(45deg);box-sizing:border-box}.pool-count{font-size:.74rem;font-weight:600;color:var(--text-primary);border:1px solid var(--input-border);background:var(--surface-lighter);border-radius:999px;padding:2px 8px;line-height:1.2}.pool-item.active .pool-name{color:var(--text-primary)}.selection-grid{display:flex;flex-direction:column;gap:0}.selection-column{border-radius:0;border:0;border-top:1px solid var(--input-border)}.column-header{display:flex;justify-content:space-between;align-items:center;padding:11px 14px}.header-check{display:flex;align-items:center;gap:10px;font-size:1rem;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.count-badge{font-size:.72rem;color:#5f7390;background:#f1f5fb;border:1px solid #dce5f1;border-radius:999px;padding:2px 8px;font-weight:600}.column-list{padding:8px 10px}.subjects-column .column-list{max-width:900px;display:grid;grid-template-columns:2fr 2fr;gap:4px 14px}.list-item{display:flex;align-items:center;gap:.7rem;padding:8px 10px;border:1px solid transparent;border-radius:6px;cursor:pointer}.item-label{flex:1;font-size:.875rem;font-weight:500;color:var(--text-secondary);letter-spacing:-.01em}.topic-list{margin:4px 0 8px 28px;border-left:1px solid #e4ebf5;padding-left:10px}.topic-item{display:flex;align-items:center;gap:10px;padding:5px 4px;font-size:.82rem;color:var(--text-secondary)}.topic-name{flex:1;font-weight:600;color:var(--text-primary);letter-spacing:-.01em}.topic-count{font-size:.74rem;font-weight:600;color:var(--text-secondary);border:1px solid var(--input-border);background:var(--surface-lighter);border-radius:999px;padding:2px 8px}.action-bar{padding:12px 14px;border-top:1px solid var(--input-border);background:transparent;display:flex;justify-content:flex-start;align-items:flex-start;flex-direction:column;gap:12px}.action-bar-fields{display:flex;flex-direction:row;gap:12px;margin-bottom:0}.test-name-input{width:100%;padding:12px 10px;outline:none;border-radius:4px;font-size:.875rem;font-weight:500;color:var(--text-primary);background:var(--secondary-input);border:1px solid var(--input-border)}.test-name-input.top-name{max-width:360px}.question-limiter{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.question-limiter label{font-size:.875rem;font-weight:700;color:var(--text-primary)}.limit-input-wrapper{display:flex;align-items:center;gap:8px}.limit-input{width:54px;height:34px;padding:6px;border:1px solid var(--border);background:var(--surface);border-radius:6px;outline:none;color:var(--text-primary);font-size:.85rem;text-align:center}.limit-hint{font-size:.74rem;color:var(--text-secondary)}.create-btn{width:auto;min-width:196px;height:44px;padding:0 14px;background:var(--secondary);color:#fff;border:none;border-radius:4px;font-size:.98rem;font-weight:500;cursor:pointer;letter-spacing:.01em}.create-btn:hover:not(:disabled){opacity:.8}.create-btn:disabled{background:var(--secondary);cursor:not-allowed;color:#fff}@media(max-width:1024px){.page-header{flex-direction:column;align-items:stretch;gap:10px}.exam-selector{width:100%}.cfg-card,.action-bar{flex-direction:column;align-items:flex-start}.cfg-input-wrap,.test-name-input.top-name{max-width:100%;width:100%}.custom-selection-box{flex-direction:column}.custom-right-panel{min-width:0}}
