.owner-demo {
  --portal-bg: #f1f5f2;
  background: var(--portal-bg);
  min-width: 0;
}
.demo-wrap { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }
.owner-demo header, .portal-nav { background: white; border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; gap: 1rem; min-height: 66px; }
.portal-label { color: var(--body); font-size: .9rem; }
.demo-badge, .unit-chip, .report-meta {
  border-radius: 99px; padding: .24rem .72rem; font-size: .78rem; font-weight: 700;
}
.demo-badge { margin-left: auto; background: #f9ead8; color: #70461c; white-space: nowrap; }
.portal-nav .demo-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 1.25rem; }
.portal-nav a { padding: .73rem .15rem; text-decoration: none; font-size: .9rem; font-weight: 700; text-align: center; }
.portal-nav a:hover { color: var(--ocean); text-decoration: underline; }
.owner-demo main { padding-top: 1.5rem; }
.welcome {
  border-radius: 22px; color: white; padding: clamp(1.4rem, 4.7vw, 3.6rem);
  background: radial-gradient(ellipse at 100% 20%, #347f6c 0%, transparent 63%), #153f39;
}
.welcome .eyebrow { color: #c3e4d8; }
.welcome h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: .8rem; overflow-wrap: anywhere; }
.intro { max-width: 41ch; color: #edf7f2; }
.welcome .button-light { min-width: 0; }
.owner-grid, .profile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.owner-card {
  background: white; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1rem, 3vw, 1.65rem); box-shadow: 0 4px 16px #183d3a09;
}
.owner-card h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); line-height: 1.2; margin-bottom: .8rem; }
.section-kicker { margin-bottom: .42rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--deep); font-weight: 750; }
.amount { font-size: clamp(2rem, 5vw, 3rem); font-weight: 750; letter-spacing: -.045em; margin-bottom: 0; }
.amount small { font-size: .85rem; letter-spacing: 0; }
.owner-card details { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .5rem; }
.owner-card summary { cursor: pointer; padding: .6rem 0; font-weight: 650; }
.owner-card details p { overflow-wrap: anywhere; }
.owner-card dl div { display: flex; justify-content: space-between; gap: .5rem; }
.owner-card dd { margin: 0; white-space: nowrap; }
.report-meta { display: table; margin: .35rem 0 0; }
.report-meta, .unit-chip { background: #e4f1eb; color: #215a4d; }
.profile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.profile-intro p:not(.section-kicker), .form-note, .demo-note { color: var(--body); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.owner-card label { display: block; font-weight: 650; font-size: .9rem; }
.owner-card :is(input, select, textarea) {
  display: block; width: 100%; min-height: 48px; margin: .25rem 0 .5rem;
  border: 1px solid #a9bdb4; border-radius: 9px; padding: .55rem .7rem;
  color: var(--ink); background: #fcfdfc; font: inherit; font-size: 16px; font-weight: 400;
}
.owner-card :is(input, select, textarea):focus-visible { outline: 2px solid var(--ocean); outline-offset: 2px; }
.owner-card textarea { resize: vertical; }
.owner-card button { cursor: pointer; font-family: inherit; font-size: .95rem; }
.button-portal { background: #edf3ee; color: var(--ink); }
#report-form { margin-top: 1rem; }
[role="status"] { color: var(--deep); font-weight: 650; margin: .55rem 0 0; }
[role="status"]:empty { margin: 0; }
.form-note, .demo-note { font-size: .85rem; }
.demo-note { padding: 1.3rem 0; }
@media (max-width: 680px) {
  .owner-grid, .profile { grid-template-columns: 1fr; }
  .portal-nav .demo-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem; }
  .portal-nav a { font-size: .82rem; }
}
@media (max-width: 440px) {
  .demo-wrap { width: calc(100% - 24px); }
  .portal-label { font-size: .74rem; line-height: 1.15; }
  .top { gap: .55rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .owner-card button, .welcome .button { width: 100%; }
  #cancel-report { margin-top: .5rem; }
}

.owner-demo .owner-grid { display:block; }
.demo-quick-actions { display:flex; flex-wrap:wrap; gap:.75rem; }
.portal-nav a[aria-current="page"] { background:var(--mist); color:var(--ink); box-shadow:inset 0 -2px var(--ocean); }
