:root {
  --site-gradient: linear-gradient(to right, #17304d 0%, #2d5b88 55%, #6f93b5 100%);
  --site-color-gold: #a87900;
  --site-color-silver: #6c757d;
  --site-color-bronze: #9a5b2e;
}

body {
    min-height: 100vh;
    background-color: var(--bs-body-bg);
}

.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-shell-main {
    flex: 1 1 0%;
}

.navbar, 
.site-hero, 
.site-section-dark, 
footer > div {
    background: var(--site-gradient);
    color: #fff;
}

/* Navbar logo */
.navbar-brand-logo {
    display: block;
    width: auto;
    max-height: 40px;
}

/* Header actions */
.header-action-control {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 2.5rem;
}

.locale-flag {
    border-radius: 0.125rem;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 18%);
    flex: 0 0 auto;
}

/* Theme toggle */
.theme-toggle {
    color: rgb(255 255 255 / 85%);
    font-size: 1.25rem;
    text-decoration: none;
    padding: 6px;
}

.theme-toggle:hover,
.theme-toggle:focus,
.theme-toggle[aria-expanded="true"] {
    color: #fff;
}

.theme-menu {
    min-width: 10rem;
}

.theme-menu-icon {
    width: 1.25rem;
    text-align: center;
}

/* Breadcrumbs styling */
.breadcrumbs-panel > nav > ol {
  background: #fff;
  border: 1px solid #e2e8ef;
  box-shadow: 0 0.9rem 1.8rem rgba(17, 35, 56, 0.04);
}
[data-bs-theme=dark] .breadcrumbs-panel > nav > ol {
  background: #0f1c2a;
  border: 1px solid #3e3f3a;
  box-shadow: 0 0.9rem 1.8rem rgba(17, 35, 56, 0.04);
}

