/* PREP by ZEROKRIYA: one look for the landing page and the app. Phone first, compact, real buttons, nothing cut off. */
:root { --brand:#1d4ed8; --brand2:#60a5fa; --dark:#13294b; --navy:#13294b; --ink:#0f172a; --grey:#5b6878; --line:#dbe3ee; --bg:#f4f7fc;
  --ok:#047857; --okbg:#e7f6ef; --warn:#b45309; --warnbg:#fff4e0; --bad:#b42318; --badbg:#fdecea; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif; color:var(--ink); background:var(--bg); }
a { color:var(--brand); }
h1,h2,h3 { line-height:1.25; margin:0 0 8px; }
h2 { font-size:18px; } h3 { font-size:15.5px; }
p { margin:0 0 10px; }

/* top bar: logo left, Install right (server rule) */
.top { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:10px; padding:8px 12px; background:#fff; border-bottom:1px solid var(--line); }
.top .brand { display:flex; align-items:center; gap:8px; min-width:0; flex:1; text-decoration:none; color:var(--ink); }
.top .brand img { width:34px; height:34px; border-radius:9px; flex:none; }
.top .brand .nm { display:flex; flex-direction:column; min-width:0; }
.top .brand b { font-size:16px; letter-spacing:-.2px; }
.top .brand small { font-size:11.5px; color:var(--grey); overflow-wrap:anywhere; line-height:1.2; }
.btn.install { flex:none; min-height:36px; padding:6px 11px; font-size:13.5px; }

main { max-width:640px; margin:0 auto; padding:12px 12px 96px; }
.card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px; margin-bottom:12px; }
.muted { color:var(--grey); font-size:13.5px; }
.small { font-size:12.5px; }
.row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.row > .grow { flex:1 1 auto; min-width:0; }
.right { margin-left:auto; text-align:right; }
.money { font-variant-numeric:tabular-nums; font-weight:700; white-space:nowrap; }
.due { color:var(--bad); } .paid { color:var(--ok); }

/* buttons: always a real shape with padding (server rule) */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:42px; padding:9px 14px; border-radius:10px;
  font:600 14.5px/1.15 inherit; font-family:inherit; cursor:pointer; border:1.5px solid var(--brand); background:var(--brand); color:#fff;
  text-decoration:none; text-align:center; white-space:normal; }
