/* listing-demo — the listing landing page. Colours, corners and font come from the agent's vibe
 * (/theme.css → --ep-*), so one layout serves every style. */
@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 400;
  font-display: swap;
  src: url(/_ep/fonts/noto-sans-thai-thai-400.woff2) format('woff2');
  unicode-range: U+E01-E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 400;
  font-display: swap;
  src: url(/_ep/fonts/noto-sans-thai-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 600;
  font-display: swap;
  src: url(/_ep/fonts/noto-sans-thai-thai-600.woff2) format('woff2');
  unicode-range: U+E01-E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 600;
  font-display: swap;
  src: url(/_ep/fonts/noto-sans-thai-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 700;
  font-display: swap;
  src: url(/_ep/fonts/noto-sans-thai-thai-700.woff2) format('woff2');
  unicode-range: U+E01-E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 700;
  font-display: swap;
  src: url(/_ep/fonts/noto-sans-thai-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--ep-font-body);
  background: var(--ep-bg-page);
  color: var(--ep-text-main);
  line-height: 1.6;
  font-size: 1rem;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--ep-font-heading);
  line-height: 1.35;
  text-wrap: balance;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--ep-focus-ring);
  outline-offset: 2px;
}
.muted {
  color: var(--ep-text-muted);
}
.small {
  font-size: 0.875rem;
}
.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ep-bg-card);
  padding: 0.5rem 1rem;
  z-index: 50;
}
.skip:focus {
  left: 1rem;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.125rem;
  border-radius: var(--ep-radius-btn);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-sm {
  min-height: 2.25rem;
  padding: 0.25rem 0.875rem;
  font-size: 0.9375rem;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--ep-brand-primary);
  color: var(--ep-brand-contrast);
}
.btn-primary:hover {
  filter: brightness(0.92);
}
.btn-outline {
  border-color: var(--ep-brand-primary);
  color: var(--ep-brand-primary);
  background: var(--ep-bg-card);
}
.btn-light {
  background: var(--ep-bg-card);
  color: var(--ep-text-main);
  border-color: var(--ep-border-subtle);
}
.card {
  background: var(--ep-bg-card);
  border: 1px solid var(--ep-border-subtle);
  border-radius: var(--ep-radius-card);
}

/* demo style switcher */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem 1rem;
  background: #111827;
  color: #f9fafb;
  font-size: 0.875rem;
}
.demo-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.demo-bar a {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #4b5563;
}
.demo-bar a[aria-current] {
  background: #f9fafb;
  color: #111827;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ep-bg-page);
  border-bottom: 1px solid var(--ep-border-subtle);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}
.brand {
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--ep-brand-primary);
}
.header-row nav {
  flex: 1;
}
.header-row nav a {
  text-decoration: none;
  font-weight: 600;
}
.header-row nav a:hover {
  text-decoration: underline;
}

/* breadcrumb */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding-block: 1rem;
  font-size: 0.875rem;
  color: var(--ep-text-muted);
}
.crumbs li + li::before {
  content: '/';
  margin-inline-end: 0.25rem;
}
.crumbs [aria-current] {
  color: var(--ep-text-main);
}

/* gallery: one large photo, four small */
.gallery {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 13.5rem 13.5rem;
  gap: 0.375rem;
  border-radius: var(--ep-radius-card);
  overflow: hidden;
}
.gallery a {
  display: block;
  min-height: 0;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery a:hover img {
  transform: scale(1.03);
}
.g-main {
  grid-row: 1/3;
}
.g-solo {
  grid-column: 1/-1;
}
.gallery-empty {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  background: var(--ep-bg-surface);
  border: 1px dashed var(--ep-border-subtle);
}
.g-all {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
}

/* layout */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.75rem;
}
.title-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
h1 {
  font-size: 1.625rem;
}
h1 .muted {
  font-weight: 400;
  font-size: 1.125rem;
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--ep-font-heading);
}
.deal {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ep-text-muted);
  border: 1px solid var(--ep-border-subtle);
  border-radius: 999px;
  padding: 0 0.625rem;
}
.status {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.0625rem 0.625rem;
  border-radius: 999px;
  line-height: 1.6;
}
.status-available {
  background: #dcfce7;
  color: #14532d;
}
.status-reserved {
  background: #fef3c7;
  color: #78350f;
}
.status-sold {
  background: var(--ep-text-main);
  color: var(--ep-bg-card);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 1.25rem;
  padding-block: 1rem;
  border-block: 1px solid var(--ep-border-subtle);
}
.fact {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  align-items: center;
}
.fact .ic {
  grid-row: 1/3;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--ep-brand-primary);
}
.fact-value {
  font-weight: 700;
}
.fact-label {
  font-size: 0.8125rem;
  color: var(--ep-text-muted);
  grid-column: 2;
}
.transit {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.transit li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.t-badge {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  padding: 0 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.t-bts {
  background: #15803d;
}
.t-mrt {
  background: #1d4ed8;
}
.t-brt {
  background: #a16207;
}
.t-arl {
  background: #b91c1c;
}

/* sections */
.block {
  margin-top: 2.5rem;
}
.block h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.content .block {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--ep-border-subtle);
}
.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
}
.details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px dashed var(--ep-border-subtle);
}
.details dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ep-text-muted);
}
.details dd {
  font-weight: 600;
  text-align: right;
}
.about-headline {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.more summary {
  list-style: none;
  cursor: pointer;
}
.more summary::-webkit-details-marker {
  display: none;
}
.about-lead {
  display: block;
}
.more:not([open]) .about-lead {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more-btn {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--ep-brand-primary);
  text-decoration: underline;
}
.more[open] .more-btn {
  display: none;
}
.more p {
  margin-top: 0.75rem;
}
.map-wrap {
  aspect-ratio: 16/9;
  border-radius: var(--ep-radius-card);
  overflow: hidden;
  border: 1px solid var(--ep-border-subtle);
  background: var(--ep-bg-surface);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.facilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
}
.facilities li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.facilities .ic {
  color: var(--ep-brand-primary);
}
.loan {
  padding: 1.25rem;
}
.loan-amount {
  font-size: 1.5rem;
  font-weight: 700;
}

/* agent card */
.agent-card {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgb(15 23 42 / 0.06);
}
.agent-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ep-brand-primary);
}
.agent-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: var(--ep-bg-surface);
  color: var(--ep-brand-primary);
  font-weight: 700;
  font-size: 1.25rem;
  border: 1px solid var(--ep-border-subtle);
}
.agent-name {
  font-weight: 700;
}

