:root {
  --ink: #3f4643;
  --muted: #68706c;
  --paper: #ffffff;
  --cream: #d8d8d2;
  --line: #c7c8c2;
  --forest: #072f49;
  --water: #74b89e;
  --sky: #e6f3ee;
  --gold: #74b89e;
  --rust: #74b89e;
  --shadow: 0 20px 60px rgba(7, 47, 73, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  color: var(--forest);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}
.main-nav a,
.main-nav button {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.main-nav a:hover,
.main-nav button:hover { background: var(--sky); filter: none; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 13px;
}

main {
  width: 100%;
  margin: 0;
  padding: 0 0 36px;
}
.hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(7, 47, 73, 0.08), rgba(7, 47, 73, 0.78)),
    radial-gradient(circle at 18% 70%, rgba(116, 184, 158, 0.72), transparent 12rem),
    radial-gradient(circle at 78% 34%, rgba(116, 184, 158, 0.5), transparent 16rem),
    linear-gradient(135deg, #072f49 0%, #3f4643 46%, #74b89e 100%);
  box-shadow: var(--shadow);
}
.hero-overlay {
  max-width: 830px;
  padding: 58px;
  color: white;
}
.kicker,
.section-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 5px 28px rgba(0,0,0,0.35);
}
.hero-copy {
  max-width: 560px;
  margin: 18px 0 28px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
}
.hero-search {
  max-width: 680px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 44px rgba(0,0,0,0.24);
}
.hero-search label {
  display: block;
  margin: 0 0 8px 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.hero-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.hero-search input,
.hero-search button,
.toolbar input,
.toolbar select,
.form-grid input,
.form-grid select,
.form-grid textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  padding: 12px 14px;
}
.hero-search input,
.toolbar input,
.toolbar select,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
}
.filter-field,
.form-grid label {
  min-width: 0;
}
button,
.hero-search button {
  border: 0;
  background: var(--rust);
  color: white;
  cursor: pointer;
  font-weight: 900;
}
button:hover,
.hero-search button:hover { filter: brightness(0.95); }

