:root {
  --navy: #102c35;
  --ink: #17343b;
  --muted: #667c81;
  --line: #dfe8e7;
  --paper: #ffffff;
  --page: #f4f7f6;
  --mint: #80d3c4;
  --green: #176456;
  --green-dark: #114c41;
  --danger: #a23d37;
  --radius: 14px;
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
a { color: var(--green); }

.hp-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 16px 12px;
  background: var(--navy); color: #dce9e8;
}
.hp-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.3px; }
.hp-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mint); color: var(--navy); font-weight: 800; }
.hp-account { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; min-width: 0; }
.hp-who { color: #a9c0c1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.hp-link { border: 0; background: none; color: #fff; font: inherit; font-weight: 600; padding: 8px 0; cursor: pointer; }

.hp-main { width: 100%; max-width: 680px; margin: 0 auto; padding: 20px 16px 48px; }
.hp-eyebrow { font-size: 11px; letter-spacing: 1.4px; font-weight: 700; color: var(--muted); }
h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.6px; margin: 6px 0 0; }
h2 { font-size: 19px; letter-spacing: -.3px; margin: 0; }
h3 { font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.hp-sub { color: var(--muted); margin: 6px 0 0; font-size: 15px; line-height: 1.45; }
.hp-intro { margin: -6px 0 16px; }
.hp-back { display: inline-block; margin-bottom: 12px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; }

.hp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.hp-section-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 12px; }
.hp-count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; margin-left: 6px; border-radius: 11px; background: #e1f2ee; color: var(--green); font-size: 13px; vertical-align: 2px; }

