/* Hot rental markets, SFR deals, multifamily deals (deals-db-1, Nov 22 2026). */
.deals-page .content-block{margin:18px 0}
.deals-page .lead{max-width:820px}
.deals-meta{font-size:.9rem;color:#5a5e62;margin:6px 0 0}
.deals-meta strong{color:#1a1d1f}
.deals-jump{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.deals-jump a{display:inline-block;padding:8px 14px;border-radius:999px;background:#E8F8EE;color:#0f1c2e;font-weight:600;font-size:.92rem;border:1px solid #b9e8cb}
.deals-jump a:hover,.deals-jump a:focus{background:#00C853;color:#0f1c2e;text-decoration:none}
.deals-controls{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin:12px 0 8px;padding:12px 14px;background:#fff;border:1px solid #e8e2dc;border-radius:10px}
.deals-controls label{display:flex;flex-direction:column;font-size:.82rem;font-weight:600;color:#3E2723;gap:4px}
.deals-controls input,.deals-controls select{padding:8px 10px;font-size:.95rem;border:2px solid #cfd8d3;border-radius:8px;min-width:150px;background:#fff;color:#1a1d1f}
.deals-controls input:focus,.deals-controls select:focus{border-color:#00A844;outline:2px solid #00C853;outline-offset:1px}
.deals-group-chips{display:flex;flex-wrap:wrap;gap:6px}
.deals-group-chips button{padding:8px 12px;border-radius:999px;border:1px solid #b9e8cb;background:#fff;color:#0f1c2e;font-weight:600;cursor:pointer;font-size:.88rem}
.deals-group-chips button[aria-pressed="true"]{background:#00C853;color:#0f1c2e;border-color:#00A844}
.deals-count{font-size:.88rem;color:#5a5e62;margin:4px 0 0}
.market-group{margin:28px 0 8px}
.market-group > h2{margin-bottom:6px}
.market-group .group-lead{max-width:820px;color:#3a3d40;margin-bottom:12px}
.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.market-card{background:#fff;border:1px solid #e8e2dc;border-radius:12px;overflow:hidden;box-shadow:0 6px 18px rgba(62,39,35,.07);display:flex;flex-direction:column}
.market-card[hidden]{display:none}
.market-card img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;background:#e9eef0}
.market-card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.market-card h3{font-size:1.12rem;margin:0;color:#3E2723;line-height:1.25}
.market-rank{display:inline-block;min-width:1.9em;padding:1px 7px;margin-right:6px;border-radius:6px;background:#0f1c2e;color:#fff;font-size:.85rem;text-align:center}
.market-badge{display:inline-block;padding:2px 9px;border-radius:999px;background:#E8F8EE;color:#0f1c2e;border:1px solid #b9e8cb;font-size:.78rem;font-weight:700}
.market-score{display:inline-block;padding:2px 9px;border-radius:999px;background:#FFF8E7;color:#3E2723;border:1px solid #f3d27a;font-size:.78rem;font-weight:700}
.market-card p{margin:0;font-size:.95rem;line-height:1.5}
.market-watch{font-size:.9rem;color:#5D4037}
.market-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;margin:4px 0 0;padding:10px;background:#F7F3F0;border-radius:8px;font-size:.86rem}
.market-stats div{display:flex;flex-direction:column}
.market-stats dt{color:#5a5e62;font-size:.76rem;text-transform:uppercase;letter-spacing:.02em}
.market-stats dd{margin:0;font-weight:700;color:#1a1d1f}
.v-neg{color:#b71c1c}
.v-pos{color:#1b6e35}
.market-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:6px;font-size:.88rem}
.market-links a{font-weight:600}
.score-bars{list-style:none;margin:10px 0 0;padding:0;max-width:620px}
.score-bars li{display:grid;grid-template-columns:130px 1fr 28px;gap:10px;align-items:center;margin:6px 0;font-size:.93rem}
.score-bars .bar{height:14px;border-radius:7px;background:#e3e8e5;overflow:hidden}
.score-bars .bar span{display:block;height:100%;background:#00C853}
.targets-table,.deals-table{border-collapse:collapse;width:100%;margin:.6rem 0;font-size:.92rem;background:#fff}
.targets-table th,.targets-table td{border:1px solid #e0ddd8;padding:.5rem .65rem;text-align:left;vertical-align:top}
.targets-table th{background:#F7F3F0;width:38%}
.deals-table-wrap{overflow-x:auto;border:1px solid #e0ddd8;border-radius:10px;background:#fff;margin:.5rem 0 1rem}
.deals-table th,.deals-table td{border-bottom:1px solid #ece8e3;padding:.55rem .6rem;text-align:left;vertical-align:top}
.deals-table thead th{position:sticky;top:0;background:#0f1c2e;color:#fff;font-size:.82rem;white-space:nowrap}
.deals-table thead th button{all:unset;cursor:pointer;color:#fff;font-weight:700}
.deals-table thead th button:focus-visible{outline:2px solid #00C853;outline-offset:2px}
.deals-table thead th[aria-sort="ascending"] button::after{content:" \25B2";font-size:.7em}
.deals-table thead th[aria-sort="descending"] button::after{content:" \25BC";font-size:.7em}
.deals-table tbody tr:nth-child(even){background:#fafcfb}
.deals-table tbody tr[hidden]{display:none}
.deals-table td.num{white-space:nowrap;text-align:right}
.deals-table .addr{font-weight:700;color:#1a1d1f}
.deals-table .sub{display:block;font-size:.8rem;color:#5a5e62}
.deals-table .notes{min-width:220px;max-width:340px}
.deal-status{display:inline-block;padding:1px 8px;border-radius:999px;font-size:.76rem;font-weight:700;background:#eef1f4;color:#1a1d1f;white-space:nowrap}
.deal-status--active{background:#E8F8EE;color:#0f1c2e}
.deal-status--contingent,.deal-status--pending{background:#FFF3E0;color:#5D4037}
.deal-actions{display:flex;flex-direction:column;gap:4px;white-space:nowrap;font-size:.85rem}
.deal-actions a{font-weight:600}
.deals-empty{padding:16px;border:1px dashed #b9c9bf;border-radius:10px;background:#fbfdfc;color:#3a3d40}
.deals-notify{margin:26px 0}
.deals-notify form{display:flex;flex-direction:column;gap:10px;max-width:560px}
.deals-notify .row{display:flex;flex-wrap:wrap;gap:10px}
.deals-notify input[type=email]{flex:1;min-width:220px;padding:10px 12px;font-size:1rem;border:2px solid #00C853;border-radius:8px}
.deals-notify fieldset{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.deals-notify legend{font-weight:700;margin-bottom:4px}
.deals-notify label.chk{display:flex;gap:6px;align-items:center;font-size:.95rem}
.deals-notify .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.deals-notify .btn{border:0;cursor:pointer;font-size:1rem}
.deals-notify .small{font-size:.84rem;color:#5a5e62}
.deals-notify .msg{padding:10px 12px;border-radius:8px;font-weight:600}
.deals-notify .msg--ok{background:#E8F8EE;color:#0f1c2e;border:1px solid #b9e8cb}
.deals-notify .msg--err{background:#FFF3E0;color:#5D4037;border:1px solid #f3c58a}
.deals-sources li{margin-bottom:6px}
.image-credits{font-size:.8rem;color:#5a5e62;line-height:1.55}
.image-credits a{color:#3E2723}
@media (max-width:640px){
  .market-grid{grid-template-columns:1fr}
  .score-bars li{grid-template-columns:100px 1fr 24px}
  .deals-controls input,.deals-controls select{min-width:0;width:100%}
  .deals-controls label{flex:1 1 140px}
}
/* width-uniform-1, Nov 23 2026
   .deals-page { max-width: 100% } was more specific than section { max-width: 1200px },
   so the three market/deal pages stretched to the viewport. Keep the pages in the
   standard 1200px column. Inner blocks may shrink. Tables scroll inside the wrap
   instead of widening the page. */
.deals-page {
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.deals-page .content-block,
.deals-page [data-deals-block] {
  min-width: 0;
  max-width: 100%;
}
.deals-table-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.deals-table{min-width:1100px}
.deals-table .addr{min-width:150px;display:inline-block}
/* Keep Est. rent visible on narrow screens and let the range sub-line wrap. */
.deals-table th.est-rent,
.deals-table td.est-rent{
  min-width:7.5rem;
  white-space:normal;
}
.deals-table td.est-rent .sub{white-space:normal}

.deal-score{width:3.4em;text-align:center}
.deal-score-badge{display:inline-block;min-width:2.1em;padding:1px 7px;border-radius:999px;background:#FFF8E7;color:#3E2723;border:1px solid #f3d27a;font-size:.85rem;font-weight:700;text-align:center}
.deal-score-dash{color:#5a5e62;font-weight:600}
.deals-score-legend{font-size:.88rem;color:#5a5e62;margin:.35rem 0 .15rem;max-width:820px;line-height:1.45}
@media (max-width:700px){
  .deals-table th.col-hide-sm,.deals-table td.col-hide-sm{display:none}
  .deals-table{min-width:830px}
  .deals-table .notes{min-width:140px;max-width:220px}
  .deals-table th.est-rent,
  .deals-table td.est-rent{display:table-cell}
}
