/* Panel admin — app shell (sin navbar pública) */
.panel-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, #111827 0%, #1f2937 45%, #374151 100%);
}

.panel-auth__card {
  width: min(100%, 400px);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.panel-auth__brand {
  display: inline-flex;
  margin-bottom: 1rem;
}

.panel-auth__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
}

.panel-auth__lead {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

.panel-auth__lead a {
  color: var(--brand);
  font-weight: 600;
}

.panel-auth__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel-auth__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.panel-auth__field .blog-input {
  font-weight: 400;
}

.panel-auth__error {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.8125rem;
}

.panel-auth__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.panel-auth__alt {
  margin: 1.15rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: center;
}

.panel-auth__alt a {
  color: var(--brand);
  font-weight: 600;
}

.panel-app {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #f3f4f6;
  color: #111827;
  min-height: 100vh;
}

.panel-app__shell {
  display: flex;
  min-height: 100vh;
}

.panel-app__backdrop {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 991px) {
  body.panel-sidebar-open .panel-app__backdrop {
    display: block;
    pointer-events: auto;
  }
}

.panel-app__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.panel-topbar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.panel-topbar__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  color: #374151;
}

@media (min-width: 992px) {
  .panel-topbar__menu { display: none; }
}

.panel-topbar__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.panel-topbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.panel-topbar__alert {
  display: none;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 768px) {
  .panel-topbar__alert { display: inline-flex; }
}

.panel-topbar__user {
  display: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .panel-topbar__user { display: inline; }
}

.panel-topbar__logout,
.panel-logout-form button {
  padding: 0.4rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}

.panel-topbar__logout:hover,
.panel-logout-form button:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.panel-logout-form { margin: 0; }

.panel-messages {
  padding: 0.75rem 1.25rem 0;
}

.panel-message {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.panel-message--success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.panel-message--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.panel-message--warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.panel-message--info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.panel-layout {
  display: grid;
  min-height: calc(100vh - 4rem);
}

@media (min-width: 992px) {
  .panel-layout {
    grid-template-columns: 240px 1fr;
  }
}

.panel-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #111827;
  color: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  z-index: 100;
}

@media (max-width: 991px) {
  .panel-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  body.panel-sidebar-open .panel-sidebar {
    transform: translateX(0);
  }
}

@media (min-width: 992px) {
  .panel-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    transform: none;
  }
}

.panel-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.panel-brand .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.panel-brand__label {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: #9ca3af;
}

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.panel-nav a,
.panel-nav__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  color: #9ca3af;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  position: relative;
  z-index: 1;
}

.panel-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #6b7280;
  flex-shrink: 0;
  pointer-events: none;
}

.panel-nav__icon svg,
.panel-nav__icon use {
  pointer-events: none;
}

.panel-nav__label {
  flex: 1;
  min-width: 0;
}

.panel-nav a:hover,
.panel-nav__link:hover {
  background: rgba(62, 163, 93, 0.12);
  color: #e5e7eb;
}

.panel-nav a:hover .panel-nav__icon,
.panel-nav__link:hover .panel-nav__icon {
  background: rgba(62, 163, 93, 0.2);
  color: #86efac;
}

.panel-nav a.is-active,
.panel-nav__link.is-active {
  background: rgba(62, 163, 93, 0.2);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--brand);
}

.panel-nav a.is-active .panel-nav__icon,
.panel-nav__link.is-active .panel-nav__icon {
  background: var(--brand);
  color: #fff;
}

.panel-nav__badge {
  display: inline-flex;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #f59e0b;
  color: #111827;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: auto;
}

.panel-nav__section {
  display: block;
  margin: 1rem 0 0.35rem;
  padding: 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5563;
}

.panel-nav__section:first-child { margin-top: 0; }

.panel-sidebar__foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.panel-sidebar__foot-link {
  font-size: 0.75rem;
  color: #6b7280;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}

.panel-sidebar__foot-link:hover {
  color: var(--brand-light);
}

.panel-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.panel-quick-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #374151;
  text-align: center;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.panel-quick-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  color: #111827;
}