.destination-section {
  width: min(1180px, calc(100% - 44px));
  margin: 24px auto 0;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(23, 33, 43, 0.07);
}
.destination-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.section-subcopy {
  max-width: 66ch;
  color: var(--muted);
}
.destination-grid {
  display: grid;
  gap: 18px;
}
.plan-grid {
  display: grid;
  margin-top: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.plan-card,
.area-chip-grid a,
.guide-request a,
.area-map-card {
  display: inline-flex;
}
.plan-card,
.area-chip-grid a,
.guide-request a {
  min-height: 104px;
  border-radius: 20px;
  padding: 18px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-weight: 900;
}
.plan-card {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.plan-card span {
  color: var(--water);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-card strong {
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1;
}
.guide-request {
  display: grid;
  gap: 14px;
  justify-content: space-between;
  background: linear-gradient(135deg, #072f49 0%, #3f4643 48%, #74b89e 100%);
  color: white;
}
.guide-request .section-kicker,
.guide-request p { color: rgba(255,255,255,0.84); }
.guide-request h2 { color: white; }
.guide-request a {
  width: fit-content;
  min-height: 48px;
  background: var(--gold);
  color: var(--ink);
  align-items: center;
}
.areas-section .destination-grid,
.destination-plans .plan-grid {
  display: grid;
}
.areas-layout {
  grid-template-columns: 1.1fr 0.8fr;
  align-items: center;
}
.area-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.area-chip-grid a {
  min-height: 54px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.area-map-card {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  background: linear-gradient(135deg, rgba(116,184,158,0.24), rgba(7,47,73,0.16)), repeating-linear-gradient(45deg, #d8d8d2 0 12px, #c7c8c2 12px 24px);
  padding: 22px;
  min-height: 180px;
  border-radius: 22px;
}
.area-map-card .note { margin: 8px 0 0; }
.area-map-preview {
  display: grid;
  place-items: center;
  min-height: 120px;
  border-radius: 16px;
  color: var(--forest);
  font-weight: 950;
  background: var(--paper);
  border: 1px solid var(--line);
}

.category-section,
.home-feed,
.recent-section,
.directory-panel,
.panel {
  width: min(1180px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(23, 33, 43, 0.07);
}
.category-section {
  padding: 34px;
  text-align: center;
}
.section-kicker { color: var(--water); }
.category-section h2,
.directory-heading h2,
.detail-header h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.category-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  overflow: hidden;
  border-radius: 22px;
  color: white;
  text-align: left;
  text-decoration: none;
  box-shadow: inset 0 -120px 100px rgba(0,0,0,0.45);
}
.category-card span {
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.category-card strong {
  font-size: 14px;
  line-height: 1.3;
}
.category-card.stay { background: linear-gradient(135deg, #072f49, #3f4643); }
.category-card.eat { background: linear-gradient(135deg, #74b89e, #3f4643); }
.category-card.do { background: linear-gradient(135deg, #74b89e, #072f49); }
.category-card.service { background: linear-gradient(135deg, #3f4643, #072f49); }

.home-feed {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.feed-column,
.recent-section {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(23, 33, 43, 0.07);
}
.feed-column {
  padding: 28px;
}
.feed-column h2,
.recent-section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.feature-list,
.event-list,
.recent-list {
  display: grid;
  gap: 12px;
}
.feature-list a,
.event-list a,
.recent-list a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  text-decoration: none;
}
.feature-list span {
  color: var(--water);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feature-list strong,
.event-list strong {
  font-size: 20px;
  line-height: 1.05;
}
.feature-list small,
.event-list span {
  color: var(--muted);
}
.recent-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
}
.recent-section h2 {
  margin-bottom: 0;
}
.recent-section a,
.homepage-cta a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-weight: 900;
  padding: 0 18px;
  text-decoration: none;
}

.homepage-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 24px auto 0;
  padding: 32px;
  border-radius: 28px;
  background: #072f49;
  color: white;
  box-shadow: var(--shadow);
}
.homepage-cta .section-kicker,
.homepage-cta p { color: rgba(255,255,255,0.82); }
.homepage-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.homepage-cta a { background: var(--gold); color: var(--ink); margin-top: 8px; }

.profile-page {
  width: min(1100px, calc(100% - 32px));
  margin: 32px auto 56px;
}

.profile-shell {
  display: grid;
  gap: 14px;
}

.business-profile-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.business-profile-cover {
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.95), rgba(23, 198, 189, 0.8));
}

.business-profile-body {
  padding: 24px;
  display: grid;
  gap: 22px;
}

.business-profile-main {
  display: flex;
  gap: 18px;
  align-items: center;
}

.business-profile-logo {
  width: 94px;
  min-width: 94px;
  height: 94px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-weight: 800;
  color: var(--navy);
}

.profile-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #334155;
}

.profile-actions,
.profile-link-list,
.profile-gallery-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  background: var(--aqua);
  color: var(--navy);
}

.button-link.ghost {
  background: #eef6f6;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.profile-section {
  display: grid;
  gap: 10px;
}

.profile-gallery-chip {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
}

.marketplace-page {
  padding-top: 24px;
}
.market-hero {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 24px;
  padding: 44px;
  border-radius: 30px;
  background: linear-gradient(135deg, #74b89e, #072f49);
  color: white;
  box-shadow: var(--shadow);
}
.market-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.market-hero p { max-width: 620px; color: rgba(255,255,255,0.86); font-size: 20px; }

.marketplace-shell {
  padding-top: 0;
}
.market-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 34px max(22px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #74b89e, #072f49);
  color: white;
}
.market-topbar h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.market-topbar .kicker { color: rgba(255,255,255,0.82); }
.add-listing-shortcut {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 950;
  padding: 0 18px;
  text-decoration: none;
  white-space: nowrap;
}
.market-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  width: 100%;
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  background: white;
  border-bottom: 1px solid var(--line);
}
.market-tabs a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.market-tabs a.active,
.market-tabs a:hover {
  background: var(--forest);
  color: white;
}
.market-layout {
  display: grid;
  grid-template-columns: minmax(320px, 320px) minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  width: min(1400px, calc(100% - 44px));
  margin: 24px auto 0;
  align-items: start;
}
.filter-sidebar,
.results-column,
.map-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 10px 34px rgba(23, 33, 43, 0.07);
}
.filter-sidebar,
.results-column,
.map-card {
  padding: 20px;
}
.filter-heading h2,
.results-header h2,
.map-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.035em;
}
.marketplace-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  margin-top: 18px;
  background: transparent;
}
.marketplace-toolbar .filter-field,
.marketplace-toolbar input,
.marketplace-toolbar select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.marketplace-toolbar > .filter-field,
.marketplace-toolbar .search-field {
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}
.marketplace-toolbar .search-field {
  overflow: hidden;
}
.marketplace-toolbar input,
.marketplace-toolbar select,
#search,
.market-search-input {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  inline-size: 100% !important;
  box-sizing: border-box;
}
.results-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.marketplace-results {
  grid-template-columns: 1fr;
}
.map-panel {
  position: sticky;
  top: 88px;
}
.map-placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  gap: 6px;
  margin: 16px 0;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(116,184,158,0.18), rgba(7,47,73,0.18)),
    repeating-linear-gradient(45deg, var(--cream) 0 12px, var(--line) 12px 24px);
  color: var(--forest);
  text-align: center;
}
.map-placeholder span {
  display: block;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.04em;
}
.map-placeholder small {
  color: var(--muted);
  font-weight: 800;
}

.directory-panel { padding: 28px; }
.owner-dashboard-shell {
 display: grid;
 gap: 14px;
 padding-top: 20px;
}
.owner-dashboard-hero {
 width: min(1180px, calc(100% - 44px));
 background: linear-gradient(135deg, #072f49, #3f4643 52%, #74b89e);
 color: white;
 padding: 32px;
}
.owner-dashboard-hero h1 {
 margin: 0 0 10px;
 max-width: 920px;
 color: white;
 font-size: clamp(40px, 6vw, 72px);
 line-height: 0.95;
 letter-spacing: -0.04em;
}
.owner-dashboard-hero .note { color: rgba(255, 255, 255, 0.82); }
.owner-dashboard-hero .section-kicker { color: rgba(255,255,255,0.82); }
.owner-steps {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 14px;
}
.owner-dashboard-grid {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.auth-page {
  min-height: calc(100vh - 74px);
  align-content: start;
  padding-top: 34px;
}
.auth-panel {
  width: min(460px, calc(100% - 36px));
  margin-top: 34px;
  padding: 30px;
}
.auth-card h1 {
  margin: 0 0 8px;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.auth-form {
  margin-top: 22px;
}
.auth-form.form-grid {
  grid-template-columns: 1fr;
}
.auth-form button[type="submit"] {
  min-height: 52px;
  border-radius: 16px;
}
.auth-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.link-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--water);
  font: inherit;
  font-weight: 950;
  text-decoration: underline;
}
.config-details {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.config-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.config-details .form-grid {
  margin-top: 12px;
  grid-template-columns: 1fr;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.dashboard-home {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(116, 184, 158, 0.14), #fff 48%, rgba(7, 47, 73, 0.08));
}
.dashboard-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.dashboard-home h1 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.dashboard-account-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 210px;
}
.dashboard-account-actions .note {
  margin: 0;
  text-align: right;
  font-size: 13px;
}
.dashboard-account-actions .ghost {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: white;
}
.dashboard-intro {
  margin-top: 8px;
}
.dashboard-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.dashboard-card {
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.dashboard-card:hover {
  border-color: rgba(116, 184, 158, 0.8);
  transform: translateY(-1px);
}
.dashboard-card.dashboard-card-needs-approval {
  border-color: rgba(245, 185, 66, 0.95);
  animation: dashboardApprovalCardFlash 0.9s ease-in-out infinite;
}
.dashboard-card.dashboard-card-needs-approval::after {
  content: "Approval needed";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff200;
  color: #072f49;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255, 242, 0, 0.72);
}
@keyframes dashboardApprovalCardFlash {
  0%, 100% {
    border-color: #fff200;
    box-shadow: 0 0 0 3px rgba(255, 242, 0, 0.24), 0 10px 28px rgba(7, 47, 73, 0.08);
    filter: brightness(1.02);
  }
  50% {
    border-color: #d6a100;
    box-shadow: 0 0 0 1px rgba(214, 161, 0, 0.16), 0 8px 20px rgba(7, 47, 73, 0.06);
    filter: brightness(0.98);
  }
}
.dashboard-card span {
  color: var(--water);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dashboard-card strong {
  display: block;
  color: var(--forest);
  font-size: 24px;
  line-height: 1.05;
}
.dashboard-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.dashboard-back {
  margin-bottom: 14px;
}
.google-import-card {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid rgba(116, 184, 158, 0.45);
  border-radius: 22px;
  background: rgba(116, 184, 158, 0.1);
}
.google-import-card h3 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 24px;
}
.google-import-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 850;
}
.google-api-settings {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(116, 184, 158, 0.45);
}
.google-api-settings summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 900;
}
.google-api-settings .button-row {
  margin-top: 10px;
}
.google-import-preview {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.google-import-preview strong {
  color: var(--forest);
}
.google-import-preview span,
.google-import-preview small {
  color: var(--muted);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.hours-builder {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.media-section {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.media-section h3 {
  margin: 0 0 4px;
  color: var(--forest);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.media-section .section-kicker {
  margin-bottom: 4px;
}
.media-section textarea {
  min-height: 96px;
}
.field-label {
  display: block;
  margin: 0 0 6px;
  color: var(--forest);
  font-weight: 700;
}
.address-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}
.address-group .field-label {
  margin-bottom: 0;
}
.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(90px, 0.45fr) minmax(120px, 0.6fr);
  gap: 10px;
}
.gallery-upload-field .note {
  margin-top: 0;
}
.listing-media-preview {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.listing-media-preview.hidden {
  display: none;
}
.media-compact,
.gallery-slot {
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}
.media-compact {
  display: grid;
}
.media-compact img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.media-compact figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(104px, 1fr));
  gap: 10px;
}
.gallery-upload-grid {
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-slot {
  position: relative;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  min-height: 96px;
  padding: 8px;
  gap: 4px;
  cursor: pointer;
  border-style: dashed;
}
.gallery-slot:hover {
  border-color: var(--forest);
  box-shadow: 0 8px 18px rgba(27, 64, 55, 0.12);
}
.gallery-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.gallery-slot.is-filled {
  padding: 0;
  border-style: solid;
  display: block;
}
.gallery-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-slot-number {
  display: block;
  font-weight: 700;
  color: var(--ink);
}
.gallery-slot-empty {
  font-size: 11px;
}
.gallery-slot-empty.hidden {
  display: none;
}
.gallery-slot.is-filled .gallery-slot-number {
  position: absolute;
  left: 8px;
  bottom: 6px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
}

.hours-builder-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.hours-builder-heading h3 {
  margin: 0;
  color: var(--forest);
  font-size: 22px;
}
.hours-builder-heading .note {
  margin: 0;
  max-width: 300px;
  text-align: right;
}
.hours-row {
  display: grid;
  grid-template-columns: 54px minmax(120px, 1fr) auto minmax(120px, 1fr) 100px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.hours-row strong {
  color: var(--forest);
}
.hours-row input[type="time"] {
  min-height: 42px;
  padding: 0 10px;
}
.hours-row .closed-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  font-weight: 850;
  color: var(--muted);
}
.hours-row .closed-check input {
  width: 18px;
  height: 18px;
  min-height: auto;
}
.hours-row.is-closed {
  opacity: 0.72;
}
.hours-row.is-closed input[type="time"] {
  background: #ececea;
}

.admin-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.admin-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Compact listing manager rows */
.listing-manager-row {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  flex-wrap: wrap;
}
.listing-manager-row.event-manager-card {
  display: grid;
  align-items: start;
  justify-content: stretch;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
}
.lm-row-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.lm-row-main strong {
  font-size: 0.85rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lm-row-main span {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lm-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.owner-dashboard-grid .directory-panel {
 margin-top: 0;
}
.owner-dashboard-grid .button-row {
 margin-top: 10px;
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 align-items: center;
}
.owner-dashboard-grid .button-row a {
 min-height: 46px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border-radius: 999px;
 border: 1px solid var(--line);
 padding: 0 16px;
 color: var(--ink);
 background: white;
 text-decoration: none;
 font-weight: 900;
}
.directory-heading {
 display: flex;
 align-items: end;
 justify-content: space-between;
 gap: 18px;
 margin-bottom: 18px;
}
.directory-heading p { color: var(--muted); }
.toolbar {
 display: grid;
 grid-template-columns: minmax(260px, 1.6fr) repeat(4, minmax(130px, 1fr));
 gap: 10px;
 align-items: end;
 padding: 14px;
 border-radius: 20px;
 background: var(--cream);
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}
.category-picker {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.category-picker label {
  margin: 0;
}
.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}
.summary-chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: #072f49;
  font-size: 13px;
  font-weight: 850;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.06);
}
.listing-hero {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #dbe7ec;
}
.listing-hero img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}
.detail-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.detail-media-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.detail-media-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.detail-media-grid figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
}
.card h3 {
  margin: 14px 0 10px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.card div:not(.card-actions):not(.note) { color: var(--ink); line-height: 1.35; }
.note { color: var(--muted); line-height: 1.45; }
.badge,
.claimed-badge,
.unclaimed-badge {
  align-self: flex-start;
  display: inline-flex;
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.badge { background: var(--sky); color: var(--forest); }
.claimed-badge { background: var(--sky); color: var(--forest); }
.unclaimed-badge { background: var(--cream); color: var(--ink); }
.card-actions,
.detail-actions,
.button-row {
  display: grid;
  gap: 8px;
}
.view-link,
.claim-link,
.edit-link,
.ghost,
.button-row button,
.events-manager-heading button,
.lm-row-actions button,
.detail-actions button,
.form-grid button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 12px 16px;
}
.view-link { background: var(--water); }
.edit-link,
.detail-actions button:first-child { background: var(--sky); color: var(--forest); }
.claim-link,
.detail-actions button:nth-child(2) { background: var(--forest); }
.ghost,
.detail-actions button:nth-child(3) { background: var(--cream); color: var(--ink); }
.ghost,
.button-row button,
.events-manager-heading button,
.lm-row-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}
.lm-row-actions .summary-chip {
  min-height: 42px;
  align-items: center;
  margin: 0;
  padding: 10px 14px;
}
.lm-row-actions .view-link,
.lm-row-actions .ghost,
.lm-row-actions button {
  min-width: 92px;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.8rem;
}
.lm-row-actions .lm-action-edit {
  background: var(--forest);
  color: #fff;
}
.lm-row-actions .danger-link {
  background: #b94a52;
  color: #fff;
}

.card-actions {
  margin-top: auto;
  padding-top: 14px;
}

.detail-actions {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.panel {
  padding: 24px;
}
.detail-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
#detail-content {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
#detail-content strong { display: inline-block; min-width: 88px; color: var(--ink); }
.add-panel summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.03em;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.form-grid .full,
.form-grid button[type="submit"] { grid-column: 1 / -1; }
.hidden { display: none !important; }

.toolbar.marketplace-toolbar {
  grid-template-columns: minmax(0, 1fr) !important;
}
.toolbar.marketplace-toolbar .filter-field,
.toolbar.marketplace-toolbar .search-field {
  grid-column: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 36px 0 0;
  padding: 30px max(22px, calc((100vw - 1180px) / 2));
  border-radius: 0;
  background: #072f49;
  color: white;
}
.site-footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.site-footer p {
  margin: 0;
  color: rgba(255,255,255,0.7);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  justify-content: flex-end;
}
.site-footer a {
  color: white;
  font-weight: 800;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .market-layout {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }
  .map-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
  }
  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 76px);
    font-size: clamp(22px, 6vw, 30px);
    line-height: 0.95;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(7, 47, 73, 0.2);
    border-radius: 18px;
    background: #fff;
    color: transparent;
    font-size: 0;
    box-shadow: 0 12px 26px rgba(7, 47, 73, 0.2);
  }
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    height: 4px;
    border-radius: 999px;
    background: var(--forest);
    transition: transform 0.18s ease, top 0.18s ease, box-shadow 0.18s ease;
  }
  .menu-toggle::before {
    top: 17px;
    box-shadow: 0 8px 0 var(--forest);
  }
  .menu-toggle::after {
    top: 33px;
  }
  .menu-toggle[aria-expanded="true"] {
    background: var(--sky);
    border-color: var(--forest);
  }
  .menu-toggle[aria-expanded="true"]::before {
    top: 25px;
    transform: rotate(45deg);
    box-shadow: none;
  }
  .menu-toggle[aria-expanded="true"]::after {
    top: 25px;
    transform: rotate(-45deg);
  }
  .main-nav {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    margin: 4px 0 0;
    padding: 14px;
    border: 1px solid rgba(7, 47, 73, 0.12);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(230, 243, 238, 0.96));
    box-shadow: 0 18px 44px rgba(7, 47, 73, 0.14);
  }
  .main-nav.menu-open { display: flex; }
  .main-nav a,
  .main-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
    background: var(--forest);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 8px 18px rgba(7, 47, 73, 0.16);
  }
  .main-nav a:hover,
  .main-nav button:hover {
    background: var(--water);
    color: var(--forest);
  }
  .hero { min-height: 500px; }
  .hero-overlay { padding: 34px; }
  .category-grid,
  .home-feed,
  .toolbar { grid-template-columns: 1fr 1fr; }
  .home-feed { grid-template-columns: 1fr; }
  .toolbar .search-field { grid-column: 1 / -1; }
  .directory-heading,
  .recent-section,
  .site-footer,
  .market-topbar,
  .results-header { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
  .market-layout { grid-template-columns: 1fr; }
  .map-panel { position: static; }
  .destination-grid,
  .areas-layout,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
  .area-chip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .destination-section {
    padding: 26px;
  }
  .destination-section h2 {
    font-size: clamp(32px, 7vw, 42px);
  }
}

@media (max-width: 560px) {
  .site-header { position: sticky; padding: 12px 16px; }
  main { padding: 0 0 28px; }
  .hero { min-height: 560px; border-radius: 0; }
  .hero-overlay { padding: 24px; }
  .hero-search-row,
  .category-grid,
  .toolbar,
  .form-grid,
  .detail-actions { grid-template-columns: 1fr; }
  .category-section,
  .home-feed,
  .recent-section,
  .homepage-cta,
  .market-hero,
  .market-layout,
  .directory-panel,
  .panel,
  .owner-dashboard-hero,
  .owner-dashboard-grid,
  .destination-section,
  .destination-grid,
  .areas-layout,
  .plan-grid,
  .area-chip-grid {
    width: min(100% - 28px, 1180px);
  }
  .category-section,
  .directory-panel,
  .panel,
  .feed-column,
  .recent-section,
  .homepage-cta,
  .market-hero,
  .filter-sidebar,
  .results-column,
  .map-card,
  .destination-section {
    padding: 18px;
    border-radius: 22px;
  }
  .market-topbar { padding: 24px 18px; }
  .market-tabs { padding: 12px 14px; }
  .plan-grid,
  .destination-grid,
  .area-chip-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-topline {
    flex-direction: column;
  }
  .dashboard-topline,
  .dashboard-account-actions {
    align-items: flex-start;
  }
  .dashboard-account-actions .note {
    text-align: left;
  }
  .destination-section h2 {
    font-size: clamp(28px, 10vw, 36px);
  }
  .hours-builder-heading,
  .hours-row,
  .address-row {
    grid-template-columns: 1fr;
  }
  .hours-builder-heading {
    display: grid;
  }
  .hours-builder-heading .note {
    text-align: left;
  }
}

/* ── Approval badge & list ── */
.approvals-badge {
  display: inline-block;
  background: #b42318;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 999px;
  padding: 0 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.approvals-badge.hidden { display: none; }
.approvals-badge.has-pending {
  animation: badge-blink 0.8s ease-in-out infinite alternate;
}
@keyframes badge-blink {
  0%   { opacity: 1;      transform: scale(1); }
  100% { opacity: 0.4;    transform: scale(1.15); }
}

.approvals-list .approval-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.approvals-list .approval-item.pending {
  border-left: 4px solid #eab308;
}
.approvals-list .approval-item h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
}
.approvals-list .approval-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}
.approvals-list .approval-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.approvals-list .reject-note-area {
  width: 100%;
  margin-top: 8px;
}
.reject-note-area textarea {
  width: 100%;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  resize: vertical;
}
.reject-note-area .reject-confirm-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  align-items: center;
}
.approvals-list .approval-item.rejected {
  border-left: 4px solid #b42318;
  opacity: 0.85;
}
.approvals-list .approval-item.approved {
  border-left: 4px solid #16a34a;
}