.btn.outline { background:#fff; color:var(--brand); }
.btn.soft { background:#eaf1fe; border-color:#c7d7f8; color:var(--dark); }
.btn.danger { background:#fff; color:var(--bad); border-color:#f0b4ad; }
.btn.ok, .btn.navy { background:var(--navy); border-color:var(--navy); color:#fff; }
.btn.wa { background:#128c4a; border-color:#128c4a; }
.btn.sm { min-height:36px; padding:6px 10px; font-size:13.5px; border-radius:9px; }
.btn.wide { width:100%; }
.btn:disabled { opacity:.55; cursor:default; }
.btns { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; } .btns > .btn { flex:1 1 130px; }

/* forms: compact (owner preference) */
label.f { display:block; margin:0 0 10px; }
label.f > span, .lbl { display:block; font-size:14.5px; font-weight:700; margin-bottom:4px; }
input, select, textarea { width:100%; min-height:46px; padding:10px 12px; font:16px/1.3 inherit; font-family:inherit; color:var(--ink);
  background:#fff; border:1.5px solid var(--line); border-radius:10px; }
textarea { min-height:84px; resize:vertical; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--brand); box-shadow:0 0 0 3px #c9efdc; }
.two { display:flex; gap:10px; flex-wrap:wrap; } .two > * { flex:1 1 140px; min-width:0; }
.err { color:var(--bad); font-size:13.5px; min-height:1em; margin:6px 0 0; }
.hint { font-size:12.5px; color:var(--grey); margin-top:3px; }

/* lists */
.item { display:flex; align-items:center; gap:10px; padding:11px 12px; background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:8px;
  width:100%; text-align:left; font:inherit; color:inherit; cursor:pointer; }
.item .grow { flex:1; min-width:0; }
.item .t, .item .s { display:block; }
.item .t { font-weight:600; overflow-wrap:anywhere; }
.item .s { font-size:12.5px; color:var(--grey); overflow-wrap:anywhere; }
.chev { flex:none; width:30px; height:30px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center;
  background:#eaf1fe; color:var(--brand); font-weight:700; border:1px solid #c7d7f8; }
.pill { display:inline-block; font-size:11.5px; font-weight:700; padding:2px 8px; border-radius:20px; background:#eef2f5; color:var(--grey); white-space:nowrap; }
.pill.ok { background:var(--okbg); color:var(--ok); } .pill.warn { background:var(--warnbg); color:var(--warn); } .pill.bad { background:var(--badbg); color:var(--bad); }
.stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.stat { background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px; }
.stat b { display:block; font-size:21px; font-variant-numeric:tabular-nums; }
.stat span { font-size:12.5px; color:var(--grey); }
.floor { font-size:13px; font-weight:700; color:var(--grey); text-transform:uppercase; letter-spacing:.5px; margin:14px 2px 6px; }
.beds { display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:8px; margin-top:8px; }
.bed { border:1.5px solid var(--line); border-radius:10px; padding:8px 10px; background:#fff; text-align:left; font:inherit; color:inherit; cursor:pointer; min-height:56px; }
.bed b { display:block; font-size:13.5px; overflow-wrap:anywhere; } .bed span { font-size:12.5px; color:var(--grey); overflow-wrap:anywhere; }
.bed.free { border-style:dashed; background:#f5fbf8; } .bed.free span { color:var(--ok); font-weight:600; }
.line { display:flex; gap:10px; padding:8px 0; border-bottom:1px solid #eef2f5; font-size:14px; }
.line:last-child { border-bottom:0; }
.line .grow { flex:1; min-width:0; overflow-wrap:anywhere; }
.empty { text-align:center; color:var(--grey); padding:18px 8px; font-size:14px; }
.note { background:var(--warnbg); border:1px solid #f5d9a8; border-radius:12px; padding:10px 12px; font-size:13.5px; margin-bottom:12px; }
.secret { font:700 20px/1.3 ui-monospace,Menlo,Consolas,monospace; letter-spacing:1px; background:#f2f6f8; border:1px dashed var(--brand);
  border-radius:10px; padding:10px; text-align:center; overflow-wrap:anywhere; margin:6px 0 10px; }

/* bottom tabs */
nav.tabs { position:fixed; left:0; right:0; bottom:0; z-index:20; display:flex; background:#fff; border-top:1px solid var(--line);
  padding:6px 6px calc(6px + env(safe-area-inset-bottom)); }
nav.tabs button { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; gap:1px; border:0; background:none; font:600 11.5px/1.2 inherit;
  font-family:inherit; color:var(--grey); padding:6px 2px; border-radius:10px; cursor:pointer; position:relative; }
nav.tabs button i { font-style:normal; font-size:19px; line-height:1.1; }
nav.tabs button.on { color:var(--brand); background:#eaf1fe; }
nav.tabs .dot { position:absolute; top:2px; right:calc(50% - 20px); min-width:17px; height:17px; padding:0 4px; border-radius:9px; background:var(--bad); color:#fff; font-size:10.5px; line-height:17px; }

/* bottom sheet */
.modal { position:fixed; inset:0; z-index:50; background:rgba(15,23,42,.45); display:flex; align-items:flex-end; justify-content:center; }
.sheet { background:#fff; width:100%; max-width:640px; max-height:92vh; overflow:auto; border-radius:18px 18px 0 0; padding:14px 14px calc(18px + env(safe-area-inset-bottom)); }
.sheet .hd { display:flex; align-items:flex-start; gap:10px; margin-bottom:10px; }
.sheet .hd h2 { flex:1; min-width:0; margin:4px 0 0; overflow-wrap:anywhere; }
.sheet ol.steps { padding-left:20px; } .sheet ol.steps li { margin-bottom:6px; }
.photo { max-width:100%; border-radius:10px; border:1px solid var(--line); display:block; margin:6px 0; }
.toast { position:fixed; left:50%; bottom:84px; transform:translateX(-50%); z-index:60; background:var(--ink); color:#fff; padding:10px 16px; border-radius:10px; font-size:14px; max-width:90vw; }

/* landing */
.hero { padding:22px 4px 8px; }
.hero h1 { font-size:27px; letter-spacing:-.5px; }
.hero p { font-size:16px; color:#334155; }
.feat { display:grid; gap:10px; margin:14px 0; }
.feat .card { margin:0; } .feat b { display:block; margin-bottom:2px; }
footer { text-align:center; font-size:12.5px; color:var(--grey); padding:20px 10px 30px; }
.seg { display:flex; gap:6px; margin-bottom:12px; } .seg .btn { flex:1; }
.stack { padding:10px 0; border-bottom:1px solid #eef2f5; font-size:14px; } .stack:last-child { border-bottom:0; }
.stack .btns { margin-top:8px; } .stack .btns .btn { flex:1 1 120px; }

/* v1.2 easy mode (owner, 21 Oct 2026: "even people with min education"): big picture buttons, tiles, few words */
.btn.big { display:flex; width:100%; min-height:56px; font-size:17px; padding:10px 16px; border-radius:14px; margin-top:10px; justify-content:flex-start; gap:12px; }
.btn.big i { font-style:normal; font-size:24px; line-height:1; flex:none; }
.btn.big span { flex:1; text-align:left; }
.btns .btn.big { flex:1 1 140px; width:auto; margin-top:0; }
.btn.big.sm2 { min-height:46px; font-size:14.5px; } .btn.big.sm2 i { font-size:18px; }
.btn.big.danger { background:var(--bad); color:#fff; border-color:var(--bad); }
.btns .btn.big.danger { background:#fff; color:var(--bad); border-color:#f0b4ad; }
.btn.lang { flex:none; min-height:36px; padding:6px 9px; font-size:13.5px; }
.btn.back { margin:0 0 10px; }
.tiles { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0; }
.tile { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:96px; padding:12px 8px;
  background:#fff; border:2px solid #c7d7f8; border-radius:16px; font:700 15px/1.2 inherit; font-family:inherit; color:var(--dark); text-align:center;
  cursor:pointer; text-decoration:none; box-shadow:0 2px 0 #d3eee0; }
.tile i { font-style:normal; font-size:32px; line-height:1; }
.tile span { overflow-wrap:anywhere; }
.tile:active, .btn:active { transform:translateY(1px); }
.tile.wa { border-color:#9fd8b8; color:#0b5f33; box-shadow:0 2px 0 #cdebd9; }
.tiles.cats .tile { min-height:84px; }
.dot { position:absolute; top:6px; right:8px; min-width:22px; height:22px; padding:0 6px; border-radius:11px; background:var(--bad); color:#fff; font:700 12.5px/22px inherit; font-style:normal; }
.dot.blue { background:var(--brand); }
nav.tabs .dot { top:2px; right:calc(50% - 22px); min-width:18px; height:18px; line-height:18px; font-size:11px; }
nav.tabs button { font-size:12.5px; } nav.tabs button i { font-size:22px; }
.hello { font-size:21px; font-weight:800; margin:4px 2px 10px; overflow-wrap:anywhere; }
.sum { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.sumbox { display:flex; flex-direction:column; gap:2px; width:100%; padding:14px; border-radius:16px; background:#fff; border:2px solid var(--line); text-align:left;
  font:inherit; color:inherit; cursor:default; }
button.sumbox { cursor:pointer; }
.sumbox b { font-size:24px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.sumbox span { font-size:14px; color:var(--grey); font-weight:600; }
.sumbox.red { background:var(--badbg); border-color:#f3c0b9; } .sumbox.red b { color:var(--bad); }
.sumbox.green { background:var(--okbg); border-color:#b7e2cc; } .sumbox.green b { color:var(--ok); }
.sumbox.hero { padding:18px; margin-bottom:6px; } .sumbox.hero b { font-size:34px; } .sumbox.hero span { font-size:16px; }
.card.soft { background:#f3f7fe; border-color:#c7d7f8; }
.card.warnbox { background:var(--warnbg); border-color:#f5d9a8; }
.card.tight { padding:12px; }
.card .name { overflow-wrap:anywhere; }
.center { text-align:center; }
.reply { background:#eaf1fe; border-radius:10px; padding:8px 10px; margin:6px 0; }
.stepno { font-size:13px; font-weight:700; color:var(--brand); text-transform:uppercase; letter-spacing:.5px; margin:0 0 8px; }
.avatar { flex:none; width:40px; height:40px; border-radius:50%; background:#eaf1fe; color:var(--brand); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; }
.item { min-height:62px; }
.item .t { font-size:16px; }
.choice { display:flex; flex-wrap:wrap; gap:8px; }
.choice button { flex:1 1 70px; min-height:50px; padding:8px 10px; border-radius:12px; border:2px solid var(--line); background:#fff; font:700 16px/1.2 inherit; font-family:inherit; color:var(--ink); cursor:pointer; }
.choice button.on { border-color:var(--brand); background:#eaf1fe; color:var(--dark); box-shadow:inset 0 0 0 1px var(--brand); }
.choice.col { flex-direction:column; } .choice.col button { flex:none; text-align:left; }
.bigin { font-size:24px !important; font-weight:800; min-height:56px; }
.filebtn { position:relative; overflow:hidden; }
.filebtn input[type=file] { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; }
details.more > summary { list-style:none; } details.more > summary::-webkit-details-marker { display:none; }
details.more[open] > summary { opacity:.7; }
.bed { min-height:62px; } .bed b { font-size:14.5px; } .bed.pick { border-color:var(--brand); background:#eaf1fe; }
.secret small { display:block; font:600 12px/1.4 system-ui,sans-serif; color:var(--grey); letter-spacing:0; margin-top:4px; }
.top .brand small { max-width:100%; }
textarea[data-grow] { min-height:46px; resize:none; overflow:hidden; }
.note { overflow-wrap:anywhere; }
.loginh { font-size:22px; margin:0 0 12px; }
.signup { text-align:center; margin:14px 0 0; font-size:14px; color:var(--grey); display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.hero.small { padding:10px 4px 0; } .hero.small h2 { font-size:19px; } .hero.small p { font-size:14.5px; color:var(--grey); }
.code { font:800 26px/1.2 ui-monospace,Menlo,Consolas,monospace; letter-spacing:4px; color:var(--dark); text-align:center; background:#eaf1fe; border-radius:12px; padding:10px; margin:8px 0; }

/* ---- PREP ---- */
.steps4 { counter-reset:s; list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.steps4 li { counter-increment:s; display:flex; gap:10px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 12px; font-size:14.5px; }
.steps4 li::before { content:counter(s); flex:none; width:26px; height:26px; border-radius:50%; background:var(--brand); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; font-size:14px; }
.price { font-size:30px; font-weight:800; color:var(--dark); }
.lv { margin:0 0 12px; } .lv .lbl { font-size:14px; margin-bottom:6px; }
.lv .choice button { flex:1 1 60px; min-height:44px; font-size:14px; padding:6px 4px; }
.formstep { font-size:13px; font-weight:800; color:var(--brand); text-transform:uppercase; letter-spacing:.5px; margin:2px 0 8px; }
.prog { display:flex; gap:6px; margin:0 0 12px; } .prog i { flex:1; height:6px; border-radius:3px; background:var(--line); } .prog i.on { background:var(--brand); }
.writing { text-align:center; padding:26px 12px; }
.spin { width:44px; height:44px; border-radius:50%; border:5px solid #d3eee0; border-top-color:var(--brand); margin:0 auto 14px; animation:sp 1s linear infinite; }
@keyframes sp { to { transform:rotate(360deg); } }
.book { background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 14px; margin-bottom:12px; font-size:15.5px; line-height:1.55; overflow-wrap:anywhere; }
.book h1 { font-size:21px; color:var(--dark); } .book h2 { font-size:18px; margin:22px 0 8px; padding-top:12px; border-top:1px solid #eef2f5; color:var(--dark); }
.book h3 { font-size:16px; margin:16px 0 6px; } .book ul, .book ol { padding-left:20px; margin:0 0 10px; } .book li { margin-bottom:4px; }
.book li.chk { list-style:none; margin-left:-20px; } .book .box { font-size:17px; }
.book blockquote { margin:0 0 10px; padding:8px 12px; background:#f1faf5; border-left:4px solid var(--brand2); border-radius:8px; }
.book code { background:#f2f6f8; padding:1px 4px; border-radius:4px; font-size:14px; }
.tbl { overflow-x:auto; margin:0 0 12px; border:1px solid var(--line); border-radius:10px; }
.tbl table { border-collapse:collapse; width:100%; font-size:13.5px; } .tbl th, .tbl td { text-align:left; padding:7px 8px; border-bottom:1px solid #eef2f5; vertical-align:top; min-width:90px; }
.tbl th { background:#f1faf5; font-weight:700; }
.lockbox { position:relative; border:2px dashed #b7e2cc; border-radius:14px; padding:14px; background:linear-gradient(#ffffff, #f1faf5); margin-bottom:12px; }
.lockbox h2 { font-size:18px; } .lockbox ul { list-style:none; padding:0; margin:8px 0 12px; }
.lockbox li { padding:7px 0; border-bottom:1px solid #e6efe9; font-size:14.5px; color:#334155; display:flex; gap:8px; } .lockbox li:last-child { border-bottom:0; }
.fade { height:60px; margin-top:-60px; position:relative; background:linear-gradient(rgba(255,255,255,0), #fff); border-radius:0 0 14px 14px; }
.ref { font:700 13px/1.2 ui-monospace,Menlo,Consolas,monospace; background:#eef2f5; color:var(--dark); padding:3px 7px; border-radius:6px; white-space:nowrap; }
.codein { text-transform:uppercase; letter-spacing:3px; font:800 22px/1.2 ui-monospace,Menlo,Consolas,monospace !important; text-align:center; }
.statrow { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:12px; }
@media print { .top, .noprint, nav.tabs, footer { display:none !important; } body { background:#fff; } main { max-width:none; padding:0; } .book { border:0; padding:0; } }
textarea[data-grow][rows="1"] { min-height:46px; }
/* phones: each table row becomes a small card (label: value), so no column is ever cut off */
@media (max-width:560px) {
  .tbl { overflow:visible; border:0; }
  .tbl thead { display:none; }
  .tbl table, .tbl tbody, .tbl tr, .tbl td { display:block; width:100%; }
  .tbl tr { border:1px solid var(--line); border-radius:10px; margin-bottom:8px; padding:4px 0; background:#fff; }
  .tbl td { border:0; padding:4px 10px; min-width:0; }
  .tbl td::before { content:attr(data-l); display:block; font-size:12px; font-weight:700; color:var(--grey); }
  .tbl td:first-child { font-weight:700; color:var(--dark); } .tbl td:first-child::before { display:none; }
}
main.withtabs { padding-bottom:110px; }
a.item { text-decoration:none; color:inherit; }
.card, .item .s { overflow-wrap:anywhere; }
.line .grow { white-space:pre-line; }
/* home = the tool: step 1 of the form first, the rest below */
.hero.small h1 { font-size:22px; letter-spacing:-.3px; margin:0 0 4px; }
.card.tool { margin-top:10px; } .card.tool .btn.big { width:100%; margin-top:4px; }
.item .ic { flex:none; font-size:20px; }
.has { list-style:none; padding:0; margin:0 0 10px; display:grid; gap:8px; }
.has li { display:flex; gap:10px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 12px; font-size:14.5px; }

/* v1.4 look (owner's mock, 23 Oct 2026): navy + blue, photo hero, colour tiles, bottom tabs on every screen */
.me { flex:none; width:40px; height:40px; border-radius:50%; border:1.5px solid var(--line); background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:center; }
main.home { padding-top:0; }
.hero2 { position:relative; min-height:250px; margin:0 -12px; padding:18px 12px 0; overflow:hidden; background:linear-gradient(180deg,#eef4fd 0%,var(--bg) 100%); }
.hero2 .ph { position:absolute; right:-4px; top:6px; width:min(47%,250px); height:auto; -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%); mask-image:linear-gradient(90deg,transparent 0,#000 22%); }
.hero2 .tx { position:relative; width:57%; max-width:320px; }
.hero2 .tag { font-size:13px; color:var(--grey); margin:0 0 10px; }
.hero2 h1 { font-size:clamp(27px,8vw,36px); line-height:1.08; font-weight:900; letter-spacing:-1px; color:var(--ink); margin:0 0 12px; }
.hero2 h1 em { font-style:normal; color:var(--brand); display:inline-block; border-bottom:4px solid var(--brand2); border-radius:2px; line-height:1; padding-bottom:2px; }
.hero2 .sub { font-size:14.5px; color:#475569; margin:0 0 14px; }
.btn.big.navy { justify-content:center; font-size:19px; font-weight:800; min-height:58px; border-radius:14px; margin-top:4px; box-shadow:0 6px 16px rgba(19,41,75,.22); }
.btn.big.navy span { flex:none; }
.cta-note { text-align:center; font-size:13px; color:var(--grey); margin:8px 0 14px; }
.tiles { display:flex; gap:8px; overflow-x:auto; margin:0 -12px 18px; padding:2px 12px 6px; scrollbar-width:none; }
.tiles::-webkit-scrollbar { display:none; }
.tile { flex:none; width:104px; display:flex; flex-direction:column; align-items:center; gap:8px; padding:14px 6px; border-radius:14px; text-align:center; font-size:13px; line-height:1.25; color:var(--ink); text-decoration:none; border:1px solid transparent; }
.tile svg, .flow svg, .need svg { width:30px; height:30px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.tile.t1 { background:#eaf1fe; } .tile.t1 svg { color:#2563eb; }
.tile.t2 { background:#e8f7ee; } .tile.t2 svg { color:#16a34a; }
.tile.t3 { background:#fef6e4; } .tile.t3 svg { color:#d97706; }
.tile.t4 { background:#fdecef; } .tile.t4 svg { color:#e11d48; }
.tile.t5 { background:#f1ecfd; } .tile.t5 svg { color:#7c3aed; }
.sechead { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:8px; } .sechead h2 { flex:1 1 auto; margin:0; font-size:20px; }
h2.big { font-size:20px; margin:18px 0 10px; }
.sample { display:flex; gap:12px; align-items:stretch; background:#fff; border:1px solid var(--line); border-radius:14px; padding:10px; margin-bottom:10px; text-decoration:none; color:var(--ink); box-shadow:0 2px 8px rgba(15,23,42,.05); }
.sample img, .sample .noimg { flex:none; width:104px; height:84px; object-fit:cover; border-radius:10px; background:#eaf1fe; display:flex; align-items:center; justify-content:center; font-size:30px; }
.sample .sx { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.sample b { font-size:15.5px; line-height:1.25; overflow-wrap:anywhere; } .sample .u { font-size:13px; color:var(--grey); overflow-wrap:anywhere; }
.sample .chips { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; } .sample .chips span { font-size:12px; background:#f1f5f9; border-radius:8px; padding:3px 7px; }
.flow { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.flow li { display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; font-size:12.5px; line-height:1.25; min-width:0; }
.flow .n { width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; }
.flow .n1 { background:#dbe7fd; color:#1d4ed8; } .flow .n2 { background:#d9f2e2; color:#15803d; } .flow .n3 { background:#fdf0cf; color:#b45309; } .flow .n4 { background:#fde0e6; color:#be123c; }
.flow .c1 { color:#2563eb; } .flow .c2 { color:#16a34a; } .flow .c3 { color:#d97706; } .flow .c4 { color:#e11d48; }
.flow strong { font-size:13.5px; overflow-wrap:anywhere; } .flow span { color:var(--grey); font-size:12px; overflow-wrap:anywhere; }
.need { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:12px; }
@media (min-width:560px) { .need { grid-template-columns:repeat(4,1fr); } }
.need div { background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px 8px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:3px; }
.need i { width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:4px; }
.need i svg { width:24px; height:24px; }
.need i.g { background:#e3f6ec; color:#16a34a; } .need i.b { background:#e3eefe; color:#2563eb; } .need i.r { background:#fde7ea; color:#e11d48; } .need i.p { background:#efe9fd; color:#7c3aed; }
.need b { font-size:14.5px; } .need span { font-size:12.5px; color:var(--grey); }
.center { text-align:center; }
/* bottom tabs */
.btabs { position:fixed; left:0; right:0; bottom:0; z-index:30; display:flex; background:#fff; border-top:1px solid var(--line); padding:6px 4px calc(6px + env(safe-area-inset-bottom)); }
.btabs a { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; font-size:12px; color:#64748b; text-decoration:none; padding:4px 0; border-radius:10px; }
.btabs a svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.btabs a.on { color:var(--brand); } .btabs a.on svg { fill:#dbe7fd; }
@media print { .btabs { display:none; } }

/* v1.6 (owner's mock again, 23 Oct 2026): the full home page from the design, scrolls; the first screen shows the hero,
   Create My Plan and the five tiles. Progress tab replaces Sample. */
main.home { padding-bottom:96px; }
.home-top { border-bottom:0; background:#f7faff; padding:10px 14px; }
.home-top .brand b { font-size:24px; font-weight:900; letter-spacing:-.6px; line-height:1.05; }
.home-top .brand b .by { font-size:11px; font-weight:700; color:var(--grey); letter-spacing:.2px; }
.home-top .brand .nm > small { font-size:13px; color:#475569; }
.hero2 { min-height:0; padding:14px 14px 0; margin:0 -12px; background:linear-gradient(180deg,#f7faff 0%,#eef4fd 55%,var(--bg) 100%); }
.hero2 .ph { width:min(46%,260px); top:34px; right:-6px; }
.hero2 .tx { width:62%; max-width:340px; position:relative; z-index:2; }
.hero2 h1 { font-size:clamp(30px,9.4vw,44px); line-height:1.08; font-weight:900; letter-spacing:-1.2px; margin:6px 0 14px; }
.hero2 h1 em { border-bottom:0; background:linear-gradient(transparent 86%,#60a5fa 86%); padding-bottom:0; }
.hero2 .sub { font-size:clamp(14px,4vw,16.5px); line-height:1.45; color:#475569; margin:0 0 16px; }
.btn.big.navy { min-height:56px; font-size:19px; margin-top:6px; position:relative; z-index:2; }
.cta-note { font-size:13px; margin:10px 0 16px; }
.tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; overflow:visible; margin:0 0 6px; padding:0; }
.tile { width:auto; min-width:0; padding:12px 3px 10px; gap:8px; font-size:12px; line-height:1.25; border-radius:14px; overflow-wrap:anywhere; hyphens:auto; }
.tile svg { width:28px; height:28px; }
.sechead { margin:22px 0 10px; } .sechead h2 { font-size:21px; font-weight:800; }
h2.big { font-size:21px; font-weight:800; margin:24px 0 12px; }
.sample { padding:10px; gap:12px; }
.sample img, .sample .noimg { width:110px; height:88px; }
.sample b { font-size:16px; } .sample .u { font-size:13.5px; }
.sample .chips { gap:6px; margin-top:8px; }
.sample .chips span { display:inline-flex; align-items:center; gap:4px; font-size:12px; padding:4px 8px; border-radius:8px; background:#f1f5f9; }
.sample .chips svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.flow { gap:4px; }
.flow li { position:relative; gap:6px; }
.flow li + li::before { content:"→"; position:absolute; left:-9px; top:3px; color:#94a3b8; font-size:15px; }
.flow .n { font-weight:800; }
.flow svg { width:28px; height:28px; }
.flow strong { font-size:13px; line-height:1.25; } .flow span { font-size:11.5px; }
.need { grid-template-columns:repeat(4,1fr); gap:6px; }
.need div { padding:12px 4px; min-width:0; }
.need i { width:44px; height:44px; }
.need b { font-size:13px; line-height:1.25; overflow-wrap:anywhere; } .need span { font-size:11.5px; line-height:1.3; overflow-wrap:anywhere; }
@media (max-width:380px) { .need { grid-template-columns:repeat(2,1fr); } .flow strong { font-size:12.5px; } .tiles { gap:4px; } .tile { font-size:11px; letter-spacing:-.2px; padding:10px 1px 8px; overflow-wrap:normal; hyphens:manual; }
  .home-top .brand .nm > small { font-size:11.5px; } .home-top { gap:8px; } }

/* v1.6 Progress tab: tick weeks done and readiness items, see the score */
.score { display:flex; align-items:center; gap:14px; }
.ring { flex:none; width:84px; height:84px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:conic-gradient(var(--brand) calc(var(--p)*1%), #e2e8f0 0); }
.ring b { width:66px; height:66px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; }
.bar { height:8px; border-radius:4px; background:#e2e8f0; overflow:hidden; margin:4px 0 10px; } .bar i { display:block; height:100%; background:var(--brand); border-radius:4px; }
.tick { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:10px 12px; margin-bottom:8px; background:#fff; border:1.5px solid var(--line);
  border-radius:12px; font:inherit; font-size:14px; color:inherit; cursor:pointer; }
.tick .bx { flex:none; width:26px; height:26px; border-radius:8px; border:2px solid #94a3b8; display:flex; align-items:center; justify-content:center; font-weight:900; color:#fff; }
.tick.on { border-color:#9fd8b8; background:#f3fbf6; } .tick.on .bx { background:var(--ok); border-color:var(--ok); }
.tick .grow { flex:1; min-width:0; overflow-wrap:anywhere; } .tick small { display:block; color:var(--grey); font-size:12px; }
.tick.lock { cursor:default; border-style:dashed; color:var(--grey); }
/* "Continue with Google": Google's official white button (server rule 25 Oct 2026) */
.zk-google{display:flex;width:100%;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:8px 18px;box-sizing:border-box;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:23px;font:500 15px/1.25 Roboto,Arial,sans-serif;text-decoration:none;cursor:pointer;white-space:normal;text-align:center}
.zk-google:hover{background:#f8faff}.zk-google:focus-visible{outline:2px solid #0b57d0;outline-offset:2px}
