.grouped-unit-dashboard .units-wrap > .col-headers { display:none; }
.gd-group-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:8px 0 16px; }
.gd-group-tools p { color:var(--muted); font-size:12px; }
.gd-group-tools button { background:var(--surface); color:var(--text); border:1px solid var(--border); border-radius:7px; padding:8px 12px; cursor:pointer; }
.gd-transaction { margin-bottom:20px; }
.gd-transaction h2 { font-size:18px; margin:0 0 12px; display:flex; gap:10px; align-items:center; }
.gd-count { font-size:12px; color:var(--muted); font-weight:500; }
.gd-type-group { border:1px solid var(--border); border-radius:12px; margin-bottom:8px; background:var(--surface); overflow:hidden; }
.gd-type-group summary { cursor:pointer; padding:14px 16px; font-size:14px; font-weight:700; display:flex; align-items:center; gap:10px; list-style:none; }
.gd-type-group summary::-webkit-details-marker { display:none; }
.gd-type-group summary::before { content:'›'; color:var(--proj-accent); font-size:22px; width:12px; line-height:1; }
.gd-type-group[open] summary::before { transform:rotate(90deg); }
.gd-type-group summary .gd-count { margin-left:auto; }
.gd-type-group summary { min-width:0; overflow-wrap:anywhere; }
.gd-type-group summary .gd-count { flex-shrink:0; }
.gd-type-group summary:focus-visible, .gd-group-tools button:focus-visible { outline:2px solid var(--proj-accent); outline-offset:-3px; }
.gd-card-grid { padding:0 12px 12px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.gd-unit-card { border:1px solid var(--border); border-left:3px solid var(--proj-accent); border-radius:10px; padding:13px; background:var(--bg); min-width:0; overflow-wrap:anywhere; }
.gd-card-top { display:flex; gap:12px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; }
.gd-unit-card .cell-unit .unit-no { font-size:17px; }
.gd-unit-card .cell-pin { display:flex; flex-direction:column; gap:3px; }
.gd-unit-card .cell-pin > .gd-label { font-size:10px; color:var(--muted); text-transform:uppercase; }
.gd-unit-card .cell-unit::before, .gd-unit-card .cell-pin::before { content:none; }
.gd-card-tags { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0; align-items:center; }
.gd-card-price { font-size:17px; font-family:'DM Mono',monospace; font-weight:600; margin-bottom:8px; }
.gd-card-facts { display:flex; flex-wrap:wrap; gap:6px 14px; color:var(--muted); font-size:12px; line-height:1.5; }
.gd-card-facts b { color:var(--text); font-weight:500; }
.gd-card-note { font-size:12px; color:var(--muted); line-height:1.5; margin-top:8px; }
.gd-card-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:8px; gap:10px; }
.gd-card-bottom:empty { display:none; }
.gd-card-bottom .virtual-tour-link { width:auto; min-width:88px; padding:0 10px; font-size:12px; white-space:nowrap; }
.gd-appt-notice { font-size:12px; color:#FBBF24; line-height:1.5; padding:8px 0 12px; }
.gd-appt-flag { font-size:10px; display:block; color:#FBBF24; padding-top:4px; }
@media(max-width:760px) {
  .gd-card-grid { grid-template-columns:minmax(0,1fr); padding:0 8px 8px; }
  .grouped-unit-dashboard .units-wrap { padding:12px 12px 24px; }
  .grouped-unit-dashboard .filters, .grouped-unit-dashboard .refresh-bar { padding-left:12px; padding-right:12px; }
  .grouped-unit-dashboard .filter-group { max-width:100%; }
  .grouped-unit-dashboard .search-wrap { min-width:0; flex-basis:100%; }
  .gd-type-group summary { padding:12px; }
  .grouped-unit-dashboard .appt-section, .grouped-unit-dashboard .tenanted-section { margin-left:12px; margin-right:12px; padding:16px 12px; }
  .grouped-unit-dashboard .header { padding:24px 16px; }
}

.grouped-unit-dashboard #tenantedContainer{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.grouped-unit-dashboard .appt-table-wrap{max-width:100%;min-width:0}

.gd-unit-card .cell-type::before{content:none}
.grouped-unit-dashboard .appt-unit-cell{white-space:nowrap}
.grouped-unit-dashboard:not(.gd-pin-dashboard) .appt-table th:nth-child(2),.grouped-unit-dashboard:not(.gd-pin-dashboard) .appt-table td:nth-child(2){min-width:0;width:auto}