.approval-details.hidden {
  display: none;
}

.approval-details {
  margin: 8px 0 12px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 6px;
}

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

.approval-details-table td {
  padding: 4px 6px;
  vertical-align: top;
}

.approval-details-table td:first-child {
  width: 90px;
  color: var(--muted);
  white-space: nowrap;
}

.approval-details-table td:last-child {
  word-break: break-word;
}

.toggle-details-btn {
  background: none;
  border: none;
  color: var(--forest);
  font-weight: 700;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.toggle-details-btn:hover {
  color: var(--rust);
}


/* Business profile image rendering */
.business-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.profile-photo {
  width: min(220px, 100%);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.profile-photo img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.profile-photo figcaption {
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
}

/* Business profile full-width layout pass */
.profile-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 56px;
  background: #f6f8fb;
}

.profile-shell {
  width: 100%;
  display: block;
}

.profile-loading-header {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 12px;
}

.business-profile-card {
  width: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.business-profile-cover {
  min-height: clamp(330px, 44vw, 520px);
  width: 100%;
  align-items: flex-end;
  padding: clamp(24px, 5vw, 64px);
  position: relative;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.95), rgba(23, 198, 189, 0.75));
}

.business-profile-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.08) 60%, rgba(2, 6, 23, 0.35));
  pointer-events: none;
}

