/**
 * Rep Rent — tema del panel (tokens en rentapp-tokens.css).
 * Versión Rediseñada Premium & Mobile Friendly.
 */

/* ── Global Styles & Typography ── */
body {
  font-family: var(--rp-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rentapp-app {
  font-size: 0.9375rem;
  line-height: 1.55;
  background-color: var(--rp-black) !important;
  color: var(--rp-white);
  background-image: 
    radial-gradient(at 0% 0%, rgba(201, 168, 76, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(201, 168, 76, 0.02) 0px, transparent 50%);
  background-attachment: fixed;
}

.rp-brand-name {
  font-family: var(--rp-font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Page titles custom gradient */
.rentapp-title-gradient {
  background: linear-gradient(135deg, var(--rp-white) 30%, var(--rp-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Shell (cabecera / lateral) ── */
.rp-app-body {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

.rp-app-column {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.rp-header-bar {
  flex-shrink: 0;
  border-bottom: 1px solid var(--rp-line);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 3.5rem;
  padding: 0 1rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .rp-header-bar {
    display: none;
  }
}

.rp-header-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.rp-header-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rp-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-header-title:empty {
  display: none;
}

@media (min-width: 768px) {
  .rp-header-title {
    font-size: 1.125rem;
  }
}

.rp-sidebar-shell {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(8, 8, 8, 0.96) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--rp-line);
  box-shadow: inset -1px 0 0 rgba(201, 168, 76, 0.06);
}

.rp-sidebar {
  display: flex;
  flex-direction: column;
  width: 17.5rem;
  flex-shrink: 0;
  z-index: 30;
}

@media (min-width: 768px) {
  .rp-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .rp-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 45;
    height: 100vh;
    height: 100dvh;
    transform: translateX(-100%);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.65);
    border-radius: 0 1rem 1rem 0;
  }

  .rp-sidebar.is-open {
    transform: translateX(0);
  }
}

.rp-sidebar-mobile-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem 0;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .rp-sidebar-mobile-head,
  .rp-sidebar-overlay {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .rp-sidebar-toggle {
    display: none !important;
  }
}

.rp-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 767px) {
  .rp-app-root.rp-sidebar-open .rp-sidebar-overlay {
    display: block;
  }
}

.rp-sidebar-close-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

html.rp-sidebar-scroll-lock {
  overflow: hidden;
}

/* Marca en sidebar */
.rp-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--rp-line);
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

@media (max-width: 767px) {
  .rp-sidebar-brand {
    padding-top: 0.35rem;
  }
}

.rp-sidebar-brand:hover {
  background: rgba(255, 255, 255, 0.02);
}

.rp-sidebar-brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(201, 168, 76, 0.28);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.15);
  flex-shrink: 0;
}

.rp-sidebar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.rp-sidebar-brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rp-white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.rp-sidebar-brand-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.45);
}

.rp-sidebar-context {
  padding: 0.85rem;
  margin: 0.85rem 0.85rem 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.14);
  background:
    linear-gradient(135deg, rgba(24, 24, 24, 0.55) 0%, rgba(17, 17, 17, 0.4) 100%);
  flex-shrink: 0;
}

.rp-sidebar-context-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.rp-sidebar-context-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.55rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(201, 168, 76, 0.08);
  color: var(--rp-gold-light);
}

.rp-sidebar-context-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.rp-sidebar-context-badge--central ~ .rp-sidebar-context-value {
  color: var(--rp-gold-light);
}

.rp-sidebar-context-row:has(.rp-sidebar-context-badge--central) .rp-sidebar-context-icon {
  color: var(--rp-gold-light);
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.1);
}

.rp-sidebar-context-body {
  min-width: 0;
  flex: 1;
}

.rp-sidebar-context-badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rp-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.1);
}

.rp-sidebar-context-badge--central {
  color: var(--rp-gold-light);
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
}

.rp-sidebar-context-value {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rp-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-sidebar-context-hint {
  margin: 0.3rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: hsla(60, 10%, 70%, 0.5);
}

.rp-sidebar-nav {
  flex: 1;
  min-height: 0;
  padding: 0.65rem 0.75rem 0.75rem;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.25) transparent;
}

.rp-sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.rp-sidebar-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.22);
}

.rp-sidebar-group + .rp-sidebar-group {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.rp-sidebar-section {
  margin: 0 0 0.45rem;
  padding: 0 0.55rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.38);
}

.rp-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rp-sidebar-list li {
  margin: 0;
  padding: 0;
}

.rp-nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rp-nav-icon-wrap .rp-nav-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.rp-nav-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.rp-nav-label {
  flex: 1;
  min-width: 0;
  letter-spacing: -0.01em;
}

.rp-nav-side.is-active .rp-nav-icon,
.rp-nav-side:hover .rp-nav-icon {
  opacity: 1;
}

.rp-nav-side:hover .rp-nav-icon-wrap {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.18);
}

.rp-nav-side.is-active .rp-nav-icon-wrap {
  background: rgba(201, 168, 76, 0.14);
  border-color: rgba(201, 168, 76, 0.32);
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.12);
}

