:root {
  --bg: #f7f7f7;
  --bg-soft: #ffffff;
  --ink: #222222;
  --text: #222222;
  --muted: #6a6a6a;
  --line: #dddddd;
  --line-soft: #ebebeb;
  --brand: #ff385c;
  --primary: #ff385c;
  --brand-2: #ff7a59;
  --font-body: "Manrope", "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --font-head: "Manrope", "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --lh-body: 1.45;
  --lh-head: 1.1;
  --fs-h1: 20px;
  --fs-h2: 17px;
  --fs-h3: 16px;
  --hero-grad: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  --surface-card: #ffffff;
  --surface: #ffffff;
  --surface-border: rgba(34, 34, 34, 0.08);
  --surface-border-strong: rgba(34, 34, 34, 0.12);
  --surface-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  --surface-shadow-soft: 0 8px 22px rgba(15, 23, 42, 0.04);
  --pill-bg: #ffffff;
  --card-radius: 10px;
  --btn-radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: var(--lh-body);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  text-rendering: optimizeLegibility;
}

body.public-shell {
  min-height: 100vh;
}

.site-izmir {
  --bg: #f7f8fb;
  --bg-soft: #f5fbff;
  --ink: #24303f;
  --text: #24303f;
  --muted: #6b7280;
  --line: #d9dee7;
  --line-soft: #eceff4;
  --brand: #356ae6;
  --primary: #356ae6;
  --brand-2: #ff8a3d;
  --font-body: "Manrope", "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --font-head: "Manrope", "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --hero-grad: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  --surface-card: #ffffff;
  --surface: #ffffff;
  --surface-border: rgba(36, 48, 63, 0.08);
  --surface-border-strong: rgba(36, 48, 63, 0.12);
  --surface-shadow: 0 12px 32px rgba(24, 39, 75, 0.06);
  --surface-shadow-soft: 0 8px 22px rgba(24, 39, 75, 0.045);
  --pill-bg: #ffffff;
  --card-radius: 10px;
  --btn-radius: 8px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-head);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-head);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.shell-frame {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}
.shell-header-band {
  align-self: start;
}
.shell-main {
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 16px;
}
.logo { font-weight: 800; letter-spacing: 0.2px; }
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-logo-image {
  height: 34px;
  width: auto;
  display: block;
}
.topbar-shell .site-logo-image,
.admin-shell .site-logo-image {
  height: 25px;
}
.site-logo-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}
.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}
.menu-link,
.menu-logout {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 999px;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.topbar-shell {
  gap: 16px;
  padding: 18px 0 22px;
}
.topbar-shell .topbar-actions {
  gap: 14px;
}
.topbar-shell .menu-link,
.topbar-shell .menu-logout {
  padding: 9px 12px;
}

.admin-shell .admin-grouped-menu {
  gap: 8px;
  flex-wrap: nowrap;
}

.admin-shell .admin-nav-group {
  position: relative;
}

.admin-shell .admin-nav-group-trigger {
  list-style: none;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 12px;
}

.admin-shell .admin-nav-group-trigger::-webkit-details-marker {
  display: none;
}

.admin-shell .admin-nav-group-trigger:hover,
.admin-shell .admin-nav-group-trigger:focus-visible,
.admin-shell .admin-nav-group-trigger.is-active {
  border-color: #d9e4f2;
  background: #f6f9fd;
  color: var(--ink);
  outline: none;
}

.admin-shell .admin-nav-group-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 45;
  min-width: 170px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--surface-shadow-soft);
}

.admin-shell .admin-nav-group-panel .menu-link {
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 7px 9px;
  text-align: left;
}
.menu-link:hover,
.menu-link:focus-visible,
.menu-logout:hover,
.menu-logout:focus-visible {
  border-color: #d9e4f2;
  background: #f6f9fd;
  color: var(--ink);
  outline: none;
}
.menu-logout-form {
  display: inline-block;
  margin: 0;
}
.menu-status-link {
  color: var(--ink);
  border-color: #d9e4f2;
  background: #f6f9fd;
}
.menu-link.is-active,
.menu-logout.is-active {
  color: var(--ink);
  border-color: #d9e4f2;
  background: #f6f9fd;
}
.shell-mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}
.shell-mobile-menu-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  background: #f6f9fd;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.shell-mobile-menu-toggle::-webkit-details-marker {
  display: none;
}
.shell-mobile-menu[open] .shell-mobile-menu-toggle {
  background: #eef4fb;
}
.shell-mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  min-width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--surface-shadow-soft);
}
@media (min-width: 641px) {
  .shell-mobile-menu {
    display: none !important;
  }
}
.shell-mobile-menu-list {
  display: grid;
  gap: 6px;
}
.shell-mobile-menu-form {
  margin: 0;
}
.shell-mobile-menu-link,
.shell-mobile-menu-link-button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9e4f2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
.shell-mobile-menu-link-button {
  cursor: pointer;
}
.shell-mobile-menu-link.is-status,
.shell-mobile-menu-link-button.is-status {
  background: #f6f9fd;
}
.shell-mobile-menu-link.is-active,
.shell-mobile-menu-link-button.is-active {
  border-color: #d9e4f2;
  background: #f6f9fd;
}

.ui-surface-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.ui-surface-head-copy h2 {
  margin: 0;
}
.ui-surface-head-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ui-surface-head-summary {
  margin: 8px 0 0;
  color: var(--muted);
}
.ui-surface-head-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ui-surface-stat {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.ui-empty-state {
  padding: 18px;
}
.ui-empty-state--table {
  padding: 0;
}
.ui-empty-state-title {
  margin: 0 0 6px;
  font-size: 17px;
}
.ui-empty-state-body {
  margin: 0;
  color: var(--muted);
}
.ui-table-empty {
  padding: 18px;
  text-align: center;
}

.hero {
  margin-top: 10px;
  padding: 2px 0 10px;
}
.hero h1 {
  margin: 0 0 10px;
}
.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 58ch;
}
.btn {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.btn:hover {
  border-color: var(--line);
  background: #f7f7f7;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.18);
}
.btn.brand,
.btn.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn.brand:hover,
.btn.btn-primary:hover {
  background: #e43152;
  border-color: #e43152;
}
.btn.alt {
  background: var(--brand-2);
  color: #fff;
  border-color: var(--brand-2);
}
.btn.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn.btn-secondary:hover {
  background: #f7f7f7;
  color: var(--ink);
  border-color: var(--line);
}
.btn.btn-ghost,
.btn.btn-outline-secondary {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.btn.btn-ghost:hover,
.btn.btn-outline-secondary:hover {
  background: #f7f7f7;
  color: var(--ink);
}

.section { margin-top: 32px; }
.section h2 { margin: 0 0 8px; }
.section p.lead { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.section h1 { margin: 0 0 10px; }
.section-tight { margin-top: 14px; }
.homepage-section {
  display: grid;
  gap: 16px;
}
.page-hero-home + .homepage-section,
.homepage-section + .homepage-section {
  margin-top: 44px;
}
.page-hero-home {
  margin-top: 2px;
  padding: 8px 0 12px;
}
.page-hero-home h1 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.page-hero-home .page-subtitle {
  max-width: 56ch;
  color: #506277;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.homepage-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.homepage-section-copy {
  display: grid;
  gap: 0;
  max-width: 56ch;
}
.homepage-section-head h2 {
  margin: 0;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.homepage-section-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.homepage-section-note {
  max-width: 36ch;
  text-align: right;
}
.homepage-trending-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.homepage-trending-card {
  min-width: 0;
}
.homepage-trending-card-link {
  display: grid;
  min-height: 100%;
  border: 1px solid rgba(175, 191, 210, 0.48);
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(14, 31, 53, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.homepage-trending-card-link:hover,
.homepage-trending-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(120, 145, 173, 0.58);
  box-shadow: 0 14px 26px rgba(14, 31, 53, 0.07);
}
.homepage-trending-card-cover {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  background: #f3f6fb;
  border-bottom: 1px solid #e4ebf5;
}
.homepage-trending-card-cover--placeholder {
  background: linear-gradient(135deg, #f6f9fd 0%, #e7eef8 100%);
}
.homepage-trending-card-body {
  display: grid;
  gap: 5px;
  padding: 12px;
}
.homepage-trending-card-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.homepage-trending-card-body h3 {
  margin: 0;
}
.homepage-trending-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #68778b;
  font-size: 12px;
  line-height: 1.4;
}
.homepage-trending-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}
.homepage-trending-card-meta-item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke: #8091a4;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.homepage-trending-card-meta-item:last-child svg {
  fill: #8091a4;
  stroke: none;
}
.homepage-value-section {
  gap: 12px;
}
.homepage-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.homepage-value-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 14px 22px 14px 0;
  border-right: 1px solid #dbe4ee;
  background: transparent;
}
.homepage-value-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #e6f4ea;
  color: #1f8a52;
}
.homepage-value-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.homepage-value-copy {
  display: grid;
  gap: 6px;
}
.homepage-value-copy h2,
.homepage-promo-copy h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.homepage-value-copy p,
.homepage-promo-copy p {
  margin: 0;
  color: #506277;
  font-size: 14px;
  line-height: 1.6;
}
.homepage-promo-section {
  gap: 12px;
}
.homepage-promo-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 0.96fr);
  gap: 0;
  align-items: center;
  min-height: 340px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #f7f8fa 0%, #f2f4f7 100%);
}
.homepage-promo-media {
  aspect-ratio: 1 / 1;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 20px;
  background: transparent;
}
.homepage-promo-media-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(219, 228, 238, 0.9);
  background: #eef3f8;
}
.homepage-promo-media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}
.homepage-promo-copy {
  display: grid;
  gap: 14px;
  padding: 28px 36px 28px 22px;
  align-content: center;
}
.homepage-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 132px;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: #e5105c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  box-shadow: none;
  transition: none;
  text-decoration: none;
}
.homepage-promo-cta:hover,
.homepage-promo-cta:focus-visible,
.homepage-promo-cta:active,
.homepage-promo-cta:visited {
  background: #e5105c;
  color: #ffffff;
  box-shadow: none;
  transform: none;
  text-decoration: none;
}
.homepage-promo-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.homepage-promo-copy p {
  margin: 0;
  max-width: 42ch;
  color: #42556d;
  font-size: 19px;
  line-height: 1.65;
}
.homepage-category-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}
.homepage-category-group {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.homepage-category-group h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.homepage-category-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  max-width: 320px;
}
.homepage-featured-section .grid {
  gap: 14px;
}
.homepage-featured-section {
  gap: 10px;
}
@media (min-width: 900px) {
  .page-hero-home h1 {
    white-space: nowrap;
  }
}
.homepage-category-link {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}
.homepage-category-link:hover,
.homepage-category-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.homepage-category-more {
  display: grid;
  gap: 14px;
}
.homepage-category-more-toggle {
  width: fit-content;
  cursor: pointer;
  color: #506277;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}
.homepage-category-more-toggle::-webkit-details-marker {
  display: none;
}
.homepage-category-more-toggle::after {
  content: ' +';
}
.homepage-category-more[open] .homepage-category-more-toggle::after {
  content: ' -';
}
.homepage-category-links--expanded {
  padding-top: 2px;
}

@media (max-width: 767.98px) {
  .homepage-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .page-hero-home + .homepage-section,
  .homepage-section + .homepage-section {
    margin-top: 32px;
  }

  .page-hero-home {
    padding-top: 8px;
  }

  .homepage-trending-grid {
    grid-template-columns: 1fr;
  }
  .homepage-value-grid,
  .homepage-promo-card {
    grid-template-columns: 1fr;
  }
  .homepage-promo-card {
    align-items: start;
    gap: 0;
    border-radius: 18px;
    min-height: 0;
  }
  .homepage-promo-media {
    aspect-ratio: auto;
    padding: 16px 16px 0;
  }
  .homepage-promo-media-frame {
    aspect-ratio: 14 / 9;
    border-radius: 5px;
  }
  .homepage-promo-cta {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
  .homepage-promo-copy {
    padding: 22px 20px 24px;
  }

  .homepage-category-directory-grid {
    grid-template-columns: 1fr;
  }

  .homepage-category-group {
    padding: 16px;
  }
}

.page-hero {
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: var(--hero-grad);
  box-shadow: var(--surface-shadow-soft);
  padding: 18px;
}
.page-hero-home {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 0 8px;
}
.homepage-hero-card {
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 0.88fr);
  min-height: 0;
}
.homepage-hero-copy {
  display: grid;
  gap: 12px;
  max-width: none;
  padding: 28px 18px 28px 32px;
}
.homepage-hero-media {
  order: 2;
  padding: 22px 32px 22px 10px;
}
.homepage-hero-media-frame {
  aspect-ratio: 5 / 4;
}
.homepage-hero-media-frame img {
  object-position: 58% center;
}
.homepage-hero-cta {
  width: fit-content;
}
.page-hero-home h1 {
  margin-bottom: 0;
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.page-hero-home .page-subtitle {
  max-width: 78ch;
  color: #506277;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
}
@media (max-width: 767.98px) {
  .homepage-hero-card {
    grid-template-columns: 1fr;
  }
  .homepage-hero-copy {
    order: 1;
    padding: 20px 20px 24px;
  }
  .homepage-hero-media {
    order: -1;
    padding: 16px 16px 0;
  }
  .homepage-hero-media-frame {
    aspect-ratio: 14 / 9;
  }
  .homepage-hero-cta {
    width: 100%;
  }
  .page-hero-home h1 {
    font-size: clamp(24px, 8vw, 32px);
  }
}
.page-hero-compact {
  padding-top: 16px;
  padding-bottom: 16px;
}
.public-content-entry {
  margin-top: 18px;
}

.public-content-entry > div > :first-child {
  margin-top: 0;
}

.public-content-entry > div > :last-child {
  margin-bottom: 0;
}

.public-content-entry h2,
.public-content-entry h3 {
  color: var(--ink);
  line-height: 1.3;
}

.public-content-entry h2 {
  margin: 28px 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.public-content-entry h3 {
  margin: 22px 0 10px;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.public-content-entry p,
.public-content-entry ul,
.public-content-entry ol {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.public-content-entry ul,
.public-content-entry ol {
  padding-left: 20px;
}

.public-content-entry li + li {
  margin-top: 8px;
}

.public-content-entry strong {
  color: var(--ink);
}

.public-content-entry a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.service-category-pricing-section {
  display: grid;
  gap: 16px;
}

.service-category-pricing-card {
  margin-top: 0;
  padding: 12px 14px;
  border-radius: 10px;
}

.service-category-section-title {
  margin: 0;
  color: var(--ink);
}

.service-category-section-title,
.service-category-story-copy h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.service-category-section-summary {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.service-category-group-title {
  margin: 0;
  color: var(--ink);
}

.service-category-pricing-table {
  margin-top: 6px;
  font-size: 13px;
}

.service-category-pricing-table thead th,
.service-category-pricing-table tbody th {
  color: var(--ink);
  font-weight: 700;
  padding: 7px 8px;
}

.service-category-pricing-table td {
  color: var(--text);
  padding: 7px 8px;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
}

.cover-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--surface-shadow-soft);
}

.service-category-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 380px);
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
  margin-top: 0;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.service-category-story-copy {
  display: grid;
  gap: 14px;
  max-width: 64ch;
}

.service-category-story-copy h2 {
  margin: 0;
}

.service-category-story-kicker {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 54ch;
}

.service-category-story-copy p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.service-category-story-copy .service-category-story-kicker {
  margin-top: 2px;
  margin-bottom: 12px;
}

.service-category-story-copy .service-category-story-description {
  margin-top: 6px;
}

.service-category-story-media {
  display: flex;
  justify-content: center;
}

.service-category-story-image {
  width: min(100%, 340px);
  height: min(100vw, 340px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  box-shadow: var(--surface-shadow-soft);
  background: var(--surface-card);
}

.service-category-faq-card {
  margin-top: 0;
  padding: 18px 20px;
}

.service-category-faq-list {
  display: grid;
  gap: 10px;
}

.service-category-faq-item {
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: var(--bg-soft);
  padding: 0 16px 14px;
}

.service-category-faq-item[open] {
  background: var(--surface-card);
}

.service-category-faq-item summary {
  list-style: none;
  cursor: default;
  padding: 14px 0 0;
  font-weight: 600;
  color: var(--ink);
}

.service-category-faq-item summary::-webkit-details-marker {
  display: none;
}

.service-category-faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.empty-state {
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: var(--surface-card);
  padding: 14px;
  box-shadow: var(--surface-shadow-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface-card);
  padding: 14px;
  overflow: hidden;
}
.card-cover {
  width: 100%;
  height: 190px;
  max-width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: block;
  flex-shrink: 0;
}
.card img { max-width: 100%; }
.card h3 {
  margin: 0 0 8px;
  letter-spacing: .15px;
}
.meta { color: var(--muted); font-size: 14px; }
.card-btn { margin-top: 8px; }
.listing-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 12px;
  border-color: #d9e4f2;
  box-shadow: 0 14px 30px rgba(14, 31, 53, 0.07);
}
.listing-card-cover-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background: #f5f8fc;
}
.listing-card-cover {
  height: 100%;
  max-height: none;
  margin-bottom: 0;
  object-position: center center;
  transition: transform 0.25s ease;
}
.listing-card-cover-link:hover .listing-card-cover {
  transform: scale(1.03);
}
.listing-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
}
.listing-card-header {
  display: grid;
  gap: 8px;
}
.listing-card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.listing-card-row-title {
  align-items: flex-start;
}
.listing-card-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.listing-card-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #f3d39d;
  border-radius: 999px;
  background: #fff5df;
  color: #b76a00;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}
.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.listing-card-feature,
.listing-card-comments,
.listing-card-feature-chip {
  color: var(--muted);
  font-size: 13px;
}
.listing-card-feature,
.listing-card-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card-feature-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: currentColor;
  opacity: 0.82;
}
.listing-card-feature-chip,
.listing-card-comments {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d8e5f6;
  border-radius: 999px;
  background: #f5f9ff;
  padding: 4px 8px;
}
.listing-card-comments {
  white-space: nowrap;
}
.listing-card-row-price .listing-card-comments {
  color: #1f6f43;
  border-color: #b9e3ca;
  background: #eefaf2;
  font-weight: 700;
}
.listing-card-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.listing-card-price-block {
  display: grid;
  gap: 2px;
}
.listing-card-price-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.listing-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.listing-card-feature-secondary {
  text-align: right;
}
.listing-card-cta {
  margin-top: 0;
  text-align: center;
  width: 100%;
}
.listing-card-cta:hover {
  background: #fff;
  border-color: var(--line);
}
.listing-card-cta:active {
  border-color: var(--line);
  transform: translateY(1px);
}
@media (max-width: 640px) {
  .wrap {
    width: min(1120px, calc(100% - 16px));
  }

  .listing-card-row-title {
    flex-direction: row;
    align-items: flex-start;
  }
  .listing-card-footer {
    gap: 10px;
  }
  .listing-card-rating,
  .listing-card-feature-secondary {
    text-align: left;
  }
  .listing-card-rating {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .listing-card-price,
  .listing-card-comments,
  .listing-card-feature-chip {
    white-space: normal;
  }
}

.content {
  margin-top: 22px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--surface-card);
  box-shadow: var(--surface-shadow);
  padding: 22px;
}
.content h1 {
  margin-top: 0;
}
.content h2 { margin-top: 24px; }
.content p, .content li { color: var(--text); line-height: 1.6; }

.listing-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  align-items: start;
}

.listing-price {
  margin-top: 10px;
  font-size: 18px;
}

.listing-summary {
  margin-top: 10px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.listing-cta-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-card);
  padding: 14px;
}

.listing-cta-panel h3 {
  margin: 0 0 8px;
}

.breadcrumbs {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.shell-main-public > .breadcrumbs:first-child,
.shell-main-public > .hero:first-child {
  margin-top: 12px;
}

.filters {
  margin-top: 18px;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--surface-shadow-soft);
  padding: 14px;
}

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

.filters label {
  display: grid;
  gap: 6px;
}

.filters label span {
  color: var(--muted);
  font-size: 12px;
}

.filters select,
.filters input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  font: inherit;
}

.filter-actions {
  margin-top: 12px;
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.listing-sidebar {
  min-width: 0;
}

.mobile-filter-head,
.mobile-listing-actions,
.mobile-sort-sheet {
  display: none;
}

.mobile-filter-overlay {
  display: none;
}

.filters-panel {
  margin-top: 0;
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 24px);
  overflow: auto;
  border-color: var(--surface-border);
  box-shadow: var(--surface-shadow);
}

.filter-summary {
  margin-bottom: 14px;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  padding: 12px;
}

.filter-summary h2 {
  margin: 0 0 6px;
}

.filter-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.filters-panel .filter-grid > label {
  padding: 12px;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.filters-panel .filter-grid > label:focus-within {
  border-color: rgba(11, 47, 89, 0.22);
  box-shadow: 0 0 0 3px rgba(11, 47, 89, 0.12);
  transform: translateY(-1px);
}

.filters-panel .filter-grid > label > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.filter-card {
  padding: 0;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.filter-card:focus-within {
  border-color: rgba(11, 47, 89, 0.22);
  box-shadow: 0 0 0 3px rgba(11, 47, 89, 0.12);
  transform: translateY(-1px);
}

.filter-collapse-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.filter-collapse-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-collapse-count {
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 6px;
}

.filter-collapse-icon {
  width: 18px;
  height: 18px;
  border: 1px solid #dbe4f1;
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease;
  margin-right: 2px;
  background: #fff;
}

.filter-collapse-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: translate(-50%, -50%) rotate(45deg);
}

.filter-collapse-toggle[aria-expanded="true"] .filter-collapse-icon {
  transform: rotate(180deg);
}

.filter-multiselect[hidden] {
  display: none;
}

.filter-range-collapsible[hidden] {
  display: none;
}

.filter-multiselect {
  margin-top: 0;
  padding: 0 12px 12px;
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 10px;
  border-top: 1px solid #eef3f8;
}

.filter-range-collapsible {
  padding: 10px 14px 14px;
  border-top: 1px solid #eef3f8;
  display: grid;
  gap: 10px;
}

.filter-range-collapsible input {
  border-radius: 12px;
}

.filters .checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}

