/* Open House Marketing Center (/partners/open-house) — page-local styles. Everything else comes from css/styles.css. */
.oh-hero-note { font-size: .95rem; opacity: .9; max-width: 640px; margin-top: 10px; }
.oh-intro { text-align: center; }
.oh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px auto 0; max-width: 900px; }
@media (max-width: 760px) { .oh-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .oh-steps { grid-template-columns: 1fr; } }
.oh-step { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-weight: 600; color: var(--navy); text-align: left; }
.oh-step .num, .oh-fieldset legend .num { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--navy); color: #fff; border-radius: 50%; font-weight: 800; flex: none; font-size: .9rem; }

.oh-card { max-width: 860px; margin: 0 auto; padding: 26px 22px; }
@media (max-width: 600px) { .oh-card { padding: 18px 14px; border-radius: 10px; } }
.oh-fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.oh-fieldset legend { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding: 0; }
.oh-sub { font-size: 1rem; color: var(--gray); margin: 12px 0 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.field-wide { grid-column: 1 / -1; }
.req { color: var(--green); margin-left: 2px; }
.opt { color: var(--gray-light); font-weight: 500; font-size: .85rem; }
.field input[type="date"], .field input[type="time"] { min-height: 48px; }
.oh-times { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 600px) { .oh-times { grid-template-columns: 1fr; } }
.oh-more { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 10px 14px; margin: 4px 0 16px; }
.oh-more summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 4px 0; }
.oh-more[open] summary { margin-bottom: 10px; }
.oh-privacy { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 4px; }

