/* The catalog loads route styles on navigation. Scope the form to its persistent main region. */
#om-main:has(.om-sell-intro) {
  --estimate-gap: clamp(20px, 3.2vw, 52px);
  --estimate-muted: #555;
  --estimate-border: #b6b6b6;
  --estimate-surface: #f3f3f3;
}
#om-main :is(.om-sell-intro,.om-form-help,.om-form-faq,.om-valuation) .om-eyebrow { color: #555; }
#om-main .om-sell-intro { padding-block: clamp(28px, 5vw, 78px) 25px; }
#om-main .om-sell-intro h1,
#om-main .om-valuation__heading h1 {
  margin: 11px 0 15px;
  color: #111;
  font: 800 clamp(2.55rem, 5.2vw, 5.7rem)/1.02 var(--om-sans);
  letter-spacing: -.055em;
  text-wrap: balance;
}
#om-main .om-sell-intro h1 em,
#om-main .om-valuation :is(h1, h2) em,
#om-main .om-form-help h2 em,
#om-main .om-form-faq h2 em { color: inherit; font: inherit; }
#om-main .om-sell-intro > p:last-child { max-width: 39ch; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.56; }
#om-main .om-form-layout { gap: var(--estimate-gap); }
#om-main .om-form-panel {
  padding: clamp(18px, 3vw, 48px);
  border-radius: 22px;
  background: var(--estimate-surface);
}
#om-main .om-form-help {
  display: grid;
  grid-template-columns: minmax(74px, .34fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid #d8d8d8;
}
#om-main .om-help-portrait {
  width: 100%; max-width: 125px; margin: 0;
  aspect-ratio: 1; object-fit: cover; object-position: center top;
  border-radius: 50%; filter: grayscale(1);
}
#om-main .om-form-help h2,
#om-main .om-estimate__heading h2,
#om-main .om-estimate-success h2 {
  margin: 0 0 10px;
  color: #111;
  font: 800 clamp(1.55rem, 2.45vw, 2.6rem)/1.12 var(--om-sans);
  letter-spacing: -.045em;
  text-wrap: balance;
}
#om-main .om-form-help h2 { margin: 6px 0 12px; font-size: clamp(1.4rem, 2vw, 2rem); }
#om-main .om-form-help h2 br { display: none; }
#om-main .om-form-help p.om-eyebrow { margin: 0; }
#om-main .om-form-help :is(.om-help-phone,.om-help-email) { width: fit-content; overflow-wrap: anywhere; min-height: 44px; line-height: 1.4; text-decoration: underline; text-underline-offset: .22em; }
#om-main .om-form-help .om-help-phone { margin-top: 7px; font-size: 16px; font-weight: 750; }
#om-main .om-form-faq { gap: 25px; }
#om-main .om-form-faq h2,
#om-main .om-valuation :is(.om-valuation__comparison,.om-valuation__next,.om-valuation__explanation) h2 {
  margin: 12px 0; color: #111;
  font: 800 clamp(2rem, 3.6vw, 3.8rem)/1.04 var(--om-sans);
  letter-spacing: -.05em; text-wrap: balance;
}
#om-main .om-form-faq details summary { justify-content: space-between; font-weight: 700; }
#om-main .om-form-faq details summary::after { content: '+'; color: #555; font-size: 22px; font-weight: 500; }
#om-main .om-form-faq details[open] summary::after { content: '−'; }
#om-main .om-form-faq details > p { max-width: 65ch; }

