/* Layout: one calm phone-width column, read half-asleep at 3 a.m.; feed and post detail swap in place */
:root {
  --bg: #f4f5f9;
  --card: #ffffff;
  --ink: #1d2233;
  --muted: #5b6275;
  --line: #dfe2ec;
  --accent: #6f55b5;  /* lavender */
  --accent-soft: #efe9fb;
  --same: #f3d27a;
  --same-ink: #6b4d00;
  --warn-bg: #fff4e0;
  --warn-ink: #7a4b00;
  --hl-a: #f6f2fe;  /* hover: very pale lavender ... */
  --hl-b: #ddd2f7;  /* ... to pale lavender */
  --hl-ink: #1d2233;
  --logo-p: #6f55b5; --logo-leaf: #a58fe6; --logo-ink: #4f3a92;  /* logo: Little sprout */
  --s1: #ffe3ea; --s1-ink: #9b2c4c;  /* stage cards: baby pink, sky, mint, lilac */
  --s2: #e3f1ff; --s2-ink: #1f5a96;
  --s3: #e4f6e6; --s3-ink: #2f6b3a;
  --s4: #f0e8ff; --s4-ink: #5b3c96;
  /* Sprout leaf shapes (chosen 23 October 2026): two round corners and two pointed, like the leaves in the logo */
  --leaf-s: 2px 14px 2px 14px; --leaf-m: 3px 16px 3px 16px; --leaf-l: 4px 24px 4px 24px;
  --display: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;  /* light only, also when the phone is in dark mode (Kathy, 21 October 2026) */
}
* { box-sizing: border-box }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 20px 40px }
.wrap { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.25 }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em }
h2 { font-size: 21px; font-weight: 800 }
h3 { font-size: 17px; font-weight: 700 }
p { margin: 0 }
.muted { color: var(--muted) }
.small { font-size: 14px }
header { display: flex; flex-direction: column; gap: 6px }
.brandrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap }
.pill { display: inline-block; font-size: 12.5px; padding: 3px 10px; border-radius: var(--leaf-s); background: var(--accent-soft); color: var(--accent); font-weight: 700; letter-spacing: .02em }
.filters { display: flex; flex-direction: column; gap: 8px }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none }
.chip { flex: none; font: inherit; font-size: 14px; padding: 7px 13px; border-radius: var(--leaf-s); border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink) }
button { font: inherit; cursor: pointer }
button:focus-visible, .chip:focus-visible, textarea:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.primary { background: var(--accent); color: var(--card); border: 0; border-radius: var(--leaf-m); padding: 12px 16px; font-weight: 700; width: 100% }
.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: var(--leaf-m); padding: 8px 12px }
.link { background: none; border: 0; color: var(--accent); padding: 0; font-weight: 700 }
.feed { display: flex; flex-direction: column; gap: 10px }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; text-align: left; color: var(--ink); width: 100% }
.post:hover { border-color: var(--muted) }
.meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted) }
.tag { font-size: 12.5px; font-weight: 700; color: var(--accent) }
.ex { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--muted); border-radius: 6px; padding: 0 6px }
.excerpt { color: var(--muted); font-size: 15px }
.counts { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted) }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); padding: 16px; display: flex; flex-direction: column; gap: 12px }
label { font-size: 14px; font-weight: 700; display: flex; flex-direction: column; gap: 6px }
textarea, input[type=text], input[type=email], input[type=password], select { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--leaf-m); padding: 10px 12px; width: 100% }
textarea { min-height: 110px; resize: vertical }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px }
.scale { display: flex; gap: 6px }
.scale button { flex: 1; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: var(--leaf-m); padding: 8px 0; font-weight: 700 }
.scale button[aria-pressed="true"] { background: var(--accent); color: var(--card); border-color: var(--accent) }
.scale-labels { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-weight: 400 }
.err { color: #c0392b; font-size: 13.5px; font-weight: 400 }
.note { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--leaf-m); padding: 12px 14px; font-size: 14px }
.same { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--leaf-s); padding: 8px 14px; font-weight: 700 }
.same[aria-pressed="true"] { background: var(--same); color: var(--same-ink); border-color: var(--same) }
.reply { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 4px }
.kind { font-size: 12.5px; font-weight: 700 }
.summary { background: var(--accent-soft); border-radius: var(--leaf-m); padding: 14px; white-space: pre-wrap; font-size: 15px }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-m); padding: 10px 12px }
.stat b { display: block; font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums }
.empty { text-align: center; padding: 28px 16px; color: var(--muted) }
.rolebadge { font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: var(--leaf-s); background: var(--accent-soft); color: var(--accent) }
.rolebar { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; font-size: 14px; color: var(--muted) }
.rolebar strong { color: var(--ink) }
.top-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.msgbtn { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--leaf-s); padding: 6px 12px; font-weight: 700; font-size: 14px }
.badge { display: inline-block; min-width: 19px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--accent); color: var(--card); font-size: 12px; text-align: center; line-height: 19px }
.bubbles { display: flex; flex-direction: column; gap: 8px; min-height: 60px }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 2px }
.bubble.me { align-self: flex-end; background: var(--accent-soft); border-color: transparent }
.bubble time { font-size: 11.5px; color: var(--muted) }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 6px }
.lock { font-size: 13px; color: var(--muted) }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap }
.btnrow > button { flex: 1 1 140px }
footer { font-size: 13.5px; color: var(--muted); display: flex; flex-direction: column; gap: 6px }
@media (prefers-reduced-motion: no-preference) { .post { transition: border-color .15s } }
.header-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.langsel { width: auto; padding: 6px 10px; border-radius: var(--leaf-s); font-size: 14px }
.auth { max-width: 440px; width: 100%; margin: 0 auto }
.linkrow { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap }
.notice { background: var(--accent-soft); color: var(--ink); border-radius: var(--leaf-m); padding: 12px 14px; font-size: 14px }
.danger { color: #c0392b }
a.link { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 14px }
a.link:hover { text-decoration: underline }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center }
[hidden] { display: none !important }
html { -webkit-text-size-adjust: 100% }
body { margin: 0 }
.wrap > *, .filters > *, .panel > * { min-width: 0 }
.wrap, .panel, .post { max-width: 100% }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.45 }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent) }
.check.inline { display: inline-flex; align-items: center; font-size: 14px; color: var(--muted) }
.check.inline input { margin-top: 0 }
.sep { color: var(--line) }

/* Role step: one card per role; only the chosen role's questions appear below */
#roleView { max-width: 520px }
.roleopts { display: flex; flex-direction: column; gap: 8px }
.roleopt { display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%; padding: 12px 14px; border-radius: var(--leaf-m);
  border: 1px solid var(--line); background: var(--card); color: var(--ink) }
.roleopt-title { font-family: var(--display); font-weight: 700; font-size: 16px }
.roleopt-desc { font-size: 13.5px; color: var(--muted) }
.roleopt[aria-checked="true"] { border: 2px solid var(--accent); padding: 11px 13px; background: var(--accent-soft) }
.roleopt[aria-checked="true"] .roleopt-title::before { content: "✓ "; color: var(--accent) }
.roledetails { display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--accent); padding-left: 12px }
.field { display: flex; flex-direction: column; gap: 6px }
.field .q { font-size: 14px; font-weight: 700 }
.wrapchips { flex-wrap: wrap; overflow: visible }
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink) }
/* Chips reserve their bold width so hovering doesn't make the row jump */
.chip { display: inline-grid; justify-items: center }
.chip::after { content: attr(data-label); font-weight: 700; height: 0; overflow: hidden; visibility: hidden }

/* Hover: a light-to-bright yellow sweep and bold text on everything you can tap */
@media (hover: hover) {
  .post, .chip, .ghost, .same, .msgbtn, .roleopt, .scale button, .primary {
    background-image: linear-gradient(90deg, var(--hl-a), var(--hl-b));
    background-repeat: no-repeat; background-size: 0% 100% }
  :is(.post, .chip, .ghost, .same, .msgbtn, .roleopt, .scale button, .primary):hover:not([aria-pressed="true"], [aria-checked="true"], :disabled) {
    background-size: 100% 100%; border-color: var(--hl-b); color: var(--hl-ink); font-weight: 700 }
  :is(.post, .roleopt):hover:not([aria-checked="true"]) :is(.excerpt, .meta, .counts, .tag, .roleopt-desc, h3) { color: var(--hl-ink); font-weight: 700 }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .post, .chip, .ghost, .same, .msgbtn, .roleopt, .scale button, .primary {
    transition: background-size .7s ease, border-color .5s, color .5s }
}
.filterlbl { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: -2px }
.subchips { padding-left: 14px; border-left: 3px solid var(--line) }
.subchips .chip { font-size: 13px; padding: 5px 11px }

