/* Help & Support — searchable help center covering every parent-app feature */ const JL_HELP = [ { cat:'Getting Started', icon:'rocket', tint:'var(--blue-100)', ic:'var(--blue-500)', items:[ { q:'How do I sign in?', a:[ 'Open JewelLink and enter the email and password your school provided.', 'You can also tap Continue with Google or Apple if your school enabled it.', 'Forgot your password? Tap “Forgot password?” on the login screen to reset it by email.', ]}, { q:'How do I find my child?', a:[ 'Your children are linked automatically by the school when your account is created.', 'Tap the child card at the top of the Home screen to switch between children.', 'If a child is missing, contact your school office to confirm the link.', ]}, { q:'How do I get around the app?', a:[ 'Use the bottom tabs: Home, Messages, Transport, Activities, and Profile.', 'Home has Quick Actions (Pickup, Grades, Lunch, AI Tutor) and an Explore list for everything else.', 'Every screen except Home has a back arrow in the top-left corner.', ]}, ]}, { cat:'Pickup & Dismissal', icon:'car-front', tint:'var(--gold-100)', ic:'var(--gold-600)', items:[ { q:'How do I check in for pickup?', a:[ 'Open Pickup from Home and tap “I’m Here — Check In”.', 'Hold the QR code up to the gate scanner, or tap “Check In with GPS Instead”.', 'Once checked in, you’ll see your live position in the car-rider queue.', ]}, { q:'What does the live queue show?', a:[ 'Your number in the car-rider line, updated in real time as cars are cleared.', 'When it says “Next”, a staff member is walking your child to your car.', 'Please stay in your vehicle until your child is brought out.', ]}, { q:'How do I change the pickup method?', a:[ 'In Pickup, tap “Change Pickup Method” and choose Car, Bus, Walker, or Aftercare.', 'You can set a different method for each day using the day picker at the top.', ]}, { q:'How do I add an authorized pickup person?', a:[ 'In Pickup, scroll to Authorized Pickups and tap “Add Authorized Person”.', 'Enter their name, relationship, and phone, then tap Add Person.', 'They’ll appear as a verified pickup contact for your child.', ]}, ]}, { cat:'Transport', icon:'bus', tint:'var(--info-100)', ic:'var(--info-500)', items:[ { q:'How do I track the bus?', a:[ 'Tap the bus status card on Home, or open the Transport tab.', 'You’ll see the live map, the driver, the route, and the estimated arrival time.', ]}, { q:'Will I be notified when the bus is near?', a:[ 'Yes. You’ll get a push notification as the bus approaches your stop.', 'Make sure notifications are enabled in Profile → Notifications.', ]}, ]}, { cat:'Grades', icon:'graduation-cap', tint:'var(--blue-100)', ic:'var(--blue-500)', items:[ { q:'Where do I see my child’s grades?', a:[ 'Tap Grades from the Home Quick Actions.', 'You’ll see the overall GPA, a grade for each subject, and recently graded work.', ]}, { q:'How often do grades update?', a:[ 'Grades sync live from the school’s grade book, usually within minutes of a teacher posting.', 'The “Live sync” line shows when grades were last updated.', ]}, ]}, { cat:'Lunch & Fees', icon:'utensils', tint:'var(--success-100)', ic:'var(--success-500)', items:[ { q:'How do I add money to the lunch account?', a:[ 'Open Lunch & Fees and tap Add Funds.', 'Choose an amount, confirm your card, and tap Pay.', 'The balance updates instantly and appears in Recent Activity.', ]}, { q:'What is auto-reload?', a:[ 'Auto-reload adds a set amount automatically when the balance drops below $10.', 'Toggle it on or off from the Lunch & Fees screen.', ]}, { q:'How do I pay a school fee?', a:[ 'Outstanding fees (field trips, supplies) appear in Lunch & Fees.', 'Tap the amount button on a fee to pay it securely.', ]}, ]}, { cat:'AI Tutor', icon:'bot', tint:'var(--info-100)', ic:'var(--info-500)', items:[ { q:'What is the AI Tutor?', a:[ 'A friendly homework helper for your child, opened from Home or the Activities screen.', 'It explains concepts in simple terms and guides step by step rather than just giving answers.', ]}, { q:'What can my child ask it?', a:[ 'Anything school-related — math, science, reading, study help, or practice questions.', 'Tap a suggestion chip to get started, or type a question.', ]}, { q:'Is it safe for kids?', a:[ 'Yes. It’s designed for age-appropriate, schoolwork-focused answers and steers away from off-topic requests.', 'A live internet connection is required for the tutor to respond.', ]}, ]}, { cat:'Safety & Wellbeing', icon:'heart-pulse', tint:'var(--success-100)', ic:'var(--success-500)', items:[ { q:'What are mood check-ins?', a:[ 'Your child can log how they’re feeling during homeroom each day.', 'You’ll see the week’s moods and today’s check-in on the Safety & Wellbeing screen.', ]}, { q:'What is the AI Wellbeing Insight?', a:[ 'It gently highlights patterns — for example, mood dips on certain days — to help you support your child.', 'Insights are suggestions, not diagnoses. Reach out to the school counselor with any concerns.', ]}, ]}, { cat:'Attendance', icon:'calendar-check', tint:'var(--gold-100)', ic:'var(--gold-600)', items:[ { q:'How do I report an absence?', a:[ 'Open Attendance and tap “Report an Absence”.', 'Pick the day, choose a reason, add an optional note, and tap Submit Report.', 'The front office is notified right away.', ]}, { q:'What is the attendance pattern alert?', a:[ 'If your child is often absent or late on the same weekday, you’ll see an early heads-up.', 'Catching patterns early helps prevent chronic absence.', ]}, ]}, { cat:'Marketplace', icon:'store', tint:'var(--danger-100)', ic:'var(--danger-500)', items:[ { q:'What is the Marketplace?', a:[ 'A directory of school-approved programs — tutoring, sports, after-school clubs, and enrichment.', 'Filter by category and tap Enroll to send a request, or bookmark a listing for later.', ]}, { q:'How do fundraisers work?', a:[ 'Active school fundraisers appear at the top of the Marketplace with a progress bar.', 'Tap Donate to contribute securely through JewelLink.', ]}, { q:'Are vendors trustworthy?', a:[ 'Every vendor is reviewed and approved by your school before it appears here.', 'Payments are processed securely through JewelLink.', ]}, ]}, { cat:'Messages', icon:'message-circle', tint:'var(--info-100)', ic:'var(--info-500)', items:[ { q:'How do I message a teacher?', a:[ 'Open the Messages tab and choose a conversation, or start a new one.', 'There’s one thread per child to keep things organized.', ]}, { q:'What is the AI Summary in a chat?', a:[ 'Tap the AI Summary toggle in a long thread to get a quick recap of what was discussed.', ]}, ]}, { cat:'Emergency Alerts', icon:'siren', tint:'var(--danger-100)', ic:'var(--danger-500)', items:[ { q:'What are emergency alerts?', a:[ 'Urgent school-wide notices — early dismissals, weather closures, or safety updates.', 'They appear as a red banner at the top of Home and as a push notification.', ]}, { q:'Can I turn them off?', a:[ 'Emergency alerts can’t be disabled — they’re essential for your child’s safety.', 'You can dismiss a banner once you’ve read it by tapping the X.', ]}, ]}, { cat:'Account & Privacy', icon:'shield-check', tint:'var(--gray-200)', ic:'var(--gray-600)', items:[ { q:'How do I change my password?', a:[ 'Go to Profile → Security → Change Password.', 'You can also enable Face ID / biometrics for faster, secure sign-in.', ]}, { q:'Who can see my information?', a:[ 'Only you and authorized school staff can see your child’s information.', 'Your engagement score is private to you and never shared with other parents.', ]}, ]}, ]; function HelpRow({ q, a, open, onToggle }) { return (