#om-main .om-estimate {
  color: #111; font-family: var(--om-sans);
  --estimate-line: #b6b6b6; --estimate-accent: #111;
}
#om-main .om-estimate :is(button,input,select,textarea) { font-family: inherit; }
#om-main .om-estimate :is(a,button,input,select,textarea,summary):focus-visible,
#om-main .om-estimate-upload__input:focus-visible + label { outline: 2px solid #111; outline-offset: 3px; }
#om-main .om-estimate__progress-copy { color: #454545; font-weight: 750; letter-spacing: .01em; }
#om-main .om-estimate__progress { height: 4px; background: #d3d3d3; }
#om-main .om-estimate__progress > span { background: #111; }
#om-main .om-estimate__heading { margin-bottom: 25px; }
#om-main .om-estimate__heading p { color: var(--estimate-muted); }
#om-main .om-estimate__fields--types { gap: 9px; }
#om-main .om-estimate-type {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 13px; padding: clamp(14px, 1.8vw, 25px); min-height: clamp(88px, 8.5vw, 120px);
  background: #fff; color: #111; border: 1px solid #b6b6b6; border-radius: 13px;
  cursor: pointer;
}
#om-main .om-estimate-type > span { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 750; letter-spacing: -.025em; }
#om-main .om-estimate-type .om-icon { width: 24px; height: 24px; }
#om-main .om-estimate-option,
#om-main details.om-estimate__option-group {
  background: #fff; color: #111; border: 1px solid var(--estimate-border); border-radius: 12px;
}
#om-main .om-estimate-option { cursor: pointer; }
#om-main .om-estimate-type:hover,
#om-main .om-estimate-option:hover { border-color: #111; background: #fafafa; }
#om-main .om-estimate-option.is-selected { border-color: #111; background: #fff; box-shadow: inset 0 0 0 1px #111; }
#om-main .om-estimate-option__check { color: #555; border-color: #888; }
#om-main .om-estimate-option.is-selected .om-estimate-option__check { border-color: #111; background: #111; color: #fff; }
#om-main .om-estimate-option__sum,
#om-main .om-estimate__group-toggle,
#om-main .om-estimate-field > label,
#om-main details.om-estimate__option-group > summary { color: #111; }
#om-main .om-estimate__group-title,
#om-main .om-estimate__loading,
#om-main .om-estimate-field__optional,
#om-main .om-estimate-field__unit,
#om-main .om-estimate-extra__value,
#om-main .om-estimate__start-note,
#om-main .om-estimate__privacy,
#om-main .om-estimate-upload__hint,
#om-main .om-estimate__option-group > summary > span:first-child > span,
#om-main .om-estimate-success > p:not(.om-eyebrow) { color: var(--estimate-muted); }
#om-main .om-estimate-field :is(input,textarea,select),
#om-main .om-estimate-extra input { color: #111; background-color: #fff; border-color: #999; border-radius: 9px; }
#om-main .om-estimate-field :is(input,textarea)::placeholder { color: #696969; }
#om-main .om-estimate [aria-invalid=true] { border: 2px solid #111; background: #fff; }
#om-main .om-estimate-field__error,
#om-main .om-estimate__validation { color: #111; font-weight: 700; }
#om-main .om-estimate__notice { padding: 16px 18px; border: 1px solid #aaa; border-left: 4px solid #111; border-radius: 9px; background: #fff; }
#om-main .om-estimate__actions { flex-wrap: wrap; border-color: #ccc; }
#om-main .om-estimate__actions .om-button,
#om-main .om-estimate__notice .om-button,
#om-main .om-estimate-success .om-button { background: #111; color: #fff; border: 1px solid #111; border-radius: 999px; font-size: 15px; font-weight: 750; padding-inline: 20px; }
#om-main .om-estimate__actions .om-button:not(:disabled):hover,
#om-main .om-estimate__notice .om-button:hover { background: #383838; }
#om-main .om-estimate__back,
#om-main .om-estimate__text-button,
#om-main .om-estimate__help-links > a,
#om-main .om-estimate-extra__remove,
#om-main .om-estimate-upload__files button { color: #111; }
#om-main .om-estimate__back:hover,
#om-main .om-estimate__text-button,
#om-main .om-estimate__help-links > a { text-decoration: underline; text-underline-offset: .2em; }
#om-main .om-estimate-extra__panel { background: #fff; border-color: var(--estimate-border); border-radius: 0 0 10px 10px; }
#om-main .om-estimate-extra:has(.om-estimate-extra__panel) > .om-estimate-option { border-radius: 10px 10px 0 0; }
#om-main .om-estimate-upload__pick { background: #fff; color: #111; border-color: #888; border-radius: 10px; }
#om-main .om-estimate-upload__files li { color: #111; border-color: #ccc; }
#om-main .om-estimate-success__mark { border-color: #111; background: #111; color: #fff; }

/* The delivered price opinion has its own existing public link. */
#om-main .om-valuation__back { text-decoration: underline; text-underline-offset: .22em; }
#om-main .om-valuation__heading h1 { max-width: 15ch; }
#om-main .om-valuation-card,
#om-main .om-valuation__state { border: 0; border-radius: 20px; background: #f3f3f3; }
#om-main .om-valuation-card--primary { padding: clamp(22px, 3.5vw, 54px); background: #111; color: #fff; }
#om-main .om-valuation-card__title,
#om-main .om-valuation__steps h3 { font: 750 clamp(1.35rem, 2.2vw, 2.2rem)/1.16 var(--om-sans); letter-spacing: -.04em; }
#om-main .om-valuation-card__price { color: inherit; font-weight: 800; font-variant-numeric: tabular-nums; }
#om-main .om-valuation-card--primary .om-valuation-card__price { font-size: clamp(2.1rem, 4.8vw, 4.8rem); line-height: 1.04; letter-spacing: -.06em; }
#om-main .om-valuation-card--primary :is(.om-valuation-card__label,.om-valuation-card__per-meter,.om-valuation-card__facts li > span) { color: #ccc; }
#om-main .om-valuation-card--primary .om-valuation-card__facts { border-color: #555; }
#om-main .om-valuation__contact img { filter: grayscale(1); }
#om-main .om-valuation__contact a,
#om-main .om-valuation__phone { text-decoration: underline; text-underline-offset: .22em; }
#om-main .om-valuation__steps { gap: 12px; }
#om-main .om-valuation__steps article { padding: 22px; border: 0; border-radius: 14px; background: #f3f3f3; }

@media (min-width: 800px) {
  #om-main:has(> .om-sell-intro) {
    display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
    align-content: start; align-items: start; column-gap: var(--estimate-gap);
    width: var(--valuation-content-width, min(1440px, calc(100% - 2 * clamp(16px,3.25vw,48px))));
    margin-inline: auto; padding-top: clamp(45px, 5vw, 80px);
  }
  #om-main .om-sell-intro { grid-area: 1 / 1; width: auto; margin: 0; padding: 8px 0 28px; }
  #om-main .om-sell-intro h1 { max-width: 10ch; }
  #om-main .om-form-layout { display: contents; }
  #om-main .om-form-panel { grid-area: 1 / 2 / span 2; }
  #om-main .om-form-help { grid-area: 2 / 1; width: min(100%, 400px); align-self: end; margin-top: 18px; }
  #om-main .om-form-faq { grid-column: 1/-1; width: 100%; gap: var(--estimate-gap); }
}
@media (min-width: 760px) and (max-width: 799px) {
  #om-main .om-form-layout { grid-template-columns: minmax(0, 1fr); }
  #om-main .om-form-help { max-width: 480px; }
}
@media (max-width: 399px) {
  #om-main .om-sell-intro h1 { font-size: 2.38rem; }
  #om-main .om-form-panel { padding: 17px 14px; border-radius: 16px; }
  #om-main .om-form-help { grid-template-columns: 63px minmax(0, 1fr); }
}