/* Checkbox cards: real <input type=checkbox> inside the label; the box is drawn, the input stays focusable and announced. */
.oh-materials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 10px; }
@media (max-width: 640px) { .oh-materials { grid-template-columns: 1fr; } }
.oh-check { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; background: #fff; min-height: 56px; }
.oh-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.oh-check .box { flex: none; width: 22px; height: 22px; border: 2px solid var(--gray-light); border-radius: 6px; margin-top: 2px; background: #fff; }
.oh-check .txt { display: flex; flex-direction: column; gap: 2px; }
.oh-check .txt strong { color: var(--ink); }
.oh-check .txt small { color: var(--gray); font-size: .83rem; }
.oh-check:hover { border-color: var(--green); }
.oh-check input:focus-visible ~ .box { outline: 3px solid rgba(31,138,76,.35); outline-offset: 2px; }
.oh-check input:checked ~ .box { background: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
.oh-check input:checked ~ .txt strong { color: var(--green-dark); }
.oh-check.is-checked { border-color: var(--green); background: var(--green-light); }
.oh-check input:disabled ~ .box { background: var(--bg-soft); border-color: var(--line); }
.oh-check input:disabled ~ .txt { opacity: .55; }
.oh-check.is-disabled { cursor: not-allowed; background: var(--bg-soft); }
.oh-license-note { background: #fff7e6; border: 1px solid #f3d9a4; color: var(--ink); border-radius: var(--radius-sm); padding: 10px 12px; }

.oh-consent { font-size: .95rem; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 8px; }
.oh-consent input { margin-top: 3px; flex: none; width: 20px; height: 20px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.field .field-error { display: block; color: #c0392b; font-size: .85rem; margin-top: 6px; }
.form-error { color: #c0392b; font-weight: 600; }
.oh-submit { position: sticky; bottom: 0; background: #fff; padding: 14px 0 6px; border-top: 1px solid var(--line); margin-top: 8px; text-align: center; }
.oh-submit .btn { width: 100%; max-width: 420px; min-height: 52px; font-size: 1.05rem; }
.oh-confirm { max-width: 860px; margin: 0 auto; }
.oh-confirm dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 16px 0 0; }
.oh-confirm dt { color: var(--gray); font-weight: 600; }
.oh-confirm dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.oh-confirm .rid { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 800; color: var(--navy); font-size: 1.1rem; }
@media (max-width: 480px) { .oh-confirm dl { grid-template-columns: 1fr; gap: 2px 0; } .oh-confirm dd { margin-bottom: 8px; } }

/* ===== v48 (2026-10-09): four-stage form, role cards, uploads, address autocomplete, review ===== */
.oh-stepbar { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 22px; padding: 0; }
.oh-stepbar li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--gray); font-weight: 600; font-size: .86rem; border: 1.5px solid transparent; }
.oh-stepbar li .num { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--gray); font-size: .8rem; flex: none; }
.oh-stepbar li.is-current { background: #fff; border-color: var(--green); color: var(--navy); }
.oh-stepbar li.is-current .num { background: var(--green); border-color: var(--green); color: #fff; }
.oh-stepbar li.is-done { color: var(--navy); cursor: pointer; }
.oh-stepbar li.is-done .num { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 640px) { .oh-stepbar { grid-template-columns: repeat(4, 1fr); gap: 4px; } .oh-stepbar li { padding: 8px 6px; justify-content: center; } .oh-stepbar li .lbl { display: none; } .oh-stepbar li.is-current .lbl { display: inline; } }
.oh-stage[hidden] { display: none; }
.oh-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.oh-nav .btn { min-height: 48px; }
@media (max-width: 480px) { .oh-nav { flex-direction: column-reverse; } .oh-nav .btn { width: 100%; } }

.oh-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 4px; }
@media (max-width: 640px) { .oh-roles { grid-template-columns: 1fr; } }
.oh-radio { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; background: #fff; }
.oh-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.oh-radio .dot { flex: none; width: 22px; height: 22px; border: 2px solid var(--gray-light); border-radius: 50%; margin-top: 2px; background: #fff; }
.oh-radio .txt { display: flex; flex-direction: column; gap: 2px; }
.oh-radio .txt strong { color: var(--ink); }
.oh-radio .txt small { color: var(--gray); font-size: .83rem; }
.oh-radio:hover { border-color: var(--green); }
.oh-radio input:focus-visible ~ .dot { outline: 3px solid rgba(31,138,76,.35); outline-offset: 2px; }
.oh-radio input:checked ~ .dot { border-color: var(--green); background: radial-gradient(circle, var(--green) 45%, #fff 50%); }
.oh-radio.is-checked { border-color: var(--green); background: var(--green-light); }
.oh-person { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 14px 2px; margin: 12px 0; }
.oh-person h4 { margin: 0 0 10px; color: var(--navy); font-size: .95rem; }
.oh-inline-check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink); margin: 6px 0 12px; }
.oh-inline-check input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.oh-inline-check.has-error { color: #c0392b; }

.oh-upload input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oh-upload { position: relative; margin-bottom: 8px; }
.oh-drop { display: flex; gap: 14px; align-items: center; border: 2px dashed var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.oh-drop:hover, .oh-drop.is-over { border-color: var(--green); background: var(--green-light); }
.oh-drop:focus-visible { outline: 3px solid rgba(31,138,76,.35); outline-offset: 2px; }
.oh-drop.is-busy { opacity: .6; pointer-events: none; }
.oh-drop-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.oh-drop-txt strong { color: var(--navy); font-size: .95rem; }
.oh-drop-txt small { color: var(--gray); font-size: .83rem; }
.oh-pick { flex: none; white-space: nowrap; }
@media (max-width: 560px) { .oh-drop { flex-wrap: wrap; } .oh-pick { width: 100%; text-align: center; } }
.oh-preview { flex: none; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--gray-light); font-weight: 800; font-size: 1.3rem; }
.oh-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-preview-round { width: 64px; height: 64px; border-radius: 50%; }
.oh-preview-wide { width: 96px; height: 64px; border-radius: 8px; }
.oh-upload-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; background: var(--green-light); border: 1.5px solid var(--green); border-radius: var(--radius-sm); font-size: .9rem; color: var(--green-dark); }
.oh-upload.has-file .oh-pick { display: none; }
.oh-upload.has-file .oh-drop { border-style: solid; border-color: var(--green); cursor: default; }
.oh-upload-actions { margin-top: 8px; }
.oh-upload-actions .oh-file-note { flex: 1; min-width: 160px; }
.oh-upload-actions button { background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; color: var(--navy); font-weight: 600; }
.oh-upload-actions button:hover { border-color: var(--green); }

.oh-addr { position: relative; }
.oh-suggest { list-style: none; margin: 0; padding: 4px 0; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(19,52,77,.14); max-height: 280px; overflow: auto; }
.oh-suggest li { display: flex; flex-direction: column; padding: 9px 14px; cursor: pointer; }
.oh-suggest li strong { color: var(--ink); font-size: .95rem; }
.oh-suggest li span { color: var(--gray); font-size: .83rem; }
.oh-suggest li:hover, .oh-suggest li.is-active { background: var(--green-light); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--green-dark); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.oh-addr-parts { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 14px 0; margin: 0 0 14px; }
.oh-fin { padding: 12px 14px 2px; }
.oh-fin h4 { margin: 0 0 10px; color: var(--navy); font-size: .95rem; }

.oh-review { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.oh-review dt { color: var(--gray); font-weight: 600; font-size: .9rem; }
.oh-review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 480px) { .oh-review { grid-template-columns: 1fr; gap: 2px 0; } .oh-review dd { margin-bottom: 8px; } }

.oh-upload-actions[hidden], .oh-inline-check[hidden], .oh-person[hidden], .oh-fin[hidden], .oh-addr-parts[hidden], .oh-suggest[hidden], .oh-stepbar li[hidden], .oh-nav[hidden] { display: none !important; }
