/* Bean's Place · For grown-ups (grownups/). Park look: warm cream, leaf green, bean-colour chips. No outside requests. */
:root { --bg:#fffaf2; --card:#ffffff; --ink:#2b2a33; --soft:#5d5a6b; --line:#eadfcf; --accent:#2f7d4f; --accent-ink:#ffffff; --tint:#eaf5ec;
  --warn-bg:#fff1c9; --warn:#7a5600; --danger:#b3261e; --danger-bg:#fdecea; --box:#f3ecdf; --off:#cfc8bb;
  --grape:#9b6fe0; --mint:#8fd3a6; --lemon:#f2e35a; --sky:#7cc4f5; --peach:#ffb98a; --rose:#f58fb5; --lime:#b6e36b; --tangerine:#ff9a4d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#1d1c22; --card:#26252c; --ink:#f1ede6; --soft:#b9b3c4; --line:#3a3742;
  --accent:#7fd39f; --accent-ink:#10301c; --tint:#22352a; --warn-bg:#3d3214; --warn:#ffd97a; --danger:#ff8a80; --danger-ink:#3a0d0a; --danger-bg:#3a2020; --box:#2a2830; --off:#4a4652; } }
:root[data-theme="dark"] { --bg:#1d1c22; --card:#26252c; --ink:#f1ede6; --soft:#b9b3c4; --line:#3a3742; --accent:#7fd39f; --accent-ink:#10301c; --tint:#22352a;
  --warn-bg:#3d3214; --warn:#ffd97a; --danger:#ff8a80; --danger-ink:#3a0d0a; --danger-bg:#3a2020; --box:#2a2830; --off:#4a4652; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--ink); font:17px/1.5 "Fredoka", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width:560px; margin:0 auto; padding:16px 16px 48px; }
a { color:var(--accent); }
.brand { display:flex; flex-wrap:wrap; align-items:center; column-gap:8px; row-gap:0; font-weight:700; color:var(--accent); margin:4px 0 14px; }
.brand .name, .brand .soft { white-space:nowrap; } /* Daisy's phone (2026-10-11): "Bean's / Place" and "for grown- / ups" broke apart in a squeezed row */
.brand .bean { width:22px; height:28px; border-radius:50% 50% 46% 46%/60% 60% 40% 40%; background:var(--grape); transform:rotate(-14deg); display:inline-block; }
h1 { font-size:1.6rem; line-height:1.2; margin:.2em 0 .3em; }
h2 { font-size:1.1rem; margin:1.4em 0 .4em; color:var(--accent); }
p { margin:.4em 0 .8em; } .soft { color:var(--soft); } .small { font-size:.9rem; }
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:14px 16px; margin:12px 0; }
.btn { display:block; width:100%; text-align:center; text-decoration:none; font:inherit; font-weight:700; border-radius:14px; padding:14px 16px; border:0; cursor:pointer;
  background:var(--accent); color:var(--accent-ink); margin:12px 0 6px; }
.btn.ghost { background:transparent; color:var(--accent); border:2px solid var(--line); }
.btn.danger { background:var(--danger); color:var(--danger-ink, #fff); }
.btn.small { display:inline-block; width:auto; padding:8px 14px; margin:0; font-size:.95rem; }
input[type=email], input[type=text], select { width:100%; font:inherit; padding:12px 14px; border:2px solid var(--line); border-radius:12px; background:var(--card); color:var(--ink); }
select { -webkit-appearance:none; appearance:none; min-height:44px; padding-right:36px; background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px; } /* Safari draws a native select at its own short height (Birch, WebKit, 2026-10-15): drawn by us, at least 44 px */
input:focus, select:focus { outline:3px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color:var(--accent); }
label { display:block; font-weight:600; margin:10px 0 6px; }
.check { display:flex; gap:10px; align-items:flex-start; font-weight:500; }
.check input { width:22px; height:22px; margin-top:2px; accent-color:var(--accent); flex:none; }
.note { background:var(--warn-bg); color:var(--warn); border-radius:12px; padding:10px 14px; font-size:.92rem; }
.ok { background:var(--tint); border-radius:12px; padding:10px 14px; }
.list { list-style:none; padding:0; margin:0; } .list li { padding:10px 0; border-top:1px solid var(--line); display:flex; gap:10px; align-items:center; } .list li:first-child { border-top:0; }
.kidchip { display:inline-flex; align-items:center; gap:6px; padding:6px 12px 6px 8px; border-radius:999px; background:var(--box); font-weight:600; white-space:nowrap; }
.kidchip .b { width:16px; height:20px; border-radius:50% 50% 46% 46%/60% 60% 40% 40%; display:inline-block; }
.kidchip.on { background:var(--accent); color:var(--accent-ink); }
.chips { display:flex; flex-wrap:wrap; gap:8px; padding:2px 0 6px; } /* wraps, never scrolls: every child (and ＋) always on screen */
.tabs { display:flex; flex-wrap:wrap; gap:4px; background:var(--box); border-radius:12px; padding:4px; margin:10px 0; } /* the tabs wrap to a second row on a narrow phone rather than run off the edge (Daisy's phone at 125 %: "Settin…", 2026-10-11) */
.tabs a { flex:1; text-align:center; padding:8px 4px; border-radius:9px; text-decoration:none; color:var(--soft); font-weight:600; font-size:.95rem; }
.tabs a.on { background:var(--card); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.12); }
.tl { list-style:none; padding:0; margin:0; } .tl li { display:grid; grid-template-columns:52px 28px 1fr; gap:6px; align-items:start; padding:8px 0; border-top:1px dashed var(--line); }
.tl li:first-child { border-top:0; } .tl .t { color:var(--soft); font-size:.9rem; font-variant-numeric:tabular-nums; } .tl .i { font-size:20px; line-height:1.2; }
.bars { display:grid; gap:8px; } .bar { display:grid; grid-template-columns:96px 1fr 28px; gap:8px; align-items:center; font-size:.95rem; }
.bar .track { height:12px; background:var(--box); border-radius:6px; overflow:hidden; } .bar .fill { height:100%; background:var(--accent); border-radius:6px; }
.bar .n { text-align:right; font-variant-numeric:tabular-nums; color:var(--soft); }
.book { display:grid; grid-template-columns:repeat(auto-fill, minmax(64px, 1fr)); gap:8px; }
.book div { aspect-ratio:1; border-radius:14px; background:var(--box); display:grid; place-items:center; font-size:28px; }
.book div.no { opacity:.28; filter:grayscale(1); }
.toggle { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
.toggle:first-child { border-top:0; } .toggle b { display:block; } .toggle small { color:var(--soft); display:block; font-size:.88rem; }
.sw { width:52px; height:32px; border-radius:16px; background:var(--off); position:relative; flex:none; }
.sw::after { content:''; position:absolute; top:3px; left:3px; width:26px; height:26px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.3); }
.sw.on { background:var(--accent); } .sw.on::after { left:23px; } .sw.locked { opacity:.55; }
.lock { font-size:.8rem; color:var(--soft); }
.keypad { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; margin:14px 0; }
.keypad button { font:inherit; font-size:1.5rem; font-weight:700; padding:14px 0; border-radius:14px; border:2px solid var(--line); background:var(--card); color:var(--ink); cursor:pointer; }
.keypad button:active { background:var(--box); }
.words { font-size:1.45rem; font-weight:700; letter-spacing:.02em; text-align:center; padding:10px; background:var(--box); border-radius:14px; }
.slots { display:flex; justify-content:center; gap:10px; margin:12px 0 0; } .slots span { width:44px; height:52px; border-radius:12px; border:2px solid var(--line); display:grid; place-items:center; font-size:1.5rem; font-weight:700; }
.code { font-size:2rem; font-weight:800; letter-spacing:.18em; text-align:center; padding:14px; border-radius:14px; background:var(--box); font-variant-numeric:tabular-nums; }
.pics { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; } .pics button { font:inherit; padding:8px 0; border-radius:12px; border:2px solid var(--line); background:var(--card); font-size:24px; cursor:pointer; }
.pics button.sel { border-color:var(--accent); background:var(--tint); }
.dots { display:flex; gap:8px; } .dots i { width:26px; height:32px; border-radius:50% 50% 46% 46%/60% 60% 40% 40%; display:inline-block; border:2px solid transparent; }
.dots i.sel { border-color:var(--ink); }
.foot { margin-top:22px; font-size:.85rem; color:var(--soft); display:flex; flex-wrap:wrap; gap:6px 14px; }
.danger-zone { border-color:color-mix(in srgb, var(--danger) 40%, var(--line)); }
.row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }
@media (orientation:landscape) and (max-height:420px) { main { max-width:760px; padding-top:10px; } h1 { font-size:1.3rem; margin:0 0 .2em; } .brand { margin:0 0 6px; } .two .words { font-size:1.15rem; padding:6px; } .two .slots span { width:38px; height:42px; } .two { display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start; } .keypad button { padding:8px 0; font-size:1.2rem; } .keypad { gap:6px; margin:8px 0; } }
/* the live page (grownups/app.js) */
.err { color:var(--danger); font-weight:600; margin:6px 0; min-height:1.2em; }
.field { margin:8px 0 14px; } .field small { color:var(--soft); display:block; font-size:.88rem; margin-top:4px; }
.langbar { display:flex; align-items:center; gap:8px; margin-top:18px; font-size:.9rem; color:var(--soft); } .langbar select { width:auto; padding:6px 30px 6px 10px; font-size:.9rem; }
.translating { font-size:.85rem; color:var(--soft); }
.kidchip.btn-like { cursor:pointer; border:0; font:inherit; }
button.tabbtn { flex:1 1 auto; white-space:nowrap; text-align:center; padding:8px 6px; border-radius:9px; border:0; background:transparent; color:var(--soft); font:inherit; font-weight:600; font-size:.95rem; cursor:pointer; }
button.tabbtn.on { background:var(--card); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.12); }
.sw { border:0; cursor:pointer; } .sw.locked { cursor:not-allowed; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; } .grid2 .btn { margin:0; }
.btn:disabled { opacity:.5; cursor:default; }
.hidden { display:none !important; }
html[dir=rtl] .tl li { direction:rtl; } html[dir=rtl] .bar .n { text-align:left; }