.profile-hero-overlay {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  color: #fff;
}

.profile-hero-copy {
  display: grid;
  gap: 6px;
  padding-bottom: 8px;
}

.profile-hero-copy .section-kicker {
  color: rgba(255,255,255,.85);
}

.profile-hero-copy h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

#profile-cover-text {
  font-weight: 800;
  color: rgba(255,255,255,.8);
}

.business-profile-logo {
  width: clamp(92px, 11vw, 140px);
  min-width: clamp(92px, 11vw, 140px);
  height: clamp(92px, 11vw, 140px);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  border: 3px solid rgba(255,255,255,.78);
}

.profile-tabs {
  height: 68px;
  display: flex;
  justify-content: center;
  gap: 34px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 5;
}

.profile-tabs a {
  height: 68px;
  display: inline-flex;
  align-items: center;
  color: #475569;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.profile-tabs a.active {
  color: var(--navy);
  border-bottom-color: var(--aqua);
}

.business-profile-body {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 0;
  display: grid;
  gap: 24px;
}

.profile-actions {
  justify-content: center;
  background: #fff;
  border-radius: 999px;
  padding: 12px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.profile-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: start;
}

.profile-description-card,
.profile-side-card,
.profile-card-section {
  background: #fff;
  border-radius: 26px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.profile-section h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.profile-description {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #334155;
  margin: 0;
}

.profile-side-card .profile-info-grid {
  grid-template-columns: 1fr;
}

.profile-side-card .info-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.profile-side-card .profile-view-box {
  background: #0f172a;
  color: #fff;
}

.profile-side-card .profile-view-box small,
.profile-side-card .profile-view-box b {
  color: inherit;
}

.profile-side-card .profile-view-box b {
  font-size: 1.55rem;
}

.profile-view-status {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.site-traffic-counter {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 10px;
  width: min(560px, 100%);
  margin-top: 18px;
}

.site-traffic-counter span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.site-traffic-counter small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.site-traffic-counter strong {
  color: #fff;
  font-size: 1.22rem;
  line-height: 1;
}

.site-traffic-counter em {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-style: normal;
}

.footer-visitor-counter {
  display: grid;
  gap: 5px;
  width: min(285px, 100%);
  padding: 14px 18px 12px;
  border: 1px solid rgba(116, 184, 158, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0 43%, #edf7f3 44% 60%, #b9ded0 100%),
    var(--paper);
  box-shadow: 0 16px 34px rgba(7, 47, 73, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  color: var(--forest);
  text-decoration: none;
}

.site-footer .footer-visitor-counter,
.site-footer .footer-visitor-counter:visited {
  color: var(--forest);
}

.footer-visitor-counter:hover {
  transform: translateY(-1px);
}

.footer-counter-brand {
  display: block;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(7, 47, 73, 0.16);
  color: var(--forest);
  font-size: 1rem;
  line-height: 1.05;
}

.footer-visitor-counter span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  color: var(--forest);
  font-size: 0.95rem;
  line-height: 1.15;
}

.footer-visitor-counter b {
  color: var(--forest);
  font-weight: 800;
}

.footer-visitor-counter em {
  min-width: 3ch;
  color: var(--forest);
  font-size: 1.1rem;
  font-weight: 800;
  font-style: normal;
  text-align: right;
}

.footer-visitor-counter small {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

@media (max-width: 620px) {
  .site-traffic-counter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-visitor-counter {
    width: 100%;
  }
}

.visits-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 86px) 0;
}

.visits-hero {
  margin-bottom: 26px;
}

.visits-hero h1 {
  margin: 4px 0 10px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.visits-report {
  display: grid;
  gap: 20px;
}

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

.visits-summary-card,
.yearly-visit-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}

.visits-summary-card {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.visits-summary-card small,
.monthly-visit-grid span {
  color: #64748b;
  font-size: 0.82rem;
}

.visits-summary-card strong {
  color: var(--navy);
  font-size: 2rem;
}

.yearly-visits-list {
  display: grid;
  gap: 18px;
}

.yearly-visit-card {
  overflow: hidden;
}

.yearly-visit-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: #0f172a;
  color: #fff;
}

.yearly-visit-heading h2 {
  margin: 0;
  font-size: 1.7rem;
}

.yearly-visit-heading strong {
  font-size: 2rem;
}

.monthly-visit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: rgba(15, 23, 42, 0.08);
}

.monthly-visit-grid li {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #fff;
}

.monthly-visit-grid strong {
  color: var(--navy);
  font-size: 1.22rem;
}

@media (max-width: 760px) {
  .visits-summary-grid {
    grid-template-columns: 1fr;
  }

  .monthly-visit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .monthly-visit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.events-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 8vw, 82px) 0;
}

