.hp-v2-post-shell {
  margin-top: 16px;
  padding-bottom: 26px;
}
.hp-v2-post-alert {
  margin-bottom: 10px;
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-color: color-mix(in srgb, var(--md-sys-color-primary) 25%, transparent);
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 55%, #fff);
}
.hp-v2-post-alert p {
  margin: 0;
  font-size: 0.88rem;
}

.hp-v2-post-hero {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(130deg, color-mix(in srgb, var(--md-sys-color-primary) 14%, #fff), #fff 70%);
}
.hp-v2-post-hero .eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--md-sys-color-primary) 78%, transparent);
}
.hp-v2-post-hero h1 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.hp-v2-post-hero p {
  margin: 8px 0 0;
  max-width: 780px;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 72%, transparent);
}
.hp-v2-post-hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-v2-post-ghost-btn {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 24%, transparent);
  background: #fff;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.hp-v2-post-goals {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hp-v2-post-goals .hp-v2-card {
  padding: 14px;
  border-radius: 14px;
}
.hp-v2-post-goals .material-symbols-rounded {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 56%, #fff);
  color: color-mix(in srgb, var(--md-sys-color-primary) 80%, transparent);
  font-size: 20px;
}
.hp-v2-post-goals h2 {
  margin: 10px 0 0;
  font-size: 1rem;
}
.hp-v2-post-goals p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 70%, transparent);
}

.hp-v2-post-checklist {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
}
.hp-v2-post-checklist h2 {
  margin: 0;
  font-size: 1.05rem;
}
.hp-v2-post-checklist ul {
  margin: 8px 0 12px;
  padding-left: 18px;
}
.hp-v2-post-checklist li {
  margin: 6px 0;
}

.hp-v2-post-auth {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
}
.hp-v2-post-auth h2 {
  margin: 0;
  font-size: 1.05rem;
}
.hp-v2-post-auth p {
  margin: 6px 0 0;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 70%, transparent);
}
.hp-v2-post-auth-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
.hp-v2-post-auth-grid.is-otp {
  margin-top: 8px;
}
.hp-v2-post-auth-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}
.hp-v2-post-phone-wrap {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 24%, transparent);
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.hp-v2-post-phone-wrap span {
  min-height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 22%, transparent);
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 70%, transparent);
}
.hp-v2-post-phone-wrap input,
.hp-v2-post-auth-grid input {
  min-height: 46px;
  border: none;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
}
.hp-v2-post-phone-wrap input:focus,
.hp-v2-post-auth-grid input:focus {
  outline: none;
}
.hp-v2-post-auth-msg {
  margin-top: 8px;
  font-size: 0.84rem;
  min-height: 20px;
}

.hp-v2-post-form-head h1 {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}
.hp-v2-post-form-head p {
  margin: 4px 0 0;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 70%, transparent);
}
.hp-v2-post-back {
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--md-sys-color-primary);
}

.hp-v2-post-stepper {
  margin: 12px 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.hp-v2-post-stepper-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hp-v2-post-stepper li {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 24%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 72%, transparent);
  background: #fff;
}
.hp-v2-post-stepper li.is-active {
  border-color: transparent;
  color: var(--md-sys-color-on-primary);
  background: var(--md-sys-color-primary);
}

.hp-v2-post-form {
  padding: 14px;
  border-radius: 16px;
}
.hp-v2-post-form + .hp-v2-post-form,
.hp-v2-post-form + .hp-v2-post-status {
  margin-top: 10px;
}
.hp-v2-post-form h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.hp-v2-post-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-v2-post-chip-group button,
.hp-v2-post-amenities button {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 28%, transparent);
  background: #fff;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 82%, transparent);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.hp-v2-post-chip-group button.is-active,
.hp-v2-post-amenities button.is-active {
  border-color: transparent;
  background: color-mix(in srgb, var(--md-sys-color-primary) 14%, #fff);
  color: var(--md-sys-color-primary);
}
.hp-v2-post-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-v2-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hp-v2-post-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 82%, transparent);
}
.hp-v2-post-grid input,
.hp-v2-post-grid select,
.hp-v2-post-grid textarea {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 26%, transparent);
  background: #fff;
  color: var(--md-sys-color-on-surface);
  padding: 10px 12px;
  font: inherit;
}
.hp-v2-post-grid textarea {
  min-height: 110px;
  resize: vertical;
}
.hp-v2-post-checkline {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-outline) 26%, transparent);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}
.hp-v2-post-checkline input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
.hp-v2-post-grid small {
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 58%, transparent);
}
.hp-v2-post-span-2 {
  grid-column: 1 / -1;
}
.hp-v2-post-immersive-head {
  margin-top: 2px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--md-sys-color-primary) 22%, transparent);
  background: color-mix(in srgb, var(--md-sys-color-primary-container) 42%, #fff);
}
.hp-v2-post-immersive-head strong {
  display: block;
  font-size: 0.9rem;
}
.hp-v2-post-immersive-head p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 70%, transparent);
}

.hp-v2-post-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.hp-v2-post-status {
  margin-top: 10px;
  border-radius: 14px;
  padding: 12px;
}
.hp-v2-post-status strong {
  display: block;
}
.hp-v2-post-status p {
  margin: 6px 0 0;
  color: color-mix(in srgb, var(--md-sys-color-on-surface) 72%, transparent);
}

@media (max-width: 860px) {
  .hp-v2-post-goals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hp-v2-post-shell {
    margin-top: 10px;
    padding-bottom: calc(var(--hp-v2-mobile-bottom-nav-height) + 18px);
  }
  .hp-v2-post-hero {
    padding: 14px;
    border-radius: 14px;
  }
  .hp-v2-post-hero h1 {
    font-size: 1.42rem;
  }
  .hp-v2-post-hero p {
    font-size: 0.92rem;
  }
  .hp-v2-post-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hp-v2-post-hero-actions .hp-v2-search-btn,
  .hp-v2-post-hero-actions .hp-v2-post-ghost-btn {
    width: 100%;
  }
  .hp-v2-post-stepper {
    gap: 6px;
  }
  .hp-v2-post-stepper li {
    min-height: 34px;
    font-size: 0.74rem;
  }
  .hp-v2-post-stepper-4 li {
    font-size: 0.7rem;
    padding: 0 4px;
  }
  .hp-v2-post-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hp-v2-post-auth-grid {
    grid-template-columns: 1fr;
  }
  .hp-v2-post-auth-grid .hp-v2-search-btn {
    width: 100%;
  }
  .hp-v2-post-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hp-v2-post-actions > * {
    width: 100%;
  }
}
