:root {
  color-scheme: light;
  --primary: #9a7024;
  --primary-strong: #6f4d13;
  --gold: #c99735;
  --ink: #1d1b18;
  --muted: #756b61;
  --line: #ead8c8;
  --paper: #ffffff;
  --wash: #fbf8f3;
  --soft: #f5eee7;
  --blue: #43566d;
  --green: #1d7a5a;
  --shadow: 0 24px 70px rgba(93, 52, 35, 0.17);
  --small-shadow: 0 12px 32px rgba(93, 52, 35, 0.1);
  --ring: 0 0 0 4px rgba(184, 63, 43, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(216, 154, 43, 0.16), transparent 28rem),
    linear-gradient(180deg, #fff8f1 0%, var(--wash) 38%, #eef5f1 100%);
  color: var(--ink);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

button {
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

button:active {
  transform: translateY(1px) scale(0.99);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0;
  box-shadow: var(--ring);
}

.app-shell {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(251, 248, 243, 0.96)),
    var(--wash);
  box-shadow: 0 0 0 1px rgba(93, 52, 35, 0.07), 0 30px 90px rgba(29, 27, 24, 0.18);
  position: relative;
  overflow: hidden;
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 27, 24, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 27, 24, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
}

.auth-shell {
  min-height: 100vh;
  padding: 24px 16px;
  display: grid;
  align-items: center;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(234, 216, 200, 0.86);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.focused-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.auth-nav {
  padding: 14px 16px 0;
  background: rgba(255, 255, 255, 0.66);
}

.auth-hero {
  min-height: 230px;
  padding: 24px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(244, 236, 220, 0.9)),
    #f6f4ef;
}

.auth-brand-banner {
  width: 100%;
  display: block;
  margin-bottom: 12px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 14px 32px rgba(83, 58, 17, 0.14);
}

.auth-hero p,
.auth-note {
  margin: 0;
  font-size: 13px;
}

.auth-body {
  padding: 18px;
}

.auth-note {
  margin-top: 14px;
  color: var(--muted);
}

.app-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 244, 0.82);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid rgba(234, 216, 200, 0.76);
  padding: 11px 16px 13px;
}

.status-row,
.top-row,
.toolbar,
.split-row,
.inline-row,
.bottom-nav {
  display: flex;
  align-items: center;
}

.status-row {
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.top-row {
  justify-content: space-between;
  gap: 12px;
}

.top-actions {
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

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

.brand-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-title img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(83, 58, 17, 0.16);
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.brand-lockup h1,
.screen-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 800;
}

.screen-title {
  font-size: 22px;
}

.subtle {
  color: var(--muted);
}

.role-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
  padding: 4px;
  background: rgba(245, 238, 231, 0.9);
  border-radius: 999px;
}

