/* Save star + "email me my saved open houses" panel on /open-houses (2026-11-08).
   Flat and square like the rest of the site: no shadows, no rounded panels. */

/* the star, top left of each card (the AMPI chip sits top right) */
.oh-star{position:absolute; top:12px; left:12px; z-index:4; width:40px; height:40px; padding:0;
  display:flex; align-items:center; justify-content:center; border:0; border-radius:50%;
  background:rgba(255,255,255,.92); color:#0E2A47; cursor:pointer; transition:background .2s, color .2s}
.oh-star svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:miter}
.oh-star[aria-pressed="true"]{background:#0E2A47; color:#F6F4EF}
.oh-star[aria-pressed="true"] svg{fill:currentColor}
.oh-star:hover{background:#fff}
.oh-star[aria-pressed="true"]:hover{background:#14365a}
.oh-star:focus-visible{outline:2px solid #fff; outline-offset:2px}

/* saved bar: shows from 3 saved homes, so "Not now" is never final */
.oh-bar{position:fixed; left:50%; bottom:20px; transform:translateX(-50%); z-index:60;
  display:flex; align-items:center; gap:14px; max-width:calc(100vw - 32px);
  padding:8px 8px 8px 20px; background:#0E2A47; color:#F6F4EF; border-radius:999px;
  font-family:"Montserrat", var(--font); font-size:.9rem; white-space:nowrap}
.oh-bar[hidden]{display:none}
.oh-bar__send{border:0; border-radius:999px; padding:10px 16px; background:#F6F4EF; color:#0E2A47;
  font:inherit; font-weight:600; cursor:pointer}
.oh-bar__send[hidden]{display:none}

/* the form + the "sent" screen: Letterpress frame (2026-11-09), same as the email */
.oh-dialog{width:min(580px, calc(100vw - 32px)); max-height:calc(100vh - 32px); padding:7px; box-sizing:border-box;
  border:1px solid #0E2A47; border-radius:0; background:#fff; color:#1c1c1a; font-family:var(--font)}
.oh-dialog::backdrop{background:rgba(14,42,71,.6)}
.oh-frame{position:relative; border:1px solid #B8954A; padding:30px 40px 26px}
.oh-x{position:absolute; top:6px; right:6px; width:44px; height:44px; padding:0; border:0; background:transparent;
  color:#0E2A47; cursor:pointer; display:flex; align-items:center; justify-content:center}
.oh-x svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5}
.oh-head{text-align:center}
.oh-emblem{display:block; height:36px; width:auto; margin:0 auto 16px; color:#0E2A47}
.oh-dialog h2{margin:0 0 10px; font-family:"Tenor Sans", var(--font); font-weight:400; font-size:1.4rem;
  letter-spacing:.1em; text-transform:uppercase; line-height:1.3; text-wrap:balance}
.oh-dialog h2:focus{outline:none}
.oh-form__lede, .oh-done__lede{margin:0 auto 20px; max-width:44ch; font-size:.9rem; line-height:1.65; color:#45453F}
.oh-done__lede strong{font-weight:600; color:#1c1c1a; overflow-wrap:anywhere}
/* Letterpress form (2026-11-09): brand line + gold rule on top, hairline underline fields */
.oh-brand{margin:0; font-family:"Tenor Sans", var(--font); font-size:.72rem; letter-spacing:.32em; text-transform:uppercase; color:#0E2A47}
.oh-head .oh-rule{margin:18px auto 20px}
.oh-form .oh-form__lede{margin-bottom:26px}
.oh-form label{display:block; margin:0 0 20px; font-size:.7rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#0E2A47}
.oh-opt{font-weight:400; letter-spacing:.06em; text-transform:none; color:#5B5B55}
.oh-form input{display:block; width:100%; box-sizing:border-box; margin-top:4px; padding:10px 0 9px; border:0; border-bottom:1px solid #CFC8BA;
  border-radius:0; font:inherit; font-size:16px; font-weight:400; letter-spacing:0; text-transform:none; color:#1c1c1a; background:transparent}
.oh-form input::placeholder{color:#A8A39A}
.oh-form input:focus{outline:none; border-bottom-color:#0E2A47; box-shadow:0 1px 0 #0E2A47}
.oh-form__actions--center{justify-content:center}
.oh-form .oh-form__small{text-align:center; max-width:52ch; margin:6px auto 0}
.oh-form__small a{white-space:nowrap}
.oh-form .oh-form__msg{text-align:center}
.oh-hp{position:absolute!important; left:-9999px; width:1px; height:1px; overflow:hidden}
.oh-form__small{margin:4px 0 0; font-size:.8rem; color:#55564f; line-height:1.5}
.oh-form__small a{color:inherit}
.oh-form__msg{min-height:1.4em; margin:10px 0 0; font-size:.9rem; color:#8a2d22}
.oh-form__actions{display:flex; gap:10px; margin-top:16px; flex-wrap:wrap}
.oh-btn{display:inline-block; padding:13px 20px; border:1px solid #0E2A47; border-radius:0; font:inherit; font-size:.75rem;
  font-weight:600; letter-spacing:.12em; text-transform:uppercase; text-decoration:none; cursor:pointer}
.oh-btn--primary{background:#0E2A47; color:#F6F4EF}
.oh-btn--primary:disabled{opacity:.6; cursor:wait}
.oh-btn--ghost{background:transparent; color:#0E2A47}
.oh-btn--primary:hover{background:#14365a; color:#F6F4EF}

/* "sent" screen */
.oh-list{list-style:none; margin:0; padding:0; border-top:1px solid #E8E4DC}
.oh-list li{display:flex; gap:16px; align-items:center; padding:10px 0; border-bottom:1px solid #E8E4DC}
.oh-list img{width:52px; height:52px; object-fit:cover; flex:none; display:block}
.oh-list div{min-width:0}
.oh-list__title{margin:0 0 3px; font-family:"Tenor Sans", var(--font); font-size:.875rem; letter-spacing:.08em; text-transform:uppercase}
.oh-list__meta{margin:0; font-size:.8rem; color:#5B5B55}
.oh-visit{margin-top:24px; padding:24px 24px; background:#F6F4EF; text-align:center}
.oh-visit .oh-form__actions{justify-content:center}
.oh-visit p{margin:0 auto 4px; max-width:42ch; font-size:.875rem; line-height:1.6; color:#45453F}
.oh-visit .oh-visit__title{margin-bottom:8px; font-family:"Tenor Sans", var(--font); font-size:1.15rem; letter-spacing:.05em; color:#0E2A47}
.oh-visit .oh-form__actions{margin-top:14px}
.oh-visit__actions[hidden], .oh-visit__sent[hidden]{display:none}
.oh-visit .oh-visit__sent{margin:14px auto 0; font-size:.9rem; color:#0E2A47}
.oh-visit__sent strong{font-weight:600}
.oh-visit__ask[aria-disabled="true"]{opacity:.6; cursor:wait}
.oh-loop{text-align:center}
.oh-loop[hidden]{display:none}
.oh-rule{display:block; width:48px; height:1px; margin:30px auto 22px; background:#B8954A}
.oh-loop p{margin:0 auto 14px; max-width:44ch; font-size:.85rem; line-height:1.6; color:#5B5B55}
.oh-loop .oh-loop__title{margin-bottom:6px; font-family:"Tenor Sans", var(--font); font-size:.95rem; letter-spacing:.14em;
  text-transform:uppercase; color:#0E2A47}

.oh-link{padding:0; border:0; background:none; font:inherit; font-size:.8rem; color:#0E2A47;
  text-decoration:underline; text-underline-offset:3px; cursor:pointer}
.oh-link:hover{color:#8A6D2F}

@media (max-width:520px){
  .oh-frame{padding:28px 18px 20px}
  .oh-dialog h2{font-size:1.2rem}
  .oh-visit{padding:18px 16px}
}