.hp-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.hp-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 20px; border: 1px solid var(--green); border-radius: 10px;
  background: var(--green); color: #fff; font: 700 16px system-ui, sans-serif; text-decoration: none; cursor: pointer;
}
.hp-button:hover { background: var(--green-dark); }
.hp-button-quiet { background: var(--paper); color: var(--ink); border-color: var(--line); }
.hp-button-quiet:hover { background: #eef4f3; }
.hp-button-danger { background: var(--danger); border-color: var(--danger); }
.hp-button-danger:hover { background: #862f2a; }
.hp-small { min-height: 40px; padding: 0 14px; font-size: 15px; white-space: nowrap; }
.hp-wide { width: 100%; }
.hp-actions, .hp-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.hp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hp-row {
  display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 64px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.hp-row:hover { border-color: #b9d8d1; }
.hp-row-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: #e1f2ee; color: var(--green); font-size: 20px; }
.hp-row-body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.hp-row-body strong { font-size: 17px; }
.hp-row-body span { color: var(--muted); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.hp-row-body .hp-link-line { color: var(--green); font-size: 13px; }
.hp-row-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
.hp-chevron { color: #9fb3b5; font-size: 24px; }
.hp-group { margin-bottom: 22px; }

.hp-empty { text-align: center; padding: 32px 22px; }
.hp-empty p { color: var(--muted); line-height: 1.5; margin: 8px 0 20px; }
.hp-empty-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: #e1f2ee; color: var(--green); font-size: 26px; margin-bottom: 12px; }
.hp-empty-small { padding: 22px; }
.hp-empty-small p { margin-top: 0; }

.hp-form { display: grid; gap: 14px; }
.hp-fieldset { margin: 0; display: grid; gap: 14px; min-width: 0; }
.hp-fieldset legend { float: left; width: 100%; font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.hp-field { display: grid; gap: 6px; min-width: 0; }
.hp-field label { font-size: 14px; font-weight: 600; }
.hp-field input:not([type="checkbox"]), .hp-field select, .hp-field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfdcda; border-radius: 10px;
  background: #fff; color: var(--ink); font: 16px system-ui, sans-serif;
}
.hp-field textarea { min-height: 96px; resize: vertical; }
.hp-field input:focus, .hp-field select:focus, .hp-field textarea:focus { outline: 3px solid #80d3c466; border-color: var(--green); }
.hp-check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; font-size: 15px !important; min-height: 40px; }
.hp-check input { width: 22px; height: 22px; accent-color: var(--green); }
.hp-help { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.hp-error { margin: 0; color: var(--danger); font-size: 14px; font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger) !important; }
.hp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-sticky-actions { position: sticky; bottom: 0; margin: 0 -16px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--page) 30%); }
.hp-sticky-actions .hp-button { flex: 1; }

.hp-facts { margin: 0; display: grid; gap: 0; padding: 4px 20px; }
.hp-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid #edf2f1; }
.hp-facts div:first-child { border-top: 0; }
.hp-facts dt { color: var(--muted); font-size: 15px; }
.hp-facts dd { margin: 0; font-weight: 600; font-size: 15px; text-align: right; overflow-wrap: anywhere; }
.hp-links { margin-bottom: 14px; display: grid; gap: 10px; }
.hp-links p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.hp-links span { color: var(--muted); font-size: 14px; width: 100%; }
.hp-links a { font-weight: 600; }
.hp-notes { margin-top: 14px; }
.hp-notes p { margin: 0; line-height: 1.5; }
.hp-danger-link { margin-top: 28px; text-align: center; }
.hp-danger-link a { color: var(--danger); font-weight: 600; }
.hp-confirm h1 { font-size: 22px; }
.hp-confirm p { color: var(--muted); line-height: 1.5; }

.hp-auth-card { margin-top: 12px; }
.hp-auth-card form { display: grid; gap: 14px; margin-top: 18px; }
.hp-note { color: var(--muted); font-size: 15px; margin: 18px 0 0; text-align: center; }

.hp-hero { padding: 28px 4px 8px; }
.hp-hero h1 { font-size: 32px; }
.hp-hero p { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 14px 0 0; }
.hp-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hp-points li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 4px; }
.hp-points span { color: var(--muted); line-height: 1.45; }

@media (min-width: 640px) {
  .hp-main { padding-top: 32px; }
  h1 { font-size: 30px; }
  .hp-sticky-actions { position: static; margin: 0; padding: 0; background: none; }
  .hp-sticky-actions .hp-button { flex: none; }
}
@media (max-width: 380px) {
  .hp-grid-2 { grid-template-columns: 1fr; }
}

/* ── Logs: chips, photos, timeline ───────────────────────────────────────── */
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-chip { position: relative; display: inline-flex; }
.hp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hp-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px;
  border: 1px solid #cfdcda; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  user-select: none; -webkit-user-select: none;
}
.hp-chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.hp-chip input:focus-visible + span { outline: 3px solid #80d3c499; outline-offset: 2px; }
.hp-chips-severity .hp-chip:last-child input:checked + span { background: var(--danger); border-color: var(--danger); }
.has-error .hp-chip span { border-color: var(--danger); }

.hp-safety { display: none; margin: 4px 0 0; padding: 14px 16px; border-radius: 10px; background: #fdecea; color: #7d231e; font-weight: 600; line-height: 1.45; }
.hp-safety.is-shown, fieldset:has(input[value="smell"]:checked) .hp-safety { display: block; }
.hp-safety.is-shown { margin-bottom: 14px; }

.hp-contractor-only { display: none; }
.hp-who-did:has(input[value="contractor"]:checked) .hp-contractor-only { display: block; }

.hp-file { display: flex !important; align-items: center; justify-content: center; min-height: 52px; border: 2px dashed #b9d0cc; border-radius: 12px; color: var(--green); font-weight: 700 !important; font-size: 16px !important; cursor: pointer; position: relative; }
.hp-file input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.hp-file:focus-within { outline: 3px solid #80d3c466; }

.hp-photos h3 { margin-bottom: 12px; }
.hp-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hp-photo-grid a, .hp-photo-remove { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #e8efee; }
.hp-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-photo-remove { position: relative; cursor: pointer; }
.hp-photo-remove input { position: absolute; opacity: 0; }
.hp-photo-remove span { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 8px; background: #102c35cc; color: #fff; font-size: 12px; font-weight: 700; }
.hp-photo-remove:has(input:checked) img { opacity: .35; }
.hp-photo-remove:has(input:checked) span { background: var(--danger); }
.hp-photos { margin-top: 14px; }

.hp-log-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 8px; }
.hp-button-alert { background: #b4532a; border-color: #b4532a; }
.hp-button-alert:hover { background: #93431f; }
.hp-text-link { font-weight: 700; text-decoration: none; }
.hp-empty-line { margin-top: 12px; }

.hp-row-icon.is-symptom { background: #fbe9df; color: #b4532a; font-weight: 800; }
.hp-row-icon.is-resolved { background: #e1f2ee; color: var(--green); font-weight: 800; }
.hp-row-icon.is-maintenance { background: #e8eef7; font-size: 18px; }
.hp-status { display: inline-block; justify-self: start; padding: 2px 10px; border-radius: 10px; background: #fbe9df; color: #93431f !important; font-size: 12px !important; font-weight: 700; }
.hp-status.is-urgent { background: #fdecea; color: #7d231e !important; }
.hp-status.is-resolved { background: #e1f2ee; color: var(--green) !important; }
.hp-timeline { margin-bottom: 8px; }
.hp-log-actions .hp-button { padding: 0 10px; font-size: 15px; text-align: center; line-height: 1.2; }

/* ── Household ───────────────────────────────────────────────────────────── */
.hp-person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.hp-person form { margin: 0; }
.hp-person .hp-row-icon { font-weight: 800; font-size: 17px; }
.hp-row-icon.is-pending { background: #f1f4f4; color: var(--muted); }
.hp-link-button { border: 0; background: none; padding: 8px 4px; color: var(--danger); font: 600 15px system-ui, sans-serif; cursor: pointer; }
.hp-people { margin-bottom: 8px; }
.hp-household-link { margin-top: 28px; }
.hp-options { display: grid; gap: 8px; }
.hp-option { position: relative; display: block; }
.hp-option input { position: absolute; opacity: 0; }
.hp-option span { display: block; padding: 14px 16px; border: 1px solid #cfdcda; border-radius: 12px; background: #fff; font-size: 15px; font-weight: 500 !important; line-height: 1.4; cursor: pointer; }
.hp-option input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f0f8f6; }
.hp-option input:focus-visible + span { outline: 3px solid #80d3c499; }
.hp-home-only { display: none; }
.hp-invite-form:has(input[value="log_home"]:checked) .hp-home-only { display: grid; gap: 14px; }
.hp-link-box input { width: 100%; min-height: 48px; padding: 10px 12px; margin-top: 16px; border: 1px solid #cfdcda; border-radius: 10px; background: #f6f9f8; font: 15px ui-monospace, monospace; color: var(--ink); }
.hp-invite-ready h1, .hp-join h1 { font-size: 23px; }

.hp-person:has(> .hp-person-main) { flex-direction: column; align-items: stretch; gap: 10px; }
.hp-person-main { display: flex; align-items: center; gap: 14px; }
.hp-person.is-flagged { border-color: #e9b8b3; }
.hp-renew summary { cursor: pointer; color: var(--green); font-weight: 700; font-size: 14px; padding: 4px 0; }
.hp-renew-form { display: flex; gap: 8px; margin-top: 8px; }
.hp-renew-form input { flex: 1; min-height: 40px; padding: 6px 10px; border: 1px solid #cfdcda; border-radius: 10px; font: 15px system-ui, sans-serif; }
.hp-ends-on, .hp-for-tenant, .hp-for-guest { display: none; }
.hp-invite-form:has(input[name="occupant_kind"]:checked) .hp-ends-on { display: grid; }
.hp-invite-form:has(input[value="tenant"]:checked) .hp-for-tenant,
.hp-invite-form:has(input[value="guest"]:checked) .hp-for-guest { display: inline; }
.hp-invite-form:has(input[value="tenant"]:checked) p.hp-for-tenant,
.hp-invite-form:has(input[value="guest"]:checked) p.hp-for-guest { display: block; }
.hp-ends-on.has-error { display: grid; }

/* ── Home pulse ──────────────────────────────────────────────────────────── */
.hp-pulse { --beat: #2f9e7a; --beat-soft: #e1f2ee; position: relative; overflow: hidden; margin: 0 0 16px; padding: 18px 20px 14px; border-radius: 18px; background: var(--navy); color: #fff; }
.hp-pulse-attention { --beat: #f0a530; --beat-soft: #4a3a1c; }
.hp-pulse-sick { --beat: #ff6b57; --beat-soft: #4a2420; }
.hp-pulse-none { --beat: #6f8a8f; }
.hp-pulse-top { display: flex; align-items: flex-start; justify-content: space-between; }
.hp-pulse-score { display: flex; align-items: baseline; gap: 12px; }
.hp-pulse-score strong { font-size: 52px; line-height: 1; letter-spacing: -2px; font-weight: 800; color: #fff; }
.hp-pulse-band { font-size: 18px; font-weight: 700; color: var(--beat); }
.hp-pulse-bpm { font-size: 13px; font-weight: 700; color: var(--beat); opacity: .9; padding-top: 6px; }
.hp-pulse-line { height: 64px; margin: 8px -20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hp-pulse-line svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hp-pulse-line path { fill: none; stroke: var(--beat); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px var(--beat)); }
.hp-pulse-track { animation-name: hp-beat; animation-timing-function: linear; animation-iteration-count: infinite; }
.hp-pulse-none .hp-pulse-track, .hp-pulse-none path { animation: none; opacity: .4; }
@keyframes hp-beat { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@media (prefers-reduced-motion: reduce) { .hp-pulse-track { animation: none !important; } }
.hp-pulse-summary { margin: 4px 0 0; color: #c9dad9; font-size: 15px; line-height: 1.4; }
.hp-pulse-why { margin-top: 10px; }
.hp-pulse-why summary { cursor: pointer; color: #fff; font-weight: 700; font-size: 15px; padding: 6px 0; }
.hp-pulse-why ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.hp-pulse-why li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0 10px 14px; border-top: 1px solid #234650; }
.hp-pulse-why li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: #2f9e7a; }
.hp-pulse-why li.is-attention::before { background: #f0a530; }
.hp-pulse-why li.is-urgent::before { background: #ff6b57; }
.hp-pulse-why a { display: contents; color: inherit; text-decoration: none; }
.hp-why-title { grid-column: 1; font-weight: 600; font-size: 15px; color: #fff; }
.hp-why-detail { grid-column: 1; color: #9fb7b8; font-size: 13px; }
.hp-why-points { grid-column: 2; grid-row: 1; font-weight: 800; color: #c9dad9; font-variant-numeric: tabular-nums; }
.hp-pulse-why .hp-help { color: #9fb7b8; margin-top: 10px; }

.hp-row-meta { display: grid; justify-items: end; gap: 4px; }
.hp-mini-pulse { --beat: #2f9e7a; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 12px; background: #e1f2ee; color: #1d6b56; font-weight: 800; font-size: 14px; }
.hp-mini-pulse.hp-pulse-attention { --beat: #d08a1e; background: #fbefd9; color: #8a5a0c; }
.hp-mini-pulse.hp-pulse-sick { --beat: #c2412d; background: #fdecea; color: #8e2a1f; }
.hp-mini-pulse i { width: 8px; height: 8px; border-radius: 50%; background: var(--beat); animation: hp-dot 1s ease-in-out infinite; }
.hp-mini-pulse.hp-pulse-attention i { animation-duration: .71s; }
.hp-mini-pulse.hp-pulse-sick i { animation-duration: .52s; }
@keyframes hp-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .hp-mini-pulse i { animation: none; } }

/* Contractor card */
.hp-contractor { margin: 14px 0 6px; display: grid; gap: 14px; }
.hp-contractor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hp-contractor-head > div { display: grid; gap: 2px; }
.hp-contractor-name { font-size: 19px; margin-top: 4px; }
.hp-contractor-head .hp-sub { margin: 0; font-size: 14px; }
.hp-contact-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.hp-contact {
  display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px;
  background: #e1f2ee; color: var(--green); font-weight: 700; font-size: 14px; text-decoration: none;
}
.hp-contact span { font-size: 20px; line-height: 1; }
.hp-contact:active { background: #cbe8e1; }
.hp-after-hours a { font-weight: 700; }
.hp-send { margin: 0; }
.hp-tenant-note { padding-top: 12px; border-top: 1px solid #edf2f1; }
.hp-add-contractor { margin: 14px 0 6px; }
.hp-row-button { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.hp-use { color: var(--green); font-weight: 700; font-size: 15px; }
.hp-or { margin-top: 22px; }
.hp-more summary { font-weight: 700; cursor: pointer; padding: 2px 0; }
.hp-more-body { display: grid; gap: 14px; margin-top: 16px; }

/* Sending a report */
.hp-picks { display: grid; gap: 8px; }
.hp-pick { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; line-height: 1.35; cursor: pointer; }
.hp-pick input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.hp-pick:has(input:checked) { border-color: var(--green); background: #f1faf7; }
.hp-symptom-actions { display: grid; gap: 10px; margin: 0 0 14px; }
.hp-sent-line { margin: 0 0 14px; color: var(--muted); font-size: 14px; text-align: center; }
.hp-banner { margin: 0 0 14px; padding: 14px 16px; border-radius: 10px; background: #e1f2ee; color: var(--green-dark); font-weight: 600; line-height: 1.45; }

/* Tenant or guest emergency */
.hp-emergency { margin: 0 0 14px; display: grid; gap: 10px; border-color: #f2c2bd; background: #fffafa; }
.hp-emergency h2 { margin: 0; font-size: 19px; }
.hp-emergency p { margin: 0; line-height: 1.45; }
.hp-emergency .hp-help { text-align: center; }

/* Contractor's report page */
.hp-report-contact { margin: 4px 0 6px; }
.hp-center { text-align: center; }
.hp-report-h { margin: 26px 0 10px; }
.hp-report-entry { margin-bottom: 10px; display: grid; gap: 6px; }
.hp-report-entry-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hp-report-entry-head strong { font-size: 17px; line-height: 1.3; }
.hp-report-entry-head .hp-status { flex: none; }
.hp-report-note { margin: 4px 0 0; line-height: 1.5; }
.hp-report-entry .hp-photo-grid { margin-top: 6px; }
.hp-send-entry { margin: 0 0 10px; }
.hp-sent { display: grid; gap: 12px; text-align: center; }
.hp-sent .hp-empty-icon { justify-self: center; margin: 0; }
.hp-sent h1, .hp-sent .hp-sub { margin: 0; }
.hp-share-more summary { color: var(--green); font-weight: 700; cursor: pointer; padding: 6px 0; }
.hp-share-body { display: grid; gap: 10px; margin-top: 10px; text-align: left; }
.hp-share-body .hp-form-actions { margin: 0; }
.hp-banner.is-error { background: #fdecea; color: #7d231e; }
.hp-verify { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #fff6e5; color: #6b4a10; font-size: 14px; line-height: 1.4; }
.hp-link-quiet { flex: none; border: 0; background: none; padding: 6px 2px; color: #6b4a10; font: 700 14px system-ui, sans-serif; text-decoration: underline; cursor: pointer; }

/* Contractor gifts */
.hp-pro-link { margin-top: 12px; }
.hp-gift-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.hp-gift-main { display: grid; gap: 3px; min-width: 0; }
.hp-gift-main span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.hp-gift-status { font-weight: 700; font-size: 13px !important; }
.hp-gift-status.is-joined { color: var(--green) !important; }
.hp-gift-status.is-waiting { color: #93431f !important; }
.hp-gift-actions { display: grid; justify-items: end; gap: 2px; flex: none; }
.hp-gift-actions .hp-link-button { font-size: 14px; padding: 4px; color: var(--muted); }
.hp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-gift-hero { margin: 4px 0 18px; }
.hp-gift-hero h1 { margin-top: 6px; }
.hp-row-static { cursor: default; }
.hp-gift-cta { display: grid; gap: 12px; margin-top: 16px; text-align: center; }
.hp-gift-cta .hp-note { margin: 0; }
.hp-notes + .hp-group { margin-top: 22px; }

/* Monthly checklist */
.hp-checklist-link { margin-top: 10px; }
.hp-tasks { gap: 10px; }
.hp-task { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px; }
.hp-task-body { display: grid; gap: 4px; min-width: 0; }
.hp-task-body strong { font-size: 16px; line-height: 1.3; }
.hp-task-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.hp-task-for { color: var(--green); font-size: 13px; font-weight: 600; }
.hp-task-actions { display: grid; justify-items: center; gap: 6px; flex: none; }

/* Account */
a.hp-who { text-decoration: none; }
a.hp-who:hover { color: #fff; }
.hp-footer { max-width: 680px; margin: 0 auto; padding: 8px 16px 32px; text-align: center; color: var(--muted); font-size: 13px; }
.hp-footer a { color: var(--muted); }
.hp-setting { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px; }
.hp-setting > div { display: grid; gap: 3px; }
.hp-setting span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.hp-delete-summary { display: grid; gap: 10px; margin-bottom: 14px; }
.hp-delete-summary p, .hp-delete-summary ul { margin: 0; line-height: 1.5; }
.hp-delete-summary ul { padding-left: 20px; }

/* Privacy policy and terms */
.hp-legal { line-height: 1.6; }
.hp-legal h2 { font-size: 18px; margin: 26px 0 8px; }
.hp-legal p, .hp-legal li { font-size: 15px; }
.hp-legal ul { padding-left: 20px; }
.hp-draft { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #fff6e5; color: #6b4a10; font-size: 14px; line-height: 1.45; }