.filters .checkbox-line input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
}

.filters .checkbox-line span {
  flex: 1 1 auto;
}

.filter-card-collapsible {
  overflow: hidden;
}

.filter-card-collapsible .filter-collapse-toggle:hover {
  background: #fafcff;
}

.filter-card-collapsible .filter-collapse-toggle:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(11, 47, 89, 0.14);
}

.filter-collapse-action {
  font-size: 12px;
}

.sidebar-grid {
  grid-template-columns: 1fr;
}

.sidebar-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border);
  align-items: stretch;
  flex-direction: column;
}

.sidebar-actions .btn {
  width: 100%;
  text-align: center;
}

.listing-results {
  min-width: 0;
}

.listing-count {
  margin-bottom: 12px;
}

.listing-results-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--surface-shadow-soft);
}

.listing-count {
  margin-bottom: 0;
  flex: 1 1 320px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}

.listing-count strong {
  font-size: 18px;
  font-weight: 800;
}

.listing-results-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.listing-results-toolbar label {
  display: block;
  min-width: 0;
}

.listing-results-toolbar-sort > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.listing-results-toolbar select {
  width: 180px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #ccd9e8;
  border-radius: 5px;
  background: #fff;
}

.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 640px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }
  .service-category-story {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-category-story-media {
    order: -1;
  }
  .service-category-story-image {
    width: min(100%, 360px);
    height: min(100vw, 360px);
  }
  .listing-sidebar {
    order: -1;
  }
  .filters-panel {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
  .sidebar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }
}

@media (max-width: 1200px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .listing-results-toolbar {
    justify-content: flex-start;
  }
}

.pill-row {
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  padding: 4px 8px;
  font-size: 12px;
}

.sticky-cta {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-gallery {
  margin: 16px 0;
}

.listing-block {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-card);
  padding: 14px;
}

.listing-block h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fdfdfd;
  padding: 10px 12px;
  font-weight: 600;
  color: #233445;
}

.listing-main-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.listing-main-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.listing-thumbs {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.thumb-btn {
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
}

.thumb-btn.is-active {
  border-color: var(--brand);
}

.listing-thumbs img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 28, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 88vh;
  border-radius: 10px;
  border: 2px solid #fff;
  object-fit: contain;
  background: #111;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.portal-pagination-wrap {
  margin-top: 16px;
}

.portal-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.portal-pagination-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.portal-pagination-meta-label {
  font-weight: 600;
  color: #516277;
}

.portal-pagination-meta-value {
  color: #2f435b;
  font-weight: 600;
}

.portal-pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.portal-pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.portal-pagination-link,
.portal-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.portal-pagination-link:hover {
  border-color: #c9d7ea;
  background: #f4f8fd;
  color: #27415f;
}

.portal-pagination-link.is-active {
  border-color: #c9d7ea;
  background: #f3f7fc;
  color: #1f3550;
  box-shadow: inset 0 0 0 1px rgba(201, 215, 234, 0.35);
}

.portal-pagination-link.is-disabled {
  color: #7b8796;
  background: #f8fafc;
  border-color: #d9e1ec;
  pointer-events: none;
}

.portal-pagination-ellipsis {
  border-style: dashed;
  color: var(--muted);
}

.footer {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-main {
  display: grid;
  gap: 12px;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.footer-main-empty {
  padding: 12px 4px;
  background: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.footer-brand {
  min-width: 0;
}

.footer-brand-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.footer-bottom {
  padding-top: 10px;
}

.footer-brand-copy {
  color: var(--muted);
  line-height: 1.5;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  align-items: center;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.footer-link:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  color: #c7bcad;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .listing-hero { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .homepage-trending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .homepage-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .homepage-value-card:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }
  .homepage-category-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }
  .footer-top {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-main {
    padding: 14px 4px;
  }
  .footer-links {
    gap: 8px 0;
  }
  .footer-link:not(:last-child)::after {
    margin: 0 10px;
  }
}
@media (max-width: 1100px) {
  body.has-mobile-filter-open,
  body.has-mobile-sort-open {
    overflow: hidden;
  }
  .listing-layout {
    grid-template-columns: 1fr;
  }
  .listing-results-top {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
  }
  .listing-sidebar {
    position: static;
  }
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mobile-listing-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }
  .mobile-listing-action-btn {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
  }
  .mobile-filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 28, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 39;
  }
  .filters-panel {
    position: fixed;
    inset: auto 0 0 0;
    max-height: 84vh;
    overflow: auto;
    border-radius: 20px 20px 0 0;
    padding: 14px;
    background: #fff;
    z-index: 40;
    transform: translateY(105%);
    transition: transform 0.24s ease;
    box-shadow: 0 -10px 32px rgba(15, 20, 28, 0.18);
  }
  .listing-sidebar.is-mobile-open .filters-panel,
  .listing-sidebar.is-mobile-open .mobile-filter-overlay {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }
  .filter-summary {
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .pill-row {
    margin-bottom: 10px;
  }
  .mobile-filter-close,
  .mobile-sort-close {
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font: inherit;
    font-weight: 700;
  }
  .filters-panel .filter-grid > label {
    padding: 11px;
  }
  .sidebar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .listing-results-toolbar {
    display: none;
  }
  .sidebar-actions {
    position: sticky;
    bottom: -14px;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    margin: 16px -14px -14px;
    padding: 12px 14px 14px;
    background: rgba(243, 246, 251, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid #dbe4f1;
  }
  .sidebar-actions .btn {
    width: 100%;
  }
  .mobile-sort-sheet[hidden] {
    display: none;
  }
  .mobile-sort-sheet {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 28, 0.42);
    z-index: 41;
    padding: 20px 14px;
    display: flex;
    align-items: flex-end;
  }
  .mobile-sort-sheet-card {
    width: 100%;
    margin-top: auto;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 32px rgba(15, 20, 28, 0.18);
  }
  .mobile-sort-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }
  .mobile-sort-form label {
    display: grid;
    gap: 8px;
  }
  .mobile-sort-form label > span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .mobile-sort-form select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font: inherit;
  }
}
@media (max-width: 560px) {
  .listing-count {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
  }
  .listing-count strong {
    font-size: 17px;
  }
  .listing-results-toolbar select {
    width: 132px;
    min-height: 38px;
    padding: 7px 11px;
  }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: 1fr; }
  .topbar { gap: 10px; }
  .homepage-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .homepage-section-note {
    max-width: none;
    text-align: left;
  }
  .homepage-trending-grid {
    grid-template-columns: 1fr;
  }
  .homepage-value-grid {
    grid-template-columns: 1fr;
  }
  .homepage-value-card {
    border-right: 0;
    padding-right: 0;
  }
  .homepage-category-directory-grid,
  .homepage-category-links {
    grid-template-columns: 1fr;
  }
  .homepage-category-links {
    max-width: none;
  }
  .homepage-trending-card-cover {
    aspect-ratio: 16 / 10;
  }
  .homepage-trending-card-body {
    padding: 12px 14px 14px;
  }
  .sidebar-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .sidebar-actions .btn {
    width: 100%;
  }
  .filter-summary {
    padding: 11px;
  }
  .pill-row {
    gap: 6px;
  }
  .pill-row .pill {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .sticky-cta {
    position: sticky;
    bottom: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
  }
}

/* Portal/Auth shared shell */
.portal-shell {
  font-family: var(--font-body);
  color: var(--text);
}

.portal-shell .wrap {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto 20px;
}

.portal-shell .identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  max-width: 100%;
  margin-bottom: 12px;
}

.portal-shell .identity-name {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-shell .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.portal-shell .badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  background: #fff;
  color: var(--muted);
  line-height: 1.2;
}

.portal-shell .badge-primary {
  background: #f7f7f7;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 600;
}

.portal-shell .identity-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.portal-shell .btn {
  border: 1px solid var(--ink);
  border-radius: var(--btn-radius);
  padding: 11px 15px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

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

.portal-shell .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 6px 14px rgba(31, 27, 22, 0.06);
}

.portal-shell .muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.portal-shell h1,
.portal-shell h2 {
  margin: 0 0 10px;
}

.portal-shell p {
  margin: 0 0 10px;
}

.portal-shell table {
  width: 100%;
  border-collapse: collapse;
}

.portal-shell th,
.portal-shell td {
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 8px;
  font-size: 0.92rem;
  vertical-align: top;
}

.portal-shell th {
  color: var(--ink);
  background: var(--bg-soft);
}

.portal-shell .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.portal-shell .table-wrap table {
  min-width: 640px;
}

.portal-shell label {
  display: block;
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.portal-shell input:not([type="checkbox"]):not([type="radio"]),
.portal-shell textarea,
.portal-shell select {
  width: 100%;
  border: 1px solid #cfd7e6;
  border-radius: 10px;
  padding: 10px 11px;
  margin-bottom: 10px;
  font: inherit;
  background: #fff;
}

.portal-shell textarea {
  resize: vertical;
}

.portal-shell .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.portal-shell .metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.portal-shell .metric {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  background: var(--bg-soft);
  min-height: 84px;
}

.portal-shell .metric .k {
  color: var(--muted);
  font-size: 0.82rem;
  display: block;
  margin-bottom: 4px;
}

.portal-shell .metric .v {
  font-size: 1.1rem;
  font-weight: 700;
}

.portal-shell .account-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.portal-shell .account-overview-grid .metric,
.portal-shell .owner-overview-grid .metric {
  border-radius: 5px;
}

.portal-shell .account-overview-card {
  min-height: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.portal-shell .account-overview-card .k {
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.portal-shell .account-overview-card .v {
  font-size: 1.45rem;
  line-height: 1.1;
}

.portal-shell .support-shell-card {
  display: grid;
  gap: 18px;
  border-color: var(--surface-border);
  box-shadow: var(--surface-shadow-soft);
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.portal-shell .support-shell-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5563;
}

.portal-shell .support-shell-hero,
.portal-shell .support-shell-subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.portal-shell .support-shell-hero-copy,
.portal-shell .support-shell-subhead-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.portal-shell .support-shell-hero-copy h1,
.portal-shell .support-shell-subhead-copy h2 {
  margin: 0;
}

.portal-shell .support-shell-hero-actions,
.portal-shell .support-shell-subhead .btn {
  flex-shrink: 0;
}

.portal-shell .support-shell-metrics,
.portal-shell .support-shell-panels,
.portal-shell .support-requests-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portal-shell .support-shell-panel,
.portal-shell .support-shell-metric,
.portal-shell .support-requests-summary-item,
.portal-shell .support-filter-card,
.portal-shell .owner-request-filter-card,
.portal-shell .support-requests-table-wrap {
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: #fff;
}

.portal-shell .support-shell-metric,
.portal-shell .support-requests-summary-item {
  padding: 14px 16px;
}

.portal-shell .support-shell-metric {
  display: grid;
  gap: 6px;
}

.portal-shell .support-shell-metric-label,
.portal-shell .support-requests-summary-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.portal-shell .support-shell-metric-value,
.portal-shell .support-requests-summary-value {
  font-size: 1.65rem;
  line-height: 1;
  color: var(--ink);
}

.portal-shell .support-shell-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-shell .support-shell-panel {
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}

.portal-shell .support-shell-panel h2,
.portal-shell .support-filter-card h2 {
  margin: 0;
}

.portal-shell .support-shell-checklist {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.portal-shell .support-filter-card,
.portal-shell .owner-request-filter-card {
  padding: 16px;
}

.portal-shell .owner-request-filter-form {
  display: grid;
  grid-template-columns: minmax(170px, 260px) minmax(170px, 240px) auto;
  align-items: end;
  gap: 12px;
}

.portal-shell .owner-request-filter-field {
  display: grid;
  gap: 4px;
}

.portal-shell .owner-request-filter-actions,
.portal-shell .support-filter-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.portal-shell .support-requests-table-wrap {
  padding: 0;
  overflow: hidden;
}

.portal-shell .support-requests-table {
  min-width: 980px;
}

.portal-shell .support-requests-table th {
  font-size: 0.77rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
  padding-top: 14px;
  padding-bottom: 14px;
}

.portal-shell .support-requests-table td {
  vertical-align: top;
  padding-top: 12px;
  padding-bottom: 12px;
}

.portal-shell .support-request-primary {
  display: grid;
  gap: 4px;
  margin-bottom: 6px;
}

.portal-shell .support-request-mode {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
}

.portal-shell .support-request-title {
  color: var(--ink);
  font-size: 1rem;
}

.portal-shell .support-request-name,
.portal-shell .support-request-meta,
.portal-shell .support-request-price {
  font-size: 0.84rem;
}

.portal-shell .support-request-price {
  color: var(--ink);
  font-weight: 700;
}

.portal-shell .support-request-action-form {
  min-width: 180px;
}

.portal-shell .support-request-save .btn {
  min-height: 34px;
}

.portal-shell .support-shell-page {
  display: grid;
  gap: 12px;
}

.portal-shell .support-shell-hero-card,
.portal-shell .support-shell-surface {
  border-color: var(--surface-border);
  box-shadow: var(--surface-shadow-soft);
}

.portal-shell .support-shell-body {
  display: grid;
  gap: 12px;
  grid-template-columns: 240px 1fr;
}

.portal-shell .support-shell-content {
  min-width: 0;
}

.portal-shell .support-shell-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.portal-shell .support-shell-head-copy h2 {
  margin: 0 0 6px;
}

.portal-shell .support-shell-head-action {
  flex-shrink: 0;
}

.portal-shell .support-shell-mobile-nav {
  display: none;
}

.portal-shell .support-shell-nav {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
}

.portal-shell .account-tab.is-static {
  cursor: default;
  pointer-events: none;
}

.portal-shell .support-shell-overview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-shell .support-shell-info-card {
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.portal-shell .support-shell-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-shell .support-shell-section-head h3 {
  margin: 0;
  font-size: 1rem;
}

.portal-shell .support-shell-section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #374151;
}

.portal-shell .support-shell-section-pill {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: #fff;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 700;
}

.portal-shell .support-shell-request-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.portal-shell .support-shell-request-row,
.portal-shell .support-shell-empty-row {
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.portal-shell .support-shell-request-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.portal-shell .support-shell-empty-row {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .portal-shell .support-shell-metrics,
  .portal-shell .support-requests-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-shell .support-shell-panels {
    grid-template-columns: 1fr;
  }

  .portal-shell .support-shell-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-shell .support-shell-nav {
    display: none;
  }

  .portal-shell .support-shell-mobile-nav {
    display: block;
  }

  .portal-shell .support-shell-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .portal-shell .support-shell-hero,
  .portal-shell .support-shell-subhead {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-shell .support-shell-hero-actions .btn,
  .portal-shell .support-shell-subhead .btn,
  .portal-shell .support-filter-actions .btn {
    width: 100%;
  }

  .portal-shell .support-shell-metrics,
  .portal-shell .support-requests-summary {
    grid-template-columns: 1fr;
  }

  .portal-shell .support-filter-actions {
    justify-content: stretch;
  }

  .portal-shell .support-request-action-form {
    min-width: 0;
  }

  .portal-shell .support-shell-head,
  .portal-shell .support-shell-request-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-page .auth-main {
  padding: 20px 0 36px;
}

.auth-page .auth-stage {
  width: min(700px, 100%);
  margin: 0 auto;
}

.auth-page .auth-stage-login {
  width: min(680px, 100%);
}

.auth-page .auth-stage-register {
  width: min(720px, 100%);
}

.auth-page .auth-card {
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  border-radius: 20px;
  border-color: #d9e4f2;
  box-shadow: 0 20px 48px rgba(15, 37, 60, 0.1);
}

.auth-page .auth-card-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.auth-page .auth-card h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.08;
}

.auth-page .auth-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.auth-page .auth-form .form-label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.auth-page .auth-form .form-control {
  min-height: 50px;
  border-radius: 12px;
  border-color: #d7e2ef;
  padding: 11px 14px;
  font-size: 15px;
}

.auth-page .auth-form .form-control:focus {
  border-color: #a7bed8;
  box-shadow: 0 0 0 3px rgba(15, 37, 60, 0.08);
}

.auth-page .auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.auth-page .auth-actions .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.auth-page .auth-stage-register .auth-card {
  padding: 28px;
}

.auth-page .auth-stage-register .auth-card-head {
  margin-bottom: 22px;
}

.auth-page .auth-stage-register .form-label.mt-2 {
  margin-top: 14px !important;
}

.portal-shell .account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-shell .account-header-copy {
  display: grid;
  gap: 6px;
}

.portal-shell .account-header-copy h2,
.portal-shell .account-header-copy p {
  margin: 0;
}

.portal-shell .account-switch-action {
  width: fit-content;
}

.portal-shell .account-switch-action-desktop,
.portal-shell .owner-shell-secondary-action {
  display: inline-flex;
}

.portal-shell .owner-mobile-nav-entry {
  display: none;
}

.portal-shell .owner-shell-secondary-action.owner-mobile-nav-entry {
  display: inline-flex;
}

.portal-shell .tabs-mobile-panel {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
}

.portal-shell .account-shell-page {
  display: grid;
  gap: 12px;
}

.portal-shell .account-shell-mobile-nav {
  margin-top: 0;
}

.portal-shell .account-shell-hero {
  padding: 18px 18px 20px;
}

.portal-shell .account-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
  margin-top: 12px;
}

.portal-shell .account-shell-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
}

.portal-shell .account-shell-content,
.portal-shell .account-shell-surface {
  min-width: 0;
}

.portal-shell .account-shell-surface {
  padding: 22px 20px;
}

.portal-shell .account-shell-surface-messages {
  padding: 8px;
}

.portal-shell .account-shell-surface-messages .message-center-root {
  margin: 0;
  padding: 0;
}

.portal-shell .owner-shell {
  display: grid;
  gap: 12px;
}

.portal-shell .owner-shell-header {
  align-items: center;
}

.portal-shell .owner-shell-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
}

.portal-shell .owner-shell-content {
  min-width: 0;
}

.portal-shell .owner-shell-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.portal-shell .owner-shell-section-title {
  margin: 0;
}

.portal-shell .owner-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  font-weight: 700;
  white-space: nowrap;
}

.portal-shell .owner-mobile-nav-link.is-active {
  background: #f7f7f7;
  border-color: var(--line);
  color: var(--ink);
}

.portal-shell .owner-mobile-create-link {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.portal-shell .account-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-shell .account-tab {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--btn-radius);
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  font-weight: 600;
}

.portal-shell .account-tab.active {
  background: #f7f7f7;
  border-color: var(--line);
  color: var(--ink);
}

.portal-shell .owner-nav {
  gap: 8px;
  align-self: start;
}

.portal-shell .owner-nav-link {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.portal-shell .owner-nav-link:hover,
.portal-shell .owner-nav-link:focus-visible {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
}

.portal-shell .owner-nav-link.active {
  border-color: var(--line);
  background: #f7f7f7;
  color: var(--ink);
}

.portal-shell .owner-tabs-mobile {
  margin-bottom: 12px;
}

.portal-shell .quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.portal-shell .quick-card {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px;
  background: var(--bg-soft);
}

.portal-shell .status-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.portal-shell .status-pill-success {
  background: #eefaf2;
  color: #1f6f43;
  border-color: #b9e3ca;
}

.portal-shell .status-pill-warning {
  background: #fff6e8;
  color: #9a5b00;
  border-color: #efd3a4;
}

.portal-shell .status-pill-danger {
  background: #fff0f0;
  color: #b42318;
  border-color: #efc0c0;
}

.portal-shell .status-pill-info {
  background: #eef5ff;
  color: #2457a6;
  border-color: #c7d9f5;
}

.portal-shell .status-pill-muted {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #d8dde6;
}

.portal-shell .owner-review-reply-preview {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg-soft);
}

.portal-shell .owner-review-reply-compose {
  display: grid;
  gap: 8px;
}

.portal-shell .owner-review-reply-toggle {
  width: fit-content;
  cursor: pointer;
  list-style: none;
}

.portal-shell .owner-review-reply-toggle::-webkit-details-marker {
  display: none;
}

.portal-shell .reservation-payment-status {
  margin-top: 10px;
  margin-bottom: 14px;
}

.portal-shell .reservation-payment-card {
  margin-top: 0;
}

.portal-shell .account-profile-card,
.portal-shell .account-info-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-shell .account-profile-card {
  overflow: hidden;
}

.portal-shell .account-profile-card-body {
  padding: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.portal-shell .account-info-card-body {
  padding: 20px;
}

.portal-shell .account-profile-header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.portal-shell .account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.portal-shell .customer-request-page {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 20px;
}

.portal-shell .customer-request-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.025em;
}

.portal-shell .customer-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 24px;
  align-items: start;
}

.portal-shell .customer-request-form-card,
.portal-shell .customer-request-summary-card {
  border: 1px solid var(--surface-border-strong);
  border-radius: 16px;
  background: #fff;
}

.portal-shell .customer-request-form-card {
  padding: 22px 24px;
}

.portal-shell .customer-request-section-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.portal-shell .customer-request-section-title span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-border-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.portal-shell .customer-request-section-title h2 {
  margin: 0 0 5px;
}

.portal-shell .customer-request-section-title p {
  margin: 0;
}

.portal-shell .customer-request-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: start;
  max-width: 100%;
}

