:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #6b7280;
  --line: #e6eaf2;
  --surface: rgba(255, 255, 255, .92);
  --page: #f4f7fc;
  --shadow: 0 14px 38px rgba(52, 65, 105, .09), 0 2px 8px rgba(52, 65, 105, .05);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 15px;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --teal: #14b8a6;
  --teal-soft: #ccfbf1;
  --orange: #f59e0b;
  --green: #22c55e;
  --red: #ef4444;
  --purple: #8b5cf6;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--page); }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 5% 0%, rgba(219, 234, 254, .9), transparent 28rem),
    radial-gradient(circle at 98% 0%, rgba(252, 231, 243, .75), transparent 30rem),
    var(--page);
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* Launcher */
.launcher-page { display:grid; place-items:center; padding:28px; }
.launcher-shell { width:min(920px, 100%); }
.launcher-brand { display:flex; gap:18px; align-items:center; margin-bottom:28px; }
.launcher-logo { width:74px; height:74px; display:grid; place-items:center; border-radius:24px; background:linear-gradient(145deg,#6d5efc,#8b5cf6); color:white; font-size:36px; box-shadow:var(--shadow); }
.launcher-brand h1 { margin:0; font-size:clamp(32px,6vw,54px); letter-spacing:-.04em; }
.launcher-brand p { margin:6px 0 0; color:var(--muted); }
.eyebrow { text-transform:uppercase; letter-spacing:.16em; font-size:12px; font-weight:800; color:var(--purple) !important; }
.launcher-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.launcher-card { min-height:180px; display:flex; flex-direction:column; justify-content:space-between; gap:25px; padding:24px; border-radius:var(--radius-xl); text-decoration:none; color:var(--ink); border:1px solid rgba(255,255,255,.9); box-shadow:var(--shadow); transition:transform .18s ease, box-shadow .18s ease; }
.launcher-card:hover { transform:translateY(-3px); box-shadow:0 20px 45px rgba(52,65,105,.14); }
.launcher-card strong { display:block; font-size:24px; margin-bottom:8px; }
.launcher-card small { display:block; color:var(--muted); line-height:1.5; font-size:14px; }
.launcher-card-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:17px; background:rgba(255,255,255,.74); font-size:25px; }
.board-launch { background:linear-gradient(145deg,#ede9fe,#dbeafe); }
.mama-launch { background:linear-gradient(145deg,#fce7f3,#fbcfe8); }
.papa-launch { background:linear-gradient(145deg,#dbeafe,#bfdbfe); }
.launcher-help { text-align:center; color:var(--muted); margin:24px 0 0; font-size:14px; }

/* Shared */
.card {
  background:var(--surface);
  border:1px solid rgba(226,232,240,.88);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px; }
.card-heading.compact { margin-bottom:8px; }
.card-heading h2 { margin:2px 0 0; font-size:18px; line-height:1.15; letter-spacing:-.02em; }
.card-eyebrow, .panel-kicker { display:block; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.tiny-label { font-size:11px; color:var(--muted); background:#f1f5f9; padding:5px 8px; border-radius:999px; white-space:nowrap; }
.status-badge { display:inline-flex; align-items:center; gap:5px; padding:6px 9px; border-radius:999px; background:#eef2ff; color:#4f46e5; font-size:11px; font-weight:800; white-space:nowrap; }
.status-badge.warning { background:#fff7ed; color:#c2410c; }
.status-badge.success { background:#ecfdf5; color:#15803d; }
.status-badge.danger { background:#fef2f2; color:#b91c1c; }
.primary-button, .secondary-button, .ghost-button, .danger-button {
  border:0; border-radius:13px; min-height:44px; padding:0 16px; font-weight:800; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
}
.primary-button { background:linear-gradient(135deg,var(--purple),#6d5efc); color:white; box-shadow:0 8px 18px rgba(109,94,252,.22); }
.primary-button.large { min-height:56px; padding:0 26px; font-size:17px; }
.secondary-button { background:#eef2ff; color:#4338ca; }
.ghost-button { background:#f4f6fa; color:#475569; }
.ghost-button.small { min-height:32px; padding:0 10px; font-size:11px; border-radius:10px; }
.danger-button { background:#fef2f2; color:#b91c1c; }
.icon-button, .close-button { border:0; background:rgba(255,255,255,.8); border-radius:13px; width:42px; height:42px; display:grid; place-items:center; cursor:pointer; font-size:20px; box-shadow:0 4px 16px rgba(15,23,42,.06); }
.close-button { box-shadow:none; background:#f1f5f9; font-size:26px; }
.empty-state { color:var(--muted); font-size:13px; line-height:1.45; padding:14px; border:1px dashed #d8dee9; border-radius:14px; background:#f8fafc; }

/* Start overlay */
.start-overlay { position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:25px; background:rgba(241,245,249,.88); backdrop-filter:blur(18px); }
.start-overlay[hidden] { display:none !important; }
.start-card { width:min(460px, 100%); text-align:center; background:white; padding:36px; border-radius:30px; box-shadow:0 30px 90px rgba(51,65,85,.22); }
.start-card h1 { margin:18px 0 8px; font-size:36px; letter-spacing:-.04em; }
.start-card p { color:var(--muted); line-height:1.55; margin:0 0 24px; }
.start-avatars { display:flex; justify-content:center; }
.start-avatars img { width:84px; height:84px; border-radius:50%; border:4px solid white; margin-left:-14px; box-shadow:0 6px 16px rgba(15,23,42,.12); }
.start-avatars img:first-child { margin-left:0; }

/* Board */
.board-page { overflow:hidden; }
.board-shell { height:100dvh; padding:12px; display:grid; grid-template-rows:auto minmax(0,1fr); gap:10px; }
.board-header { display:grid; grid-template-columns:170px minmax(330px,1.55fr) minmax(330px,1fr) auto; gap:10px; align-items:stretch; }
.time-panel, .countdown-panel, .weather-panel {
  border:1px solid rgba(226,232,240,.9); background:rgba(255,255,255,.88); border-radius:20px; box-shadow:var(--shadow);
}
.time-panel { padding:13px 17px; display:flex; flex-direction:column; justify-content:center; }
.clock-time { font-size:38px; font-weight:300; letter-spacing:-.05em; font-variant-numeric:tabular-nums; line-height:1; }
.clock-date { margin-top:7px; color:var(--muted); font-size:13px; text-transform:capitalize; }
.countdown-panel { padding:12px 16px; display:grid; grid-template-columns:1.2fr 1fr; gap:18px; align-items:center; }
.countdown-copy strong { display:block; font-size:17px; margin:4px 0; }
.countdown-copy small { color:var(--muted); font-size:12px; }
.countdown-visual { display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center; }
.countdown-track { height:18px; border-radius:999px; overflow:hidden; background:#eef1f5; position:relative; }
.countdown-track::after { content:""; position:absolute; inset:0; background:repeating-linear-gradient(90deg, transparent 0,transparent calc(10% - 1px),rgba(255,255,255,.55) calc(10% - 1px),rgba(255,255,255,.55) 10%); }
.countdown-track span { display:block; height:100%; width:60%; border-radius:999px; background:linear-gradient(90deg,#22c55e,#84cc16); transition:width .6s ease, background .4s ease; }
.countdown-track span.urgent { background:linear-gradient(90deg,#f59e0b,#fb7185); }
.countdown-track span.late { background:linear-gradient(90deg,#ef4444,#dc2626); }
.ready-time { font-size:27px; letter-spacing:-.04em; font-weight:500; font-variant-numeric:tabular-nums; }
.weather-panel { padding:11px 14px; display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; }
.weather-icon { font-size:43px; line-height:1; filter:drop-shadow(0 5px 7px rgba(15,23,42,.13)); }
.weather-main strong { font-size:28px; display:block; line-height:1; margin:4px 0; font-variant-numeric:tabular-nums; }
.weather-main small { font-size:11px; color:var(--muted); }
.weather-details { border-left:1px solid var(--line); padding-left:13px; display:grid; gap:3px; font-size:10px; color:var(--muted); }
.weather-details b { color:var(--ink); }
.board-status-actions { display:grid; grid-template-columns:repeat(2,38px); grid-auto-rows:38px; align-content:start; gap:7px; }
.board-status-actions .icon-button { width:38px; height:38px; font-size:17px; }
.board-status-actions .icon-button.active { background:#dcfce7; color:#15803d; }

.board-main { min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 245px; grid-template-rows:minmax(300px,1.2fr) 68px minmax(168px,.68fr); gap:10px; }
.children-grid { min-width:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.child-card { --child:#8b5cf6; --child-soft:#ede9fe; padding:13px; display:flex; flex-direction:column; min-width:0; background:linear-gradient(160deg,rgba(255,255,255,.96),var(--child-soft)); border:1px solid color-mix(in srgb,var(--child) 17%,white); border-radius:21px; box-shadow:var(--shadow); overflow:hidden; }
.child-card.mila { --child:var(--blue); --child-soft:#eff6ff; }
.child-card.noor { --child:var(--pink); --child-soft:#fff1f7; }
.child-card.finn { --child:var(--teal); --child-soft:#effcf9; }
.child-profile { display:flex; align-items:center; gap:11px; margin-bottom:10px; }
.child-avatar { width:68px; height:68px; border-radius:50%; object-fit:cover; flex:0 0 auto; border:3px solid white; box-shadow:0 6px 16px color-mix(in srgb,var(--child) 18%,transparent); }
.child-name { min-width:0; flex:1; }
.child-name h2 { margin:0; font-size:22px; color:var(--child); letter-spacing:-.03em; }
.child-name span { color:var(--muted); font-size:12px; }
.child-score { align-self:flex-start; min-width:52px; text-align:center; padding:7px 10px; border-radius:999px; font-weight:900; font-size:13px; background:color-mix(in srgb,var(--child) 12%,white); color:var(--child); font-variant-numeric:tabular-nums; }
.checklist { list-style:none; padding:0; margin:0; flex:1; border:1px solid color-mix(in srgb,var(--child) 13%,#e2e8f0); background:rgba(255,255,255,.67); border-radius:14px; overflow:hidden; }
.checklist li { min-height:39px; display:flex; align-items:center; gap:10px; padding:7px 9px; border-bottom:1px solid color-mix(in srgb,var(--child) 9%,#e2e8f0); font-size:13px; cursor:pointer; user-select:none; }
.checklist li:last-child { border-bottom:0; }
.checklist li.done { color:#64748b; }
.checklist li.done .check-label { text-decoration:line-through; text-decoration-thickness:1.5px; text-decoration-color:color-mix(in srgb,var(--child) 45%,transparent); }
.task-icon { width:26px; height:26px; border-radius:9px; display:grid; place-items:center; background:color-mix(in srgb,var(--child) 12%,white); color:var(--child); font-size:13px; flex:0 0 auto; }
.check-label { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.check-box { width:19px; height:19px; border:2px solid color-mix(in srgb,var(--child) 35%,#cbd5e1); border-radius:6px; flex:0 0 auto; display:grid; place-items:center; color:white; font-size:12px; font-weight:900; }
.checklist li.done .check-box { background:var(--child); border-color:var(--child); }
.child-progress { height:7px; border-radius:999px; background:rgba(255,255,255,.8); overflow:hidden; margin-top:10px; }
.child-progress span { display:block; height:100%; width:0; border-radius:999px; background:var(--child); transition:width .25s ease; }
.child-card.complete { box-shadow:0 0 0 2px color-mix(in srgb,var(--child) 40%,white), var(--shadow); }

.board-side { min-height:0; display:grid; grid-template-rows:auto minmax(0,1fr); gap:10px; }
.seating-card { padding:8px 10px; background:linear-gradient(145deg,#fffaf0,#fff); }
.daily-role-section + .daily-role-section { margin-top:5px; padding-top:5px; border-top:1px solid #f1e8d3; }
.daily-role-title { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-bottom:3px; }
.seating-row { display:grid; grid-template-columns:23px 1fr auto; gap:6px; align-items:center; min-height:28px; border-top:1px solid #f5edda; font-size:10.5px; }
.seating-row:first-of-type { border-top:0; }
.seating-icon { width:21px; height:21px; display:grid; place-items:center; font-size:14px; }
.seating-person { background:#fff1c7; color:#b45309; padding:4px 8px; border-radius:999px; font-weight:900; }
.automatic-badge { padding:3px 6px; border-radius:999px; background:#f1f5f9; color:#64748b; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
.bedtime-row { display:grid; grid-template-columns:23px 1fr; gap:6px; align-items:center; min-height:25px; }
.parent-dot { width:21px; height:21px; display:grid; place-items:center; border-radius:7px; color:white; font-weight:900; font-size:9px; }
.parent-dot.mama { background:var(--pink); }
.parent-dot.papa { background:var(--blue); }
.bedtime-row strong { display:inline; font-size:10px; }
.bedtime-row small { display:inline; margin-left:4px; color:var(--muted); font-size:9.5px; }
.sleep-in-row { margin-top:3px; padding:4px 6px; border-radius:8px; background:#ecfdf5; color:#166534; font-size:9px; text-align:center; }
.sleep-in-row.muted { background:#f8fafc; color:var(--muted); }
.seating-switch { color:var(--muted); text-align:center; font-size:8.5px; margin-top:4px; }
.timer-card { padding:9px 10px; min-height:0; }
.board-timers { display:grid; gap:6px; overflow:auto; }
.board-timer-row { --child:var(--purple); display:grid; grid-template-columns:33px 1fr; gap:7px; align-items:center; }
.board-timer-row.mila { --child:var(--blue); }
.board-timer-row.noor { --child:var(--pink); }
.board-timer-row.finn { --child:var(--teal); }
.timer-mini-avatar { width:33px; height:33px; border-radius:50%; border:2px solid white; box-shadow:0 3px 9px rgba(15,23,42,.12); }
.timer-row-content { min-width:0; }
.timer-row-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:3px; }
.timer-row-title strong { color:var(--child); font-size:12px; }
.timer-total { font-size:10px; color:var(--muted); }
.timer-blocks { display:grid; grid-template-columns:repeat(4,1fr); gap:4px; }
.timer-block { position:relative; border:1px solid color-mix(in srgb,var(--child) 23%,#d8dee9); background:white; min-width:0; height:27px; border-radius:8px; font-size:9px; font-weight:800; color:var(--child); cursor:pointer; padding:0; font-variant-numeric:tabular-nums; overflow:hidden; }
.timer-block::before { content:""; position:absolute; inset:auto 0 0; height:3px; background:var(--child); transform-origin:left; transform:scaleX(var(--progress,0)); }
.timer-block.running { background:color-mix(in srgb,var(--child) 10%,white); box-shadow:0 0 0 1px color-mix(in srgb,var(--child) 30%,white); }
.timer-block.used { background:#f1f5f9; border-color:#e2e8f0; color:#94a3b8; text-decoration:line-through; }

.dinner-card { grid-column:1 / -1; min-height:0; padding:9px 16px; display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:12px; align-items:center; background:linear-gradient(115deg,#fff7ed 0%,#fffbeb 45%,#ffffff 100%); border-color:#fed7aa; }
.dinner-card.empty { background:linear-gradient(115deg,#f8fafc,#ffffff); border-color:#e2e8f0; }
.dinner-icon { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:#ffedd5; font-size:24px; box-shadow:inset 0 0 0 1px rgba(251,146,60,.2); }
.dinner-card.empty .dinner-icon { background:#f1f5f9; filter:grayscale(.25); }
.dinner-copy { min-width:0; }
.dinner-copy h2 { margin:2px 0 1px; font-size:21px; letter-spacing:-.025em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dinner-copy p { margin:0; color:var(--muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dinner-meta { display:flex; align-items:flex-end; flex-direction:column; gap:4px; text-align:right; }
.dinner-meta small { color:var(--muted); font-size:9px; min-height:11px; }

.lower-grid { grid-column:1 / -1; min-height:0; display:grid; grid-template-columns:1.08fr 1.12fr 1fr 1fr 1fr; gap:10px; }
.lower-grid .card { padding:12px; min-width:0; min-height:0; }
.agenda-list, .simple-list, .notes-list, .breakfast-overview { overflow:auto; max-height:calc(100% - 40px); }
.agenda-item { display:grid; grid-template-columns:43px 8px 1fr; gap:7px; align-items:start; padding:6px 0; border-top:1px solid var(--line); font-size:11px; }
.agenda-item:first-child { border-top:0; }
.agenda-time { font-weight:900; font-variant-numeric:tabular-nums; }
.agenda-dot { width:8px; height:8px; border-radius:50%; background:var(--purple); margin-top:3px; }
.agenda-title { min-width:0; }
.agenda-title strong { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.agenda-title small { color:var(--muted); }
.breakfast-person { --child:var(--purple); display:grid; grid-template-columns:33px 1fr auto; gap:8px; align-items:center; padding:5px 0; border-top:1px solid var(--line); }
.breakfast-person:first-child { border-top:0; }
.breakfast-person.mila { --child:var(--blue); }
.breakfast-person.noor { --child:var(--pink); }
.breakfast-person.finn { --child:var(--teal); }
.breakfast-person img { width:32px; height:32px; border-radius:50%; }
.breakfast-copy { min-width:0; }
.breakfast-copy strong { display:block; color:var(--child); font-size:11px; }
.breakfast-copy small { display:block; color:var(--muted); font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.breakfast-state { font-size:16px; }
.simple-item { display:grid; grid-template-columns:18px 1fr auto; gap:7px; align-items:start; padding:5px 0; border-top:1px solid var(--line); font-size:10.5px; }
.simple-item:first-child { border-top:0; }
.simple-check { width:17px; height:17px; border-radius:5px; border:1.5px solid #cbd5e1; display:grid; place-items:center; color:white; cursor:pointer; }
.simple-item.done .simple-check { background:var(--green); border-color:var(--green); }
.simple-item.done .simple-copy { color:#94a3b8; text-decoration:line-through; }
.simple-date { color:var(--muted); font-size:9px; white-space:nowrap; }
.note-chip { padding:7px 8px; border-radius:11px; background:#fff8e8; border:1px solid #f6e9c8; font-size:10.5px; line-height:1.35; margin-bottom:6px; }
.note-chip:last-child { margin-bottom:0; }
.note-chip strong { display:block; margin-bottom:2px; }
.note-chip small { color:var(--muted); }
.carer-note { font-size:10.5px; line-height:1.5; white-space:pre-line; overflow:auto; max-height:calc(100% - 42px); }
.carer-note.empty { color:var(--muted); font-style:italic; }

/* Dialogs */
.app-dialog { border:0; border-radius:24px; padding:0; width:min(540px,calc(100% - 24px)); max-height:calc(100dvh - 28px); box-shadow:0 30px 100px rgba(15,23,42,.28); overflow:hidden; }
.app-dialog::backdrop { background:rgba(15,23,42,.42); backdrop-filter:blur(5px); }
.wide-dialog { width:min(980px,calc(100% - 30px)); }
.dialog-shell { display:flex; flex-direction:column; max-height:calc(100dvh - 28px); background:white; }
.dialog-header { padding:18px 20px 14px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.dialog-header h2 { margin:2px 0 0; font-size:22px; }
.dialog-content { padding:18px 20px; overflow:auto; }
.dialog-actions { display:flex; gap:10px; justify-content:flex-end; padding:14px 20px max(14px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:#fafbfc; }
.calendar-dialog-content { min-height:550px; background:#f8fafc; }
.calendar-dialog-content iframe { width:100%; height:550px; border:0; background:white; }
.calendar-placeholder { min-height:500px; display:grid; place-items:center; text-align:center; padding:30px; color:var(--muted); }
.calendar-placeholder strong { display:block; color:var(--ink); font-size:20px; margin-bottom:8px; }

.toast { position:fixed; left:50%; bottom:calc(24px + env(safe-area-inset-bottom)); z-index:500; transform:translate(-50%,20px); opacity:0; pointer-events:none; background:#172033; color:white; padding:12px 16px; border-radius:999px; font-weight:700; font-size:13px; box-shadow:0 14px 35px rgba(15,23,42,.28); transition:.22s ease; }
.toast.show { opacity:1; transform:translate(-50%,0); }

/* Phone */
.phone-page { --accent:var(--purple); --accent-soft:#ede9fe; --accent-rgb:139,92,246; background:#eef2f7; }
.phone-page.mama-theme { --accent:var(--pink); --accent-soft:#fce7f3; --accent-rgb:236,72,153; }
.phone-page.papa-theme { --accent:var(--blue); --accent-soft:#dbeafe; --accent-rgb:37,99,235; }
#phoneApp { width:min(520px,100%); min-height:100dvh; margin:0 auto; background:#f7f8fc; box-shadow:0 0 60px rgba(15,23,42,.12); position:relative; padding-bottom:calc(82px + env(safe-area-inset-bottom)); }
.phone-header { position:sticky; top:0; z-index:20; color:white; background:linear-gradient(145deg,var(--accent),color-mix(in srgb,var(--accent) 68%,#111827)); padding:max(18px,env(safe-area-inset-top)) 18px 56px; border-radius:0 0 28px 28px; box-shadow:0 10px 28px rgba(var(--accent-rgb),.23); }
.phone-header-row { display:flex; align-items:center; justify-content:space-between; }
.phone-role { display:flex; align-items:center; gap:10px; }
.role-avatar { width:42px; height:42px; border-radius:15px; background:rgba(255,255,255,.2); border:1px solid rgba(255,255,255,.28); display:grid; place-items:center; font-size:22px; }
.phone-role h1 { margin:0; font-size:22px; }
.phone-role p { margin:2px 0 0; font-size:12px; opacity:.78; }
.header-action { width:40px; height:40px; border:0; border-radius:13px; background:rgba(255,255,255,.16); color:white; font-size:19px; cursor:pointer; }
.phone-weather { position:absolute; left:18px; right:18px; bottom:-36px; height:72px; display:flex; align-items:center; justify-content:space-between; gap:14px; background:white; color:var(--ink); border-radius:18px; padding:11px 14px; box-shadow:var(--shadow); border:1px solid rgba(226,232,240,.7); }
.phone-weather-main { display:flex; align-items:center; gap:10px; }
.phone-weather-icon { font-size:31px; }
.phone-weather-main strong { font-size:23px; }
.phone-weather-main span { display:block; color:var(--muted); font-size:11px; }
.phone-weather-meta { text-align:right; font-size:11px; color:var(--muted); line-height:1.5; }
.phone-main { padding:54px 14px 18px; }
.phone-section { margin-bottom:14px; }
.phone-section-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 3px 9px; }
.phone-section-title h2 { margin:0; font-size:17px; letter-spacing:-.02em; }
.phone-section-title span, .phone-section-title button { color:var(--muted); font-size:12px; }
.phone-section-title button { border:0; background:transparent; cursor:pointer; }
.quick-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.quick-action { min-height:92px; border:1px solid #e4e8f0; border-radius:18px; background:white; padding:14px; text-align:left; cursor:pointer; box-shadow:0 5px 18px rgba(30,41,59,.045); }
.quick-action-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:var(--accent-soft); color:var(--accent); font-size:19px; margin-bottom:9px; }
.quick-action strong { display:block; font-size:13px; }
.quick-action small { color:var(--muted); font-size:10px; display:block; margin-top:3px; line-height:1.35; }
.quick-action.wide { grid-column:1 / -1; min-height:78px; display:grid; grid-template-columns:42px 1fr; grid-template-rows:auto auto; column-gap:12px; align-items:center; }
.quick-action.wide .quick-action-icon { grid-row:1 / 3; margin:0; }
.quick-action.wide strong { align-self:end; }
.quick-action.wide small { align-self:start; }
.phone-dinner-card { width:100%; min-height:84px; padding:14px 15px; display:grid; grid-template-columns:50px minmax(0,1fr) auto; gap:12px; align-items:center; border-color:#fed7aa; background:linear-gradient(120deg,#fff7ed,#ffffff); text-align:left; cursor:pointer; }
.phone-dinner-card.empty { border-color:#e2e8f0; background:white; }
.phone-dinner-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:16px; background:#ffedd5; font-size:26px; }
.phone-dinner-card.empty .phone-dinner-icon { background:#f1f5f9; }
.phone-dinner-copy { min-width:0; }
.phone-dinner-copy strong { display:block; font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.phone-dinner-copy small { display:block; color:var(--muted); font-size:10px; line-height:1.4; margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.phone-card { background:white; border:1px solid #e6eaf1; border-radius:20px; box-shadow:0 7px 22px rgba(30,41,59,.055); overflow:hidden; }
.phone-card-header { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:14px 15px 10px; }
.phone-card-header h3 { margin:0; font-size:15px; }
.phone-card-header small { color:var(--muted); font-size:10px; }
.phone-list-row { width:100%; display:flex; align-items:center; gap:11px; min-height:56px; padding:10px 15px; border:0; border-top:1px solid #edf0f4; background:transparent; text-align:left; cursor:pointer; }
.phone-list-row:first-child { border-top:0; }
.phone-list-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:var(--accent-soft); color:var(--accent); flex:0 0 auto; }
.phone-list-copy { flex:1; min-width:0; }
.phone-list-copy strong { font-size:13px; display:block; }
.phone-list-copy small { display:block; color:var(--muted); font-size:10px; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.phone-list-arrow { color:#b2bbc8; font-size:18px; }
.home-status-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.status-card { min-height:94px; padding:13px; border-radius:18px; border:1px solid #e6eaf1; background:white; box-shadow:0 5px 16px rgba(30,41,59,.04); }
.status-card span { font-size:11px; color:var(--muted); }
.status-card strong { display:block; margin-top:6px; font-size:22px; letter-spacing:-.03em; }
.status-card small { display:block; margin-top:5px; font-size:10px; color:var(--accent); font-weight:800; }
.phone-bedtime-card { padding:4px 14px 12px; }
.phone-bedtime-row { display:grid; grid-template-columns:34px 1fr; gap:10px; align-items:center; padding:10px 0; border-top:1px solid #edf0f4; }
.phone-bedtime-row:first-child { border-top:0; }
.phone-bedtime-row .parent-dot { width:32px; height:32px; border-radius:11px; }
.phone-bedtime-row strong { display:block; font-size:13px; }
.phone-bedtime-row small { display:block; color:var(--muted); font-size:10px; margin-top:2px; }
.phone-sleep-in { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border-radius:13px; background:#ecfdf5; color:#166534; font-size:11px; }
.phone-sleep-in.no-sleep-in { background:#f8fafc; color:var(--muted); }
.bedtime-schedule-row { display:grid; grid-template-columns:68px 1fr auto; gap:8px; align-items:center; padding:10px 14px; border-top:1px solid #edf0f4; cursor:pointer; background:white; width:100%; border-left:0; border-right:0; border-bottom:0; text-align:left; }
.bedtime-schedule-row:first-child { border-top:0; }
.bedtime-schedule-row .schedule-date { font-size:10px; color:var(--muted); text-transform:capitalize; }
.bedtime-schedule-row strong { font-size:12px; }
.bedtime-schedule-row small { display:block; color:var(--muted); font-size:9.5px; margin-top:2px; }
.bedtime-schedule-row .phone-list-arrow { justify-self:end; }
.phone-breakfast-child { --child:var(--purple); width:100%; display:grid; grid-template-columns:45px 1fr auto; gap:10px; align-items:center; padding:10px 14px; border:0; border-top:1px solid #edf0f4; background:transparent; text-align:left; cursor:pointer; }
.phone-breakfast-child.mila { --child:var(--blue); }
.phone-breakfast-child.noor { --child:var(--pink); }
.phone-breakfast-child.finn { --child:var(--teal); }
.phone-breakfast-child img { width:44px; height:44px; border-radius:50%; }
.phone-breakfast-child strong { color:var(--child); font-size:13px; }
.phone-breakfast-child small { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.phone-breakfast-child .state { font-size:20px; }
.phone-timer-child { --child:var(--purple); padding:14px; border-top:1px solid #edf0f4; }
.phone-timer-child:first-child { border-top:0; }
.phone-timer-child.mila { --child:var(--blue); }
.phone-timer-child.noor { --child:var(--pink); }
.phone-timer-child.finn { --child:var(--teal); }
.phone-timer-head { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.phone-timer-head img { width:39px; height:39px; border-radius:50%; }
.phone-timer-head strong { color:var(--child); }
.phone-timer-head small { display:block; color:var(--muted); font-size:10px; margin-top:2px; }
.phone-timer-blocks { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.phone-timer-block { min-height:46px; border:1px solid color-mix(in srgb,var(--child) 25%,#e2e8f0); border-radius:13px; background:white; color:var(--child); font-weight:900; font-size:12px; cursor:pointer; font-variant-numeric:tabular-nums; }
.phone-timer-block.running { background:color-mix(in srgb,var(--child) 11%,white); box-shadow:0 0 0 2px color-mix(in srgb,var(--child) 25%,white); }
.phone-timer-block.used { background:#f1f5f9; color:#94a3b8; border-color:#e2e8f0; text-decoration:line-through; }
.phone-bottom-nav { position:fixed; z-index:30; left:50%; bottom:0; transform:translateX(-50%); width:min(520px,100%); display:grid; grid-template-columns:repeat(5,1fr); min-height:68px; padding:7px 8px max(7px,env(safe-area-inset-bottom)); background:rgba(255,255,255,.94); border-top:1px solid #e4e8ef; backdrop-filter:blur(18px); }
.nav-button { border:0; background:transparent; color:#8590a1; font-size:9px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; cursor:pointer; }
.nav-button span { font-size:20px; line-height:1; }
.nav-button.active { color:var(--accent); font-weight:900; }
.fab { position:fixed; z-index:35; right:max(20px,calc((100vw - 520px)/2 + 20px)); bottom:calc(82px + env(safe-area-inset-bottom)); width:54px; height:54px; border-radius:18px; border:0; background:var(--accent); color:white; font-size:28px; box-shadow:0 13px 30px rgba(var(--accent-rgb),.35); cursor:pointer; }

/* Forms */
.form-stack { display:grid; gap:14px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.field { display:grid; gap:6px; }
.field label { font-size:11px; color:#475569; font-weight:800; }
.field input, .field select, .field textarea { width:100%; min-height:46px; border:1px solid #dfe5ed; border-radius:13px; padding:10px 12px; background:#fff; color:var(--ink); outline:none; }
.field textarea { min-height:110px; resize:vertical; line-height:1.45; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12); }
.help-text { color:var(--muted); font-size:11px; line-height:1.45; }
.segmented { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:5px; padding:4px; background:#f1f5f9; border-radius:14px; }
.segmented button { min-height:40px; border:0; border-radius:11px; background:transparent; cursor:pointer; font-weight:800; font-size:12px; color:#64748b; }
.segmented button.selected { background:white; color:var(--accent); box-shadow:0 3px 10px rgba(15,23,42,.08); }
.choice-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.choice-button { min-height:50px; border:1px solid #e1e6ed; border-radius:14px; background:white; text-align:left; padding:10px 12px; cursor:pointer; font-size:12px; }
.choice-button.selected { border-color:var(--accent); box-shadow:0 0 0 2px rgba(var(--accent-rgb),.11); color:var(--accent); background:var(--accent-soft); }
.quantity-control { display:grid; grid-template-columns:44px 1fr 44px; align-items:center; border:1px solid #e1e6ed; border-radius:14px; overflow:hidden; background:#fff; }
.quantity-control button { height:44px; border:0; background:#f8fafc; font-size:20px; cursor:pointer; }
.quantity-control strong { text-align:center; font-variant-numeric:tabular-nums; }
.form-divider { height:1px; background:var(--line); margin:2px 0; }
.child-form-title { display:flex; align-items:center; gap:12px; margin-bottom:4px; }
.child-form-title img { width:54px; height:54px; border-radius:50%; }
.child-form-title h3 { margin:0; font-size:22px; }
.child-form-title p { margin:3px 0 0; color:var(--muted); font-size:12px; }
.item-editor { display:grid; grid-template-columns:1fr 78px; gap:9px; align-items:end; }
.item-editor + .item-editor { margin-top:8px; }
.sync-status { display:flex; align-items:center; gap:7px; padding:10px 12px; border-radius:13px; background:#f8fafc; color:var(--muted); font-size:11px; }
.sync-dot { width:9px; height:9px; border-radius:50%; background:#94a3b8; }
.sync-status.online .sync-dot { background:var(--green); }
.sync-status.error .sync-dot { background:var(--red); }
.settings-section { border-top:1px solid var(--line); padding-top:16px; margin-top:3px; }
.settings-section h3 { margin:0 0 10px; font-size:14px; }

/* Responsive board */
@media (max-width: 1180px) {
  .board-header { grid-template-columns:142px minmax(300px,1.4fr) minmax(280px,1fr) auto; }
  .board-main { grid-template-columns:minmax(0,1fr) 218px; }
  .child-avatar { width:58px; height:58px; }
  .child-name h2 { font-size:19px; }
  .checklist li { min-height:35px; padding:5px 8px; font-size:12px; }
  .task-icon { width:23px; height:23px; }
  .lower-grid { grid-template-columns:1.05fr 1.1fr 1fr 1fr 1fr; }
  .lower-grid .card { padding:10px; }
}
@media (max-height: 760px) and (min-width: 800px) {
  .board-shell { padding:8px; gap:7px; }
  .board-header { gap:7px; }
  .time-panel,.countdown-panel,.weather-panel { border-radius:17px; }
  .clock-time { font-size:31px; }
  .countdown-panel { padding:9px 12px; }
  .weather-panel { padding:8px 11px; }
  .weather-icon { font-size:36px; }
  .board-main { grid-template-rows:minmax(270px,1.28fr) 61px minmax(145px,.66fr); gap:7px; }
  .children-grid,.board-side,.lower-grid { gap:7px; }
  .child-card { padding:9px; border-radius:17px; }
  .child-avatar { width:51px; height:51px; }
  .child-profile { margin-bottom:7px; }
  .checklist li { min-height:31px; padding:3px 7px; }
  .child-progress { margin-top:7px; }
  .seating-card,.timer-card,.lower-grid .card { padding:9px; }
  .dinner-card { padding:7px 12px; grid-template-columns:38px minmax(0,1fr) auto; gap:9px; }
  .dinner-icon { width:36px; height:36px; border-radius:12px; font-size:21px; }
  .dinner-copy h2 { font-size:17px; }
  .card-heading { margin-bottom:7px; }
  .card-heading h2 { font-size:15px; }
  .agenda-item,.simple-item { padding:3px 0; }
  .breakfast-person { padding:3px 0; }
  .note-chip { padding:5px 7px; margin-bottom:4px; }
}
@media (max-width: 800px) {
  .board-page { overflow:auto; }
  .board-shell { height:auto; min-height:100dvh; }
  .board-header { grid-template-columns:1fr 1fr; }
  .time-panel { grid-column:1; }
  .countdown-panel { grid-column:1 / -1; grid-row:2; }
  .weather-panel { grid-column:2; grid-row:1; }
  .board-status-actions { position:fixed; right:10px; bottom:10px; z-index:20; }
  .board-main { display:block; }
  .children-grid { grid-template-columns:1fr; }
  .board-side,.dinner-card,.lower-grid { margin-top:10px; }
  .dinner-card { grid-template-columns:42px minmax(0,1fr); }
  .dinner-meta { grid-column:2; align-items:flex-start; flex-direction:row; }
  .lower-grid { grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  .launcher-grid { grid-template-columns:1fr; }
  .launcher-card { min-height:140px; }
  .launcher-brand { align-items:flex-start; }
  .launcher-logo { width:60px; height:60px; border-radius:19px; }
  .form-row { grid-template-columns:1fr; }
}
@media (display-mode: standalone) {
  body { overscroll-behavior:none; }
}

.agenda-embed-mini { width:100%; height:100%; min-height:130px; border:0; border-radius:11px; background:white; }
code { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.92em; }
.board-status-actions { display:grid; grid-template-columns:repeat(2,38px); grid-auto-rows:38px; align-content:start; gap:7px; }

/* Horizontale bordpagina's */
.board-pages {
  width:100vw;
  height:100dvh;
  display:flex;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.board-pages::-webkit-scrollbar { display:none; }
.board-page-panel {
  position:relative;
  flex:0 0 100vw;
  width:100vw;
  height:100dvh;
  min-width:0;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  overflow:hidden;
}
.dashboard-page .board-shell { width:100%; }
.board-page-nav {
  position:fixed;
  z-index:90;
  left:50%;
  bottom:max(6px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:7px;
  padding:6px 9px;
  border:1px solid rgba(226,232,240,.8);
  border-radius:999px;
  background:rgba(255,255,255,.8);
  box-shadow:0 8px 24px rgba(15,23,42,.12);
  backdrop-filter:blur(14px);
}
.board-page-dot {
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#cbd5e1;
  transition:width .2s ease, background .2s ease;
  cursor:pointer;
}
.board-page-dot.active { width:23px; background:#6d5efc; }

/* Gezinsapps-scherm */
.apps-page {
  color:#172033;
  background:
    radial-gradient(circle at 14% 8%, rgba(125,211,252,.3), transparent 28rem),
    radial-gradient(circle at 88% 4%, rgba(244,114,182,.22), transparent 28rem),
    linear-gradient(145deg,#f6f8ff 0%,#eef4ff 44%,#fff7fb 100%);
}
.apps-page::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background-image:radial-gradient(rgba(88,100,140,.2) .7px, transparent .7px);
  background-size:18px 18px;
  mask-image:linear-gradient(to bottom,black,transparent 80%);
}
.apps-shell {
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  padding:22px 26px 42px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:17px;
}
.apps-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.apps-title-group { display:flex; align-items:center; gap:19px; min-width:0; }
.apps-family-mark { display:flex; flex:0 0 auto; }
.apps-family-mark img {
  width:66px;
  height:66px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid white;
  margin-left:-15px;
  box-shadow:0 8px 24px rgba(45,55,85,.15);
}
.apps-family-mark img:first-child { margin-left:0; }
.apps-eyebrow {
  display:block;
  color:#6d5efc;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.apps-header h1 {
  margin:3px 0 4px;
  font-size:clamp(32px,4vw,48px);
  line-height:.98;
  letter-spacing:-.05em;
}
.apps-header p { margin:0; color:#667085; font-size:14px; }
.apps-back-button {
  flex:0 0 auto;
  min-height:46px;
  padding:0 17px;
  border:1px solid rgba(226,232,240,.92);
  border-radius:15px;
  background:rgba(255,255,255,.82);
  color:#465166;
  font-weight:800;
  box-shadow:0 7px 23px rgba(35,45,75,.08);
  cursor:pointer;
}
.apps-back-button span { font-size:19px; margin-right:5px; }
.apps-grid {
  min-height:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:16px;
}
.hub-card {
  --hub-accent:#6d5efc;
  --hub-accent-dark:#4338ca;
  position:relative;
  min-width:0;
  min-height:0;
  padding:20px 22px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(155px,.55fr);
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:6px 18px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 19px 42px rgba(45,55,85,.11), inset 0 1px 0 rgba(255,255,255,.7);
  overflow:hidden;
  isolation:isolate;
}
.hub-card::after {
  content:"";
  position:absolute;
  z-index:-1;
  width:300px;
  height:300px;
  right:-120px;
  bottom:-165px;
  border-radius:50%;
  background:rgba(255,255,255,.28);
}
.hub-card-top { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hub-badge {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.72);
  color:color-mix(in srgb,var(--hub-accent-dark) 86%,#111827);
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.hub-open-symbol { color:color-mix(in srgb,var(--hub-accent-dark) 72%,#111827); font-size:20px; font-weight:700; }
.hub-copy { align-self:end; min-width:0; }
.hub-kicker { display:block; color:color-mix(in srgb,var(--hub-accent-dark) 80%,#475569); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.hub-copy h2 { margin:4px 0 6px; font-size:clamp(27px,3vw,39px); line-height:1; letter-spacing:-.045em; }
.hub-copy p { max-width:390px; margin:0; color:color-mix(in srgb,var(--hub-accent-dark) 48%,#475569); font-size:12px; line-height:1.45; }
.hub-visual {
  grid-column:2;
  grid-row:2 / 4;
  position:relative;
  align-self:stretch;
  min-height:110px;
  display:grid;
  place-items:center;
}
.hub-primary-button {
  grid-column:1;
  justify-self:start;
  min-height:42px;
  margin-top:8px;
  padding:0 17px;
  border:0;
  border-radius:13px;
  background:var(--hub-accent-dark);
  color:white;
  font-weight:900;
  box-shadow:0 9px 18px color-mix(in srgb,var(--hub-accent) 30%,transparent);
  cursor:pointer;
}
.hub-primary-button:active { transform:translateY(1px); }

.sonos-hub { --hub-accent:#7c3aed; --hub-accent-dark:#27272a; background:linear-gradient(145deg,#f1ebff 0%,#ddd6fe 55%,#e0e7ff 100%); }
.sonos-visual { overflow:hidden; }
.sonos-word { font-size:clamp(28px,4vw,54px); font-weight:900; letter-spacing:.08em; transform:rotate(-4deg); color:#18181b; text-shadow:0 10px 24px rgba(24,24,27,.13); }
.sound-wave { position:absolute; display:flex; align-items:center; gap:5px; bottom:17%; left:50%; transform:translateX(-50%); }
.sound-wave i { display:block; width:4px; border-radius:999px; background:#7c3aed; animation:wave 1.25s ease-in-out infinite alternate; }
.sound-wave i:nth-child(1),.sound-wave i:nth-child(5) { height:14px; }
.sound-wave i:nth-child(2),.sound-wave i:nth-child(4) { height:28px; animation-delay:.16s; }
.sound-wave i:nth-child(3) { height:42px; animation-delay:.28s; }
@keyframes wave { to { transform:scaleY(.52); opacity:.62; } }

.picnic-hub { --hub-accent:#ef4444; --hub-accent-dark:#b42318; background:linear-gradient(145deg,#fff1f2 0%,#ffe4e6 54%,#fff7ed 100%); }
.picnic-visual { place-items:end center; padding-bottom:11px; }
.picnic-basket { font-size:clamp(62px,7vw,102px); filter:drop-shadow(0 16px 16px rgba(142,50,45,.16)); }
.picnic-groceries { position:absolute; top:8%; left:50%; transform:translateX(-50%) rotate(-3deg); display:flex; align-items:end; gap:4px; font-size:31px; }
.picnic-groceries b { font-size:38px; transform:translateY(-8px); }

.eufy-hub { --hub-accent:#0ea5e9; --hub-accent-dark:#0f3c5c; background:linear-gradient(145deg,#e7f8ff 0%,#dbeafe 55%,#ecfeff 100%); }
.eufy-visual { place-items:center; }
.camera-lens {
  position:relative;
  width:112px;
  height:112px;
  display:grid;
  place-items:center;
  border-radius:38px;
  background:linear-gradient(145deg,#1f2937,#0f172a);
  box-shadow:0 20px 30px rgba(15,23,42,.2), inset 0 0 0 5px rgba(255,255,255,.1);
  transform:rotate(4deg);
}
.camera-lens::before { content:""; position:absolute; width:48px; height:18px; border-radius:10px 10px 3px 3px; top:-11px; background:#334155; }
.camera-lens i { width:62px; height:62px; border-radius:50%; border:9px solid #172033; background:radial-gradient(circle at 38% 34%,#dbeafe 0 6%,#38bdf8 7% 17%,#1e3a8a 31%,#020617 67%); box-shadow:0 0 0 5px #475569; }
.camera-live-dot { position:absolute; top:9%; right:4%; padding:5px 8px; border-radius:999px; background:#ef4444; color:white; font-size:9px; font-weight:900; letter-spacing:.08em; box-shadow:0 6px 16px rgba(239,68,68,.28); }

.boredom-hub { --hub-accent:#f59e0b; --hub-accent-dark:#7c3aed; background:linear-gradient(145deg,#fff7d6 0%,#fef3c7 38%,#fce7f3 100%); }
.boredom-visual { place-items:center; }
.idea-face {
  width:112px;
  height:112px;
  display:grid;
  place-items:center;
  border-radius:42% 58% 51% 49% / 55% 45% 55% 45%;
  background:linear-gradient(145deg,#fcd34d,#fb7185);
  color:#5b2775;
  font-size:69px;
  font-weight:700;
  line-height:1;
  box-shadow:0 18px 30px rgba(190,75,120,.2);
  transform:rotate(-5deg);
}
.idea-burst { position:absolute; inset:0; }
.idea-burst i { position:absolute; color:#7c3aed; font-style:normal; font-size:25px; }
.idea-burst i:nth-child(1) { left:8%; top:8%; transform:rotate(-18deg); }
.idea-burst i:nth-child(2) { right:5%; top:17%; font-size:34px; color:#ec4899; }
.idea-burst i:nth-child(3) { right:16%; bottom:7%; font-size:18px; color:#0ea5e9; }

.apps-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; color:#748094; font-size:11px; padding:0 4px; }
.apps-footer button { border:0; background:transparent; color:#6d5efc; font-weight:800; cursor:pointer; }

/* Ik-verveel-me-app */
.boredom-dialog { width:min(1050px,calc(100% - 26px)); max-height:calc(100dvh - 24px); }
.boredom-shell { display:grid; grid-template-rows:auto auto minmax(0,1fr) auto; max-height:calc(100dvh - 24px); background:linear-gradient(145deg,#fffdf7,#fff7fb 65%,#f5f3ff); }
.boredom-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:17px 21px 13px;
  border-bottom:1px solid rgba(226,232,240,.9);
}
.boredom-header-title { display:flex; align-items:center; gap:13px; }
.boredom-header-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:18px; background:linear-gradient(145deg,#fde68a,#f9a8d4); font-size:30px; box-shadow:0 8px 18px rgba(190,75,120,.13); }
.boredom-header h2 { margin:1px 0 0; font-size:25px; letter-spacing:-.035em; }
.boredom-header p { margin:3px 0 0; color:var(--muted); font-size:11px; }
.boredom-filters { display:grid; gap:10px; padding:12px 21px; border-bottom:1px solid rgba(226,232,240,.88); background:rgba(255,255,255,.72); }
.boredom-filter-row { display:flex; align-items:center; gap:8px; overflow-x:auto; scrollbar-width:none; }
.boredom-filter-row::-webkit-scrollbar { display:none; }
.boredom-filter-label { flex:0 0 70px; color:#64748b; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.boredom-filter-button {
  flex:0 0 auto;
  min-height:35px;
  padding:0 11px;
  border:1px solid #e2e8f0;
  border-radius:11px;
  background:white;
  color:#536075;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.boredom-filter-button.selected { color:#6d28d9; border-color:#c4b5fd; background:#f5f3ff; box-shadow:0 0 0 2px rgba(139,92,246,.08); }
.boredom-filter-button.child-filter { display:flex; align-items:center; gap:7px; }
.boredom-filter-button img { width:25px; height:25px; border-radius:50%; }
.boredom-content { min-height:0; padding:17px 21px; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr); gap:16px; overflow:auto; }
.boredom-featured {
  position:relative;
  min-height:305px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border-radius:24px;
  color:white;
  overflow:hidden;
  background:linear-gradient(145deg,#7c3aed,#a855f7 54%,#ec4899);
  box-shadow:0 18px 40px rgba(124,58,237,.22);
}
.boredom-featured::before { content:""; position:absolute; width:310px; height:310px; right:-105px; top:-145px; border-radius:50%; border:55px solid rgba(255,255,255,.08); }
.boredom-featured::after { content:""; position:absolute; width:180px; height:180px; left:-80px; bottom:-95px; border-radius:50%; background:rgba(255,255,255,.08); }
.boredom-featured-top,.boredom-featured-copy,.boredom-featured-actions { position:relative; z-index:1; }
.boredom-featured-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.boredom-count-pill { padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.2); font-size:10px; font-weight:900; }
.boredom-favorite { width:42px; height:42px; border:1px solid rgba(255,255,255,.25); border-radius:14px; background:rgba(255,255,255,.13); color:white; font-size:20px; cursor:pointer; }
.boredom-favorite.active { background:white; color:#ec4899; }
.boredom-category { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; opacity:.84; }
.boredom-featured h3 { max-width:650px; margin:8px 0 10px; font-size:clamp(31px,4vw,50px); line-height:.98; letter-spacing:-.055em; }
.boredom-featured p { max-width:690px; margin:0; font-size:14px; line-height:1.55; color:rgba(255,255,255,.9); }
.boredom-meta { display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; }
.boredom-meta span { padding:7px 9px; border-radius:10px; background:rgba(255,255,255,.14); font-size:10px; font-weight:800; }
.boredom-featured-actions { display:flex; gap:9px; margin-top:18px; }
.boredom-next-button,.boredom-done-button { min-height:44px; border:0; border-radius:13px; padding:0 16px; font-weight:900; cursor:pointer; }
.boredom-next-button { background:white; color:#6d28d9; }
.boredom-done-button { background:rgba(255,255,255,.16); color:white; border:1px solid rgba(255,255,255,.2); }
.boredom-list-panel { min-height:0; padding:17px; border-radius:24px; background:rgba(255,255,255,.78); border:1px solid rgba(226,232,240,.88); }
.boredom-list-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.boredom-list-heading h3 { margin:0; font-size:17px; }
.boredom-list-heading span { color:var(--muted); font-size:10px; }
.boredom-tip-list { display:grid; gap:8px; max-height:315px; overflow:auto; padding-right:3px; }
.boredom-list-item { width:100%; display:grid; grid-template-columns:40px 1fr auto; gap:9px; align-items:center; padding:9px; border:1px solid #e7eaf0; border-radius:14px; background:white; text-align:left; cursor:pointer; }
.boredom-list-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:#f5f3ff; font-size:20px; }
.boredom-list-copy { min-width:0; }
.boredom-list-copy strong { display:block; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.boredom-list-copy small { display:block; color:var(--muted); font-size:9.5px; margin-top:3px; }
.boredom-list-arrow { color:#a3adbb; font-size:17px; }
.boredom-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 21px max(12px,env(safe-area-inset-bottom)); border-top:1px solid rgba(226,232,240,.9); background:rgba(255,255,255,.78); }
.boredom-footer span { color:var(--muted); font-size:10px; }

@media (max-height: 800px) and (min-width: 900px) {
  .apps-shell { padding:15px 20px 34px; gap:11px; }
  .apps-family-mark img { width:52px; height:52px; }
  .apps-header h1 { font-size:34px; }
  .apps-header p { font-size:12px; }
  .apps-grid { gap:11px; }
  .hub-card { padding:14px 17px; border-radius:22px; grid-template-columns:minmax(0,1fr) minmax(125px,.48fr); }
  .hub-copy h2 { font-size:28px; }
  .hub-copy p { font-size:10.5px; }
  .hub-visual { min-height:80px; }
  .camera-lens,.idea-face { width:90px; height:90px; }
  .idea-face { font-size:56px; }
  .camera-lens i { width:49px; height:49px; }
  .picnic-basket { font-size:72px; }
  .sonos-word { font-size:37px; }
}

@media (max-width: 900px) {
  .board-page { overflow:hidden !important; }
  .board-page-panel { overflow-y:auto; }
  .apps-shell { height:auto; min-height:100dvh; padding:18px 14px 44px; }
  .apps-header { align-items:flex-start; }
  .apps-family-mark img { width:46px; height:46px; border-width:3px; margin-left:-11px; }
  .apps-header p { display:none; }
  .apps-back-button { min-height:40px; padding:0 11px; font-size:11px; }
  .apps-grid { grid-template-columns:1fr; grid-template-rows:none; }
  .hub-card { min-height:265px; }
  .boredom-content { grid-template-columns:1fr; }
  .boredom-tip-list { max-height:220px; }
}

/* Uitgebreide iPad-kaarten en detailvensters */
.expandable-card { position:relative; cursor:pointer; }
.expandable-card::after {
  content:'↗';
  position:absolute;
  top:7px;
  right:8px;
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:rgba(255,255,255,.78);
  color:#64748b;
  border:1px solid rgba(226,232,240,.92);
  font-size:11px;
  font-weight:900;
  opacity:.78;
  pointer-events:none;
  box-shadow:0 3px 9px rgba(15,23,42,.055);
}
.expandable-card:active { transform:scale(.996); }
.expandable-card .card-heading { padding-right:22px; }
.child-card.expandable-card::after { color:var(--child); }
.weather-panel.expandable-card { padding-right:42px; }
.time-panel.expandable-card,.countdown-panel.expandable-card { padding-right:42px; }

.detail-dialog { width:min(960px,calc(100% - 26px)); }
.detail-shell { display:flex; flex-direction:column; max-height:calc(100dvh - 26px); background:white; }
.detail-body { padding:18px 20px; overflow:auto; background:linear-gradient(145deg,#f8fafc,#ffffff); }
.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.detail-panel { padding:16px; border:1px solid #e3e8ef; border-radius:18px; background:white; box-shadow:0 6px 18px rgba(15,23,42,.05); }
.detail-panel.full { grid-column:1 / -1; }
.detail-panel h3 { margin:0 0 10px; font-size:18px; }
.detail-panel p { margin:0; color:var(--muted); line-height:1.55; }
.detail-large-value { font-size:clamp(42px,8vw,86px); line-height:1; letter-spacing:-.065em; font-weight:300; font-variant-numeric:tabular-nums; }
.detail-subtitle { margin-top:8px; color:var(--muted); font-size:15px; text-transform:capitalize; }
.detail-clock-wrap { min-height:280px; display:grid; place-items:center; text-align:center; border-radius:24px; background:linear-gradient(145deg,#eff6ff,#fdf2f8); }
.detail-weather { display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:center; }
.detail-weather-icon { font-size:86px; }
.detail-weather-temp { font-size:68px; line-height:1; letter-spacing:-.06em; }
.detail-weather-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:16px; }
.detail-weather-meta span { padding:12px; border-radius:14px; background:#f8fafc; border:1px solid #e7eaf0; text-align:center; font-size:12px; color:var(--muted); }
.detail-weather-meta strong { display:block; color:var(--ink); font-size:18px; margin-bottom:3px; }
.detail-child-header { display:flex; align-items:center; gap:14px; margin-bottom:15px; }
.detail-child-header img { width:92px; height:92px; object-fit:cover; border-radius:50%; border:4px solid white; box-shadow:0 8px 22px rgba(15,23,42,.12); }
.detail-child-header h3 { margin:0; font-size:31px; }
.detail-child-header p { margin:3px 0 0; }
.detail-checklist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:0; margin:0; list-style:none; }
.detail-checklist li { min-height:58px; padding:10px 12px; display:grid; grid-template-columns:34px 1fr 28px; gap:9px; align-items:center; border:1px solid #e4e8ef; border-radius:15px; background:white; cursor:pointer; }
.detail-checklist li.done { background:#f0fdf4; border-color:#bbf7d0; }
.detail-checklist .check-box { width:27px; height:27px; }
.detail-summary-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-top:1px solid #edf0f4; }
.detail-summary-row:first-child { border-top:0; }
.detail-summary-row strong { font-size:14px; }
.detail-summary-row small { display:block; color:var(--muted); margin-top:3px; }

.native-agenda-shell { min-height:500px; display:flex; flex-direction:column; }
.native-agenda-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); background:white; }
.native-agenda-status { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:11px; }
.native-agenda-status .dot { width:9px; height:9px; border-radius:50%; background:#94a3b8; }
.native-agenda-status.online .dot { background:#22c55e; }
.native-agenda-status.error .dot { background:#ef4444; }
.native-agenda-list { padding:16px 18px 22px; overflow:auto; display:grid; gap:14px; }
.native-agenda-day { border:1px solid #e4e8ef; border-radius:18px; background:white; overflow:hidden; }
.native-agenda-day h3 { margin:0; padding:12px 14px; background:#f8fafc; border-bottom:1px solid #edf0f4; font-size:14px; text-transform:capitalize; }
.native-agenda-event { display:grid; grid-template-columns:60px 5px 1fr; gap:11px; align-items:start; padding:11px 14px; border-top:1px solid #edf0f4; }
.native-agenda-event:first-of-type { border-top:0; }
.native-agenda-time { font-size:12px; font-weight:850; font-variant-numeric:tabular-nums; }
.native-agenda-color { width:5px; height:100%; min-height:38px; border-radius:999px; background:var(--event-color,#8b5cf6); }
.native-agenda-copy strong { display:block; font-size:14px; }
.native-agenda-copy small { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.agenda-source-pill { display:inline-flex; margin-top:5px; padding:3px 7px; border-radius:999px; font-size:9px; font-weight:800; background:#f1f5f9; color:#64748b; }
.agenda-setup-box { margin:20px; padding:20px; border:1px dashed #cbd5e1; border-radius:18px; background:#f8fafc; color:#475569; line-height:1.55; }
.agenda-setup-box code { word-break:break-all; }
.agenda-list .agenda-source { display:block; color:var(--muted); font-size:8.5px; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.agenda-refreshing { opacity:.58; }

.board-breakfast-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.board-breakfast-kid { --child:#8b5cf6; min-height:190px; border:1px solid color-mix(in srgb,var(--child) 24%,#e2e8f0); border-radius:22px; padding:16px; background:linear-gradient(150deg,#fff,color-mix(in srgb,var(--child) 8%,white)); text-align:left; cursor:pointer; }
.board-breakfast-kid.mila { --child:var(--blue); }
.board-breakfast-kid.noor { --child:var(--pink); }
.board-breakfast-kid.finn { --child:var(--teal); }
.board-breakfast-kid img { width:78px; height:78px; object-fit:cover; border-radius:50%; border:3px solid white; box-shadow:0 7px 18px rgba(15,23,42,.11); }
.board-breakfast-kid strong { display:block; margin-top:10px; color:var(--child); font-size:21px; }
.board-breakfast-kid small { display:block; margin-top:5px; color:var(--muted); line-height:1.4; }
.board-breakfast-kid .status-badge { margin-top:10px; }
.board-breakfast-form { display:grid; gap:16px; }
.board-breakfast-section { padding:16px; border:1px solid #e4e8ef; border-radius:18px; background:white; }
.board-breakfast-section h3 { margin:0 0 11px; font-size:17px; }
.board-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.board-choice { min-height:58px; display:flex; align-items:center; gap:8px; padding:10px 12px; border:1px solid #dfe5ed; border-radius:14px; background:white; cursor:pointer; font-weight:750; }
.board-choice:has(input:checked) { border-color:var(--purple); background:#f5f3ff; box-shadow:0 0 0 2px rgba(139,92,246,.09); color:#6d28d9; }
.board-choice input { width:20px; height:20px; }
.board-topping-row { display:grid; grid-template-columns:minmax(0,1fr) 92px; gap:10px; align-items:center; margin-top:8px; }
.board-topping-row:first-of-type { margin-top:0; }
.board-quantity-select { min-height:48px; border:1px solid #dfe5ed; border-radius:13px; padding:0 10px; background:white; }
.breakfast-dialog-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.breakfast-dialog-actions .right { display:flex; gap:9px; margin-left:auto; }
.breakfast-person { cursor:pointer; border-radius:12px; padding:3px 4px; }
.breakfast-person:active { background:#f8fafc; }

.detail-timer-children { display:grid; gap:13px; }
.detail-timer-child { --child:#8b5cf6; padding:15px; border:1px solid color-mix(in srgb,var(--child) 20%,#e2e8f0); border-radius:18px; background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--child) 6%,white)); }
.detail-timer-child.mila { --child:var(--blue); }
.detail-timer-child.noor { --child:var(--pink); }
.detail-timer-child.finn { --child:var(--teal); }
.detail-timer-head { display:flex; align-items:center; gap:11px; margin-bottom:12px; }
.detail-timer-head img { width:54px; height:54px; border-radius:50%; }
.detail-timer-head strong { color:var(--child); font-size:18px; }
.detail-timer-head small { display:block; color:var(--muted); margin-top:3px; }
.detail-timer-blocks { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.detail-timer-block-wrap { display:grid; gap:6px; }
.detail-timer-block { min-height:62px; border:1px solid color-mix(in srgb,var(--child) 28%,#dfe5ed); border-radius:15px; background:white; color:var(--child); font-size:17px; font-weight:900; cursor:pointer; }
.detail-timer-block.running { background:color-mix(in srgb,var(--child) 11%,white); box-shadow:0 0 0 2px color-mix(in srgb,var(--child) 22%,white); }
.detail-timer-block.used { color:#94a3b8; background:#f1f5f9; text-decoration:line-through; border-color:#e2e8f0; }
.detail-reset-block { min-height:32px; border:0; border-radius:9px; background:#f8fafc; color:#64748b; font-size:10px; font-weight:800; cursor:pointer; }
.timer-help-hint { margin-top:9px; color:var(--muted); font-size:10px; }


@media (max-width: 760px) {
  .detail-grid,.board-breakfast-picker,.board-choice-grid { grid-template-columns:1fr; }
  .detail-checklist { grid-template-columns:1fr; }
  .detail-weather { grid-template-columns:1fr; text-align:center; }
  .detail-weather-meta { grid-template-columns:1fr; }
  .detail-timer-blocks { grid-template-columns:repeat(2,1fr); }
}

/* Uitbreidingen: grote detailweergaven, ontbijt op iPad en losse timer-reset */
.expandable-card:focus-visible {
  outline:3px solid rgba(109,94,252,.34);
  outline-offset:3px;
}
.breakfast-person {
  width:100%;
  border-left:0;
  border-right:0;
  border-bottom:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  appearance:none;
}
.breakfast-person:first-child { border-top:0; }
.board-breakfast-kid:disabled { opacity:.58; cursor:not-allowed; filter:grayscale(.15); }
.child-form-title { display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.child-form-title img { width:72px; height:72px; object-fit:cover; border-radius:50%; border:3px solid white; box-shadow:0 7px 18px rgba(15,23,42,.11); }
.child-form-title h3 { margin:0; font-size:26px; }
.child-form-title p { margin:4px 0 0; color:var(--muted); }

.phone-timer-unit { position:relative; display:grid; grid-template-rows:auto auto; gap:4px; min-width:0; }
.phone-timer-unit .phone-timer-block { width:100%; }
.phone-timer-reset {
  min-height:28px;
  border:1px solid #e2e8f0;
  border-radius:9px;
  background:#f8fafc;
  color:#64748b;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
}
.phone-timer-reset:active { transform:scale(.96); background:#eef2f7; }

.app-link-explanation {
  padding:17px;
  border:1px solid #dbe4f0;
  border-radius:17px;
  background:linear-gradient(145deg,#f8fafc,#fff);
  color:#526076;
  line-height:1.55;
}
.app-link-explanation strong { color:var(--ink); display:block; margin-bottom:5px; }
.app-link-explanation p { margin:7px 0 0; }

@media (max-width: 430px) {
  .phone-timer-blocks { gap:5px; }
  .phone-timer-block { font-size:11px; }
  .phone-timer-reset { min-height:26px; }
}

/* Betrouwbare tikbediening op iPad */
.expandable-card,
.timer-block,
.detail-timer-block,
.phone-timer-block,
.detail-reset-block,
.phone-timer-reset,
.board-breakfast-kid,
.board-choice {
  touch-action: manipulation;
}

/* v1.6 - halve telefoontimers en betrouwbaar scrollend ontbijtvenster */
.phone-timer-controls {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
}
.phone-timer-duration,
.phone-timer-reset {
  min-height:30px;
  border:1px solid #e2e8f0;
  border-radius:9px;
  background:#f8fafc;
  color:#64748b;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}
.phone-timer-duration.active {
  border-color:#8b5cf6;
  background:#f5f3ff;
  color:#6d28d9;
}
.phone-timer-duration:active,
.phone-timer-reset:active { transform:scale(.96); background:#eef2f7; }

.detail-timer-actions {
  display:grid;
  grid-template-columns:1fr;
  gap:5px;
}
.detail-duration-block,
.detail-reset-block {
  min-height:34px;
  border:1px solid #e2e8f0;
  border-radius:9px;
  background:#f8fafc;
  color:#64748b;
  padding:5px 7px;
  font-size:10px;
  line-height:1.2;
  font-weight:850;
  cursor:pointer;
}
.detail-duration-block.active {
  border-color:color-mix(in srgb,var(--child) 45%,#dfe5ed);
  background:color-mix(in srgb,var(--child) 9%,white);
  color:var(--child);
}
.detail-timer-block-wrap.half .detail-timer-block {
  border-style:dashed;
}

.detail-dialog {
  max-height:calc(100dvh - 26px);
  overflow:hidden;
}
.board-breakfast-form.detail-shell {
  display:flex;
  flex-direction:column;
  gap:0;
  width:100%;
  height:min(900px,calc(100dvh - 26px));
  max-height:calc(100dvh - 26px);
  min-height:0;
  overflow:hidden;
}
.board-breakfast-form .dialog-header,
.board-breakfast-form .dialog-actions { flex:0 0 auto; }
.board-breakfast-form .detail-body {
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  padding-bottom:34px;
}
.board-breakfast-form .board-breakfast-section:last-child { margin-bottom:8px; }

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled,
.ghost-button:disabled {
  opacity:.58;
  cursor:wait;
}

.phone-timer-duration,
.detail-duration-block {
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

@media (max-width:430px) {
  .phone-timer-duration,
  .phone-timer-reset { min-height:28px; font-size:12px; }
}

/* v3.3.4 - definitieve dagtimers, hoorbare alarmen en beheerbaar ontbijtbeleg */
.phone-timer-finish,
.detail-finish-block {
  min-height:30px;
  border:1px solid #fecaca;
  border-radius:9px;
  background:#fff1f2;
  color:#be123c;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.detail-finish-block { min-height:34px; padding:5px 7px; font-size:10px; line-height:1.2; }
.phone-timer-finish:active,
.detail-finish-block:active { transform:scale(.96); background:#ffe4e6; }
.phone-timer-duration:disabled,
.phone-timer-finish:disabled,
.detail-duration-block:disabled,
.detail-finish-block:disabled {
  opacity:.42;
  cursor:not-allowed;
  transform:none;
}
.timer-audio-status {
  display:flex;
  align-items:center;
  gap:13px;
  padding:15px;
  border:1px solid #fde68a;
  background:linear-gradient(145deg,#fffbeb,#fff);
}
.timer-audio-status.enabled { border-color:#bbf7d0; background:linear-gradient(145deg,#f0fdf4,#fff); }
.timer-audio-status .timer-audio-icon {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:14px;
  background:white;
  box-shadow:0 5px 14px rgba(15,23,42,.08);
  font-size:23px;
}
.timer-audio-status strong { display:block; font-size:13px; }
.timer-audio-status small { display:block; margin-top:4px; color:var(--muted); font-size:10.5px; line-height:1.42; }

.breakfast-options-manager { gap:18px; }
.breakfast-options-group { padding:15px; border:1px solid #e2e8f0; border-radius:17px; background:#fff; }
.breakfast-options-heading h3 { margin:0; font-size:14px; }
.breakfast-options-heading p { margin:4px 0 0; color:var(--muted); font-size:10.5px; }
.breakfast-option-chips { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.breakfast-option-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  color:#334155;
  font-size:11px;
  font-weight:750;
}
.breakfast-option-chip.fixed small { color:#94a3b8; font-size:8px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.breakfast-option-chip.custom { border-color:#c4b5fd; background:#f5f3ff; color:#6d28d9; }
.breakfast-option-chip button {
  width:21px;
  height:21px;
  border:0;
  border-radius:50%;
  background:#ede9fe;
  color:#6d28d9;
  font-size:16px;
  line-height:1;
  cursor:pointer;
}
.breakfast-option-add { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; margin-top:12px; }
.breakfast-option-add input { min-width:0; min-height:44px; border:1px solid #dbe2ea; border-radius:12px; padding:0 11px; font:inherit; }
.breakfast-option-add .secondary-button { min-height:44px; }

@media (max-width:430px) {
  .phone-timer-finish { min-height:28px; font-size:12px; }
  .breakfast-option-add { grid-template-columns:1fr; }
}


/* v3.3.4 - iedere ontbijtkeuze combineert een eigen ondergrond en beleg */
.breakfast-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:13px; }
.breakfast-section-heading h3 { margin:0 0 5px; }
.breakfast-section-heading p { margin:0; max-width:720px; color:var(--muted); font-size:12px; line-height:1.45; }
.breakfast-editor-title { display:block; margin-bottom:5px; font-size:14px; }
.breakfast-combination-list { display:grid; gap:11px; }
.breakfast-combination-row { border:1px solid #dfe5ed; border-radius:17px; background:linear-gradient(145deg,#fff,#f8fafc); padding:12px; box-shadow:0 3px 10px rgba(15,23,42,.035); }
.breakfast-combination-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.breakfast-combination-head strong { font-size:13px; color:#334155; }
.breakfast-remove-button { min-height:32px; border:0; border-radius:10px; padding:6px 10px; background:#fff1f2; color:#be123c; font-size:11px; font-weight:850; cursor:pointer; }
.breakfast-remove-button:disabled { opacity:.35; cursor:not-allowed; }
.breakfast-combination-fields { display:grid; grid-template-columns:minmax(150px,1fr) minmax(190px,1.35fr) 92px; gap:10px; align-items:end; }
.breakfast-combination-field { display:grid; gap:6px; min-width:0; }
.breakfast-combination-field > span { font-size:11px; color:#475569; font-weight:850; }
.breakfast-combination-field select { width:100%; min-height:50px; border:1px solid #dfe5ed; border-radius:13px; padding:0 11px; background:#fff; color:var(--ink); font-size:14px; }
.breakfast-combination-field select:focus { border-color:var(--purple); box-shadow:0 0 0 3px rgba(139,92,246,.11); outline:none; }
.breakfast-add-button { width:100%; margin-top:12px; min-height:48px; }
.phone-breakfast-combination-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 76px; gap:8px; align-items:end; }
.phone-combination-row { padding:11px; }
.phone-combination-row .field input,
.phone-combination-row .field select { min-height:44px; padding:8px 9px; }

@media (max-width:760px) {
  .breakfast-combination-fields { grid-template-columns:1fr 1fr; }
  .breakfast-combination-field.quantity { grid-column:1 / -1; max-width:130px; }
}

@media (max-width:430px) {
  .phone-breakfast-combination-fields { grid-template-columns:1fr 1fr; }
  .phone-breakfast-combination-fields .quantity { grid-column:1 / -1; max-width:110px; }
  .breakfast-combination-row { padding:10px; }
}

/* v3.3.4 - dagklusjes, gesplitste kwartieren, duidelijke alarmen, weer morgen en robuuste agenda-scroll */
[hidden] { display:none !important; }

/* De tijd- en datumtegel is verwijderd; de drie hoofdtegels gebruiken de volle breedte. */
.board-header {
  grid-template-columns:minmax(330px,1.2fr) minmax(235px,.82fr) minmax(285px,1fr) auto;
}
.countdown-panel,
.weather-panel,
.chores-panel {
  min-height:96px;
}
.chores-panel {
  position:relative;
  min-width:0;
  padding:10px 12px;
  border:1px solid #d8e9df;
  border-radius:20px;
  background:linear-gradient(145deg,rgba(240,253,244,.95),rgba(255,255,255,.92));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.chores-panel::before {
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  right:-42px;
  top:-55px;
  border-radius:50%;
  background:rgba(34,197,94,.08);
  pointer-events:none;
}
.chores-panel-heading {
  position:relative;
  padding-right:26px;
  z-index:1;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:7px;
}
.chores-panel-heading strong {
  font-size:17px;
  letter-spacing:-.025em;
}
.chores-header-overview {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}
.chore-mini-row {
  --child:var(--purple);
  min-width:0;
  min-height:51px;
  padding:5px 6px;
  display:grid;
  grid-template-columns:31px minmax(0,1fr);
  gap:6px;
  align-items:center;
  border:1px solid color-mix(in srgb,var(--child) 17%,#dbe4df);
  border-radius:13px;
  background:rgba(255,255,255,.84);
  text-align:left;
  cursor:pointer;
  touch-action:manipulation;
}
.chore-mini-row.mila { --child:var(--blue); }
.chore-mini-row.noor { --child:var(--pink); }
.chore-mini-row.finn { --child:var(--teal); }
.chore-mini-row img {
  width:31px;
  height:31px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid white;
  box-shadow:0 3px 8px rgba(15,23,42,.1);
}
.chore-mini-row span { min-width:0; }
.chore-mini-row strong {
  display:block;
  color:var(--child);
  font-size:10px;
  line-height:1.1;
}
.chore-mini-row small {
  display:block;
  margin-top:2px;
  color:#526076;
  font-size:8.5px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.chore-mini-row b { display:none; }

/* Dagklusjes op iPad en telefoon. */
.chore-picker-intro {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:15px;
  padding:15px;
  border:1px solid #bbf7d0;
  border-radius:18px;
  background:linear-gradient(145deg,#f0fdf4,#fff);
}
.chore-picker-icon {
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:white;
  box-shadow:0 6px 16px rgba(15,23,42,.07);
  font-size:29px;
}
.chore-picker-intro h3 { margin:0 0 4px; font-size:20px; }
.chore-picker-intro p { margin:0; color:var(--muted); line-height:1.45; }
.board-chore-picker {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.board-chore-kid {
  --child:var(--purple);
  min-width:0;
  min-height:184px;
  padding:16px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid color-mix(in srgb,var(--child) 24%,#e2e8f0);
  border-radius:21px;
  background:linear-gradient(150deg,#fff,color-mix(in srgb,var(--child) 7%,white));
  text-align:left;
  cursor:pointer;
}
.board-chore-kid.mila { --child:var(--blue); }
.board-chore-kid.noor { --child:var(--pink); }
.board-chore-kid.finn { --child:var(--teal); }
.board-chore-kid img {
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid white;
  box-shadow:0 7px 18px rgba(15,23,42,.1);
}
.board-chore-kid span { min-width:0; width:100%; }
.board-chore-kid strong {
  display:block;
  margin-top:10px;
  color:var(--child);
  font-size:21px;
}
.board-chore-kid small {
  display:block;
  min-height:35px;
  margin-top:5px;
  color:var(--muted);
  font-size:12px;
  line-height:1.42;
}
.board-chore-kid b {
  display:inline-flex;
  margin-top:auto;
  padding:7px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--child) 11%,white);
  color:var(--child);
  font-size:11px;
}
.chore-option-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.chore-option-button {
  min-height:104px;
  padding:14px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  border:1px solid #dfe5ed;
  border-radius:17px;
  background:white;
  text-align:left;
  cursor:pointer;
  touch-action:manipulation;
}
.chore-option-button > span { font-size:28px; }
.chore-option-button strong { margin-top:8px; font-size:14px; }
.chore-option-button small { margin-top:4px; color:var(--muted); font-size:10px; }
.chore-option-button.selected {
  border-color:#86efac;
  background:#f0fdf4;
  box-shadow:0 0 0 2px rgba(34,197,94,.09);
}
.phone-chore-row {
  --child:var(--purple);
  width:100%;
  min-height:64px;
  padding:9px 14px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  border:0;
  border-top:1px solid #edf0f4;
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.phone-chore-row:first-child { border-top:0; }
.phone-chore-row.mila { --child:var(--blue); }
.phone-chore-row.noor { --child:var(--pink); }
.phone-chore-row.finn { --child:var(--teal); }
.phone-chore-row img { width:43px; height:43px; border-radius:50%; object-fit:cover; }
.phone-chore-row strong { display:block; color:var(--child); font-size:13px; }
.phone-chore-row small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.phone-chore-row .state { color:#94a3b8; font-size:19px; }
.phone-chore-option-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.phone-chore-option {
  min-height:100px;
  padding:13px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid #dfe5ed;
  border-radius:16px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.phone-chore-option > span { font-size:27px; }
.phone-chore-option strong { margin-top:8px; font-size:12px; }
.phone-chore-option small { margin-top:4px; color:var(--muted); font-size:9.5px; }
.phone-chore-option.selected { border-color:#86efac; background:#f0fdf4; box-shadow:0 0 0 2px rgba(34,197,94,.08); }
.chore-option-manager { display:grid; gap:9px; }
.chore-option-manager-row {
  min-height:52px;
  padding:8px 10px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
}
.chore-option-manager-row > span { font-size:24px; text-align:center; }
.chore-option-manager-row strong { font-size:12px; }
.chore-option-manager-row b { color:#94a3b8; font-size:9px; text-transform:uppercase; }
.chore-option-manager-row button {
  width:31px;
  height:31px;
  border:0;
  border-radius:10px;
  background:#fff1f2;
  color:#be123c;
  font-size:20px;
  cursor:pointer;
}
.chore-option-add-form {
  display:grid;
  grid-template-columns:80px minmax(0,1fr) auto;
  gap:9px;
  align-items:end;
  margin-top:13px;
}
.chore-icon-field input { text-align:center; font-size:22px; }

/* Ontbijticoontjes en richttijd. */
.breakfast-choice-icon {
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#fff7ed;
  font-size:18px;
}
.breakfast-guidance {
  margin-bottom:14px;
  padding:12px 14px;
  border:1px solid #fde68a;
  border-radius:15px;
  background:#fffbeb;
  color:#92400e;
  font-size:12px;
  line-height:1.45;
}
.breakfast-guidance strong { display:block; margin-bottom:2px; }

/* Een kwartier kan uit twee opeenvolgende helften bestaan. */
.phone-timer-credit,
.timer-credit-label {
  display:block;
  min-height:14px;
  color:#748094;
  font-size:8px;
  font-weight:850;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.phone-timer-unit.half .phone-timer-block,
.detail-timer-block-wrap.half .detail-timer-block { border-style:dashed; }
.phone-timer-controls { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.phone-timer-duration,
.phone-timer-finish,
.phone-timer-reset { min-width:0; padding:0 3px; }
.detail-timer-actions { grid-template-columns:1fr 1fr; }

/* Alarm blijft zichtbaar en hoorbaar totdat iemand bewust bevestigt. */
.timer-alarm-dialog {
  width:min(540px,calc(100% - 24px));
  overflow:visible;
  background:transparent;
  box-shadow:none;
}
.timer-alarm-dialog::backdrop {
  background:rgba(15,23,42,.67);
  backdrop-filter:blur(8px);
}
.timer-alarm-shell {
  --child:var(--purple);
  position:relative;
  padding:34px 28px 28px;
  overflow:hidden;
  border:3px solid color-mix(in srgb,var(--child) 60%,white);
  border-radius:30px;
  background:linear-gradient(155deg,#fff,color-mix(in srgb,var(--child) 11%,white));
  box-shadow:0 32px 100px rgba(15,23,42,.38);
  text-align:center;
}
.timer-alarm-shell.mila { --child:var(--blue); }
.timer-alarm-shell.noor { --child:var(--pink); }
.timer-alarm-shell.finn { --child:var(--teal); }
.timer-alarm-shell::before,
.timer-alarm-shell::after {
  content:"";
  position:absolute;
  border-radius:50%;
  background:color-mix(in srgb,var(--child) 10%,transparent);
}
.timer-alarm-shell::before { width:240px; height:240px; right:-130px; top:-115px; }
.timer-alarm-shell::after { width:150px; height:150px; left:-80px; bottom:-80px; }
.timer-alarm-pulse {
  position:relative;
  z-index:1;
  width:132px;
  height:132px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:color-mix(in srgb,var(--child) 12%,white);
  box-shadow:0 0 0 0 color-mix(in srgb,var(--child) 30%,transparent);
  animation:timerAlarmPulse 1.25s ease-out infinite;
}
.timer-alarm-pulse img {
  width:112px;
  height:112px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid white;
  box-shadow:0 10px 25px rgba(15,23,42,.16);
}
.timer-alarm-eyebrow {
  position:relative;
  z-index:1;
  display:block;
  color:var(--child);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.timer-alarm-shell h2 {
  position:relative;
  z-index:1;
  margin:8px auto 9px;
  max-width:430px;
  color:var(--child);
  font-size:clamp(25px,5vw,38px);
  line-height:1.05;
  letter-spacing:-.045em;
}
.timer-alarm-shell p {
  position:relative;
  z-index:1;
  margin:0 auto 22px;
  max-width:430px;
  color:#526076;
  font-size:14px;
  line-height:1.52;
}
.timer-alarm-dismiss {
  position:relative;
  z-index:1;
  width:100%;
  min-height:58px;
  border:0;
  border-radius:17px;
  background:var(--child);
  color:#fff;
  font-size:17px;
  font-weight:900;
  box-shadow:0 12px 26px color-mix(in srgb,var(--child) 27%,transparent);
  cursor:pointer;
}
@keyframes timerAlarmPulse {
  0% { box-shadow:0 0 0 0 color-mix(in srgb,var(--child) 32%,transparent); transform:scale(1); }
  72% { box-shadow:0 0 0 26px color-mix(in srgb,var(--child) 0%,transparent); transform:scale(1.025); }
  100% { box-shadow:0 0 0 0 color-mix(in srgb,var(--child) 0%,transparent); transform:scale(1); }
}

/* De vergrote agenda heeft een vaste flexhoogte; alleen de afsprakenlijst scrolt. */
.wide-dialog {
  width:min(1000px,calc(100% - 24px));
  max-height:calc(100dvh - 24px);
}
.wide-dialog .dialog-shell,
.calendar-dialog-shell {
  width:100%;
  height:min(820px,calc(100dvh - 24px));
  max-height:calc(100dvh - 24px);
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
}
.wide-dialog .dialog-header { flex:0 0 auto; }
.calendar-dialog-content {
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  background:#f8fafc;
}
.native-agenda-shell {
  width:100%;
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.native-agenda-toolbar,
.agenda-setup-box { flex:0 0 auto; }
.native-agenda-list {
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  scrollbar-gutter:stable;
}

@media (max-width:1180px) {
  .board-header {
    grid-template-columns:minmax(315px,1.15fr) minmax(225px,.78fr) minmax(270px,1fr) auto;
  }
  .chores-panel { padding:9px 10px; }
  .chore-mini-row { padding:4px; gap:4px; }
  .chore-mini-row img { width:28px; height:28px; }
  .chore-mini-row small { font-size:8px; }
}

@media (max-height:760px) and (min-width:800px) {
  .countdown-panel,
  .weather-panel,
  .chores-panel { min-height:83px; }
  .chores-panel-heading { margin-bottom:4px; }
  .chores-panel-heading strong { font-size:15px; }
  .chore-mini-row { min-height:44px; }
  .chore-mini-row img { width:26px; height:26px; }
  .chore-mini-row strong { font-size:9px; }
  .chore-mini-row small { font-size:7.5px; }
}

@media (max-width:800px) {
  .board-header { grid-template-columns:1fr 1fr; }
  .countdown-panel { grid-column:1 / -1; grid-row:auto; }
  .weather-panel { grid-column:auto; grid-row:auto; }
  .chores-panel { grid-column:1 / -1; }
  .board-chore-picker,
  .chore-option-grid { grid-template-columns:1fr; }
  .board-chore-kid { min-height:130px; display:grid; grid-template-columns:70px 1fr auto; align-items:center; gap:12px; }
  .board-chore-kid strong { margin-top:0; }
  .board-chore-kid b { margin-top:0; }
}

@media (max-width:520px) {
  .phone-timer-blocks { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .phone-chore-option-grid { grid-template-columns:1fr; }
  .chore-option-add-form { grid-template-columns:70px minmax(0,1fr); }
  .chore-option-add-form .secondary-button { grid-column:1 / -1; }
  .timer-alarm-shell { padding:28px 20px 22px; border-radius:25px; }
  .timer-alarm-pulse { width:112px; height:112px; }
  .timer-alarm-pulse img { width:94px; height:94px; }
}
.chore-option-manager-row > span:nth-child(2) { min-width:0; }
.chore-option-manager-row small { display:block; margin-top:3px; color:var(--muted); font-size:9.5px; }

/* v3.3.4 - betrouwbare iPad-agendascroll, weer morgen en extra buitenideeën */
.calendar-dialog {
  width:min(1000px,calc(100% - 20px));
  height:calc(100vh - 20px);
  height:calc(100dvh - 20px);
  max-height:none;
  overflow:hidden;
}
.calendar-dialog-shell {
  width:100%;
  height:100%;
  max-height:none;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
}
.calendar-dialog-header {
  flex:0 0 auto;
  position:relative;
  z-index:4;
  background:#fff;
}
.calendar-dialog-content {
  position:relative;
  flex:1 1 0;
  min-height:0 !important;
  height:auto !important;
  overflow-y:scroll !important;
  overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
  background:#f8fafc;
  scrollbar-gutter:stable;
}
.calendar-dialog-content:focus { outline:none; }
.calendar-dialog-content .native-agenda-shell {
  width:100%;
  height:auto !important;
  min-height:100%;
  display:block;
  overflow:visible !important;
}
.calendar-dialog-content .native-agenda-toolbar {
  position:sticky;
  top:0;
  z-index:3;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
}
.calendar-dialog-content .native-agenda-list {
  display:grid;
  gap:14px;
  min-height:auto;
  overflow:visible !important;
  padding:16px 18px max(30px,env(safe-area-inset-bottom));
}
.calendar-scroll-hint {
  display:flex;
  align-items:center;
  gap:7px;
  padding:8px 18px;
  color:#64748b;
  background:#eef2f7;
  border-bottom:1px solid #e2e8f0;
  font-size:10px;
  font-weight:800;
}

.weather-detail-days {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.weather-day-card {
  position:relative;
  overflow:hidden;
  padding:20px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:linear-gradient(150deg,#fff,#f8fbff);
  box-shadow:0 8px 24px rgba(15,23,42,.055);
}
.weather-day-card.tomorrow { background:linear-gradient(150deg,#fff,#f5f3ff); }
.weather-day-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.weather-day-heading h3 { margin:2px 0 0; font-size:24px; }
.weather-day-icon { font-size:58px; line-height:1; filter:drop-shadow(0 6px 9px rgba(15,23,42,.12)); }
.weather-day-temperature { margin-top:12px; display:flex; align-items:flex-end; gap:10px; }
.weather-day-temperature strong { font-size:56px; line-height:.9; letter-spacing:-.06em; }
.weather-day-temperature span { color:#64748b; font-size:13px; padding-bottom:6px; }
.weather-day-description { margin:8px 0 0; color:#475569; font-size:14px; }
.weather-day-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px; }
.weather-day-stat { padding:10px 8px; border:1px solid #e5e9f0; border-radius:13px; background:rgba(255,255,255,.82); text-align:center; color:#64748b; font-size:10px; }
.weather-day-stat strong { display:block; color:#172033; font-size:15px; margin-bottom:3px; }
.clothing-advice {
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:11px;
  align-items:start;
  margin-top:16px;
  padding:13px;
  border-radius:16px;
  background:#fff7ed;
  border:1px solid #fed7aa;
}
.clothing-advice-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:#ffedd5; font-size:26px; }
.clothing-advice strong { display:block; color:#9a3412; font-size:13px; }
.clothing-advice p { margin:4px 0 0; color:#7c2d12; font-size:11px; line-height:1.45; }
.weather-detail-note { margin-top:12px; color:#64748b; font-size:10px; line-height:1.45; }

.boredom-weather-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid #bae6fd;
  border-radius:15px;
  background:linear-gradient(120deg,#ecfeff,#eff6ff);
}
.boredom-weather-banner span { min-width:0; }
.boredom-weather-banner strong { display:block; color:#075985; font-size:12px; }
.boredom-weather-banner small { display:block; margin-top:2px; color:#0369a1; font-size:9.5px; }
.boredom-pool-button {
  flex:0 0 auto;
  min-height:36px;
  padding:0 12px;
  border:0;
  border-radius:11px;
  background:#0284c7;
  color:white;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.pool-safety-note {
  padding:9px 12px;
  border-radius:13px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e40af;
  font-size:10px;
  line-height:1.45;
}

@media (max-width:720px) {
  .weather-detail-days { grid-template-columns:1fr; }
  .weather-day-card { padding:16px; }
  .weather-day-temperature strong { font-size:48px; }
}

/* v3.3.4 iPad: agenda als eigen vaste overlay; de overlay zelf is de enige scrollcontainer. */
body.calendar-open { overflow:hidden; }
.calendar-overlay[hidden] { display:none !important; }
.calendar-overlay {
  position:fixed;
  inset:0;
  z-index:1000;
  display:block;
  padding:10px;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  background:rgba(15,23,42,.48);
  backdrop-filter:blur(5px);
}
.calendar-overlay-panel {
  width:min(1000px,100%);
  min-height:calc(100vh - 20px);
  min-height:calc(100dvh - 20px);
  margin:0 auto;
  border-radius:24px;
  background:#f8fafc;
  box-shadow:0 30px 100px rgba(15,23,42,.32);
  overflow:visible;
}
.calendar-overlay .calendar-dialog-header {
  position:sticky;
  top:-1px;
  z-index:10;
  border-radius:24px 24px 0 0;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(14px);
}
.calendar-overlay .calendar-dialog-content {
  display:block;
  min-height:calc(100vh - 92px) !important;
  min-height:calc(100dvh - 92px) !important;
  height:auto !important;
  overflow:visible !important;
  touch-action:auto;
  background:#f8fafc;
}
.calendar-overlay .native-agenda-shell {
  display:block;
  width:100%;
  height:auto !important;
  min-height:0;
  overflow:visible !important;
}
.calendar-overlay .native-agenda-toolbar {
  position:sticky;
  top:72px;
  z-index:8;
}
.calendar-overlay .native-agenda-list {
  display:grid;
  gap:14px;
  overflow:visible !important;
  min-height:0;
  padding:16px 18px max(30px,env(safe-area-inset-bottom));
}
@media (max-width:600px) {
  .calendar-overlay { padding:0; }
  .calendar-overlay-panel { width:100%; min-height:100dvh; border-radius:0; }
  .calendar-overlay .calendar-dialog-header { border-radius:0; }
}

/* v3.3.4 - invoeren op de iPad en extra ideeën voor turnen en auto's */
.dialog-header-actions {
  display:flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
}
.dialog-plus-button {
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--purple),#6d5efc);
  color:#fff;
  font-size:31px;
  font-weight:400;
  line-height:1;
  cursor:pointer;
  box-shadow:0 9px 20px rgba(109,94,252,.22);
}
.dialog-plus-button:active { transform:scale(.96); }
.board-compose-form {
  --accent:var(--purple);
  --accent-rgb:139,92,246;
  width:100%;
  max-height:calc(100dvh - 26px);
  overflow:hidden;
}
.board-compose-form .detail-body {
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
}
.board-compose-card {
  width:min(760px,100%);
  margin:0 auto;
  display:grid;
  gap:17px;
  padding:22px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.board-compose-intro {
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:13px;
  align-items:center;
  padding:13px;
  border-radius:17px;
  background:linear-gradient(135deg,#f5f3ff,#eff6ff);
  border:1px solid #e9e5ff;
}
.board-compose-intro > span {
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#fff;
  font-size:29px;
  box-shadow:0 5px 14px rgba(15,23,42,.07);
}
.board-compose-intro strong { display:block; font-size:17px; }
.board-compose-intro p { margin:4px 0 0; color:var(--muted); line-height:1.45; font-size:12px; }
.board-compose-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.board-compose-form .field label { font-size:13px; }
.board-compose-form .field input,
.board-compose-form .field select,
.board-compose-form .field textarea {
  min-height:54px;
  border-radius:15px;
  padding:13px 14px;
  font-size:16px;
}
.board-compose-form .field textarea {
  min-height:190px;
  resize:none;
}
.board-compose-check {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:10px 13px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#f8fafc;
  font-weight:750;
  cursor:pointer;
}
.board-compose-check input { width:22px; height:22px; accent-color:var(--purple); }
.board-compose-actions { justify-content:space-between; }
.board-compose-actions .primary-button { min-width:180px; }
@media (max-width:650px) {
  .board-compose-grid { grid-template-columns:1fr; }
  .board-compose-card { padding:16px; }
  .board-compose-actions { flex-wrap:wrap; }
  .board-compose-actions > button { flex:1 1 150px; }
}

/* v3.3.4 - stabiele timerpopup, expliciete 7½-minutenkeuze en gesproken alarmen */
.timer-detail-dialog {
  width:min(980px,calc(100% - 20px));
  height:calc(100dvh - 20px);
  max-height:none;
  overflow:hidden;
}
.timer-detail-dialog .detail-shell {
  width:100%;
  height:100%;
  max-height:none;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.timer-detail-dialog .dialog-header,
.timer-detail-dialog .dialog-actions {
  flex:0 0 auto;
}
.timer-detail-dialog .detail-body {
  flex:1 1 0;
  min-height:0;
  overflow-y:auto !important;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
  scrollbar-gutter:stable;
  padding-bottom:44px;
}
.timer-detail-dialog .detail-timer-children {
  min-height:max-content;
}

.phone-timer-controls {
  display:grid;
  grid-template-columns:1fr;
  gap:5px;
}
.phone-timer-duration-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
}
.phone-timer-duration-pair .phone-timer-duration {
  min-width:0;
  padding:5px 3px;
  line-height:1.15;
}
.phone-timer-finish,
.phone-timer-reset {
  width:100%;
  min-height:34px;
}
.phone-timer-credit {
  min-height:24px;
  display:flex;
  align-items:flex-end;
  line-height:1.15;
}
@media (max-width:430px) {
  .phone-timer-duration-pair .phone-timer-duration { font-size:11.5px; }
  .phone-timer-credit { font-size:9px; }
}


/* v3.3.4 - eigen voiceovers, dag-navigatie voor avondeten en duidelijke lijstweergave */
.dinner-card {
  touch-action:pan-y;
  overscroll-behavior-x:contain;
}
.dinner-card.future {
  border-color:#c4b5fd;
  background:linear-gradient(115deg,#f5f3ff 0%,#fff7ed 56%,#ffffff 100%);
}
.dinner-day-nav {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  max-width:150px;
}
.dinner-day-nav button {
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border:1px solid #e2e8f0;
  border-radius:9px;
  background:rgba(255,255,255,.88);
  color:#6d28d9;
  font-size:20px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
}
.dinner-day-nav button:disabled { opacity:.28; cursor:default; }
.dinner-day-nav span {
  min-width:55px;
  color:#6b7280;
  font-size:9px;
  line-height:1.1;
  font-weight:900;
  text-align:center;
  white-space:nowrap;
}
.dinner-detail-dialog .detail-body {
  touch-action:pan-y;
  overscroll-behavior-x:contain;
}
.dinner-detail-card {
  min-height:360px;
  padding:28px 34px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(145deg,#fff7ed,#ffffff 58%,#f5f3ff);
  border-color:#fed7aa;
}
.dinner-detail-date-nav {
  width:min(520px,100%);
  margin:0 auto 18px;
  display:grid;
  grid-template-columns:50px minmax(0,1fr) 50px;
  align-items:center;
  gap:12px;
}
.dinner-detail-date-nav button {
  width:50px;
  height:50px;
  border:1px solid #ddd6fe;
  border-radius:16px;
  background:#fff;
  color:#6d28d9;
  font-size:32px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(76,29,149,.08);
}
.dinner-detail-date-nav button:disabled { opacity:.25; cursor:default; box-shadow:none; }
.dinner-detail-date-nav div { min-width:0; }
.dinner-detail-date-nav strong { display:block; margin-top:4px; font-size:20px; color:#334155; }
.dinner-detail-icon { font-size:68px; line-height:1; }
.dinner-detail-card h3 { margin:12px 0 8px; font-size:36px; line-height:1.08; letter-spacing:-.04em; }
.dinner-detail-card > p { max-width:680px; margin:0; color:#64748b; font-size:16px; line-height:1.55; }
.dinner-detail-hint { display:block; margin-top:24px; color:#7c3aed; font-size:11px; font-weight:800; }

.note-chip-text { display:inline; white-space:pre-line; }
.note-device-badge {
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(139,92,246,.09);
  color:#6d28d9 !important;
  font-size:8.5px !important;
  font-weight:900;
  white-space:nowrap;
  vertical-align:baseline;
}
.note-detail-row .note-device-badge { align-self:flex-start; margin-top:1px; }
.phone-note-device {
  display:inline-block;
  margin-left:6px;
  padding:1px 5px;
  border-radius:999px;
  background:#f3e8ff;
  color:#7e22ce;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
}

.carer-note { white-space:normal; }
.carer-bullet-list {
  margin:16px 0 0;
  padding:0;
  display:grid;
  gap:9px;
  list-style:none;
}
.carer-bullet-list li {
  position:relative;
  padding:10px 12px 10px 34px;
  border:1px solid #dbeafe;
  border-radius:13px;
  background:#f8fbff;
  color:#334155;
  font-size:15px;
  line-height:1.45;
}
.carer-bullet-list li::before {
  content:'•';
  position:absolute;
  left:14px;
  top:8px;
  color:#2563eb;
  font-size:23px;
  line-height:1;
  font-weight:900;
}
.carer-bullet-list.compact {
  margin:0;
  gap:4px;
}
.carer-bullet-list.compact li {
  padding:3px 4px 3px 15px;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:10px;
  line-height:1.25;
}
.carer-bullet-list.compact li::before {
  left:2px;
  top:2px;
  font-size:14px;
}
.phone-carer-bullets {
  display:grid;
  gap:4px;
  margin-top:5px;
  color:#64748b;
  font-size:11px;
  line-height:1.35;
  text-align:left;
}
.phone-carer-bullets > span { display:block; white-space:normal; }
.phone-carer-empty { display:block; margin-top:4px; color:#94a3b8; font-size:11px; }
.phone-carer-row { align-items:flex-start; }
.phone-carer-row .phone-list-arrow { align-self:center; }

@media (max-width:900px) {
  .dinner-day-nav span { min-width:48px; }
  .dinner-detail-card { min-height:300px; padding:22px 18px; }
  .dinner-detail-card h3 { font-size:30px; }
}

/* v3.3.4 - ontbijt van de huidige ochtend blijft tot 10:00 zichtbaar */
.phone-bottom-nav { grid-template-columns:repeat(4,1fr); }

.phone-dinner-date-label {
  display:block;
  margin:0 0 2px !important;
  color:#9a6b35 !important;
  font-size:9px !important;
  font-weight:850;
  text-transform:capitalize;
}
.phone-dinner-planning {
  margin-top:9px;
  overflow:hidden;
}
.phone-dinner-planning .phone-card-header {
  padding-bottom:8px;
}
.phone-dinner-plan-row {
  width:100%;
  min-height:57px;
  display:grid;
  grid-template-columns:74px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:9px 14px;
  border:0;
  border-top:1px solid #edf0f4;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.phone-dinner-plan-row.empty { background:#fbfcfe; }
.phone-dinner-plan-date {
  color:#7c3aed;
  font-size:11px;
  font-weight:900;
  text-transform:capitalize;
}
.phone-dinner-plan-copy { min-width:0; }
.phone-dinner-plan-copy strong,
.phone-dinner-plan-copy small {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.phone-dinner-plan-copy strong { font-size:13px; }
.phone-dinner-plan-copy small { margin-top:3px; color:var(--muted); font-size:9.5px; }
.phone-dinner-plan-row.empty .phone-dinner-plan-copy strong { color:#64748b; }

.dinner-editor-date-nav {
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  gap:10px;
  align-items:center;
  padding:12px;
  border:1px solid #fed7aa;
  border-radius:18px;
  background:linear-gradient(135deg,#fff7ed,#ffffff 62%,#f5f3ff);
}
.dinner-editor-date-nav > button {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid #ddd6fe;
  border-radius:15px;
  background:#fff;
  color:#6d28d9;
  font-size:31px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(76,29,149,.08);
}
.dinner-editor-date-nav > button:disabled { opacity:.28; cursor:default; box-shadow:none; }
.dinner-editor-date-summary { min-width:0; text-align:center; }
.dinner-editor-date-summary > span {
  display:block;
  color:#9a6b35;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.dinner-editor-date-summary > strong {
  display:block;
  margin:3px 0 9px;
  color:#1e293b;
  font-size:18px;
  line-height:1.15;
  text-transform:capitalize;
}
.dinner-editor-date-summary label { display:block; }
.dinner-editor-date-summary label small {
  display:block;
  margin-bottom:4px;
  color:#64748b;
  font-size:9px;
  font-weight:750;
}
.dinner-editor-date-summary input {
  width:100%;
  min-height:38px;
  border:1px solid #e2e8f0;
  border-radius:11px;
  padding:0 9px;
  background:rgba(255,255,255,.92);
  color:#334155;
  font:inherit;
  font-size:12px;
}
.dinner-editor-status {
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border-radius:15px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
}
.dinner-editor-status > span {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#f1f5f9;
  color:#64748b;
  font-size:19px;
  font-weight:900;
}
.dinner-editor-status.filled { border-color:#bbf7d0; background:#f0fdf4; }
.dinner-editor-status.filled > span { background:#dcfce7; color:#15803d; }
.dinner-editor-status strong { display:block; font-size:12px; }
.dinner-editor-status small { display:block; margin-top:3px; color:#64748b; font-size:9.5px; }

@media (min-width:801px) {
  .board-shell { padding:10px; gap:8px; }
  .board-header {
    gap:8px;
    grid-template-columns:minmax(330px,1.25fr) minmax(245px,.85fr) minmax(300px,1fr) auto;
  }
  .countdown-panel,
  .weather-panel,
  .chores-panel {
    min-height:84px;
    max-height:84px;
  }
  .countdown-panel { padding:9px 14px; gap:14px; }
  .countdown-copy strong { font-size:15px; margin:3px 0; }
  .countdown-copy small { font-size:10px; }
  .countdown-track { height:14px; }
  .ready-time { font-size:24px; }
  .weather-panel { padding:8px 11px; gap:9px; }
  .weather-icon { font-size:36px; }
  .weather-main strong { font-size:25px; margin:3px 0; }
  .weather-main small { font-size:9.5px; }
  .weather-details { padding-left:10px; gap:2px; font-size:8.8px; }
  .chores-panel { padding:6px 8px; }
  .chores-panel-heading { margin-bottom:3px; padding-right:22px; align-items:center; }
  .chores-panel-heading .panel-kicker { font-size:8px; }
  .chores-panel-heading strong { font-size:14px; }
  .chores-header-overview { gap:4px; }
  .chore-mini-row {
    min-height:39px;
    padding:3px 4px;
    grid-template-columns:25px minmax(0,1fr);
    gap:4px;
    border-radius:10px;
  }
  .chore-mini-row img { width:25px; height:25px; }
  .chore-mini-row strong { font-size:9px; }
  .chore-mini-row small { margin-top:1px; font-size:7.4px; }
  .board-status-actions { grid-template-columns:repeat(2,38px); grid-auto-rows:38px; gap:6px; }

  .board-main {
    grid-template-columns:minmax(0,1fr) 265px;
    grid-template-rows:minmax(300px,1.18fr) 100px minmax(156px,.64fr);
    gap:8px;
  }
  .children-grid,
  .board-side,
  .lower-grid { gap:8px; }
  .board-side { grid-template-rows:148px minmax(0,1fr); gap:8px; }
  .seating-card { padding:7px 9px; }
  .seating-row { min-height:25px; }
  .bedtime-row { min-height:22px; }
  .seating-switch { margin-top:2px; }
  .timer-card { padding:10px 11px; }
  .timer-card .card-heading { margin-bottom:7px; }
  .timer-card .card-heading h2 { font-size:21px; }
  .board-timers { gap:9px; }
  .board-timer-row { grid-template-columns:37px 1fr; gap:8px; }
  .timer-mini-avatar { width:37px; height:37px; }
  .timer-row-title { margin-bottom:4px; }
  .timer-row-title strong { font-size:13px; }
  .timer-total { font-size:10px; }
  .timer-blocks { gap:5px; }
  .timer-block { height:31px; border-radius:9px; font-size:10px; }

  .dinner-card {
    padding:12px 18px;
    grid-template-columns:56px minmax(0,1fr) auto;
    gap:15px;
  }
  .dinner-icon { width:54px; height:54px; border-radius:17px; font-size:30px; }
  .dinner-copy h2 { margin:3px 0 2px; font-size:25px; }
  .dinner-copy p { font-size:12px; }
  .dinner-meta { gap:5px; }
  .dinner-day-nav { max-width:170px; gap:6px; }
  .dinner-day-nav button { width:31px; height:31px; flex-basis:31px; border-radius:10px; font-size:23px; }
  .dinner-day-nav span { min-width:62px; font-size:10px; }
  .dinner-meta small { font-size:9.5px; }
}

@media (max-width:430px) {
  .dinner-editor-date-nav { grid-template-columns:42px minmax(0,1fr) 42px; gap:7px; padding:10px; }
  .dinner-editor-date-nav > button { width:42px; height:42px; border-radius:13px; font-size:27px; }
  .dinner-editor-date-summary > strong { font-size:16px; }
  .phone-dinner-plan-row { grid-template-columns:67px minmax(0,1fr) auto; padding-left:12px; padding-right:12px; }
}


/* Ontbijt van vanochtend: rustige alleen-lezen weergave */
.breakfast-morning-list,
.phone-breakfast-morning-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.breakfast-morning-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(100,116,139,.16);
}

.breakfast-morning-list li > span:first-child,
.breakfast-morning-drink > span,
.phone-breakfast-morning-list li > span,
.phone-breakfast-morning-drink > span {
  font-size: 26px;
  line-height: 1;
}

.breakfast-morning-list li > span:last-child {
  color: var(--muted);
}

.breakfast-morning-drink,
.phone-breakfast-morning-drink {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(100,116,139,.16);
}

.phone-breakfast-morning-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-soft, #f7f8fb);
}

.phone-breakfast-morning-list li div,
.phone-breakfast-morning-drink div {
  display: grid;
  gap: 3px;
}

.phone-breakfast-morning-list small,
.phone-breakfast-morning-drink small {
  color: var(--muted);
}

/* v3.3.4 - punten, stickers en analyses */
.child-score { display:flex; flex-direction:column; gap:1px; line-height:1.05; }
.child-score small { display:block; font-size:10px; color:var(--muted); font-weight:900; }
.child-card.earned-point { box-shadow:0 18px 42px color-mix(in srgb,var(--child) 18%, rgba(52,65,105,.08)); }
.child-card.earned-point::after { content:'⭐ punt verdiend'; position:absolute; right:14px; bottom:12px; font-size:10px; font-weight:900; color:var(--child); background:color-mix(in srgb,var(--child) 12%,white); padding:5px 8px; border-radius:999px; }
.child-sticker-inline { display:inline-flex; margin-top:6px; padding:6px 9px; border-radius:999px; background:#fff7ed; color:#9a3412; font-weight:900; }
.sticker-award-overlay { position:fixed; inset:0; z-index:260; display:grid; place-items:center; background:rgba(15,23,42,.18); backdrop-filter:blur(8px); animation:fadeIn .18s ease both; }
.sticker-award-card { position:relative; width:min(430px,92vw); text-align:center; background:linear-gradient(145deg,#fff,#f7f7ff); border:1px solid rgba(255,255,255,.9); border-radius:34px; padding:26px; box-shadow:0 30px 90px rgba(15,23,42,.28); animation:stickerPop .42s cubic-bezier(.2,1.4,.45,1) both; }
.sticker-award-card img { width:92px; height:92px; border-radius:50%; border:5px solid white; box-shadow:0 12px 30px rgba(15,23,42,.14); }
.sticker-award-card .sticker-large { width:96px; height:96px; display:grid; place-items:center; margin:-30px auto 6px; border-radius:30px; background:linear-gradient(135deg,#fde68a,#fef3c7); font-size:54px; box-shadow:0 18px 38px rgba(245,158,11,.24); }
.sticker-award-card h2 { margin:8px 0 4px; font-size:30px; letter-spacing:-.04em; }
.sticker-award-card strong { display:block; color:#6d28d9; font-size:20px; }
.sticker-award-card p { color:var(--muted); margin:8px 0 20px; }
.sticker-confetti { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.sticker-confetti span { position:absolute; top:12%; font-size:32px; animation:confettiDrop 1.6s ease-in-out infinite alternate; }
.sticker-confetti span:nth-child(1){ left:12%; color:#f59e0b; animation-delay:.05s; }
.sticker-confetti span:nth-child(2){ left:27%; color:#8b5cf6; animation-delay:.2s; }
.sticker-confetti span:nth-child(3){ right:26%; color:#14b8a6; animation-delay:.33s; }
.sticker-confetti span:nth-child(4){ right:10%; color:#ec4899; animation-delay:.48s; }
.sticker-confetti span:nth-child(5){ left:50%; color:#2563eb; animation-delay:.62s; }
@keyframes stickerPop { from { transform:scale(.7) rotate(-2deg); opacity:0; } to { transform:scale(1) rotate(0); opacity:1; } }
@keyframes confettiDrop { from { transform:translateY(-20px) rotate(-8deg); } to { transform:translateY(35px) rotate(15deg); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.phone-seating-card { padding:8px 14px; }
.phone-seating-row { display:grid; grid-template-columns:32px 1fr auto; gap:10px; align-items:center; padding:9px 0; border-top:1px solid #edf0f4; }
.phone-seating-row:first-child { border-top:0; }
.phone-seating-row span { font-size:20px; }
.phone-seating-row strong { font-size:13px; }
.phone-seating-row b { background:#fff7ed; color:#b45309; border-radius:999px; padding:6px 10px; font-size:12px; }
.phone-checklist-results { padding:8px 12px; }
.phone-check-result-row { display:grid; grid-template-columns:38px 1fr auto auto; gap:9px; align-items:center; padding:8px 0; border-top:1px solid #edf0f4; }
.phone-check-result-row:first-child { border-top:0; }
.phone-check-result-row img { width:34px; height:34px; border-radius:50%; }
.phone-check-result-row small { display:block; color:var(--muted); font-size:10px; margin-top:1px; }
.phone-check-result-row b { min-width:34px; text-align:center; border-radius:999px; padding:5px 8px; background:#f1f5f9; }
.phone-check-result-row.complete b { background:#ecfdf5; color:#15803d; }
.phone-check-result-row em { font-style:normal; font-size:11px; font-weight:900; color:#7c3aed; }

.analytics-page { color:#172033; background:radial-gradient(circle at 15% 8%, rgba(125,211,252,.32), transparent 28rem),radial-gradient(circle at 88% 6%, rgba(244,114,182,.24), transparent 28rem),linear-gradient(145deg,#f8fbff 0%,#eef4ff 54%,#fff7fb 100%); }
.analytics-shell { height:100dvh; padding:18px 22px 48px; display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:14px; overflow:hidden; }
.analytics-header { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; }
.analytics-header h1 { margin:0; font-size:42px; letter-spacing:-.055em; }
.analytics-header p { margin:4px 0 0; color:var(--muted); }
.analytics-filter-bar { display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.analytics-filter-group { display:flex; gap:6px; padding:6px; border-radius:999px; background:rgba(255,255,255,.82); box-shadow:0 8px 24px rgba(15,23,42,.08); }
.analytics-filter-button { border:0; background:transparent; border-radius:999px; padding:8px 12px; font-size:12px; font-weight:900; cursor:pointer; color:#475569; }
.analytics-filter-button.active { background:#6d5efc; color:white; box-shadow:0 8px 18px rgba(109,94,252,.22); }
.analytics-content { min-height:0; overflow:auto; -webkit-overflow-scrolling:touch; padding-right:4px; }
.analytics-hero-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 22px; margin-bottom:14px; border-radius:28px; background:rgba(255,255,255,.86); border:1px solid rgba(226,232,240,.86); box-shadow:var(--shadow); }
.analytics-hero-card h2 { margin:2px 0 4px; font-size:30px; letter-spacing:-.04em; }
.analytics-hero-card p { margin:0; color:var(--muted); font-weight:800; }
.analytics-ring { width:116px; height:116px; border-radius:50%; display:grid; place-items:center; text-align:center; background:conic-gradient(#22c55e var(--score, 75%), #e2e8f0 0); box-shadow:inset 0 0 0 12px rgba(255,255,255,.88); }
.analytics-ring span { display:block; font-size:27px; font-weight:950; }
.analytics-ring small { display:block; font-size:10px; color:var(--muted); font-weight:900; margin-top:-30px; }
.analytics-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.analytics-card { min-height:170px; border-radius:24px; padding:16px; background:rgba(255,255,255,.88); border:1px solid rgba(226,232,240,.86); box-shadow:var(--shadow); }
.analytics-card h3 { margin:0 0 12px; font-size:16px; letter-spacing:-.02em; }
.analytics-bar-row { display:grid; grid-template-columns:92px 1fr 34px; gap:8px; align-items:center; margin:8px 0; font-size:11px; }
.analytics-bar-row span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:800; }
.analytics-bar-row div { height:10px; overflow:hidden; border-radius:999px; background:#e2e8f0; }
.analytics-bar-row i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#8b5cf6,#ec4899); }
.analytics-bar-row b { text-align:right; font-variant-numeric:tabular-nums; }
.analytics-big-number { font-size:50px; line-height:1; font-weight:950; letter-spacing:-.07em; color:#6d28d9; }
.analytics-card p { color:var(--muted); line-height:1.38; margin:6px 0; }
.analytics-tip { font-size:15px; font-weight:800; color:#334155 !important; }
.analytics-empty { padding:12px; border-radius:14px; background:#f8fafc; color:var(--muted); font-size:12px; }
.analytics-footer { padding-top:4px; }
@media (max-width: 1100px) { .analytics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .analytics-header { align-items:flex-start; flex-direction:column; } .analytics-filter-bar { align-items:flex-start; } }


/* Huishoudbord 3.3.6 - duidelijk afvinken en stabiele kindkaarten */
.simple-item {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
}

.simple-check {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 2px solid #94a3b8;
  border-radius: 9px;
  background: #fff;
  color: transparent;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.simple-check::after {
  content: '';
  box-sizing: border-box;
  width: 8px;
  height: 14px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  opacity: 0;
  transform: rotate(45deg);
}

.simple-check[aria-checked="true"],
.simple-item.done .simple-check {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 2px 8px rgba(22, 163, 74, .24);
}

.simple-check[aria-checked="true"]::after,
.simple-item.done .simple-check::after {
  opacity: 1;
}

.simple-check:active {
  transform: scale(.92);
}

.simple-check:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .32);
  outline-offset: 2px;
}

.detail-summary-row .simple-check {
  flex: 0 0 28px;
}

.simple-copy {
  min-width: 0;
  line-height: 1.3;
}

/* De kindkaarten worden vanaf 3.3.6 in de JavaScriptcode in plaats bijgewerkt.
   Deze regel voorkomt een zichtbare overgang als oude CSS nog uit de cache komt. */
#childrenGrid > .child-card {
  animation: none !important;
}

/* Huishoudbord 3.3.7 - betrouwbare timer-audio */
.timer-card-heading-meta {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:5px;
  min-width:0;
}
.timer-audio-chip {
  min-height:25px;
  max-width:150px;
  padding:4px 9px;
  border:1px solid #fed7aa;
  border-radius:999px;
  background:#fff7ed;
  color:#9a3412;
  font:800 10px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(154,52,18,.08);
}
.timer-audio-chip.ready {
  border-color:#bbf7d0;
  background:#f0fdf4;
  color:#166534;
}
.timer-audio-chip.running {
  border-color:#86efac;
  background:#dcfce7;
  color:#14532d;
}
.board-status-actions .icon-button.audio-attention {
  background:#fff7ed;
  color:#c2410c;
  box-shadow:0 0 0 2px rgba(251,146,60,.18),0 4px 16px rgba(15,23,42,.06);
}
.timer-alarm-audio-retry {
  width:100%;
  min-height:48px;
  margin:4px 0 10px;
  padding:11px 16px;
  border:1px solid #fdba74;
  border-radius:15px;
  background:#fff7ed;
  color:#9a3412;
  font:800 15px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.timer-alarm-audio-retry[hidden] { display:none !important; }

@media (max-width: 900px) {
  .timer-audio-chip { max-width:128px; font-size:9px; padding-inline:7px; }
}