.role-switcher button,
.segmented button {
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.role-switcher button.active,
.segmented button.active {
  background: var(--paper);
  color: var(--primary);
  box-shadow: var(--small-shadow);
}

.auth-segmented {
  grid-template-columns: repeat(2, 1fr);
}

.auth-actions,
.role-cta-grid {
  display: grid;
  gap: 10px;
}

.auth-actions {
  margin-top: 14px;
}

.login-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.login-role-grid button {
  min-height: 118px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}

.login-role-grid button > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff1d8;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.login-role-grid button strong,
.login-role-grid button small {
  display: block;
}

.login-role-grid button small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.login-role-grid button.active {
  border-color: var(--primary);
  background: #fff7f1;
  box-shadow: var(--ring);
}

.demo-account {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(234, 216, 200, 0.86);
  border-radius: 18px;
  background: rgba(255, 248, 240, 0.82);
}

.demo-account span,
.demo-account small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-account strong {
  color: var(--ink);
  font-size: 15px;
}

.admin-login-link {
  opacity: 0.78;
}

.compact-btn {
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
}

.location-action-btn {
  align-self: end;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: var(--small-shadow);
  flex: 0 0 auto;
  font-weight: 900;
}

.content {
  padding: 16px 16px 102px;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 310px;
  border-radius: 30px;
  padding: 22px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(145deg, rgba(31, 25, 20, 0.76), rgba(154, 112, 36, 0.28)),
    url("/assets/vendors/marriage-garden.png") center 48% / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 8%, rgba(25, 17, 13, 0.68)),
    linear-gradient(90deg, rgba(21, 18, 16, 0.42), transparent 62%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h2 {
  max-width: 310px;
  margin: 18px 0 16px;
  font-size: clamp(31px, 9vw, 42px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.home-brand-banner {
  width: min(100%, 340px);
  display: block;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(23, 14, 10, 0.24);
}

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

.hero-stats span {
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.search-panel {
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  padding: 12px;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(23, 14, 10, 0.26);
  backdrop-filter: blur(14px);
}

.input-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border-bottom: 1px solid rgba(234, 216, 200, 0.76);
  color: var(--primary);
  font-weight: 900;
}

.input-row:last-child {
  border-bottom: 0;
}

.location-row,
.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.location-row {
  padding: 8px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.listing-meta {
  flex-wrap: wrap;
  margin: 10px 0 2px;
}

.listing-meta span {
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(245, 238, 231, 0.86);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.input-row input,
.input-row select,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(234, 216, 200, 0.95);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea,
.upload-drop.invalid {
  border-color: #c93f32;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(201, 63, 50, 0.1);
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #b22f24;
  font-size: 11px;
  font-weight: 800;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.danger-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-btn {
  background: linear-gradient(180deg, #c94d36, var(--primary));
  color: white;
  box-shadow: 0 14px 26px rgba(184, 63, 43, 0.24);
}

.secondary-btn {
  background: #fff1d8;
  color: #765008;
  border: 1px solid rgba(216, 154, 43, 0.24);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  border: 1px solid rgba(234, 216, 200, 0.95);
}

.danger-btn {
  background: #ffebe7;
  color: var(--primary-strong);
  border: 1px solid rgba(184, 63, 43, 0.14);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.danger-btn:hover,
.icon-btn:hover,
.bottom-nav button:hover {
  transform: translateY(-1px);
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
}

.full {
  width: 100%;
}

.section {
  margin-top: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.12;
}

.section-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.h-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(124px, 38%);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.category-card,
.metric-card,
.info-card,
.booking-card,
.admin-card,
.vendor-row,
.payment-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(234, 216, 200, 0.76);
  border-radius: 22px;
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(10px);
}

.kyc-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 112px;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.kyc-strip::-webkit-scrollbar {
  display: none;
}

.kyc-thumb {
  min-height: 86px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--small-shadow);
}

.kyc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7));
}

.kyc-thumb span {
  position: absolute;
  z-index: 1;
  left: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.document-thumb {
  background: linear-gradient(145deg, #fff4e5, #f0e4d5);
}

.document-thumb::before {
  content: "DOC";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 900;
}

.category-card {
  min-height: 116px;
  padding: 15px;
  text-align: left;
  color: var(--ink);
}

.category-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  margin-bottom: 12px;
  color: var(--primary);
  background: #fff1d8;
  font-size: 21px;
  box-shadow: inset 0 0 0 1px rgba(216, 154, 43, 0.18);
}

.category-card.active {
  border-color: var(--primary);
  box-shadow: 0 18px 36px rgba(184, 63, 43, 0.16);
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pulse-card {
  padding: 15px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 241, 216, 0.72)),
    var(--paper);
  border: 1px solid rgba(234, 216, 200, 0.82);
  box-shadow: var(--small-shadow);
}

.pulse-card label,
.pulse-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pulse-card input,
.pulse-card select {
  width: 100%;
  min-height: 38px;
  margin: 6px 0 4px;
  padding: 7px 9px;
  border: 1px solid rgba(234, 216, 200, 0.95);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.spotlight-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 76%);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.spotlight-scroll::-webkit-scrollbar {
  display: none;
}

.spotlight-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px;
  text-align: left;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 216, 200, 0.82);
  box-shadow: var(--small-shadow);
}

.spotlight-image {
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

.spotlight-copy {
  display: grid;
  align-content: center;
  gap: 4px;
}

.spotlight-copy small,
.spotlight-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.spotlight-copy strong {
  color: var(--ink);
  line-height: 1.08;
}

.category-card strong,
.vendor-card strong,
.booking-card strong {
  display: block;
}

.vendor-list {
  display: grid;
  gap: 14px;
}

.vendor-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--small-shadow);
  border: 1px solid rgba(234, 216, 200, 0.76);
}

.vendor-image,
.detail-hero,
.admin-banner {
  min-height: 176px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.vendor-image {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #ead8c8;
}

.vendor-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vendor-image::after,
.detail-hero::after,
.admin-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(24, 15, 11, 0.72));
}

