/* HomeKeep homeowner experience. Every rule is scoped to body.owner-mode / .o, so the staff
   screens (staff.css, loaded only for staff) are untouched. */
body.owner-mode { margin: 0; background: #faf6ef; }

.o {
  --paper: #faf6ef; --card: #fff; --ink: #2b2824; --muted: #857b70; --line: #ece4d8;
  --green: #2f5d4a; --green-2: #e3eee6; --clay: #c4623a; --clay-2: #fae6dc;
  --gold: #a87c14; --gold-2: #fbf0d3; --sand: #f2eadc; --blue: #4a6b86; --blue-2: #e3ecf3;
  --shadow: 0 1px 2px rgba(60,40,20,.05), 0 8px 24px rgba(60,40,20,.07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  min-height: 100vh; min-height: 100dvh; line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}
.o *, .o *::before, .o *::after { box-sizing: border-box; }
:where(.o) button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:where(.o) svg { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:where(.o) :is(h1, h2, h3) { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.01em; }

.o-col { max-width: 560px; margin: 0 auto; }
.o-main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); animation: o-in .35s ease both; }
@keyframes o-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.o-hero {
  position: relative; height: 300px; border-radius: 0 0 32px 32px; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #3d7058 0%, #2f5d4a 45%, #b98a3e 130%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 22px 24px;
}
.o-hero-art { position: absolute; right: 18px; top: 74px; width: 150px; height: 150px; opacity: .14; stroke-width: 1; }
.o-hero img.o-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.o-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20,30,25,.32) 0%, rgba(20,30,25,0) 28%, rgba(20,30,25,.5) 52%, rgba(20,30,25,.86) 100%); }
.o-hero .hi, .o-hero h1, .o-hero .addr { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.o-hero > * { position: relative; z-index: 1; }
.o-hero > svg.o-hero-art { position: absolute; z-index: 0; }
.o-hero .hi { font-size: .95rem; opacity: .9; }
.o-hero h1 { font-size: 2.15rem; line-height: 1.1; margin: 2px 0 4px; display: flex; align-items: center; gap: 8px; text-align: left; }
.o-hero h1 svg { width: 1em; height: 1em; opacity: .8; }
.o-hero .addr { font-size: .95rem; opacity: .88; }
.o-glass { background: rgba(20,30,25,.34); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.o-avatar { position: absolute !important; top: calc(14px + env(safe-area-inset-top)); right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; z-index: 2; }
.o-herophoto { position: absolute !important; right: 16px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.o-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: .92rem; font-weight: 600; align-self: flex-start; }
.o-status svg { width: 1.2em; height: 1.2em; }
.o-status.warn { background: rgba(250,230,220,.95); color: #8a3a18; border: 0; }

/* ---------- page header (non-home tabs) ---------- */
.o-head { display: flex; align-items: center; justify-content: space-between; padding: calc(22px + env(safe-area-inset-top)) 20px 8px; }
.o-head h1 { font-size: 2rem; }
.o-head .o-avatar { position: static !important; background: var(--sand); color: var(--green); border: 0; }
.o-sub { padding: 0 20px 6px; color: var(--muted); }

/* ---------- sections ---------- */
.o-sec { padding: 26px 20px 0; }
.o-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.o-sec-head h2 { font-size: 1.3rem; }
.o-link { color: var(--green); font-weight: 600; font-size: .95rem; padding: 6px 0; }
.o-label { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 22px 20px 10px; }
.o-label.attn { color: var(--clay); }

.o-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.o-list { margin: 0 20px; }
.o-sec .o-list { margin: 0; }

/* ---------- to-do rows ---------- */
.o-todo { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-bottom: 1px solid var(--line); background: var(--card); max-height: 120px; transition: max-height .35s ease, opacity .3s ease, padding .35s ease; }
.o-todo:last-child { border-bottom: 0; }
.o-check { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #cdbfae; display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s, color .2s, transform .2s; flex: none; }
.o-check:hover { border-color: var(--green); }
.o-check svg { width: 18px; height: 18px; stroke-width: 3; }
.o-todo.over .o-check { border-color: var(--clay); }
.o-todo.checking .o-check { background: var(--green); border-color: var(--green); color: #fff; animation: o-pop .35s ease; }
.o-todo.checking .o-todo-title { text-decoration: line-through; color: var(--muted); }
.o-todo.leaving { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
@keyframes o-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.o-todo-main { flex: 1; min-width: 0; text-align: left; }
.o-todo-title { font-weight: 600; line-height: 1.25; }
.o-todo-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 5px; }
.o-todo-sub { font-size: .88rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.o-todo-chev { width: 1.1em; height: 1.1em; color: #cbbfae; flex: none; }
.o-todo-sub svg { width: 13px; height: 13px; }
.o-when { font-size: .76rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; background: var(--sand); color: var(--muted); }
.o-when.over { background: var(--clay-2); color: #8a3a18; }
.o-when.soon { background: var(--gold-2); color: #7a5a0a; }

.o-caught { padding: 22px 18px; display: flex; gap: 14px; align-items: center; }
.o-caught .bub { width: 48px; height: 48px; border-radius: 50%; background: var(--green-2); color: var(--green); display: grid; place-items: center; flex: none; }
.o-caught b { display: block; font-family: var(--serif); font-size: 1.1rem; }
.o-caught span { color: var(--muted); font-size: .92rem; }

/* ---------- item tiles ---------- */
.o-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.o-tiles.pad { padding: 0 20px; }
.o-tile { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; text-align: left; display: flex; flex-direction: column; gap: 10px; min-height: 124px; transition: transform .15s ease, box-shadow .15s ease; }
.o-tile:active { transform: scale(.98); }
.o-tile .t-name { font-weight: 700; line-height: 1.2; }
.o-tile .t-sub { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.o-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.o-ico.room { background: var(--sand); color: #8a6a3a; }
.o-ico.appliance { background: var(--green-2); color: var(--green); }
.o-ico.system { background: var(--blue-2); color: var(--blue); }
.o-ico.structure { background: var(--clay-2); color: var(--clay); }
.o-ico.other { background: #eee9e2; color: #7a7168; }
.o-ico.sm { width: 38px; height: 38px; border-radius: 12px; }
.o-ico.lg { width: 56px; height: 56px; border-radius: 18px; }
.o-ico.lg svg { width: 28px; height: 28px; }

/* ---------- history ---------- */
.o-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 20px 0; }
.o-stat { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; }
.o-stat b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.o-stat span { color: var(--muted); font-size: .88rem; }
.o-rec { display: flex; align-items: center; gap: 12px; padding: 13px 16px 13px 14px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; background: var(--card); }
.o-rec:last-child { border-bottom: 0; }
.o-rec .bub { width: 36px; height: 36px; border-radius: 50%; background: var(--green-2); color: var(--green); display: grid; place-items: center; flex: none; }
.o-rec .bub svg { width: 18px; height: 18px; stroke-width: 2.6; }
.o-rec .main { flex: 1; min-width: 0; }
.o-rec .t { font-weight: 600; }
.o-rec .s { font-size: .88rem; color: var(--muted); }
.o-rec .cost { font-weight: 700; color: var(--muted); font-size: .95rem; }

/* ---------- empty ---------- */
.o-empty { text-align: center; padding: 44px 30px; color: var(--muted); }
.o-empty .bub { width: 72px; height: 72px; border-radius: 50%; background: var(--sand); color: #a39887; display: grid; place-items: center; margin: 0 auto 14px; }
.o-empty .bub svg { width: 32px; height: 32px; }
.o-empty h3 { color: var(--ink); font-size: 1.2rem; margin-bottom: 4px; }
.o-empty p { margin: 0 0 16px; }

/* ---------- tab bar + fab ---------- */
.o-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(250,246,239,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.o-tabs .o-col { display: grid; grid-template-columns: repeat(4, 1fr); }
.o-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; color: var(--muted); font-size: .72rem; font-weight: 600; border-radius: 14px; position: relative; }
.o-tab svg { width: 26px; height: 26px; }
.o-tab.on { color: var(--green); }
.o-tab.on::before { content: ""; position: absolute; top: -7px; width: 28px; height: 3px; border-radius: 3px; background: var(--green); }
.o-badge { position: absolute; top: 0; left: calc(50% + 8px); background: var(--clay); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; line-height: 18px; border-radius: 9px; text-align: center; padding: 0 5px; }
.o-fab { position: fixed; right: max(20px, calc(50% - 260px)); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 19; height: 54px; padding: 0 20px 0 16px; border-radius: 27px; background: var(--green); color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 700; box-shadow: 0 8px 22px rgba(47,93,74,.4); }
.o-fab:active { transform: scale(.97); }

/* ---------- buttons + forms ---------- */
.o-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 16px; font-weight: 700; background: var(--sand); color: var(--ink); width: 100%; }
.o-btn.primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(47,93,74,.28); }
.o-btn.danger { background: var(--clay); color: #fff; box-shadow: 0 6px 16px rgba(196,98,58,.28); }
.o-btn.small { min-height: 40px; width: auto; padding: 0 16px; border-radius: 12px; font-size: .92rem; }
.o-btn.text { background: none; color: var(--clay); min-height: 44px; }
.o-btn[disabled] { opacity: .55; }
.o-field { display: block; margin: 0 0 16px; }
.o-field > span { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); margin: 0 0 6px 2px; }
.o-in { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.o-in:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47,93,74,.12); }
textarea.o-in { resize: vertical; min-height: 52px; }
select.o-in { background-image: linear-gradient(45deg, transparent 50%, #857b70 50%), linear-gradient(135deg, #857b70 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.o-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.o-chip { padding: 9px 15px; border-radius: 999px; background: var(--sand); font-weight: 600; font-size: .92rem; border: 1.5px solid transparent; }
.o-chip[aria-pressed=true] { background: var(--green-2); border-color: var(--green); color: var(--green); }
.o-specrow { display: flex; gap: 8px; margin-bottom: 8px; }
.o-specrow .o-in { padding: 11px 12px; }
.o-specrow .x { width: 40px; color: var(--clay); font-size: 1.3rem; }
.o-err { color: #8a3a18; background: var(--clay-2); padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; font-size: .92rem; }

/* ---------- sheet ---------- */
.o-back { position: fixed; inset: 0; z-index: 40; background: rgba(40,30,20,.46); animation: o-fade .22s ease both; display: flex; align-items: flex-end; justify-content: center; }
.o-sheet { width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; background: var(--paper); border-radius: 28px 28px 0 0; display: flex; flex-direction: column; animation: o-up .3s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 -10px 40px rgba(0,0,0,.18); }
.o-sheet-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px 6px 22px; }
.o-sheet-top::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; border-radius: 2px; background: #d9cfc0; transform: translateX(-50%); }
.o-sheet-top h2 { flex: 1; font-size: 1.35rem; padding-top: 8px; min-width: 0; }
.o-x { width: 38px; height: 38px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--muted); margin-top: 6px; }
.o-x svg { width: 18px; height: 18px; }
.o-sheet-body { overflow-y: auto; padding: 8px 22px calc(26px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
@keyframes o-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes o-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.o-sh-sec { margin-top: 22px; }
.o-sh-sec > h3 { font-size: 1.05rem; margin-bottom: 10px; }
.o-hero-line { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.o-hero-line .nm { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.o-hero-line .ty { color: var(--muted); font-size: .9rem; }
.o-dl { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 4px 16px; }
.o-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.o-dl div:last-child { border-bottom: 0; }
.o-dl dt { color: var(--muted); } .o-dl dd { margin: 0; font-weight: 600; text-align: right; }
.o-due-big { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.o-due-big b { font-family: var(--serif); font-size: 1.25rem; }
.o-due-big span { color: var(--muted); font-size: .9rem; }
.o-menu { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; margin-top: 16px; }
.o-menu button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 600; }
.o-menu button:last-child { border-bottom: 0; }
.o-menu button svg { color: var(--green); }
.o-menu .chev { margin-left: auto; color: #bdb2a2; width: 1.1em; height: 1.1em; }
.o-menu .sub { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.o-who { display: flex; align-items: center; gap: 14px; padding: 4px 0 2px; }
.o-who .o-avatar { position: static !important; background: var(--green); color: #fff; width: 54px; height: 54px; font-size: 1.3rem; border: 0; }
.o-who b { font-family: var(--serif); font-size: 1.3rem; display: block; line-height: 1.2; }
.o-who span { color: var(--muted); font-size: .9rem; }

/* photos + notes */
.o-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.o-ph { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand); }
.o-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-ph .x { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.o-ph .x svg { width: 13px; height: 13px; stroke-width: 2.5; }
.o-ph.add { border: 2px dashed #d3c8b6; background: transparent; display: grid; place-items: center; color: var(--muted); font-size: .8rem; font-weight: 600; gap: 2px; align-content: center; justify-items: center; }
.o-note { background: var(--card); border-radius: 14px; padding: 11px 14px; margin-bottom: 8px; box-shadow: var(--shadow); position: relative; }
.o-note p { margin: 0; white-space: pre-wrap; word-break: break-word; padding-right: 22px; }
.o-note small { color: var(--muted); }
.o-note .x { position: absolute; top: 8px; right: 8px; color: #b9ad9c; width: 24px; height: 24px; display: grid; place-items: center; }
.o-note .x svg { width: 14px; height: 14px; }
.o-noteadd { display: flex; gap: 8px; }
.o-noteadd .o-in { flex: 1; }
.o-light { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 16px; animation: o-fade .2s ease; }
.o-light img { max-width: 100%; max-height: 100%; border-radius: 12px; }

/* activity */
.o-act { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.o-act:last-child { border-bottom: 0; }
.o-act .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-top: 7px; flex: none; }
.o-act .dot.worker { background: var(--blue); }
.o-act small { color: var(--muted); display: block; }

/* toast */
.o-toast { display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 70; background: #2b2824; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: o-in .25s ease both; max-width: calc(100% - 40px); text-align: center; }

/* ---------- sign in ---------- */
.o-login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 28px 26px 40px; background: radial-gradient(120% 70% at 50% 0%, #e3eee6 0%, #faf6ef 62%); }
.o-login .mark { width: 76px; height: 76px; border-radius: 24px; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 12px 28px rgba(47,93,74,.3); }
.o-login .mark svg { width: 40px; height: 40px; }
.o-login h1 { font-size: 2.3rem; line-height: 1.1; margin-bottom: 8px; }
.o-login p.lead { color: var(--muted); margin: 0 0 26px; font-size: 1.05rem; }
.o-login form { max-width: 420px; }
.o-login .o-in { font-size: 18px; padding: 16px; }
.o-login .shake { animation: o-shake .4s; }
@keyframes o-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.o-login small { display: block; margin-top: 18px; color: var(--muted); }

@media (min-width: 700px) {
  .o-hero { border-radius: 0 0 32px 32px; height: 320px; }
  .o-back { align-items: center; }
  .o-sheet { border-radius: 28px; max-height: 86vh; }
}
@media (prefers-reduced-motion: reduce) {
  .o *, .o-back, .o-sheet, .o-toast { animation: none !important; transition: none !important; }
}

/* ---------- getting started ---------- */
.o-gs { padding: 16px 16px 8px; }
.o-gs-head { display: flex; justify-content: space-between; align-items: flex-start; }
.o-gs-head h2 { font-size: 1.2rem; }
.o-gs-head span { color: var(--muted); font-size: .88rem; }
.o-gs-bar { height: 6px; border-radius: 3px; background: var(--sand); margin: 12px 0 6px; overflow: hidden; }
.o-gs-bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width .4s ease; }
.o-gs-step { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.o-gs-step:last-child { border-bottom: 0; }
.o-gs-step .ck { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #cdbfae; display: grid; place-items: center; color: transparent; flex: none; }
.o-gs-step .ck svg { width: 15px; height: 15px; stroke-width: 3; }
.o-gs-step.done .ck { background: var(--green); border-color: var(--green); color: #fff; }
.o-gs-step.done .tx { opacity: .55; }
.o-gs-step .tx { flex: 1; min-width: 0; }
.o-gs-step b { display: block; line-height: 1.25; }
.o-gs-step small { color: var(--muted); }
.o-gs-step .chev { color: #bdb2a2; width: 1.1em; height: 1.1em; }

/* tiles with a photo */
.o-tile.has-photo { padding: 0 0 14px; overflow: hidden; gap: 0; }
.o-tile.has-photo > div:last-child { padding: 10px 14px 0; }
.o-tile-img { position: relative; height: 104px; background: var(--sand); }
.o-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-tile-img .o-ico { position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.o-tile-img .o-ico svg { width: 18px; height: 18px; }

.o-toast-act { color: #9fd3b5; font-weight: 800; padding: 4px 2px; }

/* starter pack: multi-select rows reuse the checklist look */
.o-gs.starter { padding: 6px 16px; }
.o-gs.starter .o-gs-step { cursor: pointer; }
.o-gs.starter .o-gs-step.on .ck { background: var(--green); border-color: var(--green); color: #fff; }
.o-gs.starter .o-gs-step.done { cursor: default; }

/* age + warranty card */
.o-life { padding: 16px; display: block; text-align: left; width: 100%; }
.o-life.nudge { background: var(--gold-2); box-shadow: none; }
.o-life.nudge b { display: block; font-family: var(--serif); font-size: 1.05rem; }
.o-life.nudge span { color: #7a5a0a; font-size: .92rem; }
.o-life-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.o-life-top b { font-family: var(--serif); font-size: 1.2rem; }
.o-life small { color: var(--muted); }
.o-gs-bar.life { height: 8px; margin: 12px 0 8px; }
.o-gs-bar.life.later i, .o-gs-bar.life.due i { background: var(--gold); }
.o-gs-bar.life.past i { background: var(--clay); }
.o-life-w { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.o-life-w:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* people */
.o-person { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.o-person:last-child { border-bottom: 0; }
.o-person .grow { flex: 1; min-width: 120px; }
.o-person b { display: block; }
.o-avatar.sm { position: static !important; width: 40px; height: 40px; border-radius: 50%; background: var(--green-2); color: var(--green); display: grid; place-items: center; font-weight: 700; flex: none; }

/* ask for help */
.o-ask { display: flex; align-items: center; gap: 14px; padding: 14px 16px; width: 100%; text-align: left; background: var(--green-2); box-shadow: none; }
.o-ask .bub { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; flex: none; }
.o-ask b { display: block; font-family: var(--serif); font-size: 1.05rem; }
.o-ask span { color: var(--muted); font-size: .9rem; }
.o-ask .chev { margin-left: auto; color: #8aa593; width: 1.1em; height: 1.1em; }

/* documents */
.o-doc { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 8px; padding-right: 8px; }
.o-doc-main { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 14px; text-align: left; min-width: 0; }
.o-doc-main svg { color: var(--green); }
.o-doc-main .tx { min-width: 0; }
.o-doc-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-doc-main small { color: var(--muted); }
.o-doc .x { width: 32px; height: 32px; display: grid; place-items: center; color: #b9ad9c; }
.o-doc .x svg { width: 16px; height: 16px; }

.o-offline { position: sticky; top: 0; z-index: 30; background: var(--gold-2); color: #7a5a0a; text-align: center; padding: 8px 16px; font-size: .88rem; font-weight: 600; }