/* Pie del sidebar */
.rp-sidebar-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.85rem;
  border-top: 1px solid var(--rp-line);
  background: rgba(8, 8, 8, 0.5);
}

.rp-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.6rem;
  margin-bottom: 0.55rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(17, 17, 17, 0.45);
}

.rp-sidebar-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rp-off-black);
  background: linear-gradient(145deg, var(--rp-gold-light), var(--rp-gold));
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
}

.rp-sidebar-user-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.rp-sidebar-user-email {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rp-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-sidebar-user-role {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: hsla(60, 10%, 70%, 0.45);
}

.rp-sidebar-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rp-sidebar-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsla(60, 10%, 70%, 0.55);
  text-decoration: none;
  border-radius: 0.45rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.rp-sidebar-footer-link svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.rp-sidebar-footer-link:hover {
  color: var(--rp-gold-light);
  background: rgba(201, 168, 76, 0.06);
}

.rp-sidebar-footer-link:hover svg {
  opacity: 1;
}

.rp-sidebar-footer-logout {
  margin: 0;
}

.rp-sidebar-footer-logout button {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.rp-sidebar-footer-link--danger {
  color: hsla(351, 89%, 82%, 0.72);
}

.rp-sidebar-footer-link--danger:hover {
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.1);
}

.rp-main {
  flex: 1;
  min-width: 0;
  padding: 1rem;
}

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

.rp-main-inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

/* Navigation items (sidebar) */
.rp-nav-side {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  color: hsla(60, 14%, 96%, 0.62);
  border: 1px solid transparent;
  border-radius: 0.55rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.rp-nav-side:hover {
  color: var(--rp-white);
  background: rgba(24, 24, 24, 0.55);
  border-color: rgba(255, 255, 255, 0.04);
}

.rp-nav-side.is-active {
  color: var(--rp-gold-light);
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.14) 0%, rgba(201, 168, 76, 0.05) 100%);
  border-color: rgba(201, 168, 76, 0.22);
  box-shadow: inset 3px 0 0 var(--rp-gold);
}

.rp-nav-admin {
  color: rgba(232, 201, 106, 0.78) !important;
}

.rp-nav-admin:hover {
  color: var(--rp-gold-light) !important;
  border-color: rgba(201, 168, 76, 0.25) !important;
  background: rgba(201, 168, 76, 0.07) !important;
}

.rp-nav-admin.is-active {
  color: var(--rp-gold-light) !important;
}

.rp-user-badge {
  border: 1px solid var(--rp-line);
  background: rgba(24, 24, 24, 0.4);
  border-radius: 0.5rem;
}

.rp-user-dot {
  background: var(--rp-gold);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.6);
}

.rp-btn-leave {
  border: 1px solid var(--rp-line);
  background: rgba(244, 63, 94, 0.05);
  color: #fda4af;
  border-radius: 0.5rem;
}

.rp-btn-leave:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fff;
  transform: scale(1.02);
}

.rp-logo-ring {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
}

.rp-menu-btn {
  border: 1px solid var(--rp-line);
  background: rgba(24, 24, 24, 0.4);
  color: var(--rp-white);
  border-radius: 0.5rem;
}

.rp-menu-btn:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(24, 24, 24, 0.7);
}

/* Glassmorphism Panel cards */
.rp-glass {
  background: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rp-glass:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

/* Title text */
.rentapp-app h1,
.rentapp-app #rentapp-content h1 {
  font-family: var(--rp-font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rentapp-app h2,
.rentapp-app #rentapp-content h2,
.rentapp-app #rentapp-content h3 {
  font-family: var(--rp-font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Dynamic Micro-animations ── */
.rp-hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rp-hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.3);
}

/* Fade-in-up class */
.rp-fade-in-up {
  animation: rpFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rpFadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── UI Tailwind overrides ── */
body.rentapp-app .bg-slate-950 {
  background-color: var(--rp-black) !important;
}

body.rentapp-app [class*="bg-slate-950/"] {
  background-color: rgba(10, 10, 10, 0.65) !important;
}

body.rentapp-app .bg-slate-900,
body.rentapp-app [class*="bg-slate-900/"] {
  background-color: rgba(17, 17, 17, 0.8) !important;
}

body.rentapp-app .bg-slate-800 {
  background-color: var(--rp-dark) !important;
}

body.rentapp-app .bg-slate-700 {
  background-color: var(--rp-dark-light) !important;
}

body.rentapp-app .hover\:bg-slate-700:hover {
  background-color: #2a2a2a !important;
}

body.rentapp-app .hover\:bg-slate-800:hover {
  background-color: rgba(17, 17, 17, 0.95) !important;
}

body.rentapp-app .border-slate-800,
body.rentapp-app [class*="border-slate-800"] {
  border-color: var(--rp-line) !important;
}

body.rentapp-app .border-slate-700 {
  border-color: rgba(245, 245, 240, 0.12) !important;
}

body.rentapp-app .divide-slate-800 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--rp-line) !important;
}

body.rentapp-app .hover\:border-slate-600:hover {
  border-color: rgba(201, 168, 76, 0.3) !important;
}

