/* Shared by the tenant portal and the vacancies page (on top of admin/styles.css). */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card-unit { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; align-content: start; }
.card-unit .photo { aspect-ratio: 16 / 9; background: var(--code-bg); background-size: cover; background-position: center; max-width: 100%; }
.card-unit .body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.card-unit .addr { font-family: var(--display); font-weight: 750; font-stretch: 110%; font-size: 1.25rem; line-height: 1.15; }
.facts-row { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--muted); }
.facts-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.meter { height: 8px; border-radius: 999px; background: var(--code-bg); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.meter.over i { background: var(--danger); }
.section-title { margin: 30px 0 12px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.people li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.92rem; }
.letters { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.letter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  text-align: left; background: none; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; width: 100%; }
.letter-row:last-child { border-bottom: 0; }
.letter-row.unread .subject { font-weight: 700; }
.letter-row .from { font-size: 0.82rem; color: var(--muted); }
.letter-row .when { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.letter-view { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: grid; gap: 10px; }
.letter-view pre { white-space: pre-wrap; word-break: break-word; font: 0.95rem/1.6 var(--body); margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.hero-note { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; display: grid; gap: 6px; }
@media (max-width: 800px) { .split { grid-template-columns: minmax(0, 1fr); } }
