:root {
  --bg: #fffaf5;
  --panel: #fffefd;
  --panel-2: #f9f1e7;
  --primary: #5d2d4a;
  --primary-deep: #2d1b3d;
  --accent: #d9b067;
  --accent-soft: #f4d39b;
  --muted: #6f6a7a;
  --text: #1a1830;
  --border: rgba(93, 45, 74, 0.08);
  --shadow: 0 18px 40px rgba(44, 29, 60, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: linear-gradient(135deg, #fffaf5 0%, #f5efe4 100%);
  color: var(--text);
  font-family: "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

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

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

.sidebar-shell {
  width: 260px;
  background: linear-gradient(180deg, #2d1b3d 0%, #5d2d4a 100%);
  color: white;
  padding: 20px 18px;
  flex: 0 0 260px;
}

.brand-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #f7d7a6 100%);
  color: var(--primary-deep);
  font-weight: 800;
}

.brand-panel strong,
.brand-panel small {
  display: block;
}

.brand-logo {
  display: block;
  height: 32px;
  object-fit: contain;
  width: 32px;
}

.brand-mark .brand-logo {
  height: 36px;
  width: 36px;
}
.brand-panel small {
  opacity: 0.8;
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.main-shell {
  flex: 1;
  padding: 26px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.topbar-heading {
  min-width: 0;
}

.sidebar-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--primary);
  cursor: pointer;
  font-size: 1.25rem;
  height: 40px;
  line-height: 1;
  margin-bottom: 14px;
  padding: 0;
  width: 40px;
}

.sidebar-toggle:hover {
  background: var(--panel-2);
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.7rem;
  margin-bottom: 6px;
}

.topbar h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.content-panel {
  display: grid;
  gap: 22px;
}

.landing-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 16%,
      rgba(217, 176, 103, 0.22),
      transparent 28%
    ),
    linear-gradient(135deg, #fffaf5 0%, #f5efe4 100%);
}

.landing-nav {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.landing-brand strong,
.landing-brand small {
  display: block;
}
.landing-brand small {
  color: var(--muted);
  font-size: 0.74rem;
}
.landing-brand .brand-mark {
  flex: 0 0 auto;
}

.public-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.public-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.public-nav a:hover {
  color: var(--primary);
}

.public-nav .soft-button {
  color: var(--primary);
}

.auth-layout {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 14% 12%,
      rgba(217, 176, 103, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, #fffaf5 0%, #f5efe4 100%);
}

.auth-nav {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-layout-main {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 20px 24px 56px;
}

.auth-layout-main .auth-shell {
  min-height: auto;
  width: min(460px, 100%);
  background: transparent;
}

.landing-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.landing-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: 48px;
  padding: 46px 0 72px;
}
.landing-copy {
  max-width: 650px;
}
.landing-copy .eyebrow {
  color: var(--primary);
  font-weight: 700;
}
.landing-copy h1 {
  max-width: 650px;
  margin-bottom: 22px;
  color: var(--primary-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
}
.landing-lede {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 30px 0 42px;
}
.landing-actions a {
  text-decoration: none;
}
.text-link {
  color: var(--primary);
  font-weight: 700;
}
.text-link span {
  color: var(--accent);
  margin-left: 6px;
}
.landing-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}
.landing-proof strong {
  color: var(--accent);
  margin-right: 5px;
}

.landing-visual {
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
}
.visual-orbit {
  position: absolute;
  border: 1px solid rgba(93, 45, 74, 0.13);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit-one {
  width: 430px;
  height: 580px;
}
.orbit-two {
  width: 330px;
  height: 470px;
  border-color: rgba(217, 176, 103, 0.35);
  transform: rotate(24deg);
}
.venue-card {
  position: relative;
  width: min(390px, 86%);
  padding: 24px;
  border: 1px solid rgba(93, 45, 74, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 70px rgba(45, 27, 61, 0.16);
  transform: rotate(3deg);
  animation: cardFloat 5s ease-in-out infinite;
}
.venue-card-top,
.venue-card-title,
.venue-timeline div {
  display: flex;
  align-items: center;
}
.venue-card-top {
  justify-content: space-between;
  margin-bottom: 38px;
}
.mini-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--primary-deep);
  color: var(--accent-soft);
  font-weight: 800;
}
.venue-card-title {
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 24px;
}
.venue-card-title small,
.pulse-grid span,
.venue-timeline small {
  color: var(--muted);
}
.venue-card-title strong {
  color: var(--primary-deep);
  font-size: 1.35rem;
}
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}
.pulse-grid div {
  padding: 12px 8px;
  border-radius: 12px;
  background: #fff8ef;
}
.pulse-grid strong,
.pulse-grid span {
  display: block;
}
.pulse-grid strong {
  font-size: 1.45rem;
  color: var(--primary);
}
.pulse-grid span {
  font-size: 0.68rem;
  margin-top: 3px;
}
.venue-timeline {
  display: grid;
  gap: 14px;
}
.venue-timeline div {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 9px;
  font-size: 0.82rem;
}
.venue-timeline small {
  font-size: 0.7rem;
}
.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.timeline-dot.gold {
  background: var(--accent);
}
.timeline-dot.rose {
  background: #bc7180;
}
.timeline-dot.green {
  background: #62a582;
}

.landing-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 48px;
  border-top: 1px solid rgba(93, 45, 74, 0.15);
  border-bottom: 1px solid rgba(93, 45, 74, 0.15);
}
.landing-strip > div {
  padding: 26px 24px 28px 0;
}
.strip-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}
.landing-strip strong {
  color: var(--primary-deep);
}
.landing-strip p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.landing-cta-band {
  align-items: center;
  background: var(--primary-deep);
  border-radius: 22px;
  color: white;
  display: flex;
  justify-content: space-between;
  margin: 0 0 72px;
  padding: 32px 36px;
}

.landing-cta-band .eyebrow {
  color: var(--accent-soft);
}
.landing-cta-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}
.landing-cta-band .primary-button {
  text-decoration: none;
}