.events-hero {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.events-hero h1 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.events-shell {
  display: grid;
  gap: 16px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  align-items: start;
}

.event-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7, 47, 73, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(7, 47, 73, 0.1);
}

.event-card img,
.event-card-photo-empty {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, var(--forest), var(--water));
}

.event-card-photo-empty {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}

.event-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.event-card h2 {
  margin: 0;
  color: var(--forest);
  font-size: 1.45rem;
  line-height: 1.08;
}

.event-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.event-card-actions,
.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.event-location {
  font-weight: 850;
}

.event-detail-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 8vw, 82px) 0;
}

.event-detail-shell > h1 {
  max-width: 980px;
  margin: 0 0 8px;
  color: var(--forest);
  font-size: clamp(2.2rem, 5.8vw, 5rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.event-detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  margin-top: 24px;
  padding: clamp(14px, 2.4vw, 24px);
  border: 1px solid rgba(7, 47, 73, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 47, 73, 0.12);
}

.event-detail-photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sky);
}

.event-detail-photo img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #fff;
}

.event-detail-photo-empty {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--forest), var(--water));
}

.event-detail-body {
  display: grid;
  gap: 14px;
  padding: clamp(4px, 1vw, 10px);
}

.event-detail-body h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1;
}

.event-detail-body p {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.event-detail-meta {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

.events-archive {
  display: grid;
  gap: 18px;
  margin-top: clamp(34px, 6vw, 72px);
}

.events-archive-heading h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.events-archive-list {
  display: grid;
  gap: 18px;
}

.archive-year-card {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(7, 47, 73, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(7, 47, 73, 0.08);
}

.archive-year-card h3 {
  margin: 0;
  color: var(--forest);
  font-size: 1.8rem;
}

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

.archive-month-grid button {
  display: grid;
  gap: 3px;
  justify-items: start;
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(7, 47, 73, 0.12);
  border-radius: 8px;
  background: var(--sky);
  color: var(--forest);
  cursor: pointer;
}

.archive-month-grid button.active {
  background: var(--forest);
  color: #fff;
}

.archive-month-grid span {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-month-grid strong {
  font-size: 1.35rem;
}

.archive-month-events {
  display: grid;
  gap: 10px;
}

.archive-month-panel {
  display: grid;
  gap: 8px;
}

.archive-event-link {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 47, 73, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--forest);
  text-decoration: none;
}

.archive-event-link:hover {
  background: var(--sky);
}

.archive-event-link span {
  color: var(--muted);
  font-size: 0.9rem;
}

.event-form {
  margin-bottom: 28px;
}

.event-photo-preview {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(7, 47, 73, 0.12);
  border-radius: 8px;
  background: #fff;
}

.event-photo-preview img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.events-manager-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 12px;
}

.events-manager-heading h3 {
  margin: 0;
  color: var(--forest);
}

.events-manager-list {
  display: grid;
  gap: 12px;
}

.manager-list-section-title {
  list-style: none;
  margin: 18px 0 6px;
  padding: 10px 14px;
  border-left: 5px solid var(--water);
  border-radius: 8px;
  background: rgba(116, 184, 158, 0.12);
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.manager-list-section-title:first-child {
  margin-top: 0;
}

.event-manager-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(7, 47, 73, 0.12);
  border-radius: 8px;
  background: #fff;
}

.event-manager-card img,
.event-manager-photo-empty {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--sky);
}

.event-manager-photo-empty {
  display: grid;
  place-items: center;
  color: var(--forest);
  font-weight: 900;
}

.event-manager-card h3 {
  margin: 0 0 4px;
  color: var(--forest);
}

.event-manager-card p {
  margin: 0 0 8px;
}

@media (max-width: 620px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-card {
    grid-template-columns: 1fr;
  }

  .archive-month-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-manager-card {
    grid-template-columns: 1fr;
  }

  .event-manager-card img,
  .event-manager-photo-empty {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 440px) {
  .archive-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-link-list a,
.profile-actions a {
  text-decoration: none;
}

.profile-gallery-list {
  align-items: stretch;
}

.profile-photo {
  width: min(260px, 100%);
}

.profile-photo img {
  height: 180px;
}

@media (max-width: 820px) {
  .profile-hero-overlay {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-content-layout {
    grid-template-columns: 1fr;
  }

  .profile-tabs {
    gap: 18px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 18px;
  }

  .profile-actions {
    border-radius: 24px;
    justify-content: flex-start;
  }
}

/* Business profile detail-card cleanup */
.profile-side-card .info-box {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
}

.profile-side-card .info-box small,
.profile-side-card .info-box b {
  display: block;
}

.profile-side-card .info-box b {
  line-height: 1.35;
  word-break: break-word;
}

.profile-card-section {
  scroll-margin-top: 90px;
}

/* Business profile location and hours cleanup */
.profile-side-card .wide-detail {
  grid-column: 1 / -1;

/* Business profile simple hours rows - no outlines */
.hours-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.hours-row {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(130px, 1.2fr);
  gap: 16px;
  padding: 2px 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  align-items: baseline;
}

.hours-day {
  color: var(--navy);
  font-weight: 900;
}

.hours-time {
  color: #334155;
  text-align: right;
  font-weight: 800;
}

@media (max-width: 620px) {
  .hours-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hours-time {
    text-align: left;
  }
}



/* Homepage newest businesses */
.homepage-businesses {
  width: min(1180px, calc(100% - 44px));
  margin: 24px auto 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(23, 33, 43, 0.07);
}
.homepage-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.homepage-section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.homepage-section-heading > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.homepage-business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.homepage-business-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.homepage-business-photo {
  height: 135px;
  background: linear-gradient(135deg, rgba(23, 198, 189, 0.25), rgba(10, 37, 64, 0.9));
  display: grid;
  place-items: center;
  color: white;
  font-size: 42px;
  font-weight: 950;
}
.homepage-business-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.homepage-business-body {
  display: grid;
  gap: 4px;
  padding: 13px 14px 15px;
}
.homepage-business-body strong {
  font-size: 1rem;
  line-height: 1.1;
  color: var(--navy);
}
.homepage-business-body span {
  color: var(--water);
  font-size: 0.78rem;
  font-weight: 850;
}
.homepage-business-body small {
  color: var(--muted);
  font-weight: 750;
}
@media (max-width: 900px) {
  .homepage-business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .homepage-businesses { width: min(100% - 28px, 1180px); padding: 20px; }
  .homepage-section-heading { align-items: start; flex-direction: column; }
  .homepage-business-grid { grid-template-columns: 1fr; }
}

.owner-dashboard-grid .ghost,
.owner-dashboard-grid .button-row button,
.owner-dashboard-grid .events-manager-heading button {
  background: var(--forest);
  color: #fff;
  border: 0;
}
.owner-dashboard-grid .summary-chip {
  background: rgba(116, 184, 158, 0.24);
  color: #1f7a5c;
}
.owner-dashboard-grid .summary-chip[style*="#f79009"] {
  background: rgba(116, 184, 158, 0.24) !important;
  color: #1f7a5c !important;
}
.owner-dashboard-grid .summary-chip[style*="#f04438"] {
  background: rgba(185, 74, 82, 0.16) !important;
  color: #b94a52 !important;
}
.owner-dashboard-grid .lm-row-actions .danger-link {
  background: #b94a52;
  color: #fff;
}
.owner-dashboard-grid .lm-row-actions .lm-action-edit,
.owner-dashboard-grid .lm-row-actions .view-link:not(.danger-link) {
  background: var(--forest);
  color: #fff;
}

/* Dashboard action color cleanup: keep controls blue, green, or red only. */
.owner-dashboard-grid #listings-manager-refresh,
.owner-dashboard-grid #events-refresh,
.owner-dashboard-grid #jobs-refresh,
.owner-dashboard-grid #admin-refresh,
.owner-dashboard-grid #approvals-refresh,
.owner-dashboard-grid button.ghost:not(.danger-link),
.owner-dashboard-grid .button-row button.ghost,
.owner-dashboard-grid .events-manager-heading button.ghost {
  background: var(--forest) !important;
  color: #fff !important;
  border-color: var(--forest) !important;
}

.dashboard-blue-action {
  background: #072f49 !important;
  color: #fff !important;
  border-color: #072f49 !important;
}

/* Dashboard event/job card status and actions: blue, green, red only. */
.content-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin: 0 0 10px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
}
.content-status-badge.pending {
  background: #b94a52;
  box-shadow: 0 0 0 0 rgba(185, 74, 82, 0.46);
  animation: pendingStatusPulse 1.15s ease-in-out infinite;
}
.content-status-badge.published {
  background: #1f7a5c;
  animation: none;
}
@keyframes pendingStatusPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(185, 74, 82, 0.42); }
  50% { transform: scale(1.035); box-shadow: 0 0 0 8px rgba(185, 74, 82, 0); }
}
.event-manager-card .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.event-manager-card .dashboard-card-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent !important;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff !important;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.event-manager-card .dashboard-card-action-blue {
  background: #072f49 !important;
  border-color: #072f49 !important;
}
.event-manager-card .dashboard-card-action-green {
  background: #1f7a5c !important;
  border-color: #1f7a5c !important;
}
.event-manager-card .dashboard-card-action-red {
  background: #b94a52 !important;
  border-color: #b94a52 !important;
}

/* Status buttons inside user event/job cards. */
.event-manager-card .content-status-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent !important;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  cursor: default;
  box-shadow: none;
}
.listing-manager-row .content-status-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent !important;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}
.event-manager-card .content-status-button.pending {
  background: #f5b942 !important;
  color: #072f49 !important;
  border-color: #f5b942 !important;
  animation: pendingStatusButtonPulse 1.05s ease-in-out infinite;
}
.event-manager-card .content-status-button.approved {
  background: #1f7a5c !important;
  color: #fff !important;
  border-color: #1f7a5c !important;
  animation: none;
}
@keyframes pendingStatusButtonPulse {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.16); transform: scale(1.045); }
}

