.market-page{display:grid;gap:18px}.market-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.market-summary article,.market-panel{padding:22px;background:#fff;border:1px solid #d8cc9c;border-radius:12px}.market-summary h2{font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 14px;color:#555}.market-summary strong{font-size:30px;display:block;color:#17191c}.market-summary p,.market-note{font-size:13px;line-height:1.6;color:#666}.market-summary article:last-child{background:#fff5c4}.market-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.market-filters label{display:grid;gap:7px;font-size:13px;font-weight:600}.market-filters input,.market-filters select{padding:9px;min-height:40px;border:1px solid #ccc;border-radius:6px;background:#fff;max-width:260px}.market-table-wrap{overflow-x:auto}.market-page table{width:100%;border-collapse:collapse;font-size:14px}.market-page thead{background:#181a1d;color:#fff}.market-page th,.market-page td{padding:13px;text-align:right;border-bottom:1px solid #eee;white-space:nowrap}.market-page th:first-child,.market-page td:last-child{text-align:left}.market-page tbody tr:nth-child(even){background:#faf9f4}.market-review-label{background:#fff1ad;color:#544309;padding:5px 9px;border-radius:14px;font-size:12px}.market-source-note{border-left:4px solid #e0b900;padding:12px 16px;background:#fff9df;line-height:1.6;font-size:14px}.market-status{font-size:13px;color:#555;line-height:1.6;min-height:24px}@media(max-width:1000px){.market-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.market-summary{grid-template-columns:1fr}.market-summary article,.market-panel{padding:16px}}
.market-chart{display:flex;gap:8px;align-items:end;overflow-x:auto;margin:24px 0}.market-chart>div{display:flex;flex:1;min-width:48px;flex-direction:column;align-items:center;gap:7px;font-size:12px}.market-chart i{display:block;background:#e7bd00;width:70%;min-height:2px;border-radius:5px 5px 0 0}.market-chart small{font-size:10px}.market-panel h2{font-size:20px}.market-panel button{cursor:pointer;padding:9px 14px;border:1px solid #b9a65d;border-radius:6px;background:#fff6c9}.market-panel button:disabled{cursor:default;opacity:.55}#market-coverage{font-size:13px;line-height:1.6;margin-top:14px;color:#66521a}
#market-map svg{display:block;width:100%;max-height:540px;background:#faf9f4;border:1px solid #dedbd0;margin-top:18px}#market-map path{cursor:pointer}#market-map path:hover,#market-map path:focus{stroke:#151515;stroke-width:2;outline:none}#market-zip-detail{font-size:14px;line-height:1.7;margin-top:14px}

#market-housing-panel .market-table-wrap{max-height:330px;overflow:auto}#market-housing-panel thead{position:sticky;top:0}

#market-zip-memberships{margin-top:22px;border-top:1px solid #d8c26b;padding-top:16px}#market-zip-memberships .market-member-controls{display:flex;flex-wrap:wrap;align-items:start;gap:12px}#market-member-picker{max-width:540px;min-width:260px}#market-member-picker summary{cursor:pointer;padding:10px;border:1px solid #d8c26b;border-radius:7px;background:#fff9df;font-weight:700}#market-member-types{max-height:280px;overflow:auto;padding:8px}#market-member-types label{display:flex;align-items:center;gap:8px;margin:9px 0}#market-member-types input{width:18px;min-height:18px;margin:0}#market-member-counts{margin-top:12px}#market-member-counts strong{font-size:26px}
#market-member-counts{grid-template-columns:repeat(2,minmax(0,1fr))}#market-member-counts h4{font-size:14px;margin:0 0 12px}@media(max-width:550px){#market-member-counts{grid-template-columns:1fr}}
/* Keep wide ZIP tables inside their scroll containers instead of widening the page. */
#market-intelligence,.market-page .market-panel,.market-page .market-table-wrap,.market-page .market-summary{min-width:0;max-width:100%;box-sizing:border-box}#market-member-picker{min-width:0;width:min(540px,100%)}