/* Stage and issue steps: big friendly picture cards, one tap each */
.stepview { max-width: 480px }
.stepbox { display: flex; flex-direction: column; gap: 12px; text-align: center }
.stepbox h2 { font-size: 23px }
.stepdots { display: flex; justify-content: center; gap: 6px }
.stepdots i { width: 26px; height: 6px; border-radius: 3px; background: var(--line) }
.stepdots i.on { background: var(--accent) }
.stepbox .skip { align-self: center; font-size: 14px; margin-top: 4px }
.stagegrid, .issuegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.stagecard { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px 14px; border-radius: var(--leaf-l); border: 2px solid transparent;
  background-color: var(--c); color: var(--ci);
  background-image: linear-gradient(135deg, var(--hl-a), var(--hl-b)); background-repeat: no-repeat; background-size: 0% 100% }
.stagecard.s1 { --c: var(--s1); --ci: var(--s1-ink) }
.stagecard.s2 { --c: var(--s2); --ci: var(--s2-ink) }
.stagecard.s3 { --c: var(--s3); --ci: var(--s3-ink) }
.stagecard.s4 { --c: var(--s4); --ci: var(--s4-ink) }
.stagecard .kid { width: 84px; height: 78px }
.stagecard .t { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.15 }
.stagecard .a { font-size: 14px }
.stagecard[aria-pressed="true"] { border-color: var(--ci) }
.issuegrid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) }
.issuecard { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 12px 8px; border-radius: var(--leaf-l);
  border: 1px solid var(--line); background-color: var(--card); color: var(--ink); font-size: 14.5px; line-height: 1.25;
  background-image: linear-gradient(135deg, var(--hl-a), var(--hl-b)); background-repeat: no-repeat; background-size: 0% 100% }
.issuecard .icon { width: 34px; height: 34px }
.issuecard[aria-pressed="true"] { border: 2px solid var(--accent); padding: 11px 7px }
.issuecard.everything { background-color: var(--accent-soft) }
.crumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap }
.crumbbtn { border: 1px solid var(--line); background-color: var(--card); color: var(--ink); border-radius: var(--leaf-s); padding: 7px 14px; font-weight: 700; font-size: 14px;
  background-image: linear-gradient(90deg, var(--hl-a), var(--hl-b)); background-repeat: no-repeat; background-size: 0% 100% }
.crumbbtn::after { content: " ✎"; color: var(--muted); font-weight: 400 }
.crumbsep { color: var(--muted); font-weight: 700 }
@media (hover: hover) {
  .stagecard:hover, .issuecard:hover, .crumbbtn:hover { background-size: 100% 100%; color: var(--hl-ink); border-color: var(--hl-b); font-weight: 700 }
  .stagecard:hover .a { font-weight: 700 }
}
@media (prefers-reduced-motion: no-preference) {
  .stagecard, .issuecard { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background-size .7s ease, color .4s, border-color .4s }
  .crumbbtn { transition: background-size .7s ease, border-color .4s }
  @media (hover: hover) {
    .stagecard:hover { transform: translateY(-8px) rotate(-1.5deg) }
    .stagecard:nth-child(even):hover { transform: translateY(-8px) rotate(1.5deg) }
    .issuecard:hover { transform: translateY(-5px) }
    .stagecard:hover .kid, .issuecard:hover .icon { animation: wiggle .9s ease-in-out infinite }
  }
  .stagecard:focus-visible .kid { animation: wiggle .9s ease-in-out infinite }
  .stepbox { animation: rise .4s ease }
  .pressed { animation: pop .25s ease }
}
@keyframes wiggle { 0%, 100% { transform: rotate(0) } 25% { transform: rotate(-6deg) } 75% { transform: rotate(6deg) } }
@keyframes pop { 0% { transform: scale(1) } 45% { transform: scale(.93) } 100% { transform: scale(1) } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

/* "Do you feel less alone?" check-in: Peach & sky. Yes = warm peach, A little = cream, Not yet = soft sky blue.
   Text on these pastels stays dark. */
.ci-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px }
.ci-opt, .ci-chip { border: 0 }
.ci-opt { height: 48px; border-radius: var(--leaf-m); font-weight: 700; font-size: 15px; color: #1d2233; box-shadow: inset 0 0 0 1px rgba(29,34,51,.08);
  background-image: linear-gradient(135deg, var(--a), var(--b)) }