.panel-quick-card--admin { background: #fef3c7; border-color: #fcd34d; }

.panel-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.panel-inline-form .blog-input { flex: 1; min-width: 180px; max-width: 320px; }

/* Header limpio */
.site-header { border-bottom: 1px solid #ebebeb; background: #fff; }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.site-header__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.0625rem; color: var(--brand); text-decoration: none; white-space: nowrap; }
.site-header__logo { display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--brand); color: #fff; font-size: 0.875rem; }
.site-header__nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.15rem; }
.site-header__nav a { padding: 0.45rem 0.7rem; border-radius: 8px; font-size: 0.8125rem; font-weight: 500; color: #4b5563; text-decoration: none; }
.site-header__nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; flex-shrink: 0; }
.site-header__link { font-size: 0.8125rem; color: #4b5563; text-decoration: none; }
.site-header__admin { font-size: 0.8125rem; font-weight: 600; color: #d97706; text-decoration: none; }
.site-header__user { font-size: 0.8125rem; font-weight: 600; color: var(--brand-dark); text-decoration: none; max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header__pending { font-size: 0.75rem; color: #d97706; }
.site-header__cta { display: inline-flex; padding: 0.45rem 0.95rem; border-radius: 9999px; background: var(--brand); color: #fff; font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.site-header__cta--ghost { background: #fff; color: #374151; border: 1px solid #e5e7eb; }
.site-header-mobile { border-bottom: 1px solid #ebebeb; background: #fff; }
.site-header-mobile__inner { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; padding: 0 1rem; }
.site-header-mobile__brand { font-weight: 600; color: var(--brand); text-decoration: none; font-size: 0.9375rem; }
.site-header-mobile__menu { border: none; background: none; font-size: 1.25rem; cursor: pointer; }
.site-header-mobile__drawer { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.75rem 1rem 1rem; border-top: 1px solid #f3f4f6; background: #fafafa; }
.site-header-mobile__drawer a { padding: 0.5rem 0; font-size: 0.9375rem; color: #374151; text-decoration: none; }

.panel-main {
  flex: 1;
  min-width: 0;
  padding: 1.5rem;
  background: #f3f4f6;
}

@media (min-width: 768px) {
  .panel-main { padding: 2rem 2.5rem; }
}

.panel-main .blog-editor-actions .dest-btn {
  width: auto;
  margin-bottom: 0;
}

.panel-main .blog-editor-form {
  width: 100%;
  max-width: none;
}

.panel-page-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

.panel-page-sub {
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.9375rem;
}

.panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.panel-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.panel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.panel-search-form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: 220px;
  max-width: 420px;
}

.panel-search-form .blog-input {
  flex: 1;
  min-width: 0;
}

.panel-stats--compact {
  margin: 0.75rem 0 1.25rem;
}

@media (min-width: 1200px) {
  .panel-stats--compact {
    grid-template-columns: repeat(6, 1fr);
  }
}

.panel-filter-card {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.panel-filter-grid {
  display: grid;
  gap: 0.75rem 1rem;
  align-items: end;
}

@media (min-width: 768px) {
  .panel-filter-grid {
    grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(120px, 1fr)) auto;
  }
}

.panel-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.panel-filter-field--search {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .panel-filter-field--search {
    grid-column: auto;
  }
}

.panel-filter-field__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.panel-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.panel-results-bar {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.panel-results-bar strong {
  color: #111827;
  font-weight: 700;
}

.panel-table__col-thumb {
  width: 3.5rem;
  vertical-align: middle;
}

.panel-prop-thumb {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

.panel-prop-thumb--empty {
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.panel-table--properties td:first-child + td {
  min-width: 12rem;
}

.panel-user-meta {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.panel-badge--staff {
  background: #ede9fe;
  color: #6d28d9;
}

.panel-badge--superuser {
  background: #fef3c7;
  color: #b45309;
}

.panel-badge--inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.panel-badge--verified {
  background: #ecfdf5;
  color: #047857;
}

.panel-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 1.25rem;
}

.panel-pagination a,
.panel-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.35rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
}

.panel-pagination a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.panel-pagination .is-current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.panel-user-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.panel-user-counts span {
  padding: 0.1rem 0.4rem;
  background: #f3f4f6;
  border-radius: 0.25rem;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 768px) {
  .panel-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .panel-stats { grid-template-columns: repeat(6, 1fr); }
}

.panel-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.panel-stat--warn {
  border-color: #fcd34d;
  background: #fffbeb;
}

.panel-stat__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
}

.panel-stat__label {
  font-size: 0.75rem;
  color: #6b7280;
}

.panel-grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .panel-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.panel-grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .panel-grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.panel-grid-2 > .panel-card {
  min-width: 0;
}

.panel-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  padding: 1.25rem;
  min-width: 0;
  overflow: hidden;
}

.panel-card h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.panel-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
  font-size: 0.875rem;
}

.panel-dl dt {
  color: #6b7280;
  font-weight: 500;
}

.panel-dl dd {
  margin: 0;
  color: #111827;
}

.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
}

.panel-list li strong { display: block; color: #111827; }
.panel-list li span { color: #6b7280; font-size: 0.8125rem; }

.panel-list__actions {
  margin-top: 0.5rem;
}

.panel-list--rows .panel-list__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel-list--rows .panel-list__main {
  flex: 1;
  min-width: 0;
}

.panel-list--rows .panel-list__desc {
  display: block;
  color: #6b7280;
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0.2rem 0 0.35rem;
}

.panel-list--rows .panel-list__meta {
  display: block;
  color: #9ca3af;
  font-size: 0.75rem;
}

.panel-list--rows .panel-list__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0;
  flex-shrink: 0;
}

.panel-list--rows .panel-list__actions form {
  margin: 0;
}

.panel-field {
  display: block;
  min-width: 0;
  width: 100%;
}

.panel-field .blog-input,
.panel-field .blog-textarea,
.panel-field .blog-select,
.panel-field input,
.panel-field textarea,
.panel-field select {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.panel-field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.panel-field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.4;
}

.panel-field__error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #dc2626;
}

.panel-empty {
  color: #9ca3af;
  text-align: center;
  padding: 1.5rem !important;
}

.panel-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.panel-tabs a {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
}

.panel-tabs a.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

/* Editor propiedad alquiler — pestañas tipo wizard */
.panel-prop-editor {
  width: 100%;
  min-width: 0;
}

.panel-prop-editor--wizard .panel-prop-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.panel-prop-editor--wizard .panel-property-form {
  width: 100%;
  min-width: 0;
}

.panel-prop-editor--wizard .panel-prop-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.panel-editor-create {
  max-width: 52rem;
}

.panel-editor-create .panel-prop-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}

.panel-editor-create__fields .hw-select,
.panel-editor-create__fields .hw-input {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  min-height: 2.5rem;
}

.panel-prop-editor__header {
  margin-bottom: 1rem;
}

.panel-prop-editor__title {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.panel-prop-editor--wizard .hw-field .blog-input,
.panel-prop-editor--wizard .hw-field .blog-select,
.panel-prop-editor--wizard .hw-field .blog-textarea,
.panel-prop-editor--wizard .hw-field select,
.panel-prop-editor--wizard .hw-field input[type="text"],
.panel-prop-editor--wizard .hw-field input[type="number"],
.panel-prop-editor--wizard .hw-field input[type="url"],
.panel-prop-editor--wizard .hw-field textarea {
  width: 100%;
  box-sizing: border-box;
}

.panel-prop-editor--wizard .hw-field-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.5rem;
}

.panel-prop-editor--wizard .hw-field-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-prop-editor--wizard .hw-field-row--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel-prop-map {
  height: 360px;
  border-radius: 12px;
}

.panel-prop-editor--wizard .cal-ical-grid,
.panel-prop-editor--wizard .cal-ical-card {
  width: 100%;
}

.panel-prop-editor--wizard .hw-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .panel-prop-editor--wizard .hw-field-row--4,
  .panel-prop-editor--wizard .hw-field-row--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .panel-prop-editor--wizard .hw-field-row,
  .panel-prop-editor--wizard .hw-field-row--3,
  .panel-prop-editor--wizard .hw-field-row--4 {
    grid-template-columns: 1fr;
  }
}

.panel-prop-editor__meta {
  margin-bottom: 1rem;
}

.panel-prop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  position: sticky;
  top: 3.25rem;
  z-index: 15;
  width: 100%;
  box-sizing: border-box;
}

.panel-prop-tab {
  flex: 1 1 auto;
  min-width: fit-content;
  padding: 0.5rem 0.875rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.panel-prop-tab:hover {
  color: #374151;
  background: #f3f4f6;
}

.panel-prop-tab.is-active {
  background: #111827;
  color: #fff;
}

.panel-prop-panel {
  display: none;
  margin-bottom: 1.5rem;
  width: 100%;
  min-width: 0;
}

.panel-prop-panel.is-active {
  display: block;
}

.panel-prop-panel .blog-editor-section {
  margin-bottom: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.panel-prop-panel .blog-editor-section > h2 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.panel-prop-editor__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  position: sticky;
  bottom: 0.75rem;
  z-index: 14;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.panel-property-form .hw-map {
  height: 360px;
  border-radius: 12px;
  margin-top: 0.5rem;
}

.panel-property-form .hw-amenity-group {
  margin-bottom: 1.25rem;
}

/* Fotos compactas en panel: más columnas y miniaturas pequeñas para reordenar rápido */
.panel-prop-editor--wizard .hw-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 640px) {
  .panel-prop-editor--wizard .hw-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .panel-prop-editor--wizard .hw-photo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .panel-prop-editor--wizard .hw-photo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.panel-prop-editor--wizard .hw-photo-item {
  aspect-ratio: 1;
  border-radius: 8px;
}

.panel-prop-editor--wizard .hw-photo-item-actions {
  padding: 4px 6px;
}

.panel-prop-editor--wizard .hw-photo-cover-btn {
  font-size: 10px;
}

.panel-prop-editor--wizard .hw-photo-x {
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 640px) {
  .panel-prop-tab {
    flex: 0 0 auto;
    font-size: 0.75rem;
    padding: 0.45rem 0.65rem;
  }
}

.panel-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
}

.panel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.panel-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.panel-table td {
  padding: 0.875rem 1rem;
  border-top: 1px solid #f3f4f6;
  vertical-align: top;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: flex-start;
}

.panel-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #374151;
}

.panel-btn--ok {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

.panel-btn--danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.panel-reject-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.panel-reject-form input {
  padding: 0.375rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  min-width: 120px;
}

.panel-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
}

.panel-badge--pending { background: #fef3c7; color: #92400e; }
.panel-badge--approved { background: #d1fae5; color: #065f46; }
.panel-badge--rejected { background: #fee2e2; color: #991b1b; }
.panel-badge--draft { background: #e5e7eb; color: #374151; }

.panel-form label {
  display: block;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.panel-form input,
.panel-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

/* Blog público */
.blog-page { max-width: 1120px; }
.blog-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }
.blog-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; margin-top: 0.5rem; }
.blog-lead { margin-top: 0.75rem; color: #6b7280; max-width: 36rem; }

.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.blog-cat {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}

.blog-cat.is-active,
.blog-cat:hover {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.blog-card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card__img--placeholder { background: linear-gradient(135deg, #f3f4f6, #e5e7eb); }
.blog-card__body { padding: 1.25rem; }
.blog-card__cat { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); }
.blog-card__title { font-size: 1.0625rem; font-weight: 600; margin-top: 0.35rem; line-height: 1.35; }
.blog-card__excerpt { margin-top: 0.5rem; font-size: 0.875rem; color: #6b7280; line-height: 1.55; }
.blog-card__meta { margin-top: 0.75rem; font-size: 0.75rem; color: #9ca3af; }

.blog-featured {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) { .blog-featured { grid-template-columns: repeat(3, 1fr); } }

.blog-featured-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 220px;
  text-decoration: none;
  color: #fff;
}

.blog-featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-card__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-featured-card h2 { font-size: 1.125rem; font-weight: 600; margin-top: 0.35rem; }
.blog-featured-card p { font-size: 0.8125rem; opacity: 0.85; margin-top: 0.35rem; }

.blog-article { max-width: 720px; }
.blog-article__nav { display: flex; gap: 1rem; font-size: 0.875rem; margin-bottom: 1.5rem; }
.blog-article__nav a { color: var(--brand); text-decoration: none; }
.blog-article__header h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 600; line-height: 1.2; }
.blog-article__meta { margin-top: 0.75rem; color: #6b7280; font-size: 0.9375rem; }
.blog-article__cover { width: 100%; border-radius: 1rem; margin: 1.5rem 0; aspect-ratio: 16/9; object-fit: cover; }
.blog-article__content { font-size: 1.0625rem; line-height: 1.75; color: #374151; }
.blog-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.blog-related h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.blog-grid--compact { grid-template-columns: 1fr; }

.blog-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
}
.blog-status--draft { background: #e5e7eb; color: #374151; }
.blog-status--pending { background: #fef3c7; color: #92400e; }
.blog-status--approved { background: #d1fae5; color: #065f46; }
.blog-status--rejected { background: #fee2e2; color: #991b1b; }

/* Blog enriquecido */
.blog-header--rich { padding: 3rem 0 1rem; background: linear-gradient(180deg, #fafafa 0%, #fff 100%); }
.blog-filters-wrap { padding-bottom: 1rem; }
.blog-cities { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5e7eb; }
.blog-cities__label { font-size: 0.8125rem; color: #6b7280; margin-right: 0.25rem; }
.blog-city-chip { padding: 0.35rem 0.75rem; border-radius: 9999px; background: #f3f4f6; font-size: 0.75rem; font-weight: 500; color: #374151; text-decoration: none; }
.blog-city-chip.is-active, .blog-city-chip:hover { background: var(--brand); color: #fff; }
.blog-section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af; margin-bottom: 1rem; }
.blog-featured-section { margin-bottom: 2.5rem; }
.blog-list-section { padding-bottom: 4rem; }
.blog-card--rich { border: none; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.blog-card__footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #f3f4f6; }
.blog-featured-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, #374151, #111827); }

.blog-article--rich { max-width: none; }
.blog-article__hero { height: min(52vh, 420px); background-size: cover; background-position: center; }
.blog-article__wrap { max-width: 760px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.blog-article__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.blog-tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; background: var(--brand-soft); color: var(--brand); font-size: 0.75rem; font-weight: 600; text-decoration: none; }
.blog-tag--city { background: #eff6ff; color: #1d4ed8; }
.blog-article__meta-row { margin-top: 1.25rem; }
.blog-author-chip { display: flex; align-items: center; gap: 0.75rem; }
.blog-author-chip__avatar { width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: #111827; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.blog-author-chip__name { font-weight: 600; font-size: 0.9375rem; }
.blog-author-chip__date { font-size: 0.8125rem; color: #6b7280; }
.blog-article__excerpt { margin-top: 1.25rem; font-size: 1.125rem; color: #4b5563; line-height: 1.6; }
.blog-article__city-cta { margin: 2.5rem 0; padding: 1.5rem; border-radius: 1rem; background: linear-gradient(135deg, var(--brand-soft), #fff7ed); border: 1px solid var(--brand-muted); }
.blog-article__city-cta h3 { font-size: 1.125rem; font-weight: 600; }
.blog-article__city-cta p { margin-top: 0.35rem; font-size: 0.9375rem; color: #6b7280; }
.blog-article__city-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.blog-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.blog-comments h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.25rem; }
.blog-comment-form { margin-bottom: 2rem; }
.blog-comment-form__label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.blog-comment-login { margin-bottom: 1.5rem; font-size: 0.9375rem; color: #6b7280; }
.blog-comment-login a { color: var(--brand); font-weight: 500; }
.blog-comment-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.blog-comment { display: flex; gap: 0.75rem; }
.blog-comment__avatar { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 600; color: #374151; }
.blog-comment__head { font-size: 0.8125rem; color: #6b7280; margin-bottom: 0.35rem; }
.blog-comment__body { font-size: 0.9375rem; line-height: 1.55; color: #374151; }
.blog-comment-empty { color: #9ca3af; font-size: 0.9375rem; padding: 1rem 0; }

/* Editor blog anfitrión */
.blog-editor-page { padding: 2rem 0 4rem; background: #f9fafb; min-height: calc(100vh - 5rem); }
.blog-editor-layout { display: grid; gap: 2rem; }
@media (min-width: 992px) { .blog-editor-layout { grid-template-columns: 280px 1fr; align-items: start; } }
.blog-editor-back { font-size: 0.875rem; color: var(--brand); text-decoration: none; }
.blog-editor-title { font-size: 1.5rem; font-weight: 600; margin-top: 1rem; }
.blog-editor-intro { margin-top: 0.5rem; font-size: 0.875rem; color: #6b7280; line-height: 1.55; }
.blog-editor-tips, .blog-editor-cities { margin-top: 1.5rem; padding: 1rem; background: #fff; border-radius: 0.75rem; border: 1px solid #e5e7eb; }
.blog-editor-tips h2, .blog-editor-cities h2 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af; margin-bottom: 0.75rem; }
.blog-editor-tips ul { margin: 0; padding-left: 1.125rem; font-size: 0.8125rem; color: #4b5563; line-height: 1.6; }
.blog-editor-cities__hint { font-size: 0.75rem; color: #6b7280; margin-bottom: 0.5rem; }
.blog-editor-cities__list { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.blog-editor-cities__list a { font-size: 0.75rem; padding: 0.2rem 0.5rem; background: #f3f4f6; border-radius: 0.375rem; color: #374151; text-decoration: none; }
.blog-editor-cities__list a:hover { background: var(--brand); color: #fff; }
.blog-editor-reject { margin-top: 1rem; padding: 0.75rem; background: #fee2e2; border-radius: 0.5rem; font-size: 0.8125rem; color: #991b1b; }
.blog-editor-main { background: #fff; border-radius: 1rem; border: 1px solid #e5e7eb; padding: 1.5rem; }
.blog-editor-section { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #f3f4f6; }
.blog-editor-section h2 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.blog-editor-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .blog-editor-grid { grid-template-columns: 1fr 1fr; } }
.blog-field { display: block; margin-bottom: 1rem; }
.blog-field span { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.35rem; }
.blog-field small { display: block; margin-top: 0.35rem; font-size: 0.75rem; color: #9ca3af; }
.blog-input, .blog-select, .blog-textarea { display: block; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0.625rem 0.875rem; border: 1px solid #d1d5db; border-radius: 0.5rem; font-size: 0.9375rem; font-family: inherit; }
.blog-textarea--lg { min-height: 320px; resize: vertical; line-height: 1.6; }
.blog-file-input { font-size: 0.875rem; }
.blog-editor-preview { display: block; margin-top: 0.75rem; max-width: 280px; border-radius: 0.5rem; }
.blog-editor-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
.blog-form-error { display: block; margin-top: 0.25rem; font-size: 0.8125rem; color: #dc2626; font-style: normal; }

/* Destinos */
.dest-page { padding-bottom: 4rem; }
.dest-hero { background-size: cover; background-position: center; padding: 4rem 0; }
.dest-hero--list { background: linear-gradient(135deg, #1f2937 0%, #111827 100%); color: #fff; }
.dest-hero__inner { max-width: 720px; }
.dest-hero__inner--detail { max-width: 800px; }
.dest-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }
.dest-eyebrow--light { color: #fda4af; }
.dest-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; margin-top: 0.5rem; line-height: 1.15; }
.dest-title--light { color: #fff; }
.dest-lead { margin-top: 0.75rem; font-size: 1.0625rem; color: #6b7280; line-height: 1.6; max-width: 36rem; }
.dest-lead--light { color: rgba(255,255,255,0.88); }
.dest-best-time { margin-top: 1rem; display: inline-block; padding: 0.35rem 0.875rem; background: rgba(255,255,255,0.15); border-radius: 9999px; font-size: 0.8125rem; color: #fff; }
.dest-breadcrumb { font-size: 0.8125rem; margin-bottom: 1rem; }
.dest-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.dest-breadcrumb span { color: rgba(255,255,255,0.5); margin: 0 0.35rem; }
.dest-section { padding: 3rem 0 1rem; }
.dest-section__title { font-size: 1.75rem; font-weight: 600; }
.dest-section__sub { margin-top: 0.35rem; color: #6b7280; margin-bottom: 1.5rem; }
.dest-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .dest-grid { grid-template-columns: repeat(4, 1fr); } }
.dest-grid--compact { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .dest-grid--compact { grid-template-columns: repeat(3, 1fr); } }
.dest-card { display: block; border-radius: 1rem; overflow: hidden; background: #fff; border: 1px solid #e5e7eb; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
.dest-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.dest-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dest-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.dest-card:hover .dest-card__img { transform: scale(1.04); }
.dest-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.625rem; background: var(--brand); color: #fff; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; border-radius: 9999px; }
.dest-card__body { padding: 1rem 1.125rem 1.25rem; }
.dest-card__body h3 { font-size: 1.125rem; font-weight: 600; }
.dest-card__tagline { margin-top: 0.35rem; font-size: 0.8125rem; color: #6b7280; line-height: 1.45; }
.dest-card__meta { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--brand); }
.dest-detail-layout { display: grid; gap: 2rem; padding: 2.5rem 0; }
@media (min-width: 992px) { .dest-detail-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.dest-block { margin-bottom: 2.5rem; }
.dest-block h2 { font-size: 1.375rem; font-weight: 600; margin-bottom: 1rem; }
.dest-block__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.dest-block__head h2 { margin-bottom: 0; }
.dest-prose { font-size: 1.0625rem; line-height: 1.75; color: #374151; }
.dest-highlights { display: flex; flex-direction: column; gap: 1rem; }
.dest-highlight { display: flex; gap: 1rem; padding: 1.125rem; background: #f9fafb; border-radius: 0.75rem; border: 1px solid #f3f4f6; }
.dest-highlight__num { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 9999px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; }
.dest-highlight h3 { font-size: 1rem; font-weight: 600; }
.dest-highlight p { margin-top: 0.25rem; font-size: 0.875rem; color: #6b7280; line-height: 1.5; }
.dest-detail-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 5rem; }
.dest-sidebar-card { padding: 1.25rem; border-radius: 1rem; border: 1px solid #e5e7eb; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.dest-sidebar-card h3 { font-size: 1rem; font-weight: 600; }
.dest-sidebar-stat { margin: 0.5rem 0 1rem; font-size: 1.75rem; font-weight: 600; color: var(--brand); }
.dest-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.625rem 1.25rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.15s; }
.dest-btn--primary { background: var(--brand); color: #fff; width: 100%; margin-bottom: 0.5rem; }
.dest-btn--primary:hover { background: var(--brand-dark); color: #fff; }
.dest-btn--ghost { background: #fff; color: #374151; border-color: #d1d5db; width: 100%; }
.dest-btn--ghost:hover { background: #f9fafb; }
.dest-link { font-size: 0.875rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.dest-blog-mini { display: flex; flex-direction: column; gap: 0.75rem; }
.dest-blog-mini__item { display: flex; gap: 0.875rem; padding: 0.75rem; border-radius: 0.75rem; border: 1px solid #e5e7eb; text-decoration: none; color: inherit; transition: background 0.15s; }
.dest-blog-mini__item:hover { background: #f9fafb; }
.dest-blog-mini__item img { width: 72px; height: 72px; object-fit: cover; border-radius: 0.5rem; flex-shrink: 0; }
.dest-blog-mini__item h3 { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.dest-blog-mini__item p { margin-top: 0.25rem; font-size: 0.8125rem; color: #6b7280; }

/* Actividades */
.act-page { padding-bottom: 4rem; }
.act-hero { padding: 3rem 0 1rem; background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%); }
.act-filters { padding-bottom: 1.5rem; }
.act-featured { margin-bottom: 2rem; }
.act-list { padding-bottom: 2rem; }
.act-empty { grid-column: 1 / -1; text-align: center; color: #9ca3af; padding: 3rem 0; }
.act-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .act-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .act-grid { grid-template-columns: repeat(3, 1fr); } }
.act-grid--featured { margin-bottom: 1rem; }
.act-grid--compact { grid-template-columns: 1fr; }
@media (min-width: 640px) { .act-grid--compact { grid-template-columns: repeat(2, 1fr); } }
.act-card { border: 1px solid #e5e7eb; border-radius: 1rem; overflow: hidden; background: #fff; transition: box-shadow 0.2s; }
.act-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.act-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.act-card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.act-card__img--placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ecfdf5, #d1fae5); font-size: 2.5rem; }
.act-card__body { padding: 1rem 1.125rem 1.25rem; }
.act-card__meta { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #059669; }
.act-card__title { font-size: 1.0625rem; font-weight: 600; margin-top: 0.35rem; line-height: 1.35; }
.act-card__excerpt { margin-top: 0.5rem; font-size: 0.875rem; color: #6b7280; line-height: 1.5; }
.act-card__footer { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.75rem; font-size: 0.75rem; color: #9ca3af; }
.act-detail__hero { height: min(48vh, 380px); background-size: cover; background-position: center; }
.act-detail__wrap { max-width: 760px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.act-detail__header h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 600; line-height: 1.2; margin-top: 0.75rem; }
.act-detail__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 1rem; font-size: 0.875rem; color: #4b5563; }
.act-detail__schedule { margin-top: 1.25rem; padding: 1rem 1.15rem; background: #f9fafb; border-radius: 0.75rem; border: 1px solid #e5e7eb; }
.act-detail__schedule-title { font-size: 0.9375rem; font-weight: 600; margin: 0 0 0.5rem; }
.act-detail__schedule-list { margin: 0; padding-left: 1.1rem; font-size: 0.875rem; color: #374151; }
.act-detail__schedule-list li + li { margin-top: 0.35rem; }
.act-schedule-kind-options { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.act-schedule-kind-option { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9375rem; cursor: pointer; }
.act-schedule-kind-option input { margin-top: 0.2rem; }
.act-schedule-panel { margin-top: 1rem; padding: 1rem; background: #f9fafb; border-radius: 0.75rem; border: 1px solid #e5e7eb; }
.act-weekly-slot, .act-date-item { padding: 0.75rem 0; border-bottom: 1px solid #e5e7eb; }
.act-weekly-slot:last-child, .act-date-item:last-child { border-bottom: none; }
.act-weekly-days { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.65rem; }
.act-day-chip { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.45rem; border-radius: 999px; background: #fff; border: 1px solid #d1d5db; font-size: 0.8125rem; cursor: pointer; }
.act-day-chip:has(input:checked) { background: #ecfdf5; border-color: #6ee7b7; }
.act-weekly-times, .act-date-item { display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; align-items: center; }
.act-weekly-times label, .act-date-item label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.8125rem; }
.act-opening-grid { display: flex; flex-direction: column; gap: 0.5rem; }
.act-opening-row { display: grid; grid-template-columns: 5.5rem 5rem 1fr; gap: 0.5rem 0.75rem; align-items: center; font-size: 0.8125rem; }
.act-opening-day { font-weight: 600; }
.act-opening-ranges { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; align-items: center; }
.act-opening-ranges label { display: inline-flex; align-items: center; gap: 0.35rem; }
.act-opening-ranges[hidden] { display: none !important; }
.hw-btn-sm { font-size: 0.8125rem; padding: 0.35rem 0.75rem; margin-top: 0.5rem; }
.act-detail__tips { margin: 2rem 0; padding: 1.25rem; background: #f0fdf4; border-radius: 0.75rem; border: 1px solid #bbf7d0; }
.act-detail__tips h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.act-detail__section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.act-detail__section h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.35rem; }
.act-detail__sub { font-size: 0.875rem; color: #6b7280; margin-bottom: 1rem; }
.act-disclaimer { margin: 2rem 0; font-size: 0.8125rem; color: #9ca3af; font-style: italic; }
.act-location-intro { font-size: 0.875rem; color: #6b7280; margin-bottom: 1rem; line-height: 1.5; }
.act-location-map { margin-top: 0.25rem; }

/* Tags */
.tag-picker__hint { font-size: 0.8125rem; color: #6b7280; margin-bottom: 1rem; }
.tag-picker__group { margin-bottom: 1.25rem; }
.tag-picker__group-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af; margin-bottom: 0.5rem; }
.tag-picker__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-picker__chip { display: inline-flex; align-items: center; cursor: pointer; }
.tag-picker__chip input { position: absolute; opacity: 0; pointer-events: none; }
.tag-picker__chip span { padding: 0.35rem 0.75rem; border-radius: 9999px; border: 1px solid #e5e7eb; font-size: 0.8125rem; font-weight: 500; transition: all 0.15s; }
.tag-picker__chip input:checked + span { background: var(--tag-color, var(--brand)); border-color: var(--tag-color, var(--brand)); color: #fff; }
.tag-picker__empty { font-size: 0.875rem; color: #9ca3af; }
.related-props-picker__list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 220px; overflow-y: auto; }
.related-props-picker__item { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.625rem 0.75rem; border: 1px solid #e5e7eb; border-radius: 0.5rem; cursor: pointer; font-size: 0.875rem; }
.related-props-picker__item:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.related-props-picker__item small { display: block; color: #6b7280; font-size: 0.75rem; }
.gallery-upload__zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; padding: 2rem 1rem; border: 2px dashed #d1d5db; border-radius: 0.75rem; cursor: pointer; text-align: center; transition: border-color 0.15s, background 0.15s; }
.gallery-upload__zone.is-dragover { border-color: var(--brand); background: var(--brand-soft); }
.gallery-upload__input { display: none; }
.gallery-upload__icon { font-size: 2rem; }
.gallery-upload__text { font-size: 0.9375rem; font-weight: 500; }
.gallery-upload__sub { font-size: 0.75rem; color: #9ca3af; }
.gallery-upload__count { margin: 0.75rem 0 0.5rem; font-size: 0.8125rem; color: #6b7280; }
.gallery-upload__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 0.75rem; }
.gallery-upload__item { position: relative; border-radius: 0.5rem; overflow: hidden; aspect-ratio: 1; border: 1px solid #e5e7eb; }
.gallery-upload__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-upload__badge { position: absolute; top: 4px; left: 4px; background: #059669; color: #fff; font-size: 0.625rem; padding: 2px 6px; border-radius: 9999px; }
.gallery-upload__remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: none; border-radius: 9999px; background: rgba(0,0,0,0.6); color: #fff; cursor: pointer; }
.gallery-upload__delete { display: block; padding: 0.25rem; font-size: 0.625rem; background: rgba(255,255,255,0.9); text-align: center; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags-cloud__chip { display: inline-block; padding: 0.4rem 0.875rem; border-radius: 9999px; background: color-mix(in srgb, var(--tag-color, var(--brand)) 12%, white); color: var(--tag-color, var(--brand)); font-size: 0.8125rem; font-weight: 600; text-decoration: none; border: 1px solid color-mix(in srgb, var(--tag-color, var(--brand)) 25%, white); }
.tags-cloud__chip--lg { font-size: 1rem; padding: 0.5rem 1.125rem; }
.tags-page__group { margin-top: 2rem; }
.tags-page__group h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.tags-detail__section { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; }
.tags-detail__section h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.content-gallery { margin: 2rem 0; }
.content-gallery h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.content-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.content-gallery__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.5rem; }
.content-gallery__item figcaption { margin-top: 0.35rem; font-size: 0.75rem; color: #6b7280; }
.content-gallery__item { position: relative; }
.content-gallery__item--hidden img { opacity: 0.55; outline: 2px dashed #d1d5db; outline-offset: 2px; }
.content-gallery__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
}

/* Edición guía de ciudad */
.city-highlights-editor { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.75rem; }
.city-highlight-row { position: relative; display: grid; gap: 0.75rem; padding: 1rem 2.5rem 1rem 1rem; border: 1px solid #e5e7eb; border-radius: 0.75rem; background: #fafafa; }
@media (min-width: 640px) { .city-highlight-row { grid-template-columns: 1fr 1.5fr; align-items: start; } }
.city-highlight-row__remove { position: absolute; top: 0.75rem; right: 0.75rem; width: 28px; height: 28px; border: 1px solid #e5e7eb; border-radius: 9999px; background: #fff; color: #6b7280; cursor: pointer; font-size: 1.125rem; line-height: 1; }
.city-highlight-row__remove:hover { border-color: var(--brand); color: var(--brand); }
.city-highlight-add { margin-top: 0.75rem; }
.city-picker-heading { margin: 1.5rem 0 0.75rem; font-size: 1rem; font-weight: 600; }
.city-content-picker { margin-bottom: 0.5rem; }
.panel-city-form .hashtag-field__hint { margin-bottom: 0.75rem; }

.moderation-notice { margin: 1rem 0; padding: 0.875rem 1rem; border-radius: 0.75rem; background: #fffbeb; border: 1px solid #fde68a; font-size: 0.8125rem; color: #92400e; line-height: 1.5; }
.moderation-notice strong { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; }
.moderation-notice--info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.panel-btn--primary { background: var(--brand-soft); border-color: var(--brand-muted); color: var(--brand); }
.panel-btn--primary:hover { background: #fee2e2; border-color: var(--brand); }

.panel-btn--ghost {
  background: #fff;
  border-color: #e5e7eb;
  color: #374151;
}

.panel-btn--ghost:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.panel-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 0.875rem;
}

.panel-alert__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.panel-alert__links a {
  color: #b45309;
  font-weight: 600;
  text-decoration: none;
}

.panel-alert__links a:hover { text-decoration: underline; }

.panel-stats--secondary { margin-top: -1rem; }

.panel-stat--accent {
  border-color: var(--brand-muted);
  background: var(--brand-soft);
}

.panel-grid-2--wide {
  margin-bottom: 1.25rem;
}

@media (min-width: 1100px) {
  .panel-grid-2--wide { grid-template-columns: 1.4fr 1fr; }
}

.panel-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-card__head h2 {
  margin: 0;
}

.panel-quick-grid--dash {
  margin-bottom: 0;
}

.panel-quick-card--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.panel-quick-card--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.panel-table--compact td,
.panel-table--compact th {
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
}

.panel-table__meta {
  display: block;
  font-size: 0.6875rem;
  color: #9ca3af;
  font-weight: 400;
}

.panel-badge--paid { background: #d1fae5; color: #065f46; }
.panel-badge--cancelled { background: #fee2e2; color: #991b1b; }
.panel-badge--completed { background: #dbeafe; color: #1e40af; }

.panel-page-sub:first-child {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Formularios del panel (guías, blog, etc.) */
.panel-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.panel-page-note {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
}

.panel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.panel-chip:hover {
  border-color: var(--brand-muted);
  color: var(--brand-dark);
}

.panel-chip--external svg { color: #9ca3af; }

.panel-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: none;
}

.panel-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.panel-form-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.panel-form-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.panel-form-card__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.panel-form-card__head p {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

.panel-form-card__body {
  padding: 1.25rem;
}

.panel-form-card__body--stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.panel-form-card__body .blog-field:last-child { margin-bottom: 0; }

.panel-form-card .blog-input,
.panel-form-card .blog-select,
.panel-form-card .blog-textarea {
  border-color: #e2e8f0;
  background: #fafbfc;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.panel-form-card .blog-input:focus,
.panel-form-card .blog-select:focus,
.panel-form-card .blog-textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px var(--brand-ring);
}

.panel-picker-block h3 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.panel-picker-hint,
.panel-picker-empty {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

.panel-picker-empty {
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.panel-check-card {
  display: flex !important;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0 !important;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fafbfc;
  cursor: pointer;
}

.panel-check-card input { width: 1rem; height: 1rem; accent-color: var(--brand); }

.panel-check-card span {
  display: inline !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

/* Sale editor — vídeos y planos */
.sale-editor-video-defaults {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0;
}
@media (max-width: 640px) { .sale-editor-video-defaults { grid-template-columns: 1fr; } }
.sale-editor-360-hint {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--investment-soft);
  border: 1px solid var(--investment-border);
  font-size: 0.8125rem;
}
.sale-editor-video-list .sale-editor-video-item {
  display: grid;
  grid-template-columns: minmax(120px, 240px) 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 0.65rem;
  background: #fafafa;
}
@media (max-width: 768px) {
  .sale-editor-video-list .sale-editor-video-item { grid-template-columns: minmax(120px, 240px) 1fr; }
}
.sale-editor-video-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.sale-editor-video-list .hw-video-preview {
  width: 100%;
  max-width: 240px;
  max-height: 135px;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}
.sale-editor-video-thumb.is-vertical .hw-video-preview,
.sale-editor-video-list .hw-video-preview--vertical {
  width: 120px;
  min-width: 120px;
  max-width: 132px;
  max-height: 234px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  margin: 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.sale-editor-video-thumb:not(.is-vertical) .hw-video-preview {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sale-editor-video-list .hw-video-item--pending .hw-video-preview {
  max-width: 240px;
  max-height: 135px;
}
.sale-editor-video-list .hw-video-item--pending.is-vertical .hw-video-preview,
.sale-editor-video-list .hw-video-item--pending .hw-video-preview--vertical {
  width: 120px;
  max-width: 132px;
  max-height: 234px;
}
.sale-editor-video-list .sale-editor-video-item {
  position: relative;
}
.sale-editor-video-list .sale-editor-video-item.is-removed {
  display: none;
}
.sale-editor-video-list .hw-video-item--pending {
  position: relative;
}
.sale-editor-video-thumb {
  position: relative;
  width: fit-content;
  max-width: 240px;
}
.sale-video-background-banner {
  margin: 0 0 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.8125rem;
}
.sale-video-processing-badge {
  margin: 0.35rem 0 0;
  color: #2563eb;
  font-weight: 600;
}
.sale-video-processing-badge--error {
  color: #b45309;
}
.sale-video-processing-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 0.35rem;
}
.sale-video-processing-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sale-video-spin 0.8s linear infinite;
}
@keyframes sale-video-spin {
  to { transform: rotate(360deg); }
}
.hw-video-preview--vertical { max-height: 234px; width: auto; margin: 0 auto; display: block; }
.sale-floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.sale-floorplan-item {
  padding: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.sale-floorplan-item__thumb {
  display: block;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}
.sale-floorplan-item__thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  display: block;
}
.sale-floorplan-upload { margin-top: 0.25rem; }

/* Editor de propiedades en venta */
.sale-editor-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 1.25rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(216, 179, 106, 0.25), transparent 23%),
    linear-gradient(135deg, #163d59 0%, #071d2f 68%, #061723 100%);
  box-shadow: 0 16px 40px rgba(7, 29, 47, 0.16);
}

.sale-editor-hero::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: 17rem;
  height: 17rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 2.7rem rgba(255,255,255,.025), 0 0 0 5.4rem rgba(255,255,255,.018);
  pointer-events: none;
}

.sale-editor-hero > * { position: relative; z-index: 1; }
.sale-editor-hero__eyebrow { margin: 0 0 .45rem; color: #e7c77f; font-size: .67rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.sale-editor-hero h2 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.sale-editor-hero > div:first-child > p:last-child { max-width: 44rem; margin: .6rem 0 0; color: rgba(255,255,255,.65); font-size: .82rem; line-height: 1.5; }
.sale-editor-hero__tools { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.sale-editor-hero__tools .panel-btn { border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(5px); }
.sale-editor-hero__tools .panel-btn:hover { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.14); }
.sale-editor-status { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .75rem; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: rgba(255,255,255,.76); background: rgba(3,17,28,.2); font-size: .67rem; font-weight: 650; white-space: nowrap; }
.sale-editor-status i { width: .45rem; height: .45rem; border-radius: 50%; background: #e7c77f; box-shadow: 0 0 0 3px rgba(231,199,127,.14); }
.sale-editor-status--live i { background: #5ed38a; box-shadow: 0 0 0 3px rgba(94,211,138,.14); }

.sale-editor-breadcrumb { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: 0 .2rem; color: #94a3b8; font-size: .75rem; }
.sale-editor-breadcrumb a { color: #46647a; font-weight: 650; }
.sale-editor-breadcrumb a:hover { color: #163d59; }
.sale-editor-breadcrumb strong { color: #64748b; font-weight: 650; }

.sale-editor { --sale-editor-blue: #163d59; --sale-editor-navy: #071d2f; --sale-editor-gold: #d8b36a; gap: 1.1rem; }
.sale-editor__layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(19rem, .85fr); gap: 1.1rem; align-items: start; }
.sale-editor__main, .sale-editor__aside { min-width: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.sale-editor-card { border-color: #dfe7ec; border-radius: 1.1rem; box-shadow: 0 5px 18px rgba(7,29,47,.045); }
.sale-editor-card .panel-form-card__head { gap: .8rem; padding: 1.1rem 1.25rem; background: linear-gradient(180deg, #fbfcfd, #f7fafb); flex-wrap: wrap; align-items: center; }
.sale-editor-card .panel-form-card__head > div:nth-child(2) { flex: 1 1 12rem; min-width: 0; }
.sale-editor-save-section { margin-left: auto; flex-shrink: 0; white-space: nowrap; }
.sale-editor-save-section[disabled],
.sale-editor__actions .panel-btn[disabled] { opacity: .72; cursor: wait; }
.sale-editor-media-save-hint { margin-top: .85rem; }
.sale-editor-save-status { display: block; margin-top: .35rem; font-size: .68rem; font-weight: 650; }
.sale-editor-save-status[data-state="idle"] { color: #64748b; }
.sale-editor-save-status[data-state="pending"] { color: #b45309; }
.sale-editor-save-status[data-state="saving"] { color: #163d59; }
.sale-editor-save-status[data-state="saved"] { color: #047857; }
.sale-editor-save-status[data-state="error"] { color: #b42318; }
.sale-editor-card .panel-form-card__num { color: var(--sale-editor-blue); background: #e8f1f5; }
.sale-editor-card .panel-form-card__head h2 { color: var(--sale-editor-navy); }
.sale-editor-card .panel-form-card__head p { max-width: 40rem; }
.sale-editor-card .panel-form-card__body { padding: 1.25rem; }
.sale-editor-card .blog-field > span:first-child { color: #334155; }
.sale-editor-card .blog-input,
.sale-editor-card .blog-select,
.sale-editor-card .blog-textarea { border-color: #dce5ea; border-radius: .65rem; background: #f9fbfc; }
.sale-editor-card .blog-input:focus,
.sale-editor-card .blog-select:focus,
.sale-editor-card .blog-textarea:focus { border-color: var(--sale-editor-blue); box-shadow: 0 0 0 3px rgba(22,61,89,.09); }
.sale-editor-field--hero .blog-input { min-height: 3.1rem; font-size: 1rem; font-weight: 650; }
.sale-editor-grid--identity { grid-template-columns: minmax(0, 1.5fr) minmax(12rem, .5fr); }
.sale-editor-error { display: block; margin-top: .35rem; color: #b42318 !important; font-weight: 600; }

.panel-sale-form .hw-map { height: 360px; margin-top: .65rem; border: 1px solid #dce5ea; border-radius: .85rem; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.sale-editor-map-head { display: flex; align-items: center; gap: .55rem; margin-top: .8rem; padding: .6rem .75rem; border-radius: .65rem; color: #526473; background: #edf4f7; }
.sale-editor-map-head__icon { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; flex: 0 0 auto; border-radius: .5rem; color: var(--sale-editor-blue); background: #fff; font-size: 1rem; }
.sale-editor-map-head p { margin: 0; font-size: .72rem; line-height: 1.4; }

.sale-editor-card--gallery .hw-upload-zone { border: 1.5px dashed #b8cad4; border-radius: .85rem; background: linear-gradient(145deg, #f6fafb, #edf4f7); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.sale-editor-card--gallery .hw-upload-zone:hover { border-color: var(--sale-editor-blue); background: #f2f8fa; transform: translateY(-1px); }
.sale-editor-upload-icon { width: 3rem; height: 3rem; display: grid; place-items: center; margin: 0 auto .65rem; border-radius: .9rem; color: var(--sale-editor-blue); background: #fff; box-shadow: 0 8px 22px rgba(7,29,47,.09); }
.sale-editor-upload-icon svg { width: 1.4rem; height: 1.4rem; }
.sale-editor-card--gallery .hw-upload-title { color: var(--sale-editor-navy); font-weight: 700; }
.sale-editor-card--gallery .hw-upload-link { color: var(--sale-editor-blue); font-weight: 750; }

.sale-editor-price-grid { display: grid; grid-template-columns: minmax(0, 1fr) 6.25rem; gap: .65rem; }
.sale-editor-price .blog-input { color: var(--sale-editor-navy); font-size: 1rem; font-weight: 750; }
.sale-editor-facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.sale-editor-card--facts .blog-field { margin-bottom: 0; }
.sale-editor-card--facts .panel-form-card__body--stack { gap: 1rem; }
.sale-editor-card--facts .blog-textarea { min-height: 7rem; }

.sale-editor .sale-editor-check { align-items: flex-start; padding: .9rem; border-color: #dfe7ec; background: #f8fafb; }
.sale-editor .sale-editor-check:hover { border-color: #b7cad5; background: #f3f8fa; }
.sale-editor .sale-editor-check > input { margin-top: .2rem; accent-color: var(--sale-editor-blue); }
.sale-editor .sale-editor-check > span { display: block !important; min-width: 0; }
.sale-editor .sale-editor-check > span strong { display: block; color: var(--sale-editor-navy); font-size: .78rem; font-weight: 700; }
.sale-editor .sale-editor-check > span small { display: block; margin-top: .2rem; color: #64748b; font-size: .68rem; font-weight: 450; line-height: 1.4; }

.sale-editor__actions { position: sticky; z-index: 20; bottom: .75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid #dce5ea; border-radius: 1rem; background: rgba(255,255,255,.94); box-shadow: 0 16px 45px rgba(7,29,47,.15); backdrop-filter: blur(10px); }
.sale-editor__actions > div:first-child strong, .sale-editor__actions > div:first-child small { display: block; }
.sale-editor__actions > div:first-child strong { color: var(--sale-editor-navy); font-size: .78rem; }
.sale-editor__actions > div:first-child small { margin-top: .15rem; color: #64748b; font-size: .66rem; }
.sale-editor__actions > div:last-child { display: flex; align-items: center; gap: .6rem; }
.sale-editor__actions .panel-btn--brand { border-color: var(--sale-editor-blue); background: var(--sale-editor-blue); box-shadow: 0 8px 20px rgba(22,61,89,.18); }
.sale-editor__actions .panel-btn--brand:hover { border-color: var(--sale-editor-navy); background: var(--sale-editor-navy); }

@media (max-width: 1050px) {
  .sale-editor__layout { grid-template-columns: 1fr; }
  .sale-editor__aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 720px) {
  .sale-editor-hero { align-items: flex-start; flex-direction: column; padding: 1.25rem; }
  .sale-editor-hero__tools { width: 100%; flex-wrap: wrap; }
  .sale-editor__aside { display: flex; }
  .sale-editor-grid--identity, .sale-editor-price-grid, .sale-editor-facts-grid { grid-template-columns: 1fr; }
  .sale-editor-card .panel-form-card__head, .sale-editor-card .panel-form-card__body { padding: 1rem; }
  .panel-sale-form .hw-map { height: 285px; }
  .sale-editor__actions { position: sticky; bottom: 0; align-items: stretch; flex-direction: column; z-index: 25; }
  .sale-editor__actions > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .sale-editor__actions .panel-btn { justify-content: center; }
}

.panel-commission-layout {
  align-items: start;
}

.panel-commission-layout > .panel-card {
  min-width: 0;
}

.panel-commission-card {
  max-width: none;
}

.panel-commission-form {
  margin: 0;
}

.panel-commission-preview {
  align-self: start;
  height: fit-content;
}

.panel-card__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.panel-commission-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.panel-commission-reset {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: 1.25rem;
  padding: 1rem 1.125rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.panel-commission-reset:hover {
  border-color: var(--brand-muted);
  box-shadow: 0 2px 10px rgba(62, 163, 93, 0.08);
}

.panel-commission-reset:has(input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.panel-commission-reset:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

.panel-commission-reset input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.panel-commission-reset__mark {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.375rem;
  background: #fff;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.panel-commission-reset__mark::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.05rem;
  width: 0.35rem;
  height: 0.65rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}

.panel-commission-reset:has(input:checked) .panel-commission-reset__mark {
  border-color: var(--brand);
  background: var(--brand);
}

.panel-commission-reset:has(input:checked) .panel-commission-reset__mark::after {
  transform: rotate(45deg) scale(1);
}

.panel-commission-reset__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.panel-commission-reset__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.panel-commission-reset__hint {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

.panel-commission-reset:has(input:checked) .panel-commission-reset__title {
  color: var(--brand-darker);
}

.panel-form .panel-commission-reset {
  display: flex;
  margin-bottom: 0;
  font-weight: inherit;
  font-size: inherit;
}

.panel-field--check {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.panel-field__hint--effective {
  color: var(--brand-dark);
  font-weight: 600;
}

.panel-commission-preview__list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.panel-commission-preview__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.panel-commission-preview__list dt {
  margin: 0;
  color: #6b7280;
}

.panel-commission-preview__list dd {
  margin: 0;
  font-weight: 600;
  color: #111827;
}

.blog-editor-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .blog-editor-grid--3 { grid-template-columns: 120px 1fr 1fr; }
}

.panel-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.panel-form .panel-btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.panel-form .panel-btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.panel-btn--lg {
  padding: 0.7rem 1.35rem;
  font-size: 0.9375rem;
}

.panel-city-form .city-highlight-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.panel-city-form .related-props-picker__list {
  max-height: 260px;
  padding: 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fafbfc;
}

.panel-city-form .related-props-picker__item {
  border-color: transparent;
  background: #fff;
}

.panel-city-form .related-props-picker__item:hover {
  border-color: #e2e8f0;
}

/* Botón verde marca */
.panel-btn--brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.panel-btn--brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.panel-topbar__logout:hover,
.panel-logout-form button:hover {
  border-color: var(--brand-muted);
  color: var(--brand-dark);
}

/* Wizard guía de ciudad */
.panel-city-header {
  margin-bottom: 1.25rem;
}

.panel-page-note {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
}

.panel-city-wizard {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.panel-wizard-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--brand-soft);
  border-bottom: 1px solid var(--brand-muted);
}

.panel-wizard-progress__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.panel-wizard-progress__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.6875rem;
  font-weight: 700;
}

.panel-wizard-progress__item.is-active {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--brand-muted);
  box-shadow: 0 1px 2px rgba(62, 163, 93, 0.12);
}

.panel-wizard-progress__item.is-active span {
  background: var(--brand);
  color: #fff;
}

.panel-wizard-progress__item.is-done {
  color: var(--brand-dark);
}

.panel-wizard-progress__item.is-done span {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.panel-wizard-body {
  padding: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
  .panel-wizard-body { padding: 1.75rem 2rem; }
}

.panel-wizard-step__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.panel-wizard-step__head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.panel-wizard-step__head p {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.45;
}

.panel-wizard-step .blog-input,
.panel-wizard-step .blog-select,
.panel-wizard-step .blog-textarea {
  border-color: #e5e7eb;
  background: #fafbfc;
}

.panel-wizard-step .blog-input:focus,
.panel-wizard-step .blog-select:focus,
.panel-wizard-step .blog-textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px var(--brand-ring);
}

.panel-wizard-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.panel-wizard-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

.panel-check-card {
  display: flex !important;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0 !important;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: var(--brand-soft);
  cursor: pointer;
}

.panel-check-card input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand);
}

.panel-check-card span {
  display: inline !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

/* Sale editor — vídeos y planos */
.sale-editor-video-defaults {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0;
}
@media (max-width: 640px) { .sale-editor-video-defaults { grid-template-columns: 1fr; } }
.sale-editor-360-hint {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--investment-soft);
  border: 1px solid var(--investment-border);
  font-size: 0.8125rem;
}
.sale-editor-video-list .sale-editor-video-item {
  display: grid;
  grid-template-columns: minmax(120px, 240px) 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 0.65rem;
  background: #fafafa;
}
@media (max-width: 768px) {
  .sale-editor-video-list .sale-editor-video-item { grid-template-columns: minmax(120px, 240px) 1fr; }
}
.sale-editor-video-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.sale-editor-video-list .hw-video-preview {
  width: 100%;
  max-width: 240px;
  max-height: 135px;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}
.sale-editor-video-thumb.is-vertical .hw-video-preview,
.sale-editor-video-list .hw-video-preview--vertical {
  width: 120px;
  min-width: 120px;
  max-width: 132px;
  max-height: 234px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  margin: 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.sale-editor-video-thumb:not(.is-vertical) .hw-video-preview {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sale-editor-video-list .hw-video-item--pending .hw-video-preview {
  max-width: 240px;
  max-height: 135px;
}
.sale-editor-video-list .hw-video-item--pending.is-vertical .hw-video-preview,
.sale-editor-video-list .hw-video-item--pending .hw-video-preview--vertical {
  width: 120px;
  max-width: 132px;
  max-height: 234px;
}
.sale-editor-video-list .sale-editor-video-item {
  position: relative;
}
.sale-editor-video-list .sale-editor-video-item.is-removed {
  display: none;
}
.sale-editor-video-list .hw-video-item--pending {
  position: relative;
}
.sale-editor-video-thumb {
  position: relative;
  width: fit-content;
  max-width: 240px;
}
.sale-video-background-banner {
  margin: 0 0 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.8125rem;
}
.sale-video-processing-badge {
  margin: 0.35rem 0 0;
  color: #2563eb;
  font-weight: 600;
}
.sale-video-processing-badge--error {
  color: #b45309;
}
.sale-video-processing-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 0.35rem;
}
.sale-video-processing-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sale-video-spin 0.8s linear infinite;
}
@keyframes sale-video-spin {
  to { transform: rotate(360deg); }
}
.hw-video-preview--vertical { max-height: 234px; width: auto; margin: 0 auto; display: block; }
.sale-floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.sale-floorplan-item {
  padding: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.sale-floorplan-item__thumb {
  display: block;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}
.sale-floorplan-item__thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  display: block;
}
.sale-floorplan-upload { margin-top: 0.25rem; }