body.rentapp-app .hover\:border-slate-500:hover {
  border-color: rgba(201, 168, 76, 0.45) !important;
}

/* Custom inputs styling */
body.rentapp-app input.bg-slate-950,
body.rentapp-app select.bg-slate-950,
body.rentapp-app textarea.bg-slate-950,
.rp-input {
  background-color: rgba(10, 10, 10, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--rp-white) !important;
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  border-radius: 0.5rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.rentapp-app input.bg-slate-950:focus,
body.rentapp-app select.bg-slate-950:focus,
body.rentapp-app textarea.bg-slate-950:focus,
.rp-input:focus {
  outline: none;
  border-color: var(--rp-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  background-color: var(--rp-off-black) !important;
}

/* Primary Accents / Buttons */
body.rentapp-app .text-emerald-400,
body.rentapp-app .text-emerald-200,
body.rentapp-app .group:hover .group-hover\:text-emerald-300,
body.rentapp-app .hover\:text-emerald-300:hover {
  color: var(--rp-gold-light) !important;
}

body.rentapp-app .text-sky-400,
body.rentapp-app .text-sky-200,
body.rentapp-app .text-sky-100,
body.rentapp-app .text-sky-300,
body.rentapp-app .hover\:text-sky-300:hover {
  color: var(--rp-gold-light) !important;
}

body.rentapp-app .bg-sky-500\/10,
body.rentapp-app .bg-sky-500\/15,
body.rentapp-app .bg-sky-500\/20 {
  background-color: rgba(201, 168, 76, 0.12) !important;
}

body.rentapp-app .bg-sky-500\/40 {
  background-color: rgba(201, 168, 76, 0.32) !important;
}

body.rentapp-app .border-sky-400,
body.rentapp-app .border-sky-500\/30,
body.rentapp-app .border-sky-500\/40 {
  border-color: rgba(201, 168, 76, 0.38) !important;
}

body.rentapp-app .text-blue-300 {
  color: var(--rp-gold-light) !important;
}

body.rentapp-app .bg-blue-500\/20 {
  background-color: rgba(201, 168, 76, 0.14) !important;
}

body.rentapp-app .border-blue-500\/30 {
  border-color: rgba(201, 168, 76, 0.35) !important;
}

body.rentapp-app .text-indigo-100 {
  color: var(--rp-gold-light) !important;
}

body.rentapp-app .bg-indigo-500\/15 {
  background-color: rgba(201, 168, 76, 0.12) !important;
}

body.rentapp-app .border-indigo-500\/40 {
  border-color: rgba(201, 168, 76, 0.38) !important;
}

body.rentapp-app .text-amber-400,
body.rentapp-app .text-amber-200,
body.rentapp-app .text-amber-200\/90,
body.rentapp-app .text-amber-100 {
  color: #f59e0b !important; /* Rich amber color */
}

body.rentapp-app .bg-emerald-500,
body.rentapp-app .bg-emerald-600,
body.rentapp-app .hover\:bg-emerald-500:hover,
body.rentapp-app .hover\:bg-emerald-400:hover {
  background-color: var(--rp-gold) !important;
  color: var(--rp-off-black) !important;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.rentapp-app .bg-emerald-500:hover,
body.rentapp-app .bg-emerald-600:hover {
  background-color: var(--rp-gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.2);
}

body.rentapp-app .border-emerald-500,
body.rentapp-app .border-emerald-500\/30 {
  border-color: rgba(201, 168, 76, 0.4) !important;
}

body.rentapp-app .bg-emerald-500\/15,
body.rentapp-app .bg-emerald-500\/20 {
  background-color: rgba(201, 168, 76, 0.12) !important;
  color: var(--rp-gold-light) !important;
  border: 1px solid rgba(201, 168, 76, 0.25);
}

body.rentapp-app .text-emerald-500\/90 {
  color: rgba(232, 201, 106, 0.95) !important;
}

body.rentapp-app .bg-emerald-950\/45,
body.rentapp-app .bg-emerald-950\/40 {
  background-color: rgba(120, 83, 15, 0.32) !important;
}

body.rentapp-app .border-emerald-500\/20 {
  border-color: rgba(201, 168, 76, 0.28) !important;
}

body.rentapp-app input[type="checkbox"],
body.rentapp-app input[type="radio"] {
  accent-color: var(--rp-gold);
}

body.rentapp-app .text-emerald-600,
body.rentapp-app .focus\:ring-emerald-500:focus {
  --tw-ring-color: rgba(201, 168, 76, 0.45) !important;
  color: var(--rp-gold) !important;
}

body.rentapp-app .text-slate-950 {
  color: var(--rp-off-black) !important;
}

body.rentapp-app .hover\:bg-slate-900\/40:hover,
body.rentapp-app .hover\:bg-slate-900\/80:hover {
  background-color: rgba(24, 24, 24, 0.5) !important;
}

/* Spinner */
body.rentapp-app #global-htmx-spinner .border-emerald-500 {
  border-color: var(--rp-gold) !important;
}

/* Login standalone template styling */
.rp-login-shell h1 {
  font-family: var(--rp-font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rp-login-shell {
  min-height: 100vh;
  background: var(--rp-black);
  color: var(--rp-white);
  font-family: var(--rp-font-sans);
  background-image: 
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.08), transparent 400px),
    radial-gradient(circle at bottom left, rgba(24, 24, 24, 0.6), transparent 400px);
}

.rp-login-card {
  background: rgba(17, 17, 17, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0.75rem !important;
  padding: 2.25rem;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.rp-login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rp-gold-dim), var(--rp-gold), var(--rp-gold-light), var(--rp-gold));
}

/* Botón de acción principal (panel, formularios, CTAs) */
.rp-btn-primary,
.rp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--rp-font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--rp-off-black);
  text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 0.55rem;
  background: linear-gradient(
    145deg,
    var(--rp-gold-light) 0%,
    var(--rp-gold) 52%,
    var(--rp-gold-dim) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 16px rgba(201, 168, 76, 0.28);
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s ease,
    filter 0.2s ease;
  white-space: nowrap;
}

