.property-desk {
  --property-line: #cbb3eb24;
  --property-text: #f5edf9;
  --property-muted: #b7aabd;
  --property-violet: #c5abff;
}
.property-desk-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 20px 0 22px;
}
.property-desk-header h2 {
  margin: 7px 0 5px;
  color: var(--property-text);
  font-size: clamp(2.8rem, 6.2vw, 5rem);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .95;
}
.property-desk-header p:last-child {
  margin: 12px 0 0;
  color: var(--property-muted);
  font-size: .89rem;
}
.property-model-badge,
.property-map-footer,
.property-stage-top > span,
.property-lenses button,
.property-map-watermark {
  font: 600 .64rem/1.2 var(--desk-mono, ui-monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.property-model-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--property-line);
  border-radius: 999px;
  color: #dec5f4;
  background: #201725;
  white-space: nowrap;
}
.property-model-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c99af2;
}
.property-board {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(246px, 1fr);
  gap: 12px;
}
.property-stage, .property-inspector, .property-research-panel {
  min-width: 0;
  border: 1px solid var(--property-line);
  border-radius: 20px;
  background: #111019;
}
.property-stage { overflow: hidden; }
.property-stage-top, .property-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: var(--property-muted);
}
.property-stage-top > span b { color: #8a669d; }
.property-lenses {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #a78ab52e;
  border-radius: 9px;
  background: #090911;
}
.property-lenses button {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  color: #c6b9d0;
  background: transparent;
}
.property-lenses button[aria-pressed="true"] { color: #fcf2ff; background: #352743; }
.property-lenses button:hover { color: #fff; }
.city-map {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  border-block: 1px solid #c5a6e522;
  background: #060b13;
}
.city-map > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-map-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #070913a8, transparent 25%), linear-gradient(180deg, #07091363, transparent 20%);
  pointer-events: none;
}
.property-pins { position: absolute; inset: 0; }
.property-district-pin {
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  padding: 4px 7px 4px 4px;
  transform: translate(-16px, -50%);
  border: 1px solid #d4a9f03f;
  border-radius: 999px;
  color: #f7effa;
  background: #131019e8;
  box-shadow: 0 5px 20px #02040ab3;
  white-space: nowrap;
}
.property-district-pin:hover, .property-district-pin:focus-visible, .property-district-pin[aria-pressed="true"] {
  z-index: 1;
  border-color: var(--property-tone);
  background: #22172b;
}
.property-pin-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #190f21;
  background: var(--property-tone);
  font: 800 .67rem/1 var(--desk-mono, ui-monospace);
}
.property-pin-label { font-size: clamp(.55rem, .83vw, .73rem); font-weight: 700; }
.property-pin-label b { margin-left: 3px; color: var(--property-tone); font-variant-numeric: tabular-nums; }
.property-map-watermark { position: absolute; bottom: 9px; left: 14px; color: #d6c0e5; pointer-events: none; }
.property-legend { display: flex; align-items: center; gap: 7px; }
.property-legend i {
  width: clamp(32px, 8vw, 90px);
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #62c7ee, #ebcb7e, #ffa27c, #ff85c7);
}
.property-desk [data-tone="low"] { --property-tone: #69caf0; }
.property-desk [data-tone="mid"] { --property-tone: #ebcb7e; }
.property-desk [data-tone="high"] { --property-tone: #ffa27c; }
.property-desk [data-tone="peak"] { --property-tone: #ff85c7; }
.property-inspector {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2vw, 23px);
  background: radial-gradient(ellipse at 100% 0, #42254c70, transparent 70%), #14101a;
}
.property-inspector h3 {
  margin: 8px 0 5px;
  color: var(--property-text);
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.property-inspector-note { margin: 7px 0 14px; color: var(--property-muted); font-size: .81rem; }
.property-score-card {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #c6a6e232;
  border-radius: 12px;
  background: #100d16a0;
}
.property-score-card > span, .property-stat-grid span { color: var(--property-muted); font-size: .72rem; }
.property-score-card strong { color: var(--property-tone); font-size: 2.15rem; letter-spacing: -.07em; line-height: 1; }
.property-score-card small { color: #c5b5ca; font-size: .7rem; letter-spacing: 0; }
.property-score-track { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: #352a40; }
.property-score-track i { display: block; width: var(--score); height: 100%; border-radius: inherit; background: var(--property-tone); }
.property-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 7px; gap: 7px; }
.property-stat-grid div { display: grid; gap: 4px; padding: 9px; border: 1px solid #d6afed18; border-radius: 9px; background: #14101b; }
.property-stat-grid b { font-size: .9rem; color: var(--property-text); }
.property-watch { align-self: start; border-radius: 999px; }
.property-research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.property-research-panel { padding: 16px; }
.property-research-panel header { margin-bottom: 12px; }
.property-research-panel h3 { margin: 5px 0 0; color: var(--property-text); font-size: 1.15rem; letter-spacing: -.025em; }
.property-ranking-row {
  display: grid;
  grid-template-columns: 2ch minmax(94px, 1fr) minmax(22px, 1fr) 4ch;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 39px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-top-color: #d7b7f51b;
  border-radius: 0;
  color: var(--property-text);
  background: transparent;
  text-align: left;
}
.property-ranking-row[aria-pressed="true"], .property-ranking-row:hover {
  border-color: #c6a4ed3d;
  border-radius: 7px;
  background: #2a1e37;
}
.property-ranking-row strong { font-size: .8rem; font-weight: 700; }
.property-ranking-row b { color: var(--property-tone); text-align: right; font-variant-numeric: tabular-nums; }
.property-rank-number { color: #a28ab1; font: .66rem/1 var(--desk-mono, ui-monospace); }
.property-listing {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #d7b7f51b;
}
.property-listing .sale-thumb {
  width: 50px;
  height: 36px;
  min-width: 0;
  border-radius: 7px;
  background: url('./assets/viceberg-property/city-at-night.webp') 42% 27% / 510% auto no-repeat;
}
.property-listing .sale-thumb-penthouse { background-position: 66% 22%; }
.property-listing .sale-thumb-warehouse { background-position: 80% 55%; }
.property-listing div { display: grid; gap: 4px; }
.property-listing strong { color: var(--property-text); font-size: .79rem; }
.property-listing div span { color: var(--property-muted); font-size: .69rem; }
.property-listing > b { color: #e6c0fc; font-size: .88rem; }
@media (max-width: 1020px) {
  .property-board { grid-template-columns: minmax(0, 1fr); }
  .property-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .property-desk-header { align-items: start; flex-direction: column; }
  .property-research-grid { grid-template-columns: minmax(0, 1fr); }
  .property-district-pin {
    min-width: 35px;
    min-height: 35px;
    justify-content: center;
    padding: 0;
    transform: translate(-50%, -50%);
  }
  .property-pin-label, .property-map-watermark { display: none; }
}
@media (max-width: 390px) {
  .property-stage-top, .property-map-footer { padding-inline: 8px; }
  .property-lenses button { padding-inline: 7px; }
  .property-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
