/* Housing80 surface tokens follow the user's existing site theme. */
html body[data-page="housing"] .housing80{
 --h80-surface:var(--au-surface,var(--r44-theme-surface,var(--theme-surface,Canvas)));
 --h80-soft:var(--au-soft,var(--r44-theme-hover,var(--theme-surface-2,Canvas)));
 --h80-ink:var(--au-text,var(--r44-theme-text,var(--theme-text,CanvasText)));
 --h80-muted:var(--au-muted,var(--r44-theme-muted,var(--theme-muted,GrayText)));
 --h80-line:var(--au-line,var(--r44-theme-border,var(--theme-border,GrayText)));
 --h80-accent:var(--site-button,var(--au-link,var(--site-link,LinkText)));
 --h80-on-accent:var(--site-on-button,#fff);
 color:var(--h80-ink);background:transparent;box-sizing:border-box;
 width:100%;max-width:1640px;min-width:0;margin:0 auto;padding:20px clamp(16px,2.4vw,40px) 32px;
}
.housing80 .h80-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:86px;margin:0 0 16px;padding:16px 24px;border:1px solid var(--h80-line);border-radius:16px;background:linear-gradient(110deg,var(--h80-surface),var(--h80-soft));color:var(--h80-ink);position:relative;overflow:hidden;isolation:isolate}
.housing80 .h80-heading>div{position:relative;z-index:1;min-width:0}
.housing80 .h80-heading::before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,var(--h80-surface) 7%,color-mix(in srgb,var(--h80-surface) 90%,transparent) 38%,color-mix(in srgb,var(--h80-surface) 52%,transparent)),var(--h80-header-image,none);background-position:center,right center;background-size:cover,cover;pointer-events:none;z-index:0}
body.theme-newyear-light .housing80{--h80-header-image:url('/assets/themes/winter-panorama-20261015.webp')}
body.theme-newyear .housing80{--h80-header-image:url('/assets/home62-newyear.webp')}
body.theme-autumn-light .housing80{--h80-header-image:url('/assets/home62-autumn-light.webp')}
body.theme-light .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/light.webp')}
body.theme-dark .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/dark.webp')}
body.theme-love .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/love.webp')}
body.theme-night .housing80,body.theme-autumn-dark .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/night.webp')}
body.theme-night2 .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/night2.webp')}
body.theme-powder .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/powder.webp')}
body.theme-aurora .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/aurora.webp')}
body.theme-emerald .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/emerald.webp')}
body.theme-sakura .housing80{--h80-header-image:url('/assets/themes/exclusive20261010/sakura.webp')}
.housing80 .h80-heading h1{font-size:clamp(27px,2.4vw,38px);line-height:1.15;letter-spacing:-.025em;margin:0 0 6px;font-weight:800;color:inherit}
.housing80 .h80-heading p{font-size:14px;line-height:1.45;margin:0;color:var(--h80-muted)}
.housing80 .h80-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
html body[data-page] .housing80 .h80-heading-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;font-size:13px;font-weight:700;line-height:1.3;border:1px solid var(--h80-accent);border-radius:9px;background:var(--h80-accent);color:var(--h80-on-accent)!important;box-shadow:none;text-decoration:none;margin:0}
html body[data-page] .housing80 .h80-heading-actions .button.ghost{background:var(--h80-surface);border-color:var(--h80-line);color:var(--h80-ink)!important}
.housing80 .h80-heading-actions .button:focus-visible{outline:3px solid var(--h80-accent);outline-offset:3px}
@media(max-width:1100px){.housing80 .h80-heading{align-items:flex-start}.housing80 .h80-heading-actions{max-width:360px}.housing80 .h80-heading-actions .button{flex:0 1 auto}}
@media(max-width:700px){
 html body[data-page="housing"] .housing80{padding:16px 12px 24px}
 .housing80 .h80-heading{display:block;min-height:0;padding:16px;margin-bottom:12px;border-radius:13px}
 .housing80 .h80-heading h1{font-size:29px}.housing80 .h80-heading p{font-size:13px}
 .housing80 .h80-heading-actions{margin-top:14px;justify-content:flex-start;max-width:none;gap:7px}
 html body[data-page] .housing80 .h80-heading-actions .button{min-height:36px;font-size:11px;padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.housing80 *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Housing82: browsing and saved homes lead; publishing remains secondary. */
.housing80 .h82-heading-copy{flex:1 1 260px}
.housing80 .h80-heading-actions.h82-heading-actions{display:grid;gap:2px;justify-items:end;flex:0 1 auto;max-width:none}
.housing80 .h82-reader-nav,.housing80 .h82-owner-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;justify-content:flex-end}
html body[data-page] .housing80 .h82-reader-nav .button{min-height:44px;font-size:13px;padding:10px 15px}
html body[data-page] .housing80 .h82-reader-nav .button[aria-current=page]{background:var(--h80-accent);border-color:var(--h80-accent);color:var(--h80-on-accent)!important}
.housing80 .h82-owner-nav{gap:0 14px}
.housing80 .h82-owner-nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:6px 0;color:var(--h80-muted);font-size:12px;font-weight:600;line-height:1.35;text-decoration:none;white-space:nowrap}
.housing80 .h82-owner-nav>a:hover,.housing80 .h82-owner-nav>a[aria-current=page]{color:var(--h80-ink);text-decoration:underline;text-underline-offset:4px}
.housing80 .h82-owner-nav>a[aria-current=page]{font-weight:800}
.housing80 .h82-owner-nav>a:focus-visible{outline:3px solid var(--h80-accent);outline-offset:3px;border-radius:3px}
.housing80 .h82-empty-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}
@media(max-width:700px){
 .housing80 .h80-heading-actions.h82-heading-actions{margin-top:12px;justify-items:stretch;gap:3px}
 .housing80 .h82-reader-nav{flex-wrap:nowrap;justify-content:flex-start}
 html body[data-page] .housing80 .h82-reader-nav .button{flex:1 1 auto;min-height:44px;font-size:13px;padding:10px 12px}
 .housing80 .h82-owner-nav{justify-content:flex-start;gap:0 14px}
 .housing80 .h82-owner-nav>a{min-height:44px}
}
