/* Dream Home — forms, stepper, upload, success panel, toast. Field chrome itself = DS TextField (components.css). */
.dh-form { display: grid; gap: var(--space-5); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.form-note .dh-icon { flex: none; margin-top: 2px; color: var(--brand); }
.form-legend { font-family: var(--font-display); font-size: 19px; line-height: 30px; font-weight: 600; margin-bottom: var(--space-2); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Choice cards (radio as cards) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--space-3); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); min-height: 92px; padding: var(--space-3); text-align: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); font-weight: 600; font-size: 14px; line-height: 20px; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.choice span .dh-icon { color: var(--brand); }
.choice input:hover + span { border-color: var(--brand); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { box-shadow: var(--focus-ring); }
.choice-error { margin-top: var(--space-2); font-size: 13px; color: var(--sold); }

/* Stepper */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-bottom: var(--space-6); counter-reset: step; }
.step { position: relative; display: flex; align-items: center; gap: var(--space-3); padding-bottom: var(--space-3); color: var(--ink-muted); font-size: 14px; font-weight: 600; border-bottom: 3px solid var(--line); transition: color .2s ease, border-color .2s ease; }
.step-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); font-size: 14px; background: var(--surface-raised); }
.step.is-now { color: var(--ink); border-color: var(--brand); }
.step.is-now .step-num { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.step.is-done { color: var(--ink); border-color: var(--brand); }
.step.is-done .step-num { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
@media (max-width: 599px) { .step-label { display: none; } .step.is-now .step-label { display: inline; } }
.step-panel[hidden] { display: none; }
.step-actions { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); }
.step-actions .dh-btn-ghost .dh-icon-dir { transform: scaleX(-1); }
[dir="ltr"] .step-actions .dh-btn-ghost .dh-icon-dir { transform: none; }

/* Upload */
.upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-6) var(--space-4); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--surface-sunken); text-align: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.upload:hover, .upload.is-drag { border-color: var(--brand); background: var(--brand-soft); }
.upload .dh-icon { color: var(--brand); }
.upload strong { font-size: 15px; }
.upload small { color: var(--ink-muted); font-size: 13px; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { box-shadow: var(--focus-ring); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-sunken); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; inset-inline-end: 4px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-full); background: var(--scrim); color: #fff; cursor: pointer; }

/* Summary (review step) */
.summary { display: grid; gap: var(--space-2); padding: var(--space-4); background: var(--surface-sunken); border-radius: var(--radius-sm); font-size: 15px; }
.summary div { display: flex; gap: var(--space-3); }
.summary dt { color: var(--ink-muted); min-width: 120px; }
.summary dd { font-weight: 600; }

/* Success panel */
.form-success { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; padding: var(--space-6) var(--space-4); outline: none; }
.form-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--radius-full); background: var(--available-soft); color: var(--available); }
.form-success h3 { font-size: 22px; line-height: 32px; }

/* Toast */
.toast { position: fixed; z-index: 200; inset-inline-start: 50%; bottom: calc(var(--space-6) + 60px); translate: 50% 0; padding: var(--space-3) var(--space-5); border-radius: var(--radius-sm); background: var(--ink); color: var(--surface); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
[dir="ltr"] .toast { translate: -50% 0; }
.toast.is-on { opacity: 1; transform: none; }
@media (min-width: 768px) { .toast { bottom: var(--space-6); } }

/* List-your-property page */
.lp-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: start; }
.lp-info { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
.lp-media { position: relative; margin: 0; aspect-ratio: 4 / 3; }
.lp-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-steps { list-style: none; display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.lp-steps li { display: flex; gap: var(--space-4); align-items: flex-start; }
.lp-steps p { color: var(--ink-muted); font-size: 15px; line-height: 26px; }
.lp-step-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--brand); color: var(--on-brand); font-family: var(--font-display); font-weight: 700; }
@media (max-width: 1023px) { .lp-layout { grid-template-columns: 1fr; } .lp-info { position: static; } .lp-media { display: none; } }
.consent { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 15px; line-height: 24px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.services-list--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-list--grid li { flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-5); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.services-list--grid .svc-icon { width: 48px; height: 48px; }
@media (max-width: 1023px) { .services-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .services-list--grid { grid-template-columns: 1fr; } }
