/* IPTAY popup sections follow the reference map's Overview / Eligibility / Spaces arrangement. */
.lot-sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
#attributes.lot-detail-content { display:block;margin:0;border:0;border-radius:0;overflow:visible;font-size:14px; }
.lot-photo { display:block;width:100%;height:auto;margin-top:20px;border-radius:4px; }
#attributes.lot-detail-content dt,#attributes.lot-detail-content dd { padding:0;margin:0;border:0;background:none; }
.lot-detail-section { padding-top:20px;margin-top:20px;border-top:1px solid #e2dce8; }
.lot-detail-section h3 { margin:0 0 12px;color:var(--regalia-deep);font:800 20px/1.15 var(--heading,trade-gothic-next-condensed,'Arial Narrow',sans-serif);text-transform:uppercase; }
.lot-overview-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0; }
.lot-overview-grid .lot-fact { padding:12px;background:#f8f5fb;border:1px solid #e5deed;border-radius:4px; }
#attributes .lot-overview-grid dt { color:#62576d;font-size:12px;line-height:1.3;font-weight:600;margin-bottom:5px; }
#attributes .lot-overview-grid dd { color:var(--regalia-deep);font-size:15px;line-height:1.35;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere; }
.lot-notes { margin:16px 0 0; }
.lot-notes .lot-fact + .lot-fact { margin-top:14px; }
#attributes .lot-notes dt { color:var(--regalia);font-weight:700;font-size:13px;line-height:1.4;margin-bottom:4px; }
#attributes .lot-notes dd { color:var(--ink);font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere; }
.lot-section-intro,.lot-empty { margin:0 0 12px;color:#625c66;font-size:13px;line-height:1.5; }
.lot-empty:last-child { margin-bottom:0; }
.lot-table { width:100%;border:1px solid #e2dce8;border-spacing:0;border-radius:4px;overflow:hidden;table-layout:fixed;font-size:13px;line-height:1.45; }
.lot-table th,.lot-table td { padding:10px 9px;border:0;vertical-align:top;text-align:left;overflow-wrap:anywhere;font-variant-numeric:tabular-nums; }
.lot-table thead th { background:var(--regalia);color:white;font-size:12px;font-weight:700; }
.lot-table tbody th { font-weight:600;color:var(--regalia-deep); }
.lot-table tbody tr:nth-child(even) { background:#f8f5fb; }
.lot-table tbody tr + tr > * { border-top:1px solid #e9e3ef; }
.lot-table th:last-child,.lot-table td:last-child { text-align:right; }
.lot-eligibility-table th:nth-child(1) { width:30%; }
.lot-eligibility-table th:nth-child(2) { width:48%; }
.lot-eligibility-table th:nth-child(3) { width:22%; }
.lot-spaces-table th:first-child { width:70%; }
.lot-generic-details .lot-fact { padding:10px 0;border-bottom:1px solid var(--line); }
#attributes .lot-generic-details dt { font-weight:700;margin-bottom:4px; }
#attributes .lot-generic-details dd { white-space:pre-wrap; }
.detail-banner { position:sticky;top:0;z-index:2;background:var(--regalia);min-height:48px;padding:2px 8px 2px 18px; }
.detail-banner button { display:grid;place-items:center;min-width:44px;min-height:44px;font-size:24px; }
.detail-banner button:hover { background:rgb(255 255 255 / 12%); }
.detail-banner button:focus-visible { outline:2px solid white;outline-offset:-4px; }
#detail-type { text-transform:uppercase; }
.detail-body { padding:18px; }
.detail-actions { margin-top:14px; }
.detail-actions > [hidden] { display:none; }
#lot-map-dialog { width:min(900px,calc(100% - 24px));max-height:calc(100% - 24px);padding:20px;border:0;border-radius:6px;color:var(--ink);background:var(--warm-white,#fff); }
#lot-map-dialog::backdrop { background:rgb(0 0 0 / 70%); }
.lot-map-header { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.lot-map-header h2 { margin:0; }
.lot-map-header button { min-width:44px;min-height:44px; }
#lot-map-image { display:block;width:100%;height:auto;margin-top:16px; }
@media(max-width:420px) { .detail-actions { flex-wrap:wrap; }.detail-actions > * { min-width:90px; } }
.detail-actions .las { font-size:18px;vertical-align:middle;margin-right:4px; }
#detail-subtitle { margin:0 0 16px;color:var(--muted,#625c66);font-size:calc(14px * var(--ui-text-scale,1));line-height:1.4; }
.building-photos { display:grid;gap:10px;margin:16px 0; }
.building-photos a { display:block;border-radius:4px;overflow:hidden;border:1px solid var(--line); }
.building-photos img { display:block;width:100%;height:auto;max-height:340px;object-fit:contain;background:var(--warm-white); }
#building-photo-status:empty { display:none; }
#building-photo-status { font-size:calc(13px * var(--ui-text-scale,1));color:var(--muted); }
#attributes.building-facts { display:block;border:0;border-radius:0;margin-top:20px; }
.building-facts p { display:flex;align-items:flex-start;gap:14px;margin:18px 0 0;line-height:1.5;font-size:calc(15px * var(--ui-text-scale,1));overflow-wrap:anywhere; }
.building-facts p:first-child { margin-top:0; }
#share-status:empty { display:none; }
.building-facts .las { flex:0 0 24px;color:var(--ui-accent);font-size:24px;line-height:1; }
.building-facts a { min-width:0;color:inherit;text-decoration:none; }
.building-facts a:hover { text-decoration:underline; }
@media(min-width:1025px) { #details { width:420px; } }
@media(max-width:420px) { .detail-body { padding:15px; }.lot-table th,.lot-table td { padding:9px 7px; } }
.text-only .lot-detail-content { max-width:680px; }
.lot-overview-grid .lot-fact:last-child:nth-child(odd) { grid-column:1 / -1; }

#lot-secondary-actions[hidden] { display:none; }
.detail-actions { flex-wrap:wrap; }
.detail-actions > * { min-width:110px; }
#details[data-feature-type="lot"] #lot-map-button { flex-basis:100%; }
#details[data-feature-type="lot"] #stadium-directions { background:var(--regalia);border-color:var(--regalia);color:#fff; }