.ci-opt.yes { --a: #ffe9dc; --b: #ffcfb4 } .ci-opt.bit { --a: #fbf3e6; --b: #f3e5cd } .ci-opt.no { --a: #e6f1fa; --b: #c9e1f3 }
.ci-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px #1d2233; font-weight: 800; transform: translateY(-3px) }
.ci-band.answered .ci-opt[aria-checked="false"] { opacity: .55 }
.ci-note { border-radius: var(--leaf-l); padding: 12px 14px; font-size: 14.5px; color: #1d2233; display: flex; flex-direction: column; gap: 2px;
  background-image: linear-gradient(135deg, var(--a), var(--b)) }
.ci-note b { font-family: var(--display); font-size: 15.5px }
.ci-note.yes { --a: #fff6f0; --b: #ffe9dc } .ci-note.bit { --a: #fdf9f2; --b: #fbf3e6 } .ci-note.no { --a: #f4f9fd; --b: #e6f1fa }
.ci-note .link { color: #5a3fa0; text-decoration: underline; font-size: 13.5px }
.ci-small { font-size: 13px; color: #4b5266; margin: 2px 0 0 }
.ci-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 }
.ci-chip { border-radius: var(--leaf-s); padding: 6px 11px; font-size: 13.5px; background: rgba(255,255,255,.85); color: #1d2233; box-shadow: inset 0 0 0 1px rgba(29,34,51,.1) }
.ci-chip[aria-pressed="true"] { background: #1d2233; color: #fff }
.ci-note textarea { min-height: 78px; background: #fff; color: #1d2233; border-color: rgba(29,34,51,.15) }
.ci-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap }
.ci-row-btns { display: flex; gap: 12px; align-items: center }
.ci-send { background: var(--accent); color: var(--card); border: 0; border-radius: var(--leaf-m); padding: 8px 16px; font-weight: 700; font-size: 14px }
.ci-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px }
@media (hover: hover) { .ci-opt:hover, .ci-chip:hover { transform: translateY(-3px) } }
@media (prefers-reduced-motion: no-preference) {
  .ci-opt, .ci-chip { transition: transform .45s ease, opacity .5s ease, box-shadow .3s }
  .ci-note { animation: rise .45s ease }
}

/* Logo in the header: the sprout mark plus the wordmark in a soft serif (Fraunces) */
.brand { display: flex; align-items: center; gap: 8px }
.logo-mark { width: 30px; height: 43px; flex: none }
.wordmark { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100, "opsz" 72; font-weight: 600; font-size: 30px; letter-spacing: -0.01em; line-height: 1 }
.wordmark .w1 { color: var(--logo-ink) } .wordmark .w2 { color: var(--accent) }

/* Reactions, tap-a-sentence notes, thank-yous and reply starters (peer acknowledgement) */
:root { --sent-hl: #e6dcfa; --sent-hl-strong: #d3c3f6 }
.sentences p { margin: 0 0 8px }
.sentences .lock { margin-top: 2px }
.sent { border-radius: 5px; padding: 1px 1px; cursor: pointer; transition: background-color .3s }
.sent:hover, .sent:focus-visible { background-color: var(--accent-soft); outline: none }
.sent.has { background-image: linear-gradient(transparent 60%, var(--sent-hl) 60%) }
.sent.many { background-image: linear-gradient(transparent 40%, var(--sent-hl-strong) 40%) }
.sent.on { background: var(--sent-hl-strong) }
.sent-n { display: inline-block; min-width: 17px; margin-left: 3px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--card); font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; vertical-align: 1px }
.sn-thread { border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px }
.sn-quote { font-style: italic; color: var(--accent); margin: 0 }
.sn-note { background: var(--card); border-radius: var(--leaf-m); padding: 8px 10px; display: flex; flex-direction: column; gap: 4px }
.sn-note p { margin: 0 }
.sn-thread textarea { min-height: 64px }
.rx-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.rx { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--leaf-s); padding: 5px 11px; font-size: 13.5px }
.rx.compact { padding: 3px 9px; font-size: 13px }
.rx[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); font-weight: 700 }
.rx-n { font-weight: 700; color: var(--accent) }
.rx.thank[aria-pressed="true"] { background: var(--accent); color: var(--card); border-color: var(--accent) }
.thanked-tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: var(--leaf-s); padding: 2px 10px }
.starters { display: flex; flex-wrap: wrap; gap: 6px }
.starter { border: 1px dashed var(--accent); background: var(--card); color: var(--accent); border-radius: var(--leaf-s); padding: 4px 10px; font-size: 13px }
@media (hover: hover) { .rx:hover, .starter:hover { background: var(--accent-soft) } }
@media (prefers-reduced-motion: no-preference) { .sn-thread { animation: rise .35s ease } }

/* Nicknames: the "build your name" picker (sign-up, one-time step, change) and the name shown by posts */
.nickpick { display: flex; flex-direction: column; gap: 6px; background: var(--accent-soft); border-radius: var(--leaf-m); padding: 12px }
.nick-title { font-weight: 700; font-size: 14px; margin: 0 }
.nickpick .lock { margin: 0 0 4px }
.ntabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border-radius: var(--leaf-m); padding: 3px }
.ntabs button { border: 0; background: none; border-radius: 8px; padding: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted) }
.ntabs button[aria-selected="true"] { background: var(--accent); color: var(--card) }
.nlbl { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 4px 0 0 }
.nchips { display: flex; flex-wrap: wrap; gap: 5px }
.nchip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: var(--leaf-s); padding: 4px 10px; font-size: 13px }
.nchip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--card); font-weight: 700 }
.nick-preview { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: var(--leaf-m); padding: 8px 10px; margin-top: 4px }
.nick-preview > span:nth-child(2) { flex: 1 }
.nick-ava { font-size: 28px; line-height: 1 }
.nick-preview small { display: block; color: var(--muted); font-size: 11.5px }
.nick-preview b { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 17px; color: var(--accent) }
.nickpick input[type=text] { background: var(--card) }
.nick-status { font-size: 12.5px; margin: 0; min-height: 18px; font-weight: 400 }
.nick-status.ok { color: #2f6b3a } .nick-status.bad { color: #c0392b }
.nick { font-weight: 700; color: var(--accent) }
.small-link { font-size: 12.5px }
.rename-q { font-size: 12.5px; color: var(--muted) }
@media (hover: hover) { .nchip:hover { background: var(--accent-soft) } }

/* Keyword search: on the issue step (every age) and above the feed (this stage and issue) */
.searchbox { display: flex; flex-direction: row; align-items: center; gap: 8px; text-align: left; font-weight: 400; font-size: 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--leaf-m); padding: 4px 6px 4px 12px; margin: 12px 0 8px }
.searchbox:focus-within { border-color: var(--accent) }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); padding: 8px 0 }
.searchbox input::-webkit-search-cancel-button { display: none }
.searchclear { border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; padding: 6px 8px; border-radius: 8px }
.searchbox:has(input:placeholder-shown) .searchclear { visibility: hidden }
#issueResults .feed { text-align: left }
.searchor { text-align: center; margin: 14px 0 10px; font-size: 14px }
.scount { font-size: 13.5px; color: var(--muted); margin: 4px 0 8px }
.scount .link { font-size: 13.5px }
mark { background: #ffe7a3; color: inherit; border-radius: 3px; padding: 0 1px }

/* Post page (redesigned 22 October 2026): slim bar instead of the header, one warm "Same here", quiet replies, reply bar at the bottom */
.reading header, .reading #stats, .reading #roleBar, .reading #roleForm { display: none !important }
.readbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: -6px -4px 0; padding: 10px 4px; background: rgba(244, 245, 249, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--line) }
.readbar-where { font-size: 13px; color: var(--muted); text-align: right }
.who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.ava { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); display: inline-grid; place-items: center; font-size: 18px; font-weight: 700; color: var(--accent); flex: none }
.reply .ava { width: 28px; height: 28px; font-size: 15px }
.who-lines { display: flex; flex-direction: column; line-height: 1.35; flex: 1; min-width: 0 }
.who-name { font-weight: 700; font-size: 14.5px }
.who .rolebadge { white-space: nowrap }
.postcard h2 { margin: 0; line-height: 1.25 }
.morewrap { position: relative; margin-left: auto }
.more { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; padding: 4px 8px; border-radius: 8px; cursor: pointer }
.more:hover, .more[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent) }
.menu { position: absolute; right: 0; top: 32px; z-index: 15; background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-m); box-shadow: 0 10px 28px rgba(30, 20, 60, .14);
  padding: 6px; min-width: 180px; display: flex; flex-direction: column; gap: 2px }
.menu > a, .menu > button, .menu > .actions { padding: 8px 10px; border-radius: 8px; text-align: left; font-size: 14.5px }
.menu > a:hover, .menu > button:hover { background: var(--accent-soft) }
.menu > .actions { gap: 10px }
.samebig { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1.5px solid var(--hl-b); background: linear-gradient(135deg, var(--card), var(--accent-soft));
  color: var(--ink); border-radius: var(--leaf-l); padding: 12px 14px; cursor: pointer; font: inherit }
.samebig-icon { font-size: 24px; line-height: 1 }
.samebig-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35 }
.samebig-text b { font-size: 15.5px }
.samebig-text span { font-size: 13px; color: var(--muted) }
.samebig[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--card) }
.samebig[aria-pressed="true"] .samebig-text span { color: #ece6ff }
.faces { display: flex; padding-left: 6px }
.faces .ava { width: 26px; height: 26px; font-size: 14px; margin-left: -8px; border: 2px solid var(--card) }
.taptip { display: flex; align-items: center; gap: 8px; background: var(--accent-soft); border-radius: var(--leaf-m); padding: 8px 12px; font-size: 13.5px; margin-top: 4px }
.taptip .link { margin-left: auto; white-space: nowrap }
.sechead h3 { margin: 6px 4px 0 }
#detailView > .reply { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); padding: 12px 14px; gap: 6px }
#detailView > .reply p { margin: 0 }
.kindchip { font-size: 12px; font-weight: 700; border-radius: var(--leaf-s); padding: 1px 9px; background: var(--accent-soft); color: var(--accent) }
.kindchip.trying { background: #e6f1fa; color: #1f5a96 } .kindchip.support { background: #ffe9dc; color: #8a4a1f } .kindchip.pro { background: #e4f6e6; color: #2f6b3a }
.rx-add { color: var(--muted) }
.rx-picker { display: flex; flex-wrap: wrap; gap: 6px; width: 100% }
.emptyreplies { text-align: center; color: var(--muted); background: var(--card); border: 1.5px dashed var(--hl-b); border-radius: var(--leaf-l); padding: 18px 14px }
.keepreading h3 { margin: 4px 4px 8px }
.keeprow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none }
.keeprow .post { flex: none; width: 230px; scroll-snap-align: start; gap: 4px }
.keeptitle { font-weight: 700; font-size: 14.5px; line-height: 1.35 }
.composer { position: sticky; bottom: 0; z-index: 20; padding: 10px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 72%, rgba(244, 245, 249, 0)) }
.composer-bar { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--card); border: 1.5px solid var(--hl-b); border-radius: var(--leaf-m);
  padding: 12px 16px; font: inherit; font-size: 15px; color: var(--muted); cursor: text; box-shadow: 0 6px 18px rgba(79, 58, 146, .12) }
.sheet { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 -8px 26px rgba(30, 20, 60, .14);
  max-height: 78vh; overflow-y: auto }
.sheet textarea { min-height: 96px }
.sheet-lbl { font-size: 13px; font-weight: 700; color: var(--muted) }
.sheet-age { font-size: 13px; color: var(--muted) }
.sheet-age input { font-size: 16px }