.portal-shell .customer-request-form-grid .form-label {
  margin-bottom: 6px;
}

.portal-shell .customer-request-form-grid .form-control {
  min-height: 42px;
}

.portal-shell .customer-request-form-span {
  min-width: 0;
}

.portal-shell .customer-request-form-span-full {
  grid-column: 1 / -1;
}

.portal-shell .customer-request-form-grid textarea.form-control {
  max-width: 100%;
  min-height: 78px;
}

.portal-shell .customer-request-actions {
  margin-top: 18px;
}

.portal-shell .customer-request-summary-card {
  position: sticky;
  top: 18px;
  overflow: hidden;
}

.portal-shell .customer-request-summary-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.portal-shell .customer-request-summary-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.portal-shell .customer-request-summary-head img {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  background: #f6f6f6;
}

.portal-shell .customer-request-summary-body h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.portal-shell .customer-request-summary-head .muted {
  margin: 6px 0 0;
}

.portal-shell .customer-request-summary-list,
.portal-shell .customer-request-price-box {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border);
}

.portal-shell .customer-request-summary-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(120px, max-content);
  column-gap: 14px;
  align-items: baseline;
  margin: 0;
  line-height: 1.45;
}

.portal-shell .customer-request-summary-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.portal-shell .customer-request-summary-row strong {
  color: #25384b;
  font-size: 0.92rem;
  font-weight: 560;
  text-align: right;
  white-space: nowrap;
}

.portal-shell .customer-request-summary-row--wide {
  grid-template-columns: 1fr;
  gap: 4px;
}

.portal-shell .customer-request-summary-row--wide strong {
  color: #25384b;
  text-align: left;
  white-space: normal;
}

.portal-shell .customer-request-payment-note {
  margin: 2px 0 0;
  font-size: 13px;
}

.portal-shell .owner-request-card-list {
  display: grid;
  gap: 14px;
}

.portal-shell .owner-request-card {
  overflow: hidden;
  display: grid;
  gap: 0;
  border: 1px solid #dfe7ef;
  border-radius: 5px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.portal-shell .owner-request-card.is-dirty {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.2), var(--surface-shadow-soft);
}

.portal-shell .owner-request-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.portal-shell .owner-request-customer {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.portal-shell .owner-request-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #dfe7ef;
  border-radius: 999px;
  background: #f4f7fb;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.portal-shell .owner-request-customer-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.portal-shell .owner-request-customer-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.portal-shell .owner-request-current-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.portal-shell .owner-request-customer-copy strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
}

.portal-shell .owner-request-customer-copy > span:not(.owner-request-customer-line),
.portal-shell .owner-request-customer-copy a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.portal-shell .owner-request-current-status.status-pill-success {
  background: #eefaf2;
  color: #1f6f43;
  border-color: #b9e3ca;
}

.portal-shell .owner-request-current-status.status-pill-warning {
  background: #fff6e8;
  color: #9a5b00;
  border-color: #efd3a4;
}

.portal-shell .owner-request-current-status.status-pill-danger {
  background: #fff0f0;
  color: #b42318;
  border-color: #efc0c0;
}

.portal-shell .owner-request-current-status.status-pill-info {
  background: #eef5ff;
  color: #2457a6;
  border-color: #c7d9f5;
}

.portal-shell .owner-request-current-status.status-pill-muted {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #d8dde6;
}

.portal-shell .owner-request-status-control {
  margin: 0;
  flex: 0 0 auto;
}

.portal-shell .owner-request-status-select {
  min-height: 38px;
  padding: 8px 34px 8px 14px;
  border: 1px solid #d8dde6;
  border-radius: 999px;
  background-color: #fff;
  color: #111827;
  cursor: pointer;
  font-weight: 700;
}

.portal-shell .owner-request-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.55fr) minmax(180px, 0.85fr);
  border-top: 1px solid #dfe7ef;
  border-bottom: 1px solid #dfe7ef;
}

.portal-shell .owner-request-info-block {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 106px;
  padding: 16px 18px;
}

.portal-shell .owner-request-info-block + .owner-request-info-block {
  border-left: 1px solid #dfe7ef;
}

.portal-shell .owner-request-info-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-shell .owner-request-info-block strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
}

.portal-shell .owner-request-info-listing {
  gap: 10px;
}

.portal-shell .owner-request-listing-cover {
  display: block;
  width: 92px;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  object-fit: cover;
  background: #f4f7fb;
}

.portal-shell .owner-request-date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.portal-shell .owner-request-date-grid span {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 2px;
  min-height: 76px;
}

.portal-shell .owner-request-date-grid em {
  min-height: 14px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-shell .owner-request-date-grid small,
.portal-shell .owner-request-payment-list {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.portal-shell .owner-request-payment-list {
  display: grid;
  gap: 3px;
}

.portal-shell .owner-request-note-area {
  display: grid;
  gap: 8px;
  padding: 10px 16px;
}

.portal-shell .owner-request-saved-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  border: 1px solid #dfe7ef;
  border-radius: 5px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.portal-shell .owner-request-saved-note-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.portal-shell .owner-request-note-clear {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.portal-shell .owner-request-note-clear:hover,
.portal-shell .owner-request-note-clear:focus-visible {
  color: #b42318;
  border-color: #efc0c0;
}

.portal-shell .owner-request-card-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 78px 112px;
  align-items: center;
  gap: 8px;
}

.portal-shell .owner-request-note-input,
.portal-shell .owner-request-card-actions .btn {
  min-height: 36px;
  border-radius: 9px;
}

.portal-shell .owner-request-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 10px;
  white-space: nowrap;
}

.portal-shell .owner-request-save-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.portal-shell .owner-request-card.is-dirty .owner-request-save-button:not(:disabled) {
  color: #fff;
  border-color: #2563eb;
  background: #2563eb;
}

.portal-shell .owner-request-empty {
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}

@media (max-width: 860px) {
  .portal-shell .owner-request-filter-form {
    grid-template-columns: 1fr;
  }

  .portal-shell .owner-request-filter-actions {
    justify-content: stretch;
  }

  .portal-shell .owner-request-filter-actions .btn {
    flex: 1 1 0;
  }

  .portal-shell .owner-request-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-shell .owner-request-status-select,
  .portal-shell .owner-request-card-actions .btn {
    width: 100%;
  }

  .portal-shell .owner-request-card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .portal-shell .owner-request-note-input {
    grid-column: 1 / -1;
  }

  .portal-shell .owner-request-card-grid {
    grid-template-columns: 1fr;
  }

  .portal-shell .owner-request-info-block + .owner-request-info-block {
    border-left: 0;
    border-top: 1px solid var(--surface-border);
  }
}

.portal-shell .owner-lead-price-cell {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.portal-shell .owner-leads-table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}

.portal-shell .owner-leads-col-customer {
  width: 16%;
}

.portal-shell .owner-leads-col-listing {
  width: 17%;
}

.portal-shell .owner-leads-col-price {
  width: 12%;
}

.portal-shell .owner-leads-col-date {
  width: 11%;
}

.portal-shell .owner-leads-col-status {
  width: 19%;
}

.portal-shell .owner-leads-col-action {
  width: 25%;
}

.portal-shell .owner-lead-listing-name {
  font-weight: 500;
  line-height: 1.35;
}

.portal-shell .owner-leads-table td,
.portal-shell .owner-leads-table th {
  vertical-align: top;
  padding: 9px 7px;
}

.portal-shell .owner-leads-table td:nth-child(4) {
  white-space: nowrap;
}

.portal-shell .owner-lead-customer-name {
  font-weight: 600;
  line-height: 1.35;
}

.portal-shell .owner-lead-customer-phone,
.portal-shell .owner-lead-date-time {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.portal-shell .owner-lead-customer-phone-link {
  color: inherit;
  text-decoration: none;
}

.portal-shell .owner-lead-customer-phone-link:hover,
.portal-shell .owner-lead-customer-phone-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.portal-shell .owner-lead-date-main {
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 1025px) {
  .portal-shell .owner-lead-field-status .status-pill,
  .portal-shell .account-requests-table .account-request-field-status .status-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.2;
    padding-inline: 8px;
  }
}

.portal-shell .owner-lead-action-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: stretch;
}

.portal-shell .owner-lead-action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.portal-shell .owner-lead-action-stack .form-control,
.portal-shell .owner-lead-action-stack .btn,
.portal-shell .owner-lead-reservation-link {
  min-height: 34px;
}

.portal-shell .owner-lead-action-stack .btn,
.portal-shell .owner-lead-reservation-link {
  white-space: nowrap;
}

.portal-shell .owner-lead-reservation-link {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.portal-shell .owner-lead-price-main {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.portal-shell .owner-lead-payment-summary {
  display: grid;
  gap: 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.portal-shell .owner-lead-payment-summary span {
  white-space: nowrap;
}

.portal-shell .support-listing-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portal-shell .support-listing-summary span {
  line-height: 1.35;
}

.portal-shell .support-listing-summary-title {
  color: #111827;
  font-weight: 600;
}

.portal-shell .support-listing-summary span {
  color: #4b5563;
}

.portal-shell .support-listings-table .account-listing-cell {
  align-items: flex-start;
}

.portal-shell .support-listing-link,
.portal-shell .support-listing-title {
  display: block;
  padding-top: 6px;
  color: #111827;
  font-weight: 600;
}

.portal-shell .support-listings-table td[data-label="Aksiyon"] {
  min-width: 190px;
}

.portal-shell .support-listings-table td[data-label="Durum"] {
  white-space: nowrap;
}

.portal-shell .support-listings-table .owner-listing-actions {
  gap: 6px;
}

.portal-shell .support-listings-table .owner-listing-actions select {
  min-width: 0;
}

.portal-shell .support-listings-table .owner-listing-actions .btn,
.portal-shell .support-listings-table .owner-listing-status-form .btn {
  min-height: 38px;
}

.portal-shell .owner-listings-table {
  min-width: 760px;
}

.portal-shell .owner-listings-table .account-listing-cell {
  align-items: flex-start;
}

.portal-shell .owner-listing-field-category {
  color: #000;
}

.portal-shell .owner-listing-name {
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
}

.portal-shell .owner-listings-table td {
  vertical-align: top;
}

.portal-shell .owner-listing-price {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.portal-shell .owner-listing-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.portal-shell .owner-listing-status-form {
  margin: 0;
}

.portal-shell .owner-listing-actions .btn,
.portal-shell .owner-listing-status-form .btn {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 40px;
}

.portal-shell .owner-listing-status-form {
  margin: 0;
}

@media (max-width: 860px) {
  .portal-shell .customer-request-layout {
    grid-template-columns: 1fr;
  }

  .portal-shell .customer-request-summary-card {
    position: static;
    order: -1;
  }

  .portal-shell .owner-leads-table {
    min-width: 760px;
  }

  .portal-shell .owner-listings-table {
    min-width: 760px;
  }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .portal-shell .owner-leads-col-customer {
    width: 15%;
  }

  .portal-shell .owner-leads-col-phone {
    width: 11%;
  }

  .portal-shell .owner-leads-col-listing {
    width: 14%;
  }

  .portal-shell .owner-leads-col-price {
    width: 13%;
  }

  .portal-shell .owner-leads-col-date {
    width: 14%;
  }

  .portal-shell .owner-leads-col-status {
    width: 9%;
  }

  .portal-shell .owner-leads-col-action {
    width: 24%;
  }
}

@media (max-width: 1024px) {
  .portal-shell .owner-leads-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .owner-leads-table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: transparent;
    color: inherit;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .portal-shell .owner-leads-table {
    display: block;
    min-width: 0;
    max-width: 100%;
  }

  .portal-shell .owner-leads-table,
  .portal-shell .owner-leads-table thead {
    width: 100%;
  }

  .portal-shell .table-wrap .owner-leads-table {
    min-width: 0;
  }

  .portal-shell .owner-leads-table thead {
    display: none;
  }

  .portal-shell .owner-leads-table tbody,
  .portal-shell .owner-leads-table tr,
  .portal-shell .owner-leads-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .portal-shell .owner-leads-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    box-sizing: border-box;
    padding: 14px 14px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--surface-shadow-soft);
    align-items: start;
  }

  .portal-shell .owner-leads-table tr + tr {
    margin-top: 10px;
  }

  .portal-shell .owner-leads-table td {
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    --bs-table-accent-bg: transparent !important;
    font-size: 14px;
    line-height: 1.35;
  }

  .portal-shell .owner-leads-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .portal-shell .owner-lead-field-listing,
  .portal-shell .owner-lead-field-status,
  .portal-shell .owner-lead-field-action {
    grid-column: 1 / -1;
  }

  .portal-shell .owner-lead-field-listing::before,
  .portal-shell .owner-lead-field-action::before {
    display: none;
  }

  .portal-shell .owner-lead-listing-name {
    font-size: 19px;
    line-height: 1.32;
  }

  .portal-shell .owner-lead-field-listing {
    order: 1;
    padding-bottom: 0;
  }

  .portal-shell .owner-lead-field-customer {
    order: 2;
    color: inherit;
    font-size: 13px;
    line-height: 1.35;
  }

  .portal-shell .owner-lead-field-phone {
    order: 3;
  }

  .portal-shell .owner-lead-field-price {
    order: 4;
    align-self: start;
  }

  .portal-shell .owner-lead-field-date {
    order: 5;
    align-self: start;
  }

  .portal-shell .owner-lead-field-status {
    order: 6;
    padding-top: 0;
  }

  .portal-shell .owner-lead-field-status .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding-inline: 11px;
    font-size: 13px;
  }

  .portal-shell .owner-lead-field-action {
    order: 7;
    padding-top: 2px;
  }

  .portal-shell .owner-lead-action-stack {
    width: 100%;
    gap: 6px;
  }

  .portal-shell .owner-lead-action-stack .form-control,
  .portal-shell .owner-lead-action-stack .btn,
  .portal-shell .owner-lead-reservation-link {
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    font-size: 14px;
  }

  .portal-shell .owner-lead-price-main {
    font-size: 15px;
  }

  .portal-shell .owner-lead-payment-summary {
    gap: 2px;
    font-size: 12px;
    line-height: 1.25;
  }

  .portal-shell .owner-lead-action-buttons {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-shell .owner-lead-field-action form {
    margin: 0;
  }

  .portal-shell .owner-lead-note-input {
    margin-top: 0;
  }

  .portal-shell .owner-leads-table td[data-label="Aksiyon"] {
    padding-top: 2px;
  }
}

@media (max-width: 640px) {
  .portal-shell .owner-listings-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .owner-listings-table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: transparent;
    color: inherit;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .portal-shell .owner-listings-table,
  .portal-shell .support-listings-table {
    display: block;
    min-width: 0;
    max-width: 100%;
  }

  .portal-shell .owner-listings-table,
  .portal-shell .owner-listings-table thead,
  .portal-shell .support-listings-table,
  .portal-shell .support-listings-table thead {
    width: 100%;
  }

  .portal-shell .table-wrap .owner-listings-table,
  .portal-shell .table-wrap .support-listings-table {
    min-width: 0;
  }

  .portal-shell .owner-listings-table thead,
  .portal-shell .support-listings-table thead {
    display: none;
  }

  .portal-shell .owner-listings-table tbody,
  .portal-shell .owner-listings-table tr,
  .portal-shell .owner-listings-table td,
  .portal-shell .support-listings-table tbody,
  .portal-shell .support-listings-table tr,
  .portal-shell .support-listings-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .portal-shell .owner-listings-table tr,
  .portal-shell .support-listings-table tr {
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    background: #fff;
  }

  .portal-shell .owner-listings-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  .portal-shell .owner-listings-table tr + tr,
  .portal-shell .support-listings-table tr + tr {
    margin-top: 10px;
  }

  .portal-shell .owner-listings-table td,
  .portal-shell .support-listings-table td {
    padding: 6px 0;
    border: 0;
    background: transparent !important;
    font-size: 14px;
    line-height: 1.35;
  }

  .portal-shell .owner-listings-table .owner-listing-field {
    padding: 0;
  }

  .portal-shell .owner-listings-table td::before,
  .portal-shell .support-listings-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
  }

  .portal-shell .account-requests-table {
    display: block;
    min-width: 0;
    max-width: 100%;
  }

  .portal-shell .account-requests-table,
  .portal-shell .account-requests-table thead {
    width: 100%;
  }

  .portal-shell .table-wrap .account-requests-table {
    min-width: 0;
  }

  .portal-shell .account-requests-table thead {
    display: none;
  }

  .portal-shell .account-requests-table tbody,
  .portal-shell .account-requests-table tr,
  .portal-shell .account-requests-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .portal-shell .account-requests-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    box-sizing: border-box;
    padding: 18px 16px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--surface-shadow-soft);
  }

  .portal-shell .account-requests-table tr + tr {
    margin-top: 14px;
  }

  .portal-shell .account-requests-table td {
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    --bs-table-accent-bg: transparent !important;
  }

  .portal-shell .account-requests-table td + td {
    margin-top: 0;
  }

  .portal-shell .account-requests-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .portal-shell .account-requests-table .account-request-field-identity::before {
    display: none;
  }

  .portal-shell .account-requests-table .account-request-field-actions::before {
    display: none;
  }

  .portal-shell .account-requests-table .account-request-field-identity,
  .portal-shell .account-requests-table .account-request-field-status,
  .portal-shell .account-requests-table .account-request-field-actions,
  .portal-shell .account-requests-table .account-request-empty {
    grid-column: 1 / -1;
  }

  .portal-shell .account-requests-table .account-request-listing {
    font-size: 19px;
    line-height: 1.32;
  }

  .portal-shell .account-requests-table .account-request-service {
    font-size: 14px;
    line-height: 1.5;
  }

  .portal-shell .account-requests-table .account-request-price {
    font-size: 18px;
    line-height: 1.24;
  }

  .portal-shell .account-requests-table .account-request-date {
    font-size: 14px;
    line-height: 1.45;
  }

  .portal-shell .account-requests-table .account-request-field-status {
    padding-top: 2px;
  }

  .portal-shell .account-requests-table .account-request-field-no {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .portal-shell .account-requests-table .account-request-field-no::before {
    margin-bottom: 0;
  }

  .portal-shell .account-requests-table .account-request-field-actions {
    padding-top: 6px;
  }

  .portal-shell .account-requests-table .account-request-field-price,
  .portal-shell .account-requests-table .account-request-field-date {
    align-self: start;
  }

  .portal-shell .account-requests-table .account-request-field-status .status-pill {
    font-size: 13px;
  }

  .portal-shell .account-requests-table .account-request-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .portal-shell .account-requests-table .account-request-actions .btn {
    width: 100%;
    min-height: 38px;
    font-size: 13px;
    border-radius: 10px;
  }

  .portal-shell .account-requests-table .account-request-field-status .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding-inline: 11px;
  }

  .portal-shell .account-requests-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .account-requests-table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .portal-shell .account-reviews-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .account-reviews-table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .portal-shell .account-reviews-table {
    display: block;
    min-width: 0;
    max-width: 100%;
  }

  .portal-shell .account-reviews-table,
  .portal-shell .account-reviews-table thead {
    width: 100%;
  }

  .portal-shell .table-wrap .account-reviews-table {
    min-width: 0;
  }

  .portal-shell .account-reviews-table thead {
    display: none;
  }

  .portal-shell .account-reviews-table tbody,
  .portal-shell .account-reviews-table tr,
  .portal-shell .account-reviews-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .portal-shell .account-reviews-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--surface-shadow-soft);
  }

  .portal-shell .account-reviews-table tr + tr {
    margin-top: 14px;
  }

  .portal-shell .account-reviews-table td {
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  .portal-shell .account-reviews-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .portal-shell .account-reviews-table .account-review-field-identity,
  .portal-shell .account-reviews-table .account-review-field-comment {
    grid-column: 1 / -1;
  }

  .portal-shell .account-reviews-table .account-review-field-identity::before,
  .portal-shell .account-reviews-table .account-review-field-rating::before,
  .portal-shell .account-reviews-table .account-review-field-status::before,
  .portal-shell .account-reviews-table .account-review-field-date::before,
  .portal-shell .account-reviews-table .account-review-field-comment::before {
    display: none;
  }

  .portal-shell .account-reviews-table .account-listing-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .portal-shell .account-reviews-table .account-listing-thumb-link,
  .portal-shell .account-reviews-table .account-listing-link,
  .portal-shell .account-reviews-table .account-listing-cell > span {
    width: 100%;
  }

  .portal-shell .account-reviews-table .account-listing-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    flex: none;
    object-position: center center;
    border-radius: 10px;
  }

  .portal-shell .account-reviews-table .account-listing-link,
  .portal-shell .account-reviews-table .account-listing-cell > span {
    font-size: 17px;
    line-height: 1.32;
    font-weight: 600;
  }

  .portal-shell .account-reviews-table .account-review-field-rating,
  .portal-shell .account-reviews-table .account-review-field-status,
  .portal-shell .account-reviews-table .account-review-field-date {
    display: flex;
    align-items: center;
    min-height: 0;
    padding-top: 0;
  }

  .portal-shell .account-reviews-table .account-review-rating {
    font-size: 16px;
    line-height: 1.2;
  }

  .portal-shell .account-reviews-table .account-review-field-status .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .portal-shell .account-reviews-table .account-review-comment {
    font-size: 14px;
    line-height: 1.45;
  }

  .portal-shell .account-reviews-table .account-review-date {
    font-size: 13px;
    line-height: 1.35;
    color: var(--muted);
  }

  .portal-shell .account-favorites-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .account-favorites-table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .portal-shell .account-favorites-table {
    display: block;
    min-width: 0;
    max-width: 100%;
  }

  .portal-shell .account-favorites-table,
  .portal-shell .account-favorites-table thead {
    width: 100%;
  }

  .portal-shell .table-wrap .account-favorites-table {
    min-width: 0;
  }

  .portal-shell .account-favorites-table thead {
    display: none;
  }

  .portal-shell .account-favorites-table tbody,
  .portal-shell .account-favorites-table tr,
  .portal-shell .account-favorites-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .portal-shell .account-favorites-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--surface-shadow-soft);
  }

  .portal-shell .account-favorites-table tr + tr {
    margin-top: 14px;
  }

  .portal-shell .account-favorites-table td {
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  .portal-shell .account-favorites-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .portal-shell .account-favorites-table .account-favorite-field-identity::before,
  .portal-shell .account-favorites-table .account-favorite-field-date::before,
  .portal-shell .account-favorites-table .account-favorite-field-actions::before {
    display: none;
  }

  .portal-shell .account-favorites-table .account-listing-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .portal-shell .account-favorites-table .account-listing-thumb-link,
  .portal-shell .account-favorites-table .account-listing-link,
  .portal-shell .account-favorites-table .account-listing-cell > span {
    width: 100%;
  }

  .portal-shell .account-favorites-table .account-listing-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    flex: none;
    object-position: center center;
    border-radius: 10px;
  }

  .portal-shell .account-favorites-table .account-listing-link,
  .portal-shell .account-favorites-table .account-listing-cell > span {
    font-size: 17px;
    line-height: 1.32;
    font-weight: 600;
  }

  .portal-shell .account-favorites-table .account-favorite-date {
    font-size: 13px;
    line-height: 1.35;
    color: var(--muted);
  }

  .portal-shell .account-favorites-table .account-favorite-field-actions {
    margin-top: -4px;
  }

  .portal-shell .account-favorites-table .account-inline-form {
    width: 100%;
  }

  .portal-shell .account-favorites-table .account-inline-action {
    width: auto;
    min-height: 34px;
    padding: 0;
    justify-content: flex-start;
  }

  .portal-shell .owner-listings-table .owner-listing-field-identity,
  .portal-shell .owner-listings-table .owner-listing-field-actions {
    grid-column: 1 / -1;
  }

  .portal-shell .owner-listings-table .owner-listing-field-category,
  .portal-shell .owner-listings-table .owner-listing-field-city,
  .portal-shell .owner-listings-table .owner-listing-field-price,
  .portal-shell .owner-listings-table .owner-listing-field-status {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .portal-shell .owner-listings-table .owner-listing-field-category::before,
  .portal-shell .owner-listings-table .owner-listing-field-city::before,
  .portal-shell .owner-listings-table .owner-listing-field-price::before,
  .portal-shell .owner-listings-table .owner-listing-field-status::before {
    display: none;
  }

  .portal-shell .owner-listings-table .owner-listing-field-category,
  .portal-shell .owner-listings-table .owner-listing-field-city {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
  }

  .portal-shell .owner-listings-table .owner-listing-field-price,
  .portal-shell .owner-listings-table .owner-listing-field-status {
    padding-top: 2px;
  }

  .portal-shell .owner-listings-table .owner-listing-field-status {
    align-items: flex-start;
  }

  .portal-shell .owner-listings-table td[data-label="Aksiyon"],
  .portal-shell .owner-leads-table td[data-label="Aksiyon"] {
    padding-top: 8px;
  }

  .portal-shell .support-listings-table td[data-label="Aksiyon"] {
    padding-top: 10px;
  }

  .portal-shell .support-listings-table td[data-label="Aksiyon"] {
    min-width: 0;
  }

  .portal-shell .owner-listing-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .portal-shell .owner-listing-actions .btn,
  .portal-shell .owner-listing-status-form .btn {
    width: 100%;
    box-sizing: border-box;
    min-height: 38px;
    font-size: 14px;
  }

  .portal-shell .owner-listings-table td[data-label="Ilan"] {
    padding-top: 0;
  }

  .portal-shell .owner-listings-table .owner-listing-field-identity::before {
    display: none;
  }

  .portal-shell .owner-listings-table .owner-listing-field-actions::before {
    display: none;
  }

  .portal-shell .owner-listings-table .account-listing-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .portal-shell .owner-listings-table .account-listing-thumb-link,
  .portal-shell .owner-listings-table .account-listing-link,
  .portal-shell .owner-listings-table .owner-listing-name {
    width: 100%;
  }

  .portal-shell .owner-listings-table .account-listing-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    flex: none;
    object-position: center center;
    border-radius: 10px;
  }

  .portal-shell .owner-listings-table .owner-listing-name,
  .portal-shell .owner-listings-table .account-listing-link {
    font-size: 18px;
    line-height: 1.35;
  }

  .portal-shell .owner-listing-price {
    font-size: 18px;
  }

}

