* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: system-ui, -apple-system, sans-serif; background: #f8f9fb; min-height: 100vh; } .app { max-width: 820px; margin: 0 auto; padding: 16px; } /* Header */ .header { border-radius: 16px; padding: 18px 20px; color: white; margin-bottom: 20px; } .header-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; } .logo-box { width: 48px; height: 48px; background: rgba(255,255,255,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; letter-spacing: -0.5px; flex-shrink: 0; } .school-name { font-size: 15px; font-weight: 700; } .app-subtitle { font-size: 12px; opacity: 0.85; } .header-date { font-size: 12px; opacity: 0.75; } /* Kid Switcher */ .kid-switcher { display: flex; gap: 12px; margin-bottom: 20px; } .kid-btn { flex: 1; padding: 14px 10px; border-radius: 14px; border: 2px solid transparent; cursor: pointer; text-align: center; transition: all 0.2s; } .kid-btn.active { box-shadow: 0 2px 12px rgba(0,0,0,0.1); } .kid-emoji { display: block; font-size: 30px; margin-bottom: 4px; } .kid-name { display: block; font-size: 16px; font-weight: 700; } .kid-grade { display: block; font-size: 12px; color: #666; margin-bottom: 6px; } .kid-badges { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; } /* Calendar */ .calendar-section { margin-bottom: 20px; } .section-label { font-size: 13px; font-weight: 600; color: #555; margin-bottom: 8px; } .calendar-row { display: flex; gap: 6px; } .day-btn { flex: 1; padding: 8px 4px; border-radius: 12px; border: 2px solid; cursor: pointer; text-align: center; background: white; } .day-name { display: block; font-size: 11px; font-weight: 600; } .day-num { display: block; font-size: 17px; font-weight: 700; } .day-dot { display: block; width: 6px; height: 6px; border-radius: 50%; margin: 3px auto 0; } .day-summary { margin-top: 10px; padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; } /* Stats */ .stats-row { display: flex; gap: 10px; margin-bottom: 20px; } .stat-card { flex: 1; padding: 12px 8px; border-radius: 12px; text-align: center; } .stat-num { display: block; font-size: 26px; font-weight: 700; } .stat-label { display: block; font-size: 11px; font-weight: 600; margin-top: 2px; } /* Tabs */ .tab-row { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; } .tab-btn { padding: 9px 18px; border-radius: 20px; border: none; cursor: pointer; font-weight: 600; font-size: 13px; } .add-btn { margin-left: auto; padding: 9px 18px; border-radius: 20px; border: none; cursor: pointer; font-weight: 700; font-size: 13px; color: white; } /* Form */ .form-card { background: white; border: 2px solid; border-radius: 14px; padding: 16px; margin-bottom: 16px; } .form-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .form-grid select, .form-grid input { padding: 9px 10px; border-radius: 8px; border: 1.5px solid #ddd; font-size: 13px; width: 100%; } .full-span { grid-column: 1 / -1; } .form-actions { display: flex; gap: 8px; margin-top: 12px; } .save-btn { flex: 1; padding: 10px; border-radius: 10px; border: none; color: white; font-weight: 700; cursor: pointer; font-size: 14px; } .cancel-btn { padding: 10px 18px; border-radius: 10px; border: 1.5px solid #ddd; background: white; cursor: pointer; font-size: 14px; } /* Task List */ .task-list { display: flex; flex-direction: column; gap: 10px; } .task-card { background: white; border-radius: 14px; border: 1.5px solid #e8e8e8; padding: 12px 14px; display: flex; align-items: flex-start; gap: 12px; } .task-card.overdue { border-color: #F09595; } .task-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; } .task-body { flex: 1; min-width: 0; } .task-title { font-weight: 700; font-size: 14px; color: #222; margin-bottom: 5px; } .task-meta { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; } .badge { font-size: 11px; padding: 2px 8px; border-radius: 20px; font-weight: 600; } .task-due { font-size: 11px; } .task-source { font-size: 11px; color: #aaa; } .task-actions { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; } .task-actions select { font-size: 11px; padding: 5px 6px; border-radius: 8px; border: 1.5px solid; background: white; cursor: pointer; } .remove-btn { font-size: 11px; padding: 4px 8px; border-radius: 8px; border: 1px solid #eee; background: white; color: #E24B4A; cursor: pointer; } /* Empty State */ .empty-state { text-align: center; padding: 32px 20px; border-radius: 14px; } .empty-emoji { font-size: 40px; margin-bottom: 8px; } .empty-title { font-size: 16px; font-weight: 700; } .empty-sub { font-size: 13px; opacity: 0.75; margin-top: 4px; } /* Footer */ .footer { text-align: center; margin-top: 24px; padding: 12px; font-size: 12px; color: #bbb; } /* Responsive */ @media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } .full-span { grid-column: 1; } .school-name { font-size: 13px; } }