/* "Back to…" pill: one look, top left of every page after the first step (version A, chosen 23 October 2026) */
.backpill { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; border: 0; background: var(--accent-soft); color: var(--logo-ink);
  font: inherit; font-size: 14.5px; font-weight: 700; border-radius: var(--leaf-s); padding: 7px 15px 7px 8px; cursor: pointer; white-space: nowrap }
.backpill-arrow { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--card); font-size: 17px; line-height: 1; padding-bottom: 2px }
.backpill:focus-visible { outline: 3px solid var(--hl-b); outline-offset: 2px }
@media (hover: hover) { .backpill:hover { background: var(--hl-b) } }

/* Posts in a list carry a leaf-coloured edge on the left */
.feed .post { border-left: 5px solid var(--logo-leaf) }

/* My ParentHood: the personal page (design A) */
.mylink { font-size: 14px }
.me-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); padding: 16px; display: flex; flex-direction: column; gap: 10px }
.me-ava { width: 54px; height: 54px; font-size: 30px }
.me-name { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 21px; color: var(--logo-ink); line-height: 1.2 }
.me-role { align-self: flex-start; font-weight: 800; font-size: 14px; padding: 5px 13px; border-radius: var(--leaf-s) }
.r-solver { background: #e4f6e6; color: #2f6b3a } .r-supporter { background: #ffe3ea; color: #9b2c4c } .r-sharer { background: #e3f1ff; color: #1f5a96 } .r-none { background: #eef0f5; color: var(--muted) }
.me-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.me-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-m); padding: 10px 6px; text-align: center; display: flex; flex-direction: column }
.me-stat b { font-family: var(--display); font-size: 22px; color: var(--logo-ink); line-height: 1.2 }
.me-stat span { font-size: 12.5px; color: var(--muted) }
.me-nudge { border-radius: var(--leaf-l); padding: 14px; background: linear-gradient(135deg, #fff6f0, #f4f9fd); border: 1px solid #f1dfd2; display: flex; flex-direction: column; gap: 6px }
.me-mini { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--logo-leaf); border-radius: var(--leaf-m); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px }
.me-mini-title { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; text-align: left; color: var(--ink); cursor: pointer }
.me-mini-title:hover { color: var(--accent) }
.me-acts { display: flex; gap: 6px; flex-wrap: wrap }
.me-act { border: 1.5px solid var(--hl-b); background: var(--card); color: var(--ink); border-radius: var(--leaf-s); padding: 5px 11px; font: inherit; font-size: 13.5px; cursor: pointer }
.me-act[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); font-weight: 700 }

