.dashboard-hero{padding:24px;border-radius:18px;background:radial-gradient(circle at 18% 18%,rgba(124,58,237,.12),transparent 28%),linear-gradient(135deg,var(--chrome-bg),var(--chrome-bg-subtle));border:1px solid var(--border);display:flex;align-items:center;gap:20px}.dashboard-hero__icon{width:56px;height:56px;border-radius:16px;background:#7c3aed1f;color:#7c3aed;display:grid;place-items:center;font-size:24px;flex-shrink:0;box-shadow:inset 0 0 0 1px #7c3aed33}:root[data-theme=dark] .dashboard-hero__icon{background:#a78bfa26;color:#a78bfa;box-shadow:inset 0 0 0 1px #a78bfa40}.dashboard-hero__content{flex:1}.dashboard-hero h1{margin:0 0 4px;font-size:26px;line-height:1.15}.dashboard-hero__lead{margin:0;color:var(--text-muted);font-size:14px;line-height:1.6}.dashboard-hero__actions{flex-shrink:0}.level-dropdown{position:relative}.level-dropdown__trigger{width:40px;height:40px;border-radius:999px;border:1px solid var(--control-border);background:var(--control-bg);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:var(--text);font-size:16px}.level-dropdown__trigger:hover{background:var(--chrome-bg-hover);border-color:var(--primary);color:var(--primary)}.level-dropdown__trigger:focus-visible{outline:none;box-shadow:0 0 0 2px #2563eb33}:root[data-theme=dark] .level-dropdown__trigger:focus-visible{box-shadow:0 0 0 2px #60a5fa33}.level-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;font-weight:800;font-size:14px;color:#fff}.level-dropdown__trigger .level-badge{width:26px;height:26px;font-size:14px;border-radius:999px}.level-badge--a{background:linear-gradient(135deg,#10b981,#059669)}.level-badge--b{background:linear-gradient(135deg,#3b82f6,#2563eb)}.level-badge--c{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.level-dropdown__menu{position:absolute;top:calc(100% + 8px);right:0;width:240px;background:var(--chrome-bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-soft);z-index:100;opacity:0;visibility:hidden;transform:translateY(-8px);transition:all .2s cubic-bezier(.16,1,.3,1);padding:8px}.level-dropdown.is-open .level-dropdown__menu{opacity:1;visibility:visible;transform:translateY(0)}.level-dropdown__header{padding:8px 12px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.level-dropdown__item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:none;background:transparent;border-radius:8px;cursor:pointer;text-align:left;transition:background .15s ease}.level-dropdown__item:hover{background:var(--chrome-bg-hover)}.level-dropdown__item.is-active{background:#2563eb14}:root[data-theme=dark] .level-dropdown__item.is-active{background:#60a5fa1f}.level-dropdown__icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--text-muted)}.level-dropdown__text{flex:1;display:flex;flex-direction:column;gap:2px}.level-dropdown__text strong{font-size:14px;color:var(--text);line-height:1.2}.level-dropdown__text span{font-size:12px;color:var(--text-muted);line-height:1.2}.level-dropdown__check{color:#2563eb;font-size:14px}:root[data-theme=dark] .level-dropdown__check{color:#60a5fa}.dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stat-card{padding:16px;border-radius:14px;border:1px solid var(--border);background:var(--chrome-bg);display:flex;align-items:center;gap:12px}.stat-card__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;font-size:16px;flex-shrink:0}.stat-card__icon--purple{background:#7c3aed1f;color:#7c3aed}.stat-card__icon--green{background:#0596691f;color:#059669}.stat-card__icon--blue{background:#2563eb1f;color:#2563eb}.stat-card__icon--orange{background:#d977061f;color:#d97706}:root[data-theme=dark] .stat-card__icon--purple{background:#a78bfa26;color:#a78bfa}:root[data-theme=dark] .stat-card__icon--green{background:#34d39926;color:#34d399}:root[data-theme=dark] .stat-card__icon--blue{background:#60a5fa26;color:#60a5fa}:root[data-theme=dark] .stat-card__icon--orange{background:#fbbf2426;color:#fbbf24}.stat-card__value{font-size:22px;font-weight:800;line-height:1}.stat-card__label{font-size:12px;color:var(--text-muted);margin-top:2px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dashboard-panel{padding:20px;border-radius:16px;border:1px solid var(--border);background:var(--chrome-bg)}.dashboard-panel h2{margin:0 0 14px;font-size:16px;display:flex;align-items:center;gap:8px}.dashboard-panel h2 i{font-size:14px}.panel-icon--blue{color:#2563eb}.panel-icon--green{color:#059669}.panel-icon--amber{color:#d97706}.panel-icon--red{color:#ef4444}.dashboard-icon--muted{color:var(--text-muted)}.dashboard-icon--green{color:#059669}.dashboard-icon--blue{color:#3b82f6}.dashboard-icon--amber{color:#d97706}.dashboard-icon--red{color:#dc2626}.dashboard-inline-icon{margin-right:4px}.dashboard-link-reset{color:inherit;text-decoration:none}.dashboard-insight__link{color:inherit;margin-left:4px}.activity-item{display:flex;align-items:center;gap:10px}.activity-item__icon{flex-shrink:0}.activity-item__title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-item__status{opacity:.6}.activity-item__time{flex-shrink:0;font-size:11px;color:var(--text-muted)}.milestone-item{opacity:.5}.milestone-item--reached{opacity:1}.milestone-item--frontier{display:block;padding:10px 12px}.milestone-icon{width:16px;text-align:center;font-size:14px}.progress-item--milestone{width:100%;gap:12px}.progress-item__label--milestone{display:flex;align-items:center;gap:10px;font-weight:400;color:var(--text)}.progress-item__bar--thin{height:6px}.progress-item__pct--milestone{font-size:12px;color:var(--text-muted);font-weight:400;text-align:right}.suggestion-item__icon{margin-right:6px;opacity:.6}.lesson-item__icon{margin-right:6px;opacity:.7}.progress-list{display:grid;gap:10px}.progress-item{display:grid;grid-template-columns:200px 1fr 40px;align-items:center;gap:12px}.progress-item__label{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-item__bar{height:8px;border-radius:999px;background:var(--border, #e2e8f0);overflow:hidden}.progress-item__fill{height:100%;border-radius:999px;transition:width .6s ease}.progress-item__fill--green{background:linear-gradient(90deg,#059669,#34d399)}.progress-item__fill--blue{background:linear-gradient(90deg,#2563eb,#60a5fa)}.progress-item__fill--orange{background:linear-gradient(90deg,#d97706,#fbbf24)}.progress-item__fill--purple{background:linear-gradient(90deg,#7c3aed,#a78bfa)}.progress-item__pct{font-size:13px;font-weight:700;color:var(--accent-strong);min-width:36px;text-align:right}.suggestion-list{display:grid;gap:8px}.suggestion-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface-strong);transition:background .12s ease}.suggestion-item:hover{background:var(--chrome-bg-hover)}.suggestion-item__title{font-size:13px;font-weight:600}.suggestion-item__meta{font-size:11px;color:var(--text-muted);margin-top:2px}.suggestion-item__badge{font-size:10px;font-weight:700;padding:2px 8px;border-radius:999px;flex-shrink:0}.badge--easy{background:#dcfce7;color:#15803d}.badge--medium{background:#fef9c3;color:#a16207}:root[data-theme=dark] .badge--easy{background:#22c55e2e;color:#4ade80}:root[data-theme=dark] .badge--medium{background:#eab3082e;color:#facc15}.tips-list{display:grid;gap:8px}.tip-item{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:10px;background:var(--surface-strong);font-size:13px;line-height:1.55;color:var(--text-muted);transition:background .12s ease}.tip-item--link:hover{background:var(--chrome-bg-hover)}.tip-item i{color:var(--accent-strong);margin-top:3px;flex-shrink:0}.dashboard-insight{margin-top:14px;padding:12px 14px;border-radius:10px;background:#2563eb0f;border:1px solid rgba(37,99,235,.12);font-size:12px;line-height:1.55;color:var(--accent-strong)}:root[data-theme=dark] .dashboard-insight{background:#60a5fa14;border-color:#60a5fa26}.error-list{display:grid;gap:10px}.error-item{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:12px;background:var(--surface-strong);border:1px solid var(--border);transition:all .2s ease}.error-item:hover{background:var(--chrome-bg-hover);border-color:#ef444433}.error-item__icon{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;font-size:14px;flex-shrink:0;margin-top:2px}.error-item__content{flex:1;min-width:0}.error-item__title{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:4px}.error-item__label{font-size:13px;font-weight:600;line-height:1.4;color:var(--text)}.error-item__count{font-size:11px;font-weight:700;color:var(--text-muted);background:var(--chrome-bg);padding:2px 6px;border-radius:6px;border:1px solid var(--border);flex-shrink:0}.error-item__meta{font-size:11px;color:var(--text-muted);font-family:var(--font-mono, monospace);display:flex;justify-content:space-between;align-items:center}.error-item__link a{color:var(--accent-strong);padding:2px 4px;border-radius:4px;transition:background .2s}.error-item__link a:hover{background:#2563eb1a}@media(max-width:900px),(hover:none)and (pointer:coarse){.dashboard-stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:480px){.progress-item{grid-template-columns:1fr 40px;gap:6px 12px}.progress-item__label{grid-column:1 / -1}.dashboard-stats{grid-template-columns:1fr}.dashboard-hero h1{font-size:22px}}
