/* The buyer journey shares the site's forest, ivory and champagne palette. */
.budget-header { border-radius: 999px; gap: 9px; padding-inline: 18px; }
.budget-header svg { width: 18px; height: 18px; flex: none; }
.layout-home .hero { min-height: max(820px, 96svh); }
.layout-home .hero::after {
  background: linear-gradient(180deg, #101e16b8 0%, #101e16b0 45%, #101e16e0 100%);
}
.layout-home .hero-layer { padding-top: calc(var(--header-height) + 20px); }
.layout-home .hero-content {
  align-self: center;
  text-align: center;
  padding: 38px 0 34px;
  min-width: 0;
}
.layout-home .hero-eyebrow { justify-content: center; font-size: 10px; letter-spacing: .22em; }
.layout-home .hero h1 { font-size: clamp(64px, 7.7vw, 116px); line-height: .94; margin: 20px 0 18px; }
.layout-home .hero h1 span, .layout-home .hero h1 em { display: inline; }
.layout-home .hero h1 em { white-space: nowrap; }
.layout-home .hero-summary { max-width: 540px; margin: 0 auto 29px; color: #f3efe5dc; font-size: 15px; line-height: 1.65; }
.hero-assistant { max-width: 740px; margin-inline: auto; text-align: left; }
.assistant-heading { display: flex; align-items: center; gap: 8px; margin: 0 5px 10px; color: var(--white); }
.assistant-heading h2 { font: 600 13px/1.4 var(--sans); letter-spacing: 0; }
.assistant-spark { color: var(--gold); font-size: 20px; line-height: 1; }
.assistant-tag { margin-left: auto; color: #f3efe5a8; font-size: 9px; font-weight: 500; letter-spacing: .12em; }
.assistant-composer {
  border: 1px solid #fff9;
  border-radius: 22px;
  padding: 18px 19px 13px;
  background: #fbf9f2;
  box-shadow: 0 12px 45px #04100835, 0 1px 2px #04100816;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.assistant-composer:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px #d5bc8d40, 0 12px 45px #04100835; }
.assistant-composer textarea {
  display: block; width: 100%; min-height: 64px; max-height: 160px; padding: 2px 2px 8px;
  border: 0; border-radius: 0; resize: none; background: transparent; color: #203528;
  font: 400 17px/1.55 var(--sans); outline: none;
}
.assistant-composer textarea::placeholder { color: #6b7167; opacity: 1; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-left: 2px; }
.composer-bottom > span { font-size: 11px; color: #767b70; }
.assistant-send {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 50%; color: #faf7ef; background: #163e2c;
  transition: background .2s, transform .2s;
}
.assistant-send svg { width: 23px; height: 23px; }
.assistant-send:hover { background: #27543d; transform: translateY(-1px); }
.assistant-send:disabled { opacity: .45; cursor: wait; transform: none; }
.assistant-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.assistant-suggestions button {
  display: inline-flex; align-items: center; gap: 14px; min-height: 33px; padding: 6px 12px;
  border: 1px solid #f3efe54a; border-radius: 999px; color: #f6f1e6;
  background: #ffffff09; font: 400 11px/1.4 var(--sans); transition: background .2s, border-color .2s;
}
.assistant-suggestions button:hover { background: #ffffff1e; border-color: #f3efe58f; }
.assistant-suggestions button span { color: var(--gold); }
.assistant-note { margin: 11px 3px 0; font-size: 10px; color: #f3efe5b8; line-height: 1.6; }
.assistant-note a { text-decoration-color: #f3efe55e; text-underline-offset: 2px; }
.hero-discovery-actions { display: flex; align-items: center; justify-content: center; gap: 21px; margin-top: 26px; }
.hero-discovery-actions a, .hero-discovery-actions button { display: inline-flex; align-items: center; gap: 10px; padding: 5px 0; border: 0; background: none; color: #fff9e9; text-decoration: none; font: 500 12px/1.5 var(--sans); }
.hero-discovery-actions a:hover, .hero-discovery-actions button:hover { color: var(--gold); }
.hero-discovery-actions > span { width: 1px; height: 16px; background: #f3efe54f; }
.assistant-results { margin-top: 16px; padding: 18px; background: #fcf9f1; border: 1px solid #e5dfce; border-radius: 19px; color: var(--ink); box-shadow: 0 8px 28px #04100822; }
.assistant-results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.assistant-results-head > span { font: 600 10px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.assistant-results-head button { border: 0; padding: 4px 0; background: transparent; color: #68715e; font: 400 11px/1.4 var(--sans); }
.assistant-results-head button span { margin-left: 8px; }
#ai-thread { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ai-message { white-space: pre-wrap; font: 400 14px/1.7 var(--sans); margin: 0 0 12px; }
.ai-message.user { margin-left: 35px; padding: 11px 14px; border-radius: 15px 15px 3px 15px; background: #e5e9df; }
.ai-message.assistant { padding: 4px 2px; }
#ai-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 220px; overflow-y: auto; margin-top: 10px; }
.buyer-project { display: grid; gap: 4px; padding: 12px; border: 1px solid #d8ddcf; border-radius: 10px; background: #f1f1e8; text-decoration: none; }
.buyer-project:hover { border-color: var(--olive); background: #e9ecdf; }
.buyer-project strong { font-size: 12px; line-height: 1.4; }
.buyer-project span { color: #68715e; font-size: 10px; line-height: 1.5; }
.assistant-handoff { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin-top: 14px; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); color: #284b36; background: none; text-align: left; font: 600 12px/1.5 var(--sans); }
.assistant-status { margin-top: 8px; font-size: 11px; line-height: 1.5; color: #f3efe5d4; }
.assistant-status:empty { display: none; }
/* One familiar, persistent human-chat affordance across the site. */
.messenger-launcher {
  position: fixed; z-index: 40; right: 24px; bottom: max(24px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 9px 19px 9px 10px;
  border: 1px solid #ffffff26; border-radius: 999px; color: #fffdf4; background: #173e2c;
  box-shadow: 0 6px 24px #10291c36, 0 1px 3px #10291c26; font: 600 14px/1.3 var(--sans);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.messenger-launcher:hover { background: #245339; transform: translateY(-2px); box-shadow: 0 9px 28px #10291c45; }
.messenger-launcher-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ffffff12; }
.messenger-launcher-icon svg { width: 24px; height: 24px; }
.messenger-launcher-arrow { padding-left: 8px; color: #dbc79c; font-weight: 400; font-size: 17px; }
/* Calculator and enquiry dialogs share deliberate spacing and field styling. */
#buyer-tools { width: min(660px, 94vw); max-height: 90dvh; overflow: auto; border-radius: 20px; padding: 32px; box-shadow: 0 24px 90px #0004; }
#buyer-tools h2 { margin: 20px 0; font-size: clamp(42px, 5vw, 60px); line-height: .98; }
#buyer-tools p, #inquiry p { font-size: 13px; line-height: 1.7; color: var(--muted); }
#buyer-tools label, #enquiry-form label { display: grid; gap: 7px; margin: 16px 0; font-size: 12px; }
#buyer-tools input, #enquiry-form textarea, #enquiry-form select { width: 100%; padding: 12px; border: 1px solid #c7ccbc; border-radius: 8px; background: #fffdf7; color: #203528; font: inherit; }
#buyer-tools details { padding: 12px 16px; margin: 18px 0; border: 1px solid #d9ddce; border-radius: 10px; }
#buyer-tools summary { color: var(--olive); font: 500 12px/1.6 var(--sans); cursor: pointer; }
#buyer-tools .button, #inquiry .button { border-radius: 8px; }
#buyer-tools .button[type=submit] { width: 100%; margin-bottom: 14px; }
#budget-result { margin: 16px 0; padding: 19px; border: 1px solid #cbd5c4; border-radius: 12px; background: #e8eddf; }
#budget-result h3 { margin-bottom: 10px; font: 400 30px/1.1 var(--serif); }
#budget-result p + p { margin-top: 7px; }
#inquiry { border-radius: 20px; padding: 30px; }
#inquiry h2 { font-size: 45px; line-height: 1; margin: 15px 0; }
#enquiry-form .check { display: flex; align-items: flex-start; gap: 10px; }
#enquiry-form .check input { width: auto; flex-shrink: 0; }
#enquiry-form textarea { font-size: 12px; line-height: 1.6; }
#enquiry-status { margin: 10px 0; }
#messenger-ready { margin-bottom: 12px; }
@media (max-width: 1050px) {
  .topbar-inner { column-gap: 20px; }
  .topbar nav { gap: 22px; }
  .budget-header { font-size: 11px; padding-inline: 13px; }
}
@media (max-width: 700px) {
  .layout-home .hero { min-height: auto; }
  .layout-home .hero-content { padding: 32px 0 28px; }
  .layout-home .hero h1 { font-size: clamp(53px, 10vw, 74px); line-height: .95; max-width: 550px; margin: 18px auto; }
  .layout-home .hero h1 span, .layout-home .hero h1 em { display: block; }
  .layout-home .hero-summary { font-size: 13px; max-width: 340px; margin-bottom: 25px; }
  .layout-home .hero-eyebrow { font-size: 8px; letter-spacing: .18em; }
  .topbar .brand img { width: 144px; height: auto; }
  .budget-header { min-height: 36px; font-size: 10px; padding: 8px 11px; gap: 6px; }
  .budget-header svg { width: 15px; height: 15px; }
  .assistant-tag { display: none; }
  .assistant-heading h2 { font-size: 12px; }
  .assistant-composer { padding: 15px 14px 11px; border-radius: 17px; }
  .assistant-composer textarea { font-size: 16px; }
  .composer-bottom > span { font-size: 9px; max-width: 185px; }
  .assistant-send { width: 36px; height: 36px; }
  .assistant-suggestions { gap: 6px; }
  .assistant-suggestions button { font-size: 10px; min-height: 32px; padding: 6px 10px; gap: 7px; }
  .assistant-note { font-size: 9px; }
  .hero-discovery-actions { gap: 13px; margin-top: 22px; }
  .hero-discovery-actions a, .hero-discovery-actions button { font-size: 10px; gap: 6px; }
  .hero-footer .scroll-link { font-size: 9px; }
  .messenger-launcher { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); min-height: 50px; font-size: 12px; padding: 7px 15px 7px 8px; gap: 8px; }
  .messenger-launcher-icon { width: 32px; height: 32px; }
  .messenger-launcher-arrow { padding-left: 3px; }
  .layout-project .messenger-launcher { bottom: calc(86px + env(safe-area-inset-bottom)); }
  #buyer-tools, #inquiry { padding: 23px; max-height: 88dvh; border-radius: 16px; }
  #buyer-tools .field-pair { grid-template-columns: 1fr; }
  #ai-projects { grid-template-columns: 1fr; }
  .assistant-results { padding: 14px; }
}
@media (max-width: 360px) {
  .topbar .brand img { width: 125px; }
  .budget-header { padding-inline: 8px; font-size: 9px; }
  .budget-header svg { display: none; }
  .hero-discovery-actions { flex-wrap: wrap; gap: 9px; }
}

/* A quiet travelling light gives the hero composer a premium focal point. */
@property --lunan-edge-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.hero .assistant-composer { position: relative; isolation: isolate; border: 1px solid #f2e5bf80; box-shadow: 0 14px 55px #0004, 0 0 28px #cdbb8c18; }
.hero .assistant-composer::before {
  content: ''; position: absolute; pointer-events: none; inset: -2px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--lunan-edge-angle), #d5bc8d08 0%, #d5bc8d10 50%, #e2d7ad 66%, #fff9df 71%, #87b69c 77%, #d5bc8d08 88%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lunan-edge-light 8s linear infinite;
}
@keyframes lunan-edge-light { to { --lunan-edge-angle: 360deg; } }
.hero-chat-fallback { display: inline-block; margin-top: 10px; color: var(--gold); font-size: 12px; }
.tool-page, .conversation-page { padding-top: calc(var(--header-height) + 35px); padding-bottom: 85px; }
.tool-page-heading { max-width: 850px; padding: 35px 0 45px; }
.tool-page-heading h1 { margin: 18px 0 23px; font: 400 clamp(54px,7vw,98px)/.94 var(--serif); letter-spacing: -.035em; }
.tool-page-heading > p:last-child { max-width: 600px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.housing-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 30px; align-items: start; }
.housing-inputs { padding: 30px; background: #fbf9f2; border: 1px solid #d8d3c5; border-radius: 22px; }
.tool-step { display: flex; align-items: center; gap: 12px; margin: 6px 0 20px; }
.tool-step > span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #cbd2c2; border-radius: 50%; font-size: 9px; color: var(--olive); flex: none; }
.tool-step h2 { font: 500 16px/1.4 var(--sans); letter-spacing: -.02em; }
.housing-modes { display: grid; gap: 8px; margin-bottom: 30px; }
.housing-modes button { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px; border: 1px solid #d4dacb; border-radius: 10px; background: none; color: #34482f; }
.housing-modes button strong { font-size: 12px; font-weight: 600; }
.housing-modes button span { font-size: 10px; color: #747d6d; }
.housing-modes button[aria-pressed=true] { background: #1d402e; color: #fff9e9; border-color: #1d402e; box-shadow: 0 4px 12px #16352615; }
.housing-modes button[aria-pressed=true] span { color: #e4ddc9; }
.housing-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 17px; margin-bottom: 25px; }
.housing-fields label { display: grid; align-content: start; gap: 7px; font-size: 11px; font-weight: 600; }
.housing-fields input, .housing-fields select { width: 100%; min-width: 0; height: 47px; border: 1px solid #cbd0c1; border-radius: 8px; padding: 10px 12px; color: var(--ink); background: #fffdf7; font: 400 15px/1.3 var(--sans); }
.housing-fields small { color: #717568; font: 400 10px/1.6 var(--sans); }
.housing-help { color: #72796a; font-size: 11px; line-height: 1.8; margin: -6px 0 18px; }
.housing-assumptions { padding: 15px; margin: 0 0 23px; background: #f0f1e8; border: 1px solid #d8ddcc; border-radius: 10px; }
.housing-assumptions summary { font-size: 11px; font-weight: 600; color: #3c5237; cursor: pointer; }
.housing-assumptions summary span { display: block; font-size: 9px; font-weight: 400; color: #7b816e; padding-top: 3px; }
.housing-assumptions .housing-fields { margin: 20px 0 2px; }
.housing-submit { width: 100%; border-radius: 9px; color: #f9f2e2; background: #1d402e; }
.housing-submit:hover { color: #fff; background: #2b583f; }
.housing-private { margin-top: 13px; font-size: 10px; text-align: center; color: #7b806f; }
#housing-error { color: #945027; font-size: 12px; margin-top: 10px; }
.housing-output { position: sticky; top: calc(var(--header-height) + 25px); border: 1px solid #d4d8c7; border-radius: 22px; background: #e9ecdf; padding: 35px; scroll-margin-top: calc(var(--header-height) + 20px); }
.housing-empty-icon { font: 400 55px/1 var(--serif); color: #617052; display: block; margin-bottom: 30px; }
#housing-empty > .eyebrow { color: #617052; font-size: 9px; }
#housing-empty h2 { font-size: clamp(40px,4vw,60px); line-height: 1; margin: 18px 0 25px; }
#housing-empty > p:last-of-type, #housing-empty li { color: #727863; font-size: 12px; line-height: 1.8; }
#housing-empty ol { border-top: 1px solid #cbd1bb; margin-top: 30px; padding: 24px 0 0 18px; }
#housing-empty li + li { margin-top: 13px; }
#housing-results > .eyebrow { color: #63714f; font-size: 9px; }
#housing-results > h2 { margin: 13px 0; font: 400 28px/1.15 var(--serif); letter-spacing: -.02em; }
.housing-hero-number { display: block; font: 400 clamp(35px,4vw,57px)/1.05 var(--serif); color: #23452e; letter-spacing: -.03em; margin: 10px 0 14px; overflow-wrap: anywhere; }
.housing-result-caption { color: #6a735c; font-size: 10px; line-height: 1.8; }
.housing-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 25px 0; }
.housing-metric { padding: 15px; border: 1px solid #d0d8c2; border-radius: 10px; background: #f5f6ee; }
.housing-metric span { display: block; min-height: 30px; font-size: 10px; line-height: 1.5; color: #6c765b; }
.housing-metric strong { display: block; font-size: 17px; font-weight: 500; margin-top: 7px; color: #304e32; overflow-wrap: anywhere; }
.housing-result-alert { padding: 13px; border: 1px solid #d8c69f; border-radius: 9px; background: #f3eddd; color: #766238; font-size: 11px; line-height: 1.7; margin: 12px 0; }
.housing-next-steps { margin: 25px 0; padding-top: 22px; border-top: 1px solid #cbd3bd; }
.housing-next-steps h3, .housing-stress h3 { font: 600 13px/1.5 var(--sans); }
.housing-next-steps ol { padding-left: 17px; margin: 15px 0 0; }
.housing-next-steps li, .housing-stress p { font-size: 11px; line-height: 1.8; color: #667057; }
.housing-next-steps li + li { margin-top: 13px; }
.housing-stress { padding: 16px; border-radius: 10px; background: #dfe5d2; margin: 0 0 20px; }
.housing-stress p { margin-top: 8px; }
.housing-result-actions { display: grid; gap: 8px; margin-top: 23px; }
.housing-result-actions .button { border-radius: 8px; font-size: 11px; }
.housing-disclaimer { margin-top: 35px; padding: 25px 0; border-top: 1px solid var(--line); max-width: 850px; }
.housing-disclaimer h2 { font: 500 14px/1.5 var(--sans); margin-bottom: 10px; }
.housing-disclaimer p { font-size: 11px; line-height: 1.9; color: #757a6c; }
.housing-disclaimer p + p { margin-top: 12px; }
.conversation-layout { display: grid; grid-template-columns: minmax(200px,.65fr) minmax(0,1.35fr); gap: 65px; padding-top: 40px; align-items: start; }
.conversation-sidebar h1 { font: 400 clamp(49px,5vw,74px)/.97 var(--serif); letter-spacing: -.03em; margin: 24px 0; }
.conversation-sidebar > p:not(.eyebrow) { max-width: 320px; color: var(--muted); font-size: 13px; line-height: 1.85; margin-bottom: 30px; }
.conversation-sidebar > a { display: flex; gap: 12px; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-size: 11px; text-decoration: none; }
.conversation-sidebar > small { display: block; margin-top: 25px; color: #828575; font-size: 10px; line-height: 1.7; max-width: 300px; }
.conversation-main { width: 100%; max-width: 820px; }
.conversation-main .assistant-heading { color: #274b34; margin-bottom: 20px; }
.conversation-label { margin-left: auto; font-size: 9px; color: #79816c; letter-spacing: .1em; }
.conversation-main .assistant-results { margin-top: 0; box-shadow: none; padding: 22px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.conversation-main #ai-thread { min-height: 240px; max-height: min(52svh,580px); }
.conversation-main .assistant-composer { margin-top: -1px; border-radius: 0 0 19px 19px; box-shadow: none; border: 1px solid #d9ddce; }
.conversation-main .assistant-note, .conversation-main .assistant-status { color: #7a806d; }
.conversation-main .assistant-suggestions button { color: #42533b; border-color: #cfd4c3; background: #e9ecdf; }
.conversation-main .assistant-suggestions button:hover { background: #dce3d0; }
.conversation-main .assistant-suggestions button span { color: #6a7655; }
@media(max-width:1050px) { .housing-layout { gap: 20px; } .housing-inputs, .housing-output { padding: 23px; } .conversation-layout { gap: 35px; } }
@media(max-width:800px) {
 .housing-layout { grid-template-columns: 1fr; } .housing-output { position: static; }
 .conversation-layout { grid-template-columns: 1fr; gap: 25px; }
 .conversation-sidebar h1 { font-size: 48px; margin: 15px 0; }
 .conversation-sidebar h1 br { display: none; }
 .conversation-sidebar > p:not(.eyebrow) { max-width: 100%; margin-bottom: 12px; }
 .conversation-sidebar > a, .conversation-sidebar > small { display: none; }
}
@media(max-width:540px) {
 .tool-page, .conversation-page { padding-top: calc(var(--header-height) + 23px); padding-bottom: 50px; }
 .tool-page-heading { padding: 25px 0 30px; } .tool-page-heading h1 { font-size: 52px; }
 .tool-page-heading > p:last-child { font-size: 13px; }
 .housing-fields { grid-template-columns: 1fr; gap: 17px; }
 .housing-inputs, .housing-output { padding: 21px; border-radius: 16px; }
 .housing-modes button { display: grid; gap: 3px; }
 .housing-metrics { gap: 8px; } .housing-metric { padding: 12px; } .housing-metric strong { font-size: 15px; }
 .conversation-layout { padding-top: 25px; } .conversation-sidebar h1 { font-size: 43px; }
 .conversation-main .assistant-results { padding: 15px; }
 .conversation-main #ai-thread { min-height: 230px; max-height: 50svh; }
 .housing-assumptions { padding: 12px; }
}
@media(prefers-reduced-motion:reduce) { .hero .assistant-composer::before { animation: none; } }
/* Structured replies: readable lists and emphasis without model-supplied HTML. */
.ai-message.assistant { white-space: normal; }
.ai-message.assistant p + p { margin-top: 12px; }
.ai-message.assistant h3 { margin: 18px 0 10px; font: 600 15px/1.5 var(--sans); letter-spacing: 0; color: #24452e; }
.ai-message.assistant ul, .ai-message.assistant ol { margin: 12px 0 16px; padding-left: 23px; }
.ai-message.assistant li { padding-left: 3px; line-height: 1.8; }
.ai-message.assistant li + li { margin-top: 12px; }
.ai-message.assistant strong { color: #25452f; font-weight: 650; }
.ai-message.assistant code { padding: 2px 5px; border-radius: 4px; background: #e7ebdf; font: 12px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.header-tools { display: flex; justify-self: end; align-items: center; gap: 8px; }
.header-tools .budget-header { padding-inline: 13px; font-size: 11px; white-space: nowrap; }
.prequal-header { border-color: #d5bc8d80; color: #f2ddaf; }
#prequal-empty > .eyebrow { font-size: 9px; color: #617052; }
#prequal-empty h2 { font: 400 clamp(40px,4vw,60px)/1 var(--serif); margin: 18px 0 25px; }
#prequal-empty p:not(.eyebrow) { font-size: 12px; line-height: 1.8; color: #6e775f; }
#prequal-empty .text-link { margin-top: 24px; font-size: 11px; }
#prequal-results > .eyebrow { font-size: 9px; color: #63714f; }
#prequal-results > h2 { font: 400 38px/1.02 var(--serif); margin: 18px 0; }
#prequal-results .housing-result-caption { margin: 14px 0; }
.readiness-check { padding: 17px; margin-top: 12px; border: 1px solid #cfd8c4; background: #f5f6ed; border-radius: 12px; }
.readiness-label { display: inline-block; margin-bottom: 8px; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; color: #5d7350; }
.readiness-check h3 { font: 600 13px/1.5 var(--sans); margin-bottom: 8px; }
.readiness-check p, .prequalification-page .housing-next-steps p { font-size: 11px; line-height: 1.8; color: #68715d; }
.readiness-review { background: #f3eddd; border-color: #d7c49f; }
.readiness-review .readiness-label { color: #8a6d35; }
.prequal-sources ul { margin: 15px 0; padding-left: 18px; }
.prequal-sources li { font-size: 11px; line-height: 1.8; color: #737966; }
.prequal-sources li + li { margin-top: 8px; }
#prequal-error { color: #945027; font-size: 12px; margin-top: 10px; }
#prequal-pagibig { margin-top: 28px; }
@media (min-width:701px) and (max-width:1100px) {
 .topbar nav a[href='/#how-it-works'] { display: none; }
 .topbar .brand img { width: 175px; height: auto; }
 .header-tools .budget-header { padding-inline: 10px; font-size: 10px; gap: 5px; }
}
@media (max-width:700px) {
 :root { --header-height: 112px; }
 .topbar-inner { grid-template-columns: 1fr; gap: 7px; padding-block: 10px; }
 .topbar .brand { justify-self: center; }
 .topbar .brand img { width: 140px; height: auto; }
 .header-tools { width: 100%; justify-self: stretch; justify-content: center; }
 .header-tools .budget-header { flex: 1; max-width: 190px; min-height: 33px; font-size: 10px; padding: 7px 9px; }
 .header-tools .budget-header svg { display: block; width: 14px; height: 14px; }
}
@media (min-width:701px) and (max-width:1100px) {
 .topbar-inner { grid-template-columns: auto minmax(0,1fr) auto; }
 .topbar nav { justify-self: center; }
}

/* Make the primary pre-qualification answer distinct from supporting guidance. */
.prequalification-page .prequal-verdict { --verdict-ink: #25483b; --verdict-line: #b3cbb9; position: relative; padding: clamp(22px, 4vw, 34px); margin-bottom: 20px; border: 1px solid var(--verdict-line); border-top: 4px solid var(--verdict-ink); border-radius: 18px; background: #eaf2e9; color: var(--verdict-ink); }
.prequalification-page .prequal-verdict-adjustments { --verdict-ink: #79511e; --verdict-line: #dcc69f; background: #fbf0dc; }
.prequalification-page .prequal-verdict-information { --verdict-ink: #345365; --verdict-line: #bbcfd9; background: #eaf1f5; }
.prequalification-page .prequal-verdict-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 18px; border: 1px solid var(--verdict-line); border-radius: 50%; background: #ffffff80; font: 600 22px/1 var(--sans); }
.prequalification-page .prequal-verdict .eyebrow { margin-bottom: 12px; color: var(--verdict-ink); font-size: 10px; letter-spacing: .12em; }
.prequalification-page .prequal-verdict h2 { margin: 0 0 16px; color: var(--verdict-ink); font-size: clamp(26px, 3vw, 36px); line-height: 1.16; text-wrap: balance; }
.prequalification-page .prequal-verdict .prequal-verdict-detail { margin: 0; color: var(--verdict-ink); font: 400 13px/1.8 var(--sans); }
.prequalification-page .prequal-verdict .prequal-verdict-note { padding-top: 16px; margin: 20px 0 0; border-top: 1px solid var(--verdict-line); color: var(--verdict-ink); font: 600 10px/1.6 var(--sans); }