@media (max-width: 640px) {
  .portal-shell .customer-request-page {
    padding-top: 8px;
  }

  .portal-shell .customer-request-form-card {
    padding: 18px;
  }

  .portal-shell .customer-request-form-grid {
    grid-template-columns: 1fr;
  }

}

.portal-shell .account-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.portal-shell .account-company-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.portal-shell .account-company-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  user-select: none;
}

.portal-shell .account-company-toggle[data-state="open"] {
  background: #f7f7f7;
  border-color: var(--line);
}

.admin-shell .admin-error-card {
  border-color: #b91c1c;
  color: #7f1d1d;
}


.admin-shell .admin-user-person-cell {
  min-width: 230px;
}

.admin-shell .admin-user-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-shell .admin-user-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d9e2ec;
  object-fit: cover;
  background: #f4f7fb;
}

.admin-shell .admin-user-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #36506b;
  font-size: 0.95rem;
  font-weight: 800;
}

.admin-shell .admin-user-person-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-shell .admin-user-person-name {
  color: #1f354d;
  font-weight: 700;
  line-height: 1.25;
}

.admin-shell .admin-user-person-username,
.admin-shell .admin-user-person-email {
  color: #718295;
  font-size: 0.78rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-shell .admin-user-contact-cell {
  min-width: 96px;
  white-space: nowrap;
}

.admin-shell .admin-user-phone-link {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
}

.admin-shell .admin-user-phone-link:hover {
  color: #475569;
  text-decoration: underline;
}

.admin-shell .admin-user-whatsapp-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 3px;
  color: #198754;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.admin-shell .admin-user-whatsapp-link:hover {
  color: #157347;
  text-decoration: underline;
}


.admin-shell .admin-listing-owner-name {
  color: #1f354d;
  font-weight: 700;
  line-height: 1.25;
}

.admin-shell .admin-listing-price-cell {
  min-width: 86px;
  white-space: nowrap;
}

.admin-shell .admin-user-owned-listings {
  display: grid;
  gap: 2px;
  margin-top: 5px;
}

.admin-shell .admin-user-owned-listing {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.admin-shell .admin-user-owned-listing--published {
  color: #198754;
}

.admin-shell .admin-user-owned-listing--draft {
  color: #9a6700;
}

.admin-shell .admin-user-owned-listing:hover {
  color: #1f354d;
  text-decoration: underline;
}

.admin-shell .admin-user-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-shell .admin-user-role-list--stacked {
  display: grid;
  justify-items: start;
}

.admin-shell .admin-user-role-text-list {
  display: grid;
  gap: 3px;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
}

.admin-shell .admin-user-role-text--owner {
  color: #0f172a;
  font-weight: 700;
}

.admin-shell .admin-user-role-text--muted {
  color: #64748b;
}

.admin-shell .admin-user-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-shell .admin-user-role-editor {
  display: grid;
  gap: 8px;
  min-width: 240px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.admin-shell .admin-user-role-disclosure {
  width: 100%;
}

.admin-shell .admin-user-role-disclosure summary {
  list-style: none;
  cursor: pointer;
}

.admin-shell .admin-user-role-disclosure summary::-webkit-details-marker {
  display: none;
}

.admin-shell .admin-user-role-disclosure[open] summary {
  margin-bottom: 8px;
}

.admin-shell .admin-owner-notification-editor {
  min-width: 0;
  width: 100%;
  gap: 5px;
}

.admin-shell .admin-owner-notification-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
}

.admin-shell .admin-owner-notification-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.admin-shell .admin-owner-notification-option {
  border: 0;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
}

.admin-shell .admin-owner-notification-option:disabled {
  color: #94a3b8;
  cursor: default;
}

.admin-shell .admin-owner-notification-option--active:disabled {
  color: #15803d;
}

.admin-shell .admin-user-role-select {
  width: 100%;
  min-height: 158px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.4;
}

.admin-shell .admin-user-role-select:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.admin-shell .admin-user-role-select option {
  padding: 6px 8px;
}

.admin-shell .admin-user-role-editor__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.admin-shell .admin-user-role-editor__actions .btn {
  min-height: 38px;
  padding-inline: 14px;
}

@media (max-width: 900px) {
  .admin-shell .admin-user-role-editor {
    min-width: 0;
  }
}
.portal-shell .account-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.portal-shell .account-profile-avatar-image {
  object-fit: cover;
  display: block;
}

.portal-shell .account-profile-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: var(--ink);
  font-size: 2.2rem;
  font-weight: 700;
}

.portal-shell .account-profile-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-shell .account-profile-name {
  margin: 0;
}

.portal-shell .account-profile-role {
  font-size: 0.98rem;
  color: var(--muted);
}

.portal-shell .account-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-shell .account-profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f7f7f7;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

.portal-shell .account-profile-chip-neutral {
  background: #fff;
}

.portal-shell .account-listing-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.portal-shell .account-listing-cell span {
  min-width: 0;
}

