/* IDX preview v1. EXAMPLE data only. Square corners, navy and gold, IBM Plex from the site. */
.idxp, .idxp * { border-radius: 0; }
.idxp-banner { background: var(--navy-deep, #071a33); color: #fff; border-bottom: 4px solid var(--gold, #c9a24a); padding: 12px 0; font-size: 15px; line-height: 1.45; }
.idxp-banner strong { color: var(--gold, #c9a24a); letter-spacing: .06em; text-transform: uppercase; }
.idxp main .wrap, .idxp .idxp-banner .wrap { max-width: 1120px; margin-left: auto; margin-right: auto; }
.idxp-banner .wrap { display: block; }
.idxp-badge { display: inline-block; background: #8a1c1c; color: #fff; font-family: var(--sans, inherit); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; margin: 0; line-height: 1.3; }
.idxp-card > .idxp-badge { display: block; text-align: center; }
.idxp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; }
.idxp-count { font-weight: 600; margin: 0; color: var(--navy, #0b2545); }
.idxp-toolbar-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.idxp-seg { display: inline-flex; border: 2px solid var(--navy, #0b2545); }
.idxp-seg button { font: inherit; font-weight: 600; font-size: 15px; min-height: 44px; padding: 8px 18px; background: #fff; color: var(--navy, #0b2545); border: 0; cursor: pointer; }
.idxp-seg button + button { border-left: 2px solid var(--navy, #0b2545); }
.idxp-seg button[aria-pressed="true"] { background: var(--navy, #0b2545); color: #fff; }
.idxp-filters { background: var(--grey, #f4f6f9); border: 1px solid var(--line, #d5dbe3); border-top: 3px solid var(--gold, #c9a24a); padding: 18px 20px; margin: 0 0 22px; }
.idxp-filters-grid { display: grid; gap: 14px 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.idxp-filters label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 4px; color: var(--navy, #0b2545); }
.idxp-filters select, .idxp-filters input { width: 100%; min-height: 44px; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--field-border, #667085); background: #fff; color: var(--ink, #14202e); }
.idxp-filters-actions { margin-top: 14px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.idxp-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin: 0 0 28px; padding: 0; list-style: none; }
@media (min-width: 720px) { .idxp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .idxp-grid.cols3 { grid-template-columns: 1fr 1fr 1fr; } }
.idxp-card { background: #fff; border: 1px solid var(--line, #d5dbe3); display: flex; flex-direction: column; margin: 0; }
.idxp-card[hidden] { display: none; }
.idxp-photo { display: block; background: #e9edf3; }
.idxp-photo img { display: block; width: 100%; height: auto; }
.idxp-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.idxp-card-body p { margin: 0; }
.idxp-status { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; background: var(--navy, #0b2545); color: #fff; }
.idxp-status.sold { background: #4a5568; }
.idxp-price { font-family: var(--serif, inherit); font-size: 26px; font-weight: 600; color: var(--navy, #0b2545); line-height: 1.2; }
.idxp-addr { font-size: 18px; font-weight: 600; margin: 0; }
.idxp-addr a { color: var(--navy, #0b2545); text-decoration: none; }
.idxp-addr a:hover, .idxp-addr a:focus { text-decoration: underline; }
.idxp-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; font-size: 16px; }
.idxp-tenure { font-size: 16px; }
.idxp-tenure strong { color: var(--navy, #0b2545); }
.idxp-courtesy { font-size: 16px; font-weight: 600; color: var(--navy, #0b2545); border-top: 1px solid var(--line, #d5dbe3); padding-top: 8px; margin-top: 4px !important; }
.idxp-card-notice { font-size: 13px; line-height: 1.45; color: var(--muted, #475467); }
.idxp-map { position: relative; border: 1px solid var(--line, #d5dbe3); background: #e9edf3 repeating-linear-gradient(0deg, transparent 0 39px, rgba(11,37,69,.08) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(11,37,69,.08) 39px 40px); height: 380px; margin: 0 0 14px; }
.idxp-map-label { margin: 0 0 8px; font-size: 14px; background: #fff; border: 1px solid var(--line, #d5dbe3); padding: 8px 12px; }
.idxp-pin { position: absolute; transform: translate(-50%, -100%); font: inherit; font-size: 13px; font-weight: 700; background: var(--navy, #0b2545); color: #fff; border: 2px solid var(--gold, #c9a24a); padding: 6px 8px; min-height: 36px; cursor: pointer; }
.idxp-pin[aria-pressed="true"] { background: var(--gold, #c9a24a); color: var(--navy-deep, #071a33); border-color: var(--navy-deep, #071a33); }
.idxp-map-selected { margin: 0 0 24px; }
.idxp-empty { padding: 22px; border: 1px dashed var(--field-border, #667085); background: #fff; }
.idxp-save { border: 1px solid var(--line, #d5dbe3); border-left: 5px solid var(--gold, #c9a24a); background: #fff; padding: 16px 20px; margin: 0 0 28px; }
.idxp-save h2 { font-size: 20px; margin: 0 0 8px; }
.idxp-save-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 12px 0; }
.idxp-save label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; }
.idxp-save input, .idxp-save select { width: 100%; min-height: 44px; padding: 8px 10px; font: inherit; font-size: 16px; border: 1px solid var(--line, #d5dbe3); background: var(--grey, #f4f6f9); }
.idxp-notices { border: 2px solid var(--navy, #0b2545); background: #fff; padding: 18px 22px; margin: 28px 0; font-size: 16px; }
.idxp-notices h2 { font-size: 21px; margin: 0 0 10px; }
.idxp-notices p { margin: 0 0 10px; max-width: 62em; }
.idxp-mls { font-weight: 600; color: var(--navy, #0b2545); }
.idxp-results-notice { margin: 1.25rem 0 0.75rem; padding: 0.9rem 0; border-top: 1px solid var(--line, #d5dbe3); border-bottom: 1px solid var(--line, #d5dbe3); }
.idxp-ph { background: var(--gold-pale, #f7f0de); padding: 0 1px; font-style: italic; }
.idxp-logo { display: inline-block; border: 2px dashed var(--field-border, #667085); background: var(--grey, #f4f6f9); color: var(--muted, #475467); font-size: 13px; padding: 10px 14px; text-align: center; margin: 4px 0 0; max-width: 340px; }
.idxp-presented { font-weight: 700; color: var(--navy, #0b2545); font-size: 18px; margin: 0 0 10px; }
.idxp-note { background: var(--gold-pale, #f7f0de); border-left: 5px solid var(--gold, #c9a24a); padding: 12px 16px; font-size: 15px; margin: 0 0 22px; }
.idxp-note strong { color: var(--navy, #0b2545); }
.idxp-detail { display: grid; gap: 28px; grid-template-columns: 1fr; margin: 0 0 28px; }
@media (min-width: 900px) { .idxp-detail { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.idxp-gallery { display: grid; gap: 10px; }
.idxp-gallery img { display: block; width: 100%; height: auto; background: #e9edf3; }
.idxp-gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.idxp-summary { border: 1px solid var(--line, #d5dbe3); border-top: 3px solid var(--gold, #c9a24a); padding: 18px 20px; background: #fff; }
.idxp-summary p { margin: 0 0 10px; }
.idxp-dl { display: grid; grid-template-columns: minmax(9rem, 12rem) 1fr; gap: 8px 16px; margin: 0 0 22px; max-width: 46rem; }
.idxp-dl dt { font-weight: 700; color: var(--navy, #0b2545); }
.idxp-dl dd { margin: 0; }
.idxp-links { display: grid; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.idxp-mock { border: 2px dashed var(--field-border, #667085); padding: 18px 20px 6px; margin: 0 0 28px; background: #fff; }
.idxp-mock-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #475467); margin: 0 0 8px; }
.idxp-sources { border-top: 1px solid var(--line, #d5dbe3); margin-top: 36px; padding-top: 18px; font-size: 15px; max-width: 62rem; }
.idxp-sources h2 { font-size: 20px; }
.idxp-sources li { margin: 0 0 6px; }
@media (max-width: 600px) {
  .idxp-dl { grid-template-columns: 1fr; gap: 2px; }
  .idxp-dl dt { margin-top: 8px; }
  .idxp-map { height: 340px; }
  .idxp-seg button { padding: 8px 12px; }
}

/* v3: cost card and email note (navy and gold, square corners) */
.idxp-small { font-size: 13px; color: #3d4b57; margin: 0 0 10px; }
.idxp-cost { border: 1px solid var(--line, #d5dbe3); border-top: 3px solid var(--gold, #c9a24a); background: #fff; padding: 18px 20px; margin: 0 0 28px; max-width: 46rem; border-radius: 0; }
.idxl-top .idxp-cost { margin: 0 0 22px; max-width: none; }
.idxp-cost h2 { margin-top: 0; }
.idxp-cost-line { margin: 0 0 10px; font-size: 18px; color: var(--navy, #0b2545); }
.idxp-cost-total { font-family: var(--serif, inherit); font-size: 28px; font-weight: 600; }
.idxp-cost-est { font-size: 14px; color: #3d4b57; }
.idxp-cost-parts { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0 0 12px; max-width: 28rem; font-size: 15px; }
.idxp-cost-parts dt { font-weight: 400; }
.idxp-cost-parts dd { margin: 0; text-align: right; }
.idxp-cost-assume { font-size: 13px; line-height: 1.5; color: #3d4b57; margin: 0 0 12px; }
.idxp-cost-lease { background: var(--gold-pale, #f7f0de); border-left: 5px solid var(--gold, #c9a24a); padding: 10px 14px; font-size: 14px; margin: 0 0 12px; }

/* v3 detail layout: lead photo, summary, cost card, remaining photos. Photos are hotlinked from the listing source, shown whole (no cropping). */
.idxl-lead { margin: 0 0 18px; }
.idxl-lead img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; object-position: center; background: #eef2f5; border-radius: 0; }
.idxl-lead .idxl-nophoto { aspect-ratio: 800/520; border-radius: 0; }
.idxl-head { max-width: 46rem; margin: 0 0 22px; }
.idxl-head .idxp-price { font-size: 34px; margin: 0 0 4px; }
.idxl-head h1 { margin: 0 0 6px; }
.idxl-head .subline { margin: 0 0 12px; }
.idxl-head p { margin: 0 0 10px; }
.idxl-head .idxp-courtesy { border-top: 1px solid var(--line, #d5dbe3); padding-top: 10px; font-weight: 600; color: var(--navy, #0b2545); }
.idxl-photos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: start; margin: 0 0 24px; }
.idxl-photos img { display: block; width: 100%; height: auto; object-fit: contain; background: #eef2f5; border-radius: 0; }
.idxl-photos .idxl-nophoto { aspect-ratio: 800/520; border-radius: 0; }

/* v3 review round (Dec 3): search box, Filters button, gallery, share, 52px email bar. Square corners, navy and gold. */
.idxl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.idxl h2::after, body.idxl h2::before { content: none !important; display: none !important; }
body.idxl h2 { border-bottom: 0; background-image: none; }
.idxl-hero { padding: 28px 0 22px; }
.idxl-hero h1 { margin-bottom: 8px; }
.idxl-hero .subline { font-size: 17px; margin: 0; }
.idxl-searchrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 0 0 14px; }
.idxl-q label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 4px; color: var(--navy, #0b2545); }
.idxl-searchrow .btn { min-height: 44px; margin: 0; }
.idxl-panel { display: block; }
.idxl-filter-wide { grid-column: span 2; }
#l-status { min-width: 0; }
.idxp-filters-grid > div:has(#l-status) { grid-column: span 2; }
.idxp-fee { font-size: 16px; }
.idxp-calc { font-size: 14px; margin: 2px 0; color: #333; }
.idxp-calc-label { font-weight: 600; }
.idxl-calc { margin: 18px 0; padding: 12px 14px; border: 1px solid #d8d2c4; border-radius: 6px; background: #faf8f3; }
.idxl-calc h3 { margin: 0 0 6px; font-size: 18px; }
.idxp-actions { margin: 4px 0 0 !important; }
.idxl-share-wrap { display: inline-flex; align-items: center; gap: 10px; }
.idxl-share { font: inherit; font-weight: 600; font-size: 16px; min-height: 44px; padding: 8px 16px; background: #fff; color: var(--navy, #0b2545); border: 2px solid var(--navy, #0b2545); cursor: pointer; }
.idxl-share:hover, .idxl-share:focus-visible { background: var(--navy, #0b2545); color: #fff; }
.idxl-share-msg { font-size: 14px; color: #3d4b57; min-height: 1em; }
.idxl-share-slot { display: inline-block; vertical-align: middle; margin-left: 8px; }
.idxl-backrow { margin: 0 0 6px; }
.idxl-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
/* gallery: lead photo, whole (contain), counter, previous/next, swipe, tap for full screen */
.idxl-lead .idxl-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: 70vh; background: #eef2f5; }
.idxl-stage-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.idxl-lead .idxl-stage img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; background: transparent; }
.idxl-stage-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; font: inherit; font-size: 34px; line-height: 1; border: 0; background: rgba(11, 37, 69, .82); color: #fff; cursor: pointer; }
.idxl-prev { left: 0; } .idxl-next { right: 0; }
.idxl-stage-nav:focus-visible, .idxl-stage-btn:focus-visible, .idxl-thumb:focus-visible { outline: 3px solid var(--gold, #c9a24a); outline-offset: 2px; }
.idxl-counter { margin: 8px 0 0; font-weight: 600; font-size: 16px; color: var(--navy, #0b2545); }
.idxl-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.idxl-thumb { display: block; padding: 0; border: 1px solid var(--line, #d5dbe3); background: #eef2f5; cursor: zoom-in; aspect-ratio: 4 / 3; }
.idxl-photos .idxl-thumb img { width: 100%; height: 100%; object-fit: contain; }
.idxl-lb { position: fixed; inset: 0; z-index: 200; background: rgba(7, 26, 51, .96); display: flex; align-items: center; justify-content: center; }
.idxl-lb-box { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 56px; box-sizing: border-box; touch-action: pan-y; }
.idxl-lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.idxl-lb-btn { position: absolute; font: inherit; font-weight: 700; font-size: 16px; min-height: 48px; min-width: 48px; padding: 8px 16px; border: 2px solid var(--gold, #c9a24a); background: var(--navy, #0b2545); color: #fff; cursor: pointer; }
.idxl-lb-close { top: 10px; right: 10px; } .idxl-lb-prev { left: 6px; top: 50%; transform: translateY(-50%); } .idxl-lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.idxl-lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.idxl-lb-count { position: absolute; top: 20px; left: 16px; margin: 0; color: #fff; font-weight: 600; font-size: 16px; }
body.idxl-lb-open { overflow: hidden; }
/* detail: price, facts and the cost estimate side by side on a wide screen, stacked on a phone (lead photo, then price card, facts, courtesy, notice, button, then the estimate) */
.idxl-top { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .idxl-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; } }
.idxl-head { max-width: none; }
.idxl-price-est { font-size: 17px; color: var(--navy, #0b2545); margin: 0 0 10px !important; }
/* sticky Email Marcus bar (phones, replaces the 28px firm-name bar on the listings pages) */
.idxl-bar .idxl-bar-btn { width: 100%; background: transparent; color: #fff; border: 0; border-radius: 0; font-family: inherit; cursor: pointer; }
.idxl-bar-btn { display: flex; align-items: center; justify-content: center; min-height: 52px; font-weight: 700; font-size: 18px; text-align: center; text-decoration: none; }
@media (max-width: 820px) {
  body.idxl { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: 70px; }
  .idxl-hero { padding: 12px 0 10px; border-bottom-width: 4px; }
  .idxl-hero h1 { font-size: 28px; margin-bottom: 4px; }
  .idxl-hero .subline { font-size: 14px; line-height: 1.35; }
  .idxl-q label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .idxl-results.block { padding-top: 14px; }
  .idxl-searchrow { margin: 0 0 8px; }
  .idxp-toolbar { gap: 6px 12px; }
  .idxl-card .idxp-card-body { padding-top: 10px; }
  .idxp-filters { padding: 12px 14px; margin: 0 0 14px; }
  .idxl-searchrow { grid-template-columns: minmax(0, 1fr); }
  .idxl-q { grid-column: 1 / -1; }
  .idxp-toolbar { margin: 0 0 12px; }
  .idxp-filters-grid > div:has(#l-status) { grid-column: auto; }
  .idxl-stage-nav { width: 44px; height: 56px; }
  .idxl-head .idxp-price { font-size: 30px; }
}
@media (min-width: 821px) { .idxl-bar { display: none !important; } }
.idxl-card .idxp-addr a { display: block; padding: 10px 0; min-height: 44px; box-sizing: border-box; }
.idxl-card .idxp-addr { margin: -6px 0; }

/* ===== v3 filters, chips, saved searches, send panel (Dec 3). Square corners, navy and gold. ===== */
.idxl-help { margin: 4px 0 10px; font-size: 15px; }
.idxl-help > summary { display: inline-block; cursor: pointer; color: #1b3a5c; text-decoration: underline; min-height: 32px; line-height: 32px; }
.idxl-help ul { margin: 6px 0 0; padding: 10px 14px 10px 30px; background: #f4f7fa; border-left: 3px solid #b8892b; }
.idxl-help li { margin: 2px 0; line-height: 1.35; }
.idxl-panel { border: 0; padding: 0; margin: 0; }
.idxl-sec h3 { margin: 0; font-size: 16px; }
.idxl-sec h3 button { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 700; color: #14283f; text-align: left; cursor: pointer; width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.idxl-sec h3 button::after { content: "+"; font-size: 20px; flex: none; }
.idxl-sec h3 button[aria-expanded="true"]::after { content: "\2212"; }
.idxl-acc-count { margin-left: auto; font-weight: 400; font-size: 14px; color: #3d4b57; }
.idxl-sec-t2, .idxl-sec-t3 { border-top: 1px solid #c9d2da; }
.idxl-sec-t2 > div, .idxl-sec-t3 > div { padding-bottom: 8px; }
.idxl-filter-foot { margin: 6px 0 0; }
.idxl-filter-foot .btn { min-height: 44px; }
.idxl-t1 { display: grid; grid-template-columns: 1.1fr 1fr 1.6fr 0.9fr 0.9fr minmax(150px, 1.1fr); gap: 10px 12px; align-items: end; }
.idxl-t2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 8px; }
.idxl-field label, .idxl-range legend, .idxl-checks legend, .idxl-crow label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; padding: 0; }
.idxl-field select, .idxl-range input, .idxl-t3 select, .idxl-t3 input[type=text], .idxl-t3 input[type=number], #idxl-save-name { width: 100%; box-sizing: border-box; min-height: 44px; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid #8a97a3; border-radius: 0; background: #fff; }
.idxl-range, .idxl-checks { border: 0; margin: 0; padding: 0; min-width: 0; }
.idxl-range-row { display: flex; gap: 8px; }
.idxl-check { display: flex; gap: 8px; align-items: center; min-height: 36px; font-weight: 400 !important; font-size: 15px !important; margin: 0 !important; }
.idxl-check input { width: 20px; height: 20px; min-height: 0; min-width: 0; margin: 0; padding: 0; flex: none; box-sizing: border-box; accent-color: #0b2545; }
/* v3.1 (Marcus, Dec 3 2026 11:04 PM HST): list filters are compact wrapping chips, not a tall vertical list. Square, navy and gold. Real checkboxes stay keyboard-reachable. */
.idxl-checks-list { display: flex; flex-wrap: wrap; gap: 5px; }
.idxl-checks-list .idxl-chipcheck { position: relative; display: inline-flex; min-height: 0; margin: 0 !important; padding: 0; font-weight: 600 !important; font-size: 14px !important; cursor: pointer; }
.idxl-chipcheck input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.idxl-chipcheck span { display: inline-flex; align-items: center; min-height: 32px; box-sizing: border-box; padding: 4px 10px; border: 2px solid var(--navy, #0b2545); border-radius: 0; background: #fff; color: var(--navy, #0b2545); line-height: 1.2; }
.idxl-chipcheck:hover input:not(:checked) + span { background: var(--gold-pale, #f6efd9); }
.idxl-chipcheck input:checked + span { background: var(--navy, #0b2545); color: #fff; box-shadow: inset 0 -3px 0 var(--gold, #c9a24a); }
.idxl-chipcheck input:focus-visible + span { outline: 3px solid var(--gold, #c9a24a); outline-offset: 2px; }
.idxl-crow { display: grid; grid-template-columns: minmax(150px, 1.3fr) minmax(110px, .7fr) minmax(190px, 2fr) auto; gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1px dashed #c9d2da; }
.idxl-cv { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.idxl-cv input[type=number] { flex: 1 1 90px; width: auto; min-width: 0; }
.idxl-cv input[type=text] { flex: 1 1 140px; width: auto; min-width: 0; }
.idxl-tokens { display: flex; flex-wrap: wrap; gap: 6px; }
.idxl-token { display: inline-flex; align-items: center; gap: 4px; background: #eef2f5; border: 1px solid #8a97a3; padding: 2px 4px 2px 8px; font-size: 14px; }
.idxl-token button { background: none; border: 0; font-size: 18px; line-height: 1; min-width: 28px; min-height: 28px; cursor: pointer; }
.idxl-cmsg { flex-basis: 100%; font-size: 13px; color: #8a2b0e; }
.idxl-cnote { grid-column: 1 / -1; margin: 0; }
.idxl-crm, .idxl-cadd { min-height: 44px; padding: 0 12px; border: 1px solid #8a97a3; background: #fff; font: inherit; font-size: 15px; cursor: pointer; border-radius: 0; }
.idxl-cadd-row { margin-top: 10px; }
.idxl-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.idxl-chip button { min-height: 36px; padding: 4px 10px; background: #eef2f5; border: 1px solid #8a97a3; font: inherit; font-size: 14px; cursor: pointer; border-radius: 0; text-align: left; }
.idxl-actions { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 12px 0 4px; }
.idxl-actions .btn { min-height: 44px; }
.idxl-hint { font-size: 13px; font-weight: 400; color: #3d4b57; }
.idxl-saveform { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 8px 0; }
.idxl-saveform label { flex-basis: 100%; font-weight: 600; font-size: 14px; }
.idxl-saveform input { flex: 1 1 220px; }
.idxl-saved { margin: 10px 0; padding: 10px 14px; background: #f4f7fa; border-left: 3px solid #b8892b; }
.idxl-saved h2 { font-size: 18px; margin: 0 0 6px; }
.idxl-saved ul { list-style: none; margin: 0; padding: 0; }
.idxl-saved-item { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 4px 0; }
.idxl-saved-name { font-weight: 600; flex: 1 1 200px; }
.idxl-saved-act { display: flex; flex-wrap: wrap; gap: 0 4px; }
.idxl-linkbtn { background: none; border: 0; padding: 0 6px; min-height: 36px; font: inherit; font-size: 14px; color: #1b3a5c; text-decoration: underline; cursor: pointer; }
.idxp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
/* send panel */
body.idxl-send-open { overflow: hidden; }
.idxl-send { position: fixed; inset: 0; z-index: 1200; background: rgba(10, 20, 32, .6); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 16px 0; }
.idxl-send-box { background: #fff; width: min(640px, 100%); box-sizing: border-box; padding: 18px 18px 22px; margin: 0 auto; border-top: 4px solid #b8892b; }
.idxl-send-box h2 { margin: 0 0 6px; font-size: 22px; }
.idxl-send-box form > div, .idxl-send-box fieldset { margin: 12px 0; }
.idxl-send-box label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.idxl-send-box input[type=text], .idxl-send-box input[type=email], .idxl-send-box input[type=tel], .idxl-send-box select, .idxl-send-box textarea { width: 100%; box-sizing: border-box; min-height: 44px; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid #8a97a3; border-radius: 0; }
.idxl-send-box textarea { min-height: 84px; }
.idxs-name, #idxs-name { display: block; width: 100%; box-sizing: border-box; }
.idxl-send-box textarea#idxs-preview { background: #f4f7fa; font-size: 13px; font-family: ui-monospace, Menlo, monospace; }
.idxl-send-box fieldset { border: 0; padding: 0; }
.idxl-send-box legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 4px; }
.idxl-send-help { font-size: 14px; color: #3d4b57; margin: 4px 0; }
.idxl-send-lab { font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.idxs-err, .idxs-msg { color: #8a2b0e; font-size: 15px; margin: 6px 0; }
.idxs-msg { min-height: 20px; }
.idxs-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.idxl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 1100px) { .idxl-t1 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .idxl-crow { grid-template-columns: 1fr 1fr; } .idxl-cv { grid-column: 1 / -1; } .idxl-crm { grid-column: 1 / -1; } }
/* phones: the filters sit inline under the search box (no overlay); the send dialog keeps its own full-height layout */
@media (max-width: 640px) {
  body.idxl-phone .idxl-t1, body.idxl-phone .idxl-t2 { grid-template-columns: 1fr 1fr; }
  body.idxl-phone .idxl-t1 > fieldset, body.idxl-phone .idxl-t2 > fieldset { grid-column: 1 / -1; }
  body.idxl-phone .idxl-crow { grid-template-columns: 1fr; }
  .idxl-send { padding: 0; align-items: stretch; }
  .idxl-send-box { min-height: 100%; width: 100%; }
}
#idxl-t2[hidden], #idxl-t3[hidden] { display: none !important; }

@media (max-width: 640px) {
  body.idxl .idxl-hero .idxl-sub-long { display: none; }
  body.idxl .idxl-hero .idxl-sub-short { display: inline; }
  body.idxl-phone #idxl-send-btn { display: none; }   /* the sticky bar already says Send this search to Marcus */
  body.idxl-phone .idxl-actions { margin: 2px 0 0; }
  body.idxl-phone .idxl-help { margin: 0 0 4px; }
  body.idxl-phone .idxl-help > summary { min-height: 28px; line-height: 28px; font-size: 14px; }
  body.idxl-phone .idxp-toolbar { margin-top: 2px; }
}

.idxl-sub-short { display: none; }

#idxl-clear, #idxl-empty-send { min-height: 44px; }
.idxp-open { font-size: 16px; font-weight: 600; margin: 4px 0; }

/* live listings */
.idxl-gallery img{width:100%;height:auto;border-radius:0;margin-bottom:10px;object-fit:contain}
#idxl-remarks-text{white-space:pre-wrap;overflow-wrap:anywhere}
.idxp-card img{object-fit:contain;background:#eef2f5}
.idxl-nophoto{display:flex;align-items:center;justify-content:center;aspect-ratio:800/520;background:#eef2f5;color:#3d4b57;border-radius:0;font-size:15px;padding:12px;text-align:center}

/* aari-or-groups:v1: OR filter groups */
.idxl-or { margin-top: 14px; }
.idxl-or-lead { margin: 0 0 8px; font-weight: 600; color: #0b2545; font-size: 15px; }
.idxl-grp { border: 2px solid #0b2545; border-left: 6px solid #b8892b; background: #fff; padding: 10px 14px 12px; margin: 10px 0; border-radius: 0; }
.idxl-grp-h { margin: 0 0 6px; font-size: 17px; color: #0b2545; }
.idxl-or-div { display: inline-block; margin: 0 0 6px; padding: 2px 12px; background: #0b2545; color: #fff; font-weight: 700; letter-spacing: .08em; }
.idxl-grp-act { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.idxl-grp-rm, .idxl-or-add { min-height: 44px; }
.idxl-readout { margin: 8px 0 0; padding: 8px 12px; background: #fff; border-left: 4px solid #b8892b; font-size: 15px; color: #0b2545; overflow-wrap: anywhere; }
.idxl-or-word { color: #8a6516; font-weight: 700; }
.idxl-saved-or { font-weight: 400; font-size: 13px; color: #3d4b57; }
@media (max-width: 640px) {
  .idxl-grp { padding: 8px 10px 10px; }
  .idxl-grp-act .btn, .idxl-or-add { width: 100%; }
}

/* aari-andor-c:v1 — combine saved searches, matching the andor-c mockup (not the later combine-redirect extras) */
.idxl-combo { margin: 0 0 14px; padding: 12px 16px; border: 2px solid #0b2545; border-left: 6px solid #b8892b; background: #fff; }
.idxl-combo-t { margin: 0 0 6px; font-weight: 700; color: #0b2545; }
.idxl-combo-l { list-style: none; margin: 0 0 10px; padding: 0; }
.idxl-combo-l li { padding: 2px 0; }
.idxl-combine { margin: 12px 0 0; padding: 12px 0 0; background: none; border: 0; }
.idxl-combine .btn { display: block; width: 100%; box-sizing: border-box; border-radius: 0; margin-top: 10px; }
.idxl-combine-h { margin: 0 0 4px; font-size: 17px; color: #0b2545; }
.idxl-pick,
.idxl-check:not(.idxl-chipcheck) {
  display: flex;
  align-items: flex-start; /* box stays on the first line when the label wraps */
  gap: 8px;
}
.idxl-pick { margin: 4px 0 8px; font-weight: 600; }
.idxl-pick input,
.idxl-saved-item input[type=checkbox],
.idxl-saved-item input[type=radio] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  accent-color: #0b2545;
}
body.idxl-combo #idxl-filters, body.idxl-combo #idxl-save-btn, body.idxl-combo #idxl-chips, body.idxl-combo #idxl-sold-link { display: none !important; }
