/* ============================================================
   topdevphone — Housing app styles
   Estate-green identity (#30d158 → #0b7a43). Uses base.css chrome
   + CSS vars so dark AND light themes both look right.
   ============================================================ */

/* hero summary card */
.hs-hero {
  position: relative;
  border-radius: var(--radius-card-lg);
  padding: 20px 18px 18px;
  margin: 4px 0 16px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 255, 255, 0.32), transparent 55%),
    linear-gradient(140deg, #30d158, #0b7a43);
  color: #04220f;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 122, 67, 0.28);
}
.hs-hero .hh-label { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; opacity: 0.6; }
.hs-hero .hh-count { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; margin-top: 4px; }
.hs-hero .hh-sub { margin-top: 10px; font-size: 12.5px; font-weight: 700; opacity: 0.62; }
.hs-hero .hh-glyph {
  position: absolute; right: 6px; bottom: -12px;
  font-size: 92px; line-height: 1; opacity: 0.13; pointer-events: none;
}

/* property card */
.hs-card {
  background: var(--bg-secondary); border-radius: var(--radius-card-lg);
  padding: 14px; margin-bottom: 12px;
}
.hs-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hs-addr { font-size: 15.5px; font-weight: 800; min-width: 0; }
.hs-chip {
  display: inline-block; padding: 2px 8px; border-radius: 8px; flex: 0 0 auto;
  background: rgba(48, 209, 88, 0.14); color: var(--accent-green);
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
}
.hs-status { display: flex; align-items: center; gap: 8px; margin-top: 8px; min-width: 0; }
.hs-sub {
  font-size: 12px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hs-lockpill {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  padding: 3px 9px; border-radius: 9px;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px;
}
.hs-lockpill .ic { width: 11px; height: 11px; }
.hs-lockpill.locked { background: rgba(255, 69, 58, 0.14); color: var(--accent-red); }
.hs-lockpill.unlocked { background: rgba(48, 209, 88, 0.16); color: var(--accent-green); }

/* action row */
.hs-actions { display: flex; gap: 8px; margin-top: 12px; }
.hs-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 6px; border-radius: 10px;
  background: var(--bg-tertiary); color: var(--text-primary);
  font-size: 12.5px; font-weight: 700;
  transition: filter 0.15s, transform 0.1s;
}
.hs-btn .ic { width: 14px; height: 14px; }
.hs-btn:active { transform: scale(0.97); filter: brightness(0.85); }
.hs-btn.primary { background: linear-gradient(140deg, #30d158, #0b7a43); color: #fff; }
.hs-btn:disabled { opacity: 0.4; transform: none; }

/* browse: filter chips + listing cards */
.hs-filters { display: flex; gap: 8px; margin: 4px 0 14px; }
.hs-fchip {
  padding: 7px 16px; border-radius: 16px;
  background: var(--bg-tertiary); color: var(--text-secondary);
  font-size: 12.5px; font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.hs-fchip.on { background: var(--accent-green); color: #fff; }

.hs-listing {
  background: var(--bg-secondary); border-radius: var(--radius-card-lg);
  padding: 14px; margin-bottom: 12px;
}
.hs-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hs-price { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; color: var(--accent-green); }
.hs-price .hs-per { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-left: 2px; }
.hs-forchip {
  padding: 3px 9px; border-radius: 9px; flex: 0 0 auto;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px;
}
.hs-forchip.sale { background: rgba(48, 209, 88, 0.16); color: var(--accent-green); }
.hs-forchip.rent { background: rgba(10, 132, 255, 0.14); color: var(--accent-blue); }
.hs-laddr { font-size: 14.5px; font-weight: 700; margin-top: 6px; }
.hs-lsub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.hs-hint { font-size: 11px; color: var(--text-tertiary); text-align: center; margin-top: 8px; }

/* detail (Manage) view */
.hs-detail-head { padding: 4px 2px 2px; }
.hs-daddr { font-size: 21px; font-weight: 800; letter-spacing: -0.3px; }
.hs-dsub {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 12.5px; color: var(--text-secondary); font-weight: 600;
}
.hs-detail-actions { margin-bottom: 16px; }

.hs-rentbox {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-secondary); border-radius: var(--radius-card);
  padding: 13px 14px; margin-bottom: 16px;
}
.hs-rent-main { flex: 1; min-width: 0; }
.hs-rent-amt { font-size: 20px; font-weight: 800; }
.hs-rent-due { font-size: 12px; color: var(--text-secondary); margin-top: 1px; }
.hs-payrent {
  flex: 0 0 auto; padding: 10px 18px; border-radius: 11px;
  background: var(--accent-green); color: #fff; font-size: 13.5px; font-weight: 700;
  transition: filter 0.15s, transform 0.1s;
}
.hs-payrent:active { transform: scale(0.97); filter: brightness(0.85); }

.hs-revoke {
  flex: 0 0 auto; padding: 6px 12px; border-radius: 9px;
  background: var(--bg-tertiary); color: var(--accent-red);
  font-size: 12px; font-weight: 700;
}
.hs-revoke:active { filter: brightness(0.85); }
.hs-empty-mini {
  text-align: center; color: var(--text-tertiary); font-size: 12.5px;
  background: var(--bg-secondary); border-radius: var(--radius-card);
  padding: 16px; margin-bottom: 16px;
}
.hs-givekey {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(140deg, #30d158, #0b7a43);
}
.hs-givekey .ic { width: 16px; height: 16px; }