.portal-shell .account-listing-link {
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.portal-shell .account-listing-thumb-link {
  display: inline-flex;
  border-radius: 8px;
}

.portal-shell .account-listing-link:hover,
.portal-shell .account-listing-link:focus-visible,
.portal-shell .account-listing-thumb-link:hover,
.portal-shell .account-listing-thumb-link:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-shell .account-listing-thumb {
  width: 68px;
  height: 50px;
  flex: 0 0 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d9dfeb;
  background: #f7f7f7;
}

.portal-shell .account-review-rating {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.portal-shell .account-review-comment,
.portal-shell .account-review-date {
  color: #334155;
}

.portal-shell .account-reviews-table th,
.portal-shell .account-reviews-table td {
  vertical-align: middle;
}

.portal-shell .account-reviews-table .account-listing-cell {
  align-items: center;
}

.portal-shell .account-favorite-date {
  color: #334155;
}

.portal-shell .account-favorites-table th,
.portal-shell .account-favorites-table td {
  vertical-align: middle;
}

.portal-shell .account-favorites-table .account-listing-cell {
  align-items: center;
}

.portal-shell .account-requests-table .account-request-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.portal-shell .account-request-no {
  display: inline-block;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.portal-shell .account-request-listing {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.portal-shell .account-request-service {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.portal-shell .account-request-price {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.portal-shell .account-request-date {
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.portal-shell .account-request-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.portal-shell .account-request-actions .btn {
  min-height: 38px;
}

@media (min-width: 769px) {
  .portal-shell .account-requests-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .account-requests-table.table-striped > tbody > tr:nth-of-type(even) > *,
  .portal-shell .account-reviews-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .account-reviews-table.table-striped > tbody > tr:nth-of-type(even) > *,
  .portal-shell .account-favorites-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .portal-shell .account-favorites-table.table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: transparent;
    box-shadow: none;
  }

  .portal-shell .account-requests-table tbody tr + tr td,
  .portal-shell .account-reviews-table tbody tr + tr td,
  .portal-shell .account-favorites-table tbody tr + tr td {
    border-top: 1px solid #e5e7eb;
  }

  .portal-shell .account-requests-table .account-request-field-no {
    min-width: 56px;
    text-align: center;
  }

  .portal-shell .account-requests-table th:first-child {
    text-align: center;
  }

  .portal-shell .account-requests-table .account-request-field-actions {
    width: 152px;
  }

  .portal-shell .account-request-actions .btn {
    width: 146px;
    padding-right: 10px;
    padding-left: 10px;
  }
}

.portal-shell .account-request-empty {
  text-align: center;
}

.portal-shell .account-inline-form {
  margin: 0;
}

.portal-shell .account-inline-action {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  text-decoration: none;
}

.portal-shell .account-inline-action:hover,
.portal-shell .account-inline-action:focus-visible {
  color: #912018;
  text-decoration: underline;
}

.portal-shell .account-profile-bio {
  max-width: 720px;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.6;
}

.portal-shell .account-info-list {
  display: grid;
  gap: 12px;
}

.portal-shell .account-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-shell .account-info-label,
.portal-shell .account-detail-label {
  min-width: 92px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.portal-shell .account-info-value,
.portal-shell .account-detail-value {
  font-size: 1rem;
  color: var(--ink);
  word-break: break-word;
}

.portal-shell .account-detail-value {
  margin-top: 4px;
}

.portal-shell .account-payment-summary {
  display: grid;
  gap: 12px;
}

.portal-shell .account-payment-summary-card {
  padding: 2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.portal-shell .account-payment-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.portal-shell .account-payment-summary-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.portal-shell .account-payment-summary-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.portal-shell .account-payment-summary .account-info-list {
  gap: 0;
}

.portal-shell .account-payment-summary .account-info-row:first-child {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 12px;
}

.portal-shell .account-payment-summary .account-info-row:last-child {
  padding-bottom: 0;
}

.portal-shell .account-payment-section {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
}

.portal-shell .account-payment-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.portal-shell .account-payment-section-copy {
  display: grid;
  gap: 4px;
}

.portal-shell .account-payment-section-copy p {
  max-width: 54ch;
}

.portal-shell .account-payment-add {
  min-width: 116px;
}

.portal-shell .account-payment-alert {
  margin-bottom: 0;
}

.portal-shell .account-payment-stack {
  display: grid;
  gap: 12px;
}

.portal-shell .account-payment-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.portal-shell .account-payment-card-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.portal-shell .account-payment-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-shell .account-payment-card-heading {
  display: grid;
  gap: 3px;
}

.portal-shell .account-payment-card-heading strong {
  font-size: 0.98rem;
  color: var(--ink);
}

.portal-shell .account-payment-card-hint {
  font-size: 0.84rem;
  color: var(--muted);
}

.portal-shell .account-payment-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-shell .account-payment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  background: #f8fafc;
  margin-bottom: 0;
}

.portal-shell .account-payment-toggle input[type="checkbox"] {
  margin: 0;
}

.portal-shell .reservation-document-shell {
  max-width: 940px;
  overflow-x: hidden;
  padding: 4px 24px 14px;
}

.portal-shell .reservation-document-shell .page-head {
  margin-bottom: 10px;
}

.portal-shell .reservation-document-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) 180px;
  gap: 22px;
  align-items: start;
}

.portal-shell .reservation-document-main {
  width: 100%;
  max-width: 430px;
}

.portal-shell .reservation-document-frame {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: 430px;
  min-height: 560px;
  padding: 18px 28px 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.portal-shell .reservation-document-tools {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
}

.portal-shell .reservation-document-tool {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.portal-shell .reservation-document-tool:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.portal-shell .reservation-document-tool-status {
  flex: 1 1 100%;
  min-height: 18px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  order: 2;
}

.portal-shell .reservation-document-actions {
  margin-top: 74px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  gap: 8px;
}

.portal-shell .reservation-document-actions h2 {
  margin: 0 0 2px;
  font-size: 0.92rem;
}

.portal-shell .reservation-document-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  white-space: normal;
}

.portal-shell .reservation-document-actions .btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.portal-shell .reservation-document {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  max-width: 560px;
  width: 100%;
  font-size: 1rem;
  line-height: 1.48;
}

.portal-shell .reservation-document-footer {
  margin-top: auto !important;
}

.portal-shell .reservation-document-header {
  margin-bottom: 20px;
}

.portal-shell .reservation-document-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.portal-shell .reservation-document-intro {
  display: grid;
  gap: 2px;
}

.portal-shell .reservation-document-intro span,
.portal-shell .reservation-document-list span {
  font-weight: 700;
}

.portal-shell .reservation-document-intro a {
  color: inherit;
  text-decoration: none;
}

.portal-shell .reservation-document-intro a:hover {
  text-decoration: underline;
}

.portal-shell .reservation-document-intro .reservation-inline-whatsapp {
  margin-left: 8px;
  color: #22c55e;
  font-weight: 600;
}

.portal-shell .reservation-document-intro .reservation-inline-whatsapp:visited {
  color: #22c55e;
}

.portal-shell .reservation-document-intro .reservation-inline-whatsapp:hover {
  color: #16a34a;
}

.portal-shell .reservation-document-contact .reservation-inline-whatsapp {
  margin-left: 8px;
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
}

.portal-shell .reservation-document-contact .reservation-inline-whatsapp:visited {
  color: #22c55e;
}

.portal-shell .reservation-document-contact .reservation-inline-whatsapp:hover {
  color: #16a34a;
  text-decoration: underline;
}

.portal-shell .reservation-document-list {
  margin: 22px 0 0 28px;
  padding: 0;
}

.portal-shell .reservation-document-list li {
  margin: 3px 0;
}

.portal-shell .reservation-document-contact {
  margin-top: 18px;
  display: grid;
  gap: 2px;
}

.portal-shell .reservation-document-contact strong {
  margin-bottom: 4px;
}

.portal-shell .reservation-document-exporting .reservation-inline-whatsapp {
  display: none !important;
}

.guest-reservation-shell {
  padding-top: 8px;
  padding-bottom: 16px;
}

@media (max-width: 768px) {
  .portal-shell .reservation-document-layout {
    grid-template-columns: 1fr;
  }

  .portal-shell .reservation-document-main {
    max-width: none;
  }

  .portal-shell .reservation-document-actions {
    order: 2;
    width: 100%;
    margin-top: 0;
    align-self: stretch;
  }
}

@media print {
  body {
    background: #fff !important;
  }

  .portal-shell .reservation-document-tools,
  .portal-shell .reservation-document-actions,
  .portal-shell .page-head,
  .portal-shell .reservation-inline-whatsapp,
  .portal-shell .owner-panel-hero,
  .portal-shell .owner-shell-head,
  .portal-shell .owner-shell-header,
  .site-header,
  .topbar,
  .shell-sidebar,
  .footer {
    display: none !important;
  }

  .wrap,
  .shell-frame,
  .shell-main,
  .shell-main-portal,
  .guest-reservation-shell,
  .portal-shell .reservation-document-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none;
    border: 0;
  }

  .portal-shell .reservation-document-layout,
  .portal-shell .reservation-document-main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  .portal-shell .reservation-document-frame {
    width: 100%;
    max-width: none;
    border: 1px solid #d1d5db;
    box-shadow: none;
    background: #fff;
  }
}

@media (max-width: 640px) {
  .portal-shell .reservation-document-shell {
    padding: 8px;
  }

  .portal-shell .reservation-document-shell .page-head {
    gap: 10px;
    align-items: flex-start;
  }

  .portal-shell .reservation-document-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portal-shell .reservation-document-main {
    max-width: none;
  }

  .portal-shell .reservation-document-frame {
    max-width: none;
    padding: 18px 18px;
    min-height: 0;
  }

  .portal-shell .reservation-document-tools {
    justify-content: stretch;
    gap: 6px;
    margin-bottom: 6px;
  }

  .portal-shell .reservation-document-tool {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 6px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .portal-shell .reservation-document-tool-status {
    text-align: center;
  }

  .portal-shell .reservation-document-actions {
    margin-top: 0;
    order: 2;
    display: grid;
    gap: 8px;
    padding: 0;
  }

  .portal-shell .reservation-document-actions h2 {
    flex: 0 0 100%;
    margin: 0;
  }

  .portal-shell .reservation-document-actions .btn,
  .portal-shell .reservation-document-actions form {
    width: 100%;
  }

  .portal-shell .reservation-document-actions .btn {
    width: 100%;
  }

  .guest-reservation-shell {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .guest-reservation-shell {
    padding-bottom: 8px;
  }
}

.portal-shell .account-photo-preview {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.portal-shell .account-photo-preview-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
}

.portal-shell .account-photo-preview-image {
  object-fit: cover;
}

.portal-shell .account-photo-remove {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
}

.portal-shell .account-company-toggle-title {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.portal-shell .account-company-toggle-text,
.portal-shell .account-company-toggle-state {
  display: block;
  font-size: 0.875rem;
}

.portal-shell .account-company-toggle-text {
  color: var(--muted);
}

.portal-shell .account-company-toggle-state {
  font-weight: 600;
  color: var(--ink);
}
.portal-shell .profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.portal-shell .profile-item {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  background: var(--bg-soft);
}

.portal-shell .profile-item .k {
  color: var(--muted);
  font-size: 0.82rem;
  display: block;
  margin-bottom: 4px;
}

.portal-shell .profile-item .v {
  font-size: 0.96rem;
  font-weight: 600;
}

.portal-shell .tabs-mobile {
  display: none;
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.portal-shell .tabs-mobile::-webkit-scrollbar {
  display: none;
}

.portal-shell .tabs-mobile-wrap {
  display: inline-flex;
  gap: 8px;
  min-width: max-content;
}

.portal-shell .account-mt-10 {
  margin-top: 10px;
}

.portal-shell .account-mt-12 {
  margin-top: 12px;
}

.portal-shell .account-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.portal-shell .account-heading-compact {
  margin: 0;
}

.portal-shell .inline-form {
  display: inline;
}

/* Admin shell */
.admin-shell {
  font-family: var(--font-body);
  color: var(--text);
}

.admin-shell .wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 16px auto 28px;
}

.admin-shell .topbar {
  margin-bottom: 14px;
}

.admin-shell .admin-head {
  margin-bottom: 14px;
}

.admin-shell .admin-head h1 {
  margin: 0 0 6px;
}

.admin-shell .admin-head p {
  margin: 0;
}

.admin-shell .top {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-shell .top h1 {
  margin: 0;
  margin-right: 8px;
}

.admin-shell .card {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(15, 37, 60, 0.08);
}

.admin-shell .admin-surface {
  display: grid;
  gap: 16px;
}

.admin-shell .admin-surface-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 2px;
}

.admin-shell .admin-surface-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-shell h2 {
  margin: 0;
}

.admin-shell h3 {
  margin: 18px 0 10px;
}

.admin-shell .admin-surface-summary {
  margin: 6px 0 0;
  max-width: 58ch;
  color: #56687d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.admin-shell .admin-surface-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.admin-shell .admin-surface-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d8e3ef;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-shell table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin-shell .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-shell .admin-table-wrap {
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  background: #fff;
}

.admin-shell th,
.admin-shell td {
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  padding: 12px 10px;
  vertical-align: middle;
  font-size: 0.9rem;
}

.admin-shell th {
  font-weight: 700;
  color: #516273;
  background: #f8fafc;
  white-space: nowrap;
}

.admin-shell tbody tr:hover {
  background: #fbfdff;
}

.admin-shell tbody tr:last-child td {
  border-bottom: 0;
}

.admin-shell .admin-listing-title-cell {
  min-width: 190px;
}

.admin-shell .admin-listing-title-link {
  color: #1f354d;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.admin-shell .admin-listing-title-link:hover {
  color: #16355f;
  text-decoration: underline;
}

.admin-shell .admin-listing-title-link span {
  display: block;
}

.admin-shell .admin-listing-slug {
  margin-top: 4px;
  color: #718295;
  font-size: 0.78rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-shell .admin-table-actions-head,
.admin-shell .admin-table-actions-cell {
  min-width: 118px;
  text-align: right;
}

.admin-shell .admin-table-empty {
  padding: 18px 12px;
  color: var(--muted);
}

.admin-shell code {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  background: #f7fafc;
  color: #36506b;
  font-size: 0.82rem;
}

.admin-shell label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.admin-shell input,
.admin-shell select,
.admin-shell textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfd7e6;
  border-radius: 10px;
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
}

.admin-shell textarea {
  line-height: 1.45;
}

.admin-shell .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-shell .actions,
.admin-shell .action-stack,
.admin-shell .admin-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-shell .admin-row-actions {
  justify-content: flex-end;
}

.admin-shell .admin-row-actions--stack {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.admin-shell .admin-action-form {
  margin: 0;
}

.admin-shell .admin-action-link {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #36506b;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.admin-shell .admin-action-link:hover {
  background: transparent;
  color: #1f354d;
  text-decoration: underline;
}

.admin-shell .admin-action-link:focus-visible {
  outline: 2px solid rgba(54, 80, 107, 0.22);
  outline-offset: 3px;
}

.admin-shell .admin-toolbar {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dde5ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

.admin-shell .admin-toolbar--compact {
  grid-template-columns: minmax(0, 220px) auto;
  align-items: end;
}

.admin-shell .admin-toolbar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-shell .admin-toolbar-grid--compact {
  grid-template-columns: minmax(0, 220px);
}

.admin-shell .admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-shell .admin-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
}

.admin-shell .admin-inline-check span {
  font-size: 0.88rem;
  font-weight: 500;
}

.admin-shell .pricing-editor-panel {
  width: 100%;
  max-width: 760px;
}

.pricing-editor-card {
  border: 1px solid #dde5ef;
  border-radius: 12px;
  background: #fff;
}

.pricing-editor-table thead th {
  color: #111827;
  background: #f8fafc;
}

.pricing-editor-action {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}

.pricing-editor-action--edit {
  color: #2563eb;
}

.pricing-editor-action--edit:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.pricing-editor-action--delete {
  color: #dc2626;
}

.pricing-editor-action--delete:hover {
  color: #b91c1c;
  text-decoration: underline;
}

.admin-shell .admin-inline-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0f7a7a;
}

.admin-shell .pricing-package-featured-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
}

.admin-shell .pricing-package-featured-check .form-check-input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
}

.admin-shell .pricing-package-featured-check .form-check-label {
  margin: 0;
  font-weight: 600;
}

.admin-shell .admin-bulk-toolbar,
.admin-shell .bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #dde5ef;
  border-radius: 12px;
  background: #f8fafc;
  flex-wrap: wrap;
}

.admin-shell .admin-toolbar-note {
  line-height: 1.5;
}

.admin-shell .admin-bulk-toolbar .admin-toolbar-note {
  flex: 1 1 240px;
  min-width: 220px;
}

.admin-shell .admin-pagination {
  margin-top: 2px;
  padding-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-shell .admin-pagination-status {
  display: inline-flex;
  align-items: center;
}

.admin-shell .admin-pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-shell .admin-pagination .page-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-shell .btn.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.admin-shell .ok {
  background: #e8f8f3;
  border: 1px solid #90cfbf;
  padding: 11px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.admin-shell .muted {
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-shell a.btn,
.admin-shell button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #ced8e4;
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}

.admin-shell a.btn:hover,
.admin-shell button.btn:hover {
  border-color: #bfcddd;
  background: #f7fafc;
}

.admin-shell .img-preview,
.portal-shell .img-preview {
  max-width: 260px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
}

.admin-shell input[type="checkbox"][name="remove_cover_image"],
.admin-shell input[type="checkbox"][name="reset_gallery"],
.admin-shell input[type="checkbox"][name="remove_gallery[]"],
.portal-shell input[type="checkbox"][name="remove_cover_image"],
.portal-shell input[type="checkbox"][name="reset_gallery"],
.portal-shell input[type="checkbox"][name="remove_gallery[]"] {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.admin-shell .gallery-item-note,
.portal-shell .gallery-item .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.admin-shell .title-reset {
  margin-top: 0;
}

.admin-shell .form-error-box {
  border: 1px solid #f2bbbb;
  background: #fff3f3;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.admin-shell .mb-12 {
  margin-bottom: 12px;
}

.admin-shell .mt-8 {
  margin-top: 8px;
}

.admin-shell .form-inline-actions {
  display: flex;
  align-items: end;
  gap: 8px;
}

.admin-shell .admin-form-layout {
  display: grid;
  gap: 16px;
}

.admin-shell .admin-form-card {
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  padding: 16px;
  background: #fcfdff;
}

.admin-shell .admin-form-section-head {
  margin-bottom: 12px;
}

.admin-shell .admin-form-section-head h2 {
  margin: 0;
  font-size: 18px;
}

.admin-shell .admin-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-shell .admin-form-field + .admin-form-field {
  margin-top: 12px;
}

.admin-shell .admin-form-grid .admin-form-field + .admin-form-field {
  margin-top: 0;
}

.admin-shell .thumb-80 {
  width: 84px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #d9dfeb;
}

.admin-shell .gallery-item-note,
.portal-shell .gallery-item-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
}

.admin-shell .gallery-grid,
.portal-shell .gallery-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.admin-shell .gallery-item,
.portal-shell .gallery-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  cursor: move;
}

.admin-shell .gallery-item img,
.portal-shell .gallery-item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.admin-shell .listing-video-grid,
.portal-shell .listing-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.admin-shell .listing-video-grid-col,
.portal-shell .listing-video-grid-col {
  cursor: move;
  min-width: 0;
}

.admin-shell .listing-video-item,
.portal-shell .listing-video-item {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.admin-shell .listing-video-frame,
.portal-shell .listing-video-frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
}

.admin-shell .listing-video-player,
.portal-shell .listing-video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-shell .listing-video-note,
.portal-shell .listing-video-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.3;
}

.admin-shell .listing-video-note span,
.portal-shell .listing-video-note span {
  white-space: nowrap;
}

.listing-detail-video-card {
  padding: 0;
  overflow: visible;
  border: 1px solid #dfe7ef;
  border-radius: 5px;
  background: #0f172a;
  box-shadow: none;
}

.listing-detail-video-frame {
  aspect-ratio: 4 / 3;
  display: flex;
  overflow: hidden;
  border-radius: 5px;
  background: #0f172a;
}

.listing-detail-video-player {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 5px;
  background: #0f172a;
}

.listing-detail-video-grid {
  display: grid;
  gap: 10px;
}

.listing-detail-video-grid-col {
  min-width: 0;
}

.listing-video-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.listing-video-about-layout--content-only,
.listing-video-about-layout--video-only {
  grid-template-columns: minmax(0, 1fr);
}

.listing-video-about-media,
.listing-video-about-copy {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.listing-video-about-media .listing-detail-video-frame {
  aspect-ratio: 5 / 6;
  max-height: 380px;
}

.listing-video-about-copy .listing-about-block {
  padding: 18px 20px;
  border: 1px solid #dfe7ef;
  border-radius: 5px;
  background: #fff;
}

.listing-video-about-copy .listing-features-block {
  padding: 18px 20px;
  border: 0;
  background: transparent;
}

.admin-shell .listing-studio-attributes-grid,
.portal-shell .listing-studio-attributes-grid {
  align-items: stretch;
}

.admin-shell .listing-studio-attribute-card,
.portal-shell .listing-studio-attribute-card {
  height: 100%;
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-shell .listing-studio-attribute-card.is-multiselect,
.portal-shell .listing-studio-attribute-card.is-multiselect {
  background: #fbfcfd;
}

.admin-shell .listing-studio-attribute-label,
.portal-shell .listing-studio-attribute-label {
  margin-bottom: 0;
  font-weight: 700;
}

.admin-shell .listing-studio-choice-group,
.portal-shell .listing-studio-choice-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 12px;
}

.admin-shell .listing-studio-choice,
.portal-shell .listing-studio-choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 22px;
  line-height: 1.35;
}

.admin-shell .listing-studio-choice input,
.portal-shell .listing-studio-choice input {
  margin-top: 2px;
  flex: 0 0 16px;
}

.admin-shell .listing-studio-topbar,
.portal-shell .listing-studio-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 4px;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.admin-shell .listing-studio-shell,
.portal-shell .listing-studio-shell {
  overflow: visible;
}

.admin-shell .listing-studio-form,
.portal-shell .listing-studio-form {
  gap: 18px;
}

.admin-shell .listing-studio-form .row,
.portal-shell .listing-studio-form .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.admin-shell .listing-studio-form .row > [class*="col-"],
.portal-shell .listing-studio-form .row > [class*="col-"] {
  min-width: 0;
}

@media (min-width: 640px) {
  .admin-shell .listing-studio-form .row,
  .portal-shell .listing-studio-form .row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .admin-shell .listing-studio-form .col-md-1,
  .portal-shell .listing-studio-form .col-md-1 {
    grid-column: span 1;
  }

  .admin-shell .listing-studio-form .col-md-2,
  .portal-shell .listing-studio-form .col-md-2 {
    grid-column: span 2;
  }

  .admin-shell .listing-studio-form .col-md-3,
  .portal-shell .listing-studio-form .col-md-3 {
    grid-column: span 3;
  }

  .admin-shell .listing-studio-form .col-md-6,
  .portal-shell .listing-studio-form .col-md-6 {
    grid-column: span 6;
  }

  .admin-shell .listing-studio-form .col-md-5,
  .portal-shell .listing-studio-form .col-md-5 {
    grid-column: span 5;
  }

  .admin-shell .listing-studio-form .col-md-4,
  .portal-shell .listing-studio-form .col-md-4 {
    grid-column: span 4;
  }

  .admin-shell .listing-studio-form .col-md-7,
  .portal-shell .listing-studio-form .col-md-7 {
    grid-column: span 7;
  }

  .admin-shell .listing-studio-form .col-md-8,
  .portal-shell .listing-studio-form .col-md-8 {
    grid-column: span 8;
  }

  .admin-shell .listing-studio-form .col-md-9,
  .portal-shell .listing-studio-form .col-md-9 {
    grid-column: span 9;
  }

  .admin-shell .listing-studio-form .col-md-10,
  .portal-shell .listing-studio-form .col-md-10 {
    grid-column: span 10;
  }

  .admin-shell .listing-studio-form .col-md-11,
  .portal-shell .listing-studio-form .col-md-11 {
    grid-column: span 11;
  }

  .admin-shell .listing-studio-form .col-md-12,
  .portal-shell .listing-studio-form .col-md-12 {
    grid-column: 1 / -1;
  }
}

.admin-shell .listing-studio-form .col-12,
.portal-shell .listing-studio-form .col-12 {
  grid-column: 1 / -1;
}

.admin-shell .listing-studio-form .form-control,
.admin-shell .listing-studio-form .form-select,
.portal-shell .listing-studio-form .form-control,
.portal-shell .listing-studio-form .form-select {
  width: 100%;
}

.admin-shell .listing-studio-form .listing-pricing-currency-col .form-select,
.admin-shell .listing-studio-form .listing-simple-pricing-col .form-select,
.admin-shell .listing-studio-form .listing-simple-pricing-col .form-control,
.portal-shell .listing-studio-form .listing-pricing-currency-col .form-select,
.portal-shell .listing-studio-form .listing-simple-pricing-col .form-select,
.portal-shell .listing-studio-form .listing-simple-pricing-col .form-control {
  width: 100% !important;
  min-width: 0;
}

.admin-shell .listing-studio-form .listing-pricing-currency-col .form-label,
.admin-shell .listing-studio-form .listing-package-price-col .form-label,
.admin-shell .listing-studio-form .listing-location-grid .form-label,
.portal-shell .listing-studio-form .listing-pricing-currency-col .form-label,
.portal-shell .listing-studio-form .listing-package-price-col .form-label,
.portal-shell .listing-studio-form .listing-location-grid .form-label {
  display: block;
  margin-bottom: 8px;
}

.admin-shell .listing-studio-form .listing-location-note-col .form-label,
.portal-shell .listing-studio-form .listing-location-note-col .form-label {
  max-width: none;
}

.admin-shell .listing-studio-form .listing-service-area-card select[multiple],
.portal-shell .listing-studio-form .listing-service-area-card select[multiple] {
  min-height: 220px;
  padding-right: 12px;
}

.admin-shell .listing-studio-form .listing-service-area-card textarea,
.portal-shell .listing-studio-form .listing-service-area-card textarea {
  min-height: 168px;
  max-height: 280px;
}

@media (min-width: 768px) {
  .admin-shell .listing-studio-form .listing-pricing-currency-col,
  .portal-shell .listing-studio-form .listing-pricing-currency-col {
    grid-column: span 6;
    min-width: 260px;
  }

  .admin-shell .listing-studio-form .listing-package-name-col,
  .portal-shell .listing-studio-form .listing-package-name-col {
    grid-column: span 7;
  }

  .admin-shell .listing-studio-form .listing-package-price-col,
  .portal-shell .listing-studio-form .listing-package-price-col {
    grid-column: span 5;
    min-width: 220px;
  }

  .admin-shell .listing-studio-form .listing-location-grid--primary,
  .portal-shell .listing-studio-form .listing-location-grid--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell .listing-studio-form .listing-location-grid--address,
  .portal-shell .listing-studio-form .listing-location-grid--address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell .listing-studio-form .listing-location-street-col,
  .portal-shell .listing-studio-form .listing-location-street-col {
    grid-column: 1 / -1;
  }

  .admin-shell .listing-studio-form .listing-location-grid--numbers,
  .portal-shell .listing-studio-form .listing-location-grid--numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell .listing-studio-form .listing-location-grid--primary [class*="col-"],
  .portal-shell .listing-studio-form .listing-location-grid--primary [class*="col-"],
  .admin-shell .listing-studio-form .listing-location-grid--address [class*="col-"],
  .portal-shell .listing-studio-form .listing-location-grid--address [class*="col-"],
  .admin-shell .listing-studio-form .listing-location-grid--numbers [class*="col-"],
  .portal-shell .listing-studio-form .listing-location-grid--numbers [class*="col-"] {
    grid-column: auto;
  }

  .admin-shell .listing-studio-form .listing-location-grid--numbers .col-md-4:last-child,
  .portal-shell .listing-studio-form .listing-location-grid--numbers .col-md-4:last-child {
    display: none;
  }

  .admin-shell .listing-studio-form .listing-service-area-grid,
  .portal-shell .listing-studio-form .listing-service-area-grid {
    grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.1fr);
    align-items: start;
  }

  .admin-shell .listing-studio-form .listing-service-area-grid [class*="col-"],
  .portal-shell .listing-studio-form .listing-service-area-grid [class*="col-"] {
    grid-column: auto;
    min-width: 0;
  }

  .admin-shell .listing-studio-form .listing-service-area-preview-row,
  .portal-shell .listing-studio-form .listing-service-area-preview-row {
    margin-top: 16px !important;
  }
}

.admin-shell .pricing-duration-grid,
.portal-shell .pricing-duration-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.admin-shell .listing-studio-form .pricing-duration-grid,
.portal-shell .listing-studio-form .pricing-duration-grid {
  display: flex;
  flex-wrap: nowrap;
}

.admin-shell .pricing-duration-cell,
.portal-shell .pricing-duration-cell {
  min-width: 0;
  flex: 1 1 0;
}

.admin-shell .pricing-duration-input,
.portal-shell .pricing-duration-input {
  min-width: 0;
  width: 100%;
}

.admin-shell .listing-studio-section,
.portal-shell .listing-studio-section {
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  padding: 18px;
  background: #fcfdff;
}

.admin-shell .listing-studio-media-card,
.portal-shell .listing-studio-media-card {
  display: block;
}

.admin-shell .listing-studio-media-preview,
.portal-shell .listing-studio-media-preview {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.admin-shell .listing-studio-checkline,
.portal-shell .listing-studio-checkline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.admin-shell .listing-studio-checkline .form-check-input,
.portal-shell .listing-studio-checkline .form-check-input {
  margin: 0;
}

.admin-shell .listing-studio-checkline .form-check-label,
.portal-shell .listing-studio-checkline .form-check-label {
  margin: 0;
}

.admin-shell .listing-studio-section-head,
.portal-shell .listing-studio-section-head {
  margin-bottom: 14px;
}

.admin-shell .listing-studio-section-head > h3,
.portal-shell .listing-studio-section-head > h3 {
  margin: 0;
  font-size: 18px;
}

.admin-shell .listing-studio-topbar-nav,
.portal-shell .listing-studio-topbar-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.admin-shell .listing-studio-topbar-nav::-webkit-scrollbar,
.portal-shell .listing-studio-topbar-nav::-webkit-scrollbar {
  display: none;
}

.admin-shell .listing-studio-nav-link,
.portal-shell .listing-studio-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #5f6875;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.admin-shell .listing-studio-nav-link.is-active,
.admin-shell .listing-studio-nav-link[aria-current="true"],
.portal-shell .listing-studio-nav-link.is-active,
.portal-shell .listing-studio-nav-link[aria-current="true"] {
  border-color: var(--brand);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.admin-shell .listing-studio-nav-link[data-listing-error="true"],
.portal-shell .listing-studio-nav-link[data-listing-error="true"] {
  color: var(--ink);
}

.admin-shell .listing-studio-nav-dot,
.portal-shell .listing-studio-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d93025;
  box-shadow: none;
}

.admin-shell .listing-studio-section-anchor,
.portal-shell .listing-studio-section-anchor {
  scroll-margin-top: 64px;
}

.admin-shell .listing-studio-topbar-actions,
.portal-shell .listing-studio-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.admin-shell .listing-studio-topbar-actions .btn,
.portal-shell .listing-studio-topbar-actions .btn {
  min-width: 84px;
  min-height: 34px;
  padding: 7px 12px;
}

@media (max-width: 768px) {
  .admin-shell .listing-studio-section,
  .portal-shell .listing-studio-section {
    padding: 14px;
  }

  .admin-shell .listing-studio-topbar,
  .portal-shell .listing-studio-topbar {
    top: 0;
    align-items: stretch;
    flex-wrap: wrap;
    padding-top: 8px;
  }

  .admin-shell .listing-studio-topbar-nav,
  .portal-shell .listing-studio-topbar-nav {
    order: 1;
    flex: 1 1 100%;
    margin-inline: -2px;
    padding-inline: 2px;
    gap: 14px;
  }

  .admin-shell .listing-studio-topbar-actions,
  .portal-shell .listing-studio-topbar-actions {
    order: 2;
    width: 100%;
  }

  .admin-shell .listing-studio-topbar-actions .btn,
  .portal-shell .listing-studio-topbar-actions .btn {
    flex: 1 1 0;
  }

  .admin-shell .listing-studio-nav-link,
  .portal-shell .listing-studio-nav-link {
    min-height: 28px;
    padding-bottom: 7px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .admin-shell .listing-studio-choice-group,
  .portal-shell .listing-studio-choice-group {
    grid-template-columns: 1fr;
  }
}
.admin-shell .category-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-shell .category-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.admin-shell .bulk-toolbar .muted {
  margin-left: 4px;
}

.admin-shell .bulk-action-select {
  max-width: 280px;
  margin: 0;
}

.admin-shell .category-check {
  width: 18px;
  height: 18px;
  accent-color: #0f7a7a;
  cursor: pointer;
}

.admin-shell .category-cover-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d9dfeb;
}

.admin-shell .admin-table-row-link {
  cursor: pointer;
}

.admin-shell .admin-table-row-link:hover td {
  background: #f8fbff;
}

.admin-shell .admin-status-text {
  color: #2b4c7e;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.admin-shell .admin-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d7e2ee;
  background: #f5f8fb;
  color: #556779;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.admin-shell .admin-status-badge--positive {
  border-color: #b7e3c7;
  background: #e9f8ef;
  color: #18794e;
}

.admin-shell .admin-status-badge--warning {
  border-color: #eed9a3;
  background: #fff7df;
  color: #9a6700;
}

.admin-shell .admin-status-badge--danger {
  border-color: #efc2c2;
  background: #fff0f0;
  color: #b42318;
}

.admin-shell .admin-status-badge--muted {
  border-color: #d7e2ee;
  background: #f5f8fb;
  color: #556779;
}

.admin-shell .admin-status-text--muted {
  color: #5f6f80;
}

.admin-shell .admin-table-actions-cell .admin-row-actions--stack {
  align-items: flex-end;
  gap: 6px;
}

.admin-shell .admin-table-actions-cell .admin-action-form {
  margin: 0;
}

.admin-shell .admin-table-actions-cell .admin-action-link {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  color: #2b4c7e;
  text-decoration: none;
}

.admin-shell .admin-table-actions-cell .admin-action-link:hover {
  color: #16355f;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .admin-shell .admin-toolbar,
  .admin-shell .admin-toolbar--compact {
    grid-template-columns: 1fr;
  }

  .admin-shell .admin-toolbar-grid,
  .admin-shell .category-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .admin-shell .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-shell .wrap {
    width: calc(100% - 20px);
  }

  .admin-shell .card {
    padding: 14px;
  }

  .admin-shell .admin-surface-head {
    flex-direction: column;
  }

  .admin-shell .admin-surface-meta {
    justify-content: flex-start;
  }

  .admin-shell .admin-table-actions-head,
  .admin-shell .admin-table-actions-cell {
    text-align: left;
  }

  .admin-shell .admin-row-actions {
    justify-content: flex-start;
  }

  .admin-shell .admin-row-actions--stack {
    align-items: flex-start;
  }

  .admin-shell .admin-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-shell .admin-pagination-actions {
    width: 100%;
  }

  .admin-shell .admin-pagination-actions .btn {
    flex: 1 1 0;
  }

  .portal-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-pagination-controls {
    width: 100%;
    justify-content: space-between;
  }

  .portal-pagination-pages {
    display: none;
  }

  .portal-pagination-link {
    flex: 1 1 0;
  }
}

.portal-shell .mt-8 {
  margin-top: 8px;
}

.portal-shell .mt-10 {
  margin-top: 10px;
}

.portal-shell .mt-12 {
  margin-top: 12px;
}

.portal-shell .mb-10 {
  margin-bottom: 10px;
}

.portal-shell .status-ok {
  color: #0b7a3f;
}

.portal-shell .status-error {
  color: #b42318;
}

.portal-shell .muted-block {
  display: block;
  margin-bottom: 8px;
}

.portal-shell .page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.portal-shell .page-head h2 {
  margin: 0;
}

.portal-shell .owner-page-head {
  margin-bottom: 10px;
}

.portal-shell .message-bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.portal-shell .message-center-root {
  padding: 18px;
}

.portal-shell .message-toolbar {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #f9fbff;
  padding: 12px;
  margin: 0;
  box-shadow: none;
}

.portal-shell .message-detail-head {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.portal-shell .message-bubble {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.portal-shell .message-bubble-incoming {
  background: #fff;
}

.portal-shell .message-bubble-outgoing {
  background: #f5f9ff;
}

.portal-shell .message-thread {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.portal-shell .message-list {
  display: grid;
  gap: 8px;
}

.portal-shell .message-list-modern {
  gap: 12px;
}

.portal-shell .message-list-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.portal-shell .message-list-row-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.portal-shell .message-list-row-check .form-check-input {
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin: 0;
}

.portal-shell .message-list-item {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  transition: box-shadow 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.portal-shell .message-list-item:hover {
  border-color: #9eb9dc;
  box-shadow: 0 8px 16px rgba(16, 38, 67, 0.08);
  transform: translateY(-1px);
}

.portal-shell .message-list-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-top: 2px;
}

.portal-shell .message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #eef5ff;
  color: #1f3f69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.9rem;
}

.portal-shell .message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-shell .message-list-main {
  min-width: 0;
  flex: 1 1 auto;
}

.portal-shell .message-list-link {
  color: inherit;
  text-decoration: none;
  display: block;
  min-width: 0;
  width: 100%;
}

.portal-shell .message-list-link:hover {
  opacity: 0.96;
}

.portal-shell .message-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.portal-shell .message-list-titles {
  min-width: 0;
}

.portal-shell .message-list-excerpt {
  margin-top: 8px;
}

.portal-shell .message-list-reply {
  margin-top: 8px;
}

.portal-shell .message-list-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}

.portal-shell .message-list-check {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.portal-shell .message-list-item strong,
.portal-shell .message-list-item .small {
  word-break: break-word;
}

.portal-shell .message-list-empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

@media (max-width: 980px) {
  .admin-shell .category-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .listing-video-about-layout {
    grid-template-columns: 1fr;
  }

  .portal-shell .owner-shell-header {
    align-items: flex-start;
  }
  .portal-shell .account-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }
  .portal-shell .account-header-copy {
    flex: 1 1 auto;
    min-width: 0;
  }
  .portal-shell .account-switch-action {
    width: auto;
    min-width: 172px;
    margin-left: auto;
    align-self: flex-start;
    text-align: center;
  }
  .portal-shell .account-switch-action-desktop,
  .portal-shell .owner-shell-primary-action {
    display: none;
  }
  .portal-shell .btn.owner-mobile-nav-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
  }
  .portal-shell .account-shell {
    grid-template-columns: 1fr;
  }
  .portal-shell .account-shell-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .portal-shell .owner-shell-body {
    grid-template-columns: 1fr;
  }
  .portal-shell .account-nav {
    display: none;
  }
  .portal-shell .tabs-mobile {
    display: block;
    margin-top: 0;
  }
  .portal-shell .tabs-mobile-panel {
    display: block;
    margin-top: 4px;
    padding: 14px;
    border-radius: 18px;
  }
  .portal-shell .tabs-mobile-wrap {
    gap: 8px;
  }
  .portal-shell .tabs-mobile .account-tab {
    padding: 11px 14px;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 14px;
  }
  .portal-shell .account-shell-page {
    gap: 16px;
  }
  .portal-shell .account-shell-content {
    display: grid;
    gap: 16px;
  }
  .portal-shell .account-shell-surface {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .portal-shell .owner-shell-actions {
    width: auto;
    min-width: 0;
  }
  .portal-shell .metric-grid {
    gap: 12px;
  }
  .portal-shell .metric {
    padding: 16px 18px;
    border-radius: 16px;
  }
  .portal-shell .quick-grid {
    grid-template-columns: 1fr;
  }
  .portal-shell .account-profile-card,
.portal-shell .account-info-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 520px) {
  .portal-shell .account-header {
    flex-direction: column;
    gap: 14px;
  }
  .portal-shell .account-switch-action {
    margin-left: 0;
    align-self: flex-start;
  }
  .portal-shell .account-shell-hero {
    padding: 20px 16px 22px;
  }
  .portal-shell .tabs-mobile-panel {
    padding: 12px;
  }
  .portal-shell .account-shell-surface {
    padding: 22px 16px;
  }
  .portal-shell .account-shell-surface-messages {
    padding: 8px;
  }
  .portal-shell .account-payment-section {
    padding: 14px;
    border-radius: 16px;
  }
  .portal-shell .account-payment-card-body {
    padding: 16px;
  }
  .portal-shell .account-payment-add {
    width: 100%;
    min-width: 0;
  }
  .portal-shell .account-payment-card-head {
    flex-direction: column;
    align-items: stretch;
  }
  .portal-shell .account-payment-card-head .btn {
    width: 100%;
  }
  .portal-shell .metric {
    padding: 15px 16px;
  }
  .portal-shell .account-overview-grid {
    gap: 10px;
  }
  .portal-shell .account-overview-card {
    padding: 15px 14px;
    border-radius: 16px;
  }
  .portal-shell .account-overview-card .v {
    font-size: 1.32rem;
  }
  .portal-shell .owner-mobile-nav-link {
    padding: 11px 14px;
    border-radius: 14px;
  }
  .portal-shell .owner-shell-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.portal-shell .account-profile-card {
  overflow: hidden;
}

.portal-shell .account-profile-card-body {
  padding: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.portal-shell .account-info-card-body {
  padding: 20px;
}

.portal-shell .account-profile-header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.portal-shell .account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.portal-shell .account-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.portal-shell .account-company-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.portal-shell .account-company-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  user-select: none;
}

.portal-shell .account-company-toggle[data-state="open"] {
  background: #f7f7f7;
  border-color: var(--line);
}

.admin-shell .admin-error-card {
  border-color: #b91c1c;
  color: #7f1d1d;
}
.portal-shell .account-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.portal-shell .account-profile-avatar-image {
  object-fit: cover;
  display: block;
}

.portal-shell .account-profile-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: var(--ink);
  font-size: 2.2rem;
  font-weight: 700;
}

.portal-shell .account-profile-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-shell .account-profile-name {
  margin: 0;
}

.portal-shell .account-profile-role {
  font-size: 0.98rem;
  color: var(--muted);
}

.portal-shell .account-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-shell .account-profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f7f7f7;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

.portal-shell .account-profile-chip-neutral {
  background: #fff;
}

.portal-shell .account-profile-bio {
  max-width: 720px;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.6;
}

.portal-shell .account-info-list {
  display: grid;
  gap: 12px;
}

.portal-shell .account-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-shell .account-info-label,
.portal-shell .account-detail-label {
  min-width: 92px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.portal-shell .account-info-value,
.portal-shell .account-detail-value {
  font-size: 1rem;
  color: var(--ink);
  word-break: break-word;
}

.portal-shell .account-detail-value {
  margin-top: 4px;
}

.portal-shell .account-photo-preview {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.portal-shell .account-photo-preview-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
}

.portal-shell .account-photo-preview-image {
  object-fit: cover;
}

.portal-shell .account-photo-remove {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
}

.portal-shell .account-company-toggle-title {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.portal-shell .account-company-toggle-text,
.portal-shell .account-company-toggle-state {
  display: block;
  font-size: 0.875rem;
}

.portal-shell .account-company-toggle-text {
  color: var(--muted);
}

.portal-shell .account-company-toggle-state {
  font-weight: 600;
  color: var(--ink);
}
.portal-shell .profile-summary-grid {
    grid-template-columns: 1fr;
  }
  .portal-shell .message-list-item {
      flex-direction: column;
      gap: 10px;
    }
  .portal-shell .message-list-row {
      gap: 8px;
    }
  .portal-shell .message-list-left,
  .portal-shell .message-list-actions {
      align-items: flex-start;
    }
  .portal-shell .message-list-actions {
      width: 100%;
    }
  .portal-shell .message-list-head {
      flex-direction: column;
      gap: 4px;
    }
  }

@media (max-width: 860px) {
  .admin-shell .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .portal-shell .wrap {
    width: calc(100% - 20px);
    margin-top: 0;
  }
  .portal-shell .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .portal-shell .menu {
    justify-content: flex-start;
    width: 100%;
  }
  .portal-shell .identity {
    align-items: flex-start;
    max-width: 100%;
  }
  .portal-shell .badges {
    justify-content: flex-start;
  }
  .portal-shell .card {
    padding: 12px;
  }
  .portal-shell .btn {
    min-height: 38px;
  }
  .portal-shell .actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
  .portal-shell .metric-grid:not(.account-overview-grid) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .portal-shell .owner-overview-grid,
  .portal-shell .account-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) and (min-width: 361px) {
  .portal-shell .metric-grid.owner-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .auth-page .auth-main {
    padding: 12px 0 20px;
  }
  .topbar {
    align-items: center;
    flex-direction: row;
  }
  .topbar-actions {
    display: none;
  }
  .shell-mobile-menu {
    display: block;
  }
  .shell-mobile-menu-panel {
    right: 0;
    min-width: min(300px, calc(100vw - 32px));
    padding: 10px;
    border-radius: 16px;
  }
  .portal-shell .topbar {
    align-items: center;
    flex-direction: row;
  }
  .portal-shell .menu {
    width: auto;
  }
  .auth-page .auth-card {
    padding: 20px;
    border-radius: 16px;
  }
  .auth-page .auth-stage,
  .auth-page .auth-stage-login,
  .auth-page .auth-stage-register {
    width: 100%;
  }
  .auth-page .auth-card-head {
    gap: 8px;
    margin-bottom: 20px;
  }
  .auth-page .auth-card h1 {
    font-size: 28px;
  }
  .auth-page .auth-lead {
    font-size: 15px;
  }
  .auth-page .auth-actions {
    grid-template-columns: 1fr;
  }
  .auth-page .auth-stage-register .auth-card {
    padding: 20px;
  }
}




/* Listing detail premium v5 */
.listing-detail-page {
  display: grid;
  gap: 24px;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 28%, #ffffff 100%);
}

.listing-reference-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
}

.listing-profile-panel {
  display: grid;
  gap: 24px;
  padding: 24px 0;
}

.listing-profile-copy {
  display: grid;
  gap: 16px;
}

.listing-hero-summary {
  margin: 0;
  max-width: 48ch;
  color: #506277;
  font-size: 1rem;
  line-height: 1.75;
}

.listing-identity-line {
  margin: 0;
  color: #7d8b9d;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.01em;
}


.listing-section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listing-profile-copy h1 {
  margin: 0;
}


.listing-price-band {
  display: grid;
  gap: 8px;
  padding: 4px 0 2px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.listing-price-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listing-price-value {
  color: var(--ink);
  font-size: clamp(1.32rem, 1.8vw, 1.62rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.listing-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.listing-proof-row span {
  display: inline-flex;
  align-items: center;
}

.listing-proof-row strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.listing-price-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.listing-cta-panel-premium {
  display: grid;
  gap: 16px;
}


.listing-cta-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-cta-primary .btn {
  flex: 1 1 140px;
}

.listing-cta-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 34, 34, 0.18);
  padding-bottom: 2px;
}

.listing-cta-link:hover {
  color: var(--ink);
  border-bottom-color: rgba(34, 34, 34, 0.18);
}

.listing-media-panel {
  display: grid;
  width: min(100%, 520px);
  justify-self: end;
  align-self: start;
}

.listing-showcase-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 6 / 5;
  min-height: 0;
  border-radius: 5px;
  border: 1px solid #dfe7ef;
  background: linear-gradient(145deg, #f5f8fc 0%, #eef3f9 100%);
  box-shadow: none;
}

.listing-showcase-frame.is-fallback {
  aspect-ratio: 6 / 5;
}

.listing-showcase-frame .listing-main-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.listing-showcase-frame .listing-main-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 22%;
}

.listing-main-image--fallback {
  min-height: 0;
  max-height: none;
  box-sizing: border-box;
  object-fit: contain;
  padding: 28px;
  background: #f7f9fc;
}


.listing-gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 10px) / 3);
  gap: 5px;
  padding: 4px 0 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.listing-gallery-strip::-webkit-scrollbar {
  display: none;
}

.listing-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.listing-gallery-head > div:first-child {
  display: grid;
  gap: 6px;
}

.listing-gallery-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.listing-gallery-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #bfd0e0;
  border-radius: 999px;
  background: #f8fbff;
  color: #1f3b57;
  box-shadow: 0 10px 22px rgba(15, 37, 60, 0.12);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.listing-gallery-arrow:hover {
  border-color: #94abc1;
  background: #eef5fb;
  color: #10283e;
  box-shadow: 0 14px 28px rgba(15, 37, 60, 0.16);
}

.listing-gallery-strip .thumb-btn {
  min-width: 0;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #dfe7ef;
  background: #fff;
  box-shadow: none;
  scroll-snap-align: start;
}

.listing-gallery-strip .thumb-btn img {
  width: 100%;
  aspect-ratio: 6 / 5;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 5px;
}

.listing-gallery-strip .thumb-btn.is-active {
  box-shadow: none;
}

.listing-scroll-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.listing-scroll-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfd5dc;
  cursor: pointer;
}

.listing-scroll-dots button.is-active {
  background: #111827;
}

.listing-block {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.listing-story-block {
  display: grid;
  gap: 18px;
}

.listing-features-block,
.listing-gallery-block,
.listing-video-about-layout,
.listing-about-block {
  display: grid;
  gap: 16px;
}

.listing-video-about-copy .listing-inline-features {
  gap: 14px;
  padding-top: 0;
}

.listing-video-about-copy .listing-inline-feature-list {
  border-top-color: #dfe7ef;
}

.listing-video-about-copy .listing-inline-feature-item {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 13px 0;
}

.listing-video-about-copy .listing-inline-feature-item span {
  font-size: 11px;
  letter-spacing: 0.035em;
}

.listing-video-about-copy .listing-inline-feature-item strong {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
}

.listing-video-about-copy .listing-richtext {
  max-width: 74ch;
  font-size: 15px;
  line-height: 1.9;
}

.listing-about-readmore {
  gap: 10px;
}

.listing-about-readmore .listing-richtext p {
  margin: 0 0 12px;
}

.listing-about-readmore .listing-richtext p:last-child {
  margin-bottom: 0;
}

.listing-about-more summary {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 0;
  margin-top: -2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listing-about-more summary::-webkit-details-marker {
  display: none;
}

.listing-about-more[open] summary {
  margin-bottom: 10px;
}

.listing-inline-features {
  display: grid;
  gap: 18px;
  padding-top: 6px;
}

.listing-inline-feature-group {
  display: grid;
  gap: 8px;
}

.listing-inline-title {
  margin: 0;
}

.listing-inline-feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.listing-inline-feature-item {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.listing-inline-feature-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-inline-feature-item strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.listing-summary-lead {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.9;
}

.listing-richtext {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
}

.listing-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.listing-section-head h2 {
  margin: 0;
}

.listing-status-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.listing-section-head--stacked {
  align-items: flex-start;
  margin-bottom: 10px;
}

.listing-section-head--stacked .meta {
  margin: 6px 0 0;
}

.listing-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.listing-comment-action,
.listing-comment-like-form button,
.listing-review-compose-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 5px;
  border: 1px solid #dfe7ef;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}

.listing-comment-action svg,
.listing-review-compose-toggle svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: currentColor;
}

.listing-comment-like-form {
  margin: 0;
}

.listing-comment-like-form button {
  background: var(--bg-soft);
}

.listing-comment-action--soft {
  background: #fff8ef;
  border-color: #f1d7af;
  color: #8a6420;
}

.listing-comment-action.is-active,
.listing-comment-like-form button.is-active,
.listing-comment-action--soft.is-active {
  border-color: #b9d8c7;
  background: #eef8f1;
  color: #2d6a4f;
}

.listing-comment-card {
  border-radius: 5px;
  border: 1px solid #dfe7ef;
  background: #fff;
  box-shadow: none;
}

.listing-comment-card {
  padding: 18px;
}

.listing-comment-summary {
  display: grid;
  gap: 8px;
}

.listing-comment-summary-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.listing-comment-summary-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-comment-summary-score {
  display: block;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.15;
  font-weight: 600;
}

.listing-star-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.listing-star {
  color: #cfd8e3;
  font-size: 13px;
  line-height: 1;
}

.listing-star.is-active {
  color: #f5b301;
}

.listing-comments-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.listing-comment-entry {
  display: grid;
  gap: 8px;
}

.listing-detail-page .listing-variant-grid {
  --variant-visible-cards: 3;
  --variant-gap: 5px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--variant-gap) * (var(--variant-visible-cards) - 1))) / var(--variant-visible-cards));
  justify-content: start;
  align-items: stretch;
  gap: var(--variant-gap);
  margin-top: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.listing-detail-page .listing-variant-grid::-webkit-scrollbar {
  display: none;
}

.listing-detail-page .listing-variant-grid--single {
  grid-auto-flow: row;
  grid-auto-columns: minmax(240px, 320px);
  gap: 0;
  overflow-x: visible;
  scroll-snap-type: none;
}

.listing-detail-page .listing-variant-card {
  display: grid;
  gap: 12px;
  width: 100%;
  min-height: 100%;
  min-width: 0;
  padding: 14px;
  border-radius: 5px;
  border: 1px solid #dfe7ef;
  background: #fff;
  box-shadow: none;
  scroll-snap-align: start;
}

.listing-detail-page .listing-variant-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.listing-detail-page .listing-variant-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfd0e0;
  border-radius: 999px;
  background: #f8fbff;
  color: #1f3b57;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(15, 37, 60, 0.12);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.listing-detail-page .listing-variant-arrow:hover:not(:disabled) {
  background: #eef5fb;
  border-color: #94abc1;
  color: #10283e;
}

.listing-detail-page .listing-variant-arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

.listing-detail-page .listing-variant-grid--single .listing-variant-card {
  gap: 10px;
  padding: 12px;
  border-radius: 5px;
  box-shadow: none;
}

.listing-detail-page .listing-variant-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-detail-page .listing-variant-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.listing-detail-page .listing-variant-title--package {
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.listing-detail-page .listing-package-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 5px 10px;
  border: 1px solid #cfe8d7;
  border-radius: 999px;
  background: #f3fbf5;
  color: #1f6b45;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.listing-detail-page .listing-variant-title input[type="radio"] {
  accent-color: #3d5875;
}

.listing-detail-page .listing-variant-title strong {
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.32;
  font-weight: 650;
}

.listing-detail-page .listing-variant-grid--single .listing-variant-title strong {
  font-size: 1rem;
}

.listing-detail-page .listing-variant-meta {
  display: grid;
  gap: 10px;
}

.listing-detail-page .listing-variant-meta-row {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.listing-detail-page .listing-variant-grid--single .listing-variant-meta-row {
  gap: 3px;
  padding: 10px 0;
}

.listing-detail-page .listing-variant-meta-row span,
.listing-detail-page .listing-variant-price span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.listing-detail-page .listing-variant-meta-row strong {
  color: #26384a;
  font-size: 0.96rem;
  line-height: 1.52;
  font-weight: 550;
}

.listing-detail-page .listing-variant-grid--single .listing-variant-meta-row strong {
  font-size: 0.95rem;
}

.listing-detail-page .listing-variant-meta--package {
  min-height: 8.1em;
}

.listing-detail-page .listing-variant-meta-row--package-summary {
  min-height: 8.1em;
}

.listing-detail-page .listing-variant-meta-row--package-summary strong {
  display: -webkit-box;
  min-height: 7.6em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.listing-detail-page .listing-variant-price {
  display: grid;
  gap: 6px;
  padding: 12px 0 0;
  border-top: 0;
}

.listing-detail-page .listing-variant-grid--single .listing-variant-price {
  gap: 4px;
  padding: 10px 0 0;
}

.listing-detail-page .listing-variant-price strong {
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.2;
  font-weight: 650;
}

.listing-detail-page .listing-variant-grid--single .listing-variant-price strong {
  font-size: 1.08rem;
}

.listing-detail-page .listing-option-detail {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.listing-detail-page .listing-option-detail--hero {
  width: 100%;
}

.listing-detail-page .listing-option-detail-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  padding: 9px 14px;
  border: 1px solid #17202a;
  border-radius: 5px;
  background: #fff;
  color: #24303b;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.listing-detail-page .listing-option-detail-trigger:hover {
  border-color: #5d6b78;
  color: #111827;
}

.listing-detail-page .listing-option-modal[hidden] {
  display: none;
}

body.listing-option-modal-open {
  overflow: hidden;
}

.listing-detail-page .listing-option-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 40, 0.42);
}

.listing-detail-page .listing-option-modal-dialog {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  border: 1px solid #dfe7ef;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.listing-detail-page .listing-option-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dbe4ed;
  border-radius: 5px;
  background: #fff;
  color: #24303b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.listing-detail-page .listing-option-detail-title {
  padding-right: 34px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.listing-detail-page .listing-option-detail-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid #e5edf4;
}

.listing-detail-page .listing-option-detail-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #e5edf4;
}

