.hp-v2-pd-topnav-wrap {
  position: sticky;
  top: 0;
  z-index: 38;
  background: linear-gradient(180deg, #ffffff 72%, #f7fbfa);
  border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  backdrop-filter: blur(8px);
}

/* Added: Save/Compare actions, locality insights, trust support, compare modal */
.hp-v2-pd-actions button.hp-v2-pd-save-btn.is-active {
  border-color: color-mix(in srgb, #e63946 42%, transparent);
  color: #c1121f;
  background: color-mix(in srgb, #e63946 10%, #fff);
}

.hp-v2-pd-action-status {
  margin: 0;
  min-height: 16px;
  font-size: 12px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-action-status.is-success {
  color: #18794e;
}

.hp-v2-pd-action-status.is-error {
  color: #b42318;
}

.hp-v2-pd-action-status.is-info {
  color: #175cd3;
}

.hp-v2-pd-actions-links a {
  flex: 1;
}

.hp-v2-pd-finance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hp-v2-pd-finance-grid label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-finance-grid input {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  padding: 0 10px;
  font: inherit;
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 90%, transparent);
}

.hp-v2-pd-finance-results {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-finance-results > div {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 2px;
}

.hp-v2-pd-finance-results span {
  font-size: 11px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-finance-results strong {
  font-size: 13px;
}

.hp-v2-pd-safety-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-safety-actions button {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #b42318 24%, transparent);
  background: #fff;
  color: #b42318;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0 10px;
}

.hp-v2-pd-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-lead-progress {
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  border-radius: 10px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 16%, #fff);
}

.hp-v2-pd-lead-progress strong {
  font-size: 12px;
}

.hp-v2-pd-lead-progress ol {
  margin: 6px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.hp-v2-pd-lead-progress li {
  font-size: 12px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-lead-progress li.is-done {
  color: #18794e;
  font-weight: 600;
}

.hp-v2-pd-locality-insights-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-locality-insights-grid > div {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  border-radius: 10px;
  padding: 9px 10px;
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 16%, #fff);
  display: grid;
  gap: 2px;
}

.hp-v2-pd-locality-insights-grid span {
  font-size: 11px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-locality-insights-grid strong {
  font-size: 13px;
}

.hp-v2-pd-locality-insights-grid strong.is-good {
  color: #18794e;
}

.hp-v2-pd-locality-insights-grid strong.is-warn {
  color: #b54708;
}

.hp-v2-pd-nearby-wrap {
  margin-top: 12px;
}

.hp-v2-pd-nearby-wrap h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.hp-v2-pd-nearby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hp-v2-pd-nearby-list span {
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  padding: 5px 9px;
  background: #fff;
  font-size: 12px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 86%, transparent);
}

.hp-v2-pd-nearby-list small {
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-immersive-mini {
  text-align: center;
}

.hp-v2-pd-immersive-mini-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-immersive-preview {
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 0;
  text-decoration: none;
  background: #fff;
}

.hp-v2-pd-immersive-preview-main,
.hp-v2-pd-immersive-preview-tile {
  position: relative;
  min-height: 112px;
  background: color-mix(in srgb, var(--md-sys-color-primary) 7%, #fff);
}

.hp-v2-pd-immersive-preview-main img,
.hp-v2-pd-immersive-preview-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-v2-pd-immersive-preview-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-left: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
}

.hp-v2-pd-immersive-preview-tile + .hp-v2-pd-immersive-preview-tile {
  border-top: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
}

.hp-v2-pd-immersive-preview-badge,
.hp-v2-pd-immersive-preview-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 999px;
  background: rgba(12, 18, 26, 0.62);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hp-v2-pd-immersive-preview-badge .material-symbols-rounded,
.hp-v2-pd-immersive-preview-label .material-symbols-rounded {
  font-size: 14px;
}

.hp-v2-pd-immersive-preview-empty {
  min-height: 112px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 66%, transparent);
  gap: 4px;
}

.hp-v2-pd-immersive-preview-empty .material-symbols-rounded {
  font-size: 22px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-immersive-preview-empty small {
  font-size: 11px;
}

.hp-v2-pd-immersive-preview-tile.is-model {
  background: linear-gradient(135deg, color-mix(in srgb, var(--md-sys-color-primary-container) 74%, #fff), #fff);
}

.hp-v2-pd-immersive-model-hint {
  min-height: 112px;
  display: grid;
  place-content: center;
  gap: 2px;
  padding: 8px;
  text-align: center;
}

.hp-v2-pd-immersive-model-hint .material-symbols-rounded {
  font-size: 20px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-immersive-model-hint strong {
  font-size: 12px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 86%, transparent);
}

.hp-v2-pd-immersive-model-hint small {
  font-size: 11px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-immersive-mini-card {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  border-radius: 12px;
  background: #fff;
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 6px;
}

.hp-v2-pd-immersive-mini-card .material-symbols-rounded {
  font-size: 19px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-immersive-mini-card strong {
  font-size: 14px;
}

.hp-v2-pd-immersive-mini-card small {
  font-size: 11px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-immersive-mini-cta {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.hp-v2-pd-immersive-mini-cta a {
  min-height: 42px;
  min-width: 160px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
}

.hp-v2-pd-image-save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(15, 21, 29, 0.44);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  text-decoration: none;
  z-index: 5;
  cursor: pointer;
}

.hp-v2-pd-image-save .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
}

.hp-v2-pd-image-save:hover {
  background: rgba(15, 21, 29, 0.6);
}

.hp-v2-pd-image-save.is-active {
  color: #ffb3bc;
  border-color: rgba(255, 179, 188, 0.7);
}

.hp-v2-pd-image-save:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .hp-v2-pd-locality-insights-grid {
    grid-template-columns: 1fr;
  }

  .hp-v2-pd-finance-grid,
  .hp-v2-pd-finance-results,
  .hp-v2-pd-safety-actions,
  .hp-v2-pd-immersive-mini-grid {
    grid-template-columns: 1fr;
  }

  .hp-v2-pd-immersive-preview {
    grid-template-columns: 1fr;
  }

  .hp-v2-pd-immersive-preview-side {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .hp-v2-pd-immersive-preview-tile + .hp-v2-pd-immersive-preview-tile {
    border-top: 0;
    border-left: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  }
}

.hp-v2-pd-topnav {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-block: 10px;
}

.hp-v2-pd-topnav-back,
.hp-v2-pd-topnav-brand,
.hp-v2-pd-topnav-login,
.hp-v2-pd-topnav-cta {
  text-decoration: none;
}

.hp-v2-pd-topnav-back {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-primary) 38%, transparent);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--md-sys-color-primary);
  font-size: 0;
  box-shadow: none;
}

.hp-v2-pd-topnav-back .material-symbols-rounded {
  font-size: 19px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-weight: 700;
}

.hp-v2-pd-topnav-brand img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.hp-v2-pd-topnav-brand-text {
  font-size: 13px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 78%, transparent);
}

.hp-v2-pd-topnav-title {
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 92%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-v2-pd-topnav-title-wrap {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hp-v2-pd-topnav-subtitle {
  margin: 0;
  font-size: 11px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 60%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-v2-pd-topnav-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.hp-v2-pd-topnav-login,
.hp-v2-pd-topnav-cta {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-family: inherit;
  font-size: 13px;
}

.hp-v2-pd-topnav-login {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 88%, transparent);
  background: #fdfefe;
}

.hp-v2-pd-topnav-cta {
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--hp-v2-btn-primary-bg);
  color: var(--hp-v2-btn-primary-fg);
}

.hp-v2-pd-topnav-menu {
  display: none;
  min-width: 40px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
}

.hp-v2-pd-shell {
  padding-top: var(--hp-v2-space-4);
  padding-bottom: var(--hp-v2-space-6);
}

.hp-v2-pd-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  font-size: var(--md-sys-typescale-label);
  color: var(--hp-v2-card-meta);
  overflow: hidden;
  white-space: nowrap;
}

.hp-v2-pd-crumbs a,
.hp-v2-pd-crumbs span {
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.hp-v2-pd-crumbs strong {
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.hp-v2-pd-hero {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 12px;
  align-items: start;
}

.hp-v2-pd-gallery {
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--md-sys-color-primary-container) 22%, #fff), #fff 36%);
  box-shadow: 0 10px 26px rgba(8, 14, 26, 0.06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  align-self: start;
}

.hp-v2-pd-gallery:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, var(--hp-v2-card-border));
  box-shadow: 0 14px 30px rgba(8, 14, 26, 0.09);
}

.hp-v2-pd-media-hub {
  display: grid;
  gap: 0;
}

.hp-v2-pd-media-chips {
  display: none !important;
}

.hp-v2-pd-media-chip {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.hp-v2-pd-media-chip small {
  font-size: 11px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-media-chip.is-active {
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 34%, transparent);
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 66%, #fff);
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-media-chip:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.hp-v2-pd-media-panel {
  display: none;
}

.hp-v2-pd-media-panel.is-active {
  display: block;
}

.hp-v2-pd-main-image-wrap {
  position: relative;
  height: 420px;
  background: color-mix(in srgb, var(--md-sys-color-primary) 7%, #fff);
  overflow: hidden;
}

.hp-v2-pd-image-media-badges {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 140px);
}

.hp-v2-pd-image-media-badge {
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(15, 21, 29, 0.58);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hp-v2-pd-image-media-badge .material-symbols-rounded {
  font-size: 15px;
}

.hp-v2-pd-view-all-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(15, 21, 29, 0.64);
  color: #fff;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hp-v2-pd-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

#hp-v2-pd-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center top !important;
  display: block;
}

.hp-v2-pd-main-image-wrap img[data-hp-v2-pd-image-open] {
  cursor: pointer;
}

.hp-v2-pd-main-video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.hp-v2-pd-video-list {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-video-item {
  min-height: 52px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.hp-v2-pd-video-item.is-active {
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 36%, transparent);
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 6px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-empty-state p {
  margin: 0;
}

.hp-v2-pd-empty-state .material-symbols-rounded {
  font-size: 28px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-map-actions {
  padding: 10px;
}

.hp-v2-pd-map-actions a {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  padding: 0 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  background: #fff;
  font-weight: 600;
}

.hp-v2-pd-main-video-open {
  position: absolute;
  right: 10px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  background: rgba(255, 255, 255, 0.94);
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(8, 14, 26, 0.12);
  top: 52px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-video-controls-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hp-v2-pd-main-image-wrap.is-video-active .hp-v2-pd-video-controls-layer {
  opacity: 1;
  pointer-events: auto;
}

.hp-v2-pd-video-controls-layer[hidden] {
  display: none !important;
}

.hp-v2-pd-video-controls-layer .badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hp-v2-pd-video-controls-layer .badge .material-symbols-rounded {
  font-size: 16px;
  color: var(--gv-color-accent-green, #2ecc71);
}

.hp-v2-pd-video-controls-layer .actions {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-v2-pd-video-controls-layer .actions button {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.hp-v2-pd-video-controls-layer .actions button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

.hp-v2-pd-video-controls-layer .actions button[data-hp-v2-pd-video-mute] {
  padding: 0;
  width: 38px;
  justify-content: center;
}

.hp-v2-pd-main-image-wrap.is-video-active .hp-v2-pd-badge-status,
.hp-v2-pd-main-image-wrap.is-video-active .hp-v2-pd-badge-verified {
  opacity: 0.9;
}

.hp-v2-pd-main-image-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--md-sys-color-primary) 55%, transparent);
}

.hp-v2-pd-main-image-empty .material-symbols-rounded {
  font-size: 36px;
}

.hp-v2-pd-badge {
  position: absolute;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hp-v2-pd-badge-verified {
  left: 10px;
  bottom: 10px;
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 88%, #fff);
  color: var(--md-sys-color-primary);
  border: 1px solid color-mix(in srgb, var(--md-sys-color-primary) 24%, transparent);
}

.hp-v2-pd-badge-status {
  top: 10px;
  right: 52px;
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
}

.hp-v2-pd-thumbs {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-thumb {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 24%, transparent);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
}

.hp-v2-pd-thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
}

.hp-v2-pd-thumb-video {
  min-height: 60px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--md-sys-color-primary) 9%, #fff);
  color: var(--md-sys-color-primary);
  gap: 2px;
}

.hp-v2-pd-thumb-video .material-symbols-rounded {
  font-size: 18px;
}

.hp-v2-pd-thumb-video small {
  font-size: 11px;
  font-weight: 700;
}

.hp-v2-pd-thumb.is-active {
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 45%, transparent);
}

.hp-v2-pd-thumb:hover {
  transform: translateY(-1px);
}

.hp-v2-pd-summary {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--md-sys-color-primary-container) 18%, #fff), #fff 40%);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  box-shadow: 0 10px 24px rgba(8, 14, 26, 0.05);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hp-v2-pd-summary:hover {
  transform: none;
  border-color: var(--hp-v2-card-border);
  box-shadow: 0 8px 20px rgba(8, 14, 26, 0.045);
}

.hp-v2-pd-location {
  margin: 0;
  color: var(--hp-v2-card-meta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.hp-v2-pd-location .material-symbols-rounded {
  font-size: 16px;
}

.hp-v2-pd-trust-strip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-primary) 18%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 52%, #fff);
  padding: 8px 10px;
}

.hp-v2-pd-trust-strip .material-symbols-rounded {
  font-size: 18px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-trust-strip div {
  display: grid;
  gap: 1px;
}

.hp-v2-pd-trust-strip strong {
  font-size: 12px;
  line-height: 1.25;
}

.hp-v2-pd-trust-strip span {
  font-size: 11px;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-summary h1 {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hp-v2-pd-project {
  margin: 0;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 78%, transparent);
  font-weight: 500;
  font-size: 12.5px;
}

.hp-v2-pd-price {
  margin-top: 2px;
  font-size: clamp(1.18rem, 1.55vw, 1.45rem);
  font-weight: 800;
  color: var(--md-sys-color-primary);
  letter-spacing: -0.01em;
}

.hp-v2-pd-price-note {
  margin: -1px 0 0;
  color: var(--hp-v2-card-meta);
  font-size: 12px;
}

.hp-v2-pd-facts {
  margin-top: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-v2-pd-facts span {
  min-height: 28px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 86%, transparent);
  font-size: 12px;
  font-weight: 500;
}

.hp-v2-pd-facts .material-symbols-rounded {
  font-size: 14px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.hp-v2-pd-actions button,
.hp-v2-pd-actions a {
  min-height: 40px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  border: 1px solid transparent;
  gap: 4px;
  font-size: 13px;
}

.hp-v2-pd-actions button {
  background: #fff;
  color: var(--md-sys-color-primary);
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 32%, transparent);
  cursor: pointer;
}

.hp-v2-pd-actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hp-v2-pd-actions a {
  background: var(--hp-v2-btn-primary-bg);
  color: var(--hp-v2-btn-primary-fg);
}

.hp-v2-pd-actions-primary {
  grid-template-columns: 1fr;
}

.hp-v2-pd-actions button.hp-v2-pd-btn-primary {
  background: var(--hp-v2-btn-primary-bg);
  color: var(--hp-v2-btn-primary-fg);
  border-color: transparent;
  justify-content: flex-start;
  padding: 0 14px;
}

.hp-v2-pd-actions button.hp-v2-pd-btn-call .material-symbols-rounded {
  font-size: 16px;
}

.hp-v2-pd-actions button.hp-v2-pd-btn-icon {
  padding: 0 14px;
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 80%, transparent);
  border-color: color-mix(in srgb, var(--md-sys-color-outline) 22%, transparent);
}

.hp-v2-pd-actions .hp-v2-pd-btn-icon-only {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.hp-v2-pd-actions .hp-v2-pd-btn-icon-only .material-symbols-rounded {
  font-size: 18px;
}

/* Secondary / ghost CTA (e.g. Schedule Visit for guests) */
.hp-v2-pd-actions button.hp-v2-pd-btn-secondary,
.hp-v2-pd-actions a.hp-v2-pd-btn-secondary {
  background: #fff;
  color: var(--md-sys-color-primary);
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 36%, transparent);
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
  line-height: 1.1;
}

.hp-v2-pd-actions button.hp-v2-pd-btn-secondary:hover,
.hp-v2-pd-actions a.hp-v2-pd-btn-secondary:hover {
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 30%, #fff);
}

/* Login nudge link in agent strip (for guests) */
.hp-v2-pd-btn-login-nudge {
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 22%, transparent);
  background: #f5f5f5;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 75%, transparent);
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.hp-v2-pd-btn-login-nudge:hover {
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 28%, #fff);
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-actions-split a {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 86%, transparent);
}

.hp-v2-pd-actions-split {
  margin-top: 3px;
  align-items: stretch;
}

.hp-v2-pd-actions-split .hp-v2-pd-btn-secondary {
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hp-v2-pd-actions-split .hp-v2-pd-btn-secondary .material-symbols-rounded {
  line-height: 1;
  transform: translateY(1px);
}

.hp-v2-pd-secondary-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hp-v2-pd-secondary-actions-tight {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.hp-v2-pd-secondary-actions button,
.hp-v2-pd-secondary-actions a {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  font-family: inherit;
  font-size: var(--md-sys-typescale-label);
  cursor: pointer;
}

.hp-v2-pd-agent-strip {
  margin-top: 0;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.hp-v2-pd-agent-strip .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 70%, #fff);
  color: var(--md-sys-color-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

.hp-v2-pd-agent-strip .meta {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.hp-v2-pd-agent-strip .meta strong {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-v2-pd-agent-strip .meta span {
  color: var(--hp-v2-card-meta);
  font-size: 11px;
}

.hp-v2-pd-agent-strip button {
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--hp-v2-btn-primary-bg);
  color: var(--hp-v2-btn-primary-fg);
  font-weight: 600;
  font-family: inherit;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.hp-v2-pd-agent-strip button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hp-v2-pd-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.hp-v2-pd-anchor-nav {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  background: linear-gradient(180deg, #ffffff, #f8fbfa 84%);
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(8, 14, 26, 0.04);
  scroll-padding-inline: 10px;
  overscroll-behavior-x: contain;
}

.hp-v2-pd-anchor-nav::-webkit-scrollbar {
  display: none;
}

.hp-v2-pd-anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  border-radius: 10px;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 82%, transparent);
  background: #fcfefe;
  font-size: 12.5px;
  font-weight: 650;
  scroll-snap-align: start;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
  gap: 6px;
}

.hp-v2-pd-anchor-nav a:last-child {
  margin-right: 4px;
}

.hp-v2-pd-anchor-nav a .material-symbols-rounded {
  font-size: 15px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 68%, transparent);
}

.hp-v2-pd-anchor-nav a span:last-child {
  line-height: 1;
}

.hp-v2-pd-anchor-nav a.is-hidden,
.hp-v2-pd-mobile-sheet-links a.is-hidden {
  display: none;
}

.hp-v2-pd-anchor-nav a:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 24%, transparent);
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 30%, #fff);
}

.hp-v2-pd-anchor-nav a.is-active {
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 34%, transparent);
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 66%, #fff);
  color: var(--md-sys-color-primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(8, 14, 26, 0.08);
}

.hp-v2-pd-anchor-nav a.is-active .material-symbols-rounded {
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-main-col,
.hp-v2-pd-side-col {
  display: grid;
  gap: 12px;
}

.hp-v2-pd-side-col {
  align-self: start;
  align-content: start;
  grid-auto-rows: max-content;
}

.hp-v2-pd-section {
  padding: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--md-sys-color-primary-container) 14%, #fff), #fff 44%);
  box-shadow: 0 8px 20px rgba(8, 14, 26, 0.045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hp-v2-pd-section:hover {
  transform: none;
  border-color: var(--hp-v2-card-border);
  box-shadow: 0 8px 20px rgba(8, 14, 26, 0.045);
}

.hp-v2-pd-section h2,
.hp-v2-pd-section h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-v2-pd-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  background: color-mix(in srgb, var(--md-sys-color-surface-variant) 32%, #f2f4f7);
  color: color-mix(in srgb, var(--md-sys-color-primary) 84%, #0f766e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex: 0 0 28px;
}

.hp-v2-pd-kv-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
}

.hp-v2-pd-kv-grid div {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  min-width: 0;
}

.hp-v2-pd-kv-grid span {
  display: block;
  font-size: var(--md-sys-typescale-label);
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-kv-grid strong {
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 88%, transparent);
  font-weight: 500;
  font-size: 16px;
  display: block;
  overflow-wrap: anywhere;
}

.hp-v2-pd-description {
  margin: 12px 0 0;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 78%, transparent);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hp-v2-pd-description.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hp-v2-pd-btn-immersive {
  background: #0f766e !important;
  border-color: #0f766e !important;
  color: #ffffff !important;
}

.hp-v2-pd-btn-immersive .material-symbols-rounded {
  color: #9ff3d9 !important;
}

.hp-v2-pd-description-toggle {
  margin-top: 6px;
  border: none;
  background: transparent;
  color: var(--md-sys-color-primary);
  font-size: var(--md-sys-typescale-label);
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.hp-v2-pd-description-toggle:hover {
  text-decoration: underline;
}

.hp-v2-pd-amenities {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-v2-pd-amenities span {
  min-height: 30px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-v2-pd-amenities .material-symbols-rounded {
  font-size: 14px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-muted {
  margin: 10px 0 0;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-locality-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-locality-card {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.hp-v2-pd-locality-card h3 {
  margin: 0;
  font-size: var(--md-sys-typescale-title);
}

.hp-v2-pd-locality-card p {
  margin: 6px 0 0;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 80%, transparent);
  overflow-wrap: anywhere;
}

.hp-v2-pd-locality-card ul {
  margin: 8px 0 0;
  padding-left: 16px;
}

.hp-v2-pd-locality-card li {
  margin-bottom: 6px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 80%, transparent);
}

.hp-v2-pd-map-links {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-v2-pd-map-links a {
  min-height: 30px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  border-radius: 999px;
  padding: 4px 10px;
  text-decoration: none;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 82%, transparent);
  font-size: var(--md-sys-typescale-label);
  background: #fff;
}

.hp-v2-pd-legal-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-legal-grid div {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.hp-v2-pd-legal-grid .label {
  display: block;
  font-size: var(--md-sys-typescale-label);
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-legal-grid strong {
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 88%, transparent);
  font-weight: 500;
  font-size: 16px;
}

.hp-v2-pd-legal-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-v2-pd-legal-actions a {
  min-height: 36px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  border-radius: 999px;
  padding: 0 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  background: #fff;
  font-size: var(--md-sys-typescale-label);
}

.hp-v2-pd-insight-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-v2-pd-insight-grid div {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.hp-v2-pd-insight-grid span {
  display: block;
  font-size: var(--md-sys-typescale-label);
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-insight-grid strong {
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 88%, transparent);
  font-weight: 500;
  font-size: 16px;
}

.hp-v2-pd-insight-grid-overview {
  margin-top: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
}

.hp-v2-pd-insight-grid-overview div {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.hp-v2-pd-insight-grid-overview strong {
  font-size: 16px;
}

/* Clean white mode: no outlined mini-columns, rectangular action buttons */
.hp-v2-pd-section {
  background: #ffffff !important;
}

#pd-legal .hp-v2-pd-legal-grid div,
#pd-price-insights .hp-v2-pd-insight-grid div,
#pd-finance .hp-v2-pd-finance-results > div,
#pd-trust .hp-v2-pd-insight-grid div {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#pd-legal .hp-v2-pd-legal-actions a {
  border: none !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  min-height: 40px;
  padding: 0 14px;
}

#pd-legal .hp-v2-pd-legal-grid,
#pd-price-insights .hp-v2-pd-insight-grid,
#pd-finance .hp-v2-pd-finance-results,
#pd-trust .hp-v2-pd-insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
}

#pd-legal .hp-v2-pd-legal-grid .label,
#pd-price-insights .hp-v2-pd-insight-grid span,
#pd-finance .hp-v2-pd-finance-results span,
#pd-trust .hp-v2-pd-insight-grid span {
  font-size: var(--md-sys-typescale-label);
  color: var(--hp-v2-card-meta);
}

#pd-legal .hp-v2-pd-legal-grid strong,
#pd-price-insights .hp-v2-pd-insight-grid strong,
#pd-finance .hp-v2-pd-finance-results strong,
#pd-trust .hp-v2-pd-insight-grid strong {
  font-size: 16px;
  font-weight: 500;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 88%, transparent);
}

/* Sharp card mode: less rounded corners across property detail cards */
.hp-v2-pd-shell .hp-v2-card,
.hp-v2-pd-shell .hp-v2-pd-locality-card,
.hp-v2-pd-shell .hp-v2-pd-immersive-preview,
.hp-v2-pd-shell .hp-v2-pd-immersive-mini-card,
.hp-v2-pd-shell .hp-v2-pd-similar-card,
.hp-v2-pd-shell .hp-v2-pd-steps li {
  border-radius: 8px !important;
}

.hp-v2-pd-steps {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hp-v2-pd-steps li {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  display: grid;
  gap: 4px;
}

.hp-v2-pd-steps strong {
  font-size: var(--md-sys-typescale-label);
}

.hp-v2-pd-steps span {
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 78%, transparent);
}

.hp-v2-pd-side-cta {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.hp-v2-pd-side-cta button,
.hp-v2-pd-side-cta a {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 86%, transparent);
}

.hp-v2-pd-side-cta button {
  border-color: transparent;
  background: var(--hp-v2-btn-primary-bg);
  color: var(--hp-v2-btn-primary-fg);
  cursor: pointer;
}

.hp-v2-pd-promoted {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.hp-v2-pd-promoted a {
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.hp-v2-pd-promoted .tag {
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 82%, #fff);
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-promoted .tag.hp-v2-promo-badge--outline,
.hp-v2-pd-listing-badge.hp-v2-promo-badge--outline {
  background: #fff;
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 46%, transparent);
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-promoted .tag.hp-v2-promo-badge--solid,
.hp-v2-pd-listing-badge.hp-v2-promo-badge--solid {
  background: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
  color: #fff;
}

.hp-v2-pd-promoted strong {
  margin-top: 6px;
  display: block;
  overflow-wrap: anywhere;
}

.hp-v2-pd-promoted p {
  margin: 4px 0 0;
  color: var(--hp-v2-card-meta);
}

.hp-v2-pd-promoted div {
  margin-top: 6px;
  color: var(--md-sys-color-primary);
  font-weight: 700;
}

.hp-v2-pd-faq {
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.hp-v2-pd-faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
}

.hp-v2-pd-faq p {
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 78%, transparent);
}

.hp-v2-pd-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hp-v2-pd-head-row a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  font-weight: 700;
}

.hp-v2-pd-similar-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hp-v2-pd-similar-card {
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 18px rgba(8, 14, 26, 0.05);
}

.hp-v2-pd-similar-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 24%, var(--hp-v2-card-border));
  box-shadow: 0 12px 22px rgba(8, 14, 26, 0.08);
}

.hp-v2-pd-similar-card img,
.hp-v2-pd-similar-empty {
  width: 100%;
  height: 126px;
  display: block;
  object-fit: cover;
  background: color-mix(in srgb, var(--md-sys-color-primary) 7%, #fff);
}

.hp-v2-pd-similar-empty {
  display: grid;
  place-items: center;
}

.hp-v2-pd-similar-card .body {
  padding: 10px;
}

.hp-v2-pd-listing-badge {
  margin-bottom: 6px;
}

.hp-v2-pd-similar-card h3 {
  margin: 0;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-v2-pd-similar-card p {
  margin: 4px 0 0;
  color: var(--hp-v2-card-meta);
  font-size: var(--md-sys-typescale-label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-v2-pd-similar-card strong {
  margin-top: 6px;
  display: block;
  color: var(--md-sys-color-primary);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.hp-v2-pd-checks {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hp-v2-pd-checks li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 82%, transparent);
}

.hp-v2-pd-checks .material-symbols-rounded {
  font-size: 16px;
  color: var(--md-sys-color-primary);
}

.hp-v2-pd-link {
  margin-top: 10px;
  display: inline-flex;
  text-decoration: none;
  color: var(--md-sys-color-primary);
  font-weight: 700;
}

.hp-v2-pd-side-col .hp-v2-pd-section {
  display: grid;
  gap: 10px;
  align-content: start;
}

.hp-v2-pd-side-col .hp-v2-pd-section h3 {
  font-size: 1.08rem;
}

.hp-v2-pd-side-col .hp-v2-pd-section>* {
  margin-top: 0;
}

.hp-v2-pd-mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 32;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 12%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 10px 8px 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(8, 14, 26, 0.12);
}

.hp-v2-pd-mobile-bar .price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  font-size: clamp(1rem, 3.9vw, 1.2rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-v2-pd-mobile-bar .price .material-symbols-rounded {
  font-size: 18px;
  flex: 0 0 auto;
}

.hp-v2-pd-mobile-bar .price span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-v2-pd-mobile-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 58%;
  min-width: 0;
  overflow: hidden;
}

.hp-v2-pd-mobile-bar button,
.hp-v2-pd-mobile-bar a {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 12px;
  font-weight: 700;
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.hp-v2-pd-mobile-bar button .material-symbols-rounded,
.hp-v2-pd-mobile-bar a .material-symbols-rounded {
  font-size: 16px;
}

.hp-v2-pd-mobile-bar a {
  border-color: transparent;
  background: var(--hp-v2-btn-primary-bg);
  color: var(--hp-v2-btn-primary-fg);
}

.hp-v2-pd-mobile-bar a[href="/v2/post-property/new"] {
  display: none !important;
}

.hp-v2-pd-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 86;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.hp-v2-pd-contact-modal[data-open="1"] {
  opacity: 1;
  pointer-events: auto;
}

.hp-v2-pd-contact-backdrop {
  border: none;
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 26, 0.36);
}

.hp-v2-pd-contact-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, calc(100% - 24px));
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  background: #fff;
  padding: 14px;
  transition: transform .2s ease;
}

.hp-v2-pd-contact-panel .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-v2-pd-contact-panel .head h3 {
  margin: 0;
}

.hp-v2-pd-contact-panel .head button {
  border: none;
  background: transparent;
  cursor: pointer;
}

.hp-v2-pd-contact-panel form {
  display: grid;
  gap: 8px;
}

.hp-v2-pd-contact-panel input,
.hp-v2-pd-contact-panel textarea {
  width: 100%;
  border: 1px solid var(--hp-v2-search-input-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
}

.hp-v2-pd-contact-panel .status {
  margin-top: 8px;
  font-size: var(--md-sys-typescale-label);
}

.hp-v2-pd-video-modal {
  position: fixed;
  inset: 0;
  z-index: 87;
}

.hp-v2-pd-video-backdrop {
  border: none;
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 26, 0.5);
}

.hp-v2-pd-video-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, calc(100% - 24px));
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  background: #fff;
  padding: 12px;
}

.hp-v2-pd-video-panel .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-v2-pd-video-panel .head h3 {
  margin: 0;
}

.hp-v2-pd-video-panel .head button {
  border: none;
  background: transparent;
  cursor: pointer;
}

.hp-v2-pd-video-panel .frame-wrap {
  margin-top: 10px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.hp-v2-pd-video-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.hp-v2-reveal {
  opacity: 0;
  transform: translateY(10px);
}

.hp-v2-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .34s ease, transform .34s ease;
}

.hp-v2-pressing {
  transform: scale(0.985);
}

.hp-v2-pd-mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 85;
}

.hp-v2-pd-mobile-sheet[aria-hidden="true"] {
  display: none;
}

.hp-v2-pd-mobile-sheet[aria-hidden="false"] {
  display: block;
}

.hp-v2-pd-mobile-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(8, 14, 26, 0.36);
}

.hp-v2-pd-mobile-sheet-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(340px, 88%);
  background: #fff;
  border-left: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  padding: 12px;
  overflow-y: auto;
}

.hp-v2-pd-mobile-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-v2-pd-mobile-sheet-head button {
  border: none;
  background: transparent;
  min-width: 40px;
  min-height: 40px;
}

.hp-v2-pd-mobile-sheet-links {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.hp-v2-pd-mobile-sheet-links a {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 16%, transparent);
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 86%, transparent);
}

.hp-v2-pd-mobile-sheet-links hr {
  border: 0;
  height: 1px;
  background: color-mix(in srgb, var(--md-sys-color-outline) 14%, transparent);
  margin: 6px 0;
}

@supports selector(.hp-v2-page-shell:has(.hp-v2-pd-shell)) {
  .hp-v2-page-shell:has(.hp-v2-pd-shell) {
    flex: 0 0 auto;
    min-height: 0;
  }
}

@media (min-width: 940px) {
  .hp-v2-pd-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }

  .hp-v2-pd-main-image-wrap {
    height: 420px;
  }

  .hp-v2-pd-summary {
    position: sticky;
    top: calc(var(--hp-v2-nav-height) + 64px);
    align-self: start;
  }

  .hp-v2-pd-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }

  .hp-v2-pd-similar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-v2-pd-mobile-bar {
    display: none;
  }
}

@media (min-width: 1240px) {
  .hp-v2-pd-main-image-wrap {
    height: 480px;
  }

  .hp-v2-pd-similar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .hp-v2-pd-main-image-wrap {
    height: 420px;
  }

  .hp-v2-pd-kv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
  }
}

@media (max-width: 760px) {
  .hp-v2-pd-main-image-wrap {
    height: 260px;
  }

  .hp-v2-pd-topnav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .hp-v2-pd-topnav-login {
    display: none;
  }

  .hp-v2-pd-topnav-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hp-v2-pd-topnav-brand,
  .hp-v2-pd-topnav-brand-text,
  .hp-v2-pd-topnav-subtitle {
    display: none;
  }

  .hp-v2-pd-topnav-actions {
    gap: 6px;
  }

  .hp-v2-pd-topnav-cta {
    padding: 0 8px;
    min-height: 36px;
    font-size: var(--md-sys-typescale-label);
  }

  .hp-v2-pd-topnav-cta .hp-v2-pd-topnav-btn-label {
    display: none;
  }

  .hp-v2-pd-topnav-title {
    font-size: 15px;
  }

  .hp-v2-pd-anchor-nav {
    margin-bottom: 0;
    border-radius: 0 0 14px 14px;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 10px 12px 12px 12px;
  }

  .hp-v2-pd-shell {
    padding-bottom: calc(var(--hp-v2-space-10) + 130px);
  }

  .hp-v2-pd-mobile-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .hp-v2-pd-mobile-bar .price {
    max-width: 40%;
  }

  .hp-v2-pd-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hp-v2-pd-media-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hp-v2-pd-media-chips::-webkit-scrollbar {
    display: none;
  }

  .hp-v2-pd-video-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-v2-pd-actions {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .hp-v2-pd-btn-text {
    display: none;
  }

  .hp-v2-pd-secondary-actions {
    grid-template-columns: 1fr;
  }

  /* Keep agent strip inline on mobile */
  .hp-v2-pd-agent-strip {
    grid-template-columns: auto 1fr auto;
  }

  .hp-v2-pd-agent-strip button {
    padding: 0 14px;
    grid-column: auto;
  }

  .hp-v2-pd-similar-grid,
  .hp-v2-pd-locality-grid,
  .hp-v2-pd-legal-grid,
  .hp-v2-pd-insight-grid {
    grid-template-columns: 1fr;
  }

  .hp-v2-pd-insight-grid-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hp-v2-pd-kv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hp-v2-pd-image-media-badges {
    max-width: calc(100% - 20px);
  }

  .hp-v2-pd-view-all-badge {
    min-height: 30px;
    font-size: 11px;
    padding: 0 8px;
  }

  .hp-v2-pd-video-panel {
    width: calc(100% - 16px);
    padding: 10px;
  }

  .hp-v2-pd-contact-panel {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: translateY(100%);
    width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 14px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .hp-v2-pd-contact-modal[data-open="1"] .hp-v2-pd-contact-panel {
    transform: translateY(0);
  }

  .hp-v2-pd-map-links a,
  .hp-v2-pd-legal-actions a,
  .hp-v2-pd-anchor-nav a {
    min-height: 44px;
  }

  .hp-v2-pd-anchor-nav a .material-symbols-rounded {
    font-size: 17px;
  }
}

/* 2026-03-10: Hero CTA compact sizing + page/card contrast tune */
@supports selector(.hp-v2-page-shell:has(.hp-v2-pd-shell)) {
  .hp-v2-page-shell:has(.hp-v2-pd-shell) {
    background: #f3f5f7;
  }
}

.hp-v2-pd-shell {
  background: transparent;
}

.hp-v2-pd-shell .hp-v2-card,
.hp-v2-pd-shell .hp-v2-pd-summary,
.hp-v2-pd-shell .hp-v2-pd-gallery {
  background: #fff;
}

.hp-v2-pd-gallery:hover {
  transform: none;
}

.hp-v2-pd-summary > .hp-v2-pd-actions:not(.hp-v2-pd-actions-split) {
  grid-template-columns: auto auto auto;
  justify-content: start;
}

.hp-v2-pd-actions button.hp-v2-pd-btn-primary.hp-v2-pd-btn-call {
  min-width: 176px;
  max-width: 210px;
  justify-content: center;
  padding: 0 14px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hp-v2-pd-summary > .hp-v2-pd-actions:not(.hp-v2-pd-actions-split) {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .hp-v2-pd-actions button.hp-v2-pd-btn-primary.hp-v2-pd-btn-call {
    min-width: 0;
    max-width: none;
    justify-content: flex-start;
  }
}

/* 2026-03-10: Amenities simplify + price block + breadcrumb updated stamp */
.hp-v2-pd-crumbs {
  justify-content: space-between;
  gap: 14px;
  overflow: visible;
  white-space: normal;
}

.hp-v2-pd-crumbs-path {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}

.hp-v2-pd-last-updated {
  margin-left: auto;
  font-size: 12px;
  color: var(--hp-v2-card-meta);
  white-space: nowrap;
}

.hp-v2-pd-price-wrap {
  display: grid;
  gap: 2px;
}

.hp-v2-pd-price-line {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-v2-pd-price-psf {
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 74%, transparent);
}

.hp-v2-pd-price-emi {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: color-mix(in srgb, var(--md-sys-color-primary) 80%, #1d4ed8);
}

.hp-v2-pd-amenities {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
}

.hp-v2-pd-amenity-item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.hp-v2-pd-amenities .hp-v2-pd-amenity-item span {
  min-height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.hp-v2-pd-amenity-item.is-hidden {
  display: none;
}

.hp-v2-pd-amenity-item .material-symbols-rounded {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--md-sys-color-primary);
  flex: 0 0 20px;
}

.hp-v2-pd-amenity-label {
  font-size: 14px;
  line-height: 1.35;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 84%, transparent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-v2-pd-amenities-more-btn {
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  background: #fff;
  color: var(--md-sys-color-primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hp-v2-pd-amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hp-v2-pd-crumbs {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hp-v2-pd-last-updated {
    margin-left: 0;
  }
}

/* 2026-03-10: Clean tabs nav (flat strip, underline active) */
.hp-v2-pd-anchor-nav {
  margin-bottom: 10px;
  padding: 0;
  gap: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 20%, transparent);
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0;
}

.hp-v2-pd-anchor-nav a {
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 82%, transparent);
  padding: 0 18px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.hp-v2-pd-anchor-nav a .material-symbols-rounded {
  display: none;
}

.hp-v2-pd-anchor-nav a:hover {
  transform: none;
  background: color-mix(in srgb, var(--md-sys-color-surface-variant) 22%, #fff);
  border-color: transparent;
}

.hp-v2-pd-anchor-nav a.is-active {
  background: transparent;
  color: var(--md-sys-color-primary);
  border-bottom-color: var(--md-sys-color-primary);
  box-shadow: none;
}

@media (max-width: 760px) {
  .hp-v2-pd-anchor-nav {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 0;
  }

  .hp-v2-pd-anchor-nav a {
    min-height: 44px;
    font-size: 14px;
    padding: 0 12px;
    border-bottom-width: 2px;
  }
}

/* 2026-03-10: Mobile hardening pass */
@media (max-width: 760px) {
  .hp-v2-pd-anchor-nav,
  .hp-v2-pd-anchor-nav a {
    touch-action: pan-y;
  }

  .hp-v2-pd-crumbs {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: grid;
    gap: 4px;
  }

  .hp-v2-pd-crumbs-path {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    display: block;
  }

  .hp-v2-pd-crumbs-path a,
  .hp-v2-pd-crumbs-path span {
    display: none;
  }

  .hp-v2-pd-crumbs-path strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
  }

  .hp-v2-pd-last-updated {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.hp-v2 {
    overflow: auto !important;
    overflow-y: auto !important;
    min-height: 100dvh;
  }

  html,
  body {
    overflow-x: hidden;
    overflow-y: auto !important;
  }

  .hp-v2-page-shell,
  .hp-v2-pd-topnav-wrap,
  .hp-v2-pd-shell,
  .hp-v2-pd-hero,
  .hp-v2-pd-layout,
  .hp-v2-pd-main-col,
  .hp-v2-pd-side-col,
  .hp-v2-pd-summary,
  .hp-v2-pd-gallery,
  .hp-v2-pd-section {
    max-width: 100%;
    min-width: 0;
  }

  .hp-v2-pd-summary,
  .hp-v2-pd-section {
    padding: 12px;
  }

  .hp-v2-pd-topnav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-block: 8px;
  }

  .hp-v2-pd-topnav-back {
    display: none;
  }

  .hp-v2-pd-topnav-title {
    font-size: 16px;
    line-height: 1.2;
  }

  .hp-v2-pd-anchor-nav {
    min-height: 42px;
  }

  .hp-v2-pd-anchor-nav a {
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hp-v2-pd-summary > .hp-v2-pd-actions:not(.hp-v2-pd-actions-split) {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .hp-v2-pd-actions-split {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hp-v2-pd-actions-split .hp-v2-pd-btn-secondary {
    min-height: 40px;
  }

  .hp-v2-pd-agent-strip {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 8px;
  }

  .hp-v2-pd-agent-strip button,
  .hp-v2-pd-agent-strip .hp-v2-pd-btn-login-nudge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hp-v2-pd-kv-grid,
  .hp-v2-pd-insight-grid-overview {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hp-v2-pd-description {
    font-size: 15px;
    line-height: 1.45;
  }

  .hp-v2-pd-mobile-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 7px 8px;
    gap: 8px;
  }

  .hp-v2-pd-mobile-bar a,
  .hp-v2-pd-mobile-bar button {
    min-height: 36px;
    font-size: 12px;
    padding: 0 10px;
  }

  .hp-v2-page-shell {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .hp-v2-pd-topnav-wrap {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 60;
  }

  .hp-v2-pd-mobile-sheet[aria-hidden="true"] {
    display: none !important;
    pointer-events: none !important;
  }

  .hp-v2-pd-topnav-wrap {
    left: 0;
    right: 0;
  }
}

@supports selector(.hp-v2-page-shell:has(.hp-v2-pd-shell)) {
  body.hp-v2:has(.hp-v2-pd-shell) {
    overflow: auto !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
  }

  .hp-v2-page-shell:has(.hp-v2-pd-shell) {
    overflow: visible !important;
    height: auto !important;
  }
}

@media (max-width: 760px) {
  @supports selector(.hp-v2-page-shell:has(.hp-v2-pd-shell)) {
    .hp-v2-page-shell:has(.hp-v2-pd-shell) {
      width: 100% !important;
      max-width: 100% !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin: 0 !important;
    }

    .hp-v2-page-shell:has(.hp-v2-pd-shell) .hp-v2-container {
      width: calc(100% - 16px) !important;
      max-width: calc(100% - 16px) !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
  }
}

/* 2026-03-10: Mobile fixed header for stable topnav/tabs + anchor jumps */
@media (max-width: 760px) {
  :root {
    --hp-v2-pd-mobile-header-h: 106px;
  }

  .hp-v2-pd-topnav-wrap {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120 !important;
    background: #fff;
    border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 18%, transparent);
  }

  .hp-v2-pd-topnav {
    min-height: 52px;
    padding-top: max(6px, env(safe-area-inset-top));
    padding-bottom: 6px;
  }

  .hp-v2-pd-anchor-nav {
    min-height: 44px;
  }

  .hp-v2-pd-shell {
    padding-top: calc(var(--hp-v2-pd-mobile-header-h) + env(safe-area-inset-top)) !important;
  }

  [id^="pd-"] {
    scroll-margin-top: calc(var(--hp-v2-pd-mobile-header-h) + env(safe-area-inset-top) + 8px);
  }
}
