* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; }
#app { max-width: 800px; margin: 0 auto; padding: 1rem; }
.screen { padding: 1rem; }
.btn { display: inline-block; padding: 0.75rem 1.5rem; border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; margin: 0.25rem; }
.btn-primary { background: #2563eb; color: white; }
.btn-secondary { background: #e5e7eb; color: #333; }
.btn-done { background: #16a34a; color: white; }
.btn-skip { background: #f59e0b; color: white; }
.module-card { background: white; border-radius: 12px; padding: 1rem; margin: 1rem 0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.task-item { padding: 0.75rem; border-bottom: 1px solid #e5e7eb; cursor: pointer; }
.task-item.available { color: #2563eb; }
.task-item.completed { color: #16a34a; text-decoration: line-through; }
.task-item.locked { color: #9ca3af; cursor: not-allowed; }
.progress-bar { background: #e5e7eb; border-radius: 4px; height: 8px; margin: 0.5rem 0; }
.progress-fill { background: #2563eb; border-radius: 4px; height: 100%; transition: width 0.3s; }
.belt-display { text-align: center; padding: 1rem; }
.streak { font-weight: bold; color: #f59e0b; }
.stats-table { width: 100%; border-collapse: collapse; }
.stats-table th, .stats-table td { padding: 0.5rem; border: 1px solid #e5e7eb; text-align: left; }
input[type="email"] { padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; width: 100%; max-width: 400px; }
.error { color: #dc2626; margin: 0.5rem 0; }
.task-body { line-height: 1.6; margin: 1rem 0; }
.task-body h1, .task-body h2, .task-body h3 { margin: 1rem 0 0.5rem; }
.task-body p { margin: 0.5rem 0; }
.task-body a { color: #2563eb; }
.time-estimate { color: #6b7280; font-size: 0.9rem; }
.module-header { display: flex; justify-content: space-between; align-items: center; }
.screen-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.header-email { color: #6b7280; font-size: 0.9rem; }
.btn-link { background: none; border: none; color: #6b7280; cursor: pointer; font-size: 0.9rem; text-decoration: underline; }
