/* Buyer guide follows the existing portal palette and keeps details optional. */
.city-guide__toolbar {display:flex; align-items:end; justify-content:space-between; gap:20px; margin:24px 0;}
.city-guide__toolbar label {display:grid; gap:8px; font-weight:700; width:min(100%,520px);}
.city-guide__toolbar input {width:100%; box-sizing:border-box; border:1px solid #b8c5c8; border-radius:12px; padding:14px 16px; font:inherit; background:#fff; color:#102a43;}
.city-guide__toolbar p {color:#3f5665; font-size:14px; white-space:nowrap;}
.city-guide__row {display:grid; grid-template-columns:1.05fr 1.15fr 1fr; gap:24px; padding:26px; border:1px solid #dce4e3; border-radius:18px; margin:12px 0; background:#fff;}
.city-guide__row[hidden], .city-guide__toolbar[hidden] {display:none;}
.buyer-compare {border:1px solid #dce4e3;border-radius:18px;padding:20px 24px;background:#f4f7f5;margin:20px 0;}
.buyer-compare p {margin:0 0 12px;}
.buyer-compare__status {font-size:14px;color:#3f5665;}
.buyer-compare__chips {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;}
.buyer-compare__chip {border:1px solid #b8c5c8;background:#fff;color:#102a43;border-radius:12px;padding:10px 14px;font:inherit;text-align:left;cursor:pointer;max-width:100%;overflow-wrap:anywhere;}
.buyer-compare__toggle {margin-top:14px;}
.buyer-compare__open {margin:10px 0 0;}
.buyer-compare__open[hidden] {display:none;}
.buyer-compare__toggle[aria-pressed="true"] {border-color:#d94c34;background:#fce8e3;color:#102a43;}
.buyer-compare__panel {min-width:0;border:1px solid #b8c5c8;border-radius:18px;padding:24px;margin:20px 0;background:#fff;scroll-margin-top:110px;}
.buyer-compare__panel[hidden] {display:none;}
.buyer-compare__panel > .button {margin:14px 12px 0 0;}
.buyer-compare__scroll {width:100%;overflow:auto;margin:16px 0;}
.buyer-compare__panel table {width:100%;min-width:700px;border-collapse:collapse;font-size:15px;table-layout:fixed;}
.buyer-compare__panel col:first-child {width:160px;}
.buyer-compare__panel caption {text-align:left;font-weight:700;padding:10px 0;}
.buyer-compare__panel th,.buyer-compare__panel td {text-align:left;vertical-align:top;border:1px solid #dce4e3;padding:14px;overflow-wrap:anywhere;}
.buyer-compare__panel thead {background:#eef3f2;}
.buyer-compare__panel tbody th {background:#f8f8f4;}
.buyer-compare__panel th:first-child {position:sticky;left:0;z-index:1;}
.buyer-compare__panel thead th:first-child {background:#eef3f2;}
.buyer-compare__panel details a {display:block;margin:12px 0 4px;}
.buyer-compare__panel summary {cursor:pointer;font-weight:700;}
.city-guide button:focus-visible,.buyer-compare__panel:focus-visible,.buyer-compare__scroll:focus-visible {outline:3px solid #d94c34;outline-offset:4px;}
.city-guide__row h3 {font-size:21px; line-height:1.35; margin:8px 0 10px;}
.city-guide__row h3 a {color:#102a43; text-decoration:none;}
.city-guide__row h3 a:hover {text-decoration:underline;}
.city-guide__row p {margin:0 0 12px;}
.city-guide__row ul {margin-top:0;}
.city-guide__source {display:block; font-size:12px; line-height:1.6; color:#3f5665; margin-top:6px; overflow-wrap:anywhere; font-weight:400;}
.city-guide__drawing, .reference-buyers__details {border-top:1px solid #dce4e3; margin-top:20px; padding:18px 0 0;}
.city-guide__drawing {border:1px solid #dce4e3; border-radius:18px; padding:20px 24px; background:#f8f8f4;}
.city-guide__drawing summary, .reference-buyers__details summary, .buyer-passport summary {cursor:pointer; font-weight:700; color:#102a43; padding:8px 0;}
.city-guide__drawing summary small {display:block; padding-left:20px; font-size:13px; font-weight:400; color:#3f5665;}
.city-guide__drawing-body {max-width:880px; margin-top:14px;}
.reference-buyers__details {margin-bottom:20px;}
.reference-buyers__details h4 {margin:24px 0 10px; font-size:16px;}
.reference-buyers .card {display:flex; flex-direction:column;}
.reference-buyers .hero__actions {margin-top:auto; padding-top:12px;}
.reference-buyers .hero__actions .button {font-size:14px;}
.buyer-section-nav {display:flex; flex-wrap:wrap; gap:8px; max-width:1160px; margin:24px auto 0; padding:0 24px;}
.buyer-section-nav a {display:inline-block; border:1px solid #b8c5c8; color:#102a43; background:#fff; border-radius:999px; padding:10px 16px; font-size:14px; text-decoration:none;}
.buyer-section-nav a:hover {background:#eef3f2;}
.buyer-passport__layout {display:grid; grid-template-columns:1.3fr 1fr; gap:32px; align-items:start;}
.buyer-passport__facts {margin:0; border:1px solid #dce4e3; border-radius:18px; padding:8px 24px; background:#fff;}
.buyer-passport__facts > div {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:20px; padding:16px 0; border-bottom:1px solid #dce4e3;}
.buyer-passport__facts > div:last-child {border:0;}
.buyer-passport__facts dt {font-size:14px; color:#3f5665;}
.buyer-passport__facts dd {margin:0; font-weight:600; overflow-wrap:anywhere;}
.buyer-passport__aside {border-radius:18px; background:#f4f7f5; padding:24px;}
.buyer-passport__aside h3 {margin-top:0;}
.buyer-passport__aside .button {margin-top:20px;}
#city-guide, #passport, [id^="reference-"] {scroll-margin-top:110px;}
.city-guide input:focus-visible, .city-guide a:focus-visible, .city-guide summary:focus-visible, .buyer-section-nav a:focus-visible, .buyer-passport summary:focus-visible, .reference-buyers summary:focus-visible {outline:3px solid #d94c34; outline-offset:4px;}
@media (max-width:850px) {
  .city-guide__row {grid-template-columns:1fr 1fr; gap:18px;}
  .city-guide__row > :last-child {grid-column:1/-1;}
  .buyer-passport__layout {grid-template-columns:1fr;}
}
@media (max-width:560px) {
  .buyer-compare,.buyer-compare__panel {padding:16px;}
  .buyer-compare__panel table {min-width:424px;font-size:14px;}
  .buyer-compare__panel table[data-homes="3"] {min-width:580px;}
  .buyer-compare__panel col:first-child {width:112px;}
  .buyer-compare__panel th,.buyer-compare__panel td {padding:10px;}
  .city-guide__toolbar {align-items:stretch; flex-direction:column; gap:8px;}
  .city-guide__toolbar p {margin:0;}
  .city-guide__row {grid-template-columns:1fr; padding:20px; gap:8px;}
  .city-guide__row > :last-child {grid-column:auto;}
  .buyer-passport__facts {padding:4px 18px;}
  .buyer-passport__facts > div {grid-template-columns:1fr; gap:6px;}
  .buyer-section-nav {padding:0 18px;}
  .city-guide__drawing {padding:16px 18px;}
}
@media (max-width:360px) {
  .buyer-compare__panel {padding:12px;}
}