.site-footer {
  background: #2d1b3d;
  color: rgba(255, 255, 255, 0.78);
  padding: 54px max(24px, calc((100% - 1180px) / 2)) 22px;
}

.site-footer-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: 2fr 1fr 1fr;
}

.site-footer .landing-brand {
  color: white;
}
.site-footer .landing-brand small {
  color: rgba(255, 255, 255, 0.6);
}
.site-footer p {
  max-width: 300px;
  line-height: 1.6;
  margin: 20px 0 0;
}
.site-footer .footer-contact {
  font-size: 0.82rem;
  margin-top: 14px;
}
.site-footer .footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.site-footer .footer-contact a:hover {
  color: white;
}
.site-footer .social-links {
  margin-top: 22px;
}
.footer-links {
  display: grid;
  align-content: start;
  gap: 11px;
}
.footer-links strong {
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: white;
}
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  margin-top: 42px;
  padding-top: 18px;
}

.public-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 74px 0 100px;
  width: min(1180px, calc(100% - 48px));
  box-sizing: border-box;
}

.landing-shell > main {
  flex: 1 0 auto;
  width: 100%;
}

.public-hero {
  max-width: 780px;
  padding: 40px 0 76px;
}
.compact-public-hero {
  padding-bottom: 50px;
}
.public-hero .eyebrow {
  color: var(--primary);
  font-weight: 700;
}
.public-hero h1,
.legal-page h1 {
  color: var(--primary-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 24px;
}
.public-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 650px;
}

.public-story-grid,
.testimonial-grid,
.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.public-feature-block,
.testimonial-grid blockquote,
.contact-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}
.public-feature-block span,
.feature-index {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}
.public-feature-block h2,
.feature-list h2,
.contact-note h2 {
  color: var(--primary-deep);
  font-size: 1.25rem;
  margin: 26px 0 10px;
}
.public-feature-block p,
.feature-list p,
.testimonial-grid p,
.contact-card small,
.contact-note p {
  color: var(--muted);
  line-height: 1.65;
}
.quote-band {
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 44px 0;
}
.quote-band p {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.25;
  margin: 0;
  max-width: 680px;
}

.feature-list {
  border-top: 1px solid var(--border);
}
.feature-list article {
  align-items: start;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 28px;
  grid-template-columns: 70px minmax(0, 640px);
  padding: 28px 0;
}
.feature-list h2 {
  margin: 0 0 8px;
}
.feature-list p {
  margin: 0;
}