.listing-detail-page .listing-option-detail-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-detail-page .listing-option-detail-row strong {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  color: #25384b;
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.listing-detail-page .listing-option-detail-row--includes strong {
  display: block;
}

.listing-detail-page .listing-option-detail-row--includes {
  grid-template-columns: minmax(0, 1fr);
}

.listing-detail-page .listing-option-include-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.listing-detail-page .listing-option-include-list li {
  margin: 0;
  padding: 0;
}

.listing-detail-page .listing-option-detail-row strong span {
  color: #526274;
  font-size: 0.86rem;
  font-weight: 540;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}

.listing-detail-page .listing-option-detail-row strong span i {
  display: inline-block;
  margin: 0 7px 0 4px;
  color: #a2acb8;
  font-style: normal;
}

.listing-detail-page .listing-option-reserve {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ec174f 0%, #d40b72 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: none;
}

.listing-detail-page .listing-option-reserve:hover,
.listing-detail-page .listing-option-reserve:focus {
  color: #fff;
  background: linear-gradient(135deg, #d91147 0%, #bd0865 100%);
}

.listing-comment-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-comment-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.listing-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #dce5ef;
  background: #eef5ff;
  color: #1f3f69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.listing-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-owner-reply-entry {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 0 0 12px;
  border: 1px solid #dce5ef;
  border-width: 1px 0 0 0;
  background: #f7fbff;
}

.listing-owner-reply-avatar {
  background: #fff;
}

.listing-owner-reply-avatar img {
  transform: scale(1.18);
}

.listing-comment-entry-rating,
.listing-comment-entry-copy,
.listing-comment-empty .meta,
.listing-review-login-card p {
  margin: 0;
}

.listing-review-compose {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.listing-review-compose[open] .listing-review-compose-toggle {
  border-color: #173c7a;
  background: #eef4ff;
  color: var(--ink);
}

.listing-review-compose-toggle {
  cursor: pointer;
  list-style: none;
  width: fit-content;
}

.listing-review-compose-toggle::-webkit-details-marker {
  display: none;
}

.listing-review-compose-card {
  display: grid;
  gap: 12px;
}

.listing-comment-form {
  display: grid;
  gap: 12px;
}

.listing-review-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 12px;
}

.listing-review-visibility {
  display: grid;
  gap: 8px;
}

.listing-review-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #fbfdff;
}