/* other listings */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.mini {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.875rem;
  overflow: hidden;
}
.mini > *:not(.mini-link) {
  padding-inline: 0.875rem;
}
.mini-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.mini-link:hover .mini-title {
  text-decoration: underline;
}
.mini-media {
  position: relative;
  display: block;
}
.mini-media img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.mini-media .status {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
}
.mini[data-status='sold'] .mini-media img {
  filter: grayscale(0.6);
}
.mini-title {
  padding-inline: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}
.mini-price {
  font-weight: 700;
  color: var(--ep-brand-primary);
}
.mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.875rem;
  font-size: 0.875rem;
  color: var(--ep-text-muted);
}
.mini-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* faq */
.faq {
  border: 1px solid var(--ep-border-subtle);
  border-radius: var(--ep-radius-card);
  background: var(--ep-bg-card);
}
.faq details + details {
  border-top: 1px solid var(--ep-border-subtle);
}
.faq summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
}
.faq p {
  padding: 0 1.25rem 1rem;
  color: var(--ep-text-muted);
}

/* footer */
.site-footer {
  margin-top: 4rem;
  padding-block: 2rem 6rem;
  background: var(--ep-bg-surface);
  border-top: 1px solid var(--ep-border-subtle);
}
.contact-bar {
  display: none;
}

/* photos page */
.photos-page {
  padding-block: 1.5rem 4rem;
}
.photos-page h1 {
  margin-block: 1rem;
}
.photo-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 56rem;
}
.photo-list img {
  border-radius: var(--ep-radius-card);
  width: 100%;
}
.photo-list p {
  margin-top: 0.375rem;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .agent-card {
    position: static;
  }
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    border-radius: 0;
    margin-inline: -1rem;
  }
  .g-main img {
    aspect-ratio: 4/3;
  }
  .g-side {
    display: none !important;
  }
  .g-main {
    grid-row: auto;
  }
  .title-row {
    flex-direction: column;
  }
  h1 {
    font-size: 1.375rem;
  }
  .price {
    font-size: 1.625rem;
  }
  .details,
  .facilities {
    grid-template-columns: minmax(0, 1fr);
  }
  .header-row nav {
    display: none;
  }
  .header-row {
    justify-content: space-between;
  }
  .contact-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    position: fixed;
    inset: auto 0 0;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--ep-bg-card);
    border-top: 1px solid var(--ep-border-subtle);
    z-index: 30;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery img {
    transition: none;
  }
}

/* avatar photo, agent intro, dashboard */
img.avatar {
  object-fit: cover;
  padding: 0;
}
.agent-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.agent-intro-name {
  font-size: 1.375rem;
}
.agent-intro-actions {
  display: flex;
  gap: 0.5rem;
  margin-inline-start: auto;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.kpi {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.kpi-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ep-brand-primary);
}
.kpi-label {
  font-size: 0.875rem;
  color: var(--ep-text-muted);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ep-border-subtle);
  border-radius: var(--ep-radius-card);
  background: var(--ep-bg-card);
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.dash-table th,
.dash-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--ep-border-subtle);
  white-space: nowrap;
}
.dash-table tbody th {
  white-space: normal;
  min-width: 14rem;
  font-weight: 600;
}
.dash-table td {
  text-align: right;
}
.dash-table td:nth-child(2) {
  text-align: left;
}
@media (max-width: 640px) {
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agent-intro-actions {
    margin-inline-start: 0;
  }
}

.status-rented {
  background: #dbeafe;
  color: #1e3a8a;
}
.status-inactive {
  background: #e5e7eb;
  color: #374151;
}

/* No double rule when the fact row is directly followed by a section. */
.content .facts + .block {
  border-top: 0;
  padding-top: 0;
}

