/* User portal Django integration styles. Client visual language is vendored in css/user_portal/components/user_portal_client.css. */

html[data-mode="dhh-v3"] body.user-body {
  min-height: 100vh;
}

.user-body {
  display: flex;
  flex-direction: column;
}

.user-shell {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 100vh;
}

.user-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.dhh-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.dhh-logo--topbar,
.dhh-logo--estimate-topbar {
  width: 80px;
  height: 40px;
}

.dhh-logo--footer,
.dhh-logo--estimate-footer {
  height: 1.5rem;
}

.user-shell .btn,
.user-shell .chip-btn,
.user-shell .prop-card__action,
.user-shell .prop-card__hero,
.user-shell .prop-card__titlebtn,
.user-shell .topbar__brand,
.user-shell .topbar__icon,
.user-shell .topbar__navlink,
.user-shell .user-footer a {
  text-decoration: none;
}

.user-shell .btn:hover,
.user-shell .btn:focus-visible,
.user-shell .chip-btn:hover,
.user-shell .chip-btn:focus-visible,
.user-shell .prop-card__action:hover,
.user-shell .prop-card__action:focus-visible,
.user-shell .prop-card__hero:hover,
.user-shell .prop-card__hero:focus-visible,
.user-shell .prop-card__titlebtn:hover,
.user-shell .prop-card__titlebtn:focus-visible,
.user-shell .topbar__brand:hover,
.user-shell .topbar__brand:focus-visible,
.user-shell .topbar__icon:hover,
.user-shell .topbar__icon:focus-visible,
.user-shell .topbar__navlink:hover,
.user-shell .topbar__navlink:focus-visible,
.user-shell .user-footer a:hover,
.user-shell .user-footer a:focus-visible {
  text-decoration: none;
}

.user-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 20px 32px;
}

.user-footer__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.user-footer__links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.user-footer__brand {
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-weight: 700;
}

.user-footer__select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink-700);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11.5px;
  padding: 4px 8px;
}

.user-footer__divider {
  background: var(--border);
  display: inline-block;
  height: 14px;
  width: 1px;
}

@media (max-width: 640px) {
  .dhh-logo--topbar,
  .dhh-logo--estimate-topbar {
    width: 72px;
    height: 36px;
  }

  .dhh-logo--footer,
  .dhh-logo--estimate-footer {
    height: 1.375rem;
  }
}

.user-footer__pills {
  background: var(--linen-100);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 3px;
}

.user-footer__pills strong,
.user-footer__pills span {
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
}

.user-footer__pills strong {
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--ink-900);
}

.topbar__logout {
  display: inline;
  margin: 0;
}

.topbar__logout button {
  color: inherit;
}

.my-stays__owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.my-stays__owner-actions .btn {
  min-height: 40px;
}

.my-stays__owner-actions svg {
  display: block;
  flex-shrink: 0;
}

.my-stays__sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.my-stays__section .section-head {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.my-stays__section-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.my-stays__section-count {
  white-space: nowrap;
}

.my-stays__section-empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--ink-500);
  font-size: 13.5px;
  padding: 18px 20px;
}

.my-stays__show-more[hidden] {
  display: none;
}

.my-stays__cancelled {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-stays__cancelled-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  padding-top: 4px;
}

.my-stays__cancelled-toggle {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 6px 10px;
}

.my-stays__cancelled-toggle[hidden],
.my-stays__cancelled-panel[hidden],
.my-stays__cancelled-pagination[hidden] {
  display: none;
}

.my-stays__cancelled-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-stays__cancelled-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.my-stays__cancelled-page-status {
  color: var(--ink-500);
  font-size: 12.5px;
}

html[dir="rtl"] .user-shell,
html[dir="rtl"] .user-main {
  direction: rtl;
}

html[dir="rtl"] .topbar__mobile-menu {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .topbar__mobile-panel {
  left: 0;
  right: auto;
}

html[dir="rtl"] .topbar__mobile-link,
html[dir="rtl"] .props-bulk__dropdown-item {
  text-align: right;
}

html[dir="rtl"] .topbar__navlink-badge {
  margin-left: 0;
  margin-right: 7px;
}

html[dir="rtl"] .prop-card__select {
  left: 12px;
  right: auto;
}

.topbar__mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.topbar__menu-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-700);
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  list-style: none;
  width: 36px;
}

.topbar__menu-button::-webkit-details-marker {
  display: none;
}

.topbar__menu-button:focus-visible {
  box-shadow: var(--ring-focus);
  outline: none;
}

