.sold-watermark {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(18, 24, 21, 0.06);
  pointer-events: none;
}
.property-image-wrap, .gallery-main { container-type: inline-size; }
.sold-stamp {
  display: grid;
  grid-template-columns: 1fr 2.4fr 1fr;
  align-items: center;
  width: 90%;
  max-width: 480px;
  opacity: .5;
  text-align: center;
}
.sold-seal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  aspect-ratio: 1;
  padding: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  outline: 1px solid rgba(255, 255, 255, .85);
  outline-offset: -7px;
  background: rgba(139, 23, 48, .91);
  box-shadow: 0 3px 12px rgba(30, 8, 14, .15);
}
.sold-wing { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; transform: rotate(12deg); transform-origin: right center; }
.sold-wing i { display: block; width: 105%; height: 10px; background: rgba(139, 23, 48, .91); border: 1px solid #fff; border-radius: 1px 0 0 10px; }
.sold-wing i:nth-child(2) { width: 88%; }
.sold-wing i:nth-child(3) { width: 70%; }
.sold-wing i:nth-child(4) { width: 52%; }
.sold-wing-right { transform: scaleX(-1) rotate(12deg); transform-origin: center; }
.sold-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.sold-brand > svg { width: 28px; height: 28px; flex: 0 0 28px; stroke-width: 1.7; }
.sold-brand > span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sold-brand b { font-size: 10px; line-height: 1.1; }
.sold-brand span span { font-size: 9px; line-height: 1.3; white-space: nowrap; }
.sold-title { font-family: "Noto Sans", "Noto Sans Thai", sans-serif; font-size: 30px; font-weight: 900; line-height: 1; white-space: nowrap; letter-spacing: 0; }
.sold-signature { font-size: 9px; line-height: 1.4; white-space: nowrap; }
@container (max-width: 380px) {
  .sold-title { font-size: 26px; }
  .sold-brand > svg { width: 24px; height: 24px; flex-basis: 24px; }
  .sold-brand b { font-size: 9px; }
  .sold-brand span span, .sold-signature { font-size: 8px; }
  .sold-seal { padding: 10px; gap: 5px; }
  .sold-wing i { height: 8px; }
}
@container (min-width: 420px) {
  .sold-title { font-size: 36px; }
  .sold-brand > svg { width: 32px; height: 32px; flex-basis: 32px; }
  .sold-brand b { font-size: 12px; }
  .sold-brand span span, .sold-signature { font-size: 10px; }
  .sold-wing i { height: 12px; }
}
@container (max-width: 300px) {
  .sold-title { font-size: 20px; }
  .sold-brand > svg { width: 20px; height: 20px; flex-basis: 20px; }
  .sold-seal { gap: 4px; padding: 9px; }
  .sold-wing { gap: 4px; }
  .sold-wing i { height: 6px; }
}


.hero { background-image:none; }
.demo-notice { background:#f4f7fa; color:#536273; border-color:#d8dee7; font-weight:400; }
.property-status { z-index:3; }
.favorite-button { z-index:4; }
.card-gallery-track {
  position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;
  cursor:grab;
}
.card-gallery-track::-webkit-scrollbar { display:none; }
.card-gallery-track > img {
  flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;
  user-select:none;-webkit-user-drag:none;
}
.property-card:hover .card-gallery-track > img { transform:none; }
.card-gallery-track:focus-visible { outline-offset:-4px; }
.card-gallery-arrow {
  position:absolute;top:50%;transform:translateY(-50%);z-index:4;
  display:grid;place-items:center;width:44px;height:44px;padding:0;
  border:1px solid #d8dee7;border-radius:50%;background:rgba(255,255,255,.95);
  color:var(--ink);box-shadow:0 2px 8px rgba(23,35,51,.16);cursor:pointer;
}
.card-gallery-prev { left:8px; }
.card-gallery-next { right:8px; }
.card-gallery-arrow svg { width:22px;height:22px; }
.card-gallery-arrow:disabled { opacity:.4;cursor:default; }
[data-card-gallery] .image-label { z-index:3;pointer-events:none;min-width:72px;text-align:center; }
.property-features { flex-wrap:wrap; gap:12px; }
.status-sold { color:#9b2141; background:#fceef1; }
.status-reserved { color:#8a5400; background:#fff4d6; }
.status-unknown { color:#555; background:#edf0f3; }
.status-renovating { color:#126b88; background:#e8f7fc; }
.home-gallery { min-width:0; padding:16px; align-self:start; }
.gallery-main { position:relative; aspect-ratio:4/3; background:#edf0f3; }
.gallery-main > img { width:100%;height:100%;object-fit:contain; }
.gallery-controls { display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0;font-size:12px; }
.gallery-controls span { min-width:0; text-align:center; }
.gallery-thumbs { display:flex;gap:6px;overflow-x:auto;padding:3px 0 8px; }
.gallery-thumbs button { flex:0 0 66px;width:66px;height:52px;border:2px solid transparent;background:white;padding:0;cursor:pointer; }
.gallery-thumbs button[aria-pressed="true"] { border-color:var(--blue); }
.gallery-thumbs img { width:100%;height:100%;object-fit:cover; }
.property-dialog-layout { min-height:0; }
.dialog-property-content { padding:50px 24px 24px;min-width:0; }
.dialog-property-content h2 { font-size:25px;overflow-wrap:anywhere; }
.source-note { font-size:12px;line-height:1.6;color:var(--muted); }
.home-map-actions { display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0; }
.home-map-actions .button { min-height:48px;max-width:100%;white-space:normal; }
.home-map-actions .button:disabled { opacity:.6;cursor:not-allowed; }
.studio-main { min-width:0; }
.studio-header { flex-wrap:wrap; }
.studio-header-actions { flex-wrap:wrap; }
.studio-workspace { grid-template-columns:minmax(0,1.4fr) minmax(320px,.85fr); }
.studio-filters { display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:20px 0; }
.studio-filters label,.draft-editor label { display:grid;gap:6px;font-size:13px;font-weight:600; }
.studio-filters input,.studio-filters select,.draft-editor input { width:100%;min-width:0;border:1px solid var(--line-strong);border-radius:6px;padding:10px;background:white; }
.queue-header,.queue-row { grid-template-columns:minmax(120px,1fr) 70px 105px 95px 26px;gap:7px;padding:12px 10px; }
.queue-cell { font-size:12px; }
.queue-panel,.draft-panel { border:0;border-radius:0; }
.queue-panel { overflow:auto; }
.queue-table { min-height:0; }
.draft-detail { overflow-wrap:anywhere; }
.draft-detail h2 { font-size:22px; }
.draft-detail .home-gallery { padding:0; }
.draft-editor { display:grid;gap:12px; }
.draft-editor .button { width:100%; }
.empty-queue { padding:20px; color:var(--muted); }
button:disabled { opacity:.55;cursor:not-allowed; }
@media(max-width:1200px) { .studio-workspace { grid-template-columns:1fr; } .queue-header,.queue-row { grid-template-columns:minmax(150px,1fr) 100px 130px 120px 30px; } }
@media(max-width:600px) {
  .studio-sidebar { flex-wrap:wrap; }
  .studio-sidebar nav { display:flex;order:3;width:100%;gap:8px; }
  .studio-nav { width:auto;flex:1;font-size:13px;padding:8px;gap:6px; }
  .metrics-strip { grid-template-columns:1fr 1fr; }
  .sync-status { display:flex; }
  .studio-filters { grid-template-columns:1fr; }
  .queue-header,.queue-row { grid-template-columns:minmax(100px,1fr) 70px 90px 26px; }
  .queue-header > :nth-child(3),.queue-row > :nth-child(3) { display:none; }
  .studio-header h1 { font-size:26px; }
  .sync-status { font-size:11px; }
  .property-dialog-layout { grid-template-columns:1fr; }
  .dialog-property-content { padding:14px 20px 24px; }
  .home-gallery { padding-top:60px; }
  .draft-detail .home-gallery { padding-top:0; }
  .property-features { display:grid;grid-template-columns:1fr 1fr; }
}

.hero {
  min-height:440px;
  height:clamp(440px,46vw,600px);
  background:#82c1ff;
  align-items:center;
}
.hero-home-picture {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.hero-home-photo {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right bottom;
}
.hero-content { padding-block:20px 40px;pointer-events:none; }
.hero-content .eyebrow,.hero h1,.hero-support,.hero-actions { width:32%;max-width:370px; }
.hero h1 { font-size:42px;line-height:1.2;text-shadow:none; }
.hero-support { font-size:16px;line-height:1.65;text-shadow:none; }
.hero-actions { display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;pointer-events:auto; }
.hero-actions .button { font-size:14px;min-height:44px; }
.hero-photo-note { z-index:2;bottom:9px;right:16px;border:0;cursor:pointer;font-size:11px; }
.search-band { margin-top:0; }
.appointment-fields { margin:0;padding:0;border:0;min-width:0; }
.appointment-fields legend { padding:0;margin-bottom:12px;font-size:15px;font-weight:700;color:#182230; }
.appointment-inputs { display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:12px; }
.appointment-inputs label { min-width:0; }
.appointment-inputs label span { display:flex;align-items:center;gap:6px; }
.appointment-inputs svg { width:17px;height:17px; }
.appointment-inputs input { width:100%;min-width:0;min-height:48px;font-size:16px;color:#182230;background:#fff;color-scheme:light; }
.appointment-note { margin:10px 0 0;font-size:12px;color:#475467;line-height:1.5; }
.appointment-error { margin:8px 0 0;font-size:13px;color:#b42318;line-height:1.5; }
@media(max-width:420px) { .appointment-inputs { grid-template-columns:minmax(0,1fr); } }
@media(max-width:900px) {
  .hero { height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;padding-bottom:32px;background-image:none; }
  .hero-content { order:0;padding:28px 0 22px; }
  .hero-home-picture { order:1;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:3/2; }
  .hero-home-photo { width:100%;height:100%;object-fit:cover;object-position:right bottom; }
  .hero-content .eyebrow,.hero h1,.hero-support,.hero-actions { width:100%;max-width:none; }
  .hero h1 { font-size:34px; }
  .hero-support { font-size:15px;margin-top:12px; }
  .hero-actions { display:flex;max-width:none;margin-top:16px; }
  .hero-actions .button { width:auto;flex:1;font-size:13px;padding-inline:10px; }
}
@media(max-width:380px) {
  .hero h1 { font-size:29px; }
  .hero-support { font-size:14px; }
  .hero-actions { flex-direction:column; }
  .hero-actions .button { flex:auto; }
}
