/* Partner workspace and account surfaces. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.owner-nav {
  border-bottom: 1px solid rgba(15, 27, 45, .08);
  background: rgba(239, 247, 247, .9);
  backdrop-filter: blur(12px);
}

.site-footer--workspace .footer-inner,
.site-footer--workspace .footer-destinations { display: none; }
.site-footer--workspace .footer-bottom { padding-top: 18px; padding-bottom: 18px; }

.owner-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.owner-nav__brand {
  color: var(--text);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.owner-nav__links {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.owner-nav__links::-webkit-scrollbar { display: none; }

.owner-nav__link {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.owner-nav__link:hover,
.owner-nav__link.is-current {
  color: #12314c;
  background: rgba(46, 125, 220, .1);
  text-decoration: none;
}

.owner-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 72px;
  display: grid;
  gap: 22px;
}

.owner-welcome,
.owner-onboarding,
.owner-tours-section,
.profile-panel {
  border: 1px solid rgba(15, 27, 45, .09);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 40px rgba(31, 62, 91, .07);
}

.owner-welcome {
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(74, 176, 255, .16), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(139, 229, 100, .15), transparent 34%),
    #fff;
}

.owner-welcome__identity,
.owner-welcome__actions,
.owner-section-head,
.owner-tour-card__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.owner-welcome h1 { margin: 3px 0 5px; font-size: clamp(1.8rem, 4vw, 2.65rem); }
.owner-welcome p { margin: 0; }
.owner-welcome__actions { flex-wrap: wrap; justify-content: flex-end; }

.owner-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  color: #12314c;
  background: linear-gradient(135deg, #b9f09f, #a9dcff);
  font-weight: 850;
}

.owner-avatar--large { width: 86px; height: 86px; font-size: 1.35rem; }
.owner-avatar img { width: 100%; height: 100%; object-fit: cover; }

.owner-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.owner-stats article {
  min-height: 112px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(15, 27, 45, .09);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(31, 62, 91, .055);
}

.owner-stats span { color: var(--muted); font-size: .88rem; font-weight: 700; }
.owner-stats strong { font-size: 1.75rem; line-height: 1; }
.owner-progress { height: 6px; border-radius: 99px; overflow: hidden; background: #e5ebf1; }
.owner-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #63c66d, #2f82d4); }

.owner-onboarding {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr);
  gap: 28px;
}

.owner-onboarding h2,
.owner-tours-section h2 { margin: 4px 0 7px; }
.owner-onboarding p { margin: 0; }
.owner-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.owner-checklist__item {
  min-height: 64px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(46, 125, 220, .15);
  border-radius: 13px;
  color: var(--text);
  background: rgba(46, 125, 220, .045);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.owner-checklist__item:hover { border-color: rgba(46, 125, 220, .35); text-decoration: none; }
.owner-checklist__item.is-complete { color: #397546; border-color: rgba(82, 185, 109, .2); background: rgba(82, 185, 109, .07); }
.owner-checklist__icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #fff; }

.owner-tours-section { padding: 24px 26px 28px; }
.owner-section-head { justify-content: space-between; margin-bottom: 18px; }
.owner-section-head p { margin: 0; }

.owner-tour-filters {
  margin-bottom: 20px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px auto auto;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
  background: #f6f9fc;
}

.owner-tour-filters label { margin: 0; }
.owner-tour-filters .input { background: #fff !important; }
.owner-tour-filters button { cursor: pointer; }

.owner-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.owner-tour-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 27, 45, .1);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 62, 91, .06);
}

.owner-tour-card__image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9eef3; }
.owner-tour-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.owner-tour-card:hover .owner-tour-card__image img { transform: scale(1.025); }
.owner-status { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 99px; font-size: .74rem; font-weight: 800; box-shadow: 0 3px 12px rgba(0,0,0,.14); }
.owner-status--published { color: #215f2e; background: #ddf6e1; }
.owner-status--draft { color: #694e14; background: #fff0c6; }

.owner-tour-card__body { padding: 16px; }
.owner-tour-card__location { margin: 0 0 5px; color: var(--accent-2); font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.owner-tour-card h3 { min-height: 2.65em; margin: 0 0 14px; font-size: 1.02rem; line-height: 1.32; }
.owner-tour-card dl { margin: 0 0 16px; display: grid; gap: 5px; }
.owner-tour-card dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .83rem; }
.owner-tour-card dt { color: var(--muted); }
.owner-tour-card dd { margin: 0; font-weight: 700; text-align: right; }
.owner-tour-card__actions { justify-content: space-between; flex-wrap: wrap; }
.owner-tour-card__actions .button,
.owner-tour-card__actions .page-link { padding: 8px 11px; font-size: .82rem; }

.owner-empty { min-height: 280px; padding: 42px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; border: 1px dashed rgba(46, 125, 220, .25); border-radius: 17px; background: linear-gradient(145deg, rgba(139,229,100,.06), rgba(74,176,255,.07)); }
.owner-empty__icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #2f82d4; background: #e7f3ff; font-size: 1.8rem; }
.owner-empty h3 { margin: 5px 0 0; font-size: 1.3rem; }
.owner-empty p { max-width: 590px; margin: 0 0 5px; color: var(--muted); }

/* Profile and admin user editor share calm, labelled forms. */
.profile-shell { max-width: 1100px; margin: 0 auto; padding: 28px 20px 72px; }
.profile-head { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.profile-head h1 { margin: 3px 0 5px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.profile-head p { margin: 0; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .65fr); gap: 20px; align-items: start; }
.profile-main { display: grid; gap: 18px; }
.profile-panel { padding: 23px 24px; scroll-margin-top: 95px; }
.profile-panel h2 { margin: 0 0 6px; font-size: 1.25rem; }
.profile-panel__intro { margin: 0 0 19px; color: var(--muted); }
.profile-form { display: grid; gap: 15px; }
.profile-field { display: grid; gap: 6px; }
.profile-field label { margin: 0; }
.profile-help { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.profile-avatar-editor { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.profile-avatar-editor .owner-avatar { width: 96px; height: 96px; }
.profile-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-top: 3px; }
.profile-sidebar { position: sticky; top: 88px; display: grid; gap: 15px; }
.profile-preview { text-align: center; }
.profile-preview .owner-avatar { width: 110px; height: 110px; margin: 0 auto 13px; font-size: 1.5rem; }
.profile-preview h3 { margin: 0 0 4px; }
.profile-preview p { margin: 0; color: var(--muted); }
.profile-mini-stats { margin-top: 16px; padding-top: 15px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(15,27,45,.1); }
.profile-mini-stats strong, .profile-mini-stats span { display: block; }
.profile-mini-stats span { color: var(--muted); font-size: .72rem; }
.profile-alert { margin-bottom: 18px; padding: 13px 15px; border-radius: 13px; }
.profile-alert--success { color: #286438; background: #e5f6e8; border: 1px solid #bee7c6; }
.profile-alert--error { color: #8c2f28; background: #fff0ee; border: 1px solid #f1c9c5; }
.profile-alert ul { margin: 0; padding-left: 20px; }

@media (max-width: 900px) {
  .owner-stats { grid-template-columns: repeat(2, 1fr); }
  .owner-onboarding { grid-template-columns: 1fr; }
  .owner-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; order: -1; }
}

@media (max-width: 640px) {
  .owner-nav__inner { padding: 8px 14px; display: block; }
  .owner-nav__brand { display: block; margin: 0 0 6px 4px; }
  .owner-nav__links { flex-wrap: wrap; overflow-x: visible; }
  .owner-nav__link { padding: 6px 9px; font-size: .82rem; }
  .owner-shell, .profile-shell { padding: 18px 14px 52px; }
  .owner-welcome { padding: 20px; align-items: flex-start; flex-direction: column; }
  .owner-welcome__identity { align-items: flex-start; }
  .owner-avatar--large { width: 62px; height: 62px; font-size: 1rem; }
  .owner-welcome__actions { width: 100%; justify-content: stretch; }
  .owner-welcome__actions a { flex: 1 1 auto; justify-content: center; text-align: center; }
  .owner-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-stats article { min-height: 96px; padding: 15px; }
  .owner-onboarding, .owner-tours-section, .profile-panel { padding: 19px 17px; border-radius: 17px; }
  .owner-checklist, .owner-tour-grid { grid-template-columns: 1fr; }
  .owner-section-head { align-items: flex-start; }
  .owner-tour-filters { grid-template-columns: 1fr; }
  .owner-tour-card h3 { min-height: 0; }
  .profile-head { align-items: flex-start; flex-direction: column; }
  .profile-avatar-editor { grid-template-columns: 72px minmax(0, 1fr); }
  .profile-avatar-editor .owner-avatar { width: 72px; height: 72px; }
  .profile-actions { justify-content: stretch; }
  .profile-actions button { width: 100%; }
}