/* Keep submitted event/job thumbnails inside the card photo box. */
.events-manager-list .event-manager-card > img,
.events-manager-list .event-manager-photo-empty {
  width: 170px;
  height: 150px;
  max-width: 100%;
  flex: 0 0 170px;
  border-radius: 16px;
}
.events-manager-list .event-manager-card > img {
  display: block;
  object-fit: cover;
  object-position: center;
}
.events-manager-list .event-manager-photo-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Admin approval attention state. */
.event-manager-card.needs-approval {
  border-color: rgba(245, 185, 66, 0.95) !important;
  box-shadow: 0 0 0 0 rgba(245, 185, 66, 0.34);
  animation: approvalCardPulse 1.25s ease-in-out infinite;
}
@keyframes approvalCardPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 185, 66, 0.34), 0 10px 28px rgba(7, 47, 73, 0.06);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 185, 66, 0), 0 14px 34px rgba(7, 47, 73, 0.1);
    transform: translateY(-1px);
  }
}

.event-manager-card .content-status-button.pending[data-event-approve],
.event-manager-card .content-status-button.pending[data-job-approve] {
  cursor: pointer;
}

/* Stronger 3D approval-needed pulse. */
.event-manager-card .content-status-button.pending {
  background: linear-gradient(180deg, #ffd86a 0%, #f5b942 55%, #d9961f 100%) !important;
  color: #072f49 !important;
  border: 2px solid #f7c64b !important;
  box-shadow: 0 8px 0 #a96f10, 0 14px 24px rgba(245, 185, 66, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.58) !important;
  transform: translateY(-3px);
  animation: approvalNeededJump 0.82s ease-in-out infinite !important;
}
@keyframes approvalNeededJump {
  0%, 100% {
    transform: translateY(-3px) scale(1);
    filter: brightness(1);
    box-shadow: 0 8px 0 #a96f10, 0 14px 24px rgba(245, 185, 66, 0.38), 0 0 0 0 rgba(245, 185, 66, 0.42), inset 0 2px 0 rgba(255, 255, 255, 0.58);
  }
  45% {
    transform: translateY(-9px) scale(1.08);
    filter: brightness(1.22);
    box-shadow: 0 13px 0 #a96f10, 0 22px 34px rgba(245, 185, 66, 0.55), 0 0 0 10px rgba(245, 185, 66, 0), inset 0 2px 0 rgba(255, 255, 255, 0.72);
  }
  70% {
    transform: translateY(-1px) scale(0.99);
    filter: brightness(1.04);
  }
}

/* Red stop-light flashing approval button. */
.event-manager-card .content-status-button.pending {
  background: #b42318 !important;
  color: #fff !important;
  border-color: #b42318 !important;
  box-shadow: 0 0 0 0 rgba(180, 35, 24, 0.72) !important;
  transform: none !important;
  animation: approvalNeededRedFlash 0.7s steps(2, end) infinite !important;
}
@keyframes approvalNeededRedFlash {
  0% {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(180, 35, 24, 0.8), 0 0 20px rgba(180, 35, 24, 0.68);
    filter: brightness(1.2);
  }
  50% {
    background: #5f0f0a;
    border-color: #5f0f0a;
    color: #fff;
    box-shadow: none;
    filter: brightness(0.72);
  }
  100% {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(180, 35, 24, 0.8), 0 0 20px rgba(180, 35, 24, 0.68);
    filter: brightness(1.2);
  }
}

/* Strong on/off red warning flash for approval-needed. */
.event-manager-card .content-status-button.pending {
  animation: approvalNeededRedFlash 0.55s step-end infinite !important;
}
@keyframes approvalNeededRedFlash {
  0%, 48% {
    background: #ff1f1f;
    border-color: #ff1f1f;
    color: #fff;
    opacity: 1;
    filter: brightness(1.35);
    box-shadow: 0 0 0 4px rgba(255, 31, 31, 0.28), 0 0 26px rgba(255, 31, 31, 0.95);
  }
  49%, 100% {
    background: #4a0707;
    border-color: #4a0707;
    color: rgba(255, 255, 255, 0.45);
    opacity: 0.42;
    filter: brightness(0.45);
    box-shadow: none;
  }
}


/* Mobile business profile cleanup */
@media (max-width: 820px) {
  .business-profile-cover {
    min-height: 360px;
    padding: 22px;
    align-items: flex-end;
  }

  .business-profile-cover::before {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.66));
  }

  .profile-hero-overlay {
    gap: 16px;
  }

  .profile-hero-copy .section-kicker,
  .profile-hero-meta {
    display: none !important;
  }

  .profile-hero-copy h2 {
    font-size: clamp(2.15rem, 12vw, 3.45rem);
    line-height: 0.98;
    max-width: 10ch;
  }

  .business-profile-logo {
    width: 108px;
    min-width: 108px;
    height: 108px;
    border-radius: 24px;
  }

  .business-profile-body {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .profile-info-grid {
    grid-template-columns: 1fr;
  }
}


