@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Barlow+Condensed:wght@700;800&display=swap";:root{--primary:#ffd200;--primary-hover:#e6bc00;--bg:#fff;--bg-subtle:#f8fafc;--card:#fff;--text:#000;--text-h:#000;--text-muted:#4c566a;--border:#000;--success:#10b981;--warning:#f59e0b;--error:#ef4444;--shadow:4px 4px 0px #000;--shadow-sm:2px 2px 0px #000;--shadow-hover:2px 2px 0px #000}*{box-sizing:border-box}body{background-color:var(--bg-subtle);color:var(--text);-webkit-font-smoothing:antialiased;min-height:100vh;margin:0;font-family:Inter,-apple-system,sans-serif}h1,h2,h3,.brand-font{text-transform:uppercase;letter-spacing:.05em;color:var(--text-h);margin-top:0;font-family:Barlow Condensed,sans-serif;font-weight:800}#root{width:100%}.app-container{max-width:1100px;margin:0 auto;padding:1.5rem}@media (width<=640px){.app-container{padding:1rem}.login-page{margin:2.5rem auto;padding:2rem 1.5rem}.practice-card-active{padding:2rem 1.25rem}}button{cursor:pointer;border:none;font-family:inherit}.primary-btn{background-color:var(--primary);color:#000;text-transform:uppercase;letter-spacing:.5px;box-shadow:var(--shadow-sm);border:2px solid #000;border-radius:4px;outline:none;justify-content:center;align-items:center;gap:8px;height:38px;padding:8px 20px;font-family:Inter,sans-serif;font-size:.8125rem;font-weight:800;text-decoration:none;transition:all .1s ease-in-out;display:inline-flex}.primary-btn:hover{background-color:var(--primary-hover);transform:translate(1px,1px);box-shadow:1px 1px #000}.primary-btn:active{box-shadow:none;transform:translate(2px,2px)}.filter-btn,.back-link{color:#000;text-transform:uppercase;box-shadow:var(--shadow-sm);background-color:#fff;border:2px solid #000;border-radius:4px;align-items:center;gap:.5rem;height:38px;padding:8px 12px;font-size:.75rem;font-weight:700;transition:all .1s;display:flex}.filter-btn:hover,.back-link:hover{background-color:var(--bg-subtle);transform:translate(1px,1px);box-shadow:1px 1px #000}.animate-spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:var(--bg-subtle)}::-webkit-scrollbar-thumb{border:2px solid var(--bg-subtle);background:#000}.login-page{text-align:center;background:#fff;border:2px solid #000;border-radius:4px;max-width:440px;margin:100px auto;padding:3.5rem 2.5rem;box-shadow:4px 4px #000}.login-header h1{color:var(--text-h);letter-spacing:.05em;margin-bottom:.75rem;font-size:3rem}.login-header p{color:var(--text-muted);margin-bottom:2.5rem;font-weight:500}.auth-toggle{background:#f8fafc;border:2px solid #000;border-radius:4px;margin-bottom:2.5rem;padding:.4rem;display:flex}.auth-toggle button{text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);background:0 0;border:none;border-radius:2px;flex:1;padding:.75rem;font-size:.8125rem;font-weight:700}.auth-toggle button.active{background:var(--primary);color:var(--text-h)}.input-group{text-align:left;margin-bottom:1.75rem}.input-group label{color:var(--text-muted);text-transform:uppercase;margin-bottom:.75rem;font-size:.8125rem;font-weight:700;display:block}.input-wrapper{align-items:center;display:flex;position:relative}.input-wrapper svg{color:var(--text-muted);position:absolute;left:15px}.input-wrapper input,.login-page input,.login-page select{width:100%;color:var(--text);background:#f8fafc;border:2px solid #000;border-radius:4px;outline:none;padding:1rem;font-size:1rem}.input-wrapper input{padding-left:48px}.input-wrapper input:focus{border-color:var(--primary)}.role-selection{text-align:left;margin-bottom:2.5rem}.role-selection label{color:var(--text-muted);text-transform:uppercase;margin-bottom:1rem;font-size:.8125rem;font-weight:700;display:block}.role-cards{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1.25rem;display:grid}.role-card{cursor:pointer;background:#f8fafc;border:2px solid #000;border-radius:4px;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem 1rem;transition:all .2s;display:flex}.role-card:hover{border-color:var(--primary)}.role-card.selected{border-color:var(--primary);background:#fffdf0}.role-card.selected svg{color:var(--text-h)}.role-card span{font-size:.875rem;font-weight:700}.submit-btn{border-radius:4px;width:100%;padding:1.125rem;font-size:1.125rem}.auth-error{color:var(--error);background:#fef2f2;border:1px solid #fecaca;border-radius:4px;margin-bottom:2rem;padding:1rem;font-size:.875rem;font-weight:500}.parent-link-input{margin-top:1rem}.submit-btn{margin-top:1.5rem}.toast-container{z-index:1000;pointer-events:none;flex-direction:column;gap:.5rem;display:flex;position:fixed;top:1rem;right:1rem}.toast{color:#000;background:#fff;border:2px solid #000;border-radius:6px;max-width:320px;padding:.75rem 1rem;font-size:.875rem;font-weight:700;box-shadow:4px 4px #000}.toast-success{background:var(--success,#34d399)}.toast-error{background:#fca5a5}.analytics-link-btn{text-transform:uppercase;letter-spacing:.05em;cursor:pointer;background:#fff;border:2px solid #000;border-radius:4px;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.75rem;font-weight:800;display:inline-flex}.analytics-link-btn:hover{background:var(--primary)}.practice-section-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.practice-section-header h2{margin-bottom:0}.header-text h1{color:#000;margin-bottom:.25rem;font-size:2.25rem}.header-text p{color:var(--text-muted);font-size:.9375rem;font-weight:600}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:3rem;display:grid}.stat-card{text-align:center;box-shadow:var(--shadow-sm);background:#fff;border:2px solid #000;border-radius:4px;flex-direction:column;align-items:center;padding:1.5rem;transition:all .1s;display:flex}.stat-card:hover{transform:translate(1px,1px);box-shadow:1px 1px #000}.stat-card svg{color:var(--primary);stroke-width:3px;width:24px;height:24px;margin-bottom:.75rem}.stat-card h3{color:var(--text-muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.25rem;font-size:.75rem}.stat-card p{color:#000;margin:0;font-family:Barlow Condensed,sans-serif;font-size:2.5rem;font-weight:900}.list-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin:4rem 0 2rem;display:flex}.list-controls{gap:1rem;display:flex}.search-bar{background:#fff;border:2px solid #000;border-radius:4px;align-items:center;gap:.75rem;width:100%;max-width:320px;padding:.5rem 1rem;display:flex;box-shadow:3px 3px #000}.search-bar input{color:#000;background:0 0;border:none;outline:none;width:100%;font-size:.875rem;font-weight:600}.mistake-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem;display:grid}.mistake-item-card{box-shadow:var(--shadow-sm);background:#fff;border:2px solid #000;border-radius:4px;flex-direction:column;gap:1.25rem;padding:1.5rem;transition:all .1s;display:flex}.mistake-item-card:hover{transform:translate(1px,1px);box-shadow:1px 1px #000}.item-meta{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.status-group{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.item-subject{text-transform:uppercase;color:#000;background:var(--primary);letter-spacing:.05em;border:2px solid #000;border-radius:4px;padding:.35rem .75rem;font-size:.6875rem;font-weight:800}.item-status{text-transform:uppercase;border:2px solid #000;border-radius:4px;padding:.3rem .75rem;font-size:.625rem;font-weight:800}.item-content{color:#000;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;flex:1;font-size:1rem;font-weight:600;line-height:1.5;display:-webkit-box;overflow:hidden}.item-footer{border-top:1.5px solid #000;justify-content:space-between;align-items:center;padding-top:1rem;font-size:.75rem;font-weight:700;display:flex}.item-difficulty{color:#000;letter-spacing:1px}.icon-btn{cursor:pointer;color:#000;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:.25rem;display:inline-flex}.icon-btn:hover{background:var(--bg-subtle)}.parent-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:3rem;display:flex}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.custom-dropdown{display:inline-block;position:relative}.dropdown-trigger{background:var(--primary);text-transform:uppercase;box-shadow:var(--shadow-sm);cursor:pointer;border:2px solid #000;border-radius:4px;align-items:center;gap:.5rem;height:38px;padding:8px 16px;font-size:.75rem;font-weight:800;transition:all .1s;display:flex}.dropdown-trigger:hover{transform:translate(1px,1px);box-shadow:1px 1px #000}.dropdown-trigger span{text-overflow:ellipsis;white-space:nowrap;max-width:160px;overflow:hidden}.dropdown-menu{z-index:1000;background:#fff;border:2px solid #000;border-radius:4px;min-width:180px;position:absolute;top:110%;right:0;overflow:hidden;box-shadow:4px 4px #000}.dropdown-item{cursor:pointer;text-transform:uppercase;border-bottom:1px solid #000;padding:.625rem 1.25rem;font-size:.75rem;font-weight:700}.dropdown-item:hover{background:var(--bg-subtle)}.dropdown-item.active{background:var(--primary)}.meta-group select{text-transform:uppercase;cursor:pointer;width:100%;box-shadow:var(--shadow-sm);appearance:none;background:#f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .75rem center no-repeat;border:2px solid #000;border-radius:4px;outline:none;padding:.75rem 2.5rem .75rem 1rem;font-size:.875rem;font-weight:700}.add-mistake-form-polished{background:#fff;border:2px solid #000;border-radius:4px;margin-bottom:4rem;box-shadow:6px 6px #000}.form-header{background:var(--primary);border-bottom:2px solid #000;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.form-header h3{font-size:1.125rem}.form-body{padding:1.5rem}.add-mistake-form-polished textarea{resize:vertical;background:#f8fafc;border:2px solid #000;border-radius:4px;width:100%;min-height:120px;padding:1rem;font-size:.9375rem}.metadata-row{flex-wrap:wrap;gap:1.5rem;margin-top:1.5rem;display:flex}.meta-group{flex:1;min-width:200px}.meta-group label{margin-bottom:.5rem;font-size:.75rem}.difficulty-stars{gap:.5rem;font-size:1.5rem}.item-answer-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:.5rem;padding:.5rem;font-size:.875rem}.warning-banner{margin-bottom:2rem;padding:1rem 1.5rem;font-size:.875rem}.hidden-file-input{display:none}.answer-section{margin-top:1.5rem}.answer-input{background:#f8fafc;border:2px solid #000;border-radius:4px;width:100%;padding:.875rem 1rem;font-size:.9375rem;font-weight:600}.link-input-row{gap:1rem;display:flex}.link-username-input{background:#f8fafc;border:2px solid #000;border-radius:4px;flex:1;padding:.875rem 1rem;font-size:.9375rem;font-weight:600}.edit-answer-input{border:1px solid var(--border);border-radius:8px;width:100%;margin-bottom:1rem;padding:.5rem}.edit-meta-row{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.edit-actions{gap:.5rem;display:flex}.edit-difficulty span{cursor:pointer;color:#e2e8f0}.edit-difficulty span.filled{color:#f59e0b}.close-btn{color:#000;cursor:pointer;background:0 0;border:none;align-items:center;padding:0 .25rem;font-size:1.5rem;font-weight:700;line-height:1;display:inline-flex}.input-section{margin-bottom:1.5rem}.input-section label,.meta-group label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:.5rem;font-size:.75rem;font-weight:800;display:block}.content-input-container{align-items:flex-start;gap:.75rem;display:flex}.content-input-container textarea{flex:1}.ocr-trigger-btn{cursor:pointer;color:#000;width:48px;height:48px;box-shadow:var(--shadow-sm);background:#fff;border:2px solid #000;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.ocr-trigger-btn.has-file{background:#dcfce7}.file-name-tag{color:var(--text-muted);margin-top:.5rem;font-size:.75rem;font-weight:700}.difficulty-stars .star{color:#e2e8f0;cursor:pointer}.difficulty-stars .star.filled{color:#f59e0b}.form-footer{border-top:2px solid #000;padding:1.5rem}.full-width{justify-content:center;width:100%}.add-mistake-form-polished textarea:focus,.answer-input:focus,.link-username-input:focus,.meta-group select:focus,.subject-select-trigger:focus{border-color:var(--primary);box-shadow:3px 3px 0px var(--primary);outline:none}.subject-select{position:relative}.subject-select-trigger{box-sizing:border-box;text-transform:uppercase;color:#000;cursor:pointer;width:100%;box-shadow:var(--shadow-sm);background:#f8fafc;border:2px solid #000;border-radius:4px;justify-content:space-between;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:.875rem;font-weight:700;display:flex}.subject-select-menu{z-index:1000;background:#fff;border:2px solid #000;border-radius:4px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:4px 4px #000}.subject-select-option{text-transform:uppercase;cursor:pointer;border-bottom:2px solid #000;justify-content:space-between;align-items:center;padding:.625rem 1rem;font-size:.875rem;font-weight:700;display:flex}.subject-select-option:last-child{border-bottom:none}.subject-select-option:hover{background:var(--bg-subtle)}.subject-select-option.active{background:var(--primary)}.edit-meta-row .subject-select{flex:1}.input-hint{color:var(--text-muted);margin-top:.5rem;font-size:.75rem;font-weight:600}.answer-type-toggle{gap:.5rem;margin-bottom:1rem;display:flex}.type-btn{text-transform:uppercase;letter-spacing:.05em;cursor:pointer;background:#fff;border:2px solid #000;border-radius:4px;flex:1;padding:.625rem 1rem;font-size:.75rem;font-weight:800}.type-btn.active{background:var(--primary);box-shadow:var(--shadow-sm)}.option-list{flex-direction:column;gap:.75rem;display:flex}.option-row{cursor:pointer;background:#f8fafc;border:2px solid #000;border-radius:4px;align-items:center;gap:.75rem;padding:.5rem .75rem;display:flex}.option-row.correct{background:#dcfce7}.option-input{background:0 0;border:none;outline:none;flex:1;font-size:.9375rem;font-weight:600}.option-upload-btn{cursor:pointer;color:#000;background:#fff;border:2px solid #000;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.option-image{flex-shrink:0;position:relative}.option-image img{object-fit:cover;border:2px solid #000;border-radius:4px;width:36px;height:36px;display:block}.option-image-remove{color:#fff;cursor:pointer;background:#ef4444;border:1px solid #000;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;padding:0;display:inline-flex;position:absolute;top:-8px;right:-8px}.student-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:3.5rem;display:flex}.streak-badge{background:var(--primary);color:#000;border:2px solid #000;border-radius:4px;padding:.75rem 1.5rem;font-family:Barlow Condensed,sans-serif;font-size:.8125rem;font-weight:900;box-shadow:3px 3px #000}.practice-options{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem;margin-bottom:3rem;display:grid}.practice-card{text-align:center;background:#fff;border:2px solid #000;border-radius:4px;padding:2.5rem 1.5rem;transition:all .1s;box-shadow:4px 4px #000}.practice-card:hover{transform:translate(2px,2px);box-shadow:2px 2px #000}.card-icon{background:#f8fafc;border:2px solid #000;border-radius:4px;width:60px;height:60px;margin:0 auto 1.5rem;box-shadow:2px 2px #000}.practice-card h3{margin-bottom:.75rem;font-size:1.25rem}.practice-card p{margin-bottom:2rem;font-size:.875rem}.achievements-section{margin-top:1rem}.achievements-section h2{align-items:center;gap:.75rem;margin-bottom:1.25rem;font-size:1.25rem;font-weight:900;display:flex}.badge-count{background:var(--primary);border:2px solid #000;border-radius:4px;padding:.125rem .5rem;font-size:.75rem;font-weight:800}.badge-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:1rem;display:grid}.badge-item{text-align:center;border:2px solid #000;border-radius:4px;flex-direction:column;align-items:center;gap:.375rem;padding:1rem .75rem;transition:transform .1s,box-shadow .1s;display:flex}.badge-item.earned{background:var(--primary);cursor:default;box-shadow:3px 3px #000}.badge-item.earned:hover{transform:translate(1px,1px);box-shadow:2px 2px #000}.badge-item.locked{opacity:.45;background:#fff;border-style:dashed}.badge-icon{font-size:1.75rem;line-height:1}.badge-name{text-transform:uppercase;letter-spacing:.04em;color:#000;font-size:.6875rem;font-weight:800}.badge-desc{color:var(--text-muted);font-size:.625rem;font-weight:600;line-height:1.3}.practice-session-page{flex-direction:column;max-width:800px;min-height:80vh;margin:0 auto;padding:1.5rem;display:flex}.session-loading{height:60vh;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;font-family:Barlow Condensed,sans-serif;font-size:1.25rem;font-weight:700;display:flex}.session-header{align-items:center;gap:1.5rem;margin-bottom:2.5rem;display:flex}.back-link{text-transform:uppercase;letter-spacing:.05em;color:#000;background:#fff;border:2px solid #000;border-radius:4px;flex-shrink:0;padding:.5rem 1rem;font-size:.75rem;font-weight:800}.progress-wrap{flex-direction:column;flex:1;gap:.5rem;display:flex}.progress-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:.75rem;font-weight:800}.progress-track{background:#fff;border:2px solid #000;border-radius:4px;height:12px;position:relative;overflow:hidden}.progress-fill{background:var(--primary);height:100%;transition:width .2s}.practice-card-active{text-align:left;background:#fff;border:2px solid #000;border-radius:4px;width:100%;padding:2.5rem;box-shadow:6px 6px #000}.mistake-subject{text-transform:uppercase;letter-spacing:.05em;color:#000;background:var(--primary);border:2px solid #000;border-radius:4px;margin-bottom:1.5rem;padding:.35rem .75rem;font-size:.6875rem;font-weight:800;display:inline-block}.mistake-content{margin-bottom:2rem}.mistake-image{border:2px solid #000;border-radius:4px;max-width:100%;margin-bottom:1rem}.mistake-text{color:#000;font-size:1.125rem;font-weight:500;line-height:1.6}.answer-form{width:100%}.answer-form .input-group label{text-transform:uppercase;letter-spacing:.05em;color:#000;margin-bottom:.75rem;font-size:.9375rem;font-weight:800;display:block}.submit-answer-btn{justify-content:center;width:100%}.answer-form .input-group input{background:#fff;border:3px solid #000;border-radius:4px;width:100%;margin-bottom:1.5rem;padding:1rem;font-size:1.125rem;font-weight:700}.session-complete{max-width:800px;margin:0 auto;padding:1.5rem}.session-complete>h1{color:#000;margin-bottom:.25rem;font-size:2.25rem}.session-complete>p{color:var(--text-muted);margin-bottom:2.5rem;font-weight:600}.results-counters{gap:1.5rem;margin-bottom:3rem;display:flex}.counter-item{background:#fff;border:2px solid #000;border-radius:4px;flex-direction:column;flex:1;align-items:center;gap:.25rem;padding:1.5rem 2rem;display:flex;box-shadow:4px 4px #000}.counter-item.correct{background:#dcfce7}.counter-item.wrong{background:#fee2e2}.counter-value{color:#000;font-family:Barlow Condensed,sans-serif;font-size:2.5rem;font-weight:900;line-height:1}.counter-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:.75rem;font-weight:800}.results-summary h2{margin-bottom:1.5rem;font-size:1.25rem}.results-list{flex-direction:column;gap:1.5rem;display:flex}.result-item{text-align:left;background:#fff;border:2px solid #000;border-left-width:8px;border-radius:4px;padding:1.5rem;box-shadow:4px 4px #000}.result-item.correct{border-left-color:#22c55e}.result-item.wrong{border-left-color:#ef4444}.result-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.result-number{text-transform:uppercase;font-size:.875rem;font-weight:800}.result-status{text-transform:uppercase;align-items:center;gap:.375rem;font-size:.75rem;font-weight:800;display:inline-flex}.result-item.correct .result-status{color:#16a34a}.result-item.wrong .result-status{color:#dc2626}.result-content{color:#000;margin-bottom:1.25rem;font-size:1rem;font-weight:500;line-height:1.6}.result-comparison{border-top:1.5px solid #e2e8f0;flex-direction:column;gap:.5rem;padding-top:1rem;display:flex}.res-row{gap:.5rem;font-size:.875rem;display:flex}.res-row strong{font-weight:800}.txt-correct{color:#16a34a;font-weight:700}.txt-wrong{color:#dc2626;font-weight:700}.solution-box{text-align:left;background:#fffbeb;border:2px solid #fde68a;border-radius:12px;margin-bottom:2rem;padding:1rem}.solution-box-note{color:#92400e;align-items:center;gap:.5rem;display:flex}.session-back-btn{margin-top:2rem}.option-cards{flex-direction:column;gap:1rem;margin-bottom:1.5rem;display:flex}.option-card{cursor:pointer;text-align:left;box-shadow:var(--shadow-sm);background:#fff;border:2px solid #000;border-radius:4px;flex-direction:column;gap:.75rem;padding:1rem 1.25rem;font-size:1.0625rem;font-weight:600;transition:all .1s;display:flex}.option-card:hover{transform:translate(1px,1px);box-shadow:1px 1px #000}.option-card.selected{background:var(--primary)}.option-card-row{align-items:center;gap:.75rem;display:flex}.option-card-image{object-fit:contain;border:2px solid #000;border-radius:4px;max-width:60%;max-height:80px}.profile-page{max-width:640px;margin:0 auto;padding:2rem 1rem}.profile-card{background:#fff;border:2px solid #000;border-radius:4px;margin-top:3rem;padding:4rem 3rem;box-shadow:4px 4px #000}.profile-avatar-large{width:96px;height:96px;color:var(--primary);border:2px solid var(--primary);background:#f8fafc;border-radius:4px;justify-content:center;align-items:center;margin:0 auto 3rem;display:flex}.profile-form .input-group label{color:var(--text-muted);text-transform:uppercase;margin-bottom:.875rem;font-size:.8125rem;font-weight:700;display:block}.profile-form .input-group input{width:100%;color:var(--text);box-sizing:border-box;background:#f8fafc;border:2px solid #000;border-radius:4px;outline:none;padding:1rem 1.25rem;font-size:1rem}.profile-form .input-group input:focus{border-color:var(--primary)}.save-btn{border-radius:4px;margin-top:2rem;padding:1.125rem}.analytics-page{max-width:800px;margin:0 auto;padding:1.5rem}.analytics-back-btn{text-transform:uppercase;letter-spacing:.05em;cursor:pointer;background:#fff;border:2px solid #000;border-radius:4px;align-items:center;gap:.375rem;margin-bottom:1.5rem;padding:.4rem .875rem;font-size:.75rem;font-weight:800;display:inline-flex}.analytics-title{margin-bottom:1.5rem;font-size:2rem;font-weight:900}.analytics-loading,.analytics-empty{text-align:center;color:var(--text-muted);padding:4rem 1rem;font-size:1.0625rem;font-weight:600}.analytics-empty-inline{color:var(--text-muted);padding:.5rem 0;font-weight:600}.analytics-card{background:#fff;border:2px solid #000;border-radius:4px;margin-bottom:1.5rem;padding:1.5rem;box-shadow:4px 4px #000}.analytics-section-title{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:1.25rem;font-size:.75rem;font-weight:800}.status-counts{flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;display:flex}.status-chip{border:2px solid #000;border-radius:4px;flex-direction:column;align-items:center;gap:.125rem;min-width:4rem;padding:.625rem 1rem;font-size:1.5rem;font-weight:900;display:flex}.status-chip span{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:.625rem;font-weight:800}.status-chip.new{background:#fee2e2}.status-chip.practiced{background:#dbeafe}.status-chip.mastered{background:#dcfce7}.status-chip.total{background:var(--primary)}.status-bar{border:2px solid #000;border-radius:4px;height:20px;margin-bottom:.75rem;display:flex;overflow:hidden}.bar-seg{transition:width .3s}.seg-new{background:#ef4444}.seg-practiced{background:#3b82f6}.seg-mastered{background:#22c55e}.bar-legend{color:var(--text-muted);align-items:center;gap:1rem;font-size:.75rem;font-weight:700;display:flex}.legend-dot{border:1.5px solid #000;border-radius:2px;width:10px;height:10px;margin-right:.25rem;display:inline-block}.dot-new{background:#ef4444}.dot-practiced{background:#3b82f6}.dot-mastered{background:#22c55e}.subject-list{flex-direction:column;gap:.625rem;display:flex}.subject-row{grid-template-columns:90px 1fr 48px;align-items:center;gap:.75rem;display:grid}.subject-name{white-space:nowrap;text-overflow:ellipsis;font-size:.8125rem;font-weight:700;overflow:hidden}.subject-bar-wrap{flex:1}.subject-bar{border:2px solid #000;border-radius:4px;height:14px;display:flex;overflow:hidden}.subject-count{text-align:right;color:var(--text-muted);font-size:.75rem;font-weight:800}.trend-chart{border-bottom:2px solid #000;align-items:flex-end;gap:4px;padding-bottom:0;display:flex}.trend-col{flex-direction:column;flex:1;align-items:stretch;min-width:0;display:flex}.trend-bars{flex-direction:column;justify-content:flex-end;display:flex}.trend-bar{width:100%;min-height:0}.bar-got-it{background:#22c55e}.bar-tricky{background:#ef4444}.trend-label{color:var(--text-muted);text-align:center;white-space:nowrap;text-overflow:ellipsis;padding-top:4px;font-size:.5625rem;font-weight:700;overflow:hidden}.session-list{flex-direction:column;gap:.5rem;display:flex}.session-row{border-bottom:1px solid #e2e8f0;grid-template-columns:52px 56px 1fr 44px;align-items:center;gap:.75rem;padding:.5rem 0;display:grid}.session-row:last-child{border-bottom:none}.session-type-badge{text-transform:uppercase;letter-spacing:.04em;text-align:center;border:2px solid #000;border-radius:4px;padding:.2rem .5rem;font-size:.625rem;font-weight:800}.session-type-badge.quick{background:var(--primary)}.session-type-badge.deep{background:#dbeafe}.session-date{color:var(--text-muted);font-size:.75rem;font-weight:600}.session-score-bar{background:#f1f5f9;border:1.5px solid #000;border-radius:4px;height:8px;overflow:hidden}.session-score-fill{height:100%;transition:width .3s}.session-score-fill.good{background:#22c55e}.session-score-fill.bad{background:#ef4444}.session-score{text-align:right;font-size:.8125rem;font-weight:800}.session-score.good{color:#16a34a}.session-score.bad{color:#dc2626}.navbar{z-index:100;background:#fff;border-bottom:3px solid #000;justify-content:space-between;align-items:center;padding:.75rem 2rem;display:flex;position:sticky;top:0}.nav-logo{color:#000;text-transform:uppercase;align-items:center;gap:.5rem;font-family:Barlow Condensed,sans-serif;font-size:1.5rem;font-weight:900;text-decoration:none;display:flex}.nav-logo svg{color:var(--primary);stroke-width:3px;width:20px;height:20px}.user-menu{align-items:center;gap:.75rem;display:flex;position:relative}.user-info{flex-direction:column;align-items:flex-end;display:flex}.user-name{color:#000;font-size:.8125rem;font-weight:800}.user-role{color:var(--text-muted);text-transform:uppercase;font-size:.625rem;font-weight:700}.user-avatar{background:var(--primary);color:#000;cursor:pointer;border:2px solid #000;border-radius:4px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .1s;display:flex;box-shadow:2px 2px #000}.user-avatar:hover{transform:translate(1px,1px);box-shadow:1px 1px #000}.dropdown-content{z-index:110;background:#fff;border:2px solid #000;border-radius:4px;min-width:160px;margin-top:.5rem;display:none;position:absolute;top:100%;right:0;overflow:hidden;box-shadow:4px 4px #000}.user-menu:after{content:"";width:160px;height:.5rem;display:none;position:absolute;top:100%;right:0}.user-menu:hover .dropdown-content,.user-menu:hover:after{display:block}.dropdown-content a,.dropdown-content button{text-align:left;color:#000;text-transform:uppercase;background:0 0;border:none;align-items:center;gap:.5rem;width:100%;padding:.75rem 1rem;font-size:.75rem;font-weight:700;text-decoration:none;display:flex}.dropdown-content a:hover,.dropdown-content button:hover{background-color:var(--primary)}