/* Mira, the AI helper: a soft lavender card with her owl picture */
#detailView > .reply.mira, .mira-wrap > .reply.mira, .mira-item .reply.mira { background: linear-gradient(160deg, #f7f3fd, #efe9fb); border: 1px solid #ddd2f7; border-radius: var(--leaf-l); padding: 12px 14px; gap: 6px }
.reply.mira.draft { border-style: dashed; opacity: .97 }
.reply.mira.urgent { background: #fff4f2; border: 2px solid #e8a39a }
.mira-ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: #3d3170 }
.mira-ava.big { width: 52px; height: 52px }
.miratag { font-size: 11.5px; font-weight: 700; padding: 1px 9px; border-radius: var(--leaf-s); background: var(--accent-soft); color: #4f3a92 }
.mira-edit { width: 100%; font: inherit; font-size: 15px; line-height: 1.5; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--leaf-m); background: #fff }
.mira-admin { display: flex; flex-direction: column; gap: 6px; margin-top: 4px }
.mira-state { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: var(--leaf-s); background: #fff; border: 1px solid var(--line) }
.mira-state.pending { background: #fff7e0; border-color: #f0d68a }
.mira-state.failed, .mira-state.urgent { background: #fdebea; border-color: #e8a39a }
.mira-state.approved { background: #e5f4e4; border-color: #b7dcb4 }
.mira-item { display: flex; flex-direction: column; gap: 8px }
.mira-item > .post { display: flex; flex-direction: column; gap: 4px; text-align: left }
.mira-post { white-space: pre-wrap }
.primary.mira-btn { width: auto; padding: 8px 16px }
.mira-admin .actions, .panel .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px }

/* Daily comfort pictures: today's card above the posts, the week on My ParentHood, the big view */
.daily-card, .daily-week { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px }
.daily-head { display: flex; align-items: center; justify-content: space-between; gap: 8px }
.daily-head .tag { font-size: 12.5px; font-weight: 700; color: var(--accent) }
.daily-x { background: none; border: 0; font-size: 16px; color: var(--muted); padding: 2px 6px; line-height: 1 }
.daily-pic { padding: 0; border: 0; background: none; display: block; width: 100% }
.daily-card { align-self: stretch }
/* Kept small above the posts (whole picture, never cropped); tap for the big view */
.daily-pic img { display: block; width: auto; max-width: 100%; max-height: 210px; margin: 0 auto; border-radius: var(--leaf-m) }
.daily-pic.tall img { height: 210px; object-fit: contain; box-shadow: 0 2px 10px rgba(40, 30, 70, .15) }
.daily-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap }
.daily-foot.center { justify-content: center }
.daily-heart { border: 1px solid #d6cbf3; background: var(--accent-soft); color: #4f3a92; font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: var(--leaf-s) }
.daily-heart[aria-pressed="false"] { background: var(--card); border-color: var(--line); color: var(--ink) }
.daily-fold { align-self: flex-start; background: linear-gradient(120deg, #fff6e8, var(--accent-soft)); border: 1px solid #eadff7; border-radius: var(--leaf-s); padding: 6px 12px; font-weight: 700; font-size: 13px; color: #4f3a92 }
.daily-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
@media (min-width: 560px) { .daily-grid { grid-template-columns: repeat(3, 1fr) } }   /* smaller "For you" pictures on a computer (Kathy, 11 November 2026) */
.daily-thumb { position: relative; padding: 0; border: 0; background: #4a4458; border-radius: var(--leaf-s); overflow: hidden; aspect-ratio: 16 / 9 }
.daily-thumb img { width: 100%; height: 100%; object-fit: cover; display: block }
.daily-thumb.tall img { object-fit: contain }
.daily-mine { position: absolute; right: 5px; top: 4px; font-size: 14px }
.daily-view { position: fixed; inset: 0; z-index: 60; background: rgba(25, 22, 42, .94); display: flex; align-items: center; justify-content: center; padding: 16px }
.daily-inner { width: 100%; max-width: 560px; max-height: 100%; display: flex; flex-direction: column; gap: 10px; color: #fff }
.daily-inner .tag { color: #d8d0ee }
.daily-inner .daily-x { color: #fff; font-size: 20px }
.daily-big { display: block; max-width: 100%; max-height: 66vh; object-fit: contain; margin: 0 auto; border-radius: var(--leaf-m) }
.daily-cap { margin: 0; text-align: center; color: #e9e4f7; font-size: 15px }
.daily-save { color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--leaf-s); padding: 5px 11px; font-weight: 700; font-size: 13px; text-decoration: none }
.daily-nav { display: flex; justify-content: space-between; align-items: center; color: #d8d0ee; font-size: 13px }
.daily-nav .link { color: #e9e4f7 }
.daily-nav .link:disabled { opacity: .35; cursor: default }

/* Quick polls inside posts (supabase/19-polls.sql) */
.polladd { align-self: flex-start; font-weight: 700 }
.polledit { border: 1.5px dashed #d6cbf3; border-radius: var(--leaf-m); padding: 10px; display: flex; flex-direction: column; gap: 6px; background: #fbf9ff }
.polledit input { font-size: 16px }
.pollhead { display: flex; justify-content: space-between; align-items: center }
.pollhead .tag { font-size: 12.5px; font-weight: 700; color: var(--accent) }
.pollbox { display: flex; flex-direction: column; gap: 7px; margin: 4px 0 2px }
.pollchoice { text-align: left; border: 1.5px solid #d6cbf3; background: var(--card); border-radius: var(--leaf-m); padding: 10px 12px; font-weight: 700; font-size: 15px; color: var(--ink) }
.pollchoice[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent) }
.pollbar { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--leaf-m); padding: 9px 12px; display: flex; justify-content: space-between; gap: 8px; font-size: 15px; background: var(--card) }
.pollbar i { position: absolute; inset: 0 auto 0 0; background: var(--accent-soft) }
.pollbar.me i { background: #ddd2f7 }
.pollbar.me { border-color: #c9b8f2 }
.pollbar span, .pollbar b { position: relative }
.pollbar.me span::after { content: " ✓"; color: var(--accent); font-weight: 700 }
.pollfoot { display: flex; flex-wrap: wrap; gap: 0 2px; align-items: center }
.polltag { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: #4f3a92; background: var(--accent-soft); border-radius: var(--leaf-s); padding: 1px 8px }
@media (hover: hover) { .pollchoice:hover { background: linear-gradient(120deg, var(--hl-a), var(--hl-b)) } }

/* ---------- Home page (myparenthood.club/, #landing in index.html): a story page (18 November 2026), simplified drawings of the site ---------- */
#landing { display: none }
html.landing #landing { display: flex }
html.landing #app { display: none }
html.landing body { padding: 0; background: #fcfbff }
html.landing { scroll-behavior: smooth; scroll-padding-top: 76px }
.lp { flex-direction: column; overflow-x: clip }
.lp-in-w { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) }
.lp-narrow { max-width: 760px }
.lp-top { position: sticky; top: 0; z-index: 5; background: rgba(252, 251, 255, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s }
html.lp-scrolled .lp-top { border-bottom-color: var(--line) }
.lp-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 1080px; margin: 0 auto; padding: 12px max(20px, env(safe-area-inset-left, 0px)) }
.lp-brand { text-decoration: none }
.lp-in { color: var(--accent); font-weight: 700; text-decoration: none; padding: 7px 14px; border: 1.5px solid var(--hl-b); border-radius: var(--leaf-s); background: var(--card) }
.lp-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.lp h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(28px, 4vw, 40px); line-height: 1.18; color: var(--logo-ink); letter-spacing: -0.015em }
.lp-sec { padding-block: clamp(64px, 9vw, 112px) }
.lp-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px) }
.lp-head > p:last-child { color: var(--muted); font-size: 17px }

/* Hero: lavender sky fading into warm cream, with a few drifting leaves */
.lp-hero { position: relative; overflow: hidden; margin-top: -62px; padding: calc(62px + clamp(72px, 12vw, 150px)) 0 clamp(72px, 11vw, 140px);
  background: linear-gradient(180deg, #ece6fb 0%, #f4eefc 38%, #fbefe4 78%, #fcfbff 100%) }
.lp-hero-in { position: relative; display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center }
.lp-hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(40px, 7.4vw, 76px); line-height: 1.04; color: var(--logo-ink); letter-spacing: -0.025em }
.lp-lead { max-width: 580px; font-size: clamp(17px, 1.9vw, 19.5px); color: var(--muted) }
.lp-hero .lp-btns { margin-top: 10px }
.lp-fleck { position: absolute; width: 22px; height: 22px; background: var(--logo-leaf); border-radius: 2px 18px 2px 18px; opacity: .22; animation: lp-drift 14s ease-in-out infinite alternate }
.lp-fleck.f1 { left: 9%; top: 34% } .lp-fleck.f2 { left: 19%; top: 72%; width: 14px; height: 14px; animation-delay: -4s }
.lp-fleck.f3 { right: 11%; top: 28%; width: 16px; height: 16px; background: #f2b98c; animation-delay: -7s }
.lp-fleck.f4 { right: 21%; top: 68%; animation-delay: -2s } .lp-fleck.f5 { left: 44%; top: 18%; width: 10px; height: 10px; animation-delay: -9s }
.lp-fleck.f6 { right: 4%; top: 52%; width: 12px; height: 12px; background: #f2b98c; animation-delay: -11s }
@keyframes lp-drift { from { transform: translate(0, 0) rotate(0) } to { transform: translate(14px, -18px) rotate(24deg) } }

/* Why we exist: Kathy's drawing in a leaf-shaped frame, the story beside it */
.lp-why-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center }
.lp-art { position: relative; margin: 0 }
.lp-art img { display: block; width: 100%; height: auto; border-radius: 8px 72px 8px 72px; box-shadow: 0 24px 50px rgba(79, 58, 146, .16) }
.lp-art-leaf { position: absolute; right: -14px; bottom: -14px; width: 64px; height: 64px; opacity: .55 }
.lp-why-txt { display: flex; flex-direction: column; gap: 16px; font-size: 17.5px; color: #3a3550 }
.lp-sign { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 19px; color: var(--accent) }

/* How it works: one feature per row, picture and words side by side, sides alternate */
.lp-how { background: linear-gradient(180deg, #fcfbff, #f6f2fe 30%, #f6f2fe 70%, #fcfbff) }
.lp-shots { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); margin: 0 auto; width: 100%; max-width: 860px }
.lp-shot { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center }
.lp-shot:nth-child(even) .lp-screen { order: 2 }
.lp-shot figcaption { display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 17px; color: var(--muted) }
.lp-shot figcaption b { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; color: var(--logo-ink) }
.lp-num { font: 600 15px "Fraunces", Georgia, serif; color: var(--accent); letter-spacing: .06em }
.lp-num::after { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--hl-b); vertical-align: middle; margin-left: 10px }
/* The drawings: a pale lavender screen with flat cards; grey bars stand for text */
.lp-screen { height: 270px; border-radius: var(--leaf-l); padding: 18px; display: flex; flex-direction: column; gap: 10px; justify-content: center;
  background: linear-gradient(160deg, #fff, var(--accent-soft)); border: 1px solid var(--hl-b); box-shadow: 0 18px 40px rgba(79, 58, 146, .10) }
.lp-bar { height: 7px; border-radius: 4px; background: var(--line); width: 100%; flex: none }
.lp-bar.w80 { width: 80% } .lp-bar.w60 { width: 60% } .lp-bar.w40 { width: 40% }
/* First picture: the real age-group cards from the site (drawn by drawLandingStages in js/landing.js), a little smaller */
.lp-real { gap: 8px }
.lp-real h3 { font-size: 15px; text-align: center; color: var(--ink) }
.lp-real .stagegrid { gap: 8px }
.lp-real .stagecard { padding: 6px 6px 6px; gap: 1px; text-decoration: none; border-radius: var(--leaf-m) }
.lp-real .stagecard .kid { width: 44px; height: 40px }
.lp-real .stagecard .t { font-size: 13.5px }
.lp-real .stagecard .a { font-size: 11.5px }
.lp-issues { justify-content: flex-start }
.lp-issues .issuegrid { grid-template-columns: repeat(3, 1fr); gap: 7px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 14px 2px;
  scrollbar-width: thin; scrollbar-color: var(--hl-b) transparent;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent) }   /* the fade says there is more below */
.lp-issues .issuegrid.end { -webkit-mask-image: none; mask-image: none }
.lp-issues .issuecard { min-height: 78px; padding: 9px 4px; gap: 4px; font-size: 12px; line-height: 1.2; text-align: center; text-decoration: none; color: var(--ink); border-radius: var(--leaf-m) }
.lp-issues .issuecard .icon { width: 26px; height: 26px }
.lp-card { background: var(--card); border-radius: var(--leaf-m); padding: 11px 12px; display: flex; flex-direction: column; gap: 7px; border-left: 5px solid var(--logo-leaf) }
.lp-who { display: flex; align-items: center; gap: 7px }
.lp-who .kindchip { margin-left: auto; white-space: nowrap; font-size: 10.5px }
.lp-av { width: 18px; height: 18px; border-radius: 50%; background: var(--logo-leaf); flex: none; display: inline-block }
.lp-av.a1 { background: #f3d27a } .lp-av.a2 { background: #9ccbea } .lp-av.a3 { background: #f5a9a0 }
.lp-title { font: 800 13.5px/1.3 var(--display); color: var(--ink) }
.lp-same { display: flex; align-items: center; gap: 7px; background: linear-gradient(135deg, var(--card), var(--accent-soft)); border: 1.5px solid var(--hl-b);
  border-radius: var(--leaf-m); padding: 8px 10px; font-size: 12.5px }
.lp-faces { margin-left: auto; display: flex } .lp-faces .lp-av { margin-left: -5px; border: 2px solid var(--card) }
.lp-rx { display: flex; gap: 6px } .lp-rx span { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-s); padding: 3px 8px; font-size: 11.5px; font-weight: 700 }
.lp-ci { background: var(--card); border-radius: var(--leaf-m); padding: 10px; display: flex; flex-direction: column; gap: 8px }
.lp-ci p { font: 800 13px var(--display); text-align: center }
.lp-ci-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px }
.lp-ci-row .ci-opt { height: 32px; font-size: 12px; display: flex; align-items: center; justify-content: center }
.lp-ci-row .ci-opt.on { box-shadow: inset 0 0 0 2px #1d2233; transform: translateY(-2px) }
/* Fifth picture: two rows of the Activities list */
.lp-actchips { display: flex; gap: 6px } .lp-actchips span { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-s); padding: 3px 10px; font-size: 11.5px; font-weight: 700; color: var(--muted) }
.lp-actchips .on { background: var(--accent); border-color: var(--accent); color: #fff }
.lp-act { display: flex; gap: 10px; align-items: center; background: var(--card); border-radius: var(--leaf-m); padding: 10px 12px }
.lp-date { flex: none; width: 46px; display: flex; flex-direction: column; align-items: center; background: var(--s3); color: var(--s3-ink); border-radius: var(--leaf-s); padding: 4px 0; line-height: 1.1 }
.lp-date.d2 { background: var(--s2); color: var(--s2-ink) }
.lp-date b { font-size: 10px; letter-spacing: .08em } .lp-date span { font: 800 19px var(--display) }
.lp-actw { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 }
.lp-actm { font-size: 11.5px; color: var(--muted) }
.lp-online { font-style: normal; font-weight: 700; color: var(--s2-ink); background: var(--s2); border-radius: var(--leaf-s); padding: 0 6px }
.lp-actg { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--accent) }
.lp-actg .lp-faces { margin-left: 5px }

/* Our belief: words in the middle and one big line */
.lp-belief .lp-narrow { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; font-size: 17.5px; color: #3a3550 }
.lp-hope { margin-top: 18px; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.3; color: var(--logo-ink); text-wrap: balance }
.lp-hope::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 18px; opacity: .7;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 38V20' stroke='%236f55b5' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M21 20C21 11 26 5 36 4C36 13 30 19 21 20Z' fill='%23a58fe6'/%3E%3Cpath d='M19 22C11 21 5 16 4 8C12 9 18 14 19 22Z' fill='%23a58fe6'/%3E%3C/svg%3E") }

/* What we promise: four cards on a warm band */
.lp-promise { background: #f7f3ee }
.lp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px }
.lp-pcard { background: var(--card); border-radius: var(--leaf-l); padding: 28px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; box-shadow: 0 10px 30px rgba(60, 40, 20, .06) }
.lp-pcard h3 { font: 600 20px/1.25 "Fraunces", Georgia, serif; color: var(--logo-ink) }
.lp-pcard p { color: var(--muted); font-size: 15.5px }
.lp-pcard a { color: var(--accent); font-weight: 700; white-space: nowrap }
.lp-picon { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--hl-b); background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 4px }
.lp-picon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }

/* Ready when you are */
.lp-go-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center }
.lp-go-in > .muted:not(.small) { font-size: 17px; max-width: 520px }
.lp-close { margin-bottom: 4px }
.lp-cta { display: block; width: auto; min-width: 220px; text-align: center; text-decoration: none; font-size: 18px; padding: 14px 28px }

/* Footer */
.lp-foot { border-top: 1px solid var(--line); background: #faf8ff; padding-block: 40px 36px; font-size: 14px; color: var(--muted) }
.lp-foot .lp-in-w { display: flex; flex-direction: column; gap: 18px }
.lp-foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap }
.lp-foot-brand { display: flex; flex-direction: column; gap: 4px }
.lp-foot-brand .wordmark { font-size: 22px }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center }
.lp-foot-links a { color: var(--ink); text-decoration: none }
.lp-foot-note { max-width: 720px; font-size: 13px }
.lp-foot .copy { font-size: 13px }

/* No word left alone on the last line (Kathy, 18 November 2026); landingNoWidows() in js/landing.js also ties the last two words together */
.lp p, .lp figcaption span, .lp h3 { text-wrap: pretty }

/* Sections fade up as they scroll into view (only when the browser allows motion) */
html.lp-anim .lp-rv { transition: opacity .8s ease, transform .8s ease }
html.lp-anim .lp-rv:not(.in) { opacity: 0; transform: translateY(22px) }
@media (prefers-reduced-motion: reduce) { .lp-fleck { animation: none } html.landing { scroll-behavior: auto } }
@media (hover: hover) {
  .lp-in:hover, .lp-cta:hover { background-image: linear-gradient(135deg, var(--hl-a), var(--hl-b)); color: var(--hl-ink) }
  .lp-foot-links a:hover { color: var(--accent) }
}
@media (max-width: 960px) { .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
/* Phones: everything in one column, words above each picture */
@media (max-width: 720px) {
  .lp-why-in { grid-template-columns: minmax(0, 1fr) }
  .lp-art { max-width: 520px; margin: 0 auto }
  .lp-why-txt { font-size: 16.5px }
  .lp-shot { grid-template-columns: minmax(0, 1fr); gap: 14px }
  .lp-shot figcaption { order: -1; text-align: center; align-items: center; font-size: 16px }
  .lp-shot:nth-child(even) .lp-screen { order: 0 }
  .lp-screen { height: 250px }
  .lp-cards { grid-template-columns: minmax(0, 1fr) }
  .lp-belief .lp-narrow { font-size: 16.5px }
  .lp-foot-top { flex-direction: column }
}

/* Mira is optional: a quiet "Ask Mira" button after the parents' replies opens her reply (miraOptional in app.js) */
.mira-ask { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border: 1.5px dashed var(--hl-b);
  border-radius: var(--leaf-m); background: var(--card); color: var(--ink);
  background-image: linear-gradient(135deg, var(--hl-a), var(--hl-b)); background-repeat: no-repeat; background-size: 0% 100% }
.mira-ask > span { display: flex; flex-direction: column; gap: 1px }
.mira-ask b { font-family: var(--display); font-size: 15.5px; color: #4f3a92 }
.mira-wrap { display: flex; flex-direction: column; gap: 6px }
.mira-fold { align-self: flex-end; font-size: 13.5px }
@media (hover: hover) {
  .mira-ask { transition: background-size .6s ease }
  .mira-ask:hover { background-size: 100% 100%; font-weight: 700 }
}

/* Closed beta: home page buttons and waitlist form, and the organizer's Waitlist page */
.lp-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center }
.lp-btns .ghost.lp-cta { background: var(--card); color: var(--accent); border: 1.5px solid var(--hl-b); font-weight: 700 }
.lp-wait { width: 100%; max-width: 420px; text-align: left }
.lp-wait select, .lp-wait input[type="email"] { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--leaf-m); background: var(--card); color: var(--ink); width: 100% }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }
.lp-done { max-width: 420px; text-align: center }
.wl-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line) }
.wl-who { display: flex; flex-direction: column; gap: 1px; flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere }
.wl-code { font-size: 19px; letter-spacing: .08em; color: var(--logo-ink) }
.wl-new { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px }
.wl-new input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--leaf-m); background: var(--card); color: var(--ink) }
.panel > a.link { text-align: center; text-decoration: none }

/* ---------- Activities lane (js/activities.js): design A, a Luma-style list ---------- */
.act-head { display: flex; flex-direction: column; gap: 4px }
.act-group { display: flex; flex-direction: column; gap: 8px }
.act-gtitle { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 4px 4px 0 }
.act-list { display: flex; flex-direction: column; gap: 10px }
.act-row { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-left: 5px solid var(--logo-leaf); border-radius: var(--leaf-l); padding: 12px 14px;
  background-image: linear-gradient(90deg, var(--hl-a), var(--hl-b)); background-repeat: no-repeat; background-size: 0% 100% }
.act-row.act-off, .act-row.act-pastrow { opacity: .7 }
.act-tag.act-tag-past { background: #ece9f2; color: #5b5470 }
.act-row.act-off .act-title { text-decoration: line-through }
.act-date { flex: none; width: 52px; display: flex; flex-direction: column; align-items: center; padding: 6px 0 7px; border-radius: var(--leaf-m); line-height: 1.1 }
.act-date small { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase }
.act-date b { font-family: var(--display); font-size: 23px; font-weight: 800 }
.act-c0 { background: var(--accent-soft); color: var(--logo-ink) }
.act-c1 { background: var(--s1); color: var(--s1-ink) } .act-c2 { background: var(--s2); color: var(--s2-ink) }
.act-c3 { background: var(--s3); color: var(--s3-ink) } .act-c4 { background: var(--s4); color: var(--s4-ink) }
.act-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 }
.act-title { font-family: var(--display); font-weight: 800; font-size: 16.5px; line-height: 1.3; overflow-wrap: anywhere }
.act-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted) }
.act-tag { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: var(--leaf-s); background: var(--accent-soft); color: var(--accent) }
.act-tag-off { background: var(--warn-bg); color: var(--warn-ink) }
.act-going { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 2px }
.act-going .faces .ava { width: 24px; height: 24px; font-size: 13px }
.act-empty { display: flex; flex-direction: column; gap: 8px; align-items: center }
.act-host { margin-top: 4px }
@media (hover: hover) {
  .act-row:hover { background-size: 100% 100%; border-color: var(--hl-b); border-left-color: var(--logo-leaf) }
  .act-row:hover .act-meta, .act-row:hover .act-going { color: var(--hl-ink); font-weight: 700 }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .act-row { transition: background-size .7s ease, border-color .5s } }

/* One activity */
.act-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); overflow: hidden }
.act-band { display: flex; align-items: center; gap: 10px; padding: 18px 16px; font-weight: 800; font-family: var(--display); font-size: 14px }
.act-band-ico { font-size: 30px; line-height: 1 }
.act-body { display: flex; flex-direction: column; gap: 12px; padding: 16px }
.act-body h2 { overflow-wrap: anywhere }
.act-hostline { display: flex; align-items: center; gap: 10px; font-size: 14.5px; flex-wrap: wrap }
.act-hostline > span:last-child { flex: 1; min-width: 0 }
.act-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px }
.act-info li { display: flex; gap: 10px; align-items: baseline }
.act-desc { white-space: pre-wrap; overflow-wrap: anywhere }
.act-place { display: flex; flex-direction: column; gap: 2px; background: var(--accent-soft); border-radius: var(--leaf-m); padding: 10px 12px; font-size: 14.5px; overflow-wrap: anywhere }
.act-place b { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--logo-ink) }
.act-place.locked { background: var(--bg); border: 1px dashed var(--line); color: var(--muted) }
.act-cancel-note { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--leaf-m); padding: 10px 12px; font-weight: 700 }
.act-actions > .ghost { align-self: flex-start }
.act-in { font-weight: 700; color: var(--logo-ink) }
.act-namebox { display: flex; flex-direction: column; gap: 8px }
.act-cal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px }
.act-cal .small { flex-basis: 100% }
.act-calbtn { text-decoration: none; font-size: 14px; display: inline-block }
.act-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.act-people li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.act-people .ava { width: 28px; height: 28px; font-size: 15px }
.act-confirm { display: flex; flex-direction: column; gap: 10px }
.act-danger { background: #b03a2e }

/* Host form */
.act-form input[type=date], .act-form input[type=time], .act-form input[type=number], .act-form input[type=url] {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--leaf-m); padding: 10px 12px; width: 100%; min-height: 44px }
.act-form [aria-invalid="true"] { border-color: #c0392b }
.act-field { display: flex; flex-direction: column; gap: 6px }
.act-lbl { font-size: 14px; font-weight: 700 }
.act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.act-grid > label { min-width: 0 }
.act-grid .act-wide { grid-column: 1 / -1 }
.act-form label .lock, .act-actions label .lock, .act-namebox label .lock { font-weight: 400 }

/* Activities lane: the card above the age groups and topics (design B) */
.act-teaser { display: flex; flex-direction: column; gap: 10px; background: var(--accent-soft); border: 1px solid var(--line);
  border-radius: var(--leaf-l); padding: 12px 14px; margin-bottom: 6px; text-align: left }
.act-tz-top { display: flex; gap: 10px; align-items: flex-start }
.act-tz-icon { font-size: 22px; line-height: 1 }
.act-tz-text { display: flex; flex-direction: column; gap: 2px; color: var(--logo-ink) }
.act-tz-text b { font-family: var(--display); font-size: 16px }
.act-tz-next { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-left: 5px solid var(--logo-leaf); border-radius: var(--leaf-m); padding: 9px 12px; cursor: pointer;
  background-image: linear-gradient(90deg, var(--hl-a), var(--hl-b)); background-repeat: no-repeat; background-size: 0% 100% }
.act-tz-when { font-size: 12.5px; font-weight: 800; color: var(--accent) }
.act-tz-title { font-weight: 700; overflow-wrap: anywhere }
.act-tz-btns { display: flex; justify-content: space-between; align-items: center; gap: 10px }
.act-tz-host { background: var(--accent); color: #fff; border: 0; border-radius: var(--leaf-m); padding: 8px 14px; font-weight: 700; cursor: pointer }
@media (hover: hover) { .act-tz-next:hover { background-size: 100% 100%; font-weight: 700 } }

/* Feed: what the posts below are (design B, 11 November 2026) */
.storiesintro { background: var(--accent-soft); border-radius: var(--leaf-l); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px }
.storiesintro h3 { margin: 0; font-family: var(--display); font-size: 17px; color: var(--logo-ink) }
.storiesintro p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--accent) }

