/* Property detail: a calm, readable companion to the SB catalogue. */
body .sba.sba-detail {
  --sbd-ink: #142d3e;
  --sbd-muted: #5b707b;
  --sbd-line: #e1e7e3;
  --sbd-teal: #365e63;
  --sbd-tint: #edf3ef;
  --sbd-paper: #fff;
  width: 100%;
  max-width: none;
  padding: 30px 0 64px;
  margin: 0;
  background: #f7f6f1;
  color: var(--sbd-ink);
  font: 400 15px/1.7 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body .sba.sba-detail .sbd-wrap { width: min(100% - 64px, 1280px); margin: 0 auto; }
body .sba.sba-detail [hidden] { display: none !important; }
body .sba.sba-detail :is(h1,h2,h3) { color: var(--sbd-ink); font-family: Manrope, 'DM Sans', Arial, sans-serif; text-wrap: pretty; }
body .sba.sba-detail p { margin: 0 0 16px; font-size: inherit; line-height: inherit; }
body .sba.sba-detail a { color: var(--sbd-teal); text-underline-offset: 4px; }
body .sba.sba-detail :is(a,button,summary,input,textarea,select):focus-visible { outline: 3px solid #b78259; outline-offset: 4px; }
body .sba.sba-detail :is(button,a,summary) { -webkit-tap-highlight-color: #dce9e4; }
body .sba.sba-detail .dashicons { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; font-size: 18px; line-height: 18px; vertical-align: -3px; }
body .sba.sba-detail .sbd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin: 0 0 28px; color: #75858c; font-size: 12px; line-height: 1.5; }
body .sba.sba-detail .sbd-breadcrumb a { text-decoration: none; color: #546b76; }
body .sba.sba-detail .sbd-breadcrumb a:hover { color: #142d3e; text-decoration: underline; }
body .sba.sba-detail .sbd-heading { margin: 0 0 26px; }
body .sba.sba-detail .sbd-eyebrow { margin: 0 0 9px; color: #688078; font-size: 11px; line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
body .sba.sba-detail .sbd-heading h1 { max-width: 1050px; margin: 0 0 12px; font-size: clamp(28px,3.2vw,43px); line-height: 1.22; letter-spacing: -.035em; font-weight: 750; }
body .sba.sba-detail .sbd-address { margin: 0 0 18px; color: var(--sbd-muted); font-size: 16px; line-height: 1.6; }
body .sba.sba-detail .sbd-status-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; font-size: 12px; }
body .sba.sba-detail .sbd-status { display: inline-flex; align-items: center; gap: 7px; min-height: 29px; padding: 5px 10px; border-radius: 6px; background: #e9edef; color: #546974; font-weight: 650; line-height: 1.5; }
body .sba.sba-detail .sbd-status::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
body .sba.sba-detail .sbd-status[data-state='active'] { background: #dfefe5; color: #2c634c; }
body .sba.sba-detail .sbd-status[data-state='scheduled'] { background: #e5edf5; color: #3d5e78; }
body .sba.sba-detail .sbd-status[data-state='closed'] { background: #e9eae7; color: #65716d; }
body .sba.sba-detail .sbd-status[data-state='review'] { background: #f4ead8; color: #82623c; }
body .sba.sba-detail .sba-kind { min-height: 29px; padding: 6px 10px; border-radius: 6px; background: #eaf0ef; color: #3e6064; font-size: 11px; line-height: 1.5; font-weight: 600; }
body .sba.sba-detail .sbd-closing { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #536b76; font-size: 12px; line-height: 1.5; }
body .sba.sba-detail .sbd-closing small { color: #72858b; font-size: 11px; }

/* One generous media area, with genuine map controls beneath it. */
body .sba.sba-detail .sbd-viewer { margin: 0 0 26px; border: 1px solid #dce4df; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 8px 28px #142d3e06; }
body .sba.sba-detail .sbd-media { position: relative; height: clamp(320px,39vw,520px); background: #e6ece7; isolation: isolate; }
body .sba.sba-detail .sbd-media-panel { height: 100%; width: 100%; }
body .sba.sba-detail .sbd-media-panel iframe { display: block; width: 100%; height: 100%; border: 0; margin: 0; }
body .sba.sba-detail .sbd-media-panel img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; background: #e6ece7; }
body .sba.sba-detail .sbd-media-panel figure.sba-photo { width: 100%; height: 100%; }
body .sba.sba-detail .sbd-media-panel figure.sba-photo img { height: 100% !important; object-fit: contain !important; }
body .sba.sba-detail .sbd-media-panel .sba-placeholder { height: 100%; padding: 28px; text-align: center; }
body .sba.sba-detail .sbd-view-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 13px 18px; background: #fff; }
body .sba.sba-detail .sbd-view-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 42px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #597078 !important; font-size: 12px; line-height: 1.5; font-weight: 600; transition: background .18s, color .18s, border-color .18s; }
body .sba.sba-detail .sbd-view-button:hover { background: #f1f5f1; color: #244b50 !important; }
body .sba.sba-detail .sbd-view-button[aria-pressed='true'] { background: #e8f0eb; border-color: #d3e0d7; color: #264f48 !important; }
body .sba.sba-detail .sbd-map-link { margin-left: auto; padding: 10px 6px; font-size: 12px; line-height: 1.5; font-weight: 600; text-decoration: none; }
body .sba.sba-detail .sbd-map-link:hover { text-decoration: underline; }
body .sba.sba-detail .sbd-view-note { padding: 0 21px; border-top: 1px solid #edf0eb; background: #fafbf8; color: #64767b; font-size: 11px; line-height: 1.65; }
body .sba.sba-detail .sbd-view-note summary { width: fit-content; padding: 10px 0; font-size: 11px; font-weight: 400; }
body .sba.sba-detail .sbd-view-note p { max-width: 900px; margin: 0 0 13px; }

body .sba.sba-detail .sbd-section-nav { display: flex; gap: 5px 9px; flex-wrap: wrap; padding: 0 0 18px; margin: 0 0 28px; border-bottom: 1px solid #dce3dd; }
body .sba.sba-detail .sbd-section-nav a { display: inline-flex; align-items: center; min-height: 40px; border-radius: 7px; padding: 9px 13px; color: #4b6470; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .18s, color .18s; }
body .sba.sba-detail .sbd-section-nav a:hover,body .sba.sba-detail .sbd-section-nav a[aria-current] { background: #e8eeea; color: #254c4c; }
body .sba.sba-detail .sbd-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; align-items: start; }
body .sba.sba-detail .sbd-main { min-width: 0; }
body .sba.sba-detail .sbd-section { margin: 0 0 24px; padding: 28px 30px; border: 1px solid var(--sbd-line); border-radius: 14px; background: #fff; scroll-margin-top: 96px; }
body .sba.sba-detail .sbd-section h2 { margin: 0 0 22px; font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: -.025em; }
body .sba.sba-detail .sbd-section h3 { margin: 22px 0 10px; font-size: 16px; line-height: 1.5; font-weight: 650; letter-spacing: -.015em; }
body .sba.sba-detail .sbd-section p { color: #4d6570; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
body .sba.sba-detail .sbd-section p:last-child { margin-bottom: 0; }
body .sba.sba-detail .sbd-section p.sbd-eyebrow { margin: 0 0 9px; color: #688078; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .12em; }
body .sba.sba-detail .sbd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
body .sba.sba-detail .sbd-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 24px; margin: 0; }
body .sba.sba-detail .sbd-metrics > div { display: block; padding: 18px 0; border: 0; border-bottom: 1px solid #e9eeea; min-width: 0; }
body .sba.sba-detail .sbd-metrics dt { width: auto; max-width: none; margin: 0 0 6px; color: #667b83; font-size: 12px; font-weight: 500; line-height: 1.5; }
body .sba.sba-detail .sbd-metrics dd { width: auto; max-width: none; margin: 0; text-align: left; color: #213f4f; font-size: clamp(16px,1.6vw,21px); line-height: 1.45; font-weight: 650; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: normal; }
body .sba.sba-detail .sbd-metrics > div:not(:last-child) dd { white-space: nowrap; }
body .sba.sba-detail .sbd-metrics > .sbd-metric-primary { grid-column: 1 / -1; margin: 0 0 7px; padding: 18px 21px; border: 1px solid #dce7df; border-radius: 10px; background: #eef4ee; }
body .sba.sba-detail .sbd-metric-primary dt { color: #526f64; font-size: 12px; }
body .sba.sba-detail .sbd-metric-primary dd { color: #204e43; font-size: clamp(28px,3vw,36px); line-height: 1.25; white-space: nowrap; }
body .sba.sba-detail .sbd-list { display: block; margin: 0; }
body .sba.sba-detail .sbd-list > div { display: grid; grid-template-columns: minmax(115px,.85fr) minmax(0,1.75fr); gap: 12px 22px; border-bottom: 1px solid #e9eeea; padding: 14px 0; font-size: 13px; line-height: 1.7; }
body .sba.sba-detail .sbd-list > div:last-child { border-bottom: 0; }
body .sba.sba-detail .sbd-list dt { max-width: none; min-width: 0; color: #677b84; font-weight: 400; }
body .sba.sba-detail .sbd-list dd { max-width: none; min-width: 0; width: auto; margin: 0; text-align: left; color: #2f4d5a; font-weight: 500; overflow-wrap: anywhere; }
body .sba.sba-detail .sbd-list dd a { font-weight: 500; }

body .sba.sba-detail .sbd-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
body .sba.sba-detail .sbd-tool { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 14px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; color: #3f6465 !important; font-size: 12px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background .18s,border-color .18s; }
body .sba.sba-detail .sbd-tool:hover { background: #edf4ee; border-color: #b8cdc1; }
body .sba.sba-detail .sbd-tool[aria-pressed='true'] { color: #2b5d45 !important; background: #e5f0e7; border-color: #b7cfbd; }
body .sba.sba-detail .sbd-notes { margin: 14px 0 0; border: 1px solid #e5e5d9; border-radius: 9px; background: #faf9f3; padding: 0 16px; }
body .sba.sba-detail .sbd-notes summary { color: #6c644e; font-size: 12px; line-height: 1.6; font-weight: 600; padding: 13px 0; }
body .sba.sba-detail .sbd-notes label { font-size: 12px; margin: 4px 0 8px; color: #64757b; }
body .sba.sba-detail .sbd-notes textarea { display: block; width: 100%; min-height: 135px; margin: 0 0 10px; resize: vertical; padding: 12px; border: 1px solid #d5ded5; border-radius: 7px; background: #fff; font: 400 13px/1.7 'DM Sans',Arial,sans-serif; color: #294451; }
body .sba.sba-detail .sbd-notes .sbd-note-status { margin: 0 0 12px; color: #75827b; font-size: 11px; }
body .sba.sba-detail .sbd-section .sbd-note-status { margin: 10px 0 0; color: #687e76; font-size: 12px; line-height: 1.7; }
body .sba.sba-detail .sbd-section .sbd-note-status:empty { display: none; }
body .sba.sba-detail .sbd-section .sbd-notes .sbd-note-status { margin: 0 0 12px; font-size: 11px; }
body .sba.sba-detail .sbd-checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0 0 20px; }
body .sba.sba-detail .sbd-check { padding: 17px 18px; border: 1px solid #e8e4d9; border-radius: 9px; background: #f8f6ef; min-width: 0; }
body .sba.sba-detail .sbd-check h3 { margin: 0 0 8px; color: #5d6151; font-size: 13px; letter-spacing: 0; }
body .sba.sba-detail .sbd-check p { color: #665f51; font-size: 12px; line-height: 1.75; }
body .sba.sba-detail .sbd-disclosure { padding: 0; border-top: 1px solid #e8eee7; }
body .sba.sba-detail .sbd-disclosure summary { padding: 15px 0; color: #365462; font-size: 13px; font-weight: 600; line-height: 1.6; }
body .sba.sba-detail .sbd-disclosure p { padding: 0 0 14px; color: #61757d; font-size: 13px; }

/* The useful next steps remain in reach without competing with the data. */
body .sba.sba-detail .sbd-sidebar { min-width: 0; align-self: start; position: sticky; top: 48px; }
body .sba.sba-detail .sbd-side-inner { position: static; }
body .sba.sba-detail .sbd-side-card { padding: 24px; margin: 0 0 18px; border: 1px solid var(--sbd-line); border-radius: 13px; background: #fff; }
body .sba.sba-detail .sbd-side-card h2 { margin: 0 0 12px; font-size: 17px; line-height: 1.45; font-weight: 700; letter-spacing: -.02em; }
body .sba.sba-detail .sbd-side-card p { color: #627880; font-size: 12px; line-height: 1.8; margin: 0 0 18px; }
body .sba.sba-detail .sbd-side-card-primary { background: #edf3ee; border-color: #d7e3d9; }
body .sba.sba-detail .sbd-side-label { display: block; margin: 0 0 6px; color: #5d786b; font-size: 12px; font-weight: 500; line-height: 1.5; }
body .sba.sba-detail .sbd-side-price { display: block; margin: 0 0 15px; font-size: clamp(23px,2.6vw,31px); font-weight: 750; line-height: 1.3; letter-spacing: -.035em; white-space: nowrap; color: #214b40; font-variant-numeric: tabular-nums; }
body .sba.sba-detail .sbd-side-card .sba-button { display: flex; justify-content: center; align-items: center; min-height: 46px; width: 100%; margin: 0; border: 1px solid #173e4b; border-radius: 8px; padding: 12px 14px; background: #173e4b; color: #fff !important; font-size: 13px; font-weight: 600; line-height: 1.6; text-align: center; text-decoration: none; transition: background .18s,transform .18s; }
body .sba.sba-detail .sbd-side-card .sba-button:hover { background: #2c5862; border-color: #2c5862; }
body .sba.sba-detail .sbd-side-card .sba-button:active { transform: translateY(1px); }
body .sba.sba-detail .sbd-side-link { display: block; width: fit-content; margin: 12px auto 0; padding: 5px 0; color: #4b6b6a; font-size: 12px; line-height: 1.6; text-align: center; text-decoration: none; }
body .sba.sba-detail .sbd-side-link:hover { text-decoration: underline; }
body .sba.sba-detail .sbd-link-list { list-style: none; padding: 0; margin: 0; }
body .sba.sba-detail .sbd-link-list li { padding: 0; margin: 0; border-top: 1px solid #e7ece6; }
body .sba.sba-detail .sbd-link-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 46px; padding: 12px 0; color: #3f6269; font-size: 12px; line-height: 1.65; text-decoration: none; }
body .sba.sba-detail .sbd-link-list a .dashicons { color: #829b94; }
body .sba.sba-detail .sbd-link-list a:hover { color: #183f43; text-decoration: underline; }
body .sba.sba-detail .sbd-inline-link { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; margin-top: 8px; padding: 7px 0; color: #3e6667; font-size: 13px; font-weight: 600; line-height: 1.6; text-decoration: none; }
body .sba.sba-detail .sbd-inline-link:hover { color: #204a4d; text-decoration: underline; }
body .sba.sba-detail #sb-location iframe { display: block; width: 100%; height: 340px; border: 1px solid #dce5de; border-radius: 10px; background: #eaf0e9; }

/* Keep the existing calculator usable within the narrower detail column. */
body .sba.sba-detail #sb-costs.sba-calc { margin: 0 0 24px; border: 1px solid var(--sbd-line); border-radius: 14px; padding: 28px 30px; background: #fff; scroll-margin-top: 96px; }
body .sba.sba-detail #sb-costs h2 { margin: 0 0 14px; color: #173c49; font-size: 23px; line-height: 1.4; letter-spacing: -.025em; }
body .sba.sba-detail #sb-costs > p { color: #60777e; font-size: 13px; }
body .sba.sba-detail #sb-costs .sba-grid { grid-template-columns: minmax(0,1fr); gap: 20px; margin: 20px 0 0; }
body .sba.sba-detail #sb-costs .sba-grid > * { min-width: 0; }
body .sba.sba-detail #sb-costs label { font-size: 13px; font-weight: 500; margin: 12px 0; }
body .sba.sba-detail #sb-costs :is(input,select) { margin-top: 6px; min-height: 46px; border: 1px solid #c8d4ce; border-radius: 7px; color: #23434f; background: #fff; font-size: 14px; }
body .sba.sba-detail #sb-costs input[name='bid'] { font-size: 24px; font-weight: 600; }
body .sba.sba-detail #sb-costs aside { border-radius: 10px; background: #173c49; color: #fff; }
body .sba.sba-detail #sb-costs aside :is(h2,h3) { color: #fff; }
body .sba.sba-detail #sb-costs aside .sba-note { color: #d2e2e2; }
body .sba.sba-detail #sb-costs .sba-total { font-size: clamp(25px,3vw,34px); color: #d8e9d8; line-height: 1.4; }
body .sba.sba-detail #sb-costs .sba-total,body .sba.sba-detail #sb-costs [data-result] dd { overflow-wrap: normal; word-break: normal; font-variant-numeric: tabular-nums; }
body .sba.sba-detail #sb-costs .sba-total { white-space: nowrap; }
body .sba.sba-detail #sb-costs details summary { font-size: 13px; color: #4e6d73; }
body .sba.sba-detail .sbd-source-note { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #e7ece7; color: #74878a; font-size: 11px; line-height: 1.8; }
body .sba.sba-detail .sbd-section p.sbd-source-note,body .sba.sba-detail .sbd-side-card p.sbd-source-note { margin: 18px 0 0; color: #6c7f83; font-size: 12px; line-height: 1.8; }
body .sba.sba-detail .sbd-check p.sbd-source-note { margin-top: 12px; padding-top: 11px; color: #817966; font-size: 11px; line-height: 1.75; }
body .sba.sba-detail .sbd-bottom-link { padding: 22px 0 0; margin: 0; }
body .sba.sba-detail .sbd-bottom-link a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 13px; font-weight: 600; color: #4b686a; text-decoration: none; }
body .sba.sba-detail .sbd-bottom-link a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  body .sba.sba-detail .sbd-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 22px; }
  body .sba.sba-detail .sbd-side-card { padding: 20px; }
  body .sba.sba-detail .sbd-section,body .sba.sba-detail #sb-costs.sba-calc { padding: 24px; }
  body .sba.sba-detail .sbd-metrics { column-gap: 16px; }
}
@media (max-width: 900px) {
  body .sba.sba-detail .sbd-wrap { width: min(100% - 40px,1280px); }
  body .sba.sba-detail .sbd-layout { grid-template-columns: minmax(0,1fr); gap: 4px; }
  body .sba.sba-detail .sbd-sidebar { position: static; }
  body .sba.sba-detail .sbd-side-inner { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
  body .sba.sba-detail .sbd-side-card { margin: 0; }
  body .sba.sba-detail .sbd-media { height: 390px; }
  body .sba.sba-detail .sbd-metrics dd { font-size: 21px; }
  body .sba.sba-detail .sbd-metric-primary dd { font-size: 34px; }
  body .sba.sba-detail .sbd-side-price { font-size: 29px; }
}
@media (max-width: 600px) {
  body .sba.sba-detail { padding: 20px 0 40px; font-size: 14px; }
  body .sba.sba-detail .sbd-wrap { width: calc(100% - 30px); }
  body .sba.sba-detail .sbd-breadcrumb { gap: 7px; margin-bottom: 20px; font-size: 11px; }
  body .sba.sba-detail .sbd-heading { margin-bottom: 20px; }
  body .sba.sba-detail .sbd-heading h1 { font-size: clamp(25px,6.5vw,34px); line-height: 1.25; margin-bottom: 10px; }
  body .sba.sba-detail .sbd-address { font-size: 14px; margin-bottom: 15px; }
  body .sba.sba-detail .sbd-closing { width: 100%; margin-top: 2px; }
  body .sba.sba-detail .sbd-viewer { margin-bottom: 18px; border-radius: 12px; }
  body .sba.sba-detail .sbd-media { height: 310px; }
  body .sba.sba-detail .sbd-view-controls { padding: 10px; gap: 5px; }
  body .sba.sba-detail .sbd-view-button { padding: 9px 11px; min-height: 42px; font-size: 11px; }
  body .sba.sba-detail .sbd-map-link { margin-left: 0; padding: 8px 9px; font-size: 11px; }
  body .sba.sba-detail .sbd-view-note { padding: 0 13px; }
  body .sba.sba-detail .sbd-section-nav { gap: 3px; margin-bottom: 20px; padding-bottom: 14px; }
  body .sba.sba-detail .sbd-section-nav a { font-size: 11px; padding: 9px 10px; }
  body .sba.sba-detail .sbd-section,body .sba.sba-detail #sb-costs.sba-calc { padding: 21px 18px; margin-bottom: 18px; border-radius: 11px; scroll-margin-top: 78px; }
  body .sba.sba-detail .sbd-section h2 { font-size: 20px; margin-bottom: 18px; }
  body .sba.sba-detail .sbd-section p { font-size: 13px; }
  body .sba.sba-detail .sbd-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 17px; }
  body .sba.sba-detail .sbd-metrics > div { padding: 15px 0; }
  body .sba.sba-detail .sbd-metrics dt { font-size: 11px; }
  body .sba.sba-detail .sbd-metrics dd { font-size: 18px; letter-spacing: -.025em; }
  body .sba.sba-detail .sbd-metrics > .sbd-metric-primary { padding: 16px 17px; }
  body .sba.sba-detail .sbd-metric-primary dd { font-size: clamp(26px,8vw,34px); }
  body .sba.sba-detail .sbd-list > div { grid-template-columns: minmax(0,1fr); gap: 4px; padding: 12px 0; }
  body .sba.sba-detail .sbd-list dt { font-size: 11px; }
  body .sba.sba-detail .sbd-list dd { font-size: 13px; }
  body .sba.sba-detail .sbd-checks { grid-template-columns: minmax(0,1fr); gap: 10px; }
  body .sba.sba-detail .sbd-check { padding: 15px; }
  body .sba.sba-detail .sbd-tools { gap: 7px; }
  body .sba.sba-detail .sbd-tool { font-size: 11px; padding: 10px 11px; }
  body .sba.sba-detail .sbd-side-inner { display: block; }
  body .sba.sba-detail .sbd-side-card { margin-bottom: 16px; padding: 22px; }
  body .sba.sba-detail .sbd-side-price { font-size: 31px; }
  body .sba.sba-detail #sb-costs h2 { font-size: 21px; }
  body .sba.sba-detail #sb-costs input,body .sba.sba-detail .sbd-notes textarea { font-size: 16px; }
  body .sba.sba-detail #sb-location iframe { height: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  body .sba.sba-detail *,body .sba.sba-detail *::before,body .sba.sba-detail *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
}

body .sba.sba-detail .sbd-check .sbd-possession-alert{padding:12px;border-left:3px solid #a77344;background:#f2e6d4;color:#644526;font-weight:650;font-size:13px;line-height:1.7}

body .sba-detail .sbd-quick-summary{background:#fff;border:1px solid #dce4de;border-radius:16px;margin:24px 0;padding:22px 26px}
.sbd-quick-summary dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0}
.sbd-quick-summary dt{font-size:12px;color:#617681;margin-bottom:7px;font-weight:500}
.sbd-quick-summary dd{font-size:15px;color:#193b49;font-weight:600;line-height:1.5;margin:0;overflow-wrap:anywhere}
body .sba-detail .sbd-quick-summary p{font-size:12px;color:#617681;border-top:1px solid #edf0ed;padding-top:14px;margin:18px 0 0}
.sbd-quick-summary a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.sbd-quick-summary dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:460px){.sbd-quick-summary dl{grid-template-columns:1fr}.sbd-quick-summary dd{font-size:14px}}
body .sba.sba-detail .sbd-quick-summary dl>div{display:block;border:0;padding:0;min-width:0}
body .sba.sba-detail .sbd-quick-summary dl>div dt,body .sba.sba-detail .sbd-quick-summary dl>div dd{display:block;width:auto;max-width:none;text-align:left;float:none;margin-left:0}
body .sba.sba-detail .sbd-quick-summary dl>div dt{margin-bottom:8px}
body .sba.sba-detail[data-source="tgss"] .sbd-metrics dd{overflow-wrap:anywhere;white-space:normal!important;min-width:0}