/* Business profile hero hard cleanup */
#profile-category,
.profile-hero-meta,
#profile-hero-location,
#profile-hero-phone {
  display: none !important;
}


/* Mobile business profile action buttons */
@media (max-width: 820px) {
  .profile-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px !important;
    border-radius: 22px !important;
    background: #fff !important;
  }

  .profile-actions a,
  .profile-actions .button-link,
  .profile-actions .button-link.ghost {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    background: #072f49 !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    text-align: center !important;
    box-shadow: 0 10px 22px rgba(7, 47, 73, 0.14) !important;
  }

  .profile-actions a:first-child,
  .profile-actions .button-link:first-child {
    background: #1f7a5c !important;
  }
}


/* Mobile business profile action buttons - strongest override */
@media (max-width: 820px) {
  body .business-profile-body #profile-actions.profile-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 14px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
  }

  body .business-profile-body #profile-actions.profile-actions > a,
  body .business-profile-body #profile-actions.profile-actions > .button-link,
  body .business-profile-body #profile-actions.profile-actions > .button-link.ghost {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    background: #072f49 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    text-align: center !important;
    box-shadow: 0 10px 22px rgba(7, 47, 73, 0.14) !important;
  }

  body .business-profile-body #profile-actions.profile-actions > a:first-child,
  body .business-profile-body #profile-actions.profile-actions > .button-link:first-child {
    background: #1f7a5c !important;
  }
}