/* Activities lane: messages between people going, and the host's notes (option C, 11 November 2026) */
.act-msg { margin-left: auto; font-size: 13.5px }
.act-tip { margin: 0; font-size: 14px; color: var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: var(--leaf-m) }
.act-notes { display: flex; flex-direction: column; gap: 10px }
.act-notes h3 { margin: 0 }
.act-notelist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.act-note { background: #fdf3e2; border-radius: var(--leaf-m); padding: 9px 12px; display: flex; flex-direction: column; gap: 3px }
.act-note p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere }
.act-noteform { display: flex; flex-direction: column; gap: 6px }
.act-noteform .primary { align-self: flex-start }

/* Activities lane: adults and children counters */
.act-party { display: flex; flex-direction: column; gap: 8px }
.act-stepper { display: flex; align-items: center; gap: 10px }
.act-steplbl { flex: 1; font-size: 15px }
.act-step { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--hl-b); background: var(--card); color: var(--accent); font-size: 22px; font-weight: 700; line-height: 1; display: grid; place-items: center; padding: 0 }
.act-step:disabled { opacity: .35; cursor: default }
@media (hover: hover) { .act-step:hover:not(:disabled) { background: var(--accent-soft) } }
.act-num { min-width: 28px; text-align: center; font-family: var(--display); font-size: 19px; font-weight: 800 }
.act-totals { font-weight: 700; color: var(--logo-ink) }
.act-pcount { flex-basis: 100%; padding-left: 36px; font-size: 13.5px; color: var(--muted) }
.act-going > span:last-child { min-width: 0 }

