/* ===== 空室・入退去（部屋グリッド） ===== */
.rg { display: flex; flex-direction: column; gap: .4rem; }
.rg-floor { display: flex; gap: .4rem; align-items: stretch; }
.rg-fl { width: 2.2rem; flex: 0 0 auto; font-size: .74rem; font-weight: 700; color: var(--muted, #7b8087);
  display: flex; align-items: center; justify-content: center; background: #f5f1eb; }
.rg-room { flex: 1 1 0; min-width: 0; max-width: 9rem; border: 1px solid var(--line, #e5ded4); background: #fff;
  padding: .45rem .35rem; text-align: center; display: flex; flex-direction: column; align-items: center;
  gap: .05rem; line-height: 1.25; color: #16202b; font: inherit; }
.rg-room b { font-size: .88rem; }
.rg-room span { font-size: .7rem; font-weight: 700; }
.rg-room small { font-size: .66rem; min-height: .85rem; color: #4a525c; white-space: nowrap; }
button.rg-room { cursor: pointer; transition: box-shadow .15s ease; }
button.rg-room:hover { box-shadow: 0 0 0 2px var(--gold, #a8894f); }

.st-occupied { background: #fff; }
.st-occupied span { color: #7b8087; }
.st-vacant { background: #fbf3e3; border-color: #d9bf8c; }
.st-vacant span { color: #8a6a2c; }
.st-applied { background: #e9f0f8; border-color: #a9c0dc; }
.st-applied span { color: #2d5a8a; }
.st-in { background: #e8f3ec; border-color: #9fcdb0; }
.st-in span { color: #2e6b47; }
.st-out { background: #fbeceb; border-color: #e2aaa6; }
.st-out span { color: #9b3b35; }

.rg-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .78rem; color: #2b3540; }
.rg-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.rg-dot { display: inline-block; width: .85rem; height: .85rem; border: 1px solid var(--line, #e5ded4); }

.bld { background: #fff; border: 1px solid var(--line, #e5ded4); }
.bld__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .8rem 1rem;
  border-bottom: 1px solid var(--line, #e5ded4); }
.bld__head img { width: 64px; height: 44px; object-fit: cover; }
.bld__rate { font-size: .8rem; color: #4a525c; }
.bld__rate b { font-size: 1rem; color: #16202b; }
.st-chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: .12rem .55rem; border: 1px solid; }

.flt-chip { border: 1px solid var(--line, #e5ded4); background: #fff; font-size: .8rem; font-weight: 600;
  padding: .3rem .8rem; color: #2b3540; }
.flt-chip.is-on { border-color: var(--gold, #a8894f); background: #f5f1eb; color: #16202b; }
.rg-dim { opacity: .22; }
.st-chip span { font-size: .72rem; font-weight: 700; }
.vac-line { margin-top: .75rem; font-size: .78rem; color: #2b3540; line-height: 1.9; }
.vac-line.is-full { color: var(--muted, #7b8087); }
.vac-pill { display: inline-block; border: 1px solid; padding: 0 .45rem; margin: 0 .25rem .15rem 0;
  font-size: .72rem; font-weight: 700; line-height: 1.6; }
.vac-pill.st-vacant { color: #8a6a2c; }
.vac-pill.st-out { color: #9b3b35; }
.days-left { font-weight: 700; white-space: nowrap; }
.days-left.is-soon { color: #9b3b35; }