.testimonial-grid blockquote {
  margin: 0;
}
.testimonial-grid blockquote p {
  color: var(--primary-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.35;
}
.testimonial-grid footer {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 28px;
}
.testimonial-grid footer span {
  color: var(--accent);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq-list details {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}
.faq-list summary {
  color: var(--primary-deep);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}
.faq-list details p {
  color: var(--muted);
  line-height: 1.65;
  margin: 16px 28px 0 0;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}
.contact-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
}
.contact-card span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-card strong {
  color: var(--primary-deep);
  font-size: 1.05rem;
}
.contact-note {
  background: #fff8ed;
  border-radius: 18px;
  margin-top: 24px;
  max-width: 720px;
  padding: 28px;
}
.contact-note h2 {
  margin-top: 0;
}
.contact-social {
  border-top: 1px solid var(--border);
  margin-top: 42px;
  padding-top: 34px;
}
.contact-social h2 {
  color: var(--primary-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 22px;
}
.social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-link {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  text-decoration: none;
}
.social-link:hover {
  color: var(--accent-soft);
}
.social-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  width: 34px;
}
.social-icon svg {
  height: 19px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 19px;
}
.social-icon svg .social-fill {
  fill: currentColor;
  stroke: none;
}
.social-link:hover .social-icon {
  transform: translateY(-2px);
}
.social-link:hover .social-icon {
  background: var(--accent);
  color: var(--primary-deep);
}
.contact-social .social-link {
  color: var(--primary);
}
.contact-social .social-icon {
  background: var(--panel-2);
  color: var(--primary);
}

.legal-page {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 820px;
  padding: 18px 24px 0;
  width: 100%;
}
.legal-page h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  max-width: 720px;
}
.legal-page h2 {
  color: var(--primary-deep);
  font-size: 1.15rem;
  margin: 34px 0 10px;
}
.legal-page p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 720px;
}
.legal-page a {
  color: var(--primary);
  font-weight: 700;
}
.legal-updated {
  font-size: 0.8rem;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(3deg) translateY(-9px);
  }
}