.rp-btn-primary:hover,
.rp-btn-gold:hover {
  color: var(--rp-off-black);
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(201, 168, 76, 0.38);
}

.rp-btn-primary:active,
.rp-btn-gold:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 3px 10px rgba(201, 168, 76, 0.22);
}

.rp-btn-primary:focus-visible,
.rp-btn-gold:focus-visible {
  outline: 2px solid var(--rp-gold-light);
  outline-offset: 2px;
}

.rp-btn-primary:disabled,
.rp-btn-primary[disabled],
.rp-btn-gold:disabled,
.rp-btn-gold[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.rp-btn-primary--block {
  width: 100%;
}

@media (min-width: 640px) {
  .rp-btn-primary--responsive {
    width: auto;
  }
}

.rp-btn-primary--responsive {
  width: 100%;
}

.rp-btn-primary--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* Botón de acción secundaria (exportar, cancelar, atajos) */
.rp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--rp-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: hsla(60, 14%, 96%, 0.82);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  background: rgba(17, 17, 17, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s ease;
  white-space: nowrap;
}

.rp-btn-secondary:hover {
  color: var(--rp-white);
  background: rgba(24, 24, 24, 0.92);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 6px 18px rgba(0, 0, 0, 0.28);
}

.rp-btn-secondary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.2);
}

.rp-btn-secondary:focus-visible {
  outline: 2px solid rgba(201, 168, 76, 0.45);
  outline-offset: 2px;
}

.rp-btn-secondary:disabled,
.rp-btn-secondary[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.rp-btn-secondary--block {
  width: 100%;
}

@media (min-width: 640px) {
  .rp-btn-secondary--responsive {
    width: auto;
  }
}

.rp-btn-secondary--responsive {
  width: 100%;
}

.rp-btn-secondary--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.rp-btn-secondary--xs {
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.45rem;
}

.rp-btn-secondary--danger {
  color: hsla(351, 89%, 82%, 0.88);
  border-color: rgba(244, 63, 94, 0.22);
  background: rgba(244, 63, 94, 0.06);
}

.rp-btn-secondary--danger:hover {
  color: #fecdd3;
  border-color: rgba(244, 63, 94, 0.42);
  background: rgba(244, 63, 94, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 6px 18px rgba(244, 63, 94, 0.12);
}

.rp-btn-gold {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Reservas: estados, tabla y tarjetas ── */
.rp-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.35;
}

.rp-status-badge--pending {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.45);
}

.rp-status-badge--confirmed {
  color: #86efac;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.45);
}

.rp-status-badge--completed {
  color: var(--rp-gold-light);
  background: rgba(201, 168, 76, 0.14);
  border-color: rgba(201, 168, 76, 0.42);
}

.rp-status-badge--cancelled {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(251, 113, 133, 0.5);
}

.rp-status-badge--unknown {
  color: var(--rp-white-dim);
  background: rgba(100, 116, 139, 0.2);
  border-color: rgba(148, 163, 184, 0.35);
}

.rp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rp-white-dim);
  background: rgba(24, 24, 24, 0.65);
  border: 1px solid var(--rp-line);
  border-radius: 0.5rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rp-back-btn:hover {
  color: var(--rp-white);
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(36, 36, 36, 0.75);
}

.rp-back-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.rp-detail-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.rp-detail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.5);
}

.rp-detail-field-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: hsla(60, 10%, 70%, 0.55);
  flex-shrink: 0;
}

.rp-stay-duration {
  display: inline-block;
  margin-left: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rp-gold-light);
}

.rp-status-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.rp-status-detail-reason {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.75rem;
  color: #fda4af;
}

.rp-status-detail-reason-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.rp-comments-block {
  margin-top: 0.25rem;
}

.rp-btn-note {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rp-gold-light);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 0.45rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rp-btn-note:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: rgba(232, 201, 106, 0.5);
}

.rp-activity-log {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: hsla(60, 10%, 70%, 0.75);
  background: rgba(17, 17, 17, 0.55);
  border: 1px solid rgba(36, 36, 36, 0.65);
  border-radius: 0.5rem;
}

