@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/libre-caslon-text-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/libre-caslon-text-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/libre-caslon-text-latin-400-italic.woff2) format('woff2'); }

:root {
  --navy: #13294B; --navy-2: #0E1F3A; --navy-3: #0A1830; --line-dark: #22375A; --line-dark-2: #2A3E5E;
  --gold: #A8834C; --gold-2: #D4B27C; --gold-3: #8C6B3C;
  --ink: #1C2433; --body: #3A4556; --muted: #556070; --faint: #6B7686;
  --ground: #F4F6F9; --line: #E2E6EC; --input: #C5CDD8;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --serif: 'Libre Caslon Text', Georgia, 'Noto Serif SC', 'Songti SC', 'STSong', serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
html[lang="zh-Hans"] body { line-height: 1.75; }
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--gold-3); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.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 { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 4px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--ground); }
.section.dark { background: var(--navy-2); color: #fff; }
@media (max-width: 640px) { .section { padding: 64px 0; } .wrap { padding-left: 16px; padding-right: 16px; } }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; color: var(--gold-3); text-transform: uppercase; }
.dark .kicker, .kicker.light { color: var(--gold-2); }
.h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 8vw, 56px); line-height: 1.1; color: var(--navy); text-wrap: balance; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 7vw, 42px); line-height: 1.15; color: var(--navy); text-wrap: balance; }
.dark .h1, .dark .h2 { color: #fff; }
html[lang="zh-Hans"] .h1, html[lang="zh-Hans"] .h2 { line-height: 1.3; }
.lead { margin: 0; font-size: 18px; color: var(--body); }
.dark .lead { color: #C8D0DD; }
.num { font-variant-numeric: tabular-nums; }

.btn { display: inline-block; text-decoration: none; padding: 15px 24px; border-radius: 4px; font-weight: 600; font-size: 16px; line-height: 1.3; border: 0; cursor: pointer; font-family: inherit; text-align: center; }
.btn-gold { background: var(--gold-2); color: var(--navy-2); }
.btn-gold:hover { background: #E2C595; color: var(--navy-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); background: #EEF1F5; }
.btn-ghost { color: #fff; border: 1px solid #5B6E8C; padding: 14px 23px; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-arrow { font-weight: 600; font-size: 16px; }

/* Utility bar + header */
.util { background: var(--navy-3); color: #C8D0DD; font-size: 13px; line-height: 1.4; }
.util .wrap { padding-top: 9px; padding-bottom: 9px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.util a { color: #C8D0DD; text-decoration: none; }
.util a:hover { color: #fff; }
.util a.util-pa { color: var(--gold-2); font-weight: 600; }
.util a.util-pa:hover { color: #fff; }
.util .cur { color: #fff; font-weight: 600; }
.util .items { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-header { background: var(--navy-2); border-bottom: 1px solid var(--line-dark); position: relative; z-index: 20; }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.brand-name { font-family: 'Libre Caslon Text', Georgia, serif; font-weight: 700; font-size: 26px; line-height: 1.1; color: #fff; }
.brand-tag { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; color: var(--gold-2); white-space: nowrap; }
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px 18px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a { color: #E6EBF2; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav .btn { padding: 11px 18px; font-size: 15px; color: var(--navy-2); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; color: #fff; border: 1px solid #5B6E8C; border-radius: 4px; padding: 9px 14px; font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: #fff; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; }
.menu-panel a { color: #E6EBF2; text-decoration: none; padding: 12px 14px; border-radius: 4px; font-size: 16px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: #16294A; color: var(--gold-2); }
.menu-panel .btn { margin-top: 6px; color: var(--navy-2); }
@media (max-width: 1099px) { .nav { display: none; } .menu { display: block; } }

/* Chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: inherit; font-size: 15px; font-weight: 500; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--input); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }

/* Cards */
.overlay-card { position: relative; display: block; border-radius: 6px; overflow: hidden; background: var(--navy-2); color: #fff; text-decoration: none; }
.overlay-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.overlay-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 22px 20px; background: linear-gradient(to top, rgba(10,24,48,.95) 0%, rgba(10,24,48,.85) 60%, rgba(10,24,48,0) 100%); display: flex; flex-direction: column; gap: 2px; }
.overlay-card .tag { font-size: 12px; font-weight: 600; letter-spacing: 1.3px; color: var(--gold-2); text-transform: uppercase; }
.overlay-card .ttl { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.25; }
.overlay-card .sub { font-size: 15px; color: #E6EBF2; }
a.overlay-card:hover { color: #fff; }
a.overlay-card:hover .ttl { text-decoration: underline; text-underline-offset: 3px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; }
.post-card:hover { color: inherit; border-color: #C9D1DC; }
.post-card:hover .post-title { text-decoration: underline; text-underline-offset: 3px; }
.post-cover { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 26px; }
.post-cover.dark { background: var(--navy); color: #fff; }
.post-cover.light { background: var(--ground); color: var(--navy); border-bottom: 1px solid var(--line); }
.post-cover .big { font-family: var(--serif); font-weight: 700; font-size: 60px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.post-cover .cap { font-size: 14px; font-weight: 600; letter-spacing: 1px; color: var(--gold-2); }
.post-cover.light .cap { color: var(--gold-3); }
.post-card img.post-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; }
.post-meta .cat { font-weight: 600; letter-spacing: 1px; color: var(--gold-3); text-transform: uppercase; }
.post-meta .date { color: var(--faint); }
.listing-price { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--navy); line-height: 1.2; }
.listing-facts { margin: 0; font-size: 15px; color: var(--ink); }
.listing-courtesy { margin: 0; font-size: 13px; color: var(--muted); }
.listing-highlight { margin: 0; font-size: 14px; font-weight: 700; color: var(--navy-2); background: #FBF5EA; border-left: 3px solid var(--gold); padding: 6px 10px; border-radius: 0 4px 4px 0; }
.listing-callout { background: #FBF5EA; border: 1px solid #EBDDC4; border-left: 4px solid var(--gold); border-radius: 6px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.post-title { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.post-sum { margin: 0; font-size: 15px; color: var(--body); }
.post-more { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--navy); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--input); border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status.ok { color: #166534; }
.form-status.err { color: #991B1B; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Article body */
.prose { font-size: 18px; color: var(--body); max-width: 720px; }
.prose h2 { font-family: var(--serif); color: var(--navy); font-size: 26px; line-height: 1.3; margin: 40px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 18px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--ground); color: var(--ink); }
/* Photos and key-number tiles inside posts (Markdown `![alt](file)` and `:: value | label`). */
.post-fig { margin: 4px 0 26px; }
.post-fig a { display: block; }
.post-fig img { display: block; width: 100%; height: auto; border-radius: 6px; background: #E9E6E1; }
.post-fig.n2, .post-fig.n3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.post-fig.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-fig.n2 img, .post-fig.n3 img { height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-fig figcaption { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.post-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; }
.post-stats div { background: var(--ground); border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-stats b { font-family: var(--serif); color: var(--navy); font-size: 22px; line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
.post-stats span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.post-h1 { font-size: clamp(32px, 6vw, 48px); }
/* Phones: posts read like a feed. Photos run edge to edge, text a touch smaller, tiles two across. */
@media (max-width: 640px) {
  .post-h1 { font-size: 27px; }
  .post-body { font-size: 17px; }
  .post-body h2 { font-size: 22px; margin-top: 34px; }
  .post-body .post-fig { margin-left: -16px; margin-right: -16px; }
  .post-body .post-fig img { border-radius: 0; }
  .post-body .post-fig.n2, .post-body .post-fig.n3 { gap: 3px; }
  .post-body .post-fig figcaption { padding: 0 16px; }
  .post-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .post-stats b { font-size: 20px; }
}

/* Footer */
.site-footer { background: var(--navy-3); color: #C8D0DD; font-size: 14px; line-height: 1.6; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.site-footer .h { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; color: var(--gold-2); text-transform: uppercase; }
.site-footer .fine { border-top: 1px solid var(--line-dark); padding-top: 22px; font-size: 13px; color: #A9B4C5; display: flex; flex-direction: column; gap: 10px; }
.site-footer .firms { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.site-footer .firm { display: flex; flex-direction: column; gap: 8px; text-decoration: none; flex: 0 1 260px; }
.site-footer .firm-cap { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; color: var(--gold-2); text-transform: uppercase; }
.site-footer .firm-logo { background: #fff; border-radius: 6px; height: 88px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; }
.site-footer .firm-logo img { display: block; max-height: 64px; max-width: 100%; width: auto; height: auto; }
.site-footer .firm-link { font-size: 13px; color: #C8D0DD; }
.site-footer .firm:hover .firm-link { color: #fff; text-decoration: underline; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer .links a { color: #C8D0DD; }

/* ── Home value tools (/value, /calculator, /market) ── */
.vsearch { display: flex; gap: 10px; width: 100%; max-width: 760px; background: #fff; border-radius: 8px; padding: 8px; box-shadow: 0 10px 30px rgba(10, 24, 48, .18); }
.vsearch input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 17px; border: 0; padding: 12px 12px; color: var(--ink); background: transparent; }
.vsearch input:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; border-radius: 4px; }
.vsearch .btn { flex: none; padding: 13px 22px; }
@media (max-width: 560px) { .vsearch { flex-direction: column; } .vsearch .btn { width: 100%; } }
.vnote { margin: 0; font-size: 14px; color: #A9B4C5; }
.vhero { padding-top: 64px; padding-bottom: 64px; }

.vband { background: var(--ground); border-bottom: 1px solid var(--line); padding: 40px 0; }
.vband-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.vband-title { margin: 0; font-family: var(--serif); font-size: clamp(24px, 4.5vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.25; }
.vband .vsearch { box-shadow: 0 4px 18px rgba(10, 24, 48, .08); border: 1px solid var(--line); }
.vband-links { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 15px; color: var(--muted); }
.vband-links a { font-weight: 600; }
@media (min-width: 980px) {
  .vband-inner { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.5fr); column-gap: 48px; row-gap: 12px; align-items: center; }
  .vband-copy { grid-row: 1 / span 2; }
  .vband .vsearch { max-width: none; }
}

.vnotice { margin-top: 24px; background: #ECF6EF; color: #14532D; border-radius: 6px; padding: 14px 18px; font-weight: 600; }
.vresult { padding-top: 56px; }
.vgrid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.vmain { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.vside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vcard { background: var(--ground); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.vcard p { margin: 0; color: var(--body); font-size: 15px; }
.vcard-title { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.vsub { display: flex; flex-direction: column; gap: 12px; }
.vhead { display: flex; flex-direction: column; gap: 8px; }
.vaddr { margin: 0; font-family: var(--serif); font-size: clamp(24px, 4vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.25; }
.vfacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vfacts li { background: var(--ground); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: var(--ink); }
.vlast { margin: 0; font-size: 14px; color: var(--muted); }
.vest { border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.vest-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.vest-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-3); }
.vest-price { font-family: var(--serif); font-size: clamp(42px, 8vw, 60px); font-weight: 700; color: var(--navy); line-height: 1.05; }
.vest-range { font-size: 16px; color: var(--body); margin-top: 4px; }
.vest-side { text-align: right; }
@media (max-width: 560px) { .vest-side { text-align: left; } }
.vest-ppsf { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); }
.vchart-wrap { display: flex; flex-direction: column; gap: 6px; }
.vchart { width: 100%; height: auto; display: block; overflow: visible; }
.vtick { font-size: 12px; fill: var(--muted); font-family: var(--sans); font-variant-numeric: tabular-nums; }
.vlabel { font-size: 13px; font-weight: 700; fill: var(--ink); font-family: var(--sans); }
.vdot { cursor: pointer; outline: none; }
.vdot:focus-visible circle:last-child { stroke: var(--gold); stroke-width: 3; }
.vlegend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.vlegend li { display: flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.sw-band { background: rgba(19, 41, 75, .14); width: 18px; }
.sw-est { background: #A8834C; border-radius: 50%; }
.sw-comp { background: #13294B; border-radius: 50%; width: 10px; height: 10px; }
.ztip { position: absolute; z-index: 60; display: none; background: var(--navy-2); color: #fff; font-size: 13px; line-height: 1.45; padding: 8px 10px; border-radius: 6px; pointer-events: none; max-width: 240px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.vcomps h3, .vrent h3, .mchart h3, .mbeds h3, .cout-h { margin: 0; font-family: var(--serif); font-size: 21px; color: var(--navy); }
.vmuted { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.vcomp-table { margin-top: 14px; border-top: 1px solid var(--line); }
.vcomp { display: grid; grid-template-columns: minmax(0, 2.2fr) 1fr .8fr .8fr .9fr .8fr 1.1fr; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.vcomp-head { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); padding: 10px 0; }
.vc-addr { display: flex; flex-direction: column; min-width: 0; }
.vc-addr strong { font-weight: 600; overflow-wrap: anywhere; }
.vc-addr small { color: var(--muted); font-size: 13px; }
.vc-price { font-weight: 700; color: var(--navy); }
.vc-status { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .vcomp-head { display: none; }
  .vcomp { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .vc-price { text-align: right; }
  .vcomp > span:nth-child(n+3) { font-size: 14px; color: var(--body); }
  .vcomp > .vc-status { grid-column: 1 / -1; }
  .vcomp > span[data-l]::before { content: attr(data-l) '：'; color: var(--muted); }
  html[lang="en"] .vcomp > span[data-l]::before { content: attr(data-l) ': '; }
}
.vrent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--ground); border-radius: 8px; padding: 22px 24px; }
.vrent p { margin: 4px 0 0; color: var(--body); font-size: 15px; }
.vrent-amt { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-top: 4px; }
.vnext { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.vdisclaimer { margin: 0; font-size: 13px; color: var(--muted); }
.verror { background: #FBF6EE; border-radius: 8px; padding: 22px 24px; }
.verror p { margin: 8px 0 0; color: var(--body); }
.vskel { display: flex; flex-direction: column; gap: 14px; }
.vskel div { height: 22px; border-radius: 4px; background: linear-gradient(90deg, #EEF1F5 0%, #F7F8FA 50%, #EEF1F5 100%); background-size: 200% 100%; animation: vshimmer 1.2s linear infinite; }
.vskel div:nth-child(1) { width: 55%; height: 30px; } .vskel div:nth-child(2) { width: 35%; height: 54px; } .vskel div:nth-child(3) { width: 100%; height: 90px; }
@keyframes vshimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .vskel div { animation: none; } }
.mloading { margin: 0; color: var(--muted); }
.vsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.vsteps li { display: flex; gap: 14px; align-items: flex-start; }
.vstep-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.vsteps h3 { margin: 4px 0 4px; font-size: 18px; color: var(--navy); }
.vsteps p { margin: 0; color: var(--body); font-size: 15px; }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; text-decoration: none; color: inherit; }
.tool-card:hover { border-color: #C9D1DC; color: inherit; }
.tool-card-title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy); }
.tool-card-sub { font-size: 15px; color: var(--body); }

/* Calculators */
.ctabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ctab { font: inherit; font-size: 16px; font-weight: 600; padding: 11px 20px; border-radius: 999px; border: 1px solid #5B6E8C; background: transparent; color: #fff; cursor: pointer; min-height: 44px; }
.ctab[aria-selected="true"] { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy-2); }
.calc { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.calc[hidden] { display: none !important; }
.calc-inputs { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 18px; }
.cfield { display: flex; flex-direction: column; gap: 6px; }
.cfield label { font-size: 14px; font-weight: 600; }
.cinput { display: flex; align-items: center; border: 1px solid var(--input); border-radius: 4px; background: #fff; }
.cinput:focus-within { outline: 2px solid var(--gold); outline-offset: 1px; }
.cinput input, .cinput select { font: inherit; font-size: 16px; border: 0; padding: 11px 12px; width: 100%; min-width: 0; background: transparent; color: var(--ink); font-variant-numeric: tabular-nums; }
.cinput input:focus, .cinput select:focus { outline: none; }
.cunit { padding: 0 12px; color: var(--muted); font-size: 15px; }
.cinput .cunit:first-child { padding-right: 0; }
.chelp { font-size: 13px; color: var(--muted); line-height: 1.45; }
.calc-out { flex: 1 1 380px; min-width: 0; position: sticky; top: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .calc-out { position: static; } }
.cbig { display: flex; flex-direction: column; gap: 2px; }
.cbig-n { font-family: var(--serif); font-size: clamp(40px, 7vw, 54px); font-weight: 700; color: var(--navy); line-height: 1.1; }
.cstack { display: flex; gap: 2px; height: 16px; border-radius: 4px; overflow: hidden; background: #fff; }
.cstack span { display: block; min-width: 3px; height: 100%; }
.clegend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.clegend li { display: grid; grid-template-columns: 12px 1fr auto 44px; gap: 10px; align-items: center; font-size: 15px; }
.cl-val { font-weight: 600; text-align: right; }
.cl-share { color: var(--muted); text-align: right; font-size: 14px; }
.crows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.crows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.crows .num { font-weight: 600; white-space: nowrap; }
.crow-total { font-weight: 700; color: var(--navy); }
.ctiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ctile-n { display: block; font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.cwarn { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; color: #7A3E0C; background: #FDF3E7; border-radius: 6px; padding: 10px 12px; font-size: 15px; }
.cwarn-dot { width: 10px; height: 10px; border-radius: 50%; background: #C2410C; flex: none; }
.calc-foot { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.calc-foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 900px; }

/* Market pages */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.city-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; text-decoration: none; color: inherit; background: #fff; }
.city-card:hover { border-color: #C9D1DC; color: inherit; }
.city-name { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); }
.city-meta { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.city-deals { font-size: 14px; font-weight: 600; color: var(--gold-3); }
a.chip { text-decoration: none; display: inline-flex; align-items: center; }
.mpanel { display: flex; flex-direction: column; gap: 28px; min-height: 120px; }
.mtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 20px 28px; }
.mtiles > div { border-left: 2px solid var(--gold); padding-left: 16px; }
.mtile-n { display: block; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.mchart { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.mtrend { width: 100%; height: auto; display: block; touch-action: pan-y; }
.mbeds-table { margin-top: 10px; border-top: 1px solid var(--line); max-width: 640px; }
.mb-row { display: grid; grid-template-columns: .7fr 1.2fr 1fr .8fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mb-head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.city-closings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.city-closings li { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.cc-place { font-weight: 700; color: var(--navy); }
.cc-meta { font-size: 14px; color: var(--muted); }

.calc-sticky { display: none; }
@media (max-width: 860px) {
  .calc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy-2); color: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 15px; box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
  .calc-sticky strong { font-family: var(--serif); font-size: 22px; font-variant-numeric: tabular-nums; }
  .calc-sticky a { color: var(--gold-2); font-weight: 600; white-space: nowrap; }
  .calc-sticky[data-off] { display: none; }
}

/* Listing extras: featured tag, community tables, plans */
.featured-tag { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--navy-2); background: var(--gold-2); border-radius: 3px; padding: 1px 7px; font-size: 12px; }
.ltable-wrap { display: flex; flex-direction: column; gap: 12px; }
.ltable-title { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy); }
.ltable { border-top: 1px solid var(--line); }
.lrow { display: grid; grid-template-columns: .8fr 1fr 1.3fr .9fr 1fr 1.1fr; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lhead { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); padding: 10px 0; }
.lcell-main { font-weight: 700; color: var(--navy); }
.lcell-price { font-weight: 700; color: var(--navy); }
.lnote { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .lhead { display: none; }
  .lrow { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .lrow .lcell-price { text-align: right; }
  .lrow > span[data-l] { font-size: 14px; color: var(--body); }
  .lrow > span[data-l]::before { content: attr(data-l) '：'; color: var(--muted); }
  html[lang="en"] .lrow > span[data-l]::before { content: attr(data-l) ': '; }
  .lrow > .lcell-main { order: -2; } .lrow > .lcell-price { order: -1; }
}
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.plan-card { border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.plan-name { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); }
.plan-specs { font-size: 15px; color: var(--ink); }
.plan-note { font-size: 14px; color: var(--muted); margin-top: 4px; }
.gal-link { border-radius: 6px; } .gal-link:hover img { opacity: .92; } .gal-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* Home loans: pre-approval band, program cards, program sheets, checklists, FAQ */
.pa-band { background: var(--navy); color: #fff; border-radius: 6px; padding: 28px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px; }
.pa-title { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.25; color: #fff; }
.pa-band p { margin: 0; color: #C8D0DD; font-size: 16px; max-width: 640px; }
.pa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.pa-link { color: var(--gold-2); font-weight: 600; text-decoration: none; }
.pa-link:hover { color: #fff; }
.pa-mini { border: 1px solid #EBDDC4; border-left: 4px solid var(--gold); background: #FBF5EA; border-radius: 6px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.program-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 6px; padding: 22px 24px; text-decoration: none; background: #fff; color: inherit; }
.program-card:hover { border-top-color: var(--gold); box-shadow: 0 4px 16px rgba(19, 41, 75, .08); }
.program-name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.program-short { color: var(--body); font-size: 15px; }
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 20px; align-items: start; }
.sheet-card { display: flex; flex-direction: column; gap: 10px; }
.sheet-card img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.sheet-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sheet-title { font-weight: 600; color: var(--ink); font-size: 15px; }
.sheet-links { display: flex; gap: 12px; font-size: 14px; font-weight: 600; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li { position: relative; padding-left: 26px; color: var(--body); font-size: 16px; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 17px; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--gold-3); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--body); }
/* Closed-deal galleries: small (thumbnail-size) photo sets render as tiles, never blown up */
.deal-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 46%), 1fr)); gap: 12px; }
.deal-tiles img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.deal-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 46%), 1fr)); gap: 12px; }
.deal-more img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }

/* Home loans hero: text and licensing on the left, rate table on the right (rates second on phones) */
.loans-hero { display: grid; gap: 28px 48px; grid-template-columns: minmax(0, 1fr); }
.lh-text { display: flex; flex-direction: column; gap: 18px; }
.lh-lic { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; order: 3; }
.lh-rates { order: 2; min-width: 0; }
@media (min-width: 980px) {
  .loans-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); grid-template-rows: auto 1fr; }
  .lh-text { grid-column: 1; grid-row: 1; }
  .lh-lic { grid-column: 1; grid-row: 2; align-self: start; }
  .lh-rates { grid-column: 2; grid-row: 1 / span 2; }
}
.rates-card { background: #fff; border-radius: 8px; border-top: 4px solid var(--gold); box-shadow: 0 6px 24px rgba(19, 41, 75, .08); padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.rates-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.rates-title { margin: 0; font-family: var(--serif); font-size: clamp(24px, 4.5vw, 30px); line-height: 1.2; color: var(--navy); }
.rates-date { background: #FBF5EA; border: 1px solid #EBDDC4; color: var(--gold-3); font-weight: 600; font-size: 14px; border-radius: 999px; padding: 6px 14px; }
.rates-scenario { margin: 0; font-size: 15px; color: var(--body); }
.rate-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.rate-table th, .rate-table td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rate-table thead th { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--navy); padding-top: 4px; }
.rate-table tbody th { font-weight: 600; color: var(--ink); }
.rate-table td[data-label] { white-space: nowrap; }
.rate-table .rate-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate-table td.rate-num { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); }
.rate-table tbody tr:last-child th, .rate-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .rates-card { padding: 20px 18px; }
  .rate-table, .rate-table tbody { display: block; }
  .rate-table thead { display: none; }
  .rate-table tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .rate-table tbody tr:last-child { border-bottom: 0; }
  .rate-table th, .rate-table td { border: 0; padding: 0; text-align: left; }
  .rate-table tbody th { grid-column: 1 / -1; font-size: 16px; }
  .rate-table td::before { content: attr(data-label); display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .rate-table .rate-num { text-align: left; }
  .rate-table td.rate-num { font-size: 19px; }
}
.rates-note { margin: 0; font-size: 15px; color: var(--body); }
.rates-terms { margin: 0; font-size: 13px; color: var(--faint); line-height: 1.55; }
.rates-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rates-fine { font-size: 13px; color: var(--faint); line-height: 1.55; border-top: 1px solid var(--line); padding-top: 12px; }
.rates-fine summary { cursor: pointer; font-weight: 600; color: var(--muted); font-size: 14px; }
.rates-fine p { margin: 10px 0 0; }

/* Photo viewer: full-screen, swipe or arrow through every photo of a gallery ([data-gallery] a.gal-link) */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 14, 26, .96); display: flex; flex-direction: column; color: #fff; opacity: 0; transition: opacity .18s ease; }
.lb.on { opacity: 1; }
.lb[hidden] { display: none; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top, 0px)); font-size: 15px; flex: none; }
.lb-count { font-variant-numeric: tabular-nums; color: #C8D0DD; }
.lb-track { flex: 1 1 auto; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; padding: 0 12px; box-sizing: border-box; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.lb-cap { flex: none; text-align: center; padding: 10px 16px; padding-bottom: max(14px, env(safe-area-inset-bottom, 0px)); font-size: 15px; color: #C8D0DD; min-height: 1.5em; }
.lb-btn { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; font-size: 22px; line-height: 1; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 26px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-nav[disabled] { opacity: .25; cursor: default; }
@media (hover: none), (max-width: 640px) { .lb-nav { display: none; } }
.gal-link { cursor: zoom-in; }

/* Floating "Ask" button: opens the 5-minute call form; drag or tap › to tuck it into the right edge */
.ask-fab { -webkit-user-drag: none; position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: stretch; background: var(--gold-2); color: var(--navy-2); border-radius: 999px; box-shadow: 0 8px 24px rgba(10, 24, 48, .28); touch-action: pan-y; transition: transform .25s ease, opacity .25s ease; user-select: none; -webkit-user-select: none; }
.ask-fab.dragging { transition: none; }
.ask-open { display: flex; align-items: center; gap: 8px; padding: 13px 8px 13px 18px; color: inherit; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .5px; white-space: nowrap; }
.ask-open svg { flex: none; }
.ask-hide { border: 0; background: transparent; color: var(--navy-2); opacity: .55; cursor: pointer; padding: 0 14px 0 6px; font: inherit; font-size: 22px; line-height: 1; border-radius: 0 999px 999px 0; }
.ask-hide:hover { opacity: 1; }
.ask-open:focus-visible, .ask-hide:focus-visible, .ask-tab:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.ask-fab.tucked { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.ask-tab { position: fixed; right: 0; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: 60; border: 0; background: var(--gold-2); color: var(--navy-2); border-radius: 12px 0 0 12px; padding: 12px 10px 12px 9px; cursor: pointer; box-shadow: 0 4px 14px rgba(10, 24, 48, .25); font: inherit; font-weight: 700; font-size: 20px; line-height: 1; display: flex; align-items: center; gap: 4px; }
.ask-tab[hidden] { display: none; }
@media (max-width: 860px) { body:has(.calc-sticky:not([data-off])) .ask-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } body:has(.calc-sticky:not([data-off])) .ask-tab { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }
@media print { .ask-fab, .ask-tab { display: none; } }
.ask-dialog { border: 0; border-radius: 10px; padding: 0; overflow: auto; overscroll-behavior: contain; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 20px 60px rgba(10, 24, 48, .35); color: var(--ink); }
.ask-dialog::backdrop { background: rgba(8, 14, 26, .6); }
.ask-inner { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.ask-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ask-title { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--navy); }
.ask-x { flex: none; border: 0; background: var(--ground); color: var(--navy); width: 40px; height: 40px; border-radius: 999px; font-size: 22px; line-height: 1; cursor: pointer; }
.ask-quick { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-open .ask-fab, .lb-open .ask-tab { display: none; }
.ask-quick a { flex: 1 1 auto; white-space: nowrap; text-align: center; border: 1px solid var(--navy); color: var(--navy); border-radius: 4px; padding: 11px 12px; font-weight: 600; text-decoration: none; font-size: 15px; }
.ask-quick a:hover { background: var(--ground); }
.ask-wechat { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.ask-wechat img { flex: none; border-radius: 4px; }
.ask-dialog .form-grid { gap: 12px 14px; }

/* Guides (SEO landing pages): market snapshot block inside the article */
.guide-snap { background: var(--ground); border-radius: 6px; padding: 24px 26px; margin: 4px 0 22px; }
.guide-snap .num { font-size: 32px !important; }
.guide-src { margin: 14px 0 0 !important; font-size: 13px; color: var(--faint); }
.prose.guide h2 { scroll-margin-top: 16px; }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-links a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--navy); background: #fff; }
.guide-links a:hover { border-color: var(--gold); }
/* Market-update subscribe box (newsletterBox in build.mjs): email + 订阅 button */
.nl { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 6px; background: #fff; padding: 22px 24px; }
.nl-title { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.nl-sub { margin: 0; font-size: 15px; color: var(--body); }
.nl-row { display: flex; gap: 8px; margin-top: 6px; }
.nl-row input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--input); border-radius: 4px; background: #fff; color: var(--ink); }
.nl-row .btn { flex: none; padding: 12px 22px; min-width: 88px; }
.nl-status { margin: 0; font-size: 14px; }
.nl-status:empty { display: none; }
.nl.dark { background: rgba(255, 255, 255, .04); border-color: var(--line-dark-2); border-top-color: var(--gold-2); }
.nl.dark .nl-title { color: #fff; }
.nl.dark .nl-sub { color: #A9B4C5; }
.nl.dark .nl-row input { border-color: transparent; }
.nl.dark .form-status.ok { color: #86EFAC; }
.nl.dark .form-status.err { color: #FCA5A5; }
.nl-notice { background: #FBF5EA; color: var(--navy-2); border-left: 4px solid var(--gold); border-radius: 0 4px 4px 0; padding: 12px 16px; font-weight: 600; max-width: 780px; }
.nl-notice.err { border-left-color: #B91C1C; }
@media (max-width: 640px) { .nl { padding: 18px 16px; } .nl-title { font-size: 20px; } .nl-row .btn { padding: 12px 16px; min-width: 72px; } }
