/* RentTide Housemates: phone first, one column. Builds on guest.css. */
.hs h1 { font-size: 26px; }
.hs .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.hs .top a { font-size: 14px; font-weight: 700; }
.hs .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.hs .stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.hs .stat span { display: block; font-size: 13px; color: var(--ink-3); }
.hs .stat b { font: 700 24px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.hs .bl { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hs .bl:first-of-type { border-top: 0; }
.hs .bl small { display: block; color: var(--ink-3); font-size: 13px; }
.hs .tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.hs .t-owe { background: var(--warn-wash); color: var(--warn); }
.hs .t-wait { background: var(--tide-wash); color: var(--tide-deep); }
.hs .t-ok { background: var(--ok-wash); color: var(--ok); }
.hs .t-late { background: var(--bad-wash); color: var(--bad); }
.hs .bar { height: 8px; background: var(--foam); border-radius: 4px; overflow: hidden; margin: 10px 0 4px; }
.hs .bar i { display: block; height: 8px; background: var(--ok); }
.hs .wide { width: 100%; margin-top: 14px; }
.hs .seg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.hs .seg button { padding: 7px 12px; font-size: 14px; }
.hs .seg button[aria-pressed="true"] { background: var(--tide); border-color: var(--tide); color: var(--on-tide); }
.hs .who { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.hs .who label { margin: 0; flex: 1; display: flex; gap: 10px; align-items: center; font-weight: 400; color: var(--ink); }
.hs .who input[type=checkbox] { width: auto; accent-color: var(--tide); }
.hs .who input.amt { width: 110px; text-align: right; }
.hs .msg { margin-top: 10px; font-size: 14px; }
.hs .msg.bad { color: var(--bad); }
.hs .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hs .two label { margin-top: 16px; }
.hs .tabs { display: flex; gap: 8px; margin-top: 16px; }
.hs .tabs button { flex: 1; }
.hs .tabs button[aria-pressed="true"] { border-color: var(--tide); color: var(--tide-deep); background: var(--tide-wash); }
.hs details > summary { cursor: pointer; font-weight: 700; color: var(--tide); margin-top: 6px; }
.hs .person { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.hs .person:first-of-type { border-top: 0; }
@media (max-width: 360px) { .hs .two, .hs .stats { grid-template-columns: minmax(0, 1fr); } }
/* Bill photo picker and preview */
.hs .vh { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.hs .pick { margin-top: 10px; position: relative; }
.hs .pick-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hs .pick-btns .btn { margin: 0; min-height: 52px; text-align: center; font-weight: 700; color: var(--ink); font-size: 15px; }
.hs .pick-btns .btn:first-child { background: var(--tide); border-color: var(--tide); color: var(--on-tide); }
.hs .pick-prev img { display: block; max-width: 100%; max-height: 320px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.hs .pdfchip { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--foam); color: var(--ink); text-decoration: none; }
.hs .pdfchip b { font: 700 13px var(--display); background: var(--bad); color: #fff; padding: 4px 7px; border-radius: 4px; }
.hs .pdfchip span { min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.hs .billpic { display: block; margin-top: 12px; text-decoration: none; }
.hs .billpic img { display: block; width: 100%; max-height: 360px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.hs .billpic span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 340px) { .hs .pick-btns { grid-template-columns: minmax(0, 1fr); } }
.hs table.st { margin-top: 6px; font-size: 14px; }
.hs table.st td { vertical-align: top; }
.hs table.st small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.hs table.st .tag { display: inline-block; margin-top: 4px; }
.hs .printonly { display: none; }
@media print { .hs .noprint, .hs header, #getapp { display: none !important; } .hs .printonly { display: block; } .hs .stat, .hs .box { border: 1px solid #ccc; break-inside: avoid; } body { background: #fff; } }
.hs .hvid { margin: 4px auto 18px; max-width: 300px; }
.hs .hvid video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #0E2A33; box-shadow: 0 12px 30px rgba(14,42,51,.18); }
.hs .hm-wins { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.hs .hm-wins li { padding-left: 30px; position: relative; color: var(--ink-2); }
.hs .hm-wins li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--tide) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hs .hm-wins b { color: var(--ink); }
.hs .hm-faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.hs .hm-faq summary { cursor: pointer; font-weight: 700; }
.hs .hm-faq p { margin-top: 6px; color: var(--ink-2); }

/* Wide screens: the start page shows the form beside the video, not under it, and the page uses more of the width. */
@media (min-width: 900px) {
  .g.hs:has(.hm-hero:not(.solo)) { max-width: 1040px; }
  .hs .hm-hero:not(.solo) { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; margin-top: 8px; }
  .hs .hm-hero:not(.solo) .hvid { grid-column: 2; grid-row: 1; margin: 0; }
  .hs .hm-hero:not(.solo) .hm-main { grid-column: 1; grid-row: 1; max-width: 560px; }
  .hs .hm-hero:not(.solo) h1 { font-size: 44px; line-height: 1.08; margin-top: 12px; }
  .g.hs:has(.hm-hero:not(.solo)) .hm-wins { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .g.hs:has(.hm-hero:not(.solo)) .hm-faq { max-width: 760px; }
}

/* Signed out header with the main site menu. */
.hs .hsite { position: relative; }
.hs .hsite .wordmark { text-decoration: none; color: inherit; }
.hs .hsite-nav { display: flex; align-items: center; gap: 20px; }
.hs .hsite-nav > a, .hs .hsite summary { color: var(--ink-2); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.hs .hsite-nav > a:hover, .hs .hsite summary:hover, .hs .hsite-nav > a[aria-current] { color: var(--tide); }
.hs .hsite details { position: relative; }
.hs .hsite summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; line-height: 1.2; }
.hs .hsite-nav > a { line-height: 1.2; }
.hs .hsite summary::-webkit-details-marker { display: none; }
.hs .hsite .more summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.hs .hsite .more[open] summary::after { transform: translateY(1px) rotate(225deg); }
.hs .hsite .more-menu { position: absolute; right: -8px; top: calc(100% + 10px); min-width: 200px; display: grid; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 14px 30px rgba(14,42,51,.18); z-index: 50; }
.hs .hsite .more-menu a { padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.hs .hsite .more-menu a:hover, .hs .hsite .more-menu a[aria-current] { color: var(--tide); }
.hs .hmenu { display: none; }
.hs .hmenu summary { flex-direction: column; justify-content: center; align-items: stretch; gap: 4px; width: 42px; height: 38px; padding: 0 11px; border: 1.5px solid var(--line); border-radius: var(--r-md); }
.hs .hmenu summary span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 820px) { .hs .hsite-nav { display: none; } .hs .hmenu { display: block; } .hs .hmenu summary { display: flex; } }
.hs .hm-social { margin-top: 10px; }
.hs .hm-social a { margin-right: 14px; }