/* Activities lane: who's hosting (family or organization) and the group chat (15 November 2026) */
.act-org-ava { background: var(--s2); color: var(--s2-ink) }
.act-org { font-weight: 700; color: var(--logo-ink) }
.act-orgby { display: block }
.act-hostrow { padding-bottom: 8px; border-bottom: 1px dashed var(--line) }
.act-tag-new { background: var(--accent); color: var(--card) }
.act-chatbtn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-left: 5px solid var(--logo-leaf); border-radius: var(--leaf-l); padding: 12px 14px;
  background-image: linear-gradient(90deg, var(--hl-a), var(--hl-b)); background-repeat: no-repeat; background-size: 0% 100% }
.act-chatbtn-ico { font-size: 24px; line-height: 1 }
.act-chatbtn-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0 }
.act-chatbtn-text b { font-family: var(--display); font-size: 16px }
@media (hover: hover) { .act-chatbtn:hover { background-size: 100% 100%; border-color: var(--hl-b) } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .act-chatbtn { transition: background-size .7s ease, border-color .5s } }
.act-chatpanel { padding: 12px }
.act-chatlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px }
.act-chat-empty { text-align: center; padding: 18px 0 }
.act-bubble { display: flex; gap: 8px; align-items: flex-end; max-width: 88% }
.act-bubble .ava { width: 28px; height: 28px; font-size: 15px }
.act-bubble.mine { align-self: flex-end; flex-direction: row-reverse }
.act-bubble-in { display: flex; flex-direction: column; gap: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 8px 12px; min-width: 0 }
.act-bubble.mine .act-bubble-in { background: var(--accent-soft); border-color: var(--hl-b); border-radius: 16px 4px 16px 16px }
.act-bubble-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 700 }
.act-bubble-in p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere }
.act-bubble-when { font-size: 12px; color: var(--muted); display: flex; gap: 8px }
.act-bubble-del { font-size: 12px; font-weight: 400 }
.act-composer { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: flex-end; background: var(--bg); padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)) }
.act-composer textarea { min-height: 46px; flex: 1 }
.act-composer .act-chatsend { width: auto; flex: none }
.act-bubble.mine .act-bubble-who { text-transform: capitalize }