/* agent app (A3) */
.app {
  padding-block: 1.5rem 3rem;
}
.app-box {
  padding: 1.5rem;
  margin-top: 1.5rem;
  max-width: 36rem;
}
.app-box > * + * {
  margin-top: 0.75rem;
}
.app-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.app-bar h1 {
  font-size: 1.375rem;
}
.app-bar-name {
  flex: 1 1 12rem;
}
.app-h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
}
.app-due {
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
}
.app-due ul {
  margin-top: 0.5rem;
  padding-inline-start: 1.25rem;
  list-style: disc;
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  margin-top: 0.75rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.field-wide {
  grid-column: 1 / -1;
}
.field input,
.field select {
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ep-border-subtle);
  border-radius: var(--ep-radius-btn);
  background: var(--ep-bg-card);
  color: var(--ep-text-main);
  font: inherit;
  font-weight: 400;
}
.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--ep-brand-primary);
  outline-offset: 1px;
}
.filters-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.app-tools,
.app-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-block: 1rem;
}
.app-views {
  display: flex;
  gap: 0.5rem;
}
.app-views [aria-current='true'] {
  border-color: var(--ep-brand-primary);
  color: var(--ep-brand-primary);
}
.app-table td {
  text-align: left;
}
.app-h1 {
  font-size: 1.375rem;
  margin-top: 0.5rem;
}
.app-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  margin-top: 0.75rem;
}
.field textarea {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ep-border-subtle);
  border-radius: var(--ep-radius-btn);
  background: var(--ep-bg-card);
  color: var(--ep-text-main);
  font: inherit;
  font-weight: 400;
  resize: vertical;
}
.app-rows,
.app-radios {
  border: 1px solid var(--ep-border-subtle);
  border-radius: var(--ep-radius-btn);
  padding: 0.75rem;
}
.app-rows legend,
.app-radios legend {
  font-size: 0.875rem;
  font-weight: 600;
  padding-inline: 0.25rem;
}
.app-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.5rem;
  padding-block: 0.5rem;
}
.app-row + .app-row {
  border-top: 1px dashed var(--ep-border-subtle);
}
.app-radios label {
  display: block;
  padding-block: 0.25rem;
}
.notice {
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  border-inline-start: 4px solid var(--ep-brand-primary);
}
.notice-ok {
  border-inline-start-color: #15803d;
}
.notice-bad {
  border-inline-start-color: #b91c1c;
}
.notice ul {
  margin-top: 0.25rem;
  padding-inline-start: 1.25rem;
  list-style: disc;
}
.photo-rows {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
  list-style: none;
  padding: 0;
}
.photo-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 0.75rem;
  align-items: start;
}
.photo-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--ep-radius-btn);
}
.photo-row form > * + * {
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .photo-row {
    grid-template-columns: 1fr;
  }
}
.app-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ep-border-subtle);
}
.app-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.app-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.875rem;
  border-radius: var(--ep-radius-btn);
  font-weight: 600;
  color: var(--ep-text-main);
}
.app-nav a[aria-current='page'] {
  background: var(--ep-brand-primary);
  color: var(--ep-brand-contrast);
}
.app-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
}
.app-gap {
  margin-top: 1rem;
}
.agent-bio {
  margin-top: 0.5rem;
  max-width: 44rem;
  white-space: pre-line;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.app-hidden {
  color: #b91c1c;
  font-weight: 600;
}
.app-check label {
  display: block;
  padding-block: 0.25rem;
}
.trace dt {
  font-weight: 600;
  margin-top: 0.75rem;
}
.trace dd {
  margin: 0.25rem 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* all-listings pin map (X1) */
.pinmap {
  position: relative;
  aspect-ratio: 640 / 400;
  border: 1px solid var(--ep-border-subtle);
  border-radius: var(--ep-radius-card);
  overflow: hidden;
  background: var(--ep-bg-card);
}
.pinmap img,
.pinmap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pinmap-bg {
  fill: #eef2f6;
}
.pinmap-grid {
  stroke: #d5dde6;
  stroke-width: 1;
}
.pinmap-note,
.pinmap-scale text {
  font-size: 12px;
  fill: #334155;
}
.pinmap-scale rect {
  fill: #ffffff;
  fill-opacity: 0.85;
}
.pinmap-scale line {
  stroke: #334155;
  stroke-width: 3;
}
.pinmap-pin {
  stroke: #ffffff;
  stroke-width: 2.5;
}
.pinmap-n {
  font-size: 13px;
  font-weight: 700;
  fill: #ffffff;
  pointer-events: none;
}
.pinmap a:focus-visible .pinmap-pin,
.pinmap a:hover .pinmap-pin {
  stroke: #facc15;
  stroke-width: 4;
}
.pinmap-list,
.app-plain {
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.pinmap-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-inline-end: 0.5rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
}
/* the same colours as the pins (inline styles are not allowed by the page's CSP) */
.dot-available {
  background: #15803d;
}
.dot-reserved {
  background: #b45309;
}
.dot-rented {
  background: #1d4ed8;
}
.dot-sold {
  background: #111827;
}
.dot-inactive {
  background: #6b7280;
}