.rp-activity-log-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: hsla(60, 10%, 70%, 0.45);
}

.rp-source-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.rp-source-badge--rentapp {
  color: var(--rp-gold-light);
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.35);
}

.rp-source-badge--airbnb {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(251, 113, 133, 0.35);
}

.rp-source-badge--booking {
  color: var(--rp-gold-light);
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.32);
}

.rp-source-badge--other {
  color: #94a3b8;
  background: rgba(36, 36, 36, 0.5);
  border-color: rgba(100, 116, 139, 0.4);
}

.rp-status-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.45);
}

.rp-status-legend-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.45);
  margin-right: 0.15rem;
}

.rp-data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.rp-data-table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.rp-data-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--rp-line);
}

.rp-data-table th {
  padding: 0.75rem 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.5);
  text-align: left;
  white-space: nowrap;
}

.rp-data-table td {
  padding: 0.8rem 1rem;
  vertical-align: middle;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.rp-col-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.rp-res-link {
  color: var(--rp-gold-light);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rp-res-link:hover {
  color: var(--rp-white);
}

.rp-res-guest {
  color: var(--rp-white);
  font-weight: 500;
}

.rp-res-date,
.rp-res-muted {
  color: var(--rp-white-dim);
  white-space: nowrap;
}

.rp-res-price {
  color: var(--rp-gold-light);
  font-weight: 700;
}

/* Filas por estado */
.rp-res-row--pending {
  background: rgba(245, 158, 11, 0.04);
  box-shadow: inset 3px 0 0 rgba(245, 158, 11, 0.65);
}

.rp-res-row--confirmed {
  background: rgba(16, 185, 129, 0.03);
  box-shadow: inset 3px 0 0 rgba(52, 211, 153, 0.55);
}

.rp-res-row--completed {
  background: rgba(201, 168, 76, 0.04);
  box-shadow: inset 3px 0 0 rgba(201, 168, 76, 0.55);
}

.rp-res-row--completed .rp-res-guest,
.rp-res-row--completed .rp-res-date {
  color: hsla(60, 14%, 96%, 0.55);
}

.rp-res-row--completed .rp-res-price {
  color: var(--rp-gold-light);
  font-weight: 600;
}

.rp-res-row--cancelled {
  background: rgba(244, 63, 94, 0.06);
  box-shadow: inset 3px 0 0 rgba(251, 113, 133, 0.6);
}

.rp-res-row--cancelled .rp-res-guest,
.rp-res-row--cancelled .rp-res-date,
.rp-res-row--cancelled .rp-res-muted {
  color: hsla(60, 10%, 70%, 0.45);
  text-decoration: line-through;
  text-decoration-color: rgba(251, 113, 133, 0.35);
}

.rp-res-row--cancelled .rp-res-link {
  color: hsla(60, 10%, 70%, 0.65);
  text-decoration: line-through;
  text-decoration-color: rgba(251, 113, 133, 0.4);
}

.rp-res-row--cancelled .rp-res-price {
  color: hsla(60, 10%, 70%, 0.4);
  font-weight: 500;
  text-decoration: line-through;
}

.rp-data-table tbody tr {
  transition: background 0.2s ease;
}

.rp-data-table tbody tr:hover {
  filter: brightness(1.08);
}

.rp-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.35);
}

.rp-empty-state-title {
  margin: 0;
  color: var(--rp-white-dim);
  font-size: 0.9375rem;
}

.rp-empty-state-hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: hsla(60, 10%, 70%, 0.45);
}

.rp-alert {
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
}

.rp-alert--error {
  border: 1px solid rgba(244, 63, 94, 0.35);
  background: rgba(127, 29, 29, 0.35);
  color: #fecdd3;
}

/* Tarjetas móvil — reservas */
.rp-res-cards {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}

.rp-res-card {
  border-radius: 0.75rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.55);
  padding: 1rem 1.1rem;
  box-shadow: inset 3px 0 0 transparent;
}

.rp-res-card.rp-res-row--pending {
  box-shadow: inset 3px 0 0 rgba(245, 158, 11, 0.65);
  background: rgba(245, 158, 11, 0.06);
}

.rp-res-card.rp-res-row--confirmed {
  box-shadow: inset 3px 0 0 rgba(52, 211, 153, 0.55);
}

.rp-res-card.rp-res-row--completed {
  box-shadow: inset 3px 0 0 rgba(201, 168, 76, 0.55);
  background: rgba(201, 168, 76, 0.07);
}

.rp-res-card.rp-res-row--cancelled {
  box-shadow: inset 3px 0 0 rgba(251, 113, 133, 0.6);
  background: rgba(244, 63, 94, 0.08);
}

.rp-res-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.rp-res-card-title {
  font-size: 1rem;
  line-height: 1.3;
  display: block;
}

.rp-res-card-guest {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--rp-white-dim);
}

.rp-res-card-guest span {
  color: var(--rp-white);
  font-weight: 500;
}

