/* Kimon's app: larger type, bigger targets, one thing per screen. */
body.me { font-size: 20px; }
.me-main { height: 100dvh; padding: calc(16px + var(--safe-t)) 18px calc(18px + var(--safe-b)); display: flex; flex-direction: column; max-width: 520px; margin: 0 auto; }
.me-loading { flex: 1; display: grid; place-items: center; }
.me-main .fit { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .7em; font-size: var(--fs, 21px); }
.hello h1 { font: 700 1.75em/1.05 var(--serif); letter-spacing: -.025em; }
.hello p { color: var(--ink-2); font-size: .85em; margin-top: .15em; }
.kc { background: var(--card); border: 1px solid transparent; border-radius: 22px; padding: .75em .85em; display: grid; gap: .55em; box-shadow: var(--shadow); text-align: left; }
.kc h2 { font: 600 1.2em/1.2 var(--serif); }
.kc p { font-size: .88em; line-height: 1.35; }
.kc.one { background: var(--accent); color: var(--accent-ink); border: 0; }
.kc.one .kicker { color: rgba(255,255,255,.8); }
.done-line { font-weight: 700; }
.kbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.kb { min-height: 2.6em; border-radius: 18px; font-size: 1em; font-weight: 700; padding: 0 1em; flex: 1; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 0; }
.kb.small { min-height: 44px; flex: none; font-size: .85em; }
.kb.done { background: #fff; color: var(--accent); }
.kb.skip { background: rgba(255,255,255,.16); color: #fff; flex: 1; white-space: nowrap; }
.kb.go { background: var(--accent); color: var(--accent-ink); }
.kb.sos { background: #fff; color: var(--emergency); font-size: 1.15em; }
.row-card { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.row-card .big { font-size: .95em; font-weight: 600; }
.tick { color: var(--routine); font-weight: 700; white-space: nowrap; }
.nudge { background: color-mix(in srgb, var(--emergency) 8%, var(--card)); display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.nudge .heart, .heart { color: var(--emergency); }
.log-btn { display: flex; align-items: center; gap: .7em; background: color-mix(in srgb, var(--urgent) 10%, var(--card)); border-color: color-mix(in srgb, var(--urgent) 35%, transparent); }
.log-btn .plus { width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--urgent); color: #fff; display: grid; place-items: center; font-size: 34px; font-weight: 500; flex: none; }
.log-btn b, .talk b { display: block; font-size: 1.05em; }
.log-btn small, .talk small { display: block; color: var(--ink-2); font-size: .78em; margin-top: 2px; }
.talk { display: flex; align-items: center; gap: .7em; }
.talk .mic { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.talk svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

/* steps */
.me-step h1 { font: 600 1.4em/1.2 var(--serif); }
.me-back { color: var(--accent); font-weight: 700; min-height: 44px; align-self: flex-start; font-size: .9em; }
.me-step .top { display: flex; justify-content: space-between; align-items: center; font-size: .82em; color: var(--ink-2); }
.me-step .bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.me-step .bar i { height: 6px; border-radius: 3px; background: var(--line); }
.me-step .bar i.on { background: var(--accent); }
.opts { display: grid; gap: .55em; }
.o { min-height: 62px; border-radius: 18px; border: 2px solid transparent; box-shadow: var(--shadow); background: var(--card); font-size: 1em; font-weight: 600; text-align: left; padding: 0 .9em; display: flex; align-items: center; gap: .6em; }
.o:active { border-color: var(--accent); background: var(--accent-soft); }
.o .sw { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.o.unsure { border-style: dashed; color: var(--ink-2); }
.why { margin-top: auto; background: var(--accent-soft); border-radius: 18px; padding: .7em .8em; font-size: .8em; line-height: 1.35; }
.why b { display: block; font-size: .78em; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tiles2 { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; flex: 1; min-height: 0; grid-auto-rows: 1fr; }
.tile2 { border-radius: 20px; border: 2px solid transparent; box-shadow: var(--shadow); background: var(--card); font-size: .92em; font-weight: 700; padding: .5em; line-height: 1.2; }
.tile2:last-child { grid-column: span 2; }
.tile2:active { border-color: var(--accent); background: var(--accent-soft); }
.me-step textarea { flex: 1; min-height: 0; resize: none; border-radius: 20px; border: 1.5px solid var(--line); background: var(--card); padding: .7em; font-size: 1em; }
.me-step .row { display: flex; gap: 10px; }
.me-step .row .kb { flex: 1; }
.kc.level { color: #fff; border: 0; padding: 1.1em; }
.kc.level h1 { color: #fff; font-size: 1.6em; }
.kc.level p { font-size: .95em; }
.kc.level .meta { color: rgba(255,255,255,.85); font-size: .8em; }
.kc.level.emergency { background: linear-gradient(160deg, #c8342b, var(--emergency)); }
.kc.level.urgent { background: linear-gradient(160deg, #c96a17, var(--urgent)); }
.kc.level.soon { background: linear-gradient(160deg, #3c73a8, var(--soon)); }
.kc.level.routine { background: linear-gradient(160deg, #3b8160, var(--routine)); }
.kc.level .kb.go { background: rgba(255,255,255,.18); color: #fff; }

.me-step > .kb { flex: none; }
.row-card > div { min-width: 0; }

/* full dashboard, photo of a result, family preview */
.hello { display: flex; align-items: flex-start; justify-content: space-between; gap: .6em; }
.dash-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 .75em; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); color: var(--accent); font-weight: 700; font-size: .7em; text-decoration: none; white-space: nowrap; flex: none; }
.dash-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.duo .talk { flex-direction: column; align-items: flex-start; gap: .45em; }
.talk.photo .mic { background: var(--coral); }
.me-reading { align-items: center; justify-content: center; text-align: center; }
.me-thumb { max-height: 15dvh; max-width: 100%; align-self: flex-start; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow); }
.me-rows { display: grid; gap: .45em; min-height: 0; overflow: hidden; }
.me-row { display: grid; grid-template-columns: 30px 1fr; gap: .5em; align-items: start; background: var(--card); border-radius: 16px; padding: .55em .7em; box-shadow: var(--shadow); font-size: .9em; line-height: 1.3; }
.me-row input { width: 26px; height: 26px; accent-color: var(--accent); }
.me-row small { display: block; color: var(--ink-2); font-size: .8em; margin-top: 2px; }
.me-row.dup { opacity: .55; }
.small { font-size: .78em; }
.kb.skip2 { background: var(--card); color: var(--ink); box-shadow: var(--shadow); flex: none; }
.kc.level.saved { background: linear-gradient(160deg, #3b8160, var(--routine)); }
body.preview .me-main::before { content: "Preview of Kimon's screen"; display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--urgent); margin-bottom: 6px; }