/* Eyebrow styling */
.text-eyebrow {
    margin-bottom: 0.7rem;
    display: block;
    color: #6b7f93;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}
label.text-eyebrow {
  margin-bottom: 0.2rem;
}

.text-eyebrow-inverse {
  color: rgba(255, 255, 255, 0.72);
}

.text-eyebrow-rule {
  display: inline-block;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #6b7f93;
  padding-bottom: 0.25rem;
}

.text-label {
    display: inline-block;
    color: #6b7f93;
}
.text-value {
    display: inline-block;
}

.profile-picture {
    align-items: center;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    display: flex;
    flex: 0 0 200px;
    justify-content: center;
    object-fit: cover;
    overflow: hidden;
    height: 100px;
    width: 100px;
}
@media (min-width: 576px) {
    .profile-picture {
      height: 150px;
      width: 150px;
    }
}
@media (min-width: 768px) {
    .profile-picture {
      height: 200px;
      width: 200px;
    }
}

.profile-picture-placeholder {
    color: var(--bs-secondary-color);
    font-size: 5rem;
}

.review-avatar .profile-picture {
    border-radius: 50%;
    flex-basis: 56px;
    height: 56px;
    width: 56px;
}

.review-avatar .profile-picture-placeholder {
    font-size: 1.75rem;
}

.profile-picture-crop-stage {
    background: #111;
    border-radius: 0.75rem;
    box-shadow: 0 0 0 1px var(--bs-border-color);
    max-width: 320px;
    overflow: hidden;
    width: 100%;
}

.profile-picture-crop-stage canvas {
    cursor: grab;
    display: block;
    height: auto;
    touch-action: none;
    width: 100%;
}

.profile-picture-crop-stage canvas:active {
    cursor: grabbing;
}

/* Hero section styling */
.site-hero-panel {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1.1rem;
    background: rgba(23, 48, 77, 0.32);
    box-shadow: 0 0.9rem 1.8rem rgba(17, 35, 56, 0.04);
    display: flex;
    flex-direction: column;
    padding: clamp(1.35rem, 3vw, 2rem);
}

.hero-copy {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-stat {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.hero-stat-label {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-stat-value {
  font-size: 1.1rem;
  color: #fff;
}

.hero-card {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 1rem;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.84);
}

.hero-card h2 {
  color: #fff;
  font-weight: 700;
}

/* Site section styling */
.site-copy {
  max-width: 36rem;
  color: rgba(0, 0, 0, 0.82);
}
[data-bs-theme=dark] .site-copy {
  color: rgba(255, 255, 255, 0.82);
}

.site-copy-narrow {
  max-width: 38rem;
}

.site-stat {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}
[data-bs-theme=dark] .site-stat {
  background: rgba(0, 0, 0, 0.08);
}

.site-stat-label {
  display: block;
  margin-bottom: 0.35rem;
}

.site-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid #e2e8ef;
  box-shadow: 0 0.9rem 1.8rem rgba(17, 35, 56, 0.04);
}
[data-bs-theme=dark] .site-card {
  background: #0f1c2a;
  border: 1px solid #3e3f3a;
  box-shadow: 0 0.9rem 1.8rem rgba(17, 35, 56, 0.04);
}

.venue-enrichment-audit-list .list-group-item-action {
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.venue-enrichment-audit-list .list-group-item-action:hover,
.venue-enrichment-audit-list .list-group-item-action:focus-visible {
  background-color: #edf3f9;
  color: #17304d;
}

[data-bs-theme=dark] .venue-enrichment-audit-list .list-group-item-action:hover,
[data-bs-theme=dark] .venue-enrichment-audit-list .list-group-item-action:focus-visible {
  background-color: #1e2d3f;
  color: #f8fafc;
}

.site-card h3 {
  font-weight: 700;
}

.site-card-lift {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.2rem 2.2rem rgba(17, 35, 56, 0.08);
}

.site-card-stack {
  display: flex;
  flex-direction: column;
}

.site-card-stack > div {
  flex: 1;
}

.site-card-link {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
}

.site-card-help {
  font-size: .875em;
  color: var(--bs-secondary-color);
}

.list-range-summary {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.app-pagination__pages {
  --bs-pagination-color: #2d5b88;
  --bs-pagination-bg: #fff;
  --bs-pagination-border-color: #d4dee8;
  --bs-pagination-hover-color: #17304d;
  --bs-pagination-hover-bg: #edf3f9;
  --bs-pagination-hover-border-color: #b9cad9;
  --bs-pagination-focus-color: #17304d;
  --bs-pagination-focus-bg: #edf3f9;
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: #2d5b88;
  --bs-pagination-active-border-color: #2d5b88;
  --bs-pagination-disabled-color: #8291a0;
  --bs-pagination-disabled-bg: #f6f8fb;
  --bs-pagination-disabled-border-color: #d4dee8;
}

.app-pagination .page-link {
  align-items: center;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 2.125rem;
  min-width: 2rem;
}

.app-pagination .page-link:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(45, 91, 136, 0.25);
}

.app-pagination__count {
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
  font-weight: 600;
}

[data-bs-theme=dark] .app-pagination__pages {
  --bs-pagination-color: #d7e4f0;
  --bs-pagination-bg: #0f1c2a;
  --bs-pagination-border-color: #3e566c;
  --bs-pagination-hover-color: #fff;
  --bs-pagination-hover-bg: #1e2d3f;
  --bs-pagination-hover-border-color: #54728d;
  --bs-pagination-focus-color: #fff;
  --bs-pagination-focus-bg: #1e2d3f;
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: #2d5b88;
  --bs-pagination-active-border-color: #6f93b5;
  --bs-pagination-disabled-color: #718294;
  --bs-pagination-disabled-bg: #111c27;
  --bs-pagination-disabled-border-color: #344759;
}

.site-quote {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #f4f7fb 0%, #edf3f9 100%);
  border: 1px solid #e2e8ef;
}
[data-bs-theme=dark] .site-quote {
  background: linear-gradient(180deg, #0f1c2a 0%, #1e2d3f 100%);
  border: 1px solid #3e3f3a;
}

.site-panel {
  border: 1px solid #e2e8ef;
  background: linear-gradient(180deg, #fcfdff 0%, #f6f8fb 100%);
}
[data-bs-theme=dark] .site-panel {
  border: 1px solid #3e3f3a;
  background: linear-gradient(180deg, #0f1c2a 0%, #1e2d3f 100%);
}

.admin-chart-frame {
  min-height: 20rem;
  height: 100%;
}

.admin-communications-chart {
  min-height: 20rem;
}

.admin-metric,
.admin-queue-summary,
.admin-recent-messages {
  height: 100%;
  padding: 1rem;
  border: 1px solid #e2e8ef;
  background: rgba(45, 91, 136, 0.05);
}

[data-bs-theme=dark] .admin-metric,
[data-bs-theme=dark] .admin-queue-summary,
[data-bs-theme=dark] .admin-recent-messages {
  border-color: #3e3f3a;
  background: rgba(255, 255, 255, 0.04);
}

.admin-metric .text-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
}

.communication-processing-failures-table {
  table-layout: fixed;
  min-width: 70rem;
}

.communication-processing-failures-table th:nth-child(1) {
  width: 8rem;
}

.communication-processing-failures-table th:nth-child(2) {
  width: 4rem;
}

.communication-processing-failures-table th:nth-child(3) {
  width: 6rem;
}

.communication-processing-failures-table th:nth-child(4) {
  width: 18rem;
}

.communication-processing-failures-table th:nth-child(5) {
  width: 24rem;
}

.communication-processing-failure-error {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.communication-processing-failure-row,
.communication-suppressed-recipient-row {
  cursor: pointer;
}

.communication-processing-failure-row:focus-visible,
.communication-suppressed-recipient-row:focus-visible {
  outline: 0.2rem solid var(--bs-focus-ring-color);
  outline-offset: -0.2rem;
}

.communication-processing-failure-details,
.communication-suppressed-recipient-details {
  max-height: 18rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.venue-subscription-badge {
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.venue-subscription-badge--gold {
  background-color: var(--site-color-gold);
}

.venue-subscription-badge--silver {
  background-color: var(--site-color-silver);
}

.venue-subscription-badge--bronze {
  background-color: var(--site-color-bronze);
}

/* MattBlack public product shell */
.account-menu {
  min-width: 15rem;
}

.home-hero-wrap,
.home-learn-panel,
.home-owner-cta,
.product-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(111, 147, 181, 0.28), transparent 30%),
    linear-gradient(125deg, #0b1724 0%, #17304d 52%, #2d5b88 100%);
  color: #fff;
}

.home-hero {
  background: transparent;
  min-height: clamp(34rem, 73vh, 48rem);
  overflow: hidden;
  position: relative;
}

.home-hero::after {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
  position: absolute;
}

.home-hero > .container-xl {
  position: relative;
  z-index: 1;
}

.home-hero-title {
  letter-spacing: -0.045em;
  max-width: 10ch;
}

.home-hero-copy {
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}

.home-search {
  max-width: 44rem;
}

.home-search .input-group {
  background: #fff;
  border: 0.25rem solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.home-search .form-control,
.home-search .input-group-text {
  background: #fff;
  border: 0;
  color: #172536;
}

.home-search .form-control:focus {
  box-shadow: none;
}

.home-search .btn {
  border-radius: 0.7rem !important;
  margin: 0.3rem;
}

.home-hero-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 0.9rem;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}

.home-hero-chip:hover,
.home-hero-chip:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.home-hero-chip--primary {
  background: rgba(255, 127, 50, 0.18);
  border-color: rgba(255, 166, 112, 0.58);
}

.home-hero-chip--primary:hover,
.home-hero-chip--primary:focus-visible {
  background: rgba(255, 127, 50, 0.28);
  border-color: rgba(255, 184, 140, 0.8);
}

.home-night-panel {
  background: rgba(6, 15, 24, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.22);
  min-height: 27rem;
  overflow: hidden;
  position: relative;
}

.home-night-orbit {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  position: absolute;
}

.home-night-orbit--one {
  height: 22rem;
  right: -5rem;
  top: -4rem;
  width: 22rem;
}

.home-night-orbit--two {
  bottom: -9rem;
  height: 24rem;
  left: -8rem;
  width: 24rem;
}

.home-night-marker {
  align-items: center;
  background: #ff7f32;
  border: 0.35rem solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25);
  display: flex;
  font-size: 1.2rem;
  height: 3.5rem;
  justify-content: center;
  position: absolute;
  width: 3.5rem;
}

.home-night-marker--one {
  right: 14%;
  top: 15%;
}

.home-night-marker--two {
  left: 16%;
  top: 31%;
}

.home-night-marker--three {
  right: 30%;
  top: 48%;
}

.home-night-card {
  backdrop-filter: blur(0.8rem);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.2rem;
  bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  left: 1.4rem;
  padding: 1.25rem;
  position: absolute;
  right: 1.4rem;
}

.home-night-card strong {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.home-night-card > span:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.home-main {
  padding-bottom: 0.25rem;
}

.home-section {
  padding-block: clamp(2.75rem, 7vw, 5.5rem);
}

.home-section + .home-section {
  border-top: 1px solid var(--bs-border-color);
}

.home-section-heading {
  max-width: 52rem;
}

.home-preview-strip {
  align-items: center;
  background: linear-gradient(135deg, rgba(45, 91, 136, 0.1), rgba(111, 147, 181, 0.05));
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  display: flex;
  gap: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.home-preview-icon,
.home-action-icon,
.home-mood-icon {
  align-items: center;
  background: rgba(45, 91, 136, 0.12);
  border-radius: 1rem;
  color: #2d5b88;
  display: inline-flex;
  flex: 0 0 auto;
  height: 3.5rem;
  justify-content: center;
  width: 3.5rem;
}

.home-preview-icon {
  font-size: 1.5rem;
}

.home-mood-card {
  align-items: center;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  color: var(--bs-body-color);
  display: flex;
  gap: 0.9rem;
  height: 100%;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.home-mood-card:hover,
.home-mood-card:focus-visible {
  border-color: #6f93b5;
  color: var(--bs-body-color);
  transform: translateY(-2px);
}

.home-mood-card--featured {
  background: linear-gradient(145deg, rgba(255, 127, 50, 0.1), var(--bs-body-bg) 72%);
  border-color: rgba(208, 99, 34, 0.55);
}

.home-mood-card--featured .home-mood-icon {
  background: rgba(255, 127, 50, 0.15);
  color: #b84f15;
}

.home-venue-card {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1.1rem;
  overflow: hidden;
  position: relative;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-venue-card:hover,
.home-venue-card:focus-within {
  border-color: #6f93b5;
  box-shadow: 0 1rem 2.2rem rgba(15, 31, 48, 0.12);
  transform: translateY(-2px);
}

.home-venue-media {
  aspect-ratio: 16 / 9;
  background: #132a40;
  position: relative;
}

.home-venue-media > img:not(.home-venue-logo) {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-venue-media-placeholder {
  align-items: center;
  background: radial-gradient(circle at 78% 20%, rgba(255, 127, 50, 0.34), transparent 18%), linear-gradient(140deg, #102337, #294d70);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 2rem;
  height: 100%;
  justify-content: center;
}

.home-venue-logo {
  background: var(--bs-body-bg);
  border: 3px solid var(--bs-body-bg);
  border-radius: 0.75rem;
  bottom: -1.35rem;
  height: 4.25rem;
  object-fit: contain;
  position: absolute;
  right: 1.25rem;
  width: 4.25rem;
}

.home-venue-body {
  padding: 1.35rem;
}

.home-sparse-categories {
  align-items: center;
  background: color-mix(in srgb, var(--bs-tertiary-bg) 72%, transparent);
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1rem 1.15rem;
}

@media (max-width: 767.98px) {
  .home-sparse-categories {
    align-items: flex-start;
    flex-direction: column;
  }
}

.home-event-card {
  align-items: flex-start;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  position: relative;
}

.home-event-date {
  align-items: center;
  background: rgba(45, 91, 136, 0.12);
  border-radius: 0.85rem;
  color: #2d5b88;
  display: flex;
  flex: 0 0 4rem;
  flex-direction: column;
  padding: 0.65rem 0.4rem;
}

.home-event-image {
  align-self: stretch;
  border-radius: 0.8rem;
  flex: 0 0 8rem;
  min-height: 7rem;
  object-fit: cover;
  width: 8rem;
}

@media (max-width: 575.98px) {
  .home-event-card {
    flex-wrap: wrap;
  }

  .home-event-image {
    aspect-ratio: 16 / 9;
    flex-basis: 100%;
    min-height: 0;
    width: 100%;
  }
}

.home-event-date span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-event-date strong {
  font-size: 1.75rem;
  line-height: 1;
}

.home-event-logo {
  border: 1px solid var(--bs-border-color);
  border-radius: 50%;
  height: 2.75rem;
  object-fit: contain;
  width: 2.75rem;
}

.home-mood-card strong,
.home-mood-card small {
  display: block;
}

.home-mood-card small {
  color: var(--bs-secondary-color);
  margin-top: 0.15rem;
}

.home-mood-icon {
  border-radius: 50%;
  height: 2.9rem;
  width: 2.9rem;
}

.home-action-card {
  min-height: 20rem;
}

.home-action-icon {
  font-size: 1.4rem;
}

[data-bs-theme=dark] .home-preview-icon,
[data-bs-theme=dark] .home-action-icon,
[data-bs-theme=dark] .home-mood-icon {
  background: rgba(111, 147, 181, 0.18);
  color: #9fc0dd;
}

[data-bs-theme=dark] .home-mood-card--featured .home-mood-icon {
  background: rgba(255, 127, 50, 0.2);
  color: #ffad7c;
}

[data-bs-theme=dark] .home-event-date {
  background: rgba(111, 147, 181, 0.18);
  color: #9fc0dd;
}

.home-map-preview {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  overflow: hidden;
}

.home-map-art {
  background-color: #dbe8f2;
  background-image: linear-gradient(32deg, transparent 47%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.9) 52%, transparent 53%), linear-gradient(122deg, transparent 46%, rgba(255, 255, 255, 0.85) 47%, rgba(255, 255, 255, 0.85) 52%, transparent 53%);
  min-height: 26rem;
  overflow: hidden;
  position: relative;
}

[data-bs-theme=dark] .home-map-art {
  background-color: #172536;
  background-image: linear-gradient(32deg, transparent 47%, rgba(111, 147, 181, 0.16) 48%, rgba(111, 147, 181, 0.16) 52%, transparent 53%), linear-gradient(122deg, transparent 46%, rgba(111, 147, 181, 0.13) 47%, rgba(111, 147, 181, 0.13) 52%, transparent 53%);
}

.home-map-road {
  background: rgba(45, 91, 136, 0.18);
  border-radius: 999px;
  height: 0.65rem;
  position: absolute;
  width: 125%;
}

.home-map-road--one {
  left: -10%;
  top: 38%;
  transform: rotate(-12deg);
}

.home-map-road--two {
  left: -6%;
  top: 68%;
  transform: rotate(17deg);
}

.home-map-pin {
  color: #ff7f32;
  filter: drop-shadow(0 0.35rem 0.35rem rgba(0, 0, 0, 0.18));
  font-size: 2.1rem;
  position: absolute;
}

.home-map-pin--one {
  left: 24%;
  top: 29%;
}

.home-map-pin--two {
  left: 61%;
  top: 52%;
}

.home-map-pin--three {
  right: 14%;
  top: 18%;
}

.home-map-copy {
  align-self: center;
  padding: clamp(2rem, 6vw, 4rem);
}

.home-learn-panel,
.home-owner-cta,
.product-hero {
  border-radius: 1.5rem;
  box-shadow: 0 1.2rem 2.8rem rgba(17, 35, 56, 0.12);
}

.home-learn-panel {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.home-learn-panel .lead,
.home-owner-cta .lead,
.product-hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.home-phrase-card,
.product-status-card {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  color: var(--bs-body-color);
  padding: clamp(1.35rem, 4vw, 2.25rem);
}

.home-phrase-thai {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.home-community-card,
.home-member-card {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.home-member-section {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.home-member-icon {
  align-items: center;
  background: rgba(45, 91, 136, 0.12);
  border-radius: 1rem;
  color: #2d5b88;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.5rem;
  height: 3.25rem;
  justify-content: center;
  width: 3.25rem;
}

[data-bs-theme="dark"] .home-member-icon {
  background: rgba(111, 147, 181, 0.18);
  color: #9bbbd8;
}

.home-owner-cta {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.product-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  padding: clamp(1.75rem, 6vw, 4.5rem);
}

.product-status-card {
  display: flex;
  flex-direction: column;
}

.product-status-card > i {
  color: #ff7f32;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-status-card strong {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.product-status-card span {
  color: var(--bs-secondary-color);
}

.trust-list > li > i {
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.venue-step-number {
  align-items: center;
  background: rgba(45, 91, 136, 0.12);
  border-radius: 999px;
  color: #2d5b88;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 700;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.venue-plan-matrix th,
.venue-plan-matrix td {
  min-width: 9rem;
  padding: 1rem;
}

.venue-plan-matrix th:first-child {
  min-width: 13rem;
}

.membership-comparison th,
.membership-comparison td {
  min-width: 13rem;
  padding: 1rem;
}

.membership-comparison th:first-child {
  min-width: 11rem;
}

.learning-starter-card {
  position: relative;
}

.learning-starter-card [lang="th"] {
  line-height: 1.5;
}

.phrase-recorder audio {
  max-width: 28rem;
}

.venue-map-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
}

.venue-map-canvas,
.venue-map-placeholder {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  min-height: clamp(28rem, 68vh, 48rem);
  overflow: hidden;
}

.venue-map-results {
  max-height: clamp(28rem, 68vh, 48rem);
  overflow-y: auto;
  padding-right: 0.25rem;
}

.venue-map-result:focus-within {
  outline: 0.2rem solid color-mix(in srgb, var(--bs-primary) 55%, transparent);
  outline-offset: 0.15rem;
}

.venue-plan-preview {
  position: relative;
}

.venue-plan-preview--featured {
  border-color: #6f93b5;
  box-shadow: 0 1.1rem 2.4rem rgba(45, 91, 136, 0.14);
}

.venue-workspace-header {
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(21, 42, 64, 0.98), rgba(33, 65, 91, 0.92)),
    var(--bs-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  color: #fff;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.venue-workspace-header .text-body-secondary {
  color: rgba(255, 255, 255, 0.72) !important;
}

.venue-workspace-sidebar {
  padding: 0.5rem;
  position: sticky;
  top: 1rem;
}

.venue-workspace-content > .site-card {
  height: auto;
}

.venue-workspace-nav .list-group-item {
  background: transparent;
  border: 0;
  border-radius: 0.65rem;
  color: var(--bs-body-color);
  margin-block: 0.12rem;
  min-height: 2.8rem;
}

.venue-workspace-nav .list-group-item.active {
  background: color-mix(in srgb, var(--bs-primary) 15%, var(--bs-body-bg));
  color: var(--bs-emphasis-color);
  font-weight: 700;
}

.venue-workspace-nav .list-group-item.active i {
  color: var(--bs-primary);
}

.venue-workspace-nav .badge {
  white-space: normal;
}

@media (max-width: 991.98px) {
  .header-actions {
    margin-left: auto;
  }

  .navbar-collapse {
    padding-block: 0.75rem;
  }

  .home-hero {
    min-height: auto;
  }

  .home-night-panel {
    min-height: 22rem;
  }

  .home-map-preview,
  .product-hero {
    grid-template-columns: 1fr;
  }

  .home-map-art {
    min-height: 18rem;
  }

  .home-owner-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .venue-map-layout {
    grid-template-columns: 1fr;
  }

  .venue-map-canvas,
  .venue-map-placeholder {
    min-height: 24rem;
  }

  .venue-map-results {
    max-height: none;
  }

  .venue-workspace-header {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .home-search .input-group {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: auto 1fr;
    overflow: visible;
  }

  .home-search .input-group-text {
    border-radius: 0.8rem 0 0 0.8rem !important;
  }

  .home-search .form-control {
    border-radius: 0 0.8rem 0.8rem 0 !important;
    min-width: 0;
    width: auto;
  }

  .home-search .btn {
    border-radius: 999px !important;
    grid-column: 1 / -1;
    margin: 0;
  }

  .home-preview-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-night-panel {
    min-height: 19rem;
  }

  .home-map-copy {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-mood-card,
  .site-card-lift {
    transition: none;
  }
}
.admin-overview-metric {
    background: var(--bs-body-bg);
}

[data-admin-attention] .list-group-item {
    background-color: transparent;
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-admin-attention] .list-group-item-action:hover,
[data-admin-attention] .list-group-item-action:focus {
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}
