main, footer { max-width: 1120px; margin: auto; padding: 36px 32px; }
main { min-height: 65vh; }
h1 { color: var(--hh-forest); font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 10px 0 16px; }
h2 { font-size: 1.15rem; margin: 0 0 14px; }
p { margin: 0 0 16px; }
.page-intro { max-width: 760px; color: var(--hh-muted); }
.page-intro p { max-width: 650px; }
.login-grid, .property-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
section { background: var(--hh-card); border: 1px solid var(--hh-border); border-radius: var(--hh-radius); padding: 28px; margin: 24px 0; box-shadow: var(--hh-shadow); }
.login-grid section, .property-grid section { margin: 0; }
.login-card { position: relative; overflow: hidden; }
.login-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--hh-gold); }
.step-label { display: block; color: var(--hh-accent); font-size: .7rem; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
label { display: block; font-size: .9rem; font-weight: 600; }
input:not([type="hidden"]) { display: block; width: 100%; margin: 8px 0 18px; }
input[type="hidden"] { display: none; }
button, .button { display: inline-flex; align-items: center; justify-content: center; }
.secondary { color: var(--hh-forest); background: transparent; border-color: #a9bab0; }
.muted { color: var(--hh-muted); font-size: .86rem; }
.login-card form + .muted { margin-top: 16px; margin-bottom: 0; }
.notice { border: 1px solid #e2d4b4; border-left: 4px solid var(--hh-gold); border-radius: 9px; padding: 16px 20px; background: #faf5e9; color: #584a2d; }
section.notice { padding: 28px; }
.account-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; background: var(--hh-forest); border-radius: 14px; color: #fff; padding: 22px 26px; margin-top: 26px; }
.account-total strong { font-size: 2rem; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.card-amount, .amount { color: var(--hh-forest); font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin: 8px 0 14px; }
.property-card .card-amount { font-size: 2.1rem; }
.property-card .button { margin-top: 6px; }
.balance-hero { background: linear-gradient(120deg, #fff, #edf2eb); border-top: 3px solid var(--hh-gold); }
.table-scroll { overflow-x: auto; border: 1px solid var(--hh-border); border-radius: 10px; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--hh-border); }
th { font-weight: 600; background: var(--hh-soft); color: var(--hh-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
th:last-child, td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fafbf8; }
.privacy-note { display: flex; gap: 14px; align-items: baseline; color: var(--hh-muted); font-size: .85rem; padding: 6px 0; }
.privacy-note strong { color: var(--hh-forest); }
.help-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
.help-heading .hh-eyebrow { margin-bottom: 8px; }
.help-heading h2 { margin: 0; }
.help-heading > a { font-size: .86rem; font-weight: 600; }
.portal-help details { border-top: 1px solid var(--hh-border); padding: 8px 0; }
.portal-help details:first-of-type { margin-top: 22px; }
.portal-help summary { min-height: 44px; display: list-item; padding: 10px 4px; font-weight: 600; color: var(--hh-forest); cursor: pointer; }
.portal-help details p { color: var(--hh-muted); font-size: .9rem; padding-left: 4px; margin: 10px 0 14px; }
.recovery-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
footer { border-top: 1px solid var(--hh-border); color: var(--hh-muted); font-size: .78rem; line-height: 1.7; padding-top: 24px; }
.footer-brand { font-weight: 650; color: var(--hh-forest); margin-bottom: 8px; }
@media (max-width: 700px) {
  main, footer { padding: 26px 20px; }
  .login-grid, .property-grid { grid-template-columns: 1fr; gap: 18px; }
  section { padding: 22px; }
  h1 { font-size: 2.25rem; }
  .privacy-note { display: block; }
  .privacy-note strong { display: block; margin-bottom: 4px; }
  .table-scroll th, .table-scroll td { padding: 12px; }
}

.contact-card textarea { display:block; width:100%; resize:vertical; font:inherit; color:var(--hh-ink); padding:12px; margin:8px 0 18px; border:1px solid #a9bab0; border-radius:9px; background:white; }
.contact-card .cf-turnstile { margin:20px 0; }
