
@font-face { font-family: p22-mackinac-pro; src: url("https://use.typekit.net/af/221692/00000000000000007735b3da/31/l?subset_id=2&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/221692/00000000000000007735b3da/31/d?subset_id=2&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/221692/00000000000000007735b3da/31/a?subset_id=2&fvd=n4&v=3") format("opentype"); font-weight: 400; font-style: normal; font-stretch: normal; font-display: swap; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

    :root {
      /* Brand tokens and font families verified against the supplied StayNue.mhtml.
         Images, the wordmark, and Inter are bundled. P22 Mackinac Pro loads from Adobe Fonts. */
      --brand: #a74d4a;
      --brand-hover: #913f3d;
      --paper: #f5f5f5;
      --ink: #121212;
      --muted: #686360;
      --white: #ffffff;
      --line: #e2dfdd;
      --stone: #eae6e1;
      --sage: #818b7e;
      --stone-line: #d8d2ca;
      --body: 'Inter', Arial, sans-serif;
      --display: 'p22-mackinac-pro', Georgia, 'Times New Roman', serif;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { font: inherit; cursor: pointer; }
    a { color: inherit; text-decoration: none; }
    a:hover { text-decoration: underline; text-underline-offset: 4px; }
    button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
    button:disabled { cursor: default; }
    svg { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--brand); color: white; border-radius: 6px; }
    .skip-link:focus { top: 14px; }
    .shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
    .site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
    .header-inner { height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
    .brand-lockup { display: flex; align-items: center; gap: 27px; }
    .brand { display: flex; align-items: center; line-height: 1; }
    .brand-image { display: block; width: 177px; height: auto; }
    .brand-divider { width: 1px; height: 23px; background: var(--line); }
    .portal-label { font-size: 12px; color: var(--muted); }
    .header-right { display: flex; gap: 25px; align-items: center; }
    .help-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; }
    .help-link svg { width: 17px; height: 17px; }

    .welcome { text-align: center; padding: 37px 20px 34px; }
    .eyebrow { color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 17px; }
    h1 { font-family: var(--display); color: var(--brand); font-size: clamp(42px, 5.5vw, 68px); line-height: 1.2; letter-spacing: -.03em; font-weight: 400; margin: 0 0 18px; }
    .eyebrow-mark { display: none; }
    .intro { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; }
    .property-tag { display: inline-flex; gap: 8px; align-items: center; margin-top: 21px; padding: 9px 14px; border-radius: 100px; border: 1px solid var(--line); font-size: 11px; color: var(--muted); background: transparent; }
    .property-tag svg { width: 14px; height: 14px; color: var(--brand); }
    .gallery-section { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
    .gallery-viewport { overflow: hidden; border-radius: 5px; position: relative; isolation: isolate; touch-action: pan-y; cursor: grab; }
    .gallery-viewport:active { cursor: grabbing; }
    .gallery-track { display: flex; width: max-content; gap: 14px; will-change: transform; }
    .photo-set { display: flex; gap: 14px; flex-shrink: 0; }
    .photo { position: relative; width: 370px; height: 252px; margin: 0; overflow: hidden; border-radius: 5px; background: #e6e0db; flex-shrink: 0; }
    .photo:nth-child(2) { width: 330px; }
    .photo:nth-child(3) { width: 370px; }
    .photo:nth-child(4) { width: 330px; }
    .photo img { width: 100%; height: 100%; display: block; object-fit: cover; user-select: none; pointer-events: none; }
    .photo .photo-fallback { display: none; position: absolute; inset: 0; flex-direction: column; gap: 9px; align-items: center; justify-content: center; text-align: center; padding: 25px; color: var(--muted); font-size: 11px; }
    .photo-fallback strong { font-size: 14px; font-weight: 500; }
    .photo.image-error .photo-fallback { display: flex; }
    .photo.image-error img { visibility: hidden; }
    .gallery-meta { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
    .sample-note { font-size: 10px; line-height: 1.5; color: var(--muted); margin: 0; }
    .sample-note span { display: inline-block; width: 5px; height: 5px; background: var(--brand); border-radius: 50%; margin-right: 6px; vertical-align: 2px; }
    .gallery-controls { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
    .icon-button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
    .icon-button svg { width: 13px; height: 13px; }
    .icon-button:hover { background: var(--stone); border-color: var(--brand); color: var(--brand); }
    .icon-button:focus-visible { outline-offset: 3px; }
    .motion-button { width: auto; padding: 0 12px; gap: 6px; border-radius: 100px; font-size: 10px; }
    .info-section { padding-top: 30px; padding-bottom: 35px; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
    .contact-card { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 29px 32px 27px; min-width: 0; }
    .card-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 23px; color: var(--muted); font-family: var(--body); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.4px; }
    .card-heading svg { width: 16px; height: 16px; color: var(--brand); }
    .client-name { font-family: var(--display); color: var(--brand); font-size: 28px; line-height: 1.25; font-weight: 400; letter-spacing: -.5px; margin: 0 0 17px; }
    .contact-line { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.7; margin: 12px 0 0; min-width: 0; }
    .contact-line svg { width: 16px; height: 16px; color: var(--muted); margin-top: 3px; }
    .contact-line a { overflow-wrap: anywhere; }
    .address-copy { margin: 0; font-style: normal; }
    .address-copy strong { font-weight: 400; }
    .address-copy span { color: var(--muted); }
    .specialist-card { background: var(--stone); border-color: var(--stone-line); }
    .specialist-card .card-heading { color: var(--brand); }
    .specialist-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
    .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: white; display: grid; place-items: center; font-size: 15px; font-weight: 400; flex-shrink: 0; }
    .specialist-name { font-family: var(--display); color: var(--brand); font-size: 27px; line-height: 1.25; font-weight: 400; letter-spacing: -.5px; margin: 0 0 5px; }
    .specialist-role { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 0; }
    .specialist-note { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--stone-line); }
    .detail-note { text-align: center; font-size: 10px; color: var(--muted); margin: 17px 0 0; line-height: 1.7; }
    .detail-note a { text-decoration: underline; text-underline-offset: 3px; }



    .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 48px; background: var(--brand); color: var(--paper); border-radius: 8px; border: 1px solid var(--brand); font-size: 14.4px; font-weight: 500; line-height: 1.2; transition: background .18s; white-space: nowrap; }
    .primary-button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
    .primary-button svg { width: 18px; height: 18px; }
    .site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 20px 0 24px; }
    .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 9px; line-height: 1.6; }
    .footer-brand { display: block; width: 74px; height: auto; }
    .photo-credit { border: 0; background: none; color: inherit; font-size: 9px; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
    dialog { max-width: 470px; width: calc(100% - 40px); border: 1px solid var(--line); border-radius: 12px; padding: 34px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 90px #0002; }
    dialog::backdrop { background: #29292960; backdrop-filter: blur(4px); }
    dialog h2 { font-family: var(--display); color: var(--brand); font-size: 30px; line-height: 1.25; letter-spacing: -.7px; font-weight: 400; margin: 0 0 14px; }
    dialog p { font-size: 13px; line-height: 1.8; color: var(--muted); }
    dialog .primary-button { margin-top: 14px; width: 100%; }
    dialog .eyebrow { font-size: 9px; }
    dialog ul { font-size: 12px; line-height: 1.8; color: var(--muted); padding-left: 18px; }
    dialog li { margin-block: 7px; }
    dialog li a { text-decoration: underline; text-underline-offset: 3px; }
    .motion-description { font-size: 9px; color: var(--muted); }
    @media (min-width: 1500px) { .welcome { padding-top: 52px; } }
    @media (max-width: 900px) {
      .shell { width: calc(100% - 48px); }
      .gallery-section { width: calc(100% - 32px); }
      .contact-card { padding: 25px; }
      .brand-lockup { gap: 17px; }
      .header-right { gap: 16px; }
      .photo { width: 340px; height: 230px; }
      .photo:nth-child(2), .photo:nth-child(4) { width: 310px; }
      .photo:nth-child(3) { width: 340px; }
      .specialist-name { font-size: 24px; }
    }
    @media (max-width: 640px) {
      .shell { width: calc(100% - 40px); }
      .header-inner { height: 80px; }
      .brand-image { width: 151px; }
      .brand-divider, .portal-label, .help-link span { display: none; }
      .help-link svg { width: 19px; height: 19px; }
      .header-right { gap: 17px; }

      .welcome { padding: 29px 16px 29px; }
      .eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 17px; }
      h1 { font-size: clamp(35px, 10.5vw, 47px); letter-spacing: -1.3px; margin-bottom: 16px; }
      .intro { font-size: 13px; line-height: 1.85; }
      .property-tag { margin-top: 18px; font-size: 10px; padding: 8px 11px; gap: 6px; }
      .property-tag svg { width: 12px; height: 12px; }
      .gallery-section { width: calc(100% - 24px); }
      .gallery-track, .photo-set { gap: 10px; }
      .photo, .photo:nth-child(2), .photo:nth-child(3), .photo:nth-child(4) { height: 216px; width: 280px; }
      .gallery-meta { gap: 8px; margin-top: 10px; padding-inline: 4px; }
      .sample-note { font-size: 9px; max-width: 180px; }
      .gallery-controls { gap: 5px; }
      .motion-description { display: none; }
      .icon-button { width: 44px; height: 44px; }
      .motion-button { width: auto; padding: 0 9px; font-size: 9px; }
      .info-section { padding-top: 25px; }
      .contact-grid { grid-template-columns: 1fr; gap: 16px; }
      .contact-card { padding: 25px; }
      .card-heading { margin-bottom: 22px; font-size: 9px; }
      .client-name, .specialist-name { font-size: 26px; }
      .contact-line { font-size: 13px; }
      .detail-note { font-size: 10px; margin-top: 17px; }


      .primary-button { padding: 17px 25px; justify-content: center; }
      .footer-inner { flex-wrap: wrap; justify-content: center; gap: 9px 15px; font-size: 9px; }
      .footer-brand { width: 68px; }
      .site-footer { padding: 19px 0; }
    }
    @media (max-width: 359px) {
      .brand-image { width: 136px; }
      .header-right { gap: 13px; }
      .specialist-profile { gap: 11px; }
      .specialist-name { font-size: 23px; }
      .avatar { width: 44px; height: 44px; }
      .card-heading { letter-spacing: 1.1px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; }
    }


    .header-start { display: flex; align-items: center; gap: 40px; min-width: 0; }
    .portal-nav { display: flex; align-items: center; align-self: stretch; }
    .nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 3px; font-size: 13px; font-weight: 500; border-bottom: 2px solid transparent; }
    .nav-link[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
    .nav-link:hover { text-decoration: none; }
    .hero-actions { display: flex; justify-content: center; margin-top: 23px; }
    .hero-actions .primary-button { min-height: 52px; gap: 24px; }
    .welcome { scroll-margin-top: 24px; }
    .brand { flex-shrink: 0; }
    .sample-note { max-width: 390px; }
    .photo-credit { min-height: 44px; }
    .help-link { min-height: 44px; }
    .credit-dialog { max-height: calc(100dvh - 40px); overflow-y: auto; }
    @media (max-width: 1050px) { .header-start { gap: 25px; } .brand-lockup { gap: 18px; } }
    @media (max-width: 760px) { .brand-divider, .portal-label { display: none; } }
    @media (max-width: 640px) {
      .header-start { gap: 25px; }
      .brand-image { width: 142px; }
      .header-inner { gap: 12px; }
      .header-right { gap: 0; }
      .nav-link { font-size: 12px; }
      .help-link { width: 44px; justify-content: center; }
      .hero-actions { margin-top: 22px; }
      .hero-actions .primary-button { width: auto; min-width: 224px; gap: 25px; font-size: 13px; }
      .welcome { padding-bottom: 30px; }
      .gallery-meta { gap: 8px; flex-wrap: wrap; }
      .sample-note { max-width: 166px; font-size: 9px; }
      .gallery-controls { margin-left: auto; }
      .motion-button { font-size: 10px; padding: 0 10px; }
      .info-section { padding-bottom: 27px; }
    }
    @media (max-width: 359px) {
      .header-start { gap: 15px; }
      .header-inner { gap: 4px; }
      .brand-image { width: 120px; }
      .gallery-meta { justify-content: center; }
      .sample-note { max-width: none; width: 100%; text-align: center; }
      .gallery-controls { margin: 0 auto; }
    }

/* StayNue questionnaire. Scoped to the new view so the approved welcome page stays intact. */
[hidden] { display: none !important; }
.onboarding-view {
  --form-sage-ink: #50624c;
  --form-error: #8f3733;
  color: var(--ink);
  background: var(--paper);
  min-height: calc(100dvh - 96px);
  padding: 38px 0 42px;
}
.onboarding-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 830px);
  gap: clamp(30px, 4vw, 64px);
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  align-items: start;
}
.form-sidebar { position: sticky; top: 26px; min-width: 0; }
.property-summary { display: flex; align-items: center; gap: 13px; padding: 0 6px 26px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.property-thumb { width: 62px; height: 66px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.property-summary h2, .property-summary h3, .property-summary p { margin: 0; }
.property-summary h2, .property-summary h3, .property-name { font-family: var(--body); font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.property-summary p, .property-location { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.sidebar-eyebrow { margin: 0 10px 12px; font-size: 10px; color: var(--muted); letter-spacing: 1.5px; font-weight: 500; text-transform: uppercase; }
.journey-list { display: grid; gap: 4px; list-style: none; padding: 0; margin: 0; }
.journey-list li { min-width: 0; }
.journey-step { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px 12px; min-height: 65px; border: 1px solid transparent; border-radius: 8px; text-align: left; background: transparent; color: var(--muted); transition: background .15s, border-color .15s; }
.journey-step:hover { background: #eeeae6; }
.journey-step.active, .journey-step[aria-current="step"] { border-color: #d9c5bf; background: #f0e8e4; color: var(--brand); }
.step-index { width: 27px; height: 27px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #d7d2cd; border-radius: 50%; background: transparent; font-size: 10px; font-weight: 500; line-height: 1; }
.step-index svg { width: 13px; height: 13px; }
.journey-step.active .step-index, .journey-step[aria-current="step"] .step-index { border-color: var(--brand); color: #fff; background: var(--brand); }
.journey-step.complete:not(.active) .step-index, .journey-step.done:not(.active) .step-index { color: var(--form-sage-ink); background: #e5e9e1; border-color: #c7d0c0; }
.step-copy { display: block; min-width: 0; }
.step-title { display: block; font-size: 12px; line-height: 1.45; font-weight: 500; color: inherit; }
.step-meta { display: block; font-size: 10px; line-height: 1.5; font-weight: 400; color: var(--muted); margin-top: 3px; }
.journey-divider { height: 1px; margin: 13px 12px; background: var(--line); }
.sidebar-help { margin: 24px 0 0; padding: 20px 18px; background: var(--stone); border: 1px solid var(--stone-line); border-radius: 8px; }
.sidebar-help h3, .sidebar-help h4 { margin: 0 0 9px; font-family: var(--display); font-size: 20px; font-weight: 400; color: var(--brand); line-height: 1.3; }
.sidebar-help p { margin: 0 0 12px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.sidebar-help a { font-size: 11px; line-height: 1.6; text-underline-offset: 3px; text-decoration: underline; overflow-wrap: anywhere; }
.sidebar-help .help-contact { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.sidebar-help .help-contact svg { width: 15px; height: 15px; color: var(--brand); }
.form-main { min-width: 0; max-width: 830px; }
.form-context { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin: 2px 0 13px; }
.form-context .eyebrow { margin: 0; font-size: 10px; letter-spacing: 1.5px; }
.save-indicator { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 400; line-height: 1.5; color: var(--form-sage-ink); }
.save-indicator svg { width: 13px; height: 13px; }
.save-indicator.error { color: var(--form-error); }
.progress-track { height: 3px; border-radius: 3px; background: #e3dfda; overflow: hidden; margin-bottom: 29px; }
.progress-fill { height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .25s ease; }
.form-title { font-family: var(--display); font-size: clamp(32px, 3.8vw, 43px); font-weight: 400; color: var(--brand); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 12px; scroll-margin-top: 28px; outline: none; }
.form-description { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 650px; margin: 0 0 23px; }
.prefill-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 6px; background: var(--stone); color: #61574f; font-size: 11px; line-height: 1.75; margin: 0 0 22px; border: 1px solid #dfd8d0; }
.prefill-note svg { width: 16px; height: 16px; color: var(--brand); margin-top: 2px; }
.prefill-note p { margin: 0; }
.prefill-note strong { font-weight: 500; color: var(--ink); }
.substeps { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 22px; }
.substep { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 8px 12px; font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.substep:hover { background: var(--stone); }
.substep.active, .substep[aria-current="step"] { color: var(--brand); background: #fff; border-color: #d3b7ae; font-weight: 500; }
.substep.done::before { content: "✓"; color: var(--form-sage-ink); }
.substep .substep-number { color: inherit; opacity: .7; font-size: 10px; }
.mobile-section-picker { display: none; }
.question-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin: 0 0 18px; min-width: 0; }
.question-card-title { font-family: var(--display); font-size: 23px; line-height: 1.35; font-weight: 400; letter-spacing: -.02em; color: var(--ink); margin: 0 0 9px; }
.question-card-description { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0 0 23px; max-width: 640px; }
.question-card-title + .fields-grid { margin-top: 22px; }
.fields-grid { --field-row-gap: 23px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--field-row-gap) 20px; align-items: start; }
.fields-grid > .full, .field.full { grid-column: 1 / -1; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
@media (min-width: 641px) {
  .fields-grid { row-gap: 0; }
  .fields-grid > .field { margin-block-start: var(--field-row-gap); }
  .fields-grid > .field:first-child,
  .fields-grid > .field:not(.full):first-child + .field:not(.full) { margin-block-start: 0; }
  .fields-grid > .field:not(.full) {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .field-heading { grid-row: 1; align-self: end; display: flow-root; }
  .field-control { grid-row: 2; display: grid; align-self: end; min-width: 0; }
  .field-feedback { grid-row: 3; display: flow-root; }
}
fieldset.field { min-inline-size: 0; }
.field-label { display: block; font-family: var(--body); color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.65; margin: 0 0 8px; padding: 0; }
.field-label .optional { color: var(--muted); font-weight: 400; font-size: 10px; margin-left: 6px; }
.field-help { display: block; font-size: 11px; color: var(--muted); line-height: 1.7; margin: -1px 0 10px; }
.field-hint { display: block; font-size: 10px; line-height: 1.7; color: var(--muted); margin-top: 7px; }
.source-note { font-size: 10px; line-height: 1.7; color: var(--muted); margin: 10px 0 0; }
.source-note.needs-confirmation, .field-hint.needs-confirmation { padding-left: 10px; border-left: 2px solid var(--brand); color: #79453c; }
.prefill-badge { display: inline-block; padding: 3px 6px; border: 1px solid #ded8d1; border-radius: 4px; color: var(--muted); font-size: 9px; line-height: 1.2; font-weight: 400; margin-left: 7px; vertical-align: 1px; background: #f8f7f5; }
.onboarding-view input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]), .onboarding-view textarea, .onboarding-view select {
  width: 100%; max-width: 100%; min-width: 0; min-height: 46px; border: 1px solid #d6d1ca; border-radius: 6px; background: #fff; padding: 12px 13px; font-family: var(--body); font-size: 13px; line-height: 1.55; font-weight: 400; color: var(--ink); transition: border-color .15s, box-shadow .15s; box-sizing: border-box;
}
.onboarding-view input::placeholder, .onboarding-view textarea::placeholder { color: #8a827a; opacity: 1; }
.onboarding-view textarea { min-height: 104px; resize: vertical; }
.onboarding-view select { padding-right: 27px; cursor: pointer; }
.onboarding-view input[type="date"], .onboarding-view input[type="time"] { min-width: 0; }
.onboarding-view input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):focus, .onboarding-view textarea:focus, .onboarding-view select:focus { border-color: var(--brand); outline: 2px solid #a74d4a20; outline-offset: 1px; box-shadow: none; }
.onboarding-view input:disabled, .onboarding-view select:disabled, .onboarding-view textarea:disabled { color: #736b63; background: #f0eeeb; cursor: not-allowed; }
.onboarding-view input[aria-invalid="true"], .onboarding-view textarea[aria-invalid="true"], .onboarding-view select[aria-invalid="true"] { border-color: var(--form-error); }
.field-error { display: block; color: var(--form-error); font-size: 11px; line-height: 1.6; margin: 7px 0 0; }
.field-error:empty { display: none; }
.error-summary { border: 1px solid #c59e95; background: #faf1ee; color: #773e35; border-radius: 6px; padding: 16px; font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.error-summary p { margin: 0; }
.error-summary a { text-decoration: underline; text-underline-offset: 3px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; }
.choice-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid.single { grid-template-columns: 1fr; }
.choice { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 11px 12px; border: 1px solid #d9d4cd; border-radius: 6px; background: #fff; color: var(--ink); line-height: 1.55; cursor: pointer; min-width: 0; }
.choice:hover { background: #faf8f5; }
.choice:has(input:checked), .choice.selected { border-color: #b97e74; background: #f7f0ec; }
.choice:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.choice input[type="radio"], .choice input[type="checkbox"], .onboarding-view .check-line input { accent-color: var(--brand); flex: 0 0 auto; width: 16px; height: 16px; min-height: 0; margin: 0; cursor: pointer; }
.choice-copy { display: block; font-size: 12px; line-height: 1.55; min-width: 0; overflow-wrap: anywhere; }
.choice-copy strong { display: block; font-weight: 500; }
.choice-copy small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.6; margin-top: 3px; }
.check-line { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; line-height: 1.7; cursor: pointer; }
.check-line input { margin-top: 3px !important; }
.repeater { margin-top: 0; }
.repeat-item { border: 1px solid #e1dcd6; border-radius: 8px; background: #fbfaf8; padding: 21px; margin: 0 0 14px; }
.repeat-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.repeat-header h3, .repeat-header h4, .repeat-header p { font-family: var(--body); font-weight: 500; font-size: 12px; line-height: 1.5; margin: 0; }
.remove-item { border: 0; background: transparent; color: #83544c; padding: 8px 3px; min-height: 36px; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; flex-shrink: 0; }
.remove-item:hover { color: var(--brand-hover); }
.add-item { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 14px; background: transparent; border: 1px solid #ceb7ae; color: var(--brand); border-radius: 6px; font-size: 11px; font-weight: 500; }
.add-item:hover { background: #f8f1ed; }
.add-item svg { width: 14px; height: 14px; }
.upload-box { display: flex; flex-direction: column; gap: 9px; min-height: 104px; padding: 17px 18px; border: 1px dashed #cbbfb2; border-radius: 8px; background: #fbfaf8; font-size: 11px; color: var(--muted); line-height: 1.7; }
.upload-box strong { font-size: 12px; font-weight: 500; color: var(--ink); }
.upload-box input[type="file"] { width: 100%; min-width: 0; font-size: 11px; font-family: var(--body); color: var(--muted); margin: 0; padding: 0; line-height: 1.5; }
.upload-box input[type="file"]::file-selector-button { color: var(--brand); background: #fff; border: 1px solid #ccbcb0; border-radius: 5px; min-height: 38px; padding: 8px 13px; font: inherit; font-weight: 500; margin-right: 10px; cursor: pointer; }
.upload-box input[type="file"]::file-selector-button:hover { background: var(--stone); }
.file-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.file-list li { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.file-list .file-state { color: var(--muted); font-size: 10px; }
.file-list button { border: 0; background: none; color: var(--brand); font-size: 10px; padding: 6px; min-height: 30px; }
.secure-note { display: flex; align-items: flex-start; gap: 11px; padding: 16px 18px; margin: 0 0 21px; background: var(--stone); border: 1px solid var(--stone-line); border-radius: 7px; color: #65594d; font-size: 11px; line-height: 1.75; }
.secure-note svg { color: var(--brand); width: 17px; height: 17px; margin-top: 2px; }
.secure-note p { margin: 0; }
.secure-note strong { color: var(--ink); font-weight: 500; }
.secure-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; position: sticky; bottom: 0; z-index: 10; padding: 18px 0 20px; background: var(--paper); border-top: 1px solid #ddd7d0; margin-top: 24px; }
.form-actions-left, .form-actions-right { display: inline-flex; align-items: center; gap: 16px; }
.back-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 18px; color: var(--ink); background: #fff; border: 1px solid #d4ccc2; border-radius: 8px; font-size: 12px; }
.back-button svg { width: 15px; height: 15px; }
.back-button:hover { background: var(--stone); }
.back-button:disabled { opacity: .45; }
.next-button.primary-button { min-height: 46px; padding: 14px 24px; gap: 20px; border-radius: 8px; font-size: 12px; font-weight: 500; }
.next-button svg { width: 16px; height: 16px; }
.section-position { font-size: 10px; color: var(--muted); line-height: 1.7; }
.text-button { padding: 8px 2px; min-height: 38px; color: var(--brand); border: 0; background: transparent; font-size: 11px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: var(--brand-hover); }
.draft-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 6px 0 0; padding: 7px 0 0; }
.draft-toolbar p { font-size: 10px; color: var(--muted); line-height: 1.7; margin: 0; }
.draft-toolbar .text-button { font-size: 10px; }
.review-section { border: 1px solid var(--line); border-radius: 8px; padding: 23px 26px; background: #fff; margin-bottom: 16px; min-width: 0; }
.review-header { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.review-header h2, .review-header h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -.02em; line-height: 1.3; margin: 0; }
.review-header .text-button { flex-shrink: 0; }
.review-values { display: grid; grid-template-columns: minmax(130px, .75fr) minmax(0, 1.25fr); gap: 12px 23px; font-size: 12px; line-height: 1.75; margin: 0; }
.review-values dt { margin: 0; color: var(--muted); }
.review-values dd { margin: 0; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.review-values > div { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(130px, .75fr) minmax(0, 1.25fr); gap: 23px; }
.review-values .unanswered { color: #85786d; font-style: italic; }
.review-values .needs-confirmation { color: #8b473c; }
.review-subheading { font-weight: 500; font-size: 12px; color: var(--ink); padding-top: 16px; margin: 16px 0 14px; border-top: 1px solid var(--line); }
.review-status { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); background: var(--stone); border: 1px solid var(--stone-line); border-radius: 6px; padding: 13px 16px; line-height: 1.75; margin-bottom: 20px; }
.review-status strong { color: var(--ink); font-weight: 500; }
.completion-panel { padding: 42px 34px; border: 1px solid var(--stone-line); border-radius: 10px; background: #fff; text-align: center; }
.completion-mark { display: grid; place-items: center; width: 49px; height: 49px; margin: 0 auto 20px; border-radius: 50%; background: #e4eadf; color: var(--form-sage-ink); }
.completion-mark svg { width: 22px; height: 22px; }
.completion-panel h2 { font-family: var(--display); font-size: 37px; font-weight: 400; color: var(--brand); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 15px; }
.completion-panel p { max-width: 480px; margin: 0 auto 20px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.completion-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 25px; }
.reset-dialog { max-width: 460px; }
.reset-dialog .dialog-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.reset-dialog .dialog-actions button { width: auto; flex: 1; margin: 0; }
.onboarding-view button:focus-visible, .onboarding-view a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.onboarding-view .field, .onboarding-view .repeat-item { scroll-margin-top: 28px; }
@media (max-width: 1100px) {
  .onboarding-shell { grid-template-columns: 225px minmax(0, 1fr); gap: 32px; width: calc(100% - 56px); }
  .journey-step { padding-inline: 10px; gap: 10px; }
  .step-title { font-size: 11px; }
  .question-card { padding: 25px; }
  .form-title { font-size: 37px; }
}
@media (max-width: 900px) {
  .onboarding-view { padding-top: 25px; }
  .onboarding-shell { display: block; width: min(760px, calc(100% - 48px)); }
  .form-sidebar { display: none; }
  .form-main { max-width: none; }
  .mobile-section-picker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; background: var(--stone); border: 1px solid var(--stone-line); border-radius: 8px; padding: 12px 15px; }
  .mobile-section-picker label { font-size: 11px; color: var(--muted); white-space: nowrap; }
  .mobile-section-picker select { margin: 0; min-height: 42px; background: #fff; font-size: 12px; }
  .form-context { margin-top: 0; }
  .progress-track { margin-bottom: 25px; }
}
@media (max-width: 640px) {
  .onboarding-view { padding-top: 21px; padding-bottom: 24px; }
  .onboarding-shell { width: calc(100% - 32px); }
  .form-context { gap: 8px 10px; }
  .form-context .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .save-indicator { font-size: 9px; }
  .mobile-section-picker { margin-bottom: 21px; padding: 10px 12px; gap: 9px; }
  .mobile-section-picker label { font-size: 10px; }
  .mobile-section-picker select { font-size: 16px; }
  .form-title { font-size: 34px; line-height: 1.15; margin-bottom: 12px; }
  .form-description { font-size: 12px; margin-bottom: 21px; line-height: 1.8; }
  .prefill-note { padding: 12px 13px; font-size: 10px; line-height: 1.8; margin-bottom: 19px; }
  .substeps { flex-wrap: nowrap; gap: 5px; overflow-x: auto; padding: 2px 0 8px; margin-bottom: 14px; scrollbar-width: thin; }
  .substep { font-size: 10px; padding: 8px 10px; min-height: 38px; white-space: nowrap; flex-shrink: 0; }
  .question-card { padding: 22px 19px; border-radius: 8px; margin-bottom: 15px; }
  .question-card-title { font-size: 23px; }
  .question-card-description { font-size: 11px; margin-bottom: 21px; }
  .fields-grid { grid-template-columns: 1fr; gap: 22px; }
  .field.full { grid-column: auto; }
  .field-label { font-size: 12px; }
  .field-help { font-size: 11px; }
  .field-hint, .source-note { font-size: 10px; }
  .onboarding-view input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]), .onboarding-view textarea, .onboarding-view select { min-height: 48px; padding: 12px; font-size: 16px; }
  .choice-grid, .choice-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .choice-grid.single { grid-template-columns: 1fr; }
  .choice { padding: 11px 10px; min-height: 48px; gap: 8px; }
  .choice-copy { font-size: 11px; }
  .repeat-item { padding: 17px 14px; }
  .repeat-header { margin-bottom: 17px; }
  .repeat-header h3, .repeat-header h4, .repeat-header p { font-size: 12px; }
  .remove-item { font-size: 10px; }
  .upload-box { padding: 15px 13px; }
  .secure-note { padding: 14px; font-size: 10px; }
  .form-actions { gap: 10px; padding: 14px 0 16px; margin-top: 21px; }
  .form-actions-left, .form-actions-right { gap: 10px; }
  .section-position { font-size: 9px; }
  .back-button { min-height: 46px; padding: 12px 14px; font-size: 11px; gap: 6px; }
  .next-button.primary-button { min-height: 46px; padding: 14px 18px; font-size: 11px; gap: 14px; }
  .form-actions .text-button { font-size: 10px; }
  .draft-toolbar { gap: 5px 16px; }
  .review-section { padding: 20px; }
  .review-header h2, .review-header h3 { font-size: 23px; }
  .review-values { grid-template-columns: 1fr; gap: 4px; font-size: 11px; }
  .review-values dd { margin-bottom: 13px; }
  .review-values > div { display: block; }
  .review-values > div dd { margin-top: 4px; }
  .review-status { padding: 12px 14px; font-size: 10px; }
  .completion-panel { padding: 31px 22px; }
  .completion-panel h2 { font-size: 30px; }
  .completion-panel p { font-size: 12px; }
  .completion-actions { flex-direction: column; }
  .completion-actions button { width: 100%; }
}
@media (max-width: 359px) {
  .onboarding-shell { width: calc(100% - 24px); }
  .form-title { font-size: 30px; }
  .form-context { align-items: flex-start; }
  .question-card { padding: 20px 16px; }
  .choice-grid, .choice-grid.three { grid-template-columns: 1fr; }
  .mobile-section-picker { flex-direction: column; align-items: stretch; gap: 7px; }
  .form-actions { column-gap: 8px; }
  .form-actions .section-position { display: none; }
  .back-button { padding-inline: 12px; }
  .next-button.primary-button { padding-inline: 14px; gap: 9px; }
  .review-section { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .onboarding-view *, .onboarding-view *::before, .onboarding-view *::after { transition: none !important; }
}
@media print {
  .form-sidebar, .form-actions, .draft-toolbar, .mobile-section-picker, .substeps { display: none !important; }
  .onboarding-shell { display: block; width: 100%; }
  .review-section { break-inside: avoid; }
}

.portal-nav { gap: 24px; }
.save-failure-notice { width:min(1200px,calc(100% - 80px)); margin:0 auto 24px; padding:16px 20px; border:1px solid #c59e95; border-radius:8px; color:#773e35; background:#faf1ee; font-size:12px; line-height:1.75; }
.save-failure-notice p { margin:0; }
.onboarding-view .preview-bar { width: min(1200px,calc(100% - 80px)); margin: -20px auto 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 10px; color: var(--muted); line-height: 1.6; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.onboarding-view .preview-bar .text-button { white-space: nowrap; font-size: 11px; min-height: 44px; }
.property-symbol { display: grid; place-items: center; background: var(--stone); color: var(--brand); width: 49px; height: 57px; }
.property-symbol svg { width: 25px; height: 25px; }
.property-summary .property-eyebrow { font-size: 8px; letter-spacing: 1.25px; margin: 0 0 4px; }
.onboarding-view .progress-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; margin-bottom: 10px; }
.questionnaire-hint { color: var(--muted); font-size: 11px; line-height: 1.65; margin: -2px 0 18px; }
.onboarding-view .repeat-item { padding: 0; overflow: hidden; }
.onboarding-view .repeat-summary { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; gap: 20px; cursor: pointer; list-style: none; min-height: 67px; }
.repeat-summary::-webkit-details-marker,.review-header::-webkit-details-marker { display: none; }
.repeat-summary strong { display: block; color: var(--ink); font-size: 12px; line-height: 1.6; font-weight: 500; }
.repeat-summary small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 3px; }
.repeat-toggle { color: var(--brand); font-size: 19px; flex: 0 0 auto; }
details[open] > .repeat-summary .repeat-toggle { transform: rotate(45deg); }
details[open] > .repeat-summary { border-bottom: 1px solid var(--line); }
.repeat-body { padding: 21px; }
.repeat-footer { display: flex; justify-content: flex-end; margin-top: 12px; }
.empty-repeater { margin: 0 0 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.onboarding-view .review-header { cursor: pointer; list-style: none; margin: 0; padding: 0; }
.review-section[open] > .review-header { margin-bottom: 15px; }
.review-section-title { font-family: var(--display); font-size: 23px; color: var(--ink); line-height: 1.4; }
.review-header .step-meta { white-space: nowrap; }
.review-subheading { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.review-values dd { font-size: 12px; }
.upload-box.dragging { background: var(--stone); outline: 2px solid var(--brand); }
.onboarding-view .secure-note { margin-bottom: 0; }
.onboarding-view .save-indicator svg { stroke-width: 1.8; }
.onboarding-view .form-title:focus,.completion-panel h2:focus { outline: none; }
.onboarding-view .form-sidebar { position: static; }
.onboarding-view .choice-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.onboarding-view .choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.onboarding-view .repeat-footer .remove-item { min-height:44px; }
.onboarding-view .substep { min-height:44px; }
.onboarding-view .file-list button { min-height:44px; }
.onboarding-view .field > label { display:block; }
.onboarding-view .field.full.secure-note { display:flex; }
.reset-dialog { max-height:calc(100dvh - 32px); overflow:auto; }
.reset-dialog .back-button { font-size:12px; padding:14px 20px; border:1px solid var(--line); background:white; border-radius:8px; }
.reset-dialog .dialog-actions {display:flex; gap:12px; margin-top:22px;}
.reset-dialog .dialog-actions button {width:auto;flex:1;margin:0;}
@media(min-width:1500px) { .onboarding-view .form-title { font-size:46px; } }
@media(max-width:1100px) { .onboarding-view .preview-bar {width:calc(100% - 56px);} .header-start {gap:25px;} .portal-nav {gap:18px;} }
@media(max-width:900px) { .onboarding-view .preview-bar {width:min(760px,calc(100% - 48px)); margin-top:-11px;} .onboarding-view .form-sidebar {display:none;} }
@media(max-width:640px) {
  .save-failure-notice { width:calc(100% - 32px); }
  .header-inner {display:grid;grid-template-columns:1fr auto;grid-template-rows:70px 44px;height:auto;gap:0 14px;}
  .header-start {display:contents;}
  .brand-lockup {grid-column:1;grid-row:1;}
  .header-right {grid-column:2;grid-row:1;}
  .portal-nav {grid-column:1 / -1;grid-row:2;gap:24px;}
  .nav-link {font-size:12px;min-height:44px;}
  .brand-image {width:150px;}
  .onboarding-view .preview-bar {width:calc(100% - 32px);margin-top:-10px;margin-bottom:19px;font-size:9px;align-items:flex-start;}
  .onboarding-view .preview-bar span {padding-top:11px;}
  .onboarding-view .progress-caption {font-size:9px;}
  .onboarding-view .progress-caption span:last-child {display:none;}
  .onboarding-view .form-context {align-items:flex-start;}
  .onboarding-view .form-context .eyebrow {max-width:65%;line-height:1.7;}
  .onboarding-view .save-indicator {max-width:33%;text-align:right;justify-content:flex-end;}
  .questionnaire-hint {font-size:11px;}
  .repeat-body {padding:18px 14px;}
  .onboarding-view .repeat-summary {padding:15px;gap:12px;}
  .review-section-title {font-size:21px;}
  .onboarding-view .review-header {align-items:flex-start;gap:15px;}
  .review-header .step-meta {font-size:9px;white-space:normal;text-align:right;}
  .onboarding-view .form-actions {gap:10px;padding-top:13px;padding-bottom:13px;}
  .onboarding-view .form-actions-left {gap:12px;}
  .onboarding-view .section-position {font-size:9px;}
  .onboarding-view .back-button {padding:12px;font-size:11px;}
  .onboarding-view .next-button.primary-button {padding:14px 16px;font-size:11px;gap:12px;}
  .onboarding-view .draft-toolbar {gap:4px 20px;}
  .onboarding-view .choice-grid.three {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:359px) { .onboarding-view .form-actions .section-position {display:none;} .onboarding-view .choice-grid.three {grid-template-columns:1fr;} .brand-image {width:138px;} }


.portal-sign-out { display: inline-flex; margin: 0; }
.portal-sign-out button, .staff-link { color: var(--muted); font-size: 11px; }
.portal-account { min-width: 0; max-width: min(16vw, 200px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--muted); }
.header-right { min-width: 0; gap: clamp(8px, 1.25vw, 18px); }
.header-right .staff-link, .portal-sign-out button { white-space: nowrap; }
.property-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
#welcomeView > .gallery-section:last-child { padding-bottom: 28px; }
@media (max-width: 640px) {
  .header-inner { --phone-logo-width: 150px; grid-template-columns: var(--phone-logo-width) minmax(0, 1fr); }
  .brand-image { width: var(--phone-logo-width); }
  .header-right { flex-wrap: wrap; justify-content: flex-end; gap: 0 8px; }
  .portal-account { flex: 0 1 100%; max-width: none; text-align: right; }
  .header-right .help-link { width: 26px; min-height: 32px; }
  .portal-sign-out button { min-height: 32px; }
}
@media (max-width: 359px) {
  .header-inner { --phone-logo-width: 120px; }
}
.field-control .reveal-field { justify-self: start; margin-top: 4px; }
.onboarding-shell:has(#completionPanel:not([hidden])) .form-sidebar { visibility: hidden; }
