:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;--bg: #0a0a0a;--bg-card: rgba(255, 255, 255, .03);--bg-card-hover: rgba(255, 255, 255, .06);--border: rgba(255, 255, 255, .08);--border-light: rgba(255, 255, 255, .12);--text: #fafafa;--text-muted: rgba(255, 255, 255, .55);--text-dim: rgba(255, 255, 255, .35);--primary: #6366f1;--primary-hover: #818cf8;--danger: #ef4444;--danger-hover: #f87171;--success: #22c55e;--warn: #f59e0b;--sidebar-w: 240px}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh;background:var(--bg);color:var(--text)}.app-layout{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-w);background:#0006;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:1.5rem 0;position:fixed;top:0;left:0;bottom:0;z-index:100;overflow-y:auto}.sidebar-brand{display:flex;align-items:center;gap:.75rem;padding:0 1.25rem;margin-bottom:2rem}.brand-icon{width:36px;height:36px;background:linear-gradient(135deg,#6366f1,#a855f7);border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;letter-spacing:-.03em}.brand-text{font-weight:700;font-size:1.1rem;letter-spacing:-.02em}.sidebar-nav{display:flex;flex-direction:column;gap:2px;padding:0 .75rem}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.6rem .75rem;border-radius:8px;border:none;background:transparent;color:var(--text-muted);font-size:.9rem;cursor:pointer;transition:all .15s;text-align:left}.nav-item:hover{background:var(--bg-card-hover);color:var(--text)}.nav-item.active{background:#6366f126;color:#a5b4fc}.nav-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:.75rem;font-weight:700;background:var(--border);flex-shrink:0}.nav-item.active .nav-icon{background:var(--primary);color:#fff}.main-content{flex:1;margin-left:var(--sidebar-w);padding:2rem 2.5rem;min-height:100vh}.mobile-menu-btn{display:none;position:fixed;top:1rem;left:1rem;z-index:200;width:40px;height:40px;border-radius:8px;border:1px solid var(--border);background:#000c;color:var(--text);font-size:1.2rem;cursor:pointer;align-items:center;justify-content:center}.sidebar-overlay{display:none}.page{max-width:1100px}.page-title{font-size:1.75rem;font-weight:700;letter-spacing:-.03em;margin-bottom:.25rem}.page-subtitle{color:var(--text-muted);font-size:.95rem;margin-bottom:1.5rem}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.stat-value{font-size:1.75rem;font-weight:700;letter-spacing:-.03em;line-height:1.2}.stat-label{font-size:.8rem;color:var(--text-muted);margin-top:.25rem;text-transform:uppercase;letter-spacing:.05em}.stat-sub{font-size:.8rem;color:var(--text-dim);margin-top:.25rem}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.dashboard-col{display:flex;flex-direction:column;gap:1.5rem}.card-section{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.25rem;margin-bottom:1.5rem}.section-title{font-size:.95rem;font-weight:600;margin-bottom:1rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.item-list{display:flex;flex-direction:column;gap:.5rem}.list-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;transition:background .15s;gap:.75rem}.list-item:hover{background:var(--bg-card-hover)}.list-item.completed{opacity:.5}.list-item.completed .list-item-title{text-decoration:line-through}.list-item-left{display:flex;align-items:center;gap:.75rem;min-width:0;flex:1}.list-item-right{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.list-item-title{font-weight:500;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-item-sub{font-size:.8rem;color:var(--text-muted);display:flex;align-items:center;gap:.35rem}.list-item-date{font-size:.8rem;color:var(--text-muted);white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dot-sm{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0}.badge{font-size:.7rem;font-weight:600;padding:.2rem .5rem;border-radius:6px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.badge-urgent{background:#ef444426;color:#fca5a5}.badge-warn{background:#f59e0b26;color:#fcd34d}.badge-ok{background:#22c55e26;color:#86efac}.priority-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.priority-high{background:#ef4444}.priority-medium{background:#f59e0b}.priority-low{background:#22c55e}.check-btn{width:22px;height:22px;border-radius:6px;border:2px solid var(--border-light);background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.7rem;flex-shrink:0;transition:all .15s}.check-btn:hover{border-color:var(--primary)}.check-btn.checked{background:var(--success);border-color:var(--success)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.5rem 1rem;border-radius:8px;border:1px solid var(--border);background:var(--bg-card);color:var(--text);font-size:.85rem;font-weight:500;cursor:pointer;transition:all .15s;white-space:nowrap}.btn:hover{background:var(--bg-card-hover)}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-ghost{background:transparent;border-color:transparent;color:var(--text-muted)}.btn-ghost:hover{color:var(--text);background:var(--bg-card)}.btn-danger{border-color:#ef44444d;color:#fca5a5}.btn-danger:hover{background:#ef444426}.btn-sm{padding:.3rem .6rem;font-size:.75rem}.btn-lg{padding:.65rem 1.5rem;font-size:.95rem}.form-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.form-card h3{font-size:1rem;margin-bottom:1rem}.form-row{margin-bottom:1rem}.form-row label{display:block;font-size:.8rem;color:var(--text-muted);margin-bottom:.35rem;font-weight:500}.form-row input,.form-row select,.form-row textarea{width:100%;padding:.55rem .75rem;border-radius:8px;border:1px solid var(--border);background:#0000004d;color:var(--text);font-size:.9rem;font-family:inherit}.form-row input:focus,.form-row select:focus,.form-row textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px #6366f133}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}.form-actions{display:flex;gap:.75rem;margin-top:.5rem}.icon-picker,.color-picker{display:flex;flex-wrap:wrap;gap:.4rem}.icon-opt{width:36px;height:36px;border-radius:8px;border:1px solid var(--border);background:var(--bg-card);cursor:pointer;font-size:1.1rem;display:flex;align-items:center;justify-content:center;transition:all .15s}.icon-opt.selected,.icon-opt:hover{border-color:var(--primary);background:#6366f126}.color-opt{width:28px;height:28px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:all .15s}.color-opt.selected{border-color:#fff;transform:scale(1.15)}.color-opt:hover{transform:scale(1.1)}.filters{display:flex;gap:.75rem;margin-bottom:1.5rem}.filters select{padding:.45rem .75rem;border-radius:8px;border:1px solid var(--border);background:var(--bg-card);color:var(--text);font-size:.85rem}.subjects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.subject-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.subject-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.subject-icon{font-size:1.5rem}.subject-card-header h3{font-size:1rem;font-weight:600}.subject-stats{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--text-muted);margin-bottom:1rem}.subject-actions{display:flex;gap:.5rem}.subject-bars{display:flex;flex-direction:column;gap:1rem}.bar-header{display:flex;justify-content:space-between;font-size:.85rem;margin-bottom:.35rem}.bar-pct{color:var(--text-muted);font-size:.8rem}.bar-track{width:100%;height:8px;background:#ffffff0f;border-radius:4px;overflow:hidden}.bar-fill{height:100%;border-radius:4px;transition:width .5s ease}.bar-detail{font-size:.7rem;color:var(--text-dim);margin-top:.2rem}.exams-list{display:flex;flex-direction:column;gap:1rem}.exam-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.exam-card.past{opacity:.5}.exam-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.exam-title{font-size:1rem;font-weight:600}.exam-sub{font-size:.8rem;color:var(--text-muted);margin-top:.2rem}.exam-details{font-size:.85rem;color:var(--text-muted);display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem}.exam-notes{font-style:italic;color:var(--text-dim)}.exam-actions{display:flex;gap:.5rem}.pomodoro-layout{display:grid;grid-template-columns:1fr 300px;gap:2rem;align-items:start}.timer-section{display:flex;flex-direction:column;align-items:center;gap:2rem}.timer-ring-container{position:relative;width:260px;height:260px}.timer-ring{width:100%;height:100%}.timer-display{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.timer-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:var(--primary);font-weight:600}.timer-label.break{color:var(--success)}.timer-digits{font-size:3rem;font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.1}.timer-state{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em}.timer-controls{display:flex;gap:.75rem}.sessions-count{font-size:.85rem;color:var(--text-muted)}.timer-settings{display:flex;flex-direction:column;gap:0}.timer-select{width:100%;padding:.55rem .75rem;border-radius:8px;border:1px solid var(--border);background:#0000004d;color:var(--text);font-size:.9rem}.preset-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.custom-timer{display:flex;flex-direction:column;gap:.75rem}.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.bar-chart{display:flex;align-items:flex-end;gap:.75rem;height:180px;padding-top:1rem}.chart-bar-col{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}.chart-bar-wrapper{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center}.chart-bar{width:100%;max-width:48px;border-radius:6px 6px 0 0;position:relative;min-height:4px;transition:height .5s ease}.chart-bar-label{position:absolute;top:-20px;left:50%;transform:translate(-50%);font-size:.65rem;color:var(--text-muted);white-space:nowrap}.chart-bar-day{font-size:.7rem;color:var(--text-dim);margin-top:.5rem;text-align:center}.subject-breakdown{display:flex;flex-direction:column;gap:1rem}.breakdown-label{display:flex;justify-content:space-between;font-size:.85rem;margin-bottom:.35rem}.heatmap{display:grid;grid-template-columns:repeat(30,1fr);gap:3px;margin-bottom:.75rem}.heatmap-cell{aspect-ratio:1;border-radius:3px;background:#ffffff0a}.heatmap-cell.intensity-0{background:#ffffff0a}.heatmap-cell.intensity-1{background:#6366f133}.heatmap-cell.intensity-2{background:#6366f166}.heatmap-cell.intensity-3{background:#6366f199}.heatmap-cell.intensity-4{background:#6366f1d9}.heatmap-legend{display:flex;align-items:center;gap:4px;font-size:.7rem;color:var(--text-dim)}.heatmap-legend .heatmap-cell{width:14px;height:14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:1rem}.cal-header{padding:.6rem;text-align:center;font-size:.75rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;background:#0000004d}.cal-cell{background:var(--bg);min-height:100px;padding:.5rem;display:flex;flex-direction:column;gap:.25rem}.cal-cell:hover{background:var(--bg-card-hover)}.cal-empty{background:#0003;opacity:.4}.cal-today{background:#6366f114}.cal-day{font-size:.8rem;font-weight:600;margin-bottom:.25rem}.cal-today .cal-day{color:var(--primary)}.cal-study{font-size:.65rem;color:var(--success);font-weight:500}.cal-event{font-size:.65rem;padding:.15rem .35rem;border-radius:4px;background:#ffffff0a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-exam{background:#f43f5e1a}.cal-assignment.done{opacity:.4;text-decoration:line-through}.calendar-legend{display:flex;gap:1.5rem;font-size:.8rem;color:var(--text-muted)}.legend-item{display:flex;align-items:center;gap:.4rem}.legend-dot{width:8px;height:8px;border-radius:50%}.suggestions-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem}.suggestion-card{display:flex;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;border-radius:12px;border:1px solid var(--border);background:var(--bg-card)}.suggestion-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0}.suggestion-urgent .suggestion-icon{background:#ef444426;color:#fca5a5}.suggestion-tip .suggestion-icon{background:#6366f126;color:#a5b4fc}.suggestion-motivation .suggestion-icon{background:#22c55e26;color:#86efac}.suggestion-text{font-size:.9rem;line-height:1.5}.quick-actions{display:flex;flex-direction:column;gap:.5rem}.quick-action{padding:.75rem 1rem;background:#ffffff05;border:1px solid var(--border);border-radius:8px}.qa-label{font-size:.9rem;font-weight:500}.qa-sub{font-size:.8rem;color:var(--text-muted);margin-top:.15rem}.empty-text{color:var(--text-dim);font-size:.85rem;text-align:center;padding:1.5rem}@media(max-width:900px){.sidebar{transform:translate(-100%);transition:transform .25s ease}.sidebar.open{transform:translate(0)}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:90}.mobile-menu-btn{display:flex}.main-content{margin-left:0;padding:4rem 1.5rem 1.5rem}.dashboard-columns,.charts-grid,.pomodoro-layout{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.calendar-grid{font-size:.75rem}.cal-cell{min-height:70px;padding:.3rem}}@media(max-width:500px){.stats-grid,.subjects-grid{grid-template-columns:1fr}}