.rp-res-row--cancelled .rp-res-card-guest,
.rp-res-row--cancelled .rp-res-card-guest span,
.rp-res-row--cancelled .rp-res-card-value {
  text-decoration: line-through;
  text-decoration-color: rgba(251, 113, 133, 0.35);
  color: hsla(60, 10%, 70%, 0.5);
}

.rp-res-card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.rp-res-card-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rp-line);
}

.rp-res-card-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.45);
}

.rp-res-card-value {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rp-white-dim);
}

.rp-res-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rp-line);
  font-size: 0.8125rem;
}

.rp-res-card-action {
  display: block;
  margin-top: 0.85rem;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rp-white-dim);
  text-decoration: none;
  border-radius: 0.5rem;
  border: 1px solid var(--rp-line);
  background: rgba(24, 24, 24, 0.5);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rp-res-card-action:hover {
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--rp-white);
}

.rp-filter-panel {
  border-radius: 0.75rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.45);
  padding: 1rem;
}

.rp-filter-panel label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.55);
  margin-bottom: 0.4rem;
}

.rp-filter-panel select,
.rp-filter-panel input[type="date"] {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.85);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--rp-white);
}

/* ── Mobile Layout & Cards Styling ── */

/* Responsive cards helper for tables */
.rp-table-desktop {
  display: block;
}

.rp-cards-mobile {
  display: none;
}

@media (max-width: 767px) {
  .rp-table-desktop {
    display: none !important;
  }
  .rp-cards-mobile {
    display: flex !important;
  }
  .rp-status-legend {
    gap: 0.4rem 0.5rem;
  }
}

/* Floating button style */
.rp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--rp-gold);
  color: var(--rp-off-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(201, 168, 76, 0.3);
  transition: all 0.2s;
}

.rp-fab:hover {
  transform: scale(1.05) translateY(-2px);
  background: var(--rp-gold-light);
  box-shadow: 0 10px 20px rgba(201, 168, 76, 0.4);
}

/* Focus ring (accesibilidad + look premium) */
.rp-focus:focus,
.rp-focus:focus-visible,
body.rentapp-app .rp-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px hsla(var(--rp-hue-gold), 70%, 55%, 0.22), var(--rp-glow-gold);
}

/* Filtros colapsables (móvil) */
.rp-filter-toggle {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(24, 24, 24, 0.55);
  color: var(--rp-white-dim);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.rp-filter-toggle:hover,
.rp-filter-toggle:active {
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--rp-white);
  background: rgba(24, 24, 24, 0.85);
}

/* Modal / drawer glass */
.rp-modal-glass {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
}

.rp-drawer {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);
}

@media (max-width: 767px) {
  .rp-drawer {
    inset: auto 0 0 0;
    top: auto;
    width: 100%;
    max-width: none;
    max-height: 85vh;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem 1rem 0 0;
    transform: translateY(100%);
  }
  .rp-drawer.is-open {
    transform: translateY(0);
  }
  .rp-drawer.translate-x-full {
    transform: translateY(100%);
  }
}

/* Tarjetas móviles reutilizables */
.rp-card-item {
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 17, 17, 0.55);
  transition: border-color 0.2s ease;
}

.rp-card-item:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

/* Tablas → tarjetas en móvil (compatible con HTMX) */
@media (max-width: 767px) {
  .rp-table-stack thead {
    display: none;
  }
  .rp-table-stack tbody {
    display: block;
  }
  .rp-table-stack tr {
    display: block;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 17, 17, 0.55);
  }
  .rp-table-stack tr:hover {
    background: rgba(24, 24, 24, 0.65);
  }
  .rp-table-stack td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border: none;
    text-align: right;
  }
  .rp-table-stack td::before {
    content: attr(data-label);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: hsla(60, 10%, 70%, 0.55);
    text-align: left;
    flex-shrink: 0;
  }
  .rp-table-stack td[data-label=""]::before,
  .rp-table-stack td:not([data-label])::before {
    content: none;
  }
  .rp-table-stack td[colspan] {
    display: block;
    text-align: center;
  }
  .rp-table-stack td[colspan]::before {
    content: none;
  }
}

/* Calendario en pantallas muy chicas */
@media (max-width: 420px) {
  #calendar-wrap .grid-cols-7 {
    gap: 2px;
  }
  #calendar-wrap .aspect-square {
    min-height: 1.65rem;
    font-size: 0.65rem;
  }
}

/* Badge agencia activa */
.rp-agency-badge {
  border: 1px solid rgba(201, 168, 76, 0.25);
  background: rgba(201, 168, 76, 0.08);
  color: var(--rp-gold-light);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rp-agency-badge--central {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.1);
  color: var(--rp-gold-light);
  max-width: none;
}

/* ── Ficha de propiedad (presentación al huésped) ── */
.rp-prop-present-badge {
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 9999px;
  background: rgba(201, 168, 76, 0.08);
}

.rp-prop-gallery-empty .rp-prop-hero-frame--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  border-style: dashed;
}