.listing-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
}

.listing-modal.is-open {
  display: flex;
}

.listing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 36, 0.48);
}

.listing-modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #dce5ef;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 37, 60, 0.24);
}

.listing-modal-card h3 {
  margin: 0 0 14px;
}

.listing-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #eef4fb;
  color: #27415f;
  font-size: 24px;
  line-height: 1;
}

.listing-related-section {
  margin-top: 0;
}

.listing-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.listing-related-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 4px;
  padding: 12px;
  border-radius: 5px;
  border-color: #dfe7ef;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: inherit;
  text-decoration: none !important;
  box-shadow: none;
}

.listing-related-card:hover,
.listing-related-card:visited,
.listing-related-card:focus-visible,
.listing-related-card:active,
.listing-related-card:hover .listing-related-title,
.listing-related-card:visited .listing-related-title,
.listing-related-card:focus-visible .listing-related-title,
.listing-related-card:active .listing-related-title,
.listing-related-card:hover .listing-related-summary,
.listing-related-card:visited .listing-related-summary,
.listing-related-card:focus-visible .listing-related-summary,
.listing-related-card:active .listing-related-summary,
.listing-related-card:hover .listing-related-location,
.listing-related-card:visited .listing-related-location,
.listing-related-card:focus-visible .listing-related-location,
.listing-related-card:active .listing-related-location {
  text-decoration: none !important;
}

.listing-related-location {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: -2px 0 1px;
  padding: 0;
  color: #667789;
  font-size: 0.82rem;
  line-height: 1.1;
  text-decoration: none !important;
}

.listing-related-location svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  fill: currentColor;
  opacity: 0.85;
}

.listing-related-cover {
  height: auto;
  max-height: none;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  border-color: #dfe7ef;
  object-position: center center;
}

.listing-related-heading {
  display: grid;
  gap: 0;
}

.listing-related-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 26px;
  gap: 8px;
}

.listing-related-title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.32;
  font-weight: 650;
  text-decoration: none !important;
}

.listing-related-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(214, 158, 46, 0.3);
  border-radius: 999px;
  background: #fff8e8;
  color: #9a6112;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.listing-related-rating span[aria-hidden="true"] {
  color: #d08d19;
}

.listing-related-summary {
  display: -webkit-box;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #3c4d5f;
  font-size: 0.93rem;
  line-height: 1.55;
  text-decoration: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-related-summary::first-letter {
  text-transform: uppercase;
}


@media (max-width: 960px) {
  .listing-reference-hero {
    grid-template-columns: 1fr;
  }

  .listing-profile-panel {
    padding-top: 0;
  }

  .listing-media-panel {
    width: 100%;
    justify-self: stretch;
  }

  .listing-showcase-frame {
    aspect-ratio: 6 / 5;
  }

  .listing-gallery-strip {
    grid-auto-columns: calc((100% - 5px) / 2);
  }

  .listing-detail-page .listing-variant-grid {
    --variant-visible-cards: 2;
  }

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

  .listing-gallery-nav {
    gap: 8px;
  }

  .listing-gallery-arrow {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 640px) {
  .listing-detail-page {
    gap: 18px;
    padding: 8px;
  }

  .listing-showcase-frame {
    aspect-ratio: 6 / 5;
  }

  .listing-main-image--fallback {
    min-height: 0;
    max-height: none;
    padding: 20px;
  }

  .listing-gallery-head {
    align-items: flex-start;
  }

  .listing-gallery-strip {
    grid-auto-columns: 100%;
    gap: 8px;
  }

  .listing-gallery-strip .thumb-btn img {
    aspect-ratio: 5 / 4;
  }

  .listing-inline-feature-list {
    border-top: 0;
  }

  .listing-inline-feature-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .listing-cta-primary .btn {
    flex-basis: 100%;
  }

  .listing-comment-form,
  .listing-comment-card {
    padding: 14px;
  }

  .listing-detail-page .listing-variant-grid {
    --variant-visible-cards: 1;
    --variant-gap: 5px;
  }

  .listing-detail-page .listing-variant-nav {
    display: none;
  }

  .listing-detail-page .listing-variant-card {
    gap: 10px;
    padding: 12px;
  }

  .listing-related-grid {
    grid-template-columns: 1fr;
  }
}


/* TASK-436: listing detail and landing detail share the same outer content rhythm. */
.public-content-entry.listing-detail-page,
.public-content-entry.landing-detail-page {
  max-width: 1180px;
}

/* TASK-127 final detail overrides */
.listing-detail-page {
  max-width: 1180px;
  margin-inline: auto;
  gap: 28px;
}

.listing-reference-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);
  gap: 28px;
  align-items: stretch;
}

.listing-profile-panel {
  align-self: stretch;
  align-content: center;
  max-width: none;
  gap: 18px;
  padding: 26px 28px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: none;
}

.listing-hero-grid {
  display: grid;
  grid-template-areas:
    "identity"
    "title"
    "price"
    "actions";
  gap: 16px;
  align-items: start;
}

