:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0d1118;--surface:#151b25;--surface-raised:#1b2330;--surface-soft:#202937;--border:#2b3748;--text:#f6f8fb;--muted:#9aa8ba;--accent:#73a7ff;--accent-strong:#4f8ff7;--accent-soft:#4f8ff729;--success:#4fd39b;--warning:#ffbd66;--danger:#ff6b78;--shadow:0 14px 40px #00000047;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%}body{background:var(--bg);margin:0}#root{border-inline:1px solid var(--border);flex-direction:column;min-width:0;max-width:1126px;min-height:100svh;margin:0 auto;display:flex;overflow:hidden}button,input,select,textarea{font:inherit}button{background:var(--surface-soft);min-height:42px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:1px solid #0000;border-radius:11px;padding:9px 14px;font-weight:650}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{opacity:.42;cursor:not-allowed}input,select,textarea{border:1px solid var(--border);min-height:42px;color:var(--text);background:var(--surface-soft);border-radius:10px;padding:9px 11px}.app-shell{background:var(--bg);flex-direction:column;width:100%;min-width:0;height:100dvh;display:flex;overflow:hidden}.app-content{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.screen{background:var(--bg);flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex}.screen-scroll{flex:1;min-height:0;padding:14px;overflow-y:auto}.page-header{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0d1118f5;flex:none;align-items:center;gap:10px;width:100%;min-width:0;min-height:66px;padding:10px 14px;display:flex}.page-header__copy{text-align:left;flex:1;min-width:0}.page-header h1{color:var(--text);letter-spacing:-.25px;margin:0;font-size:20px;font-weight:760;line-height:1.15}.page-header__subtitle{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:12px;overflow:hidden}.page-header__actions{align-items:center;gap:7px;min-width:0;display:flex}.icon-button{background:var(--surface-raised);border-radius:11px;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;display:grid}.button-primary{background:var(--accent-strong);color:#fff}.button-secondary{background:var(--surface-raised);border-color:var(--border)}.button-danger{color:var(--danger);background:#ff6b7824;border-color:#ff6b7859}.button-ghost{color:var(--muted);background:0 0}.button-with-icon{justify-content:center;align-items:center;gap:7px;display:inline-flex}.card-panel{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:15px;box-shadow:0 1px #ffffff05}.section-title{color:var(--text);text-align:left;margin:0;font-size:16px}.section-copy{color:var(--muted);text-align:left;margin:4px 0 0;font-size:13px}.stack{flex-direction:column;gap:12px;display:flex}.inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.segmented-control{background:var(--surface);border:1px solid var(--border);border-radius:12px;gap:3px;padding:3px;display:flex}.segmented-control button{min-height:34px;color:var(--muted);background:0 0;flex:1;padding:6px 9px;font-size:12px}.segmented-control button.active{background:var(--surface-soft);color:var(--text);box-shadow:0 1px 3px #0000004d}.status-pill{border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.status-pill.success{color:var(--success);background:#4fd39b1f}.status-pill.warning{color:var(--warning);background:#ffbd661f}.status-pill.error{color:var(--danger);background:#ff6b781f}.status-pill.muted{color:var(--muted);background:var(--surface-soft)}.empty-state{color:var(--muted);text-align:center;place-items:center;gap:8px;padding:36px 22px;display:grid}.empty-state strong{color:var(--text)}.loading-state{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:11px;padding:28px;display:flex}.loading-state strong{color:var(--text);font-size:13px}.loading-spinner{border:3px solid var(--surface-soft);border-top-color:var(--accent);border-radius:50%;width:34px;height:34px;animation:.75s linear infinite loading-spin}@keyframes loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.loading-spinner{animation-duration:1.5s}}.toast-host{left:50%;bottom:calc(78px + env(safe-area-inset-bottom));z-index:2000;pointer-events:none;width:min(100% - 28px,480px);position:fixed;transform:translate(-50%)}.toast{color:#fff;background:var(--surface-raised);border:1px solid var(--border);box-shadow:var(--shadow);text-align:center;border-radius:12px;padding:11px 14px;font-size:13px;font-weight:650}.toast.success{border-color:#4fd39b80}.toast.error{border-color:#ff6b7880}details.disclosure{border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow:hidden}details.disclosure>summary{cursor:pointer;min-height:48px;color:var(--text);align-items:center;padding:12px 14px;font-weight:700;list-style:none;display:flex}details.disclosure>summary::-webkit-details-marker{display:none}details.disclosure>summary:after{content:"›";color:var(--muted);margin-left:auto;font-size:22px;transition:transform .15s;transform:rotate(90deg)}details.disclosure[open]>summary:after{transform:rotate(-90deg)}.disclosure__content{border-top:1px solid var(--border);padding:14px}@media (width>=760px){.screen-scroll{padding:20px}.page-header{padding-inline:20px}}.bottom-nav{width:100%;min-width:0;min-height:58px;padding:5px max(10px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:50;background:#131821f5;flex:none;grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.nav-link{min-width:0;min-height:48px;color:var(--muted);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:650;text-decoration:none;transition:color .15s,background .15s;display:flex}.nav-link-active{color:var(--accent);background:var(--accent-soft)}.category-screen{background:var(--bg)}.category-selection-toolbar,.category-browse-toolbar{border-bottom:1px solid var(--border);background:var(--surface);flex:none;align-items:center;gap:7px;min-height:50px;padding:7px 12px;display:flex}.category-selection-toolbar strong{margin-right:auto;font-size:12px}.category-selection-toolbar button{min-height:36px;padding:6px 9px;font-size:11px}.category-selection-toolbar .icon-button{width:36px;min-width:36px}.category-browse-toolbar span{color:var(--muted);text-align:left;flex:1;font-size:11px}.category-browse-toolbar select{width:80px;min-height:34px;padding:5px 8px;font-size:12px}.category-content-scroll{flex:1;min-height:0;padding-bottom:8px;overflow-y:auto}.gridlist.category-grid,.gridlist.quiz-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;overflow:visible}.category-grid .card,.quiz-preview-grid .card{background:var(--surface);border-radius:13px;min-width:0;padding:7px}.category-grid .thumbnail,.category-grid .placeholder-img,.quiz-preview-grid .thumbnail,.quiz-preview-grid .placeholder-img{object-fit:cover;border-radius:9px;width:100%;height:92px;margin:0}.category-grid .title,.quiz-preview-grid .title{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;min-height:34px;font-size:12px;line-height:17px;display:-webkit-box;overflow:hidden}.category-grid .card.confirmed{border:2px solid #4fd39bb3}.selected-quizzes-section{border:1px solid var(--border);background:var(--surface);border-radius:15px;margin:0 10px 10px;overflow:hidden}.selected-quizzes-heading{border-bottom:1px solid var(--border);align-items:center;min-height:50px;padding:8px 12px;display:flex}.selected-quizzes-heading>div{flex-direction:column;flex:1;align-items:flex-start;display:flex}.selected-quizzes-heading strong{font-size:13px}.selected-quizzes-heading span{color:var(--muted);font-size:11px}.selected-quizzes-heading button{font-size:11px}.quiz-start-bar{border-top:1px solid var(--border);background:var(--surface);flex:none;grid-template-columns:auto auto 1fr;gap:8px;min-height:60px;padding:8px 12px;display:grid}.quiz-start-bar select{width:92px}.shuffle-toggle{color:var(--muted);align-items:center;gap:5px;padding:8px 10px;display:flex}.shuffle-toggle.active{color:var(--accent);background:var(--accent-soft);border-color:#73a7ff73}.quiz-start-button{justify-content:center;align-items:center;gap:7px;display:flex}.quiz-start-spinner{border-width:2px;width:18px;height:18px}.placeholder-img{background:var(--surface-soft);color:var(--muted);justify-content:center;align-items:center;display:flex}@media (width<=420px){.category-selection-toolbar .button-primary,.category-selection-toolbar .button-secondary{font-size:0}.category-selection-toolbar .button-primary:after{content:"Add";font-size:11px}.category-selection-toolbar .button-secondary:after{content:"Remove";font-size:11px}.shuffle-toggle span{display:none}}@media (width>=700px){.gridlist.category-grid,.gridlist.quiz-preview-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.gridlist{box-sizing:border-box;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));align-content:start;gap:15px;width:100%;padding:15px;display:grid}.card{text-align:center;background:#1e1f26;border-radius:10px;padding:10px;overflow:hidden}.thumbnail{object-fit:cover;-webkit-user-drag:none;user-drag:none;border-radius:8px;width:auto;height:100px;margin:auto;display:block}.folder{justify-content:center;align-items:center;height:100px;font-size:80px;display:flex}.title{text-overflow:ellipsis;white-space:nowrap;margin-top:8px;overflow:hidden}.card{text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:#1e1f26;border-radius:10px;padding:10px;transition:all .2s;position:relative;overflow:hidden}.card.selected{background:#2a3c53;border:3px solid #3498db;transform:scale(.95)}.selection-indicator{color:#fff;background-color:#3498db;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;font-weight:700;display:flex;position:absolute;top:5px;right:5px;box-shadow:0 2px 4px #0006}.card.confirmed{border-color:#2ecc71}.selection-indicator.confirmed-indicator{background-color:#2ecc71}.image-library-screen{background:var(--bg)}.file-input-button{cursor:pointer}.selection-toolbar,.image-filter-row{border-bottom:1px solid var(--border);background:var(--surface);flex:none;align-items:center;gap:8px;min-height:50px;padding:7px 12px;display:flex}.selection-toolbar strong{margin-right:auto;font-size:13px}.selection-toolbar .icon-button{width:38px;min-width:38px;min-height:38px}.image-filter-row .segmented-control{flex:1}.usage-scan-status{color:var(--muted);white-space:nowrap;font-size:11px}.image-library-grid-wrap{background:var(--bg);flex:1;min-width:0;min-height:0;overflow-y:auto}.image-library-grid{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;overflow:visible}.image-library-grid .card{background:var(--surface);border-radius:13px;min-width:0;padding:7px}.image-library-grid .thumbnail{object-fit:cover;border-radius:9px;width:100%;height:92px}.image-library-grid .folder{height:92px;color:var(--warning);justify-content:center;align-items:center;display:flex}.image-library-grid .title{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;min-height:34px;font-size:12px;line-height:17px;display:-webkit-box;overflow:hidden}.image-library-thumbnail{min-height:92px;position:relative}.image-usage-badge{color:#fff;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;max-width:calc(100% - 8px);padding:3px 6px;font-size:9px;font-weight:750;line-height:1.2;position:absolute;bottom:4px;left:4px;overflow:hidden;box-shadow:0 1px 4px #000000a6}.image-usage-badge.used{background:#198754f0}.image-usage-badge.unused{color:#c0cad7;background:#2a3443db}.image-backup-panel{z-index:2;border-top:1px solid var(--border);background:var(--surface);flex:none;position:relative}.image-backup-panel summary{min-height:46px;color:var(--muted);cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:6px 14px;font-size:12px;font-weight:700;list-style:none;display:flex}.image-backup-panel summary::-webkit-details-marker{display:none}.image-backup-title{white-space:nowrap;align-items:center;gap:7px;min-width:0;display:flex}.image-backup-status{border-radius:999px;flex:none;align-items:center;gap:5px;padding:4px 7px;font-size:10px;display:inline-flex}.image-backup-status>span{background:currentColor;border-radius:50%;width:7px;height:7px}.image-backup-status.needed{color:var(--warning);background:#ffbd661f}.image-backup-status.current{color:var(--success);background:#4fd39b1f}.image-backup-actions{align-items:center;gap:8px;padding:0 12px 12px;display:flex}.image-backup-actions p{color:var(--muted);text-align:left;flex:1;margin:0;font-size:11px}.image-backup-actions button{padding:7px 9px;font-size:11px}.image-modal-overlay{z-index:1000;background:#000000e0;justify-content:center;align-items:center;padding:14px;display:flex;position:fixed;inset:0}.image-modal-content{background:var(--surface);border:1px solid var(--border);width:100%;max-width:900px;max-height:calc(100dvh - 28px);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:9px;padding:12px;display:flex}.image-modal-toolbar{justify-content:flex-end;gap:8px;display:flex}.image-modal-image-wrapper{background:#05070a;border-radius:11px;flex:1;justify-content:center;align-items:center;min-height:220px;max-height:60vh;display:flex;overflow:hidden}.image-modal-image{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:100%;max-height:100%}.image-modal-caption{color:var(--text);text-align:center;overflow-wrap:anywhere;font-size:14px;font-weight:700}.image-modal-details{color:var(--muted);text-align:center;font-size:11px}.image-modal-usage{color:var(--text);text-align:left;border-radius:10px;padding:8px 11px;font-size:12px}.image-modal-usage.used{background:#19875429;border:1px solid #4fd39b66}.image-modal-usage.unused{background:var(--surface-soft);border:1px solid var(--border);text-align:center;color:var(--muted)}.image-modal-usage ul{max-height:90px;margin:5px 0 0;padding-left:20px;overflow-y:auto}@media (width>=700px){.image-library-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.image-library-grid .thumbnail,.image-library-grid .folder,.image-library-thumbnail{height:120px;min-height:120px}}@media (width<=520px){.image-backup-actions{flex-direction:column;align-items:stretch}.image-backup-actions p{text-align:center;width:100%}.image-backup-actions button{width:100%}}.quiz-editor-form{text-align:left;flex-direction:column;flex:1;gap:14px;min-height:0;padding:14px;display:flex;overflow-y:auto}.quiz-editor-form h3{color:var(--text);font-size:13px}.quiz-editor-form input,.quiz-editor-form select,.quiz-editor-form textarea{border-color:var(--border)!important;background:var(--surface)!important}.quiz-editor-form input[type=radio]{width:20px;height:20px;min-height:20px;accent-color:var(--accent-strong);flex:0 0 20px;margin:0;padding:0}.quiz-editor-actions{border-top:1px solid var(--border);background:var(--surface);flex:none;justify-content:flex-end;gap:9px;padding:9px 14px;display:flex}.quiz-editor-actions .button-primary{min-width:130px}@media (width<=420px){.quiz-editor-actions>button{flex:1;min-width:0;padding-inline:9px}}.quiz-player-screen{z-index:100;background:var(--bg);padding-bottom:env(safe-area-inset-bottom);gap:10px;position:fixed;inset:0}.quiz-progress{background:var(--surface-soft);flex:none;height:4px}.quiz-progress>div{background:var(--accent);height:100%;transition:width .2s}.quiz-answer-action{min-width:140px}.quiz-player-screen .placeholder-img{width:100%;height:100%}.quiz-player-footer{flex-direction:column;flex:none;align-items:center;gap:10px;padding:10px;display:flex}.quiz-answer-actions{justify-content:center;gap:10px;width:100%;display:flex}.quiz-judging-feedback{width:100%;max-width:480px;color:var(--accent);background:var(--accent-soft);text-align:left;border:1px solid #73a7ff61;border-radius:12px;align-items:center;gap:11px;padding:10px 12px;display:flex}.quiz-judging-feedback.slow{color:var(--warning);background:#ffbd661a;border-color:#ffbd6666}.quiz-judging-feedback>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.quiz-judging-feedback strong{color:var(--text);font-size:13px}.quiz-judging-feedback small{color:var(--muted);font-size:11px}.quiz-judging-spinner{border-width:2px;flex:0 0 24px;width:24px;height:24px}.quiz-complete-screen{z-index:100;padding:28px max(28px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));text-align:center;background:var(--bg);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:fixed;inset:0}.quiz-complete-icon{width:72px;height:72px;color:var(--success);background:#4fd39b24;border-radius:50%;place-items:center;display:grid}.quiz-complete-screen h2,.quiz-complete-screen p{margin:0}.quiz-score{color:var(--text);font-size:56px;font-weight:800;line-height:1}.quiz-score span{color:var(--muted);font-size:22px}.quiz-complete-screen p{color:var(--muted)}@media (width<=360px){.quiz-answer-action{flex:1;min-width:0}}.settings-scroll{text-align:left}.settings-ready-banner{color:var(--success);text-align:center;background:#4fd39b1f;border:1px solid #4fd39b73;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:700}.settings-section{flex-direction:column;gap:13px;display:flex}.settings-section-heading{align-items:center;gap:11px;display:flex}.settings-section-heading>div:last-child{min-width:0}.settings-section-icon{width:40px;height:40px;color:var(--accent);background:var(--accent-soft);border-radius:12px;flex:none;place-items:center;display:grid}.settings-row{border-top:1px solid var(--border);align-items:center;gap:12px;min-height:54px;padding-top:11px;display:flex}.settings-row>span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.settings-row strong{font-size:13px}.settings-row small,.muted-help,.model-meta{color:var(--muted);font-size:11px;line-height:1.35}.settings-row input[type=time]{width:115px}.toggle-row input[type=checkbox]{appearance:none;background:var(--surface-soft);border:0;border-radius:999px;width:46px;height:26px;min-height:26px;padding:0;transition:background .15s;position:relative}.toggle-row input[type=checkbox]:after{content:"";background:var(--muted);border-radius:50%;width:20px;height:20px;transition:transform .15s,background .15s;position:absolute;top:3px;left:3px}.toggle-row input[type=checkbox]:checked{background:var(--accent-strong)}.toggle-row input[type=checkbox]:checked:after{background:#fff;transform:translate(20px)}.download-progress{flex-direction:column;gap:5px;display:flex}.download-progress__track{background:var(--surface-soft);border-radius:999px;height:7px;overflow:hidden}.download-progress__track>div{background:var(--accent);height:100%;transition:width .2s}.ollama-help{color:var(--text);background:#ffbd6614;border:1px solid #ffbd664d;border-radius:12px;flex-direction:column;gap:7px;padding:11px 12px;font-size:12px;line-height:1.4;display:flex}.ollama-help code{color:var(--accent);white-space:nowrap;background:#00000038;border-radius:8px;padding:8px 9px;font-size:11px;display:block;overflow-x:auto}.ollama-help small{color:var(--muted);overflow-wrap:anywhere}.grader-test-card label,.advanced-settings label{color:var(--muted);flex-direction:column;gap:5px;font-size:11px;display:flex}.settings-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settings-field-grid>*,.advanced-settings label{min-width:0}.settings-field-grid input,.advanced-settings>label input{width:100%}.grader-result{text-align:center;border-radius:10px;padding:9px;font-weight:750}.grader-result.correct{color:var(--success);background:#4fd39b1f}.grader-result.wrong{color:var(--danger);background:#ff6b781f}.grader-result.error{color:var(--warning);background:#ffbd661f}@media (width<=430px){.settings-field-grid{grid-template-columns:1fr}.ai-status-card .inline-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.ai-status-card .inline-actions button{white-space:nowrap;width:100%;min-width:0;padding-inline:8px;font-size:13px}}.dashboard-screen{background:radial-gradient(circle at 50% -20%, #4f8ff724, transparent 42%), var(--bg)}.dashboard-scroll{flex-direction:column;flex:1;gap:12px;min-height:0;padding:14px;display:flex;overflow-y:auto}.dashboard-hero{min-height:150px;box-shadow:var(--shadow);background:linear-gradient(135deg,#4f8ff738,#4f8ff712);border:1px solid #73a7ff57;border-radius:20px;justify-content:space-between;align-items:center;gap:18px;padding:20px;display:flex}.dashboard-hero>div:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.dashboard-eyebrow{color:#b9d1ff;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:750}.dashboard-hero>div:first-child strong{letter-spacing:-.05em;font-size:clamp(38px,12vw,58px);line-height:1}.dashboard-hero>div:first-child>span:last-child{color:var(--muted);margin-top:5px;font-size:12px}.accuracy-ring{--accuracy:0deg;text-align:center;background:radial-gradient(circle at center, #172131 55%, transparent 57%), conic-gradient(var(--success) var(--accuracy), #ffffff17 0);border-radius:50%;flex:0 0 94px;place-content:center;width:94px;height:94px;display:grid}.accuracy-ring span{font-size:23px;font-weight:800;line-height:1}.accuracy-ring small{color:var(--muted);margin-top:3px;font-size:10px}.dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.dashboard-stat-card{border:1px solid var(--border);background:var(--surface);border-radius:15px;flex-direction:column;gap:2px;min-width:0;padding:14px;display:flex}.dashboard-stat-card>span{color:var(--muted);font-size:11px;font-weight:700}.dashboard-stat-card strong{margin-top:2px;font-size:25px;line-height:1.1}.dashboard-stat-card small{color:var(--muted);font-size:10px}.dashboard-section{flex-direction:column;gap:14px;display:flex}.dashboard-section-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.dashboard-section-heading h2{margin:0;font-size:16px}.dashboard-section-heading p{color:var(--muted);margin:3px 0 0;font-size:11px}.trend-pill{border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800}.trend-pill.positive{color:var(--success);background:#4fd39b1f}.trend-pill.negative{color:var(--danger);background:#ff6b781f}.activity-chart{grid-template-columns:repeat(14,minmax(0,1fr));align-items:end;gap:4px;height:132px;display:grid}.activity-day{grid-template-rows:17px 1fr 15px;place-items:end center;min-width:0;height:100%;display:grid}.activity-value{color:var(--muted);font-size:9px}.activity-bar{background:var(--surface-soft);border-radius:5px 5px 3px 3px;flex-direction:column-reverse;width:min(14px,75%);height:100%;min-height:2px;display:flex;overflow:hidden}.activity-bar span{width:100%;min-height:0;display:block}.activity-correct{background:var(--success)}.activity-wrong{background:var(--danger)}.activity-day small{color:var(--muted);font-size:9px}.chart-legend{color:var(--muted);justify-content:flex-end;gap:13px;font-size:10px;display:flex}.chart-legend span:before{content:"";border-radius:2px;width:7px;height:7px;margin-right:5px;display:inline-block}.chart-legend .correct:before{background:var(--success)}.chart-legend .wrong:before{background:var(--danger)}.difficulty-list,.recent-answer-list{flex-direction:column;display:flex}.difficulty-row{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:11px 0;display:grid}.difficulty-row:first-child,.recent-answer:first-child{border-top:0;padding-top:0}.difficulty-row:last-child,.recent-answer:last-child{padding-bottom:0}.difficulty-copy,.difficulty-score{flex-direction:column;gap:2px;min-width:0;display:flex}.difficulty-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.difficulty-copy span,.difficulty-score span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.difficulty-score{align-items:flex-end}.difficulty-score strong{color:var(--warning);font-size:14px}.difficulty-meter{background:var(--surface-soft);border-radius:999px;grid-column:1/-1;height:4px;overflow:hidden}.difficulty-meter span{border-radius:inherit;background:linear-gradient(90deg, var(--danger), var(--warning), var(--success));height:100%;display:block}.dashboard-positive-state{color:var(--success);background:#4fd39b14;border-radius:11px;align-items:center;gap:8px;padding:10px;font-size:12px;display:flex}.recent-answer{border-top:1px solid var(--border);align-items:center;gap:10px;padding:10px 0;display:flex}.recent-result{border-radius:50%;flex:0 0 29px;place-items:center;width:29px;height:29px;display:grid}.recent-result.correct{color:var(--success);background:#4fd39b1f}.recent-result.wrong{color:var(--danger);background:#ff6b781f}.recent-answer>div{flex-direction:column;gap:2px;min-width:0;display:flex}.recent-answer strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.recent-answer span{color:var(--muted);font-size:10px}.dashboard-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;padding:38px;display:flex}.dashboard-empty-icon{width:72px;height:72px;color:var(--accent);background:var(--accent-soft);border-radius:22px;place-items:center;display:grid}.dashboard-empty h2{margin:6px 0 0;font-size:20px}.dashboard-empty p{max-width:360px;color:var(--muted);margin:0;font-size:13px;line-height:1.5}@media (width>=700px){.dashboard-scroll{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;padding:20px;display:grid}.dashboard-hero,.dashboard-stat-grid{grid-column:1/-1}.dashboard-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