.rp-prop-hero-frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--rp-line);
  background: var(--rp-off-black);
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.rp-prop-hero-display {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.rp-prop-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.rp-prop-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 10, 0.65);
  color: var(--rp-white);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rp-prop-hero-nav:hover {
  background: rgba(10, 10, 10, 0.9);
  border-color: rgba(201, 168, 76, 0.45);
}

.rp-prop-hero-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.rp-prop-hero-nav--prev {
  left: 0.75rem;
}

.rp-prop-hero-nav--next {
  right: 0.75rem;
}

.rp-prop-hero-counter {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rp-white);
  background: rgba(10, 10, 10, 0.75);
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rp-prop-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.rp-prop-thumb {
  flex-shrink: 0;
  width: 5.5rem;
  height: 4rem;
  padding: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.65;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rp-prop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-prop-thumb.is-active,
.rp-prop-thumb:hover {
  opacity: 1;
  border-color: var(--rp-gold);
  transform: translateY(-1px);
}

.rp-prop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .rp-prop-layout {
    grid-template-columns: 1fr min(20rem, 32%);
    gap: 2.5rem;
  }
}

.rp-prop-sidebar {
  position: relative;
}

.rp-prop-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .rp-prop-sidebar-inner {
    position: sticky;
    top: 5.5rem;
  }
}

.rp-prop-sidebar-services {
  padding: 1rem;
}

.rp-prop-sidebar-services .rp-prop-section-title {
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.rp-prop-feature-grid--sidebar {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.rp-prop-feature-grid--sidebar .rp-prop-feature {
  padding: 0.7rem 0.75rem;
}

.rp-prop-title {
  font-family: var(--rp-font-sans);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.rp-prop-type-pill {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rp-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 0.35rem;
  background: rgba(201, 168, 76, 0.1);
}

.rp-catalog-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 0.5rem;
  line-height: 1;
}

.rp-catalog-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rp-catalog-type-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.rp-catalog-type--house {
  color: var(--rp-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
}

.rp-catalog-type--cabin {
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(180, 83, 9, 0.18);
}

.rp-catalog-type--apartment {
  color: var(--rp-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
}

.rp-catalog-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--rp-white-dim);
  border: 1px solid var(--rp-line);
  border-radius: 0.5rem;
  background: rgba(17, 17, 17, 0.55);
}

.rp-catalog-meta svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--rp-gold);
  flex-shrink: 0;
}

.rp-catalog-countdown {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 0.35rem;
  background: rgba(120, 53, 15, 0.35);
}

.rp-prop-status-pill {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #86efac;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
}

.rp-prop-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  color: var(--rp-white-dim);
}

.rp-prop-location strong {
  color: var(--rp-white);
  font-weight: 600;
}

.rp-prop-location-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--rp-gold);
}

.rp-prop-highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .rp-prop-highlight-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rp-prop-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.45);
}

.rp-prop-highlight-icon {
  display: flex;
  color: var(--rp-gold);
}

.rp-prop-highlight-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.rp-prop-highlight-value {
  margin-top: 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rp-white);
}

.rp-prop-highlight-label {
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.55);
}

.rp-prop-section-title {
  font-family: var(--rp-font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rp-white);
  margin: 0 0 0.75rem;
}

.rp-prop-section-lead {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rp-white-dim);
}

.rp-prop-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: hsla(60, 14%, 96%, 0.82);
}

.rp-prop-description p {
  margin: 0 0 0.75rem;
}

.rp-prop-amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.rp-prop-amenities li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--rp-white-dim);
}

.rp-prop-amenity-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.rp-prop-amenities li.is-yes .rp-prop-amenity-dot {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.rp-prop-amenities li.is-no .rp-prop-amenity-dot {
  background: #64748b;
}

.rp-prop-price-card {
  padding: 1.35rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.rp-prop-price-label {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.5);
}

.rp-prop-price-amount {
  margin: 0.35rem 0 0;
  font-family: var(--rp-font-sans);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--rp-gold-light);
}

.rp-prop-price-currency {
  font-size: 1.25rem;
  vertical-align: super;
  margin-right: 0.1rem;
}

.rp-prop-price-unit {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--rp-white-dim);
}

.rp-prop-price-divider {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid var(--rp-line);
}

.rp-prop-price-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.rp-prop-price-facts li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--rp-white-dim);
}

.rp-prop-price-facts strong {
  color: var(--rp-white);
  font-weight: 600;
}

.rp-prop-price-hint {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: hsla(60, 10%, 70%, 0.5);
}

.rp-prop-calendar {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.4);
}

.rp-prop-calendar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rp-prop-calendar-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rp-prop-cal-nav-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.8);
  color: var(--rp-white-dim);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rp-prop-cal-nav-btn:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--rp-white);
}

.rp-prop-cal-month {
  min-width: 8rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rp-white);
}

.rp-prop-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.rp-prop-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rp-white-dim);
}

.rp-prop-cal-legend-item::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 0.2rem;
}

.rp-prop-cal-legend-item--free::before {
  background: rgba(52, 211, 153, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.5);
}

.rp-prop-cal-legend-item--busy::before {
  background: rgba(244, 63, 94, 0.25);
  border: 1px solid rgba(251, 113, 133, 0.45);
}

