*{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,sans-serif;background:#f5f7fa;color:#1a1a2e;min-height:100vh;display:flex;align-items:flex-start;justify-content:center;transition:background .3s,color .3s;padding:1rem}body.dark{background:#1a1a2e;color:#e0e0e0}#root{width:100%;max-width:700px}h1{font-size:1.5rem}h2{font-size:1.2rem;margin-bottom:1rem}label{display:block;margin-bottom:.5rem;font-weight:500}input,select,textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:8px;font-size:1rem;margin-bottom:1rem;background:#fff;color:#1a1a2e}input[type=radio],input[type=checkbox]{width:auto;margin-bottom:0}.dark input,.dark select,.dark textarea{background:#2a2a4a;color:#e0e0e0;border-color:#444}button{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;cursor:pointer;background:#4361ee;color:#fff;margin-right:.5rem;margin-bottom:.5rem}button:hover{background:#3a56d4}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:#6c757d}button.secondary:hover{background:#5a6268}button.danger{background:#e63946}button.danger:hover{background:#c5303c}button.sm{padding:.4rem .8rem;font-size:.85rem}.card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 10px #00000014;margin-bottom:1rem}.dark .card{background:#2a2a4a;box-shadow:0 2px 10px #0000004d}.allocation{border:1px solid #e0e0e0;border-radius:8px;padding:1rem;margin-bottom:.75rem}.dark .allocation{border-color:#444}.allocation-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.allocation-info{flex:1;min-width:200px}.allocation-actions{display:flex;flex-wrap:wrap;gap:.25rem}.allocation-actions button{margin:0}.badge{display:inline-block;background:#4361ee;color:#fff;border-radius:12px;padding:.2rem .6rem;font-size:.8rem;margin-left:.5rem}.badge.warn{background:#f77f00}.progress-bar{display:flex;margin-bottom:1.5rem;gap:.25rem}.progress-step{flex:1;text-align:center;font-size:.7rem;color:#888}.progress-step .bar{height:4px;border-radius:2px;background:#ddd;margin-bottom:.3rem}.dark .progress-step .bar{background:#555}.progress-step.active .bar{background:#4361ee}.progress-step.active{color:#4361ee;font-weight:600}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:.5rem}.theme-toggle{background:none;border:none;font-size:1.3rem;cursor:pointer;padding:.3rem;margin:0}.github-link{font-size:.85rem;color:#4361ee;text-decoration:none;display:flex;align-items:center;gap:.3rem}.github-link:hover{text-decoration:underline}.dark .github-link{color:#7b93f5}.toast{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);background:#333;color:#fff;padding:.75rem 1.5rem;border-radius:8px;display:flex;align-items:center;gap:1rem;z-index:1000;box-shadow:0 4px 12px #0000004d;animation:slideUp .3s}@keyframes slideUp{0%{transform:translate(-50%) translateY(20px);opacity:0}to{transform:translate(-50%) translateY(0);opacity:1}}.toast button{background:#4361ee;margin:0;padding:.4rem .8rem;font-size:.85rem}.onboarding-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:999;padding:1rem}.onboarding-content{background:#fff;border-radius:12px;padding:2rem;max-width:450px;width:100%}.dark .onboarding-content{background:#2a2a4a}.year-calendar{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-top:1rem}.month-grid{font-size:.7rem;line-height:1.7}.month-grid .month-title{font-weight:700;margin-bottom:2px;font-size:.75rem}.month-grid .days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}.month-grid .day-header{font-weight:500;color:#888}.month-grid .day{border-radius:3px;aspect-ratio:1;display:flex;align-items:center;justify-content:center}.comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1rem}.comparison-card{border:1px solid #e0e0e0;border-radius:8px;padding:1rem;text-align:center}.dark .comparison-card{border-color:#444}.comparison-card h3{font-size:.9rem;margin-bottom:.5rem}.comparison-card .stat{font-size:1.5rem;font-weight:700;color:#4361ee}.tabs{display:flex;gap:.25rem;margin-bottom:1rem;flex-wrap:wrap}@media (max-width: 600px){body{padding:.5rem}.card{padding:1rem}h1{font-size:1.2rem}button{padding:.6rem 1rem;font-size:.9rem}.allocation-top{flex-direction:column;align-items:flex-start}.year-calendar{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
