.account-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 54px;
  max-width: 1280px;
  margin: 42px auto 80px;
  padding: 0 32px;
}
.account-sidebar {
  align-self: start;
  position: sticky;
  top: 110px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.account-home {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.account-home small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
  font-size: 22px;
}
.account-sidebar nav {
  display: grid;
  gap: 7px;
}
.account-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
}
.account-sidebar nav a[aria-current],
.account-sidebar nav a:hover {
  background: #e9f1ea;
  color: var(--brand-deep);
}
.account-switches {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 24px 8px;
  margin-top: 24px;
  font-size: 13px;
}
.account-content {
  min-width: 0;
}
.account-content h1 {
  font-size: 34px;
  margin: 4px 0 12px;
}
.account-content > p {
  margin: 14px 0;
}
.account-content h2 {
  font-size: 21px;
}
.account-page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}
.account-page-heading p {
  color: var(--muted);
}
.account-page-heading .eyebrow {
  color: var(--brand-deep);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.completion-card,
.journey-card,
.local-import-card,
.account-panel,
.profile-form-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 22px 0;
  background: white;
}
.completion-card {
  background: #f0f5ef;
  border-color: #dae6d9;
}
.completion-heading {
  display: flex;
  gap: 15px;
}
.completion-heading h2 {
  margin-bottom: 7px;
}
.completion-heading p {
  color: #526358;
  font-size: 14px;
}
.completion-icon {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  align-self: start;
}
.completion-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0 18px;
  font-size: 13px;
}
.completion-progress progress {
  width: 100%;
  height: 7px;
  appearance: none;
  border: none;
  border-radius: 20px;
  background: #d9e4d7;
}
.completion-progress progress::-webkit-progress-bar {
  background: #d9e4d7;
  border-radius: 20px;
}
.completion-progress progress::-webkit-progress-value {
  background: var(--brand-deep);
  border-radius: 20px;
}
.completion-progress progress::-moz-progress-bar {
  background: var(--brand-deep);
  border-radius: 20px;
}
.completion-card small {
  display: block;
  color: #526358;
  font-size: 11px;
  margin-top: 14px;
}
.journey-card,
.local-import-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.journey-card {
  border-color: var(--brand-gold);
  background: #fff9ed;
}
.journey-card p {
  margin-top: 7px;
}
.local-import-card[hidden] {
  display: none;
}
.local-import-card p {
  font-size: 13px;
  color: var(--muted);
}
.account-section {
  margin-top: 36px;
}
.account-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 17px;
}
.account-section-heading a {
  font-size: 13px;
  text-decoration: underline;
}
.account-empty {
  padding: 32px 24px;
  border: 1px dashed #d1d9d0;
  border-radius: 18px;
  background: var(--soft);
  text-align: center;
}
.account-empty .icon {
  margin: 0 auto 16px;
  width: 30px;
  height: 30px;
}
.account-empty h3 {
  font-size: 18px;
}
.account-empty p {
  color: var(--muted);
  margin: 10px 0 16px;
}
.account-empty a {
  text-decoration: underline;
  font-weight: 600;
}
.account-saved-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.account-booking-card {
  display: flex;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 16px;
  background: white;
}
.booking-card-image,
.booking-card-placeholder {
  width: 140px;
  min-height: 150px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
}
.booking-card-placeholder {
  background: #eaf0e7;
  display: grid;
  place-items: center;
}
.booking-card-content {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 7px;
}
.booking-card-content p {
  font-size: 13px;
  color: var(--muted);
}
.booking-card-content small {
  font-size: 11px;
  color: var(--muted);
}
.card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.card-title-row h3 {
  font-size: 18px;
}
.status-pill {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 30px;
  padding: 5px 9px;
  background: #edf4eb;
  white-space: nowrap;
}
.status-cancelled {
  background: #f8ede7;
  color: #934526;
}
.underlined {
  text-decoration: underline;
  justify-self: start;
  margin-top: 5px;
}
.account-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.account-panel h2 {
  margin-bottom: 12px;
}
.account-panel p {
  margin: 12px 0;
}
.account-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.account-facts dt {
  font-size: 12px;
  color: var(--muted);
}
.account-facts dd {
  margin: 5px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.booking-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.booking-tabs a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.booking-tabs a[aria-current] {
  background: var(--brand-deep);
  color: #fff;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  font-size: 14px;
}
.privacy-callout {
  display: flex;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  background: #f1f4ef;
  color: #526358;
  font-size: 13px;
}
.privacy-callout a,
.account-content p a {
  text-decoration: underline;
}
.stored-identity {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.identity-removal {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.identity-removal p {
  margin: 12px 0 20px;
  color: var(--muted);
}
.arrival-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.comparison-number,
.contact-number {
  font-size: 26px;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}
.identity-comparison {
  border: 2px solid var(--brand-gold);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1080px;
  margin: 42px auto 70px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}
.auth-story {
  background: var(--brand-deep);
  color: #fff;
  padding: 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 640px;
}
.auth-story .eyebrow {
  color: #e4c6a0;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.auth-story h2 {
  font-size: 42px;
  margin: 28px 0 20px;
  line-height: 1.12;
}
.auth-story > p:not(.eyebrow) {
  color: #d8e5da;
  max-width: 300px;
}
.auth-story-art {
  background-image: url("../images/nyanza-destinations.webp");
  background-size: 300% 200%;
  background-color: #e7d5ac;
  height: 210px;
  border-radius: 100% 100% 0 0;
  margin: 40px -10px 24px;
  position: relative;
}
.auth-story > span {
  font-size: 12px;
  color: #e4c6a0;
  margin-top: auto;
}
.auth-form-panel {
  padding: 44px;
  min-width: 0;
}
.auth-form-panel h1 {
  font-size: 30px;
  margin: 12px 0;
}
.auth-form-panel > p {
  color: var(--muted);
  margin: 12px 0 24px;
}
.auth-form-panel form p,
.account-form > p {
  margin: 18px 0;
}
.auth-form-panel label,
.account-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
  font-size: 13px;
}
.auth-form-panel input,
.account-form select,
.account-form input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid #b9c4b8;
  border-radius: 10px;
  padding: 13px;
  background: var(--canvas);
}
.auth-form-panel .helptext,
.account-form .helptext {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.auth-form-panel ul,
.account-form ul {
  padding-left: 20px;
  font-size: 12px;
  color: var(--muted);
}
.errorlist {
  color: #9d352b !important;
}
.password-toggle {
  display: block;
  font-size: 12px;
  background: none;
  border: none;
  padding: 8px 0;
  color: var(--brand-deep);
  text-decoration: underline;
}
.auth-form-panel [type="submit"] {
  width: 100%;
  margin: 16px 0;
}
.auth-form-panel a {
  text-decoration: underline;
}
.account-form [type="submit"] {
  margin-top: 20px;
}
.save-stay-form {
  display: contents;
}
@media (max-width: 1000px) {
  .account-layout {
    gap: 28px;
    grid-template-columns: 200px minmax(0, 1fr);
    padding: 0 24px;
  }
  .auth-layout {
    margin: 28px 24px 60px;
  }
  .auth-story,
  .auth-form-panel {
    padding: 32px;
  }
  .auth-story h2 {
    font-size: 34px;
  }
  .account-page-heading {
    align-items: start;
    flex-direction: column;
  }
  .account-content h1 {
    font-size: 29px;
  }
  .account-booking-card {
    gap: 14px;
    padding: 14px;
  }
  .booking-card-image,
  .booking-card-placeholder {
    width: 105px;
  }
  .card-title-row {
    display: block;
  }
  .status-pill {
    margin-top: 7px;
  }
}
@media (max-width: 768px) {
  .account-layout {
    display: block;
    padding: 0 20px;
    margin-top: 22px;
  }
  .account-sidebar {
    position: static;
    border-right: 0;
    padding-right: 0;
    margin-bottom: 28px;
  }
  .account-home {
    margin-bottom: 15px;
  }
  .account-sidebar nav {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding-bottom: 10px;
  }
  .account-sidebar nav a {
    white-space: nowrap;
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 10px 12px;
  }
  .account-sidebar nav .icon {
    display: none;
  }
  .account-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 6px 0 0;
    padding: 16px 0 0;
  }
  .account-switches form {
    margin: 0;
  }
  .account-content h1 {
    font-size: 28px;
  }
  .completion-card,
  .journey-card,
  .local-import-card,
  .account-panel,
  .profile-form-card {
    padding: 20px;
  }
  .journey-card,
  .local-import-card {
    align-items: start;
    flex-direction: column;
  }
  .account-section-heading h2 {
    font-size: 19px;
  }
  .account-saved-grid {
    gap: 16px;
  }
  .account-booking-card {
    display: block;
  }
  .booking-card-image,
  .booking-card-placeholder {
    width: 100%;
    height: 150px;
    min-height: 0;
    margin-bottom: 14px;
  }
  .account-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .arrival-row {
    display: block;
  }
  .auth-layout {
    display: block;
    margin: 22px 20px 45px;
  }
  .auth-story {
    min-height: 0;
    padding: 26px;
  }
  .auth-story h2 {
    font-size: 28px;
    margin: 15px 0;
  }
  .auth-story-art,
  .auth-story > span {
    display: none;
  }
  .auth-story > p:not(.eyebrow) {
    max-width: none;
    font-size: 13px;
  }
  .auth-form-panel {
    padding: 26px;
  }
  .account-content .outline-button,
  .account-content .dark-button {
    font-size: 13px;
  }
  .completion-heading h2 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  progress {
    transition: none;
  }
}

.settings-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  margin: 22px 0;
}
.settings-card h2 {
  margin-bottom: 12px;
}
.settings-card p {
  margin: 12px 0;
}
.account-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.account-detail-list dt {
  color: var(--muted);
  font-size: 12px;
}
.account-detail-list dd {
  margin: 5px 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.identity-audit-item {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 768px) {
  .settings-card {
    padding: 20px;
  }
  .account-detail-list {
    grid-template-columns: 1fr;
  }
}

/* Shared profile overview and editor. */
.account-layout {
  max-width: 1440px;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 64px;
  margin-top: 54px;
}
.profile-sidebar-title {
  font-size: 29px;
  letter-spacing: -0.04em;
  margin: 0 0 30px;
}
.account-home {
  margin-bottom: 22px;
}
.profile-heading {
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.profile-heading h1 {
  margin: 0;
}
.profile-edit-link {
  border-radius: 9px;
  padding: 10px 16px;
  background: #f5f5f5;
  font-size: 13px;
  font-weight: 600;
}
.profile-overview {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(190px, 1fr);
  gap: 42px;
  align-items: center;
}
.profile-identity-card {
  padding: 36px 24px 28px;
  border-radius: 26px;
  box-shadow: 0 7px 30px #0000000d;
  border: 1px solid #f3f3f3;
  text-align: center;
}
.profile-large-avatar {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfedf8;
  color: #155183;
  font-size: 62px;
  font-weight: 650;
  object-fit: cover;
  margin: 0 auto 16px;
}
.profile-identity-card h2 {
  font-size: 30px;
  letter-spacing: -0.03em;
  margin: 10px 0 2px;
}
.profile-identity-card p {
  color: var(--muted);
  font-size: 13px;
}
.profile-invitation h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.profile-invitation p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin: 12px 0 20px;
}
.profile-invitation .dark-button {
  padding: 12px 22px;
  border-radius: 10px;
}
.profile-reviews {
  border-block: 1px solid var(--line);
  padding: 27px 0;
  margin: 34px 0;
}
.profile-reviews summary {
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
}
.profile-reviews > div {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
}
.profile-reviews article {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.profile-facts,
.about-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin: 22px 0;
}
.profile-facts > div {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.profile-facts span {
  color: var(--muted);
}
.profile-interests {
  margin: 25px 0;
  line-height: 1.7;
}
.booking-readiness > summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--brand-deep);
  font-weight: 600;
  padding: 8px 0;
}
.about-editor {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 45px;
}
.about-avatar-editor {
  text-align: center;
  padding-top: 12px;
}
.about-avatar-editor .profile-large-avatar {
  width: 150px;
  height: 150px;
  font-size: 70px;
}
.about-avatar-editor label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 10px 0;
}
.about-avatar-editor input[type="file"] {
  font-size: 11px;
  max-width: 100%;
}
.about-avatar-editor p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 15px;
}
.about-editor-details > .muted {
  font-size: 13px;
  line-height: 1.65;
}
.about-field {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.about-field label {
  display: block;
  font-size: 12px;
  color: #737373;
  margin-bottom: 8px;
}
.about-field input {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  outline-offset: 3px;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
}
.about-field input:focus {
  border-bottom-color: var(--brand-deep);
  outline: 1px solid transparent;
}
.about-editor-section {
  margin-top: 32px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.about-editor-section h2 {
  margin-bottom: 12px;
}
.about-editor-section input,
.about-editor-section textarea {
  padding: 15px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  margin-top: 12px;
}
.about-editor-section .muted {
  font-size: 13px;
}
.about-editor-actions {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 25px;
  font-size: 13px;
}
.profile-intro-dialog {
  width: min(570px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow-y: auto;
  border: 0;
  border-radius: 26px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 20px 80px #0003;
}
.profile-intro-dialog::backdrop {
  background: #0007;
}
.profile-intro-close {
  position: absolute;
  top: 15px;
  left: 15px;
}
.profile-welcome-art {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 155px;
  margin: 16px 0 24px;
}
.profile-welcome-art span {
  width: 95px;
  height: 112px;
  display: grid;
  place-items: center;
  background: #dceee9;
  color: #185548;
  border-radius: 45% 45% 35% 35%;
  transform: rotate(-12deg);
  font-size: 27px;
  font-weight: 650;
}
.profile-welcome-art span:nth-child(2) {
  transform: translateY(-15px);
  background: #f5e4c4;
  color: #8e5d16;
  font-size: 21px;
  z-index: 1;
}
.profile-welcome-art span:nth-child(3) {
  transform: rotate(12deg);
  background: #dfebf8;
  color: #325b86;
}
.profile-intro-dialog h2 {
  font-size: 31px;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.profile-intro-dialog > p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  margin: 20px 0 25px;
}
.profile-intro-dialog > .dark-button {
  display: flex;
  justify-content: center;
  border-radius: 12px;
}
.profile-intro-dialog details {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
}
.profile-intro-dialog summary {
  cursor: pointer;
  font-weight: 600;
}
.profile-intro-dialog details p {
  margin: 16px 0;
  color: var(--muted);
}
.marketing-preference {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
@media (max-width: 1050px) {
  .account-layout {
    gap: 30px;
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .about-editor {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-avatar-editor {
    max-width: 230px;
  }
  .profile-overview {
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .profile-invitation {
    padding: 5px 0;
  }
}
@media (max-width: 720px) {
  .account-layout {
    display: block;
    padding: 0 20px;
    margin-top: 25px;
  }
  .account-sidebar {
    position: static;
    padding: 0 0 18px;
    border-right: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }
  .profile-sidebar-title {
    margin-bottom: 18px;
  }
  .account-home,
  .account-sidebar .account-switches {
    display: none;
  }
  .account-sidebar nav {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 5px;
    padding-bottom: 5px;
  }
  .account-sidebar nav a {
    white-space: nowrap;
    flex: none;
    font-size: 12px;
  }
  .profile-overview {
    grid-template-columns: 1fr;
  }
  .profile-identity-card {
    padding: 27px 22px;
  }
  .profile-large-avatar {
    width: 110px;
    height: 110px;
    font-size: 48px;
  }
  .profile-invitation h2 {
    font-size: 22px;
  }
  .about-field-grid {
    gap: 0 20px;
  }
  .profile-intro-dialog {
    padding: 25px;
  }
  .profile-intro-dialog h2 {
    font-size: 27px;
  }
}
.styled-form input[type="checkbox"] {
  width: 19px;
  height: 19px;
  min-height: 19px;
  margin-right: 8px;
  accent-color: var(--brand-deep);
  vertical-align: middle;
}
.about-avatar-editor {
  min-width: 0;
  overflow-wrap: anywhere;
}
.about-avatar-editor .avatar-remove {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 14px 0;
  font-weight: 400;
}
.about-avatar-editor .avatar-remove input {
  width: 16px;
  height: 16px;
}
@media (max-width: 720px) {
  .about-avatar-editor {
    margin: 0 auto;
    padding: 0;
  }
  .about-avatar-editor .profile-large-avatar {
    width: 105px;
    height: 105px;
  }
}

/* Dashboard: focused overview */
.dashboard-heading h1 {
  margin: 4px 0 0;
}
.reviews-card {
  margin: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #fffaf0, #f2f8f5);
  box-shadow: 0 8px 28px #0a2e2410;
  overflow: hidden;
}
.reviews-card summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.reviews-card summary::-webkit-details-marker {
  display: none;
}
.reviews-card summary:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: -4px;
  border-radius: 20px;
}
.reviews-card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 2px 10px #0000000f;
}
.reviews-card-copy {
  display: grid;
  gap: 3px;
  flex: 1;
}
.reviews-card-copy strong {
  font-size: 16px;
}
.reviews-card-copy small {
  color: var(--muted);
  font-size: 13px;
}
.reviews-card-chevron {
  transition: transform 0.2s ease;
}
.reviews-card[open] .reviews-card-chevron {
  transform: rotate(90deg);
}
.reviews-card-body {
  padding: 4px 24px 22px;
  font-size: 14px;
  line-height: 1.6;
}
.reviews-card-body article {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.reviews-card-body h3 {
  font-size: 15px;
}
.reviews-card-meta {
  color: var(--muted);
  font-size: 13px;
}

/* About me page */
.profile-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.profile-edit-link .icon {
  width: 15px;
  height: 15px;
}
.profile-facts > div > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-facts > div > span .icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--brand-deep);
}

@media (prefers-reduced-motion: reduce) {
  .reviews-card-chevron,
  .about-row-button,
  .about-dashed,
  .about-soft-button {
    transition: none;
  }
}

/* About editor: focused page, rows open pop-up editors */
.account-layout.is-focused {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1040px;
}
.about-editor {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
/* The photo column scrolls with the form; it is never pinned. */
.about-avatar-editor {
  position: static;
  text-align: center;
  padding-top: 8px;
}
.about-avatar-frame {
  position: relative;
  display: inline-block;
}
.about-avatar-editor .profile-large-avatar {
  width: 170px;
  height: 170px;
  font-size: 80px;
  margin: 0;
  object-fit: cover;
}
.about-avatar-add {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 2px 10px #00000026;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.about-avatar-add:hover {
  box-shadow: 0 4px 14px #00000040;
}
.about-avatar-add .icon {
  width: 15px;
  height: 15px;
}
.about-avatar-editor input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.about-avatar-editor input[type="file"]:focus-visible + * {
  outline: 2px solid var(--brand-deep);
}
.about-avatar-editor p {
  margin-top: 26px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.about-editor-details h1 {
  font-size: 32px;
  margin: 0 0 10px;
}
.about-errors {
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid #f0b4a8;
  border-radius: 12px;
  background: #fff5f2;
  font-size: 13px;
}
.about-errors ul {
  margin: 6px 0 0 18px;
}
.about-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  margin: 26px 0 8px;
  padding: 0;
  list-style: none;
}
.about-row {
  border-bottom: 1px solid var(--line);
}
.about-row-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 14px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.about-row-button:hover,
.about-row-button:focus-visible {
  background: #f6f6f3;
}
.about-row-icon .icon {
  width: 22px;
  height: 22px;
  color: #3d4744;
}
.about-row-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.about-row-label {
  font-size: 14px;
  color: #4a4a47;
}
.about-row-value {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.about-block {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about-block h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.about-dashed {
  display: grid;
  gap: 4px;
  width: 100%;
  margin-top: 12px;
  padding: 18px;
  border: 1.5px dashed #c7c7c1;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.about-dashed:hover {
  border-color: #1d1d1b;
  background: #fafaf8;
}
.about-dashed .is-placeholder {
  color: var(--muted);
}
.about-dashed-link {
  text-decoration: underline;
  font-weight: 600;
  font-size: 14px;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.about-chip {
  padding: 9px 16px;
  border: 1px solid #1d1d1b;
  border-radius: 30px;
  font-size: 14px;
}
.about-chip-empty {
  border: 1.5px dashed #c7c7c1;
  color: var(--muted);
  min-width: 70px;
  text-align: center;
}
.about-soft-button {
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: #f1f1ee;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.about-soft-button:hover {
  background: #e6e6e1;
}
.about-editor-actions {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.about-editor-actions .dark-button {
  padding: 13px 26px;
  border-radius: 10px;
}

/* Pop-up editor */
.about-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 26px 28px 24px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 20px 60px #00000040;
  animation: about-dialog-in 0.18s ease-out;
}
.about-dialog::backdrop {
  background: #00000066;
  animation: about-fade-in 0.18s ease-out;
}
@keyframes about-dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}
@keyframes about-fade-in {
  from {
    opacity: 0;
  }
}
.about-dialog h2 {
  margin: 30px 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.about-dialog .muted {
  font-size: 15px;
  line-height: 1.5;
}
.about-dialog-close {
  position: absolute;
  top: 18px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.about-dialog-close:hover {
  background: #f1f1ee;
}
.about-dialog-close .icon {
  width: 18px;
  height: 18px;
}
.about-float {
  display: block;
  margin-top: 22px;
  padding: 10px 16px 12px;
  border: 1px solid #8f8f89;
  border-radius: 12px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.about-float:focus-within {
  border-color: #1d1d1b;
  box-shadow: 0 0 0 1px #1d1d1b;
}
.about-float > span:not(.sr-only) {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.about-float input,
.about-float textarea {
  width: 100%;
  padding: 2px 0 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 16px;
  resize: vertical;
}
.about-available {
  margin-top: 10px;
  text-align: right;
  color: var(--muted);
  font-size: 13px;
}
.about-dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin: 18px -28px -24px;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
}
.about-dialog-actions .dark-button {
  padding: 13px 28px;
  border-radius: 10px;
}

/* About page polish */
.profile-identity-card {
  box-shadow: 0 8px 36px #0000001a;
  border-radius: 28px;
}
.profile-facts {
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  margin: 34px 0 10px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.profile-interests h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  .about-editor {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-avatar-editor {
    margin: 0 auto;
  }
  .about-rows,
  .profile-facts {
    grid-template-columns: 1fr;
  }
  .about-dialog {
    padding: 22px 20px 20px;
  }
  .about-dialog-actions {
    margin: 18px -20px -20px;
    padding: 14px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-dialog,
  .about-dialog::backdrop {
    animation: none;
  }
}

.viewed-section {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.viewed-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.viewed-item {
  display: grid;
  gap: 8px;
  align-content: start;
}
.viewed-when {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Host contact: number, WhatsApp chat and phone call */
.host-contact {
  display: grid;
  gap: 14px;
  margin: 14px 0;
}
.host-contact-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.host-contact-who > div {
  display: grid;
  gap: 2px;
}
.host-contact-who span:not(.host-avatar) {
  color: var(--muted);
  font-size: 14px;
}
.host-contact-number {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
}
.host-contact-number a {
  color: inherit;
  text-decoration: none;
}
.host-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.host-whatsapp,
.host-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}
.host-whatsapp {
  background: #1faa59;
  color: #fff;
}
.host-call {
  background: #1d1d1b;
  color: #fff;
}
.host-whatsapp .icon,
.host-call .icon {
  width: 22px;
  height: 22px;
}
.host-whatsapp .icon {
  stroke: none;
}
.host-call .icon-stroke {
  fill: none;
  stroke: currentColor;
}
.booked-card {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid #b9dcc6;
  border-radius: 20px;
  background: #f1faf4;
}
.booked-card h2,
.booked-card h3,
.booked-card p {
  margin: 0;
}
.booked-card h3 {
  margin-top: 10px;
}
@media (max-width: 480px) {
  .host-contact-actions {
    grid-template-columns: 1fr;
  }
}

.booking-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff6e5;
  color: #6b4a00;
  line-height: 1.5;
}
.status-pending {
  background: #fff6e5;
  color: #8a5a00;
}
.status-declined {
  background: #fdecea;
  color: #a1281c;
}

@media(max-width:800px){.account-layout .account-sidebar{display:none!important}.account-layout{grid-template-columns:minmax(0,1fr)!important;gap:0!important}.account-content{min-width:0}}

.host-contact-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px}.host-contact-actions a{min-height:48px;justify-content:center}.host-contact-actions .host-call{order:0}.host-contact-actions .host-whatsapp{order:1}.host-contact-actions .host-message-app{order:2;display:flex;align-items:center;gap:9px;text-decoration:none;background:#1d573c;color:#fff;border:1px solid #1d573c;border-radius:10px;padding:14px 20px;font-size:14px}
.account-info-tabs{display:flex;gap:12px;margin:12px 0 24px}.account-info-tabs a{padding:12px 18px;border:1px solid #dce5dc;border-radius:24px;color:#3e5a42;font-size:13px;text-decoration:none}.account-info-tabs a[aria-current]{background:#23543b;color:#fff;border-color:#23543b}


.account-sidebar{position:static;border-right:0;background:none;box-shadow:none}
.account-sidebar .account-sidebar-links{display:grid;gap:4px;position:static;inset:auto;width:auto;max-width:none;height:auto;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.account-sidebar-links a,.account-sidebar-links>button,.account-sidebar-links form button{display:flex;align-items:center;gap:12px;min-height:44px;width:100%;padding:11px 8px;border:0;border-radius:7px;background:none;color:var(--ink);font:400 14px/1.5 "DM Sans",sans-serif;text-align:left;text-decoration:none;white-space:normal;cursor:pointer}
.account-sidebar-links .icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
.account-sidebar-links a:hover,.account-sidebar-links>button:hover,.account-sidebar-links form button:hover,.account-sidebar-links a[aria-current]{background:#eef4ec;color:var(--brand-deep)}
.account-sidebar-links hr{width:100%;border:0;border-top:1px solid var(--line);margin:14px 0}
.account-sidebar-links form{margin:0}
