/* Ingle — dark and warm, like a room at night with the light on. Phone first. See docs/DESIGN.md. */

@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --night: #14100D; --panel: #1A1511; --card: #1E1814; --room: #2A221C; --chip: #221B16;
  --line: #3A3029; --line2: #2E2620; --inputline: #4A3E35;
  --linen: #F4EDE4; --soft: #D8CBBD; --soft2: #B3A597; --quiet: #A09284; --chiptext: #E2D6C9;
  --orange: #FF8A3D; --orange-light: #FFB27A; --on-orange: #1A0F08; --ok: #7FC98F; --dot: #6B5E52;
  --head: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --chat: 16px;
  color-scheme: dark;
}
@media (min-width: 900px) { :root { --chat: 17px; } }
/* Light mode (Alan, 17 Nov 2026; Settings → Appearance; dark stays the default). Warm paper, same orange. */
:root[data-theme="light"] {
  --night: #FAF6F1; --panel: #F3ECE4; --card: #FFFFFF; --room: #EDE3D8; --chip: #F1E9E0;
  --line: #DCCEC0; --line2: #E8DED3; --inputline: #CBBCAD;
  --linen: #2A1F17; --soft: #4E4036; --soft2: #6A5B4F; --quiet: #7D6E62; --chiptext: #3A2D24;
  --orange: #F07A2E; --orange-light: #FF8A3D; --on-orange: #1A0F08; --ok: #2F8A4C; --dot: #B3A597;
  color-scheme: light;
}
:root[data-theme="light"] .tile.hot, :root[data-theme="light"] .hist .tile.hot { background: #FBE2D0; }
:root[data-theme="light"] .photos img { background: #E8DED3; }

* { box-sizing: border-box; }
html, body, #root { margin: 0; height: 100%; }
body { background: var(--night); color: var(--linen); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-light); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { margin: 0; }
svg { flex-shrink: 0; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--linen); font-weight: 500; font-size: 15px; white-space: nowrap; }
.btn:hover { border-color: var(--quiet); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: var(--on-orange); font-weight: 600; }
.btn.primary:hover { background: var(--orange-light); border-color: var(--orange-light); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.danger { color: var(--orange-light); }
.btn[disabled] { opacity: .5; cursor: default; }
.iconbtn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; color: var(--chiptext); display: inline-flex; align-items: center; justify-content: center; }
.iconbtn:hover { background: var(--room); }
.iconbtn.orange { background: var(--orange); color: var(--on-orange); }
.iconbtn.orange:hover { background: var(--orange-light); }
.iconbtn .ico { width: 22px; height: 22px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; color: var(--soft); font-weight: 500; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--linen); font-size: 16px; outline: none; }
textarea.input { min-height: 80px; resize: vertical; }
.input:focus { border-color: var(--orange); }
.input::placeholder { color: var(--quiet); }
.err { color: var(--orange-light); font-size: 14px; min-height: 1em; }
.hint { font-size: 13px; color: var(--quiet); }