/* More roles (15 November 2026): role and host badges side by side */
.badges { display: inline-flex; gap: 4px; flex-wrap: wrap; vertical-align: middle }
.hostbadge { background: #e6f4ea; color: #2f6b3d }

/* Back button always top left on a computer (Kathy, 16 November 2026): pages take the full width instead of shrinking to their content
   and being centred; the topic step keeps its 480px column, only the back button moves to the left edge */
#app > .wrap { width: 100% }
#issueView { width: 100%; max-width: 100% }
#issueView .stepbox > :not(.backpill) { width: 100%; max-width: 480px; align-self: center }

/* Copyright line, centred at the bottom of the site and the home page (Kathy, 16 November 2026) */
.copy { display: block; text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 6px }
.copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px }

/* Names, pictures, sign-in, message PIN (16 November 2026) */
.ava.sprout { color: var(--logo-p, #6f55b5) }
.ava.sprout svg { width: 52%; height: 70% }
.ava.sprout .lf { fill: var(--logo-leaf, #b9a6e8) }
.ava.c1 { background: #efe9fb } .ava.c2 { background: #fde4e4 } .ava.c3 { background: #e2f1e5 } .ava.c4 { background: #e3eefb }
.ava.c5 { background: #fff1d6 } .ava.c6 { background: #f6e6f6 } .ava.c7 { background: #e1f3f1 }
.ava.c2 { color: #c2566b } .ava.c2 .lf { fill: #f2a7b4 } .ava.c3 { color: #3f8a55 } .ava.c3 .lf { fill: #9fd3ab }
.ava.c4 { color: #3d6fb0 } .ava.c4 .lf { fill: #a4c3ec } .ava.c5 { color: #b9822a } .ava.c5 .lf { fill: #f1cf8a }
.ava.c6 { color: #9a4fa0 } .ava.c6 .lf { fill: #dcb0e0 } .ava.c7 { color: #2f8a80 } .ava.c7 .lf { fill: #96d4cc }
.ava.anon { background: #eef0f4; color: #9aa0ad } .ava.anon .lf { fill: #d3d6dd }
.ava.photo { overflow: hidden; padding: 0; background: var(--line) }
.ava.photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.nick .ava { width: 22px; height: 22px; vertical-align: middle; margin-right: 2px }
.me-ava.ava { width: 56px; height: 56px }

.authbox { max-width: 420px; margin: 0 auto; width: 100% }
.orline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px }
.orline::before, .orline::after { content: ""; flex: 1; height: 1px; background: var(--line) }
.googlebtn { display: flex; align-items: center; justify-content: center; gap: 9px }
.g { font: 800 16px Arial, sans-serif; color: #4285f4 }

.profedit { display: flex; flex-direction: column; gap: 10px }
.profnow { align-self: center }
.profnow .ava { width: 96px; height: 96px }
.avagrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 340px }
.avapick { aspect-ratio: 1; border-radius: 50%; padding: 0; border: 3px solid transparent; background: none; display: grid; place-items: center; cursor: pointer }
.avapick .ava { width: 100%; height: 100% }
.avapick[aria-pressed="true"] { border-color: var(--accent) }
.avaup { border: 2px dashed var(--hl-b); color: var(--accent); font-size: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px }
.avaup span { font-size: 11.5px; font-weight: 800 }
.avaup[aria-pressed="true"] { border-style: solid }

.postas { display: flex; flex-direction: column; gap: 6px }
.postas .q { font-size: 14px; font-weight: 700 }
.postas .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-m); padding: 4px }
.postas .seg button { display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: none; padding: 9px 6px; border-radius: var(--leaf-s); font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; min-width: 0 }
.postas .seg button span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.postas .seg .ava { width: 24px; height: 24px }
.postas .seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--logo-ink); box-shadow: inset 0 0 0 1.5px var(--hl-b) }
.seenas { font-size: 13px; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--leaf-m); padding: 8px 11px }
.seenas b { color: var(--ink) }
.pin { font-size: 20px; letter-spacing: .35em; text-align: center; max-width: 180px }

/* ---------- Reactions on single sentences, posts and replies (32-sentence-reactions.sql, 16 November 2026) ---------- */
.sent-tags { display: inline-flex; gap: 4px; margin-left: 4px; padding: 0 6px; border-radius: var(--leaf-s); background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 700; line-height: 18px; vertical-align: 1px; white-space: nowrap }
.sentences.in-reply p { margin: 0 0 6px }
.srx-bar { display: flex; flex-wrap: wrap; gap: 6px }
.srx { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--card); border-radius: var(--leaf-s); padding: 5px 10px; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer }
.srx .srx-e { font-size: 16px; line-height: 1 }
.srx .srx-n { font-weight: 700; color: var(--accent) }
.srx[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); font-weight: 700 }
@media (hover: hover) { .srx:hover { background: linear-gradient(90deg, var(--hl-a), var(--hl-b)) } }

/* ---------- My activities on My ParentHood (16 November 2026) ---------- */
.me-acts-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--leaf-l); padding: 16px; display: flex; flex-direction: column; gap: 10px }
.me-acts-card h3 { margin: 0 }
.me-badges { display: flex; flex-wrap: wrap; gap: 6px }
.act-mile-badge { background: #e8f5ec; color: #2f6b45 }
.act-me-todo { color: var(--logo-ink); font-weight: 700 }
.act-me-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px }
.act-me-h { margin: 6px 0 0; font-weight: 700; font-size: 14px }
.act-me-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-top: 1px solid var(--line); padding: 8px 0; cursor: pointer }
.act-me-date { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; padding: 4px 0; border-radius: var(--leaf-m); background: var(--accent-soft); color: var(--logo-ink); font-size: 11.5px; line-height: 1.2 }
.act-me-date b { font-size: 17px }
.act-me-what { flex: 1; min-width: 0; display: flex; flex-direction: column }
.act-me-what b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
@media (hover: hover) { .act-me-row:hover { background: linear-gradient(90deg, var(--hl-a), var(--hl-b)) } }

/* Mira's guides (design C, chosen 28 November 2026): challenges next to what may help, above the posts */
.guide { background: linear-gradient(160deg, #f7f3fd, #efe9fb); border: 1px solid #ddd2f7; border-radius: var(--leaf-l); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px }
.guide .who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.guide-name { font: 800 16px/1.3 var(--display); color: #4f3a92; overflow-wrap: anywhere }
.guide-item { background: var(--card); border-radius: var(--leaf-m); padding: 11px 13px; display: flex; flex-direction: column; gap: 6px }
.guide-item h4 { margin: 0; font: 800 15.5px/1.35 var(--display); color: var(--ink) }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px }
.guide-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px }
.guide-links .link { text-align: left; font-size: 14.5px }
.guide-rest { display: flex; flex-direction: column; gap: 12px }
.guide-rest[hidden] { display: none }
.guide-other { font-weight: 700; color: #4f3a92 }
.guide-more { align-self: flex-start; padding: 7px 14px }
.guide-budget { display: flex; flex-wrap: wrap; align-items: center; gap: 8px }
.guide-budget input { width: 90px; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--leaf-m) }
.guide-topic { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line) }
.guide-topic-name { display: flex; flex-direction: column; flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere }
.guide-edit { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line) }
.guide-lang { display: flex; flex-direction: column; gap: 4px }
.guide-edit blockquote { margin: 8px 0 0; padding: 8px 12px; background: var(--accent-soft); border-radius: var(--leaf-s); font-size: 14.5px }
.guide-edit .link { align-self: flex-start }
.guide-lang textarea[rows="1"] { min-height: 48px }

/* Activities lane: children's languages */
.act-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px }
.chips.act-langchips { flex-wrap: wrap; overflow: visible }
.act-tag { max-width: 100%; overflow-wrap: anywhere }