.page-section,
.panel-card,
.auth-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--panel-2), #f7eddd);
  border-radius: 12px;
  color: var(--primary);
  font-weight: 700;
}

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

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.stat-card:hover,
.lead-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 25px rgba(45, 27, 61, 0.08);
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5e8c4, #efc98b);
  color: var(--primary-deep);
  font-weight: bold;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.stat-value {
  margin-bottom: 0;
  font-size: 1.65rem;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.lead-detail-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-panel {
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.detail-panel h4 {
  color: var(--primary-deep);
  margin-bottom: 18px;
}

.detail-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.detail-toolbar form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.info-grid > div {
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-bottom: 11px;
}

.info-grid span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-grid strong {
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.info-grid.compact {
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}

.info-grid.compact > div {
  align-items: baseline;
  display: grid;
  gap: 12px;
  grid-template-columns: 88px minmax(0, 1fr);
}

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

.followup-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff8f0;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

.pill {
  background: rgba(217, 176, 103, 0.18);
  color: var(--primary);
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.recent-leads-list,
.lead-grid {
  display: grid;
  gap: 14px;
}

.lead-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  align-items: start;
  justify-content: start;
  gap: 16px;
}

.lead-grid > .lead-card {
  width: 100%;
  max-width: 320px;
}

.lead-row,
.lead-card {
  background: linear-gradient(180deg, #fff 0%, #fffaf4 100%);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px;
}

.lead-card {
  min-width: 0;
  overflow: hidden;
}

.lead-card .image-placeholder {
  width: calc(100% + 32px);
  height: 190px;
  margin: -16px -16px 16px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.lead-card .image-placeholder svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lead-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lead-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-badge.enquiry {
  background: #e7e3ff;
  color: #4d3d9d;
}
.status-badge.sitevisit {
  background: #e4f3ff;
  color: #245c9a;
}
.status-badge.advancepaid {
  background: #fef3c7;
  color: #8e5c00;
}
.status-badge.confirmed {
  background: #dff7e7;
  color: #1d6f4f;
}
.status-badge.completed {
  background: #e6f0ff;
  color: #203d77;
}
.status-badge.lost {
  background: #ffe3e3;
  color: #9e2d35;
}

.primary-button,
.soft-button {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.soft-button {
  display: inline-block;
  text-decoration: none;
}

.primary-button {
  background: linear-gradient(135deg, var(--primary) 0%, #7b4667 100%);
  color: white;
  box-shadow: 0 10px 22px rgba(93, 45, 74, 0.22);
}

a.primary-button {
  text-decoration: none;
  color: #fff !important;
}

.soft-button {
  background: rgba(93, 45, 74, 0.08);
  color: var(--primary);
}

.primary-button:hover,
.soft-button:hover {
  transform: translateY(-1px);
}

.empty-state {
  text-align: center;
  padding: 24px 14px;
  color: var(--muted);
}

.empty-state-illustration {
  width: 140px;
  margin: 0 auto 16px;
}

.form-control {
  width: 100%;
  border: 1px solid rgba(93, 45, 74, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: white;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field-hint {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.active-field {
  align-content: start;
}

.active-field input[type="checkbox"] {
  align-self: center;
  height: 20px;
  margin-top: 4px;
  width: 20px;
}

.phone-verification {
  align-content: start;
}

.verification-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.verification-row .form-control {
  flex: 1 1 160px;
  min-width: 140px;
}

.verified-label {
  color: #27643c;
  font-weight: 700;
}

.phone-verification .demo-otp,
.enquiry-phone-verification .demo-otp {
  display: block;
  margin: 4px 0 0;
  text-align: left;
}

.enquiry-phone-verification {
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
  margin-top: 28px;
}

.full-span {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.toolbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.toolbar-row > .form-control:first-child {
  flex: 1 1 auto;
}
.toolbar-row > .form-control:last-child {
  flex: 0 0 220px;
}

.date-filter-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.date-filter-value {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.hall-availability {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
}

.hall-availability span {
  color: var(--muted);
  line-height: 1.45;
}

.hall-availability.available {
  background: #e5f7eb;
  color: #1d6f4f;
}

.hall-availability.occupied {
  background: #fff0e5;
  color: #9e542d;
}

.form-panel {
  margin-bottom: 18px;
}

.subsection-title {
  margin: 24px 0 12px;
  color: var(--primary-deep);
}

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

.allocation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffaf4;
}

.allocation-row strong,
.allocation-row small {
  display: block;
}

.allocation-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.quantity-control {
  width: 92px;
}

.allocation-summary {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.allocation-summary strong {
  color: var(--primary);
}

.asset-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.asset-metrics div {
  padding: 10px 8px;
  border-radius: 10px;
  background: #fff8ef;
  text-align: center;
}

.asset-metrics strong,
.asset-metrics span {
  display: block;
}

.asset-metrics strong {
  color: var(--primary);
  font-size: 1.25rem;
}

.asset-metrics span {
  color: var(--muted);
  font-size: 0.7rem;
}

.form-error {
  margin: 0 0 12px;
  color: #9e2d35;
  font-size: 0.85rem;
  font-weight: 600;
}

.validation-message {
  color: #9e2d35;
  font-size: 0.78rem;
  font-weight: 600;
}

.validation-summary {
  background: #fff0ed;
  border-radius: 12px;
  color: #9e2d35;
  font-size: 0.84rem;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.validation-summary ul {
  margin: 0;
  padding-left: 18px;
}

.toast-host {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 2000;
}

.toast-message {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(45, 27, 61, 0.16);
  display: flex;
  gap: 10px;
  max-width: min(420px, calc(100vw - 48px));
  padding: 14px 16px;
}

.toast-message span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 24px;
  height: 24px;
  justify-content: center;
  font-weight: 800;
}

.toast-success {
  background: #edf7ef;
  color: #27643c;
}
.toast-success span {
  background: #c9ecd4;
}
.toast-error {
  background: #fff0ed;
  color: #9e2d35;
}
.toast-error span {
  background: #ffd2cc;
}
.toast-info {
  background: #f5f0fb;
  color: var(--primary);
}
.toast-info span {
  background: #e4d8f2;
}

.toast-dismiss {
  background: transparent;
  border: 0;
  color: currentColor;
  cursor: pointer;
  font-size: 1.2rem;
  margin-left: auto;
  padding: 0 0 0 8px;
}

.modal-backdrop {
  align-items: center;
  background: rgba(45, 27, 61, 0.38);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 1000;
}

.otp-modal {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(45, 27, 61, 0.24);
  max-width: 440px;
  padding: 28px;
  width: 100%;
}

.otp-modal h3 {
  margin-bottom: 10px;
}

.modal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.compact-actions {
  justify-content: flex-start;
  margin-top: 16px;
  padding-top: 14px;
}

.danger {
  color: #9e2d35;
  background: #ffe8e8;
}

.detail-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-toolbar form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compact-control {
  width: auto;
  min-width: 150px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 8px 0 4px;
  padding: 0;
}

.step-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 22px 8px 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.step-pill::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(93, 45, 74, 0.2);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.68rem;
}

.step-pill:nth-child(1)::before {
  content: "1";
}
.step-pill:nth-child(2)::before {
  content: "2";
}
.step-pill:nth-child(3)::before {
  content: "3";
}

.step-pill:not(:last-child)::after {
  content: "";
  width: 28px;
  height: 1px;
  margin-left: 8px;
  background: rgba(93, 45, 74, 0.16);
}

.step-pill.active {
  color: var(--primary);
}

.step-pill.active::before {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: radial-gradient(
    circle at top,
    #f9e7bf 0%,
    #f5efe3 40%,
    #fffaf5 100%
  );
}

.auth-card {
  width: min(460px, 90vw);
}

.auth-card h2 {
  margin-bottom: 10px;
}

.auth-help {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.auth-switch {
  color: var(--muted);
  margin: 22px 0 0;
  text-align: center;
}

.auth-switch a,
.text-button {
  color: var(--primary);
  font-weight: 700;
}

.text-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  margin: 14px auto 0;
  padding: 4px 8px;
}

.otp-summary,
.demo-otp,
.form-message {
  border-radius: 12px;
  padding: 12px 14px;
}

.otp-summary {
  background: var(--panel-2);
  color: var(--muted);
  margin-bottom: 18px;
}

.demo-otp {
  background: #edf7ef;
  color: #27643c;
  margin: 18px 0 0;
  text-align: center;
}

.form-message {
  background: #fff0ed;
  color: #a44135;
  margin: 18px 0 0;
}

.otp-input {
  letter-spacing: 0.28em;
  text-align: center;
}

.profile-page {
  max-width: 760px;
}

.profile-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 96px minmax(0, 1fr);
}

.profile-avatar {
  align-items: center;
  background: var(--primary);
  border-radius: 22px;
  color: white;
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  height: 96px;
  justify-content: center;
  width: 96px;
}

.profile-details {
  display: grid;
  gap: 16px;
}

.profile-details div {
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
}

.profile-details span {
  color: var(--muted);
}

.fade-in {
  animation: fadeUp 0.5s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .app-shell {
    flex-direction: column;
  }
  .sidebar-shell {
    width: 100%;
    flex-basis: auto;
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    padding-top: 0;
    transition:
      max-height 0.25s ease,
      padding 0.25s ease;
  }
  .sidebar-shell.is-open {
    max-height: 520px;
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .sidebar-toggle {
    display: inline-grid;
    place-items: center;
  }
  .stats-grid,
  .two-col-layout {
    grid-template-columns: 1fr 1fr;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }
  .landing-copy {
    max-width: 760px;
  }
  .landing-visual {
    min-height: 430px;
  }
  .public-story-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .landing-nav {
    align-items: flex-start;
    gap: 18px;
  }
  .public-nav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
  }
  .public-nav a:not(.soft-button) {
    display: none;
  }
  .site-footer-inner,
  .public-story-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .public-page {
    padding-top: 38px;
  }
  .public-hero h1,
  .legal-page h1 {
    font-size: 3rem;
  }
  .landing-cta-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .feature-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .main-shell {
    padding: 16px;
  }
  .lead-detail-layout,
  .two-col-layout {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid,
  .two-col-layout {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-nav,
  .landing-page {
    width: min(100% - 32px, 1180px);
  }
  .landing-nav {
    padding: 18px 0;
  }
  .landing-hero {
    min-height: auto;
    padding: 34px 0 50px;
  }
  .landing-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }
  .landing-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }
  .landing-visual {
    min-height: 370px;
  }
  .orbit-one {
    width: 300px;
    height: 390px;
  }
  .orbit-two {
    width: 240px;
    height: 330px;
  }
  .landing-strip {
    grid-template-columns: 1fr;
  }
  .landing-strip > div {
    padding: 22px 0;
  }
  .venue-card {
    width: min(350px, 92%);
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .allocation-grid {
    grid-template-columns: 1fr;
  }
  .toolbar-row {
    align-items: stretch;
    flex-direction: column;
  }
  .toolbar-row > .form-control:first-child,
  .toolbar-row > .form-control:last-child {
    flex-basis: auto;
    width: 100%;
  }
  .date-filter-value {
    align-self: flex-start;
  }
  .detail-toolbar,
  .detail-toolbar form {
    align-items: stretch;
    flex-direction: column;
  }
  .compact-control {
    width: 100%;
  }
  .full-span {
    grid-column: auto;
  }
  .step-indicator {
    width: 100%;
    justify-content: space-between;
  }
  .step-pill {
    padding-left: 0;
    padding-right: 0;
  }
  .step-pill:not(:last-child)::after {
    width: 18px;
    margin-left: 4px;
  }
}