/* ---------- sign in ---------- */
.auth { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.auth-top { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.wordmark { font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; }
.auth-top .wordmark { font-size: 40px; line-height: 1; }
.auth-top p { margin: 0; color: var(--soft2); font-size: 17px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--soft); font-weight: 500; }
.tabs button[aria-selected="true"] { background: var(--room); color: var(--linen); }
.auth form { display: flex; flex-direction: column; gap: 14px; }
.auth .btn.primary { width: 100%; min-height: 48px; font-size: 16px; }
.small-print { text-align: center; font-size: 13px; color: var(--quiet); }

/* ---------- app shell ---------- */
.app { height: 100%; display: flex; }
.side { display: none; }
.main { flex: 1 1 auto; min-width: 0; height: 100%; display: flex; flex-direction: column; }
.view { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.bottombar { display: flex; align-items: center; justify-content: space-around; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line2); background: var(--panel); flex-shrink: 0; }
.bottombar a { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; min-height: 48px; justify-content: center; color: var(--soft); font-size: 12px; }
.bottombar a[aria-current="page"] { color: var(--orange); font-weight: 600; }
.bottombar .cam { width: 56px; height: 56px; min-width: 56px; border-radius: 28px; background: var(--orange); color: var(--on-orange); }
.bottombar .cam .ico { width: 26px; height: 26px; stroke-width: 2; }
.bottombar .ico { width: 22px; height: 22px; }

@media (min-width: 900px) {
  .side { display: flex; flex-direction: column; gap: 20px; width: 272px; flex-shrink: 0; padding: 20px 16px; background: var(--panel); border-right: 1px solid var(--line2); overflow-y: auto; }
  .bottombar { display: none; }
  .phone-only { display: none !important; }
}
@media (max-width: 899px) { .desk-only { display: none !important; } }

.side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; color: var(--linen); }
.side .brand .wordmark { font-size: 30px; line-height: 1; }
.side .newchat { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; background: var(--orange); color: var(--on-orange); font-weight: 600; font-size: 15px; }
.side .newchat:hover { background: var(--orange-light); color: var(--on-orange); }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--soft); font-size: 15px; }
.side nav a:hover { background: var(--chip); color: var(--linen); }
.side nav a[aria-current="page"] { background: var(--room); color: var(--linen); font-weight: 500; }
.badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange); color: var(--on-orange); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.side > * { flex-shrink: 0; }
.side > .recent { flex: 1 1 auto; overflow-y: auto; }
.recent { display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.recent-head { display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px; background: none; border: 0; color: var(--quiet); font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.recent-head:hover { color: var(--linen); }
.recent-head svg { width: 14px; height: 14px; transition: transform .15s; transform: rotate(90deg); }
.recent.folded .recent-head svg { transform: none; }
.recent a { padding: 8px 12px; border-radius: 8px; color: var(--soft); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent a:hover, .recent a[aria-current="page"] { background: var(--chip); color: var(--linen); }
.sidefoot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.sidefoot .tokens.slim { padding: 0 12px; }
.homecard { align-self: flex-start; display: flex; border-radius: 50%; margin-left: 8px; color: var(--linen); }
.homecard:hover .avatar { background: var(--room); }
.avatar { position: relative; width: 36px; height: 36px; border-radius: 18px; background: var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.homecard b { display: block; font-size: 14px; font-weight: 500; }
.homecard small { font-size: 13px; color: var(--quiet); }

/* ---------- chat ---------- */
.chat { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.chathead { display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--line2); flex-shrink: 0; }
.chathead .t { display: flex; flex-direction: column; line-height: 1.25; }
.chathead .t b { font-family: var(--head); font-weight: 700; font-size: 18px; }
.chathead .t small { font-size: 13px; color: var(--quiet); }
.chathead .grow { flex: 1; }
.scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.thread { width: 100%; max-width: 780px; margin: 0 auto; padding: 20px 16px 16px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .thread { padding: 40px 24px 24px; gap: 28px; } }

.msg-user { align-self: flex-end; max-width: min(520px, 86%); display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.bubble { padding: 10px 16px; border-radius: 20px 20px 6px 20px; background: var(--room); font-size: var(--chat); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.photos { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.photos img { width: 160px; height: 120px; object-fit: cover; border-radius: 18px 18px 6px 18px; background: #3B3530; display: block; }
.photos img:only-child { width: 220px; height: 150px; }

.msg-bot { display: flex; gap: 12px; align-items: flex-start; }
@media (min-width: 900px) { .msg-bot { gap: 14px; } }
.msg-bot > .bot { width: 32px; height: 32px; }
@media (min-width: 900px) { .msg-bot > .bot { width: 40px; height: 40px; } }
.msg-bot .body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.msg-bot .text { margin: 0; font-size: var(--chat); line-height: 1.55; overflow-wrap: anywhere; }
.msg-bot .text p { margin: 0 0 .6em; } .msg-bot .text p:last-child { margin: 0; }
.msg-bot .text strong { font-weight: 600; }
.msg-bot.tip .text { color: var(--soft); }
.status { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--quiet); }
.status .ico { width: 16px; height: 16px; }
.source { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--quiet); line-height: 1.4; }
.source .ico { width: 14px; height: 14px; stroke-width: 2; margin-top: 2px; }
.source a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.source a:hover { color: var(--linen); }
.dots::after { content: '…'; }

/* cards */
.card { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.card-head { padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.card-head b { font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.3; }
.card-head span { font-size: 14px; color: var(--soft2); }
.row { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line2); font-size: 15px; min-height: 44px; }
.row .ico { width: 18px; height: 18px; color: var(--orange); }
.row .k { color: var(--soft2); }
.row .v { margin-left: auto; text-align: right; color: var(--linen); overflow-wrap: anywhere; }
.row .v.was { color: var(--quiet); text-decoration: line-through; margin-left: auto; }
.row .unsure { font-size: 12px; color: var(--orange-light); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.card-actions { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line2); }
.card-actions .btn { border-radius: 12px; }
.card-actions .btn.primary { flex: 1 1 auto; }
.card-done { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line2); font-size: 14px; color: var(--soft); }
.card-done .ico { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }
.card-done a { margin-left: auto; }
.card form { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-top: 1px solid var(--line2); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.thingcard { display: flex; gap: 14px; align-items: center; padding: 14px; flex-wrap: wrap; color: var(--linen); }
.thingcard:hover { color: var(--linen); background: var(--chip); }
.tile { width: 56px; height: 56px; border-radius: 12px; background: var(--room); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; color: var(--orange); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.tc { display: flex; flex-direction: column; gap: 2px; flex: 1 1 160px; min-width: 0; }
.tc b { font-size: 16px; font-weight: 600; }
.tc span { font-size: 14px; color: var(--soft2); overflow-wrap: anywhere; }
.listcard .lc-title { padding: 12px 14px 8px; font-size: 14px; color: var(--soft); font-weight: 600; }
.listcard a.li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line2); color: var(--linen); }
.listcard a.li:hover { background: var(--chip); }
.listcard .tile { width: 40px; height: 40px; border-radius: 10px; }
.listcard .tile .ico { width: 20px; height: 20px; }

/* composer */
.composer { flex-shrink: 0; width: 100%; max-width: 780px; margin: 0 auto; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .composer { padding: 0 24px 24px; gap: 12px; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 2px; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chips::-webkit-scrollbar { display: none; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--chiptext); font-weight: 500; font-size: 14px; white-space: nowrap; flex-shrink: 0; }
.chip:hover { border-color: var(--quiet); }
.inputbar { display: flex; align-items: flex-end; gap: 4px; padding: 6px; border-radius: 22px; background: var(--card); border: 1px solid var(--inputline); }
.inputbar:focus-within { border-color: var(--quiet); }
.inputbar textarea { flex: 1 1 auto; min-width: 0; min-height: 44px; max-height: 160px; padding: 11px 6px; border: 0; outline: none; background: transparent; color: var(--linen); font-size: var(--chat); line-height: 1.3; resize: none; }
.inputbar textarea::placeholder { color: var(--quiet); }
.pending { display: flex; gap: 8px; flex-wrap: wrap; }
.pending .ph { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--room); }
.pending .ph img { width: 100%; height: 100%; object-fit: cover; }
.pending .ph.busy::after { content: ''; position: absolute; inset: 0; background: rgba(20,16,13,.55); }
.pending .ph button { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 12px; border: 0; background: rgba(20,16,13,.8); color: var(--linen); display: flex; align-items: center; justify-content: center; padding: 0; }
.pending .ph button .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.footnote { text-align: center; font-size: 13px; color: var(--quiet); }
.listening { color: var(--orange) !important; }

/* ---------- pages (My home, room, thing, settings) ---------- */
.page { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.wrap { width: 100%; max-width: 860px; margin: 0 auto; padding: 20px 16px 28px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .wrap { padding: 40px 32px; gap: 24px; } }
.pagehead { display: flex; align-items: center; gap: 12px; }
.pagehead h1 { font-family: var(--head); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; overflow-wrap: anywhere; }
.pagehead .t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pagehead small { font-size: 14px; color: var(--quiet); }
.back { margin-left: -10px; }
.search { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.search:focus-within { border-color: var(--quiet); }
.search .ico { width: 18px; height: 18px; color: var(--quiet); stroke-width: 2; }
.search input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; color: var(--linen); font-size: 16px; }
.search input::placeholder { color: var(--quiet); }
section h2 { font-size: 15px; font-weight: 600; color: var(--soft); margin-bottom: 10px; }
.box { display: flex; flex-direction: column; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.due { display: flex; gap: 12px; align-items: center; padding: 12px 14px; min-height: 60px; }
.due + .due { border-top: 1px solid var(--line2); }
.due .dot { width: 10px; height: 10px; border-radius: 5px; background: var(--dot); flex-shrink: 0; }
.due .dot.hot { background: var(--orange); }
.due .dt { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.due .dt b { font-size: 15px; font-weight: 500; }
.due .dt span { font-size: 13px; color: var(--quiet); }
.due .dt span.hot { color: var(--orange-light); }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.roomtile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--linen); min-height: 72px; }
.roomtile:hover { color: var(--linen); border-color: var(--quiet); }
.roomtile b { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.roomtile span { font-size: 13px; color: var(--quiet); }
.roomtile.add { border-style: dashed; background: transparent; color: var(--soft); justify-content: center; font-weight: 500; text-align: left; }
.empty { padding: 20px; border-radius: 16px; border: 1px dashed var(--line); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--soft); }
.empty p { margin: 0; }
.things a.li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; color: var(--linen); min-height: 64px; }
.things a.li + a.li { border-top: 1px solid var(--line2); }
.things a.li:hover { background: var(--chip); }
.things .tile { width: 44px; height: 44px; border-radius: 10px; }
.things .tile .ico { width: 22px; height: 22px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hero { width: 100%; max-height: 320px; object-fit: cover; border-radius: 20px; background: var(--card); display: block; }
.gallery { display: flex; gap: 8px; overflow-x: auto; }
.gallery img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.facts .row:first-child { border-top: 0; }
.facts .row { align-items: flex-start; }
/* a long fact name wraps instead of squeezing its value (22 Nov 2026, Alan's phone); a long one goes on its own line */
.facts .row .k, .card .row .k { flex: 0 1 auto; max-width: 55%; overflow-wrap: anywhere; }
.facts .row .v, .card .row .v { flex: 1 1 40%; min-width: 0; }
.row.long { flex-wrap: wrap; row-gap: 2px; }
.row.long .k { max-width: none; flex: 1 1 calc(100% - 30px); }
.row.long .v { flex-basis: 100%; text-align: left; padding-left: 30px; }
.meta { font-size: 13px; color: var(--quiet); }
.form { display: flex; flex-direction: column; gap: 14px; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline .input { flex: 1; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--room); border: 1px solid var(--line); color: var(--linen); font-size: 15px; z-index: 50; }
@media (min-width: 900px) { .toast { bottom: 32px; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.card > form:first-child { border-top: 0; }
@media (max-width: 899px) { .inputbar .cam-btn { background: var(--orange); color: var(--on-orange); } }

/* documents, suggestions, history */
.docrow { display: flex; align-items: center; }
.docrow + .docrow, .docrow + .suggest, .suggest + .docrow { border-top: 1px solid var(--line2); }
.docrow a.li { flex: 1 1 auto; min-width: 0; }
.docs a.li + a.li { border-top: 0; }
.tc .sum { font-size: 14px; color: var(--soft); line-height: 1.4; }
.suggest { padding: 12px 14px 14px; background: var(--chip); display: flex; flex-direction: column; gap: 10px; }
.sg-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sugg { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; min-height: 32px; cursor: pointer; }
.sugg input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.sugg small { color: var(--quiet); }
.hist { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; }
.hist + .hist, .hist + form, form + .hist { border-top: 1px solid var(--line2); }
.hist .tile { width: 40px; height: 40px; border-radius: 10px; }
.hist .tile .ico { width: 20px; height: 20px; }
.hist .tile.hot { background: #3a2417; }
.hist-act { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.small-link { font-size: 14px; }
.docline .bot { width: 18px; height: 18px; }
section > .status { margin-top: 10px; }
.status .bot { width: 18px; height: 18px; }

/* recent chats: ⋯ menu */
.chatrow { position: relative; display: flex; align-items: center; border-radius: 8px; }
.chatrow a { flex: 1 1 auto; min-width: 0; }
.chatrow .more { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--soft); display: flex; align-items: center; justify-content: center; opacity: 0; flex-shrink: 0; }
.chatrow:hover .more, .chatrow.current .more, .chatrow .more:focus-visible, .chatrow .more[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .chatrow .more { opacity: 1; } }
.chatrow .more:hover { background: var(--room); color: var(--linen); }
.chatrow:hover, .chatrow.current { background: var(--chip); }
.chatrow:hover a, .chatrow.current a { background: transparent; }
.menu { position: absolute; right: 4px; top: 36px; z-index: 20; min-width: 160px; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--orange-light); font-size: 14px; text-align: left; }
.menu button:hover { background: var(--room); }
.menu .ico { width: 16px; height: 16px; }
.addspace { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.addchoices { flex-wrap: nowrap; gap: 6px; }
.addchoices .chip, .addchoices .btn { padding: 0 12px; min-height: 38px; flex: 0 0 auto; }
@media (max-width: 480px) { .addchoices { gap: 5px; } .addchoices .chip, .addchoices .btn { padding: 0 8px; font-size: 13px; flex: 1 1 auto; } }
.btn.outline { border-color: var(--orange); color: var(--orange); }
.btn.outline:hover { border-color: var(--orange-light); color: var(--orange-light); }
.chip.on { background: var(--room); border-color: var(--orange); color: var(--linen); }

/* document cards (chat) */
.doccard { display: flex; gap: 12px; align-items: center; padding: 12px 14px; flex-wrap: wrap; }
.doccard .tc { flex: 1 1 180px; }
.docs-found { display: flex; flex-direction: column; gap: 10px; }
.docs-found:empty { display: none; }
.card .docs-found { gap: 0; }
.card .docs-found .doccard { border: 0; border-top: 1px solid var(--line2); border-radius: 0; background: transparent; }
.card-done.offer .btn { margin-left: auto; }

/* ---------- V0.2 ---------- */
/* Due soon */
.sechead { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.sechead h2 { margin: 0; }
.sechead a { margin-left: auto; font-size: 14px; }
section > h2.hot { color: var(--orange-light); }
.due .dt b a { color: var(--linen); }
.due .dt b a:hover { color: var(--orange-light); }
.due-act { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.snoozewrap { position: relative; }
.snoozemenu { top: 40px; right: 0; }
.snoozemenu button { color: var(--linen); }
@media (max-width: 520px) {
  .due { flex-wrap: wrap; }
  .due .dt { flex-basis: calc(100% - 30px); }
  .due-act { width: 100%; padding-left: 22px; }
}
.bellbtn { position: relative; }
.avatar .dotcount { top: -4px; right: -6px; }
.dotcount { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: var(--on-orange); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* past chats on phones */
.chatlist .chatrow { border-radius: 0; }
.chatlist .chatrow + .chatrow { border-top: 1px solid var(--line2); }
.chatlist .chatrow a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-height: 60px; justify-content: center; color: var(--linen); overflow: hidden; }
.chatlist .chatrow a b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatlist .chatrow a small { font-size: 13px; color: var(--quiet); }
.chatlist .chatrow .more { width: 44px; height: 44px; margin-right: 6px; opacity: 1; }
.chatlist .menu { top: 48px; right: 8px; }

/* chat: forwarded email, "About: …", the forward address */
.bubble.fwd { display: flex; gap: 10px; align-items: center; background: var(--chip); border: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.bubble.fwd .ico { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.aboutchip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--room); border: 1px solid var(--line); font-size: 14px; color: var(--chiptext); max-width: 100%; }
.aboutchip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aboutchip .ico { width: 16px; height: 16px; color: var(--orange); }
.aboutchip button { width: 30px; height: 30px; border: 0; border-radius: 15px; background: transparent; color: var(--soft); display: flex; align-items: center; justify-content: center; }
.aboutchip button .ico { color: var(--soft); }
.addr { font-weight: 500; color: var(--chiptext); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; }

/* settings: switch */
.switch { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; cursor: pointer; }
.switch input { width: 22px; height: 22px; accent-color: var(--orange); grid-row: span 2; }
.switch span { font-weight: 500; }
.switch small { color: var(--quiet); font-size: 13px; grid-column: 2; }

/* offline + install */
.offline { position: fixed; top: env(safe-area-inset-top); left: 0; right: 0; z-index: 60; padding: 8px 16px; text-align: center; background: var(--room); border-bottom: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.installbar { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.installbar .t { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.installbar b { font-size: 15px; font-weight: 600; }
.installbar small { font-size: 13px; color: var(--quiet); }

.box.chatlist, .box:has(.snoozewrap) { overflow: visible; }
.moveform { display: flex; flex-direction: column; gap: 12px; padding: 14px; }

/* ---------- Help & messages (16 Nov 2026) ---------- */
.helplist .li.static { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; min-height: 64px; }
.helplist .li + .li { border-top: 1px solid var(--line2); }
.helplist .tc span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.helplist .li.static .tc span { display: block; -webkit-line-clamp: unset; }
.tside { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.tside small { font-size: 13px; color: var(--quiet); }
.tside .badge { margin-left: 0; }
.pill { font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--room); color: var(--soft); white-space: nowrap; }
.pill.warn { color: var(--orange-light); }
.pill.ok { color: var(--ok); }
.pill.quiet { color: var(--quiet); }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--soft); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); flex-shrink: 0; }
.card-form { display: flex; flex-direction: column; gap: 10px; padding: 0 14px 12px; }
.notice { border-color: var(--orange); }
.notice .card-head span { color: var(--orange); font-size: 13px; font-weight: 600; }
.notice-body { padding: 0 14px 12px; color: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-thread { display: flex; flex-direction: column; gap: 14px; }
.msg-team { align-self: flex-start; max-width: min(560px, 90%); display: flex; flex-direction: column; gap: 6px; }
.msg-team .bubble { background: var(--card); border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; }
.msg-team .who { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--soft2); font-weight: 600; }
.ticket-thread .when { font-size: 13px; color: var(--quiet); }
.tickethead h1 { font-size: 21px; }

/* ---------- sign-in: Google, passkeys, the second step (16 Nov 2026) ---------- */
.or { display: flex; align-items: center; gap: 12px; color: var(--quiet); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-alt { display: flex; flex-direction: column; gap: 10px; }
.auth-alt .btn { width: 100%; min-height: 48px; font-size: 16px; }
.btn.google { background: #fff; color: #1f1f1f; border-color: #fff; text-decoration: none; }
.btn.google[hidden] { display: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--orange); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; align-self: center; }
.input.code { font-size: 24px; letter-spacing: 8px; text-align: center; }
.notice .notice-body:first-child { padding-top: 12px; }
/* Help page: common questions (the help guide) */
.faq details { border-top: 1px solid var(--line2); }
.faq details:first-child { border-top: 0; }
.faq summary { padding: 13px 14px; cursor: pointer; font-weight: 500; list-style: none; display: flex; gap: 10px; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; color: var(--orange); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq .ans { padding: 0 14px 14px; color: var(--soft); }
.faq .ans p { margin: 0 0 8px; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--orange); font-size: 14px; align-self: flex-start; min-height: 32px; }

/* sign-in: the forgotten-password link under the password field */
.linkbtn.forgot { align-self: flex-start; margin-top: -6px; }

/* V0.3: Ingle tokens bar, switching home, household lists, the receipt address suggestion */
.tokens { display: flex; flex-direction: column; gap: 6px; }
.tokens-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--soft); }
.tokens-top b { color: var(--linen); font-weight: 600; }
.tokens-track { height: 8px; border-radius: 4px; background: var(--room); overflow: hidden; }
.tokens-fill { height: 100%; background: var(--orange); border-radius: 4px; transition: width .3s; }
.tokens-fill.high { background: var(--orange-light); }
.tokens-fill.full { background: #E0664A; }
.tokens small { font-size: 13px; color: var(--quiet); }
.tokens.slim { padding: 12px 14px 4px; gap: 4px; }
.tokens.slim .tokens-top { font-size: 13px; }
.tokens.slim .tokens-track { height: 6px; }
.switchhome { display: flex; flex-direction: column; gap: 4px; padding: 8px 14px 0; font-size: 13px; color: var(--quiet); }
.switchhome .input { min-height: 40px; padding: 6px 10px; font-size: 14px; }
.things div.li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; min-height: 64px; }
.things div.li + div.li { border-top: 1px solid var(--line2); }
.box.things .li .btn.small { flex-shrink: 0; }
section > .card.notice { margin-bottom: 12px; }
.suggest { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: var(--room); }
/* only the suggested receipt address is monospace (22 Nov 2026: it was catching the document/plan headings too) */
.suggest b.addr-word { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; }
.auth-card input[readonly] { opacity: .8; }
.check input[type=radio] { width: 18px; height: 18px; accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
@media (max-width: 520px) { .box.things .li { flex-wrap: wrap; } }

/* ---------- V0.4 Home Plus: the Plus moment, Compare plans, the Fix-it list, Projects (public/js/plus.js) ---------- */
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; border: 1px solid var(--orange); color: var(--orange-light); font-size: 13px; font-weight: 600; white-space: nowrap; }
.plusmoment .pm-top { display: flex; gap: 14px; align-items: center; padding: 16px 14px 12px; }
.plusmoment .pm-top div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plusmoment .pm-top b { font-family: var(--head); font-size: 18px; font-weight: 600; }
.plusmoment .pm-top span { color: var(--soft); font-size: 15px; }
.plusmoment.small .pm-top b { font-size: 16px; }
.plusmoment .card-actions { flex-wrap: wrap; }
.plancards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .plancards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plancard { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.plancard.plus { border-color: var(--orange); }
.plancard.current { background: var(--room); }
.plancard .pc-head { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.plancard .pc-head b { font-family: var(--head); font-size: 20px; font-weight: 700; }
.plancard .pc-price { color: var(--soft); font-size: 15px; }
.plancard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plancard li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plancard li .ico { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; stroke-width: 2.4; }
.plancard li.no { color: var(--quiet); }
.plancard li.no .ico { color: var(--dot); }
.plancard .btn { margin-top: auto; }
/* how bad: Fix it soon (orange) · Needs doing (light) · Niggle (quiet) */
.sev { width: 12px; height: 12px; border-radius: 6px; flex-shrink: 0; background: var(--orange-light); }
.sev.soon { background: var(--orange); box-shadow: 0 0 0 3px rgba(255, 138, 61, .25); }
.sev.niggle { background: var(--dot); }
.row .sev { margin: 0 3px; }
.things a.li.fixrow .tc, .prodrow .tc { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.things a.li.fixrow .tc b { font-weight: 500; }
.things a.li.fixrow .tc span, .prodrow .tc span { font-size: 13px; color: var(--quiet); }
.things a.li.fixrow.done b { color: var(--soft2); text-decoration: line-through; text-decoration-color: var(--dot); }
.mini { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--room); flex-shrink: 0; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs:empty { display: none; }
.thumbs.big .thumb img { width: 104px; height: 104px; }
.thumb img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; display: block; background: var(--room); }
.filters { display: flex; gap: 8px; margin-left: auto; }
.filters .input { min-height: 36px; padding: 0 10px; font-size: 14px; }
details.fixed > summary, details.calc > summary { cursor: pointer; min-height: 36px; color: var(--soft); font-weight: 500; }
details.fixed .box { margin-top: 8px; }
.tile.hot { background: #3a2417; }
.side .count { margin-left: auto; font-size: 13px; color: var(--quiet); }
/* My home tiles */
.plustile .pt-top { display: flex; align-items: center; justify-content: space-between; color: var(--orange); }
.roomtile.locked { border-style: dashed; }
.roomtile.locked b { color: var(--soft); }
/* Projects */
.projcards { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .projcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.projcard { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--linen); }
.projcard:hover { color: var(--linen); border-color: var(--quiet); }
.projcard img, .projcard .pc-blank { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--room); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.projcard .tc { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.projcard .tc b { font-weight: 600; overflow-wrap: anywhere; }
.projcard .tc span { font-size: 13px; color: var(--quiet); }
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.boardtile { position: relative; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.boardtile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--room); }
.boardtile .bt-link { aspect-ratio: 1 / 1; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; padding: 10px; text-align: center; color: var(--soft); overflow-wrap: anywhere; }
.boardtile .bt-cap { font-size: 13px; color: var(--soft); padding: 6px 10px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boardtile .bt-x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; background: rgba(20, 16, 13, .75); }
.ideas .swatches { display: flex; gap: 12px; flex-wrap: wrap; padding: 4px 14px 12px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; text-align: center; }
.swatch .chip-col { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--room); }
.swatch small { font-size: 13px; color: var(--soft); line-height: 1.3; }
.ideas .tips { margin: 0; padding: 0 14px 14px 32px; color: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.budget { padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.prodrow { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; }
.prodrow + .prodrow { border-top: 1px solid var(--line2); }
.prodrow.maybe { opacity: .75; }
.prodrow .tc a { color: var(--linen); }
.prodchecks { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.prodchecks .check, .steprow .check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--soft); cursor: pointer; }
.prodchecks input, .steprow input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--orange); flex-shrink: 0; }
.tile.small { width: 44px; height: 44px; border-radius: 10px; }
.tile.small .ico { width: 22px; height: 22px; }
.steprow { display: flex; gap: 10px; align-items: center; padding: 10px 14px; min-height: 52px; flex-wrap: wrap; }
.steprow + .steprow { border-top: 1px solid var(--line2); }
.steprow .check { flex: 1 1 200px; min-width: 0; align-items: flex-start; color: var(--linen); font-size: 15px; }
.steprow .check span { display: flex; flex-direction: column; }
.steprow.done .check > span { color: var(--quiet); text-decoration: line-through; text-decoration-color: var(--dot); }
.steprow .datein { max-width: 160px; min-height: 36px; font-size: 14px; }
.steprow .iconbtn[disabled] { opacity: .3; }
.sg-group { font-size: 13px; font-weight: 600; color: var(--soft2); text-transform: uppercase; letter-spacing: .04em; margin: 6px 0 2px; }
.sg-note { display: block; color: var(--quiet); font-size: 13px; }
.safety { border-color: var(--orange); }
.safety ul { margin: 0; padding: 0 14px 14px 32px; display: flex; flex-direction: column; gap: 6px; color: var(--linen); }
.calcres { padding: 12px 14px; border-radius: 12px; background: var(--chip); color: var(--linen); font-weight: 500; }
.filters .input { width: auto; }
.sharecard .card-actions { flex-wrap: wrap; }

/* project rename (17 Nov 2026) */
form.rename { flex: 1; display: flex; gap: 8px; align-items: center; min-width: 0; }
form.rename .input { flex: 1; min-width: 0; font-size: 18px; }

/* 17 Nov 2026: arrange rooms, thing photos, the photo viewer */
.roomtile[data-id] { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rooms .roomtile.dragging { cursor: grabbing; border-color: var(--orange); background: var(--room); opacity: .9; }
.rowpic { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; margin-left: auto; background: var(--room); }
.thingpic { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.thingpic > p, .thingpic > .picgrid { flex-basis: 100%; }
.picgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.pic { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: var(--soft); cursor: pointer; text-align: left; }
.pic img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.pic small { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pic[aria-pressed="true"] { border-color: var(--orange); color: var(--linen); }
.coverpic { padding: 0; border: 0; background: none; cursor: zoom-in; }
.coverpic img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; display: block; background: var(--room); }
button.thumb { padding: 0; border: 0; background: none; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 7, 5, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; object-fit: contain; }
.card .thingpic { padding: 0 14px 12px; }

body.in-chat .installbar { display: none; }

/* My home's orange + on desktop (17 Nov 2026), top right, like the phone bar's */
.pagehead .addfab { margin-left: auto; width: 56px; height: 56px; border-radius: 28px; border: 0; background: var(--orange); color: var(--on-orange); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(255, 138, 61, .28); flex-shrink: 0; }
.pagehead .addfab:hover { background: var(--orange-light); }
.pagehead .addfab .ico { width: 26px; height: 26px; stroke-width: 2.2; }

/* a PDF in the chat (17 Nov 2026) */
.pdfchip { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; padding: 10px 12px; border-radius: 14px; background: var(--room); color: var(--linen); font-size: 14px; }
.pdfchip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdfchip .ico { color: var(--orange); }
.pending .ph.pdf { width: auto; }
.pending .ph.pdf .pdfchip { height: 64px; }
.msg-user .pdfs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pending .ph.pdf .pdfchip { padding-right: 34px; }

/* chips with an icon (Appearance: moon / sun) */
.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip .ico { width: 16px; height: 16px; }

/* My home: a line and some space between the rooms and the Fix-it list / Projects tiles (Alan, 20 Nov 2026) */
.plustiles { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }

/* Projects → Products: Love it · Maybe · Purchased (20 Nov 2026) */
.prodpicks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.prodpicks .chip { min-height: 32px; padding: 0 12px; font-size: 13px; }
.prodpicks .chip.on { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }

/* V0.5: the first-run welcome (three short screens for a new home) */
.welcome { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.55); }
.welcome-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 22px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.welcome-card h2 { margin: 4px 0 0; font-family: var(--head); font-size: 24px; }
.welcome-card p { margin: 0; color: var(--soft); }
.welcome-card .actions { width: 100%; justify-content: space-between; margin-top: 6px; }
.welcome-dots { display: flex; gap: 6px; }
.welcome-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.welcome-dots span.on { background: var(--orange); }

/* the first thing ingled (21 Nov 2026): confetti over everything, then the card */
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 200; pointer-events: none; }
.celebrate-card h2 { font-size: 30px; }
.celebrate-card .big { color: var(--linen); font-family: var(--head); font-size: 20px; font-weight: 600; margin-top: -6px; }

/* Home Basic's things limit (21 Nov 2026) */
.limitnote { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--soft); }
.limitnote .ico { color: var(--orange); flex-shrink: 0; }
.limitnote span { flex: 1; }
.limitnote .btn { flex-shrink: 0; }
.card .limitrow { color: var(--soft); }
.card .limitrow .ico { color: var(--orange); }

/* Settings: Privacy · Terms (21 Nov 2026) */
.legallinks { text-align: center; margin-top: 8px; }

/* sign-up: agreeing to the Terms and Privacy policy (21 Nov 2026) */
.termsline { margin: 8px 0 0; text-align: center; font-size: 13px; }
