/* Generated by scripts/build-voorbeeld.py from prototype/havely-oppas.html. Do not edit by hand. */
@import url("/assets/fonts/fonts.css");
/* Layout: one calm phone-width column, sticky family header, bottom tab bar, emergency sheet over everything */
:root {
  --bg: #F1F4F0;
  --surface: #FFFFFF;
  --surface-2: #E7EDE8;
  --ink: #16211D;
  --muted: #586560;
  --line: #D6DED9;
  --accent: #22574A;
  --accent-ink: #FFFFFF;
  --accent-soft: #DBEAE2;
  --now: #B9770F;
  --now-soft: #FBEFD8;
  --danger: #C0332A;
  --danger-ink: #FFFFFF;
  --danger-soft: #FBE4E1;
  --shadow: 0 1px 2px rgba(22,33,29,.06), 0 8px 24px rgba(22,33,29,.07);
  --f-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1412; --surface: #17201C; --surface-2: #1F2925; --ink: #E6EDE9; --muted: #98A7A0; --line: #29352F;
    --accent: #7CC4A8; --accent-ink: #0B1914; --accent-soft: #1B3128;
    --now: #E9AE4A; --now-soft: #372B15;
    --danger: #F06B5F; --danger-ink: #1C0806; --danger-soft: #3A1C19;
    --shadow: 0 1px 0 rgba(255,255,255,.03);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1412; --surface: #17201C; --surface-2: #1F2925; --ink: #E6EDE9; --muted: #98A7A0; --line: #29352F;
  --accent: #7CC4A8; --accent-ink: #0B1914; --accent-soft: #1B3128;
  --now: #E9AE4A; --now-soft: #372B15;
  --danger: #F06B5F; --danger-ink: #1C0806; --danger-soft: #3A1C19;
  --shadow: 0 1px 0 rgba(255,255,255,.03);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }

.wrap { max-width: 460px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* demo ribbon */
.demo { background: var(--surface-2); color: var(--muted); font-size: 12.5px; }
.demo .wrap { padding-block: 7px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.demo b { color: var(--ink); font-weight: 600; }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
header.top .wrap { padding-block: 14px 12px; display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: start; }
.eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.family { font-size: 22px; line-height: 1.15; margin-top: 2px; }
.meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.pill.live { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hdr-actions { display: flex; gap: 8px; align-items: center; }
.lang { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
.sos { background: var(--danger); color: var(--danger-ink); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.sos svg { width: 16px; height: 16px; }

.translated { grid-column: 1 / -1; font-size: 13px; color: var(--accent); }

main { padding-block: 18px calc(96px + env(safe-area-inset-bottom, 0px)); }
.view { display: grid; gap: 18px; }

/* note of the day */
.note { background: var(--now-soft); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; }
.note .label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--now); }
.note p { margin: 0; }
.note .from { font-size: 13px; color: var(--muted); }

/* timeline */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.section-head h2 { font-size: 19px; }
.section-head span { font-size: 13px; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.tl { display: grid; grid-template-columns: 54px 22px 1fr; column-gap: 10px; position: relative; }
.tl .time { font-family: var(--f-mono); font-size: 13.5px; color: var(--muted); padding-top: 14px; font-variant-numeric: tabular-nums; }
.tl .rail { position: relative; display: flex; justify-content: center; }
.tl .rail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl:first-child .rail::before { top: 20px; }
.tl:last-child .rail::before { bottom: calc(100% - 20px); }
.dot { position: relative; margin-top: 15px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.tl.done .dot { background: var(--accent); border-color: var(--accent); }
.tl.now .dot { border-color: var(--now); background: var(--now); box-shadow: 0 0 0 5px var(--now-soft); }
.tl .card { margin-block: 6px; padding: 9px 12px; border-radius: 14px; min-width: 0; }
.tl.now .card { background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.tl .title { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tl.done .title { color: var(--muted); }
.tl .detail { font-size: 14.5px; color: var(--muted); margin: 2px 0 0; }
.tag-now { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--now); }
.check { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px 5px 6px; }
.check .box { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.check.on { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }
.check.on .box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check .box svg { width: 12px; height: 12px; }
.seen { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* guide */
.block { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.block > header { padding: 14px 16px 6px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.block > header h2 { font-size: 18px; }
.block > header span { font-size: 13px; color: var(--muted); }
.rows { display: grid; }
.row { padding: 10px 16px 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.block > header + .rows .row:first-child { border-top: 0; }
.row .k { font-weight: 600; }
.row .v { color: var(--muted); font-size: 15px; }
.row .warn { color: var(--danger); font-weight: 600; font-size: 14.5px; }

.wifi { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.wifi .cred { display: grid; gap: 6px; min-width: 0; }
.mono { font-family: var(--f-mono); font-size: 14.5px; overflow-wrap: anywhere; }
.qr { width: 92px; height: 92px; border-radius: 10px; background: #FFFFFF; padding: 6px; display: grid; place-items: center; }
.qr img, .qr canvas { width: 80px !important; height: 80px !important; }
.small-btn { border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; justify-self: start; }

.where { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 16px 16px; }
.spot { border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 6px; background: var(--bg); }
.spot .pic { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 10px; background: var(--surface-2); position: relative; overflow: hidden; }
.spot .pic svg { width: 100%; height: 100%; display: block; }
.spot b { font-size: 14.5px; }
.spot span { font-size: 13px; color: var(--muted); line-height: 1.35; }

.secret { padding: 12px 16px 16px; display: grid; gap: 8px; }
.code { display: flex; gap: 8px; }
.code i { font-style: normal; font-family: var(--f-mono); font-size: 22px; width: 42px; height: 50px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; }
.reveal { background: var(--ink); color: var(--bg); border: 0; border-radius: 12px; padding: 12px 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; justify-content: center; }
.reveal svg { width: 18px; height: 18px; }
.expiry { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.expiry svg { width: 14px; height: 14px; flex: none; }

/* ask */
.ask-intro { display: grid; gap: 4px; }
.ask-intro h2 { font-size: 22px; }
.ask-intro p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; font-size: 14px; text-align: left; }
.chat { display: grid; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 15.5px; }
.msg.me { justify-self: end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.msg.bot { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg .src { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.msg.miss { background: var(--now-soft); border-color: transparent; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
form.ask { display: flex; gap: 8px; position: sticky; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); background: var(--bg); padding-block: 8px; }
form.ask input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 11px 16px; font: inherit; }
form.ask button { border: 0; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 18px; font-weight: 600; }

/* tabs */
nav.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
nav.tabs .inner { max-width: 428px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
nav.tabs button { border: 0; background: none; padding: 10px 4px 12px; display: grid; justify-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
nav.tabs button svg { width: 22px; height: 22px; }
nav.tabs button[aria-selected="true"] { color: var(--accent); }

/* emergency sheet */
.sheet { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.sheet .bar { background: var(--danger); color: var(--danger-ink); }
.sheet .bar .wrap { padding-block: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet .bar h2 { font-size: 20px; }
.sheet .bar button { border: 0; background: rgba(255,255,255,.18); color: inherit; border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.sheet .body { padding-block: 18px 32px; display: grid; gap: 16px; }
.addr { background: var(--surface); border: 2px solid var(--danger); border-radius: 18px; padding: 16px; display: grid; gap: 6px; }
.addr .eyebrow { color: var(--danger); }
.addr .big { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.addr .sub { color: var(--muted); font-size: 15px; }
.call112 { background: var(--danger); color: var(--danger-ink); border: 0; border-radius: 18px; padding: 18px; font-family: var(--f-display); font-weight: 700; font-size: 24px; display: flex; gap: 10px; align-items: center; justify-content: center; }
.call112 svg { width: 24px; height: 24px; }
.contacts { display: grid; }
.contact { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.contact:first-child { border-top: 0; }
.contact .who { font-weight: 600; }
.contact .what { font-size: 13.5px; color: var(--muted); grid-column: 1; }
.contact .num { grid-row: 1 / span 2; grid-column: 2; font-family: var(--f-mono); font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface-2); white-space: nowrap; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: calc(100% - 32px); box-shadow: var(--shadow); }

footer.made { text-align: center; font-size: 12.5px; color: var(--muted); padding-top: 8px; }
footer.made b { font-family: var(--f-display); color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .typing i { animation: none; opacity: .6; } }
.demo a.home { color: inherit; text-decoration: none; }

:root {
  --bg: #FFF6F0; --surface: #FFFFFF; --surface-2: #FFF0E8; --ink: #2E1838; --muted: #6B5570; --line: #EBDDD5;
  --accent: #2E1838; --accent-ink: #FFF6F0; --accent-soft: #C7EBD9;
  --now: #2E1838; --now-soft: #FFE08A;
  --danger: #B3261E; --danger-ink: #FFFFFF; --danger-soft: #FBE1DE;
  --shadow: 0 1px 2px rgba(46,24,56,.05), 0 10px 30px rgba(46,24,56,.07);
  --f-display: "Gabarito", "Avenir Next", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Onest", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A0F20; --surface: #241629; --surface-2: #2E1E35; --ink: #FFF1E8; --muted: #BCA9C2; --line: #3A2842;
    --accent: #FFF1E8; --accent-ink: #1A0F20; --accent-soft: #23402F;
    --now: #FFE08A; --now-soft: #3A3016;
    --danger: #C62E26; --danger-ink: #FFFFFF; --danger-soft: #3A1A1E;
    --shadow: 0 1px 0 rgba(255,255,255,.03);
  }
}
:root[data-theme="dark"] {
  --bg: #1A0F20; --surface: #241629; --surface-2: #2E1E35; --ink: #FFF1E8; --muted: #BCA9C2; --line: #3A2842;
  --accent: #FFF1E8; --accent-ink: #1A0F20; --accent-soft: #23402F;
  --now: #FFE08A; --now-soft: #3A3016;
  --danger: #C62E26; --danger-ink: #FFFFFF; --danger-soft: #3A1A1E;
  --shadow: 0 1px 0 rgba(255,255,255,.03);
}
h1, h2, h3 { font-weight: 800; }
.tl .time { font-variant-numeric: tabular-nums; }
.block, .tl.now .card { border-color: transparent; border-radius: 22px; }
.sos, .call112 { box-shadow: 0 0 0 2px var(--bg); }
#langBtn { display: none; }