.vendor-image > .rating-badge,
.vendor-image > .media-tag {
  z-index: 1;
}

.vendor-body {
  padding: 15px;
}

.pill,
.mini-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.pill {
  min-height: 30px;
  padding: 0 11px;
  background: rgba(255, 237, 230, 0.94);
  color: var(--primary);
  border: 1px solid rgba(184, 63, 43, 0.1);
}

.mini-pill,
.status-pill {
  padding: 6px 9px;
}

.mini-pill {
  background: #fff3dc;
  color: #6a4800;
}

.status-pill {
  background: #e7f5ee;
  color: var(--green);
}

.status-pill.pending {
  background: #fff5dc;
  color: #9a6200;
}

.status-pill.rejected {
  background: #ffe6e4;
  color: var(--primary);
}

.rating-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  color: #6a4800;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(20, 12, 8, 0.16);
}

.media-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  background: rgba(43, 33, 29, 0.74);
  color: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.split-row {
  justify-content: space-between;
  gap: 12px;
}

.toolbar {
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(245, 238, 231, 0.92);
  border: 1px solid rgba(234, 216, 200, 0.7);
}

.sheet {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(234, 216, 200, 0.8);
  border-radius: 24px;
  padding: 17px;
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(12px);
}

.sheet + .sheet {
  margin-top: 12px;
}

.detail-hero {
  min-height: 276px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: white;
}

.hero-caption h2 {
  margin: 6px 0;
  font-size: clamp(29px, 8vw, 42px);
  line-height: 0.98;
  font-weight: 900;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.media-tile {
  min-height: 118px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--small-shadow);
  border: 1px solid rgba(255, 255, 255, 0.76);
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}

.media-video {
  display: block;
  background: #1d1b18;
}

.upload-drop {
  min-height: 78px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(184, 63, 43, 0.38);
  border-radius: 22px;
  background: rgba(255, 248, 240, 0.78);
  color: var(--primary);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.upload-drop input {
  display: none;
}

.upload-drop small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.media-upload-actions {
  display: grid;
  gap: 10px;
}

.media-upload-actions.invalid .upload-drop {
  border-color: #c93f32;
  background: #fff8f7;
}

.media-upload-actions .upload-drop {
  min-height: 104px;
  align-content: center;
}

.photo-upload {
  background:
    linear-gradient(135deg, rgba(255, 247, 239, 0.94), rgba(255, 255, 255, 0.9)),
    var(--paper);
}

.video-upload {
  background:
    linear-gradient(135deg, rgba(238, 246, 251, 0.94), rgba(255, 255, 255, 0.9)),
    var(--paper);
  color: var(--blue);
}

.portfolio-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.portfolio-preview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 20px;
  background: #211c19;
  box-shadow: var(--small-shadow);
}

.portfolio-preview.is-cover {
  border-color: var(--primary);
}

.portfolio-preview img,
.portfolio-preview video {
  width: 100%;
  height: 142px;
  display: block;
  object-fit: cover;
}

.portfolio-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 5px;
}

.portfolio-badges span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(29, 27, 24, 0.78);
  color: white;
  font-size: 9px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.portfolio-preview.is-cover .portfolio-badges span {
  background: var(--primary);
}

.portfolio-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 7px;
  background: white;
}

.portfolio-actions button {
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
}

.portfolio-actions button:only-child {
  grid-column: 1 / -1;
}

.portfolio-actions .remove-media {
  color: #a32d24;
  background: #fff0ee;
}

.upload-summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.amenity-grid,
.metric-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.amenity,
.metric-card {
  padding: 14px;
}

.amenity {
  min-height: 82px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(234, 216, 200, 0.72);
  color: var(--ink);
  font-weight: 700;
}

.amenity span {
  display: block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 4px;
}

.feature-title {
  margin: 20px 0 10px;
  font-size: 16px;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

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

.registration-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.registration-category {
  min-height: 104px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}

.registration-category > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff1d8;
  color: var(--primary);
  font-size: 19px;
}

.registration-category strong {
  line-height: 1.08;
}

.registration-category.active {
  border-color: var(--primary);
  background: #fff7f1;
  box-shadow: var(--ring);
}

.selected-service {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #fff1d8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.selected-service strong {
  color: var(--primary);
}

.optional-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.feature-option {
  position: relative;
}