/* Mobile compact profile hours */
.profile-hours-details {
  display: block;
}

.profile-hours-details summary {
  cursor: pointer;
  color: #072f49;
  font-weight: 950;
  list-style: none;
}

.profile-hours-details summary::-webkit-details-marker {
  display: none;
}

.profile-hours-details summary::after {
  content: " +";
  color: #1f7a5c;
}

.profile-hours-details[open] summary::after {
  content: " -";
}

@media (max-width: 900px) {
  .profile-hours-details {
    padding: 0;
  }

  .profile-hours-details summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(116, 184, 158, 0.14);
  }

  .profile-hours-details .hours-list {
    margin-top: 10px;
    gap: 6px;
  }

  .profile-hours-details .hours-row {
    display: flex !important;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    font-size: 0.9rem;
  }

  .profile-hours-details .hours-day {
    flex: 0 0 auto;
  }

  .profile-hours-details .hours-time {
    text-align: right;
  }
}


/* Clickable public event cards */
.event-card-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.event-card-link:hover {
  transform: translateY(-1px);
}

.event-card-link .button-link {
  pointer-events: none;
}


/* Mobile footer cleanup */
@media (max-width: 700px) {
  .site-footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-top: 28px !important;
    padding: 26px 18px 30px !important;
    background: #072f49 !important;
  }

  .site-footer > div:first-child {
    text-align: left;
  }

  .site-footer > div:first-child strong {
    margin-bottom: 4px;
    font-size: 1.45rem;
    line-height: 1;
  }

  .site-footer > div:first-child p {
    max-width: 28ch;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .site-footer nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    justify-content: stretch !important;
  }

  .site-footer nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 950;
    text-align: center;
  }

  .site-footer .footer-visitor-counter {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 16px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #eaf5f0 100%) !important;
    color: #072f49 !important;
    text-decoration: none !important;
  }

  .footer-counter-brand {
    grid-column: 1 / -1;
    margin: 0 0 4px !important;
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
    text-align: center;
  }

  .footer-visitor-counter span {
    display: grid !important;
    gap: 2px !important;
    padding: 10px 8px !important;
    border-radius: 14px !important;
    background: rgba(7, 47, 73, 0.08) !important;
    text-align: center !important;
  }

  .footer-visitor-counter b {
    font-size: 0.68rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }

  .footer-visitor-counter em {
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }
}