.topbar__mobile-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 4px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, calc(100vw - 32px));
  z-index: 40;
}

.topbar__mobile-link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--r-xs);
  color: var(--ink-700);
  cursor: pointer;
  display: flex;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  justify-content: space-between;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.topbar__mobile-link:hover,
.topbar__mobile-link:focus-visible,
.topbar__mobile-link.is-active {
  background: var(--surface-2);
  color: var(--ink-900);
  outline: none;
}

.topbar__mobile-link.is-active {
  font-weight: 600;
}

.topbar__mobile-link.is-active .topbar__navlink-badge {
  background: var(--primary);
}

.topbar__mobile-link--button {
  appearance: none;
}

.needs-you-now--preview {
  margin-bottom: 20px;
}

.needs-you-now__head {
  align-items: center;
  justify-content: flex-start;
}

.needs-you-now__see-all {
  margin-left: auto;
}

.needs-you-now__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.needs-you-now__row {
  align-items: center;
  border-left: 3px solid var(--danger);
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  padding: 14px 18px;
}

.needs-you-now__row--warn {
  border-left-color: var(--warn);
}

.needs-you-now__row--empty {
  border-left-color: var(--success);
}

.needs-you-now__icon {
  align-items: center;
  border-radius: 10px;
  display: flex;
  flex-shrink: 0;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.needs-you-now__icon--danger {
  background: rgba(229, 72, 77, .12);
  color: var(--danger);
}

.needs-you-now__icon--warn {
  background: var(--amber-100);
  color: var(--warn);
}

.needs-you-now__icon--success {
  background: var(--success-bg);
  color: var(--success);
}

.needs-you-now__copy {
  min-width: 0;
}

.needs-you-now__title {
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.needs-you-now__title span {
  color: var(--ink-500);
  display: inline;
  font-size: 11px;
  font-weight: 400;
  margin-left: 8px;
}

.needs-you-now__meta {
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px;
}

.needs-you-now-page__head {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.needs-you-now-page__count {
  align-items: center;
  background: var(--danger);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.4;
  min-width: 28px;
  padding: 4px 10px;
}

@media (max-width: 720px) {
  .user-shell .topbar__nav,
  .user-shell .topbar__util {
    display: none;
  }

  .topbar__mobile-menu {
    display: block;
  }
}

@media (max-width: 700px) {
  .needs-you-now__row {
    align-items: flex-start;
    grid-template-columns: 38px 1fr;
  }

  .needs-you-now__row .btn {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }
}

.field-error,
.form-errors {
  color: var(--danger);
  font-size: 12.5px;
  margin-top: 6px;
}

.form-errors ul,
.field-error ul {
  margin: 0;
  padding-left: 18px;
}

.empty-state {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--ink-500);
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 34px 24px;
  text-align: center;
}

.empty-state strong {
  color: var(--ink-900);
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.user-table th,
.user-table td {
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 14px;
  text-align: left;
}

.user-table th {
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lv-wizard {
  min-height: calc(100vh - 145px);
  padding: 32px;
}

.lv-stepper {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(9, minmax(96px, 1fr));
  max-width: 1280px;
  margin: 0 auto 24px;
}

.lv-stepper__item {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--ink-500);
  display: flex;
  font-size: 12px;
  gap: 8px;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 10px;
}

.lv-stepper__item.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-50);
  color: var(--ink-900);
  font-weight: 600;
}

.lv-stepper__item.is-complete {
  background: color-mix(in srgb, var(--success) 9%, var(--surface));
  border-color: color-mix(in srgb, var(--success) 28%, var(--border));
}

.lv-stepper__bar {
  background: var(--border-soft);
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
}

.lv-stepper__bar span {
  background: var(--primary);
  border-radius: 999px;
  display: block;
  height: 100%;
}

.lv-wizard__body {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 280px minmax(0, 1fr);
  max-width: 1280px;
  margin: 0 auto;
}

.lv-wizard__sidebar,
.lv-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.lv-wizard__sidebar {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.lv-sidebar__phase {
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lv-sidebar__steps {
  display: grid;
  gap: 8px;
}

.lv-sidebar__step {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  color: var(--ink-700);
  display: grid;
  gap: 12px;
  grid-template-columns: 32px 1fr;
  padding: 10px 12px;
  text-decoration: none;
}

.lv-sidebar__step.is-active {
  background: var(--surface-2);
  color: var(--ink-900);
  font-weight: 600;
}

.lv-sidebar__step.is-locked {
  color: var(--ink-300);
  pointer-events: none;
}

.lv-sidebar__step.is-complete .lv-sidebar__num {
  background: var(--success-bg);
  border-color: color-mix(in srgb, var(--success) 28%, var(--border));
  color: var(--success);
}

.lv-sidebar__num {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.lv-sidebar__step.is-active .lv-sidebar__num {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.lv-panel__head {
  padding: 36px 42px 22px;
}

.lv-panel__eyebrow {
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lv-panel__title {
  font-size: 30px;
  line-height: 1.16;
}

.lv-panel__lede {
  color: var(--ink-500);
  font-size: 16px;
  margin: 12px 0 0;
}

.lv-panel__body {
  padding: 18px 42px 38px;
}

.lv-panel__foot {
  align-items: center;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  display: flex;
  justify-content: space-between;
  padding: 22px 42px;
}

.lv-form {
  display: grid;
  gap: 16px;
}

.lv-field-card {
  display: grid;
  gap: 8px;
}

.lv-field-card > label,
.lv-choice-label {
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
}

.lv-radio-grid,
.lv-checkbox-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.lv-radio-card,
.lv-checkbox-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.lv-radio-card input,
.lv-checkbox-card input {
  position: absolute;
  opacity: 0;
}

.lv-radio-card:has(input:checked),
.lv-checkbox-card:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-50);
}

.lv-radio-card span,
.lv-checkbox-card span {
  color: var(--ink-500);
  font-size: 13px;
}

.lv-checkbox-card--single {
  grid-template-columns: 22px 1fr;
}

.lv-checkbox-card--single input {
  opacity: 1;
  position: static;
}

.lv-inventory {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 260px;
}

.lv-inventory__items {
  display: grid;
  gap: 8px;
}

.lv-inv-item {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

.lv-inv-item:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-50);
}

.lv-inv-item__label {
  color: var(--ink-900);
  font-size: 13px;
}

.lv-inventory__summary {
  align-self: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
}

.lv-inventory__summary-eyebrow {
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lv-inventory__summary-amount {
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
  margin-top: 8px;
}

.lv-readonly {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--r-md);
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.dashboard-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 32px 72px;
}

.home-head {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.needs-list {
  display: grid;
  gap: 10px;
}

.needs-row {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--danger);
  border-radius: var(--r-md);
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 1fr auto;
  padding: 12px 14px;
}

.needs-row__icon {
  align-items: center;
  background: var(--danger-bg);
  border-radius: var(--r-sm);
  color: var(--danger);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.needs-row strong {
  display: block;
  font-size: 13.5px;
}

.needs-row span {
  color: var(--ink-500);
  display: block;
  font-size: 12.5px;
}

@media (max-width: 860px) {
  .home-head {
    align-items: stretch;
    flex-direction: column;
  }

  .my-stays__owner-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .my-stays__owner-actions .btn {
    flex: 1 1 220px;
  }

  .my-stays__section .section-head {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .my-stays__section-actions {
    margin-left: auto;
  }

  .my-stays__cancelled-actions,
  .my-stays__cancelled-pagination {
    justify-content: flex-start;
  }

  .lv-wizard {
    padding: 18px 14px;
  }

  .lv-wizard__body {
    grid-template-columns: 1fr;
  }

  .lv-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lv-panel__head,
  .lv-panel__body,
  .lv-panel__foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lv-panel__foot {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .needs-row {
    grid-template-columns: 38px 1fr;
  }

  .needs-row .btn {
    grid-column: 1 / -1;
  }

  .lv-inventory {
    grid-template-columns: 1fr;
  }

}

.lv-am-card__actions {
  align-items: center;
  display: flex;
  gap: 6px;
  grid-template-columns: none;
}

.lv-am-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), color-mix(in srgb, var(--primary) 5%, var(--surface)) 76%),
    var(--surface);
  border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
  box-shadow: 0 14px 26px -24px color-mix(in srgb, var(--primary) 38%, transparent), var(--shadow-sm);
}

.lv-am-card__head {
  min-height: 0;
}

.lv-am-card__avatar {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, var(--surface));
  font-size: 13px;
  height: 40px;
  letter-spacing: .02em;
  line-height: 1;
  position: relative;
  width: 40px;
}

.lv-am-card__status {
  background: var(--success);
  border: 2px solid var(--surface);
  border-radius: 999px;
  color: var(--success);
  font-size: 0;
  height: 11px;
  margin-left: 0;
  padding: 0;
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 11px;
}

.lv-am-card__status .dot {
  box-shadow: none;
  height: 100%;
  width: 100%;
}

.lv-am-card__cta {
  background: var(--surface);
  flex: 1 1 0;
  min-height: 36px;
  min-width: 0;
  text-decoration: none;
}

.lv-am-card__cta--call {
  background: color-mix(in srgb, var(--primary) 6%, var(--surface));
  flex: 1 1 0;
  padding-left: 6px;
  padding-right: 6px;
  width: auto;
}

.lv-am-card__cta--wa {
  background: color-mix(in srgb, #128C7E 7%, var(--surface));
  flex: 1 1 0;
  padding-left: 6px;
  padding-right: 6px;
  width: auto;
}

.lv-am-card__cta:disabled,
.lv-am-card__cta[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .56;
  transform: none;
}

/* ---- My stays list ----
   The design-template .stay-row is a 152px image column + body grid; guest rows have no image,
   so they use a date tile | details | status column instead. */
.my-stays__head {
  gap: 16px 24px;
  margin-bottom: 28px;
}

/* The design template pads every `header > div` for its top bar; this header is page content. */
.my-stays__head > div {
  padding: 0 !important;
}

.my-stays__head .page__lede {
  margin-top: 6px;
}

.my-stays__head + .needs-you-now {
  margin-bottom: 32px;
}

.my-stays__section .section-title {
  font-size: 15px;
  letter-spacing: -.005em;
}

.stay-list .stay-row {
  align-items: center;
  border-color: var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 16px 18px 16px 16px;
  position: relative;
  transition: border-color var(--dur, .18s), box-shadow var(--dur, .18s), transform var(--dur, .18s);
}

.stay-list .stay-row:hover,
.stay-list .stay-row:focus-within {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.stay-row__date {
  align-items: center;
  background: var(--primary-50);
  border-radius: var(--r-md);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  min-height: 72px;
  width: 64px;
}

.stay-row__date-month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stay-row__date-day {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 4px 0 3px;
}

.stay-row__date-week {
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 500;
}

.stay-list .stay-row__body {
  gap: 6px;
  padding: 0;
}

.stay-list .stay-row__title {
  font-size: 16px;
  letter-spacing: -.01em;
  margin: 0;
}

.stay-row__link {
  color: inherit;
  text-decoration: none;
}

/* The whole row opens the stay; the title link stretches over the card. */
.stay-row__link::after {
  content: "";
  inset: 0;
  position: absolute;
}

.stay-row__link:focus-visible {
  outline: none;
}

.stay-list .stay-row:has(.stay-row__link:focus-visible) {
  box-shadow: var(--ring-focus);
}

.stay-list .stay-row__meta {
  color: var(--ink-700);
  font-size: 13px;
  gap: 6px 16px;
}

.stay-row__meta-cell svg {
  color: var(--ink-400);
}

.stay-list .stay-row__sub {
  color: var(--ink-400);
  font-family: var(--font-mono);
  font-size: 11.5px;
  margin: 0;
}

.stay-row__aside {
  align-items: center;
  display: flex;
  gap: 10px;
}

.stay-row__status {
  background: var(--success-bg);
  border-radius: 999px;
  color: var(--success);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  white-space: nowrap;
}

.stay-row__status--muted {
  background: var(--surface-2);
  color: var(--ink-500);
}

.stay-row__chevron {
  color: var(--ink-300);
  display: inline-flex;
  transition: color var(--dur, .18s), transform var(--dur, .18s);
}

.stay-list .stay-row:hover .stay-row__chevron {
  color: var(--primary);
  transform: translateX(2px);
}

.stay-row--action {
  border-color: color-mix(in srgb, var(--danger) 28%, var(--surface)) !important;
}

.stay-row--action .stay-row__date {
  background: var(--danger-bg);
  color: var(--danger);
}

.stay-row__cta {
  background: var(--danger-bg);
  border-radius: 999px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  white-space: nowrap;
}

.my-stays__section-empty {
  border-style: dashed;
  border-radius: var(--r-lg);
  color: var(--ink-400);
  padding: 22px 20px;
  text-align: center;
}

@media (max-width: 640px) {
  .stay-list .stay-row {
    align-items: start;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
  }

  .stay-row__date {
    min-height: 64px;
    width: 56px;
  }

  .stay-row__aside {
    grid-column: 2;
    justify-content: space-between;
    margin-top: -4px;
  }
}