.feature-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feature-option span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.feature-option input:checked + span {
  border-color: var(--primary);
  background: #fff0e9;
  color: var(--primary);
  box-shadow: var(--ring);
}

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

.payment-methods button {
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.payment-methods button.active {
  border-color: var(--primary);
  background: #fff0e9;
  color: var(--primary);
  box-shadow: var(--small-shadow);
}

.payment-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.confirmation-page {
  min-height: calc(100vh - 150px);
  display: grid;
  align-items: center;
}

.success-card {
  padding: 26px 20px;
  border: 1px solid rgba(29, 122, 90, 0.2);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  box-shadow: var(--shadow);
}

.success-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e7f5ee;
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
}

.success-card h2 {
  margin: 6px 0 8px;
}

.success-card > p:not(.eyebrow) {
  color: var(--muted);
}

.booking-id-card {
  display: grid;
  gap: 5px;
  margin: 20px 0 14px;
  padding: 16px;
  border-radius: 20px;
  background: #f1faf6;
}

.booking-id-card span,
.confirmation-details span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.booking-id-card strong {
  color: var(--green);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 22px;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  text-align: left;
}

.confirmation-details div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.success-card .ghost-btn {
  margin-top: 8px;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 23px;
  line-height: 1;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.price-stack {
  display: grid;
  gap: 10px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(234, 216, 200, 0.86);
  color: var(--muted);
}

.price-line.total {
  padding: 8px 0 0;
  border-bottom: 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.balance-note,
.booking-balance {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.balance-note {
  margin: 2px 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4f0ea;
}

.booking-balance {
  margin-top: 8px;
  color: var(--primary);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day {
  min-height: 43px;
  border-radius: 15px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.day.available {
  background: #e8f6ef;
  color: var(--green);
}

.day.selected {
  background: linear-gradient(180deg, #c94d36, var(--primary));
  color: white;
  box-shadow: 0 12px 22px rgba(184, 63, 43, 0.24);
}

.day.blocked {
  background: #f4ded8;
  color: var(--primary);
  text-decoration: line-through;
}

.progress {
  height: 9px;
  overflow: hidden;
  background: rgba(234, 216, 200, 0.86);
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  width: var(--progress);
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: inherit;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.booking-card,
.admin-card,
.vendor-row,
.payment-card {
  padding: 15px;
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  min-height: 76px;
  padding: 9px 12px max(9px, env(safe-area-inset-bottom));
  justify-content: space-around;
  background: rgba(255, 252, 247, 0.86);
  backdrop-filter: blur(24px) saturate(150%);
  border-top: 1px solid rgba(234, 216, 200, 0.82);
}

.bottom-nav button {
  min-width: 64px;
  min-height: 50px;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.bottom-nav span {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
  line-height: 1;
}

.bottom-nav button.active {
  background: #fff1d8;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(216, 154, 43, 0.24);
}

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  width: min(390px, calc(100% - 32px));
  padding: 12px 14px;
  border-radius: 18px;
  background: #2b211d;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 800;
}

.subtle {
  line-height: 1.45;
}

.vendor-card strong,
.booking-card strong,
.admin-card strong,
.vendor-row strong,
.payment-card strong,
.sheet h3 {
  line-height: 1.15;
}

.sheet h3 {
  margin-top: 0;
}

input::placeholder,
textarea::placeholder {
  color: rgba(117, 107, 97, 0.68);
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .admin-banner,
  .detail-hero {
    animation: settle-in 520ms ease both;
  }

  .vendor-card,
  .sheet,
  .category-card,
  .metric-card {
    animation: rise-in 420ms ease both;
  }
}

@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

.brand-footer {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 20px 16px 112px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.brand-footer img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-footer p {
  margin: 0;
  font-weight: 800;
}

.brand-footer span {
  font-size: 9px;
}

@media (min-width: 760px) {
  .app-shell,
  .bottom-nav {
    width: min(760px, 100%);
  }

  .content {
    padding-left: 28px;
    padding-right: 28px;
  }

  .vendor-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .h-scroll {
    grid-auto-columns: minmax(140px, 22%);
  }

  .hero {
    min-height: 360px;
  }

  .hero h2 {
    max-width: 520px;
  }
}

@media (max-width: 380px) {
  .content,
  .app-top {
    padding-left: 12px;
    padding-right: 12px;
  }

  .amenity-grid,
  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .bottom-nav button {
    min-width: 56px;
    font-size: 10px;
  }

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