.listing-detail-page .listing-identity-line {
  grid-area: identity;
  margin: 0;
  color: #5f7288;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.listing-hero-title-row {
  grid-area: title;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.listing-hero-title-row h1 {
  margin: 0;
  font-size: clamp(1.48rem, 2vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.listing-hero-price-row {
  grid-area: price;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.listing-hero-stat-chip {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  transition: filter 160ms ease, box-shadow 160ms ease;
}

.listing-hero-stat-chip:hover,
.listing-hero-stat-chip:visited,
.listing-hero-stat-chip:focus-visible,
.listing-hero-stat-chip:active {
  text-decoration: none !important;
}

.listing-hero-stat-chip:hover span,
.listing-hero-stat-chip:visited span,
.listing-hero-stat-chip:focus-visible span,
.listing-hero-stat-chip:active span {
  text-decoration: none !important;
}

.listing-hero-stat-chip span {
  text-decoration: none !important;
}

.listing-hero-stat-chip:hover,
.listing-hero-stat-chip:focus-visible {
  filter: brightness(0.98);
  box-shadow: 0 0 0 2px rgba(148, 171, 193, 0.18);
}

.listing-hero-stat-chip--rating {
  border: 1px solid rgba(214, 158, 46, 0.34);
  background: linear-gradient(180deg, #fff9ee 0%, #fff3d8 100%);
  color: #9a6112;
}

.listing-hero-stat-chip--rating span[aria-hidden="true"] {
  color: #d08d19;
}

.listing-hero-stat-chip--count {
  border: 1px solid rgba(53, 154, 95, 0.22);
  background: linear-gradient(180deg, #eefbf2 0%, #e1f8e9 100%);
  color: #2f8d57;
}

.listing-detail-page .listing-price-band {
  gap: 6px;
  padding: 0;
}

.listing-detail-page .listing-price-label {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.listing-detail-page .listing-price-value {
  font-size: clamp(1.28rem, 1.5vw, 1.48rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.listing-detail-page .listing-proof-row {
  gap: 0;
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.4;
}

.listing-detail-page .listing-proof-row span,
.listing-detail-page .listing-proof-row strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.listing-detail-page .listing-proof-row strong {
  gap: 4px;
  color: var(--text);
}

.listing-detail-page .listing-proof-row strong span[aria-hidden="true"] {
  color: #b88a2f;
}

.listing-detail-page .listing-proof-row > * + * {
  padding-left: 14px;
  margin-left: 14px;
}

.listing-detail-page .listing-proof-row > * + *::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c7d2de;
  transform: translateY(-50%);
}

.listing-detail-page .listing-cta-panel-premium {
  grid-area: actions;
  display: grid;
  gap: 10px;
  margin-top: 8px;
  justify-items: start;
}

.listing-detail-page .listing-cta-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 156px));
  gap: 8px;
}

.listing-detail-page .listing-cta-primary .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
}

.listing-detail-page .listing-cta-primary .btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.listing-detail-page .listing-cta-primary .listing-cta-call {
  background: #3f7dea;
  color: #fff;
  border-color: #3f7dea;
}

.listing-detail-page .listing-cta-primary .listing-cta-call:hover {
  background: #326bd0;
  color: #fff;
  border-color: #326bd0;
}

.listing-detail-page .listing-cta-primary .listing-cta-whatsapp {
  background: #22c55e;
  color: #fff;
  border-color: #22c55e;
}

.listing-detail-page .listing-cta-primary .listing-cta-whatsapp:hover {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.listing-detail-page .listing-cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-top: 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.listing-media-panel {
  width: min(100%, 560px);
  justify-self: end;
}

.listing-detail-page .listing-gallery-block,
.listing-detail-page .listing-features-block,
.listing-detail-page .listing-about-block,
.listing-detail-page .listing-comments-block,
.listing-detail-page .listing-related-section {
  padding-top: 8px;
}

.listing-detail-page .listing-about-block {
  display: grid;
  gap: 12px;
}

.listing-detail-page .listing-about-block .listing-inline-title {
  margin-bottom: 2px;
}

.listing-detail-page .listing-story-block {
  display: grid;
  gap: 12px;
  max-width: 72ch;
}

.listing-detail-page .listing-richtext {
  max-width: 68ch;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.82;
}

.listing-detail-page .listing-richtext p:first-child {
  margin-top: 0;
}

.listing-detail-page .listing-comment-summary {
  padding: 18px 20px;
  border-color: #dfe7ef;
  background: #fff;
}

.listing-detail-page .listing-comment-summary-score {
  font-size: 1.1rem;
  line-height: 1.15;
}

.listing-detail-page .listing-comments-list {
  gap: 12px;
}

@media (max-width: 960px) {
  .listing-reference-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .listing-media-panel {
    order: 1;
    width: 100%;
    justify-self: stretch;
    margin-top: 0;
  }

  .listing-profile-panel {
    order: 2;
    max-width: none;
    gap: 20px;
    padding: 22px 20px;
  }

  .listing-hero-grid {
    gap: 12px;
  }

  .listing-hero-title-row,
  .listing-hero-price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .listing-detail-page .listing-cta-panel-premium {
    justify-items: stretch;
  }
}

@media (max-width: 640px) {
  .listing-detail-page {
    gap: 24px;
  }

  .listing-reference-hero {
    gap: 18px;
  }

  .listing-showcase-frame,
  .listing-showcase-frame.is-fallback {
    aspect-ratio: 6 / 5;
    border-radius: 5px;
  }

  .listing-profile-panel {
    gap: 18px;
    padding: 20px 8px;
  }

  .listing-hero-stat-chip {
    justify-self: end;
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .listing-detail-page .listing-richtext {
    max-width: none;
    font-size: 1rem;
    line-height: 1.75;
  }

  .listing-detail-page .listing-cta-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-detail-page .listing-price-value {
    font-size: clamp(1.4rem, 5vw, 1.65rem);
  }

  .listing-detail-page .listing-proof-row {
    justify-content: flex-start;
    gap: 6px 0;
  }

  .listing-detail-page .listing-proof-row span,
  .listing-detail-page .listing-proof-row strong {
    width: auto;
    justify-content: flex-start;
    flex: 0 0 auto;
    font-size: 12px;
  }

  .listing-detail-page .listing-proof-row > * + * {
    padding-left: 12px;
    margin-left: 12px;
  }

  .listing-detail-page .listing-cta-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .listing-detail-page .listing-cta-primary .btn {
    width: 100%;
    min-height: 44px;
  }

  .listing-detail-page .listing-cta-link {
    width: fit-content;
    justify-content: flex-start;
  }
}




.admin-shell .admin-feedback-page {
  display: grid;
  gap: 20px;
}

.admin-shell .admin-feedback-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-shell .admin-feedback-eyebrow,
.admin-shell .admin-feedback-section-kicker {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.admin-shell .admin-feedback-intro {
  max-width: 760px;
  margin: 8px 0 0;
}

.admin-shell .admin-feedback-filter {
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #f8fafc;
}

.admin-shell .admin-feedback-section {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
}

.admin-shell .admin-feedback-section-primary {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.admin-shell .admin-feedback-section-secondary {
  background: #fbfdff;
}

.admin-shell .admin-feedback-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-shell .admin-feedback-section-head h3 {
  margin: 0;
}

.admin-shell .admin-feedback-section-note {
  max-width: 420px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-shell .admin-feedback-table {
  border-radius: 12px;
  overflow: hidden;
}

.admin-shell .admin-feedback-table-primary {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-shell .admin-feedback-table-secondary {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  max-height: 360px;
  overflow: auto;
}

.admin-shell .admin-feedback-action-form {
  min-width: 190px;
}

@media (max-width: 991px) {
  .admin-shell .admin-feedback-section-head,
  .admin-shell .admin-feedback-header {
    flex-direction: column;
  }

  .admin-shell .admin-feedback-section-note {
    max-width: none;
  }
}


.admin-shell .admin-feedback-filter-actions .btn {
  min-width: 92px;
}

.admin-shell .admin-feedback-section-head {
  align-items: center;
  margin-bottom: 12px;
}

.admin-shell .admin-feedback-col-id,
.admin-shell .admin-feedback-cell-id {
  width: 56px;
  white-space: nowrap;
}

.admin-shell .admin-feedback-col-score {
  width: 72px;
  white-space: nowrap;
}

.admin-shell .admin-feedback-col-status {
  width: 96px;
  white-space: nowrap;
}

.admin-shell .admin-feedback-col-action {
  width: 176px;
}

.admin-shell .admin-feedback-comment {
  min-width: 180px;
  max-width: 340px;
  color: var(--text-color);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-shell .admin-feedback-action-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.admin-shell .admin-feedback-action-form .form-select {
  min-width: 98px;
}

.admin-shell .admin-feedback-action-form .btn {
  min-width: 62px;
}

.admin-shell .admin-feedback-table-secondary table {
  font-size: 13px;
}

@media (max-width: 991px) {
  .admin-shell .admin-feedback-filter-actions {
    width: 100%;
  }

  .admin-shell .admin-feedback-filter-actions .btn {
    flex: 1 1 auto;
  }

  .admin-shell .admin-feedback-comment {
    min-width: 140px;
    max-width: 220px;
  }

  .admin-shell .admin-feedback-action-form {
    min-width: 144px;
  }
}
.shell-notification-menu {
  position: relative;
  flex: 0 0 auto;
}

.shell-notification-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  background: #f6f9fd;
  color: var(--ink);
  cursor: pointer;
  box-shadow: none;
}

.shell-notification-trigger::-webkit-details-marker {
  display: none;
}

.shell-notification-menu[open] .shell-notification-trigger,
.shell-notification-trigger:hover,
.shell-notification-trigger:focus-visible {
  border-color: #d9e4f2;
  background: #eef4fb;
  outline: none;
}

.shell-notification-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.shell-notification-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.shell-notification-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 56, 92, 0.10);
}

.shell-notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 45;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--surface-shadow);
}

.shell-notification-row,
.shell-mobile-notification-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shell-notification-row {
  padding: 10px 12px;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.shell-notification-row:hover,
.shell-notification-row:focus-visible {
  border-color: rgba(255, 56, 92, 0.18);
  background: #fff7f9;
  outline: none;
}

.shell-notification-row strong,
.shell-mobile-notification-link strong {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.shell-mobile-notification-list {
  display: grid;
  gap: 6px;
}

.shell-mobile-notification-link {
  background: linear-gradient(135deg, rgba(255, 56, 92, 0.07), rgba(255, 122, 89, 0.07));
}
.portal-shell .portal-unread-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .42rem;
  border-radius: 999px;
  border: 1px solid #d9e4f2;
  background: #f6f9fd;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}
.portal-shell .owner-message-surface {
  padding: 8px;
}

.portal-shell .owner-message-surface .message-center-root {
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .portal-shell .owner-message-surface {
    padding: 8px;
  }
}
.portal-shell .message-list-row-check .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.portal-shell .message-list-row-check .form-check-input:checked:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.portal-shell .message-list-row-check .form-check-input:not(:checked) {
  border-color: #c5d1df;
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(71, 85, 105, 0.06);
}

.portal-shell .message-list-row-check .form-check-input:not(:checked):hover,
.portal-shell .message-list-row-check .form-check-input:not(:checked):focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.16);
}

.portal-shell .table-striped > tbody > tr:nth-of-type(odd) > *,
.portal-shell .table-striped > tbody > tr:nth-of-type(even) > *,
.admin-shell .table-striped > tbody > tr:nth-of-type(odd) > *,
.admin-shell .table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: transparent;
  box-shadow: none;
}

.portal-shell .table-striped > tbody > tr + tr > *,
.admin-shell .table-striped > tbody > tr + tr > * {
  border-top: 1px solid #e5e7eb;
}

.portal-shell .card,
.portal-shell .metric,
.portal-shell .account-shell-surface,
.portal-shell .account-nav,
.portal-shell .account-tab,
.portal-shell .account-profile-card,
.portal-shell .account-info-item,
.portal-shell .profile-item,
.portal-shell .account-listing-thumb,
.portal-shell .account-requests-table tr,
.portal-shell .account-reviews-table tr,
.portal-shell .account-favorites-table tr,
.portal-shell .owner-listings-table tr,
.portal-shell .owner-leads-table tr,
.portal-shell .support-listings-table tr,
.portal-shell .support-requests-table tr,
.portal-shell .message-list-item,
.portal-shell .owner-message-surface,
.portal-shell .customer-request-summary-card,
.portal-shell .reservation-document,
.portal-shell .reservation-document-actions {
  border-radius: 5px;
}

@media (max-width: 768px) {
  .portal-shell .account-requests-table td,
  .portal-shell .account-reviews-table td,
  .portal-shell .account-favorites-table td,
  .portal-shell .owner-listings-table td,
  .portal-shell .owner-leads-table td,
  .portal-shell .support-listings-table td,
  .portal-shell .support-requests-table td {
    border: 0 !important;
    box-shadow: none !important;
  }

  .portal-shell .account-requests-table td + td,
  .portal-shell .account-reviews-table td + td,
  .portal-shell .account-favorites-table td + td,
  .portal-shell .owner-listings-table td + td,
  .portal-shell .owner-leads-table td + td,
  .portal-shell .support-listings-table td + td,
  .portal-shell .support-requests-table td + td {
    border-top: 0 !important;
  }
}

/* Public detail embedded content guardrails. */
.public-content-entry {
  margin-left: auto;
  margin-right: auto;
}

.public-content-entry.landing-detail-page,
.public-content-entry.listing-detail-page {
  max-width: 1180px;
}

.public-content-entry > div {
  display: flow-root;
}

.public-content-entry h1,
.public-content-entry h2,
.public-content-entry h3 {
  clear: both;
}

.public-content-entry h1 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.04;
}

.public-content-entry h2 {
  margin-top: 34px;
  font-size: clamp(19px, 2vw, 26px);
}

.public-content-entry p {
  max-width: 72ch;
}

.public-content-entry img,
.public-content-entry video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  background: #f1f3f6;
}

.public-content-entry video {
  aspect-ratio: 16 / 9;
}

.public-content-entry table {
  width: 100%;
  margin: 14px 0 24px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: #fff;
}

.public-content-entry th,
.public-content-entry td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  text-align: left;
  vertical-align: top;
}

.public-content-entry tr:last-child th,
.public-content-entry tr:last-child td {
  border-bottom: 0;
}

.public-content-entry th {
  background: #fbfcfe;
  font-weight: 800;
}

.public-content-entry table:has(img),
.public-content-entry table:has(video) {
  display: block;
  border: 0;
  background: transparent;
  overflow: visible;
}

.public-content-entry table:has(img) tbody,
.public-content-entry table:has(video) tbody,
.public-content-entry table:has(img) tr,
.public-content-entry table:has(video) tr {
  display: contents;
}

.public-content-entry table:has(img) td,
.public-content-entry table:has(video) td {
  display: block;
  padding: 0;
  border: 0;
}

.public-content-entry table:has(img) tbody,
.public-content-entry table:has(video) tbody {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-content-entry table:has(img) img {
  aspect-ratio: 4 / 3;
}

.public-content-entry > div > p:last-child {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.public-content-entry > div > p:last-child a[href^="tel:"],
.public-content-entry > div > p:last-child a[href*="whatsapp"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.public-content-entry > div > p:last-child a[href*="whatsapp"] {
  border-color: #21a67a;
  background: #21a67a;
}

@media (max-width: 760px) {
  .public-content-entry {
    padding: 16px;
  }

  .public-content-entry table:has(img) tbody,
  .public-content-entry table:has(video) tbody {
    grid-template-columns: 1fr;
  }

  .public-content-entry table:not(:has(img)):not(:has(video)) {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .landing-detail-page table:not(:has(img)):not(:has(video)) {
    display: table;
    table-layout: fixed;
    overflow: hidden;
    white-space: normal;
    font-size: clamp(11px, 2.85vw, 13px);
  }

  .landing-detail-page table:not(:has(img)):not(:has(video)) th,
  .landing-detail-page table:not(:has(img)):not(:has(video)) td {
    padding: 8px 6px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

.landing-detail-page {
  max-width: 1180px;
  padding: 28px;
  border-radius: 5px;
}

.landing-detail-page > div {
  display: grid;
  grid-template-columns: minmax(270px, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "kicker media"
    "title media"
    "summary media"
    "actions media"
    "body body";
  gap: 12px 28px;
  align-items: center;
}

.landing-detail-page > div > :nth-child(1) {
  grid-area: kicker;
  margin: 0;
  color: rgba(80, 98, 119, 0.58);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-detail-page > div > :nth-child(1) strong {
  color: inherit;
  font-weight: 500;
}

.landing-detail-page > div > :nth-child(2) {
  grid-area: title;
  margin: 0;
  max-width: 13ch;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.landing-detail-page > div > :nth-child(3) {
  grid-area: summary;
  margin: 0;
  max-width: 46ch;
  color: #506277;
  font-size: 1rem;
  line-height: 1.75;
}

.landing-detail-page > div > :nth-child(4) {
  grid-area: actions;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 0;
}

.landing-detail-page > div > :nth-child(4) a[href^="tel:"],
.landing-detail-page > div > :nth-child(4) a[href*="whatsapp"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 37, 60, 0.08);
}

.landing-detail-page > div > :nth-child(4) a[href*="whatsapp"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.landing-detail-page > div > :nth-child(5) {
  grid-area: media;
  margin: 0;
}

.landing-detail-page > div > :nth-child(5) img {
  aspect-ratio: 16 / 11;
  min-height: 360px;
  border-radius: 5px;
  box-shadow: 0 18px 36px rgba(15, 37, 60, 0.12);
}

.landing-detail-page > div > :nth-child(n+6) {
  grid-column: 1 / -1;
}

.landing-detail-page > div > :nth-child(6) {
  margin-top: 30px;
}

.landing-detail-page > div > p:last-child a[href^="tel:"],
.landing-detail-page > div > p:last-child a[href*="whatsapp"] {
  box-shadow: none;
}

@media (max-width: 900px) {
  .landing-detail-page > div {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "summary"
      "actions"
      "media"
      "body";
  }

  .landing-detail-page > div > :nth-child(5) img {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .landing-detail-page {
    padding: 16px;
    border-radius: 5px;
  }

  .landing-detail-page > div > :nth-child(4) a[href^="tel:"],
  .landing-detail-page > div > :nth-child(4) a[href*="whatsapp"] {
    flex: 1 1 150px;
  }
}

.public-content-entry table:has(h3) {
  display: block;
  border: 0;
  background: transparent;
  overflow: visible;
}

.public-content-entry table:has(h3) tbody,
.public-content-entry table:has(h3) tr {
  display: contents;
}

.public-content-entry table:has(h3) tbody {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-content-entry table:has(h3) td {
  display: block;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--surface-shadow-soft);
  white-space: normal;
}

.public-content-entry table:has(h3) h3 {
  margin: 0 0 8px;
}

.public-content-entry table:has(h3) p {
  margin: 0;
  max-width: none;
}

@media (max-width: 760px) {
  .public-content-entry table:has(h3) tbody {
    grid-template-columns: 1fr;
  }

  .public-content-entry table:has(h3) {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .public-content-entry table:has(h3):not(:has(img)):not(:has(video)) {
    overflow: visible;
    white-space: normal;
  }
}

.public-content-entry img,
.public-content-entry video {
  border-radius: 5px;
}

.public-content-entry .service-category-story-image {
  width: min(100%, 340px);
  height: min(100vw, 340px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.public-content-entry table:has(img) img,
.public-content-entry table:has(video) video {
  border-radius: 5px;
}

.landing-detail-page table.sunnet-portrait-gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}

.landing-detail-page > div > p.nisan-portrait-hero img,
.landing-detail-page table.nisan-portrait-gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.landing-detail-page > div > p.nisan-portrait-hero img {
  min-height: clamp(360px, 42vw, 560px);
}

.public-content-entry video {
  aspect-ratio: 4 / 3;
}

.landing-detail-page > div > :nth-child(5) img {
  border-radius: 5px;
}

.landing-detail-page > div > :nth-child(4) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 156px));
  gap: 8px;
  align-items: stretch;
}

.landing-detail-page > div > :nth-child(4) a[href^="tel:"],
.landing-detail-page > div > :nth-child(4) a[href*="whatsapp"] {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
}

.landing-detail-page > div > :nth-child(4) a[href^="tel:"] {
  border-color: #3f7dea;
  background: #3f7dea;
  color: #fff;
}

.landing-detail-page > div > :nth-child(4) a[href^="tel:"]:hover {
  border-color: #326bd0;
  background: #326bd0;
  color: #fff;
}

.landing-detail-page > div > :nth-child(4) a[href*="whatsapp"] {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
}

.landing-detail-page > div > :nth-child(4) a[href*="whatsapp"]:hover {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

@media (max-width: 640px) {
  .landing-detail-page > div > :nth-child(4) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-detail-page > div > :nth-child(4) a[href^="tel:"],
  .landing-detail-page > div > :nth-child(4) a[href*="whatsapp"] {
    width: 100%;
    min-height: 44px;
  }
}

.public-content-entry h2 + table:has(strong):has(p) {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.public-content-entry h2 + table:has(strong):has(p) tbody,
.public-content-entry h2 + table:has(strong):has(p) tr {
  display: contents;
}

.public-content-entry h2 + table:has(strong):has(p) td {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  background: #fff;
  box-shadow: var(--surface-shadow-soft);
  white-space: normal;
}

.public-content-entry h2 + table:has(strong):has(p) strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.public-content-entry h2 + table:has(strong):has(p) strong::before {
  content: "★";
  color: #d08d19;
  font-size: 14px;
}

.public-content-entry h2 + table:has(strong):has(p) p {
  margin: 0;
  max-width: none;
  color: #506277;
}

.landing-detail-page .public-content-entry table:has(h3) td,
.landing-detail-page table:has(h3) td {
  position: relative;
  gap: 10px;
  padding: 20px;
  border-color: rgba(191, 208, 224, 0.72);
  border-radius: 5px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 26px rgba(15, 37, 60, 0.08);
}

.landing-detail-page table:has(h3) td h3 {
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.landing-detail-page table:has(h3) td h3 + p:has(strong) {
  margin: 2px 0 4px;
  padding: 10px 12px;
  border: 1px solid rgba(53, 154, 95, 0.22);
  border-radius: 5px;
  background: linear-gradient(180deg, #eefbf2 0%, #e1f8e9 100%);
  color: #2f8d57;
}

.landing-detail-page table:has(h3) td h3 + p:has(strong) strong {
  color: inherit;
  font-size: 1.18rem;
  line-height: 1.05;
}

.landing-detail-page table:has(h3) td h3 + p:has(strong)::before {
  content: "Paket fiyatı";
  display: block;
  margin-bottom: 4px;
  color: #5f7288;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-detail-page table:has(h3) td p:last-child {
  color: #506277;
  line-height: 1.65;
}

/* TASK-436: shared detail surfaces use compact 5px corners. */
.public-content-entry.listing-detail-page,
.public-content-entry.landing-detail-page,
.listing-detail-page .listing-reference-hero,
.listing-detail-page .listing-profile-panel,
.listing-detail-page .listing-media-panel,
.listing-detail-page .listing-showcase-frame,
.listing-detail-page .listing-main-button,
.listing-detail-page .listing-main-image,
.listing-detail-page .listing-gallery-block,
.listing-detail-page .listing-features-block,
.listing-detail-page .listing-about-block,
.listing-detail-page .listing-comments-block,
.listing-detail-page .listing-related-section,
.listing-detail-page .listing-comment-summary,
.listing-detail-page .listing-comment-card,
.landing-detail-page,
.landing-detail-page > div > :nth-child(5) img,
.landing-detail-page table,
.landing-detail-page table td,
.landing-detail-page table th,
.landing-detail-page table:has(h3) td,
.landing-detail-page h2 + table:has(strong):has(p) td {
  border-radius: 5px;
}

/* TASK-436: public listing index hero uses the same compact corner rhythm. */
.shell-main-public > .page-hero.page-hero-compact,
.page-hero.page-hero-compact {
  border-radius: 5px;
}

/* TASK-436: listing and service-category list surfaces use the same 5px rhythm. */
.page-hero.page-hero-compact,
.listing-layout .filters,
.listing-layout .filters-panel,
.listing-layout .filter-summary,
.listing-layout .filters-panel .filter-grid > label,
.listing-layout .filter-card,
.listing-layout .filter-collapse-toggle,
.listing-layout .filter-range-collapsible input,
.listing-layout .filters select,
.listing-layout .filters input,
.listing-layout .listing-results-top,
.listing-layout .listing-results-toolbar select,
.service-category-pricing-card,
.service-category-faq-card,
.service-category-faq-item,
.service-category-pricing-table,
.cover-banner {
  border-radius: 5px;
}

/* TASK-436: service category pricing tables use a calm landing-style rhythm. */
.service-category-pricing-section {
  gap: 14px;
  justify-items: stretch;
}

.service-category-pricing-card {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  justify-self: stretch;
}

.service-category-pricing-intro {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-category-pricing-section .service-category-section-title,
.service-category-pricing-section .service-category-section-summary {
  max-width: 860px;
}

.service-category-pricing-section .service-category-group-title {
  margin: 16px 0 8px;
  color: #445464;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 650;
  line-height: 1.25;
}

.service-category-pricing-intro + .service-category-pricing-card .service-category-group-title {
  margin-top: 0;
}

.service-category-pricing-card .table-responsive {
  width: 100%;
  max-width: none;
  overflow-x: visible;
}

.service-category-pricing-table {
  width: 100%;
  max-width: none;
  margin-top: 8px;
  border: 1px solid var(--surface-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  font-size: clamp(12px, 1.7vw, 14px);
}

.service-category-pricing-table thead th,
.service-category-pricing-table tbody th,
.service-category-pricing-table td {
  padding: 13px 14px;
  border-right: 1px solid rgba(34, 34, 34, 0.10);
  border-bottom: 1px solid rgba(34, 34, 34, 0.10);
  color: var(--text);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.service-category-pricing-table thead th,
.service-category-pricing-table tbody th {
  background: #fbfcfe;
  color: #3f4a56;
  font-weight: 600;
}

.service-category-pricing-table thead th:last-child,
.service-category-pricing-table tbody th:last-child,
.service-category-pricing-table td:last-child {
  border-right: 0;
}

.service-category-pricing-table tr:last-child th,
.service-category-pricing-table tr:last-child td {
  border-bottom: 0;
}

/* TASK-436: public shell width matches listing/landing detail rhythm. */
body.public-shell .wrap {
  width: min(1180px, calc(100% - 40px));
}

@media (min-width: 1200px) {
  .service-category-pricing-section .service-category-pricing-card,
  .service-category-pricing-section .table-responsive,
  .service-category-pricing-section .service-category-pricing-table {
    width: min(82%, 920px);
    max-width: 920px;
  }

  .service-category-pricing-section .service-category-pricing-card {
    justify-self: start;
  }
}

@media (max-width: 1199px) {
  .service-category-pricing-section .service-category-pricing-card,
  .service-category-pricing-section .table-responsive,
  .service-category-pricing-section .service-category-pricing-table {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  body.public-shell .wrap {
    width: 100%;
    max-width: none;
    padding-inline: 8px;
  }

  .service-category-pricing-section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .public-content-entry.service-category-pricing-card .table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .public-content-entry.service-category-pricing-card .table-responsive > .service-category-pricing-table {
    display: table;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
    white-space: normal;
  }

  .service-category-pricing-table thead th,
  .service-category-pricing-table tbody th,
  .service-category-pricing-table td {
    padding: 8px 4px;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
  }

  .service-category-pricing-table:has(thead th:nth-child(4)) th:nth-child(1),
  .service-category-pricing-table:has(thead th:nth-child(4)) td:nth-child(1) {
    width: 15%;
  }

  .service-category-pricing-table:has(thead th:nth-child(4)) th:nth-child(2),
  .service-category-pricing-table:has(thead th:nth-child(4)) td:nth-child(2) {
    width: 32%;
  }

  .service-category-pricing-table:has(thead th:nth-child(4)) th:nth-child(3),
  .service-category-pricing-table:has(thead th:nth-child(4)) td:nth-child(3) {
    width: 24%;
  }

  .service-category-pricing-table:has(thead th:nth-child(4)) th:nth-child(4),
  .service-category-pricing-table:has(thead th:nth-child(4)) td:nth-child(4) {
    width: 29%;
  }
}

.listing-payment-account-gate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #f2c7c7;
  border-radius: 12px;
  background: #fff6f6;
}

.listing-payment-account-gate.is-ready .listing-payment-account-gate-card {
  border-color: #bfe5cd;
  background: #f4fbf7;
}

.owner-payment-account-modal .listing-modal-card {
  max-width: 520px;
}

@media (max-width: 640px) {
  .listing-payment-account-gate-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.owner-payment-account-link {
    display: inline;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    padding: 0;
    margin-left: .35rem;
    cursor: pointer;
}

.owner-payment-account-link:hover,
.owner-payment-account-link:focus {
    text-decoration-thickness: 2px;
}

.listing-owner-preview-panel {
  margin-bottom: 1.25rem;
}

.listing-owner-preview-alert {
  margin-bottom: 0.75rem;
  padding: 0.55rem;
}

.listing-owner-preview-alert__text {
  margin: 0;
  font-weight: 500;
}

.listing-owner-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  padding: 0.75rem 0;
}

.listing-owner-preview-actions__form {
  margin: 0;
}

.listing-owner-preview-actions .listing-owner-preview-actions__button,
.listing-owner-preview-actions .listing-owner-preview-actions__button:hover,
.listing-owner-preview-actions .listing-owner-preview-actions__button:focus-visible {
  min-width: 7.75rem;
  text-align: center;
  text-decoration: none;
}

.reservation-calendar-card {
  display: grid;
  gap: 1rem;
  border: 1px solid #dfe7ef;
  border-radius: 5px;
}

.reservation-calendar-section--inline {
  margin-top: 1rem;
}

.reservation-calendar-title {
  margin: 0;
}

.reservation-calendar-months {
  display: grid;
  gap: 1rem;
}

.reservation-calendar-month {
  border: 1px solid #dfe7ef;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.reservation-calendar-month + .reservation-calendar-month {
  margin-top: .75rem;
}

.reservation-calendar-month summary {
  cursor: pointer;
  padding: .85rem 1rem;
  font-weight: 700;
  list-style-position: inside;
}

.reservation-calendar-days {
  display: grid;
  gap: .85rem;
  padding: 0 1rem 1rem;
}

.reservation-calendar-day {
  display: grid;
  gap: .35rem;
}

.reservation-calendar-day strong {
  color: var(--text-color, #111827);
}

.reservation-calendar-day ul {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reservation-calendar-day li {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  color: var(--muted-color, #6b7280);
  line-height: 1.5;
}

.service-category-story-section + .reservation-calendar-section {
  padding-top: 0;
}

.service-category-story-section + .reservation-calendar-section .reservation-calendar-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-category-story-section + .reservation-calendar-section .reservation-calendar-month {
  border: 0;
  border-top: 1px solid #dfe7ef;
  border-radius: 0;
  background: transparent;
}

.service-category-story-section + .reservation-calendar-section .reservation-calendar-month:last-child {
  border-bottom: 1px solid #dfe7ef;
}

.service-category-story-section + .reservation-calendar-section .reservation-calendar-month + .reservation-calendar-month {
  margin-top: 1.25rem;
}

.service-category-story-section + .reservation-calendar-section .reservation-calendar-month summary {
  padding-left: 0;
  padding-right: 0;
}

.service-category-story-section + .reservation-calendar-section .reservation-calendar-days {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 640px) {
  .reservation-calendar-month summary {
    padding: .8rem .85rem;
  }

  .reservation-calendar-days {
    padding: 0 .85rem .85rem;
  }
}


.payment-copy-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.15rem 0.25rem;
  margin-left: 0.45rem;
  cursor: pointer;
  white-space: nowrap;
}

.payment-copy-link:hover,
.payment-copy-link:focus-visible {
  color: var(--brand);
  outline: none;
  text-decoration: underline;
}

.payment-copy-link--success,
.payment-copy-link--success:hover,
.payment-copy-link--success:focus-visible {
  color: #15803d;
}


.reservation-payment-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: nowrap;
}

.reservation-payment-actions form {
  margin: 0;
}

.reservation-payment-actions .btn {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .reservation-payment-actions .btn {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.9rem;
  }
}

.reservation-payment-card .account-detail-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.password-input {
  position: relative;
}

.password-input__control {
  padding-right: 5.5rem;
}

.password-input__toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.45rem 0.55rem;
}

.password-input__toggle:hover,
.password-input__toggle:focus-visible {
  color: var(--brand);
  outline: none;
}
