/* Listing page — Land IQ + Regrid "Land & Hunt Intel" modules (design handoff 2026-07-07).
   Tokens per the handoff sheet; functional transitions only (house rule). */

#hlrbo-lhi { display: block; }
/* Card chrome matches the page's other section blocks (.location-container: 4px radius,
   #DFDFD5 hairline, no shadow) rather than the handoff's 12px card. */
.lhi-card { background: #FFFFFF; border: 1px solid #DFDFD5; border-radius: 4px; padding: 26px 30px; margin: 18px 0; font-family: 'Figtree', -apple-system, 'Segoe UI', Roboto, sans-serif; color: #1A1A1A; }

/* ── Land IQ (redesign 2026-07-08: summary panel + factor rows + score bands) ── */
.lhi-liq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lhi-liq-brand { display: flex; align-items: center; gap: 14px; }
.lhi-liq-mark { flex: none; display: inline-flex; }
.lhi-liq-overline { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #999999; }
.lhi-liq-titlerow { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lhi-liq-title { font-size: 27px; font-weight: 800; color: #1A1A1A; letter-spacing: -0.01em; }
.lhi-liq-subtitle { font-size: 14px; color: #999999; }
.lhi-profile { display: flex; align-items: center; gap: 12px; }
.lhi-profile-label { font-size: 14px; color: #666666; }

/* Summary panel + factors layout */
.lhi-liq-body { display: grid; grid-template-columns: 300px 1fr; gap: 34px; margin-top: 24px; align-items: start; }
@media (max-width: 1150px) { .lhi-liq-body { grid-template-columns: 1fr; } }
.lhi-summary { background: #F7F7F2; border: 1px solid #ECEDE4; border-radius: 14px; padding: 24px; text-align: center; }
.lhi-summary-ring { display: flex; justify-content: center; }
.lhi-ring-sub { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #999999; font-style: normal; margin-top: 2px; }
.lhi-ring-num { flex-direction: column; }
.lhi-verdict { display: inline-block; margin-top: 16px; background: #F0F2EB; color: #31420E; border-radius: 20px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.lhi-summary-narrative { font-size: 14.5px; color: #666666; line-height: 1.55; margin: 14px 0 0; }
.lhi-summary-rows { border-top: 1px solid #E4E5DC; margin-top: 16px; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.lhi-summary-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #666666; }
.lhi-summary-row svg { flex: none; }
.lhi-summary-val { margin-left: auto; font-size: 14px; }

/* Factor rows (2-col) + bands legend */
.lhi-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 44px; }
@media (max-width: 700px) { .lhi-factors { grid-template-columns: 1fr; } }
.lhi-factor-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lhi-factor-name { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #1A1A1A; }
.lhi-band-pill { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; background: #F4F4EF; border-radius: 20px; padding: 3px 9px; }
.lhi-factor-val { font-size: 20px; font-weight: 800; color: #1A1A1A; }
.lhi-factor-desc { font-size: 13.5px; color: #666666; line-height: 1.5; margin: 8px 0 0; }
.lhi-factor .lhi-liq-track { margin-top: 8px; }
.lhi-bands { align-self: end; }
.lhi-bands-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: #666666; }
.lhi-bands-row span { display: inline-flex; align-items: center; gap: 7px; }
.lhi-bands-row i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* Land-cover dot legend */
.lhi-cover-dots { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; font-size: 13.5px; color: #1A1A1A; }
.lhi-cover-dot { display: inline-flex; align-items: center; gap: 8px; }
.lhi-cover-dot i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
/* Species select (handoff spec: 15px/700, border #E0E0E0, radius 12, 11/16 padding + 40 right for
   the chevron, min-width 170px — selects size from 400-weight option text and clip bold values). */
.lhi-species {
    -webkit-appearance: none; appearance: none; min-width: 170px; font-family: inherit;
    font-size: 15px; font-weight: 700; color: #1A1A1A; background: #FFFFFF;
    border: 1px solid #E0E0E0; border-radius: 12px; padding: 11px 40px 11px 16px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%23DC7001' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lhi-species:hover { border-color: #6E883F; }
.lhi-species:focus { outline: none; border-color: #6E883F; box-shadow: 0 0 0 3px rgba(110, 136, 63, .15); }
.lhi-liq-scorerow { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; margin-top: 22px; }
@media (max-width: 1150px) { .lhi-liq-scorerow { grid-template-columns: 1fr; } }
.lhi-ring { position: relative; flex: none; }
.lhi-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.lhi-ring-soon-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.25; color: #999999; }
.lhi-liq-scorerow > .lhi-ring { margin: 0 auto; }
.lhi-liq-rating { font-size: 26px; font-weight: 800; }
.lhi-liq-sub { font-size: 13.5px; color: #666666; margin-top: 2px; }
.lhi-liq-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 18px; }
@media (max-width: 560px) { .lhi-liq-bars { grid-template-columns: 1fr; } }
.lhi-liq-bar-top { display: flex; justify-content: space-between; align-items: baseline; }
.lhi-liq-bar-label { font-size: 14.5px; }
.lhi-liq-bar-val { font-size: 16px; font-weight: 800; }
.lhi-liq-track { height: 8px; border-radius: 4px; background: #ECEDE4; margin-top: 6px; overflow: hidden; }
.lhi-liq-fill { height: 100%; border-radius: 4px; transition: width .4s ease; }

/* Expanders — max-height animation per the handoff gotcha (NOT grid-template-rows) */
.lhi-expander { border-top: 1px solid #E0E0E0; margin-top: 18px; }
.lhi-expander-btn { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: 0; padding: 14px 0 0; font-family: inherit; font-size: 15px; font-weight: 700; color: #31420E; cursor: pointer; text-align: left; }
.lhi-chev { color: #DC7001; font-size: 12px; transition: transform .2s ease; }
.lhi-expander.is-open .lhi-chev { transform: rotate(90deg); }
.lhi-expander-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.lhi-expander.is-open .lhi-expander-body { max-height: 520px; }
.lhi-drivers { padding: 12px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.lhi-driver { display: flex; align-items: center; gap: 10px; }
.lhi-driver-chip { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.lhi-driver-chip.is-plus { background: #F0F2EB; color: #31420E; }
.lhi-driver-chip.is-minus { background: #F6EDDA; color: #9A7B1A; }
.lhi-driver-text { font-size: 13.5px; }
.lhi-about { font-size: 13.5px; color: #666666; line-height: 1.55; padding: 12px 0 4px; margin: 0; }
.lhi-about-link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #6E883F; text-decoration: none; }
.lhi-about-link:hover { color: #31420E; }

/* Land cover mini + terrain */
.lhi-overline-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lhi-overline { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #999999; text-transform: uppercase; }
.lhi-jump { border: 0; background: transparent; padding: 0; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #6E883F; cursor: pointer; }
.lhi-jump:hover { color: #31420E; }
.lhi-cover-mini, .lhi-terrain { margin-top: 20px; }
.lhi-cover-bar { display: flex; border-radius: 6px; overflow: hidden; border: 1px solid #E0E0E0; margin-top: 10px; }
.lhi-cover-seg { display: block; height: 100%; }
.lhi-cover-line { font-size: 12.5px; color: #666666; margin-top: 8px; }
.lhi-terrain-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lhi-terrain-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #E0E0E0; border-radius: 20px; padding: 7px 14px; font-size: 13.5px; }
.lhi-disclaimer { font-size: 12px; color: #999999; margin-top: 10px; }

/* Food Plot Potential sub-card */
.lhi-foodplot { display: flex; align-items: center; gap: 20px; background: #F6F4E9; border: 1px solid #EAE6D2; border-radius: 12px; padding: 16px 20px; margin-top: 20px; }
.lhi-foodplot-title { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }
.lhi-foodplot-badge { background: #F0F2EB; color: #31420E; border-radius: 20px; padding: 3px 12px; font-size: 12.5px; font-weight: 700; }
.lhi-foodplot-best { font-size: 13.5px; font-weight: 700; margin-top: 6px; }

/* ── Land & Hunt Intel ── */
.lhi-intel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* Request Exact Address — the live Razor-gated link relocated from the old Location section into
   this header (its home in the handoff design). Secondary-button treatment. */
.lhi-reqaddr {
    display: inline-flex !important; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700;
    color: #31420E; text-decoration: none; border: 1px solid #E0E0E0; border-radius: 8px;
    padding: 8px 14px; background: #FFFFFF; transition: border-color .2s ease, background .2s ease;
}
.lhi-reqaddr:hover { border-color: #6E883F; background: #F7F9F5; color: #31420E; }

/* Map tool strip — bottom-left inside the map container (survives fullscreen). */
.lhi-tools {
    position: absolute; left: 12px; bottom: 12px; z-index: 6; display: flex; gap: 6px; flex-wrap: wrap;
}
.lhi-tool {
    display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 9999px;
    background: rgba(255, 255, 255, .92); color: #31420E; font-family: inherit; font-size: 12.5px;
    font-weight: 600; padding: 7px 12px; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    transition: background .2s ease, color .2s ease;
}
.lhi-tool:hover { background: #FFFFFF; }
.lhi-tool.is-active { background: #6E883F; color: #FFFFFF; }
@media (max-width: 700px) { .lhi-tool span { display: none; } .lhi-tool { padding: 8px 10px; } }
.lhi-intel-title { display: flex; align-items: center; gap: 12px; }
.lhi-intel-h { font-size: 21px; font-weight: 800; color: #1A1A1A; }
.lhi-map-grid { display: grid; grid-template-columns: 1fr 300px; gap: 0; margin-top: 18px; border-radius: 12px; overflow: hidden; border: 1px solid #E0E0E0; }
@media (max-width: 900px) { .lhi-map-grid { grid-template-columns: 1fr; } }
.lhi-map-wrap { position: relative; min-height: 460px; background: #1f2a12; }
.lhi-map { position: absolute; inset: 0; }
.lhi-attribution { position: absolute; right: 8px; bottom: 6px; z-index: 3; font-size: 10px; color: rgba(255,255,255,.75); text-shadow: 0 1px 2px rgba(0,0,0,.5); pointer-events: none; }
.lhi-pills { position: absolute; top: 12px; left: 12px; right: 56px; z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.lhi-pills .lhi-pill { pointer-events: auto; }
/* #12971: Terrain features legend, its own row under the pills. Non-interactive, so map clicks (Drop pin,
   Measure) pass through it; the pills container above only takes clicks on the pills themselves, and
   stops 56px short of the right edge so pills and legend wrap before Mapbox's zoom/fullscreen controls. */
.lhi-maplegend { flex-basis: 100%; }
.lhi-maplegend-card { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.92); box-shadow: 0 1px 3px rgba(0,0,0,.18); font-size: 12px; font-weight: 500; color: #1A1A1A; }
.lhi-maplegend-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lhi-maplegend-mark { flex: none; box-sizing: border-box; width: 12px; height: 12px; }
.lhi-maplegend-mark--stand { border-radius: 50%; background: #31420E; border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.lhi-maplegend-mark--saddle { width: 9px; height: 9px; margin: 0 1.5px; background: #FFFFFF; border: 1.5px solid #666666; transform: rotate(45deg); }
.lhi-maplegend-mark--funnel { border-radius: 2px; background: rgba(220,112,1,.25); border: 1px solid rgba(220,112,1,.5); }
.lhi-maplegend-mark--south { border-radius: 2px; background: rgba(200,114,42,.2); border: 1px solid rgba(200,114,42,.35); }
.lhi-pill { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 20px; padding: 7px 14px; background: rgba(255,255,255,.92); font-family: inherit; font-size: 12.5px; font-weight: 600; color: #1A1A1A; cursor: pointer; transition: background .2s ease, color .2s ease; }
.lhi-pill-swatch { width: 11px; height: 11px; border-radius: 3px; }
.lhi-pill.is-active { background: #6E883F; color: #FFFFFF; }
.lhi-rail { background: #31420E; padding: 24px; color: #FFFFFF; }
.lhi-rail-h { font-size: 16px; font-weight: 800; }
.lhi-rail-sub { font-size: 12px; color: rgba(255,255,255,.7); margin: 4px 0 14px; }
.lhi-rail-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.lhi-rail-card:hover, .lhi-rail-card.is-hover { border-color: #DC7001; background: rgba(220,112,1,.22); }
.lhi-rail-card-top { display: flex; justify-content: space-between; gap: 10px; }
.lhi-rail-owner { font-size: 14px; font-weight: 700; }
.lhi-rail-acres { font-size: 13px; color: rgba(255,255,255,.85); }
.lhi-rail-note { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5; margin-top: 14px; }

/* Facts grid — hairline 3×2 (3→2→1 responsive) */
.lhi-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #E0E0E0; border: 1px solid #E0E0E0; border-radius: 10px; overflow: hidden; margin-top: 18px; }
@media (max-width: 900px) { .lhi-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lhi-facts { grid-template-columns: 1fr; } }
.lhi-fact { background: #FFFFFF; padding: 16px 18px; }
.lhi-fact-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #999999; }
.lhi-fact-value { font-size: 17px; font-weight: 700; margin-top: 4px; }
.lhi-mono { font-family: 'SF Mono', Consolas, monospace; font-size: 15px; }

/* Ground cover composition */
.lhi-groundcover { margin-top: 22px; }
/* Per-class labeled bars (drawer "The land" style): name · gray track + class-color fill · pct */
.lhi-cover-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.lhi-cover-row { display: flex; align-items: center; gap: 16px; }
.lhi-cover-row-name { flex: 0 0 150px; font-size: 15.5px; color: #1A1A1A; }
.lhi-cover-row-track { flex: 1; height: 10px; border-radius: 5px; background: #ECEDE4; overflow: hidden; }
.lhi-cover-row-fill { display: block; height: 100%; border-radius: 5px; }
.lhi-cover-row-pct { flex: 0 0 44px; text-align: right; font-size: 14px; color: #666666; }
@media (max-width: 560px) { .lhi-cover-row-name { flex-basis: 110px; font-size: 14px; } }
.lhi-cover-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 12px; }
@media (max-width: 560px) { .lhi-cover-legend { grid-template-columns: 1fr; } }
.lhi-cover-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.lhi-cover-swatch { flex: none; width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0,0,0,.1); }
.lhi-cover-name { flex: 1; }
.lhi-cover-nums { color: #666666; }