.rp-prop-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsla(60, 10%, 70%, 0.45);
  text-align: center;
}

.rp-prop-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.rp-prop-cal-cell {
  aspect-ratio: 1;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 500;
}

.rp-prop-cal-cell--blank {
  visibility: hidden;
}

.rp-prop-cal-cell--available {
  color: #86efac;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.25);
}

.rp-prop-cal-cell--taken {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(251, 113, 133, 0.3);
}

.rp-prop-staff-panel {
  border-radius: 0.75rem;
  border: 1px dashed rgba(100, 116, 139, 0.45);
  background: rgba(17, 17, 17, 0.35);
}

.rp-prop-staff-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rp-white-dim);
  list-style: none;
}

.rp-prop-staff-summary::-webkit-details-marker {
  display: none;
}

.rp-prop-staff-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--rp-line);
}

.rp-prop-showcase {
  padding-bottom: 0;
}

@media (max-width: 1023px) {
  .rp-prop-root {
    padding-bottom: 5.5rem;
  }
}

.rp-prop-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.rp-prop-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rp-white-dim);
  border: 1px solid var(--rp-line);
  border-radius: 0.5rem;
  background: rgba(17, 17, 17, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rp-prop-edit-btn:hover {
  color: var(--rp-gold-light);
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.08);
}

.rp-prop-edit-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

.rp-prop-inactive-pill {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 0.35rem;
  background: rgba(127, 29, 29, 0.25);
}

.rp-prop-intro {
  padding-bottom: 0.25rem;
}

.rp-prop-intro-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.rp-prop-mobile-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(17, 17, 17, 0.65));
}

@media (min-width: 1024px) {
  .rp-prop-mobile-price {
    display: none;
  }
}

.rp-prop-mobile-price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rp-gold-light);
  line-height: 1.1;
}

.rp-prop-mobile-price-amount small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rp-white-dim);
}

.rp-prop-next-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(120, 53, 15, 0.2);
}

.rp-prop-next-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
}

.rp-prop-next-banner-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.rp-prop-next-banner-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fde68a;
}

.rp-prop-next-banner-dates {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rp-white);
}

.rp-prop-next-banner-meta {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--rp-white-dim);
}

.rp-prop-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.25rem 0 0.5rem;
}

.rp-prop-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rp-white-dim);
  border: 1px solid var(--rp-line);
  border-radius: 9999px;
  background: rgba(17, 17, 17, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rp-prop-jump-link:hover {
  color: var(--rp-gold-light);
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.08);
}

.rp-prop-section-card {
  padding: 1.25rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--rp-line);
  background: rgba(17, 17, 17, 0.35);
}

.rp-prop-section-card--muted {
  border-style: dashed;
  background: rgba(17, 17, 17, 0.25);
}

.rp-prop-empty-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsla(60, 10%, 70%, 0.55);
}

.rp-prop-empty-desc a {
  color: var(--rp-gold-light);
  font-weight: 600;
}

.rp-prop-highlight--yes .rp-prop-highlight-value {
  color: #86efac;
}

.rp-prop-highlight--no .rp-prop-highlight-value {
  color: #94a3b8;
}

.rp-prop-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .rp-prop-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rp-prop-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid var(--rp-line);
  background: rgba(14, 14, 14, 0.55);
}

.rp-prop-feature.is-yes {
  border-color: rgba(52, 211, 153, 0.2);
}

.rp-prop-feature.is-no {
  opacity: 0.75;
}

.rp-prop-feature-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--rp-gold);
}

.rp-prop-feature.is-no .rp-prop-feature-icon {
  color: #64748b;
}

.rp-prop-feature-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.rp-prop-feature-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsla(60, 10%, 70%, 0.5);
}

.rp-prop-feature-value {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rp-white);
  line-height: 1.35;
}

.rp-prop-price-min {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.8125rem;
  color: var(--rp-white-dim);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.rp-prop-price-min strong {
  color: var(--rp-gold-light);
  font-weight: 700;
}

.rp-prop-price-cta {
  margin-top: 1rem;
}

.rp-prop-price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.rp-prop-price-chip {
  padding: 0.3rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--rp-white-dim);
  border: 1px solid var(--rp-line);
  border-radius: 0.4rem;
  background: rgba(10, 10, 10, 0.6);
}

.rp-prop-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rp-line);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 1024px) {
  .rp-prop-mobile-bar {
    display: none;
  }
}

.rp-prop-mobile-bar-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rp-gold-light);
  line-height: 1.1;
}

.rp-prop-mobile-bar-price span {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--rp-white-dim);
}

.rp-prop-mobile-bar .rp-prop-price-cta {
  margin-top: 0;
}

.rp-prop-staff-panel {
  margin-top: 2rem;
}

.rp-prop-staff-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rp-white-dim);
  border: 1px solid var(--rp-line);
  border-radius: 0.5rem;
  background: rgba(17, 17, 17, 0.55);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rp-prop-staff-open-btn:hover {
  color: var(--rp-white);
  border-color: rgba(148, 163, 184, 0.45);
}
